/* Between the Trees — AgriCulture-inspired marketing theme */
:root {
  --agri-green: #2d5a27;
  --agri-green-dark: #1e3d1a;
  --agri-accent: #8bc34a;
  --agri-accent-hover: #9dce5a;
  --agri-cream: #f7f4ef;
  --agri-earth: #6b4f2a;
  --agri-text: #2c2c2c;
  --agri-font-body: "Open Sans", system-ui, -apple-system, sans-serif;
  --agri-font-heading: "Marcellus", Georgia, "Times New Roman", serif;
}

body.marketing-theme {
  font-family: var(--agri-font-body);
  color: var(--agri-text);
  background: #fff;
}

.marketing-theme a {
  color: var(--agri-green);
  text-decoration: none;
}

.marketing-theme a:hover {
  color: var(--agri-green-dark);
}

.marketing-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e8e4dc;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

/* Space for absolute header on pages that are not the home hero */
body.marketing-theme:not(.has-full-hero) {
  padding-top: var(--marketing-header-height, 72px);
}

body.marketing-theme.has-full-hero {
  padding-top: 0 !important;
}

.has-full-hero .marketing-flash {
  position: absolute;
  top: calc(var(--marketing-header-height, 72px) + 0.75rem);
  left: 0;
  right: 0;
  z-index: 1100;
}

.marketing-brand,
body.marketing-theme .marketing-header .navbar-brand.marketing-brand,
body.marketing-theme .marketing-header .marketing-brand {
  font-family: var(--agri-font-heading);
  font-size: 1.45rem;
  font-weight: 400;
  color: #1e3d1a !important; /* dark forest green */
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.marketing-brand:hover,
.marketing-brand:focus,
body.marketing-theme .marketing-header .marketing-brand:hover,
body.marketing-theme .marketing-header .marketing-brand:focus {
  color: #1e3d1a !important;
}

.marketing-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  overflow: visible;
}

.marketing-logo {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  object-position: center;
}

body.marketing-theme .marketing-header .marketing-nav .nav-link {
  color: #1e3d1a !important; /* dark forest green */
  font-weight: 500;
  padding: 0.75rem 0.9rem !important;
  transition: color 0.2s ease;
}

body.marketing-theme .marketing-header .marketing-nav .nav-link:hover,
body.marketing-theme .marketing-header .marketing-nav .nav-link:focus,
body.marketing-theme .marketing-header .marketing-nav .nav-link:active,
body.marketing-theme .marketing-header .marketing-nav .nav-link.active,
body.marketing-theme .marketing-header .marketing-nav .nav-item.show > .nav-link {
  color: #8bc34a !important; /* light grass green */
}

body.marketing-theme .marketing-header .marketing-classes-menu {
  border: 1px solid #e8e4dc;
  border-radius: 0.45rem;
  padding: 0.4rem 0;
  min-width: 16rem;
  max-width: min(22rem, calc(100vw - 2rem));
  box-shadow: 0 10px 28px rgba(30, 61, 26, 0.12);
}

body.marketing-theme .marketing-header .marketing-classes-menu .dropdown-item {
  color: #1e3d1a;
  font-size: 0.9rem;
  white-space: normal;
  padding: 0.4rem 1rem;
}

body.marketing-theme .marketing-header .marketing-classes-menu .dropdown-item:hover,
body.marketing-theme .marketing-header .marketing-classes-menu .dropdown-item:focus,
body.marketing-theme .marketing-header .marketing-classes-menu .dropdown-item.active {
  background: #f4f8ef;
  color: #1e3d1a;
}

body.marketing-theme .marketing-header .marketing-classes-menu .dropdown-item.disabled {
  color: #6b7280;
}

/* Header Subscription Box CTA */
body.marketing-theme .marketing-header .btn-agri {
  background: #8bc34a !important; /* light grass green */
  border-color: #8bc34a !important;
  color: #1e3d1a !important;
}

body.marketing-theme .marketing-header .btn-agri:hover,
body.marketing-theme .marketing-header .btn-agri:focus {
  background: #1e3d1a !important; /* dark forest green */
  border-color: #1e3d1a !important;
  color: #fff !important;
}

/* Hero slider — full viewport width, flush to top under header */
.hero-slider-section {
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #060606;
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  z-index: 1;
}

/* Holds vertical space while the absolute hero sits under the header */
.hero-slider-spacer {
  width: 100%;
  height: min(960px, 70vw);
  pointer-events: none;
}

.hero-swiper {
  width: 100%;
  max-width: 100%;
  height: min(960px, 70vw);
  padding: 0;
  margin: 0;
  position: relative;
  background-color: #060606;
  overflow: hidden;
}

