/*
Theme Name: CASK
Theme URI: https://cask.vn
Description: Kadence child theme cho CASK - Commercial Capability & Performance Ecosystem
Author: CASK Team
Author URI: https://cask.vn
Template: kadence
Version: 1.0.3
License: GNU General Public License v2 or later
Text Domain: cask
*/

/* ==========================================================================
   CASK Brand Variables
   ========================================================================== */

:root {
  /* CASK Standard Skin — Navy/Gold/Burgundy */
  --cask-gold: #C5A880;
  --cask-gold-light: #D4C4A0;
  --cask-gold-dark: #A68B3C;
  --cask-gold-mist: #F5F0E8;
  --cask-dark: #1B3E65;
  --cask-dark-deep: #0F2B4C;
  --cask-dark-light: #2A5A8C;
  --cask-burgundy: #9E274D;
  --cask-navy-mist: #E8EDF3;
  --cask-gray: #475569;
  --cask-gray-light: #F3F4F6;
  --cask-white: #FFFFFF;

  /* Functional Colors */
  --cask-success: #10B981;
  --cask-warning: #F59E0B;
  --cask-error: #EF4444;
  --cask-info: #3B82F6;

  /* Typography */
  --cask-font-heading: 'Montserrat', sans-serif;
  --cask-font-body: 'Be Vietnam Pro', sans-serif;

  /* Spacing */
  --cask-section-gap: 80px;
  --cask-container-max: 1200px;
}

/* ==========================================================================
   Global Styles
   ========================================================================== */

body {
  font-family: var(--cask-font-body);
  color: var(--cask-dark);
  line-height: 1.7;
}

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

/* ==========================================================================
   Brand Gold Accent
   ========================================================================== */

.cask-gold-text {
  color: var(--cask-gold);
}

.cask-gold-bg {
  background-color: var(--cask-gold);
  color: var(--cask-white);
}

.cask-gold-gradient {
  background: linear-gradient(135deg, var(--cask-gold-dark), var(--cask-gold), var(--cask-gold-light));
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.cask-btn-primary {
  background-color: var(--cask-gold);
  color: var(--cask-white);
  border: none;
  padding: 14px 32px;
  font-family: var(--cask-font-heading);
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cask-btn-primary:hover {
  background: #fff;
  color: var(--cc, var(--cask-gold));
  box-shadow: inset 0 0 0 2px var(--cc, var(--cask-gold));
  transform: translateY(-1px);
}

.cask-btn-outline {
  background: transparent;
  color: var(--cask-gold);
  border: 2px solid var(--cask-gold);
  padding: 12px 30px;
  font-family: var(--cask-font-heading);
  font-weight: 600;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

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

.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
}

/* ==========================================================================
   Skip to Content (Accessibility)
   ========================================================================== */

.skip-to-content {
  position: absolute;
  left: -9999px;
  top: auto;
  background: var(--cask-gold);
  color: var(--cask-white);
  padding: 8px 16px;
  border-radius: 4px;
  z-index: 10000;
  font-size: 14px;
  text-decoration: none;
}

.skip-to-content:focus {
  left: 16px;
  top: 8px;
}

/* ==========================================================================
   Course Cards
   ========================================================================== */

.cask-course-card {
  background: var(--cask-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid #E5E7EB;
}

.cask-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.cask-course-card .card-domain {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cask-course-card .card-title {
  font-family: var(--cask-font-heading);
  font-size: 18px;
  font-weight: 700;
  margin: 12px 0 8px;
  color: var(--cask-dark);
}

.cask-course-card .card-meta {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: var(--cask-gray);
}

.cask-course-card .card-price {
  font-family: var(--cask-font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--cask-gold);
}

/* ==========================================================================
   Expert Cards
   ========================================================================== */

.cask-expert-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--cask-white);
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  transition: all 0.3s ease;
}

.cask-expert-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.cask-expert-card .expert-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid var(--cask-gold-light);
}

.cask-expert-card .expert-name {
  font-family: var(--cask-font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.cask-expert-card .expert-title {
  font-size: 14px;
  color: var(--cask-gray);
  margin-bottom: 4px;
}

.cask-expert-card .expert-company {
  font-size: 13px;
  color: var(--cask-gold);
  font-weight: 600;
}

/* ==========================================================================
   Section Styles
   ========================================================================== */

.cask-section {
  padding: var(--cask-section-gap) 0;
}

.cask-section-title {
  font-family: var(--cask-font-heading);
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
}

.cask-section-subtitle {
  text-align: center;
  color: var(--cask-gray);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ==========================================================================
   Client Logos
   ========================================================================== */

.cask-client-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0.6;
}

.cask-client-logos img {
  height: 40px;
  width: auto;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.cask-client-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ==========================================================================
   Lead Form / CTA
   ========================================================================== */

.cask-cta-section {
  background: linear-gradient(135deg, var(--cask-dark), var(--cask-dark-light));
  color: var(--cask-white);
  padding: 64px 0;
  text-align: center;
}

.cask-cta-section h2 {
  color: var(--cask-white);
  margin-bottom: 16px;
}

.cask-cta-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
}

/* ==========================================================================
   Gated Content
   ========================================================================== */

.cask-gated-overlay {
  position: relative;
  overflow: hidden;
}

.cask-gated-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--cask-white));
  pointer-events: none;
}

/* ==========================================================================
   Container
   ========================================================================== */

.cask-container {
  max-width: var(--cask-container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Full-width pages (homepage, course detail, etc.) */
.page-template-default .entry-content-wrap,
.single-cask_course .entry-content-wrap,
.single-cask_expert .entry-content-wrap,
.single-cask_resource .entry-content-wrap {
  padding: 0;
  max-width: 100%;
}

.page-template-default .entry.single-entry,
.single-cask_course .entry.single-entry,
.single-cask_expert .entry.single-entry,
.single-cask_resource .entry.single-entry {
  box-shadow: none;
  border: none;
  background: transparent;
}

.page-template-default .content-area,
.single-cask_course .content-area,
.single-cask_expert .content-area,
.single-cask_resource .content-area {
  margin-top: 0;
  margin-bottom: 0;
}

.page-template-default .site-container,
.single-cask_course .site-container,
.single-cask_expert .site-container,
.single-cask_resource .site-container {
  max-width: 100%;
  padding: 0;
}

/* Hide default Kadence page title on pages with custom hero */
.page-template-default .entry-hero,
.single-cask_course .entry-hero,
.single-cask_expert .entry-hero,
.single-cask_resource .entry-hero {
  display: none;
}

/* Hide Kadence entry header on CPTs with custom templates */
.single-cask_course .entry-header,
.single-cask_resource .entry-header {
  display: none !important;
}

/* Remove boxed content style on full-width pages */
.page-template-default .content-style-boxed .entry-content .alignwide,
.single-cask_course .content-style-boxed .entry-content .alignwide,
.single-cask_expert .content-style-boxed .entry-content .alignwide,
.single-cask_resource .content-style-boxed .entry-content .alignwide {
  margin-left: 0;
  margin-right: 0;
}

/* Kadence content-area override for full-width */
body.page .content-area {
  margin-top: 0;
}

body.single-cask_course .content-area,
body.single-cask_expert .content-area,
body.single-cask_resource .content-area {
  margin-top: 0;
  margin-bottom: 0;
}

/* ==========================================================================
   Header
   ========================================================================== */

.cask-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--cask-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.cask-header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.cask-header-top {
  background: var(--cask-dark);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  padding: 6px 0;
}

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

.header-top-left {
  display: flex;
  gap: 20px;
}

.header-top-right {
  display: flex;
  gap: 16px;
}

.header-top-right a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.header-top-right a:visited {
  color: rgba(255,255,255,0.85);
}
.header-top-right a:hover {
  color: var(--cask-gold-light);
}

.cask-header-main {
  padding: 12px 0;
}

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

.cask-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.cask-logo img {
  height: 40px;
  width: auto;
}

.cask-nav .cask-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cask-menu li {
  position: relative;
}

.cask-menu li a {
  display: block;
  padding: 10px 16px;
  color: var(--cask-dark);
  text-decoration: none;
  font-family: var(--cask-font-heading);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s;
  white-space: nowrap;
}

.cask-menu li a:hover,
.cask-menu li.current-menu-item > a {
  color: var(--cask-gold);
}

/* Dropdown */
.cask-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--cask-white);
  min-width: 220px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-radius: 8px;
  padding: 8px 0;
  list-style: none;
  z-index: 100;
}

.cask-menu li:hover > .sub-menu {
  display: block;
}

.cask-menu .sub-menu li a {
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 500;
}

.cask-menu .sub-menu li a:hover {
  background: var(--cask-gray-light);
  color: var(--cask-gold);
}

/* Mega Menu */
.has-mega-menu > .sub-menu {
  display: none !important;
}
.has-mega-menu {
  position: static !important;
}
.cask-header-main .cask-container {
  position: relative;
}
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border-radius: 0 0 12px 12px;
  z-index: 1000;
}
.mega-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}
.has-mega-menu:hover > .mega-menu,
.has-mega-menu:focus-within > .mega-menu {
  display: block;
}
.mega-menu-inner {
  padding: 32px 36px 0;
}
.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.mega-menu-col {
  padding: 0 28px 24px;
  min-width: 0;
  border-right: 1px solid #eee;
}
.mega-menu-col:first-child { padding-left: 0; }
.mega-menu-col:last-child { border-right: none; padding-right: 0; }
.mega-menu-group {
  font-family: var(--cask-font-heading);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cask-gold);
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cask-gold);
}
.mega-menu-item {
  display: block;
  padding: 14px 0;
  text-decoration: none;
  white-space: normal;
  transition: color 0.2s ease;
}
.mega-menu-item:hover {
}
.mega-menu-title {
  display: block;
  font-family: var(--cask-font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--cask-dark);
  line-height: 1.4;
}
.mega-menu-item:hover .mega-menu-title {
  color: var(--cask-gold);
}
.mega-menu-desc {
  display: block;
  font-size: 12px;
  font-style: italic;
  color: #777;
  margin-top: 3px;
  line-height: 1.4;
}
.mega-menu-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: #faf9f7;
  border-top: 1px solid #eee;
}
.mega-menu-upcoming {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--cask-dark);
}
.mega-menu-tag {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cask-gold);
  background: #faf5ed;
  padding: 4px 12px;
  border-radius: 12px;
}
.mega-menu-cta {
  display: inline-block;
  background: var(--cask-gold);
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.mega-menu-cta:hover {
  background: var(--cask-dark);
  color: #fff;
}

/* Mobile toggle */
.submenu-toggle { display: none; }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cask-dark);
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.cask-footer {
  background: var(--cask-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  margin-bottom: 12px;
}

.footer-logo img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

.cask-footer p {
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.footer-contact {
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col h4 {
  color: var(--cask-white);
  font-family: var(--cask-font-heading);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
}

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

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--cask-gold-light);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--cask-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: background 0.2s;
}

.footer-social a:visited {
  color: var(--cask-white);
}
.footer-social a:hover {
  background: var(--cask-gold);
}

.footer-newsletter {
  margin-top: 20px;
}

.footer-newsletter h4 {
  margin-bottom: 8px;
}

.newsletter-input-wrap {
  display: flex;
  gap: 0;
}

.newsletter-input-wrap input[type="email"] {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.2);
  border-right: none;
  border-radius: 6px 0 0 6px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 13px;
  outline: none;
  -webkit-text-fill-color: #fff;
}
.newsletter-input-wrap input[type="email"]:-webkit-autofill {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 40px rgba(27,62,101,0.95) inset;
  transition: background-color 5000s ease-in-out 0s;
}

.newsletter-input-wrap input[type="email"]::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-input-wrap input[type="email"]:focus {
  border-color: var(--cask-gold);
}

.newsletter-input-wrap button {
  padding: 10px 14px;
  background: var(--cask-gold);
  color: var(--cask-white);
  border: none;
  border-radius: 0 6px 6px 0;
  cursor: pointer;
  transition: background 0.2s;
}

.newsletter-input-wrap button:hover {
  background: var(--cask-gold-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 24px;
  padding: 16px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 13px;
  margin: 0;
  color: rgba(255,255,255,0.5);
}
.footer-links {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 20px;
}
.footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
}
.footer-links a:hover { color: var(--cask-gold); }

/* ==========================================================================
   Course Landing Page (Full-Width Option B)
   ========================================================================== */

.course-landing {
  margin: -20px 0 0;
}

/* ── Course CTA buttons use accent color (fallback to domain color) ── */
.course-landing .cask-btn-primary {
  background: var(--cc-accent, var(--cc, var(--cask-gold)));
  color: var(--cc-accent-text, var(--cc-text, #fff));
}
.course-landing .cask-btn-primary:hover {
  background: #fff;
  color: var(--cc-accent, var(--cc, var(--cask-gold)));
  box-shadow: inset 0 0 0 2px var(--cc-accent, var(--cc, var(--cask-gold)));
}

/* ── Banner Image ── */
.cl-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
}
.cl-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Course Info Bar (dark section below banner) ── */
.cl-hero {
  padding: 24px 0 28px;
  color: var(--cc-text, #fff);
  background: var(--cc, var(--cask-gold));
}

.cl-hero-inner {
  max-width: 760px;
}

.cl-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.cl-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.18);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--cc-text, #fff);
  padding: 6px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.cl-badge--early {
  background: var(--cask-warning);
  color: #1a1a2e;
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  animation: cl-pulse 2s ease-in-out infinite;
}
@keyframes cl-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(245,158,11,0); }
}

.cl-hero h1 {
  color: var(--cc-text, #fff);
  font-size: 36px;
  line-height: 1.2;
  margin: 0 0 12px;
}
.cl-hero-desc {
  font-size: 15px;
  opacity: 0.8;
  line-height: 1.7;
  margin-bottom: 16px;
}

.cl-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--cc-text-soft, rgba(255,255,255,0.15));
  border-bottom: 1px solid var(--cc-text-soft, rgba(255,255,255,0.15));
}
.cl-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cl-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
}
.cl-meta-value {
  font-size: 15px;
  font-weight: 600;
}
.cl-meta-sub {
  font-size: 13px;
  font-weight: 400;
  opacity: 0.7;
}
.cl-meta-old-price {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.6;
  margin-left: 6px;
}

.cl-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.cl-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  opacity: 0.95;
}

.cl-stat svg { flex-shrink: 0; opacity: 0.8; }

.cl-stat--highlight {
  background: rgba(255,255,255,0.15);
  padding: 6px 16px;
  border-radius: 24px;
  font-weight: 600;
}

.cl-hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cl-btn-lg {
  padding: 14px 36px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
}

.cl-btn-md {
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
}

.cl-btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.cl-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cc-text, #fff);
  border: 2px solid var(--cc-text-soft, rgba(255,255,255,0.4));
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}

.cl-btn-ghost:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--cc-text, #fff);
  color: var(--cc-text, #fff);
}

.cl-early-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cask-warning);
  color: #1a1a2e;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  animation: cl-pulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
  .cl-hero { padding: 20px 0; }
  .cl-hero h1 { font-size: 24px; }
  .cl-hero-desc { font-size: 13px; }
  .cl-hero-meta { gap: 12px 24px; justify-content: flex-start; }
  .cl-meta-item { min-width: calc(33% - 24px); }
  .cl-hero-cta { flex-direction: column; align-items: stretch; }
  .cl-btn-lg, .cl-btn-md, .cl-btn-ghost { text-align: center; justify-content: center; }
}

/* Hero 2-col layout when video present */
.cl-hero--video .cask-container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: center;
}
.cl-hero--video .cl-hero-inner { max-width: none; }
.cl-hero-video-col { position: relative; z-index: 2; }
.cl-hero-video-wrap {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  aspect-ratio: 16/9;
}
.cl-hero-video-wrap lite-youtube { width: 100%; height: 100%; }
.cl-yt-thumb { position: relative; cursor: pointer; }
.cl-yt-thumb img,
.cl-yt-thumb iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.cl-yt-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2;
  background: none; border: none; cursor: pointer; padding: 0;
  opacity: .85; transition: opacity .2s, transform .2s;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}
.cl-yt-thumb:hover .cl-yt-play { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }

/* Video modal popup */
.cl-video-modal {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s;
  cursor: pointer;
}
.cl-video-modal.active { opacity: 1; visibility: visible; }
.cl-video-modal-inner {
  width: 90vw; max-width: 960px; aspect-ratio: 16/9;
  position: relative; cursor: default;
}
.cl-video-modal-inner iframe {
  width: 100%; height: 100%; border: 0; border-radius: 8px;
}
.cl-video-modal-close {
  position: absolute; top: -40px; right: 0;
  background: none; border: none; color: #fff;
  font-size: 32px; cursor: pointer; line-height: 1;
}
@media (max-width: 900px) {
  .cl-hero--video .cask-container { grid-template-columns: 1fr; gap: 24px; }
  .cl-hero-video-col { width: 100%; max-width: 100%; }
}

