/* =========================================================
   1 · MATERIAL DESIGN 3 — DESIGN TOKENS
   ========================================================= */
:root{
  /* Primary — Indigo blue */
  --md-primary: #2F5BA6;
  --md-on-primary: #FFFFFF;
  --md-primary-container: #D8E2FF;
  --md-on-primary-container: #001A41;
  --md-primary-hover: #24509A;

  /* Secondary — Teal */
  --md-secondary: #00696B;
  --md-on-secondary: #FFFFFF;
  --md-secondary-container: #9DF2F4;
  --md-on-secondary-container: #002021;

  /* Tertiary — Warm amber */
  --md-tertiary: #8B5000;
  --md-on-tertiary: #FFFFFF;
  --md-tertiary-container: #FFDCBE;
  --md-on-tertiary-container: #2D1600;

  /* Error */
  --md-error: #BA1A1A;

  /* Surfaces (light) */
  --md-surface: #FBF8FD;
  --md-surface-container-lowest: #FFFFFF;
  --md-surface-container-low: #F5F2F7;
  --md-surface-container: #EFEDF2;
  --md-surface-container-high: #E9E7EC;
  --md-surface-container-highest: #E3E1E6;
  --md-surface-variant: #E1E2EC;
  --md-on-surface: #1B1B1F;
  --md-on-surface-variant: #44474E;
  --md-outline: #757780;
  --md-outline-variant: #C4C6D0;
  --md-scrim: rgba(0,0,0,.32);
  --md-inverse-surface: #303034;
  --md-inverse-on-surface: #F3EFF4;

  /* Elevations */
  --md-elev-1: 0 1px 2px rgba(0,0,0,.30), 0 1px 3px 1px rgba(0,0,0,.15);
  --md-elev-2: 0 1px 2px rgba(0,0,0,.30), 0 2px 6px 2px rgba(0,0,0,.15);
  --md-elev-3: 0 1px 3px rgba(0,0,0,.30), 0 4px 8px 3px rgba(0,0,0,.15);
  --md-elev-4: 0 2px 3px rgba(0,0,0,.30), 0 6px 10px 4px rgba(0,0,0,.15);

  /* Shape */
  --md-shape-xs: 4px;
  --md-shape-sm: 8px;
  --md-shape-md: 12px;
  --md-shape-lg: 16px;
  --md-shape-xl: 28px;

  /* Motion */
  --md-motion: cubic-bezier(.2, 0, 0, 1);
  --md-motion-emph: cubic-bezier(.05, .7, .1, 1);
}

[data-theme="dark"]{
  --md-primary: #ADC6FF;
  --md-on-primary: #002E69;
  --md-primary-container: #0E458F;
  --md-on-primary-container: #D8E2FF;
  --md-primary-hover: #C2D4FF;

  --md-secondary: #4DDADC;
  --md-on-secondary: #003738;
  --md-secondary-container: #005051;
  --md-on-secondary-container: #9DF2F4;

  --md-tertiary: #FFB870;
  --md-on-tertiary: #4A2800;
  --md-tertiary-container: #6A3B00;
  --md-on-tertiary-container: #FFDCBE;

  --md-surface: #121316;
  --md-surface-container-lowest: #0D0E11;
  --md-surface-container-low: #1A1B1F;
  --md-surface-container: #1E1F23;
  --md-surface-container-high: #292A2E;
  --md-surface-container-highest: #343539;
  --md-surface-variant: #44474E;
  --md-on-surface: #E5E1E6;
  --md-on-surface-variant: #C4C6D0;
  --md-outline: #8E9099;
  --md-outline-variant: #44474E;
  --md-inverse-surface: #E5E1E6;
  --md-inverse-on-surface: #303034;

  --md-elev-1: 0 1px 2px rgba(0,0,0,.5), 0 1px 3px 1px rgba(0,0,0,.3);
  --md-elev-2: 0 1px 2px rgba(0,0,0,.5), 0 2px 6px 2px rgba(0,0,0,.3);
  --md-elev-3: 0 1px 3px rgba(0,0,0,.5), 0 4px 8px 3px rgba(0,0,0,.3);
  --md-elev-4: 0 2px 3px rgba(0,0,0,.5), 0 6px 10px 4px rgba(0,0,0,.3);
}

/* =========================================================
   2 · BASE
   ========================================================= */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }

body{
  margin:0;
  font-family:'Roboto', system-ui, -apple-system, sans-serif;
  font-size:16px;
  line-height:1.6;
  color:var(--md-on-surface);
  background:var(--md-surface);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  transition:background-color .3s var(--md-motion), color .3s var(--md-motion);
}

h1,h2,h3,h4,h5{
  font-family:'Roboto Serif', Georgia, serif;
  font-weight:700;
  letter-spacing:-.015em;
  line-height:1.2;
  margin:0;
  color:var(--md-on-surface);
}

p{ margin:0; }
a{ color:inherit; text-decoration:none; }
img{ display:block; max-width:100%; }
ul{ list-style:none; margin:0; padding:0; }
button{ font-family:inherit; }

::selection{ background:var(--md-primary); color:var(--md-on-primary); }

/* Material icon helper */
.material-symbols-rounded{
  font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24;
  font-size:24px;
  line-height:1;
  user-select:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.material-symbols-rounded.fill{ font-variation-settings:'FILL' 1,'wght' 400,'GRAD' 0,'opsz' 24; }

/* Scrollbar */
::-webkit-scrollbar{ width:12px; height:12px; }
::-webkit-scrollbar-track{ background:var(--md-surface-container-low); }
::-webkit-scrollbar-thumb{
  background;
  bordr:3px solid var(--md-surface-container-low);
  border-radius:8px;
}
::-webkit-scrollbar-thumb:hover{ background:var(--md-outline); }

/* =========================================================
   3 · RIPPLE
   ========================================================= */
.ripple{ position:relative; overflow:hidden; -webkit-tap-highlight-color:transparent; }
.ripple__circle{
  position:absolute;
  border-radius:50%;
  background:currentColor;
  opacity:.18;
  pointer-events:none;
  transform:scale(0);
  animation:mdRipple .55s var(--md-motion);
}
@keyframes mdRipple{ to{ transform:scale(1); opacity:0; } }

/* =========================================================
   4 · TOP APP BAR
   ========================================================= */
.app-bar{
  position:sticky;
  top:0;
  z-index:900;
  background:var(--md-surface-container-low);
  border-bottom:1px solid;
  transitin:background-color .3s var(--md-motion), box-shadow .3s var(--md-motion);
}
.app-bar.scrolled{ box-shadow:var(--md-elev-1); background:var(--md-surface-container); }

.app-bar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  height:72px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-family:'Roboto Serif', serif;
  font-weight:800;
  font-size:1.32rem;
  letter-spacing:-.02em;
  color:var(--md-on-surface);
  flex-shrink:0;
}
.brand__logo{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:var(--md-shape-md);
  background:var(--md-primary);
  color:var(--md-on-primary);
  font-size:22px !important;
  box-shadow:var(--md-elev-1);
}

/* Nav links */
.nav{
  display:flex;
  align-items:center;
  gap:4px;
}
.nav__link{
  position:relative;
  padding:10px 16px;
  border-radius:var(--md-shape-sm);
  font-size:.92rem;
  font-weight:500;
  color:var(--md-on-surface-variant);
  transition:background .2s var(--md-motion), color .2s var(--md-motion);
}
.nav__link:hover{
  background:color-mix(in srgb, var(--md-on-surface) 8%, transparent);
  color:var(--md-on-surface);
}
.nav__link.active{ color:var(--md-primary); font-weight:700; }
.nav__link.active::after{
  content:"";
  position:absolute;
  left:16px;
  right:16px;
  bottom:2px;
  height:3px;
  border-radius:2px;
  background:var(--md-primary);
}