.hero-swiper .swiper-wrapper {
  width: 100% !important;
  height: 100% !important;
}

.hero-swiper .swiper-slide {
  width: 100% !important;
  height: 100% !important;
  box-sizing: border-box;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  background-color: #060606;
  /* Preserve image aspect ratio — no vertical stretch */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-slide-fallback {
  background-image: linear-gradient(160deg, #1e3d1a, #4a7c3f 55%, #6b8f4e);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* AgriCulture: color-mix(background #060606, transparent 60%) */
  background: rgba(6, 6, 6, 0.4);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  padding: 0 64px;
  box-sizing: border-box;
  /* Optical vertical center — sit slightly above geometric center */
  transform: translateY(-8%);
}

.hero-slide-about .hero-content {
  transform: translateY(calc(-8% - 60px));
}

.about-detail-section {
  padding: 10px;
  width: 100%;
}

.about-detail-box {
  width: 100%;
  max-width: none;
  margin: 0;
  background: #fff;
  border: 1px solid #e6ebe3;
  border-left: 4px solid var(--agri-accent);
  border-radius: 0.75rem;
  box-shadow: 0 10px 28px rgba(30, 61, 26, 0.08);
  padding: 1.75rem 1.85rem;
}

.about-detail-title {
  font-family: var(--agri-font-heading);
  color: var(--agri-green-dark);
  font-size: 1.75rem;
  margin: 0 0 1rem;
}

.about-detail-body p {
  margin: 0 0 1rem;
  color: var(--agri-text);
  line-height: 1.7;
}

.about-detail-body p:last-child {
  margin-bottom: 0;
}

.about-detail-subtitle {
  font-family: var(--agri-font-heading);
  color: var(--agri-green-dark);
  font-size: 1.25rem;
  margin: 1.5rem 0 0.75rem;
}

.about-detail-list {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--agri-text);
  line-height: 1.7;
}

.about-detail-list li {
  margin-bottom: 0.25rem;
}

.about-detail-list:last-child {
  margin-bottom: 0;
}

.hero-content .section-kicker {
  color: rgba(255, 255, 255, 0.75) !important;
}

.hero-slide h1,
.hero h1,
.section-title {
  font-family: var(--agri-font-heading);
  font-weight: 400;
}

.hero-slide h1 {
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  font-family: var(--agri-font-heading);
  color: #fff;
}

.hero-slide .lead {
  font-size: 1.1rem;
  opacity: 0.95;
  color: #fff;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
}

.hero-content .d-flex {
  justify-content: center;
}

.hero-content .btn-agri {
  margin: 10px;
}

.hero-content .btn-agri-outline {
  border-color: #fff;
  color: #fff;
  margin: 10px;
}

.hero-content .btn-agri-outline:hover {
  background: #fff;
  color: var(--agri-green-dark);
}

.hero-swiper .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.45;
  width: 10px;
  height: 10px;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: var(--agri-accent);
  opacity: 1;
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: #fff;
  --swiper-navigation-size: 28px;
  width: 44px;
  height: 44px;
  margin-top: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.7;
  transition: opacity 0.3s;
  z-index: 5;
}

.hero-swiper .swiper-button-prev {
  left: 12px;
  right: auto;
}

.hero-swiper .swiper-button-next {
  right: 12px;
  left: auto;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  opacity: 1;
}

.hero-swiper .swiper-button-prev:after,
.hero-swiper .swiper-button-next:after {
  font-size: 28px;
  line-height: 1;
}

@media (min-width: 1024px) {
  .hero-slide h1,
  .hero-slide .lead {
    max-width: 60%;
  }

  .hero-swiper .swiper-button-prev {
    left: 24px;
  }

  .hero-swiper .swiper-button-next {
    right: 24px;
  }
}