/* ── Consultation Popup ── */
.cl-consult-overlay {
  position: fixed; inset: 0; z-index: 100000;
  background: rgba(0,0,0,0.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s;
  padding: 20px;
}
.cl-consult-overlay.active { opacity: 1; visibility: visible; }
.cl-consult-popup {
  background: #fff; border-radius: 16px;
  width: 100%; max-width: 440px;
  padding: 36px 32px; position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh; overflow-y: auto;
}
.cl-consult-overlay.active .cl-consult-popup { transform: translateY(0); }
.cl-consult-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; font-size: 28px;
  color: #999; cursor: pointer; line-height: 1;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: background 0.2s;
}
.cl-consult-close:hover { background: #f0f0f0; color: #333; }
.cl-consult-header { text-align: center; margin-bottom: 24px; }
.cl-consult-header h3 { font-size: 22px; margin: 0 0 6px; color: var(--cask-dark); }
.cl-consult-header p { font-size: 14px; color: #666; margin: 0; }
.cl-consult-field { margin-bottom: 12px; }
.cl-consult-field input,
.cl-consult-field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid #ddd;
  border-radius: 8px; font-size: 15px; transition: border-color 0.2s;
  box-sizing: border-box; font-family: inherit;
}
.cl-consult-field textarea { resize: vertical; min-height: 80px; }
.cl-consult-field input:focus,
.cl-consult-field textarea:focus { border-color: var(--cc, var(--cask-gold)); outline: none; }
.cl-consult-submit { margin-top: 8px; width: 100%; font-size: 16px; padding: 14px; }
.cl-consult-note { text-align: center; font-size: 13px; color: #888; margin: 14px 0 0; }
.cl-consult-note a { color: var(--cask-dark); }
.cl-consult-success { text-align: center; padding: 24px 0; }
.cl-consult-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: #22c55e; color: #fff; font-size: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.cl-consult-success h3 { font-size: 22px; margin: 0 0 8px; color: var(--cask-dark); }
.cl-consult-success p { color: #666; margin: 0 0 20px; }

/* ── Section System ── */
.cl-section { padding: 48px 0; }
.cl-section--white { background: #fff; }
.cl-section--gray { background: #f4f4f4; }
.cl-section--dark { background: var(--cask-dark); }
.cl-section--warm { background: var(--cask-light-bg, #f8f6f1); }

.cl-section-title {
  font-size: 28px;
  text-align: center;
  margin: 0 0 12px;
  color: var(--cask-dark);
  border-bottom: none;
  padding-bottom: 0;
}

.cl-section-title--light { color: #fff; }

.cl-section-subtitle {
  text-align: center;
  font-size: 16px;
  color: #777;
  margin: 0 0 40px;
}

@media (max-width: 768px) {
  .cl-section { padding: 40px 0; }
  .cl-section-title { font-size: 22px; }
  .cl-section-subtitle { font-size: 14px; margin-bottom: 28px; }
}

/* ── Highlights ── */
.cl-section-header {
  text-align: center;
  margin-bottom: 32px;
}
.cl-hl-badge {
  display: inline-block;
  background: var(--cc, var(--cask-gold));
  color: var(--cc-text, #fff);
  padding: 8px 32px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.cl-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 1060px;
  margin: 0 auto;
}
.cl-highlights .cl-highlight-card {
  flex: 0 0 calc((100% - 40px) / 3);
}
.cl-highlights--4 .cl-highlight-card {
  flex: 0 0 calc((100% - 60px) / 4);
}

.cl-highlight-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s cubic-bezier(.4,0,.2,1);
}
.cl-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.cl-highlight-num {
  font-family: var(--cask-font-heading);
  font-size: 48px;
  font-weight: 700;
  font-style: italic;
  color: var(--cc, var(--cask-gold));
  line-height: 1;
  margin-bottom: 16px;
}
.cl-highlight-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--cask-dark);
  margin: 0 0 12px;
  line-height: 1.5;
}
.cl-highlight-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

.cl-section--gray .cl-highlight-card { background: #fff; }

@media (max-width: 1024px) {
  .cl-highlights .cl-highlight-card,
  .cl-highlights--4 .cl-highlight-card { flex: 0 0 calc((100% - 20px) / 2); }
}
@media (max-width: 767px) {
  .cl-highlights { gap: 12px; }
  .cl-highlights .cl-highlight-card,
  .cl-highlights--4 .cl-highlight-card { flex: 0 0 calc((100% - 12px) / 2); }
  .cl-highlight-card { padding: 20px 16px; }
  .cl-highlight-num { font-size: 22px; }
  .cl-highlight-title { font-size: 13px; }
  .cl-section-header { margin-bottom: 32px; }
}

/* ── CTA Bands ── */
/* Brochure download band */
.cl-brochure-band {
  padding: 32px 0;
  background: linear-gradient(135deg, #f8f6f2, #fff8ef);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.cl-brochure-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.cl-brochure-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--cc, var(--cask-gold)) 12%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cc, var(--cask-gold));
}
.cl-brochure-text { flex: 1; }
.cl-brochure-text h3 { margin: 0 0 4px; font-size: 18px; color: var(--cask-dark); }
.cl-brochure-text p { margin: 0; font-size: 14px; color: #666; }
.cl-brochure-btn { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 768px) {
  .cl-brochure-inner { flex-wrap: wrap; }
  .cl-brochure-btn { width: 100%; justify-content: center; }
}

.cl-cta-band {
  padding: 28px 0;
  background: var(--cc, var(--cask-gold));
}

.cl-cta-band--accent {
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--cc, var(--cask-gold)) 90%, #000),
    color-mix(in srgb, var(--cc, var(--cask-gold)) 65%, #000));
}

.cl-cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #fff;
}

.cl-cta-band-inner p { margin: 0; font-size: 16px; font-weight: 500; }
.cl-cta-band-inner h3 { margin: 0 0 4px; font-size: 20px; color: #fff; }

.cl-cta-band-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cl-cta-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}

.cl-cta-phone:hover { color: #fff; }

.cl-countdown-inline {
  display: inline-block;
  font-family: var(--cask-font-heading);
  font-size: 14px;
  font-weight: 700;
  background: rgba(255,255,255,0.15);
  padding: 6px 14px;
  border-radius: 6px;
  margin-top: 8px;
  color: #fff;
}

.cl-cta-band .cask-btn-primary {
  background: #fff;
  color: var(--cask-dark);
  white-space: nowrap;
}

.cl-cta-band .cask-btn-primary:hover {
  background: #f5f5f5;
  color: var(--cask-dark);
}

@media (max-width: 768px) {
  .cl-cta-band { padding: 24px 0; }
  .cl-cta-band-inner { flex-direction: column; text-align: center; }
  .cl-cta-band-actions { flex-direction: column; width: 100%; }
  .cl-cta-band .cask-btn-primary { width: 100%; text-align: center; }
}

/* ── Target Audience (Option E: top-aligned box + CTA below + domain color) ── */
#cl-audience.cl-section { padding: 0 0 64px; }
.cl-audience-box {
  background: var(--cc, var(--cask-gold));
  border-radius: 0 0 20px 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 2fr 3fr;
  min-height: 400px;
}
.cl-audience-image {
  position: relative;
  overflow: hidden;
  max-height: 520px;
}
.cl-audience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cl-audience-content {
  padding: 48px 48px 48px 40px;
}
.cl-audience-content h2 {
  color: var(--cc-text, #fff);
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 32px;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cl-audience-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.cl-audience-item:last-of-type { margin-bottom: 0; }
.cl-audience-check {
  flex-shrink: 0;
  color: var(--cc-text-soft, rgba(255,255,255,0.85));
  margin-top: 2px;
}
.cl-audience-item h3 {
  color: var(--cc-text, #fff);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
}
.cl-audience-item p {
  color: var(--cc-text-soft, rgba(255,255,255,0.8));
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}
.cl-audience-cta {
  text-align: center;
  padding: 40px 0 0;
}
.cl-audience-cta a,
.cl-audience-cta button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 40px;
  background: var(--cc-accent, var(--cc, var(--cask-dark)));
  color: var(--cc-accent-text, var(--cc-text, #fff));
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: filter .25s, transform .25s, box-shadow .25s;
}
.cl-audience-cta a:hover,
.cl-audience-cta button:hover {
  background: #fff;
  color: var(--cc, var(--cask-gold));
  box-shadow: inset 0 0 0 2px var(--cc, var(--cask-gold));
  transform: translateY(-2px);
  filter: none;
}


@media (max-width: 768px) {
  #cl-audience.cl-section { padding: 0 0 48px; }
  .cl-audience-box { grid-template-columns: 1fr; }
  .cl-audience-image { max-height: 240px; }
  .cl-audience-content { padding: 32px 24px; }
  .cl-audience-content h2 { font-size: 22px; margin-bottom: 24px; }
  .cl-audience-item h3 { font-size: 14px; }
  .cl-audience-item p { font-size: 13px; }
  .cl-audience-cta { padding: 28px 0 0; }
  .cl-audience-cta a, .cl-audience-cta button { width: 100%; }
}

/* ── Overview ── */
.cl-prose { max-width: 800px; margin: 0 auto; }
.cl-prose h2 { text-align: center; margin-bottom: 32px; }

/* ── Curriculum ── */
/* Two-Tone Card layout for chaptered courses */
.cl-cur-layout {
  display: flex;
  max-width: 1060px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.cl-cur-sidebar {
  flex: 0 0 260px;
  background: #f8f8f6;
  padding: 28px 0;
  border-right: 1px solid #eee;
  border-radius: 16px 0 0 16px;
}
.cl-cur-nav {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 100px;
}
.cl-cur-nav-item {
  display: block;
  width: 100%;
  padding: 16px 24px;
  text-align: left;
  cursor: pointer;
  border: none;
  background: none;
  border-left: 3px solid transparent;
  border-radius: 0;
  transition: all .2s;
}
.cl-cur-nav-item:hover {
  background: rgba(0,0,0,0.02);
}
.cl-cur-nav-item.active {
  background: #fff;
  border-left-color: var(--cc, var(--cask-gold));
  margin-right: -1px;
  position: relative;
}
.cl-cur-nav-label {
  display: block;
  font-family: var(--cask-font-heading);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #bbb;
  margin-bottom: 3px;
}
.cl-cur-nav-item.active .cl-cur-nav-label {
  color: var(--cc, var(--cask-gold));
}
.cl-cur-nav-title {
  display: block;
  font-family: var(--cask-font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--cask-dark);
  line-height: 1.35;
}
.cl-cur-nav-range {
  display: block;
  font-size: 11px;
  color: #bbb;
  margin-top: 3px;
}
.cl-cur-nav-item.active .cl-cur-nav-range {
  color: color-mix(in srgb, var(--cc, var(--cask-gold)) 70%, transparent);
}
.cl-cur-main {
  flex: 1;
  min-width: 0;
  padding: 28px 32px;
  border-radius: 0 16px 16px 0;
}

.cl-cur-panel { display: none; }
.cl-cur-panel.active { display: block; }
.cl-cur-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 12px;
}
.cl-cur-panel-label { display: none; }
.cl-cur-panel-range { display: none; }
.cl-cur-panel-title {
  font-family: var(--cask-font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--cask-dark);
}

.cl-session-desc {
  padding: 8px 0 16px;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Mobile: card → stacked */
@media (max-width: 768px) {
  .cl-cur-layout {
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
  }
  .cl-cur-sidebar { display: none; }
  .cl-cur-main { padding: 0; }
  .cl-cur-panel { display: block !important; animation: none !important; }
  .cl-cur-panel-header {
    background: var(--cask-dark, #1B3E65);
    color: #fff;
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .cl-cur-panel-header::after {
    content: '';
    width: 10px; height: 10px;
    border-right: 2px solid rgba(255,255,255,0.6);
    border-bottom: 2px solid rgba(255,255,255,0.6);
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform .25s;
  }
  .cl-cur-panel-header.mob-open::after {
    transform: rotate(-135deg);
  }
  .cl-cur-panel-title {
    font-size: 14px; font-weight: 700; color: #fff;
    text-transform: uppercase;
  }
  .cl-cur-panel-header .cl-expand-all { display: none; }
  .cl-cur-panel .cl-curriculum {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.4,0,.2,1);
  }
  .cl-cur-panel.mob-open .cl-curriculum {
    max-height: 5000px;
  }
  .cl-cur-panel-label {
    display: block;
    font-size: 11px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2px;
  }
  .cl-cur-panel-range {
    display: inline;
    font-size: 12px; font-weight: 400;
    color: rgba(255,255,255,0.5);
  }
}

.cl-curriculum-actions {
  max-width: 800px;
  margin: 0 auto 12px;
  text-align: right;
}
.cl-expand-all {
  background: none;
  border: 1px solid #ddd;
  padding: 6px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cask-gray);
  cursor: pointer;
  transition: all .2s;
}
.cl-expand-all:hover {
  border-color: var(--cc, var(--cask-gold));
  color: var(--cc, var(--cask-gold));
}
.cl-curriculum {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #ddd;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.cl-chapter { border-bottom: 1px solid #e5e7eb; }
.cl-chapter:last-child { border-bottom: none; }

.cl-chapter-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: #fff;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--cask-dark);
  transition: background .2s;
  position: relative;
}

.cl-chapter-toggle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cc, var(--cask-gold));
  transform: scaleY(0);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.cl-chapter-toggle[aria-expanded="true"]::before { transform: scaleY(1); }

.cl-chapter-toggle:hover,
.cl-chapter-toggle:focus,
.cl-chapter-toggle:active { background: #faf8f4 !important; color: var(--cask-dark) !important; outline: none; }
.cl-chapter-toggle[aria-expanded="true"] { background: #faf8f4 !important; color: var(--cask-dark) !important; }

.cl-chapter-num {
  font-family: var(--cask-font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--cc, var(--cask-gold));
  opacity: 0.4;
  line-height: 1;
  min-width: 48px;
  flex-shrink: 0;
}

.cl-chapter-title { flex: 1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cl-chapter-meta { display: flex; gap: 8px; align-items: center; }

.cl-ch-sessions,
.cl-ch-topics {
  font-size: 12px;
  font-weight: 400;
  color: #888;
  white-space: nowrap;
  background: #f0ece0;
  padding: 3px 10px;
  border-radius: 12px;
}

.cl-chapter-arrow {
  flex-shrink: 0;
  color: #aaa;
  transition: transform .25s;
}

.cl-chapter-toggle[aria-expanded="true"] .cl-chapter-arrow {
  transform: rotate(180deg);
}

.cl-chapter-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
  background: #faf8f4;
  padding: 0 24px 0 88px;
}

.cl-chapter-body ul { margin: 0; padding: 4px 0 8px; list-style: none; }
.cl-chapter-body li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}
.cl-chapter-body li::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background: var(--cc, var(--cask-gold));
  margin-top: 8px;
  opacity: 0.5;
}

/* Chapter outcome */
.cl-chapter-outcome {
  margin: 4px 0 16px;
  padding: 12px 16px;
  background: rgba(var(--cc-rgb, 197,168,128), 0.08);
  border-left: 3px solid var(--cc, var(--cask-gold));
  border-radius: 0 8px 8px 0;
}
.cl-chapter-outcome strong {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--cask-dark); margin-bottom: 6px;
}
.cl-chapter-outcome strong svg { color: var(--cc, var(--cask-gold)); }
.cl-chapter-outcome p {
  margin: 0; font-size: 13px; line-height: 1.7; color: #555;
}

/* Workshop badge */
.cl-badge-workshop {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 4px;
  background: color-mix(in srgb, var(--cc, var(--cask-gold)) 15%, transparent);
  color: var(--cc, var(--cask-gold));
  vertical-align: middle;
}

/* Rich session details */
.cl-session-details {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  padding: 8px 0 20px;
}

/* Expanded session: number becomes domain color */
.cl-chapter-toggle[aria-expanded="true"] .cl-chapter-num {
  opacity: 0.7;
}

/* Fade transition for panel switch */
.cl-cur-panel {
  animation: none;
}
.cl-cur-panel.active {
  animation: clFadeIn .3s ease;
}
@keyframes clFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile scroll hint for sidebar */
/* scroll hint removed — sidebar hidden on mobile */

@media (max-width: 768px) {
  .cl-chapter-toggle { padding: 16px; font-size: 14px; gap: 12px; }
  .cl-chapter-num { font-size: 24px; min-width: 36px; }
  .cl-chapter-meta { display: none; }
  .cl-chapter-body { padding: 0 16px 0 52px; }
  .cl-badge-workshop { font-size: 9px; }
}

/* ── Tools & Templates ── */
/* ── Content Preview Card ── */
.cl-content-preview {
  display: flex; gap: 20px; align-items: center;
  max-width: 800px; margin: 28px auto 0;
  background: var(--cc, var(--cask-dark));
  border-radius: 14px; padding: 20px 24px;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.cl-content-preview:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }
.cl-content-preview-thumb {
  flex: 0 0 160px; position: relative;
  border-radius: 10px; overflow: hidden;
  aspect-ratio: 16/9; background: #000;
}
.cl-content-preview-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.cl-content-preview-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.cl-content-preview-play svg { filter: drop-shadow(0 1px 4px rgba(0,0,0,0.4)); }
.cl-content-preview-text { flex: 1; }
.cl-content-preview-tag {
  display: inline-block;
  background: rgba(255,255,255,0.15); color: #fff;
  font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 5px;
  margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px;
}
.cl-content-preview-text h4 { font-size: 16px; font-weight: 700; margin: 0 0 6px; line-height: 1.4; color: #fff; }
.cl-content-preview-text p { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.5; margin: 0; }
.cl-content-preview-arrow { flex-shrink: 0; color: rgba(255,255,255,0.7); font-size: 24px; }
.cl-content-preview.cl-cc-light .cl-content-preview-tag { background: rgba(0,0,0,0.1); color: var(--cask-dark); }
.cl-content-preview.cl-cc-light .cl-content-preview-text h4 { color: var(--cask-dark); }
.cl-content-preview.cl-cc-light .cl-content-preview-text p { color: rgba(0,0,0,0.6); }
.cl-content-preview.cl-cc-light .cl-content-preview-arrow { color: rgba(0,0,0,0.4); }
@media (max-width: 768px) {
  .cl-content-preview { flex-direction: column; gap: 14px; text-align: center; padding: 18px; }
  .cl-content-preview-thumb { flex: none; width: 100%; }
  .cl-content-preview-arrow { display: none; }
}

/* ── Instructors (Carousel) ── */
.cl-instructor-carousel-wrap {
  position: relative;
  max-width: 100%;
}
.cl-instructor-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px 16px;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.cl-instructor-carousel::-webkit-scrollbar { display: none; }

/* ── Single Instructor Featured ── */
.cl-instructor-featured {
  display: flex; align-items: center; gap: 48px;
}
.cl-instructor-featured-info {
  flex: 1; min-width: 0;
}
.cl-instructor-featured-info h3 {
  font-family: var(--cask-font-heading); font-size: 28px;
  font-weight: 700; color: var(--cask-dark); margin: 0 0 8px;
}
.cl-instructor-featured-title {
  display: block; font-size: 14px; font-weight: 600;
  color: var(--cask-dark); text-transform: uppercase;
  letter-spacing: 0.5px; margin-bottom: 20px;
}
.cl-instructor-featured-bio {
  font-size: 15px; line-height: 1.7; color: #444; margin-bottom: 24px;
}
.cl-instructor-featured-bio p { margin: 0 0 12px; }
.cl-instructor-featured-bio p:last-child { margin-bottom: 0; }
.cl-instructor-featured-photo {
  flex: 0 0 280px; width: 280px; height: 280px;
  border-radius: 50%; overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.cl-instructor-featured-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.cl-instructor-featured--reverse { flex-direction: row-reverse; }
.cl-instructor-duo { display: flex; flex-direction: column; gap: 48px; }
@media (max-width: 767px) {
  .cl-instructor-featured,
  .cl-instructor-featured--reverse { flex-direction: column-reverse; gap: 24px; text-align: center; }
  .cl-instructor-featured-photo { flex: 0 0 200px; width: 200px; height: 200px; }
  .cl-instructor-featured-info h3 { font-size: 22px; }
  .cl-instructor-duo { gap: 32px; }
}

.cl-instructor-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: box-shadow .2s;
}
.cl-instructor-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.cl-instructor-photo {
  position: relative;
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0ebe0;
  margin: 0 auto 16px;
  border: 3px solid var(--cc, var(--cask-gold));
  box-shadow: 0 4px 16px rgba(197,168,128,0.2);
}
.cl-instructor-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cl-instructor-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cc, var(--cask-gold)), color-mix(in srgb, var(--cc, var(--cask-gold)) 70%, #000));
  color: #fff;
  font-size: 28px;
  font-weight: 800;
}

.cl-instructor-card h3 { margin: 0 0 4px; font-size: 16px; }
.cl-instructor-card h3 a { color: var(--cask-dark); text-decoration: none; }
.cl-instructor-card h3 a:hover { color: var(--cc, var(--cask-gold)); }

.cl-instructor-title {
  display: block;
  font-size: 13px;
  color: var(--cask-gray);
  margin-bottom: 2px;
}
.cl-instructor-company {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--cc, var(--cask-gold));
  margin-bottom: 12px;
}

.cl-instructor-bio {
  font-size: 13px; line-height: 1.5; color: #666;
  margin: 8px 0 0; text-align: left;
}
.cl-instructor-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--cc, var(--cask-gold));
  text-decoration: none;
  background: none; border: none; cursor: pointer; padding: 0;
  margin-top: auto;
}
.cl-instructor-link:hover { text-decoration: underline; }
/* Bio Modal */
.cl-bio-modal {
  position: fixed; inset: 0; z-index: 99998;
  background: rgba(0,0,0,0.6); display: flex;
  align-items: center; justify-content: center;
  padding: 24px;
}
.cl-bio-modal-inner {
  background: #fff; border-radius: 16px; padding: 40px;
  max-width: 640px; width: 100%; max-height: 85vh;
  overflow-y: auto; position: relative; text-align: center;
}
.cl-bio-modal-close {
  position: absolute; top: 12px; right: 16px;
  background: none; border: none; font-size: 28px;
  color: #999; cursor: pointer; line-height: 1;
}
.cl-bio-modal-close:hover { color: #333; }
.cl-bio-modal-header {
  display: flex; align-items: center; gap: 20px; margin-bottom: 24px;
  text-align: left;
}
.cl-bio-modal-photo {
  width: 100px; height: 100px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0;
  border: 3px solid var(--cc, var(--cask-gold));
}
.cl-bio-modal-info h3 {
  font-size: 22px; font-weight: 700; color: var(--cask-dark);
  margin: 0 0 4px;
}
.cl-bio-modal-info .cl-instructor-title {
  font-size: 13px; margin-bottom: 6px; display: block;
}
.cl-bio-exp {
  display: inline-block; font-size: 12px; font-weight: 600;
  color: var(--cc, var(--cask-gold)); background: rgba(197,168,128,0.1);
  padding: 3px 10px; border-radius: 20px; margin-top: 4px;
}
.cl-bio-section {
  text-align: left; margin-bottom: 20px;
}
.cl-bio-section:last-child { margin-bottom: 0; }
.cl-bio-section h4 {
  font-size: 14px; font-weight: 700; color: var(--cask-dark);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin: 0 0 10px; padding-bottom: 8px;
  border-bottom: 2px solid var(--cc, var(--cask-gold));
}
.cl-bio-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.cl-bio-tag {
  font-size: 13px; color: #555; background: #f0f0f0;
  padding: 4px 12px; border-radius: 20px;
}
.cl-bio-modal-content {
  text-align: left; font-size: 15px; line-height: 1.7; color: #444;
}
.cl-bio-modal-content p { margin: 0 0 12px; }
.cl-bio-modal-content h2,
.cl-bio-modal-content h3,
.cl-bio-modal-content h4 {
  font-size: 15px; font-weight: 700; color: var(--cask-dark);
  margin: 16px 0 8px;
}
.cl-bio-modal-content ul,
.cl-bio-modal-content ol { padding-left: 20px; margin: 0 0 12px; }
.cl-bio-modal-content li { margin-bottom: 4px; }
.cl-bio-roles {
  list-style: none; padding: 0; margin: 0;
}
.cl-bio-roles li {
  position: relative; padding: 8px 0 8px 20px;
  font-size: 14px; line-height: 1.5; color: #444;
  border-bottom: 1px solid #f0f0f0;
}
.cl-bio-roles li:last-child { border-bottom: none; }
.cl-bio-roles li::before {
  content: ''; position: absolute; left: 0; top: 14px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cc, var(--cask-gold));
}
@media (max-width: 767px) {
  .cl-bio-modal-inner { padding: 24px 20px; }
  .cl-bio-modal-header { flex-direction: column; text-align: center; gap: 12px; }
  .cl-bio-modal-photo { width: 80px; height: 80px; }
}

/* Carousel nav buttons */
.cl-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 32px;
  font-weight: 300;
  line-height: 1;
  color: #aaa;
  cursor: pointer;
  transition: background .2s, color .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
button.cl-carousel-btn:hover {
  background: transparent !important;
  box-shadow: none !important;
  color: var(--cc, var(--cask-gold));
  outline: none;
}
button.cl-carousel-btn:focus,
button.cl-carousel-btn:active {
  background: transparent !important;
  box-shadow: none !important;
  color: #aaa;
  outline: none;
}
button.cl-carousel-btn::before,
button.cl-carousel-btn::after {
  display: none !important;
}
.cl-carousel-prev { left: -52px; }
.cl-carousel-next { right: -52px; }

/* Carousel dots */
.cl-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.cl-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: all .3s;
  padding: 0;
}
.cl-carousel-dot.active {
  background: var(--cc, var(--cask-gold));
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .cl-instructor-carousel { scroll-snap-type: x mandatory; gap: 16px; padding: 8px 0 16px; }
  .cl-instructor-card { flex: 0 0 100%; padding: 24px 20px; scroll-snap-align: center; }
  .cl-carousel-btn { display: flex; }
  .cl-carousel-prev { left: 4px; }
  .cl-carousel-next { right: 4px; }
  .cl-instructor-photo { width: 100px; height: 100px; }
}

/* ── Pricing Section ── */
.cl-section--pricing {
  padding: 72px 0;
  background: #f4f4f4;
}

/* Pricing Band — Option 4 horizontal layout */
.cl-pricing-band {
  max-width: 960px;
  margin: 32px auto 0;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.cl-pricing-top {
  display: flex;
  align-items: stretch;
}

.cl-pricing-info {
  flex: 1;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cl-pricing-domain {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--cc, var(--cask-gold));
  margin-bottom: 4px;
}

.cl-pricing-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--cask-dark);
  margin: 0 0 16px;
}

.cl-pricing-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cl-pricing-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
  background: #f5f5f5;
  padding: 8px 14px;
  border-radius: 8px;
}

.cl-pricing-chip svg { color: var(--cc, var(--cask-gold)); flex-shrink: 0; }

.cl-pricing-price-col {
  flex: 0 0 340px;
  background: var(--cc, var(--cask-dark));
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--cc-text, #fff);
}

.cl-price-main { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; }

.cl-price-value {
  font-family: var(--cask-font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--cc-text, #fff);
  line-height: 1;
}

.cl-price-currency { font-size: 16px; font-weight: 600; color: var(--cc-text-soft, rgba(255,255,255,0.6)); }
.cl-price-online { font-size: 13px; color: var(--cc-text-soft, rgba(255,255,255,0.6)); }

.cl-price-date {
  font-size: 13px;
  background: color-mix(in srgb, var(--cc-text, #fff) 12%, transparent);
  padding: 6px 14px;
  border-radius: 6px;
  margin: 4px 0;
  color: var(--cc-text, #fff);
}

.cl-pricing-price-col .cask-btn-primary {
  background: var(--cc-text, #fff);
  color: var(--cc, var(--cask-dark));
  width: 100%;
  margin-top: 4px;
}

.cl-pricing-price-col .cask-btn-primary:hover {
  background: #f0f0f0;
}

.cl-pricing-trust {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 16px 32px;
  background: #fafafa;
  border-top: 1px solid #eee;
}

.cl-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #999;
}

.cl-trust-item svg { flex-shrink: 0; color: var(--cc, var(--cask-gold)); }

.cl-trust-phone {
  text-decoration: none;
  color: #999;
  transition: color .2s;
}

.cl-trust-phone:hover { color: var(--cask-dark); }

.cl-price-early-badge {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  animation: cl-pulse-subtle 2s ease-in-out infinite;
}

@keyframes cl-pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; transform: scale(1.02); }
}

.cl-price-savings {
  display: inline-block;
  background: rgba(22,163,74,0.15);
  color: #16a34a;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

.cl-price-original { font-size: 14px; color: rgba(255,255,255,0.5); }
.cl-price-original del { text-decoration: line-through; }
.cl-price-deadline { font-size: 13px; color: #fca5a5; font-weight: 600; }

@media (max-width: 768px) {
  .cl-section--pricing { padding: 48px 0; }
  .cl-pricing-top { flex-direction: column; }
  .cl-pricing-price-col { flex: none; padding: 28px 24px; }
  .cl-pricing-info { padding: 24px; }
  .cl-price-value { font-size: 32px; }
  .cl-pricing-trust { flex-wrap: wrap; gap: 12px; justify-content: center; padding: 16px 20px; }
}

/* ── Testimonials — Wall of Love ── */

/* Carousel wrapper — shared by videos + quotes */
.cl-wol-carousel-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto 36px;
}

/* Prev / Next buttons */
.cl-wol-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid #ddd; cursor: pointer;
  font-size: 22px; color: #555;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all .2s;
}
.cl-wol-nav:hover { background: var(--cask-dark); color: #fff; border-color: var(--cask-dark); }
.cl-wol-nav--prev { left: -22px; }
.cl-wol-nav--next { right: -22px; }

/* ── Video track ── */
.cl-wol-vid-track {
  display: flex; gap: 16px;
  overflow-x: auto; scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 4px 0;
}
.cl-wol-vid-track::-webkit-scrollbar { display: none; }
.cl-wol-vid-track--fit { justify-content: center; }
.cl-wol-video {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: calc((100% - 32px) / 3);
  scroll-snap-align: start;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/9;
  background: #111;
}
.cl-wol-video img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cl-wol-video:hover img { transform: scale(1.04); }
.cl-wol-video-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.2);
  transition: background .3s;
}
.cl-wol-video:hover .cl-wol-video-play { background: rgba(0,0,0,0.35); }
.cl-wol-video-play svg { filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3)); }
.cl-wol-video-label {
  position: absolute; bottom: 12px; left: 14px; right: 14px;
  font-size: 13px; color: #fff; font-weight: 500;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ── Quote track ── */
.cl-wol-quotes-wrap { margin-bottom: 0; }
.cl-wol-quote-track {
  display: flex; gap: 16px; align-items: stretch;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding: 4px 0;
}
.cl-wol-quote-track::-webkit-scrollbar { display: none; }
.cl-wol-quote-track--fit { justify-content: center; }
.cl-wol-card {
  flex: 0 0 calc((100% - 32px) / 3);
  min-width: calc((100% - 32px) / 3);
  scroll-snap-align: start;
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid #eee;
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.cl-wol-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.cl-wol-stars {
  color: #f59e0b;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.cl-wol-card blockquote {
  font-size: 14px;
  line-height: 1.7;
  font-style: italic;
  margin: 0 0 8px;
  color: #555;
  border-left: 3px solid var(--cc, var(--cask-gold));
  padding-left: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cl-wol-readmore {
  font-size: 13px;
  color: var(--cask-gold);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 12px;
  font-weight: 600;
}
.cl-wol-readmore:hover { text-decoration: underline; }
.cl-wol-readmore span::after { content: 'Xem thêm...'; }
/* Testimonial modal */
.cl-testi-modal {
  position: fixed; inset: 0; z-index: 99998;
  background: rgba(0,0,0,0.6); display: flex;
  align-items: center; justify-content: center;
  padding: 24px;
}
.cl-testi-modal-inner {
  background: #fff; border-radius: 16px; padding: 40px 32px;
  max-width: 520px; width: 100%; max-height: 85vh;
  overflow-y: auto; position: relative; text-align: center;
}
.cl-testi-modal-photo {
  width: 120px; height: 120px; border-radius: 50%;
  margin: 0 auto 20px; overflow: hidden;
  border: 3px solid var(--cc, var(--cask-gold));
}
.cl-testi-modal-photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.cl-testi-modal-photo .cl-wol-initials {
  display: flex; width: 100%; height: 100%;
  align-items: center; justify-content: center;
  background: var(--cc, var(--cask-gold)); color: #fff;
  font-size: 36px; font-weight: 700;
}
.cl-testi-modal .cl-wol-stars {
  margin-bottom: 16px; font-size: 18px;
}
.cl-testi-modal blockquote {
  font-size: 16px; line-height: 1.8; font-style: italic;
  color: #444; margin: 0 0 20px; padding: 0;
}
.cl-testi-modal-author strong {
  display: block; font-size: 16px; color: var(--cask-dark);
  margin-bottom: 2px;
}
.cl-testi-modal-author span {
  font-size: 13px; color: #888;
}
@media (max-width: 767px) {
  .cl-testi-modal-inner { padding: 28px 20px; }
  .cl-testi-modal-photo { width: 90px; height: 90px; }
}
.cl-wol-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cl-wol-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(15,39,63,0.15);
  background: var(--cc, var(--cask-gold));
  display: flex;
  align-items: center;
  justify-content: center;
}
.cl-wol-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cl-wol-initials {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.cl-wol-author strong {
  display: block;
  font-size: 14px;
  color: var(--cask-dark);
}
.cl-wol-author span {
  display: block;
  font-size: 12px;
  color: #888;
}

/* Gallery in Wall of Love */
.cl-wol-gallery { margin-top: 40px; position: relative; }
.cl-gallery-nav {
  position: absolute;
  top: 55%;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: rgba(255,255,255,0.95);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--cask-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all .2s;
}
.cl-gallery-nav:hover { border-color: var(--cask-gold); color: var(--cask-gold); }
.cl-gallery-nav--prev { left: -8px; }
.cl-gallery-nav--next { right: -8px; }
.cl-wol-gallery .cl-subsection-title {
  text-align: center; font-size: 20px; font-weight: 700;
  color: var(--cask-dark); margin-bottom: 20px;
}
.cl-wol-gallery-scroll {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: none;
}
.cl-wol-gallery-scroll::-webkit-scrollbar { display: none; }
.cl-wol-gallery-slide {
  flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start;
  border-radius: 12px; overflow: hidden; aspect-ratio: 4/3;
}
.cl-wol-gallery-slide img { width: 100%; height: 100%; object-fit: cover; }

/* ── FAQ ── */
.cl-faqs {
  max-width: 960px;
  margin: 24px auto 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
}
.cl-faq-item { border-bottom: 1px solid #eee; }
.cl-faq-item:last-child { border-bottom: none; }

button.cl-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: #fff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 600;
  color: #1B3E65;
  transition: background .2s;
  position: relative;
}
button.cl-faq-q:hover,
button.cl-faq-q:focus,
button.cl-faq-q:active {
  background: #f9f7f3;
  color: #1B3E65;
  box-shadow: none;
}

.cl-faq-q::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--cc, var(--cask-gold));
  transform: scaleY(0);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.cl-faq-item.open .cl-faq-q::before { transform: scaleY(1); }
.cl-faq-item.open button.cl-faq-q { background: #faf8f4; color: #1B3E65; }

.cl-faq-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cc, var(--cask-gold)), color-mix(in srgb, var(--cc, var(--cask-gold)) 70%, #000));
  color: #fff;
  font-family: var(--cask-font-heading);
  font-size: 12px;
  font-weight: 800;
}
.cl-faq-q span:not(.cl-faq-badge) { flex: 1; }

.cl-faq-q svg { flex-shrink: 0; color: #aaa; transition: transform .25s; }
.cl-faq-item.open .cl-faq-q svg { transform: rotate(180deg); }

.cl-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1);
  padding: 0 66px 0 66px;
}
.cl-faq-a p { margin: 0; padding: 0 0 22px; font-size: 15px; line-height: 1.75; color: #444; }
.cl-faq-item.open + .cl-faq-item { border-top: 1px solid #e5e5e5; }

/* ── Related Blog ── */
.cl-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 24px auto 0;
}

.cl-blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}

.cl-blog-card:hover {
  border-color: var(--cc, var(--cask-gold));
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.cl-blog-thumb { aspect-ratio: 16/9; overflow: hidden; }
.cl-blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cl-blog-card:hover .cl-blog-thumb img { transform: scale(1.05); }

.cl-blog-info { padding: 16px 20px; }

.cl-blog-info h4 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--cask-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cl-blog-date { font-size: 12px; color: #999; }

@media (max-width: 768px) {
  .cl-blog-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
}

/* ── Related Courses Carousel (reuses .course-archive-card) ── */
.cl-related-carousel-wrap {
  position: relative;
  margin: 24px 0 0;
}
.cl-related-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 12px;
}
.cl-related-track::-webkit-scrollbar { display: none; }
.cl-related-track .course-archive-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  min-width: 0;
}
.cl-related-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  background: rgba(255,255,255,0.95);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--cask-dark);
  transition: all .2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.cl-related-nav:hover {
  background: #fff;
  border-color: var(--cask-gold);
  color: var(--cask-gold);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.cl-related-nav--prev { left: -22px; }
.cl-related-nav--next { right: -22px; }

@media (max-width: 768px) {
  .cl-related-track .course-archive-card { flex: 0 0 85%; }
  .cl-related-nav { display: none; }
}

/* ── Footer CTA ── */
.cl-footer-cta {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #0f2b47, var(--cask-dark));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cl-footer-cta--pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(197,168,128,0.08) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(197,168,128,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.cl-footer-cta .cask-container { position: relative; z-index: 1; }

.cl-footer-cta h2 { color: #fff; font-size: 32px; font-weight: 800; margin: 0 0 12px; }

.cl-footer-cta p {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  margin: 0 auto 32px;
  max-width: 520px;
}

.cl-footer-cta .cl-btn-ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.cl-footer-cta .cl-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}

.cl-footer-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

@media (max-width: 768px) {
  .cl-footer-cta { padding: 48px 0; }
  .cl-footer-cta h2 { font-size: 24px; }
  .cl-footer-cta-actions { flex-direction: column; align-items: stretch; }
  .cl-testimonials { grid-template-columns: 1fr; }
  button.cl-faq-q { padding: 16px 18px; font-size: 14px; }
  .cl-faq-a { padding-left: 56px; }
}

/* ── Desktop Floating CTA Bar — Option C ── */
.cl-float-bar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100001; background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  transform: translateY(-100%);
  transition: transform .3s ease;
  padding: 8px 0;
}
.cl-float-bar.visible { transform: translateY(0); }
.admin-bar .cl-float-bar { top: 32px; }
.cl-float-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 12px;
}
.cl-float-logo {
  flex-shrink: 0; display: flex; align-items: center;
  text-decoration: none; opacity: .85; transition: opacity .2s;
}
.cl-float-logo:hover { opacity: 1; }
.cl-float-logo img { height: 28px; width: auto; }
.cl-float-left {
  display: flex; align-items: center; gap: 12px;
  flex: 1; min-width: 0;
}
.cl-float-badge {
  flex-shrink: 0; color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  padding: 4px 10px; border-radius: 4px; letter-spacing: 0.5px;
}
.cl-float-title-group { min-width: 0; }
.cl-float-title {
  font-size: 14px; font-weight: 600; color: var(--cask-dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cl-float-subtitle { font-size: 11px; color: #888; margin-top: 1px; }
.cl-float-urgency {
  display: flex; align-items: center; gap: 6px; flex-shrink: 0;
  background: #fef2f2; border: 1px solid #fecaca;
  padding: 6px 14px; border-radius: 8px;
}
.cl-float-urgency--date {
  background: #fffbeb; border-color: #fde68a;
}
.cl-float-fire { font-size: 16px; line-height: 1; }
.cl-float-countdown-text { font-size: 13px; font-weight: 600; color: #dc2626; }
.cl-float-urgency--date .cl-float-countdown-text { color: #d97706; }
.cl-float-countdown-sub { font-size: 10px; color: #999; display: block; }
.cl-float-right {
  display: flex; align-items: center; gap: 12px; flex-shrink: 0;
}
.cl-float-price-group { text-align: right; }
.cl-float-price { font-size: 17px; font-weight: 700; color: var(--cask-dark); }
.cl-float-price-old { font-size: 12px; color: #999; text-decoration: line-through; display: block; }
.cl-float-cta { animation: cl-pulse-cta 2s infinite; }
@keyframes cl-pulse-cta {
  0%, 100% { box-shadow: 0 0 0 0 rgba(197,168,128,0.3); }
  50% { box-shadow: 0 0 0 6px rgba(197,168,128,0); }
}
@media (max-width: 768px) {
  .cl-float-bar { display: none !important; }
}

/* ── Video Section ── */
.cl-video-wrap {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

.cl-video-wrap lite-youtube {
  position: relative;
  display: block;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #000;
  cursor: pointer;
}

.cl-video-wrap lite-youtube iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── Mobile Sticky Bar ── */
.cl-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  padding: 10px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.1);
}

.cl-sticky-price { display: flex; flex-direction: column; }
.cl-sticky-label { font-size: 11px; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; }
.cl-sticky-value { font-size: 18px; font-weight: 700; color: var(--cask-dark); }
.cl-sticky-actions { display: flex; gap: 8px; align-items: center; }
.cl-sticky-btn { padding: 10px 24px; font-size: 14px; white-space: nowrap; }

.cl-sticky-call {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cask-gold-mist);
  color: var(--cc, var(--cask-gold));
  text-decoration: none;
}



/* ── Trust Bar ── */
.cl-trust-bar {
  background: #f9f9f7;
  border-bottom: 1px solid #eee;
  padding: 16px 0;
}
.cl-trust-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.cl-trust-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 32px;
  text-align: center;
}
.cl-trust-stat svg { color: var(--cc, var(--cask-gold)); }
.cl-trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cc, var(--cask-gold));
  margin-bottom: 2px;
}
.cl-trust-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--cask-dark, #1B3E65);
  line-height: 1.1;
}
.cl-trust-desc {
  font-size: 12px;
  color: #6b7280;
  letter-spacing: 0.02em;
}
.cl-trust-sep {
  width: 1px;
  height: 36px;
  background: #e5e7eb;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .cl-trust-stat { padding: 6px 16px; }
  .cl-trust-num { font-size: 18px; }
  .cl-trust-sep { height: 28px; }
}

/* ── Competency Dark Showcase ── */
.cl-comp-showcase {
  background: var(--cc, var(--cask-gold));
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.cl-comp-showcase-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 40px;
  position: relative; z-index: 1;
}
.cl-comp-heading {
  text-align: center; margin: 0 0 8px;
  font-family: var(--cask-font-heading, 'Montserrat', sans-serif);
  font-size: 24px; font-weight: 700;
  color: var(--cc-text, #fff); text-transform: uppercase; letter-spacing: 1px;
}
.cl-comp-desc {
  text-align: center; margin: 0 auto 24px;
  max-width: 600px; font-size: 15px; line-height: 1.6;
  color: var(--cc-text-soft, rgba(255,255,255,0.7));
}
.cl-comp-img-wrap {
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.cl-comp-img-wrap img {
  width: 100%; height: auto; display: block;
  aspect-ratio: 16/9; object-fit: cover;
}
/* Image Lightbox */
.cl-img-lightbox {
  position: fixed; inset: 0; z-index: 99999;
  background: rgba(0,0,0,0.9); display: flex;
  align-items: center; justify-content: center;
  cursor: zoom-out;
}
.cl-img-lightbox img {
  max-width: 92vw; max-height: 90vh; object-fit: contain;
  border-radius: 8px;
}
.cl-img-lightbox button {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: #fff;
  font-size: 36px; cursor: pointer; line-height: 1;
}
.cl-comp-actions {
  text-align: center; margin-top: 32px;
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
}
.cl-comp-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border: 2px solid var(--cc-text, #fff); background: none;
  color: var(--cc-text, #fff); border-radius: 8px;
  font-family: var(--cask-font-heading, 'Montserrat', sans-serif);
  font-size: 14px; font-weight: 700; cursor: pointer; text-decoration: none;
  transition: all .25s;
}
.cl-comp-btn:visited { color: var(--cc-text, #fff); }
.cl-comp-btn:hover { background: var(--cc-text, #fff); color: var(--cc, var(--cask-gold)); }
.cl-comp-btn--filled {
  background: var(--cc-text, #fff); color: var(--cc, var(--cask-gold));
  border-color: var(--cc-text, #fff);
}
.cl-comp-btn--filled:visited { color: var(--cc, var(--cask-gold)); }
.cl-comp-btn--filled:hover { opacity: 0.9; }
.cl-comp-btn svg { flex-shrink: 0; }
@media (max-width: 768px) {
  .cl-comp-showcase { padding: 48px 0; }
  .cl-comp-showcase-inner { padding: 0 20px; }
  .cl-comp-heading { font-size: 18px; }
  .cl-comp-actions { flex-direction: column; }
  .cl-comp-btn { width: 100%; justify-content: center; }
}
/* Legacy — keep for backward compat */
.cl-btn-outline-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 2px solid var(--cc, var(--cask-gold));
  color: var(--cc, var(--cask-gold));
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.cl-btn-outline-gold:hover {
  background: var(--cc, var(--cask-gold));
  color: #fff;
}

/* ── Subsection Title (shared) ── */
.cl-subsection-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--cask-dark);
  margin: 0 0 24px;
}

/* ── Free Resources ── */
/* ── Section Anchor Nav ── */
/* scroll offset handled by JS getStickyBottom() — no hardcoded px */
.cl-section-nav {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 90;
  transition: box-shadow .3s cubic-bezier(.4,0,.2,1);
}
.cl-section-nav.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.cl-section-nav-scroll {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.cl-section-nav-scroll::-webkit-scrollbar { display: none; }
.cl-nav-link {
  display: inline-block;
  padding: 16px 20px;
  font-family: var(--cask-font-heading);
  font-size: 13px;
  font-weight: 600;
  color: var(--cask-gray);
  text-decoration: none;
  white-space: nowrap;
  scroll-snap-align: start;
  position: relative;
  transition: color .3s cubic-bezier(.4,0,.2,1);
  letter-spacing: 0.01em;
}
.cl-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 3px;
  background: var(--cc, var(--cask-gold));
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.cl-nav-link:hover { color: var(--cask-dark); }
.cl-nav-link.active {
  color: var(--cask-dark);
  font-weight: 700;
}
.cl-nav-link.active::after {
  transform: scaleX(1);
}
@media (max-width: 768px) {
  .cl-nav-link { padding: 12px 14px; font-size: 12px; }
}

/* ── Wall of Love — Responsive ── */
@media (max-width: 1024px) {
  .cl-wol-video { flex: 0 0 calc((100% - 16px) / 2); min-width: calc((100% - 16px) / 2); }
  .cl-wol-card { flex: 0 0 calc((100% - 16px) / 2); min-width: calc((100% - 16px) / 2); }
  .cl-wol-nav--prev { left: -8px; }
  .cl-wol-nav--next { right: -8px; }
}
@media (max-width: 768px) {
  .cl-wol-video { flex: 0 0 85%; min-width: 85%; }
  .cl-wol-card { flex: 0 0 85%; min-width: 85%; }
  .cl-wol-vid-track, .cl-wol-quote-track { justify-content: flex-start; }
  .cl-wol-nav, .cl-gallery-nav { display: none; }
  .cl-wol-video-play svg { width: 48px; height: 34px; }
  .cl-wol-gallery-slide { flex: 0 0 85%; }
}

/* ── Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Expert Detail Page
   ========================================================================== */

.expert-detail {
  margin: -20px 0 0;
}

.expert-hero-section {
  background: #fff;
  padding: 56px 0 48px;
  border-bottom: 1px solid #eee;
}

.expert-hero-info h1 {
  font-size: 32px;
  margin: 0 0 4px;
  color: var(--cask-dark);
}
.expert-photo-wrap { flex-shrink: 0; }
.expert-photo {
  width: 200px;
  height: 200px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(27,62,101,0.12);
}
.expert-photo--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cask-navy-mist);
  color: var(--cask-dark);
  font-size: 56px;
  font-weight: 700;
}
.expert-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: #0A66C2;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid #0A66C2;
  border-radius: 6px;
  transition: all 0.2s;
}
.expert-linkedin:hover {
  background: #0A66C2;
  color: #fff;
}
.expert-stats-row {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}
.expert-stat-card {
  background: var(--cask-navy-mist);
  border-radius: 10px;
  padding: 16px 20px;
  min-width: 120px;
  text-align: center;
}
.expert-stat-card strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--cask-dark);
  line-height: 1.2;
}
.expert-stat-card span {
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.expert-body {
  background: #fafaf8;
  padding: 48px 0;
}
.expert-section {
  margin-bottom: 48px;
}
.expert-section:last-child {
  margin-bottom: 0;
}
.expert-detail h2 {
  font-size: 22px;
  margin: 0 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--cask-gold);
  color: var(--cask-dark);
}
.expert-bio-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
}
.expert-bio-content ul {
  padding-left: 0;
  list-style: none;
}
.expert-bio-content li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}
.expert-bio-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--cask-gold);
  border-radius: 50%;
}
.expert-timeline {
  position: relative;
  padding-left: 28px;
}
.expert-timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--cask-gold-light);
}
.timeline-item {
  position: relative;
  padding: 12px 0;
}
.timeline-dot {
  position: absolute;
  left: -28px;
  top: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--cask-gold);
}
.timeline-item--last .timeline-dot {
  border-color: #ccc;
  background: #f5f5f5;
}
.timeline-content {
  font-size: 15px;
  color: var(--cask-dark);
  font-weight: 500;
  padding-left: 8px;
}

/* Expert Teaching Courses */
.expert-courses-section {
  padding: 48px 0 32px;
  border-top: 1px solid #e5e7eb;
}

.expert-courses-section h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

.expert-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.expert-course-card {
  display: block;
  padding: 20px;
  background: #f8f6f0;
  border-radius: 10px;
  border-left: 3px solid var(--cc, var(--cask-gold));
  text-decoration: none;
  color: inherit;
  transition: all .25s;
}

.expert-course-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.expert-course-domain {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cc, var(--cask-gold));
  margin-bottom: 8px;
}

.expert-course-card h3 {
  font-size: 15px;
  margin: 0 0 10px;
  color: var(--cask-dark);
}

.expert-course-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: #666;
}

