* {
  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: 24px;
  align-items: center;
}
.image-stack img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 30px;
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-md);
  background: #eef3f8;
}
.image-stack img:first-child {
  aspect-ratio: 16 / 9;
  object-position: center center;
}
.image-stack img:nth-child(2) {
  aspect-ratio: 2 / 3;
  object-position: center top;
}
.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; }
.purpose-image-frame {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 24px;
  overflow: hidden;
  background: #eef3f8;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}
.purpose-image-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.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;
  }
}

/* Technical SEO image improvements: keep CMS image paths crawlable while preserving the existing card design. */
.course-img img,
.signature-img img,
.ad-offer-image img,
.media-video-placeholder img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.course-img,
.signature-img,
.ad-offer-image,
.media-video-placeholder {
  overflow: hidden;
}
.media-video-placeholder img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.media-video-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(2,6,23,.25), rgba(2,6,23,.78));
}
.media-video-placeholder > *:not(img) {
  position: relative;
  z-index: 2;
}


/* Enhanced email campaign admin cards */
.admin-template-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.admin-template-card {
  border: 1px solid rgba(28, 77, 141, .12);
  box-shadow: 0 12px 28px rgba(16, 36, 58, .06);
}
.admin-template-card:hover {
  transform: translateY(-2px);
  border-color: rgba(185, 138, 61, .35);
}
.admin-template-card span {
  line-height: 1.55;
}