/* Small & medium screens: no negative offsets, or the hero hides behind the header */
@media (max-width: 991.98px) {
  .hero-slider-section {
    top: 0;
  }

  .hero-content,
  .hero-slide-about .hero-content {
    transform: none;
  }

  body.marketing-theme .marketing-header .navbar > .container {
    flex-wrap: nowrap;
    align-items: center;
  }

  body.marketing-theme .marketing-header .navbar-brand.marketing-brand {
    min-width: 0;
  }

  body.marketing-theme .marketing-header .marketing-brand-name {
    font-size: 50%;
  }

  body.marketing-theme .marketing-header .navbar-toggler {
    flex-shrink: 0;
  }

  /* Overlay panel — keep the bar one row tall; menu drops below it */
  body.marketing-theme .marketing-header .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e8e4dc;
    box-shadow: 0 14px 32px rgba(30, 61, 26, 0.14);
    max-height: min(70vh, calc(100dvh - var(--marketing-header-height, 72px)));
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0.5rem 1.25rem 1rem;
    margin: 0;
  }

  body.marketing-theme .marketing-header .marketing-nav {
    align-items: stretch;
    padding-bottom: 0.25rem;
  }

  body.marketing-theme .marketing-header .marketing-nav .nav-item {
    border-bottom: 1px solid #f0ece4;
  }

  body.marketing-theme .marketing-header .marketing-nav .nav-item:last-child {
    border-bottom: 0;
  }

  body.marketing-theme .marketing-header .marketing-nav .nav-link {
    padding: 0.7rem 0.15rem !important;
  }

  body.marketing-theme .marketing-header .marketing-nav .btn-agri {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0.65rem 0 0.25rem;
    padding: 0.65rem 1rem;
  }

  body.marketing-theme .marketing-header .marketing-classes-menu {
    position: static !important;
    transform: none !important;
    inset: auto !important;
    float: none;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    min-width: 0;
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0 0 0.55rem 0.85rem;
  }
}

@media (max-width: 768px) {
  /* 33% smaller than the previous 30px mobile heading (and matching kicker/buttons) */
  .hero-slide h1 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .hero-content .section-kicker {
    font-size: 0.5rem;
  }

  .hero-content .btn-agri,
  .hero-content .btn-agri-outline {
    font-size: 0.67rem;
    padding: 0.47rem 0.94rem;
  }

  /* Keep only the heading — hide the paragraph text so it fits */
  .hero-content .lead {
    display: none;
  }

  .hero-content {
    padding: calc(var(--marketing-header-height, 72px) + 8px) 48px 1rem;
  }

  .hero-slider-spacer,
  .hero-swiper {
    height: min(560px, 85vw);
  }

  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next {
    width: 36px;
    height: 36px;
  }

  .hero-swiper .swiper-button-prev {
    left: 8px;
  }

  .hero-swiper .swiper-button-next {
    right: 8px;
  }
}

.swiper-slide-active .hero-animate {
  animation: heroFadeUp 0.85s ease both;
}

.swiper-slide-active .hero-animate.delay-1 { animation-delay: 0.12s; }
.swiper-slide-active .hero-animate.delay-2 { animation-delay: 0.24s; }
.swiper-slide-active .hero-animate.delay-3 { animation-delay: 0.36s; }

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

/* Testimonials — AgriCulture-style */
.agri-section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.agri-section-title h2 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--agri-green);
  font-family: var(--agri-font-body);
}

.agri-section-title p {
  margin-bottom: 0;
  font-family: var(--agri-font-heading);
  font-size: 32px;
  color: var(--agri-green-dark);
}

.testimonials {
  padding: 4.5rem 0;
  background: #fff;
}

.testimonials .testimonial {
  text-align: center;
  padding: 0.5rem 1rem;
}

.testimonials .testimonial-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--agri-cream);
  color: var(--agri-green-dark);
  font-family: var(--agri-font-heading);
  font-size: 1.5rem;
  font-weight: 400;
  border: 3px solid rgba(139, 195, 74, 0.45);
}

.testimonials .testimonial blockquote {
  margin: 0 0 1rem;
  border: 0;
  padding: 0;
}

.testimonials .testimonial blockquote p {
  font-size: 20px;
  color: var(--agri-text);
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
}

.testimonials .testimonial .client-name {
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--agri-accent);
  font-weight: 600;
  margin-bottom: 0;
  letter-spacing: 0.04em;
}

.btn-agri {
  background: var(--agri-accent);
  border-color: var(--agri-accent);
  color: #1e3d1a;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
}

.btn-agri:hover {
  background: var(--agri-accent-hover);
  border-color: var(--agri-accent-hover);
  color: #1e3d1a;
}

.btn-agri-outline {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  padding: 0.65rem 1.35rem;
}

.btn-agri-outline:hover {
  background: #fff;
  color: var(--agri-green-dark);
}

.section {
  padding: 4.5rem 0;
}

.section-muted {
  background: var(--agri-cream);
}

.section-title {
  color: var(--agri-green-dark);
  margin-bottom: 0.75rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--agri-earth);
  margin-bottom: 0.5rem;
}

.feature-card {
  background: #fff;
  border: 0;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(30, 61, 26, 0.08);
  height: 100%;
  padding: 1.5rem;
}

.feature-icon {
  display: block;
  font-size: 1.75rem;
  color: var(--agri-green);
  margin-bottom: 0.65rem;
}

