/**
 * Addventure Theme Main Styles
 *
 * @package Addventure
 * @since 1.0.0
 */

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

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  /* Asymmetric border-radius: top-left top-right bottom-right bottom-left */
  border-radius: 0 24px 0 24px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-base);
  line-height: 1.5;
}

.btn-primary {
  background-color: var(--color-primary-yellow);
  color: var(--color-text-dark);
  border-color: var(--color-primary-yellow);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #FFC300;
  border-color: #FFC300;
  color: var(--color-text-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-primary-green);
  color: var(--color-white);
  border-color: var(--color-primary-green);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--color-dark-green);
  border-color: var(--color-dark-green);
  color: var(--color-white);
}

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

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

.announcement-banner {
  background-color: var(--color-bg-cream);
  padding: 0.75rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.announcement-content {
  color: var(--color-text-dark);
  display: block;
}

.announcement-content:hover {
  text-decoration: underline;
}

.site-header {
  background-color: var(--color-white);
  padding: 1.5rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition-base);
}

.header-wrapper {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}

.site-branding {
  grid-column: 2;
  justify-self: center;
}

.menu-toggle {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.main-navigation {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

.header-cta {
  grid-column: 3;
  justify-self: end;
}

.custom-logo-link {
  display: block;
}

.custom-logo {
  max-height: 60px;
  width: auto;
}

.site-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
}

.site-title a {
  color: var(--color-text-dark);
}

.site-title a:hover {
  color: var(--color-primary-green);
}

.site-description {
  font-size: 0.875rem;
  color: var(--color-text-gray);
  margin: 0.25rem 0 0;
}

/* Navigation */
.main-navigation {
  flex-grow: 1;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 1001;
}

.menu-toggle-icon {
  width: 25px;
  height: 3px;
  background-color: var(--color-text-dark);
  transition: var(--transition-base);
}

.primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2rem;
  justify-content: center;
}

.primary-menu li {
  margin: 0;
}

.primary-menu a {
  color: var(--color-text-dark);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  display: block;
  transition: var(--transition-fast);
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu .current-menu-item a {
  color: var(--color-primary-green);
}

.header-cta {
  flex-shrink: 0;
}

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

.hero-section {
  padding: var(--spacing-3xl) 0;
  background: linear-gradient(135deg, var(--color-bg-cream) 0%, var(--color-white) 100%);
}

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

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-title {
  font-size: var(--font-size-h1);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--color-text-dark);
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-gray);
  margin-bottom: 2rem;
}

