/* ============================================================
   DBSA Design System — styles.css
   Development Bank of Southern Africa Corporate Website Prototype
   Version: 1.0 | Date: January 2026
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* ============================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ============================================================ */
:root {
  /* Primary Colours — DBSA Style Guide V07 */
  --dbsa-brown-900: #1A0E0E;
  --dbsa-brown: #402020;
  --dbsa-brown-500: #5A3030;
  --dbsa-brown-100: #F5ECEC;
  --dbsa-gold-700: #C4880F;
  --dbsa-gold-500: #F5A81C;
  --dbsa-gold-100: #FEF3DC;
  --dbsa-sienna: #D34727;
  --dbsa-twilight-grey: #E6E7E8;
  --dbsa-white: #FFFFFF;
  --dbsa-offwhite: #F7F7F7;
  --dbsa-black: #111111;
  --dbsa-dark-grey: #333333;
  --dbsa-mid-grey: #666666;
  --dbsa-light-grey: #E5E5E5;
  --dbsa-border: #E5E5E5;

  /* Legacy aliases for any remaining references */
  --dbsa-blue-900: var(--dbsa-brown-900);
  --dbsa-blue-700: var(--dbsa-brown);
  --dbsa-blue-500: var(--dbsa-brown-500);
  --dbsa-blue-100: var(--dbsa-brown-100);

  /* Semantic Colours */
  --dbsa-success: #1B7A3D;
  --dbsa-warning: #D4A017;
  --dbsa-error: #C62828;
  --dbsa-info: #0277BD;

  /* Typography — DBSA Style Guide V07 */
  --font-heading: 'Montserrat', -apple-system, 'Segoe UI', sans-serif;
  --font-body: Arial, 'Helvetica Neue', sans-serif;

  /* Spacing (8px base) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-1: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-2: 0 2px 8px rgba(0,0,0,0.12);
  --shadow-3: 0 4px 16px rgba(0,0,0,0.16);
  --shadow-4: 0 8px 32px rgba(0,0,0,0.20);

  /* Transitions */
  --transition-instant: 100ms ease-out;
  --transition-fast: 200ms ease-out;
  --transition-normal: 300ms ease-in-out;

  /* Focus */
  --focus-ring: 0 0 0 3px rgba(245, 168, 28, 0.4);

  /* Container */
  --container-max: 1280px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--dbsa-dark-grey);
  background-color: var(--dbsa-white);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--dbsa-blue-700);
  text-decoration: none;
  transition: color var(--transition-instant);
}

a:hover {
  color: var(--dbsa-blue-500);
}

a:focus-visible {
  outline: 2px solid var(--dbsa-gold-500);
  outline-offset: 2px;
  border-radius: 2px;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--dbsa-gold-500);
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dbsa-black);
  line-height: 1.25;
}

.display-xl {
  font-size: 56px;
  font-weight: 600;
  line-height: 1.15;
}

.display-lg {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.2;
}

h1, .h1 { font-size: 36px; font-weight: 600; line-height: 1.25; }
h2, .h2 { font-size: 28px; font-weight: 600; line-height: 1.3; }
h3, .h3 { font-size: 22px; font-weight: 500; line-height: 1.35; }
h4, .h4 { font-size: 18px; font-weight: 500; line-height: 1.4; }
h5, .h5 { font-size: 16px; font-weight: 500; line-height: 1.4; }
h6, .h6 { font-size: 14px; font-weight: 500; line-height: 1.4; }

.body-lg { font-size: 18px; line-height: 1.6; }
.body    { font-size: 16px; line-height: 1.6; }
.body-sm { font-size: 14px; line-height: 1.5; }
.caption { font-size: 12px; line-height: 1.5; color: var(--dbsa-mid-grey); }
.overline {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 80px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--dbsa-gold-500);
  color: var(--dbsa-black);
  padding: 8px 16px;
  font-weight: 600;
  z-index: 9999;
  border-radius: var(--radius-md);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 8px;
}

/* ============================================================
   5. UTILITY BAR
   ============================================================ */
.utility-bar {
  background: var(--dbsa-blue-900);
  color: var(--dbsa-white);
  font-size: 13px;
  height: 36px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1001;
}

.utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.utility-bar__announcement {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
}

.utility-bar__announcement i {
  color: var(--dbsa-gold-500);
}

.utility-bar__controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.utility-bar__controls button,
.utility-bar__controls span {
  background: none;
  border: none;
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  gap: 4px;
}

.utility-bar__controls button:hover,
.utility-bar__controls span:hover {
  color: var(--dbsa-white);
}

/* ============================================================
   6. NAVIGATION
   ============================================================ */
.nav-header {
  background: var(--dbsa-blue-700);
  height: 72px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: box-shadow var(--transition-fast);
}

.nav-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dbsa-white);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.nav-logo__icon {
  width: 44px;
  height: 44px;
  background: var(--dbsa-gold-500);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  color: var(--dbsa-blue-900);
  line-height: 1;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
}

.nav-menu__item {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-menu__link {
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color var(--transition-instant), background var(--transition-instant);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}

.nav-menu__link:hover,
.nav-menu__link.active {
  color: var(--dbsa-white);
  background: rgba(255,255,255,0.08);
  border-bottom-color: var(--dbsa-gold-500);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-search-btn {
  background: none;
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--dbsa-white);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-instant);
}

.nav-search-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--dbsa-white);
  cursor: pointer;
  padding: 8px;
}

/* Mega Menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dbsa-white);
  box-shadow: var(--shadow-3);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  padding: 32px 40px;
  min-width: 680px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-8px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.nav-menu__item:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.mega-menu__section h5 {
  color: var(--dbsa-blue-700);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--dbsa-gold-500);
}

.mega-menu__section a {
  display: block;
  color: var(--dbsa-dark-grey);
  font-size: 14px;
  padding: 6px 0;
  transition: color var(--transition-instant), padding-left var(--transition-instant);
}

.mega-menu__section a:hover {
  color: var(--dbsa-blue-500);
  padding-left: 6px;
}

.mega-menu__featured {
  grid-column: 1 / -1;
  background: var(--dbsa-blue-100);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-menu__featured span {
  font-weight: 600;
  color: var(--dbsa-blue-700);
  font-size: 14px;
}

.mega-menu__featured a {
  color: var(--dbsa-blue-700);
  font-weight: 600;
  font-size: 14px;
}

/* ============================================================
   7. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1A0E0E 0%, #402020 40%, #5A3030 70%, #703838 100%);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26,14,14,0.7) 0%, rgba(64,32,32,0.5) 40%, rgba(90,48,48,0.4) 70%, rgba(112,56,56,0.3) 100%),
    radial-gradient(ellipse at 80% 60%, rgba(245,168,28,0.08) 0%, transparent 50%),
    linear-gradient(180deg, transparent 60%, rgba(26,14,14,0.6) 100%);
}

/* Geometric pattern overlay */
.hero__pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
    linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
    linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
    linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
    linear-gradient(60deg, rgba(255,255,255,0.5) 25%, transparent 25.5%, transparent 75%, rgba(255,255,255,0.5) 75%, rgba(255,255,255,0.5)),
    linear-gradient(60deg, rgba(255,255,255,0.5) 25%, transparent 25.5%, transparent 75%, rgba(255,255,255,0.5) 75%, rgba(255,255,255,0.5));
  background-size: 80px 140px;
  background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--dbsa-white);
  max-width: 680px;
  padding: var(--space-4xl) 0;
}

.hero__overline {
  display: inline-block;
  background: rgba(245, 168, 28, 0.2);
  border: 1px solid rgba(245, 168, 28, 0.4);
  color: var(--dbsa-gold-500);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero__title {
  font-size: 52px;
  font-weight: 600;
  line-height: 1.12;
  color: var(--dbsa-white);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero__subtitle {
  font-size: 19px;
  line-height: 1.65;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.hero__indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero__indicator.active {
  background: var(--dbsa-gold-500);
  transform: scale(1.2);
}

/* Page Hero (Inner pages) */
.page-hero {
  background: var(--dbsa-blue-700);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
    linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff);
  background-size: 60px 104px;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  color: var(--dbsa-white);
  font-size: 40px;
  margin-bottom: 16px;
}

.page-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  max-width: 640px;
  line-height: 1.6;
}

.page-hero .hero__actions {
  margin-top: 28px;
}

/* ============================================================
   8. BREADCRUMBS
   ============================================================ */
.breadcrumb {
  background: var(--dbsa-offwhite);
  border-bottom: 1px solid var(--dbsa-light-grey);
  padding: 12px 0;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.breadcrumb__item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb__item a {
  color: var(--dbsa-mid-grey);
}

.breadcrumb__item a:hover {
  color: var(--dbsa-blue-700);
}

.breadcrumb__separator {
  color: var(--dbsa-light-grey);
  font-size: 12px;
}

.breadcrumb__item:last-child {
  color: var(--dbsa-dark-grey);
  font-weight: 600;
}

/* ============================================================
   9. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-instant);
  text-decoration: none;
  min-width: 140px;
  white-space: nowrap;
  line-height: 1;
}

.btn--primary {
  background: var(--dbsa-blue-700);
  color: var(--dbsa-white);
  border-color: var(--dbsa-blue-700);
}

.btn--primary:hover {
  background: var(--dbsa-blue-500);
  border-color: var(--dbsa-blue-500);
  color: var(--dbsa-white);
}

.btn--secondary {
  background: transparent;
  color: var(--dbsa-blue-700);
  border-color: var(--dbsa-blue-700);
}

.btn--secondary:hover {
  background: var(--dbsa-blue-100);
}

.btn--gold {
  background: var(--dbsa-gold-500);
  color: var(--dbsa-black);
  border-color: var(--dbsa-gold-500);
}

.btn--gold:hover {
  background: var(--dbsa-gold-700);
  border-color: var(--dbsa-gold-700);
  color: var(--dbsa-white);
}

.btn--white {
  background: transparent;
  color: var(--dbsa-white);
  border-color: rgba(255,255,255,0.6);
}

.btn--white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--dbsa-white);
  color: var(--dbsa-white);
}

.btn--ghost {
  background: none;
  border: none;
  color: var(--dbsa-blue-700);
  font-weight: 600;
  padding: 0;
  height: auto;
  min-width: 0;
}

.btn--ghost:hover {
  color: var(--dbsa-blue-500);
  text-decoration: underline;
}

.btn--ghost-white {
  background: none;
  border: none;
  color: var(--dbsa-white);
  font-weight: 600;
  padding: 0;
  height: auto;
  min-width: 0;
}

.btn--ghost-white:hover {
  color: var(--dbsa-gold-500);
}

.btn--sm {
  height: 36px;
  padding: 0 16px;
  font-size: 13px;
  min-width: auto;
}

.btn i {
  width: 16px;
  height: 16px;
}

/* ============================================================
   10. CARDS
   ============================================================ */

/* Standard Card (News, Projects) */
.card {
  background: var(--dbsa-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--transition-fast), transform var(--transition-fast);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  position: relative;
}

.card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: rgba(255,255,255,0.7);
}

.card__image-placeholder--blue {
  background: linear-gradient(135deg, #402020, #5A3030);
}

.card__image-placeholder--green {
  background: linear-gradient(135deg, #1B7A3D, #2d9a52);
}

.card__image-placeholder--gold {
  background: linear-gradient(135deg, #C4880F, #F5A81C);
}

.card__image-placeholder--navy {
  background: linear-gradient(135deg, #1A0E0E, #402020);
}

.card__image-placeholder--teal {
  background: linear-gradient(135deg, #006d6f, #00a3a6);
}

.card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--dbsa-gold-700);
  margin-bottom: 8px;
}

.card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.35;
  color: var(--dbsa-black);
  margin-bottom: 10px;
}

.card__title a {
  color: inherit;
  text-decoration: none;
}

.card__title a:hover {
  color: var(--dbsa-blue-700);
}

.card__excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--dbsa-mid-grey);
  margin-bottom: 16px;
  flex: 1;
}

.card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--dbsa-mid-grey);
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--dbsa-light-grey);
}

