/*
 Theme Name:   Mina Suudan
 Theme URI:    https://minasuudan.ee
 Description:  Iseseisev WordPress teema — GLP-1 kaalulangetuse psühholoogia. Fraunces + Source Sans 3, sea/coral/gold palett.
 Author:       Kari Kuulman
 Version:      2.5.1
 Text Domain:  mina-suudan
 Requires at least: 6.0
 Requires PHP: 7.4
*/


/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Primary palette */
  --sr-sea: #59796a;
  --sr-sea-dark: #4a6b5d;
  --sr-sea-light: #6d8d7e;
  --sr-coral: #cc7e5e;
  --sr-coral-shadow: rgba(204, 126, 94, 0.18);
  --sr-coral-mist: rgba(204, 126, 94, 0.07);
  --sr-gold: #ab8e60;

  /* Text */
  --sr-text: #2A2825;
  --sr-text-body: #3D3832;
  --sr-text-light: #706B65;

  /* Structure */
  --sr-rule: #E8E4E0;
  --sr-rule-light: #F2EFEC;
  --sr-white: #FFFFFF;
  --sr-radius: 12px;

  /* Content width */
  --sr-content-width: 600px;

  /* Aliases — homepage content uses non-prefixed names */
  --sea: var(--sr-sea);
  --sea-dark: var(--sr-sea-dark);
  --sea-light: var(--sr-sea-light);
  --coral: var(--sr-coral);
  --coral-shadow: var(--sr-coral-shadow);
  --coral-mist: var(--sr-coral-mist);
  --gold: var(--sr-gold);
  --text: var(--sr-text);
  --text-body: var(--sr-text-body);
  --text-light: var(--sr-text-light);
  --rule: var(--sr-rule);
  --rule-light: var(--sr-rule-light);
}


/* ============================================================
   GLOBAL RESET & TYPOGRAPHY
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
  font-weight: 300;
  color: var(--sr-text-body);
  line-height: 1.85;
  background: var(--sr-white);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* Links */
a,
a:visited {
  color: var(--sr-sea);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover,
a:focus {
  color: var(--sr-sea-dark);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  color: var(--sr-text-body);
  line-height: 1.3;
  margin-top: 0;
}
h1 { font-size: clamp(32px, 5.5vw, 48px); }
h2 { font-size: clamp(24px, 3.5vw, 34px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }
h4 { font-size: 18px; }

/* Emphasis in headings */
h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 300;
  color: var(--sr-sea);
}

/* Gold highlight */
.gold, .has-gold-color {
  color: var(--sr-gold) !important;
}

/* Paragraphs */
p, li, td, dd {
  font-size: 16px;
  line-height: 1.9;
  font-weight: 300;
}
strong, b {
  font-weight: 600;
  color: var(--sr-text);
}

img {
  max-width: 100%;
  height: auto;
}


/* ============================================================
   LAYOUT — content column
   ============================================================ */

.col {
  max-width: var(--sr-content-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* Full-width breakout */
.alignfull,
.sr-full-width {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
}

/* Front page — no max-width constraint on main */
.front-page {
  width: 100%;
}
.front-page .col {
  max-width: var(--sr-content-width);
  margin: 0 auto;
  padding: 0 28px;
}


/* ============================================================
   HEADER
   ============================================================ */

.sr-site-header {
  background: var(--sr-white);
  border-bottom: none;
}

.sr-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 960px;
  margin: 0 auto;
  padding: 18px 28px;
}

/* Site title */
.sr-site-title a {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--sr-text-body);
  letter-spacing: 0.2px;
  text-decoration: none;
}
.sr-site-title a:hover {
  color: var(--sr-sea);
}

/* Navigation — desktop horizontal, mobile fullscreen */
.sr-nav {
  display: flex;
  align-items: center;
  position: static;
  background: none;
  border-top: none;
  box-shadow: none;
  z-index: auto;
}

.sr-menu {
  display: flex;
  flex-direction: row;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.sr-menu li a {
  display: block;
  font-family: "Source Sans 3", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--sr-text-light);
  letter-spacing: 0.3px;
  text-decoration: none;
  padding: 10px 20px;
  border-bottom: none;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}
.sr-menu li:last-child a {
  border-bottom: none;
}
.sr-menu li a:hover {
  color: var(--sr-sea);
  background: var(--sr-rule-light);
}
.sr-menu li.current-menu-item > a,
.sr-menu li.current_page_item > a {
  color: var(--sr-sea);
  font-weight: 500;
}

/* Hamburger — hidden on desktop */
.sr-hamburger {
  display: none;
}

/* Checkbox toggle — still hidden */
.sr-menu-checkbox {
  display: none;
}

/* Open state — only relevant on mobile */
.sr-menu-checkbox:checked ~ .sr-nav {
  display: flex;
}
.sr-menu-checkbox:checked ~ .sr-hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.sr-menu-checkbox:checked ~ .sr-hamburger span:nth-child(2) {
  opacity: 0;
}
.sr-menu-checkbox:checked ~ .sr-hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── MOBILE: fullscreen menu ── */
@media (max-width: 768px) {
  .sr-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
  }
  .sr-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--sr-text-body);
    transition: all 0.3s;
  }

  .sr-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: var(--sr-white);
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: none;
    box-shadow: none;
  }

  .sr-menu-checkbox:checked ~ .sr-nav {
    display: flex;
  }

  .sr-menu-checkbox:checked ~ .sr-hamburger {
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 1002;
  }

  .sr-menu {
    flex-direction: column;
    gap: 0;
    align-items: center;
    padding: 0;
  }

  .sr-menu li a {
    font-family: "Fraunces", serif;
    font-size: 28px;
    font-weight: 300;
    color: var(--sr-text-body);
    padding: 16px 32px;
    text-align: center;
    border-bottom: none;
    border-radius: 0;
  }
  .sr-menu li a:hover {
    color: var(--sr-sea);
    background: none;
  }
  .sr-menu li.current-menu-item > a,
  .sr-menu li.current_page_item > a {
    color: var(--sr-sea);
  }
}


