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

:root {
  --primary: #1C4D8D;
  --primary-dark: #0e3a6b;
  --secondary: #4988C4;
  --accent: #78B3CE;
  --bg-light: #BDE8F5;
  --text-dark: #1e1e1e;
  --text-body: #4a4a4a;
  --text-muted: #666666;
  --bg-white: #ffffff;
  --border-light: #e6e6e6;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 20px 40px rgba(0, 0, 0, 0.06);
  --radius-card: 24px;
  --radius-btn: 60px;
  --font-heading: 'Urbanist', sans-serif;
  --font-body: 'Manrope', sans-serif;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.6rem; margin-bottom: 1rem; }
h4 { font-size: 1.8rem; margin-bottom: 0.5rem; }
h5 { font-size: 1.4rem; margin-bottom: 0.5rem; }

@media (max-width: 768px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 2.2rem; }
  h4 { font-size: 1.5rem; }
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  font-weight: 600;
  padding: 12px 34px;
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid var(--primary);
  font-family: var(--font-heading);
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(28, 77, 141, 0.15);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(28, 77, 141, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  box-shadow: none;
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* Header */
.header {
  padding: 18px 0;
  background: white;
  box-shadow: 0 2px 12px rgba(0,0,0,0.02);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 60px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  font-weight: 600;
  color: var(--text-dark);
  font-family: var(--font-heading);
  transition: color 0.2s;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.mobile-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
}

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

/* Breadcrumb */
.breadcrumb-section {
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 100%);
  padding: 80px 0 60px;
  position: relative;
}

.breadcrumb-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,0.7) 100%);
}

.breadcrumb-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.breadcrumb-nav {
  margin-top: 10px;
  font-weight: 500;
}

.breadcrumb-nav a {
  color: var(--text-dark);
  text-decoration: none;
}

.breadcrumb-nav span {
  margin: 0 8px;
}

section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.highlight {
  color: var(--primary);
}