.card__link {
  color: var(--dbsa-blue-700);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card__link:hover {
  gap: 8px;
}

/* Stat Card */
.stat-card {
  text-align: center;
  padding: 32px 20px;
}

.stat-card__icon {
  color: var(--dbsa-gold-500);
  margin-bottom: 16px;
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: 44px;
  font-weight: 700;
  color: var(--dbsa-gold-500);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-card__label {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.4;
}

.stat-card__trend {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 8px;
}

/* Persona Card */
.persona-card {
  background: var(--dbsa-white);
  border: 1px solid var(--dbsa-light-grey);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.persona-card:hover {
  border-color: var(--dbsa-blue-700);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
  color: inherit;
}

.persona-card__icon {
  width: 52px;
  height: 52px;
  background: var(--dbsa-blue-100);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dbsa-blue-700);
  font-size: 24px;
}

.persona-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 17px;
  color: var(--dbsa-black);
}

.persona-card__desc {
  font-size: 14px;
  color: var(--dbsa-mid-grey);
  line-height: 1.5;
}

.persona-card__link {
  color: var(--dbsa-blue-700);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Sector Card */
.sector-card {
  background: var(--dbsa-white);
  border: 1px solid var(--dbsa-light-grey);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
  display: block;
}

.sector-card:hover {
  border-color: var(--dbsa-blue-500);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
  color: inherit;
}

.sector-card__icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.sector-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--dbsa-black);
  margin-bottom: 8px;
}

.sector-card__stats {
  font-size: 14px;
  color: var(--dbsa-mid-grey);
  margin-bottom: 4px;
}

.sector-card__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--dbsa-blue-700);
  margin-bottom: 4px;
}

/* Publication Card */
.pub-card {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--dbsa-white);
  border: 1px solid var(--dbsa-light-grey);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.pub-card:hover {
  box-shadow: var(--shadow-2);
  border-color: var(--dbsa-blue-500);
}

.pub-card__cover {
  width: 100px;
  min-height: 130px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.pub-card__cover-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dbsa-brown), var(--dbsa-brown-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 28px;
  min-height: 130px;
}

.pub-card__content {
  flex: 1;
}

.pub-card__type {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dbsa-gold-700);
  margin-bottom: 6px;
}

.pub-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--dbsa-black);
}

.pub-card__meta {
  font-size: 13px;
  color: var(--dbsa-mid-grey);
  margin-bottom: 8px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.pub-card__excerpt {
  font-size: 14px;
  color: var(--dbsa-mid-grey);
  line-height: 1.5;
  margin-bottom: 12px;
}

.pub-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   11. SECTION STYLES
   ============================================================ */
.section {
  padding: var(--space-3xl) 0;
}

.section--white { background: var(--dbsa-white); }
.section--offwhite { background: var(--dbsa-offwhite); }
.section--blue { background: var(--dbsa-blue-700); }
.section--navy { background: var(--dbsa-blue-900); }

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}

.section__header h2 {
  position: relative;
}

.section__header h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--dbsa-gold-500);
  margin-top: 12px;
  border-radius: 2px;
}

.section--blue .section__header h2 {
  color: var(--dbsa-white);
}

.section--blue .section__header a {
  color: var(--dbsa-gold-500);
}

/* ============================================================
   12. GRIDS
   ============================================================ */
.grid {
  display: grid;
  gap: 24px;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.grid--60-40 { grid-template-columns: 3fr 2fr; }
.grid--65-35 { grid-template-columns: 65fr 35fr; }
.grid--50-50 { grid-template-columns: 1fr 1fr; }

/* ============================================================
   13. IMPACT STATS SECTION
   ============================================================ */
.impact-stats {
  background: var(--dbsa-blue-700);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.impact-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,1) 20px, rgba(255,255,255,1) 21px);
}

.impact-stats .container {
  position: relative;
  z-index: 1;
}

.impact-stats__title {
  text-align: center;
  color: var(--dbsa-white);
  margin-bottom: 48px;
}

.impact-stats__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: var(--dbsa-gold-500);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ============================================================
   14. FEATURED PROJECTS SECTION
   ============================================================ */
.map-placeholder {
  background: linear-gradient(135deg, #F5ECEC, #e8d8d8);
  border-radius: var(--radius-lg);
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--dbsa-brown-500);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.map-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 500'%3E%3Cpath d='M200,50 C250,100 350,150 330,250 C310,350 250,400 200,450 C150,400 90,350 70,250 C50,150 150,100 200,50Z' fill='%23402020'/%3E%3C/svg%3E") center/70% no-repeat;
}

.map-placeholder__icon {
  color: var(--dbsa-blue-500);
  margin-bottom: 16px;
  opacity: 0.6;
}

.map-placeholder__text {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--dbsa-blue-700);
  font-size: 16px;
  margin-bottom: 8px;
}

.map-placeholder__sub {
  font-size: 13px;
  color: var(--dbsa-mid-grey);
}

/* Province Dots */
.map-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.map-dot {
  background: var(--dbsa-blue-100);
  border: 1px solid var(--dbsa-blue-500);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--dbsa-blue-700);
}

/* ============================================================
   15. KNOWLEDGE HUB HIGHLIGHTS
   ============================================================ */
.pub-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--dbsa-light-grey);
}

.pub-list-item:last-child {
  border-bottom: none;
}

.pub-list-item__icon {
  color: var(--dbsa-blue-700);
  flex-shrink: 0;
  margin-top: 2px;
}

.pub-list-item__content {
  flex: 1;
}

.pub-list-item__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--dbsa-black);
  margin-bottom: 4px;
}

.pub-list-item__date {
  font-size: 13px;
  color: var(--dbsa-mid-grey);
  margin-bottom: 4px;
}

/* ============================================================
   16. NEWSLETTER CTA
   ============================================================ */
.newsletter {
  background: var(--dbsa-blue-700);
  padding: var(--space-2xl) 0;
}

.newsletter .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.newsletter__text h3 {
  color: var(--dbsa-white);
  font-size: 22px;
  margin-bottom: 4px;
}

.newsletter__text p {
  color: rgba(255,255,255,0.7);
  font-size: 15px;
}

.newsletter__form {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.newsletter__input {
  width: 300px;
  height: 48px;
  padding: 0 16px;
  border: 2px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  color: var(--dbsa-white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color var(--transition-instant);
}

.newsletter__input::placeholder {
  color: rgba(255,255,255,0.45);
}

.newsletter__input:focus {
  border-color: var(--dbsa-gold-500);
  outline: none;
  background: rgba(255,255,255,0.12);
}

/* ============================================================
   17. FOOTER
   ============================================================ */
.footer {
  background: var(--dbsa-blue-900);
  padding: 56px 0 32px;
  color: rgba(255,255,255,0.7);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand {
  max-width: 260px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dbsa-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
  text-decoration: none;
}

.footer__logo-icon {
  width: 38px;
  height: 38px;
  background: var(--dbsa-gold-500);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--dbsa-blue-900);
}

.footer__desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition-instant);
}

.footer__social a:hover {
  background: var(--dbsa-gold-500);
  border-color: var(--dbsa-gold-500);
  color: var(--dbsa-blue-900);
}

.footer__column h5 {
  color: var(--dbsa-white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer__column a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  padding: 4px 0;
  transition: color var(--transition-instant), padding-left var(--transition-instant);
}

.footer__column a:hover {
  color: var(--dbsa-gold-500);
  padding-left: 4px;
}

.footer__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.footer__bottom p {
  opacity: 0.6;
}

.footer__legal {
  font-size: 12px;
  opacity: 0.5;
}

/* ============================================================
   18. FILTERS & SEARCH
   ============================================================ */
.filter-bar {
  background: var(--dbsa-white);
  border-bottom: 1px solid var(--dbsa-light-grey);
  padding: 24px 0;
}

.filter-bar__search {
  position: relative;
  margin-bottom: 20px;
}

.filter-bar__search-input {
  width: 100%;
  height: 52px;
  padding: 0 52px 0 20px;
  border: 2px solid var(--dbsa-light-grey);
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--dbsa-dark-grey);
  transition: border-color var(--transition-instant);
}

.filter-bar__search-input:focus {
  border-color: var(--dbsa-blue-700);
  outline: none;
  box-shadow: 0 0 0 3px var(--dbsa-blue-100);
}

.filter-bar__search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dbsa-mid-grey);
}

.filter-bar__filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-bar__label {
  font-weight: 600;
  font-size: 14px;
  color: var(--dbsa-dark-grey);
}

.filter-select {
  height: 40px;
  padding: 0 36px 0 14px;
  border: 1px solid var(--dbsa-light-grey);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--dbsa-dark-grey);
  background: var(--dbsa-white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.filter-select:focus {
  border-color: var(--dbsa-blue-700);
  outline: none;
  box-shadow: 0 0 0 3px var(--dbsa-blue-100);
}

.filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--dbsa-blue-100);
  color: var(--dbsa-blue-700);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
}

.filter-tag__remove {
  cursor: pointer;
  opacity: 0.7;
  font-size: 11px;
}

/* ============================================================
   19. TABS
   ============================================================ */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--dbsa-light-grey);
  overflow-x: auto;
}

.tab {
  padding: 14px 24px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: var(--dbsa-mid-grey);
  border: none;
  background: none;
  cursor: pointer;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition-instant);
}

.tab:hover {
  color: var(--dbsa-blue-700);
}

.tab.active {
  color: var(--dbsa-blue-700);
  border-bottom-color: var(--dbsa-gold-500);
  font-weight: 600;
}