/* Related Experts */
.expert-related-section {
  padding: 48px 0;
  background: #f5f3ef;
}

.expert-related-section h2 {
  font-size: 24px;
  margin-bottom: 24px;
}

.expert-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.related-expert-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all .25s;
}

.related-expert-card:hover {
  border-color: var(--cask-gold);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.related-expert-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: #f0ebe0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--cask-dark);
  flex-shrink: 0;
}

.related-expert-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.related-expert-card strong {
  display: block;
  font-size: 15px;
  color: var(--cask-dark);
  line-height: 1.3;
}

.related-expert-card .related-expert-title {
  font-size: 12px;
  color: var(--cask-gold);
}

.related-expert-card small {
  font-size: 11px;
  color: #888;
}

/* Expert CTA Section */
.expert-cta-section {
  background: linear-gradient(135deg, var(--cask-dark), var(--cask-dark-light));
  padding: 56px 0;
  text-align: center;
  color: var(--cask-white);
  margin-top: 48px;
}

.expert-cta-section h2 {
  color: var(--cask-white);
  font-size: 28px;
  margin-bottom: 12px;
}

.expert-cta-section p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
}

.expert-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   FAQ Page
   ========================================================================== */

.faq-hero {
  background: linear-gradient(135deg, var(--cask-dark), var(--cask-dark-deep));
  padding: 48px 0;
  color: var(--cask-white);
  text-align: center;
}