/* Hero section (index) */
.hero {
  padding: 60px 0 80px;
  background: linear-gradient(145deg, #f0f8ff 0%, #fff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.hero-badge {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-image img {
  max-width: 100%;
  border-radius: 40px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-stats { justify-content: center; }
}

/* Category cards (index) */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.category-card {
  background: white;
  padding: 35px 25px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all 0.3s;
  border: 1px solid rgba(0,0,0,0.02);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.category-card img {
  width: 60px;
  margin-bottom: 20px;
}

.category-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.course-count {
  color: var(--primary);
  font-weight: 700;
  margin: 10px 0 15px;
}

.cat-link {
  color: var(--text-dark);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

/* Impact section (index) */
.impact-section {
  background: var(--bg-light);
  padding: 80px 0;
  margin: 40px 0;
}

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.counter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

.counter-item {
  background: white;
  padding: 30px 25px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.counter-icon {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 15px;
}

.counter-number {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--text-dark);
}

/* Course cards (index & courses) */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

.course-card {
  background: white;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

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

.course-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.course-content {
  padding: 24px 20px 30px;
}

.course-tag, .course-category {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.course-title {
  font-size: 1.3rem;
  margin: 8px 0 12px;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.rating i {
  color: #f5b342;
  margin-right: 3px;
}

/* Progress bars (index) */
.progress-item { margin-bottom: 30px; }
.progress-label { display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 6px; }
.progress-bar-bg { height: 8px; background: #e0e0e0; border-radius: 20px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--primary); border-radius: 20px; transition: width 1s ease; }

/* FAQ Accordion */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.faq-item {
  background: white;
  border-radius: 20px;
  padding: 5px 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  border: 1px solid var(--border-light);
}
.faq-question {
  padding: 18px 0;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--text-dark);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-right: 20px;
}
.faq-item.active .faq-answer { max-height: 200px; padding-bottom: 18px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* Newsletter / Contact form */
.newsletter-box {
  background: white;
  border-radius: 40px;
  padding: 40px;
  box-shadow: var(--shadow-md);
  margin: 60px 0;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group input, .form-group select,
.form-card input, .form-card select {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--border-light);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fafafa;
  transition: border 0.2s;
}
.form-group input:focus, .form-group select:focus,
.form-card input:focus, .form-card select:focus { outline: none; border-color: var(--primary); }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 20px; margin: 20px 0; }
.checkbox-group label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.full-width { grid-column: span 2; }
.form-footer-text { margin-top: 20px; font-size: 0.9rem; color: var(--text-muted); }
.form-footer-text a { color: var(--primary); text-decoration: none; }

/* Contact page specific */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; }
.form-card { background: white; padding: 40px; border-radius: var(--radius-card); box-shadow: var(--shadow-md); }
.info-card { background: var(--bg-light); padding: 40px 30px; border-radius: var(--radius-card); box-shadow: var(--shadow-sm); text-align: center; }
.info-card img { width: 100%; max-width: 280px; border-radius: 30px; margin: 20px 0; }
.support-email { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 25px 0 15px; }
.support-email i { font-size: 28px; color: var(--primary); }
.support-email a { font-size: 1.2rem; font-weight: 600; color: var(--text-dark); text-decoration: none; }
.support-email a:hover { color: var(--primary); }
.locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 40px; }
.location-card { background: white; padding: 35px 30px; border-radius: var(--radius-card); box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,0.02); }
.location-card h5 { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; }
.location-card ul { list-style: none; }
.location-card li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.location-card li i { color: var(--primary); font-size: 20px; width: 24px; margin-top: 4px; }
.location-card a { color: var(--text-body); text-decoration: none; }
.location-card a:hover { color: var(--primary); }
.map-container { margin-top: 50px; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow-md); }
iframe { display: block; width: 100%; height: 450px; border: 0; }

/* About page specific */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.image-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.image-stack img { width: 100%; border-radius: 30px; object-fit: cover; box-shadow: var(--shadow-md); }
.values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.value-item { display: flex; align-items: center; gap: 12px; }
.value-item i { color: var(--primary); font-size: 20px; }
.purpose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 30px; }
.mission-card { background: var(--bg-light); padding: 30px; border-radius: var(--radius-card); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat-number { font-size: 3rem; font-weight: 800; color: var(--primary); font-family: var(--font-heading); line-height: 1.2; }

/* Partner carousel (about) */
.partner-slide { display: flex; justify-content: center; align-items: center; padding: 10px; }
.partner-slide img { max-height: 60px; width: auto; filter: grayscale(1); opacity: 0.7; transition: all 0.3s; }
.partner-slide img:hover { filter: grayscale(0); opacity: 1; }

/* Approach cards (about) */
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.approach-card { background: white; padding: 35px 25px; border-radius: var(--radius-card); box-shadow: var(--shadow-sm); transition: 0.2s; }
.approach-card i { font-size: 42px; color: var(--primary); margin-bottom: 20px; }

/* Team grid (about) */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.team-member { text-align: center; }
.team-member img { width: 100%; border-radius: 30px; margin-bottom: 20px; aspect-ratio: 3/4; object-fit: cover; }

/* Testimonials (about) */
.testimonial-card { background: white; padding: 35px; border-radius: var(--radius-card); box-shadow: var(--shadow-sm); }
.testimonial-author { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.testimonial-author img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; }

/* Program page specific */
.program-card { background: white; border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s; height: 100%; display: flex; flex-direction: column; }
.program-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.program-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.program-card-content { padding: 24px 20px 30px; flex: 1; }
.program-card h5 { font-size: 1.3rem; margin-bottom: 12px; }
.program-card p { color: var(--text-muted); font-size: 0.95rem; }

/* Swiper custom overrides */
.swiper { padding: 10px 0 50px; }
.swiper-pagination-bullet-active { background: var(--primary) !important; }
.swiper-button-next, .swiper-button-prev { color: var(--primary) !important; background: white; width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.swiper-button-next:after, .swiper-button-prev:after { font-size: 20px; }

/* Pricing tables (programs) */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.pricing-card { background: white; border-radius: 32px; padding: 40px 30px; box-shadow: var(--shadow-md); transition: transform 0.2s; border: 1px solid rgba(0,0,0,0.03); text-align: center; }
.pricing-card.featured { border: 2px solid var(--primary); transform: scale(1.02); }
.pricing-icon { font-size: 48px; color: var(--primary); margin-bottom: 20px; }
.pricing-title { font-size: 1.8rem; margin-bottom: 10px; }
.pricing-features { list-style: none; margin: 30px 0; text-align: left; }
.pricing-features li { padding: 10px 0; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; gap: 10px; }
.pricing-features i.fa-check { color: var(--primary); width: 20px; }
.pricing-features i.fa-times { color: #ccc; width: 20px; }
.pricing-btn { margin-top: 20px; }

/* Courses page specific (list view) */
.courses-list .course-card { display: flex; flex-direction: row; align-items: center; }
.courses-list .course-img { width: 280px; height: 180px; flex-shrink: 0; }
.courses-list .course-content { flex: 1; }
@media (max-width: 768px) { .courses-list .course-card { flex-direction: column; } .courses-list .course-img { width: 100%; } }

.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; margin: 40px 0 30px; gap: 20px; }
.display-toggle { display: flex; gap: 10px; }
.display-toggle button { background: white; border: 1px solid var(--border-light); padding: 10px 20px; border-radius: 40px; font-weight: 600; cursor: pointer; font-family: var(--font-heading); transition: all 0.2s; display: flex; align-items: center; gap: 8px; }
.display-toggle button.active { background: var(--primary); color: white; border-color: var(--primary); }
.search-box { flex: 1; min-width: 250px; position: relative; }
.search-box input { width: 100%; padding: 12px 20px; border: 1px solid var(--border-light); border-radius: 40px; font-family: var(--font-body); font-size: 1rem; background: white; }
.sort-select { display: flex; align-items: center; gap: 12px; }
.sort-select label { font-weight: 600; }
.sort-select select { padding: 12px 20px; border-radius: 40px; border: 1px solid var(--border-light); font-family: var(--font-body); background: white; cursor: pointer; }
.no-courses { text-align: center; padding: 50px; color: var(--text-muted); grid-column: 1 / -1; }

/* Footer */
.footer { background: #0b0b0b; color: #aaa; padding: 40px 0 20px; margin-top: 40px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.footer-logo img { height: 40px; filter: brightness(0) invert(1); }
.social-icons a { color: white; margin-left: 20px; font-size: 20px; transition: color 0.2s; }
.social-icons a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid #222; margin-top: 30px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; }

/* Utility classes */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 20px; }
.mt-4 { margin-top: 40px; }

/* Portrait image for signature course / book cards */
.course-img.signature-img { height: 380px; background-size: cover; background-position: center top; }
@media (max-width: 768px) { .course-img.signature-img { height: 280px; } }

/* ========== MASONRY GALLERY (media page) ========== */
.gallery-section-new { background-color: #BDE8F5; padding: 80px 0 90px; position: relative; overflow: hidden; }
.gallery-section-new::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(255,255,255,0.6); z-index: 0; }
.gallery-section-new .container { position: relative; z-index: 1; }
.gallery-section-new .section-header { text-align: center; margin-bottom: 16px; }
.gallery-section-new .section-header h2 { font-family: 'Urbanist', 'Manrope', sans-serif; font-weight: 700; font-size: clamp(2rem, 3.5vw, 2.8rem); letter-spacing: -0.02em; color: #1a1a2e; margin-bottom: 8px; }
.gallery-section-new .section-header p { font-family: 'Manrope', sans-serif; font-weight: 400; font-size: 1.05rem; color: #4a5568; letter-spacing: 0.01em; max-width: 550px; margin: 0 auto; line-height: 1.5; }
.gallery-section-new .section-subtitle { text-align: center; max-width: 620px; margin: 0 auto 36px; font-family: 'Manrope', sans-serif; font-weight: 400; font-size: 0.95rem; color: #5a6c7d; letter-spacing: 0.015em; line-height: 1.6; }

.gallery-filter-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.gallery-filter-btn { font-family: 'Manrope', sans-serif; font-weight: 500; font-size: 0.9rem; letter-spacing: 0.03em; text-transform: uppercase; padding: 10px 22px; border-radius: 40px; border: 1.5px solid #c5dce5; background: rgba(255,255,255,0.55); color: #3a4a58; cursor: pointer; transition: all 0.3s; backdrop-filter: blur(6px); }
.gallery-filter-btn:hover { background: rgba(255,255,255,0.85); border-color: #a0bccc; color: #1a2a38; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transform: translateY(-1px); }
.gallery-filter-btn.active { background: #1a1a2e; border-color: #1a1a2e; color: white; }

.gallery-masonry { column-count: 4; column-gap: 11px; }
.gallery-card { break-inside: avoid; margin-bottom: 11px; position: relative; border-radius: 14px; overflow: hidden; background: #ffffff; box-shadow: 0 2px 10px rgba(0,0,0,0.05); cursor: pointer; transition: opacity 0.35s, transform 0.35s, box-shadow 0.35s; display: block; text-decoration: none; color: inherit; }
.gallery-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.12); transform: translateY(-3px); }
.gallery-card.filtering-out { opacity: 0; transform: scale(0.92); pointer-events: none; }
.gallery-card.filtering-in { animation: cardFadeIn 0.4s forwards; }
@keyframes cardFadeIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }

.gallery-card-img-wrap { position: relative; width: 100%; overflow: hidden; display: block; background: #e8f0f5; }
.gallery-card-img-wrap img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s; }
.gallery-card:hover .gallery-card-img-wrap img { transform: scale(1.07); }

.aspect-3-4 { aspect-ratio: 3 / 4; }
.aspect-4-5 { aspect-ratio: 4 / 5; }
.aspect-1-1 { aspect-ratio: 1 / 1; }
.aspect-4-3 { aspect-ratio: 4 / 3; }
.aspect-2-3 { aspect-ratio: 2 / 3; }
.aspect-16-9 { aspect-ratio: 16 / 9; }
.aspect-5-7 { aspect-ratio: 5 / 7; }
.aspect-3-5 { aspect-ratio: 3 / 5; }

.gallery-card-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 28px 16px 14px; background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 60%, transparent 100%); opacity: 0; transition: opacity 0.35s; pointer-events: none; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.gallery-card:hover .gallery-card-overlay { opacity: 1; }
.gallery-card-overlay .gallery-card-tag { font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: rgba(255,255,255,0.2); padding: 4px 10px; border-radius: 20px; }
.gallery-card-overlay .gallery-card-title { font-family: 'Urbanist', sans-serif; font-weight: 600; font-size: 0.95rem; color: #fff; }
.gallery-cta-wrap { text-align: center; margin-top: 44px; }
.gallery-cta-btn { display: inline-block; font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 0.95rem; letter-spacing: 0.03em; text-transform: uppercase; padding: 14px 36px; border-radius: 40px; background: #1a1a2e; color: white; text-decoration: none; transition: 0.3s; box-shadow: 0 4px 18px rgba(26,26,46,0.2); }
.gallery-cta-btn:hover { background: #2d2d48; transform: translateY(-2px); }

/* ========== DROPDOWN MENU ========== */
.nav-item.has-dropdown { position: relative; }
.nav-item.has-dropdown > a::after { content: '\f107'; font-family: 'Font Awesome 6 Free'; font-weight: 900; margin-left: 6px; font-size: 0.8rem; vertical-align: middle; display: inline-block; }
.dropdown { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background: white; border-radius: 16px; box-shadow: 0 12px 30px rgba(0,0,0,0.1); padding: 12px 0; min-width: 160px; z-index: 200; flex-direction: column; border: 1px solid var(--border-light); }
.dropdown a { display: block; padding: 10px 24px; font-weight: 500; white-space: nowrap; color: var(--text-dark); text-decoration: none; transition: background 0.2s, color 0.2s; }
.dropdown a:hover { background: #f0f8ff; color: var(--primary); }
.dropdown a.active { color: var(--primary); font-weight: 600; background: #f0f8ff; }
.nav-item.has-dropdown:hover .dropdown { display: flex; }

@media (max-width: 900px) {
  .nav-item.has-dropdown { position: static; }
  .nav-item.has-dropdown > a::after { float: right; }
  .dropdown { position: static; transform: none; box-shadow: none; border: none; padding: 0 0 0 20px; min-width: 0; display: none; background: transparent; }
  .nav-item.has-dropdown.active .dropdown { display: flex; }
}

/* ========== LOGIN / SIGNUP / SUBSCRIBE ========== */
.login-section { min-height: calc(100vh - 200px); display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #f0f8ff 0%, #fff 100%); padding: 40px 0; }
.login-card { background: white; border-radius: 30px; box-shadow: var(--shadow-md); padding: 50px 40px; width: 100%; max-width: 450px; text-align: center; }
.login-card h2 { margin-bottom: 10px; color: var(--text-dark); }
.login-card p { color: var(--text-muted); margin-bottom: 30px; }
.input-group { position: relative; margin-bottom: 20px; text-align: left; }
.input-group i { position: absolute; top: 50%; left: 20px; transform: translateY(-50%); color: var(--primary); font-size: 18px; }
.input-group input { width: 100%; padding: 14px 20px 14px 50px; border: 1px solid var(--border-light); border-radius: 50px; font-family: var(--font-body); font-size: 1rem; background: #fafafa; }
.input-group input:focus { outline: none; border-color: var(--primary); }
.login-btn { width: 100%; padding: 14px; font-size: 1.1rem; margin-top: 10px; background: var(--primary); color: white; border: none; border-radius: 50px; font-family: var(--font-heading); font-weight: 600; cursor: pointer; box-shadow: 0 8px 16px rgba(28,77,141,0.15); }
.login-btn:hover { background: var(--primary-dark); transform: translateY(-2px); }
.login-extra { margin-top: 20px; display: flex; justify-content: space-between; font-size: 0.9rem; }
.login-extra a { color: var(--primary); text-decoration: none; font-weight: 500; }
.login-extra a:hover { text-decoration: underline; }
.error-msg { color: #e74c3c; font-size: 0.85rem; margin-top: 5px; display: none; text-align: left; padding-left: 20px; }
.error-msg.active { display: block; }

/* Responsive overrides */
@media (max-width: 1100px) { .gallery-masonry { column-count: 3; } }
@media (max-width: 720px) { .gallery-masonry { column-count: 2; } }
@media (max-width: 420px) { .gallery-masonry { column-count: 2; column-gap: 6px; } }

@media (max-width: 992px) {
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .contact-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .grid-2, .purpose-grid, .approach-grid, .team-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .courses-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .values-list { grid-template-columns: 1fr; }
  .name-row { grid-template-columns: 1fr; }
}
/* =========================================================
   Modern responsive upgrade for cPanel deployment
   ========================================================= */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

img, svg, video, iframe {
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
}

.header {
  padding: 12px 0;
  backdrop-filter: saturate(1.2) blur(10px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(28, 77, 141, 0.08);
  box-shadow: 0 14px 34px rgba(18, 46, 78, 0.06);
}

.header-inner {
  min-height: 72px;
  gap: 18px;
}

.logo a,
.footer-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-wordmark {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 166px;
  min-height: 56px;
  padding: 9px 14px;
  border-radius: 18px;
  color: var(--primary-dark);
  background: linear-gradient(135deg, rgba(189, 232, 245, 0.8), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(28, 77, 141, 0.1);
  line-height: 1;
}

.logo-wordmark strong {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.logo-wordmark small {
  margin-top: 4px;
  color: var(--text-muted);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.nav-menu {
  gap: 10px;
}

.nav-menu > a,
.nav-parent > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 999px;
  line-height: 1;
}

.nav-menu > a:hover,
.nav-menu > a.active,
.nav-parent > a:hover,
.nav-parent > a.active {
  color: var(--primary);
  background: rgba(28, 77, 141, 0.08);
}

.nav-item {
  position: relative;
}

.nav-parent {
  display: flex;
  align-items: center;
}

.submenu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin-left: -8px;
  border: 0;
  border-radius: 999px;
  color: var(--text-dark);
  background: transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.submenu-toggle:hover {
  color: var(--primary);
  background: rgba(28, 77, 141, 0.08);
}

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 190px;
  padding: 10px;
  display: grid;
  gap: 6px;
  background: #fff;
  border: 1px solid rgba(28, 77, 141, 0.1);
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(15, 38, 76, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  z-index: 30;
}

.dropdown a {
  display: flex;
  padding: 11px 13px;
  border-radius: 12px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-dropdown.is-open .submenu-toggle {
  transform: rotate(180deg);
}

.mobile-toggle {
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 14px 28px rgba(28, 77, 141, 0.24);
}

.toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 10px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}

.mobile-toggle.is-active .toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.is-active .toggle-line:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.is-active .toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 24, 42, 0.44);
  z-index: 90;
}

.nav-open {
  overflow: hidden;
}

section {
  overflow: clip;
}

.section-title,
.section-header {
  padding-inline: 10px;
}

.course-card,
.category-card,
.location-card,
.form-card,
.info-card,
.mission-card,
.approach-card,
.testimonial-card,
.counter-item {
  border: 1px solid rgba(28, 77, 141, 0.07);
}

.course-img,
.signature-img {
  background-color: #eaf6fb;
  background-image: linear-gradient(135deg, #d9f0f8, #ffffff);
  background-size: cover;
  background-position: center;
}

.image-missing {
  min-height: 120px;
  object-fit: contain;
  padding: 18px;
  background: linear-gradient(135deg, #eaf6fb, #ffffff);
  border: 1px dashed rgba(28, 77, 141, 0.18);
}

.footer {
  background: #0f172a;
  color: rgba(255,255,255,.82);
}

.footer-bottom a {
  color: rgba(255,255,255,.68) !important;
  margin-right: 20px;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #fff !important;
}

.success-chat-window[hidden],
.success-chat-toggle[hidden] {
  display: none !important;
}

#success-chat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: var(--font-body);
}

.success-chat-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 28px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(28,77,141,.3);
  transition: transform .2s, background .2s;
}

.success-chat-toggle:hover {
  transform: scale(1.08);
  background: var(--primary-dark);
}

.success-chat-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: min(340px, calc(100vw - 32px));
  max-height: min(480px, calc(100vh - 140px));
  background: white;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.success-chat-header {
  background: var(--primary);
  color: white;
  padding: 16px 20px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
}

.success-chat-header button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.success-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 300px;
}

.success-message {
  padding: 10px 14px;
  border-radius: 18px;
  font-size: .9rem;
  line-height: 1.4;
  max-width: 82%;
  white-space: pre-line;
}

.success-message.bot {
  background: #f0f4f8;
  align-self: flex-start;
}

.success-message.user {
  background: var(--primary);
  color: white;
  align-self: flex-end;
}

.success-chat-input-area {
  display: flex;
  border-top: 1px solid var(--border-light);
  padding: 12px;
  gap: 8px;
}

.success-chat-input-area input {
  flex: 1;
  min-width: 0;
  padding: 10px 16px;
  border: 1px solid var(--border-light);
  border-radius: 30px;
  outline: none;
}

.success-chat-input-area button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .container {
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 6vw, 3.4rem);
  }

  h1 { font-size: clamp(2.35rem, 5.8vw, 3.2rem); }
  h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
}

@media (max-width: 900px) {
  .header-inner {
    min-height: 66px;
  }

  .logo img {
    max-height: 54px;
  }

  .mobile-toggle {
    display: inline-flex;
    position: relative;
    z-index: 120;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    width: min(390px, 88vw);
    height: 100dvh;
    padding: 102px 20px 28px;
    overflow-y: auto;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfe 100%);
    border-left: 1px solid rgba(28, 77, 141, .12);
    box-shadow: -26px 0 50px rgba(12, 35, 64, .22);
    transform: translateX(105%);
    transition: transform .28s ease;
  }

  .nav-menu.is-open {
    transform: translateX(0);
  }

  .nav-menu > a,
  .nav-parent > a {
    width: 100%;
    justify-content: space-between;
    min-height: 54px;
    padding: 15px 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(28, 77, 141, .08);
    box-shadow: 0 10px 24px rgba(18, 46, 78, .045);
  }

  .nav-menu > a.active,
  .nav-parent > a.active {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
  }

  .nav-parent {
    gap: 8px;
  }

  .submenu-toggle {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    margin-left: 0;
    color: var(--primary);
    background: rgba(28, 77, 141, .08);
    border: 1px solid rgba(28, 77, 141, .08);
    border-radius: 18px;
  }

  .dropdown {
    position: static;
    min-width: 100%;
    margin-top: 8px;
    padding: 8px;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    border-radius: 18px;
    box-shadow: none;
    background: rgba(28, 77, 141, .055);
  }

  .has-dropdown.is-open .dropdown {
    display: grid;
  }

  .dropdown a {
    background: #fff;
    min-height: 48px;
    align-items: center;
  }

  .hero {
    padding: 42px 0 64px;
  }

  .hero-grid,
  .impact-grid,
  .grid-2,
  .purpose-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-stats {
    flex-wrap: wrap;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    border-radius: 28px;
  }

  .faq-grid,
  .mission-vision,
  .form-grid,
  .locations-grid,
  .counter-grid {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: auto;
  }

  .newsletter-box,
  .form-card,
  .info-card {
    padding: 28px 22px;
    border-radius: 28px;
  }
}

@media (max-width: 768px) {
  h1,
  .breadcrumb-section h1 {
    font-size: 2.275rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
  }

  .hero h1 {
    font-size: 2.47rem;
    line-height: 1.08;
    letter-spacing: -0.025em;
  }

  h2 { font-size: 2rem; }
  h3 { font-size: 1.45rem; }
  h4 { font-size: 1.32rem; }
  h5 { font-size: 1.12rem; }

  .container {
    padding-inline: 18px;
  }

  section {
    padding: 56px 0;
  }

  .breadcrumb-section {
    padding: 54px 0 40px;
  }

  .category-grid,
  .courses-grid,
  .team-grid,
  .approach-grid,
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .course-card {
    border-radius: 22px;
  }

  .course-img {
    height: 220px;
  }

  .course-content {
    padding: 22px 18px 24px;
  }

  .course-meta {
    flex-direction: column;
    gap: 8px;
  }

  .filter-bar,
  .view-toggle {
    width: 100%;
  }

  .view-toggle button,
  .filter-bar select,
  .filter-bar input {
    width: 100%;
  }

  .checkbox-group {
    gap: 12px;
  }

  .checkbox-group label {
    width: 100%;
    align-items: flex-start;
  }

  .footer-inner,
  .footer-bottom {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  #success-chat {
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-inline: 14px;
  }

  .logo-wordmark {
    min-width: 142px;
    min-height: 50px;
    padding: 8px 12px;
  }

  .logo-wordmark strong {
    font-size: 1.16rem;
  }

  .hero h1 { font-size: 2.25rem; }
  h1, .breadcrumb-section h1 { font-size: 2.08rem; }
  h2 { font-size: 1.72rem; }

  .btn,
  .login-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-stats,
  .stat-item,
  .support-email,
  .login-extra {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .name-row {
    grid-template-columns: 1fr;
  }

  .login-card {
    padding: 28px 20px;
    border-radius: 28px;
  }

  iframe {
    height: 340px;
  }
}

/* Requested mobile, navigation, and checkbox refinements */
html {
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

.btn-full {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-success-message {
  color: var(--primary);
  font-weight: 800;
  margin-top: 18px;
}

.form-grid input:not([type="checkbox"]),
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  border-radius: 18px;
  background: #ffffff;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.form-grid input:not([type="checkbox"]):focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(28, 77, 141, .1);
}

.journey-section {
  padding: 76px 0 92px;
  background: linear-gradient(180deg, #ffffff 0%, #f5fbfe 100%);
}

.journey-box {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(28, 77, 141, .08);
  background: linear-gradient(135deg, #ffffff 0%, #f3fbfe 54%, #eaf7fc 100%);
}

.journey-box::before,
.journey-box::after {
  content: '';
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.journey-box::before {
  width: 220px;
  height: 220px;
  top: -90px;
  right: -70px;
  background: rgba(120, 179, 206, .22);
}

.journey-box::after {
  width: 170px;
  height: 170px;
  bottom: -80px;
  left: -55px;
  background: rgba(28, 77, 141, .08);
}

.journey-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 42px;
}

.journey-copy h3 {
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  line-height: 1.08;
  margin-bottom: 14px;
  letter-spacing: -0.025em;
}

.journey-copy p {
  max-width: 440px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.journey-form-wrap {
  min-width: 0;
}

.journey-form {
  width: 100%;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  display: inline-grid;
  place-content: center;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  margin: 0;
  border: 2px solid rgba(28, 77, 141, .35);
  border-radius: 7px;
  background: #ffffff;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

input[type="checkbox"]::before {
  content: '';
  width: 11px;
  height: 11px;
  transform: scale(0);
  transform-origin: center;
  background: #ffffff;
  clip-path: polygon(14% 48%, 0 62%, 38% 100%, 100% 22%, 84% 8%, 36% 67%);
  transition: transform .16s ease;
}

input[type="checkbox"]:checked {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-color: var(--primary);
  box-shadow: 0 8px 18px rgba(28, 77, 141, .22);
}

input[type="checkbox"]:checked::before {
  transform: scale(1);
}

input[type="checkbox"]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(28, 77, 141, .14);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  min-height: 48px;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(28, 77, 141, .1);
  border-radius: 16px;
  background: rgba(255, 255, 255, .92);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.checkbox-group label:hover,
.checkbox-group label:focus-within {
  transform: translateY(-1px);
  border-color: rgba(28, 77, 141, .28);
  box-shadow: 0 12px 24px rgba(18, 46, 78, .07);
}

.checkbox-group label span {
  min-width: 0;
}

@media (max-width: 900px) {
  .header {
    z-index: 200;
  }

  .header-inner {
    position: relative;
    overflow: visible;
  }

  .logo {
    min-width: 0;
  }

  .mobile-toggle {
    position: relative;
    flex: 0 0 48px;
    margin-left: auto;
    transform: none !important;
  }

  .nav-backdrop {
    z-index: 90;
    background: rgba(11, 24, 42, .46);
    backdrop-filter: blur(3px);
  }

  .nav-menu {
    top: 86px;
    left: 50%;
    right: auto;
    width: min(420px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    height: auto;
    max-height: calc(100dvh - 108px);
    padding: 16px;
    border: 1px solid rgba(28, 77, 141, .12);
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(11, 24, 42, .24);
    transform: translate(-50%, -16px) scale(.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .24s ease, opacity .24s ease, visibility .24s ease;
  }

  .nav-menu.is-open {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .journey-section {
    padding: 56px 0 68px;
  }

  .journey-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .journey-copy p {
    margin-inline: auto;
  }

  .journey-box {
    padding: 30px 22px;
    border-radius: 30px;
  }
}

@media (max-width: 600px) {
  .journey-section {
    padding: 44px 0 56px;
  }

  .journey-box {
    padding: 26px 16px;
    border-radius: 26px;
  }

  .journey-copy h3 {
    font-size: 1.62rem;
  }

  .journey-copy p {
    font-size: .98rem;
  }

  .form-grid {
    gap: 14px;
  }

  .form-grid input:not([type="checkbox"]),
  .form-grid select,
  .form-grid textarea {
    min-height: 50px;
    padding: 13px 15px;
    border-radius: 16px;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .checkbox-group label {
    min-height: 46px;
    padding: 11px 12px;
  }

  .nav-menu {
    top: 78px;
    width: calc(100vw - 18px);
    max-width: calc(100vw - 18px);
    max-height: calc(100dvh - 92px);
    padding: 12px;
    border-radius: 24px;
  }
}

/* Dynamic AI assistant: viewport-safe mobile layout and realtime response UI */
#success-chat,
#success-chat * {
  box-sizing: border-box;
}

#success-chat {
  max-width: 100vw;
}

.success-chat-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.success-chat-pulse {
  position: absolute;
  inset: -7px;
  z-index: -1;
  border-radius: inherit;
  background: rgba(28, 77, 141, .18);
  animation: successPulse 1.8s ease-out infinite;
}

@keyframes successPulse {
  0% { transform: scale(.82); opacity: .85; }
  100% { transform: scale(1.28); opacity: 0; }
}

.success-chat-intro {
  padding: 9px 16px;
  background: #f6fbfe;
  border-bottom: 1px solid rgba(28, 77, 141, .08);
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 700;
}

.success-chat-window {
  min-height: 380px;
  border: 1px solid rgba(28, 77, 141, .12);
}

.success-chat-messages {
  min-height: 0;
}

.success-message {
  overflow-wrap: anywhere;
  word-break: normal;
}

.success-message.typing .success-message-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.success-message.typing .success-message-text::after {
  content: '';
  width: 18px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(28,77,141,.2), rgba(28,77,141,.65), rgba(28,77,141,.2));
  animation: successTyping 1s linear infinite;
}

@keyframes successTyping {
  0% { transform: translateX(-2px); opacity: .55; }
  50% { transform: translateX(2px); opacity: 1; }
  100% { transform: translateX(-2px); opacity: .55; }
}

.success-message-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.success-message-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(28, 77, 141, .15);
  color: var(--primary);
  font-weight: 800;
  font-size: .78rem;
  text-decoration: none;
}

.success-message-actions a:hover {
  background: rgba(28, 77, 141, .08);
}

.success-chat-suggestions {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 12px 0;
  scrollbar-width: thin;
}

.success-chat-suggestions button {
  flex: 0 0 auto;
  border: 1px solid rgba(28, 77, 141, .15);
  background: #fff;
  color: var(--primary);
  font-weight: 800;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: .82rem;
}

.success-chat-suggestions button:hover {
  background: rgba(28, 77, 141, .08);
}

.success-chat-input-area button:disabled,
.success-chat-input-area input:disabled {
  opacity: .75;
  cursor: wait;
}

@media (max-width: 700px) {
  body.assistant-open {
    overflow-x: hidden;
  }

  #success-chat {
    left: 0 !important;
    right: 0 !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    width: 100vw;
    display: flex;
    justify-content: center;
    padding-inline: 12px;
    pointer-events: none;
  }

  .success-chat-toggle,
  .success-chat-window {
    pointer-events: auto;
  }

  .success-chat-toggle {
    width: 58px;
    height: 58px;
    margin-inline: auto;
  }

  .success-chat-window {
    position: fixed !important;
    left: 12px !important;
    right: 12px !important;
    bottom: max(82px, calc(env(safe-area-inset-bottom) + 82px)) !important;
    width: auto !important;
    max-width: none !important;
    min-height: 0;
    height: min(560px, calc(100dvh - 108px));
    max-height: calc(100dvh - 108px) !important;
    border-radius: 24px;
    transform: none !important;
  }

  .success-chat-header {
    padding: 14px 16px;
    font-size: 1rem;
  }

  .success-chat-messages {
    max-height: none;
    padding: 14px;
  }

  .success-message {
    max-width: 90%;
    font-size: .88rem;
    padding: 10px 12px;
  }

  .success-chat-input-area {
    padding: 10px;
  }

  .success-chat-input-area input {
    min-width: 0;
    font-size: .92rem;
    padding: 10px 13px;
  }
}

@media (max-width: 380px) {
  .success-chat-window {
    left: 8px !important;
    right: 8px !important;
    bottom: max(78px, calc(env(safe-area-inset-bottom) + 78px)) !important;
    height: min(540px, calc(100dvh - 96px));
    max-height: calc(100dvh - 96px) !important;
    border-radius: 20px;
  }

  .success-chat-suggestions {
    padding-inline: 10px;
  }

  .success-chat-input-area button {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }
}

/* --------------------------------------------------------------------------
   FINAL FORCE PATCH: mobile viewport safety, cache-safe assistant placement,
   mobile nav collapse alignment, and professional checkbox layout.
   -------------------------------------------------------------------------- */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

body.nav-open,
body.assistant-open {
  overflow-x: hidden !important;
}

@media (max-width: 900px) {
  .nav-menu {
    position: fixed !important;
    top: max(74px, calc(env(safe-area-inset-top) + 70px)) !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    max-width: none !important;
    transform: translateY(-12px) scale(.98) !important;
    transform-origin: top center !important;
  }

  .nav-menu.is-open {
    transform: translateY(0) scale(1) !important;
  }

  .nav-menu a,
  .nav-parent,
  .dropdown a {
    width: 100%;
  }
}

.checkbox-group,
.form-card .checkbox-group,
.newsletter-box .checkbox-group,
.journey-form .checkbox-group {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)) !important;
  gap: 12px !important;
  align-items: stretch !important;
  margin: 22px 0 !important;
}

.checkbox-group label,
.form-card .checkbox-group label,
.newsletter-box .checkbox-group label,
.journey-form .checkbox-group label {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 48px !important;
  padding: 12px 14px !important;
  border: 1px solid rgba(28, 77, 141, .12) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .95) !important;
  line-height: 1.28 !important;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 1px !important;
  flex: 0 0 21px !important;
}

.journey-section,
.journey-section * {
  max-width: 100%;
}

.journey-box {
  width: 100%;
}

.journey-form-wrap,
.journey-form,
.form-grid {
  min-width: 0;
}

#success-chat,
#success-chat * {
  box-sizing: border-box !important;
}

#success-chat {
  position: fixed !important;
  z-index: 2147483000 !important;
  left: auto !important;
  right: max(16px, env(safe-area-inset-right)) !important;
  bottom: max(16px, env(safe-area-inset-bottom)) !important;
  width: auto !important;
  max-width: calc(100vw - 24px) !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  overflow: visible !important;
  transform: none !important;
}

#success-chat .success-chat-toggle {
  width: 58px !important;
  height: 58px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  transform: none !important;
}

#success-chat .success-chat-window {
  position: fixed !important;
  left: auto !important;
  right: max(16px, env(safe-area-inset-right)) !important;
  bottom: max(88px, calc(env(safe-area-inset-bottom) + 88px)) !important;
  width: min(380px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  height: min(560px, calc(100vh - 118px)) !important;
  height: min(560px, calc(100dvh - 118px)) !important;
  max-height: calc(100vh - 118px) !important;
  max-height: calc(100dvh - 118px) !important;
  margin: 0 !important;
  transform: none !important;
  overflow: hidden !important;
}

#success-chat .success-chat-messages {
  max-height: none !important;
  min-height: 0 !important;
}

#success-chat .success-chat-suggestions {
  max-width: 100% !important;
}

#success-chat .success-chat-input-area input {
  min-width: 0 !important;
}

@media (max-width: 600px) {
  .journey-section {
    padding: 40px 0 54px !important;
  }

  .journey-section .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .journey-box {
    border-radius: 24px !important;
    padding: 22px 14px !important;
    margin: 0 !important;
  }

  .journey-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
  }

  .journey-copy {
    text-align: center !important;
  }

  .journey-copy h3 {
    font-size: clamp(1.45rem, 7vw, 1.75rem) !important;
    line-height: 1.12 !important;
  }

  .journey-copy p {
    font-size: .96rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .form-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  .full-width {
    grid-column: auto !important;
  }

  .checkbox-group,
  .form-card .checkbox-group,
  .newsletter-box .checkbox-group,
  .journey-form .checkbox-group {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  #success-chat {
    right: max(10px, env(safe-area-inset-right)) !important;
    bottom: max(10px, env(safe-area-inset-bottom)) !important;
    max-width: calc(100vw - 20px) !important;
  }

  #success-chat .success-chat-toggle {
    width: 54px !important;
    height: 54px !important;
    font-size: 24px !important;
  }

  #success-chat .success-chat-window {
    left: max(10px, env(safe-area-inset-left)) !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    bottom: max(74px, calc(env(safe-area-inset-bottom) + 74px)) !important;
    width: auto !important;
    max-width: none !important;
    height: min(570px, calc(100vh - 92px)) !important;
    height: min(570px, calc(100dvh - 92px)) !important;
    max-height: calc(100vh - 92px) !important;
    max-height: calc(100dvh - 92px) !important;
    border-radius: 20px !important;
  }

  #success-chat .success-chat-header {
    padding: 12px 14px !important;
  }

  #success-chat .success-chat-intro {
    padding: 8px 12px !important;
  }

  #success-chat .success-chat-messages {
    padding: 12px !important;
  }

  #success-chat .success-message {
    max-width: 92% !important;
  }

  #success-chat .success-chat-input-area {
    padding: 9px !important;
  }
}