/* Icon buttons */
.icon-btn{
  width:44px;
  height:44px;
  border:0;
  background:transparent;
  color:var(--md-on-surface-variant);
  border-radius:50%;
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:background .2s var(--md-motion), color .2s var(--md-motion);
}
.icon-btn:hover{
  background:color-mix(in srgb, var(--md-on-surface) 8%, transparent);
  color:var(--md-on-surface);
}

.app-bar__actions{
  display:flex;
  align-items:center;
  gap:4px;
  flex-shrink:0;
}

/* Material switch */
.theme-toggle{
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
}
.theme-toggle__track{
  position:relative;
  display:block;
  width:52px;
  height:32px;
  border-radius:16px;
  background:var(--md-surface-container-highest);
  border:2px solid var(--md-outline);
  transition:background .3s var(--md-motion), border-color .3s var(--md-motion);
}
.theme-toggle__thumb{
  position:absolute;
  top:50%;
  left:2px;
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  transform:translateY(-50%);
  border-radius:50%;
  background:var(--md-outline);
  color:var(--md-surface);
  transition:transform .35s var(--md-motion-emph), background .3s var(--md-motion);
}
.theme-toggle__thumb .material-symbols-rounded{ font-size:15px; }
[data-theme="dark"] .theme-toggle__track{
  background:var(--md-primary);
  border-color:var(--md-primary);
}
[data-theme="dark"] .theme-toggle__thumb{
  transform:translate(20px, -50%);
  background:var(--md-on-primary);
  color:var(--md-primary);
}

/* Mobile menu */
.burger{ display:none; }

.mobile-nav{
  display:none;
  padding:8px 0 16px;
  border-top:1px solid;}
.mobile-nav.open{ display:block; }
.mobile-nav a{
  display:flex;
  align-items:center;
  gap:12px;
  padding:14px 8px;
  border-radius:var(--md-shape-sm);
  font-weight:500;
  color:var(--md-on-surface);
  transition:background .2s var(--md-motion);
}
.mobile-nav a:hover{ background:var(--md-surface-container); }

/* =========================================================
   5 · HERO
   ========================================================= */
.hero{
  padding:56px 0 72px;
  position:relative;
  overflow:hidden;
}
.hero::before{
  content:"";
  position:absolute;
  top:-180px; right:-180px;
  width:520px; height:520px;
  background:radial-gradient(circle, var(--md-primary-container) 0%, transparent 70%);
  opacity:.7;
  pointer-events:none;
}
[data-theme="dark"] .hero::before{ opacity:.25; }

.hero__grid{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:56px;
  align-items:center;
  position:relative;
}

.eyebrow-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 16px 7px 12px;
  border-radius:100px;
  background:var(--md-secondary-container);
  color:var(--md-on-secondary-container);
  font-size:.78rem;
  font-weight:500;
  letter-spacing:.02em;
  text-transform:uppercase;
  margin-bottom:26px;
}
.eyebrow-chip .dot{
  width:8px; height:8px;
  border-radius:50%;
  background:var(--md-secondary);
  box-shadow:0 0 0 4px color-mix(in srgb, var(--md-secondary) 22%, transparent);
  animation:pulseDot 2.2s ease-in-out infinite;
}
@keyframes pulseDot{
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:.55; transform:scale(1.25); }
}

.hero__title{
  font-size: 40px;
  font-weight:800;
  letter-spacing:-.028em;
  line-height:1.08;
  margin-bottom:22px;
}
.hero__title span{  
  font-weight:600;
  color:var(--md-primary);
}

.hero__lead{
  font-size:1.08rem;
  color:var(--md-on-surface-variant);
  margin-bottom:34px;
}

/* M3 Search field */
.search-field{
  display:flex;
  align-items:center;
  gap:12px;
  max-width:540px;
  height:60px;
  padding:0 6px 0 20px;
  border-radius:100px;
  background:var(--md-surface-container-high);
  transition:background .2s var(--md-motion), box-shadow .2s var(--md-motion);
  margin:28px auto;
}
.search-field:focus-within{
  background:var(--md-surface-container-highest);
  box-shadow:var(--md-elev-2);
}
.search-field__icon{ color:var(--md-on-surface-variant); font-size:22px; }
.search-field input{
  flex:1;
  border:0;
  background:transparent;
  outline:none;
  font-family:inherit;
  font-size:.98rem;
  color:var(--md-on-surface);
  min-width:0;
}
.search-field input::placeholder{ color:var(--md-on-surface-variant); opacity:.85; }
.search-field__btn{
  flex-shrink:0;
  width:48px;
  height:48px;
  border:0;
  border-radius:50%;
  background:var(--md-primary);
  color:var(--md-on-primary);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:background .2s var(--md-motion), transform .15s var(--md-motion);
}
.search-field__btn:hover{ background:var(--md-primary-hover); }
.search-field__btn:active{ transform:scale(.94); }
.search-field__btn .material-symbols-rounded{ font-size:22px; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  height:48px;
  padding:0 28px;
  border:0;
  border-radius:100px;
  font-family:inherit;
  font-size:.94rem;
  font-weight:500;
  letter-spacing:.01em;
  cursor:pointer;
  transition:background .2s var(--md-motion), box-shadow .2s var(--md-motion), color .2s var(--md-motion), transform .15s var(--md-motion);
  white-space:nowrap;
}
.btn .material-symbols-rounded{ font-size:20px; }

.btn--filled{
  background:var(--md-primary);
  color:var(--md-on-primary);
  box-shadow:var(--md-elev-1);
}
.btn--filled:hover{ background:var(--md-primary-hover); box-shadow:var(--md-elev-2); }
.btn--filled:active{ transform:scale(.98); }

.btn--tonal{
  background:var(--md-secondary-container);
  color:var(--md-on-secondary-container);
}
.btn--tonal:hover{ filter:brightness(.94); }

.btn--outlined{
  background:transparent;
  color:var(--md-primary);
  border:1px solid var(--md-outline);
}
.btn--outlined:hover{
  background:color-mix(in srgb, var(--md-primary) 8%, transparent);
}

.btn--text{
  background:transparent;
  color:var(--md-primary);
  padding:0 20px;
}
.btn--text:hover{ background:color-mix(in srgb, var(--md-primary) 8%, transparent); }

.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content: center;
  align-items:center;
}

/* Hero visual card */
.hero__visual{ position:relative; }

.hero-card{
  position:relative;
  border-radius:var(--md-shape-xl);
  overflow:hidden;
  aspect-ratio:4/3.6;
  background:var(--md-surface-container);
  box-shadow:var(--md-elev-3);
  transition:box-shadow .3s var(--md-motion), transform .4s var(--md-motion);
}
.hero-card:hover{
  box-shadow:var(--md-elev-4);
  transform:translateY(-4px);
}
.hero-card img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .8s var(--md-motion);
}
.hero-card:hover img{ transform:scale(1.05); }
.hero-card__overlay{
  position:absolute;
  inset:auto 0 0 0;
  padding:28px;
  color:#fff;
  background:linear-gradient(180deg, transparent 0%, rgba(0,0,0,.78) 100%);
}
.hero-card__tag{
  display:inline-block;
  padding:5px 12px;
  border-radius:100px;
  background:var(--md-tertiary);
  color:var(--md-on-tertiary);
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;
  margin-bottom:14px;
}
.hero-card__overlay h3{
  font-size:1.5rem;
  color:#fff;
  margin-bottom:6px;
  line-height:1.25;
}
.hero-card__overlay p{
  font-size:.9rem;
  color:rgba(255,255,255,.82);
}

/* Floating stat badge */
.hero-badge{
  position:absolute;
  top:-14px;
  right:-14px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 18px;
  border-radius:var(--md-shape-lg);
  background:var(--md-surface-container-highest);
  box-shadow:var(--md-elev-2);
  z-index:2;
}
.hero-badge .material-symbols-rounded{ color:var(--md-tertiary); font-size:22px; }
.hero-badge__num{ font-weight:700; font-size:1rem; color:var(--md-on-surface); line-height:1.1; }
.hero-badge__label{ font-size:.72rem; color:var(--md-on-surface-variant); }

