/*
Theme Name: SoccermomPhD
Theme URI: https://soccermomphd.com
Author: Dr. Tanya K. Semcesen
Author URI: https://soccermomphd.com
Description: A custom WordPress theme for SoccermomPhD — a parenting resource translating developmental psychology into practical, everyday strategies for all parents of children ages 3–18. Designed around the Peer-Mentor identity: warm, credible, and conversational.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: soccermomphd
Tags: blog, education, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES (COLOR PALETTE)
   ========================================================================== */

:root {
  /* Primary Palette */
  --dusty-sky: #8BAABB;
  --sea-glass: #96AD90;
  --goldenrod: #D4A373;
  --dark-slate: #2C3E50;
  --soft-white: #F9F9F9;

  /* Tints & Shades */
  --dusty-sky-light: #EDF3F6;
  --dusty-sky-dark: #6A8FA3;
  --sea-glass-light: #F0F5EE;
  --sea-glass-dark: #7A9474;
  --goldenrod-light: #FBF5EF;
  --goldenrod-dark: #B8864F;
  --goldenrod-hover: #C4935E;

  /* Functional */
  --text-primary: #2C3E50;
  --text-secondary: #5D6D7E;
  --text-light: #8E9EAB;
  --border-light: #E8ECF0;
  --shadow-sm: 0 1px 3px rgba(44, 62, 80, 0.08);
  --shadow-md: 0 4px 12px rgba(44, 62, 80, 0.1);
  --shadow-lg: 0 8px 30px rgba(44, 62, 80, 0.12);

  /* Typography */
  --font-heading: 'Lora', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Caveat', cursive;

  /* Spacing */
  --section-padding: 5rem 0;
  --section-padding-mobile: 3rem 0;
  --container-width: 1200px;
  --container-narrow: 800px;

  /* Transitions */
  --transition: all 0.3s ease;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--soft-white);
}

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

a {
  color: var(--dusty-sky);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--dusty-sky-dark);
}

ul, ol {
  list-style: none;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dusty-sky);
  line-height: 1.3;
  margin-bottom: 0.75em;
  font-weight: 700;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; color: var(--sea-glass); }
h4 { font-size: 1.25rem; color: var(--dark-slate); }

p {
  margin-bottom: 1.25em;
  color: var(--text-primary);
}

.text-accent {
  font-family: var(--font-accent);
}

blockquote {
  border-left: 4px solid var(--sea-glass);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background: var(--sea-glass-light);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--section-padding);
}

.section--alt {
  background-color: var(--dusty-sky-light);
}

.section--warm {
  background-color: var(--goldenrod-light);
}

.section--green {
  background-color: var(--sea-glass-light);
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
  .grid--2, .grid--3, .grid--4 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--section-padding-mobile);
  }

  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

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

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  line-height: 1.4;
}

.btn--primary {
  background-color: var(--goldenrod);
  color: #fff;
  border-color: var(--goldenrod);
}

.btn--primary:hover {
  background-color: var(--goldenrod-hover);
  border-color: var(--goldenrod-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--secondary {
  background-color: transparent;
  color: var(--sea-glass);
  border-color: var(--sea-glass);
}

.btn--secondary:hover {
  background-color: var(--sea-glass);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline-dusty {
  background-color: transparent;
  color: var(--dusty-sky);
  border-color: var(--dusty-sky);
}

.btn--outline-dusty:hover {
  background-color: var(--dusty-sky);
  color: #fff;
}

.btn--small {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn--large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  max-width: var(--container-width);
  margin: 0 auto;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header__logo img {
  height: 50px;
  width: auto;
}

.site-header__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--dusty-sky);
  font-weight: 700;
  text-decoration: none;
}

.site-header__tagline {
  font-size: 0.75rem;
  color: var(--text-light);
  display: block;
  margin-top: -2px;
}

/* Main Navigation */
.main-nav__list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.main-nav__link {
  padding: 0.5rem 1rem;
  color: var(--dark-slate);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 4px;
  transition: var(--transition);
}

.main-nav__link:hover,
.main-nav__link--active {
  color: var(--dusty-sky);
  background-color: var(--dusty-sky-light);
}

.main-nav__link--cta {
  background-color: var(--goldenrod);
  color: #fff !important;
  border-radius: 6px;
  margin-left: 0.5rem;
}

.main-nav__link--cta:hover {
  background-color: var(--goldenrod-hover);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle__bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark-slate);
  margin: 5px 0;
  transition: var(--transition);
  border-radius: 2px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    padding: 1rem;
  }

  .main-nav--open {
    display: block;
  }

  .main-nav__list {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav__link {
    padding: 0.75rem 1rem;
    display: block;
  }

  .main-nav__link--cta {
    margin-left: 0;
    margin-top: 0.5rem;
    text-align: center;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {
  background: linear-gradient(135deg, var(--dusty-sky-light) 0%, #fff 50%, var(--sea-glass-light) 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  color: var(--dark-slate);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero__headline em {
  color: var(--dusty-sky);
  font-style: normal;
}

.hero__subheadline {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero__tagline {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--sea-glass);
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.hero__image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__headline {
    font-size: 2rem;
  }

  .hero__subheadline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__image img {
    height: 280px;
  }

  .btn-group {
    justify-content: center;
  }
}

/* ==========================================================================
   HOMEPAGE SECTIONS
   ========================================================================== */

/* Section: Personal Hook */
.personal-hook {
  background: #fff;
  padding: 3.5rem 0;
  text-align: center;
}

.personal-hook__text {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.8;
  position: relative;
  padding: 0 2rem;
}

.personal-hook__text::before {
  content: '\201C';
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--goldenrod);
  position: absolute;
  top: -1.5rem;
  left: -0.5rem;
  opacity: 0.5;
}

/* Section: Three Arenas */
.arenas {
  padding: var(--section-padding);
  background: var(--dusty-sky-light);
}

.arenas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.arena-card {
  background: #fff;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid var(--sea-glass);
}

.arena-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.arena-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sea-glass-light);
  border-radius: 50%;
  color: var(--sea-glass);
}

.arena-card__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--sea-glass);
  fill: none;
  stroke-width: 1.5;
}