/* ============================================================
   20. PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 40px;
}

.pagination__btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--dbsa-light-grey);
  background: var(--dbsa-white);
  color: var(--dbsa-dark-grey);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-instant);
}

.pagination__btn:hover {
  border-color: var(--dbsa-blue-700);
  color: var(--dbsa-blue-700);
}

.pagination__btn.active {
  background: var(--dbsa-blue-700);
  color: var(--dbsa-white);
  border-color: var(--dbsa-blue-700);
}

.pagination__btn--nav {
  width: auto;
  padding: 0 14px;
  font-size: 13px;
}

/* ============================================================
   21. TIMELINE
   ============================================================ */
.timeline {
  position: relative;
  padding: 32px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--dbsa-light-grey);
  transform: translateX(-50%);
}

.timeline__item {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
  align-items: flex-start;
}

.timeline__item:nth-child(odd) {
  flex-direction: row;
}

.timeline__item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline__dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: var(--dbsa-gold-500);
  border: 4px solid var(--dbsa-white);
  border-radius: 50%;
  z-index: 2;
  box-shadow: var(--shadow-1);
}

.timeline__content {
  width: calc(50% - 40px);
  background: var(--dbsa-white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
}

.timeline__year {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--dbsa-blue-700);
  margin-bottom: 8px;
}

.timeline__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 8px;
}

.timeline__desc {
  font-size: 14px;
  color: var(--dbsa-mid-grey);
  line-height: 1.55;
}

/* ============================================================
   22. SIDEBAR LAYOUT
   ============================================================ */
.content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar__section {
  background: var(--dbsa-white);
  border: 1px solid var(--dbsa-light-grey);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar__section h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dbsa-blue-700);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--dbsa-gold-500);
}

.sidebar__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--dbsa-light-grey);
  font-size: 14px;
}

.sidebar__item:last-child {
  border-bottom: none;
}

.sidebar__item-label {
  color: var(--dbsa-mid-grey);
}

.sidebar__item-value {
  font-weight: 600;
  color: var(--dbsa-dark-grey);
}

/* ============================================================
   23. PRESS RELEASE LIST
   ============================================================ */
.press-item {
  padding: 28px;
  border: 1px solid var(--dbsa-light-grey);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  transition: all var(--transition-fast);
  background: var(--dbsa-white);
}

.press-item:hover {
  box-shadow: var(--shadow-2);
  border-color: var(--dbsa-blue-500);
}

.press-item__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.press-item__type {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dbsa-gold-700);
  background: var(--dbsa-gold-100);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.press-item__date {
  font-size: 13px;
  color: var(--dbsa-mid-grey);
}

.press-item__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 18px;
  color: var(--dbsa-black);
  margin-bottom: 10px;
  line-height: 1.35;
}

.press-item__title a {
  color: inherit;
  text-decoration: none;
}

.press-item__title a:hover {
  color: var(--dbsa-blue-700);
}

.press-item__excerpt {
  font-size: 15px;
  color: var(--dbsa-mid-grey);
  line-height: 1.55;
  margin-bottom: 16px;
}

.press-item__actions {
  display: flex;
  gap: 16px;
}

/* ============================================================
   24. SUCCESS STORY / FEATURED BLOCK
   ============================================================ */
.featured-story {
  background: var(--dbsa-blue-700);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.featured-story .container {
  position: relative;
  z-index: 1;
}

.featured-story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.featured-story__image {
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.featured-story__image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #5A3030, #703838);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 48px;
}

.featured-story__content {
  color: var(--dbsa-white);
}

.featured-story__overline {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dbsa-gold-500);
  margin-bottom: 16px;
}

.featured-story__title {
  color: var(--dbsa-white);
  font-size: 28px;
  margin-bottom: 20px;
}

.featured-story__quote {
  font-size: 18px;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-bottom: 8px;
  padding-left: 20px;
  border-left: 3px solid var(--dbsa-gold-500);
}

.featured-story__attribution {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  margin-bottom: 28px;
  padding-left: 20px;
}

/* ============================================================
   25. CATEGORY CARDS
   ============================================================ */
.category-card {
  background: var(--dbsa-white);
  border: 1px solid var(--dbsa-light-grey);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
  display: block;
}

.category-card:hover {
  border-color: var(--dbsa-blue-500);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
  color: inherit;
}

.category-card__icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.category-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--dbsa-black);
  margin-bottom: 6px;
}

.category-card__count {
  font-size: 14px;
  color: var(--dbsa-mid-grey);
  margin-bottom: 12px;
}

/* ============================================================
   26. INSIGHTS SECTION
   ============================================================ */
.insights-section {
  background: #F5F0F0;
  padding: var(--space-2xl) 0;
}

.insights-card {
  background: var(--dbsa-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-1);
}

.insights-card__header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--dbsa-blue-700);
}

.insights-card__list {
  list-style: none;
}

.insights-card__list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--dbsa-light-grey);
  font-size: 14px;
  color: var(--dbsa-dark-grey);
  display: flex;
  align-items: center;
  gap: 8px;
}

.insights-card__list li:last-child {
  border-bottom: none;
}

.insights-card__list li .number {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dbsa-gold-500);
  font-size: 14px;
  width: 24px;
}

/* ============================================================
   27. MEDIA HERO
   ============================================================ */
.media-hero {
  background: var(--dbsa-blue-700);
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.media-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
    linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff);
  background-size: 60px 104px;
}

.media-hero .container {
  position: relative;
  z-index: 1;
}

.media-hero__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}

.media-hero__featured {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.media-hero__featured-image {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #2A1515, #5A3030);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 48px;
}

.media-hero__featured-body {
  padding: 24px;
}

.media-hero__featured-tag {
  display: inline-block;
  background: rgba(245,168,28,0.2);
  color: var(--dbsa-gold-500);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.media-hero__featured-title {
  color: var(--dbsa-white);
  font-size: 22px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.media-hero__featured-date {
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  margin-bottom: 16px;
}

.media-hero__sidebar h3 {
  color: var(--dbsa-white);
  font-size: 18px;
  margin-bottom: 20px;
}

.media-hero__sidebar h3::after {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--dbsa-gold-500);
  margin-top: 10px;
}

.media-sidebar-item {
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition-instant);
}

.media-sidebar-item:hover {
  background: rgba(255,255,255,0.04);
}

.media-sidebar-item:last-child {
  border-bottom: none;
}

.media-sidebar-item__tag {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dbsa-gold-500);
  margin-bottom: 6px;
}

.media-sidebar-item__title {
  color: var(--dbsa-white);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  margin-bottom: 6px;
  line-height: 1.35;
}

.media-sidebar-item__title a {
  color: inherit;
  text-decoration: none;
}

.media-sidebar-item__title a:hover {
  color: var(--dbsa-gold-500);
}

.media-sidebar-item__date {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* ============================================================
   28. CONTACT SIDEBAR
   ============================================================ */
.contact-sidebar {
  background: var(--dbsa-blue-100);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-sidebar h4 {
  color: var(--dbsa-blue-700);
  font-size: 16px;
  margin-bottom: 20px;
}

.contact-sidebar__item {
  margin-bottom: 16px;
}

.contact-sidebar__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dbsa-mid-grey);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-sidebar__value {
  font-size: 15px;
  color: var(--dbsa-dark-grey);
  font-weight: 500;
}

.contact-sidebar__value a {
  color: var(--dbsa-blue-700);
  font-weight: 600;
}

/* ============================================================
   29. PROJECT DETAIL
   ============================================================ */
.project-hero {
  background: var(--dbsa-blue-700);
  padding: 48px 0 56px;
  position: relative;
  overflow: hidden;
}

.project-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
    linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff);
  background-size: 60px 104px;
}

.project-hero .container {
  position: relative;
  z-index: 1;
}

.project-hero__tags {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.project-hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.project-hero__tag--gold {
  background: rgba(245,168,28,0.25);
  color: var(--dbsa-gold-500);
}

.project-hero h1 {
  color: var(--dbsa-white);
  font-size: 36px;
  margin-bottom: 12px;
}

.project-hero p {
  color: rgba(255,255,255,0.8);
  font-size: 18px;
  max-width: 680px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.project-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.project-stat {
  text-align: center;
  padding: 20px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
}

.project-stat__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  color: var(--dbsa-gold-500);
  margin-bottom: 4px;
}

.project-stat__label {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}

/* Project Timeline */
.project-timeline {
  padding: 24px 0;
}

.project-timeline__item {
  display: flex;
  gap: 16px;
  padding: 12px 0;
  position: relative;
}

.project-timeline__item::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 32px;
  bottom: -12px;
  width: 2px;
  background: var(--dbsa-light-grey);
}

.project-timeline__item:last-child::before {
  display: none;
}

.project-timeline__dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--dbsa-blue-700);
  border: 3px solid var(--dbsa-white);
  box-shadow: 0 0 0 2px var(--dbsa-blue-700);
  flex-shrink: 0;
  margin-top: 2px;
}

.project-timeline__dot--current {
  background: var(--dbsa-gold-500);
  box-shadow: 0 0 0 2px var(--dbsa-gold-500);
}

.project-timeline__dot--future {
  background: var(--dbsa-light-grey);
  box-shadow: 0 0 0 2px var(--dbsa-light-grey);
}

.project-timeline__year {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--dbsa-blue-700);
  font-size: 15px;
}

.project-timeline__label {
  font-size: 14px;
  color: var(--dbsa-mid-grey);
}

/* ============================================================
   30. PUBLICATION DETAIL
   ============================================================ */
.pub-header {
  background: var(--dbsa-blue-700);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.pub-header::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image:
    linear-gradient(30deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff),
    linear-gradient(150deg, #fff 12%, transparent 12.5%, transparent 87%, #fff 87.5%, #fff);
  background-size: 60px 104px;
}

.pub-header .container {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.pub-header__cover {
  width: 200px;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-3);
}

.pub-header__cover-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dbsa-brown-900), var(--dbsa-brown-500));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  gap: 8px;
  padding: 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.pub-header__info {
  flex: 1;
}

.pub-header__type {
  display: inline-block;
  background: rgba(245,168,28,0.2);
  color: var(--dbsa-gold-500);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.pub-header__title {
  color: var(--dbsa-white);
  font-size: 32px;
  margin-bottom: 8px;
}

.pub-header__author {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  margin-bottom: 20px;
}

.pub-header__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
}

.pub-header__meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pub-action-bar {
  background: var(--dbsa-white);
  border-bottom: 1px solid var(--dbsa-light-grey);
  padding: 16px 0;
  position: sticky;
  top: 72px;
  z-index: 50;
  box-shadow: var(--shadow-1);
}

.pub-action-bar .container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.pub-action-bar__secondary {
  margin-left: auto;
  font-size: 14px;
  color: var(--dbsa-mid-grey);
  display: flex;
  gap: 16px;
}