/* ============================================================
   SISSELOGIMISE CTA (logituvälja külastajad)
   Asendab menüü ja hamburgeri kuni kasutaja pole sisse loginud
   ============================================================ */

.sr-login-cta {
  display: inline-block;
  background: var(--sr-sea);
  color: var(--sr-white);
  font-family: "Source Sans 3", sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}
.sr-login-cta:hover,
.sr-login-cta:focus {
  background: var(--sr-sea-dark);
  color: var(--sr-white);
  transform: translateY(-1px);
}
.sr-login-cta:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .sr-login-cta {
    font-size: 14px;
    padding: 9px 18px;
  }
}

/* Login-lehe signup-vihje (the_content filter lisab pärast [pmpro_login]) */
.sr-login-signup-prompt {
  margin-top: 2rem;
  text-align: center;
  font-family: "Source Sans 3", sans-serif;
  font-size: 15px;
  color: var(--sr-text-light);
}
.sr-login-signup-prompt a {
  color: var(--sr-sea);
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}
.sr-login-signup-prompt a:hover,
.sr-login-signup-prompt a:focus {
  color: var(--sr-sea-dark);
}


/* ============================================================
   FOOTER
   ============================================================ */

.sr-site-footer {
  background: var(--sr-white);
  border-top: 1px solid var(--sr-rule-light);
  padding: 32px 28px;
  text-align: center;
}

.sr-footer-inner {
  max-width: 960px;
  margin: 0 auto;
}

.sr-site-footer p {
  font-size: 11px;
  font-weight: 300;
  color: var(--sr-text-light);
  letter-spacing: 0.5px;
  margin: 0;
}

.sr-site-footer a {
  color: var(--sr-text-light);
}
.sr-site-footer a:hover {
  color: var(--sr-sea);
}


/* ============================================================
   BUTTONS
   ============================================================ */

.wp-block-button__link,
button,
input[type="submit"],
a.button,
.button {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px;
  font-weight: 500;
  background: var(--sr-coral);
  color: var(--sr-white);
  border: none;
  border-radius: 100px;
  padding: 15px 38px;
  box-shadow: 0 4px 20px var(--sr-coral-shadow);
  transition: all 0.3s ease;
  letter-spacing: 0.2px;
  text-transform: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover,
a.button:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--sr-coral-shadow);
  opacity: 0.95;
  color: var(--sr-white);
}

/* Outline button */
.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 1.5px solid var(--sr-sea);
  color: var(--sr-sea);
  box-shadow: none;
}
.is-style-outline .wp-block-button__link:hover {
  background: var(--sr-sea);
  color: var(--sr-white);
}


/* ============================================================
   MEDIA STRIP
   ============================================================ */

.sr-media-strip {
  background: var(--sr-sea);
  padding: 24px 28px;
  text-align: center;
}
.sr-media-strip .strip-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}
.sr-media-strip .logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.sr-media-strip .logo-text {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1;
}


/* ============================================================
   INFO BAR
   ============================================================ */

.sr-info-bar {
  padding: 20px 28px;
  text-align: center;
}
.sr-info-bar.sea { background: var(--sr-sea); }
.sr-info-bar.gold { background: var(--sr-gold); }