.faq .accordion-button:not(.collapsed) {
  background: #eef6e8;
  color: var(--agri-green-dark);
  box-shadow: none;
}

.faq .accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(139, 195, 74, 0.25);
}

/* Homepage newsletter banner (media library alt "banner-newsletter") */
.home-banner-section {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.home-banner-section--has-bg {
  min-height: 320px;
  display: flex;
  align-items: center;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.home-banner-overlay {
  display: none;
}

.home-banner-section--has-bg .home-banner-overlay {
  display: block;
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.42);
  pointer-events: none;
}

.home-banner-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* FAQ header banner (media library alt "banner-faqs" or "banner-faq") */
.faq-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.faq-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.42);
}

.faq-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
}

.faq-hero-content .section-kicker {
  color: rgba(255, 255, 255, 0.8);
}

.faq-hero-title {
  font-family: var(--agri-font-heading);
  color: #fff;
  font-size: 2.25rem;
  margin: 0;
}

.faq-hero + .section {
  padding-top: 2.5rem;
}

/* Contact page header (reuses media library alt "banner-newsletter", flipped) */
.contact-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  overflow: hidden;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scaleX(-1);
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.42);
}

.contact-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 1.5rem;
}

.contact-hero-content .section-kicker {
  color: rgba(255, 255, 255, 0.8);
}

.contact-hero-title {
  font-family: var(--agri-font-heading);
  color: #fff;
  font-size: 2.25rem;
  margin: 0;
}

.contact-hero + .section {
  padding-top: 2.5rem;
}

.contact-directions {
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.35rem;
  background: var(--agri-cream);
  border-left: 4px solid var(--agri-accent);
  border-radius: 0.75rem;
}

.contact-directions p {
  margin: 0 0 0.85rem;
}

.contact-directions-lead {
  font-weight: 700;
  color: var(--agri-green-dark);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0;
}

.store-card img,
.store-card-placeholder {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0;
}

.store-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 0.8rem;
}

.store-card .card-body {
  position: relative;
  padding: 0.75rem 0.85rem 0.9rem;
}

.store-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 0.35rem;
}

.store-card,
.blog-card {
  border: 0;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.store-card.store-card--expandable {
  overflow: visible;
}

.blog-index-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.blog-index-header .section-title {
  margin: 0;
}

.blog-search {
  flex: 1 1 16rem;
  max-width: 22rem;
  margin-left: auto;
}

.blog-search__caption {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--agri-green-dark);
  margin-bottom: 0.35rem;
}

.blog-search__controls {
  display: flex;
  gap: 0.5rem;
}

.blog-search__controls .form-control {
  flex: 1 1 auto;
  min-width: 0;
}

.store-section {
  margin-bottom: 3.75rem;
}

.store-page {
  padding-bottom: 0;
}

.store-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 0.5rem;
}

.store-jump a {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: #eef6e8;
  color: var(--agri-green-dark);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(139, 195, 74, 0.45);
}

.store-jump a:hover,
.store-jump a:focus {
  background: var(--agri-green-dark);
  color: #fff;
  border-color: var(--agri-green-dark);
}

.store-band {
  margin: 0;
}

.store-band + .store-band {
  margin-top: 0;
}

.store-band-bar {
  background: var(--agri-green-dark);
  color: #fff;
  padding: 0.85rem 0;
  margin: 2.25rem 0 1.5rem;
}

.store-band:first-of-type .store-band-bar {
  margin-top: 1.75rem;
}

.store-band-bar .store-section-title {
  color: #fff;
  margin: 0;
  font-size: 1.65rem;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .store-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.store-section-title {
  font-family: var(--agri-font-heading);
  color: var(--agri-green-dark);
  font-size: 2.15rem;
  margin: 0 0 0.65rem;
}

.store-section-lead {
  margin: 0 0 1.25rem;
  max-width: 42rem;
  line-height: 1.65;
}

.store-price {
  font-weight: 700;
  color: var(--agri-green-dark);
  font-size: 1.05rem;
}

.store-price-tax {
  font-weight: 500;
  font-size: 0.8rem;
  color: #4b5563;
}

.store-price-tiers {
  display: block;
  margin-top: 0.2rem;
  font-weight: 500;
  font-size: 0.8rem;
  color: #4b5563;
}

.store-volume-prices {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: #4b5563;
  font-size: 0.95rem;
}

.store-card .card-body a {
  color: inherit;
  text-decoration: none;
}

.store-card .card-body a:hover {
  text-decoration: underline;
}

/* Browse-only store: subscriber notice + catalog styling */
.store-notice {
  background: var(--agri-cream);
  border-left: 4px solid var(--agri-accent);
  border-radius: 0.75rem;
  box-shadow: 0 10px 28px rgba(30, 61, 26, 0.08);
  padding: 1.35rem 1.5rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.store-notice p {
  margin: 0 0 0.65rem;
}

.store-notice a {
  font-weight: 600;
  text-decoration: underline;
}

#checkout-newsletter + .form-check-label {
  font-size: 0.8125rem;
  line-height: 1.45;
}

.store-category {
  background: #fff;
  border-radius: 0.75rem;
  overflow: visible;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  margin-bottom: 1.25rem;
}

.store-category:not([open]) {
  overflow: hidden;
}

.store-category-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.35rem;
  background: #eef6e8;
  border-left: 4px solid var(--agri-accent);
  color: var(--agri-green-dark);
}

