/* at the very top of site_files/styles.css */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    padding-top: 70px; /* offset for fixed navbar */
}

html {
    scroll-padding-top: 70px; /* keeps anchor targets below fixed navbar */
}

/* ============================
   Classes Page (Calendar + List)
   ============================ */
:root{
  --cal-gap: 8px;
  --cal-border: 1px solid rgba(255,255,255,0.15);
}

/* Slightly narrower container on Classes page */
.classes-page .container { max-width: 1100px; }

/* Calendar shell */
.calendar {
  margin: 1rem 0 2rem;
  border: var(--cal-border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(43, 0, 76, 0.06);
  backdrop-filter: blur(6px);
}

/* Calendar header bar */
.calendar__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  padding: .75rem 1rem;
  background: rgba(49, 4, 70, 0.25);
}
.calendar__title {
  font-weight: 700;
  letter-spacing: .3px;
  font-size: 1.15rem;
}
.calendar__controls { display: flex; gap: .35rem; }
.calendar__btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,.3);
  background: transparent;
  color: #fff;
  padding: .4rem .6rem;
  border-radius: .6rem;
  cursor: pointer;
}
.calendar__btn:hover { border-color: #fff; }

/* Day names row */
.calendar__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--cal-gap);
  padding: .6rem;
  border-bottom: var(--cal-border);
}
.calendar__dayname {
  text-align: center;
  font-size: .85rem;
  opacity: .85;
  font-weight: 700;
}

/* Grid of days */
.calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--cal-gap);
    padding: .6rem;
    /* keep calendar rows evenly sized */
    grid-auto-rows: 130px;
  }
.calcell {
  height: 100%;              /* fill grid row height */
  min-height: 0;             /* allow fixed row height to apply */
  overflow: hidden;          /* prevent tall content from stretching the row */
  border: var(--cal-border);
  border-radius: 10px;
  padding: .5rem .5rem .6rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
  background: rgba(255,255,255,0.04);
}
.calcell--muted { opacity: .5; }
.calcell__date {
  font-size: .9rem; font-weight: 700; opacity: .9;
}
.calcell__events {
  display: flex; flex-direction: column; gap: .25rem; margin-top: .15rem;
}
.calbadge {
  /* allow up to 3 lines and clamp, so days stay even height */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  width: 100%;
  font-size: .82rem;
  line-height: 1.2;
  padding: .34rem .45rem;
  border-radius: .5rem;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(40, 0, 72, 0.647);
  text-decoration: none;
  color: #fff;
  white-space: normal;         /* allow wrapping */
  word-break: break-word;      /* break long words if needed */
  overflow-wrap: anywhere;     /* wrap anywhere for very long words */
}
.calbadge:hover { border-color: #fff; }

/* List below calendar */
.classlist { margin: 2rem 0 3rem; }
.classlist h3 { margin-bottom: .75rem; }
.classitem {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 1rem;
  padding: .85rem 1rem;
  border: var(--cal-border);
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  margin-bottom: .75rem;
}
.classitem__date { font-weight: 700; }
.classitem__meta { opacity: .85; font-size: .95rem; }
.classitem a { color: #26003b; text-decoration: underline; }

@media (max-width: 720px) {
  .classitem { grid-template-columns: 1fr; }
}

/* ============================
   Media Kit (shared styles)
   ============================ */
.media-links {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}
.media-links .media-link {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.9);
  border-radius: 10px;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
  transition: transform 120ms ease, border-color 120ms ease, box-shadow 120ms ease;
}
.media-links .media-link:hover,
.media-links .media-link:focus-visible {
  transform: translateY(-1px);
  border-color: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  outline: none;
}

/* Center the About section layout on pages that use a single-column hero */
.about.about--single .about-content {
  display: grid !important;
  grid-template-columns: 1fr !important; /* collapse to one column */
  justify-items: center;                  /* center child blocks horizontally */
  text-align: center;                     /* center text */
}
.about.about--single .about-text {
  max-width: 900px;
  width: 100%;
  display: flex;
  justify-content: center;                /* center .media-links inside */
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    font-family: "Dancing Script", cursive;
    color: #2c3e50;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover {
    color: #3498db;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem 0;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #2c3e50;
    text-decoration: none;
    transition: background 0.3s ease;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    margin-top: -70px; /* counteract body padding so hero fills full viewport */
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 0%); */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    position: relative;
    background-image: linear-gradient(rgba(69, 4, 99, 0.0), rgba(157, 0, 255, 0.0)), url('/media/Background1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 70vh; /* ensure a nice tall hero */
}


  /* Keep text above the overlay and readable */
  .hero .hero-content {
    position: relative;
    z-index: 1;
    color: #0a0055;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.4);
  }

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: rgba(0, 0, 0, 0.3); */
}
/* 
.hero-content {
    position: relative;
    z-index: 2;
} */

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: rgb(58, 0, 90)
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: #3498db;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cta-button:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

/* Marketing Carousel */
.marketing-carousel {
    padding: 5rem 0;
    background: #f8f9fa;
    position: relative;
}