@media (max-width: 360px) {
  #success-chat .success-chat-window {
    left: 7px !important;
    right: 7px !important;
    bottom: max(68px, calc(env(safe-area-inset-bottom) + 68px)) !important;
    height: min(540px, calc(100dvh - 84px)) !important;
    max-height: calc(100dvh - 84px) !important;
  }

  #success-chat .success-chat-toggle {
    width: 50px !important;
    height: 50px !important;
  }
}


/* Admin login repair and database status messages */
.admin-alert {
    border-radius: 14px;
    padding: 12px 14px;
    margin: 14px 0;
    font-weight: 700;
    font-size: .92rem;
    line-height: 1.45;
    text-align: left;
}
.admin-alert-error {
    color: #9f1d1d;
    background: #fff1f1;
    border: 1px solid rgba(231, 76, 60, .25);
}
.admin-alert-success {
    color: #0d6b42;
    background: #effbf5;
    border: 1px solid rgba(27, 159, 98, .25);
}
.admin-repair-form {
    margin-top: 14px;
}
.admin-repair-form .btn {
    width: 100%;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   Instructor profile page, detail CTA button, and enhanced team profiles
   -------------------------------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  margin-bottom: 10px;
}

.breadcrumb-intro {
  max-width: 760px;
  margin: 14px auto 0;
  color: var(--text-muted);
  font-size: 1.08rem;
}

.detail-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #0f172a, var(--primary));
  border-color: #0f172a;
  color: #ffffff;
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--primary-dark), #0f172a);
  color: #ffffff;
}

.instructor-feature-section {
  background: linear-gradient(180deg, #ffffff 0%, #f6fbfe 100%);
}

.instructor-feature-card {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: 42px;
  align-items: center;
  padding: 38px;
  border-radius: 36px;
  background: #ffffff;
  border: 1px solid rgba(28, 77, 141, .1);
  box-shadow: 0 26px 60px rgba(15, 38, 76, .09);
  overflow: hidden;
}

.instructor-feature-media,
.team-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #eaf6fb, #ffffff);
}

.instructor-feature-media img,
.team-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.instructor-feature-media {
  min-height: 470px;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}

.instructor-feature-card:hover .instructor-feature-media img,
.enhanced-team-member:hover .team-image-wrap img,
.instructor-card:hover .team-image-wrap img {
  transform: scale(1.045);
}

.instructor-feature-copy h2 {
  font-size: clamp(2.05rem, 4vw, 3rem);
  margin-bottom: 6px;
}

.instructor-role,
.team-role {
  color: var(--primary);
  font-weight: 800;
  font-family: var(--font-heading);
  margin-bottom: 14px;
}

.instructor-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0;
}

.instructor-highlights div {
  padding: 16px 14px;
  border-radius: 20px;
  background: #f6fbfe;
  border: 1px solid rgba(28, 77, 141, .08);
}

.instructor-highlights i {
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 10px;
}

.instructor-highlights strong,
.instructor-highlights span {
  display: block;
}

.instructor-highlights strong {
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 6px;
}

.instructor-highlights span {
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.4;
}

.instructor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.instructor-grid,
.enhanced-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.instructor-card,
.enhanced-team-member {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid rgba(28, 77, 141, .1);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 16px 38px rgba(15, 38, 76, .07);
  text-align: left;
  transition: transform .25s ease, box-shadow .25s ease;
}

.instructor-card:hover,
.enhanced-team-member:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 54px rgba(15, 38, 76, .12);
}

.instructor-card .team-image-wrap,
.enhanced-team-member .team-image-wrap {
  border-radius: 0;
  aspect-ratio: 4 / 3.65;
}

.instructor-card-body,
.team-member-copy {
  padding: 22px 20px 26px;
}

.instructor-card h3,
.enhanced-team-member h4 {
  font-size: 1.32rem;
  margin-bottom: 6px;
}

.team-profile,
.instructor-card-body p:last-child {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.65;
}

.team-social-overlay {
  position: absolute;
  inset: auto 14px 14px 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .22s ease, transform .22s ease;
  pointer-events: none;
}

.instructor-feature-media:hover .team-social-overlay,
.team-image-wrap:hover .team-social-overlay,
.instructor-card:hover .team-social-overlay,
.enhanced-team-member:hover .team-social-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.team-social-overlay a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, .86);
  border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .18);
}

.team-social-overlay a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.instructor-cta-section {
  background: #ffffff;
}

.instructor-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px;
  border-radius: 34px;
  background: linear-gradient(135deg, #f6fbfe 0%, #ffffff 62%, #eaf7fc 100%);
  border: 1px solid rgba(28, 77, 141, .1);
  box-shadow: var(--shadow-md);
}

.instructor-cta-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.instructor-cta-card p {
  color: var(--text-muted);
  max-width: 660px;
}

@media (max-width: 1100px) {
  .instructor-feature-card {
    grid-template-columns: 1fr;
  }

  .instructor-feature-media {
    min-height: auto;
    max-height: 560px;
  }

  .instructor-grid,
  .enhanced-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .detail-action-row,
  .instructor-actions {
    align-items: stretch;
  }

  .detail-action-row .btn,
  .instructor-actions .btn {
    width: 100%;
  }

  .instructor-feature-card,
  .instructor-cta-card {
    padding: 24px 18px;
    border-radius: 28px;
  }

  .instructor-highlights,
  .instructor-grid,
  .enhanced-team-grid {
    grid-template-columns: 1fr;
  }

  .instructor-cta-card {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .team-social-overlay {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

/* Detail page testimonial reuse */
.testimonials-section.detail-testimonials-section {
  background: linear-gradient(135deg, rgba(189, 232, 245, 0.38), rgba(255, 255, 255, 0.96));
  margin-top: 40px;
}
.detail-testimonials-section .testimonial-card {
  min-height: 280px;
  border: 1px solid rgba(0,0,0,0.04);
}
@media (max-width: 768px) {
  .testimonials-section.detail-testimonials-section {
    margin-top: 20px;
    padding-top: 55px;
    padding-bottom: 65px;
  }
  .detail-testimonials-section .swiper-button-next,
  .detail-testimonials-section .swiper-button-prev {
    display: none;
  }
  .detail-testimonials-section .testimonial-card {
    padding: 26px 22px;
    min-height: auto;
  }
}

/* Flashy landing page courses/books promo */
.landing-promo {
  position: relative;
  padding: 74px 0 54px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 15%, rgba(120, 179, 206, .24), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(28, 77, 141, .16), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f4fbff 100%);
}

.promo-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
  gap: 38px;
  align-items: center;
  padding: clamp(26px, 4vw, 50px);
  border-radius: 42px;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(9, 38, 82, .98) 0%, rgba(28, 77, 141, .96) 48%, rgba(73, 136, 196, .98) 100%);
  box-shadow: 0 30px 80px rgba(12, 39, 78, .28);
}

.promo-shell::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,.16) 22%, transparent 43%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.08) 0 1px, transparent 1px 16px);
  animation: promoShine 7s linear infinite;
}

.promo-shell::after {
  content: '';
  position: absolute;
  inset: auto -10% -30% 35%;
  height: 220px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  filter: blur(10px);
  transform: rotate(-7deg);
  z-index: -1;
}

.promo-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  filter: blur(.2px);
}

.promo-orb-one {
  width: 190px;
  height: 190px;
  top: -70px;
  right: 20%;
  background: radial-gradient(circle, rgba(255,255,255,.38), rgba(120,179,206,.04) 70%);
  animation: promoFloat 5.8s ease-in-out infinite;
}

.promo-orb-two {
  width: 120px;
  height: 120px;
  bottom: 80px;
  left: -36px;
  background: radial-gradient(circle, rgba(255,255,255,.25), rgba(255,255,255,.02) 68%);
  animation: promoFloat 7.2s ease-in-out infinite reverse;
}

.promo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 14px;
  margin-bottom: 18px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .82rem;
  backdrop-filter: blur(10px);
}

.promo-kicker i {
  color: #ffdf72;
  animation: promoPulse 1.6s ease-in-out infinite;
}

.promo-content h2 {
  color: #fff;
  font-size: clamp(2.15rem, 4.2vw, 4.1rem);
  line-height: .98;
  letter-spacing: -.045em;
  margin-bottom: 20px;
}

.promo-content h2 span {
  display: inline-block;
  color: #ffdf72;
  text-shadow: 0 8px 28px rgba(255, 223, 114, .3);
}

.promo-content p {
  color: rgba(255,255,255,.86);
  max-width: 640px;
  font-size: 1.08rem;
  margin-bottom: 24px;
}

.promo-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 26px 0 22px;
}

.promo-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  box-shadow: 0 14px 30px rgba(0,0,0,.2);
}

.promo-primary-btn {
  background: #ffffff;
  color: var(--primary);
}

.promo-primary-btn:hover {
  background: #ffdf72;
  color: #102a52;
}

.promo-light-btn {
  background: rgba(255,255,255,.12);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.32) !important;
  backdrop-filter: blur(8px);
}

.promo-light-btn:hover {
  background: #ffffff;
  color: var(--primary);
}

.promo-proof-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.promo-proof-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  font-size: .9rem;
}

.promo-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.promo-panel,
.promo-mini-board {
  position: relative;
  min-height: 250px;
  padding: 24px;
  border-radius: 28px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.12);
  box-shadow: 0 22px 48px rgba(0,0,0,.16);
  backdrop-filter: blur(14px);
  overflow: hidden;
}

.promo-panel {
  transform: translateY(0) rotate(0deg);
  transition: transform .25s ease, background .25s ease, border-color .25s ease;
  animation: promoCardFloat 5.4s ease-in-out infinite;
}

.promo-panel:nth-child(2) {
  animation-delay: .8s;
}

.promo-panel::after {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  right: -54px;
  bottom: -48px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
}

.promo-panel:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.4);
}

.promo-panel-label {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  color: #ffdf72;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.promo-panel-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 22px 0 18px;
  border-radius: 20px;
  background: #ffffff;
  color: var(--primary);
  font-size: 1.6rem;
  box-shadow: 0 16px 30px rgba(0,0,0,.18);
}

.promo-panel h3 {
  color: #ffffff;
  font-size: 1.45rem;
  margin-bottom: 10px;
}

.promo-panel p {
  color: rgba(255,255,255,.82);
  margin-bottom: 18px;
}

.promo-panel-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffdf72;
  font-weight: 800;
}

.promo-mini-board {
  grid-column: 1 / -1;
  min-height: auto;
  padding: 20px;
  background: rgba(255,255,255,.93);
  color: var(--text-dark);
}

.promo-mini-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary);
}

.promo-mini-header i {
  color: #f5b342;
  animation: promoPulse 1.8s ease-in-out infinite;
}

.promo-mini-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.promo-mini-list a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  min-height: 92px;
  padding: 14px;
  border-radius: 18px;
  text-decoration: none;
  background: #f4f9fd;
  border: 1px solid rgba(28,77,141,.08);
  color: var(--text-dark);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.promo-mini-list a:hover {
  transform: translateY(-3px);
  background: #ffffff;
  box-shadow: 0 14px 26px rgba(28,77,141,.12);
}

.promo-mini-type {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  margin-top: 2px;
  border-radius: 14px;
  background: var(--primary);
  color: #ffffff;
}

.promo-mini-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.promo-mini-list strong,
.promo-mini-list small {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  -webkit-box-orient: vertical;
}

.promo-mini-list strong {
  font-family: var(--font-heading);
  font-size: .94rem;
  line-height: 1.25;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.promo-mini-list small {
  color: var(--text-muted);
  font-size: .78rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.promo-ticker {
  grid-column: 1 / -1;
  overflow: hidden;
  margin-top: 4px;
  padding: 10px;
  border-radius: 24px;
  background: rgba(0,0,0,.12);
  border: 1px solid rgba(255,255,255,.14);
}

.promo-track {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: promoTicker 34s linear infinite;
}

.promo-ticker:hover .promo-track {
  animation-play-state: paused;
}

.promo-track a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.12);
  white-space: nowrap;
  font-size: .9rem;
  transition: background .2s ease, transform .2s ease;
}

.promo-track a:hover {
  background: rgba(255,255,255,.28);
  transform: translateY(-2px);
}

@keyframes promoShine {
  0% { background-position: -280px 0, 0 0; }
  100% { background-position: 900px 0, 0 0; }
}

@keyframes promoFloat {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(18px,-18px,0) scale(1.06); }
}

@keyframes promoCardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes promoPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.16); opacity: .8; }
}

@keyframes promoTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 980px) {
  .promo-shell {
    grid-template-columns: 1fr;
  }

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

  .promo-content p {
    margin-inline: auto;
  }

  .promo-actions,
  .promo-proof-row {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .landing-promo {
    padding: 44px 0 36px;
  }

  .promo-shell {
    padding: 24px 16px;
    border-radius: 28px;
    gap: 24px;
  }

  .promo-content h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .promo-content p {
    font-size: .98rem;
  }

  .promo-actions {
    flex-direction: column;
  }

  .promo-showcase,
  .promo-mini-list {
    grid-template-columns: 1fr;
  }

  .promo-mini-list a {
    min-height: auto;
    padding: 13px;
  }

  .promo-mini-list strong {
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .promo-panel,
  .promo-mini-board {
    padding: 20px;
    border-radius: 22px;
  }

  .promo-panel {
    min-height: 220px;
  }

  .promo-proof-row span {
    width: 100%;
    justify-content: center;
  }

  .promo-ticker {
    border-radius: 18px;
    margin-inline: -4px;
  }

  .promo-track {
    animation-duration: 46s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-shell::before,
  .promo-orb,
  .promo-panel,
  .promo-kicker i,
  .promo-mini-header i,
  .promo-track {
    animation: none !important;
  }
}

/* Limited-time discount promo with countdown */
.limited-promo-section {
  padding: 34px 0 76px;
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 196, 87, .28), transparent 28%),
    radial-gradient(circle at 92% 0%, rgba(120, 179, 206, .3), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  overflow: hidden;
}

.limited-promo-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(22px, 4vw, 44px);
  border-radius: 36px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(12, 30, 66, .98), rgba(28, 77, 141, .96) 48%, rgba(9, 15, 35, .98)),
    radial-gradient(circle at top right, rgba(255,255,255,.2), transparent 32%);
  box-shadow: 0 34px 80px rgba(13, 32, 74, .28);
  overflow: hidden;
}

