/*
 * SuperZoubek Child Theme - style.css
 * Template: generatepress
 */

/* ═══════════════════════════════════════════════════
   DESIGN SYSTEM TOKENS
═══════════════════════════════════════════════════ */
:root {
  --sz-teal:        #1A6B72;
  --sz-teal-dark:   #145860;
  --sz-teal-light:  #E0F2F1;
  --sz-teal-bg:     #F0FAFA;
  --sz-orange:      #FFB74D;
  --sz-orange-dark: #F59300;
  --sz-blue:        #4FC3F7;
  --sz-text:        #2D3748;
  --sz-muted:       #6B7280;
  --sz-border:      #E8EDF0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 100px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10);
  --transition: 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ═══════════════════════════════════════════════════
   BASE TYPOGRAPHY
═══════════════════════════════════════════════════ */
body {
  font-family: 'Open Sans', -apple-system, sans-serif;
  color: var(--sz-text);
  background: #ffffff;
  font-size: 16px;
  line-height: 1.7;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Nunito', sans-serif;
  color: var(--sz-teal);
  line-height: 1.25;
  font-weight: 700;
}
a { color: var(--sz-teal); text-decoration: none; }
a:hover { color: var(--sz-orange); }

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.sz-btn {
  display: inline-flex;
  align-items: center;
  padding: 13px 30px;
  border-radius: var(--radius-pill);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}
.sz-btn-teal {
  background: var(--sz-teal);
  color: #fff;
}
.sz-btn-teal:hover {
  background: var(--sz-teal-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,107,114,0.30);
}
.sz-btn-orange {
  background: var(--sz-orange);
  color: #fff;
}
.sz-btn-orange:hover {
  background: var(--sz-orange-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,183,77,0.35);
}
.sz-btn-outline {
  background: transparent;
  color: var(--sz-teal);
  border-color: var(--sz-teal);
}
.sz-btn-outline:hover {
  background: var(--sz-teal);
  color: #fff;
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════
   PREMIUM HEADER
═══════════════════════════════════════════════════ */
#sz-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sz-border);
  box-shadow: var(--shadow-sm);
}
.sz-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.sz-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.sz-site-name {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--sz-teal);
}
.sz-logo img { max-height: 48px; width: auto; }

/* Main Nav */
.sz-main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sz-main-nav ul li a {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--sz-text);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
}
.sz-main-nav ul li a:hover,
.sz-main-nav ul li.current-menu-item > a {
  color: var(--sz-teal);
  background: var(--sz-teal-light);
}

.sz-header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

/* Mobile Nav Toggle */
.sz-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.sz-mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sz-teal);
  border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 768px) {
  .sz-main-nav { display: none; position: absolute; inset: 72px 0 auto 0; background: #fff; border-bottom: 1px solid var(--sz-border); padding: 16px 24px; box-shadow: var(--shadow-lg); }
  #sz-site-header.mobile-open .sz-main-nav { display: block; }
  #sz-site-header.mobile-open .sz-main-nav ul { flex-direction: column; align-items: stretch; }
  .sz-mobile-toggle { display: flex; }
  .sz-header-cta .sz-btn { display: none; }
}

/* ═══════════════════════════════════════════════════
   HOMEPAGE HERO
═══════════════════════════════════════════════════ */
#sz-homepage-hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--sz-teal-bg);
}
.sz-hero-bg {
  position: absolute;
  right: 0; top: 0;
  width: 55%; height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.sz-hero-overlay {
  position: absolute;
  right: 0; top: 0;
  width: 70%; height: 100%;
  background: linear-gradient(to right, #F0FAFA 30%, rgba(240,250,250,0) 85%);
}
.sz-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
}
.sz-hero-eyebrow {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sz-orange);
  margin-bottom: 16px;
}
.sz-hero-title {
  font-size: clamp(2rem,4.5vw,3.2rem);
  font-weight: 800;
  color: var(--sz-teal);
  max-width: 520px;
  margin-bottom: 20px;
  line-height: 1.2;
}
.sz-hero-title em {
  font-style: normal;
  color: var(--sz-orange);
}
.sz-hero-desc {
  font-size: 17px;
  color: #4A5568;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.sz-hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 768px) {
  #sz-homepage-hero { min-height: auto; padding-bottom: 0; }
  .sz-hero-bg { width: 100%; opacity: 0.15; }
  .sz-hero-overlay { display: none; }
  .sz-hero-title { font-size: 1.9rem; }
}