/* =========================================================
   6 · CHIP ROW
   ========================================================= */
.chip-section{
  border-top:1px solid;
  bordr-bottom:1px solid;
  backgroud:var(--md-surface-container-low);
  padding:22px 0;
}
.chip-row{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 18px;
  border-radius:100px;
  border:1px solid;
  backgroud:transparent;
  color:var(--md-on-surface-variant);
  font-size:.88rem;
  font-weight:500;
  cursor:pointer;
  transition:all .2s var(--md-motion);
}
.chip .material-symbols-rounded{ font-size:18px; }
.chip:hover{ background:color-mix(in srgb, var(--md-on-surface) 8%, transparent); }
.chip.active{
  background:var(--md-secondary-container);
  color:var(--md-on-secondary-container);
  border-color:transparent;
  font-weight:600;
}
.chip.active .material-symbols-rounded{ font-variation-settings:'FILL' 1,'wght' 400,'GRAD' 0,'opsz' 24; }

/* =========================================================
   7 · SECTION SHELL
   ========================================================= */
.section{ padding:80px 0; }
.section--alt{ background:var(--md-surface-container-low); border-top:1px solid; bordr-bottom:1px solid;}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  margin-bottom:40px;
}
.section-head__title{ font-size:clamp(1.75rem, 3.4vw, 2.5rem); font-weight:800; }
.section-head__sub{
  color:var(--md-on-surface-variant);
  font-size:.98rem;
  margin-top:8px;
  max-width:420px;
}

.filter-row{ display:flex; gap:8px; flex-wrap:wrap; }
.filter-chip{
  padding:8px 16px;
  border-radius:100px;
  border:1px solid;
  backgroud:transparent;
  color:var(--md-on-surface-variant);
  font-size:.85rem;
  font-weight:500;
  cursor:pointer;
  transition:all .2s var(--md-motion);
}
.filter-chip:hover{ background:color-mix(in srgb, var(--md-on-surface) 8%, transparent); }
.filter-chip.active{
  background:var(--md-primary);
  color:var(--md-on-primary);
  border-color:var(--md-primary);
  font-weight:600;
}

/* =========================================================
   8 · FEATURED BIG CARD
   ========================================================= */
.featured-card{
  display:grid;
  grid-template-columns:1.15fr 1fr;
  background:var(--md-surface-container-low);
  border-radius:var(--md-shape-xl);
  overflow:hidden;
  box-shadow:var(--md-elev-1);
  transition:box-shadow .3s var(--md-motion), transform .3s var(--md-motion);
  margin-bottom:48px;
}
.featured-card:hover{ box-shadow:var(--md-elev-3); transform:translateY(-3px); }

.featured-card__media{
  position:relative;
  overflow:hidden;
  min-height:420px;
}
.featured-card__media img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .9s var(--md-motion);
}
.featured-card:hover .featured-card__media img{ transform:scale(1.05); }

.featured-card__body{
  padding:48px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.tag{
  display:inline-block;
  padding:5px 12px;
  border-radius:100px;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  line-height:1.6;
  width:fit-content;
}
.tag--primary{ background:var(--md-primary-container); color:var(--md-on-primary-container); }
.tag--secondary{ background:var(--md-secondary-container); color:var(--md-on-secondary-container); }
.tag--tertiary{ background:var(--md-tertiary-container); color:var(--md-on-tertiary-container); }
.tag--surface{ background:var(--md-surface-container-highest); color:var(--md-on-surface-variant); }

.featured-card__body h2{
  font-size:clamp(1.5rem, 2.5vw, 2.1rem);
  margin:20px 0 14px;
  line-height:1.2;
}
.featured-card__body h2 a{ transition:color .2s var(--md-motion); }
.featured-card__body h2 a:hover{ color:var(--md-primary); }
.featured-card__body > p{
  color:var(--md-on-surface-variant);
  font-size:1rem;
  margin-bottom:28px;
}

.author{
  display:flex;
  align-items:center;
  gap:12px;
}
.avatar{
  width:44px;
  height:44px;
  border-radius:50%;
  display:grid;
  place-items:center;
  font-size:.82rem;
  font-weight:700;
  color:var(--md-on-primary);
  background:var(--md-primary);
  flex-shrink:0;
}
.avatar--secondary{ background:var(--md-secondary); color:var(--md-on-secondary); }
.avatar--tertiary{ background:var(--md-tertiary); color:var(--md-on-tertiary); }
.author__name{ font-weight:600; font-size:.92rem; color:var(--md-on-surface); }
.author__meta{ font-size:.78rem; color:var(--md-on-surface-variant); }

.featured-card__foot{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
  margin-top:auto;
  padding-top:28px;
}

/* =========================================================
   9 · ARTICLE CARDS (M3 Elevated)
   ========================================================= */
.article-card{
  display:flex;
  flex-direction:column;
  height:100%;
  background:var(--md-surface-container-low);
  border-radius:var(--md-shape-lg);
  overflow:hidden;
  box-shadow:var(--md-elev-1);
  transition:box-shadow .3s var(--md-motion), transform .3s var(--md-motion);
}
.article-card:hover{ box-shadow:var(--md-elev-3); transform:translateY(-4px); }

.article-card__media{
  position:relative;
  aspect-ratio:16/10;
  overflow:hidden;
}
.article-card__media img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .8s var(--md-motion);
}
.article-card:hover .article-card__media img{ transform:scale(1.07); }
.article-card__media .tag{
  position:absolute;
  top:14px; left:14px;
  backdrop-filter:blur(8px);
  box-shadow:0 1px 3px rgba(0,0,0,.15);
}

.article-card__body{
  padding:22px 22px 24px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.article-card__meta{
  display:flex;
  gap:16px;
  font-size:.78rem;
  color:var(--md-on-surface-variant);
  margin-bottom:10px;
}
.article-card__meta span{ display:inline-flex; align-items:center; gap:5px; }
.article-card__meta .material-symbols-rounded{ font-size:15px; }

.article-card h3{
  font-size:1.18rem;
  font-weight:700;
  line-height:1.35;
  margin-bottom:10px;
}
.article-card h3 a{ transition:color .2s var(--md-motion); }
.article-card h3 a:hover{ color:var(--md-primary); }

.article-card .excerpt{
  font-size:.9rem;
  color:var(--md-on-surface-variant);
  line-height:1.6;
  margin-bottom:20px;
}

.article-card__foot{
  margin-top:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding-top:18px;
  border-top:1px solid;}

.read-link{
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:.82rem;
  font-weight:600;
  color:var(--md-primary);
  transition:gap .2s var(--md-motion);
}
.read-link:hover{ gap:9px; }
.read-link .material-symbols-rounded{ font-size:18px; }

/* =========================================================
   10 · NEWSLETTER
   ========================================================= */
.newsletter{
  position:relative;
  overflow:hidden;
  padding:60px 44px;
  border-radius:var(--md-shape-xl);
  background:var(--md-primary-container);
  color:var(--md-on-primary-container);
  text-align:center;
  box-shadow:var(--md-elev-1);
}
.newsletter::before{
  content:"";
  position:absolute;
  top:-120px; right:-120px;
  width:340px; height:340px;
  border-radius:50%;
  background:var(--md-secondary-container);
  opacity:.5;
  pointer-events:none;
}
.newsletter::after{
  content:"";
  position:absolute;
  bottom:-140px; left:-100px;
  width:300px; height:300px;
  border-radius:50%;
  background:var(--md-tertiary-container);
  opacity:.4;
  pointer-events:none;
}
.newsletter > *{ position:relative; z-index:2; }

.newsletter__icon{
  font-size:44px !important;
  color:var(--md-primary);
  margin-bottom:14px;
}
.newsletter h2{
  font-size:clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom:12px;
  color:var(--md-on-primary-container);
}
.newsletter p{
  font-size:1rem;
  opacity:.85;
  max-width:480px;
  margin:0 auto 30px;
}

.news-form{
  display:flex;
  gap:12px;
  max-width:520px;
  margin:0 auto;
  flex-wrap:wrap;
}
.news-form input{
  flex:1;
  min-width:220px;
  height:56px;
  padding:0 22px;
  border-radius:100px;
  border:1px solid transparent;
  background:var(--md-surface-container-lowest);
  color:var(--md-on-surface);
  font-family:inherit;
  font-size:.96rem;
  outline:none;
  transition:border-color .2s var(--md-motion), box-shadow .2s var(--md-motion);
}
.news-form input::placeholder{ color:var(--md-on-surface-variant); }
.news-form input:focus{ border-color:var(--md-primary); box-shadow:0 0 0 3px color-mix(in srgb, var(--md-primary) 20%, transparent); }
.news-form button{
  height:56px;
  padding:0 32px;
  border:0;
  border-radius:100px;
  background:var(--md-primary);
  color:var(--md-on-primary);
  font-weight:600;
  font-size:.95rem;
  cursor:pointer;
  transition:background .2s var(--md-motion), transform .15s var(--md-motion);
  box-shadow:var(--md-elev-1);
}
.news-form button:hover{ background:var(--md-primary-hover); }
.news-form button:active{ transform:scale(.98); }

/* =========================================================
   11 · FOOTER
   ========================================================= */
.site-footer{
     background: var(--md-surface-container-low);
    border-top: 1px solid var(--md-outline-variant);
    padding: 64px 0 0;
    margin-top: 10px;
}
.site-footer .brand{ color:var(--md-on-surface); margin-bottom:16px; }
.footer-about{
  font-size:.92rem;
  color:var(--md-on-surface-variant);
  
  line-height:1.7;
}

.footer-title{
  font-family:'Roboto', sans-serif;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--md-on-surface);
  margin-bottom:18px;
}
.footer-links li{ margin-bottom:10px; }
.footer-links a{
  display:inline-block;
  font-size:.9rem;
  color:var(--md-on-surface-variant);
  transition:color .2s var(--md-motion), transform .2s var(--md-motion);
}
.footer-links a:hover{ color:var(--md-primary); transform:translateX(4px); }