.arena-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--dusty-sky);
  margin-bottom: 0.75rem;
}

.arena-card__description {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .arenas__grid {
    grid-template-columns: 1fr;
  }
}

/* Section: PhD Pivot */
.phd-pivot {
  padding: var(--section-padding);
  background: #fff;
}

.phd-pivot__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.phd-pivot__label {
  display: inline-block;
  background: var(--goldenrod-light);
  color: var(--goldenrod-dark);
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.phd-pivot__image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.phd-pivot__image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .phd-pivot__inner {
    grid-template-columns: 1fr;
  }
}

/* Section: Lounge Snapshot */
.lounge-snapshot {
  padding: var(--section-padding);
  background: var(--goldenrod-light);
}

.lounge-snapshot__threads {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.thread-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 3px solid var(--goldenrod);
}

.thread-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.thread-card__topic {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--dark-slate);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.thread-card__meta {
  font-size: 0.8125rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .lounge-snapshot__threads {
    grid-template-columns: 1fr;
  }
}

/* Section: Bio */
.bio-section {
  padding: var(--section-padding);
  background: #fff;
}

.bio-section__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

.bio-section__photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.bio-section__photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.bio-section__name {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.bio-section__text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.bio-section__signature {
  font-family: var(--font-accent);
  font-size: 1.75rem;
  color: var(--sea-glass);
  margin: 1rem 0;
}

.bio-section__link {
  color: var(--dusty-sky);
  font-weight: 600;
  font-size: 0.9375rem;
}

.bio-section__link:hover {
  color: var(--dusty-sky-dark);
}

@media (max-width: 768px) {
  .bio-section__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .bio-section__photo {
    max-width: 250px;
    margin: 0 auto;
  }
}

/* Section: Newsletter CTA */
.newsletter-cta {
  padding: var(--section-padding);
  background: var(--sea-glass-light);
  text-align: center;
}

.newsletter-cta__form {
  display: flex;
  gap: 0.75rem;
  max-width: 480px;
  margin: 1.5rem auto 0;
}

.newsletter-cta__input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--border-light);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark-slate);
  background: #fff;
  transition: var(--transition);
}

.newsletter-cta__input:focus {
  outline: none;
  border-color: var(--sea-glass);
  box-shadow: 0 0 0 3px rgba(150, 173, 144, 0.15);
}