.sr-info-bar .bar-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: lowercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}
.sr-info-bar .bar-stats {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
.sr-info-bar .stat {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 500;
}
.sr-info-bar .stat strong {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  color: #fff;
}
.sr-info-bar .stat-sep {
  color: rgba(255, 255, 255, 0.3);
  font-size: 16px;
}


/* ============================================================
   PHOTO CARD — frosted glass overlay
   ============================================================ */

.sr-photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--sr-radius);
  margin: 48px 0;
  max-width: 420px;
}
.sr-photo-card img {
  display: block;
  width: 100%;
  height: auto;
  filter: brightness(0.85);
}
.sr-photo-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  background: rgba(26, 42, 42, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.sr-photo-card .overlay p {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  margin: 0;
}

.sr-photo-card.small { max-width: 320px; }
.sr-photo-card.centered { margin-left: auto; margin-right: auto; }
.sr-photo-card.left { margin-right: auto; margin-left: 0; }
.sr-photo-card.right { margin-left: auto; margin-right: 0; }

/* Round portrait */
.sr-photo-round {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 24px;
}
.sr-photo-round img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}


/* ============================================================
   PULLQUOTE
   ============================================================ */

.sr-pullquote,
.wp-block-pullquote blockquote p,
.wp-block-pullquote p {
  font-family: 'Fraunces', serif !important;
  font-size: clamp(18px, 2.8vw, 24px) !important;
  font-weight: 300 !important;
  font-style: italic;
  color: var(--sr-sea) !important;
  line-height: 1.55;
  text-align: center;
  border: none !important;
  padding: 56px 20px;
  max-width: 460px;
  margin: 0 auto;
}
.wp-block-pullquote {
  border: none !important;
  padding: 0;
}


/* ============================================================
   BLOCKQUOTE / TESTIMONIALS
   ============================================================ */

blockquote,
.wp-block-quote {
  border-left: 1.5px solid var(--sr-coral) !important;
  padding-left: 24px;
  margin: 32px 0;
  font-size: 15px;
  line-height: 1.9;
  font-style: italic;
  font-weight: 300;
  color: var(--sr-text-body);
}
blockquote cite,
.wp-block-quote cite {
  font-style: normal;
  font-weight: 500;
  color: var(--sr-sea);
  font-size: 13px;
}


/* ============================================================
   SEPARATOR / DIVIDER
   ============================================================ */

hr,
.wp-block-separator {
  border: none !important;
  height: 1px;
  background: var(--sr-rule);
  max-width: var(--sr-content-width);
  margin: 0 auto;
}

.wp-block-separator.is-style-dots::before {
  content: '✦  ✦  ✦';
  font-size: 14px;
  color: var(--sr-rule);
  letter-spacing: 16px;
}


/* ============================================================
   FORMS
   ============================================================ */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="search"],
textarea,
select {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 300;
  font-size: 15px;
  border: 1px solid var(--sr-rule);
  border-radius: 8px;
  padding: 12px 16px;
  background: var(--sr-white);
  color: var(--sr-text-body);
  transition: border-color 0.2s ease;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--sr-sea);
  outline: none;
  box-shadow: 0 0 0 3px rgba(89, 121, 106, 0.1);
}


/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.sr-sea { color: var(--sr-sea); }
.sr-coral { color: var(--sr-coral); }
.sr-gold { color: var(--sr-gold); }
.sr-text-light { color: var(--sr-text-light); }
.sr-italic { font-style: italic; }
.sr-light { font-weight: 300; }
.sr-center { text-align: center; }
.sr-small { font-size: 13px; }
.sr-tiny { font-size: 11px; }

.sr-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: lowercase;
  color: var(--sr-text-light);
  font-style: italic;
}

.sr-hr {
  border: none;
  height: 1px;
  background: var(--sr-rule);
  margin: 40px 0;
}

.sr-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--sr-coral);
  text-decoration: none;
  letter-spacing: 0.2px;
}
.sr-link:hover { color: var(--sr-sea); }


/* ============================================================
   ANIMATIONS
   ============================================================ */

@keyframes srFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.sr-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.sr-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   BLOG ARCHIVE
   ============================================================ */

/* Full-width green hero band */
.sr-hero-band {
  background: linear-gradient(135deg, #59796a 0%, #3d594d 100%);
  padding: 0 28px;
  text-align: center;
}
.sr-hero-band .sr-archive-header {
  max-width: var(--sr-content-width);
  margin: 0 auto;
  padding: 72px 0 48px;
}
.sr-hero-band .sr-label {
  color: rgba(255,255,255,0.5);
}
.sr-hero-band .sr-archive-title {
  color: #fff;
}
.sr-hero-band .sr-archive-title em {
  color: rgba(255,255,255,0.7);
}
.sr-hero-band .sr-archive-desc {
  color: rgba(255,255,255,0.7);
}

/* Full-width green hero band */
.sr-archive {
  padding: 48px 0 80px;
}
.sr-archive-col {
  max-width: var(--sr-content-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* Archive header */
.sr-archive-header {
  padding: 72px 0 32px;
}
.sr-archive-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 300;
  color: var(--sr-text-body);
  line-height: 1.2;
  margin-bottom: 12px;
}
.sr-archive-title em {
  color: var(--sr-sea);
  font-style: italic;
}
.sr-archive-desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--sr-text-light);
  line-height: 1.85;
  max-width: 460px;
}