.faq-hero h1 {
  color: var(--cask-white);
  font-size: 36px;
  margin: 0 0 8px;
}

.faq-list {
  max-width: 800px;
  margin: 48px auto;
}

.faq-item {
  border-bottom: 1px solid #E5E7EB;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--cask-font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--cask-dark);
  text-align: left;
}

.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--cask-gray);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-item.open .faq-question {
  color: var(--cask-gold);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--cask-gray);
}

.faq-cta {
  text-align: center;
  padding: 40px;
  background: var(--cask-gray-light);
  border-radius: 12px;
  margin-bottom: 48px;
}

.faq-cta h3 {
  margin: 0 0 8px;
}

.faq-cta p {
  color: var(--cask-gray);
  margin: 0 0 20px;
}

/* ==========================================================================
   Resources Page (Tai Lieu)
   ========================================================================== */

.resources-hero {
  background: linear-gradient(135deg, var(--cask-dark), var(--cask-dark-deep));
  padding: 28px 0 24px;
  color: var(--cask-white);
  text-align: center;
}

.resources-hero h1 {
  color: var(--cask-white);
  font-size: 28px;
  margin: 0 0 6px;
}

.resources-hero > .cask-container > p { opacity: 0.7; font-size: 14px; margin: 0; }

.cask-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  display: flex;
  align-items: center;
  gap: 10px;
  background: #065F46;
  color: #fff;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  z-index: 99999;
  opacity: 0;
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.cask-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.cask-toast svg { flex-shrink: 0; }

.resource-success-msg {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  color: #065F46;
  padding: 14px 20px;
  border-radius: 8px;
  margin: 24px 0 0;
  font-size: 14px;
  transition: opacity 0.5s;
}

.resources-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 24px 0 60px;
}

.resources-empty {
  text-align: center;
  padding: 48px 0;
  color: var(--cask-gray);
}

/* Resource Card — matches course-archive-card pattern */
a.resource-card,
a.resource-card:hover,
a.resource-card:visited {
  background: var(--cask-white);
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #333;
}

a.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  border-color: var(--cask-gold);
}

/* Thumbnail */
.resource-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--cask-navy-mist);
}

.resource-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

a.resource-card:hover .resource-thumb img {
  transform: scale(1.05);
}

.resource-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cask-gray);
  opacity: 0.4;
}

.resource-type-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--cask-gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 4px;
  line-height: 1;
}

/* Body */
.resource-body {
  padding: 16px 20px;
  flex: 1;
}

.resource-card h3 {
  font-family: var(--cask-font-heading);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.35;
  color: var(--cask-dark);
}

.resource-desc {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.5;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.resource-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #6B7280;
}

.resource-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.resource-meta svg {
  opacity: 0.6;
}

.resource-format-badge {
  background: #F3F4F6;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* Footer */
.resource-footer {
  padding: 16px 20px;
  border-top: 1px solid #E5E7EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.resource-dl-count {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #6B7280;
}

.resource-dl-count svg {
  opacity: 0.6;
}

.resource-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--cask-gold);
  transition: opacity 0.2s;
}

a.resource-card:hover .resource-link {
  opacity: 0.8;
}

/* Resource Modal */
.resource-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resource-modal-content {
  background: var(--cask-white);
  border-radius: 12px;
  padding: 32px;
  max-width: 440px;
  width: 90%;
  position: relative;
}

.resource-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--cask-gray);
}

.resource-modal-content h3 {
  margin: 0 0 8px;
}

.resource-modal-desc {
  font-size: 14px;
  color: var(--cask-gray);
  margin-bottom: 20px;
}

.resource-modal-content input[type="text"],
.resource-modal-content input[type="email"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.resource-modal-content input:focus {
  border-color: var(--cask-gold);
  outline: none;
}

.resource-modal-content .cask-btn-primary {
  width: 100%;
  text-align: center;
}

/* Resource Search + Filters (toolbar like blog) */
.resources-search {
  display: flex; max-width: 420px; width: 100%;
  border: 1px solid rgba(255,255,255,0.25); border-radius: 8px;
  overflow: hidden; background: rgba(255,255,255,0.12);
}
.resources-search input {
  flex: 1; border: none; padding: 10px 16px; font-size: 14px;
  outline: none; background: transparent; color: var(--cask-white); font-family: inherit;
}
.resources-search input::placeholder { color: rgba(255,255,255,0.5); }
.resources-search button {
  background: var(--cask-gold); border: none; padding: 10px 14px;
  cursor: pointer; color: var(--cask-white); display: flex; align-items: center;
}
.resources-search button:hover { background: #b89970; }

.resources-filter-group { padding: 16px 0 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.resources-filters { justify-content: center; gap: 6px; }
.resources-hero .filter-btn {
  background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7); font-size: 12px; padding: 5px 14px;
}
.resources-hero .filter-btn:hover { background: rgba(255,255,255,0.2); color: #fff; border-color: rgba(255,255,255,0.3); }
.resources-hero .filter-btn.active { background: var(--cask-gold); border-color: var(--cask-gold); color: #fff; }
.resources-topic-filters { align-items: center; }
.resources-hero .topic-btn.active { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); color: #fff; }
.filter-label {
  font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.5px; margin-right: 4px;
}
.filter-count { font-weight: 400; opacity: 0.7; }

/* Resource Badge New */
.resource-badge-new {
  position: absolute; top: 12px; right: 12px;
  background: #EF4444; color: #fff; font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 4px; letter-spacing: 0.3px;
  line-height: 1; z-index: 2;
}

/* Resource No Result */
.resources-no-result {
  text-align: center; padding: 48px 0; color: var(--cask-gray);
}

/* Resource CTA */
.resources-cta {
  margin: 12px 0 48px; padding: 36px 40px;
  background: linear-gradient(135deg, var(--cask-dark), var(--cask-dark-deep));
  border-radius: 16px; text-align: center; color: var(--cask-white);
}
.resources-cta-inner svg { color: var(--cask-gold); margin-bottom: 12px; }
.resources-cta h3 { color: var(--cask-white); margin: 0 0 8px; font-size: 20px; }
.resources-cta p { opacity: 0.85; margin: 0 0 20px; font-size: 14px; }
.resources-cta-form { max-width: 420px; margin: 0 auto; }
.resources-cta-row { display: flex; gap: 8px; }
.resources-cta-row input {
  flex: 1; padding: 10px 14px; border: 2px solid rgba(255,255,255,0.2);
  border-radius: 8px; font-size: 14px; background: rgba(255,255,255,0.1);
  color: #fff; outline: none; font-family: inherit;
}
.resources-cta-row input::placeholder { color: rgba(255,255,255,0.5); }
.resources-cta-row input:focus { border-color: var(--cask-gold); }
.resources-cta-row input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 30px rgba(255,255,255,0.1) inset; }

@media (max-width: 768px) {
  .resources-grid { grid-template-columns: 1fr; }
  .resources-cta { padding: 28px 20px; }
  .resources-cta-row { flex-direction: column; }
  .resources-search { max-width: 100%; }
}

/* ═══ Resource Single ═══ */
.resource-single { padding: 0 0 48px; }

/* Header */
.rs-header {
  background: linear-gradient(135deg, var(--cask-dark), var(--cask-dark-deep));
  color: #fff;
  padding: 28px 0 24px;
}
.rs-badges { display: flex; gap: 8px; margin-bottom: 12px; }
.rs-type-badge {
  background: var(--cask-gold); color: #fff;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.5px; padding: 5px 12px; border-radius: 4px; line-height: 1;
}
.rs-new-badge {
  background: #EF4444; color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 5px 12px; border-radius: 4px; line-height: 1;
}
.rs-header h1 {
  font-size: 28px; font-weight: 800; margin: 0 0 8px;
  color: #fff; line-height: 1.3;
}
.rs-desc {
  font-size: 15px; color: rgba(255,255,255,0.8);
  line-height: 1.6; margin: 0 0 16px; max-width: 700px;
}
.rs-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,0.7);
}
.rs-meta span {
  display: flex; align-items: center; gap: 6px;
}
.rs-meta svg { opacity: 0.7; }

/* Grid: gallery + sidebar */
.rs-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
  padding: 32px 0;
}

/* Gallery */
.rs-gallery-main {
  border-radius: 12px;
  overflow: hidden;
  background: #F9FAFB;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.rs-gallery-main img {
  width: 100%; height: auto; display: block;
}
.rs-gallery-thumbs {
  display: flex; gap: 8px; margin-top: 12px;
  overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.rs-gallery-thumbs::-webkit-scrollbar { display: none; }
.rs-thumb {
  flex-shrink: 0; width: 80px; height: 60px;
  border-radius: 8px; overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer; background: none; padding: 0;
  transition: border-color 0.2s;
}
.rs-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.rs-thumb.active,
.rs-thumb:hover {
  border-color: var(--cask-gold);
}
.rs-gallery-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 300px; background: #F3F4F6; border-radius: 12px;
  color: var(--cask-gray); opacity: 0.4;
}