.pub-action-bar__secondary a {
  color: var(--dbsa-blue-700);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* TOC Sidebar */
.toc {
  border: 1px solid var(--dbsa-light-grey);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 140px;
}

.toc h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dbsa-blue-700);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--dbsa-gold-500);
}

.toc__list a {
  display: block;
  color: var(--dbsa-mid-grey);
  font-size: 14px;
  padding: 6px 0 6px 12px;
  border-left: 2px solid transparent;
  transition: all var(--transition-instant);
}

.toc__list a:hover,
.toc__list a.active {
  color: var(--dbsa-blue-700);
  border-left-color: var(--dbsa-gold-500);
  font-weight: 600;
}

/* ============================================================
   31. KEY FACTS BAR
   ============================================================ */
.key-facts {
  background: var(--dbsa-offwhite);
  padding: 40px 0;
  border-top: 1px solid var(--dbsa-light-grey);
  border-bottom: 1px solid var(--dbsa-light-grey);
}

.key-facts__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.key-fact {
  text-align: center;
  padding: 16px;
}

.key-fact__value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  color: var(--dbsa-blue-700);
  margin-bottom: 4px;
}

.key-fact__label {
  font-size: 13px;
  color: var(--dbsa-mid-grey);
}

/* ============================================================
   32. STRATEGY PILLARS
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.pillar {
  background: var(--dbsa-white);
  border: 2px solid var(--dbsa-light-grey);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.pillar:hover {
  border-color: var(--dbsa-blue-500);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.pillar__number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  color: var(--dbsa-gold-500);
  margin-bottom: 8px;
}

.pillar__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--dbsa-black);
  line-height: 1.4;
}

/* ============================================================
   33. LEADER CARDS
   ============================================================ */
.leader-card {
  text-align: center;
  background: var(--dbsa-white);
  border: 1px solid var(--dbsa-light-grey);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  transition: all var(--transition-fast);
}

.leader-card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

.leader-card__photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
}

.leader-card__photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--dbsa-brown-100), #e8d8d8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dbsa-blue-500);
  font-size: 36px;
}

.leader-card__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--dbsa-black);
  margin-bottom: 4px;
}

.leader-card__title {
  font-size: 14px;
  color: var(--dbsa-mid-grey);
  margin-bottom: 12px;
}

/* ============================================================
   34. VALUE CHAIN
   ============================================================ */
.value-chain {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 0;
}

.value-chain__step {
  flex: 1;
  min-width: 160px;
  text-align: center;
  position: relative;
}

.value-chain__box {
  background: var(--dbsa-blue-100);
  border: 2px solid var(--dbsa-blue-700);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  margin-bottom: 12px;
  transition: all var(--transition-fast);
}

.value-chain__step:hover .value-chain__box {
  background: var(--dbsa-blue-700);
  color: var(--dbsa-white);
}

.value-chain__step:hover .value-chain__title {
  color: var(--dbsa-white);
}

.value-chain__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--dbsa-blue-700);
  margin-bottom: 8px;
}

.value-chain__desc {
  font-size: 13px;
  color: var(--dbsa-mid-grey);
  line-height: 1.4;
}

.value-chain__arrow {
  position: absolute;
  right: -16px;
  top: 40px;
  color: var(--dbsa-gold-500);
  font-size: 20px;
  font-weight: 700;
  z-index: 1;
}

.value-chain__metric {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--dbsa-blue-700);
  margin-bottom: 2px;
}

.value-chain__metric-label {
  font-size: 12px;
  color: var(--dbsa-mid-grey);
}

/* ============================================================
   35. MEDIA SIDEBAR / CONTACT
   ============================================================ */
.media-contact {
  background: var(--dbsa-blue-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 24px;
}

.media-contact h4 {
  color: var(--dbsa-blue-700);
  font-size: 16px;
  margin-bottom: 16px;
}

.media-contact__person {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(64,32,32,0.1);
}

.media-contact__person:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.media-contact__name {
  font-weight: 600;
  color: var(--dbsa-dark-grey);
  margin-bottom: 2px;
}

.media-contact__role {
  font-size: 13px;
  color: var(--dbsa-mid-grey);
  margin-bottom: 6px;
}

.media-contact__info {
  font-size: 14px;
  color: var(--dbsa-blue-700);
  font-weight: 500;
}

/* ============================================================
   36. MOBILE NAV OVERLAY
   ============================================================ */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dbsa-blue-900);
  z-index: 2000;
  padding: 72px 24px 24px;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--dbsa-white);
  cursor: pointer;
  padding: 8px;
}

.mobile-nav a {
  display: block;
  color: var(--dbsa-white);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.mobile-nav a:hover {
  color: var(--dbsa-gold-500);
}

/* ============================================================
   37. RESPONSIVE STYLES
   ============================================================ */

/* Tablet (768px) */
@media (max-width: 991px) {
  .container {
    padding: 0 24px;
  }

  .display-xl, .hero__title {
    font-size: 36px;
  }

  .display-lg { font-size: 36px; }
  h1, .h1 { font-size: 30px; }
  h2, .h2 { font-size: 26px; }

  .hero { min-height: 480px; }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }

  .grid--60-40,
  .grid--65-35,
  .grid--50-50 {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .newsletter .container {
    flex-direction: column;
    text-align: center;
  }

  .newsletter__form {
    width: 100%;
    justify-content: center;
  }

  .stat-card__number {
    font-size: 36px;
  }

  .key-facts__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }

  .timeline::before {
    left: 20px;
  }

  .timeline__item,
  .timeline__item:nth-child(even) {
    flex-direction: column;
    padding-left: 52px;
  }

  .timeline__dot {
    left: 20px;
    transform: none;
  }

  .timeline__content {
    width: 100%;
  }

  .featured-story__grid {
    grid-template-columns: 1fr;
  }

  .media-hero__grid {
    grid-template-columns: 1fr;
  }

  .project-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .pub-header .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .pub-header__meta {
    justify-content: center;
  }

  .value-chain {
    flex-direction: column;
    align-items: stretch;
  }

  .value-chain__arrow {
    display: none;
  }

  .mega-menu {
    display: none !important;
  }
}

/* Mobile (575px and below) */
@media (max-width: 575px) {
  .container {
    padding: 0 16px;
  }

  .display-xl, .hero__title {
    font-size: 28px;
  }

  .display-lg { font-size: 28px; }
  h1, .h1 { font-size: 24px; }
  h2, .h2 { font-size: 22px; }
  h3, .h3 { font-size: 18px; }

  .hero {
    min-height: 420px;
  }

  .hero__content {
    padding: var(--space-3xl) 0;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .section {
    padding: var(--space-2xl) 0;
  }

  .section__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-header {
    height: 56px;
  }

  .nav-menu {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .utility-bar {
    font-size: 11px;
  }

  .utility-bar__controls {
    display: none;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .grid--5 {
    grid-template-columns: 1fr;
  }

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

  .key-facts__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-bar__filters {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-select {
    width: 100%;
  }

  .newsletter__form {
    flex-direction: column;
    width: 100%;
  }

  .newsletter__input {
    width: 100%;
  }

  .project-stats {
    grid-template-columns: 1fr 1fr;
  }

  .project-stat__value {
    font-size: 22px;
  }

  .stat-card__number {
    font-size: 30px;
  }

  .pub-card {
    flex-direction: column;
  }

  .pub-card__cover {
    width: 100%;
    min-height: 160px;
  }

  .pub-action-bar .container {
    flex-direction: column;
    align-items: stretch;
  }

  .pub-action-bar__secondary {
    margin-left: 0;
    margin-top: 12px;
  }

  .page-hero h1 {
    font-size: 28px;
  }

  .tabs {
    gap: 0;
    -webkit-overflow-scrolling: touch;
  }

  .tab {
    padding: 12px 16px;
    font-size: 14px;
  }

  .pagination__btn {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .press-item {
    padding: 20px;
  }

  .press-item__title {
    font-size: 16px;
  }

  .press-item__actions {
    flex-wrap: wrap;
  }
}

/* ============================================================
   38. UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-white { color: var(--dbsa-white); }
.text-gold { color: var(--dbsa-gold-500); }
.text-blue { color: var(--dbsa-brown); }
.text-brown { color: var(--dbsa-brown); }
.text-sienna { color: var(--dbsa-sienna); }
.text-grey { color: var(--dbsa-mid-grey); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.gap-sm { gap: 8px; }
.gap-md { gap: 16px; }
.gap-lg { gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }

/* Print styles */
@media print {
  .utility-bar, .nav-header, .newsletter, .footer, .hero__indicators {
    display: none !important;
  }

  .hero {
    min-height: auto;
    padding: 24px 0;
  }

  body {
    font-size: 12pt;
  }
}

/* ============================================================
   39. AI CHATBOT WIDGET
   ============================================================ */
.chatbot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  font-family: var(--font-body);
}

.chatbot__fab {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--dbsa-gold-500);
  color: var(--dbsa-brown-900);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(245,168,28,0.4);
  transition: all 0.3s ease;
  position: relative;
}

.chatbot__fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(245,168,28,0.5);
}

.chatbot__fab--hidden {
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
}

.chatbot__fab-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--dbsa-gold-500);
  animation: chatbot-pulse 2s ease-out infinite;
}

@keyframes chatbot-pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}

.chatbot__panel {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 380px;
  max-height: 560px;
  background: var(--dbsa-white);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.8) translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: bottom right;
}

.chatbot__panel--open {
  transform: scale(1) translateY(0);
  opacity: 1;
  pointer-events: all;
}

.chatbot__header {
  background: var(--dbsa-brown);
  color: var(--dbsa-white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.chatbot__header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot__avatar {
  width: 36px;
  height: 36px;
  background: var(--dbsa-gold-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dbsa-brown-900);
}

.chatbot__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--dbsa-white);
}

.chatbot__status {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 5px;
}

.chatbot__status-dot {
  width: 7px;
  height: 7px;
  background: #4ADE80;
  border-radius: 50%;
  display: inline-block;
}

.chatbot__close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.15s;
}

.chatbot__close:hover {
  color: var(--dbsa-white);
  background: rgba(255,255,255,0.1);
}

.chatbot__messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 200px;
  max-height: 320px;
  background: #f9f9f9;
}

.chatbot__msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.chatbot__msg--user {
  flex-direction: row-reverse;
}

.chatbot__msg--animate {
  animation: chatMsg 0.3s ease-out;
}

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

.chatbot__msg-avatar {
  width: 28px;
  height: 28px;
  background: var(--dbsa-gold-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--dbsa-brown-900);
  flex-shrink: 0;
}

.chatbot__msg-bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.5;
}