.store-category-summary::-webkit-details-marker,
.store-category-summary::marker {
  display: none;
  content: none;
}

.store-category-title {
  font-family: var(--agri-font-heading);
  color: var(--agri-green-dark);
  font-size: 1.6rem;
  margin: 0;
}

.store-category-summary .bi {
  font-size: 1.25rem;
  color: var(--agri-green);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.store-category[open] .store-category-summary {
  border-bottom: 1px solid rgba(139, 195, 74, 0.35);
}

.store-category[open] .store-category-summary .bi {
  transform: rotate(180deg);
}

.store-category-summary:focus-visible {
  outline: 2px solid var(--agri-accent);
  outline-offset: 2px;
}

.store-category-body {
  padding: 1.35rem 1.25rem 1.5rem;
}

.store-credit-badge {
  display: inline-block;
  background: #eef6e8;
  color: var(--agri-green-dark);
  border: 1px solid rgba(139, 195, 74, 0.45);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Expandable product details (hover on desktop, click/tap anywhere).
   Overlay below the card so the grid row does not grow. */
.store-card--expandable {
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.store-card--expandable:hover,
.store-card--expandable.expanded,
.store-card--expandable:focus-within {
  z-index: 30;
  box-shadow: 0 12px 32px rgba(30, 61, 26, 0.16);
}

.store-card-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--agri-green);
}

.store-card-more .bi {
  transition: transform 0.25s ease;
}

.store-card--expandable:hover .store-card-more .bi,
.store-card--expandable.expanded .store-card-more .bi {
  transform: rotate(180deg);
}

.store-card-details {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0 0.85rem;
  background: #fff;
  border: 1px solid transparent;
  border-top: 0;
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: none;
  transition: max-height 0.3s ease, padding 0.3s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  z-index: 31;
}

.store-card--expandable:hover .store-card-details,
.store-card--expandable.expanded .store-card-details {
  max-height: 30rem;
  padding: 0.15rem 0.85rem 0.9rem;
  border-color: #e5ebe1;
  box-shadow: 0 14px 28px rgba(30, 61, 26, 0.14);
}

.store-card-details p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--agri-text);
  white-space: pre-line;
}

.store-card-details + form {
  margin-top: 0.85rem;
}

/* Bootstrap pagination on marketing pages (avoids Tailwind SVG arrow conflicts) */
.marketing-pagination .pagination {
  margin-bottom: 0;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.marketing-pagination .page-link {
  color: var(--agri-green-dark);
  border-color: #d8e0d4;
  font-weight: 500;
}

.marketing-pagination .page-link:hover {
  color: var(--agri-green-dark);
  background: #eef5e8;
  border-color: var(--agri-accent);
}

.marketing-pagination .page-item.active .page-link {
  background: var(--agri-green);
  border-color: var(--agri-green);
  color: #fff;
}

.marketing-pagination .page-item.disabled .page-link {
  color: #9ca3af;
  background: #f8faf7;
}

.price {
  font-weight: 700;
  color: var(--agri-green);
  font-size: 1.15rem;
}

.price-compare {
  text-decoration: line-through;
  color: #888;
  font-size: 0.95rem;
  margin-left: 0.35rem;
}

.funnel-page {
  /* Fixed-height green band so added page length stays on the light background */
  background: linear-gradient(180deg, #1e3d1a 0, #2d5a27 380px, #f7f4ef 380px);
  min-height: 100vh;
}

.funnel-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  padding: 2.5rem;
  margin-top: 1.5rem;
}

.funnel-how {
  padding-top: 2.5rem;
}

/* Subscribe hero banner (media library image with alt "header-sub") */
.funnel-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  margin-top: 1.5rem;
  border-radius: 1rem;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.funnel-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 6, 0.42);
}