/* Sidebar */
.rs-sidebar { position: sticky; top: 100px; }
.rs-download-card {
  background: var(--cask-white);
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.rs-download-card h3 {
  font-size: 18px; font-weight: 700; margin: 0 0 8px;
  color: var(--cask-dark);
  display: flex; align-items: center; gap: 8px;
}
.rs-download-card > p {
  font-size: 13px; color: #6B7280; margin: 0 0 16px;
}

/* Download form */
.rs-download-form input[type="text"],
.rs-download-form input[type="email"] {
  width: 100%; padding: 10px 14px;
  border: 1px solid #D1D5DB; border-radius: 8px;
  font-size: 14px; margin-bottom: 10px;
  transition: border-color 0.2s;
}
.rs-download-form input:focus {
  outline: none; border-color: var(--cask-gold);
}
.rs-btn-download {
  width: 100%; display: flex; align-items: center;
  justify-content: center; gap: 8px;
  padding: 12px 20px; font-size: 15px; font-weight: 700;
  margin-top: 4px;
}
a.rs-btn-download {
  text-decoration: none; text-align: center;
}

/* File details */
.rs-file-details {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid #E5E7EB;
}
.rs-file-details h4 {
  font-size: 13px; font-weight: 600; color: #6B7280;
  text-transform: uppercase; letter-spacing: 0.5px;
  margin: 0 0 12px;
}
.rs-file-details ul {
  list-style: none; margin: 0; padding: 0;
}
.rs-file-details li {
  display: flex; justify-content: space-between;
  padding: 6px 0; font-size: 14px;
  border-bottom: 1px solid #F3F4F6;
}
.rs-file-details li:last-child { border-bottom: none; }
.rs-file-details li span { color: #6B7280; }
.rs-file-details li strong { color: var(--cask-dark); }

/* Content */
.rs-content {
  padding: 32px 0 0; margin-top: 24px;
  border-top: 1px solid #E5E7EB;
}
.rs-content-body {
  font-size: 15px; line-height: 1.8; max-width: 760px;
}
.rs-content-body h2 {
  font-size: 22px; font-weight: 700; color: var(--cask-dark);
  margin: 32px 0 16px; padding-bottom: 10px;
  border-bottom: 2px solid var(--cask-gold);
}
.rs-content-body h2:first-child { margin-top: 0; }
.rs-content-body h3 {
  font-size: 16px; font-weight: 700; color: var(--cask-dark);
  margin: 24px 0 8px; padding: 14px 16px;
  background: #F8FAFC; border-left: 3px solid var(--cask-gold);
  border-radius: 0 8px 8px 0;
}
.rs-content-body h3 + p,
.rs-content-body h3 + ul {
  padding-left: 16px;
}
.rs-content-body p {
  margin: 0 0 12px; color: #374151;
}
.rs-content-body ul {
  margin: 0 0 16px; padding-left: 20px;
}
.rs-content-body li {
  margin-bottom: 6px; color: #374151;
}
.rs-content-body li::marker {
  color: var(--cask-gold);
}
.rs-content-body strong {
  color: var(--cask-dark); font-weight: 600;
}

/* Topics */
.rs-topics {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; padding: 16px 0 32px;
}
.rs-topics-label {
  font-size: 13px; font-weight: 600; color: #6B7280;
}
.rs-topic-tag {
  background: var(--cask-navy-mist); color: var(--cask-dark);
  font-size: 12px; font-weight: 600;
  padding: 5px 12px; border-radius: 20px;
  text-decoration: none; transition: background 0.2s;
}
.rs-topic-tag:hover {
  background: var(--cask-gold); color: #fff;
}

/* Related */
.rs-related { padding: 32px 0; border-top: 1px solid #E5E7EB; }
.rs-related h2 { font-size: 22px; font-weight: 700; margin: 0 0 20px; }
.rs-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Back link */
.rs-back-link {
  display: inline-block; margin: 16px 0 32px;
  color: var(--cask-gold); text-decoration: none;
  font-weight: 500; font-size: 14px;
}
.rs-back-link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .resources-grid { grid-template-columns: 1fr; }
  .rs-grid { grid-template-columns: 1fr; }
  .rs-sidebar { position: static; }
  .rs-header h1 { font-size: 22px; }
  .rs-meta { gap: 10px; }
  .rs-related-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Blog Page
   ========================================================================== */

.blog-hero {
  background: linear-gradient(135deg, var(--cask-dark), var(--cask-dark-deep));
  padding: 28px 0 24px;
  color: var(--cask-white);
  text-align: center;
}

.blog-hero h1 {
  color: var(--cask-white);
  font-size: 28px;
  margin: 0 0 6px;
}

.blog-subtitle {
  opacity: 0.7;
  font-size: 14px;
  margin: 0;
}

.blog-toolbar {
  padding: 16px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.blog-search-form {
  display: flex;
  max-width: 420px;
  width: 100%;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255,255,255,0.12);
}

.blog-search-form input[type="text"] {
  flex: 1;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  outline: none;
  background: transparent;
  color: var(--cask-white);
}

.blog-search-form input[type="text"]::placeholder {
  color: rgba(255,255,255,0.5);
}

.blog-search-form button {
  background: var(--cask-gold);
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  color: var(--cask-white);
  display: flex;
  align-items: center;
}

.blog-search-form button:hover {
  background: #b89970;
}

.blog-cat-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.blog-cat-btn {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  transition: all 0.2s ease;
}

.blog-cat-btn:hover {
  color: var(--cask-white);
  background: rgba(255,255,255,0.2);
}

.blog-cat-btn.active {
  background: var(--cask-gold);
  color: var(--cask-white);
}

.blog-filter-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--cask-gray-light);
  border-radius: 8px;
  font-size: 14px;
  color: var(--cask-gray);
  margin-top: 8px;
}

.blog-clear-filter {
  color: var(--cask-gold);
  font-weight: 500;
  text-decoration: none;
  margin-left: auto;
}

.blog-clear-filter:hover {
  text-decoration: underline;
}

/* Featured post */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  margin: 28px 0 32px;
  text-decoration: none;
  color: inherit;
  background: var(--cask-white);
  border: 1px solid #E5E7EB;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-featured:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  transform: translateY(-3px);
}

.blog-featured-thumb {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.blog-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-featured-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--cask-gold);
  color: var(--cask-white);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
}

.blog-featured-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured-body h2 {
  font-size: 22px;
  line-height: 1.4;
  margin: 12px 0 14px;
  color: var(--cask-dark);
}

.blog-featured-body p {
  font-size: 15px;
  color: var(--cask-gray);
  line-height: 1.7;
  margin: 0 0 20px;
}

/* Thumbnail placeholder */
.blog-thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: linear-gradient(135deg, var(--cask-dark) 0%, var(--cask-dark-deep) 100%);
}

/* Category count */
.blog-cat-count {
  opacity: 0.6;
  font-weight: 400;
}

/* Reading time */
.blog-read-time {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.blog-read-time::before {
  content: '·';
}

/* Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 0 0 48px;
}

.blog-card {
  background: var(--cask-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #E5E7EB;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.blog-card-thumb {
  display: block;
  overflow: hidden;
}

.blog-card-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.04);
}

.blog-card-thumb .blog-thumb-placeholder {
  height: 200px;
}

.blog-card-body {
  padding: 20px;
}

.blog-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  color: var(--cask-gray);
  margin-bottom: 10px;
}

.blog-card-cat {
  background: var(--cask-gold-mist);
  color: var(--cask-gold-dark);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.blog-card-body h3 {
  font-size: 16px;
  margin: 0 0 8px;
  line-height: 1.4;
}

.blog-card-body h3 a {
  color: var(--cask-dark);
  text-decoration: none;
}

.blog-card-body h3 a:hover {
  color: var(--cask-gold);
}

.blog-card-body p {
  font-size: 14px;
  color: var(--cask-gray);
  margin: 0 0 14px;
  line-height: 1.6;
}

.blog-read-more {
  color: var(--cask-gold);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.blog-read-more:hover {
  color: var(--cask-gold-dark);
}

/* Newsletter CTA in grid — spans full 3 cols, left-right layout */
.blog-newsletter-cta {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--cask-dark) 0%, var(--cask-dark-deep) 100%);
  border-radius: 16px;
  padding: 32px 40px;
}

.blog-newsletter-cta-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 820px;
  margin: 0 auto;
  color: var(--cask-white);
}

.blog-nl-left {
  flex: 0 0 auto;
  max-width: 300px;
}

.blog-nl-right {
  flex: 1;
  min-width: 0;
}

.blog-newsletter-icon {
  color: var(--cask-gold);
  margin-bottom: 8px;
}

.blog-newsletter-cta h3 {
  font-size: 19px;
  margin: 0 0 6px;
  color: var(--cask-white);
}

.blog-newsletter-cta p {
  font-size: 13px;
  opacity: 0.75;
  margin: 0;
  line-height: 1.5;
}

.blog-newsletter-row {
  display: flex;
  gap: 8px;
}
.blog-newsletter-row + .blog-newsletter-row {
  margin-top: 8px;
}

.blog-newsletter-row input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  outline: none;
  min-width: 0;
}

.blog-newsletter-row button {
  background: var(--cask-gold);
  color: var(--cask-white);
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.blog-newsletter-row button:hover {
  background: var(--cask-gold-dark);
}

.blog-pagination {
  text-align: center;
  padding: 0 0 48px;
}

.blog-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  margin: 0 4px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--cask-dark);
  font-size: 14px;
  transition: all 0.2s;
}

.blog-pagination .page-numbers.current {
  background: var(--cask-gold);
  color: var(--cask-white);
}

.blog-pagination .page-numbers:hover:not(.current) {
  background: var(--cask-gray-light);
}

.blog-empty {
  text-align: center;
  padding: 48px 0;
  color: var(--cask-gray);
}

@media (max-width: 900px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured-thumb {
    min-height: 220px;
  }
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .blog-newsletter-cta {
    padding: 24px 20px;
  }
  .blog-newsletter-cta-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .blog-nl-left {
    max-width: none;
  }
  .blog-newsletter-row {
    flex-direction: column;
  }
}

/* ==========================================================================
   Category Archive
   ========================================================================== */

.category-hero {
  background: linear-gradient(135deg, var(--cask-dark), var(--cask-dark-deep));
  padding: 28px 0 24px;
  color: var(--cask-white);
  text-align: center;
}

.category-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cask-gold);
  margin-bottom: 4px;
}

.category-hero h1 {
  color: var(--cask-white);
  font-size: 28px;
  margin: 0 0 6px;
}

.category-desc {
  opacity: 0.7;
  font-size: 14px;
  max-width: 600px;
  margin: 0 auto 6px;
}

.category-count {
  display: inline-block;
  font-size: 13px;
  opacity: 0.6;
}

.category-page .blog-grid {
  padding: 32px 0;
}

.category-page .blog-pagination {
  padding-bottom: 48px;
}

/* ---------- News Page — Magazine Layout ---------- */

.news-page .blog-grid {
  padding: 32px 0 24px;
}

.news-page .blog-pagination {
  padding-bottom: 48px;
}

/* Hero Grid: 1 featured (left) + 2 subs (right) */
.news-hero-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 16px;
  padding: 28px 0 0;
}

/* Featured main card */
.news-hero-main {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  min-height: 420px;
}

.news-hero-thumb {
  position: absolute;
  inset: 0;
}

.news-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-hero-main:hover .news-hero-thumb img {
  transform: scale(1.04);
}

.news-hero-thumb .blog-thumb-placeholder {
  height: 100%;
}

.news-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: var(--cask-white);
}

.news-hero-overlay .blog-card-meta {
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}

.news-hero-overlay .blog-card-cat {
  background: var(--cask-gold);
  color: var(--cask-white);
}

.news-hero-overlay h2 {
  color: var(--cask-white);
  font-size: 24px;
  margin: 0 0 8px;
  line-height: 1.3;
}

.news-hero-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* Sub posts (right column) */
.news-hero-subs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.news-hero-sub {
  flex: 1;
  display: flex;
  gap: 16px;
  background: var(--cask-white);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid #E5E7EB;
  transition: all 0.3s ease;
}

.news-hero-sub:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.news-hero-sub-thumb {
  width: 160px;
  min-height: 140px;
  flex-shrink: 0;
  overflow: hidden;
}

.news-hero-sub-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-hero-sub:hover .news-hero-sub-thumb img {
  transform: scale(1.04);
}

.news-hero-sub-thumb .blog-thumb-placeholder {
  height: 100%;
}

.news-hero-sub-body {
  padding: 16px 16px 16px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-hero-sub-body .blog-card-meta {
  margin-bottom: 8px;
}

.news-hero-sub-body h3 {
  font-size: 15px;
  margin: 0;
  line-height: 1.4;
  color: var(--cask-dark);
}

/* Responsive */
@media (max-width: 900px) {
  .news-hero-grid {
    grid-template-columns: 1fr;
  }
  .news-hero-main {
    min-height: 300px;
  }
  .news-hero-subs {
    flex-direction: row;
  }
  .news-hero-sub {
    flex-direction: column;
  }
  .news-hero-sub-thumb {
    width: 100%;
    min-height: 120px;
    height: 120px;
  }
  .news-hero-sub-body {
    padding: 12px;
  }
}

@media (max-width: 600px) {
  .news-hero-main {
    min-height: 240px;
  }
  .news-hero-overlay {
    padding: 20px 16px;
  }
  .news-hero-overlay h2 {
    font-size: 18px;
  }
  .news-hero-subs {
    flex-direction: column;
  }
  .news-hero-sub {
    flex-direction: row;
  }
  .news-hero-sub-thumb {
    width: 120px;
    min-height: 100px;
    height: auto;
  }
  .news-hero-sub-body {
    padding: 12px;
  }
}

/* ==========================================================================
   Schedule Page (Lich Khai Giang)
   ========================================================================== */

.schedule-page {
  margin: 0;
}

.schedule-hero {
  background: linear-gradient(135deg, var(--cask-dark), var(--cask-dark-light));
  padding: 28px 0 22px;
  color: var(--cask-white);
  text-align: center;
}

.schedule-hero h1 {
  color: var(--cask-white);
  font-size: 28px;
  margin: 0 0 4px;
}

.schedule-subtitle {
  font-size: 14px;
  opacity: 0.7;
  margin: 0;
}

.schedule-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 0 0;
  justify-content: center;
}

.filter-btn {
  background: var(--cask-gray-light);
  border: 1px solid #E5E7EB;
  padding: 6px 18px;
  border-radius: 20px;
  font-family: var(--cask-font-heading);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--cask-gray);
}

.filter-btn:hover {
  border-color: var(--cask-gold);
  color: var(--cask-gold);
}

.filter-btn.active {
  background: var(--cask-gold);
  border-color: var(--cask-gold);
  color: var(--cask-white);
}

/* Dark hero variant */
.schedule-hero .filter-btn {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  padding: 5px 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.schedule-hero .filter-btn:hover {
  border-color: rgba(255,255,255,0.3);
  color: var(--cask-white);
  background: rgba(255,255,255,0.15);
}

.schedule-hero .filter-btn.active {
  background: var(--cask-gold);
  border-color: var(--cask-gold);
  color: var(--cask-white);
}

.schedule-table-wrap {
  overflow-x: auto;
  margin-bottom: 32px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.schedule-table thead {
  background: var(--cask-gray-light);
  position: sticky;
  top: 0;
  z-index: 10;
}

.schedule-table th {
  padding: 14px 16px;
  text-align: left;
  font-family: var(--cask-font-heading);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cask-gray);
  white-space: nowrap;
}

.schedule-table td {
  padding: 8px 16px;
  vertical-align: middle;
}

.schedule-table tr {
  border-bottom: 1px solid #E5E7EB;
}

.schedule-table th:nth-child(n+2),
.schedule-table td:nth-child(n+2) {
  text-align: center;
}

.schedule-table td.schedule-start-date,
.schedule-table td:nth-child(3) {
  white-space: nowrap;
}

.schedule-table td:nth-child(3) {
  width: 80px;
}

.schedule-month-row td {
  background: var(--cask-gray-light);
  font-family: var(--cask-font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--cask-dark);
  padding: 10px 16px;
  letter-spacing: 0.3px;
}

.schedule-row {
  transition: background 0.2s, opacity 0.3s, transform 0.3s;
  animation: scheduleRowIn 0.3s ease both;
}

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

.schedule-row:hover {
  background: #F0F4F8;
}

.schedule-course-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.schedule-course-thumb {
  flex-shrink: 0;
  width: 200px;
  height: 112px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.schedule-course-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.schedule-course-name {
  font-family: var(--cask-font-heading);
  font-weight: 700;
  color: var(--cask-dark);
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}

.schedule-course-name:hover {
  color: var(--cask-gold);
}

.schedule-course-badges {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
}

.schedule-format-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  background: #f1f5f9;
  color: #64748b;
}

.schedule-course-sub {
  font-size: 13px;
  color: var(--cask-gray);
  margin-top: 2px;
}

.schedule-domain {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: color-mix(in srgb, var(--cc, var(--cask-gold)) 15%, transparent);
  color: color-mix(in srgb, var(--cc, var(--cask-gold)) 60%, #1a1a1a);
}

.schedule-start-date {
  white-space: nowrap;
}

.schedule-countdown {
  font-size: 11px;
  font-weight: 600;
  color: #ea580c;
  margin-top: 4px;
}

.schedule-time {
  white-space: nowrap;
}

.schedule-hours {
  font-size: 13px;
  color: var(--cask-gray);
}

.schedule-note {
  background: var(--cask-gray-light);
  border-radius: 8px;
  padding: 16px 24px;
  margin-bottom: 48px;
  font-size: 14px;
}

.schedule-note a {
  color: var(--cask-gold);
  font-weight: 600;
}

.seat-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 6px;
  vertical-align: middle;
  white-space: nowrap;
}
.seat-open    { background: #dcfce7; color: #16a34a; }
.seat-limited { background: #fef9c3; color: #ca8a04; }
.seat-full    { background: #fee2e2; color: #dc2626; }

.schedule-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.schedule-table .schedule-actions .cask-btn-primary {
  width: 120px;
  box-sizing: border-box;
  text-align: center;
  padding: 8px 12px;
  font-size: 12px;
}

.schedule-table .schedule-actions .schedule-brochure-btn {
  width: 120px;
  box-sizing: border-box;
}
.schedule-cal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #6b7280;
  text-decoration: none;
  flex-shrink: 0;
}
.schedule-cal-btn:hover { border-color: #4285f4; color: #4285f4; background: #eff6ff; }

.schedule-brochure-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1.5px solid var(--cask-dark);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cask-dark);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}
.schedule-brochure-btn:hover { background: var(--cask-dark); color: var(--cask-white); }

.schedule-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.schedule-modal-overlay.active {
  display: flex;
}

.schedule-modal {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  position: relative;
  animation: scheduleModalIn 0.25s ease;
}

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

.schedule-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--cask-gray);
  cursor: pointer;
  line-height: 1;
}

.schedule-modal h3 {
  font-family: var(--cask-font-heading);
  font-size: 20px;
  color: var(--cask-dark);
  margin: 0 0 4px;
}

.schedule-modal-course {
  font-size: 14px;
  color: var(--cask-gold);
  font-weight: 600;
  margin: 0 0 20px;
}

.schedule-modal-field {
  margin-bottom: 12px;
}

.schedule-modal-field input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.schedule-modal-field input:focus {
  outline: none;
  border-color: var(--cask-gold);
}

.schedule-modal-hp {
  position: absolute;
  left: -9999px;
}

.schedule-modal-form .cask-btn-primary {
  margin-top: 8px;
}

/* ==========================================================================
   Archive Pages (Course & Expert Listing)
   ========================================================================== */

/* Shared archive hero */
.archive-hero {
  background: linear-gradient(135deg, var(--cask-dark), var(--cask-dark-light));
  padding: 48px 0;
  color: var(--cask-white);
  text-align: center;
}

.archive-hero h1 {
  color: var(--cask-white);
  font-size: 36px;
  margin: 0 0 8px;
}

.archive-subtitle {
  font-size: 18px;
  opacity: 0.8;
  margin: 0;
}

.archive-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 32px 0 24px;
}

/* Archive pages: remove Kadence wrapper */
.post-type-archive .content-area {
  margin-top: 0;
  margin-bottom: 0;
}

.post-type-archive .entry-hero {
  display: none;
}

.post-type-archive .site-container {
  max-width: 100%;
  padding: 0;
}

/* Course archive grid — Option C: Modern Hybrid */
.courses-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 0 0 60px;
}

a.course-archive-card,
a.course-archive-card:hover,
a.course-archive-card:visited {
  background: var(--cask-white);
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #333;
}

a.course-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  border-color: var(--cc, var(--cask-gold));
}

/* Thumbnail */
.cac-thumb {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: var(--cc, #f3f4f6);
}

.cac-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.course-archive-card:hover .cac-thumb img {
  transform: scale(1.05);
}

.cac-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cac-thumb-placeholder span {
  font-family: var(--cask-font-heading);
  font-size: 48px;
  font-weight: 800;
  color: rgba(255,255,255,0.5);
}

.course-archive-card .cac-domain {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--cc, var(--cask-gold));
  color: #fff !important;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 4px;
  line-height: 1;
}

/* Body */
.cac-body {
  padding: 16px 20px;
  flex: 1;
}

.course-archive-card .cac-body h3 {
  font-family: var(--cask-font-heading);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.35;
  color: var(--cask-dark);
}

.course-archive-card .cac-tagline {
  font-size: 13px;
  color: #6B7280;
  line-height: 1.5;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-archive-card .cac-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #6B7280;
}

.cac-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cac-meta svg {
  opacity: 0.6;
}

.cac-format {
  background: #F3F4F6;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
}

/* Footer */
.cac-footer {
  padding: 16px 20px;
  border-top: 1px solid #E5E7EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-archive-card .cac-price {
  font-family: var(--cask-font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--cc, var(--cask-gold));
}

.course-archive-card .cac-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--cc, var(--cask-gold));
  transition: opacity 0.2s;
}

a.course-archive-card:hover .cac-link {
  opacity: 0.8;
}

/* Expert category sections */
.experts-category-section {
  margin-bottom: 56px;
}

.experts-category-title {
  font-family: var(--cask-font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--cask-dark);
  padding-bottom: 12px;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--cask-gold-light);
}

.expert-card-cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cask-gold);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.expert-archive-card:hover .expert-card-cta {
  border-color: var(--cask-gold);
}

/* Expert archive grid */
.experts-archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  padding: 0 0 16px;
}

.expert-archive-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--cask-white);
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.expert-archive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  border-color: var(--cask-gold-light);
}

.expert-card-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--cask-gray-light);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--cask-gold);
  border: 3px solid var(--cask-gold-light);
  overflow: hidden;
}

.expert-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.expert-archive-card h3 {
  font-family: var(--cask-font-heading);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--cask-dark);
}

.expert-card-title {
  font-size: 14px;
  color: var(--cask-gray);
  margin-bottom: 2px;
}