.socials{
  display:flex;
  gap:10px;
  margin-top:22px;
}
.socials a{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--md-surface-container-high);
  color:var(--md-on-surface-variant);
  transition:background .2s var(--md-motion), color .2s var(--md-motion), transform .15s var(--md-motion);
}
.socials a:hover{
  background:var(--md-primary);
  color:var(--md-on-primary);
  transform:translateY(-2px);
}
.socials .material-symbols-rounded{ font-size:20px; }

.footer-bottom{
    margin-top: 24px;
    padding: 10px 0;
    border-top: 1px solid;
    disply: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0px;
    font-size: .82rem;
    color: var(--md-on-surface-variant);
}
.footer-bottom .heart{ color:var(--md-error); font-size:16px !important; vertical-align:-3px; }

/* =========================================================
   12 · FAB (scroll to top)
   ========================================================= */
.fab{
  position:fixed;
  bottom:26px;
  right:26px;
  width:56px;
  height:56px;
  border:0;
  border-radius:var(--md-shape-lg);
  background:var(--md-primary-container);
  color:var(--md-on-primary-container);
  display:grid;
  place-items:center;
  box-shadow:var(--md-elev-3);
  cursor:pointer;
  opacity:0;
  transform:translateY(16px) scale(.9);
  pointer-events:none;
  transition:opacity .25s var(--md-motion), transform .3s var(--md-motion-emph), box-shadow .2s var(--md-motion);
  z-index:800;
}
.fab.visible{ opacity:1; transform:none; pointer-events:auto; }
.fab:hover{ box-shadow:var(--md-elev-4); }
.fab .material-symbols-rounded{ font-size:26px; }

/* =========================================================
   13 · REVEAL
   ========================================================= */
.reveal{
  opacity:0;
  transform:translateY(22px);
  transition:opacity .7s var(--md-motion), transform .7s var(--md-motion);
}
.reveal.in{ opacity:1; transform:none; }

/* =========================================================
   14 · RESPONSIVE
   ========================================================= */
@media (max-width: 1100px){
  .hero__grid{ gap:36px; }
  .featured-card__body{ padding:36px; }
}

@media (max-width: 991px){
  .nav{ display:none; }
  .burger{ display:grid; place-items:center; }
  .app-bar__inner{ height:64px; }

  .hero{ padding:40px 0 56px; }
  .hero__grid{ grid-template-columns:1fr; gap:44px; }
  .hero__visual{ max-width:560px; margin:0 auto; width:100%; }

  .featured-card{ grid-template-columns:1fr; }
  .featured-card__media{ min-height:280px; }
  .featured-card__body{ padding:32px; }

  .section{ padding:60px 0; }
  .section-head{ margin-bottom:32px; }
}

@media (max-width: 767px){
    .chip-row {
    display: block;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    white-space: nowrap;
    overflow: auto;
}
  .hero__title{ letter-spacing:-.02em; font-size: 24px; }
  .hero__lead{ font-size:1rem; }
  .hero-card__overlay h3{ font-size:1.25rem; }
  .hero-badge{ padding:10px 14px; top:-10px; right:-6px; }

  .newsletter{ padding:44px 22px; border-radius:20px; }
  .chip{ padding:8px 15px; font-size:.82rem; }
  .chip .material-symbols-rounded{ font-size:16px; }
  .section-head__title{ font-size:1.7rem; }

  .article-card__body{ padding:18px 18px 20px; }
  .article-card h3{ font-size:1.08rem; }

  .footer-bottom{ justify-content:center; text-align:center; }
}