.chatbot__msg--bot .chatbot__msg-bubble {
  background: var(--dbsa-white);
  color: var(--dbsa-dark-grey);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.chatbot__msg--user .chatbot__msg-bubble {
  background: var(--dbsa-brown);
  color: var(--dbsa-white);
  border-bottom-right-radius: 4px;
}

.chatbot__msg-time {
  display: block;
  font-size: 10px;
  opacity: 0.5;
  margin-top: 4px;
}

.chatbot__dots {
  display: flex;
  gap: 5px;
  padding: 4px 0;
}

.chatbot__dots span {
  width: 7px;
  height: 7px;
  background: var(--dbsa-gold-500);
  border-radius: 50%;
  animation: dotBounce 1.4s infinite ease-in-out both;
}

.chatbot__dots span:nth-child(2) { animation-delay: 0.16s; }
.chatbot__dots span:nth-child(3) { animation-delay: 0.32s; }

@keyframes dotBounce {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}

.chatbot__quick {
  padding: 12px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid var(--dbsa-light-grey);
  background: var(--dbsa-white);
}

.chatbot__quick-btn {
  background: var(--dbsa-brown-100);
  border: 1px solid rgba(64,32,32,0.1);
  color: var(--dbsa-brown);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font-body);
}

.chatbot__quick-btn:hover {
  background: var(--dbsa-gold-100);
  border-color: var(--dbsa-gold-500);
  color: var(--dbsa-brown-900);
}

.chatbot__input {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  border-top: 1px solid var(--dbsa-light-grey);
  background: var(--dbsa-white);
}

.chatbot__input input {
  flex: 1;
  border: 1px solid var(--dbsa-light-grey);
  border-radius: 24px;
  padding: 10px 16px;
  font-size: 13.5px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.15s;
}

.chatbot__input input:focus {
  border-color: var(--dbsa-gold-500);
}

.chatbot__input button[type="submit"] {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--dbsa-gold-500);
  border: none;
  color: var(--dbsa-brown-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  flex-shrink: 0;
}

.chatbot__input button[type="submit"]:hover {
  background: var(--dbsa-gold-700);
}

@media (max-width: 480px) {
  .chatbot__panel {
    width: calc(100vw - 32px);
    max-height: 70vh;
    bottom: 70px;
    right: -8px;
  }
}

/* ============================================================
   40. SCROLL REVEAL ANIMATIONS
   ============================================================ */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   41. INTERACTIVE SA MAP
   ============================================================ */
.sa-map {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.sa-map svg {
  width: 100%;
  height: auto;
  filter: url(#map-shadow);
}

.sa-map__province {
  fill: var(--dbsa-brown-100);
  stroke: var(--dbsa-white);
  stroke-width: 2;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sa-map__province--high {
  fill: rgba(245, 168, 28, 0.35);
}

.sa-map__province--med {
  fill: rgba(245, 168, 28, 0.2);
}

.sa-map__province--low {
  fill: var(--dbsa-brown-100);
}

.sa-map__province:hover {
  fill: var(--dbsa-gold-500) !important;
  stroke: var(--dbsa-brown);
  stroke-width: 2.5;
  filter: drop-shadow(0 2px 6px rgba(245,168,28,0.4));
}

.sa-map__province--selected {
  fill: var(--dbsa-gold-700) !important;
  stroke: var(--dbsa-brown-900);
  stroke-width: 3;
}

.sa-map__label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  fill: var(--dbsa-brown);
  text-anchor: middle;
  pointer-events: none;
  opacity: 0.7;
}

.sa-map__label--sm {
  font-size: 11px;
}

.sa-map__tooltip {
  position: absolute;
  background: var(--dbsa-brown-900);
  color: var(--dbsa-white);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.4;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.15s ease;
  white-space: nowrap;
  z-index: 10;
}

.sa-map__tooltip--visible {
  opacity: 1;
  transform: translateY(0);
}

.sa-map__legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--dbsa-mid-grey);
}

.sa-map__legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sa-map__legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.sa-map__legend-dot--high { background: rgba(245, 168, 28, 0.5); }
.sa-map__legend-dot--med  { background: rgba(245, 168, 28, 0.25); }
.sa-map__legend-dot--low  { background: var(--dbsa-brown-100); }

/* ============================================================
   42. ACCESSIBILITY TOOLBAR
   ============================================================ */
.a11y-toolbar {
  position: fixed;
  top: 120px;
  right: 20px;
  z-index: 8000;
}

.a11y-toolbar__trigger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dbsa-brown);
  color: var(--dbsa-white);
  border: 2px solid rgba(255,255,255,0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-2);
  transition: all 0.2s;
}

.a11y-toolbar__trigger:hover {
  background: var(--dbsa-brown-500);
  transform: scale(1.05);
}

.a11y-toolbar__panel {
  position: absolute;
  top: 0;
  right: 52px;
  width: 280px;
  background: var(--dbsa-white);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.25s ease;
}

.a11y-toolbar__panel--open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.a11y-toolbar__title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: var(--dbsa-brown);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--dbsa-gold-500);
}

.a11y-toolbar__group {
  margin-bottom: 14px;
}

.a11y-toolbar__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dbsa-dark-grey);
  margin-bottom: 8px;
}

.a11y-toolbar__btns {
  display: flex;
  gap: 6px;
}

.a11y-toolbar__btn {
  flex: 1;
  height: 36px;
  border: 1px solid var(--dbsa-light-grey);
  border-radius: 6px;
  background: var(--dbsa-offwhite);
  color: var(--dbsa-dark-grey);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
}

.a11y-toolbar__btn:hover {
  background: var(--dbsa-gold-100);
  border-color: var(--dbsa-gold-500);
  color: var(--dbsa-brown);
}

.a11y-toolbar__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 13px;
  color: var(--dbsa-dark-grey);
}

.a11y-toolbar__toggle input {
  display: none;
}

.a11y-toolbar__switch {
  width: 40px;
  height: 22px;
  background: var(--dbsa-light-grey);
  border-radius: 11px;
  position: relative;
  transition: background 0.2s;
  flex-shrink: 0;
}

.a11y-toolbar__switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: var(--dbsa-white);
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.a11y-toolbar__toggle input:checked + .a11y-toolbar__switch {
  background: var(--dbsa-gold-500);
}

.a11y-toolbar__toggle input:checked + .a11y-toolbar__switch::after {
  transform: translateX(18px);
}

.a11y-toolbar__reset {
  width: 100%;
  height: 36px;
  background: none;
  border: 1px solid var(--dbsa-light-grey);
  border-radius: 6px;
  color: var(--dbsa-mid-grey);
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.15s;
  margin-top: 4px;
}

.a11y-toolbar__reset:hover {
  border-color: var(--dbsa-sienna);
  color: var(--dbsa-sienna);
}

/* A11y Body Classes */
body.a11y-high-contrast {
  filter: contrast(1.4);
}

body.a11y-dyslexia-font,
body.a11y-dyslexia-font * {
  font-family: 'Comic Sans MS', 'OpenDyslexic', cursive, sans-serif !important;
  letter-spacing: 0.05em;
  word-spacing: 0.1em;
}

body.a11y-reduced-motion *,
body.a11y-reduced-motion *::before,
body.a11y-reduced-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

/* ============================================================
   43. AI SEARCH OVERLAY
   ============================================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10vh;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.search-overlay--open {
  opacity: 1;
  visibility: visible;
}

.search-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 14, 14, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.search-overlay__content {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 20px;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.search-overlay--open .search-overlay__content {
  transform: translateY(0);
}

.search-overlay__close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 8px;
  transition: color 0.15s;
}

.search-overlay__close:hover {
  color: var(--dbsa-white);
}

.search-overlay__header {
  display: flex;
  align-items: center;
  background: var(--dbsa-white);
  border-radius: 16px;
  padding: 8px 20px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  gap: 12px;
}

.search-overlay__icon {
  color: var(--dbsa-gold-500);
  flex-shrink: 0;
}

.search-overlay__input {
  flex: 1;
  border: none;
  background: none;
  font-size: 18px;
  font-family: var(--font-body);
  color: var(--dbsa-dark-grey);
  outline: none;
  padding: 12px 0;
}

.search-overlay__input::placeholder {
  color: var(--dbsa-mid-grey);
}

.search-overlay__kbd {
  background: var(--dbsa-offwhite);
  border: 1px solid var(--dbsa-light-grey);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 11px;
  font-family: var(--font-body);
  color: var(--dbsa-mid-grey);
  flex-shrink: 0;
}

.search-overlay__popular {
  margin-top: 24px;
  text-align: center;
}

.search-overlay__popular-label {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.search-overlay__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.search-overlay__chip {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
  padding: 8px 16px;
  border-radius: 24px;
  font-size: 14px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.15s;
}

.search-overlay__chip:hover {
  background: var(--dbsa-gold-500);
  border-color: var(--dbsa-gold-500);
  color: var(--dbsa-brown-900);
}

.search-overlay__results {
  margin-top: 16px;
  max-height: 50vh;
  overflow-y: auto;
}

.search-overlay__results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
}

.search-overlay__ai-badge {
  background: rgba(245,168,28,0.15);
  color: var(--dbsa-gold-500);
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

.search-overlay__result {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.15s;
  gap: 16px;
}

.search-overlay__result:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(245,168,28,0.3);
}

.search-overlay__result-main {
  flex: 1;
}

.search-overlay__result-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dbsa-gold-500);
  margin-bottom: 4px;
}

.search-overlay__result-title {
  color: var(--dbsa-white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.search-overlay__result-snippet {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 1.5;
}

.search-overlay__result mark {
  background: rgba(245,168,28,0.3);
  color: var(--dbsa-gold-500);
  padding: 0 2px;
  border-radius: 2px;
}

.search-overlay__result-score {
  text-align: center;
  flex-shrink: 0;
  width: 60px;
}

.search-overlay__score-bar {
  width: 100%;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}

.search-overlay__score-fill {
  height: 100%;
  background: var(--dbsa-gold-500);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.search-overlay__result-score span {
  font-size: 12px;
  font-weight: 700;
  color: var(--dbsa-gold-500);
  font-family: var(--font-heading);
}

/* ============================================================
   44. STICKY NAV ENHANCEMENT
   ============================================================ */
.nav-header--scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  background: rgba(64, 32, 32, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ============================================================
   45. NEWSLETTER VALIDATION STATES
   ============================================================ */
.newsletter__input--error {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.08) !important;
}

.newsletter__input--shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 50%, 90% { transform: translateX(-6px); }
  30%, 70% { transform: translateX(6px); }
}

.newsletter__message {
  font-size: 13px;
  margin-top: 8px;
  font-weight: 500;
}

.newsletter__message--error {
  color: #fca5a5;
}

.newsletter__success {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--dbsa-gold-500);
  font-weight: 600;
  font-size: 16px;
  padding: 8px 0;
  animation: fadeInUp 0.4s ease-out;
}

