/* PauseFit site layout fixes v9 */

/*
  Theme bug: style.css had max-height:800px on .container (>=1170px),
  which collapsed tall blog grids so CTA/footer slid under overflowing cards.
  Keep an explicit override even if theme CSS is restored.
*/
.blog-page-wrap .container,
.page-blog .container,
.page-blog-detail .container,
.page-about .container,
.page-content .container {
  max-height: none !important;
}

/* Footer legal links: readable spacing (not a single text block) */
.site-footer .footer-legal-links {
  margin-top: 28px;
}

.site-footer .footer-legal-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer .footer-legal-links li {
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.site-footer .footer-legal-links a {
  display: inline-block;
  color: #1a1a1a !important;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
  padding: 6px 0;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-footer .footer-legal-links a:hover,
.site-footer .footer-legal-links a:focus-visible {
  color: #000 !important;
  border-bottom-color: rgba(0, 0, 0, 0.35);
  text-decoration: none;
}

/* Blog page shell: works even if body class is missing */
.blog-page-wrap {
  position: relative;
  z-index: 2;
  background: #fff;
  display: block;
  overflow: visible;
  clear: both;
}

.blog-page-wrap .content-inner {
  padding-bottom: 120px;
  overflow: visible;
  max-height: none;
}

.blog-page-wrap .blog-post-grid {
  margin-bottom: 0;
  clear: both;
}

.page-blog .content-inner {
  padding-bottom: 120px;
  max-height: none;
}

.page-blog .blog-post-grid {
  margin-bottom: 0;
}

.page-blog-detail .content-inner {
  padding-bottom: 140px !important;
  max-height: none;
}

.page-blog-detail .blog-post-nav,
.page-blog-detail .blog-related-posts {
  margin-bottom: 32px;
}

/*
  About Us (and similar inner pages): skewed CTA (:after skewY)
  visually overlaps the last lines of content without extra bottom space.
*/
.page-about .content-inner {
  position: relative;
  z-index: 2;
  background: #fff;
  padding-bottom: 160px !important;
  margin-bottom: 0;
  overflow: visible;
  max-height: none;
}

.page-about .call-action.site-footer-cta:not(.footer-action) {
  margin-top: 80px !important;
  margin-bottom: 0 !important;
  clear: both;
  position: relative;
  z-index: 1;
}

/* CTA without footer-action (blog + inner pages) */
.call-action.site-footer-cta:not(.footer-action) {
  margin-top: 64px;
  margin-bottom: 0;
  clear: both;
  position: relative;
  z-index: 1;
}

.page-content:has(.blog-page-wrap) .call-action.site-footer-cta:not(.footer-action) {
  margin-top: 80px !important;
  margin-bottom: 0 !important;
}

.page-wraper:has(.blog-page-wrap) .site-footer.style-1:not(.footer-action) .footer-top {
  padding-top: 60px !important;
}

/* Homepage only: CTA overlaps footer */
.page-home .call-action.footer-action.site-footer-cta {
  margin-top: 160px;
  margin-bottom: -100px;
  z-index: 9;
}

/* Blog detail: related posts vertical card */
.page-blog-detail .blog-related-posts .dz-card,
.blog-page-wrap .blog-related-posts .dz-card {
  display: block;
  height: 100%;
}

.page-blog-detail .blog-related-posts .dz-media,
.blog-page-wrap .blog-related-posts .dz-media {
  max-width: 100%;
  min-width: 0;
  margin-bottom: 15px;
}

.page-blog-detail .blog-related-posts .dz-media img,
.blog-page-wrap .blog-related-posts .dz-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.page-blog-detail .blog-related-posts .dz-info,
.blog-page-wrap .blog-related-posts .dz-info {
  padding: 0 0 10px;
}

.page-blog-detail .blog-related-posts .dz-title,
.blog-page-wrap .blog-related-posts .dz-title {
  word-break: normal;
}

@media (max-width: 991px) {
  .call-action.site-footer-cta:not(.footer-action) {
    margin-top: 48px;
  }

  .page-home .call-action.footer-action.site-footer-cta {
    margin-top: 100px;
  }

  .blog-page-wrap .content-inner,
  .page-blog-detail .content-inner,
  .page-about .content-inner {
    padding-bottom: 120px !important;
  }

  .page-about .call-action.site-footer-cta:not(.footer-action) {
    margin-top: 64px !important;
  }
}

@media (max-width: 767px) {
  .blog-page-wrap .content-inner,
  .page-blog .content-inner {
    padding-bottom: 80px;
  }

  .page-blog-detail .content-inner {
    padding-bottom: 80px !important;
  }

  .page-about .content-inner {
    padding-bottom: 100px !important;
  }
}

/* ===== Career application form ===== */
.page-career .container {
  max-height: none !important;
}

.career-page {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.career-intro {
  max-width: 40rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.career-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
}

.career-lead {
  margin: 0;
  color: #5b6575;
  font-size: 1rem;
  line-height: 1.55;
}

.career-panel {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(16, 24, 40, 0.1);
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.75rem;
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.career-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #1a1a1a;
}

.career-label .req {
  color: #c62828;
}

.career-input.form-control,
.career-form select.career-input {
  min-height: 48px;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 0.95rem;
  color: #111;
  background: #fff;
  box-shadow: none;
}

.career-form textarea.career-input {
  min-height: 110px;
  resize: vertical;
}

.career-input.form-control:focus,
.career-form select.career-input:focus {
  border-color: #111;
  outline: 0;
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.35);
}

.career-hint {
  display: block;
  margin-top: 0.3rem;
  color: #6b7280;
  font-size: 0.8rem;
}

.career-file {
  position: relative;
}

.career-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.career-file-btn {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1px dashed #98a2b3;
  border-radius: 8px;
  background: #fafafa;
  color: #344054;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.career-file-btn:hover,
.career-file-input:focus + .career-file-btn {
  border-color: var(--primary, #06c6d1);
  background: var(--rgba-primary-05, rgba(6, 198, 209, 0.05));
}

.career-actions {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-end;
}

.career-submit {
  min-height: 50px;
  padding: 0.75rem 1.6rem;
  border: 0;
  border-radius: 8px;
  background: var(--primary, #06c6d1);
  color: var(--theme-text-color, #fff) !important;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transform: none !important;
  box-shadow: none;
}

.career-submit:hover,
.career-submit:focus {
  background: var(--primary-hover, #05b5bf);
  color: var(--theme-text-color, #fff) !important;
}

.career-alert {
  max-width: 820px;
  margin: 0 auto 1.25rem;
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border-radius: 10px;
  border: 1px solid transparent;
}

.career-alert-icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-top: 0.1rem;
}

.career-alert-body {
  flex: 1;
  min-width: 0;
}

.career-alert-body strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.02rem;
}

.career-alert-body p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.45;
}

.career-alert-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.career-alert-success {
  background: #ecfdf3;
  border-color: #abefc6;
  color: #067647;
}

.career-alert-error {
  background: #fef3f2;
  border-color: #fecdca;
  color: #b42318;
}

@media (max-width: 767px) {
  .career-panel {
    padding: 1.15rem;
    border-radius: 10px;
  }

  .career-actions {
    justify-content: stretch;
  }

  .career-submit {
    width: 100%;
  }
}

/* CoreFit: PauseFit sarı utility / premium etiketlerini marka rengine bağla */
.text-yellow {
  color: var(--primary, #06c6d1) !important;
}

.bg-yellow {
  background-color: var(--primary, #06c6d1) !important;
  color: var(--theme-text-color, #fff) !important;
}

.pricingtable-wrapper.style-1 .pricingtable-title.premium {
  background-color: var(--primary, #06c6d1);
  color: var(--theme-text-color, #fff);
}