.hero-features {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.hero-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.hero-features .checkmark {
  color: var(--color-primary-green);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.hero-cta {
  margin-top: 2rem;
}

.hero-guarantee {
  font-size: 0.9rem;
  color: var(--color-text-gray);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-rating {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.rating-stars {
  color: var(--color-primary-yellow);
  font-size: 1.25rem;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   FEATURED LOGOS
   ========================================================================== */

.featured-section {
  padding: 3rem 0;
  background-color: var(--color-white);
  text-align: center;
}

.featured-title {
  font-size: 0.9rem;
  color: var(--color-text-gray);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.featured-logo {
  max-height: 40px;
  width: auto;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.featured-logo:hover {
  opacity: 1;
}

/* ==========================================================================
   FEATURES GRID
   ========================================================================== */

.features-section {
  padding: 4rem 0;
  background-color: var(--color-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  padding: 1.5rem;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-bg-cream);
  border-radius: 50%;
}

.feature-icon img {
  max-width: 50px;
  max-height: 50px;
}

.icon-placeholder {
  font-size: 2rem;
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-dark);
  margin: 0;
}

/* ==========================================================================
   TABBED CONTENT
   ========================================================================== */

.workshops-section {
  padding: 4rem 0;
  background-color: var(--color-bg-light-blue);
}

.tabbed-content {
  margin: 3rem 0;
}

.tab-list {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-button {
  padding: 0.875rem 2rem;
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
  transition: var(--transition-base);
}

.tab-button.active,
.tab-button:hover,
.tab-button:focus {
  background-color: var(--color-primary-green);
  border-color: var(--color-primary-green);
  color: var(--color-white);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.topic-item {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

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

/* ==========================================================================
   BENEFITS SECTION
   ========================================================================== */

.benefits-section {
  padding: 4rem 0;
  background-color: var(--color-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.benefit-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.benefit-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.benefit-content p {
  color: var(--color-text-gray);
  line-height: 1.7;
}

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

.testimonials-section {
  padding: 4rem 0;
  background-color: var(--color-bg-cream);
}

.testimonials-slider-wrapper {
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.testimonial-item {
  background-color: var(--color-white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.testimonial-text {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-dark);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  font-size: 1rem;
  color: var(--color-text-gray);
  font-weight: 600;
  font-style: normal;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--color-primary-green);
}

.swiper-pagination-bullet-active {
  background-color: var(--color-primary-green);
}

/* ==========================================================================
   STEPS SECTION
   ========================================================================== */

.steps-section {
  padding: 4rem 0;
  background-color: var(--color-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.step-item {
  text-align: center;
}

.step-number {
  width: 60px;
  height: 60px;
  background-color: var(--color-primary-yellow);
  color: var(--color-text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.step-item h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.step-item p {
  color: var(--color-text-gray);
  line-height: 1.7;
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
  padding: 4rem 0;
  background-color: var(--color-bg-light-blue);
}

.faq-accordion {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-primary-green);
}

.faq-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text-gray);
  line-height: 1.7;
}

.faq-answer[hidden] {
  display: none;
}

/* ==========================================================================
   ELEMENTOR COMPATIBILITY
   ========================================================================== */

.entry-content.elementor-content-area:empty {
  display: none;
}

.front-page .entry-content.elementor-content-area {
  /* Hide if empty */
}

.front-page .entry-content.elementor-content-area:not(:empty) + .hero-section,
.front-page .entry-content.elementor-content-area:not(:empty) ~ section {
  /* Hide theme sections when Elementor content exists */
  display: none;
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */

.final-cta-section {
  background: #1a1a2e;
}

.final-cta-section h2 {
  color: var(--color-white);
  font-size: var(--font-size-h2);
  margin-bottom: 1rem;
}

.final-cta-section h2 strong {
  color: var(--color-primary-orange);
}

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

.newsletter-section {
  background-color: #1a1a2e;
  padding: 4rem 0;
  text-align: center;
  color: var(--color-white);
  position: relative;
}

.newsletter-title {
  font-size: var(--font-size-h2);
  margin-bottom: 1rem;
  color: var(--color-white);
}

.newsletter-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 0 24px 0 24px;
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transition: var(--transition-base);
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-submit {
  padding: 1rem 2rem;
  flex-shrink: 0;
}

.newsletter-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 1rem;
}

/* ==========================================================================
   LEAD MAGNET FORM
   ========================================================================== */

.lead-magnet-form .newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 320px;
}

.lead-magnet-form .newsletter-form input[type="email"] {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 0 24px 0 24px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  transition: var(--transition-base);
}

.lead-magnet-form .newsletter-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.lead-magnet-form .newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.15);
}

.lead-magnet-form .newsletter-form .btn {
  width: 100%;
}

.lead-magnet-form .form-note {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.5rem;
}

@media (min-width: 480px) {
  .lead-magnet-form .newsletter-form {
    flex-direction: row;
    align-items: stretch;
    max-width: none;
  }

  .lead-magnet-form .newsletter-form input[type="email"] {
    flex: 1;
    min-width: 200px;
  }

  .lead-magnet-form .newsletter-form .btn {
    width: auto;
    flex-shrink: 0;
  }
}

.footer-main {
  background-color: #16213e;
  color: var(--color-white);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-branding {
  text-align: center;
}

.footer-branding .custom-logo {
  max-height: 50px;
  filter: brightness(0) invert(1);
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.5rem 0 0;
}

.footer-widgets {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
  width: 100%;
}

.footer-widget-column {
  text-align: center;
}

.footer-widget-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
}

.footer-menu li {
  margin-bottom: 0.75rem;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-menu a:hover {
  color: var(--color-white);
}

.footer-social {
  text-align: center;
  margin-top: 1rem;
}

.footer-social .footer-widget-title {
  margin-bottom: 1rem;
}

.social-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-base);
}

.social-link:hover {
  color: var(--color-white);
}

.social-icon {
  width: 20px;
  height: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal .copyright {
  width: 100%;
  margin-bottom: 0.5rem;
}

.footer-legal-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--color-white);
}

.footer-legal .separator {
  color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   POSTS
   ========================================================================== */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.post-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  display: flex;
  flex-direction: column;
}

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

.post-card-thumbnail {
  overflow: hidden;
}

.post-card-thumbnail img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-base);
}

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

.post-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.entry-header {
  margin-bottom: 1rem;
}

.entry-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.entry-title a {
  color: var(--color-text-dark);
}

.entry-title a:hover {
  color: var(--color-primary-green);
}

.entry-meta {
  font-size: 0.875rem;
  color: var(--color-text-gray);
}

.entry-summary {
  color: var(--color-text-gray);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.read-more {
  color: var(--color-primary-green);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.read-more:hover {
  color: var(--color-dark-green);
}

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

.text-center {
  text-align: center;
}

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

.section-description {
  font-size: 1.125rem;
  color: var(--color-text-gray);
  max-width: 700px;
  margin: 1rem auto 0;
}

.section-cta {
  margin-top: 3rem;
}

.cta-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-gray);
  margin-top: 1rem;
}

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

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

  .header-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .menu-toggle {
    display: flex;
    order: 1;
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
  }

  .site-branding {
    order: 2;
    flex-grow: 1;
    text-align: center;
    grid-column: auto;
    justify-self: auto;
  }

  .header-cta {
    order: 3;
    grid-column: auto;
    justify-self: auto;
  }

  .main-navigation {
    order: 4;
    width: 100%;
    grid-column: auto;
    grid-row: auto;
    justify-self: auto;
  }

  .primary-menu {
    flex-direction: column;
    padding: 1rem 0;
    gap: 0;
  }

  .primary-menu li {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .primary-menu a {
    padding: 1rem 0;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image {
    order: -1;
  }

  .footer-widgets {
    flex-direction: column;
    gap: 1.5rem;
  }

  .form-group {
    flex-direction: column;
  }

  .newsletter-input,
  .newsletter-submit {
    width: 100%;
  }

  .features-grid,
  .benefits-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .tab-list {
    flex-direction: column;
  }

  .tab-button {
    width: 100%;
  }
}

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

  .newsletter-submit {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PAGE CONTENT STYLING
   ========================================================================== */

.page-content {
  padding: 4rem 0;
}

.page-hero {
  width: 100%;
  max-height: 400px;
  overflow: hidden;
  margin-bottom: 3rem;
}

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

.page-article {
  max-width: 900px;
  margin: 0 auto;
}

.page-article .entry-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid var(--color-bg-cream);
}

.page-article .entry-title {
  font-size: 2.5rem;
  color: var(--color-text-dark);
  margin: 0;
  line-height: 1.2;
}

.content-wrapper {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text-gray);
}

/* Gutenberg Block Styling */
.content-wrapper h2 {
  font-size: 2rem;
  color: var(--color-text-dark);
  margin: 2.5rem 0 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.content-wrapper h3 {
  font-size: 1.5rem;
  color: var(--color-text-dark);
  margin: 2rem 0 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.content-wrapper h4 {
  font-size: 1.25rem;
  color: var(--color-text-dark);
  margin: 1.5rem 0 1rem;
  font-weight: 600;
}

.content-wrapper p {
  margin: 0 0 1.5rem;
}

.content-wrapper ul,
.content-wrapper ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.content-wrapper li {
  margin: 0.75rem 0;
}

.content-wrapper li strong {
  color: var(--color-text-dark);
  font-weight: 600;
}

.content-wrapper a {
  color: var(--color-primary-green);
  text-decoration: underline;
  transition: var(--transition-base);
}

.content-wrapper a:hover {
  color: var(--color-dark-green);
}

/* WordPress Columns Block */
.content-wrapper .wp-block-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.content-wrapper .wp-block-column {
  padding: 1.5rem;
  background-color: var(--color-bg-cream);
  border-radius: var(--radius-md);
}

@media (max-width: 768px) {
  .page-content {
    padding: 2rem 0;
  }

  .page-hero {
    margin-bottom: 2rem;
  }

  .page-hero img {
    height: 250px;
  }

  .page-article .entry-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
  }

  .page-article .entry-title {
    font-size: 2rem;
  }

  .content-wrapper {
    font-size: 1rem;
  }

  .content-wrapper h2 {
    font-size: 1.75rem;
    margin: 2rem 0 1rem;
  }

  .content-wrapper h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 0.75rem;
  }

  .content-wrapper .wp-block-columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ==========================================================================
   MISSION SECTION CONTENT
   ========================================================================== */

.mission-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  margin-bottom: var(--spacing-2xl);
}

.mission-text {
  max-width: 550px;
}

.mission-text h2 {
  font-size: 2rem;
  color: var(--color-anthracite);
  margin-bottom: var(--spacing-md);
}

.mission-quote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-text-gray);
  line-height: 1.7;
  padding-left: var(--spacing-lg);
  border-left: 4px solid var(--color-primary-petrol);
  margin: 0;
}

.mission-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mission-image img {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Science Pillars */
.science-pillars {
  margin-top: var(--spacing-2xl);
  padding-top: var(--spacing-2xl);
  border-top: 1px solid var(--color-border);
}

.pillars-title {
  text-align: center;
  font-size: 1.25rem;
  color: var(--color-anthracite);
  margin-bottom: var(--spacing-xl);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--spacing-md);
}

.pillar-item {
  text-align: center;
  padding: var(--spacing-md);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--spacing-sm);
  background-color: var(--color-bg-light-petrol);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.pillar-item h4 {
  font-size: 0.875rem;
  color: var(--color-anthracite);
  font-weight: 500;
  margin: 0;
}

@media (max-width: 1024px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .mission-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .mission-text {
    order: 1;
    max-width: 100%;
    text-align: center;
  }

  .mission-quote {
    border-left: none;
    padding-left: 0;
    border-top: 4px solid var(--color-primary-petrol);
    padding-top: var(--spacing-md);
  }

  .mission-image {
    order: 2;
  }

  .mission-image img {
    max-height: 300px;
  }

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