.funnel-hero-title {
  position: relative;
  z-index: 1;
  font-family: var(--agri-font-heading);
  color: #fff;
  text-align: center;
  font-size: 2rem;
  padding: 1rem 1.5rem;
  margin: 0;
}

.funnel-hero + .funnel-how {
  padding-top: 1rem;
}

.funnel-box-items {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1rem 0 1.25rem;
}

.funnel-box-items li {
  background: rgba(139, 195, 74, 0.16);
  color: var(--agri-green-dark);
  border: 1px solid rgba(139, 195, 74, 0.45);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Title sits on the dark green band at the top of the funnel page */
.funnel-how-title {
  color: #fff;
}

.funnel-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.funnel-step {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  background: #fff;
  border: 1px solid #e6ebe3;
  border-left: 4px solid var(--agri-accent);
  border-radius: 0.75rem;
  box-shadow: 0 10px 28px rgba(30, 61, 26, 0.08);
  padding: 1.35rem 1.5rem;
}

.funnel-step-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(139, 195, 74, 0.18);
  color: var(--agri-green-dark);
  font-size: 1.5rem;
}

.funnel-step h3 {
  font-family: var(--agri-font-heading);
  font-size: 1.15rem;
  color: var(--agri-green-dark);
  margin: 0 0 0.35rem;
}

.funnel-step p {
  margin: 0;
  color: var(--agri-text);
  line-height: 1.6;
}

.funnel-plans-section {
  margin-top: 2.5rem;
}

.funnel-plans {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin: 1.5rem 0 1rem;
}

.funnel-plan {
  display: block;
  text-align: center;
  background: #fff;
  border: 1px solid #e6ebe3;
  border-radius: 0.75rem;
  box-shadow: 0 10px 28px rgba(30, 61, 26, 0.08);
  padding: 1.5rem 1.25rem;
  color: var(--agri-text);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.funnel-plan:hover {
  border-color: var(--agri-accent);
  box-shadow: 0 14px 34px rgba(30, 61, 26, 0.16);
  transform: translateY(-2px);
  color: var(--agri-text);
}

.funnel-plan-icon {
  color: var(--agri-green-dark);
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 0.65rem;
}

.funnel-plan h3 {
  font-family: var(--agri-font-heading);
  font-size: 1.1rem;
  color: var(--agri-green-dark);
  margin: 0 0 0.35rem;
}

.funnel-plan-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--agri-green-dark);
  margin: 0;
}

.funnel-plan-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: #6b7280;
}

.funnel-plan-credits {
  margin: 0.25rem 0 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.funnel-plans-note {
  color: var(--agri-text);
  text-align: center;
  margin: 0 0 1rem;
}

.marketing-footer {
  position: relative;
  background: var(--agri-green-dark);
  color: #dce9d7;
  padding: 3rem 0 1.5rem;
  overflow: hidden;
}

.marketing-footer--has-bg {
  background-color: #060606;
  background-image: var(--footer-bg-image);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.marketing-footer-overlay {
  display: none;
}

.marketing-footer--has-bg .marketing-footer-overlay {
  display: block;
  position: absolute;
  inset: 0;
  background: rgba(30, 61, 26, 0.72);
  pointer-events: none;
  z-index: 0;
}

.marketing-footer .container {
  z-index: 1;
}

.marketing-footer a {
  color: #fff;
}

.marketing-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}

.marketing-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

.marketing-footer .marketing-social a {
  color: #fff;
}

.marketing-footer .marketing-footer-credit-link {
  color: inherit;
  text-decoration: none;
}

.marketing-footer .marketing-footer-credit-link:hover,
.marketing-footer .marketing-footer-credit-link:focus {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
}

.newsletter-banner + .marketing-footer {
  margin-top: 0 !important;
}

.newsletter-box {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.75rem;
  box-shadow: 0 10px 28px rgba(30, 61, 26, 0.1);
}

.cart-badge {
  background: var(--agri-accent);
  color: #1e3d1a;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  margin-left: 0.25rem;
}

/* Legacy single hero (other pages / fallback) */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(30, 61, 26, 0.78), rgba(45, 90, 39, 0.55)),
    linear-gradient(160deg, #1e3d1a, #4a7c3f 55%, #6b8f4e);
    color: #fff;
    overflow: hidden;
}

.offer-popup {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.offer-popup[hidden] {
  display: none !important;
}

body.offer-popup-open {
  overflow: hidden;
}

.offer-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(30, 61, 26, 0.55);
}

.offer-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  padding: 2rem 1.75rem 1.5rem;
  text-align: center;
  overflow: hidden;
}