.newsletter__success svg {
  color: #4ADE80;
}

.newsletter__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: var(--dbsa-brown-900);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}

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

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

/* ============================================================
   46. DARK MODE
   ============================================================ */
.dark-mode-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0;
}

.dark-mode-toggle:hover {
  border-color: var(--dbsa-gold-500);
  color: var(--dbsa-gold-500);
}

.dark-mode-toggle__moon { display: none; }
body.dark-mode .dark-mode-toggle__sun { display: none; }
body.dark-mode .dark-mode-toggle__moon { display: block; }

body.dark-mode {
  --dbsa-white: #1a1a1a;
  --dbsa-offwhite: #222;
  --dbsa-black: #f0f0f0;
  --dbsa-dark-grey: #e0e0e0;
  --dbsa-mid-grey: #aaa;
  --dbsa-light-grey: #333;
  --dbsa-border: #333;
  --dbsa-brown-100: #2a1a1a;
  color: #e0e0e0;
  background: #111;
}

body.dark-mode .card,
body.dark-mode .persona-card,
body.dark-mode .sector-card,
body.dark-mode .pub-card,
body.dark-mode .press-item,
body.dark-mode .category-card,
body.dark-mode .leader-card,
body.dark-mode .pillar,
body.dark-mode .sidebar__section,
body.dark-mode .insights-card,
body.dark-mode .filter-bar,
body.dark-mode .pub-action-bar,
body.dark-mode .toc {
  background: #1e1e1e;
  border-color: #333;
}

body.dark-mode .breadcrumb {
  background: #1a1a1a;
  border-color: #333;
}

body.dark-mode .section--white {
  background: #111;
}

body.dark-mode .section--offwhite {
  background: #191919;
}

body.dark-mode .chatbot__panel {
  background: #1e1e1e;
}

body.dark-mode .chatbot__messages {
  background: #151515;
}

body.dark-mode .chatbot__msg--bot .chatbot__msg-bubble {
  background: #252525;
  color: #e0e0e0;
}

body.dark-mode .chatbot__input {
  background: #1e1e1e;
  border-color: #333;
}

body.dark-mode .chatbot__input input {
  background: #252525;
  color: #e0e0e0;
  border-color: #333;
}

body.dark-mode .chatbot__quick {
  background: #1e1e1e;
  border-color: #333;
}

body.dark-mode .search-overlay__header {
  background: #1e1e1e;
}

body.dark-mode .search-overlay__input {
  color: #e0e0e0;
}

body.dark-mode .a11y-toolbar__panel {
  background: #1e1e1e;
  color: #e0e0e0;
}

body.dark-mode .a11y-toolbar__title {
  color: var(--dbsa-gold-500);
}

body.dark-mode .a11y-toolbar__btn {
  background: #252525;
  border-color: #333;
  color: #ccc;
}

body.dark-mode .map-placeholder {
  background: linear-gradient(135deg, #1e1e1e, #252525) !important;
}

body.dark-mode .key-facts {
  background: #191919;
  border-color: #333;
}

body.dark-mode .footer {
  background: #0a0a0a;
}

body.dark-mode .newsletter {
  background: #1a0e0e;
}

/* ============================================================
   47. REDUCED MOTION OVERRIDES
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .chatbot__fab-pulse,
  .chatbot__dots span {
    animation: none;
  }

  .chatbot__panel {
    transition: opacity 0.01ms;
  }

  .chatbot__msg--animate {
    animation: none;
  }

  .newsletter__input--shake {
    animation: none;
  }

  .scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   100. CMS ADMIN PANEL
   ============================================================ */

/* --- CMS Body --- */
.cms-body {
  background: #F4F5F7;
  min-height: 100vh;
}

/* --- CMS Top Bar --- */
.cms-topbar {
  background: var(--dbsa-brown);
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.cms-topbar__left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cms-topbar__right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cms-topbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--dbsa-white);
}

.cms-topbar__logo-icon {
  width: 34px;
  height: 34px;
  background: var(--dbsa-gold-500);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 11px;
  color: var(--dbsa-brown-900);
}

.cms-topbar__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cms-topbar__logo-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--dbsa-white);
}

.cms-topbar__logo-label {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.5px;
}

.cms-topbar__live-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dbsa-gold-500);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  transition: all var(--transition-instant);
}

.cms-topbar__live-link:hover {
  background: rgba(245,168,28,0.12);
  color: var(--dbsa-gold-500);
}

.cms-topbar__notification {
  position: relative;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-md);
  transition: all var(--transition-instant);
}

.cms-topbar__notification:hover {
  color: var(--dbsa-white);
  background: rgba(255,255,255,0.08);
}

.cms-topbar__badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--dbsa-sienna);
  color: var(--dbsa-white);
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cms-topbar__user {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cms-topbar__avatar {
  width: 32px;
  height: 32px;
  background: var(--dbsa-gold-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 12px;
  color: var(--dbsa-brown-900);
}

.cms-topbar__user-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cms-topbar__user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dbsa-white);
}

.cms-topbar__user-role {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}

.cms-topbar__signout {
  color: rgba(255,255,255,0.5);
  padding: 6px;
  border-radius: var(--radius-md);
  transition: all var(--transition-instant);
}

.cms-topbar__signout:hover {
  color: var(--dbsa-white);
  background: rgba(255,255,255,0.08);
}

/* --- CMS Layout --- */
.cms-layout {
  display: flex;
  min-height: calc(100vh - 56px);
}

/* --- CMS Sidebar --- */
.cms-sidebar {
  width: 240px;
  background: var(--dbsa-white);
  border-right: 1px solid #E5E5E5;
  flex-shrink: 0;
  padding: 12px 0;
  position: sticky;
  top: 56px;
  height: calc(100vh - 56px);
  overflow-y: auto;
}

.cms-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 8px;
}

.cms-sidebar__item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--dbsa-brown);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-md);
  transition: all var(--transition-instant);
  border-left: 3px solid transparent;
}

.cms-sidebar__item:hover {
  background: #F7F7F7;
  color: var(--dbsa-brown);
}

.cms-sidebar__item--active {
  background: rgba(245,168,28,0.08);
  border-left-color: var(--dbsa-gold-500);
  color: var(--dbsa-brown);
  font-weight: 600;
}

.cms-sidebar__item--active i {
  color: var(--dbsa-gold-700);
}

.cms-sidebar__divider {
  height: 1px;
  background: #E5E5E5;
  margin: 8px 14px;
}

/* --- CMS Main Content --- */
.cms-main {
  flex: 1;
  padding: 28px 32px 48px;
  min-width: 0;
  max-width: 100%;
}

.cms-main__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.cms-main__title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 600;
  color: var(--dbsa-brown-900);
  margin-bottom: 4px;
}

.cms-main__subtitle {
  font-size: 14px;
  color: var(--dbsa-mid-grey);
}

.cms-main__header-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* --- CMS Stats Row --- */
.cms-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.cms-stat-card {
  background: var(--dbsa-white);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid #E5E5E5;
}

.cms-stat-card__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cms-stat-card__icon--blue {
  background: rgba(2,119,189,0.1);
  color: #0277BD;
}

.cms-stat-card__icon--green {
  background: rgba(27,122,61,0.1);
  color: #1B7A3D;
}

.cms-stat-card__icon--orange {
  background: rgba(245,168,28,0.1);
  color: #C4880F;
}

.cms-stat-card__icon--purple {
  background: rgba(123,31,162,0.1);
  color: #7B1FA2;
}

.cms-stat-card__number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--dbsa-brown-900);
  line-height: 1;
}

.cms-stat-card__label {
  font-size: 13px;
  color: var(--dbsa-mid-grey);
  margin-top: 2px;
}

/* --- CMS Grid --- */
.cms-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

/* --- CMS Card --- */
.cms-card {
  background: var(--dbsa-white);
  border-radius: var(--radius-lg);
  border: 1px solid #E5E5E5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  overflow: hidden;
}

.cms-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #F0F0F0;
}

.cms-card__title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--dbsa-brown-900);
}

.cms-card__action {
  font-size: 13px;
  color: var(--dbsa-gold-700);
  font-weight: 500;
  text-decoration: none;
}

.cms-card__action:hover {
  color: var(--dbsa-gold-500);
}

/* --- Activity Feed --- */
.cms-activity-feed {
  padding: 4px 0;
}

.cms-activity__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 20px;
  border-bottom: 1px solid #F5F5F5;
  transition: background var(--transition-instant);
}

.cms-activity__item:last-child {
  border-bottom: none;
}

.cms-activity__item:hover {
  background: #FAFAFA;
}