.expert-card-company {
  font-size: 14px;
  color: var(--cask-gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.expert-card-exp {
  font-size: 13px;
  color: var(--cask-gray);
  margin-bottom: 12px;
}

.expert-card-courses {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.expert-course-tag {
  font-size: 11px;
  background: var(--cask-gray-light);
  color: var(--cask-gray);
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
}

/* ==========================================================================
   Blog Styling
   ========================================================================== */

.blog .content-area,
.single-post .content-area {
  margin-top: 0;
}

.blog .entry-hero {
  display: none;
}

/* Blog header */
.blog .site-container {
  max-width: 100%;
  padding: 0;
}

/* Blog loop entries */
.blog .loop-entry {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
}

.blog .loop-entry:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.blog .loop-entry .entry-title a {
  color: var(--cask-dark);
  transition: color 0.2s;
}

.blog .loop-entry .entry-title a:hover {
  color: var(--cask-gold);
}

/* Single post */
.single-post .entry-title {
  font-size: 32px;
}

.single-post .entry-content h2 {
  font-size: 24px;
  margin-top: 32px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cask-gold-light);
}

.single-post .entry-meta {
  color: var(--cask-gray);
}

/* ==========================================================================
   Blog Single Post — Redesign
   ========================================================================== */

/* Reading progress bar */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--cask-gold);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* Sticky reading bar (scroll up) */
.reading-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 900;
  transform: translateY(-100%);
  transition: transform .3s ease;
}
.reading-bar.visible {
  transform: translateY(0);
}
.reading-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.reading-bar-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--cask-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 80%;
}
.reading-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reading-bar-pct {
  font-size: 13px;
  color: var(--cask-gold);
  font-weight: 600;
}

/* Full-width hero */
.blog-single-hero {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: var(--cask-dark);
  margin-bottom: 48px;
}

.blog-single-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-single-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,20,40,0.93) 0%, rgba(10,20,40,0.72) 55%, rgba(10,20,40,0.5) 100%);
}

.blog-single-hero-content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding-bottom: 40px;
  color: var(--cask-white);
}

.blog-hero-breadcrumb {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
}
.blog-hero-breadcrumb a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
}
.blog-hero-breadcrumb a:hover {
  color: var(--cask-gold);
}
.blog-hero-breadcrumb span {
  margin: 0 6px;
  opacity: 0.5;
}

/* Hero taxonomy: categories + tags under title */
.blog-hero-taxonomy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.blog-hero-cat-pill {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--cask-gold);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}
.blog-hero-cat-pill:visited { color: #fff; }
.blog-hero-cat-pill:hover { background: #b8985a; }
.blog-hero-tag-pill {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s;
}
.blog-hero-tag-pill:visited { color: rgba(255,255,255,0.85); }
.blog-hero-tag-pill:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}
/* Hide Kadence default tag display */
.cask-blog-single-custom .entry-tags,
.cask-blog-single-custom .post-tags { display: none; }

.blog-single-hero-cat {
  display: inline-block;
  background: var(--cask-gold);
  color: var(--cask-white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.blog-single-hero-title {
  color: var(--cask-white);
  font-size: 36px;
  line-height: 1.25;
  margin: 0 0 14px;
  max-width: 720px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.blog-single-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  opacity: 0.85;
}

.blog-single-hero-dot { opacity: 0.5; }

/* Hide default Kadence title + featured image on single post */
.cask-blog-single-custom .entry-header,
.cask-blog-single-custom .entry-featured-image,
.cask-blog-single-custom .entry-hero,
.cask-blog-single-custom .post-thumbnail,
.cask-blog-single-custom .entry-thumbnail,
.cask-blog-single-custom .kadence-thumbnail-position-above,
.cask-blog-single-custom .kadence-thumbnail-position-behind,
.cask-blog-single-custom .post-navigation,
.cask-blog-single-custom .entry-related {
  display: none !important;
}

/* Widen Kadence narrow container for blog single (842px → 1290px) */
.cask-blog-single-custom.content-width-narrow .content-container.site-container {
  max-width: var(--global-content-width);
}
.cask-blog-single-custom .entry.single-entry {
  box-shadow: none;
  border: none;
  background: transparent;
  max-width: 100%;
}
.cask-blog-single-custom .entry-content-wrap {
  padding-left: 0;
  padding-right: 0;
}
.cask-blog-single-custom .content-container.site-container {
  padding-left: 0;
  padding-right: 0;
}

/* Content centered — TOC floats in left margin */
.cask-blog-single-custom .entry-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 17px;
  line-height: 1.8;
  color: #1a1a1a;
  position: relative;
}
.cask-blog-single-custom .entry-content h2,
.cask-blog-single-custom .entry-content h3 {
  color: var(--cask-dark);
  scroll-margin-top: 110px;
}

.blog-img {
  margin: 24px 0;
}
.blog-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.blog-img .cap {
  font-size: 13px;
  color: #6b7280;
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

.blog-single-body {
  min-width: 0;
}

/* Sidebar TOC — absolute in left margin */
.blog-toc-sidebar {
  position: absolute;
  right: calc(100% + 32px);
  top: 0;
  bottom: 0;
  width: 300px;
}

.blog-toc-nav {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
  background: #F5F5F5;
  border-radius: 12px;
  padding: 20px 16px;
}

.blog-toc-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--cask-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  padding-left: 12px;
}
/* TOC links */
.toc-link {
  display: block;
  font-size: 14px;
  color: var(--cask-gray);
  text-decoration: none;
  padding: 5px 12px;
  border-left: 2px solid transparent;
  transition: color .15s, border-color .15s;
  line-height: 1.5;
}

.toc-link.toc-sub {
  padding-left: 24px;
  font-size: 13px;
}

.toc-link:hover {
  color: var(--cask-dark);
}

.toc-link.active {
  color: var(--cask-gold);
  font-weight: 600;
  border-left-color: var(--cask-gold);
}

/* TOC accordion groups */
.toc-group {
  margin-bottom: 2px;
}

.toc-group-head {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.toc-group-head .toc-link {
  flex: 1;
  min-width: 0;
}

.toc-expand {
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 4px;
  color: #bbb;
  transition: transform .2s, color .15s;
}
.toc-expand:hover {
  color: #888;
}

.toc-expand[aria-expanded="true"] {
  transform: rotate(180deg);
}

.toc-expand .toc-chevron {
  display: block;
}

.toc-group-children {
  overflow: hidden;
  transition: max-height .2s ease;
}

.toc-group-children[aria-hidden="true"] {
  max-height: 0;
}

.toc-group-children[aria-hidden="false"] {
  max-height: 500px;
}

/* Sidebar share buttons */
/* Inline TOC (mobile/tablet) — hidden on desktop */
.blog-toc-inline {
  display: none;
  background: #f8f6f0;
  border-radius: 10px;
  margin-bottom: 28px;
  overflow: hidden;
}

.blog-toc-inline-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 18px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: var(--cask-dark);
}

.blog-toc-chevron {
  transition: transform .2s;
}

.blog-toc-inline-toggle[aria-expanded="true"] .blog-toc-chevron {
  transform: rotate(180deg);
}

.blog-toc-inline-list {
  padding: 0 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blog-toc-inline-list[aria-hidden="true"] {
  display: none;
}

.blog-toc-inline-list .toc-link {
  display: block;
  font-size: 14px;
  color: var(--cask-dark);
  text-decoration: none;
  padding: 5px 0 5px 10px;
  border-left: 2px solid transparent;
  line-height: 1.5;
  transition: color .15s;
}

.blog-toc-inline-list .toc-link.toc-sub {
  padding-left: 22px;
  font-size: 13px;
  color: var(--cask-gray);
}

.blog-toc-inline-list .toc-link:hover {
  color: var(--cask-gold);
  border-left-color: var(--cask-gold);
}

/* Callout box (Takeaway) */
.callout-box {
  margin: 28px 0;
  padding: 20px 24px;
  background: #fdf9f2;
  border-left: 4px solid var(--cask-gold);
  border-radius: 0 10px 10px 0;
  font-size: 16px;
  line-height: 1.7;
}
.callout-box p { margin: 0; }
.callout-box strong { color: var(--cask-gold); }

/* Blockquote styling */
.cask-blog-single-custom .entry-content blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  background: #f4f6f8;
  border-left: 4px solid var(--cask-dark);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: var(--cask-dark);
}
.cask-blog-single-custom .entry-content blockquote p { margin: 0; }

/* Inline course CTA */
.blog-inline-course-cta {
  margin: 36px 0;
  padding: 24px 28px;
  background: linear-gradient(135deg, #fdf9f2 0%, #f5efe0 100%);
  border-left: 4px solid var(--cask-gold);
  border-radius: 0 12px 12px 0;
}

.blog-inline-course-cta-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cask-gold);
  margin-bottom: 8px;
}

.blog-inline-course-cta-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--cask-dark);
  margin-bottom: 16px;
  line-height: 1.3;
}

.blog-inline-course-cta-footer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.blog-inline-course-price {
  font-size: 15px;
  font-weight: 700;
  color: var(--cask-gold);
}

.blog-inline-course-btn {
  display: inline-block;
  background: var(--cask-gold);
  color: var(--cask-white);
  padding: 9px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}

.blog-inline-course-btn:hover { background: var(--cask-dark); }

/* Related sections wrapper */
.related-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 56px 0;
}

.related-section-title {
  font-size: 24px;
  margin: 0 0 28px;
  font-weight: 700;
}

/* Related Courses — dark bg */
.related-courses-section {
  background: var(--cask-dark);
}

.related-courses-section .related-section-title {
  color: var(--cask-white);
}

.related-courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Related Posts — white bg */
.related-posts-section { background: #f8f6f0; }

.related-posts-section .related-section-title { color: var(--cask-dark); }

.related-posts-section .related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.related-posts-section .related-post-card {
  background: var(--cask-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  transition: all .3s;
  text-decoration: none;
}

.related-posts-section .related-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.related-posts-section .related-post-thumb {
  display: block;
  overflow: hidden;
}

.related-posts-section .related-post-thumb img,
.related-posts-section .blog-thumb-placeholder {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}

.related-posts-section .related-post-card:hover .related-post-thumb img {
  transform: scale(1.04);
}

.related-posts-section .related-post-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.related-post-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cask-gold);
}

.related-posts-section .related-post-body h3 {
  font-size: 15px;
  margin: 0;
  line-height: 1.4;
}

.related-posts-section .related-post-body h3 a {
  color: var(--cask-dark);
  text-decoration: none;
}

.related-posts-section .related-post-body h3 a:hover { color: var(--cask-gold); }

.related-posts-section .related-post-body time {
  font-size: 12px;
  color: var(--cask-gray);
}

/* Responsive single post — hide sidebar when not enough left margin */
/* Balance whitespace: shift content right to center TOC+content as a unit */
/* TOC(300) + gap(32) = 332px on left → offset right by 332/2 = 166px */
@media (min-width: 1340px) {
  .cask-blog-single-custom .entry-content:has(.blog-toc-sidebar) {
    margin-right: calc((100% - 800px) / 2 - 166px);
  }
}
@media (max-width: 1339px) {
  .blog-toc-sidebar { display: none; }
  .blog-toc-inline { display: block; }
}

@media (max-width: 768px) {
  .blog-single-hero { height: auto; min-height: 280px; margin-bottom: 0; }
  .blog-single-hero-content { position: relative; left: auto; transform: none; padding: 0 20px 28px; }
  .blog-single-hero-title { font-size: 20px !important; line-height: 1.35 !important; }
  .blog-single-hero-meta { font-size: 13px; flex-wrap: wrap; }
  .cask-blog-single-custom .content-container.site-container,
  .cask-blog-single-custom .content-wrap,
  .cask-blog-single-custom .content-area,
  .cask-blog-single-custom .entry.single-entry,
  .cask-blog-single-custom .entry-content-wrap { padding: 0 !important; margin: 0 !important; }
  .cask-blog-single-custom .content-wrap { padding-top: 20px !important; }
  .cask-blog-single-custom .entry-content {
    font-size: 16px;
    padding: 0 20px !important;
    margin: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .cask-blog-single-custom .entry-content h2 { font-size: 20px; }
  .blog-toc-inline { margin-bottom: 12px; }
  .related-courses-grid,
  .related-posts-section .related-posts-grid { grid-template-columns: 1fr; }
  .blog-inline-course-cta-footer { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   Contact Page (Lien He)
   ========================================================================== */

.contact-page {
  margin: -20px 0 0;
}

.contact-hero {
  background: linear-gradient(135deg, var(--cask-dark), var(--cask-dark-light));
  padding: 48px 0;
  color: var(--cask-white);
  text-align: center;
}

.contact-hero h1 {
  color: var(--cask-white);
  font-size: 36px;
  margin: 0 0 8px;
}

.contact-hero p {
  font-size: 18px;
  opacity: 0.8;
  margin: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0 60px;
}

.contact-info-section h2 {
  font-size: 24px;
  margin: 0 0 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--cask-gold);
  color: var(--cask-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-info-item h4 {
  margin: 0 0 4px;
  font-size: 15px;
}

.contact-info-item p {
  margin: 0;
  color: var(--cask-gray);
  font-size: 14px;
}

.contact-info-item a {
  color: var(--cask-gold);
  text-decoration: none;
  font-weight: 600;
}

.contact-form-section h2 {
  font-size: 24px;
  margin: 0 0 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--cask-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  font-family: var(--cask-font-body);
  font-size: 15px;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--cask-gold);
  box-shadow: 0 0 0 3px rgba(197,165,90,0.1);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-map {
  margin-top: 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
}
.contact-map-iframe { display: block; width: 100%; height: 250px; border: 0; border-radius: 8px; }

/* ==========================================================================
   About Page (Gioi Thieu)
   ========================================================================== */

.about-hero {
  background: linear-gradient(135deg, var(--cask-dark), var(--cask-dark-light));
  padding: 64px 0;
  color: var(--cask-white);
  text-align: center;
}

.about-hero h1 {
  color: var(--cask-white);
  font-size: 42px;
  margin: 0 0 16px;
}

.about-hero p {
  font-size: 20px;
  opacity: 0.85;
  max-width: 700px;
  margin: 0 auto;
}

.about-section {
  padding: 60px 0;
}

.about-section:nth-child(even) {
  background: var(--cask-gray-light);
}

.about-section h2 {
  font-size: 28px;
  margin: 0 0 24px;
  text-align: center;
}

.about-section h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--cask-gold);
  margin: 12px auto 0;
  border-radius: 2px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.about-value-card {
  background: var(--cask-white);
  border-radius: 12px;
  padding: 28px;
  border: 1px solid #E5E7EB;
  text-align: center;
}

.about-value-card h3 {
  font-size: 18px;
  margin: 12px 0 8px;
}

.about-value-card p {
  color: var(--cask-gray);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  margin-top: 32px;
}

.about-stat {
  padding: 24px;
}

.about-stat .stat-number {
  font-family: var(--cask-font-heading);
  font-size: 42px;
  font-weight: 800;
  color: var(--cask-gold);
  line-height: 1;
}

.about-stat .stat-label {
  font-size: 14px;
  color: var(--cask-gray);
  margin-top: 8px;
}

.about-mission-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--cask-gray);
  line-height: 1.8;
}

.about-value-icon {
  color: var(--cask-gold);
  margin-bottom: 4px;
}

.about-domain-title {
  color: var(--cask-gold);
}

/* CTA Section (shared between About and other pages) */
.cask-cta-section {
  background: linear-gradient(135deg, var(--cask-dark), var(--cask-dark-light));
  padding: 64px 24px;
  text-align: center;
}

.cask-cta-section h2 {
  color: var(--cask-white);
  margin-bottom: 16px;
}

.cask-cta-section p {
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  font-size: 18px;
}

.cask-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cask-btn-outline-light {
  color: var(--cask-gold);
  border-color: var(--cask-gold);
}

/* Expert Detail — styles moved to main expert section above */
.expert-hero-inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.expert-hero-info {
  flex: 1;
  min-width: 0;
}
.expert-content-wrap {
  max-width: 900px;
  padding: 0 24px;
}
.expert-title-text {
  color: var(--cask-gold);
  font-weight: 600;
  font-size: 18px;
}
.expert-company-text {
  color: #666;
  font-size: 15px;
  margin-top: 2px;
}
.expert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.expert-tag {
  border: 1px solid var(--cask-gold);
  color: var(--cask-gold);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* Form Messages */
.form-success {
  background: #ECFDF5;
  border: 1px solid var(--cask-success);
  color: #065F46;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.form-error {
  background: #FEF2F2;
  border: 1px solid var(--cask-error);
  color: #991B1B;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

/* ==========================================================================
   Homepage
   ========================================================================== */

.homepage { margin: -20px 0 0; }

/* Hero */
.hp-hero {
  position: relative;
  overflow: hidden;
  padding: 100px 24px 80px;
  text-align: center;
  color: var(--cask-white);
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hp-hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hp-hero-slide.active {
  opacity: 1;
}

.hp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,43,76,0.82), rgba(27,62,101,0.75));
  z-index: 1;
}

.hp-hero-content {
  position: relative;
  z-index: 2;
}

.hp-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--cask-white);
}

.hp-hero-accent { color: var(--cask-gold); }

.hp-hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin: 0 auto 32px;
}

.hp-hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hp-btn-outline {
  border: 2px solid var(--cask-gold);
  color: var(--cask-gold);
  padding: 12px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-family: var(--cask-font-heading);
  transition: all 0.2s;
}

.hp-btn-outline:hover {
  background: var(--cask-gold);
  color: var(--cask-white);
}

.hp-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}

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

.hp-stat-num {
  font-family: var(--cask-font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--cask-gold);
}

.hp-stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* Courses section */
.hp-courses {
  padding: 64px 0;
}

.hp-courses h2,
.hp-enterprise h2,
.hp-why h2,
.hp-experts h2,
.hp-clients h2 {
  font-size: 32px;
  text-align: center;
  margin: 0 0 8px;
}

.hp-courses h2::after,
.hp-enterprise h2::after,
.hp-why h2::after,
.hp-experts h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--cask-gold);
  margin: 12px auto 0;
  border-radius: 2px;
}

.hp-section-sub {
  text-align: center;
  color: var(--cask-gray);
  margin: 0 0 40px;
}

/* Homepage section header with carousel nav */
.hp-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
}
.hp-section-header h2 { margin-bottom: 0; }
.hp-section-header .hp-section-sub { margin: 4px 0 0; }
/* Carousel nav — outside overlay (tinh tế) */
.hp-carousel--has-nav {
  position: relative;
  overflow: visible;
}
.hp-carousel-clip {
  overflow: hidden;
}
.hp-carousel--has-nav .hp-carousel-nav {
  position: absolute;
  top: 50%;
  left: -26px;
  right: -26px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}
.hp-carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.10);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: all 0.2s;
  pointer-events: all;
  flex-shrink: 0;
}
.hp-carousel-btn:hover:not(:disabled) {
  border-color: var(--cask-gold);
  color: var(--cask-gold);
  box-shadow: 0 2px 10px rgba(0,0,0,0.13);
}
.hp-carousel-btn:disabled {
  opacity: 0.2;
  cursor: default;
}

/* Carousel container */
.hp-carousel {
  overflow: hidden;
}
.hp-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}
.hp-carousel-track::-webkit-scrollbar { display: none; }

/* Course carousel slides */
.hp-carousel-slide.course-archive-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  min-width: 280px;
}

/* Expert carousel slides */
.hp-carousel-slide.hp-expert-card {
  flex: 0 0 calc((100% - 96px) / 5);
  scroll-snap-align: start;
  min-width: 180px;
}

/* Testimonial carousel slides */
.hp-carousel-slide.hp-testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  scroll-snap-align: start;
  min-width: 300px;
}

.hp-course-card {
  background: var(--cask-white);
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.hp-course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  border-color: var(--cc, var(--cask-gold));
}

.hp-card-thumb {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  overflow: hidden;
  background: #f0f0f0;
  flex-shrink: 0;
}

.hp-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.hp-course-card:hover .hp-card-thumb img { transform: scale(1.04); }

.hp-card-thumb-placeholder {
  position: absolute;
  inset: 0;
  background: var(--cc, var(--cask-gold));
  opacity: 0.15;
}