.offer-popup-dialog--splash {
  width: min(960px, calc(100vw - 1.5rem));
  min-height: min(560px, 78vh);
  padding: 0;
  background: #1e3d1a;
  border: 8px solid #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45), 0 6px 18px rgba(0, 0, 0, 0.28);
}

.offer-popup-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.offer-popup-splash {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 4rem 2rem 2.75rem;
  background: linear-gradient(180deg, rgba(30, 61, 26, 0.28) 0%, rgba(30, 61, 26, 0.62) 100%);
}

.offer-popup-close {
  position: absolute;
  top: 0.35rem;
  right: 0.55rem;
  z-index: 2;
  border: 0;
  background: transparent;
  font-size: 1.75rem;
  line-height: 1;
  color: #6b4f2a;
  cursor: pointer;
}

.offer-popup-dialog--splash .offer-popup-close {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.offer-popup-icon {
  width: 88px;
  height: 88px;
  object-fit: contain;
  margin: 0 auto 1rem;
  display: block;
}

.offer-popup-title {
  font-family: var(--agri-font-heading);
  color: var(--agri-green-dark);
  font-size: 1.65rem;
  line-height: 1.25;
  margin: 0 0 1.15rem;
}

.offer-popup-dialog--splash .offer-popup-title {
  color: #fff;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  max-width: 16ch;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.5rem;
}

.offer-popup-dialog--splash .offer-popup-body {
  color: #fff;
  text-align: center;
  max-width: 36rem;
}

.offer-popup-dialog--splash .offer-popup-code {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  margin: 0 0 1.25rem;
}

.offer-popup-cta {
  min-width: min(280px, 100%);
  font-size: 1.05rem;
  padding: 0.85rem 1.6rem;
}

.offer-popup-dialog--splash .offer-popup-dismiss {
  color: rgba(255, 255, 255, 0.88);
}

.offer-popup-body {
  text-align: left;
  margin-bottom: 1rem;
}

.offer-popup-form {
  display: grid;
  gap: 0.75rem;
  text-align: left;
}

.offer-popup-form label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--agri-green-dark);
}

.offer-popup-form input {
  display: block;
  width: 100%;
  margin-top: 0.3rem;
  border: 1px solid #d7d1c6;
  border-radius: 0.4rem;
  padding: 0.65rem 0.75rem;
}

.offer-popup-error {
  color: #b91c1c;
  font-size: 0.875rem;
  margin: 0;
}

.offer-popup-dismiss {
  display: inline-block;
  margin-top: 0.85rem;
  border: 0;
  background: transparent;
  color: #6b7280;
  text-decoration: underline;
  font-size: 0.875rem;
  cursor: pointer;
}

.offer-popup-success-message,
.offer-popup-code {
  margin: 0 0 1rem;
}

.offer-popup-code {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.class-page .class-listing + .class-listing {
  margin-top: 3rem;
}

.class-listings .class-listing {
  margin-top: 0;
  padding: 2.5rem 0 3rem;
}

.class-listings .class-listing + .class-listing {
  margin-top: 0;
  border-top: 8px solid var(--agri-green-dark);
}

.class-listings .class-listing:nth-child(even) {
  background: var(--agri-cream);
}

.class-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 22rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  color: #fff;
  background-color: #060606;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 0.6rem;
}

.class-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(6, 6, 6, 0.4);
  pointer-events: none;
}

.class-hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 0;
  padding: 1rem 1.15rem 1.15rem;
}

.class-hero-content .section-kicker {
  color: rgba(255, 255, 255, 0.85);
}

.class-hero-title {
  font-family: var(--agri-font-heading);
  color: #fff;
  font-size: clamp(1.4rem, 2.4vw, 2.1rem);
  margin: 0;
}

.class-listing-layout {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 992px) {
  .class-listing-layout {
    grid-template-columns: minmax(0, 1fr) 15.5rem;
    align-items: start;
  }

  .class-listing-copy {
    min-height: min(28rem, 55vh);
  }
}

.class-listing-title {
  font-family: var(--agri-font-heading);
  color: var(--agri-green-dark);
  margin-bottom: 0.75rem;
}