.carousel-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.marketing-card {
    display: flex;
    background: white;
    min-height: 300px;
}

.marketing-image {
  flex: 1;
  display: flex;
  align-items: center;      /* vertical center */
  justify-content: center;  /* horizontal center */
}

.marketing-image img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain; /* show entire image */
  display: block;
}

.marketing-content {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.marketing-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.marketing-content p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.marketing-link {
    background: #e74c3c;
    color: white;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    display: inline-block;
    font-weight: 600;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.marketing-link:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #2c3e50;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: white;
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bdc3c7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #3498db;
    transform: scale(1.2);
}

/* About Section */
.about {
  padding: 5rem 0;
  background: white;
  background: url("/media/about-bg.jpg")
              center center / cover no-repeat;
  position: relative;          /* new */
}

.about::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.471);
  z-index: 0;                  /* was 1 */
  pointer-events: none;        /* added */
}

.about .container {
  position: relative;          /* new */
  z-index: 2;                  /* sits above overlay */
}

.about h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c0448;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #220335;
}

.generic {
  position: relative;
  background: url("/media/about-bg.jpg") center center / cover no-repeat;
  min-height: 600px; /* optional: ensures section has height */
  color: rgb(33, 4, 52);      /* so text stays readable */
}

.generic::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.4); /* semi-transparent overlay */
  z-index: 1;
}

.generic .container {
  position: relative;
  z-index: 2; /* ensures text shows above overlay */
  padding: 90px; /* gives breathing room from edges */
}

/* Newsletter Section */
.newsletter {
    padding: 5rem 0;
    background: linear-gradient(135deg, #32014e 0%, #120a53 100%);
    color: white;
    text-align: center;
}

.newsletter h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
}

/* Newsletter: two columns with label above each input (no markup change) */
.newsletter-form .form-group{
  display: grid;
  grid-template-columns: 1fr 1fr;   /* two side-by-side fields */
  column-gap: 1rem;
  row-gap: .5rem;
  align-items: start;
}

.newsletter-form label{
  display: block;
  font-weight: 600;
  margin-bottom: .25rem;
}

/* Explicitly position each label/input so they stack within their column */
.newsletter-form .form-group label:nth-of-type(1){ grid-column: 1; grid-row: 1; }
.newsletter-form .form-group input:nth-of-type(1){ grid-column: 1; grid-row: 2; }
.newsletter-form .form-group label:nth-of-type(2){ grid-column: 2; grid-row: 1; }
.newsletter-form .form-group input:nth-of-type(2){ grid-column: 2; grid-row: 2; }

/* Mobile: stack fields naturally */
@media (max-width: 680px){
  .newsletter-form .form-group{ grid-template-columns: 1fr; }
  .newsletter-form .form-group label,
  .newsletter-form .form-group input{
    grid-column: auto; 
    grid-row: auto;
  }
}

.newsletter-btn {
    background: #3498db;
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    width: 100%;
}

.newsletter-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.newsletter-disclaimer {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Video Section */
.video-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.video-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.video-carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.video-container {
    position: relative;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.video-slide {
    display: none;
}

.video-slide.active {
    display: block;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 2rem;
    text-align: center;
}

.video-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.video-info p {
    color: #666;
    line-height: 1.6;
}

.video-nav {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.video-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #2c3e50;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-btn:hover {
    background: white;
    transform: scale(1.1);
}

.video-thumbnails {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.thumbnail {
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0.7;
    border: 3px solid transparent;
}

.thumbnail.active {
    opacity: 1;
    border-color: #3498db;
    transform: scale(1.05);
}

.thumbnail img {
    width: 120px;
    height: 80px;
    object-fit: cover;
    display: block;
}

/* --- Podcast section: fixed height and comfortable page edge spacing (GLOBAL) --- */
#podcast.podcast {
  height: 600px;
  padding: 0 clamp(16px, 4vw, 40px);
  display: flex;
  flex-direction: column;      /* stack title above iframe */
  align-items: stretch;        /* children take full width */
  justify-content: flex-start; /* keep content at the top */
  box-sizing: border-box;
}
#podcast.podcast iframe {
  width: 100%;
  flex: 1 1 auto;  /* fill remaining height */
  height: auto;    /* let flex control height */
  min-height: 0;   /* avoid overflow in flex context */
  max-width: 1100px;
  margin: 0 auto;
  display: block;
  border: 0;
  border-radius: 12px;
}
#podcast.podcast h2 {
  margin: 0 0 12px;
  text-align: center;
}

/* Smaller screens: reduce height */
@media (max-width: 640px) {
  #podcast.podcast { height: 420px; }
}

/* Articles Section */
.articles {
    padding: 5rem 0;
    background: white;
}

.articles h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.article-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.article-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.article-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.read-more {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #2980b9;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: #f8f9fa;
}

.testimonials h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.6;
}

.testimonial cite {
    font-weight: 600;
    color: #3498db;
}