.limited-promo-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255,255,255,.13) 18%, transparent 34%),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 520px 100%, 42px 42px, 42px 42px;
  animation: limitedPromoShine 7s linear infinite;
  opacity: .85;
}

.limited-promo-card::after {
  content: '';
  position: absolute;
  inset: auto -16% -28% 22%;
  height: 230px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  filter: blur(4px);
  z-index: -1;
}

.limited-promo-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
  opacity: .65;
  z-index: -1;
}

.limited-promo-glow-one {
  width: 180px;
  height: 180px;
  top: -54px;
  right: 8%;
  background: rgba(255, 207, 85, .52);
  animation: limitedFloat 6s ease-in-out infinite;
}

.limited-promo-glow-two {
  width: 260px;
  height: 260px;
  bottom: -120px;
  left: -80px;
  background: rgba(73, 136, 196, .7);
  animation: limitedFloat 8s ease-in-out infinite reverse;
}

.limited-promo-media {
  position: relative;
  min-height: 420px;
  border-radius: 30px;
  overflow: hidden;
  background: rgba(255,255,255,.1);
  box-shadow: 0 24px 50px rgba(0,0,0,.22);
  transform: rotate(-1.5deg);
  animation: limitedCardLift 5.6s ease-in-out infinite;
}

.limited-promo-media img,
.limited-promo-image-fallback {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
}

.limited-promo-image-fallback {
  display: grid;
  place-items: center;
  font-size: 4rem;
  color: rgba(255,255,255,.9);
  background: linear-gradient(135deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
}

.limited-promo-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(0,0,0,.72));
  pointer-events: none;
}

.limited-promo-badge,
.limited-promo-discount {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: .02em;
  box-shadow: 0 12px 28px rgba(0,0,0,.2);
}

.limited-promo-badge {
  top: 18px;
  left: 18px;
  padding: 10px 15px;
  background: rgba(255,255,255,.96);
  color: var(--primary-dark);
}

.limited-promo-discount {
  right: 18px;
  bottom: 18px;
  width: 106px;
  height: 106px;
  justify-content: center;
  text-align: center;
  font-size: 1.42rem;
  line-height: 1.05;
  color: #12203f;
  background: linear-gradient(135deg, #fff1a8, #ffbd2e);
  border: 6px solid rgba(255,255,255,.7);
  animation: limitedPulse 1.8s ease-in-out infinite;
}

.limited-promo-copy {
  position: relative;
  z-index: 1;
}

.limited-promo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  color: #ffffff;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 800;
  font-size: .92rem;
}

.limited-promo-copy h2 {
  color: #ffffff;
  font-size: clamp(2.15rem, 4.6vw, 4.8rem);
  letter-spacing: -.04em;
  margin-bottom: 16px;
}

.limited-promo-copy h2 span {
  display: inline;
  color: #ffe08a;
}

.limited-promo-copy p {
  max-width: 760px;
  margin-bottom: 18px;
  color: rgba(255,255,255,.88);
  font-size: 1.05rem;
}

.limited-promo-price-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 22px 0;
}

.limited-promo-old-price {
  color: rgba(255,255,255,.66);
  font-size: 1.22rem;
  font-weight: 800;
  text-decoration: line-through;
  text-decoration-thickness: 3px;
}

.limited-promo-new-price {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border-radius: 999px;
  color: #12203f;
  background: linear-gradient(135deg, #ffffff, #fff1bd);
  font-size: clamp(1.65rem, 4.8vw, 2.7rem);
  font-family: var(--font-heading);
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(0,0,0,.16);
}

.limited-promo-category {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.88);
  font-weight: 800;
}

.limited-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(76px, 1fr));
  gap: 12px;
  max-width: 580px;
  margin: 18px 0;
}

.limited-countdown div {
  text-align: center;
  padding: 14px 10px;
  border-radius: 18px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
}

.limited-countdown strong {
  display: block;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 5vw, 2.55rem);
  line-height: 1;
}

.limited-countdown span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,.76);
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.limited-promo-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 740px;
  margin: 16px 0 24px;
  color: rgba(255,255,255,.84);
  line-height: 1.75;
}

.limited-promo-note i {
  color: #ffe08a;
  margin-top: 5px;
}

.limited-promo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.limited-promo-btn {
  background: linear-gradient(135deg, #ffd66b, #ff9f1c);
  border-color: transparent;
  color: #13213f;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(255, 159, 28, .25);
}

.limited-promo-btn:hover {
  background: linear-gradient(135deg, #ffe594, #ffb84d);
  color: #13213f;
}

.limited-promo-outline {
  border-color: rgba(255,255,255,.62);
  color: #ffffff;
}

.limited-promo-outline:hover {
  background: #ffffff;
  color: var(--primary-dark);
  border-color: #ffffff;
}

.limited-promo-card.is-expired .limited-promo-btn {
  filter: grayscale(.2);
  opacity: .86;
}

.limited-countdown.is-ended::after {
  content: attr(data-expired-text);
  grid-column: 1 / -1;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.14);
  color: #ffffff;
  font-weight: 900;
  text-align: center;
}

@keyframes limitedPromoShine {
  from { background-position: -520px 0, 0 0, 0 0; }
  to { background-position: 820px 0, 0 0, 0 0; }
}

@keyframes limitedFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(20px, -18px, 0) scale(1.05); }
}

@keyframes limitedCardLift {
  0%, 100% { transform: rotate(-1.5deg) translateY(0); }
  50% { transform: rotate(-.5deg) translateY(-10px); }
}

@keyframes limitedPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

@media (max-width: 980px) {
  .limited-promo-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .limited-promo-media {
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
  }

  .limited-promo-copy p,
  .limited-countdown {
    margin-left: auto;
    margin-right: auto;
  }

  .limited-promo-price-row,
  .limited-promo-actions,
  .limited-promo-note {
    justify-content: center;
  }

  .limited-promo-note {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .limited-promo-section {
    padding: 20px 0 52px;
  }

  .limited-promo-card {
    padding: 18px 14px 22px;
    border-radius: 28px;
    gap: 24px;
  }

  .limited-promo-media,
  .limited-promo-media img,
  .limited-promo-image-fallback {
    min-height: 300px;
  }

  .limited-promo-media {
    border-radius: 24px;
    transform: none;
  }

  .limited-promo-badge {
    top: 12px;
    left: 12px;
    max-width: calc(100% - 24px);
    padding: 8px 12px;
    font-size: .82rem;
  }

  .limited-promo-discount {
    width: 82px;
    height: 82px;
    right: 12px;
    bottom: 12px;
    font-size: 1.05rem;
    border-width: 4px;
  }

  .limited-promo-kicker {
    align-items: flex-start;
    border-radius: 18px;
    line-height: 1.45;
  }

  .limited-promo-copy h2 {
    font-size: clamp(2rem, 11vw, 2.85rem);
  }

  .limited-promo-copy p {
    font-size: .96rem;
  }

  .limited-countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .limited-countdown div {
    padding: 13px 8px;
  }

  .limited-promo-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .limited-promo-card::before,
  .limited-promo-glow,
  .limited-promo-media,
  .limited-promo-discount {
    animation: none !important;
  }
}

/* Admin promo editor */
.promo-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.promo-admin-card .admin-form {
  gap: 16px;
}

.promo-admin-card select,
.promo-admin-card input,
.promo-admin-card textarea {
  font-size: .98rem;
}

.promo-admin-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(28,77,141,.08), rgba(120,179,206,.13));
  border: 1px solid rgba(28,77,141,.1);
}

.promo-admin-preview h3 {
  margin: 6px 0;
}

.promo-admin-preview-price {
  display: grid;
  gap: 3px;
  min-width: 150px;
  text-align: right;
}

.promo-admin-preview-price span {
  color: var(--text-muted);
  font-weight: 800;
  text-decoration: line-through;
}

.promo-admin-preview-price strong {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.45rem;
}

.promo-admin-preview-price em {
  color: #9a5c00;
  font-weight: 900;
  font-style: normal;
}

@media (max-width: 760px) {
  .promo-admin-grid,
  .promo-admin-preview {
    grid-template-columns: 1fr;
  }

  .promo-admin-preview-price {
    text-align: left;
  }
}

/* Paystack payment return page */
.payment-return-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 90px 0;
  background:
    radial-gradient(circle at top left, rgba(28, 77, 141, .12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(243, 156, 18, .16), transparent 36%),
    #f7fbff;
}
.payment-return-card {
  width: min(760px, 100%);
  margin: 0 auto;
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(28, 77, 141, .1);
  border-radius: 34px;
  box-shadow: 0 28px 75px rgba(18, 46, 78, .14);
  padding: 54px 42px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.payment-return-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.72), transparent);
  transform: translateX(-100%);
  animation: paymentReturnShine 5s ease-in-out infinite;
  pointer-events: none;
}
.payment-return-icon {
  width: 88px;
  height: 88px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #18a56f);
  font-size: 2.8rem;
  box-shadow: 0 18px 35px rgba(28,77,141,.22);
  margin-bottom: 20px;
}
.payment-return-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(28, 77, 141, .08);
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
  margin-bottom: 18px;
}
.payment-return-card h1 {
  font-size: clamp(2rem, 5vw, 3.15rem);
  line-height: 1.05;
  margin-bottom: 18px;
}
.payment-return-card p {
  color: var(--text-muted);
  font-size: 1.06rem;
  max-width: 580px;
  margin: 0 auto 22px;
}
.payment-reference {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 16px;
  background: #f3f7fb;
  color: var(--text-dark);
  margin-bottom: 24px;
  word-break: break-word;
}
.payment-return-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 18px 0 16px;
}
.payment-return-card small {
  color: var(--text-muted);
  font-weight: 700;
}
@keyframes paymentReturnShine {
  0%, 55% { transform: translateX(-110%); }
  100% { transform: translateX(110%); }
}
@media (max-width: 640px) {
  .payment-return-section { padding: 58px 0; }
  .payment-return-card { padding: 38px 20px; border-radius: 26px; }
  .payment-return-icon { width: 74px; height: 74px; font-size: 2.25rem; }
  .payment-return-actions { display: grid; grid-template-columns: 1fr; }
  .payment-return-actions .btn { width: 100%; }
}

/* WhatsApp Channel / Group / Live Chat widget */
.whatsapp-connect,
.whatsapp-connect * {
  box-sizing: border-box;
}

.whatsapp-connect {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 9998;
  font-family: var(--font-body);
  max-width: calc(100vw - 32px);
}

.whatsapp-main-btn {
  border: 0;
  min-height: 56px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #22c55e, #128c7e);
  color: #fff;
  font-weight: 900;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(18, 140, 126, .28);
  position: relative;
  isolation: isolate;
  transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-main-btn:hover,
.whatsapp-connect.is-open .whatsapp-main-btn {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 20px 44px rgba(18, 140, 126, .34);
}

.whatsapp-main-btn i {
  font-size: 1.55rem;
}

.whatsapp-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 6px rgba(255,255,255,.18);
  animation: whatsappLivePulse 1.4s ease-out infinite;
}

@keyframes whatsappLivePulse {
  0% { transform: scale(.85); opacity: 1; }
  100% { transform: scale(1.35); opacity: .15; }
}

.whatsapp-panel[hidden] {
  display: none !important;
}

.whatsapp-panel {
  position: absolute;
  left: 0;
  bottom: 72px;
  width: min(360px, calc(100vw - 32px));
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 255, 255, .98);
  border: 1px solid rgba(18, 140, 126, .16);
  box-shadow: 0 26px 70px rgba(15, 23, 42, .18);
  animation: whatsappPanelIn .22s ease-out;
}

@keyframes whatsappPanelIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.whatsapp-panel-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  background: linear-gradient(135deg, rgba(34,197,94,.14), rgba(18,140,126,.12));
}

.whatsapp-panel-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #22c55e;
  color: #fff;
  font-size: 1.35rem;
  box-shadow: 0 10px 22px rgba(34,197,94,.24);
}

.whatsapp-panel-head h3 {
  margin: 0 0 5px;
  font-size: 1.04rem;
  line-height: 1.15;
  color: var(--text-dark);
}

.whatsapp-panel-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: .85rem;
  line-height: 1.45;
}

.whatsapp-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.88);
  color: var(--text-dark);
  cursor: pointer;
}

.whatsapp-actions {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.whatsapp-action {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 18px;
  text-decoration: none;
  color: var(--text-dark);
  border: 1px solid rgba(18,140,126,.12);
  background: #fff;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.whatsapp-action:hover {
  transform: translateX(4px);
  background: rgba(34,197,94,.07);
  border-color: rgba(18,140,126,.28);
}

.whatsapp-action > i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #22c55e, #128c7e);
  font-size: 1.05rem;
}

.whatsapp-action strong,
.whatsapp-action small {
  display: block;
}

.whatsapp-action strong {
  font-size: .95rem;
  line-height: 1.2;
}

.whatsapp-action small {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: .78rem;
  line-height: 1.35;
}

@media (max-width: 700px) {
  .whatsapp-connect {
    left: max(12px, env(safe-area-inset-left));
    bottom: max(14px, env(safe-area-inset-bottom));
    max-width: calc(100vw - 24px);
  }

  .whatsapp-main-btn {
    width: 58px;
    min-width: 58px;
    height: 58px;
    min-height: 58px;
    padding: 0;
    border-radius: 50%;
  }

  .whatsapp-main-btn span:not(.whatsapp-live-dot) {
    display: none;
  }

  .whatsapp-live-dot {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 9px;
    height: 9px;
  }

  .whatsapp-panel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(82px, calc(env(safe-area-inset-bottom) + 82px));
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 108px);
    overflow-y: auto;
    border-radius: 24px;
  }

  .whatsapp-panel-head {
    padding: 16px;
    grid-template-columns: auto 1fr auto;
  }

  .whatsapp-panel-head h3 {
    font-size: .98rem;
  }

  .whatsapp-actions {
    padding: 12px;
  }
}

@media (max-width: 380px) {
  .whatsapp-panel {
    left: 8px;
    right: 8px;
  }

  .whatsapp-panel-head {
    gap: 9px;
  }

  .whatsapp-panel-icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }
}

/* Legal pages: Terms & Conditions / Privacy Policy */
.legal-hero {
  position: relative;
  overflow: hidden;
}

.legal-hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: rgba(255,255,255,0.22);
  pointer-events: none;
}

.legal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.legal-page {
  background:
    radial-gradient(circle at top left, rgba(120,179,206,0.18), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.legal-section {
  padding: 70px 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.legal-sidebar {
  position: sticky;
  top: 110px;
}

.legal-summary-card,
.legal-content-card {
  border: 1px solid rgba(28,77,141,0.1);
  background: rgba(255,255,255,0.94);
  box-shadow: var(--shadow-md);
}

.legal-summary-card {
  border-radius: 30px;
  padding: 30px;
}

.legal-summary-card i {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 18px;
  box-shadow: 0 18px 30px rgba(28,77,141,0.2);
}

.legal-summary-card h3 {
  font-size: 1.55rem;
  margin-bottom: 10px;
}

.legal-summary-card p {
  color: var(--text-muted);
  margin-bottom: 22px;
}

.legal-content-card {
  border-radius: 34px;
  padding: clamp(28px, 4vw, 52px);
}

.legal-updated {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(28,77,141,0.08);
  color: var(--primary-dark);
  margin-bottom: 22px;
}

.legal-content-card h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  margin-top: 32px;
  margin-bottom: 10px;
  padding-top: 18px;
  border-top: 1px solid rgba(28,77,141,0.09);
}

.legal-content-card h2:first-of-type {
  margin-top: 22px;
}

.legal-content-card p {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.85;
  margin-bottom: 12px;
}

.legal-content-card a,
.form-footer-text a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.legal-content-card a:hover,
.form-footer-text a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .legal-section {
    padding: 46px 0;
  }
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-sidebar {
    position: static;
  }
}

@media (max-width: 560px) {
  .legal-content-card,
  .legal-summary-card {
    border-radius: 22px;
  }
  .legal-content-card {
    padding: 24px 18px;
  }
  .legal-summary-card {
    padding: 22px 18px;
  }
  .legal-updated {
    display: block;
    border-radius: 16px;
  }
}

/* =========================================================
   Team image frame fit + multi-image gallery frame slider
   ========================================================= */
.team-member img {
  margin-bottom: 0;
}

.enhanced-team-member .team-image-wrap,
.instructor-card .team-image-wrap {
  aspect-ratio: 4 / 5;
  min-height: 330px;
  width: 100%;
  border-radius: 0;
  background: linear-gradient(135deg, #edf8fc, #ffffff);
}

.enhanced-team-member .team-image-wrap img,
.instructor-card .team-image-wrap img,
.instructor-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}

.enhanced-team-member .team-member-copy,
.instructor-card .instructor-card-body {
  flex: 1;
}

.gallery-frame-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.gallery-frame-card {
  break-inside: auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(15, 38, 76, 0.08);
  box-shadow: 0 18px 42px rgba(15, 38, 76, 0.08);
  cursor: default;
}

.gallery-frame-card:hover {
  box-shadow: 0 28px 64px rgba(15, 38, 76, 0.14);
  transform: translateY(-4px);
}

.gallery-frame-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #ffffff, #f4fbfe);
  color: #1a1a2e;
  font-family: var(--font-heading);
  font-weight: 800;
}

.gallery-frame-header span:first-child {
  min-width: 0;
  line-height: 1.25;
}

.gallery-frame-header span:last-child {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--primary-dark);
  background: rgba(28, 77, 141, 0.08);
  padding: 6px 10px;
  border-radius: 999px;
}

.gallery-frame-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  min-height: 320px;
  background: #eaf3f8;
}

.gallery-frame-track {
  display: flex;
  height: 100%;
  min-height: inherit;
  transition: transform 0.55s ease;
  will-change: transform;
}