/* Shared post meta */
.sr-post-meta {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 12px;
  color: var(--sr-text-light);
  font-weight: 400;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.sr-cat {
  font-weight: 500;
  color: var(--sr-sea);
  text-decoration: none;
  text-transform: lowercase;
  font-style: italic;
}
.sr-cat:hover { color: var(--sr-sea-dark); }
.sr-meta-sep {
  margin: 0 8px;
  color: var(--sr-rule);
}
.sr-read-time {
  color: var(--sr-text-light);
}

/* Featured post */
.sr-featured {
  padding: 8px 0 0;
}
.sr-featured-img {
  display: block;
  border-radius: var(--sr-radius);
  overflow: hidden;
  margin-bottom: 24px;
}
.sr-featured-img img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}
.sr-featured-img:hover img {
  transform: scale(1.02);
}
.sr-featured-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 12px;
}
.sr-featured-title a {
  color: var(--sr-text-body);
  text-decoration: none;
}
.sr-featured-title a:hover {
  color: var(--sr-sea);
}
.sr-featured-excerpt {
  font-size: 15px;
  font-weight: 300;
  color: var(--sr-text-light);
  line-height: 1.85;
  margin-bottom: 16px;
}
.sr-featured-excerpt p { margin: 0; }

/* List items */
.sr-list-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--sr-rule-light);
}
.sr-list-item:first-of-type {
  border-top: 1px solid var(--sr-rule-light);
}
.sr-list-item-text {
  flex: 1;
  min-width: 0;
}
.sr-list-item-title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: 6px;
}
.sr-list-item-title a {
  color: var(--sr-text-body);
  text-decoration: none;
}
.sr-list-item-title a:hover {
  color: var(--sr-sea);
}
.sr-list-item-excerpt {
  font-size: 14px;
  font-weight: 300;
  color: var(--sr-text-light);
  line-height: 1.75;
  margin: 0;
}
.sr-list-item-thumb {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
}
.sr-list-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.sr-list-item-thumb:hover img {
  transform: scale(1.05);
}

/* Pagination */

/* ── Category filter tabs ────────────────────────── */
.sr-cat-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0;
  margin: 0 auto;
  padding: 24px 20px 0;
  max-width: 720px;
  flex-wrap: wrap;
}
.sr-cat-tab {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  color: var(--sr-text-light);
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid var(--sr-rule);
  background: transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}
.sr-cat-tab:hover {
  color: var(--sr-text);
  border-color: var(--sr-text-light);
}
.sr-cat-tab.is-active {
  color: var(--sr-white);
  background: var(--sr-sea);
  border-color: var(--sr-sea);
}
.sr-list-item.is-hidden {
  display: none;
}

.sr-pagination {
  padding: 48px 0 0;
  text-align: center;
  font-size: 14px;
}
.sr-pagination a,
.sr-pagination span {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 2px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--sr-text-light);
  font-weight: 400;
  transition: all 0.2s;
}
.sr-pagination a:hover {
  color: var(--sr-sea);
  background: var(--sr-rule-light);
}
.sr-pagination .current {
  color: var(--sr-white);
  background: var(--sr-sea);
  font-weight: 500;
}

.sr-empty {
  padding: 80px 0;
  text-align: center;
  color: var(--sr-text-light);
  font-style: italic;
}


/* ============================================================
   SINGLE POST
   ============================================================ */

/* Reading progress bar */
.sr-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--sr-sea);
  z-index: 9999;
  transition: width 0.1s linear;
  opacity: 0.7;
}