/* Footer */
.footer {
    background: #34075b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: #70bbf1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* ===== Class list header + print button (GLOBAL) ===== */
.classlist__header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;margin-bottom:.75rem}
.classlist__header h3{margin:0}
.btn{appearance:none;border:1px solid rgba(255,255,255,.35);background:transparent;color:#2c0036;padding:.45rem .75rem;border-radius:.6rem;cursor:pointer}
.btn:hover{border-color:#2c0036}
.btn--icon{width:2.25rem;height:2.25rem;display:inline-flex;align-items:center;justify-content:center;padding:0}
.btn--icon svg{width:1.1rem;height:1.1rem}
.classes-notice{text-align:center;margin:0 0 1rem 0;display:block;line-height:1.4}
@media print{
  body.print-classes *{display:none!important}
  body.print-classes .classlist, body.print-classes .classlist *{display:revert!important}
  body.print-classes .classlist{margin:0!important}
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .marketing-card {
        flex-direction: column;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .form-group {
        flex-direction: column;
    }
    
    .video-thumbnails {
        flex-wrap: wrap;
    }
    
    .thumbnail img {
        width: 100px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .marketing-content {
        padding: 1.5rem;
    }
    
    .video-nav {
        padding: 0 10px;
    }
    
    .video-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Icon buttons (marketing + video carousels) */
.carousel-btn, .video-btn{
  display:inline-flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%;
  background:#fff; color:#333; border:1px solid #d9d9d9;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
  cursor:pointer;
}
.carousel-btn svg, .video-btn svg{ width:20px; height:20px; }
.carousel-btn:hover, .video-btn:hover{ background:#f7f7f7; }
.carousel-btn:focus-visible, .video-btn:focus-visible{ outline:2px solid #2563eb; outline-offset:2px; }
.social-links { display: flex; gap: 1rem; }
.social-links a { color: white; }
.social-links a svg { width: 24px; height: 24px; }

.social-links a:hover { color: #3498db; }      /* unify hover */
.icon-facebook:hover { color: #1877F2; }       /* brand hover (optional) */
.icon-instagram:hover { color: #E1306C; }
.icon-youtube:hover { color: #FF0000; }

/* ── Blog list ───────────────────────────────────────────────── */
#blog.blog { background: #f7f4fb; padding: 3rem 0 4rem; }
#blog.blog h2 { font-size: 2rem; color: #2c3e50; margin-bottom: 2rem; }

.blog-list { display: flex; flex-direction: column; gap: 1rem; }

.blog-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  box-shadow: 0 2px 10px rgba(44, 4, 72, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(44, 4, 72, 0.14);
}

.blog-card__img-link {
  display: block;
  flex: 0 0 160px;
  width: 160px;
  overflow: hidden;
  background: #f0eaf6;
}
.blog-card__img {
  width: 160px !important;
  height: 100% !important;
  min-height: 120px !important;
  max-height: 200px !important;
  object-fit: contain !important;
  display: block !important;
}

.blog-card__body {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.blog-card h4 {
  margin: 0 0 .35rem;
  font-size: .975rem;
  line-height: 1.4;
}
.blog-card h4 a {
  color: #1a0030;
  text-decoration: none;
}
.blog-card h4 a:hover { color: #6b0fa8; }

.blog-meta {
  color: #9a85a8;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 .6rem;
}
.blog-card__excerpt {
  color: #555;
  font-size: .875rem;
  line-height: 1.55;
  margin: 0 0 1rem;
  flex: 1;
}
.blog-card__read-more {
  align-self: flex-start;
  font-size: .8rem;
  font-weight: 700;
  color: #5a0d8a;
  text-decoration: none;
  letter-spacing: .02em;
}
.blog-card__read-more:hover { color: #8b2fc9; text-decoration: underline; }

/* ── Pagination ──────────────────────────────────────────────── */
.blog-pager {
  display: flex;
  gap: .5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.blog-pager a {
  padding: .45rem .85rem;
  border: 1.5px solid #d8c8e8;
  border-radius: 8px;
  text-decoration: none;
  color: #3d1060;
  font-size: .875rem;
  transition: background 0.15s, border-color 0.15s;
}
.blog-pager a:hover { background: #f0e8f8; border-color: #9b59b6; }
.blog-pager a.active {
  background: #5a0d8a;
  border-color: #5a0d8a;
  color: #fff;
  font-weight: 600;
}

/* ── Single post ─────────────────────────────────────────────── */
.blog-post { max-width: 780px; margin: 0 auto; padding: 2rem 0; }
.blog-post h3 { font-size: 1.8rem; color: #1a0030; margin-bottom: .5rem; line-height: 1.3; }
.blog-post__cover {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.75rem;
  display: block;
  box-shadow: 0 4px 20px rgba(44,4,72,0.12);
}
.back-link { color: #5a0d8a; font-weight: 600; text-decoration: none; }
.back-link:hover { text-decoration: underline; }

/* Inline SVG size for icon-only buttons */
/* .btn--icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.classes-notice {
  text-align: center;
  margin: 0 0 1rem 0;
  display: block;
  line-height: 1.4;
} */