.newsletter-cta__bonus {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

@media (max-width: 480px) {
  .newsletter-cta__form {
    flex-direction: column;
  }
}

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

.blog-header {
  padding: 3rem 0 2rem;
  background: var(--dusty-sky-light);
  text-align: center;
}

.blog-header__title {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.blog-header__subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Filters */
.blog-filters {
  padding: 1.5rem 0;
  background: #fff;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 70px;
  z-index: 100;
}

.blog-filters__group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.blog-filters__label {
  font-weight: 700;
  font-size: 0.8125rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 0.5rem;
}

.blog-filters__row {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 0.375rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 20px;
  background: #fff;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--dusty-sky);
  color: var(--dusty-sky);
}

.filter-btn--active {
  background: var(--dusty-sky);
  color: #fff;
  border-color: var(--dusty-sky);
}

.filter-btn--pillar.filter-btn--active {
  background: var(--sea-glass);
  border-color: var(--sea-glass);
}

/* Post Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 0;
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* Post Card */
.post-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.post-card__image {
  height: 200px;
  overflow: hidden;
}

.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.post-card:hover .post-card__image img {
  transform: scale(1.05);
}

.post-card__body {
  padding: 1.5rem;
}

.post-card__tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: 3px;
}

.tag--pillar {
  background: var(--sea-glass-light);
  color: var(--sea-glass-dark);
}

.tag--age {
  background: var(--dusty-sky-light);
  color: var(--dusty-sky-dark);
}

.tag--emotional { background: #FDE8E8; color: #C0392B; }
.tag--social { background: #E8F4FD; color: #2980B9; }
.tag--cognitive { background: #FEF9E7; color: #D4A373; }
.tag--physical { background: #E8F8F5; color: #1ABC9C; }
.tag--parenting { background: #F4ECF7; color: #8E44AD; }

.post-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--dark-slate);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.post-card__title a {
  color: var(--dark-slate);
}

.post-card__title a:hover {
  color: var(--dusty-sky);
}

.post-card__excerpt {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.post-card__meta {
  font-size: 0.8125rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.single-post {
  padding: 3rem 0 4rem;
}

.single-post__header {
  text-align: center;
  max-width: var(--container-narrow);
  margin: 0 auto 2rem;
}

.single-post__title {
  font-size: 2.25rem;
  color: var(--dark-slate);
  margin-bottom: 1rem;
}

.single-post__meta {
  color: var(--text-light);
  font-size: 0.9375rem;
  margin-bottom: 2rem;
}

.single-post__featured-image {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  max-height: 480px;
  box-shadow: var(--shadow-md);
}

.single-post__featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post__content {
  max-width: var(--container-narrow);
  margin: 0 auto;
  font-size: 1.0625rem;
  line-height: 1.85;
}

.single-post__content h2 {
  margin-top: 2.5rem;
  font-size: 1.5rem;
}

.single-post__content h3 {
  margin-top: 2rem;
  font-size: 1.25rem;
}

.single-post__content ul,
.single-post__content ol {
  margin: 1.25rem 0;
  padding-left: 1.5rem;
}

.single-post__content ul { list-style-type: disc; }
.single-post__content ol { list-style-type: decimal; }

.single-post__content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

/* PhD Takeaway Box */
.phd-takeaway {
  background: var(--goldenrod-light);
  border: 1px solid rgba(212, 163, 115, 0.3);
  border-left: 4px solid var(--goldenrod);
  border-radius: 0 8px 8px 0;
  padding: 1.75rem 2rem;
  margin: 2.5rem 0;
}

.phd-takeaway__label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--goldenrod-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

/* Lounge CTA (end of post) */
.post-lounge-cta {
  background: var(--dusty-sky-light);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  margin: 3rem 0 2rem;
}

.post-lounge-cta h3 {
  color: var(--dusty-sky);
  margin-bottom: 0.5rem;
}

.post-lounge-cta p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

/* ==========================================================================
   PAGE TEMPLATES
   ========================================================================== */

/* About Page */
.about-page {
  padding: 4rem 0;
}

.about-page__grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

.about-page__photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 100px;
}

.about-page__photo img {
  width: 100%;
  object-fit: cover;
}

.about-page__content h2 {
  color: var(--dusty-sky);
  margin-top: 2rem;
}

.about-page__content h2:first-child {
  margin-top: 0;
}

.about-page__why {
  background: var(--goldenrod-light);
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--goldenrod);
}

.about-page__signature {
  font-family: var(--font-accent);
  font-size: 2rem;
  color: var(--sea-glass);
  margin: 1.5rem 0;
}

@media (max-width: 768px) {
  .about-page__grid {
    grid-template-columns: 1fr;
  }

  .about-page__photo {
    max-width: 280px;
    margin: 0 auto;
    position: static;
  }
}

/* Book Page */
.book-page {
  padding: 4rem 0;
}

.book-page__hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}

.book-page__cover {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.book-page__cover img {
  width: 100%;
}

.book-page__info h1 {
  color: var(--dark-slate);
  margin-bottom: 0.5rem;
}

.book-page__subtitle {
  font-family: var(--font-heading);
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.book-page__bridge {
  background: var(--sea-glass-light);
  border-radius: 10px;
  padding: 2rem;
  margin: 2rem 0;
  border-left: 4px solid var(--sea-glass);
}

.book-page__examples {
  margin-top: 3rem;
}

.book-page__example-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--dusty-sky);
}

@media (max-width: 768px) {
  .book-page__hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .book-page__cover {
    max-width: 250px;
    margin: 0 auto;
  }
}

/* Contact Page */
.contact-page {
  padding: 4rem 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-slate);
  font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--border-light);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--dark-slate);
  background: #fff;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--dusty-sky);
  box-shadow: 0 0 0 3px rgba(139, 170, 187, 0.15);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

/* Parent Lounge */
.lounge-page__hero {
  background: var(--goldenrod-light);
  padding: 4rem 0;
  text-align: center;
}

.lounge-page__channels {
  padding: var(--section-padding);
}

.channel-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.channel-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-top: 4px solid var(--dusty-sky);
}

.channel-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.channel-card--early { border-top-color: var(--sea-glass); }
.channel-card--middle { border-top-color: var(--dusty-sky); }
.channel-card--adolescence { border-top-color: var(--goldenrod); }
.channel-card--huddle { border-top-color: var(--dark-slate); }

.channel-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--dark-slate);
  margin-bottom: 0.5rem;
}