/* ═══════════════════════════════════════════════════
   TRUST BAR
═══════════════════════════════════════════════════ */
#sz-trust-bar {
  background: #fff;
  border-bottom: 1px solid var(--sz-border);
  box-shadow: var(--shadow-sm);
}
.sz-trust-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
}
.sz-trust-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  text-decoration: none;
  transition: background var(--transition);
  border-right: 1px solid var(--sz-border);
}
.sz-trust-item:last-child { border-right: none; }
.sz-trust-item:hover { background: var(--sz-teal-bg); }
.sz-trust-item img { flex-shrink: 0; }
.sz-trust-item strong {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--sz-teal);
}
.sz-trust-item span { font-size: 12px; color: var(--sz-muted); }

@media (max-width: 640px) {
  .sz-trust-inner { flex-wrap: wrap; }
  .sz-trust-item { flex: 1 1 50%; border-right: none; border-bottom: 1px solid var(--sz-border); }
}

/* ═══════════════════════════════════════════════════
   CATEGORY ARCHIVE HERO
═══════════════════════════════════════════════════ */
.sz-cat-hero {
  background: linear-gradient(135deg, var(--sz-teal) 0%, #145860 100%);
  padding: 56px 24px;
  text-align: center;
}
.sz-cat-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}
.sz-cat-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.sz-cat-breadcrumb a { color: rgba(255,255,255,0.7); }
.sz-cat-breadcrumb a:hover { color: #fff; }
.sz-cat-title {
  font-size: clamp(1.8rem,3.5vw,2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.sz-cat-desc {
  font-size: 16px;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
}

/* ═══════════════════════════════════════════════════
   BLOG POST SINGLE
═══════════════════════════════════════════════════ */
.sz-single-post .entry-title {
  font-size: clamp(1.7rem,3vw,2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}
.sz-single-post .entry-meta {
  font-size: 13px;
  color: var(--sz-muted);
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--sz-teal-light);
}
.sz-single-post .entry-content {
  font-size: 16.5px;
  line-height: 1.85;
}
.sz-single-post .entry-content h2 {
  font-size: 1.55rem;
  margin-top: 2.8em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--sz-teal-light);
}
.sz-single-post .entry-content h3 {
  font-size: 1.2rem;
  margin-top: 2em;
}
.sz-single-post .entry-content ul,
.sz-single-post .entry-content ol {
  padding-left: 1.4em;
  margin-bottom: 1.4em;
}
.sz-single-post .entry-content li { margin-bottom: 0.5em; }
.sz-single-post .post-thumbnail img {
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

/* Medical Disclaimer */
.sz-article-disclaimer {
  background: #E8F5E9;
  border-left: 4px solid #43A047;
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin-top: 48px;
  font-size: 14px;
  color: #2E7D32;
  font-style: italic;
}
.sz-article-disclaimer strong { font-style: normal; }

/* Table of Contents */
.ez-toc-container {
  background: var(--sz-teal-light) !important;
  border-left: 4px solid var(--sz-teal) !important;
  border-radius: var(--radius-sm) !important;
  padding: 20px 24px !important;
}
.ez-toc-title { font-family: 'Nunito', sans-serif; color: var(--sz-teal); }

/* ═══════════════════════════════════════════════════
   PREMIUM FOOTER
═══════════════════════════════════════════════════ */
.site-footer { padding: 0; }
#sz-site-footer {
  background: var(--sz-teal);
  color: rgba(255,255,255,0.85);
}
.sz-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 24px 0;
}
.sz-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.sz-footer-logo {
  font-family: 'Nunito', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
}
.sz-dot { color: var(--sz-orange); }
.sz-footer-about p { font-size: 14px; line-height: 1.8; color: rgba(255,255,255,0.68); }
.sz-footer-heading {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--sz-orange);
  margin-bottom: 16px;
}
.sz-footer-col ul { list-style: none; margin: 0; padding: 0; }
.sz-footer-col ul li { margin-bottom: 10px; }
.sz-footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  transition: color var(--transition);
}
.sz-footer-col ul li a:hover { color: #fff; }
.sz-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 20px 0;
}
.sz-copyright { font-size: 13px; color: rgba(255,255,255,0.45); margin: 0; }
.sz-disclaimer { font-size: 12px; color: rgba(255,255,255,0.4); font-style: italic; margin: 0; text-align: right; max-width: 500px; }

@media (max-width: 768px) {
  .sz-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .sz-footer-bottom { flex-direction: column; text-align: center; }
  .sz-disclaimer { text-align: center; }
}