.cms-activity__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.cms-activity__icon--green { background: rgba(27,122,61,0.1); color: #1B7A3D; }
.cms-activity__icon--blue { background: rgba(2,119,189,0.1); color: #0277BD; }
.cms-activity__icon--orange { background: rgba(245,168,28,0.1); color: #C4880F; }
.cms-activity__icon--purple { background: rgba(123,31,162,0.1); color: #7B1FA2; }
.cms-activity__icon--red { background: rgba(198,40,40,0.1); color: #C62828; }

.cms-activity__content {
  flex: 1;
  min-width: 0;
}

.cms-activity__content p {
  font-size: 13px;
  color: var(--dbsa-dark-grey);
  line-height: 1.45;
  margin: 0;
}

.cms-activity__content strong {
  color: var(--dbsa-brown-900);
}

.cms-activity__time {
  font-size: 11px;
  color: var(--dbsa-mid-grey);
  margin-top: 2px;
  display: block;
}

/* --- Chart (Bar) --- */
.cms-chart {
  padding: 20px;
}

.cms-chart__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.cms-chart__bar:last-child {
  margin-bottom: 0;
}

.cms-chart__label {
  width: 120px;
  font-size: 13px;
  color: var(--dbsa-dark-grey);
  flex-shrink: 0;
  text-align: right;
}

.cms-chart__track {
  flex: 1;
  height: 24px;
  background: #F0F0F0;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cms-chart__fill {
  height: 100%;
  background: var(--dbsa-brown);
  border-radius: var(--radius-sm);
  transition: width 0.8s ease;
}

.cms-chart__fill--gold { background: var(--dbsa-gold-500); }
.cms-chart__fill--teal { background: #006d6f; }
.cms-chart__fill--purple { background: #7B1FA2; }
.cms-chart__fill--sienna { background: var(--dbsa-sienna); }

.cms-chart__value {
  width: 40px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--dbsa-brown-900);
  text-align: right;
}

/* --- Scheduled List --- */
.cms-scheduled-list {
  padding: 4px 0;
}

.cms-scheduled__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid #F5F5F5;
}

.cms-scheduled__item:last-child {
  border-bottom: none;
}

.cms-scheduled__date {
  width: 48px;
  height: 48px;
  background: var(--dbsa-brown-100);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cms-scheduled__day {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  color: var(--dbsa-brown);
  line-height: 1;
}

.cms-scheduled__month {
  font-size: 11px;
  color: var(--dbsa-mid-grey);
  text-transform: uppercase;
  font-weight: 600;
}

.cms-scheduled__info {
  flex: 1;
  min-width: 0;
}

.cms-scheduled__info h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dbsa-brown-900);
  margin-bottom: 2px;
}

.cms-scheduled__info p {
  font-size: 12px;
  color: var(--dbsa-mid-grey);
}

/* --- Quick Actions --- */
.cms-quick-actions {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cms-quick-action {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-instant);
  border: 1px solid transparent;
}

.cms-quick-action:hover {
  background: #F7F7F7;
  border-color: #E5E5E5;
  color: inherit;
}

.cms-quick-action__icon {
  width: 40px;
  height: 40px;
  background: var(--dbsa-brown-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dbsa-brown);
  flex-shrink: 0;
}

.cms-quick-action h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--dbsa-brown-900);
  margin-bottom: 2px;
}

.cms-quick-action p {
  font-size: 12px;
  color: var(--dbsa-mid-grey);
}

/* --- CMS Badges --- */
.cms-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.cms-badge--published { background: rgba(27,122,61,0.1); color: #1B7A3D; }
.cms-badge--draft { background: #F0F0F0; color: #666; }
.cms-badge--review { background: rgba(2,119,189,0.1); color: #0277BD; }
.cms-badge--scheduled { background: rgba(123,31,162,0.1); color: #7B1FA2; }
.cms-badge--rejected { background: rgba(198,40,40,0.1); color: #C62828; }
.cms-badge--archived { background: #E0E0E0; color: #555; }

/* ============================================================
   101. CMS CONTENT LIST
   ============================================================ */

/* --- Filters --- */
.cms-filters {
  background: var(--dbsa-white);
  border: 1px solid #E5E5E5;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.cms-filters__row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.cms-filter-select {
  height: 36px;
  padding: 0 32px 0 12px;
  border: 1px solid #D5D5D5;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--dbsa-dark-grey);
  background: var(--dbsa-white);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  min-width: 140px;
}

.cms-filter-select:focus {
  border-color: var(--dbsa-gold-500);
  outline: none;
  box-shadow: 0 0 0 3px rgba(245,168,28,0.15);
}

.cms-filters__search {
  flex: 1;
  position: relative;
  min-width: 200px;
}

.cms-filters__search i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dbsa-mid-grey);
}

.cms-filters__search-input {
  width: 100%;
  height: 36px;
  padding: 0 12px 0 34px;
  border: 1px solid #D5D5D5;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--dbsa-dark-grey);
}

.cms-filters__search-input:focus {
  border-color: var(--dbsa-gold-500);
  outline: none;
  box-shadow: 0 0 0 3px rgba(245,168,28,0.15);
}

.cms-filters__bulk {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid #F0F0F0;
}

.cms-filters__bulk-actions {
  display: flex;
  gap: 8px;
}

/* --- Checkbox --- */
.cms-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--dbsa-dark-grey);
  cursor: pointer;
}

.cms-checkbox input { display: none; }

.cms-checkbox__box {
  width: 16px;
  height: 16px;
  border: 2px solid #CCC;
  border-radius: 3px;
  transition: all var(--transition-instant);
}

.cms-checkbox input:checked + .cms-checkbox__box {
  background: var(--dbsa-gold-500);
  border-color: var(--dbsa-gold-500);
}

/* --- Content Table --- */
.cms-table-wrapper {
  background: var(--dbsa-white);
  border: 1px solid #E5E5E5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.cms-table {
  width: 100%;
  border-collapse: collapse;
}

.cms-table thead {
  background: #FAFAFA;
  border-bottom: 2px solid #E5E5E5;
}

.cms-table th {
  padding: 10px 16px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dbsa-mid-grey);
  text-align: left;
}

.cms-table td {
  padding: 12px 16px;
  font-size: 13px;
  color: var(--dbsa-dark-grey);
  border-bottom: 1px solid #F0F0F0;
  vertical-align: middle;
}

.cms-table tbody tr:last-child td {
  border-bottom: none;
}

.cms-table tbody tr:hover {
  background: #FAFAFA;
}

.cms-table__title {
  font-weight: 600;
  color: var(--dbsa-brown-900);
}

.cms-table__row--rejected {
  background: rgba(198,40,40,0.03);
}

.cms-table__row--rejected:hover {
  background: rgba(198,40,40,0.06) !important;
}

.cms-table__actions {
  display: flex;
  gap: 4px;
}

.cms-action-btn {
  width: 30px;
  height: 30px;
  border: 1px solid #E5E5E5;
  background: var(--dbsa-white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dbsa-mid-grey);
  transition: all var(--transition-instant);
}

.cms-action-btn:hover {
  background: #F0F0F0;
  color: var(--dbsa-brown);
  border-color: #CCC;
}

.cms-action-btn--danger:hover {
  background: rgba(198,40,40,0.08);
  color: #C62828;
  border-color: rgba(198,40,40,0.3);
}

/* --- CMS Pagination --- */
.cms-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
  padding: 0 4px;
}

.cms-pagination__info {
  font-size: 13px;
  color: var(--dbsa-mid-grey);
}

.cms-pagination__controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cms-pagination__btn {
  height: 34px;
  padding: 0 12px;
  border: 1px solid #E5E5E5;
  border-radius: var(--radius-md);
  background: var(--dbsa-white);
  color: var(--dbsa-dark-grey);
  font-size: 13px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition-instant);
}

.cms-pagination__btn:hover:not(:disabled) {
  border-color: var(--dbsa-gold-500);
  color: var(--dbsa-brown);
}

.cms-pagination__btn--active {
  background: var(--dbsa-brown);
  color: var(--dbsa-white);
  border-color: var(--dbsa-brown);
}

.cms-pagination__btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cms-pagination__ellipsis {
  padding: 0 4px;
  color: var(--dbsa-mid-grey);
}

/* ============================================================
   102. CMS PAGE EDITOR
   ============================================================ */

.cms-topbar--editor {
  background: var(--dbsa-brown-900);
}

.cms-editor-back {
  color: rgba(255,255,255,0.6);
  padding: 6px;
  border-radius: var(--radius-md);
  transition: all var(--transition-instant);
  display: flex;
  align-items: center;
}

.cms-editor-back:hover {
  color: var(--dbsa-white);
  background: rgba(255,255,255,0.08);
}

.cms-editor-title {
  display: flex;
  align-items: center;
  margin-left: 8px;
}

.cms-editor-title h1 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--dbsa-white);
  line-height: 1;
}

.cms-editor-autosave {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* Editor Layout */
.cms-editor-layout {
  display: flex;
  height: calc(100vh - 56px);
  overflow: hidden;
}

.cms-editor-panel {
  width: 260px;
  background: var(--dbsa-white);
  border-right: 1px solid #E5E5E5;
  overflow-y: auto;
  flex-shrink: 0;
  padding: 16px;
}

.cms-editor-panel--right {
  border-right: none;
  border-left: 1px solid #E5E5E5;
  width: 300px;
}

.cms-editor-panel__title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--dbsa-brown-900);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.cms-editor-panel__hint {
  font-size: 12px;
  color: var(--dbsa-mid-grey);
  margin-bottom: 16px;
}

.cms-editor-panel__context {
  font-size: 12px;
  color: var(--dbsa-mid-grey);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #E5E5E5;
}

.cms-editor-panel__context strong {
  color: var(--dbsa-brown);
}

/* Component List */
.cms-component-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cms-component-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px dashed #D5D5D5;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  color: var(--dbsa-dark-grey);
  cursor: grab;
  transition: all var(--transition-instant);
  background: #FAFAFA;
}

.cms-component-item:hover {
  border-color: var(--dbsa-gold-500);
  background: var(--dbsa-gold-100);
  color: var(--dbsa-brown);
}

.cms-component-item:active {
  cursor: grabbing;
  border-style: solid;
  box-shadow: var(--shadow-2);
}

.cms-component-item__icon {
  width: 32px;
  height: 32px;
  background: var(--dbsa-white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dbsa-brown);
  flex-shrink: 0;
  border: 1px solid #E5E5E5;
}

/* Canvas */
.cms-editor-canvas {
  flex: 1;
  background: #ECEDF0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.cms-canvas-device-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 16px;
  background: #E0E1E4;
  border-bottom: 1px solid #D0D1D4;
}

.cms-canvas-device {
  width: 32px;
  height: 32px;
  border: 1px solid #CCC;
  background: var(--dbsa-white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dbsa-mid-grey);
  transition: all var(--transition-instant);
}

.cms-canvas-device:hover { border-color: #999; }

.cms-canvas-device--active {
  background: var(--dbsa-brown);
  color: var(--dbsa-white);
  border-color: var(--dbsa-brown);
}

.cms-canvas-device-label {
  font-size: 12px;
  color: var(--dbsa-mid-grey);
  margin-left: 12px;
}

.cms-canvas-area {
  flex: 1;
  padding: 24px 32px;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
}

/* Drop Zone */
.cms-drop-zone {
  border: 2px dashed #C0C0C0;
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  color: #AAA;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 8px 0;
  transition: all var(--transition-instant);
  background: rgba(255,255,255,0.4);
}

.cms-drop-zone:hover {
  border-color: var(--dbsa-gold-500);
  background: rgba(245,168,28,0.06);
  color: var(--dbsa-gold-700);
}

/* Canvas Block */
.cms-canvas-block {
  background: var(--dbsa-white);
  border: 2px solid #E0E0E0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 8px 0;
  transition: border-color var(--transition-instant), box-shadow var(--transition-instant);
}

.cms-canvas-block:hover {
  border-color: #B0B0B0;
}

.cms-canvas-block--selected {
  border-color: var(--dbsa-gold-500);
  box-shadow: 0 0 0 3px rgba(245,168,28,0.2);
}

.cms-canvas-block__toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: #F5F5F5;
  border-bottom: 1px solid #E5E5E5;
}

.cms-canvas-block__drag {
  cursor: grab;
  color: #BBB;
  display: flex;
  align-items: center;
}

.cms-canvas-block__drag:active { cursor: grabbing; }

.cms-canvas-block__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--dbsa-mid-grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex: 1;
}

.cms-canvas-block__actions {
  display: flex;
  gap: 2px;
}

.cms-canvas-block__actions button {
  width: 26px;
  height: 26px;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-instant);
}

.cms-canvas-block__actions button:hover {
  background: #E5E5E5;
  color: var(--dbsa-brown);
}

.cms-canvas-block__actions button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cms-canvas-block__edit:hover {
  color: var(--dbsa-gold-700) !important;
}

.cms-canvas-block__delete:hover {
  color: #C62828 !important;
  background: rgba(198,40,40,0.08) !important;
}