.hp-card-domain {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cask-white);
  background: var(--cc, var(--cask-gold));
  max-width: calc(100% - 20px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-card-body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hp-card-body h3 {
  font-family: var(--cask-font-heading);
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  color: var(--cask-dark);
}

.hp-card-meta {
  font-size: 13px;
  color: var(--cask-gray);
  display: flex;
  gap: 12px;
  margin: 0;
}

.hp-card-link {
  color: var(--cask-gold);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.hp-card-link:hover { text-decoration: underline; }

.hp-view-all {
  text-align: center;
  margin-top: 32px;
}

.hp-view-all a {
  color: var(--cask-gold);
  font-weight: 600;
  font-family: var(--cask-font-heading);
  text-decoration: none;
  border: 2px solid var(--cask-gold);
  padding: 12px 32px;
  border-radius: 6px;
  display: inline-block;
  transition: all 0.2s;
}

.hp-view-all a:hover {
  background: var(--cask-gold);
  color: var(--cask-white);
}

/* Enterprise section */
.hp-enterprise {
  background: var(--cask-navy-mist);
  padding: 64px 0;
}

.hp-enterprise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.hp-enterprise-card {
  background: var(--cask-white);
  border-radius: 12px;
  padding: 32px;
  border: 1px solid #E5E7EB;
  transition: all 0.3s;
}

.hp-enterprise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.hp-enterprise-card h3 {
  font-family: var(--cask-font-heading);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
}

.hp-enterprise-card p {
  color: var(--cask-gray);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.hp-enterprise-card a {
  color: var(--cask-gold);
  font-weight: 600;
  text-decoration: none;
}

.hp-enterprise-card a:hover { text-decoration: underline; }

/* Why CASK */
.hp-why { padding: 64px 0; }

.hp-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 32px;
}

.hp-why-card {
  text-align: center;
  padding: 24px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.hp-why-card:hover {
  background: var(--cask-white);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

.hp-why-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--cask-gold), var(--cask-gold-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 28px;
}

.hp-why-card h3 {
  font-family: var(--cask-font-heading);
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}

.hp-why-card p {
  color: var(--cask-gray);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Experts section */
.hp-experts {
  background: var(--cask-navy-mist);
  padding: 64px 0;
}

/* hp-experts-grid removed — now uses hp-carousel */

.hp-expert-card {
  text-align: center;
  background: var(--cask-white);
  border-radius: 12px;
  padding: 24px 16px;
  border: 1px solid #E5E7EB;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s;
}

.hp-expert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: var(--cask-gold-light);
}

.hp-expert-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--cask-gray-light);
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  border: 3px solid var(--cask-gold-light);
  overflow: hidden;
}
.hp-expert-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hp-expert-card h3 {
  font-family: var(--cask-font-heading);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--cask-dark);
}

.hp-expert-title {
  font-size: 13px;
  color: var(--cask-gray);
  margin-bottom: 2px;
}

.hp-expert-company {
  font-size: 12px;
  color: var(--cask-gold);
  font-weight: 600;
}

.hp-expert-bio {
  font-size: 12px;
  color: var(--cask-gray);
  line-height: 1.5;
  margin: 6px 0 0;
}

/* Testimonials */
.hp-testimonials {
  padding: var(--cask-section-gap) 0;
  background: var(--cask-gray-light);
}

/* hp-testimonials-grid removed — now uses hp-carousel */

.hp-testimonial-card {
  background: var(--cask-white);
  border-radius: 12px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid #E5E7EB;
  position: relative;
}

.hp-testimonial-card::before {
  content: '\201C';
  font-size: 48px;
  color: var(--cask-gold);
  opacity: 0.3;
  position: absolute;
  top: 12px;
  left: 20px;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--cask-gray);
  font-style: italic;
  margin-bottom: 20px;
  padding-top: 12px;
}

.testimonial-author strong {
  display: block;
  color: var(--cask-dark);
  font-size: 14px;
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 12px;
  color: var(--cask-gray);
}

/* Clients marquee */
.hp-clients {
  padding: 48px 0;
  text-align: center;
  overflow: hidden;
}

.hp-clients h2 {
  font-size: 24px !important;
  color: var(--cask-gray);
  margin-bottom: 32px !important;
}

.hp-marquee-wrap {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hp-marquee {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: hp-marquee 30s linear infinite;
}

@keyframes hp-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hp-marquee:hover {
  animation-play-state: paused;
}

.hp-client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 48px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.hp-client-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.hp-client-logo img {
  max-height: 40px;
  max-width: 120px;
  object-fit: contain;
}

/* Schedule Teaser */
.hp-schedule {
  background: linear-gradient(135deg, var(--cask-dark) 0%, #122b47 100%);
  padding: 56px 0;
}

.hp-schedule-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}

.hp-schedule-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--cask-gold);
  margin-bottom: 12px;
}

.hp-schedule-left h2 {
  font-family: var(--cask-font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--cask-white);
  line-height: 1.2;
  margin-bottom: 12px;
}

.hp-schedule-left h2 em {
  color: var(--cask-gold);
  font-style: normal;
}

.hp-schedule-left p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  margin-bottom: 20px;
}

.hp-schedule-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--cask-gold);
  text-decoration: none;
  transition: color 0.2s;
}

.hp-schedule-all:hover { color: var(--cask-white); }

.hp-schedule-right {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hp-schedule-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  text-decoration: none;
  transition: all 0.2s;
}

.hp-schedule-row:hover {
  background: rgba(197,168,128,0.1);
  border-color: rgba(197,168,128,0.25);
}

.hp-schedule-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
  flex-shrink: 0;
}

.hp-sd-day {
  font-family: var(--cask-font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--cask-gold);
  line-height: 1;
}

.hp-sd-mon {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin-top: 2px;
}

.hp-schedule-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.hp-schedule-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--cask-white);
  padding: 2px 8px;
  border-radius: 3px;
  width: fit-content;
}

.hp-schedule-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--cask-white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-schedule-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  flex-shrink: 0;
}

.hp-schedule-format {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

.hp-schedule-soon {
  font-size: 11px;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74,222,128,0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .hp-schedule-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hp-schedule-row { gap: 12px; padding: 12px 16px; }
  .hp-schedule-name { white-space: normal; }
  .hp-schedule-meta { display: none; }
}

/* CTA section */
.hp-cta {
  background: linear-gradient(135deg, var(--cask-dark-deep), var(--cask-dark));
  color: var(--cask-white);
  padding: 80px 24px;
  text-align: center;
}

.hp-cta-tag {
  display: inline-block;
  background: rgba(197,168,128,0.2);
  color: var(--cask-gold);
  border: 1px solid rgba(197,168,128,0.4);
  border-radius: 20px;
  padding: 6px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hp-cta h2 {
  color: var(--cask-white);
  font-size: 36px;
  margin: 0 0 20px;
  line-height: 1.25;
}

.hp-cta h2 em {
  color: var(--cask-gold);
  font-style: normal;
}

.hp-cta p {
  color: rgba(255,255,255,0.75);
  margin: 0 0 36px;
  font-size: 17px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hp-cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hp-cta-note {
  font-size: 14px !important;
  color: rgba(255,255,255,0.5) !important;
  margin: 0 !important;
}

.hp-cta-note a {
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
  html, body { overflow-x: hidden; }

  :root {
    --cask-section-gap: 48px;
  }

  .cask-section-title {
    font-size: 28px;
  }

  .cask-section-subtitle {
    font-size: 16px;
  }

  .cask-course-card .card-price {
    font-size: 18px;
  }

  /* Header mobile */
  .cask-header-top {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .cask-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cask-white);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .cask-nav.open {
    max-height: 90vh;
    padding: 16px 0;
  }

  .cask-nav .cask-menu {
    flex-direction: column;
    gap: 0;
  }

  .cask-menu li a {
    padding: 12px 24px;
    text-align: center;
  }

  .cask-menu > li > a {
    text-align: center;
  }

  .cask-menu .sub-menu {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    background: var(--cask-gray-light);
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.28s ease;
  }

  .cask-menu li.submenu-open > .sub-menu {
    max-height: 400px;
  }

  .cask-menu .sub-menu li a {
    padding-left: 40px;
  }

  /* Sub-menu toggle button */
  .submenu-toggle {
    display: flex;
    position: absolute;
    right: 0;
    top: 0;
    height: 44px;
    width: 44px;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--cask-dark);
    transition: transform 0.22s ease;
  }

  .cask-menu li.submenu-open > .submenu-toggle {
    transform: rotate(180deg);
  }

  /* Mega menu mobile */
  .mega-menu {
    position: static;
    width: auto;
    left: auto;
    right: auto;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--cask-gray-light);
  }
  .mega-menu::before {
    display: none;
  }
  .has-mega-menu.submenu-open > .mega-menu {
    max-height: 1600px;
  }
  .mega-menu-inner {
    padding: 16px 24px;
  }
  .mega-menu-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mega-menu-col {
    border-right: none;
    padding: 0;
  }
  .mega-menu-group {
    margin-top: 8px;
  }
  .mega-menu-title {
    font-size: 14px;
  }
  .mega-menu-desc {
    font-size: 12px;
  }
  .mega-menu-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 16px 0 8px;
  }
  .mega-menu-upcoming {
    flex-direction: column;
    gap: 6px;
  }

  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Expert detail mobile */
  .expert-hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    align-items: center;
  }
  .expert-photo {
    width: 160px;
    height: 160px;
  }
  .expert-stats-row {
    justify-content: center;
    flex-wrap: wrap;
  }
  .expert-stat-card {
    min-width: 100px;
  }
  .expert-tags {
    justify-content: center;
  }
  .expert-hero-info h1 {
    font-size: 26px;
  }
  .expert-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .expert-courses-grid {
    grid-template-columns: 1fr;
  }
  .expert-cta-section {
    padding: 40px 0;
  }
  .expert-cta-section h2 {
    font-size: 22px;
  }

  /* Archive mobile */
  .archive-hero h1,
  .contact-hero h1,
  .about-hero h1,
  .faq-hero h1,
  .resources-hero h1,
  .blog-hero h1,
  .category-hero h1 {
    font-size: 24px;
  }

  .courses-archive-grid {
    grid-template-columns: 1fr;
  }

  .experts-archive-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .about-hero h1 {
    font-size: 32px;
  }

  /* Homepage mobile */
  .hp-hero {
    padding: 48px 0 40px;
    text-align: center;
    min-height: 400px;
  }

  .hp-hero h1 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hp-hero-desc {
    font-size: 16px;
  }

  .hp-hero-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hp-hero-btns .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .hp-stats {
    gap: 16px 32px;
    padding: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hp-stat-num {
    font-size: 28px;
  }

  .hp-carousel-slide.course-archive-card {
    flex: 0 0 85%;
    min-width: 260px;
  }
  .hp-carousel-slide.hp-expert-card {
    flex: 0 0 45%;
    min-width: 150px;
  }
  .hp-carousel-slide.hp-testimonial-card {
    flex: 0 0 85%;
    min-width: 260px;
  }
  .hp-section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hp-enterprise-grid {
    grid-template-columns: 1fr;
  }

  .hp-why-grid {
    grid-template-columns: 1fr;
  }

  /* hp-experts-grid removed — carousel handles responsive */

  .hp-marquee {
    gap: 32px;
    animation-duration: 20s;
  }

  .hp-cta {
    padding: 48px 0;
  }

  .hp-cta h2 {
    font-size: 24px;
  }

  .hp-cta-btns {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hp-cta-btns .btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .hp-courses h2,
  .hp-enterprise h2,
  .hp-why h2,
  .hp-experts h2,
  .hp-clients h2 {
    font-size: 28px;
  }

  /* Schedule mobile — card layout */
  .schedule-hero h1 { font-size: 24px; }
  .schedule-filters { gap: 6px; }
  .filter-btn { padding: 6px 14px; font-size: 12px; }

  .schedule-table thead { display: none; }
  .schedule-table,
  .schedule-table tbody { display: block; }

  .schedule-month-row { display: block !important; }
  .schedule-month-row td {
    display: block;
    padding: 12px 0 4px;
    font-size: 15px;
  }

  .schedule-row {
    display: block;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 12px;
    padding: 14px;
  }

  .schedule-row td {
    display: block;
    padding: 0;
    border: none;
    text-align: left !important;
  }

  .schedule-course-cell { flex-direction: column; align-items: flex-start; gap: 10px; }

  .schedule-course-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border: none;
  }

  .schedule-course-name { font-size: 15px; }
  .schedule-course-sub { font-size: 12px; }

  .schedule-row td.schedule-start-date,
  .schedule-row td:nth-child(3),
  .schedule-row td.schedule-time {
    display: inline-block;
    font-size: 13px;
    color: var(--cask-gray);
    padding-top: 8px;
  }

  .schedule-row td.schedule-start-date { font-weight: 700; color: var(--cask-dark); }
  .schedule-row td.schedule-start-date::after { content: "  ·  "; color: var(--cask-gray); }
  .schedule-row td:nth-child(3)::after { content: "  ·  "; color: var(--cask-gray); }

  .schedule-row td:last-child { padding-top: 12px; }
  .schedule-actions { flex-direction: row; gap: 8px; }
  .schedule-table .schedule-actions .cask-btn-primary,
  .schedule-table .schedule-actions .schedule-brochure-btn {
    width: auto;
    flex: 1;
    font-size: 12px;
    padding: 8px 12px;
  }
}

/* ==========================================================================
   Social Share
   ========================================================================== */

.cask-share {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid #E5E7EB;
  margin-top: 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Post tags */
.cask-share span {
  font-size: 14px;
  font-weight: 600;
  color: var(--cask-gray);
}

.cask-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--cask-gray-light);
  color: var(--cask-gray);
  text-decoration: none;
  transition: all 0.2s ease;
}

.cask-share a:visited {
  color: var(--cask-gray);
}
.cask-share a:hover {
  background: var(--cask-gold);
  color: var(--cask-white);
}

.share-copy {
  padding: 6px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  background: none;
  font-size: 13px;
  cursor: pointer;
  color: var(--cask-gray);
  transition: all 0.2s ease;
}

.share-copy:hover {
  border-color: var(--cask-gold);
  color: var(--cask-gold);
}

/* Hide legacy TOC widget from migrated content */
.widget-toc { display: none; }

/* Bottom CTA (80% progress) */
.blog-bottom-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  z-index: 800;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 560px;
  width: calc(100% - 32px);
  padding: 14px 20px;
  background: var(--cask-dark);
  color: var(--cask-white);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transition: transform .4s ease;
}
.blog-bottom-cta[aria-hidden="false"] {
  transform: translateX(-50%) translateY(0);
}
.blog-bottom-cta-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: var(--cask-gray);
  color: var(--cask-white);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.blog-bottom-cta-text {
  font-size: 14px;
  white-space: nowrap;
  opacity: 0.8;
}
.blog-bottom-cta-btn {
  display: inline-block;
  padding: 8px 18px;
  background: var(--cask-gold);
  color: var(--cask-white);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}
.blog-bottom-cta-btn:hover {
  background: #b89970;
  color: var(--cask-white);
}

/* Image lightbox */
.blog-single-body img[data-zoomable] {
  cursor: zoom-in;
}
#cask-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity .2s;
}
#cask-lightbox.visible {
  opacity: 1;
}
#cask-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}
.cask-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity .2s;
}
.cask-lightbox-close:hover {
  opacity: 1;
}

/* Author Box */
.author-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #f8f6f0;
  border-radius: 12px;
  padding: 24px;
  margin: 40px 0 0;
  border-left: 3px solid var(--cask-gold);
}

.author-box-avatar {
  flex-shrink: 0;
}

.author-avatar-img,
.author-box-avatar img {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  object-fit: cover;
}

.author-box-name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.author-box-name a {
  color: var(--cask-dark);
  text-decoration: none;
}

.author-box-bio {
  font-size: 14px;
  color: #555;
  margin: 0 0 10px;
  line-height: 1.6;
}

.author-box-link {
  font-size: 13px;
  color: var(--cask-gold);
  text-decoration: none;
  font-weight: 600;
}



/* ==========================================================================
   Related Posts
   ========================================================================== */

.related-posts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #E5E7EB;
}

.related-posts h3 {
  font-family: var(--cask-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cask-dark);
  margin-bottom: 1.5rem;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.related-post-card {
  background: var(--cask-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.related-post-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.related-post-body {
  padding: 1rem;
}

.related-post-body h4 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.5rem;
}

.related-post-body h4 a {
  color: var(--cask-dark);
  text-decoration: none;
}

.related-post-body h4 a:hover {
  color: var(--cask-gold);
}

.related-post-body time {
  font-size: 0.8rem;
  color: var(--cask-gray);
}

@media (max-width: 768px) {
  .related-posts-grid {
    grid-template-columns: 1fr;
  }
}

/* Related Courses in Blog */
.related-courses-blog {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}
.related-courses-blog h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.related-courses-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.related-course-blog-card {
  display: block;
  padding: 16px 20px;
  background: #f8f6f0;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  border-left: 3px solid var(--cask-gold);
  transition: background .2s;
}
.related-course-blog-card:hover {
  background: #f0ebe0;
}
.related-course-blog-card h4 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--cask-dark);
}
.related-course-blog-card span {
  font-size: 13px;
  color: #888;
}