.class-listing-cal {
  position: sticky;
  top: calc(var(--marketing-header-height, 72px) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.class-cal-pager {
  background: var(--agri-cream);
  border-radius: 0.7rem;
  padding: 0.85rem;
}

.class-cal-pager-header {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
}

.class-cal-pager-header .class-cal-month-label {
  flex: 1;
  margin: 0;
}

.class-cal-pager-btn {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid #d7d0c4;
  border-radius: 999px;
  background: #fff;
  color: var(--agri-green-dark);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.class-cal-pager-btn:hover:not(:disabled),
.class-cal-pager-btn:focus-visible:not(:disabled) {
  border-color: var(--agri-green);
  color: var(--agri-green);
}

.class-cal-pager-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.class-cal-pager-month .class-cal-month {
  background: transparent;
  padding: 0;
}

.class-cal-pager-month .class-cal-month-label {
  display: none;
}

.class-cal-month--small {
  background: var(--agri-cream);
  border-radius: 0.7rem;
  padding: 0.85rem;
}

.class-cal-month-label {
  font-family: var(--agri-font-heading);
  font-size: 1rem;
  color: var(--agri-green-dark);
  margin: 0 0 0.65rem;
  text-align: center;
}

.class-cal-grid {
  border: 1px solid #e8e4dc;
  border-radius: 0.45rem;
  overflow: hidden;
  background: #fff;
}

.class-cal-weekdays,
.class-cal-week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.class-cal-weekday,
.class-cal-day {
  padding: 0.2rem 0.1rem;
  min-height: 1.85rem;
  border-right: 1px solid #f0ece4;
  border-bottom: 1px solid #f0ece4;
  text-align: center;
}

.class-cal-weekday {
  min-height: 0;
  background: #efebe3;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--agri-earth);
}

.class-cal-day--muted {
  background: #fafaf8;
  color: #9ca3af;
}

.class-cal-day--this-class {
  background: var(--agri-green);
  color: #fff;
}

.class-cal-day--pickable {
  cursor: pointer;
}

.class-cal-day--pickable:hover,
.class-cal-day--pickable:focus {
  box-shadow: inset 0 0 0 2px #fff;
}

.class-cal-day--selected {
  box-shadow: inset 0 0 0 3px #1f3d2a;
}

.class-next-available {
  margin: 0.35rem 0 0;
}

.class-rolling-hint {
  margin: 0.5rem 0 0;
  color: #6b7280;
  font-size: 0.9rem;
}

.class-rolling-panel {
  margin-top: 0.75rem;
}

.class-cal-date {
  display: block;
  font-size: 0.72rem;
  line-height: 1.45;
}

.class-cal-unavailable {
  margin: 0;
  padding: 1rem 0.85rem;
  border: 1px solid #e8e4dc;
  border-radius: 0.6rem;
  background: var(--agri-cream);
  color: #6b7280;
  text-align: center;
  font-size: 0.9rem;
}

.class-session-list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
}

.class-session-list__item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  align-items: center;
  padding: 0.65rem 0;
  border-top: 1px solid #e8e4dc;
}

.class-session-book {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}

.class-session-addons {
  flex: 1 1 100%;
  display: grid;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.class-session-addons__label {
  font-size: 0.8rem;
  color: #6b7280;
  margin: 0;
}

.class-session-addon {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
}

.class-session-addon input {
  width: 3.6rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.class-detail-body {
  white-space: normal;
}

.class-detail-heading {
  font-family: var(--agri-font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--agri-green-dark);
  margin: 1.1rem 0 0.35rem;
}

.class-details {
  position: relative;
  margin-top: 0.85rem;
  z-index: 1;
}

.class-details:hover,
.class-details:focus-within,
.class-details.is-open {
  z-index: 40;
}

.class-details-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0;
  border: 0;
  background: none;
  color: var(--agri-green);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.class-details-toggle::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.class-details-toggle:hover,
.class-details-toggle:focus-visible {
  color: var(--agri-green-dark);
}

.class-details.is-open .class-details-toggle::after,
.class-details:hover .class-details-toggle::after,
.class-details:focus-within .class-details-toggle::after {
  transform: rotate(225deg) translate(-0.08rem, -0.08rem);
}

.class-details-panel {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 0.2rem);
  width: min(100%, 32rem);
  max-width: 100%;
  padding: 0.75rem 1rem 1rem;
  background: #fff;
  border: 1px solid #d8e0d4;
  border-radius: 0.5rem;
  box-shadow: 0 14px 28px rgba(30, 61, 26, 0.14);
  z-index: 41;
}

@media (hover: hover) and (pointer: fine) {
  .class-details:hover .class-details-panel,
  .class-details:focus-within .class-details-panel {
    display: block;
  }
}

.class-details.is-open .class-details-panel {
  display: block;
}

.class-details--expanded .class-details-panel {
  display: block;
  position: static;
  width: auto;
  max-width: none;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.class-details-inner {
  padding-top: 0;
}

.class-details--expanded .class-details-inner {
  padding-top: 0.65rem;
}