.cms-canvas-block__content {
  padding: 0;
}

/* Canvas Preview Components */
.cms-preview-hero {
  position: relative;
  padding: 40px 32px;
  min-height: 180px;
  display: flex;
  align-items: center;
}

.cms-preview-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1A0E0E, #402020 60%, #5A3030);
}

.cms-preview-hero__content {
  position: relative;
  z-index: 1;
  color: var(--dbsa-white);
  max-width: 420px;
}

.cms-preview-hero__overline {
  display: inline-block;
  border: 1px solid rgba(245,168,28,0.4);
  background: rgba(245,168,28,0.15);
  color: var(--dbsa-gold-500);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.cms-preview-hero__content h2 {
  font-size: 22px;
  color: var(--dbsa-white);
  margin-bottom: 8px;
  line-height: 1.2;
}

.cms-preview-hero__content p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
  line-height: 1.5;
}

.cms-preview-hero__btns {
  display: flex;
  gap: 8px;
}

.cms-preview-btn {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 11px;
  font-weight: 600;
}

.cms-preview-btn--gold {
  background: var(--dbsa-gold-500);
  color: var(--dbsa-brown-900);
}

.cms-preview-btn--outline {
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--dbsa-white);
}

/* Card Grid Preview */
.cms-preview-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px;
}

.cms-preview-card {
  border: 1px solid #E5E5E5;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.cms-preview-card__img {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cms-preview-card__body {
  padding: 10px;
}

.cms-preview-card__tag {
  display: block;
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dbsa-gold-700);
  margin-bottom: 4px;
}

.cms-preview-card__body strong {
  display: block;
  font-size: 12px;
  color: var(--dbsa-brown-900);
  margin-bottom: 4px;
}

.cms-preview-card__body p {
  font-size: 10px;
  color: var(--dbsa-mid-grey);
  line-height: 1.4;
}

/* Stats Preview */
.cms-preview-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 20px;
  background: var(--dbsa-brown);
}

.cms-preview-stat {
  text-align: center;
  padding: 16px 8px;
}

.cms-preview-stat__number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--dbsa-gold-500);
  margin-bottom: 4px;
}

.cms-preview-stat__label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
}

/* CTA Preview */
.cms-preview-cta {
  background: var(--dbsa-brown);
  text-align: center;
  padding: 28px 24px;
  color: var(--dbsa-white);
}

.cms-preview-cta h3 {
  font-size: 18px;
  color: var(--dbsa-white);
  margin-bottom: 6px;
}

.cms-preview-cta p {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}

.cms-preview-input {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.05);
}

/* Properties Panel */
.cms-props {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cms-props__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cms-props__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--dbsa-dark-grey);
  display: flex;
  align-items: center;
  gap: 4px;
}

.cms-props__required {
  font-size: 10px;
  font-weight: 400;
  color: var(--dbsa-sienna);
  font-style: italic;
}

.cms-props__input {
  height: 36px;
  padding: 0 10px;
  border: 1px solid #D5D5D5;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--dbsa-dark-grey);
  width: 100%;
}

.cms-props__input:focus {
  border-color: var(--dbsa-gold-500);
  outline: none;
  box-shadow: 0 0 0 3px rgba(245,168,28,0.15);
}

.cms-props__textarea {
  padding: 8px 10px;
  border: 1px solid #D5D5D5;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--dbsa-dark-grey);
  resize: vertical;
  width: 100%;
}

.cms-props__textarea:focus {
  border-color: var(--dbsa-gold-500);
  outline: none;
  box-shadow: 0 0 0 3px rgba(245,168,28,0.15);
}

.cms-props__select {
  height: 36px;
  padding: 0 28px 0 10px;
  border: 1px solid #D5D5D5;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--dbsa-dark-grey);
  background: var(--dbsa-white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  width: 100%;
}

.cms-props__select:focus {
  border-color: var(--dbsa-gold-500);
  outline: none;
  box-shadow: 0 0 0 3px rgba(245,168,28,0.15);
}

.cms-props__upload {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cms-props__upload-preview {
  width: 100%;
  height: 80px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #E5E5E5;
}

.cms-props__hint {
  font-size: 11px;
  color: var(--dbsa-mid-grey);
}

.cms-props__slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cms-props__slider {
  flex: 1;
  -webkit-appearance: none;
  height: 4px;
  background: #E0E0E0;
  border-radius: 2px;
  outline: none;
}

.cms-props__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--dbsa-gold-500);
  cursor: pointer;
  border: 2px solid var(--dbsa-white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.cms-props__slider-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--dbsa-dark-grey);
  width: 36px;
  text-align: right;
}

.cms-props__version {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #E5E5E5;
  font-size: 11px;
  color: var(--dbsa-mid-grey);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================================
   103. CMS MEDIA LIBRARY
   ============================================================ */

.cms-media-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-top: 4px;
}

.cms-media-breadcrumbs a {
  color: var(--dbsa-gold-700);
  text-decoration: none;
}

.cms-media-breadcrumbs a:hover {
  color: var(--dbsa-gold-500);
}

.cms-media-breadcrumbs span {
  color: var(--dbsa-dark-grey);
  font-weight: 600;
}

.cms-media-breadcrumbs i {
  color: #CCC;
}

/* Media Toolbar */
.cms-media-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 16px;
}

.cms-media-toolbar__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cms-media-toolbar__right {
  display: flex;
  gap: 4px;
}

.cms-view-toggle {
  width: 34px;
  height: 34px;
  border: 1px solid #D5D5D5;
  background: var(--dbsa-white);
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dbsa-mid-grey);
  transition: all var(--transition-instant);
}

.cms-view-toggle:hover { border-color: #999; }

.cms-view-toggle--active {
  background: var(--dbsa-brown);
  color: var(--dbsa-white);
  border-color: var(--dbsa-brown);
}

/* Media Layout */
.cms-media-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: start;
}

/* Media Grid */
.cms-media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cms-media-item {
  background: var(--dbsa-white);
  border: 2px solid #E5E5E5;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-instant);
}

.cms-media-item:hover {
  border-color: #BBB;
  box-shadow: var(--shadow-1);
}

.cms-media-item--selected {
  border-color: var(--dbsa-gold-500) !important;
  box-shadow: 0 0 0 3px rgba(245,168,28,0.2);
}

.cms-media-item--folder .cms-media-item__thumb--folder {
  background: #FFF8E7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dbsa-gold-700);
}

.cms-media-item__thumb {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.cms-media-item__thumb--pdf {
  background: #FFF0F0;
  color: #C62828;
}

.cms-media-item__thumb--video {
  background: #F0F0FF;
  color: #3F51B5;
}

.cms-media-item__type-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  background: rgba(0,0,0,0.6);
  color: var(--dbsa-white);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  text-transform: uppercase;
}

.cms-media-item__check {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 22px;
  height: 22px;
  background: var(--dbsa-gold-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dbsa-white);
}

.cms-media-item__info {
  padding: 8px 10px;
}

.cms-media-item__name {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--dbsa-dark-grey);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}

.cms-media-item__meta {
  font-size: 10px;
  color: var(--dbsa-mid-grey);
}

/* Media Details Sidebar */
.cms-media-details {
  background: var(--dbsa-white);
  border: 1px solid #E5E5E5;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  position: sticky;
  top: 80px;
}

.cms-media-details__title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--dbsa-brown-900);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--dbsa-gold-500);
}

.cms-media-details__preview {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.cms-media-details__info {
  margin-bottom: 16px;
}

.cms-media-details__row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #F0F0F0;
  font-size: 12px;
}

.cms-media-details__row:last-child {
  border-bottom: none;
}

.cms-media-details__label {
  color: var(--dbsa-mid-grey);
}

.cms-media-details__value {
  color: var(--dbsa-dark-grey);
  font-weight: 600;
  text-align: right;
}

.cms-media-details__fields {
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid #E5E5E5;
}

.cms-media-details__used {
  padding-top: 12px;
  border-top: 1px solid #E5E5E5;
  margin-bottom: 16px;
}

.cms-media-details__used h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--dbsa-mid-grey);
  margin-bottom: 8px;
}

.cms-media-details__used-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  font-size: 12px;
}

.cms-media-details__used-item i {
  color: var(--dbsa-mid-grey);
}

.cms-media-details__used-item a {
  color: var(--dbsa-brown);
  font-weight: 500;
  text-decoration: none;
}

.cms-media-details__used-item a:hover {
  color: var(--dbsa-gold-700);
}

.cms-media-details__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #E5E5E5;
}

/* Media Tags */
.cms-media-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px 8px;
  border: 1px solid #D5D5D5;
  border-radius: var(--radius-md);
  background: var(--dbsa-white);
  min-height: 36px;
  align-items: center;
}

.cms-media-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--dbsa-brown-100);
  color: var(--dbsa-brown);
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.cms-media-tag button {
  background: none;
  border: none;
  color: var(--dbsa-brown);
  cursor: pointer;
  font-size: 12px;
  padding: 0;
  opacity: 0.6;
}

.cms-media-tag button:hover { opacity: 1; }

.cms-media-tag-input {
  border: none;
  outline: none;
  font-size: 12px;
  font-family: var(--font-body);
  flex: 1;
  min-width: 60px;
  padding: 2px;
}

/* ============================================================
   104. CMS ADMIN LINK (Public Site)
   ============================================================ */
.footer__cms-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color var(--transition-instant);
}

.footer__cms-link:hover {
  color: var(--dbsa-gold-500);
}

/* ============================================================
   105. CMS RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .cms-media-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .cms-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .cms-grid-2 {
    grid-template-columns: 1fr;
  }

  .cms-sidebar {
    display: none;
  }

  .cms-main {
    padding: 20px 16px 40px;
  }

  .cms-media-layout {
    grid-template-columns: 1fr;
  }

  .cms-media-details {
    position: static;
  }

  .cms-editor-layout {
    flex-direction: column;
    height: auto;
  }

  .cms-editor-panel {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #E5E5E5;
  }

  .cms-editor-panel--right {
    border-left: none;
    border-top: 1px solid #E5E5E5;
  }

  .cms-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cms-topbar__user-info {
    display: none;
  }
}

@media (max-width: 575px) {
  .cms-stats-row {
    grid-template-columns: 1fr;
  }

  .cms-table-wrapper {
    overflow-x: auto;
  }

  .cms-table {
    min-width: 700px;
  }

  .cms-topbar__live-link span {
    display: none;
  }

  .cms-pagination {
    flex-direction: column;
    gap: 12px;
  }

  .cms-filters__row {
    flex-direction: column;
  }

  .cms-filter-select {
    width: 100%;
    min-width: 0;
  }

  .cms-filters__bulk {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .cms-preview-cards {
    grid-template-columns: 1fr;
  }

  .cms-preview-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .cms-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