.sr-single {
  padding: 0 0 40px;
}
.sr-single-col {
  max-width: var(--sr-content-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* Single header */
.sr-single-header {
  padding: 72px 0 24px;
  text-align: center;
}
.sr-single-header .sr-post-meta {
  justify-content: center;
  margin-bottom: 20px;
}
.sr-single-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(30px, 5.5vw, 46px);
  font-weight: 300;
  color: var(--sr-text-body);
  line-height: 1.2;
  margin-bottom: 20px;
}
.sr-single-lead {
  font-size: 17px;
  font-weight: 300;
  color: var(--sr-text-light);
  line-height: 1.85;
  max-width: 480px;
  margin: 0 auto;
  font-style: italic;
}

/* Hero image */
.sr-single-hero {
  margin: 0 0 8px;
  border-radius: var(--sr-radius);
  overflow: hidden;
}
.sr-single-hero img {
  display: block;
  width: 100%;
  height: auto;
}
.sr-single-hero figcaption {
  font-size: 11px;
  color: var(--sr-text-light);
  text-align: center;
  padding: 10px 0 0;
  font-style: italic;
}

/* Content area */
.sr-single-content {
  font-size: 16px;
  font-weight: 300;
  color: var(--sr-text-body);
  line-height: 1.9;
}
.sr-single-content p {
  margin-bottom: 24px;
}
.sr-single-content h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 300;
  color: var(--sr-text-body);
  margin: 56px 0 16px;
  line-height: 1.3;
}
.sr-single-content h3 {
  font-family: 'Fraunces', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--sr-text-body);
  margin: 40px 0 12px;
}
.sr-single-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--sr-text);
  margin: 32px 0 8px;
  text-transform: lowercase;
  letter-spacing: 0.5px;
}
.sr-single-content img {
  border-radius: var(--sr-radius);
  margin: 32px 0;
}
.sr-single-content blockquote {
  border-left: 1.5px solid var(--sr-coral);
  padding-left: 24px;
  margin: 36px 0;
  font-style: italic;
  font-weight: 300;
  color: var(--sr-text-light);
  font-size: 16px;
  line-height: 1.85;
}
.sr-single-content ul,
.sr-single-content ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
.sr-single-content li {
  margin-bottom: 8px;
  font-weight: 300;
}
.sr-single-content a {
  color: var(--sr-sea);
  text-decoration: underline;
  text-decoration-color: rgba(89, 121, 106, 0.3);
  text-underline-offset: 3px;
}
.sr-single-content a:hover {
  text-decoration-color: var(--sr-sea);
}
.sr-single-content strong {
  font-weight: 600;
  color: var(--sr-text);
}

/* Drop cap */
.sr-single-content > p:first-of-type::first-letter {
  font-family: 'Fraunces', serif;
  font-size: 3.5em;
  float: left;
  line-height: 0.8;
  padding: 4px 10px 0 0;
  color: var(--sr-sea);
  font-weight: 400;
}

/* Tags */
.sr-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 24px 0 0;
}
.sr-tag {
  font-size: 12px;
  font-weight: 400;
  color: var(--sr-text-light);
  text-decoration: none;
  padding: 4px 12px;
  border: 1px solid var(--sr-rule);
  border-radius: 100px;
  transition: all 0.2s;
}
.sr-tag:hover {
  color: var(--sr-sea);
  border-color: var(--sr-sea);
}

/* Author box */
.sr-author-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 0;
}
.sr-author-avatar img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.sr-author-name {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--sr-text-body);
}
.sr-author-role {
  font-size: 13px;
  font-weight: 300;
  color: var(--sr-text-light);
  font-style: italic;
  margin-top: 2px;
}

/* Post CTA */
.sr-post-cta {
  text-align: center;
  padding: 48px 0;
}
.sr-post-cta-text {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 300;
  font-style: italic;
  color: var(--sr-text-light);
  margin-bottom: 24px;
  line-height: 1.55;
}

/* Post navigation */
.sr-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 16px 0 40px;
}
.sr-post-nav-item.sr-next {
  text-align: right;
}
.sr-post-nav-label {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--sr-text-light);
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.sr-post-nav-title {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--sr-text-body);
  text-decoration: none;
  line-height: 1.4;
}
.sr-post-nav-title:hover {
  color: var(--sr-sea);
}

/* Related posts */
.sr-related {
  padding: 24px 0 48px;
}
.sr-related .sr-label {
  margin-bottom: 16px;
}
.sr-related-item {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--sr-rule-light);
  text-decoration: none;
  transition: all 0.2s;
}
.sr-related-item:first-of-type {
  border-top: 1px solid var(--sr-rule-light);
}
.sr-related-item:hover {
  padding-left: 8px;
}
.sr-related-item time {
  font-size: 12px;
  color: var(--sr-text-light);
  flex-shrink: 0;
  width: 60px;
}
.sr-related-title {
  font-family: 'Fraunces', serif;
  font-size: 15px;
  font-weight: 400;
  color: var(--sr-text-body);
  line-height: 1.4;
}
.sr-related-item:hover .sr-related-title {
  color: var(--sr-sea);
}


/* ============================================================
   VIDEO HERO
   ============================================================ */

.sr-video-hero iframe,
.sr-video-hero video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: var(--sr-radius);
}
.sr-video-hero div[style*="position"] {
  border-radius: var(--sr-radius);
  overflow: hidden;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 544px) {
  .col,
  .sr-archive-col,
  .sr-single-col {
    padding: 0 20px;
  }

  .sr-media-strip .logos,
  .sr-info-bar .bar-stats {
    gap: 16px;
  }

  .sr-photo-card { max-width: 100%; }
  .sr-photo-card.small { max-width: 100%; }

  .sr-list-item-thumb {
    width: 72px;
    height: 72px;
  }

  .sr-post-nav {
    grid-template-columns: 1fr;
  }
  .sr-post-nav-item.sr-next {
    text-align: left;
  }

  .sr-author-box {
    flex-direction: column;
    text-align: center;
  }
}