@media (max-width: 575px){
  .app-bar__actions .icon-btn{ width:40px; height:40px; }
  .theme-toggle__track{ width:46px; height:28px; }
  .theme-toggle__thumb{ width:20px; height:20px; left:2px; }
  [data-theme="dark"] .theme-toggle__thumb{ transform:translate(18px, -50%); }

  .hero__actions .btn{ flex:1; }
  .search-field{ height:54px; padding-left:16px; }
  .search-field__btn{ width:44px; height:44px; }

  .news-form{ flex-direction:column; }
  .news-form button{ width:100%; }

  .featured-card__body{ padding:24px; }
  .featured-card__foot{ flex-direction:column; align-items:flex-start; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
}

.hero{  background-image: 
    linear-gradient(135deg, rgb(245 214 255) 0%, rgb(19 178 185 / 30%) 100%), url(./img/hero-bner.webp);
  background-size: cover;
  background-position: top center;
  background-blend-mode: normal;}


  /* category */

  /* =========================================
   CATEGORY HERO & BREADCRUMB
   ========================================= */

.category-hero {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}
.category-hero__bg {
  position: absolute; inset: 0; z-index: 0;
}
.category-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.4) blur(2px);
}
.category-hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, #2296b4 0%, #25386805 100%);
}
[data-theme="dark"] .category-hero__overlay {
  background: linear-gradient(to top, #121212 0%, rgba(18,18,18,0.6) 100%);
}

.category-hero__content {
  position: relative; z-index: 2; text-align: center; max-width: 800px; margin: 0 auto;
}

.breadcrumb-custom {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
  padding: 6px 16px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 24px; font-size: 0.85rem; color: rgba(255,255,255,0.9);
}
.breadcrumb-custom a { color: rgba(255,255,255,0.7); }
.breadcrumb-custom a:hover { color: #fff; }
.breadcrumb-custom .material-symbols-rounded { font-size: 16px; }

.category-hero h1 {
  font-size: 39px;
  color: #fff; margin-bottom: 16px; letter-spacing: -1px;
}
.category-hero p {
  font-size: 1.15rem; color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto;
}

/* =========================================
   BLOG LIST CARDS
   ========================================= */
.section-title-wrap {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid #E0E0E0;
}
[data-theme="dark"] .section-title-wrap { border-bottom-color: #3C4043; }

.section-title {
  font-size: 1.75rem; margin: 0; display: flex; align-items: center; gap: 12px;
}
.section-title::before {
  content: ''; width: 4px; height: 28px; background: #1A73E8;
  border-radius: 4px; display: block;
}
[data-theme="dark"] .section-title::before { background: #8AB4F8; }

.blog-card {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
  display: flex; flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: transparent;
}
[data-theme="dark"] .blog-card { background: #1E1E1E; border-color: #3C4043; }
[data-theme="dark"] .blog-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.5); }

.blog-card__img {
  aspect-ratio: 16/9; overflow: hidden; position: relative;
}
.blog-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card__img img { transform: scale(1.05); }

.blog-card__badge {
  position: absolute; top: 16px; left: 16px;
  background: #FFFFFF; color: #1A73E8;
  padding: 4px 12px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
[data-theme="dark"] .blog-card__badge { background: #1E1E1E; color: #8AB4F8; box-shadow: 0 1px 3px rgba(0,0,0,0.3); }

.blog-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card__meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.85rem; color: #5F6368; margin-bottom: 12px;
}
[data-theme="dark"] .blog-card__meta { color: #9AA0A6; }
.blog-card__meta .material-symbols-rounded { font-size: 16px; }

.blog-card__title {
  font-size: 1.35rem; margin-bottom: 12px; line-height: 1.3;
}
.blog-card__title a:hover { color: #1A73E8; }
[data-theme="dark"] .blog-card__title a:hover { color: #8AB4F8; }

.blog-card__excerpt {
  font-size: 0.95rem; color: #5F6368; margin-bottom: 20px; flex: 1;
}
[data-theme="dark"] .blog-card__excerpt { color: #9AA0A6; }

.blog-card__footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid #E0E0E0;
}
[data-theme="dark"] .blog-card__footer { border-top-color: #3C4043; }

.author-chip {
  display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; color: #1F1F1F;
}
[data-theme="dark"] .author-chip { color: #E8EAED; }
.author-chip img {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
}
.read-more {
  font-size: 0.9rem; font-weight: 600; color: #1A73E8;
  display: flex; align-items: center; gap: 4px;
}
[data-theme="dark"] .read-more { color: #8AB4F8; }
.read-more:hover { gap: 8px; }

/* Pagination */
.pagination-custom {
  display: flex; justify-content: center; gap: 8px; margin-top: 48px;
}
.page-link {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid #E0E0E0;
  display: grid; place-items: center; font-weight: 500; color: #5F6368;
  transition: all 0.2s;
}
[data-theme="dark"] .page-link { border-color: #3C4043; color: #9AA0A6; }
.page-link:hover, .page-link.active {
  background: #1A73E8; color: #fff; border-color: #1A73E8;
}
[data-theme="dark"] .page-link:hover, [data-theme="dark"] .page-link.active {
  background: #8AB4F8; color: #121212; border-color: #8AB4F8;
}

/* =========================================
   CREATIVE SIDEBAR: "THE CURATOR'S DESK"
   ========================================= */
.curators-desk {
  position: sticky;
  top: 100px;
  display: flex; flex-direction: column; gap: 24px;
}

.widget {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow 0.3s, background 0.3s, border-color 0.3s;
}
.widget:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
[data-theme="dark"] .widget { background: #1E1E1E; border-color: #3C4043; }
[data-theme="dark"] .widget:hover { box-shadow: 0 4px 12px rgba(0,0,0,0.4); }

.widget-spotlight {
  background: linear-gradient(135deg, #D3E3FD 0%, #FFFFFF 100%);
  border: 1px solid #1A73E8;
  position: relative; overflow: hidden;
}
[data-theme="dark"] .widget-spotlight {
  background: linear-gradient(135deg, #1F3A5F 0%, #1E1E1E 100%);
  border-color: #8AB4F8;
}
.widget-spotlight::before {
  content: '★'; position: absolute; top: -10px; right: -10px;
  font-size: 80px; color: #1A73E8; opacity: 0.1;
}
[data-theme="dark"] .widget-spotlight::before { color: #8AB4F8; }

.widget-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 1.5px; color: #1A73E8; margin-bottom: 16px;
  display: flex; align-items: center; gap: 6px;
}
[data-theme="dark"] .widget-label { color: #8AB4F8; }

.spotlight-card {
  display: flex; gap: 16px; align-items: flex-start;
}
.spotlight-card img {
  width: 80px; height: 80px; border-radius: 8px;
  object-fit: cover; flex-shrink: 0;
}
.spotlight-card h4 {
  font-size: 1.1rem; margin-bottom: 8px; line-height: 1.3;
}
.spotlight-card h4 a:hover { color: #1A73E8; }
[data-theme="dark"] .spotlight-card h4 a:hover { color: #8AB4F8; }
.spotlight-meta { font-size: 0.8rem; color: #5F6368; }
[data-theme="dark"] .spotlight-meta { color: #9AA0A6; }

.trending-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 20px; }
.trending-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding-bottom: 20px; border-bottom: 1px solid #E0E0E0;
}
[data-theme="dark"] .trending-item { border-bottom-color: #3C4043; }
.trending-item:last-child { border-bottom: none; padding-bottom: 0; }

.trending-num {
  font-family: 'Roboto Serif', serif;
  font-size: 2.5rem; font-weight: 800; font-style: italic;
  color: #E0E0E0; line-height: 1;
  transition: color 0.3s;
}
[data-theme="dark"] .trending-num { color: #3C4043; }
.trending-item:hover .trending-num { color: #E8710A; }

.trending-content h5 {
  font-family: 'Roboto', sans-serif; font-size: 1rem; font-weight: 600;
  margin-bottom: 4px; line-height: 1.4;
}
.trending-content h5 a:hover { color: #E8710A; }
.trending-content span { font-size: 0.8rem; color: #5F6368; }
[data-theme="dark"] .trending-content span { color: #9AA0A6; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-chip {
  padding: 8px 16px; border-radius: 50px;
  background: #FAFAFA; border: 1px solid #E0E0E0;
  font-size: 0.85rem; font-weight: 500; color: #5F6368;
  transition: all 0.2s; display: flex; align-items: center; gap: 6px;
}
[data-theme="dark"] .tag-chip { background: #121212; border-color: #3C4043; color: #9AA0A6; }
.tag-chip:hover {
  background: #1A73E8; color: #fff; border-color: #1A73E8;
  transform: translateY(-2px); box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
[data-theme="dark"] .tag-chip:hover { box-shadow: 0 1px 3px rgba(0,0,0,0.3); }
.tag-chip .material-symbols-rounded { font-size: 16px; }

.widget-newsletter {
  background: #1F1F1F; color: #FAFAFA;
  border: none; text-align: center;
}
[data-theme="dark"] .widget-newsletter { background: #1E1E1E; border: 1px solid #3C4043; color: #E8EAED; }
.widget-newsletter h4 { color: inherit; font-size: 1.25rem; margin-bottom: 8px; }
.widget-newsletter p { font-size: 0.9rem; opacity: 0.8; margin-bottom: 16px; }
.newsletter-input-group {
  display: flex; gap: 8px;
}
.newsletter-input-group input {
  flex: 1; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; padding: 10px 14px; color: inherit;
  font-size: 0.9rem; outline: none;
}
[data-theme="dark"] .newsletter-input-group input { background: #121212; border-color: #3C4043; }
.newsletter-input-group button {
  background: #1A73E8; color: #fff; border: none;
  border-radius: 8px; padding: 10px 16px; cursor: pointer;
  transition: background 0.2s;
}
[data-theme="dark"] .newsletter-input-group button { background: #8AB4F8; color: #121212; }
.newsletter-input-group button:hover { background: #E8710A; color: #fff; }
[data-theme="dark"] .newsletter-input-group button:hover { background: #E8710A; color: #fff; }

.category-hero{padding: 40px 0px;}



/* single */

/* =========================================================
   BREADCRUMB
   ========================================================= */
/* =========================================================
   BREADCRUMB
   ========================================================= */
.breadcrum-new{padding:18px 0;border-bottom:1px solid #C4C6D0;background:#F5F2F7;}
.breadcrum-new ol{display:flex;align-items:center;flex-wrap:wrap;gap:6px;list-style:none;padding:0;margin:0;font-size:.8rem;font-weight:500;color:#44474E;}
.breadcrum-new li{display:flex;align-items:center;gap:6px;line-height:1.4;}
.breadcrum-new li:not(:last-child)::after{content:"/";color:#C4C6D0;font-weight:300;margin:0 2px;}
.breadcrum-new a{color:#44474E;transition:color .2s cubic-bezier(.2,0,0,1);}
.breadcrum-new a:hover{color:#2F5BA6;}
.breadcrum-new li[aria-current="page"]{color:#1B1B1F;font-weight:600;}
/* =========================================================
   BLOG DETAIL SHELL
   ========================================================= */

.author-chip{display:flex;align-items:center;gap:12px;}
.author-chip .avatar{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,#2F5BA6,#00696B);color:#fff;display:grid;place-items:center;font-family:'Roboto Serif',serif;font-size:.92rem;font-weight:700;flex-shrink:0;box-shadow:0 1px 2px rgba(0,0,0,.30),0 1px 3px 1px rgba(0,0,0,.15);}
.author-chip__name{font-weight:600;font-size:.94rem;color:#1B1B1F;line-height:1.3;}
.author-chip__role{font-size:.78rem;color:#44474E;}
.byline-main{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.byline-dot{width:4px;height:4px;border-radius:50%;background:#C4C6D0;}
.byline-item{display:inline-flex;align-items:center;gap:6px;font-size:.85rem;color:#44474E;font-weight:500;}
.byline-item i{font-size:.85rem;}
.byline-share{display:flex;gap:6px;}
   .byline-share{display:flex;gap:6px;}
.share-btn{width:38px;height:38px;border:1px solid #C4C6D0;border-radius:50%;background:transparent;color:#44474E;display:grid;place-items:center;cursor:pointer;font-size:.9rem;transition:all .2s cubic-bezier(.2,0,0,1);}
.share-btn:hover{background:#2F5BA6;color:#FFFFFF;border-color:#2F5BA6;transform:translateY(-2px);}


.article-media{position: relative;
    border-radius: 28px;
    overflow: hidden;
    aspect-ratio: 21 / 9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .30), 0 4px 8px 3px rgba(0, 0, 0, .15);
    background: #EFEDF2;}

.blog-detail{
  padding:40px 0px;
  background:var(--md-surface, #FBF8FD);
}

/* =========================================================
   MASTHEAD (asymmetric title + vertical meta)
   ========================================================= */
.article-masthead{
  display:grid;
  grid-template-columns:minmax(0,1fr) 260px;
  gap:0;
  margin-bottom:24px;
}
.article-masthead__main{ padding-right:56px; }

.article-kicker{
  display:inline-flex;
  align-items:center;
  gap:12px;
  font-family:'Roboto Mono', 'Courier New', monospace;
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:#2F5BA6;
  margin-bottom:28px;
}
.article-kicker::before{
  content:"";
  width:32px;
  height:1px;
  background:currentColor;
}

.article-title{
     font-family: 'Roboto Serif', Georgia, serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 0.2px;
    color: #324c8a;
    margin: 0 0 10px;
}
.article-title em{
  font-style:italic;
  font-weight:600;
  color:#2F5BA6;
}

.article-lede{
  font-family:'Roboto', system-ui, sans-serif;
  font-size:1.14rem;
  line-height:1.65;
  color:var(--md-on-surface-variant, #44474E);
  max-width:600px;
  margin:0 0 40px;
}

/* Byline */
.article-byline{
display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding-top: 26px;
    border-top: 1px solid #1196c0;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 11px;
    border-radius: 20px;
    box-shadow: 0px 1px 3px 0px #34497d;
}

/* Vertical meta column */
.article-meta{
  border-left:1px solid #C4C6D0;
  padding-left:32px;
  align-self:start;
}
.meta-row{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding:14px 0;
  border-bottom:1px solid #C4C6D0;
}
.meta-row:first-child{ padding-top:0; }
.meta-row:last-child{ border-bottom:0; padding-bottom:0; }

.meta-label{
    font-family: 'Roboto Mono', 'Courier New', monospace;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #365b99;
}
.meta-value{
  font-family:'Roboto Serif', Georgia, serif;
  font-size:.98rem;
  font-weight:500;
  color:var(--md-on-surface, #1B1B1F);
}

/* =========================================================
   FEATURE IMAGE (magazine style)
   ========================================================= */
.article-media{
  margin:0 0 24px;
}
.article-media img{
  width:100%;
  aspect-ratio:21/9;
  object-fit:cover;
  background:var(--md-surface-container, #EFEDF2);
}

/* =========================================================
   ARTICLE GRID (content + sidebar)
   ========================================================= */
.article-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:80px;
  align-items:start;
}

/* =========================================================
   POST CONTENT — the reader
   ========================================================= */
.post-content{
  counter-reset:section;
  font-family:'Roboto', system-ui, sans-serif;
  font-size:1.06rem;
  line-height:1.8;
  color:var(--md-on-surface-variant, #44474E);
}
.post-content p{ margin:0 0 1.4em; }

/* Drop cap on first paragraph */
.post-content > p:first-of-type{
  font-size:1.12rem;
  color:var(--md-on-surface, #1B1B1F);
}
.post-content > p:first-of-type::first-letter{
  font-family:'Roboto Serif', Georgia, serif;
  font-size:5em;
  font-weight:800;
  float:left;
  line-height:.82;
  margin:.06em .1em 0 0;
  color:#2F5BA6;
}

/* H2 — chapter marker */
.post-content h2{font-size: 27px;
    margin: .6em 0 1em;
    color: #0b0b0b;
    border-left: 2px solid #2f5c94;
    padding-left: 18px;}



/* H3 — italic serif, small accent dash */
.post-content h3{font-size: 24px;
    margin: .6em 0 1em;
    color: #0b0b0b;
    border-left: 2px solid #2f5c94;
    padding-left: 18px;
}


/* H4 — with mini hairline */
.post-content h4{font-size: 20px;
    margin: .6em 0 1em;
    color: #0b0b0b;
    border-left: 2px solid #2f5c94;
    padding-left: 18px;
}


/* H5 — mono kicker */
.post-content h5{font-size: 18px;
    margin: .6em 0 1em;
    color: #0b0b0b;
    border-left: 2px solid #2f5c94;
    padding-left: 18px;
}

/* H6 — small serif subtitle */
.post-content h6{
  margin:1.6em 0 .5em;
  font-family:'Roboto Serif', Georgia, serif;
  font-size:1rem;
  font-weight:700;
  color:var(--md-on-surface, #1B1B1F);
}

/* Links */
.post-content a{
  color:#2F5BA6;
  font-weight:500;
  text-decoration:none;
  border-bottom:1px dotted currentColor;
  transition:border-color .2s ease;
}
.post-content a:hover{ border-bottom-style:solid; }

/* UL — hairline ticks */
.post-content ul{
  list-style:none;
  padding:0;
  margin:0 0 1.6em;
}
.post-content ul li{
  position:relative;
  padding-left:1.7em;
  margin-bottom:.55em;
}
.post-content ul li::before {
    content: "";
    position: absolute;
    left: .25em;
    top: .72em;
    width: 7px;
    height: 7px;
    border-radius: 2px;
    background: #2F5BA6;
    transform: rotate(45deg);
}

/* OL — mono numerals in gutter */
.post-content ol{
  counter-reset:item;
  list-style:none;
  padding:0;
  margin:0 0 1.6em;
}
.post-content ol li{
      counter-increment: list;
  position:relative;
  padding-left:2.4em;
  margin-bottom:.85em;
}
.post-content ol li::before{
 content: counter(list);
    position: absolute;
    left: 0;
    top: .15em;
    width: 1.7em;
    height: 1.7em;
    border-radius: 50%;
    background: #D8E2FF;
    color: #001A41;
    font-family: 'Roboto', sans-serif;
    font-size: .72em;
    font-weight: 700;
    display: grid;
    place-items: center;
}

/* Nested lists */
.post-content li > ul,
.post-content li > ol{
  margin:.7em 0 .2em;
}



/* Inline code */
.post-content code{
  font-family:'Roboto Mono', 'Courier New', monospace;
  font-size:.86em;
  padding:2px 6px;
  background:var(--md-surface-container-high, #E9E7EC);
  color:#2F5BA6;
}

/* Divider — decorative */


/* =========================================================
   TAGS — mono hashtags
   ========================================================= */
.post-tags{
  display:flex;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  padding:28px 0;
  margin-top:44px;
  border-top:1px solid #C4C6D0;
  border-bottom:1px solid #C4C6D0;
}
.tag-label{
  font-family:'Roboto Mono', 'Courier New', monospace;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--md-on-surface-variant, #44474E);
}
.post-tag{
  font-family:'Roboto Mono', 'Courier New', monospace;
  font-size:.82rem;
  font-weight:500;
  color:#2F5BA6;
  text-decoration:none;
  transition:color .2s ease;
}
.post-tag:hover{ color:var(--md-on-surface, #1B1B1F); }

/* =========================================================
   AUTHOR
   ========================================================= */
.author-card{position:relative;margin-top:44px;padding:32px;border-radius:28px;background:#F5F2F7;border:1px solid #C4C6D0;overflow:hidden;}
.author-card::before{content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,#2F5BA6,#00696B);}
.author-card__header{display:flex;align-items:center;gap:18px;margin-bottom:18px;flex-wrap:wrap;}
.author-card__avatar{width:70px;height:70px;border-radius:50%;background:linear-gradient(135deg,#2F5BA6,#00696B);color:#fff;display:grid;place-items:center;font-family:'Roboto Serif',serif;font-size:1.35rem;font-weight:700;flex-shrink:0;box-shadow:0 1px 2px rgba(0,0,0,.30),0 2px 6px 2px rgba(0,0,0,.15);}
.author-card__info{flex:1;min-width:180px;}
.author-card__name{font-size:1.22rem;font-weight:700;margin-bottom:4px;}
.author-card__role{font-size:.85rem;color:#44474E;}
.author-card__bio{font-size:.95rem;color:#44474E;line-height:1.7;margin-bottom:22px;}
.author-card__footer{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;}
.author-socials{display:flex;gap:8px;}
.author-socials a{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#E9E7EC;color:#44474E;font-size:.9rem;transition:all .2s cubic-bezier(.2,0,0,1);}
.author-socials a:hover{background:#2F5BA6;color:#FFFFFF;transform:translateY(-2px);}

.post-nav{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:32px;}
.post-nav__link{display:block;padding:22px 24px;border-radius:16px;background:#F5F2F7;border:1px solid #C4C6D0;transition:all .25s cubic-bezier(.2,0,0,1);}
.post-nav__link:hover{border-color:#2F5BA6;transform:translateY(-3px);box-shadow:0 1px 2px rgba(0,0,0,.30),0 2px 6px 2px rgba(0,0,0,.15);}
.post-nav__label{display:flex;align-items:center;gap:6px;font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:#2F5BA6;margin-bottom:10px;}
.post-nav__title{font-family:'Roboto Serif',serif;font-size:1rem;font-weight:600;line-height:1.35;color:#1B1B1F;display:block;}
.post-nav__next{text-align:right;}
.post-nav__next .post-nav__label{justify-content:flex-end;}
/* =========================================================
   PREV / NEXT — stacked editorial
   ========================================================= */
.post-next{
  margin-top:32px;
}
.post-next__link{
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:24px 0;
  border-top:1px solid #C4C6D0;
  text-decoration:none;
  transition:padding-left .25s ease;
}
.post-next__link:last-child{ border-bottom:1px solid #C4C6D0; }
.post-next__link:hover{ padding-left:16px; }
.post-next__label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:'Roboto Mono', 'Courier New', monospace;
  font-size:.68rem;
  font-weight:700;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#2F5BA6;
}
.post-next__title{
  font-family:'Roboto Serif', Georgia, serif;
  font-size:1.1rem;
  font-weight:600;
  line-height:1.35;
  color:var(--md-on-surface, #1B1B1F);
  transition:color .2s ease;
}
.post-next__link:hover .post-next__title{ color:#2F5BA6; }

/* =========================================================
   SIDEBAR — typographic rail (no card boxes)
   ========================================================= */
/* =========================================================
   SIDEBAR
   ========================================================= */
.sidebar{position:sticky;top:96px;max-height:calc(100vh - 110px);overflow-y:auto;padding-right:6px;scrollbar-width:none;}
.sidebar::-webkit-scrollbar{display:none;}

.widget{background:#F5F2F7;border:1px solid #C4C6D0;border-radius:16px;padding:24px;margin-bottom:20px;}
.widget:last-child{margin-bottom:0;}
.widget__title{display:flex;align-items:center;gap:10px;font-size:1.06rem;font-weight:700;margin-bottom:18px;}
.widget__title .dot{width:8px;height:8px;border-radius:50%;background:#2F5BA6;flex-shrink:0;}

.search-pill{display:flex;align-items:center;gap:10px;background:#E9E7EC;border-radius:100px;padding:4px 4px 4px 18px;height:52px;border:1px solid transparent;transition:all .2s cubic-bezier(.2,0,0,1);}
.search-pill:focus-within{border-color:#2F5BA6;background:#E3E1E6;}
.search-pill > i{color:#44474E;font-size:1rem;flex-shrink:0;}
.search-pill input{flex:1;border:0;background:transparent;outline:none;font-family:inherit;font-size:.92rem;color:#1B1B1F;min-width:0;}
.search-pill input::placeholder{color:#44474E;opacity:.85;}
.search-pill button{width:40px;height:40px;border:0;border-radius:50%;background:#2F5BA6;color:#FFFFFF;display:grid;place-items:center;cursor:pointer;font-size:.95rem;flex-shrink:0;transition:background .2s cubic-bezier(.2,0,0,1);}
.search-pill button:hover{background:#24509A;}

.category-list{margin:0;}
.category-list li{border-bottom:1px solid #C4C6D0;}
.category-list li:last-child{border-bottom:0;}
.category-list a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 0;font-size:.92rem;font-weight:500;color:#1B1B1F;transition:color .2s cubic-bezier(.2,0,0,1),padding .2s cubic-bezier(.2,0,0,1);}
.category-list a:hover{color:#2F5BA6;padding-left:6px;}
.category-list .count{font-family:'Roboto Mono',monospace;font-size:.72rem;font-weight:600;padding:3px 10px;border-radius:100px;background:#E9E7EC;color:#44474E;}

.recent-list{display:flex;flex-direction:column;gap:2px;}
.recent-item{display:flex;gap:14px;padding:10px;border-radius:12px;transition:background .2s cubic-bezier(.2,0,0,1);}
.recent-item:hover{background:#EFEDF2;}
.recent-thumb{width:70px;height:70px;border-radius:8px;overflow:hidden;flex-shrink:0;background:#E9E7EC;}
.recent-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,0,0,1);}
.recent-item:hover .recent-thumb img{transform:scale(1.08);}
.recent-body{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;}
.recent-date{font-family:'Roboto Mono',monospace;font-size:.68rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#44474E;margin-bottom:4px;}
.recent-title{font-family:'Roboto Serif',serif;font-size:.88rem;font-weight:600;line-height:1.35;color:#1B1B1F;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}

.widget--cta{position:relative;overflow:hidden;background:linear-gradient(135deg,#2F5BA6 0%,#00696B 100%);border:0;color:#fff;padding:28px 24px;}
.widget--cta::before{content:"";position:absolute;top:-60px;right:-60px;width:180px;height:180px;border-radius:50%;background:rgba(255,255,255,.1);pointer-events:none;}
.widget--cta::after{content:"";position:absolute;bottom:-70px;left:-50px;width:160px;height:160px;border-radius:50%;background:rgba(255,255,255,.08);pointer-events:none;}
.widget--cta > *{position:relative;z-index:2;}
.widget__kicker{display:block;font-family:'Roboto Mono',monospace;font-size:.68rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;opacity:.85;margin-bottom:8px;}
.widget--cta h3{font-size:1.35rem;line-height:1.2;color:#fff;margin-bottom:8px;}
.widget--cta p{font-size:.88rem;opacity:.92;margin-bottom:18px;line-height:1.6;}
.widget--cta .btn--full{background:#fff;color:#2F5BA6;box-shadow:none;}
.widget--cta .btn--full:hover{background:#f5f2f7;}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:1100px){
  .article-masthead{ grid-template-columns:minmax(0,1fr) 220px; }
  .article-masthead__main{ padding-right:32px; }
  .article-meta{ padding-left:24px; }
  .article-grid{ gap:52px; grid-template-columns:minmax(0,1fr) 280px; }
  .post-content blockquote{ margin-left:-1rem; margin-right:-1rem; padding:1.6em 1.6rem; }
}

@media (max-width:991px){
  .blog-detail{ padding:44px 0 64px; }

  .article-masthead{
    grid-template-columns:1fr;
    gap:32px;
    margin-bottom:40px;
  }
  .article-masthead__main{ padding-right:0; }
  .article-meta{
    border-left:0;
    padding-left:0;
    border-top:1px solid #C4C6D0;
    padding-top:22px;
    display:grid;
    grid-template-columns:repeat(5, 1fr);
    gap:0;
  }
  .meta-row{
    border-bottom:0;
    border-right:1px solid #C4C6D0;
    padding:0 16px !important;
  }
  .meta-row:first-child{ padding-left:0 !important; }
  .meta-row:last-child{ border-right:0; padding-right:0 !important; }

  .article-media{ margin-bottom:44px; }
  .article-media img{ aspect-ratio:16/10; }
  .article-media figcaption{ flex-direction:column; gap:6px; align-items:flex-start; }
  .media-caption{ text-align:left; }

  .article-grid{ grid-template-columns:1fr; gap:48px; }
  .sidebar-new{
    position:static;
    max-height:none;
    overflow:visible;
    padding-right:0;
    border-top:1px solid #C4C6D0;
    padding-top:32px;
  }
  .post-content blockquote{ margin-left:0; margin-right:0; }
}

@media (max-width:767px){
  .article-title{ letter-spacing:-.02em; }
  .article-lede{ font-size:1.02rem; margin-bottom:32px; }
  .article-byline{ gap:12px; }
  .byline-share{ margin-left:0; width:100%; margin-top:4px; }

  .article-meta{
    grid-template-columns:repeat(2, 1fr);
    gap:20px 16px;
    padding-top:20px;
  }
  .meta-row{
    border-right:0;
    padding:0 !important;
  }

  .post-content{ font-size:1rem; line-height:1.75; }
  .post-content > p:first-of-type::first-letter{ font-size:4em; }
  .post-content h2{ font-size:1.5rem; }
  .post-content h2::before{ font-size:2rem; }
  .post-content h3{ font-size:1.18rem; }
  .post-content blockquote{ font-size:1.18rem; padding:1.4em 1.4rem; }

  .post-author{ flex-direction:column; gap:20px; }
  .post-author__avatar{ width:64px; height:64px; font-size:1.2rem; }

  .post-next__link{ padding:20px 0; }
  .post-next__title{ font-size:1rem; }
}

@media (max-width:575px){
  .breadcrum-new{ padding:16px 0; }
  .breadcrum-new ol{ font-size:.72rem; }

  .article-kicker{ font-size:.66rem; letter-spacing:.16em; }
  .byline-share button{ width:34px; height:34px; font-size:.8rem; }

  .article-media img{ aspect-ratio:4/3; }

  .post-content h2::before{ font-size:1.75rem; }
  .post-tags{ gap:12px; }
  .side-cta{ padding:24px 20px !important; }
}


/* contact us */



.contact {
    background: #f7f9fc;
    color: #172033;
}

.contact-info {
    background: #102a43;
    color: #ffffff;
}

.contact-info p {
    color: #d5dfeb;
    line-height: 1.8;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 20px;
}

.contact-email {
    color: #ffffff;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-email:hover {
    text-decoration: underline;
}

.contact-form {
    background: #ffffff;
    border: 1px solid #e7ecf2;
    box-shadow: 0 12px 40px rgba(16, 42, 67, 0.05);
}

.contact-form .form-label {
    font-size: 14px;
    font-weight: 600;
    color: #26374a;
    margin-bottom: 8px;
}

.contact-form .form-control {
    min-height: 50px;
    border: 1px solid #dce3eb;
    border-radius: 10px;
    padding: 12px 15px;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form .form-control:focus {
    border-color: #2F5BA6;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.contact-form .btn-primary {
    background: #2F5BA6;
    border-color: #2F5BA6;
    transition: all 0.25s ease;
}

.contact-form .btn-primary:hover {
    background: #0b5ed7;
    border-color: #0b5ed7;
    transform: translateY(-2px);
}

@media (max-width: 767.98px) {
    .contact {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    .contact-info,
    .contact-form {
        padding: 25px !important;
    }
}



/* errpr */


/* 404 Error Page */
.error {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 80px 0;
    overflow: hidden;
    background: #f8fafc;
    color: #172033;
}

.error::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -100px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.06);
    pointer-events: none;
}

.error::after {
    content: "";
    position: absolute;
    bottom: -140px;
    left: -100px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(13, 110, 253, 0.05);
    pointer-events: none;
}

.error-content {
    position: relative;
    z-index: 1;
    padding: 30px 15px;
}

.error-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 76px;
    height: 76px;
    margin-bottom: 20px;
    border-radius: 24px;
    background: #e8f1ff;
    color: #2F5BA6;
    font-size: 36px;
}

.error-code {
    margin: 0;
    font-size: clamp(100px, 18vw, 190px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -8px;
    color: #2F5BA6;
}

.error-label {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 16px;
    border: 1px solid #dbeafe;
    border-radius: 50px;
    background: #eff6ff;
    color: #2F5BA6;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}

.error-title {
    margin: 25px 0 15px;
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 750;
    line-height: 1.3;
    color: #172033;
}

.error-description {
    max-width: 580px;
    margin: 0 auto;
    color: #64748b;
    font-size: 16px;
    line-height: 1.9;
}

.error-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.error-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-home {
    background: #2F5BA6;
    border: 1px solid #2F5BA6;
    color: #ffffff;
}

.btn-home:hover {
    background: #0b5ed7;
    border-color: #0b5ed7;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.2);
}

.btn-back {
    background: #ffffff;
    border: 1px solid #dce3eb;
    color: #334155;
}

.btn-back:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #172033;
    transform: translateY(-3px);
}

.error-help {
    margin-top: 35px;
    color: #64748b;
    font-size: 14px;
}

.error-help a {
    color: #2F5BA6;
    font-weight: 600;
    text-decoration: none;
}

.error-help a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 575.98px) {
    .error {
        min-height: 70vh;
        padding: 50px 0;
    }

    .error-content {
        padding: 20px 5px;
    }

    .error-icon {
        width: 62px;
        height: 62px;
        font-size: 30px;
        border-radius: 18px;
    }

    .error-code {
        letter-spacing: -5px;
    }

    .error-title {
        margin-top: 22px;
    }

    .error-description {
        font-size: 15px;
    }

    .error-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .error-actions .btn {
        width: 100%;
    }
}