@media (max-width: 768px) {
  .related-courses-blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Zalo Button + Mobile Sticky CTA
   ========================================================================== */

.cask-zalo-btn {
  position: fixed;
  bottom: 80px;
  right: 24px;
  width: 52px;
  height: 52px;
  background: #0068FF;
  color: var(--cask-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,104,255,0.4);
  z-index: 998;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.cask-zalo-btn:hover {
  transform: scale(1.1);
}

.cask-mobile-cta {
  display: none;
}

@media (max-width: 768px) {
  .cask-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
  }

  .mobile-cta-call {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--cask-dark);
    color: var(--cask-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
  }

  .mobile-cta-contact {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: var(--cask-gold);
    color: var(--cask-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
  }

  .cask-zalo-btn {
    bottom: 72px;
  }

  .back-to-top {
    bottom: 72px;
    right: 80px;
  }

  /* Add padding to body so content isn't hidden behind sticky CTA */
  body {
    padding-bottom: 52px;
  }
}

/* ==========================================================================
   Breadcrumbs
   ========================================================================== */

.cask-breadcrumbs {
  background: var(--cask-gray-light);
  padding: 12px 0;
  font-size: 13px;
  color: var(--cask-gray);
}

.cask-breadcrumbs a {
  color: var(--cask-gray);
  text-decoration: none;
}

.cask-breadcrumbs a:hover {
  color: var(--cask-gold);
}

.cask-breadcrumbs span {
  margin: 0 6px;
  color: #9CA3AF;
}

/* ==========================================================================
   404 Page
   ========================================================================== */

.error-404-page {
  padding: 80px 0;
  text-align: center;
}

.error-404-number {
  font-family: var(--cask-font-heading);
  font-size: 120px;
  font-weight: 800;
  color: var(--cask-gold);
  line-height: 1;
  opacity: 0.3;
}

.error-404-content h1 {
  font-size: 32px;
  margin: 0 0 16px;
}

.error-404-content p {
  color: var(--cask-gray);
  font-size: 18px;
  margin-bottom: 32px;
}

.error-404-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.error-404-links {
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
}

.error-404-links h3 {
  font-size: 16px;
  margin-bottom: 12px;
}

.error-404-links ul {
  list-style: none;
  padding: 0;
}

.error-404-links li {
  padding: 8px 0;
  border-bottom: 1px solid #E5E7EB;
}

.error-404-links a {
  color: var(--cask-dark);
  text-decoration: none;
}

.error-404-links a:hover {
  color: var(--cask-gold);
}

/* ==========================================================================
   Global Polish
   ========================================================================== */

/* scroll-behavior: smooth removed — handled by JS for precise control */

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--cask-gold);
  color: var(--cask-white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(197,165,90,0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--cask-gold-dark);
  transform: translateY(-2px);
}

/* Smooth link transitions */
a {
  transition: color 0.2s ease;
}

/* Prevent :visited from changing button/icon/link colors */
.cask-btn-primary:visited { color: var(--cask-white); }
.cask-btn-outline:visited { color: var(--cask-gold); }
.cl-btn-ghost:visited { color: var(--cc-text, #fff); }
.cl-cta-phone:visited { color: rgba(255,255,255,0.9); }
.cl-cta-band .cask-btn-primary:visited { color: var(--cask-dark); }
.cl-audience-cta a:visited { color: var(--cc-accent-text, var(--cc-text, #fff)); }
.cl-btn-outline-gold:visited,
.hp-card-link:visited,
.blog-read-more:visited,
.schedule-note a:visited,
.contact-info-item a:visited,
.hp-view-all a:visited,
.hp-enterprise-card a:visited,
.hp-cta-note a:visited { color: inherit; }

/* Remove sticky tap highlight on mobile */
a, button {
  -webkit-tap-highlight-color: transparent;
}

/* Image loading placeholder */
img {
  max-width: 100%;
  height: auto;
}

/* Selection color */
::selection {
  background: var(--cask-gold);
  color: var(--cask-white);
}

/* Focus styles for accessibility — keyboard only */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cask-gold);
  outline-offset: 2px;
}
/* Reset focus for mouse/touch clicks */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}


@media (max-width: 480px) {
  .hp-hero h1 {
    font-size: 24px;
  }

  .hp-stats .stat-item {
    font-size: 14px;
  }

  .cask-logo img {
    height: 32px;
  }

  /* Expert detail — small mobile */
  .expert-photo {
    width: 120px;
    height: 120px;
  }
  .expert-stat-card {
    padding: 12px 14px;
    min-width: 90px;
  }
  .expert-stat-card strong {
    font-size: 18px;
  }
  .expert-related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  /* Course sticky CTA — mobile only */
  .cl-sticky-bar {
    display: flex;
  }
  .single-cask_course .cask-mobile-cta {
    display: none;
  }
}

/* ============ Consulting Page ============ */
.consulting-hero {
  background: linear-gradient(135deg, #1B3E65, #2a5a8e);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.consulting-hero h1 { color: #fff; margin-bottom: 12px; }
.consulting-hero-desc { font-size: 18px; opacity: .9; max-width: 600px; margin: 0 auto; }
.consulting-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding: 48px 0; }
.consulting-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.consulting-icon { margin-bottom: 16px; color: var(--cask-gold); }
.consulting-card h2 { font-size: 20px; margin-bottom: 12px; color: #1B3E65; }
.consulting-card ul { padding-left: 20px; margin: 12px 0; }
.consulting-card li { margin-bottom: 6px; font-size: 14px; }
.consulting-highlight {
  background: #f8f6f0;
  border-left: 3px solid var(--cask-gold);
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 14px;
  border-radius: 0 8px 8px 0;
}
.consulting-process { background: #f8f6f0; padding: 48px 0; }
.consulting-process h2 { text-align: center; margin-bottom: 32px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { text-align: center; }
.process-num {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--cask-gold); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; margin-bottom: 12px;
}
.process-step h3 { font-size: 16px; margin-bottom: 8px; }
.process-step p { font-size: 14px; color: #666; }
.consulting-clients { padding: 48px 0; text-align: center; }
.consulting-client-list {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 24px;
}
.consulting-client-list span {
  background: #f5f5f5; padding: 8px 20px; border-radius: 20px;
  font-size: 14px; font-weight: 500; color: #333;
}
.consulting-cta {
  background: linear-gradient(135deg, #1B3E65, #2a5a8e);
  color: #fff; padding: 48px 0; text-align: center;
}
.consulting-cta h2 { color: #fff; margin-bottom: 8px; }
.consulting-cta p { opacity: .9; margin-bottom: 24px; }

@media (max-width: 768px) {
  .consulting-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

/* ============ Thank You Page ============ */
.thankyou-page { padding: 48px 0; }
.thankyou-content { text-align: center; max-width: 700px; margin: 0 auto; }
.thankyou-icon { color: #4CAF50; margin-bottom: 16px; }
.thankyou-desc { font-size: 18px; color: #666; margin-bottom: 24px; }
.thankyou-info { text-align: left; background: #f8f6f0; border-radius: 12px; padding: 24px 32px; margin-bottom: 32px; }
.thankyou-info ul { padding-left: 20px; margin-top: 8px; }
.thankyou-info li { margin-bottom: 6px; }
.thankyou-courses { margin-top: 48px; text-align: left; }
.thankyou-courses h2 { text-align: center; margin-bottom: 24px; }

/* ============ Events Page ============ */
.events-hero {
  background: linear-gradient(135deg, #1B3E65, #2a5a8e);
  color: #fff; padding: 64px 0; text-align: center;
}
.events-hero h1 { color: #fff; margin-bottom: 12px; }
.events-hero-desc { font-size: 18px; opacity: .9; margin-bottom: 24px; }
.events-hero-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.ev-filter-btn {
  background: rgba(255,255,255,.15); color: #fff; border: 1px solid rgba(255,255,255,.3);
  padding: 8px 20px; border-radius: 24px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .2s; font-family: inherit;
}
.ev-filter-btn:hover { background: rgba(255,255,255,.25); }
.ev-filter-btn.active { background: #fff; color: var(--cask-dark, #1B3E65); border-color: #fff; }

/* Featured event */
.events-featured { padding: 48px 0 32px; }
.event-featured-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
  background: #fff; border-radius: 12px; padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.event-featured-img img { width: 100%; border-radius: 8px; }
.event-featured-info { display: flex; flex-direction: column; gap: 12px; }
.event-badge {
  display: inline-block; background: #C5A880; color: #fff;
  padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 600;
  width: fit-content; text-transform: uppercase; letter-spacing: .5px;
}
.event-featured-date { font-size: 15px; color: #666; font-weight: 600; }
.event-featured-info h2 { font-size: 22px; line-height: 1.4; margin: 0; }
.event-featured-info p { font-size: 15px; color: #555; line-height: 1.6; }
.event-featured-meta { display: flex; flex-wrap: wrap; gap: 16px; color: #666; font-size: 14px; }
.event-featured-meta span { display: flex; align-items: center; gap: 6px; }
.event-featured-speaker { font-size: 13px; color: #888; font-style: italic; display: flex; align-items: center; gap: 6px; }

/* Section titles */
.events-section { padding: 24px 0; }
.events-section-title {
  font-size: 24px; text-align: center; margin-bottom: 24px;
  padding-bottom: 12px; border-bottom: 1px solid #e0dcd4;
}
.events-empty-msg {
  padding: 32px; background: #f8f6f0; border-radius: 8px;
  text-align: center; color: #666;
}
.events-empty-cta {
  padding: 48px 32px; background: #f8f6f0; border-radius: 12px;
  text-align: center;
}
.events-empty-icon { color: #C5A880; margin-bottom: 12px; }
.events-empty-cta h3 { font-size: 20px; margin-bottom: 8px; }
.events-empty-cta > p { color: #666; margin-bottom: 20px; }
.events-subscribe-form {
  max-width: 420px; margin: 0 auto;
}
.ev-form-row {
  display: flex; gap: 8px; margin-bottom: 8px;
}
.ev-form-row:last-child { margin-bottom: 0; }
.events-subscribe-form input {
  flex: 1; padding: 10px 16px; border: 1px solid #ddd; border-radius: 6px;
  font-size: 14px;
}
.events-subscribe-form input:focus {
  outline: none; border-color: #C5A880;
}
.events-subscribe-form .cask-btn-primary { white-space: nowrap; }

/* Past events card grid — 3 columns */
.events-card-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.ev-card {
  background: #fff; border-radius: 10px; overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  display: flex; flex-direction: column;
  transition: box-shadow .2s;
}
.ev-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.ev-card-img { aspect-ratio: 3/2; overflow: hidden; position: relative; }
.ev-type-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  padding: 3px 10px; border-radius: 4px; font-size: 11px;
  font-weight: 700; text-transform: uppercase; letter-spacing: .5px;
}
.ev-type-webinar { background: #1B3E65; color: #fff; }
.ev-type-bootcamp { background: #c0392b; color: #fff; }
.ev-type-workshop { background: #C5A880; color: #fff; }
.ev-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.ev-card:hover .ev-card-img img { transform: scale(1.03); }
.ev-card-body {
  padding: 16px; flex: 1;
  display: flex; flex-direction: column;
}
.ev-card-body h3 {
  font-size: 14px; line-height: 1.5; margin-bottom: 10px;
  flex: 1;
}
.ev-card-meta {
  display: flex; flex-direction: column; gap: 4px;
  color: #888; font-size: 12px; margin-bottom: 12px;
}
.ev-card-meta span { display: flex; align-items: center; gap: 4px; }
.ev-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid #f0ece4; padding-top: 12px;
}
.ev-price { font-weight: 700; color: #c0392b; font-size: 15px; }
.ev-old-price {
  text-decoration: line-through; color: #999; font-size: 13px; margin-left: 6px;
}
.ev-record-btn {
  display: inline-block; background: #C5A880; color: #fff;
  padding: 8px 16px; border-radius: 6px; font-size: 13px;
  font-weight: 600; text-decoration: none; text-transform: uppercase;
  transition: background .2s; border: none; cursor: pointer;
  font-family: inherit; line-height: 1.4;
}
.ev-record-btn:hover { background: #b09468; color: #fff; }

/* Event Detail Modal */
.ev-detail-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; overflow-y: auto;
}
.ev-detail-modal {
  background: #fff; border-radius: 16px; max-width: 900px; width: 100%;
  max-height: 90vh; overflow-y: auto; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.ev-detail-close {
  position: absolute; top: 12px; right: 16px; z-index: 10;
  background: rgba(0,0,0,.5); color: #fff; border: none;
  width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  font-size: 22px; display: flex; align-items: center; justify-content: center;
  line-height: 1; padding: 0; transition: background .2s; font-family: inherit;
}
.ev-detail-close:hover { background: rgba(0,0,0,.8); }
.ev-detail-grid { }
.ev-detail-img { overflow: hidden; border-radius: 16px 16px 0 0; }
.ev-detail-img img { width: 100%; height: auto; display: block; }
.ev-detail-info { padding: 28px 32px 32px; }
.ev-detail-info .event-badge { margin-bottom: 12px; }
.ev-detail-info h2 { font-size: 22px; line-height: 1.35; margin-bottom: 16px; color: #1B3E65; }
.ev-detail-desc { color: #444; line-height: 1.7; margin-bottom: 24px; font-size: 15px; }
.ev-detail-meta { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px;
  padding: 16px 20px; background: #f8f6f0; border-radius: 10px; }
.ev-detail-row { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #555; }
.ev-detail-row svg { flex-shrink: 0; color: #C5A880; }
.ev-detail-speaker { margin-bottom: 24px; padding: 20px; background: #fafafa; border-radius: 10px; border-left: 3px solid #C5A880; }
.ev-detail-speaker h4 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 10px; color: #1B3E65; }
.ev-detail-speaker h4 svg { color: #C5A880; }
.ev-detail-speaker-title { font-size: 13px; color: #888; margin-bottom: 8px; }
.ev-detail-speaker-bio { font-size: 14px; color: #555; line-height: 1.6; }
.ev-detail-cta { padding: 20px; background: #1B3E65; border-radius: 10px; color: #fff; }
.ev-detail-cta > p { font-size: 14px; margin-bottom: 12px; opacity: .9; }
.ev-detail-form .ev-form-row {
  display: flex; gap: 8px; margin-bottom: 8px;
}
.ev-detail-form .ev-form-row:last-child { margin-bottom: 0; }
.ev-detail-form input {
  flex: 1; padding: 10px 14px; border: 2px solid rgba(255,255,255,.2);
  border-radius: 8px; font-size: 14px; background: rgba(255,255,255,.1);
  color: #fff; outline: none; transition: border-color .2s;
}
.ev-detail-form input::placeholder { color: rgba(255,255,255,.5); }
.ev-detail-form input:focus { border-color: #C5A880; }
.ev-detail-form input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 30px rgba(255,255,255,0.1) inset; }
.ev-detail-form .cask-btn-primary { white-space: nowrap; }
.ev-detail-gallery { margin: 20px 0; }
.ev-detail-gallery h4 { display: flex; align-items: center; gap: 8px; font-size: 15px; margin-bottom: 12px; color: #1B3E65; }
.ev-gallery-grid {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; scrollbar-width: thin; padding-bottom: 6px;
}
.ev-gallery-grid img {
  flex: 0 0 220px; height: 150px; object-fit: cover; border-radius: 8px;
  cursor: pointer; scroll-snap-align: start; transition: transform .2s;
}
.ev-gallery-grid img:hover { transform: scale(1.03); }

/* Lightbox */
.ev-lightbox {
  display: none; position: fixed; inset: 0; z-index: 100001;
  background: rgba(0,0,0,.92); align-items: center; justify-content: center;
}
.ev-lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.ev-lightbox-close {
  position: absolute; top: 16px; right: 20px; background: none; border: none;
  color: #fff; font-size: 36px; cursor: pointer; line-height: 1; padding: 0;
}
.ev-lightbox-prev, .ev-lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15); border: none; color: #fff;
  font-size: 32px; width: 48px; height: 48px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.ev-lightbox-prev:hover, .ev-lightbox-next:hover { background: rgba(255,255,255,.3); }
.ev-lightbox-prev { left: 16px; }
.ev-lightbox-next { right: 16px; }
.ev-lightbox-counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: 14px;
}

@media (max-width: 600px) {
  .ev-detail-modal { border-radius: 12px; }
  .ev-detail-info { padding: 20px; }
  .ev-detail-info h2 { font-size: 18px; }
  .ev-detail-form .ev-form-row { flex-direction: column; }
  .ev-gallery-grid img { flex: 0 0 180px; height: 120px; }
}

/* CTA */
.events-cta {
  text-align: center; padding: 48px 24px; margin: 24px 0 48px;
  background: #f8f6f0; border-radius: 12px;
}
.events-cta h3 { margin-bottom: 8px; font-size: 20px; }
.events-cta > p { color: #666; margin-bottom: 20px; }

@media (max-width: 1024px) {
  .events-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .event-featured-card { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .event-featured-info h2 { font-size: 18px; }
  .events-card-grid { grid-template-columns: 1fr; }
  .ev-form-row { flex-direction: column; }
}

/* ============ Sitemap Page ============ */
.sitemap-page { padding: 48px 0; }
.sitemap-page h1 { margin-bottom: 32px; }
.sitemap-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.sitemap-col h2 { font-size: 18px; color: var(--cask-dark); margin: 24px 0 12px; border-bottom: 2px solid var(--cask-gold); padding-bottom: 8px; }
.sitemap-col h2:first-child { margin-top: 0; }
.sitemap-col h3 { font-size: 15px; margin: 16px 0 8px; }
.sitemap-col ul { list-style: none; padding: 0; margin: 0 0 8px; }
.sitemap-col li { padding: 4px 0; }
.sitemap-col a { color: #333; text-decoration: none; font-size: 14px; }
.sitemap-col a:hover { color: var(--cask-gold); }

@media (max-width: 768px) {
  .sitemap-columns { grid-template-columns: 1fr; gap: 24px; }
}

/* Pillar CTA */
.pillar-cta {
    margin-top: 24px;
    padding: 16px 20px;
    background: var(--cask-dark);
    border-radius: 8px;
    text-align: center;
}
.pillar-cta p {
    margin: 0;
    color: #fff;
    font-size: 15px;
}
.pillar-cta a {
    color: var(--cask-gold);
    text-decoration: none;
    font-weight: 600;
}
.pillar-cta a:hover {
    text-decoration: underline;
}

/* ============================================================
   Legal Pages (Privacy Policy, Terms of Use)
   ============================================================ */
.legal-page {
    padding: 40px 0 80px;
}
.cask-container--narrow {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 20px;
}
.legal-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--cask-gold);
}
.legal-header h1 {
    font-size: 2rem;
    color: var(--cask-dark);
    margin-bottom: 8px;
}
.legal-updated {
    font-size: 13px;
    color: #888;
    margin: 0;
}
.legal-section {
    margin-bottom: 36px;
}
.legal-section h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cask-dark);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}
.legal-section h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--cask-dark);
    margin: 16px 0 8px;
}
.legal-section p {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 12px;
}
.legal-section ul {
    padding-left: 20px;
    margin-bottom: 12px;
}
.legal-section ul li {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 6px;
}
.legal-section a {
    color: var(--cask-gold);
    text-decoration: none;
}
.legal-section a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .legal-header h1 { font-size: 1.6rem; }
    .legal-section h2 { font-size: 1.05rem; }
}

/* ============================================================
   Pillar Pages
   ============================================================ */
.pillar-page {}
.pillar-related-courses {
    background: var(--cask-light-bg, #f8f6f1);
    padding: 48px 0 40px;
    margin-bottom: 0;
}
.pillar-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--cask-dark);
    margin-bottom: 24px;
}
.pillar-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.pillar-course-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e8e2d6;
    text-decoration: none;
    display: block;
    transition: box-shadow .2s, transform .2s;
}
.pillar-course-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,.1);
    transform: translateY(-2px);
}
.pillar-course-thumb img { width: 100%; height: 180px; object-fit: cover; display: block; }
.pillar-course-body { padding: 16px; }
.pillar-course-body h3 { font-size: 15px; font-weight: 600; color: var(--cask-dark); margin-bottom: 10px; line-height: 1.4; }
.pillar-course-meta { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #777; }
.pillar-course-price { color: var(--cask-gold); font-weight: 700; }

.pillar-content { padding: 56px 0; }
.pillar-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--cask-dark); margin: 40px 0 16px; }
.pillar-content h2:first-child { margin-top: 0; }
.pillar-content h3 { font-size: 1.1rem; font-weight: 600; color: var(--cask-dark); margin: 28px 0 10px; }
.pillar-content p { font-size: 16px; line-height: 1.8; color: #3a3a3a; margin-bottom: 16px; }
.pillar-content ul, .pillar-content ol { padding-left: 22px; margin-bottom: 16px; }
.pillar-content li { font-size: 16px; line-height: 1.8; color: #3a3a3a; margin-bottom: 6px; }
.pillar-content blockquote { background: #f8f6f1; border-left: 4px solid var(--cask-gold); padding: 16px 20px; margin: 24px 0; border-radius: 0 8px 8px 0; }
.pillar-content blockquote p { margin: 0; font-style: italic; }
.pillar-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px; }
.pillar-content th { background: var(--cask-dark); color: #fff; padding: 10px 14px; text-align: left; }
.pillar-content td { padding: 10px 14px; border-bottom: 1px solid #eee; }
.pillar-content tr:nth-child(even) td { background: #f9f7f4; }

.pillar-faq { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.pillar-faq-item { background: #f8f6f1; border-radius: 8px; padding: 18px 20px; }
.pillar-faq-item h3 { font-size: 15px; font-weight: 600; color: var(--cask-dark); margin: 0 0 10px; }
.pillar-faq-item p { font-size: 15px; color: #555; line-height: 1.7; margin: 0; }

.pillar-cta-section { background: var(--cask-dark); padding: 56px 0; }
.pillar-cta-inner { text-align: center; }
.pillar-cta-inner h2 { color: #fff; font-size: 1.8rem; margin-bottom: 12px; }
.pillar-cta-inner p { color: rgba(255,255,255,.8); font-size: 16px; margin-bottom: 28px; }
.pillar-cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.pillar-related-posts { background: #f9fafb; padding: 48px 0; }
.pillar-related-posts .pillar-section-title { margin-bottom: 20px; }
.pillar-posts-list { list-style: none; padding: 0; margin: 0 0 20px; }
.pillar-posts-list li { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #e5e7eb; gap: 16px; }
.pillar-posts-list li a { color: var(--cask-dark); font-weight: 500; text-decoration: none; flex: 1; }
.pillar-posts-list li a:hover { color: var(--cask-gold); }
.pillar-post-date { color: #9ca3af; font-size: 13px; white-space: nowrap; }
.pillar-more-posts { color: var(--cask-gold); font-weight: 600; text-decoration: none; font-size: 14px; }
.pillar-more-posts:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .pillar-courses-grid { grid-template-columns: 1fr; }
    .pillar-cta-inner h2 { font-size: 1.4rem; }
    .pillar-content h2 { font-size: 1.25rem; }
    .pillar-posts-list li { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