/* ============================================================
   HOMEPAGE COMPONENTS
   ============================================================ */

/* Hero */
.hero { padding: 80px 28px 72px; text-align: center; }
.hero-label {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14px; font-weight: 600; letter-spacing: 0.3px;
  color: var(--sr-sea); margin-bottom: 28px; display: block;
}
.hero h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(30px, 5.5vw, 44px); font-weight: 300;
  line-height: 1.2; color: var(--sr-text-body);
  max-width: 520px; margin: 0 auto 24px;
}
.hero h1 em { font-weight: 300; font-style: italic; color: var(--sr-sea); }
.hero-retoorika {
  font-size: 15px; font-weight: 400; font-style: italic;
  color: var(--sr-text-light); max-width: 400px; margin: 0 auto 36px; line-height: 1.7;
}
.hero-sub {
  font-size: 14px; line-height: 1.85; color: var(--sr-text-light);
  max-width: 420px; margin: 0 auto 40px; font-weight: 400;
}
.hero-micro { margin-top: 20px; font-size: 12px; color: var(--sr-text-light); }

/* Hero fade-in animations */
.hero-label, .hero h1, .hero-retoorika, .hero-sub, .hero .cta, .hero-micro {
  animation: srFadeUp 0.8s ease both;
}
.hero-label { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.15s; }
.hero-retoorika { animation-delay: 0.25s; }
.hero-sub { animation-delay: 0.35s; }
.hero .cta { animation-delay: 0.45s; }
.hero-micro { animation-delay: 0.55s; }

/* CTA button */
.cta {
  display: inline-block; padding: 15px 38px; border-radius: 100px;
  font-size: 14px; font-weight: 500; color: #fff;
  background: var(--sr-coral); text-decoration: none;
  border: none; cursor: pointer;
  box-shadow: 0 4px 20px var(--sr-coral-shadow); transition: all 0.3s;
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px var(--sr-coral-shadow);
  color: #fff;
}
.cta.ghost {
  background: transparent; color: var(--sr-coral);
  border: 1.5px solid var(--sr-coral); box-shadow: none;
}
.cta.ghost:hover { background: var(--sr-coral); color: #fff; }

/* Dividers */
.divider { max-width: 600px; margin: 0 auto; padding: 0 28px; }
.divider hr { border: none; height: 1px; background: var(--sr-rule); }
.divider-star {
  text-align: center; padding: 48px 0;
  font-size: 14px; color: var(--sr-rule); letter-spacing: 16px;
}

/* Sections */
.section { padding: 72px 0; }
.s-label {
  font-family: 'Fraunces', serif; font-size: 15px; font-weight: 400;
  font-style: italic; color: var(--sr-coral); margin-bottom: 20px;
}
.s-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(22px, 3.5vw, 32px); font-weight: 300;
  line-height: 1.3; color: var(--sr-text-body); margin-bottom: 24px;
}
.s-text { font-size: 16px; line-height: 1.9; margin-bottom: 18px; }
.s-text strong { color: var(--sr-text); font-weight: 600; }
.s-text.accent {
  color: var(--sr-sea); font-weight: 400;
  font-style: italic; font-size: 15px;
}

/* Claims */
.claim-item { padding: 32px 0; border-top: 1px solid var(--sr-rule-light); }
.claim-num {
  font-family: 'Fraunces', serif; font-size: 14px; font-weight: 400;
  color: var(--sr-coral); margin-bottom: 8px; letter-spacing: 0.3px;
}
.claim-item h3 {
  font-family: 'Fraunces', serif; font-size: 20px; font-weight: 300;
  color: var(--sr-text-body); margin-bottom: 8px; line-height: 1.35;
}
.claim-item p { font-size: 14px; color: var(--sr-text-light); line-height: 1.9; font-weight: 400; }

/* Meta claim */
.meta-claim {
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 3vw, 28px); font-weight: 300;
  font-style: italic; color: var(--sr-sea);
  text-align: center; padding: 48px 20px; letter-spacing: 1px;
}

/* CTA row */
.cta-row { text-align: center; padding: 16px 0 48px; }

/* Author section */
.auth-center { text-align: center; margin-bottom: 24px; }
.auth-name {
  font-family: 'Fraunces', serif; font-size: 19px;
  font-weight: 300; color: var(--sr-text-body);
}
.auth-role {
  font-size: 13px; font-weight: 400; color: var(--sr-sea);
  margin-top: 2px; font-style: italic;
}
.auth-bio {
  font-size: 15px; line-height: 1.9; font-weight: 400;
  color: var(--sr-text-body); margin-bottom: 18px;
}
.honesty {
  border-left: 1.5px solid var(--sr-coral); padding-left: 24px;
  margin: 32px 0; font-size: 15px; line-height: 1.9;
  font-style: italic; color: var(--sr-text-light); font-weight: 400;
}