.channel-card__description {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .channel-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .channel-cards {
    grid-template-columns: 1fr;
  }
}

/* Weekly Rituals */
.rituals {
  background: var(--dusty-sky-light);
  padding: var(--section-padding);
}

.ritual-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.ritual-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.ritual-card__emoji {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.ritual-card__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--dark-slate);
  margin-bottom: 0.5rem;
}

.ritual-card__description {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .ritual-cards {
    grid-template-columns: 1fr;
  }
}

/* Learning Center (Coming Soon) */
.coming-soon {
  padding: 5rem 0;
  text-align: center;
}

.coming-soon__badge {
  display: inline-block;
  background: var(--goldenrod-light);
  color: var(--goldenrod-dark);
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.coming-soon__topics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem auto;
  max-width: 700px;
}

.coming-soon__topic {
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  color: var(--text-light);
  font-weight: 500;
  opacity: 0.7;
}

/* Newsletter Page */
.newsletter-page {
  padding: 4rem 0;
}

.newsletter-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.newsletter-page__preview {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.newsletter-page__section {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

.newsletter-page__section:last-child {
  border-bottom: none;
}

.newsletter-page__section-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  color: var(--dusty-sky);
  margin-bottom: 0.25rem;
}

.newsletter-page__section-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .newsletter-page__grid {
    grid-template-columns: 1fr;
  }
}

/* Resources Page */
.resources-page {
  padding: 4rem 0;
}

.resource-section {
  margin-bottom: 3rem;
}

.resource-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: start;
  gap: 1rem;
  transition: var(--transition);
}

.resource-card:hover {
  box-shadow: var(--shadow-md);
}

.resource-card__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--sea-glass-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sea-glass);
}

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

.site-footer {
  background: var(--dark-slate);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 1.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.site-footer__heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  padding: 0.25rem 0;
  font-size: 0.9375rem;
  transition: var(--transition);
}

.site-footer a:hover {
  color: var(--goldenrod);
}

.site-footer__newsletter-input {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.site-footer__newsletter-input input {
  flex: 1;
  padding: 0.625rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
}

.site-footer__newsletter-input input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.site-footer__social {
  display: flex;
  gap: 1rem;
}

.site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.site-footer__social a:hover {
  background: var(--goldenrod);
  color: #fff;
}

@media (max-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin: 2rem 0;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 6px;
  font-size: 0.9375rem;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  transition: var(--transition);
}

.pagination a:hover {
  border-color: var(--dusty-sky);
  color: var(--dusty-sky);
}

.pagination .current {
  background: var(--dusty-sky);
  color: #fff;
  border-color: var(--dusty-sky);
}

/* ==========================================================================
   BBPRESS OVERRIDES (Parent Lounge Forums)
   ========================================================================== */

#bbpress-forums {
  font-family: var(--font-body);
}

#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-title {
  font-family: var(--font-heading);
  color: var(--dusty-sky);
}

#bbpress-forums .bbp-forum-title:hover,
#bbpress-forums .bbp-topic-title:hover {
  color: var(--dusty-sky-dark);
}

#bbpress-forums .bbp-body .bbp-forum-info,
#bbpress-forums .bbp-body .bbp-topic-title {
  padding: 1rem;
}

#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
  background: var(--dusty-sky);
  color: #fff;
  border-radius: 6px 6px 0 0;
}

#bbpress-forums li.bbp-body .even {
  background: var(--dusty-sky-light);
}

.bbp-submit-wrapper button {
  background: var(--goldenrod) !important;
  border-color: var(--goldenrod) !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  border-radius: 6px !important;
}

.bbp-submit-wrapper button:hover {
  background: var(--goldenrod-hover) !important;
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Section heading pattern */
.section-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  margin-bottom: 0.5rem;
}

.section-heading p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Google Fonts will be loaded in functions.php */