.gallery-frame-slide {
  flex: 0 0 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  text-decoration: none;
  background: linear-gradient(135deg, #eaf3f8, #ffffff);
}

.gallery-frame-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--gallery-bg);
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  transform: scale(1.12);
  opacity: 0.35;
  z-index: 0;
}

.gallery-frame-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(15,23,42,0.08));
  z-index: 1;
}

.gallery-frame-slide img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: contain;
  object-position: center;
  transition: transform 0.55s ease;
}

.gallery-frame-card:hover .gallery-frame-slide img {
  transform: scale(1.015);
}

.gallery-frame-overlay {
  opacity: 1;
  padding: 54px 18px 42px;
}

.gallery-frame-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  cursor: pointer;
  transition: 0.25s ease;
}

.gallery-frame-nav:hover {
  background: var(--primary);
  transform: translateY(-50%) scale(1.06);
}

.gallery-frame-prev { left: 14px; }
.gallery-frame-next { right: 14px; }

.gallery-frame-dots {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
}

.gallery-frame-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: 0.25s ease;
  padding: 0;
}

.gallery-frame-dots button.active,
.gallery-frame-dots button:hover {
  width: 24px;
  background: #ffffff;
}

.empty-state-card {
  max-width: 620px;
  margin: 0 auto;
  padding: 34px 22px;
  text-align: center;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(28, 77, 141, 0.08);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 1100px) {
  .gallery-frame-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .enhanced-team-member .team-image-wrap,
  .instructor-card .team-image-wrap {
    min-height: 360px;
  }

  .gallery-frame-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-frame-viewport {
    min-height: 340px;
  }

  .gallery-frame-nav {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 420px) {
  .enhanced-team-member .team-image-wrap,
  .instructor-card .team-image-wrap {
    min-height: 320px;
  }

  .gallery-frame-viewport {
    min-height: 300px;
  }

  .gallery-frame-header {
    padding: 12px 13px;
    font-size: 0.92rem;
  }
}

/* Testimonials - middle aligned classic layout */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonials-section .swiper {
  padding: 10px 0 54px;
}

.testimonial-card {
  background: #ffffff;
  padding: 35px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  height: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  border: 1px solid rgba(15, 23, 42, 0.06);
}

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

.testimonial-author {
  display: flex;
  align-items: center !important;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  margin-bottom: 4px;
  width: 100%;
}

.testimonial-photo-frame {
  width: 96px !important;
  height: 96px !important;
  min-width: 96px !important;
  min-height: 96px !important;
  max-width: 96px !important;
  max-height: 96px !important;
  flex: 0 0 96px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 9999px !important;
  overflow: hidden !important;
  display: block !important;
  position: relative;
  padding: 4px;
  box-sizing: border-box;
  background: linear-gradient(135deg, var(--primary), var(--secondary), #fbbf24);
  border: 4px solid #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.15);
  margin: 0 auto;
}

.testimonial-photo-frame img,
.testimonials-section .testimonial-author img,
.testimonialSwiper .testimonial-author img {
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 9999px !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  clip-path: circle(50% at 50% 50%);
}

.testimonial-author h4 {
  margin: 0 0 3px;
  color: var(--text-dark);
}

.testimonial-author p {
  margin: 0;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.testimonial-card > p {
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
  max-width: 92%;
}

.rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin: 2px 0 4px;
  color: #f59e0b;
}

.rating .far {
  color: #cbd5e1;
}

@media (max-width: 640px) {
  .testimonial-card {
    padding: 28px 20px;
  }

  .testimonial-photo-frame {
    width: 86px !important;
    height: 86px !important;
    min-width: 86px !important;
    min-height: 86px !important;
    max-width: 86px !important;
    max-height: 86px !important;
    flex-basis: 86px !important;
  }

  .testimonial-card > p {
    max-width: 100%;
  }
}

/* Facilitator profile page detailed biography */
.facilitator-profile-detail {
  display: grid;
  gap: 0.9rem;
  margin: 1.1rem 0 1.6rem;
}

.facilitator-profile-detail p {
  margin: 0;
  color: var(--text-body);
  line-height: 1.8;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .facilitator-profile-detail {
    gap: 0.85rem;
  }
  .facilitator-profile-detail p {
    font-size: 0.96rem;
    line-height: 1.72;
  }
}

/* User Account Dashboard */
.account-hero{position:relative;overflow:hidden;padding:110px 0 70px;background:linear-gradient(135deg,#08172f 0%,#114b7f 48%,#1591dc 100%);color:#fff}.account-hero:before{content:"";position:absolute;inset:-20% -10% auto auto;width:420px;height:420px;border-radius:999px;background:rgba(194,208,153,.22);filter:blur(12px)}.account-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:32px;align-items:center}.account-kicker{display:inline-flex;align-items:center;gap:8px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);border-radius:999px;padding:8px 14px;font-weight:800;font-size:.86rem;text-transform:uppercase;letter-spacing:.08em}.account-hero h1{margin:18px 0 14px;font-size:clamp(2.2rem,5vw,4.5rem);line-height:.98;color:#fff}.account-hero p{max-width:760px;color:rgba(255,255,255,.88);font-size:1.06rem;line-height:1.8}.account-hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px}.account-secure-card{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.24);box-shadow:0 25px 70px rgba(0,0,0,.18);backdrop-filter:blur(16px);border-radius:28px;padding:28px}.secure-icon{width:66px;height:66px;border-radius:22px;background:rgba(255,255,255,.18);display:grid;place-items:center;font-size:1.8rem;margin-bottom:18px}.account-secure-card h3{color:#fff;margin:0 0 8px}.profile-progress{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center;margin-top:18px;font-weight:800}.profile-progress div{grid-column:1/-1;height:9px;border-radius:999px;background:rgba(255,255,255,.25);overflow:hidden}.profile-progress em{display:block;height:100%;border-radius:999px;background:#c2d099}.account-dashboard{padding:70px 0;background:#f5f8fc}.account-alert{display:flex;align-items:center;gap:10px;border-radius:18px;padding:16px 18px;margin-bottom:22px;font-weight:800}.account-alert.success{background:#eaf8ef;color:#126b31}.account-alert.error{background:#fff1f1;color:#a82121}.account-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin-bottom:24px}.account-stats article{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:24px;padding:22px;box-shadow:0 18px 42px rgba(15,23,42,.06)}.account-stats i{width:44px;height:44px;border-radius:16px;display:grid;place-items:center;background:rgba(21,145,220,.1);color:#1591dc;margin-bottom:14px}.account-stats span{display:block;color:#64748b;font-weight:700;font-size:.88rem}.account-stats strong{display:block;color:#0f172a;font-size:1.35rem;margin-top:4px}.account-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:24px}.account-sidebar{position:sticky;top:96px;align-self:start;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:24px;padding:14px;box-shadow:0 18px 42px rgba(15,23,42,.06)}.account-sidebar a{display:flex;align-items:center;gap:11px;padding:13px 14px;border-radius:16px;color:#20304d;text-decoration:none;font-weight:800}.account-sidebar a:hover{background:#edf7ff;color:#0c74b8}.account-sidebar a.danger{color:#b42318}.account-main{display:grid;gap:24px}.account-panel{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:28px;padding:28px;box-shadow:0 18px 44px rgba(15,23,42,.06);scroll-margin-top:120px}.account-section-heading{margin-bottom:24px}.account-section-heading span{display:inline-block;color:#1591dc;font-weight:900;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem}.account-section-heading h2{font-size:clamp(1.45rem,3vw,2.2rem);margin:5px 0 8px;color:#10203f}.account-section-heading p{color:#64748b;line-height:1.7;margin:0}.account-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.account-form label{display:flex;flex-direction:column;gap:8px;color:#10203f;font-weight:850}.account-form input,.account-form textarea,.account-form select,.forum-create-form input,.forum-create-form textarea,.forum-create-form select,.forum-reply-form input{width:100%;border:1px solid rgba(15,23,42,.14);border-radius:16px;padding:13px 14px;font:inherit;background:#fff;color:#10203f;outline:none;transition:.2s ease}.account-form input:focus,.account-form textarea:focus,.account-form select:focus,.forum-create-form input:focus,.forum-create-form textarea:focus,.forum-create-form select:focus,.forum-reply-form input:focus{border-color:#1591dc;box-shadow:0 0 0 4px rgba(21,145,220,.11)}.account-form input:disabled{background:#f8fafc;color:#64748b}.account-form small{color:#64748b;font-weight:600}.account-full{grid-column:1/-1}.account-form .btn,.forum-create-form .btn{margin-top:18px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.account-form.compact{border:1px solid rgba(15,23,42,.08);border-radius:22px;padding:20px;background:#fbfdff}.settings-check{flex-direction:row!important;align-items:flex-start!important;gap:12px!important;margin-top:4px}.settings-check input{width:20px!important;height:20px;flex:0 0 20px;margin-top:2px;accent-color:#1591dc}.empty-state{border:1px dashed rgba(21,145,220,.35);background:#f7fbff;border-radius:22px;text-align:center;padding:34px 20px}.empty-state i{font-size:2.1rem;color:#1591dc}.empty-state h3{margin:12px 0 8px;color:#10203f}.empty-state p{color:#64748b;line-height:1.7}.empty-state.slim{padding:22px}.order-list{display:grid;gap:14px}.order-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;align-items:center;border:1px solid rgba(15,23,42,.08);border-radius:22px;padding:20px;background:#fbfdff}.order-type{display:inline-flex;border-radius:999px;background:#edf7ff;color:#0b73ba;padding:5px 10px;font-weight:900;font-size:.78rem;text-transform:uppercase}.order-card h3{margin:9px 0 6px;color:#10203f}.order-card p{color:#64748b;margin:0}.order-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.order-status{display:inline-flex;border-radius:999px;padding:8px 12px;font-weight:900;font-size:.82rem}.order-status.pending{background:#fff7ed;color:#b45309}.order-status.returned{background:#eaf8ef;color:#126b31}.order-status.complete{background:#edf7ff;color:#0b73ba}.btn.btn-small{padding:9px 12px;font-size:.84rem}.forum-create-form{background:linear-gradient(135deg,#f7fbff,#ffffff);border:1px solid rgba(21,145,220,.12);border-radius:24px;padding:20px;margin-bottom:22px}.forum-thread-list{display:grid;gap:18px}.forum-thread{border:1px solid rgba(15,23,42,.08);border-radius:24px;padding:20px;background:#fff;box-shadow:0 12px 30px rgba(15,23,42,.04)}.forum-thread-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.forum-thread-head span{background:#f0f7ff;color:#0b73ba;border-radius:999px;padding:5px 10px;font-weight:900;font-size:.78rem}.forum-thread-head small{color:#64748b;font-weight:700}.forum-thread h3{margin:14px 0 8px;color:#10203f}.forum-thread p{color:#475569;line-height:1.75}.forum-author{display:flex;align-items:center;gap:8px;color:#64748b;font-weight:800;font-size:.9rem}.forum-replies{display:grid;gap:10px;margin:16px 0 0;padding-left:16px;border-left:3px solid rgba(21,145,220,.15)}.forum-reply{background:#f8fafc;border-radius:16px;padding:12px 14px}.forum-reply strong{color:#10203f}.forum-reply p{margin:3px 0 0}.forum-reply-form{display:flex;gap:10px;margin-top:16px}.forum-reply-form button{width:48px;border:0;border-radius:16px;background:#1591dc;color:#fff;cursor:pointer;box-shadow:0 10px 20px rgba(21,145,220,.25)}.nav-account-link i,.nav-logout-link i{margin-right:5px}@media(max-width:1000px){.account-hero-grid,.account-layout{grid-template-columns:1fr}.account-sidebar{position:relative;top:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.account-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-grid{grid-template-columns:1fr}}@media(max-width:640px){.account-hero{padding:82px 0 46px}.account-hero h1{font-size:2.15rem}.account-hero-actions .btn{width:100%;justify-content:center}.account-secure-card,.account-panel{border-radius:22px;padding:20px}.account-dashboard{padding:42px 0}.account-stats{grid-template-columns:1fr}.account-sidebar{grid-template-columns:1fr}.account-form-grid,.settings-grid{grid-template-columns:1fr}.account-full{grid-column:auto}.order-card{grid-template-columns:1fr}.order-actions{justify-content:flex-start}.forum-thread-head{align-items:flex-start;flex-direction:column}.forum-reply-form{align-items:stretch}.forum-reply-form input{min-width:0}.forum-reply-form button{height:auto;min-height:48px}.account-hero-grid{gap:22px}}

/* Account verification, Google authentication and profile picture upload */
.google-auth-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: #ffffff;
  color: #10203f;
  border-radius: 999px;
  padding: 13px 18px;
  font-weight: 850;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: 0.2s ease;
  margin: 12px 0 4px;
}
.google-auth-btn:hover { transform: translateY(-2px); border-color: rgba(21,145,220,.35); color: #0b73ba; }
.google-auth-btn .fa-google { color: #ea4335; }
.auth-divider { position: relative; display: flex; align-items: center; justify-content: center; margin: 18px 0; color: #64748b; font-weight: 800; font-size: .88rem; }
.auth-divider:before { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: rgba(15,23,42,.12); }
.auth-divider span { position: relative; z-index: 1; background: #fff; padding: 0 12px; }
.oauth-setup-note { background: #f7fbff; border: 1px solid rgba(21,145,220,.14); border-radius: 18px; padding: 13px 15px; margin: 14px 0 18px; color: #334155; line-height: 1.6; font-size: .92rem; }
.oauth-setup-note i { color: #ea4335; margin-right: 7px; }
.account-hero-profile { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; margin-bottom: 10px; }
.account-avatar { width: 108px; height: 108px; border-radius: 999px; overflow: hidden; flex: 0 0 108px; display: grid; place-items: center; background: linear-gradient(135deg, #1591dc, #3b7597, #c2d099); border: 5px solid #fff; color: #fff; font-weight: 950; font-size: 2rem; box-shadow: 0 18px 40px rgba(15,23,42,.15); }
.account-avatar.large { width: 118px; height: 118px; flex-basis: 118px; }
.account-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.account-avatar span { color: #fff; letter-spacing: .04em; }
.profile-photo-card { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 22px; align-items: flex-start; background: linear-gradient(135deg,#f7fbff,#ffffff); border: 1px solid rgba(21,145,220,.14); border-radius: 24px; padding: 20px; margin-bottom: 24px; scroll-margin-top: 130px; }
.profile-photo-copy h3 { margin: 0 0 8px; color: #10203f; }
.profile-photo-copy p { margin: 0 0 10px; color: #64748b; line-height: 1.7; }
.profile-photo-copy ul { margin: 0 0 16px 18px; color: #475569; line-height: 1.75; }
.profile-upload-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: end; }
.profile-upload-form label { grid-column: 1 / -1; font-weight: 850; color: #10203f; }
.profile-upload-form input[type=file] { width: 100%; border: 1px dashed rgba(21,145,220,.35); background: #fff; border-radius: 16px; padding: 12px; color: #475569; }
.profile-upload-form .btn { margin-top: 0; white-space: nowrap; }
.oauth-account-note { min-height: 100%; display: flex; flex-direction: column; justify-content: center; color: #475569; }
.oauth-account-note i { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 16px; background: #fff; border: 1px solid rgba(15,23,42,.08); color: #ea4335; font-size: 1.4rem; margin-bottom: 12px; }
.oauth-account-note h3 { margin: 0 0 8px; color: #10203f; }
.oauth-account-note p { margin: 0; line-height: 1.7; }
@media(max-width:700px){
  .profile-photo-card,.account-hero-profile{grid-template-columns:1fr;text-align:center;justify-items:center}.profile-upload-form{grid-template-columns:1fr}.profile-upload-form .btn{width:100%;justify-content:center}.account-avatar{width:96px;height:96px;flex-basis:96px}.account-avatar.large{width:104px;height:104px;flex-basis:104px}.oauth-account-note{align-items:center;text-align:center}
}


/* Smooth testimonial sliding animation */
.testimonialSwiper {
  overflow: hidden;
  padding-inline: 4px;
}

.testimonialSwiper .swiper-wrapper {
  align-items: stretch;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.testimonialSwiper .swiper-slide {
  height: auto;
  display: flex;
  transition: opacity 0.65s ease, transform 0.65s ease;
  opacity: 0.58;
  transform: scale(0.96);
}

.testimonialSwiper .swiper-slide-active,
.testimonialSwiper .swiper-slide-next,
.testimonialSwiper .swiper-slide-prev {
  opacity: 1;
  transform: scale(1);
}

.testimonialSwiper .testimonial-card {
  width: 100%;
  min-height: 315px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, opacity 0.35s ease;
}

.testimonialSwiper .swiper-button-next,
.testimonialSwiper .swiper-button-prev {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  color: var(--primary);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.testimonialSwiper .swiper-button-next::after,
.testimonialSwiper .swiper-button-prev::after {
  font-size: 15px;
  font-weight: 800;
}

.testimonialSwiper .swiper-button-next:hover,
.testimonialSwiper .swiper-button-prev:hover {
  transform: translateY(-2px);
  background: var(--primary);
  color: #ffffff;
}

.testimonialSwiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  opacity: 0.32;
  background: var(--primary);
  transition: width 0.3s ease, opacity 0.3s ease, border-radius 0.3s ease;
}

.testimonialSwiper .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 999px;
  opacity: 1;
}

.testimonial-fallback-slider .swiper-wrapper {
  display: flex;
  gap: 24px;
  transform: translateX(0);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.testimonial-fallback-slider .swiper-slide {
  flex: 0 0 calc(100% - 24px);
}

.testimonial-fallback-slider .swiper-pagination {
  position: relative;
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.testimonial-fallback-slider .swiper-pagination-bullet {
  border: 0;
  cursor: pointer;
}

@media (min-width: 768px) {
  .testimonial-fallback-slider .swiper-slide {
    flex-basis: calc(50% - 24px);
  }
}

@media (min-width: 1180px) {
  .testimonial-fallback-slider .swiper-slide {
    flex-basis: calc(33.333% - 24px);
  }
}

@media (max-width: 768px) {
  .testimonialSwiper .swiper-button-next,
  .testimonialSwiper .swiper-button-prev {
    display: none;
  }

  .testimonialSwiper .testimonial-card {
    min-height: auto;
  }
}

/* Testimonial side navigation arrows update */
.testimonialSwiper {
  position: relative;
  padding: 12px 58px 58px;
}

.testimonialSwiper .swiper-button-next,
.testimonialSwiper .swiper-button-prev {
  position: absolute;
  top: 50%;
  margin-top: -24px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.testimonialSwiper .swiper-button-prev {
  left: 6px;
  right: auto;
}

.testimonialSwiper .swiper-button-next {
  right: 6px;
  left: auto;
}

.testimonialSwiper .swiper-button-next:hover,
.testimonialSwiper .swiper-button-prev:hover {
  transform: translateY(-2px) scale(1.03);
}

.testimonialSwiper .swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.testimonialSwiper .swiper-pagination {
  bottom: 12px !important;
}

@media (max-width: 768px) {
  .testimonialSwiper {
    padding: 8px 44px 54px;
  }

  .testimonialSwiper .swiper-button-next,
  .testimonialSwiper .swiper-button-prev {
    display: flex !important;
    width: 36px;
    height: 36px;
    margin-top: -18px;
  }

  .testimonialSwiper .swiper-button-next::after,
  .testimonialSwiper .swiper-button-prev::after {
    font-size: 12px;
  }

  .testimonialSwiper .swiper-button-prev {
    left: 2px;
  }

  .testimonialSwiper .swiper-button-next {
    right: 2px;
  }
}

@media (max-width: 480px) {
  .testimonialSwiper {
    padding-inline: 38px;
  }

  .testimonialSwiper .swiper-button-next,
  .testimonialSwiper .swiper-button-prev {
    width: 34px;
    height: 34px;
  }

  .testimonialSwiper .swiper-button-prev {
    left: 0;
  }

  .testimonialSwiper .swiper-button-next {
    right: 0;
  }
}

/* Account settings modernization update */
.settings-subsection{border:1px solid rgba(15,23,42,.08);border-radius:24px;padding:22px;background:linear-gradient(135deg,#fbfdff,#ffffff);margin-bottom:22px;box-shadow:0 12px 30px rgba(15,23,42,.035)}
.settings-subsection-title{display:flex;gap:14px;align-items:flex-start;margin-bottom:18px}.settings-subsection-title i{width:46px;height:46px;border-radius:16px;display:grid;place-items:center;background:rgba(21,145,220,.1);color:#1591dc;flex:0 0 46px}.settings-subsection-title h3{margin:0 0 4px;color:#10203f;font-size:1.12rem}.settings-subsection-title p{margin:0;color:#64748b;line-height:1.6}.profile-photo-preview{display:grid;justify-items:center;gap:12px;text-align:center}.profile-bio-preview{max-width:300px;margin:0;color:#475569;font-size:.94rem;line-height:1.65;font-weight:650}.profile-bio-preview.light{color:rgba(255,255,255,.86);max-width:340px}.account-secure-card .profile-bio-preview.light{margin:4px 0 0}.account-sidebar a:first-child{background:#edf7ff;color:#0c74b8}.account-panel#settings{background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}
@media(max-width:640px){.settings-subsection{padding:18px;border-radius:20px}.settings-subsection-title{align-items:center}.profile-bio-preview{max-width:100%}}

/* Footer navigation refresh */
.footer-expanded {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(220px, .9fr) minmax(180px, .7fr);
  gap: 28px;
  align-items: flex-start;
}
.footer-brand-block,
.footer-links-block,
.footer-social-block {
  min-width: 0;
}
.footer-about-text {
  max-width: 460px;
  color: rgba(255,255,255,.78);
  line-height: 1.7;
  margin: 14px 0 18px;
}
.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: 10px 14px;
}
.footer-email-link a { color: #fff; font-weight: 800; }
.footer-links-block h4,
.footer-social-block h4 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 1rem;
}
.footer-nav-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
}
.footer-nav-links a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
  font-weight: 700;
  transition: color .2s ease, transform .2s ease;
}
.footer-nav-links a:hover {
  color: #fff;
  transform: translateX(3px);
}
@media (max-width: 780px) {
  .footer-expanded { grid-template-columns: 1fr; }
  .footer-nav-links { grid-template-columns: 1fr; }
}

/* Social media advertising landing page */
.ad-landing-hero{position:relative;overflow:hidden;padding:120px 0 72px;background:radial-gradient(circle at 12% 20%,rgba(194,208,153,.28),transparent 32%),linear-gradient(135deg,#07152c 0%,#0f376d 48%,#1591dc 100%);color:#fff}.ad-landing-hero:before{content:"";position:absolute;right:-120px;top:-120px;width:420px;height:420px;border-radius:50%;background:rgba(255,255,255,.12);filter:blur(2px)}.ad-landing-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(310px,.85fr);gap:34px;align-items:center}.ad-kicker{display:inline-flex;align-items:center;gap:9px;border-radius:999px;padding:9px 15px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);font-size:.82rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#fff}.ad-kicker.small{background:#edf7ff;border-color:rgba(21,145,220,.16);color:#0b73ba}.ad-landing-copy h1{font-size:clamp(2.35rem,5vw,4.95rem);line-height:.96;margin:20px 0 18px;color:#fff;letter-spacing:-.055em}.ad-landing-copy p{font-size:1.08rem;line-height:1.85;color:rgba(255,255,255,.88);max-width:790px}.ad-landing-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px}.ad-proof-strip{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}.ad-proof-strip span{display:inline-flex;gap:6px;align-items:center;border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);padding:9px 13px;color:rgba(255,255,255,.88);font-weight:800}.ad-proof-strip strong{color:#fff}.ad-feature-stack{display:grid;gap:16px}.ad-feature-card{position:relative;display:block;overflow:hidden;border-radius:28px;padding:26px;text-decoration:none;color:#10203f;background:#fff;box-shadow:0 28px 78px rgba(0,0,0,.22);transition:transform .2s ease,box-shadow .2s ease}.ad-feature-card:hover{transform:translateY(-4px);box-shadow:0 32px 88px rgba(0,0,0,.28)}.ad-feature-card.primary{background:linear-gradient(135deg,#ffffff,#eef8ff)}.ad-feature-card.secondary{background:linear-gradient(135deg,#fffaf0,#ffffff)}.ad-feature-card span{font-weight:900;color:#0b73ba;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}.ad-feature-card h3{font-size:1.45rem;margin:8px 0 14px;color:#10203f}.ad-feature-card em{display:inline-flex;font-style:normal;border-radius:999px;background:#fff4df;color:#9a6b1e;padding:6px 11px;font-weight:900}.ad-countdown-note{display:flex;gap:11px;align-items:flex-start;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);border-radius:22px;padding:17px;color:rgba(255,255,255,.9);font-weight:800;line-height:1.55}.ad-countdown-note i{color:#c2d099;margin-top:4px}.ad-conversion-bar{position:sticky;top:74px;z-index:50;background:#fff;border-bottom:1px solid rgba(15,23,42,.08);box-shadow:0 16px 36px rgba(15,23,42,.06)}.ad-conversion-inner{display:flex;align-items:center;gap:14px;justify-content:center;padding:13px 0}.ad-conversion-inner strong{color:#10203f}.ad-conversion-inner span{color:#64748b}.ad-offer-section{padding:78px 0;background:#f5f8fc}.ad-section-heading{max-width:860px;margin-left:auto;margin-right:auto}.ad-category-header{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin:42px 0 20px}.ad-category-header span{display:inline-flex;color:#1591dc;font-weight:900;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem}.ad-category-header h2{margin:6px 0 0;color:#10203f;font-size:clamp(1.5rem,3vw,2.4rem)}.ad-offer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.ad-offer-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:28px;overflow:hidden;box-shadow:0 18px 44px rgba(15,23,42,.07);transition:transform .2s ease,box-shadow .2s ease}.ad-offer-card:hover{transform:translateY(-5px);box-shadow:0 24px 60px rgba(15,23,42,.12)}.ad-offer-image{position:relative;display:block;height:210px;background-size:cover;background-position:center;text-decoration:none}.ad-offer-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,21,44,0),rgba(7,21,44,.58))}.ad-offer-image span{position:absolute;left:16px;bottom:16px;z-index:1;display:inline-flex;align-items:center;gap:8px;border-radius:999px;background:rgba(255,255,255,.92);color:#10203f;padding:8px 12px;font-weight:900}.ad-offer-body{padding:20px}.ad-offer-topline{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.ad-offer-topline span{color:#64748b;font-weight:800;font-size:.86rem}.ad-offer-topline strong{border-radius:999px;background:#fff4df;color:#9a6b1e;padding:5px 9px;font-size:.78rem;font-weight:900;white-space:nowrap}.ad-offer-body h3{font-size:1.2rem;margin:0 0 10px;color:#10203f;line-height:1.25}.ad-offer-body p{color:#64748b;line-height:1.65;margin:0 0 14px}.ad-mini-features{display:grid;gap:7px;list-style:none;padding:0;margin:0 0 14px}.ad-mini-features li{display:flex;gap:8px;color:#334155;font-weight:700;font-size:.9rem}.ad-mini-features i{color:#1591dc;margin-top:4px}.ad-price-row{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:14px 0}.ad-price-row span{color:#94a3b8;text-decoration:line-through;font-weight:900}.ad-price-row strong{font-size:1.75rem;color:#10203f;line-height:1}.ad-price-row.compact{margin:0 0 12px}.ad-price-row.compact strong{font-size:1.45rem}.ad-card-actions{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center}.ad-card-actions .btn{justify-content:center;padding:12px 14px}.ad-final-cta{padding:72px 0;background:#fff}.ad-final-card{display:flex;align-items:center;justify-content:space-between;gap:24px;border-radius:30px;padding:34px;background:linear-gradient(135deg,#10203f,#1591dc);color:#fff;box-shadow:0 24px 70px rgba(21,145,220,.22)}.ad-final-card h2{color:#fff;margin:10px 0}.ad-final-card p{color:rgba(255,255,255,.86);margin:0;line-height:1.7}.ad-final-card .btn{background:#fff;color:#10203f}.article-public-intro{max-width:760px;margin:14px auto 22px;color:rgba(255,255,255,.86);line-height:1.8}.article-public-hero .breadcrumb-content{text-align:center}.public-articles-section{padding-top:56px}.public-feed{max-width:960px;margin:0 auto}.article-publisher-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:20px;align-items:start}.article-profile-card{background:linear-gradient(135deg,#10203f,#0b73ba);color:#fff;border-radius:26px;padding:24px;box-shadow:0 18px 44px rgba(15,23,42,.12)}.article-profile-card .account-avatar{margin-bottom:14px}.article-profile-card h3{color:#fff;margin:0 0 8px}.article-profile-card p{color:rgba(255,255,255,.84);line-height:1.65}.article-profile-card ul{list-style:none;padding:0;margin:18px 0;display:grid;gap:10px}.article-profile-card li{display:flex;gap:9px;align-items:flex-start;color:rgba(255,255,255,.9);font-weight:700}.article-profile-card li i{color:#c2d099;margin-top:4px}.article-profile-card .btn-outline{border-color:rgba(255,255,255,.45);color:#fff}.member-article-list{display:grid;gap:18px;margin-top:24px}.member-article-card{border:1px solid rgba(15,23,42,.08);border-radius:26px;padding:22px;background:#fff;box-shadow:0 14px 34px rgba(15,23,42,.05);scroll-margin-top:110px}.member-article-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.member-article-head span{display:inline-flex;border-radius:999px;background:#edf7ff;color:#0b73ba;padding:6px 10px;font-weight:900;font-size:.78rem}.member-article-head small{color:#64748b;font-weight:800}.member-article-card h2,.member-article-card h3{color:#10203f;margin:14px 0 8px}.member-article-excerpt{color:#64748b;font-weight:750;line-height:1.65}.member-article-body{color:#334155;line-height:1.8;margin-top:12px}.member-article-body.full{font-size:1.02rem}.member-article-author{display:flex;align-items:center;gap:8px;color:#64748b;font-weight:800;margin-top:16px}.article-engagement-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:16px}.article-engagement-row form{margin:0}.article-action{display:inline-flex;align-items:center;gap:8px;border:1px solid rgba(15,23,42,.1);background:#fff;border-radius:999px;padding:9px 12px;color:#20304d;text-decoration:none;font:inherit;font-weight:900;cursor:pointer}.article-action:hover{background:#edf7ff;color:#0b73ba}.article-action.is-liked{background:#fff1f3;color:#be123c;border-color:#fecdd3}.article-comments{margin-top:17px;padding-top:16px;border-top:1px solid rgba(15,23,42,.08)}.article-comments>strong{display:block;color:#10203f;margin-bottom:10px}.article-comment{background:#f8fafc;border-radius:16px;padding:12px 14px;margin-top:10px}.article-comment b{color:#10203f}.article-comment p{margin:4px 0 0;color:#475569;line-height:1.65}.article-comment-form{margin-top:12px}.article-login-note{color:#64748b}.article-login-note a{color:#0b73ba;font-weight:900}.share-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:9999;background:#10203f;color:#fff;border-radius:999px;padding:11px 16px;box-shadow:0 16px 34px rgba(15,23,42,.25);font-weight:900}
@media(max-width:1080px){.ad-landing-grid,.article-publisher-grid{grid-template-columns:1fr}.ad-offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ad-feature-stack{grid-template-columns:repeat(2,minmax(0,1fr))}.ad-countdown-note{grid-column:1/-1}.ad-conversion-inner{justify-content:flex-start;overflow-x:auto}.ad-final-card{align-items:flex-start;flex-direction:column}.article-profile-card{order:-1}}
@media(max-width:720px){.ad-landing-hero{padding:92px 0 52px}.ad-landing-copy h1{font-size:2.25rem}.ad-landing-actions .btn,.ad-card-actions .btn{width:100%;justify-content:center}.ad-feature-stack,.ad-offer-grid{grid-template-columns:1fr}.ad-category-header{align-items:flex-start;flex-direction:column}.ad-card-actions{grid-template-columns:1fr}.ad-conversion-bar{position:relative;top:auto}.ad-conversion-inner{display:grid;grid-template-columns:1fr;padding:14px 0}.ad-final-card{padding:24px;border-radius:24px}.member-article-head{align-items:flex-start;flex-direction:column}.article-engagement-row{align-items:stretch}.article-action{justify-content:center}.article-publisher-grid{gap:16px}}

.catalog-price-row{display:flex;align-items:flex-end;gap:9px;flex-wrap:wrap;margin:12px 0 10px}.catalog-price-row span{text-decoration:line-through;color:#94a3b8;font-weight:900}.catalog-price-row strong{font-size:1.35rem;line-height:1;color:#10203f}.catalog-price-row em{font-style:normal;border-radius:999px;background:#fff4df;color:#9a6b1e;padding:5px 9px;font-size:.75rem;font-weight:900}.detail-price-card{display:inline-flex;align-items:flex-end;gap:12px;flex-wrap:wrap;border:1px solid rgba(21,145,220,.15);background:#f7fbff;border-radius:20px;padding:14px 16px;margin:0 0 22px}.detail-price-card span{text-decoration:line-through;color:#94a3b8;font-weight:900}.detail-price-card strong{font-size:2rem;color:#10203f;line-height:1}.detail-price-card em{font-style:normal;border-radius:999px;background:#fff4df;color:#9a6b1e;padding:6px 10px;font-weight:900}


/* Regular catalogue pages show standard prices only; promotional prices stay on landing.php. */
.catalog-price-row.standard-price-row span,
.catalog-price-row.standard-price-row em,
.detail-price-card.standard-price-card span,
.detail-price-card.standard-price-card em{display:none!important}
.catalog-price-row.standard-price-row strong{font-size:1.35rem;color:#10203f}
.detail-price-card.standard-price-card strong{font-size:2rem;color:#10203f}

/* Admin social media landing promo controls */
.promo-price-table input{width:100%;min-width:130px;border:1px solid var(--admin-line,#e4eaf2);border-radius:12px;padding:10px 12px;font:inherit;background:#fff;color:var(--admin-ink,#132033)}
.promo-price-table td:first-child{min-width:260px}
.admin-table-scroll{overflow-x:auto;width:100%}


/* Strong Offers button visibility update: header + landing-page CTAs */
.nav-menu > a.nav-offers-button,
.nav-menu > a[href="landing.php"].nav-offers-button{
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 12px 20px !important;
  min-height: 46px !important;
  border-radius: 999px !important;
  border: 2px solid rgba(255,255,255,.82) !important;
  background: linear-gradient(135deg,#ff3d00 0%,#ffb000 46%,#ffe066 100%) !important;
  color: #08172f !important;
  font-weight: 1000 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  box-shadow: 0 12px 28px rgba(255,111,0,.34), 0 0 0 4px rgba(255,176,0,.13) !important;
  transform-origin: center;
  animation: offersButtonPulse 1.65s ease-in-out infinite !important;
}
.nav-menu > a.nav-offers-button::after{
  content: "";
  position: absolute;
  inset: -35% -85%;
  z-index: -1;
  background: linear-gradient(110deg,transparent 38%,rgba(255,255,255,.8) 50%,transparent 62%);
  transform: translateX(-70%) rotate(8deg);
  animation: offersButtonShine 2.4s ease-in-out infinite;
}
.nav-menu > a.nav-offers-button i{
  color: #d61f00 !important;
  filter: drop-shadow(0 2px 3px rgba(255,255,255,.6));
  animation: offersIconBounce 1.2s ease-in-out infinite;
}
.nav-menu > a.nav-offers-button:hover,
.nav-menu > a.nav-offers-button:focus-visible,
.nav-menu > a.nav-offers-button.active{
  color: #fff !important;
  background: linear-gradient(135deg,#ff1744 0%,#ff6d00 48%,#ffc400 100%) !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 18px 38px rgba(255,61,0,.42), 0 0 0 6px rgba(255,196,0,.18) !important;
}
.nav-menu > a.nav-offers-button:hover i,
.nav-menu > a.nav-offers-button:focus-visible i,
.nav-menu > a.nav-offers-button.active i{ color:#fff !important; }
.offer-highlight-btn,
.ad-landing-actions .offer-highlight-btn,
.ad-conversion-inner .offer-highlight-btn,
.ad-final-card .offer-highlight-btn{
  position: relative !important;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg,#ff1744 0%,#ff6d00 48%,#ffc400 100%) !important;
  color: #fff !important;
  font-weight: 1000 !important;
  letter-spacing: .02em !important;
  text-transform: uppercase !important;
  box-shadow: 0 18px 42px rgba(255,61,0,.34), 0 0 0 5px rgba(255,196,0,.12) !important;
  text-shadow: 0 1px 2px rgba(0,0,0,.18);
  animation: offersButtonPulse 1.65s ease-in-out infinite !important;
}
.offer-highlight-btn::after{
  content:"";
  position:absolute;
  inset:-45% -90%;
  z-index:-1;
  background:linear-gradient(110deg,transparent 38%,rgba(255,255,255,.78) 50%,transparent 62%);
  transform:translateX(-70%) rotate(8deg);
  animation:offersButtonShine 2.4s ease-in-out infinite;
}
.offer-highlight-btn i{ animation:offersIconBounce 1.2s ease-in-out infinite; }
.offer-highlight-btn:hover,
.offer-highlight-btn:focus-visible{
  color:#fff !important;
  background:linear-gradient(135deg,#d500f9 0%,#ff1744 44%,#ff9100 100%) !important;
  transform:translateY(-4px) scale(1.045) !important;
  box-shadow:0 24px 54px rgba(255,23,68,.42),0 0 0 7px rgba(255,145,0,.17) !important;
}
.offer-highlight-btn-outline{
  color:#08172f !important;
  background:linear-gradient(135deg,#fff8d6 0%,#ffe066 46%,#ffb000 100%) !important;
  border:2px solid rgba(255,255,255,.68) !important;
  text-shadow:none !important;
}
.offer-highlight-btn-outline:hover,
.offer-highlight-btn-outline:focus-visible{ color:#fff !important; }
.offer-highlight-btn-sticky{ padding:11px 18px !important; font-size:.88rem !important; }
@keyframes offersButtonPulse{
  0%,100%{ transform:scale(1); box-shadow:0 12px 28px rgba(255,111,0,.34),0 0 0 0 rgba(255,196,0,.32); }
  50%{ transform:scale(1.035); box-shadow:0 18px 42px rgba(255,61,0,.42),0 0 0 8px rgba(255,196,0,.10); }
}
@keyframes offersButtonShine{
  0%{ transform:translateX(-75%) rotate(8deg); opacity:0; }
  18%{ opacity:1; }
  48%,100%{ transform:translateX(75%) rotate(8deg); opacity:0; }
}
@keyframes offersIconBounce{
  0%,100%{ transform:translateY(0) rotate(0deg); }
  50%{ transform:translateY(-2px) rotate(-8deg); }
}
@media(max-width:900px){
  .nav-menu > a.nav-offers-button,
  .nav-menu > a[href="landing.php"].nav-offers-button{
    width:100% !important;
    min-height:58px !important;
    justify-content:center !important;
    border-radius:20px !important;
    font-size:1.02rem !important;
  }
}
@media(max-width:720px){
  .offer-highlight-btn,
  .ad-landing-actions .offer-highlight-btn,
  .ad-conversion-inner .offer-highlight-btn,
  .ad-final-card .offer-highlight-btn{
    width:100% !important;
    min-height:54px !important;
    padding:15px 18px !important;
  }
}
@media(prefers-reduced-motion:reduce){
  .nav-menu > a.nav-offers-button,
  .nav-menu > a.nav-offers-button::after,
  .nav-menu > a.nav-offers-button i,
  .offer-highlight-btn,
  .offer-highlight-btn::after,
  .offer-highlight-btn i{ animation:none !important; }
}


/* Live background video section for Media page */
.media-live-video-wrap {
  margin: 0 0 70px;
}
.media-live-video-bg {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow-md);
  background:
    radial-gradient(circle at 20% 20%, rgba(37, 99, 235, .55), transparent 32%),
    linear-gradient(135deg, #020617, #111827 45%, #7f1d1d);
  isolation: isolate;
}
.media-live-background-video,
.media-live-background-iframe,
.media-live-background-youtube,
.media-live-background-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 177.78%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  border: 0;
  z-index: 1;
  pointer-events: none;
}
.media-live-background-video {
  object-fit: cover;
  min-width: 100%;
  background: #020617;
}

.media-live-background-youtube iframe {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  transform: none !important;
  border: 0 !important;
  z-index: 1;
  pointer-events: none;
}
.media-live-background-placeholder {
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(220,38,38,.35), rgba(2,6,23,.92)),
    url('images/video-thumb-1.jpg') center/cover no-repeat;
  transform: none;
  top: 0;
  left: 0;
  width: 100%;
  min-width: 100%;
}
.media-live-background-placeholder i {
  font-size: clamp(4rem, 12vw, 9rem);
  color: rgba(255,255,255,.22);
  filter: drop-shadow(0 20px 45px rgba(0,0,0,.45));
}
.media-live-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 35%),
    linear-gradient(90deg, rgba(4, 9, 20, .92), rgba(4, 9, 20, .58), rgba(4, 9, 20, .24));
}
.media-live-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding: 78px 58px;
  color: #fff;
}
.media-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.32);
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.media-live-badge i {
  color: #ff3131;
  animation: liveBlink 1.3s infinite;
}
.media-live-content h2 {
  margin: 22px 0 14px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.05;
  text-shadow: 0 8px 30px rgba(0,0,0,.45);
}
.media-live-content p {
  color: rgba(255,255,255,.94);
  font-size: 1.08rem;
  max-width: 580px;
}
.media-live-help-text {
  display: block;
  max-width: 650px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.95);
  line-height: 1.5;
}
.media-live-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 14px 24px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff3131, #ff8a00);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 35px rgba(255, 80, 0, .35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.media-live-btn:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 20px 45px rgba(255, 80, 0, .45);
}
@keyframes liveBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.82); }
}
@media (max-width: 768px) {
  .media-live-video-bg { min-height: 380px; border-radius: 24px; }
  .media-live-content { padding: 48px 24px; }
  .media-live-background-iframe { min-width: 220%; }
}


/* Embedded external video frames on Media page */
.media-video-grid {
  align-items: stretch;
}
.media-video-card {
  overflow: hidden;
}
.media-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #020617, #111827);
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}
.media-video-frame iframe,
.media-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #020617;
}
.media-video-frame video {
  object-fit: cover;
}
.media-video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  padding: 24px;
}
.media-video-placeholder:hover {
  color: #fff;
}
.media-video-play {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.92);
  color: var(--primary);
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.media-video-source {
  display: inline-flex;
  margin: 4px 0 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, .08);
  color: var(--primary);
  font-weight: 800;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
@media (max-width: 768px) {
  .media-video-frame { aspect-ratio: 16 / 10; }
}

/* Site pop-up advertisement */
.site-promo-popup[hidden] {
  display: none !important;
}
.site-promo-popup {
  position: fixed;
  inset: 0;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.site-promo-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 24, .68);
  backdrop-filter: blur(10px);
  animation: popupFadeIn .28s ease both;
}
.site-promo-popup__dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(92vh, 760px);
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  overflow: hidden;
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .36);
  border: 1px solid rgba(255,255,255,.55);
  animation: popupSlideIn .35s cubic-bezier(.2,.9,.25,1.12) both;
}
.site-promo-popup__dialog:before {
  content: "";
  position: absolute;
  inset: -80px -60px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 138, 0, .24), transparent 68%);
  pointer-events: none;
}
.site-promo-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, .92);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(15,23,42,.22);
  transition: transform .2s ease, background .2s ease;
}
.site-promo-popup__close:hover,
.site-promo-popup__close:focus-visible {
  transform: scale(1.08) rotate(4deg);
  background: #ef4444;
  outline: none;
}
.site-promo-popup__visual {
  position: relative;
  min-height: 430px;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.24), transparent 35%), linear-gradient(135deg, #10243a 0%, #1c4d8d 54%, #ff7a00 100%);
  overflow: hidden;
}
.site-promo-popup__visual:after {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.22);
  pointer-events: none;
}
.site-promo-popup__visual img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.04);
}
.site-promo-popup__visual-fallback {
  min-height: 430px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  color: #fff;
  text-align: center;
}
.site-promo-popup__visual-fallback i {
  width: 110px;
  height: 110px;
  border-radius: 34px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.28);
  font-size: 3rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
  animation: popupGiftPulse 1.8s ease-in-out infinite;
}
.site-promo-popup__visual-fallback span {
  font-family: var(--font-heading, inherit);
  font-size: 3.4rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-shadow: 0 16px 36px rgba(0,0,0,.28);
}
.site-promo-popup__content {
  position: relative;
  padding: 54px 46px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.site-promo-popup__badge {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 122, 0, .12);
  color: #b45309;
  font-size: .82rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.site-promo-popup__badge i {
  color: #ef4444;
}
.site-promo-popup__content h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: .98;
  letter-spacing: -.055em;
  color: #0f172a;
}
.site-promo-popup__content p {
  margin: 0;
  color: #475569;
  font-size: 1.04rem;
  line-height: 1.72;
}
.site-promo-popup__highlight {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  font-weight: 850;
  line-height: 1.45;
}
.site-promo-popup__highlight i {
  color: #16a34a;
  margin-top: 3px;
}
.site-promo-popup__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.site-promo-popup__primary,
.site-promo-popup__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 950;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.site-promo-popup__primary {
  background: linear-gradient(135deg, #ff3131 0%, #ff7a00 100%);
  color: #fff;
  box-shadow: 0 18px 38px rgba(255, 92, 0, .32);
}
.site-promo-popup__primary:hover,
.site-promo-popup__primary:focus-visible {
  color: #fff;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 24px 52px rgba(255, 92, 0, .42);
  outline: none;
}
.site-promo-popup__secondary {
  background: #f1f5f9;
  color: #10243a;
}
.site-promo-popup__secondary:hover,
.site-promo-popup__secondary:focus-visible {
  background: #e2e8f0;
  color: #10243a;
  transform: translateY(-2px);
  outline: none;
}
.site-promo-popup__dismiss {
  width: max-content;
  border: 0;
  background: transparent;
  color: #64748b;
  font-weight: 850;
  cursor: pointer;
  padding: 8px 0 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-promo-popup__dismiss:hover,
.site-promo-popup__dismiss:focus-visible {
  color: #0f172a;
  outline: none;
}
body.site-promo-popup-open {
  overflow: hidden;
}
@keyframes popupFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes popupSlideIn {
  from { opacity: 0; transform: translateY(28px) scale(.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes popupGiftPulse {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.05); }
}
@media (max-width: 760px) {
  .site-promo-popup { padding: 14px; align-items: flex-end; }
  .site-promo-popup__dialog { grid-template-columns: 1fr; max-height: 94vh; overflow-y: auto; border-radius: 28px; }
  .site-promo-popup__visual,
  .site-promo-popup__visual img,
  .site-promo-popup__visual-fallback { min-height: 190px; }
  .site-promo-popup__visual-fallback i { width: 76px; height: 76px; border-radius: 24px; font-size: 2rem; }
  .site-promo-popup__visual-fallback span { font-size: 2.2rem; }
  .site-promo-popup__content { padding: 30px 22px 24px; }
  .site-promo-popup__actions { display: grid; grid-template-columns: 1fr; }
  .site-promo-popup__primary,
  .site-promo-popup__secondary { width: 100%; }
}

/* Popup offer pulled from current ad/offers page */
.site-promo-popup__corner-label {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 9px 14px;
  background: linear-gradient(135deg, #ff3131 0%, #ff7a00 100%);
  color: #fff;
  font-weight: 950;
  font-size: .82rem;
  letter-spacing: .04em;
  box-shadow: 0 14px 34px rgba(255, 92, 0, .34);
}
.site-promo-popup__type {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
}
.site-promo-popup__price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff7ed 0%, #f8fafc 100%);
  border: 1px solid rgba(255, 122, 0, .18);
}
.site-promo-popup__price span {
  color: #94a3b8;
  font-weight: 850;
  text-decoration: line-through;
}
.site-promo-popup__price strong {
  color: #0f172a;
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 950;
}
.site-promo-popup__price em {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: #dc2626;
  color: #fff;
  font-weight: 950;
  font-size: .8rem;
}
.article-status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  font-weight: 900;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.article-status-pill.pending { background: #fff7ed; color: #c2410c; }
.article-status-pill.published { background: #ecfdf5; color: #047857; }
.article-status-pill.rejected { background: #fef2f2; color: #b91c1c; }
.article-review-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-weight: 800;
  line-height: 1.5;
}
.article-review-note i { color: #1c4d8d; margin-top: 3px; }

/* Email campaign promotional template cards */
.admin-template-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.admin-template-card {
    border: 1px solid rgba(28, 77, 141, 0.14);
    background: linear-gradient(145deg, #ffffff, #f8fbff);
    border-radius: 18px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 12px 30px rgba(16, 36, 58, 0.06);
}

.admin-template-card i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(28, 77, 141, 0.1);
    color: #1C4D8D;
    font-size: 18px;
}

.admin-template-card strong {
    color: #10243a;
    font-size: 1rem;
}

.admin-template-card span {
    color: #64748b;
    font-size: .92rem;
    line-height: 1.5;
}

/* Cookie consent + voluntary visitor contact capture */
.hbh-consent-panel{position:fixed;inset:auto 18px 18px 18px;z-index:9995;display:flex;justify-content:center;pointer-events:none}.hbh-consent-panel[hidden]{display:none}.hbh-consent-card{width:min(1060px,100%);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:18px;align-items:center;background:rgba(255,255,255,.97);border:1px solid rgba(28,77,141,.16);box-shadow:0 28px 80px rgba(16,36,58,.22);border-radius:26px;padding:18px;pointer-events:auto;backdrop-filter:blur(18px)}.hbh-consent-icon{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#1591dc,#1c4d8d);color:#fff;font-size:1.35rem;box-shadow:0 14px 35px rgba(21,145,220,.25)}.hbh-consent-copy h3{margin:0 0 6px;font-family:var(--font-heading);color:#10243a;font-size:1.15rem}.hbh-consent-copy p{margin:0;color:#526173;line-height:1.55;font-size:.94rem}.hbh-consent-options{display:flex;flex-wrap:wrap;gap:8px 14px;margin-top:11px}.hbh-consent-options label{display:inline-flex;align-items:center;gap:7px;font-size:.86rem;font-weight:800;color:#334155}.hbh-consent-options input{accent-color:#1c4d8d}.hbh-consent-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.hbh-consent-actions .btn{white-space:nowrap;padding:10px 16px;font-size:.88rem}.hbh-lead-capture{position:fixed;right:22px;bottom:22px;z-index:9994;width:min(360px,calc(100vw - 32px));background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);border:1px solid rgba(28,77,141,.14);border-radius:26px;box-shadow:0 24px 75px rgba(16,36,58,.24);padding:20px;animation:hbhLeadSlideUp .45s ease both}.hbh-lead-capture[hidden]{display:none}.hbh-lead-close{position:absolute;right:13px;top:13px;width:34px;height:34px;border-radius:50%;border:1px solid rgba(15,23,42,.08);background:#fff;color:#475569;cursor:pointer}.hbh-lead-badge{display:inline-flex;align-items:center;gap:7px;border-radius:999px;background:rgba(21,145,220,.1);color:#1c4d8d;font-size:.75rem;font-weight:900;text-transform:uppercase;letter-spacing:.07em;padding:7px 10px;margin-bottom:10px}.hbh-lead-capture h3{margin:0 0 6px;font-family:var(--font-heading);font-size:1.28rem;color:#10243a;line-height:1.18}.hbh-lead-capture p{margin:0 0 13px;color:#64748b;font-size:.92rem;line-height:1.55}.hbh-lead-field{display:grid;gap:5px;margin-bottom:9px}.hbh-lead-field span{font-size:.78rem;text-transform:uppercase;letter-spacing:.07em;font-weight:900;color:#475569}.hbh-lead-field input,.hbh-lead-field select{width:100%;border:1px solid rgba(15,23,42,.13);border-radius:14px;padding:10px 12px;font:inherit;background:#fff;color:#10243a;outline:none}.hbh-lead-field input:focus,.hbh-lead-field select:focus{border-color:#1591dc;box-shadow:0 0 0 4px rgba(21,145,220,.1)}.hbh-lead-preferences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:8px 0}.hbh-lead-preferences label,.hbh-lead-consent{display:flex;gap:7px;align-items:flex-start;font-size:.82rem;color:#475569;font-weight:700;line-height:1.45}.hbh-lead-preferences input,.hbh-lead-consent input{accent-color:#1c4d8d;margin-top:2px}.hbh-lead-submit{width:100%;margin-top:10px}.hbh-lead-status{min-height:18px;margin:9px 0 0!important;font-size:.83rem!important;font-weight:800}.hbh-lead-status.is-success{color:#0f8a55}.hbh-lead-status.is-error{color:#b42318}@keyframes hbhLeadSlideUp{from{opacity:0;transform:translateY(14px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-width:820px){.hbh-consent-card{grid-template-columns:1fr}.hbh-consent-icon{display:none}.hbh-consent-actions{justify-content:stretch}.hbh-consent-actions .btn{flex:1 1 auto}.hbh-lead-capture{left:16px;right:16px;bottom:16px;width:auto}}@media(max-width:520px){.hbh-consent-panel{inset:auto 10px 10px}.hbh-consent-card{padding:15px;border-radius:22px}.hbh-consent-actions{display:grid}.hbh-consent-actions .btn{width:100%}.hbh-lead-preferences{grid-template-columns:1fr}}

/* Admin visitor data helpers */
.admin-filter-form{display:grid;grid-template-columns:220px minmax(220px,1fr) auto;gap:14px;align-items:end;margin:18px 0}.admin-inline-actions{display:flex;flex-wrap:wrap;gap:7px}.admin-inline-actions form{margin:0}.admin-status-pill{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:5px 9px;font-size:.74rem;font-weight:900;background:#eef2f7;color:#334155;white-space:nowrap}.admin-status-pill.is-success{background:rgba(15,138,85,.1);color:#0f8a55}.admin-status-pill.is-warning{background:rgba(185,138,61,.14);color:#8a5a13}.admin-body .btn-small{padding:7px 10px;font-size:.78rem}.admin-body .btn-danger{background:#b42318;color:#fff;border-color:#b42318}.admin-body .btn-danger:hover{background:#8f1b12;border-color:#8f1b12}@media(max-width:780px){.admin-filter-form{grid-template-columns:1fr}.admin-inline-actions{display:grid}.admin-inline-actions .btn{width:100%}}

/* User account order privacy update: conceal previously selected orders by default */
.private-orders-gate{
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  border:1px solid rgba(21,145,220,.18);
  border-radius:24px;
  padding:22px;
  background:linear-gradient(135deg,#f7fbff 0%,#ffffff 58%,#eef8ff 100%);
  box-shadow:0 18px 42px rgba(15,23,42,.06);
}
.private-orders-gate.is-revealed{
  border-color:rgba(18,107,49,.25);
  background:linear-gradient(135deg,#f6fff8 0%,#ffffff 65%);
}
.private-orders-lock{
  width:64px;
  height:64px;
  border-radius:22px;
  display:grid;
  place-items:center;
  color:#fff;
  background:linear-gradient(135deg,#10203f,#1591dc);
  box-shadow:0 14px 26px rgba(21,145,220,.22);
  font-size:1.45rem;
}
.private-orders-gate h3{margin:0 0 6px;color:#10203f;font-size:1.15rem}.private-orders-gate p{margin:0;color:#64748b;line-height:1.65}.concealed-orders{margin-top:18px}.concealed-orders[hidden]{display:none!important}.private-orders-actions{display:flex;justify-content:flex-end;margin-top:8px}.account-stats article strong{word-break:break-word}
@media(max-width:760px){.private-orders-gate{grid-template-columns:1fr;text-align:center;justify-items:center}.private-orders-actions{justify-content:center}.private-orders-gate .btn{width:100%;justify-content:center}}


/* User profile order privacy controls */
.order-privacy-form{margin:0;display:inline-flex}.btn.btn-danger{background:#b42318;color:#fff;border-color:#b42318;box-shadow:0 12px 24px rgba(180,35,24,.18)}.btn.btn-danger:hover{background:#8f1b12;border-color:#8f1b12;color:#fff;transform:translateY(-1px)}.concealed-summary{margin-top:18px;background:linear-gradient(135deg,#fff7ed,#fff)}.private-orders-lock.hidden-lock{background:linear-gradient(135deg,#f59e0b,#ef4444)}.hidden-order-list{margin-top:16px}.hidden-order-card{background:#fffaf5;border-color:rgba(245,158,11,.25)}.order-type.hidden-type{background:#fff7ed;color:#b45309}.order-actions form button{white-space:nowrap}@media(max-width:640px){.order-privacy-form{width:100%}.order-privacy-form .btn{width:100%;justify-content:center}.order-actions{display:grid;grid-template-columns:1fr;width:100%}.order-actions .btn,.order-actions .order-status{justify-content:center;width:100%}}

/* Invoice and receipt document links */
.order-document-links{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:4px 0;}
.order-document-links small{display:block;width:100%;color:#64748b;font-size:.78rem;font-weight:700;}

/* Currency and multilingual site update */
.site-language-switcher{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:4px 7px;border-radius:999px;background:rgba(28,77,141,.06);border:1px solid rgba(28,77,141,.12);line-height:1;white-space:nowrap}
.site-language-switcher label{display:inline-flex;align-items:center;gap:4px;color:var(--primary-dark);font-weight:900;font-size:.72rem;letter-spacing:.01em;white-space:nowrap;margin:0}
.site-language-switcher label i{font-size:.82rem}.site-language-switcher label span{font-size:.72rem}
.site-language-switcher select{width:auto;min-width:54px;max-width:68px;border:0;background:#fff;color:var(--primary-dark);border-radius:999px;padding:6px 18px 6px 7px;font-size:.72rem;font-weight:900;box-shadow:inset 0 0 0 1px rgba(28,77,141,.12);cursor:pointer;text-transform:uppercase}
.site-language-switcher-compact{order:20}.google-translate-hidden,#google_translate_element{position:absolute!important;left:-9999px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}.goog-te-banner-frame,.goog-te-balloon-frame,#goog-gt-tt,.skiptranslate iframe{display:none!important;visibility:hidden!important;height:0!important;width:0!important;border:0!important}body{top:0!important}.goog-te-gadget{font-size:0!important}
body{top:0!important}.currency-converting-note{display:none;margin-top:8px;color:#64748b;font-weight:800}.currency-converting-note.is-visible{display:block}.currency-rate-pill{display:inline-flex;align-items:center;gap:8px;border-radius:999px;padding:7px 11px;background:#eef5fb;color:#1C4D8D;font-size:.84rem;font-weight:900}
@media(max-width:900px){.site-language-switcher{width:auto;align-self:flex-start;justify-content:flex-start;border-radius:999px;background:#fff;border-color:rgba(28,77,141,.08);box-shadow:0 10px 24px rgba(18,46,78,.045);padding:7px 9px;margin-top:4px}.site-language-switcher select{flex:0 0 auto;max-width:74px;min-width:58px}}

/* Registration-before-purchase gate */
.auth-gate-note,
.auth-gate-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  border: 1px solid rgba(21, 145, 220, .18);
  background: linear-gradient(135deg, rgba(21,145,220,.08), rgba(194,208,153,.16));
  color: #10203f;
  border-radius: 18px;
  padding: 14px 16px;
  margin: 0 0 22px;
  font-weight: 800;
  line-height: 1.55;
  text-align: left;
}
.auth-gate-note i,
.auth-gate-alert i { color: var(--primary); font-size: 1.15rem; flex: 0 0 auto; }
.auth-gate-note span,
.auth-gate-alert span { flex: 1; }
.auth-gate-note a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 999px;
  padding: 9px 13px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: .86rem;
  box-shadow: 0 10px 22px rgba(21,145,220,.18);
}
.auth-gate-note-dark {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.24);
  color: #fff;
  margin-top: 18px;
}
.auth-gate-note-dark i { color: #c2d099; }
.auth-gate-note-dark a { background: #fff; color: #10203f; }
.auth-gate-small {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0 !important;
  color: #64748b !important;
  font-size: .9rem;
  line-height: 1.6;
  text-align: left;
}
.auth-gate-small i { color: var(--primary); margin-top: 3px; }
@media (max-width: 640px) {
  .auth-gate-note,
  .auth-gate-alert { align-items: flex-start; flex-direction: column; }
  .auth-gate-note a { width: 100%; }
}

/* Catalogue promo price visibility + frame fitting update */
.learning-card-grid{align-items:stretch}
.learning-catalog-card{height:100%;min-width:0}
.learning-card-content{display:flex;flex-direction:column;min-height:330px;gap:0;min-width:0}
.learning-card-category{display:inline-flex;align-items:center;width:max-content;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.25;border-radius:999px;background:rgba(21,145,220,.08);padding:6px 10px;color:var(--primary);font-size:.72rem;font-weight:900;letter-spacing:.04em}
.learning-card-title{font-size:clamp(1.04rem,1.45vw,1.22rem);line-height:1.22;margin:10px 0 10px;color:var(--text-dark);overflow-wrap:anywhere;hyphens:auto;min-height:2.45em}
.learning-card-summary{color:var(--text-muted);line-height:1.55;margin:0 0 12px;overflow-wrap:anywhere}
.learning-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:auto;padding-top:14px}
.learning-card-actions .btn{justify-content:center;text-align:center;padding:12px 13px;min-width:0;white-space:normal;line-height:1.25}
.promo-price-row{width:100%;align-items:center;border:1px solid rgba(21,145,220,.12);background:linear-gradient(135deg,#f7fbff,#fff);border-radius:18px;padding:11px 12px;margin:8px 0 12px}
.promo-price-row span{font-size:.92rem;text-decoration:line-through;color:#94a3b8;font-weight:900}
.promo-price-row strong{font-size:clamp(1.18rem,2vw,1.48rem);color:#10203f;line-height:1}
.promo-price-row em{background:#fff4df;color:#9a6b1e;font-size:.72rem;white-space:nowrap}
.promo-price-card{align-items:center;background:linear-gradient(135deg,#f7fbff,#fff);border-color:rgba(21,145,220,.18);box-shadow:0 16px 35px rgba(15,23,42,.06)}
.promo-price-card span{font-size:1rem;text-decoration:line-through;color:#94a3b8;font-weight:900}
.promo-price-card strong{font-size:clamp(1.7rem,3vw,2.25rem);color:#10203f}
.promo-price-card em{background:#fff4df;color:#9a6b1e;white-space:nowrap}
.learning-detail-copy{min-width:0;overflow-wrap:anywhere}
.learning-detail-copy h2{line-height:1.12;overflow-wrap:anywhere;hyphens:auto}
.courses-list .learning-catalog-card{min-height:0}
.courses-list .learning-card-content{min-height:0;padding:22px 20px}
.courses-list .learning-card-title{min-height:0}
.courses-list .learning-card-actions{grid-template-columns:repeat(2,minmax(130px,1fr));max-width:420px}
@media(max-width:980px){.learning-card-content{min-height:310px}.learning-card-actions{grid-template-columns:1fr}.courses-list .learning-card-actions{grid-template-columns:1fr;max-width:none}.learning-card-title{min-height:auto}}
@media(max-width:520px){.learning-card-content{min-height:0}.promo-price-row{display:grid;grid-template-columns:1fr;align-items:start}.learning-card-category{font-size:.69rem}.learning-card-title{font-size:1.08rem}.detail-action-row .btn{width:100%;justify-content:center}}

/* POPUP SCREEN-FIT UPDATE: keep promotional and contact popups inside the visible viewport */
.site-promo-popup,
.hbh-consent-panel,
.hbh-lead-capture {
  box-sizing: border-box;
}
.site-promo-popup *,
.hbh-consent-panel *,
.hbh-lead-capture * {
  box-sizing: border-box;
}
.site-promo-popup {
  padding: clamp(10px, 2.4vh, 22px);
  min-height: 100dvh;
  align-items: center;
}
.site-promo-popup__dialog {
  width: min(880px, calc(100vw - 24px));
  max-height: calc(100dvh - clamp(20px, 4vh, 44px));
  overflow: hidden;
  grid-template-columns: minmax(240px, .82fr) minmax(0, 1.18fr);
  border-radius: clamp(20px, 3vw, 30px);
}
.site-promo-popup__visual,
.site-promo-popup__visual img,
.site-promo-popup__visual-fallback {
  min-height: clamp(250px, 55dvh, 410px);
  height: 100%;
}
.site-promo-popup__content {
  min-width: 0;
  padding: clamp(22px, 4.3vh, 42px) clamp(20px, 3.6vw, 38px) clamp(18px, 3.4vh, 34px);
  gap: clamp(8px, 1.65vh, 14px);
}
.site-promo-popup__badge,
.site-promo-popup__type,
.site-promo-popup__price,
.site-promo-popup__highlight,
.site-promo-popup__actions {
  max-width: 100%;
}
.site-promo-popup__badge {
  padding: 8px 12px;
  font-size: clamp(.68rem, 1.4vw, .78rem);
  white-space: normal;
  line-height: 1.2;
}
.site-promo-popup__type {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}
.site-promo-popup__content h2 {
  font-size: clamp(1.48rem, 4.7vw, 2.65rem);
  line-height: 1.02;
  letter-spacing: -.04em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-promo-popup__content p {
  font-size: clamp(.88rem, 1.7vw, .98rem);
  line-height: 1.48;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-promo-popup__highlight {
  padding: 10px 12px;
  border-radius: 15px;
  font-size: clamp(.84rem, 1.6vw, .94rem);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.site-promo-popup__price {
  padding: 10px 12px;
  gap: 8px;
  border-radius: 16px;
}
.site-promo-popup__price strong {
  font-size: clamp(1.18rem, 2.8vw, 1.42rem);
}
.site-promo-popup__price em {
  font-size: .72rem;
  padding: 5px 8px;
}
.site-promo-popup__primary,
.site-promo-popup__secondary {
  padding: 11px 18px;
  min-height: 42px;
  text-align: center;
  line-height: 1.15;
}
.site-promo-popup__dismiss {
  padding-top: 2px;
}
.site-promo-popup__close {
  top: clamp(10px, 2vh, 16px);
  right: clamp(10px, 2vh, 16px);
  width: clamp(36px, 7vw, 44px);
  height: clamp(36px, 7vw, 44px);
}
.site-promo-popup__corner-label {
  top: clamp(12px, 3vw, 22px);
  left: clamp(12px, 3vw, 22px);
  max-width: calc(100% - 72px);
  white-space: normal;
  line-height: 1.2;
  padding: 7px 11px;
  font-size: clamp(.66rem, 1.5vw, .78rem);
}
.hbh-consent-panel {
  inset: auto clamp(8px, 2vw, 18px) clamp(8px, 2vh, 18px);
  max-height: calc(100dvh - 16px);
}
.hbh-consent-card {
  max-height: calc(100dvh - 20px);
  overflow: hidden;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: clamp(10px, 1.8vw, 16px);
  padding: clamp(12px, 2vw, 16px);
  border-radius: clamp(18px, 2.5vw, 24px);
}
.hbh-consent-copy p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hbh-consent-options {
  margin-top: 8px;
  gap: 6px 12px;
}
.hbh-consent-actions .btn {
  padding: 9px 14px;
  min-height: 40px;
}
.hbh-lead-capture {
  max-height: calc(100dvh - 28px);
  overflow: hidden;
  padding: clamp(14px, 2.6vh, 18px);
  border-radius: clamp(20px, 4vw, 26px);
}
.hbh-lead-capture h3 {
  font-size: clamp(1.02rem, 3.6vw, 1.2rem);
}
.hbh-lead-capture p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}
.hbh-lead-field {
  gap: 3px;
  margin-bottom: 7px;
}
.hbh-lead-field input,
.hbh-lead-field select {
  padding: 8px 10px;
  min-height: 38px;
}
.hbh-lead-preferences {
  gap: 5px;
  margin: 6px 0;
}
.hbh-lead-preferences label,
.hbh-lead-consent {
  font-size: .76rem;
  line-height: 1.3;
}
@media (max-height: 700px) and (min-width: 761px) {
  .site-promo-popup__dialog {
    width: min(820px, calc(100vw - 20px));
    grid-template-columns: minmax(210px, .72fr) minmax(0, 1.28fr);
  }
  .site-promo-popup__visual,
  .site-promo-popup__visual img,
  .site-promo-popup__visual-fallback {
    min-height: calc(100dvh - 36px);
  }
  .site-promo-popup__content {
    padding: 22px 30px 20px;
    gap: 8px;
  }
  .site-promo-popup__content h2 {
    font-size: clamp(1.35rem, 4.2vh, 2.2rem);
  }
  .site-promo-popup__content p,
  .site-promo-popup__highlight {
    -webkit-line-clamp: 2;
  }
  .site-promo-popup__primary,
  .site-promo-popup__secondary {
    padding: 10px 15px;
    min-height: 39px;
  }
}
@media (max-width: 760px) {
  .site-promo-popup {
    padding: 8px;
    align-items: center;
  }
  .site-promo-popup__dialog {
    width: calc(100vw - 16px);
    max-height: calc(100dvh - 16px);
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, auto);
    overflow: hidden;
    border-radius: 22px;
  }
  .site-promo-popup__visual,
  .site-promo-popup__visual img,
  .site-promo-popup__visual-fallback {
    min-height: clamp(112px, 24dvh, 180px);
    max-height: 24dvh;
  }
  .site-promo-popup__visual:after {
    inset: 14px;
    border-radius: 18px;
  }
  .site-promo-popup__visual-fallback {
    gap: 8px;
  }
  .site-promo-popup__visual-fallback i {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 1.5rem;
  }
  .site-promo-popup__visual-fallback span {
    font-size: 1.55rem;
  }
  .site-promo-popup__content {
    padding: 18px 16px 14px;
    gap: 7px;
  }
  .site-promo-popup__content h2 {
    font-size: clamp(1.35rem, 7vw, 1.9rem);
    -webkit-line-clamp: 2;
  }
  .site-promo-popup__content p {
    -webkit-line-clamp: 2;
  }
  .site-promo-popup__highlight {
    -webkit-line-clamp: 1;
    padding: 9px 10px;
  }
  .site-promo-popup__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .site-promo-popup__primary,
  .site-promo-popup__secondary {
    width: 100%;
    padding: 10px 14px;
    min-height: 38px;
  }
  .site-promo-popup__dismiss {
    width: 100%;
    text-align: center;
    padding-top: 0;
  }
  .hbh-consent-card {
    grid-template-columns: 1fr;
    gap: 9px;
  }
  .hbh-consent-icon {
    display: none;
  }
  .hbh-consent-copy h3 {
    font-size: 1.02rem;
  }
  .hbh-consent-copy p {
    -webkit-line-clamp: 2;
    font-size: .86rem;
  }
  .hbh-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
  }
  .hbh-consent-actions .btn {
    width: 100%;
    padding: 8px 12px;
    min-height: 38px;
  }
  .hbh-lead-capture {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
    max-height: calc(100dvh - 20px);
    padding: 14px;
  }
}
@media (max-height: 590px), (max-width: 420px) {
  .site-promo-popup__visual {
    display: none;
  }
  .site-promo-popup__dialog {
    grid-template-columns: 1fr;
  }
  .site-promo-popup__content {
    padding: 18px 16px 14px;
  }
  .site-promo-popup__content h2 {
    font-size: clamp(1.22rem, 6vw, 1.65rem);
  }
  .site-promo-popup__content p,
  .site-promo-popup__highlight {
    -webkit-line-clamp: 2;
  }
  .site-promo-popup__badge,
  .site-promo-popup__type {
    font-size: .68rem;
  }
  .site-promo-popup__price {
    padding: 8px 10px;
  }
  .site-promo-popup__price strong {
    font-size: 1.12rem;
  }
  .hbh-lead-preferences {
    grid-template-columns: 1fr;
  }
}