/* Testimonials */
.test-item { margin-bottom: 40px; }
.test-item blockquote {
  font-size: 15px; line-height: 1.9; color: var(--sr-text-body);
  margin: 0 0 10px; padding: 0 0 0 24px; border: none;
  position: relative; font-weight: 400; font-style: italic;
}
.test-item blockquote::before {
  content: '\201C'; font-family: 'Fraunces', serif;
  font-size: 36px; color: var(--sr-coral); opacity: 0.35;
  position: absolute; left: -4px; top: -8px; line-height: 1;
}
.test-cite { font-size: 12px; padding-left: 24px; }
.test-cite cite { font-style: normal; font-weight: 500; color: var(--sr-sea); }
.test-cite .tag { font-size: 10px; color: var(--sr-text-light); margin-left: 6px; }

/* Photo card (homepage variant) */
.photo-card {
  position: relative; overflow: hidden; border-radius: 10px;
  margin: 48px 0; max-width: 420px;
}
.photo-card img { display: block; width: 100%; height: auto; filter: brightness(0.85); }
.photo-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 24px; background: rgba(26, 42, 42, 0.55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.photo-overlay p {
  font-family: 'Fraunces', serif; font-size: 15px; font-weight: 400;
  font-style: italic; color: #fff; line-height: 1.5; margin: 0;
}
.photo-card.centered { margin-left: auto; margin-right: auto; }
.photo-card.small { max-width: 320px; }

/* Photo round (homepage variant) */
.photo-round {
  width: 140px; height: 140px; border-radius: 50%;
  overflow: hidden; margin: 0 auto 24px; background: var(--sr-rule-light);
}
.photo-round img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
}

/* Gain proof */
.gain-list { list-style: none; margin: 20px 0 0; padding: 0; }
.gain-list li {
  padding: 12px 0; font-size: 14px; color: var(--sr-text-body);
  border-bottom: 1px solid var(--sr-rule-light);
  padding-left: 20px; position: relative; line-height: 1.7;
}
.gain-list li::before {
  content: '·'; position: absolute; left: 4px;
  color: var(--sr-sea); font-weight: 700; font-size: 18px;
}

/* Stats strip */
.stats-strip {
  padding: 28px 28px;
  background: linear-gradient(135deg, #59796a 0%, #3d594d 100%);
}
.stats-grid {
  display: flex; justify-content: center; gap: 32px;
  max-width: 600px; margin: 0 auto;
}
.stat-card { flex: 1; text-align: center; padding: 12px 0; }
.stat-pct {
  font-family: 'Fraunces', serif; font-size: 42px; font-weight: 300;
  color: #fff; line-height: 1; margin-bottom: 8px;
}
.stat-desc { font-size: 11px; color: rgba(255, 255, 255, 0.65); line-height: 1.4; font-weight: 400; }

/* Media strip (homepage variant) */
.media-strip { background: var(--sr-sea); padding: 24px 28px; text-align: center; }
.media-strip .label {
  font-size: 13px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: lowercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 16px;
}
.media-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 36px; flex-wrap: wrap;
}
.media-logo { font-weight: 600; color: rgba(255, 255, 255, 0.6); text-decoration: none; line-height: 1; }
.logo-delfi { font-size: 20px; text-transform: lowercase; font-weight: 500; }
.logo-pm { font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 600; }
.logo-err { font-size: 17px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; }
.logo-edasi { font-size: 15px; font-family: 'Fraunces', serif; font-weight: 400; font-style: italic; }
.logo-med24 { font-size: 14px; font-weight: 500; }
.logo-med24 span { opacity: 0.5; }

/* Info bar (homepage variant) */
.info-bar { background: var(--sr-gold); padding: 20px 28px; text-align: center; }
.info-bar .bar-label {
  font-size: 13px; font-weight: 500; letter-spacing: 1px;
  text-transform: lowercase; color: rgba(255, 255, 255, 0.75); margin-bottom: 10px;
}