/* ═══════════════════════════════════════════════════
   404 PAGE
═══════════════════════════════════════════════════ */
.sz-404 .site-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: 60px 24px;
  background: var(--sz-teal-bg);
}
.sz-404 .page-title {
  font-size: 8rem;
  font-weight: 800;
  color: var(--sz-teal-light);
  line-height: 1;
  margin-bottom: 0;
}
.sz-404 .page-header { margin-bottom: 12px; }
.sz-404 .page-content p {
  font-size: 17px;
  color: var(--sz-muted);
  max-width: 440px;
  margin: 0 auto 28px;
}
.sz-404 .search-form { margin-bottom: 32px; }
.sz-404 .search-field {
  padding: 12px 18px;
  border: 2px solid var(--sz-teal-light);
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  font-size: 15px;
  outline: none;
  width: 300px;
}
.sz-404 .search-submit {
  padding: 12px 24px;
  background: var(--sz-teal);
  color: #fff;
  border: 2px solid var(--sz-teal);
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
}
.sz-404-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════════
   ARCHIVE / BLOG LIST
═══════════════════════════════════════════════════ */
.sz-archive .entry-title a,
.blog .entry-title a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  color: var(--sz-teal);
}
.sz-archive .entry-title a:hover,
.blog .entry-title a:hover { color: var(--sz-orange); }

/* Post cards */
.post.entry {
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--sz-border);
  margin-bottom: 28px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  padding: 28px !important;
}
.post.entry:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.post.entry .post-thumbnail { margin-bottom: 16px; }
.post.entry .post-thumbnail img { border-radius: var(--radius-sm); }

/* ═══════════════════════════════════════════════════
   NAVIGATION / SIDEBAR / WIDGETS
═══════════════════════════════════════════════════ */
.widget-title {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sz-muted);
  border-bottom: 2px solid var(--sz-teal-light);
  padding-bottom: 8px;
  margin-bottom: 16px;
}
.pagination .page-numbers {
  padding: 8px 14px;
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
}
.pagination .current { background: var(--sz-teal); color: #fff; }

/* ═══════════════════════════════════════════════════
   HIDE DEFAULT GP HEADER/FOOTER ELEMENTS
═══════════════════════════════════════════════════ */
.site-header,
.site-footer > *:not(#sz-site-footer) {
  display: none !important;
}
#sz-site-header ~ .site-header { display: none !important; }


/* ═══════════════════════════════════════════════════
   NAV OVERFLOW FIX & DROPDOWN MENUS
═══════════════════════════════════════════════════ */
.sz-main-nav {
  overflow: visible;
  flex: 1;
  display: flex;
  justify-content: center;
  max-width: 680px;
}
.sz-main-nav ul {
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 4px;
}
.sz-main-nav ul li a {
  font-size: 13px;
  padding: 6px 10px;
  white-space: nowrap;
}

/* Dropdown support */
.sz-main-nav ul li { position: relative; }
.sz-main-nav ul li ul {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 8px;
  flex-direction: column;
  gap: 0;
  z-index: 1001;
  border: 1px solid var(--sz-border);
}
.sz-main-nav ul li:hover > ul { display: flex; }
.sz-main-nav ul li ul li a {
  display: block;
  border-radius: 6px;
  font-size: 13px;
  padding: 8px 12px;
}

/* Header layout balance */
.sz-header-inner {
  gap: 16px;
}
.sz-logo { flex-shrink: 0; }

/* ─── GENERATEBLOCKS GRID FALLBACK (Hardened) ─── */
.gb-grid-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -20px;
    margin-right: -20px;
}
.gb-grid-column {
    box-sizing: border-box !important;
    padding-left: 20px;
    padding-right: 20px;
}
[style*="width: 70%"] { flex: 0 0 70% !important; max-width: 70% !important; }
[style*="width: 30%"] { flex: 0 0 30% !important; max-width: 30% !important; }
[style*="width: 50%"] { flex: 0 0 50% !important; max-width: 50% !important; }
[style*="width: 25%"] { flex: 0 0 25% !important; max-width: 25% !important; }

@media (max-width: 767px) {
    .gb-grid-column { flex: 0 0 100% !important; max-width: 100% !important; }
}

/* ─── FIX WHITE SPACE ERROR ─── */
.sz-article-body {
    min-height: auto !important;
    padding-bottom: 40px !important;
}


/* ─── GENERATEBLOCKS GRID FALLBACK (Hardened) ─── */
.gb-grid-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    margin-left: -20px;
    margin-right: -20px;
}
.gb-grid-column {
    box-sizing: border-box !important;
    padding-left: 20px;
    padding-right: 20px;
}
[style*="width: 70%"] { flex: 0 0 70% !important; max-width: 70% !important; }
[style*="width: 30%"] { flex: 0 0 30% !important; max-width: 30% !important; }
[style*="width: 50%"] { flex: 0 0 50% !important; max-width: 50% !important; }
[style*="width: 25%"] { flex: 0 0 25% !important; max-width: 25% !important; }

@media (max-width: 767px) {
    .gb-grid-column { flex: 0 0 100% !important; max-width: 100% !important; }
}

/* ─── FIX WHITE SPACE ERROR ─── */
.sz-article-body {
    min-height: auto !important;
    padding-bottom: 40px !important;
}

