/* === SM AGAMA NURUDDIN SANDAKAN — LANDING PAGE === */
:root{
  --navy:#0f2a55;
  --navy-2:#1a3a73;
  --gold:#f5b500;
  --gold-2:#e89c00;
  --green:#1d6f4e;
  --ink:#0c1530;
  --muted:#5a6680;
  --line:#e6ebf2;
  --bg:#fbfbfd;
  --bg-alt:#f4f7fb;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;height:auto}
a{color:var(--navy);text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:0 24px}

/* === Top strip === */
.top-strip{background:var(--navy);color:#d8e1f5;font-size:13px;padding:8px 0}
.top-strip .container{display:flex;flex-wrap:wrap;gap:24px;justify-content:center}
.top-strip span{display:inline-flex;align-items:center;gap:6px}

/* === Navbar === */
.navbar{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--line);z-index:100;box-shadow:0 2px 12px rgba(15,42,85,.04)}
.nav-flex{display:flex;align-items:center;justify-content:space-between;padding:14px 24px;gap:16px}
.brand{display:flex;align-items:center;gap:12px;color:var(--navy)}
.brand-logo{width:54px;height:54px;object-fit:contain;mix-blend-mode:multiply}
.brand-name{font-weight:800;font-size:17px;letter-spacing:.5px;color:var(--navy)}
.brand-sub{font-size:11px;color:var(--muted);font-weight:500}
.nav-links{display:flex;gap:6px;list-style:none;align-items:center}
.nav-links a{padding:8px 14px;border-radius:8px;font-weight:600;font-size:14px;color:var(--ink);transition:.2s}
.nav-links a:hover{background:var(--bg-alt);color:var(--navy)}
.btn-nav{background:var(--navy);color:#fff !important;padding:9px 18px !important}
.btn-nav:hover{background:var(--navy-2) !important}
.btn-portal{background:#fff !important;color:var(--navy) !important;border:1.5px solid var(--navy);padding:9px 16px !important;font-size:13px !important}
.btn-portal:hover{background:var(--navy) !important;color:#fff !important}
.hamburger{display:none;background:none;border:none;font-size:26px;cursor:pointer;color:var(--navy)}

/* === Hero === */
.hero{position:relative;color:#fff;padding:90px 0 110px;overflow:hidden;min-height:680px;display:flex;align-items:center}
.hero-bg{position:absolute;inset:0;background-size:cover;background-position:center;filter:blur(2px) brightness(.55);z-index:0}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(135deg,rgba(15,42,85,.92) 0%,rgba(29,111,78,.78) 100%);z-index:1}
.hero-content{position:relative;z-index:2}
.hero-pill{display:inline-block;background:rgba(255,255,255,.15);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.25);padding:8px 18px;border-radius:999px;font-size:13px;font-weight:600;margin-bottom:24px;letter-spacing:.3px}
.hero-title{font-size:clamp(32px,5vw,56px);line-height:1.15;font-weight:800;margin-bottom:20px;letter-spacing:-.5px}
.hero-title .accent{color:var(--gold)}
.hero-sub{font-size:18px;max-width:680px;opacity:.92;margin-bottom:36px;font-weight:400}
.hero-stats{display:flex;flex-wrap:wrap;gap:24px;margin-bottom:40px}
.hero-stats .stat{background:rgba(255,255,255,.12);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.18);padding:18px 24px;border-radius:14px;min-width:140px}
.hero-stats .stat b{display:block;font-size:32px;font-weight:800;color:var(--gold);line-height:1}
.hero-stats .stat span{font-size:12px;opacity:.85;margin-top:6px;display:block;letter-spacing:.3px}
.hero-cta{display:flex;gap:14px;flex-wrap:wrap}

/* === Buttons === */
.btn{display:inline-block;padding:14px 28px;border-radius:10px;font-weight:700;font-size:15px;cursor:pointer;border:none;transition:.2s;text-align:center}
.btn-primary{background:var(--gold);color:var(--navy);box-shadow:0 6px 18px rgba(245,181,0,.35)}
.btn-primary:hover{background:var(--gold-2);transform:translateY(-2px);box-shadow:0 8px 22px rgba(245,181,0,.45)}
.btn-ghost{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.4)}
.btn-ghost:hover{background:rgba(255,255,255,.1);border-color:#fff}
.btn-ghost-light{background:transparent;color:#fff;border:2px solid rgba(255,255,255,.5);padding:12px 22px;font-size:14px}
.btn-ghost-light:hover{background:rgba(255,255,255,.15)}
.btn-lg{padding:18px 36px;font-size:16px}

/* === Motto === */
.motto{background:var(--navy);color:#fff;padding:50px 0}
.motto-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.motto-card{text-align:center;padding:30px 20px;border-right:1px solid rgba(255,255,255,.12)}
.motto-card:last-child{border-right:none}
.motto-num{font-size:60px;font-family:'Amiri',serif;color:var(--gold);font-weight:700;line-height:1;margin-bottom:10px}
.motto-card h3{font-size:24px;font-weight:800;letter-spacing:2px;margin-bottom:8px}
.motto-card p{font-size:14px;opacity:.85;max-width:280px;margin:0 auto}

/* === Sections === */
.section{padding:90px 0}
.alt-bg{background:var(--bg-alt)}
.section-head{max-width:760px;margin:0 auto 50px}
.section-head.center{text-align:center}
.kicker{display:inline-block;font-size:12px;font-weight:700;letter-spacing:2px;color:var(--gold-2);text-transform:uppercase;margin-bottom:12px}
.kicker.light{color:var(--gold)}
.section-head h2{font-size:clamp(28px,3.5vw,42px);font-weight:800;line-height:1.2;letter-spacing:-.5px;color:var(--navy);margin-bottom:16px}
.section-head p{font-size:16px;color:var(--muted)}

/* === Identiti === */
.identiti-grid{display:grid;grid-template-columns:1fr 1.1fr;gap:50px;align-items:center}
.identiti-img{display:flex;flex-direction:column;align-items:center;gap:18px}
.identiti-img img{
  width:100%;
  max-width:440px;
  aspect-ratio:1/1;
  object-fit:contain;
  background:linear-gradient(135deg,#f4f7fb 0%,#e8eef7 100%);
  padding:36px;
  border-radius:24px;
  box-shadow:0 20px 50px rgba(15,42,85,.18);
}
.identiti-caption{
  font-family:'Amiri',serif;
  font-style:italic;
  font-size:17px;
  color:var(--gold-2);
  text-align:center;
  font-weight:700;
}
.identiti-list{display:grid;gap:18px}
.identiti-item{display:flex;gap:18px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 22px;transition:.25s}
.identiti-item:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(15,42,85,.1);border-color:var(--gold)}
.ii-icon{font-size:30px;flex-shrink:0;width:50px;height:50px;display:flex;align-items:center;justify-content:center;background:var(--bg-alt);border-radius:12px}
.identiti-item h4{font-size:16px;font-weight:700;margin-bottom:4px;color:var(--navy)}
.identiti-item p{font-size:14px;color:var(--muted)}

/* === Info grid === */
.info-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:50px;align-items:center}
.info-grid h2{font-size:clamp(26px,3vw,36px);font-weight:800;line-height:1.2;color:var(--navy);margin:14px 0 18px}
.info-grid p{color:var(--muted);margin-bottom:14px;font-size:15px}
.info-card{background:#fff;border-radius:18px;padding:30px;box-shadow:0 16px 40px rgba(15,42,85,.1);border:1px solid var(--line)}
.info-card ul{list-style:none}
.info-card li{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px dashed var(--line);font-size:14px}
.info-card li:last-child{border-bottom:none}
.info-card li span{color:var(--muted);font-weight:500;flex-shrink:0}
.info-card li b{text-align:right;font-weight:600;color:var(--ink)}

/* === Visi Misi === */
.vm-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.vm-card{padding:40px;border-radius:18px;color:#fff;position:relative;overflow:hidden}
.vm-card::before{content:'';position:absolute;top:-50px;right:-50px;width:200px;height:200px;background:radial-gradient(circle,rgba(245,181,0,.25) 0%,transparent 70%)}
.vm-visi{background:linear-gradient(135deg,var(--navy) 0%,var(--navy-2) 100%)}
.vm-misi{background:linear-gradient(135deg,var(--green) 0%,#15573e 100%)}
.vm-card h3{font-size:30px;font-weight:800;letter-spacing:3px;margin-bottom:16px;color:var(--gold)}
.vm-quote{font-size:18px;line-height:1.6;font-weight:500;font-style:italic;position:relative;z-index:1}
.vm-list{list-style:none;font-size:15px;line-height:1.7;position:relative;z-index:1}
.vm-list li{padding-left:28px;position:relative;margin-bottom:10px}
.vm-list li::before{content:'✓';position:absolute;left:0;color:var(--gold);font-weight:800;font-size:18px}

/* === Leaders === */
.leaders-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:30px}
.leader-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;text-align:center;transition:.25s}
.leader-card:hover{border-color:var(--gold);transform:translateY(-3px);box-shadow:0 12px 28px rgba(15,42,85,.08)}
.leader-card.highlight{background:linear-gradient(135deg,var(--navy) 0%,var(--navy-2) 100%);color:#fff;border-color:transparent}
.leader-role{font-size:11px;font-weight:700;letter-spacing:1.5px;color:var(--muted);text-transform:uppercase;margin-bottom:6px}
.leader-card.highlight .leader-role{color:var(--gold)}
.leader-card h4{font-size:14px;font-weight:700}

/* === Guru === */
.guru-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.guru-card{background:#fff;padding:18px 20px;border-radius:12px;border:1px solid var(--line);transition:.2s}
.guru-card:hover{border-color:var(--gold);background:#fffbf0}
.guru-card h4{font-size:15px;font-weight:700;color:var(--navy);margin-bottom:6px}
.guru-card p{font-size:12px;color:var(--muted);line-height:1.5}

/* === Kurikulum === */
.kurikulum-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:60px}
.kur-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:32px 28px;transition:.3s;position:relative}
.kur-card:hover{transform:translateY(-6px);box-shadow:0 18px 40px rgba(15,42,85,.12);border-color:var(--gold)}
.kur-card.highlight-card{background:linear-gradient(135deg,var(--navy) 0%,var(--navy-2) 100%);color:#fff;border-color:transparent}
.kur-icon{font-size:36px;margin-bottom:14px}
.kur-card h3{font-size:20px;font-weight:800;margin-bottom:6px;color:var(--navy)}
.kur-card.highlight-card h3{color:#fff}
.kur-stream{font-size:13px;color:var(--gold-2);font-weight:700;margin-bottom:14px;letter-spacing:.5px}
.kur-card.highlight-card .kur-stream{color:var(--gold)}
.kur-card ul{list-style:none;font-size:14px;line-height:1.7}
.kur-card li{padding-left:18px;position:relative;color:var(--muted)}
.kur-card.highlight-card li{color:rgba(255,255,255,.85)}
.kur-card li::before{content:'▸';position:absolute;left:0;color:var(--gold-2);font-weight:700}
.kur-card.highlight-card li::before{color:var(--gold)}

.initiative-head{text-align:center;margin-bottom:30px}
.initiative-head h3{font-size:24px;font-weight:800;color:var(--navy)}
.initiative-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.init-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px;text-align:center;transition:.25s}
.init-card:hover{border-color:var(--gold);transform:translateY(-4px);box-shadow:0 12px 30px rgba(15,42,85,.08)}
.init-emoji{font-size:42px;margin-bottom:12px}
.init-card h4{font-size:17px;font-weight:700;color:var(--navy);margin-bottom:10px}
.init-card p{font-size:14px;color:var(--muted);line-height:1.65}

/* === Fasiliti === */
.fasiliti-hero{margin-bottom:40px;border-radius:18px;overflow:hidden;box-shadow:0 16px 40px rgba(15,42,85,.12)}
.fasiliti-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.fas-card{background:#fff;border-radius:14px;overflow:hidden;border:1px solid var(--line);transition:.25s}
.fas-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(15,42,85,.1);border-color:var(--gold)}
.fas-card img{aspect-ratio:16/10;object-fit:cover;width:100%}
.fas-card h4{padding:16px 18px;font-size:15px;font-weight:700;color:var(--navy)}

/* === Pencapaian === */
.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-bottom:50px}
.stat-card{background:linear-gradient(135deg,var(--navy) 0%,var(--navy-2) 100%);color:#fff;padding:32px;border-radius:18px;text-align:center;position:relative;overflow:hidden}
.stat-card::before{content:'';position:absolute;bottom:-40px;left:-40px;width:140px;height:140px;background:radial-gradient(circle,rgba(245,181,0,.3) 0%,transparent 70%)}
.stat-num{font-size:54px;font-weight:800;color:var(--gold);line-height:1}
.stat-label{margin-top:10px;font-size:14px;font-weight:600;opacity:.9}
.stat-trend{margin-top:6px;font-size:12px;opacity:.7}
.subhead{font-size:22px;font-weight:800;color:var(--navy);margin:30px 0 18px;text-align:center}
.cemerlang-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:50px}
.cemerlang-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;text-align:center;transition:.25s}
.cemerlang-card:hover{border-color:var(--gold);transform:translateY(-3px)}
.cemerlang-card.gold{background:linear-gradient(135deg,#fff7d4 0%,#ffe88a 100%);border-color:var(--gold)}
.cemerlang-card .grade{font-size:30px;font-weight:800;color:var(--navy);margin-bottom:6px}
.cemerlang-card h4{font-size:14px;font-weight:600;color:var(--ink)}
.achievement-list{display:grid;gap:10px;max-width:800px;margin:0 auto}
.ach-item{background:#fff;border:1px solid var(--line);border-left:4px solid var(--gold);border-radius:10px;padding:16px 20px;font-size:15px;color:var(--ink);font-weight:500}
.ach-item em{color:var(--muted);font-weight:400;font-style:normal}

/* === Ko-kurikulum === */
.koko-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.koko-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:28px;text-align:center;transition:.25s}
.koko-card:hover{border-color:var(--gold);transform:translateY(-4px);box-shadow:0 10px 26px rgba(15,42,85,.08)}
.koko-card h4{font-size:18px;font-weight:700;color:var(--navy);margin-bottom:14px}
.koko-card ul{list-style:none;font-size:14px;color:var(--muted)}
.koko-card li{padding:6px 0;border-bottom:1px dashed var(--line)}
.koko-card li:last-child{border-bottom:none}

/* === Aktiviti === */
.activity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.act-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:.25s}
.act-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(15,42,85,.1);border-color:var(--gold)}
.act-card img{aspect-ratio:16/10;object-fit:cover;width:100%}
.act-card h4{padding:16px 18px;font-size:15px;font-weight:700;color:var(--navy);line-height:1.4}

/* === CTA === */
.cta-section{background:linear-gradient(135deg,var(--navy) 0%,var(--green) 100%);color:#fff;position:relative;overflow:hidden}
.cta-section::before{content:'';position:absolute;top:-100px;right:-100px;width:400px;height:400px;background:radial-gradient(circle,rgba(245,181,0,.2) 0%,transparent 70%)}
.cta-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center;position:relative;z-index:1}
.cta-grid h2{font-size:clamp(28px,3vw,38px);font-weight:800;line-height:1.2;margin:14px 0 18px}
.cta-grid p{font-size:16px;opacity:.9;margin-bottom:24px}
.syarat-card{background:rgba(255,255,255,.08);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.18);border-radius:18px;padding:30px}
.syarat-card h3{font-size:20px;font-weight:800;margin-bottom:18px;color:var(--gold)}
.check-list{list-style:none;margin-bottom:22px}
.check-list li{padding:8px 0 8px 32px;position:relative;font-size:15px}
.check-list li::before{content:'✓';position:absolute;left:0;top:8px;width:22px;height:22px;background:var(--gold);color:var(--navy);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:13px}

/* === Footer === */
.footer{background:#0a1d3d;color:#a8b4cf;padding:60px 0 0}
.footer-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;padding-bottom:40px}
.footer h4{color:#fff;font-size:16px;font-weight:700;margin-bottom:14px}
.footer p{font-size:14px;line-height:1.7}
.footer a{color:#a8b4cf;transition:.2s}
.footer a:hover{color:var(--gold)}
.footer-motto{color:var(--gold);font-weight:800;letter-spacing:2px;margin-bottom:6px}
.footer-arab{font-family:'Amiri',serif;font-size:24px;color:#d8e1f5;direction:rtl}
.footer-bottom{background:#06122a;padding:18px 0;font-size:13px;text-align:center;color:#7a87a3;border-top:1px solid rgba(255,255,255,.05)}

/* === Floating WhatsApp === */
.fab-wa{position:fixed;bottom:24px;right:24px;width:60px;height:60px;background:#25d366;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:30px;box-shadow:0 10px 30px rgba(37,211,102,.4);z-index:99;transition:.2s}
.fab-wa:hover{transform:scale(1.1)}

/* === Responsive === */
@media (max-width:900px){
  .hamburger{display:block}
  .nav-links{position:absolute;top:100%;left:0;right:0;background:#fff;flex-direction:column;padding:16px;gap:0;box-shadow:0 10px 30px rgba(15,42,85,.1);display:none}
  .nav-links.open{display:flex}
  .nav-links a{width:100%;padding:12px 16px;border-radius:8px}
  .identiti-grid,.info-grid,.vm-grid,.cta-grid{grid-template-columns:1fr;gap:30px}
  .leaders-grid,.guru-grid,.kurikulum-grid,.initiative-grid,.fasiliti-grid,.koko-grid,.activity-grid,.stats-row,.cemerlang-grid,.motto-grid,.footer-grid{grid-template-columns:1fr;gap:14px}
  .motto-card{border-right:none;border-bottom:1px solid rgba(255,255,255,.12);padding:24px 12px}
  .motto-card:last-child{border-bottom:none}
  .hero{padding:60px 0 80px;min-height:auto}
  .hero-stats .stat{min-width:auto;flex:1}
  .section{padding:60px 0}
  .footer-grid{grid-template-columns:1fr 1fr;gap:24px}
}
@media (max-width:480px){
  .footer-grid{grid-template-columns:1fr}
  .brand-name{font-size:14px}
  .brand-sub{display:none}
}
/* ============================================
   BLOG STYLES
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.blog-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.blog-card.featured { border: 2px solid #f59e0b; }
.blog-card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; height: 100%; }
.blog-cover { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #f1f5f9; }
.blog-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-cover img { transform: scale(1.05); }
.blog-cat {
  position: absolute; top: 12px; left: 12px;
  background: #059669; color: white;
  padding: 4px 10px; border-radius: 20px;
  font-size: 12px; font-weight: 700;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.blog-flag {
  position: absolute; top: 12px; right: 12px;
  background: rgba(245,158,11,.95); color: white;
  padding: 4px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 700;
}
.blog-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.blog-body h3 { font-size: 17px; font-weight: 700; color: #0f172a; margin-bottom: 8px; line-height: 1.35; }
.blog-body p { color: #475569; font-size: 14px; line-height: 1.55; margin-bottom: 12px; flex: 1; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: 12px; color: #64748b; padding-top: 10px; border-top: 1px solid #e2e8f0; }
.blog-meta-large { font-size: 14px; padding-top: 16px; }
.blog-meta span { display: inline-flex; align-items: center; gap: 4px; }

.blog-hero { background: linear-gradient(135deg, #065f46, #047857); color: white; padding: 60px 0; text-align: center; }
.blog-hero .kicker { color: #fde047; font-weight: 700; font-size: 13px; margin-bottom: 10px; }
.blog-hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 12px; }
.blog-hero p { color: rgba(255,255,255,.9); max-width: 720px; margin: 0 auto; font-size: 16px; }

.blog-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 2px solid #e2e8f0; }
.blog-filter {
  display: inline-block; padding: 8px 16px; border-radius: 20px;
  background: white; border: 2px solid #e2e8f0; color: #475569;
  text-decoration: none; font-size: 14px; font-weight: 600;
  transition: all .2s;
}
.blog-filter:hover { border-color: #059669; color: #059669; }
.blog-filter.active { background: #059669; border-color: #059669; color: white; }

.blog-empty { text-align: center; padding: 80px 20px; color: #64748b; }
.blog-empty h3 { font-size: 22px; color: #334155; margin: 16px 0 8px; }

.blog-pagination { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 2px solid #e2e8f0; }
.blog-page-info { font-weight: 600; color: #475569; }

/* Blog post page */
.blog-post { padding: 40px 0 80px; background: #f8fafc; }
.blog-breadcrumb { font-size: 14px; color: #64748b; margin-bottom: 24px; }
.blog-breadcrumb a { color: #059669; text-decoration: none; font-weight: 500; }
.blog-breadcrumb a:hover { text-decoration: underline; }
.blog-breadcrumb span { color: #334155; }

.blog-post-header { background: white; padding: 36px; border-radius: 14px; box-shadow: 0 4px 12px rgba(0,0,0,.05); margin-bottom: 24px; }
.blog-post-header .blog-cat { position: static; display: inline-block; margin-bottom: 12px; text-decoration: none; }
.blog-post-header h1 { font-size: 32px; font-weight: 800; color: #0f172a; line-height: 1.25; margin-bottom: 12px; }
.blog-excerpt { font-size: 18px; color: #475569; line-height: 1.6; margin-bottom: 16px; font-style: italic; }

.blog-cover-large { margin: 0 0 24px; border-radius: 14px; overflow: hidden; }
.blog-cover-large img { width: 100%; display: block; }

.blog-content {
  background: white; padding: 36px; border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,.05);
  font-size: 17px; line-height: 1.75; color: #1e293b;
}
.blog-content h2 { font-size: 26px; font-weight: 800; color: #0f172a; margin: 28px 0 14px; }
.blog-content h3 { font-size: 22px; font-weight: 700; color: #0f172a; margin: 24px 0 12px; }
.blog-content p { margin-bottom: 18px; }
.blog-content ul, .blog-content ol { margin: 14px 0 18px 24px; }
.blog-content li { margin-bottom: 8px; }
.blog-content blockquote { border-left: 4px solid #059669; padding: 12px 20px; margin: 20px 0; background: #f0fdf4; color: #334155; font-style: italic; }
.blog-content img { max-width: 100%; border-radius: 8px; margin: 16px 0; }
.blog-content table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.blog-content th, .blog-content td { padding: 10px 14px; border: 1px solid #e2e8f0; text-align: left; }
.blog-content th { background: #f1f5f9; font-weight: 700; }
.blog-content strong { font-weight: 700; color: #0f172a; }

.blog-tags { background: white; padding: 16px 20px; border-radius: 10px; margin-top: 20px; }
.blog-tag { display: inline-block; background: #f1f5f9; color: #475569; padding: 4px 12px; border-radius: 16px; font-size: 13px; margin-right: 6px; margin-top: 6px; font-weight: 500; }

.blog-share { background: white; padding: 16px 20px; border-radius: 10px; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.blog-share > span { font-weight: 600; color: #475569; margin-right: 8px; }

.blog-back { text-align: center; margin: 32px 0; }

.blog-related { margin-top: 48px; }
.blog-related h3 { font-size: 24px; font-weight: 800; color: #0f172a; margin-bottom: 8px; text-align: center; }

.nav-links a.active { color: #fde047; font-weight: 700; }

@media (max-width: 768px) {
  .blog-hero h1 { font-size: 28px; }
  .blog-post-header { padding: 24px 18px; }
  .blog-post-header h1 { font-size: 24px; }
  .blog-content { padding: 22px 18px; font-size: 16px; }
  .blog-grid { grid-template-columns: 1fr; }
}