/* Pricing */
.pricing-area { text-align: center; padding: 72px 0; }
.pricing-intro {
  font-size: 15px; color: var(--sr-text-light);
  max-width: 440px; margin: 0 auto 48px; line-height: 1.85;
}
.pricing-grid {
  display: flex; flex-direction: column; gap: 20px;
  align-items: center; max-width: 400px; margin: 0 auto; padding: 0 20px;
}
.price-card {
  width: 100%; max-width: 400px; border: 1px solid var(--sr-rule);
  border-radius: 16px; padding: 32px 28px; text-align: left;
  position: relative; background: #fff; display: flex; flex-direction: column;
}
.price-card.featured { border-color: var(--sr-sea); box-shadow: 0 8px 32px rgba(89, 121, 106, 0.12); }
.price-card.featured-coral { border-color: var(--sr-coral); box-shadow: 0 8px 32px rgba(204, 126, 94, 0.12); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--sr-sea); color: #fff;
  font-size: 10px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; padding: 4px 14px; border-radius: 100px;
}
.price-badge.badge-coral { background: var(--sr-coral); }
.price-name {
  font-family: 'Fraunces', serif; font-size: 16px;
  font-weight: 400; color: var(--sr-text-body); margin-bottom: 4px;
}
.price-num {
  font-family: 'Fraunces', serif; font-size: 40px;
  font-weight: 300; color: var(--sr-text-body); line-height: 1;
}
.price-num small {
  font-size: 14px; color: var(--sr-text-light);
  font-family: 'Source Sans 3', sans-serif; font-weight: 400;
}
.price-daily { font-size: 12px; color: var(--sr-text-light); margin: 4px 0 20px; }
.price-list { list-style: none; margin: 0 0 24px; padding: 0; flex-grow: 1; }
.price-list li {
  padding: 8px 0; font-size: 13px; color: var(--sr-text-body);
  border-bottom: 1px solid var(--sr-rule-light);
  padding-left: 18px; position: relative; line-height: 1.6;
}
.price-list li:last-child { border-bottom: none; }
.price-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--sr-sea); font-size: 12px; font-weight: 600;
}
.price-list li.bonus { color: var(--sr-sea); font-weight: 500; }
.price-list li.disabled { color: var(--sr-rule); }
.price-list li.disabled::before { content: '—'; color: var(--sr-rule); }
.price-cta {
  display: block; width: 100%; padding: 12px; border-radius: 100px;
  font-size: 13px; font-weight: 500; color: #fff;
  background: var(--sr-coral); border: none; cursor: pointer;
  text-align: center; text-decoration: none;
  box-shadow: 0 3px 16px var(--sr-coral-shadow); transition: all 0.3s;
}
.price-cta:hover { transform: translateY(-1px); color: #fff; }
.price-card.featured .price-cta { background: var(--sr-sea); box-shadow: 0 3px 16px rgba(89, 121, 106, 0.18); }
.price-card.featured-coral .price-cta { background: var(--sr-coral); box-shadow: 0 3px 16px rgba(204, 126, 94, 0.18); }
.price-reason { font-size: 11px; color: var(--sr-text-light); margin-top: 16px; font-style: italic; line-height: 1.6; }
.pricing-guarantee { max-width: 380px; margin: 40px auto 0; text-align: center; }
.pricing-guarantee p { font-size: 13px; color: var(--sr-text-light); line-height: 1.8; }
.pricing-guarantee strong { color: var(--sr-text-body); font-weight: 500; }
.pricing-nappus { font-size: 12px; color: var(--sr-sea); font-style: italic; margin-top: 12px; }

/* FAQ */
.faq-item { padding: 24px 0; border-top: 1px solid var(--sr-rule); }
.faq-q {
  font-family: 'Fraunces', serif; font-size: 16px; font-weight: 400;
  color: var(--sr-text-body); margin-bottom: 8px; line-height: 1.4;
}
.faq-a { font-size: 14px; color: var(--sr-text-light); line-height: 1.85; font-weight: 400; }

/* Final CTA */
.final { text-align: center; padding: 80px 28px; border-top: 1px solid var(--sr-rule); }
.final h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 4vw, 38px); font-weight: 300;
  color: var(--sr-text-body); margin-bottom: 16px; line-height: 1.25;
}
.final .sub {
  font-size: 15px; color: var(--sr-text-light);
  max-width: 400px; margin: 0 auto 36px; line-height: 1.85; font-weight: 400;
}
.final-loss { margin-top: 28px; font-size: 12px; color: var(--sr-text-light); font-style: italic; font-weight: 400; }
.final-pos { margin-top: 6px; font-size: 13px; color: var(--sr-sea); font-weight: 400; font-style: italic; }

/* PS section */
.ps {
  max-width: 500px; margin: 0 auto; padding: 48px 28px;
  text-align: center; font-size: 14px; color: var(--sr-text-light);
  line-height: 1.9; font-style: italic; font-weight: 400;
}
.ps strong { font-weight: 400; color: var(--sr-text-body); font-style: normal; }

/* Reveal animation (homepage uses .reveal instead of .sr-fade-up) */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Homepage responsive */
@media (max-width: 480px) {
  .hero { padding: 72px 20px 60px; }
  .price-card { max-width: 320px; width: 100%; }
}