/* HUMAN RESOURCE ASSISTANT MODULE */
.hr-hero{position:relative;overflow:hidden;padding:120px 0 70px;background:linear-gradient(135deg,#0d243d 0%,#174b78 55%,#1682bb 100%);color:#fff}.hr-hero:before{content:"";position:absolute;inset:auto -80px -160px auto;width:420px;height:420px;border-radius:50%;background:rgba(194,208,153,.22);filter:blur(10px)}.hr-hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:34px;align-items:center}.hr-hero h1{color:#fff;font-size:clamp(2.3rem,5vw,4.7rem);line-height:1;margin:18px 0}.hr-hero p{color:rgba(255,255,255,.88);font-size:1.08rem;line-height:1.8;max-width:780px}.hr-standards-card{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.24);border-radius:30px;padding:30px;box-shadow:0 25px 70px rgba(0,0,0,.16);backdrop-filter:blur(16px)}.hr-standards-card h3{color:#fff;margin:0 0 16px}.hr-standards-card ul{list-style:none;padding:0;margin:0;display:grid;gap:14px}.hr-standards-card li{display:flex;gap:10px;align-items:flex-start;color:rgba(255,255,255,.9);font-weight:750}.hr-standards-card i{color:#c2d099;margin-top:3px}.hr-assistant-section{background:#f5f8fc}.hr-assistant-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:26px;align-items:start}.hr-chat-card,.hr-info-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:28px;box-shadow:0 18px 48px rgba(15,23,42,.07)}.hr-chat-card{overflow:hidden}.hr-chat-head{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:22px 24px;background:linear-gradient(135deg,#10243a,#1c4d8d);color:#fff}.hr-chat-head strong{display:block;font-size:1.15rem}.hr-chat-head span{display:block;color:rgba(255,255,255,.78);font-size:.92rem;margin-top:2px}.hr-chat-head i{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:rgba(255,255,255,.14)}.hr-chat-log{height:440px;overflow:auto;padding:22px;background:linear-gradient(180deg,#f8fbff,#fff);display:flex;flex-direction:column;gap:12px}.hr-message{max-width:88%;border-radius:20px;padding:14px 16px;line-height:1.65;white-space:pre-line;box-shadow:0 10px 24px rgba(15,23,42,.05)}.hr-message.bot{align-self:flex-start;background:#fff;border:1px solid rgba(15,23,42,.08);color:#20304d}.hr-message.user{align-self:flex-end;background:#1c4d8d;color:#fff}.hr-message.typing{font-style:italic;color:#64748b}.hr-chat-actions{display:flex;gap:10px;flex-wrap:wrap}.hr-chat-actions a{display:inline-flex;text-decoration:none;border-radius:999px;padding:8px 12px;background:#edf7ff;color:#0b73ba;font-weight:850}.hr-chat-form{padding:22px;display:grid;gap:14px;border-top:1px solid rgba(15,23,42,.08)}.hr-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.hr-chat-form input,.hr-chat-form textarea{width:100%;border:1px solid rgba(15,23,42,.14);border-radius:16px;padding:13px 14px;font:inherit;background:#fff;color:#10203f;outline:none}.hr-chat-form input:focus,.hr-chat-form textarea:focus{border-color:#1591dc;box-shadow:0 0 0 4px rgba(21,145,220,.11)}.hr-chat-form small{color:#64748b}.hr-info-card{padding:26px;position:sticky;top:100px}.hr-info-card h2{margin:0 0 14px;color:#10203f}.hr-info-card p{color:#64748b;line-height:1.75}.hr-topic-list{display:grid;gap:10px;margin:16px 0}.hr-topic-list button{border:1px solid rgba(21,145,220,.18);background:#f7fbff;border-radius:16px;padding:13px 14px;text-align:left;color:#10203f;font-weight:850;cursor:pointer}.hr-topic-list button:hover{background:#edf7ff;color:#0b73ba}.hr-floating-assistant{position:fixed;right:22px;bottom:92px;z-index:80;display:inline-flex;align-items:center;gap:9px;background:linear-gradient(135deg,#10243a,#1c4d8d);color:#fff;text-decoration:none;border-radius:999px;padding:13px 17px;font-weight:900;box-shadow:0 16px 40px rgba(16,36,58,.22);border:1px solid rgba(255,255,255,.25)}.hr-floating-assistant i{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.16)}.hr-floating-assistant:hover{transform:translateY(-2px);color:#fff}.hr-admin-hero{background:linear-gradient(135deg,#0e2034,#183755)}
@media(max-width:960px){.hr-hero-grid,.hr-assistant-layout{grid-template-columns:1fr}.hr-info-card{position:relative;top:auto}.hr-contact-grid{grid-template-columns:1fr}.hr-floating-assistant span{display:none}.hr-floating-assistant{right:16px;bottom:86px;padding:12px}.hr-chat-log{height:380px}}
@media(max-width:560px){.hr-hero{padding:90px 0 50px}.hr-standards-card,.hr-chat-card,.hr-info-card{border-radius:22px}.hr-chat-head,.hr-chat-form,.hr-info-card{padding:18px}.hr-message{max-width:96%}}

/* HR Assistant admin visibility controls */
.admin-card-soft.hr-toggle-box{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid rgba(15,23,42,.08);background:linear-gradient(135deg,#f8fbff,#eef7ff);border-radius:20px;padding:18px 20px;margin-bottom:16px}
.admin-card-soft.hr-toggle-box strong{display:block;color:#10203f;font-size:1rem;margin-bottom:4px}
.admin-card-soft.hr-toggle-box span{display:block;color:#64748b;line-height:1.55}
.admin-switch{display:inline-flex;align-items:center;gap:10px;cursor:pointer;white-space:nowrap;font-weight:900;color:#10203f}
.admin-switch input[type="checkbox"],.admin-switch input[type="hidden"]{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.admin-switch > span{width:58px;height:30px;border-radius:999px;background:#cbd5e1;position:relative;transition:.2s ease;box-shadow:inset 0 0 0 1px rgba(15,23,42,.08)}
.admin-switch > span:before{content:"";position:absolute;width:24px;height:24px;border-radius:50%;top:3px;left:4px;background:#fff;box-shadow:0 4px 10px rgba(15,23,42,.22);transition:.2s ease}
.admin-switch input[type="checkbox"]:checked + span{background:#1591dc}
.admin-switch input[type="checkbox"]:checked + span:before{transform:translateX(26px)}
.admin-switch em{font-style:normal;color:#334155}
.admin-badge{display:inline-flex;align-items:center;gap:7px;border-radius:999px;padding:7px 11px;font-size:.82rem;font-weight:900;background:#eef2ff;color:#263d80;border:1px solid rgba(38,61,128,.14)}
.admin-badge-success{background:#ecfdf5;color:#047857;border-color:rgba(4,120,87,.16)}
.admin-badge-danger{background:#fff1f2;color:#be123c;border-color:rgba(190,18,60,.18)}
.hr-disabled-hero{background:linear-gradient(135deg,#253449,#42516a)}
@media(max-width:760px){.admin-card-soft.hr-toggle-box{align-items:flex-start;flex-direction:column}.admin-switch{width:100%;justify-content:space-between}}


/* Index and Contact image frame fitting update: fill frames cleanly without shrinking or distorting uploaded images. */
.hero-image,
.contact-grid .info-card {
  overflow: hidden;
}
.hero-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 40px;
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  box-shadow: var(--shadow-md);
}
.hero-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
.contact-grid .info-card img {
  width: 100%;
  max-width: none;
  height: clamp(280px, 38vw, 460px);
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 30px;
  margin: 24px 0;
  box-shadow: 0 18px 42px rgba(28, 77, 141, .12);
}
.limited-promo-card img,
.limited-promo-image-fallback {
  width: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 900px) {
  .hero-image {
    max-width: 760px;
    margin: 0 auto;
    aspect-ratio: 16 / 11;
  }
  .contact-grid .info-card img {
    height: clamp(260px, 58vw, 420px);
  }
}
@media (max-width: 560px) {
  .hero-image {
    border-radius: 28px;
    aspect-ratio: 1 / 1;
  }
  .contact-grid .info-card img {
    height: 300px;
    border-radius: 24px;
  }
}

/* Index page portrait image frame update: 4:6 ratio, full-frame crop, no shrinking or distortion.
   Scoped to homepage hero and limited promo only. Signature course cards and Books page keep their original layout. */
.page-home .hero-image {
  aspect-ratio: 4 / 6;
  width: min(100%, 520px);
  max-width: 520px;
  min-height: 0;
  justify-self: center;
  align-self: center;
  overflow: hidden;
  border-radius: 42px;
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  box-shadow: var(--shadow-md);
}
.page-home .hero-image img {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
}
.page-home .limited-promo-media {
  aspect-ratio: 4 / 6;
  min-height: 0;
  overflow: hidden;
}
.page-home .limited-promo-media img,
.page-home .limited-promo-image-fallback {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  object-position: center top;
}
@media (max-width: 900px) {
  .page-home .hero-image {
    width: min(100%, 440px);
    max-width: 440px;
    aspect-ratio: 4 / 6;
  }
}
@media (max-width: 560px) {
  .page-home .hero-image,
  .page-home .limited-promo-media {
    aspect-ratio: 4 / 6;
    border-radius: 28px;
  }
}

/* Dual Ghana/Nigeria promotional price display */
.dual-price-pair {
  display: inline-flex;
  align-items: stretch;
  gap: 8px;
  flex-wrap: wrap;
  vertical-align: middle;
}

.dual-price-amount {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 112px;
  padding: 8px 11px;
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, .08);
  background: linear-gradient(135deg, #ffffff, #f7fbff);
  box-shadow: 0 10px 24px rgba(15, 23, 42, .07);
}

.dual-price-amount small {
  display: block;
  color: #64748b;
  font-size: .62rem;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}

.dual-price-amount b {
  display: block;
  color: #10203f;
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.05;
  font-weight: 950;
  white-space: nowrap;
}

.dual-price-ngn {
  background: linear-gradient(135deg, #fffaf0, #ffffff);
  border-color: rgba(154, 107, 30, .16);
}

.dual-price-pair.is-old {
  opacity: .78;
}

.dual-price-pair.is-old .dual-price-amount {
  background: #f8fafc;
  box-shadow: none;
}

.dual-price-pair.is-old .dual-price-amount b {
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
}

.catalog-price-row .dual-price-pair span,
.detail-price-card .dual-price-pair span,
.ad-price-row .dual-price-pair span,
.limited-promo-price-row .dual-price-pair span,
.limited-promo-new-price .dual-price-pair span,
.limited-promo-old-price .dual-price-pair span {
  color: inherit;
  font-weight: inherit;
  text-decoration: none !important;
}

.catalog-price-row .dual-price-pair.is-current .dual-price-amount b {
  font-size: 1.12rem;
}

.detail-price-card .dual-price-pair.is-current .dual-price-amount b {
  font-size: 1.35rem;
}

.ad-price-row .dual-price-pair.is-current .dual-price-amount b {
  font-size: 1.18rem;
}

.ad-price-row.compact .dual-price-amount {
  min-width: 102px;
  padding: 7px 9px;
}

.ad-price-row.compact .dual-price-pair.is-current .dual-price-amount b {
  font-size: 1rem;
}

.limited-promo-new-price {
  padding: 10px 14px;
  border-radius: 24px;
}

.limited-promo-new-price .dual-price-pair.is-current .dual-price-amount {
  background: linear-gradient(135deg, #ffffff, #fff1bd);
  border-color: rgba(255, 255, 255, .52);
  min-width: 136px;
}

.limited-promo-new-price .dual-price-pair.is-current .dual-price-amount b {
  font-size: clamp(1.1rem, 3vw, 1.55rem);
}

.limited-promo-old-price {
  text-decoration: none;
}

.limited-promo-old-price .dual-price-amount {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .2);
}

.limited-promo-old-price .dual-price-amount small,
.limited-promo-old-price .dual-price-amount b {
  color: rgba(255, 255, 255, .72);
}

.dual-price-fallback {
  font-weight: 900;
}

@media (max-width: 640px) {
  .dual-price-pair {
    gap: 7px;
  }
  .dual-price-amount {
    min-width: 100px;
    padding: 7px 9px;
  }
  .dual-price-amount b {
    font-size: .92rem;
  }
  .detail-price-card .dual-price-pair.is-current .dual-price-amount b,
  .ad-price-row .dual-price-pair.is-current .dual-price-amount b {
    font-size: 1rem;
  }
}

/* Promo dual-currency correction: keep only regular/old prices struck through.
   Previous generic price-row span rules were striking the current promo amounts too. */
.catalog-price-row .dual-price-pair,
.detail-price-card .dual-price-pair,
.ad-price-row .dual-price-pair,
.limited-promo-price-row .dual-price-pair,
.limited-promo-new-price .dual-price-pair,
.limited-promo-old-price .dual-price-pair,
.promo-price-row .dual-price-pair,
.promo-price-card .dual-price-pair,
.catalog-price-row .dual-price-amount,
.detail-price-card .dual-price-amount,
.ad-price-row .dual-price-amount,
.limited-promo-price-row .dual-price-amount,
.limited-promo-new-price .dual-price-amount,
.limited-promo-old-price .dual-price-amount,
.promo-price-row .dual-price-amount,
.promo-price-card .dual-price-amount,
.catalog-price-row .dual-price-amount small,
.detail-price-card .dual-price-amount small,
.ad-price-row .dual-price-amount small,
.limited-promo-price-row .dual-price-amount small,
.limited-promo-new-price .dual-price-amount small,
.limited-promo-old-price .dual-price-amount small,
.promo-price-row .dual-price-amount small,
.promo-price-card .dual-price-amount small,
.catalog-price-row .dual-price-pair.is-current .dual-price-amount b,
.detail-price-card .dual-price-pair.is-current .dual-price-amount b,
.ad-price-row .dual-price-pair.is-current .dual-price-amount b,
.limited-promo-price-row .dual-price-pair.is-current .dual-price-amount b,
.limited-promo-new-price .dual-price-pair.is-current .dual-price-amount b,
.limited-promo-old-price .dual-price-pair.is-current .dual-price-amount b,
.promo-price-row .dual-price-pair.is-current .dual-price-amount b,
.promo-price-card .dual-price-pair.is-current .dual-price-amount b {
  text-decoration: none !important;
}

.catalog-price-row .dual-price-pair.is-old .dual-price-amount b,
.detail-price-card .dual-price-pair.is-old .dual-price-amount b,
.ad-price-row .dual-price-pair.is-old .dual-price-amount b,
.limited-promo-price-row .dual-price-pair.is-old .dual-price-amount b,
.limited-promo-new-price .dual-price-pair.is-old .dual-price-amount b,
.limited-promo-old-price .dual-price-pair.is-old .dual-price-amount b,
.promo-price-row .dual-price-pair.is-old .dual-price-amount b,
.promo-price-card .dual-price-pair.is-old .dual-price-amount b {
  text-decoration: line-through !important;
  text-decoration-thickness: 2px;
}

/* SEO link and GEO answer improvements */
.seo-link-hub,
.related-learning,
.geo-faq-section {
  padding: 68px 0;
  background: #fff;
}
.seo-link-hub:nth-of-type(even),
.related-learning:nth-of-type(even),
.geo-faq-section:nth-of-type(even) {
  background: var(--bg-light);
}
.seo-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(21,145,220,.1);
  color: #0b73ba;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.seo-link-grid,
.related-learning-grid,
.geo-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.seo-link-card,
.related-learning-card,
.geo-faq-card {
  display: block;
  height: 100%;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 24px;
  background: #fff;
  padding: 22px;
  box-shadow: 0 16px 38px rgba(15,23,42,.06);
}
.seo-link-card,
.related-learning-card {
  text-decoration: none;
  color: var(--text-body);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.seo-link-card:hover,
.related-learning-card:hover {
  transform: translateY(-4px);
  border-color: rgba(21,145,220,.28);
  box-shadow: 0 22px 54px rgba(15,23,42,.1);
}
.seo-link-card strong,
.related-learning-card strong,
.geo-faq-card h3 {
  display: block;
  color: var(--text-dark);
  font-size: 1.04rem;
  line-height: 1.35;
  margin-bottom: 9px;
}
.seo-link-card span,
.related-learning-card p,
.geo-faq-card p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}
.seo-link-card em {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: #0b73ba;
  font-style: normal;
  font-weight: 900;
}
.related-learning-card > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: #edf7ff;
  color: #0b73ba;
  padding: 6px 10px;
  font-size: .78rem;
  font-weight: 900;
  margin-bottom: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.article-next-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.footer-resource-clusters {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}
.footer-resource-clusters a {
  color: rgba(255,255,255,.8);
  text-decoration: none;
  font-weight: 800;
}
.footer-resource-clusters a:hover { color: #fff; }
@media (max-width: 680px) {
  .seo-link-hub,
  .related-learning,
  .geo-faq-section { padding: 48px 0; }
  .article-next-actions .btn { width: 100%; justify-content: center; }
}

/* SEO/local-contact refinements */
.footer-local-contact{display:grid;gap:10px;margin-top:18px;color:rgba(255,255,255,.82);font-size:.94rem;line-height:1.55}
.footer-local-contact div{display:flex;align-items:flex-start;gap:10px}
.footer-local-contact i{margin-top:4px;color:var(--secondary,#f2b84b);min-width:18px;text-align:center}
.footer-local-contact a{color:inherit;text-decoration:none;font-weight:700}
.footer-local-contact a:hover{text-decoration:underline}
.footer-phone-divider{color:rgba(255,255,255,.58);margin:0 4px}
.home-seo-focus{padding:52px 0;background:linear-gradient(180deg,#ffffff 0%,#f7fbff 100%)}
.home-seo-focus-card{border:1px solid rgba(28,77,141,.12);background:#fff;border-radius:28px;padding:30px;box-shadow:0 18px 48px rgba(16,36,58,.07)}
.home-seo-focus-card h2{margin:0 0 12px;color:var(--heading-color,#10243a)}
.home-seo-focus-card p{margin:0;color:var(--text-muted,#526071);line-height:1.8;max-width:980px}
.home-seo-keywords{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}
.home-seo-keywords a{display:inline-flex;padding:9px 13px;border-radius:999px;background:#f0f7ff;color:#124b8f;text-decoration:none;font-weight:800;font-size:.88rem;border:1px solid #d7eafd}
.home-seo-keywords a:hover{background:#124b8f;color:#fff}
.local-seo-contact-strip{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.local-seo-contact-strip span,.local-seo-contact-strip a{display:inline-flex;align-items:center;gap:8px;padding:9px 12px;border-radius:999px;background:#fff7e8;color:#7a5209;text-decoration:none;font-weight:800;border:1px solid #ffe0a6}
@media(max-width:700px){.home-seo-focus-card{padding:24px 18px}.footer-local-contact{font-size:.9rem}}

/* Report-fix utility classes: remove inline styling from public homepage */
.hero-intro-text{font-size:1.2rem;margin-bottom:30px}
.hero-actions{display:flex;gap:20px;flex-wrap:wrap}
.btn-icon-right{margin-left:8px}
.hero-stat-number{font-size:1.5rem}
.section-pad-lg{padding:70px 0}
.section-pad-md{padding:60px 0}
.btn-spaced-top{margin-top:30px}
.btn-card-full{margin-top:15px;width:100%;text-align:center;justify-content:center}
.why-choose-section{background:#fef7f9;padding:70px 0}
.why-choose-container{max-width:900px}
.section-heading-centered{text-align:center;margin-bottom:40px}
.section-intro-centered{text-align:center;margin-bottom:50px;font-size:1.1rem}
.why-card-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:30px}
.why-card{background:#fff;padding:25px;border-radius:24px;box-shadow:var(--shadow-sm)}
.why-card i{font-size:2rem;color:var(--primary);margin-bottom:15px}
.why-card p{color:var(--text-muted)}
.section-action-centered{text-align:center;margin-top:40px}
.faq-heading-row{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:40px}
.footer-local-contact{font-style:normal}
.footer-local-contact strong,.local-seo-contact-strip strong{font-weight:900}

/* Contact page report fixes */
.contact-top-section{padding-top:40px}
.contact-page-message{text-align:center;margin-bottom:20px}
.form-card h2{font-size:2.2rem;margin-bottom:10px}
.form-card > p{margin-bottom:30px;color:var(--text-muted)}
.form-label-block{font-weight:600;display:block;margin-bottom:10px}
.contact-support-cta > div{text-align:left}
.contact-support-cta > div > div{font-size:.9rem;color:var(--text-muted)}
.contact-location-section{background:var(--bg-light)}
.location-card h5 i{color:var(--primary)}
.compact-field{margin-bottom:15px}
.contact-message-box{width:100%;padding:14px 20px;border:1px solid var(--border-light);border-radius:20px;font-family:var(--font-body);font-size:1rem;background:#fafafa;resize:vertical}
.quick-enquiry-note{font-size:.85rem;color:var(--text-muted);margin-top:12px}


/* Detail page asset-path and layout refinements */
.detail-content-container {
  max-width: 900px;
}
.detail-hero-image {
  height: 420px;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  margin-bottom: 35px;
  overflow: hidden;
}
.detail-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-meta-row {
  justify-content: flex-start;
  gap: 25px;
  margin-bottom: 25px;
}
.detail-lead-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}
.detail-body-content {
  font-size: 1.1rem;
  line-height: 1.9;
}
.auth-card-narrow {
  max-width: 520px;
}
.auth-login-extra-centered {
  justify-content: center;
  gap: 20px;
}
.auth-muted-text {
  color: var(--text-muted);
}
.auth-message-error {
  color: #e74c3c;
  font-weight: 600;
}
.auth-message-success {
  color: var(--primary);
  font-weight: 600;
}
@media (max-width: 768px) {
  .detail-hero-image {
    height: 300px;
  }
}

/* Professional detail-page bulletin / enrolment action update */
.auth-gate-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.auth-gate-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(21,145,220,.18);
}
.auth-gate-actions a.auth-gate-secondary {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid rgba(28, 77, 141, .16);
  box-shadow: none;
}
.learning-detail-copy h4 {
  margin-top: 26px;
  margin-bottom: 14px;
  color: #10203f;
  font-size: 1.12rem;
}
.detail-bullet-list,
.detail-content-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 26px;
  display: grid;
  gap: 12px;
}
.learning-feature-list {
  background: linear-gradient(135deg, rgba(247,251,255,.96), #fff);
  border: 1px solid rgba(21,145,220,.13);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, .055);
}
.detail-bullet-list li,
.detail-content-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 42px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, .06);
  color: #314158;
  font-weight: 700;
  line-height: 1.65;
}
.detail-bullet-list li i,
.learning-feature-list li i {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(21,145,220,.10);
  color: var(--primary);
  margin-top: 2px;
  font-size: .9rem;
}
.detail-content-list li::before {
  content: '';
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
  margin-top: 10px;
  box-shadow: 0 0 0 6px rgba(21,145,220,.10);
}
.detail-number-list {
  counter-reset: detail-number;
}
.detail-number-list li {
  counter-increment: detail-number;
}
.detail-number-list li::before {
  content: counter(detail-number);
  width: 28px;
  height: 28px;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: .82rem;
  font-weight: 900;
  box-shadow: none;
}
.detail-body-content p {
  margin: 0 0 18px;
  color: #314158;
}
.detail-body-content .detail-content-list {
  margin: 18px 0 24px;
}
@media (max-width: 640px) {
  .auth-gate-actions { width: 100%; display: grid; grid-template-columns: 1fr; }
  .auth-gate-actions a { width: 100%; }
  .learning-feature-list { padding: 14px; border-radius: 20px; }
  .detail-bullet-list li,
  .detail-content-list li { padding: 11px 12px; }
}

/* Mobile footer navigation: three categorized columns */
.footer-nav-links.footer-nav-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.footer-link-column {
  min-width: 0;
}
.footer-link-column h5 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer-link-list {
  display: grid;
  gap: 9px;
}
.footer-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  line-height: 1.25;
}
.footer-link-list a:hover,
.footer-link-list a:focus-visible {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.20);
  outline: none;
}
@media (max-width: 780px) {
  .footer-links-block {
    width: 100%;
  }
  .footer-nav-links.footer-nav-columns {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 9px;
  }
  .footer-link-column {
    border-radius: 16px;
    padding: 10px 8px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.08);
  }
  .footer-link-column h5 {
    min-height: 2.2em;
    margin-bottom: 8px;
    font-size: .68rem;
    line-height: 1.1;
    text-align: center;
  }
  .footer-link-list {
    gap: 7px;
  }
  .footer-link-list a {
    justify-content: center;
    text-align: center;
    min-height: 38px;
    padding: 8px 6px;
    border-radius: 12px;
    font-size: .74rem;
    font-weight: 800;
    word-break: normal;
    overflow-wrap: anywhere;
  }
  .footer-link-list a:hover {
    transform: none;
  }
}
@media (max-width: 380px) {
  .footer-nav-links.footer-nav-columns {
    gap: 6px;
  }
  .footer-link-column {
    padding: 8px 5px;
  }
  .footer-link-list a {
    min-height: 36px;
    padding: 7px 4px;
    font-size: .68rem;
  }
}


/* Forced About page Who We Are frame update - landscape + portrait image fit */
.about-who-section .about-who-grid {
  align-items: center !important;
}
.about-who-section .about-who-image-stack {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: center !important;
  width: 100% !important;
}
.about-who-section .about-who-image-stack img {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  object-fit: cover !important;
  border-radius: 30px !important;
  box-shadow: var(--shadow-md) !important;
  background: #eef3f8 !important;
}
.about-who-section .about-who-image-stack .who-frame-left {
  aspect-ratio: 16 / 9 !important;
  height: clamp(190px, 22vw, 235px) !important;
  min-height: 190px !important;
  object-position: center center !important;
}
.about-who-section .about-who-image-stack .who-frame-right {
  aspect-ratio: 2 / 3 !important;
  height: clamp(460px, 43vw, 545px) !important;
  min-height: 460px !important;
  object-position: center top !important;
}
@media (max-width: 900px) {
  .about-who-section .about-who-image-stack {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
  }
  .about-who-section .about-who-image-stack .who-frame-left {
    height: clamp(145px, 28vw, 220px) !important;
    min-height: 145px !important;
  }
  .about-who-section .about-who-image-stack .who-frame-right {
    height: clamp(280px, 58vw, 460px) !important;
    min-height: 280px !important;
  }
}
@media (max-width: 560px) {
  .about-who-section .about-who-image-stack {
    grid-template-columns: 1fr !important;
  }
  .about-who-section .about-who-image-stack .who-frame-left,
  .about-who-section .about-who-image-stack .who-frame-right {
    height: auto !important;
    min-height: 0 !important;
  }
  .about-who-section .about-who-image-stack .who-frame-left { aspect-ratio: 16 / 9 !important; }
  .about-who-section .about-who-image-stack .who-frame-right { aspect-ratio: 4 / 5 !important; }
}

/* Backlink / Partner resource page */
.partner-page .partner-hero-section,
.partner-links-section,
.partner-snippet-section,
.partner-share-section,
.partner-faq-section{padding:70px 0}.partner-hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(300px,.85fr);gap:32px;align-items:center}.partner-hero-copy h2{font-size:clamp(2rem,4vw,4rem);line-height:1.03;margin:12px 0 18px}.partner-hero-copy p{font-size:1.08rem;line-height:1.75;color:var(--text-muted,#5b6472);max-width:760px}.partner-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.partner-summary-card,.partner-link-card,.partner-snippet-card,.partner-share-card,.partner-check-grid>div{background:#fff;border:1px solid rgba(15,23,42,.1);box-shadow:0 20px 55px rgba(15,23,42,.08);border-radius:24px}.partner-summary-card{padding:28px}.partner-summary-card h3{margin:0 0 12px;font-size:1.35rem}.partner-summary-card p{line-height:1.7;color:#4b5563}.partner-summary-card dl{margin:20px 0 0;display:grid;gap:12px}.partner-summary-card dl>div{border-top:1px solid #eef2f7;padding-top:12px}.partner-summary-card dt{font-weight:800;color:#0f172a}.partner-summary-card dd{margin:4px 0 0;color:#5b6472}.partner-link-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}.partner-link-card{padding:22px}.partner-link-card h3{margin:0 0 8px;font-size:1.1rem}.partner-link-card p{color:#5b6472;line-height:1.65}.partner-link-card code{display:block;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:12px;padding:10px;margin:14px 0;white-space:normal;word-break:break-word;font-size:.84rem}.partner-link-card a{font-weight:800;text-decoration:none}.partner-snippet-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.partner-snippet-card{padding:28px}.partner-snippet-card h2{margin-top:0}.partner-check-list{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:10px}.partner-check-list li{position:relative;padding-left:30px;color:#374151;line-height:1.55}.partner-check-list li:before{content:'✓';position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;background:#1C4D8D;color:#fff;display:grid;place-items:center;font-size:.75rem;font-weight:800}.partner-share-card{padding:28px;display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:center;background:linear-gradient(135deg,#ffffff,#f8fbff)}.partner-share-card h2{margin:8px 0 10px}.partner-share-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.partner-share-actions a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:48px;border-radius:999px;text-decoration:none;font-weight:800;border:1px solid rgba(28,77,141,.18);background:#fff;color:#1C4D8D}.partner-check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}.partner-check-grid>div{padding:22px;display:grid;gap:10px}.partner-check-grid i{font-size:1.8rem;color:#1C4D8D}.partner-check-grid strong{font-size:1.05rem}.partner-check-grid span{color:#5b6472;line-height:1.6}@media(max-width:800px){.partner-page .partner-hero-section,.partner-links-section,.partner-snippet-section,.partner-share-section,.partner-faq-section{padding:42px 0}.partner-hero-grid,.partner-snippet-grid,.partner-share-card{grid-template-columns:1fr}.partner-share-actions{grid-template-columns:1fr}.partner-summary-card,.partner-snippet-card,.partner-share-card{padding:22px}}


/* Footer logo frame fit correction */
.footer .footer-logo.footer-logo-frame {
  width: 186px !important;
  min-width: 186px !important;
  height: 82px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 10px 14px !important;
  border-radius: 22px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22) !important;
  overflow: hidden !important;
}
.footer .footer-logo.footer-logo-frame img,
.footer .footer-logo.footer-logo-frame .footer-brand-logo-img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  display: block !important;
  object-fit: contain !important;
  object-position: center center !important;
  filter: brightness(0) invert(1) !important;
  transform: none !important;
  opacity: 1 !important;
  border-radius: 0 !important;
}
.footer .footer-logo.footer-logo-frame .footer-wordmark {
  width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
  align-items: center !important;
  text-align: center !important;
}
@media (max-width: 780px) {
  .footer .footer-logo.footer-logo-frame {
    width: 168px !important;
    min-width: 168px !important;
    height: 76px !important;
    margin-bottom: 14px !important;
  }
}


/* Footer logo white/invert effect restoration */
.footer .footer-logo.footer-logo-frame {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}
.footer .footer-logo.footer-logo-frame img,
.footer .footer-logo.footer-logo-frame .footer-brand-logo-img {
  object-fit: contain !important;
  object-position: center center !important;
  filter: brightness(0) invert(1) !important;
}

/* Partners & Collaborators page */
.partners-page .partners-hero-section,
.partners-organizations-section,
.partners-projects-section,
.partners-people-section,
.partners-cta-section {
  padding: 70px 0;
}
.partners-hero-section {
  background: linear-gradient(135deg, #f7fbff 0%, #ffffff 55%, #eef7ff 100%);
  position: relative;
  overflow: hidden;
}
.partners-hero-section::after {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  right: -120px;
  top: -120px;
  background: rgba(21, 145, 220, 0.12);
  pointer-events: none;
}
.partners-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 34px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.partners-hero-copy h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  margin: 12px 0 18px;
  max-width: 860px;
}
.partners-hero-copy p {
  color: var(--text-muted, #5b6472);
  font-size: 1.08rem;
  line-height: 1.78;
  max-width: 820px;
}
.partners-hero-actions,
.partners-cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.partners-impact-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 22px 65px rgba(15, 23, 42, 0.1);
}
.partners-impact-card div {
  display: grid;
  gap: 4px;
  padding: 18px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid rgba(21, 145, 220, 0.12);
}
.partners-impact-card strong {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  color: #1c4d8d;
}
.partners-impact-card span {
  color: #5b6472;
  font-weight: 700;
}
.partners-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}
.partners-card,
.partners-person-card,
.partners-timeline article,
.partners-cta-card {
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  border-radius: 24px;
}
.partners-card {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  padding: 24px;
  height: 100%;
}
.partners-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(21, 145, 220, 0.1);
  color: #1c4d8d;
  font-size: 1.55rem;
}
.partners-type {
  display: inline-flex;
  color: #1c4d8d;
  font-weight: 800;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.partners-card h3,
.partners-person-card h3,
.partners-timeline h3 {
  margin: 0 0 8px;
  color: #0f172a;
}
.partners-card p,
.partners-person-card p,
.partners-timeline p,
.partners-cta-card p,
.partners-projects-grid > div > p {
  color: #5b6472;
  line-height: 1.68;
}
.partners-project {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f8fafc;
  color: #344054;
  line-height: 1.55;
}
.partners-project strong {
  color: #0f172a;
}
.partners-projects-section {
  background: #f8fbff;
}
.partners-projects-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr);
  gap: 30px;
  align-items: start;
}
.partners-projects-grid h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  margin: 12px 0;
}
.partners-timeline {
  display: grid;
  gap: 16px;
}
.partners-timeline article {
  position: relative;
  padding: 22px 24px 22px 30px;
  overflow: hidden;
}
.partners-timeline article::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, #1591dc, #1c4d8d);
}
.partners-timeline span {
  color: #1c4d8d;
  font-weight: 800;
  font-size: 0.9rem;
}
.partners-people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.partners-person-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 22px;
  align-items: start;
}
.partners-person-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1c4d8d, #1591dc);
  color: #ffffff;
  font-weight: 900;
  font-size: 1.35rem;
}
.partners-person-card span {
  display: block;
  color: #1c4d8d;
  font-weight: 800;
  font-size: 0.88rem;
  line-height: 1.45;
}
.partners-cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding: 32px;
  background: linear-gradient(135deg, #ffffff, #f7fbff);
}
.partners-cta-card h2 {
  margin: 10px 0 12px;
}
@media (max-width: 900px) {
  .partners-page .partners-hero-section,
  .partners-organizations-section,
  .partners-projects-section,
  .partners-people-section,
  .partners-cta-section {
    padding: 44px 0;
  }
  .partners-hero-grid,
  .partners-projects-grid,
  .partners-cta-card {
    grid-template-columns: 1fr;
  }
  .partners-card,
  .partners-person-card {
    grid-template-columns: 1fr;
  }
  .partners-card-icon,
  .partners-person-avatar {
    margin-bottom: 2px;
  }
  .partners-cta-actions {
    margin-top: 0;
  }
}

/* LinkedIn-style user professional profile update */
.linkedin-profile-panel {
  padding: 0;
  overflow: hidden;
  background: #f4f7fb;
}
.member-linkedin-card {
  background: #fff;
  border-bottom: 1px solid rgba(15, 23, 42, .08);
}
.member-cover {
  min-height: 220px;
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 22px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(194, 208, 153, .42), transparent 32%),
    radial-gradient(circle at 88% 35%, rgba(21, 145, 220, .40), transparent 34%),
    linear-gradient(135deg, #07152c 0%, #10203f 42%, #1591dc 100%);
}
.member-cover:before,
.member-cover:after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  pointer-events: none;
}
.member-cover:before {
  width: 260px;
  height: 260px;
  left: -70px;
  bottom: -120px;
}
.member-cover:after {
  width: 170px;
  height: 170px;
  right: 90px;
  top: 76px;
  border: 1px solid rgba(255,255,255,.22);
  background: transparent;
}
.member-cover span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 13px;
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  font-weight: 900;
  font-size: .82rem;
  letter-spacing: .03em;
}
.member-intro-block {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  padding: 0 30px 30px;
  margin-top: -76px;
}
.linkedin-avatar {
  width: 154px;
  height: 154px;
  flex-basis: 154px;
  border-width: 6px;
  box-shadow: 0 22px 55px rgba(15,23,42,.22);
  z-index: 2;
}
.member-intro-copy {
  min-width: 0;
  padding-top: 86px;
}
.member-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.member-name-row h2 {
  margin: 0;
  color: #10203f;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}
.member-verified {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 7px 11px;
  font-weight: 900;
  font-size: .82rem;
  white-space: nowrap;
}
.member-verified.is-verified {
  background: #eaf8ef;
  color: #126b31;
}
.member-verified.is-pending {
  background: #fff7ed;
  color: #b45309;
}
.member-headline {
  margin: 8px 0 12px;
  color: #20304d;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.55;
}
.member-meta-row,
.member-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.member-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #64748b;
  font-weight: 750;
  font-size: .93rem;
}
.member-meta-row i {
  color: #1591dc;
}
.member-action-row {
  margin-top: 18px;
}
.member-action-row .btn {
  padding: 11px 15px;
}
.linkedin-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  padding: 22px;
}
.linkedin-main-column,
.linkedin-side-column {
  display: grid;
  gap: 18px;
  align-content: start;
}
.linkedin-section-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(15,23,42,.045);
}
.linkedin-section-card.compact-card {
  padding: 20px;
}
.linkedin-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.linkedin-section-title h3 {
  margin: 0;
  color: #10203f;
  font-size: 1.22rem;
}
.linkedin-section-title a {
  color: #0b73ba;
  font-weight: 900;
  text-decoration: none;
  font-size: .9rem;
}
.linkedin-section-title a:hover {
  text-decoration: underline;
}
.linkedin-section-card p {
  margin: 0;
  color: #475569;
  line-height: 1.78;
}
.featured-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.featured-profile-item {
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-height: 170px;
  border: 1px solid rgba(21,145,220,.13);
  border-radius: 20px;
  padding: 18px;
  color: #10203f;
  background: linear-gradient(135deg, #f7fbff, #fff);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.featured-profile-item:hover {
  transform: translateY(-3px);
  border-color: rgba(21,145,220,.32);
  box-shadow: 0 16px 34px rgba(21,145,220,.10);
}
.featured-profile-item i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(21,145,220,.1);
  color: #1591dc;
}
.featured-profile-item strong {
  color: #10203f;
  font-size: 1rem;
}
.featured-profile-item span {
  color: #64748b;
  line-height: 1.55;
  font-weight: 650;
  font-size: .9rem;
}
.experience-list {
  display: grid;
  gap: 18px;
}
.experience-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 15px;
  align-items: start;
}
.experience-item + .experience-item {
  padding-top: 18px;
  border-top: 1px solid rgba(15,23,42,.08);
}
.experience-logo {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #10203f, #1591dc);
  color: #fff;
  box-shadow: 0 12px 24px rgba(21,145,220,.18);
}
.experience-item h4 {
  margin: 0 0 5px;
  color: #10203f;
  font-size: 1.08rem;
}
.experience-item strong,
.experience-item span {
  display: block;
  color: #64748b;
  font-weight: 800;
  line-height: 1.5;
}
.experience-item span {
  font-size: .88rem;
  color: #8492a6;
}
.experience-item p {
  margin-top: 9px;
}
.profile-activity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.profile-activity-grid div {
  border-radius: 18px;
  background: #f7fbff;
  border: 1px solid rgba(21,145,220,.12);
  padding: 16px;
}
.profile-activity-grid strong {
  display: block;
  color: #10203f;
  font-size: 1.65rem;
  line-height: 1;
}
.profile-activity-grid span {
  display: block;
  color: #64748b;
  margin-top: 7px;
  font-weight: 800;
  font-size: .9rem;
}
.profile-strength-ring {
  width: 148px;
  height: 148px;
  margin: 6px auto 18px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  position: relative;
  background: conic-gradient(#1591dc var(--strength), #e7eef6 0);
}
.profile-strength-ring:before {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: inherit;
  background: #fff;
}
.profile-strength-ring strong,
.profile-strength-ring span {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
}
.profile-strength-ring strong {
  color: #10203f;
  font-size: 1.55rem;
  line-height: 1;
}
.profile-strength-ring span {
  color: #64748b;
  font-weight: 850;
  font-size: .82rem;
  margin-top: 4px;
}
.profile-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.profile-checklist li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #475569;
  font-weight: 800;
  font-size: .92rem;
}
.profile-checklist li i {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: .72rem;
}
.profile-checklist li.done i {
  color: #126b31;
  background: #eaf8ef;
}
.profile-checklist li.pending i {
  color: #b45309;
  background: #fff7ed;
}
.skill-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.skill-chip-cloud span {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 11px;
  background: #edf7ff;
  color: #0b73ba;
  font-weight: 900;
  font-size: .84rem;
}
.profile-contact-list {
  display: grid;
  gap: 11px;
}
.profile-contact-list span {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #475569;
  font-weight: 750;
  line-height: 1.55;
  word-break: break-word;
}
.profile-contact-list i {
  color: #1591dc;
  margin-top: 4px;
}
@media(max-width: 1100px) {
  .linkedin-profile-grid {
    grid-template-columns: 1fr;
  }
  .linkedin-side-column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media(max-width: 800px) {
  .member-cover {
    min-height: 170px;
  }
  .member-intro-block {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 0 20px 24px;
    margin-top: -66px;
  }
  .member-intro-copy {
    padding-top: 0;
  }
  .member-name-row,
  .member-meta-row,
  .member-action-row {
    justify-content: center;
  }
  .linkedin-avatar {
    width: 132px;
    height: 132px;
    flex-basis: 132px;
  }
  .featured-profile-grid,
  .linkedin-side-column {
    grid-template-columns: 1fr;
  }
  .profile-activity-grid {
    grid-template-columns: 1fr;
  }
}
@media(max-width: 520px) {
  .linkedin-profile-grid {
    padding: 14px;
  }
  .linkedin-section-card {
    border-radius: 18px;
    padding: 18px;
  }
  .experience-item {
    grid-template-columns: 1fr;
  }
  .experience-logo {
    width: 46px;
    height: 46px;
  }
  .member-action-row .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Facebook-style user profile page update */
.facebook-profile-panel {
  padding: 0;
  overflow: hidden;
  background: #f0f2f5;
  border: 0;
  box-shadow: none;
}
.fb-profile-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(15,23,42,.08);
}
.fb-cover-photo {
  min-height: 260px;
  position: relative;
  background:
    radial-gradient(circle at 16% 28%, rgba(255,255,255,.24), transparent 26%),
    radial-gradient(circle at 84% 14%, rgba(194,208,153,.24), transparent 28%),
    linear-gradient(135deg, #07152c 0%, #0f376d 42%, #1591dc 100%);
}
.fb-cover-photo:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,21,44,.06), rgba(7,21,44,.48));
}
.fb-cover-overlay {
  position: absolute;
  z-index: 1;
  left: 26px;
  right: 26px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.fb-cover-overlay span,
.fb-cover-edit {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  text-decoration: none;
}
.fb-cover-overlay span {
  color: #fff;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
}
.fb-cover-edit {
  color: #10203f;
  background: rgba(255,255,255,.92);
  box-shadow: 0 10px 24px rgba(15,23,42,.18);
}
.fb-profile-head {
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  gap: 24px;
  align-items: end;
  padding: 0 28px 22px;
  margin-top: -76px;
  position: relative;
  z-index: 2;
}
.fb-avatar-wrap {
  position: relative;
  width: 172px;
  height: 172px;
  flex: 0 0 172px;
}
.facebook-avatar {
  width: 172px;
  height: 172px;
  flex-basis: 172px;
  border: 6px solid #fff;
  font-size: 3.2rem;
  box-shadow: 0 18px 42px rgba(15,23,42,.2);
}
.fb-avatar-camera {
  position: absolute;
  right: 8px;
  bottom: 10px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e4e6eb;
  color: #10203f;
  border: 3px solid #fff;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(15,23,42,.16);
}
.fb-profile-info {
  padding-bottom: 10px;
  min-width: 0;
}
.fb-name-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.fb-name-row h2 {
  margin: 0;
  color: #10203f;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -.035em;
  line-height: 1.04;
}
.fb-verified {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: .82rem;
  font-weight: 900;
}
.fb-verified.is-verified { background: #eaf8ef; color: #126b31; }
.fb-verified.is-pending { background: #fff7ed; color: #b45309; }
.fb-headline {
  color: #334155;
  margin: 8px 0 10px;
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.5;
}
.fb-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 15px;
  color: #64748b;
  font-weight: 750;
  font-size: .92rem;
}
.fb-meta-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.fb-meta-row i { color: #1591dc; }
.fb-profile-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 10px;
}
.fb-profile-actions .btn,
.fb-composer-actions a,
.fb-post-actions a,
.fb-quick-links a {
  text-decoration: none;
}
.fb-profile-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  border-top: 1px solid rgba(15,23,42,.08);
  padding: 0 22px;
  background: #fff;
}
.fb-profile-tabs a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 17px 14px;
  color: #64748b;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.fb-profile-tabs a:hover { color: #0b73ba; background: #f7fbff; }
.fb-profile-tabs a.active { color: #0b73ba; }
.fb-profile-tabs a.active:after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: #1591dc;
}
.facebook-profile-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0,1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 0 0;
}
.facebook-profile-sidebar {
  display: grid;
  gap: 16px;
  position: sticky;
  top: 96px;
}
.fb-widget,
.fb-composer-card,
.fb-feed-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(15,23,42,.06);
}
.fb-widget { padding: 20px; }
.fb-widget-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.fb-widget-title h3 {
  margin: 0;
  color: #10203f;
  font-size: 1.08rem;
}
.fb-widget-title a {
  color: #0b73ba;
  font-weight: 900;
  text-decoration: none;
  font-size: .9rem;
}
.fb-intro-text {
  color: #475569;
  line-height: 1.7;
  margin: 0 0 15px;
  font-weight: 650;
}
.fb-intro-list {
  display: grid;
  gap: 11px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.fb-intro-list li {
  display: grid;
  grid-template-columns: 24px minmax(0,1fr);
  gap: 8px;
  color: #334155;
  font-weight: 750;
  line-height: 1.45;
}
.fb-intro-list i { color: #64748b; margin-top: 2px; }
.fb-completion-meter {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #e4e6eb;
  margin: 8px 0 10px;
}
.fb-completion-meter span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1591dc, #c2d099);
}
.fb-completion-score {
  display: block;
  color: #10203f;
  margin-bottom: 14px;
}
.facebook-checklist { margin-top: 10px; }
.fb-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.fb-chip-cloud span {
  border-radius: 999px;
  background: #f0f2f5;
  color: #20304d;
  padding: 8px 11px;
  font-weight: 850;
  font-size: .84rem;
}
.fb-quick-links {
  display: grid;
  gap: 9px;
}
.fb-quick-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 14px;
  background: #f7fbff;
  color: #20304d;
  font-weight: 900;
}
.fb-quick-links a:hover { background: #edf7ff; color: #0b73ba; }
.facebook-feed-column {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.fb-composer-card {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 14px;
  padding: 18px;
}
.account-avatar.small,
.fb-composer-avatar {
  width: 52px;
  height: 52px;
  flex-basis: 52px;
  border-width: 3px;
  font-size: 1rem;
  box-shadow: 0 8px 18px rgba(15,23,42,.12);
}
.fb-status-input {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  padding: 0 18px;
  background: #f0f2f5;
  color: #64748b;
  text-decoration: none;
  font-weight: 850;
}
.fb-status-input:hover { background: #e8f2fb; color: #0b73ba; }
.fb-composer-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(15,23,42,.08);
}
.fb-composer-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 10px;
  color: #475569;
  font-weight: 900;
}
.fb-composer-actions a:hover { background: #f0f2f5; color: #0b73ba; }
.fb-feed-card { padding: 20px; }
.fb-feed-head {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 15px;
}
.fb-feed-head h3 {
  color: #10203f;
  margin: 0 0 2px;
  font-size: 1rem;
}
.fb-feed-head span {
  color: #64748b;
  font-size: .88rem;
  font-weight: 750;
}
.facebook-activity-grid {
  margin-top: 2px;
}
.fb-post-body {
  color: #334155;
  line-height: 1.7;
}
.fb-post-body h3 {
  color: #10203f;
  margin: 10px 0 8px;
  font-size: 1.2rem;
}
.fb-post-body p { margin: 0; color: #475569; }
.fb-post-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  background: #edf7ff;
  color: #0b73ba;
  font-weight: 900;
  font-size: .78rem;
}
.fb-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(15,23,42,.08);
}
.fb-post-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-weight: 900;
  border-radius: 999px;
  padding: 9px 12px;
  background: #f0f2f5;
}
.fb-post-actions a:hover { color: #0b73ba; background: #edf7ff; }
@media(max-width: 1120px) {
  .fb-profile-head {
    grid-template-columns: auto minmax(0,1fr);
  }
  .fb-profile-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
    padding-left: 196px;
  }
  .facebook-profile-grid {
    grid-template-columns: 1fr;
  }
  .facebook-profile-sidebar {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media(max-width: 760px) {
  .fb-cover-photo { min-height: 190px; }
  .fb-profile-head {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    margin-top: -74px;
    padding: 0 18px 18px;
  }
  .fb-avatar-wrap,
  .facebook-avatar {
    width: 146px;
    height: 146px;
    flex-basis: 146px;
  }
  .fb-profile-actions {
    padding-left: 0;
    justify-content: center;
  }
  .fb-name-row,
  .fb-meta-row {
    justify-content: center;
  }
  .fb-profile-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .facebook-profile-sidebar {
    grid-template-columns: 1fr;
  }
  .fb-composer-card {
    grid-template-columns: 1fr;
  }
  .fb-composer-avatar {
    margin: 0 auto;
  }
  .fb-composer-actions {
    grid-template-columns: 1fr;
  }
}
@media(max-width: 520px) {
  .fb-cover-overlay {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
  .fb-cover-overlay span,
  .fb-cover-edit {
    width: 100%;
    justify-content: center;
  }
  .fb-profile-card,
  .fb-widget,
  .fb-composer-card,
  .fb-feed-card {
    border-radius: 18px;
  }
  .fb-profile-tabs {
    padding: 0 10px;
  }
  .fb-profile-tabs a {
    padding: 14px 11px;
  }
}

/* HBH website loading animation preloader
   Uses the footer logo from /images when available and keeps the logo proportional. */
.hbh-page-preloader {
  --hbh-loader-angle: 0deg;
  position: fixed;
  inset: 0;
  z-index: 999999;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 34%, rgba(21, 145, 220, 0.22), transparent 34%),
    radial-gradient(circle at 18% 48%, rgba(56, 132, 255, 0.18), transparent 22%),
    radial-gradient(circle at 84% 46%, rgba(194, 208, 153, 0.18), transparent 22%),
    linear-gradient(135deg, #061226 0%, #092348 48%, #041020 100%);
  color: #ffffff;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.hbh-page-preloader::before,
.hbh-page-preloader::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  height: 210px;
  pointer-events: none;
  opacity: 0.38;
  background:
    repeating-radial-gradient(ellipse at center, rgba(21, 145, 220, 0.28) 0 1px, transparent 1px 12px);
  filter: blur(0.15px);
  transform: rotate(-4deg);
}

.hbh-page-preloader::before {
  bottom: -70px;
}

.hbh-page-preloader::after {
  top: -115px;
  opacity: 0.12;
  transform: rotate(6deg);
}

.hbh-page-preloader.is-complete {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.hbh-preloader-card {
  position: relative;
  z-index: 2;
  width: min(92vw, 540px);
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.hbh-loader-ring {
  position: relative;
  width: clamp(190px, 42vw, 350px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: clamp(8px, 1.4vw, 12px);
  background:
    conic-gradient(from -90deg, #f5c65d var(--hbh-loader-angle), rgba(21, 145, 220, 0.23) 0deg),
    linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 55px rgba(21,145,220,0.32),
    inset 0 0 28px rgba(255,255,255,0.04);
  animation: hbhLoaderPulse 2.3s ease-in-out infinite;
}

.hbh-loader-ring::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 0 35px rgba(21,145,220,0.18);
  pointer-events: none;
}

.hbh-loader-ring::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255,255,255,0.98), rgba(245,198,93,0.85) 45%, transparent 72%);
  box-shadow: 0 0 32px rgba(245,198,93,0.96);
  opacity: 0.85;
  animation: hbhLoaderSpark 1.8s ease-in-out infinite;
}

.hbh-loader-logo-frame {
  position: relative;
  z-index: 2;
  width: calc(100% - 28px);
  height: calc(100% - 28px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: clamp(20px, 4vw, 45px);
  background:
    radial-gradient(circle, rgba(255,255,255,0.08) 0%, rgba(5,21,43,0.88) 58%, rgba(2,10,24,0.94) 100%);
  border: 1px solid rgba(255,255,255,0.09);
  overflow: hidden;
}

.hbh-loader-logo-frame::before {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,145,220,0.18), transparent 68%);
  filter: blur(14px);
}

.hbh-loader-logo-frame img {
  position: relative;
  z-index: 2;
  width: min(70%, 170px);
  height: auto;
  max-width: 170px;
  max-height: 108px;
  object-fit: contain;
  object-position: center;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 16px 24px rgba(0,0,0,0.42));
}

.hbh-loader-footer-logo-frame img {
  width: min(66%, 160px);
  max-width: 160px;
  max-height: 96px;
}

.hbh-loader-orbit {
  position: absolute;
  border-radius: 999px;
  background: #f5c65d;
  box-shadow: 0 0 18px rgba(245,198,93,0.95);
  pointer-events: none;
  z-index: 3;
}

.hbh-loader-orbit-one {
  width: 11px;
  height: 11px;
  animation: hbhLoaderOrbit 2.8s linear infinite;
}

.hbh-loader-orbit-two {
  width: 7px;
  height: 7px;
  background: #54a8ff;
  box-shadow: 0 0 20px rgba(84,168,255,0.95);
  animation: hbhLoaderOrbit 4.2s linear infinite reverse;
}

.hbh-loader-copy {
  display: grid;
  gap: 5px;
  margin-top: 2px;
}

.hbh-loader-copy strong {
  font-family: 'Urbanist', 'Manrope', system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: #ffffff;
  text-shadow: 0 12px 30px rgba(0,0,0,0.35);
}

.hbh-loader-copy span {
  color: rgba(255,255,255,0.76);
  font-weight: 700;
}

.hbh-loader-progress-row {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 900;
  color: #ffffff;
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
}

.hbh-loader-spinner {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.18);
  border-top-color: #54a8ff;
  border-right-color: #f5c65d;
  animation: hbhLoaderSpin 0.8s linear infinite;
}

#hbhLoaderPercent {
  min-width: 46px;
  text-align: left;
  color: #54a8ff;
  font-size: 1.05rem;
}

.hbh-loader-bar {
  width: min(78vw, 390px);
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

.hbh-loader-bar span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1591dc 0%, #54a8ff 48%, #f5c65d 100%);
  box-shadow: 0 0 20px rgba(84,168,255,0.7);
  transition: width 0.18s ease;
}

@keyframes hbhLoaderSpin {
  to { transform: rotate(360deg); }
}

@keyframes hbhLoaderPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 0 45px rgba(21,145,220,0.24), inset 0 0 28px rgba(255,255,255,0.04); }
  50% { box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 0 72px rgba(21,145,220,0.44), inset 0 0 32px rgba(255,255,255,0.07); }
}

@keyframes hbhLoaderSpark {
  0%, 100% { opacity: 0.52; transform: translateX(-50%) scale(0.82); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

@keyframes hbhLoaderOrbit {
  from { transform: rotate(0deg) translateX(calc(clamp(190px, 42vw, 350px) / 2 - 5px)) rotate(0deg); }
  to { transform: rotate(360deg) translateX(calc(clamp(190px, 42vw, 350px) / 2 - 5px)) rotate(-360deg); }
}

@media (max-width: 560px) {
  .hbh-page-preloader { padding: 18px; }
  .hbh-loader-ring { width: min(76vw, 265px); }
  .hbh-loader-logo-frame { padding: 26px; }
  .hbh-loader-footer-logo-frame img { width: min(62%, 128px); max-height: 82px; }
  .hbh-loader-copy strong { letter-spacing: 0.08em; }
}

@media (prefers-reduced-motion: reduce) {
  .hbh-loader-ring,
  .hbh-loader-ring::after,
  .hbh-loader-spinner,
  .hbh-loader-orbit,
  .hbh-loader-bar span {
    animation: none !important;
    transition: none !important;
  }
}
html.hbh-preloader-active,
html.hbh-preloader-active body {
  overflow: hidden;
}
.hbh-loader-orbit { top: 50%; left: 50%; }
.hbh-loader-orbit-one { margin: -5.5px 0 0 -5.5px; }
.hbh-loader-orbit-two { margin: -3.5px 0 0 -3.5px; }

/* Enhanced Facebook-style user profile refinements */
.fb-cover-photo {
  min-height: 310px;
  background:
    linear-gradient(180deg, rgba(7,21,44,.05), rgba(7,21,44,.75)),
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.28), transparent 24%),
    radial-gradient(circle at 82% 18%, rgba(194,208,153,.26), transparent 26%),
    linear-gradient(135deg, #07152c 0%, #0e356d 45%, #1591dc 100%);
}
.fb-cover-stats-strip {
  position: absolute;
  z-index: 2;
  left: 26px;
  right: 26px;
  bottom: 78px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
}
.fb-cover-stats-strip div {
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(5, 18, 40, .34);
  color: #fff;
  box-shadow: 0 18px 45px rgba(0,0,0,.15);
  backdrop-filter: blur(14px);
}
.fb-cover-stats-strip strong {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
  color: #fff;
}
.fb-cover-stats-strip span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  font-weight: 850;
}
.fb-profile-card {
  border-radius: 30px;
}
.fb-profile-head {
  align-items: center;
  padding-bottom: 26px;
}
.facebook-avatar {
  border: 7px solid #fff;
  outline: 3px solid rgba(21,145,220,.16);
}
.fb-profile-social-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}
.fb-profile-social-proof span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  padding: 8px 11px;
  background: #f0f2f5;
  color: #475569;
  font-size: .84rem;
  font-weight: 850;
}
.fb-profile-social-proof strong {
  color: #10203f;
}
.fb-profile-actions .btn {
  min-height: 44px;
  border-radius: 14px;
}
.fb-profile-tabs {
  position: sticky;
  top: 72px;
  z-index: 4;
  box-shadow: 0 10px 24px rgba(15,23,42,.04);
}
.facebook-profile-grid {
  padding-top: 22px;
}
.fb-widget,
.fb-composer-card,
.fb-feed-card,
.fb-profile-insight-card {
  border-color: rgba(15,23,42,.075);
  box-shadow: 0 14px 34px rgba(15,23,42,.065);
}
.fb-widget:hover,
.fb-feed-card:hover,
.fb-profile-insight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(15,23,42,.09);
}
.fb-widget,
.fb-feed-card,
.fb-profile-insight-card {
  transition: transform .22s ease, box-shadow .22s ease;
}
.fb-highlight-list {
  display: grid;
  gap: 10px;
}
.fb-highlight-list div {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr);
  grid-template-rows: auto auto;
  gap: 2px 10px;
  align-items: center;
  border-radius: 16px;
  padding: 12px;
  background: #f7fbff;
  border: 1px solid rgba(21,145,220,.10);
}
.fb-highlight-list i {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #edf7ff;
  color: #0b73ba;
}
.fb-highlight-list span {
  color: #64748b;
  font-weight: 800;
  font-size: .8rem;
}
.fb-highlight-list strong {
  color: #10203f;
  font-size: .94rem;
  line-height: 1.3;
}
.fb-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 8px;
}
.fb-photo-grid div {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #edf7ff, #f7fbff);
  border: 1px solid rgba(15,23,42,.08);
  color: #0b73ba;
  font-size: 1.4rem;
}
.fb-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.enhanced-composer-card {
  position: relative;
  overflow: hidden;
}
.enhanced-composer-card:before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #1591dc, #c2d099, #1591dc);
}
.fb-profile-insight-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 22px;
  padding: 22px;
}
.fb-insight-heading span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: #edf7ff;
  color: #0b73ba;
  font-weight: 950;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.fb-insight-heading h3 {
  margin: 10px 0 7px;
  color: #10203f;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
}
.fb-insight-heading p {
  margin: 0 0 16px;
  color: #64748b;
  line-height: 1.65;
  font-weight: 650;
}
.fb-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.fb-insight-grid a {
  display: grid;
  gap: 7px;
  padding: 16px;
  border-radius: 18px;
  text-decoration: none;
  background: #f8fafc;
  border: 1px solid rgba(15,23,42,.08);
  color: #20304d;
}
.fb-insight-grid a:hover {
  background: #edf7ff;
  border-color: rgba(21,145,220,.24);
}
.fb-insight-grid i {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #1591dc;
  color: #fff;
}
.fb-insight-grid strong {
  color: #10203f;
  font-size: .98rem;
}
.fb-insight-grid span {
  color: #64748b;
  line-height: 1.45;
  font-size: .88rem;
  font-weight: 700;
}
.fb-feed-card {
  overflow: hidden;
}
.fb-post-actions a,
.fb-composer-actions a,
.fb-quick-links a {
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.fb-post-actions a:hover,
.fb-composer-actions a:hover,
.fb-quick-links a:hover {
  transform: translateY(-1px);
}
@media(max-width: 1120px) {
  .fb-cover-stats-strip {
    max-width: none;
  }
  .fb-profile-tabs {
    top: 64px;
  }
}
@media(max-width: 760px) {
  .fb-cover-photo { min-height: 290px; }
  .fb-cover-stats-strip {
    left: 14px;
    right: 14px;
    bottom: 86px;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .fb-profile-social-proof {
    justify-content: center;
  }
  .fb-profile-tabs {
    top: 58px;
  }
  .fb-insight-grid {
    grid-template-columns: 1fr;
  }
}
@media(max-width: 520px) {
  .fb-cover-photo { min-height: 330px; }
  .fb-cover-stats-strip {
    bottom: 110px;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
  .fb-cover-stats-strip div {
    padding: 9px 10px;
    border-radius: 14px;
  }
  .fb-cover-stats-strip strong {
    font-size: 1rem;
  }
  .fb-cover-stats-strip span {
    font-size: .72rem;
  }
}


/* LinkedIn-style professional account feature suite */
.linkedin-account-suite {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-top: 5px solid #0a66c2;
}
.linkedin-section-heading h2 {
  color: #0a2540;
}
.linkedin-profile-strip {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background: #eef6ff;
  border: 1px solid rgba(10,102,194,.14);
  border-radius: 22px;
  padding: 18px;
  margin-bottom: 22px;
}
.linkedin-mini-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 260px;
}
.linkedin-mini-profile strong {
  display: block;
  color: #0f172a;
  font-size: 1.05rem;
}
.linkedin-mini-profile span {
  display: block;
  color: #475569;
  font-size: .92rem;
  line-height: 1.45;
}
.linkedin-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.linkedin-badge-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 850;
  font-size: .82rem;
  border: 1px solid rgba(15,23,42,.08);
  background: #fff;
}
.linkedin-badge-row .is-live {
  color: #166534;
  background: #ecfdf3;
}
.linkedin-badge-row .is-warning {
  color: #92400e;
  background: #fff7ed;
}
.linkedin-badge-row .is-muted {
  color: #334155;
  background: #f8fafc;
}
.linkedin-command-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
  margin-bottom: 22px;
}
.linkedin-command-grid a {
  text-decoration: none;
  color: #0f172a;
  background: #fff;
  border: 1px solid rgba(10,102,194,.12);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 16px 34px rgba(15,23,42,.06);
  display: grid;
  gap: 10px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.linkedin-command-grid a:hover {
  transform: translateY(-3px);
  border-color: rgba(10,102,194,.35);
  box-shadow: 0 22px 48px rgba(10,102,194,.12);
}
.linkedin-command-grid i {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #0a66c2;
  background: #eef6ff;
  font-size: 1.1rem;
}
.linkedin-command-grid strong {
  font-size: 1rem;
}
.linkedin-command-grid span {
  color: #64748b;
  font-size: .9rem;
  line-height: 1.55;
}
.linkedin-feature-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 18px;
}
.linkedin-feature-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 18px 40px rgba(15,23,42,.055);
}
.feature-card-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.feature-card-title > i {
  width: 48px;
  height: 48px;
  border-radius: 17px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg,#0a66c2,#1591dc);
  box-shadow: 0 14px 24px rgba(10,102,194,.2);
}
.feature-card-title h3 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 1.12rem;
}
.feature-card-title p {
  margin: 0;
  color: #64748b;
  line-height: 1.55;
  font-size: .92rem;
}
.linkedin-feature-list {
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.linkedin-feature-list li {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(15,23,42,.07);
  border-radius: 16px;
  background: #fbfdff;
}
.linkedin-feature-list strong {
  color: #0f172a;
  font-size: .92rem;
  line-height: 1.35;
}
.linkedin-feature-list span {
  color: #64748b;
  font-size: .84rem;
  line-height: 1.45;
}
.linkedin-feature-list em {
  font-style: normal;
  display: inline-flex;
  justify-content: center;
  white-space: nowrap;
  min-width: 76px;
  border-radius: 999px;
  padding: 6px 9px;
  font-weight: 900;
  font-size: .72rem;
  letter-spacing: .01em;
  background: #f1f5f9;
  color: #475569;
}
.linkedin-feature-list em.live {
  background: #dcfce7;
  color: #166534;
}
.linkedin-feature-list em.pending {
  background: #fef3c7;
  color: #92400e;
}
.linkedin-feature-list em.ready {
  background: #dbeafe;
  color: #1d4ed8;
}
.linkedin-feature-list em.planned {
  background: #f3e8ff;
  color: #7e22ce;
}
.linkedin-feature-list em.partial {
  background: #ffedd5;
  color: #c2410c;
}
.security-score-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(135deg,#0f172a,#0a66c2);
  color: #fff;
  border-radius: 18px;
  padding: 16px;
  margin: 0 0 14px;
}
.security-score-card strong {
  display: block;
  color: #fff;
  font-size: 1.22rem;
}
.security-score-card span {
  color: rgba(255,255,255,.78);
  font-size: .85rem;
}
.linkedin-control-center {
  background: #fff;
}
.linkedin-control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 16px;
}
.linkedin-control-grid article {
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 24px;
  padding: 22px;
  background: linear-gradient(180deg,#fff,#f8fbff);
  box-shadow: 0 16px 34px rgba(15,23,42,.055);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.linkedin-control-grid article > i {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #eef6ff;
  color: #0a66c2;
  font-size: 1.25rem;
}
.linkedin-control-grid h3 {
  margin: 0;
  color: #0f172a;
}
.linkedin-control-grid p {
  margin: 0;
  color: #64748b;
  line-height: 1.65;
  font-size: .93rem;
}
.control-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.account-sidebar a[href="#account-features"],
.account-sidebar a[href="#security-center"],
.account-sidebar a[href="#privacy-center"],
.account-sidebar a[href="#payments-center"] {
  background: rgba(10,102,194,.06);
}
.fb-profile-tabs a[href="#account-features"],
.fb-profile-tabs a[href="#security-center"],
.fb-profile-tabs a[href="#privacy-center"],
.fb-profile-tabs a[href="#payments-center"] {
  color: #0a66c2;
}
@media(max-width:1100px) {
  .linkedin-command-grid,
  .linkedin-control-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  .linkedin-feature-groups {
    grid-template-columns: 1fr;
  }
}
@media(max-width:760px) {
  .linkedin-profile-strip {
    align-items: flex-start;
    flex-direction: column;
  }
  .linkedin-badge-row {
    justify-content: flex-start;
  }
  .linkedin-command-grid,
  .linkedin-control-grid {
    grid-template-columns: 1fr;
  }
  .linkedin-feature-list li {
    grid-template-columns: 1fr;
  }
  .linkedin-feature-list em {
    width: max-content;
  }
}

/* Advanced LinkedIn-style user account backend controls */
.advanced-backend-panel{background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%)}
.advanced-backend-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.advanced-live-card{border:1px solid rgba(15,23,42,.08);border-radius:24px;background:#fff;padding:22px;box-shadow:0 18px 38px rgba(15,23,42,.06)}
.advanced-live-card.wide{grid-column:1/-1}
.advanced-card-head{display:flex;align-items:center;gap:14px;margin-bottom:14px}
.advanced-card-head>i{width:48px;height:48px;border-radius:16px;display:grid;place-items:center;background:rgba(21,145,220,.12);color:#0b73ba;font-size:1.2rem}
.advanced-card-head h3{margin:0;color:#10203f;font-size:1.1rem}.advanced-card-head p{margin:4px 0 0;color:#64748b;font-weight:700}.advanced-muted{color:#64748b;line-height:1.7;margin:0 0 16px}.advanced-mini-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:end;margin:14px 0;padding:14px;border-radius:18px;background:#f8fbff;border:1px solid rgba(21,145,220,.1)}.advanced-mini-form.single-line{grid-template-columns:minmax(0,1fr) auto}.advanced-mini-form label{display:flex;flex-direction:column;gap:7px;font-weight:800;color:#10203f}.advanced-mini-form input,.advanced-mini-form select{width:100%;border:1px solid rgba(15,23,42,.13);border-radius:14px;padding:11px 12px;background:#fff;color:#10203f;font:inherit}.advanced-list{display:grid;gap:10px;margin-top:14px}.advanced-list h4{margin:0 0 4px;color:#10203f}.advanced-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid rgba(15,23,42,.07);border-radius:16px;background:#fff;padding:12px}.advanced-row span{display:grid;gap:2px}.advanced-row strong{color:#10203f}.advanced-row small,.advanced-row em{color:#64748b;font-size:.84rem;font-style:normal}.advanced-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.inline-action-form{display:inline-flex;margin:0}.chat-reply-form{margin-top:-4px}@media(max-width:900px){.advanced-backend-grid,.advanced-two-col{grid-template-columns:1fr}.advanced-mini-form,.advanced-mini-form.single-line{grid-template-columns:1fr}.advanced-live-card.wide{grid-column:auto}.advanced-row{align-items:flex-start;flex-direction:column}}

/* =========================================================
   PROFESSIONAL USER ACCOUNT + ADMIN ACCOUNT CENTER CLEANUP
   ========================================================= */
.account-pro-page{background:#f3f6fb;color:#0f172a;min-height:100vh}.account-pro-cover{position:relative;padding:88px 0 34px;background:linear-gradient(135deg,#0b1f39 0%,#173f6d 58%,#0f8fd4 100%);color:#fff;overflow:hidden}.account-pro-cover:before{content:"";position:absolute;inset:auto -10% -45% auto;width:560px;height:560px;border-radius:999px;background:rgba(194,208,153,.22);filter:blur(24px)}.account-pro-cover:after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 12% 12%,rgba(255,255,255,.18),transparent 28%);pointer-events:none}.account-pro-cover-inner{position:relative;z-index:1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:22px;align-items:end}.account-pro-avatar-wrap{position:relative}.account-pro-avatar{width:138px;height:138px;border-radius:999px;background:linear-gradient(135deg,#eaf5ff,#ffffff);border:6px solid rgba(255,255,255,.95);box-shadow:0 20px 50px rgba(0,0,0,.25);display:grid;place-items:center;overflow:hidden;color:#16406d;font-size:2.6rem;font-weight:900}.account-pro-avatar img{width:100%;height:100%;object-fit:cover;display:block}.account-pro-photo-form{position:absolute;right:8px;bottom:8px}.account-pro-photo-button{width:40px;height:40px;border-radius:999px;background:#fff;color:#16406d;display:grid;place-items:center;border:1px solid rgba(15,23,42,.1);box-shadow:0 12px 28px rgba(0,0,0,.22);cursor:pointer}.account-pro-photo-button input{display:none}.account-pro-kicker{display:inline-flex;width:max-content;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.12);border-radius:999px;padding:7px 12px;font-size:.78rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.account-pro-title h1{color:#fff;margin:12px 0 4px;font-size:clamp(2.1rem,5vw,3.8rem);line-height:1}.account-pro-title p{margin:0;color:rgba(255,255,255,.86);font-weight:700}.account-pro-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.account-pro-meta span{display:inline-flex;align-items:center;gap:7px;border-radius:999px;background:rgba(255,255,255,.12);padding:8px 12px;color:rgba(255,255,255,.9);font-weight:750;font-size:.88rem}.account-pro-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.account-pro-body{margin-top:-1px;padding:0 0 74px}.account-pro-tabs{position:sticky;top:74px;z-index:3;display:flex;gap:8px;overflow:auto;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 18px 38px rgba(15,23,42,.07);border-radius:0 0 22px 22px;padding:10px;margin-bottom:24px}.account-pro-tabs a{white-space:nowrap;text-decoration:none;color:#475569;border-radius:999px;padding:10px 16px;font-weight:850}.account-pro-tabs a:hover,.account-pro-tabs a.active{background:#eaf5ff;color:#0b74ba}.account-pro-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:24px;align-items:start}.account-pro-sidebar{display:grid;gap:18px;position:sticky;top:145px}.account-pro-main{display:grid;gap:22px}.account-pro-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:26px;padding:24px;box-shadow:0 18px 44px rgba(15,23,42,.06);scroll-margin-top:145px}.account-pro-card h2,.account-pro-card h3{color:#10203f;margin-top:0}.account-pro-card p{color:#64748b;line-height:1.75}.account-pro-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px}.account-pro-card-head strong{font-size:1.45rem;color:#0b74ba}.account-pro-meter{height:10px;background:#e7eef7;border-radius:999px;overflow:hidden;margin:14px 0}.account-pro-meter span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#1591dc,#c2d099)}.account-pro-list,.account-pro-checklist{list-style:none;margin:0;padding:0;display:grid;gap:10px}.account-pro-list li,.account-pro-checklist li{display:flex;align-items:flex-start;gap:10px;color:#334155;font-weight:750}.account-pro-list li i,.account-pro-checklist li i{width:22px;height:22px;border-radius:999px;background:#edf7ff;color:#0b74ba;display:grid;place-items:center;flex:0 0 22px;font-size:.78rem}.account-pro-list.compact small{display:block;color:#94a3b8;font-weight:650}.account-pro-checklist li.done i{background:#eaf8ef;color:#128048}.account-pro-checklist li.pending i{background:#fff7ed;color:#b45309}.account-pro-quicklinks{display:grid;gap:9px}.account-pro-quicklinks a{display:flex;gap:10px;align-items:center;text-decoration:none;padding:12px;border-radius:14px;background:#f8fbff;color:#17375e;font-weight:850}.account-pro-quicklinks a:hover{background:#edf7ff;color:#0b74ba}.account-pro-grid-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.account-pro-grid-cards article{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:22px;padding:18px;box-shadow:0 12px 30px rgba(15,23,42,.05)}.account-pro-grid-cards i{width:42px;height:42px;border-radius:15px;background:#edf7ff;color:#0b74ba;display:grid;place-items:center;margin-bottom:12px}.account-pro-grid-cards span{display:block;color:#64748b;font-weight:800;font-size:.85rem}.account-pro-grid-cards strong{display:block;color:#10203f;font-size:1.25rem;margin-top:4px}.account-section-heading.lean{margin-bottom:18px}.account-section-heading.lean h2{font-size:clamp(1.35rem,3vw,2rem);margin:4px 0 5px}.account-pro-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.clean-card{background:#f8fbff;border:1px solid rgba(15,23,42,.08);border-radius:20px;padding:18px}.account-note-card{display:grid;gap:8px;place-items:start;background:#f8fbff;border:1px solid rgba(15,23,42,.08);border-radius:20px;padding:20px}.account-note-card i{font-size:1.6rem;color:#0b74ba}.account-pro-feature-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:20px}.account-pro-mini-card{border:1px solid rgba(15,23,42,.08);border-radius:20px;padding:18px;background:#fbfdff}.account-pro-mini-card i{font-size:1.3rem;color:#0b74ba;margin-bottom:10px}.account-pro-mini-card strong{display:block;color:#10203f}.account-pro-mini-card p{margin:6px 0 12px;font-size:.92rem}.account-pro-table-wrap{overflow:auto;margin-top:16px;border-radius:18px;border:1px solid rgba(15,23,42,.08)}.account-pro-table{width:100%;border-collapse:collapse;background:#fff}.account-pro-table th,.account-pro-table td{padding:13px 14px;text-align:left;border-bottom:1px solid rgba(15,23,42,.07);vertical-align:top}.account-pro-table th{background:#f8fafc;color:#475569;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase}.account-pro-billing-head{display:grid;grid-template-columns:280px minmax(0,1fr);gap:16px;align-items:center;border:1px solid rgba(21,145,220,.14);background:linear-gradient(135deg,#f7fbff,#fff);border-radius:22px;padding:18px;margin-bottom:20px}.account-pro-billing-head span{display:block;color:#64748b;font-weight:800}.account-pro-billing-head strong{display:block;color:#10203f;font-size:1.7rem;margin-top:4px}.account-inline-form{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.account-inline-form input,.account-inline-form select{min-height:44px;border:1px solid rgba(15,23,42,.14);border-radius:14px;padding:10px 12px;font:inherit;outline:none}.account-inline-form input:focus{border-color:#1591dc;box-shadow:0 0 0 4px rgba(21,145,220,.1)}.account-inline-form.mini{margin-top:10px}.account-inline-form.mini input{flex:1;min-width:190px}.cloud-form{margin-bottom:16px}.account-pro-list-cards{display:grid;gap:10px}.account-pro-list-cards article{border:1px solid rgba(15,23,42,.08);border-radius:16px;padding:14px;background:#fff}.account-pro-list-cards strong{display:block;color:#10203f}.account-pro-list-cards span{display:block;color:#64748b;margin-top:3px}.account-pro-list-cards small{display:block;color:#94a3b8;margin-top:4px}.admin-tools-row{margin-top:16px}@media(max-width:1050px){.account-pro-cover-inner,.account-pro-layout,.account-pro-billing-head{grid-template-columns:1fr}.account-pro-actions{justify-content:flex-start}.account-pro-sidebar{position:relative;top:auto}.account-pro-grid-cards,.account-pro-feature-row{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:680px){.account-pro-cover{padding:74px 0 28px}.account-pro-avatar{width:112px;height:112px}.account-pro-tabs{top:66px;border-radius:0;padding:8px;margin-left:-16px;margin-right:-16px}.account-pro-card{padding:18px;border-radius:20px}.account-pro-two-col,.account-pro-grid-cards,.account-pro-feature-row{grid-template-columns:1fr}.account-inline-form,.account-inline-form input,.account-inline-form .btn{width:100%}.account-pro-actions .btn{width:100%;justify-content:center}}

/* User order controls and admin/footer cleanups */
.account-pro-section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:6px}.account-pro-section-title h3{margin:0}.account-pro-section-title span{border-radius:999px;background:#edf7ff;color:#0b74ba;font-weight:900;font-size:.78rem;padding:6px 10px}.account-pro-help-text{margin:0 0 12px!important;font-size:.92rem}.account-order-manager{display:grid;gap:12px}.account-order-manager.compact{margin-top:12px}.account-order-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;border:1px solid rgba(15,23,42,.08);border-radius:18px;background:#fff;padding:15px;box-shadow:0 8px 20px rgba(15,23,42,.04)}.account-order-card.is-concealed{background:#f8fafc;border-style:dashed}.account-order-main strong{display:block;color:#10203f;font-size:1rem}.account-order-main span,.account-order-main small{display:block;color:#64748b;margin-top:3px}.account-order-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.account-order-actions form{margin:0}.account-concealed-orders{margin-top:16px;border:1px dashed rgba(15,23,42,.15);background:#fbfdff;border-radius:18px;padding:12px}.account-concealed-orders summary{cursor:pointer;font-weight:900;color:#17375e}.admin-actions .btn i{margin-right:5px}@media(max-width:760px){.account-order-card{grid-template-columns:1fr}.account-order-actions{justify-content:flex-start}.account-order-actions .btn,.account-order-actions form{width:100%}.account-order-actions button,.account-order-actions a{width:100%;justify-content:center}}

/* Footer navigation should appear as a compact listed menu, not framed buttons */
.footer-nav-links.footer-nav-columns{gap:8px 24px!important;align-items:start!important}.footer-link-column{padding:0!important;background:transparent!important;border:0!important;border-radius:0!important}.footer-link-column h5{margin:0 0 6px!important;text-align:left!important;min-height:0!important}.footer-link-list{display:grid!important;gap:3px!important}.footer-link-list a{position:relative;display:block!important;min-height:0!important;padding:2px 0 2px 12px!important;background:transparent!important;border:0!important;border-radius:0!important;line-height:1.28!important;text-align:left!important;justify-content:flex-start!important;font-size:.9rem!important;font-weight:750!important}.footer-link-list a:before{content:'›';position:absolute;left:0;top:1px;color:#c2d099;font-weight:900}.footer-link-list a:hover,.footer-link-list a:focus-visible{background:transparent!important;border:0!important;color:#fff!important;transform:translateX(2px)}@media(max-width:780px){.footer-nav-links.footer-nav-columns{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px 12px!important}.footer-link-column h5{font-size:.7rem!important;line-height:1.15!important;text-align:left!important}.footer-link-list{gap:2px!important}.footer-link-list a{font-size:.72rem!important;padding:2px 0 2px 10px!important;line-height:1.22!important;overflow-wrap:anywhere}}@media(max-width:420px){.footer-nav-links.footer-nav-columns{gap:8px!important}.footer-link-list a{font-size:.68rem!important}}

/* Account dropdown navigation: keep logout discreet under Account button */
.nav-account-item {
  position: relative;
}

.nav-account-parent {
  gap: 4px;
}

.nav-account-parent .nav-account-link {
  gap: 6px;
  white-space: nowrap;
}

.nav-account-item .account-submenu-toggle {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  margin-left: -8px;
  border-radius: 999px;
  color: var(--text-dark);
  background: rgba(28, 77, 141, 0.05);
}

.nav-account-item .account-submenu-toggle:hover,
.nav-account-item:focus-within .account-submenu-toggle,
.nav-account-item.is-open .account-submenu-toggle {
  color: var(--primary);
  background: rgba(28, 77, 141, 0.11);
}

.nav-account-item .account-dropdown {
  left: auto;
  right: 0;
  min-width: 230px;
  padding: 9px;
}

.nav-account-item .account-dropdown a {
  align-items: center;
  gap: 9px;
  font-weight: 750;
}

.nav-account-item .account-dropdown .nav-logout-link {
  margin-top: 4px;
  color: #b42318;
  background: #fff5f5;
}

.nav-account-item .account-dropdown .nav-logout-link:hover,
.nav-account-item .account-dropdown .nav-logout-link:focus-visible {
  color: #fff;
  background: #b42318;
}

.nav-account-item .account-dropdown .nav-logout-link i {
  color: inherit;
}

.nav-account-link i,
.nav-account-item .account-dropdown a i {
  margin-right: 0;
}

@media (max-width: 900px) {
  .nav-account-parent {
    width: 100%;
    gap: 8px;
  }

  .nav-account-parent .nav-account-link {
    flex: 1 1 auto;
  }

  .nav-account-item .account-submenu-toggle {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
    margin-left: 0;
    border-radius: 18px;
  }

  .nav-account-item .account-dropdown {
    min-width: 100%;
    right: auto;
  }
}


/* User content publishing studio */
.content-status-cards {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin-bottom: 18px;
}
.content-editor-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 22px;
}
.account-pro-editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.content-library-title {
  margin-top: 8px;
}
.account-content-library {
  display: grid;
  gap: 14px;
}
.account-content-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.045);
}
.account-content-card h3 {
  margin: 5px 0 6px;
  color: #10203f;
}
.account-content-card p {
  margin: 0 0 8px;
  color: #475569;
  line-height: 1.65;
}
.account-content-type {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 999px;
  background: #edf7ff;
  color: #0b74b8;
  font-size: .78rem;
  font-weight: 900;
}
.account-content-feedback {
  margin: 8px 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff7ed;
  color: #92400e;
  font-size: .9rem;
}
.account-content-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 9px;
  min-width: 150px;
}
.account-content-actions form {
  margin: 0;
}
.account-content-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 106px;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.account-content-badge.success { background:#eaf8ef; color:#126b31; }
.account-content-badge.warning { background:#fff7ed; color:#b45309; }
.account-content-badge.danger { background:#fff1f1; color:#a82121; }
.account-content-badge.muted { background:#f1f5f9; color:#475569; }
@media (max-width: 720px) {
  .account-content-card {
    grid-template-columns: 1fr;
  }
  .account-content-actions {
    align-items: stretch;
  }
  .account-pro-editor-actions .btn,
  .account-content-actions .btn {
    width: 100%;
  }
}
.account-content-edit-box {
  margin: 12px 0;
  border: 1px dashed rgba(21,145,220,.28);
  border-radius: 16px;
  padding: 10px 12px;
  background: #f8fbff;
}
.account-content-edit-box summary {
  cursor: pointer;
  font-weight: 900;
  color: #0b74b8;
}
.account-content-edit-box .account-form {
  margin-top: 12px;
}


/* Professional profile lock-by-default update */
.profile-lock-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.profile-lock-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 0 0 auto;
}
.profile-lock-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 8px 12px;
  background: #f8fafc;
  color: #475569;
  border: 1px solid rgba(15, 23, 42, .10);
  font-weight: 900;
  font-size: .82rem;
  white-space: nowrap;
}
.profile-lock-status.is-editing {
  background: #eaf8ef;
  color: #126b31;
  border-color: rgba(18, 107, 49, .18);
}
.profile-locked-form input[readonly],
.profile-locked-form textarea[readonly] {
  background: #f8fafc;
  color: #475569;
  cursor: default;
  border-style: dashed;
}
.profile-locked-form.is-editing input[readonly],
.profile-locked-form.is-editing textarea[readonly] {
  background: #ffffff;
  color: #10203f;
  cursor: text;
  border-style: solid;
}
.profile-save-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}
.profile-save-row .btn {
  margin-top: 0;
}
.profile-save-btn:disabled {
  opacity: .55;
  cursor: not-allowed;
  box-shadow: none;
}
.profile-lock-note {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  padding: 11px 13px;
  border-radius: 14px;
  background: #f8fbff;
  color: #64748b;
  font-weight: 750;
  line-height: 1.55;
}
.profile-lock-note i {
  color: #0b74ba;
  margin-top: 3px;
}
@media(max-width:680px){
  .profile-lock-heading {
    display: grid;
    grid-template-columns: 1fr;
  }
  .profile-lock-actions,
  .profile-lock-actions .btn,
  .profile-save-row .btn {
    width: 100%;
    justify-content: center;
  }
  .profile-lock-status {
    justify-content: center;
    width: 100%;
  }
}


/* User profile professional revamp - cleaner, less text-heavy */
.account-pro-page{background:linear-gradient(180deg,#eef6fc 0%,#f7f9fc 42%,#ffffff 100%)}
.account-pro-cover{padding:76px 0 30px;background:linear-gradient(135deg,#061b32 0%,#123e68 52%,#1591dc 100%)}
.account-pro-cover:before{background:rgba(255,255,255,.12)}
.account-pro-cover-inner{align-items:center}
.account-pro-avatar{width:126px;height:126px;border-radius:34px;border-width:5px;box-shadow:0 22px 55px rgba(3,18,34,.28)}
.account-pro-photo-button{right:-2px;bottom:-2px}
.account-pro-kicker{font-size:.72rem;padding:6px 11px}
.account-pro-title h1{font-size:clamp(1.8rem,4vw,3.15rem);letter-spacing:-.04em}
.account-pro-title p{font-size:1rem}
.account-pro-meta{gap:8px;margin-top:12px}
.account-pro-meta span{padding:7px 10px;font-size:.82rem}
.account-pro-actions .btn{min-height:42px;padding:10px 15px}
.account-pro-tabs{top:70px;border-radius:24px;margin-top:16px;margin-bottom:22px;padding:8px;box-shadow:0 18px 45px rgba(15,23,42,.08)}
.account-pro-tabs a{padding:9px 14px;font-size:.9rem}
.account-pro-layout{grid-template-columns:300px minmax(0,1fr);gap:20px}
.account-pro-sidebar{gap:14px}
.account-pro-card{border-radius:24px;padding:21px;box-shadow:0 18px 44px rgba(15,23,42,.055)}
.account-pro-card h2{font-size:1.15rem;margin-bottom:10px}
.account-pro-card p{line-height:1.55;margin-top:0}
.account-pro-sidebar .account-pro-card p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.account-pro-list.compact{gap:8px}
.account-pro-list li,.account-pro-checklist li{font-size:.92rem}
.account-pro-checklist{grid-template-columns:1fr;gap:8px}
.account-pro-quicklinks{grid-template-columns:1fr 1fr}
.account-pro-quicklinks a{padding:11px 10px;font-size:.88rem}
.profile-summary-cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.profile-summary-cards article{position:relative;overflow:hidden;padding:17px;border-radius:20px;background:linear-gradient(180deg,#ffffff,#fbfdff)}
.profile-summary-cards article:after{content:"";position:absolute;right:-28px;top:-28px;width:78px;height:78px;border-radius:999px;background:rgba(21,145,220,.07)}
.profile-summary-cards i{width:38px;height:38px;margin-bottom:10px}
.profile-summary-cards strong{font-size:1.12rem}
.public-profile-card{display:grid;gap:16px;background:linear-gradient(135deg,#ffffff 0%,#f8fbff 100%);border-color:rgba(21,145,220,.16)}
.public-profile-head{display:flex;align-items:center;gap:16px}
.public-profile-avatar{width:76px;height:76px;border-radius:24px;overflow:hidden;background:#eaf5ff;color:#16406d;display:grid;place-items:center;font-weight:900;font-size:1.6rem;flex:0 0 76px}
.public-profile-avatar img{width:100%;height:100%;object-fit:cover}
.public-profile-head span{display:inline-flex;color:#0b74ba;text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;font-weight:900}
.public-profile-head h2{font-size:1.6rem;margin:2px 0 3px}
.public-profile-head p{margin:0;color:#64748b;font-weight:750}
.public-profile-meta{display:flex;flex-wrap:wrap;gap:9px}
.public-profile-meta span{display:inline-flex;align-items:center;gap:7px;border-radius:999px;background:#fff;border:1px solid rgba(15,23,42,.08);padding:8px 11px;color:#475569;font-weight:850;font-size:.86rem}
.account-section-heading.lean{margin-bottom:16px}
.profile-lock-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.profile-lock-heading>div{min-width:0}
.account-section-heading.lean h2{font-size:clamp(1.22rem,2.4vw,1.65rem);letter-spacing:-.02em}
.account-section-heading.lean p{font-size:.95rem;line-height:1.55;max-width:720px}
.profile-lock-card{border-top:4px solid #1591dc}
.profile-lock-note{font-size:.9rem;padding:9px 11px}
.account-form-grid{gap:14px}
.account-form input,.account-form textarea,.account-form select{border-radius:14px;padding:12px 13px}
.content-editor-card,.clean-card{border-radius:18px;padding:16px}
.account-pro-feature-row{gap:12px}
.account-pro-mini-card{padding:16px;border-radius:18px}
.account-pro-mini-card p{line-height:1.45}
.empty-state.slim{padding:18px}
.account-pro-table th,.account-pro-table td{padding:12px 13px}
@media(max-width:1050px){.account-pro-tabs{top:66px}.account-pro-layout{grid-template-columns:1fr}.account-pro-sidebar{grid-template-columns:repeat(3,minmax(0,1fr));position:relative;top:auto}.account-pro-sidebar .account-pro-card{min-width:0}.profile-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.account-pro-cover{padding:64px 0 24px}.account-pro-cover-inner{gap:16px}.account-pro-avatar{width:104px;height:104px;border-radius:28px}.account-pro-title h1{font-size:2rem}.account-pro-meta span{font-size:.78rem}.account-pro-sidebar{grid-template-columns:1fr}.profile-summary-cards{grid-template-columns:1fr}.account-pro-tabs{border-radius:0;margin-left:-16px;margin-right:-16px}.profile-lock-heading{display:grid;grid-template-columns:1fr}.public-profile-head{align-items:flex-start}.public-profile-avatar{width:64px;height:64px;flex-basis:64px;border-radius:20px}.account-pro-quicklinks{grid-template-columns:1fr 1fr}}
@media(max-width:460px){.account-pro-quicklinks{grid-template-columns:1fr}.public-profile-meta span{width:100%;justify-content:center}}

/* Admin user account control + impersonation update */
.admin-control-cell{min-width:300px}.admin-user-settings{border:1px solid rgba(28,77,141,.14);border-radius:16px;background:#fbfdff;padding:8px}.admin-user-settings summary{cursor:pointer;display:flex;align-items:center;gap:8px;font-weight:900;color:#17375e;list-style:none}.admin-user-settings summary::-webkit-details-marker{display:none}.admin-user-settings[open] summary{margin-bottom:12px}.admin-user-control-form{display:grid;gap:12px}.admin-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.admin-mini-grid label,.admin-user-control-form .admin-full{display:grid;gap:6px;font-size:.82rem;font-weight:900;color:#334155}.admin-control-toggles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.admin-control-toggles label{display:flex;align-items:center;gap:8px;border:1px solid rgba(15,23,42,.08);background:#fff;border-radius:12px;padding:8px 10px;font-size:.82rem;font-weight:850;color:#334155}.admin-control-toggles input{accent-color:#1C4D8D}.admin-impersonate-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px;padding-top:12px;border-top:1px solid rgba(15,23,42,.08)}.admin-impersonate-row form{margin:0}.admin-controlled-pill{display:inline-flex;align-items:center;gap:7px;width:max-content;max-width:100%;border-radius:999px;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;padding:8px 12px;font-weight:900;font-size:.82rem}.account-alert.warning{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}.impersonation-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.impersonation-banner form{margin:0}.account-pro-photo-button.is-disabled{cursor:not-allowed;opacity:.75}.account-pro-photo-button.is-disabled input{display:none}@media(max-width:760px){.admin-mini-grid,.admin-control-toggles{grid-template-columns:1fr}.admin-control-cell{min-width:240px}.impersonation-banner{align-items:flex-start}}
