/*
 * RTI-KIRU site styles.
 * This file is the CSS extracted verbatim from the supplied HTML design
 * (rti-kiru-website-v7-fixed.html), preserved exactly so the visual
 * identity, layout, typography and responsive behaviour are unchanged.
 * Admin-panel-only styles are appended at the bottom in a separate,
 * clearly marked section so they never interfere with the public site.
 */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;500;600;700;800&display=swap');


  :root{
    --navy:#141B45;
    --navy-2:#1E2A63;
    --navy-3:#0D1230;
    --gold:#E29A34;
    --gold-light:#F3C578;
    --gold-dark:#B97C22;
    --cream:#FBF8F2;
    --cream-2:#F3EDE0;
    --line:#E7DFCD;
    --line-dark:rgba(255,255,255,.14);
    --white:#FFFFFF;
    --ink:#1B1E2C;
    --ink-soft:#5B5F6E;
    --serif:'Fraunces', Georgia, serif;
    --sans:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --container:1220px;
    --radius:18px;
    --ease:cubic-bezier(.22,.68,0,1);
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{font-family:var(--sans);color:var(--ink);background:var(--cream);line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden;}
  img{max-width:100%;display:block;}
  a{color:inherit;text-decoration:none;}
  ul{list-style:none;}
  button{font-family:inherit;cursor:pointer;}
  ::selection{background:var(--gold-light);color:var(--navy);}
  :focus-visible{outline:2.5px solid var(--gold-dark);outline-offset:3px;border-radius:4px;}
  .wrap{max-width:var(--container);margin:0 auto;padding:0 32px;}
  .eyebrow{font-family:var(--sans);font-weight:700;font-size:12.5px;letter-spacing:.16em;text-transform:uppercase;color:var(--gold-dark);display:inline-flex;align-items:center;gap:10px;}
  .eyebrow::before{content:'';width:22px;height:2px;background:var(--gold);display:inline-block;}
  .eyebrow.on-dark{color:var(--gold-light);}
  .eyebrow.on-dark::before{background:var(--gold-light);}
  h1,h2,h3,h4{font-family:var(--serif);font-weight:600;color:var(--navy);letter-spacing:-0.01em;}

  .adire-strip{height:14px;width:100%;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='14' viewBox='0 0 56 14'%3E%3Cg fill='none' stroke='%23E29A34' stroke-width='1.3'%3E%3Ccircle cx='7' cy='7' r='4.2'/%3E%3Cpath d='M21 1 L28 7 L21 13 M28 7 L35 1 M28 7 L35 13'/%3E%3Ccircle cx='49' cy='7' r='4.2'/%3E%3C/g%3E%3C/svg%3E");background-repeat:repeat-x;background-size:56px 14px;opacity:.55;}

  /* HEADER */
  .page-shell{position:relative;}
  header{position:sticky;top:16px;z-index:1000;background:rgba(255,255,255,.92);backdrop-filter:blur(14px) saturate(140%);-webkit-backdrop-filter:blur(14px) saturate(140%);border:1px solid var(--line);border-radius:20px;max-width:var(--container);width:calc(100% - 32px);margin:0 auto;box-shadow:0 14px 40px -20px rgba(20,27,69,.22);transition:box-shadow .3s var(--ease);}
  header.scrolled{box-shadow:0 18px 44px -18px rgba(20,27,69,.32);}
  main section[id], main div[id]{scroll-margin-top:120px;}
  .nav{display:flex;align-items:center;justify-content:space-between;padding:20px 32px;max-width:var(--container);margin:0 auto;}
  .brand{display:flex;align-items:center;gap:12px;}
  .brand-mark{width:46px;height:46px;flex-shrink:0;}
  .brand-mark img{width:100%;height:100%;object-fit:contain;}
  .brand-text{display:flex;flex-direction:column;line-height:1.2;}
  .brand-text strong{font-family:var(--serif);font-size:20px;font-weight:700;color:var(--navy);letter-spacing:.01em;}
  .brand-text span{font-size:10.5px;color:var(--ink-soft);letter-spacing:.03em;}
  .nav-links{display:flex;align-items:center;gap:34px;}
  .nav-links a{font-size:15px;font-weight:500;color:var(--ink-soft);position:relative;padding:4px 0;transition:color .2s;}
  .nav-links a::after{content:'';position:absolute;left:0;bottom:-2px;width:0;height:2px;background:var(--gold-dark);transition:width .25s var(--ease);}
  .nav-links a:hover{color:var(--navy);}
  .nav-links a:hover::after{width:100%;}
  .nav-links a.is-active{color:var(--navy);}
  .nav-links a.is-active::after{width:100%;}
  .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:600;font-size:14.5px;padding:13px 26px;border-radius:999px;border:1.5px solid transparent;transition:transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;white-space:nowrap;}
  .btn-primary{background:var(--navy);color:var(--white);}
  .btn-primary:hover{background:var(--navy-2);transform:translateY(-2px);box-shadow:0 10px 24px -8px rgba(20,27,69,.45);}
  .btn-gold{background:var(--gold);color:var(--navy-3);}
  .btn-gold:hover{background:var(--gold-light);transform:translateY(-2px);box-shadow:0 10px 24px -8px rgba(226,154,52,.55);}
  .btn-outline-light{background:transparent;color:var(--white);border-color:rgba(255,255,255,.45);}
  .btn-outline-light:hover{background:rgba(255,255,255,.12);border-color:var(--white);transform:translateY(-2px);}
  .nav-toggle{display:none;width:44px;height:44px;border-radius:10px;border:1.5px solid var(--line);background:var(--white);align-items:center;justify-content:center;}
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{content:'';display:block;width:18px;height:2px;background:var(--navy);position:relative;transition:.25s var(--ease);}
  .nav-toggle span::before{position:absolute;top:-6px;}
  .nav-toggle span::after{position:absolute;top:6px;}
  .nav-toggle.open span{background:transparent;}
  .nav-toggle.open span::before{top:0;transform:rotate(45deg);}
  .nav-toggle.open span::after{top:0;transform:rotate(-45deg);}

  /* HERO */
  .hero{position:relative;padding:32px 0 0;}
  .hero-grid{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:56px;min-height:520px;padding:36px 0 56px;}
  .hero-copy{max-width:540px;}
  .hero .eyebrow{margin-bottom:20px;}
  .hero h1{font-size:clamp(34px,4vw,50px);line-height:1.1;font-weight:600;letter-spacing:-0.02em;margin-bottom:20px;}
  .hero h1 em{font-style:italic;font-weight:500;color:var(--gold-dark);}
  .hero p.lede{font-size:16.5px;color:var(--ink-soft);max-width:480px;margin-bottom:30px;}
  .hero-ctas{display:flex;gap:14px;flex-wrap:wrap;}
  .hero-photo{position:relative;border-radius:24px;overflow:hidden;min-height:420px;box-shadow:0 30px 60px -30px rgba(20,27,69,.3);}
  .hero-photo img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;}

  /* STATS BAR */
  .stats-wrap{position:relative;z-index:5;margin-top:-46px;}
  .stats-bar{background:var(--white);border-radius:20px;box-shadow:0 30px 60px -30px rgba(20,27,69,.28);border:1px solid var(--line);padding:34px 40px;display:flex;align-items:center;justify-content:space-between;gap:26px;flex-wrap:wrap;}
  .stat-item{display:flex;align-items:center;gap:14px;}
  .stat-icon{width:52px;height:52px;border-radius:50%;background:var(--cream-2);color:var(--gold-dark);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .stat-icon svg{width:24px;height:24px;}
  .stat-text{display:flex;flex-direction:column;}
  .stat-num{font-family:var(--serif);font-size:24px;font-weight:700;color:var(--navy);line-height:1.2;}
  .stat-label{font-size:12.5px;color:var(--ink-soft);white-space:nowrap;}
  .stat-divider{width:1px;height:40px;background:var(--line);}
  .stat-location{display:flex;align-items:center;gap:10px;}
  .stat-location svg{width:26px;height:26px;color:var(--gold-dark);}
  .stat-location strong{display:block;font-family:var(--serif);font-size:15px;color:var(--navy);font-weight:600;}
  .stat-location span{font-size:12px;color:var(--ink-soft);}
  .stats-note{font-size:11.5px;color:var(--ink-soft);opacity:.75;text-align:center;margin-top:14px;font-style:italic;}

  section{padding:100px 0;}
  .section-head{max-width:640px;margin:0 auto 52px;text-align:center;}
  .section-head .eyebrow{justify-content:center;margin-bottom:16px;}
  .section-head h2{font-size:clamp(28px,3.6vw,40px);font-weight:600;line-height:1.15;}
  .section-head p{color:var(--ink-soft);font-size:16px;margin-top:14px;}
  .section-alt{background:var(--white);}

  [data-reveal]{opacity:0;transform:translateY(26px);transition:opacity .7s var(--ease), transform .7s var(--ease);}
  [data-reveal].in-view{opacity:1;transform:none;}

  /* PROGRAMMES */
  .prog-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;}
  .mvv-grid{grid-template-columns:repeat(3,1fr);}
  .prog-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:transform .35s var(--ease), box-shadow .35s var(--ease);}
  .prog-card:hover{transform:translateY(-6px);box-shadow:0 26px 50px -26px rgba(20,27,69,.28);}
  .prog-photo{position:relative;aspect-ratio:4/3;overflow:hidden;}
  .prog-photo img{width:100%;height:100%;object-fit:cover;}
  .prog-badge{position:absolute;left:20px;bottom:-24px;width:52px;height:52px;border-radius:50%;background:var(--navy);border:4px solid var(--white);display:flex;align-items:center;justify-content:center;color:var(--gold-light);}
  .prog-badge svg{width:22px;height:22px;}
  .prog-body{padding:40px 24px 26px;}
  .prog-body h3{font-size:18.5px;margin-bottom:10px;font-weight:600;}
  .prog-body p{font-size:14px;color:var(--ink-soft);margin-bottom:16px;}
  .prog-link{font-size:13.5px;font-weight:700;color:var(--gold-dark);display:inline-flex;align-items:center;gap:6px;}
  .prog-link svg{width:14px;height:14px;transition:transform .25s var(--ease);}
  .prog-card:hover .prog-link svg{transform:translateX(3px);}

  /* PROJECT */
  .project-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center;}
  .project-grid > *{min-width:0;}
  input, textarea{width:100%;box-sizing:border-box;min-width:0;}
  .project-photo{border-radius:var(--radius);overflow:hidden;aspect-ratio:4/3;}
  .project-photo img{width:100%;height:100%;object-fit:cover;}
  .project-meta{display:flex;gap:24px;flex-wrap:wrap;font-size:13.5px;color:var(--ink-soft);margin:20px 0 28px;}
  .project-meta span{display:flex;align-items:center;gap:8px;}
  .project-meta svg{width:16px;height:16px;color:var(--gold-dark);}
  .project-copy h3{font-size:clamp(24px,2.8vw,30px);margin:10px 0 16px;font-weight:600;}
  .project-copy p{color:var(--ink-soft);font-size:15.5px;margin-bottom:6px;}

  /* NEWS */
  .news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;}
  .news-card{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;transition:transform .3s var(--ease), box-shadow .3s var(--ease);}
  .news-card:hover{transform:translateY(-5px);box-shadow:0 22px 44px -24px rgba(20,27,69,.25);}
  .news-photo{position:relative;aspect-ratio:16/10;overflow:hidden;}
  .news-photo img{width:100%;height:100%;object-fit:cover;}
  .news-date{position:absolute;left:16px;bottom:-18px;background:var(--white);border-radius:10px;padding:8px 12px;text-align:center;box-shadow:0 10px 20px -8px rgba(20,27,69,.3);}
  .news-date .d{font-family:var(--serif);font-size:17px;font-weight:700;color:var(--navy);line-height:1;}
  .news-date .m{font-size:10px;font-weight:700;letter-spacing:.05em;color:var(--gold-dark);text-transform:uppercase;}
  .news-body{padding:32px 24px 24px;}
  .news-cat{font-size:11.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--gold-dark);margin-bottom:10px;display:block;}
  .news-body h3{font-size:18px;margin-bottom:14px;font-weight:600;line-height:1.35;}
  .news-link{font-size:13.5px;font-weight:700;color:var(--navy);display:inline-flex;align-items:center;gap:6px;}
  .news-link svg{width:14px;height:14px;transition:transform .25s var(--ease);}
  .news-card:hover .news-link svg{transform:translateX(3px);}

  /* CTA BANNER */
  .cta-banner{background:linear-gradient(150deg,var(--navy) 0%,var(--navy-2) 100%);border-radius:24px;padding:44px 48px;display:flex;align-items:center;justify-content:space-between;gap:32px;flex-wrap:wrap;position:relative;overflow:hidden;}
  .cta-banner::before{content:'';position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%23F3C578' stroke-width='1'%3E%3Ccircle cx='24' cy='24' r='10'/%3E%3Cpath d='M55 24 L72 40 L55 56 M72 40 L89 24 M72 40 L89 56'/%3E%3Ccircle cx='118' cy='70' r='10'/%3E%3C/g%3E%3C/svg%3E");background-size:140px 140px;opacity:.1;}
  .cta-left{position:relative;z-index:2;display:flex;align-items:center;gap:22px;}
  .cta-icon{width:58px;height:58px;border-radius:50%;background:var(--gold);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
  .cta-icon svg{width:26px;height:26px;color:var(--navy-3);}
  .cta-left h3{color:var(--white);font-size:20px;margin-bottom:6px;font-weight:600;}
  .cta-left p{color:rgba(251,248,242,.72);font-size:14.5px;max-width:420px;}
  .cta-right{position:relative;z-index:2;display:flex;gap:12px;flex-shrink:0;}

  /* FOOTER */
  footer{background:var(--navy-3);color:var(--cream);}
  .footer-main{padding:72px 32px 46px;display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:44px;}
  .footer-social{display:flex;gap:10px;margin-top:22px;}
  .footer-social a{width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.08);border:1px solid var(--line-dark);display:flex;align-items:center;justify-content:center;color:var(--pale-2,#cfd6e6);transition:background .2s,border-color .2s,color .2s;}
  .footer-social a:hover{background:var(--gold);border-color:var(--gold);color:var(--navy-3);}
  .footer-social svg{width:17px;height:17px;}
  .footer-contact li{display:flex;align-items:flex-start;gap:10px;margin-bottom:14px;}
  .footer-contact svg{width:17px;height:17px;flex-shrink:0;margin-top:2px;color:var(--gold-light);}
  .footer-contact span{font-size:14.5px;color:rgba(251,248,242,.72);}
  .footer-brand-mark{width:52px;height:52px;background:var(--white);border-radius:12px;padding:6px;display:flex;align-items:center;justify-content:center;}
  .footer-brand-mark img{width:100%;height:100%;object-fit:contain;}
  .footer-brand-row{display:flex;align-items:center;gap:13px;}
  .footer-brand-row strong{font-family:var(--serif);font-size:18.5px;color:var(--white);font-weight:700;display:block;}
  .footer-brand-row span{font-size:10.5px;color:var(--gold-light);letter-spacing:.03em;}
  .footer-brand p{margin-top:18px;color:rgba(251,248,242,.72);font-size:14.5px;max-width:340px;}
  footer h4{color:var(--white);font-family:var(--sans);font-size:13px;letter-spacing:.05em;text-transform:uppercase;margin-bottom:20px;font-weight:700;}
  footer .flinks li{margin-bottom:12px;}
  footer .flinks a{font-size:14.5px;color:rgba(251,248,242,.72);transition:color .2s;}
  footer .flinks a:hover{color:var(--gold-light);}
  footer .footer-bottom{border-top:1px solid var(--line-dark);padding-top:24px;padding-bottom:24px;text-align:center;font-size:13px;color:rgba(251,248,242,.55);}

  /* mobile nav panel */
  .mobile-nav{position:fixed;inset:0;z-index:1100;background:var(--navy-3);display:flex;flex-direction:column;padding:110px 32px 40px;transform:translateX(100%);transition:transform .4s var(--ease);}
  .mobile-nav.open{transform:translateX(0);}
  .mobile-nav-close{position:absolute;top:24px;right:24px;width:46px;height:46px;border-radius:50%;
    background:rgba(255,255,255,.1);border:1.5px solid rgba(255,255,255,.28);color:var(--white);
    display:flex;align-items:center;justify-content:center;transition:background .2s;}
  .mobile-nav-close:hover{background:rgba(255,255,255,.2);}
  .mobile-nav-close svg{width:22px;height:22px;}
  .mobile-nav a{color:var(--white);font-family:var(--serif);font-size:25px;font-weight:500;padding:14px 0;border-bottom:1px solid var(--line-dark);}
  .mobile-nav .btn{margin-top:28px;}

  /* RESPONSIVE */
  @media (max-width:980px){
    .nav-links{display:none;}
    .nav-toggle{display:flex;}
    .hero-grid{grid-template-columns:1fr;min-height:auto;gap:32px;padding:20px 0 40px;}
    .hero-copy{max-width:none;}
    .hero-photo{border-radius:20px;min-height:320px;}
    .stats-wrap{margin-top:24px;}
    .stats-bar{justify-content:center;}
    .stat-divider{display:none;}
    .prog-grid, .news-grid, .mvv-grid{grid-template-columns:repeat(2,1fr);}
    .project-grid{grid-template-columns:1fr;gap:36px;}
    .footer-main{grid-template-columns:1fr 1fr;gap:36px;}
    .cta-banner{flex-direction:column;align-items:flex-start;text-align:left;}
  }
  @media (max-width:640px){
    .wrap{padding:0 20px;}
    .nav{padding:16px 20px;}
    .brand-text span{display:none;}
    .hero-photo{min-height:280px;}
    .hero-ctas{flex-direction:column;align-items:stretch;}
    .stats-bar{flex-direction:column;align-items:stretch;padding:26px 22px;gap:20px;}
    .stat-item{justify-content:flex-start;gap:16px;}
    .stat-divider{display:none;}
    .prog-grid, .news-grid, .mvv-grid{grid-template-columns:1fr;}
    section{padding:72px 0;}

    /* Compact, clean mobile footer */
    .footer-main{
      grid-template-columns:1fr;
      padding:38px 20px 24px;
      gap:24px;
    }
    .footer-brand{padding-bottom:4px;}
    .footer-brand p{margin-top:14px;font-size:14px;line-height:1.55;}
    .footer-social{margin-top:16px;gap:8px;}
    .footer-social a{width:36px;height:36px;}
    footer h4{margin-bottom:12px;font-size:12px;}
    footer .flinks li{margin-bottom:7px;}
    footer .flinks a{font-size:14px;line-height:1.45;}
    .footer-contact li{margin-bottom:10px;gap:9px;}
    .footer-contact span{font-size:14px;line-height:1.45;}
    footer .footer-bottom{padding-top:18px;padding-bottom:18px;font-size:12px;}

    .cta-left{flex-direction:column;align-items:flex-start;}
    .cta-right{width:100%;}
    .cta-right .btn{flex:1;}
  }
  @media (max-width:380px){
    .nav{padding:14px 16px;gap:8px;}
    .brand-text strong{font-size:15px;}
    .nav-right{gap:8px;}
    .nav-right .btn-gold{padding:10px 14px;font-size:12.5px;}
    .cta-banner{padding:32px 22px;}
  }
  @media (prefers-reduced-motion: reduce){
    *{animation:none !important; transition:none !important;}
    [data-reveal]{opacity:1;transform:none;}
  }

/* GALLERY ALBUM IMAGE GRID */
.gallery-image-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.gallery-image-item{margin:0;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);background:var(--white);}
.gallery-image-frame{aspect-ratio:4/3;overflow:hidden;}
.gallery-image-frame img{width:100%;height:100%;object-fit:cover;}
.gallery-image-item figcaption{padding:12px 16px;font-size:13px;color:var(--ink-soft);}
@media (max-width:640px){
  .gallery-image-grid{grid-template-columns:1fr 1fr;}
}

/* ==========================================================================
   ADMIN PANEL — additive styles only. Uses the same design tokens (--navy,
   --gold, --cream, etc.) defined above so the admin area feels like part of
   the same product, without touching any public-site selector.
   ========================================================================== */

.admin-shell{min-height:100vh;display:flex;background:var(--cream-2);}
.admin-sidebar{width:260px;flex-shrink:0;background:var(--navy-3);color:var(--cream);padding:28px 20px;display:flex;flex-direction:column;gap:6px;}
.admin-sidebar .admin-brand{display:flex;align-items:center;gap:12px;margin-bottom:28px;padding:0 8px;}
.admin-sidebar .admin-brand img{width:36px;height:36px;object-fit:contain;background:var(--white);border-radius:8px;padding:4px;}
.admin-sidebar .admin-brand strong{font-family:var(--serif);color:var(--white);font-size:17px;}
.admin-sidebar .admin-brand span{display:block;font-size:10px;color:var(--gold-light);letter-spacing:.04em;}
.admin-nav-link{display:flex;align-items:center;gap:10px;padding:11px 14px;border-radius:10px;color:rgba(251,248,242,.72);font-size:14.5px;font-weight:500;transition:background .2s,color .2s;}
.admin-nav-link:hover{background:rgba(255,255,255,.06);color:var(--white);}
.admin-nav-link.active{background:var(--gold);color:var(--navy-3);font-weight:700;}
.admin-nav-section{font-size:10.5px;text-transform:uppercase;letter-spacing:.08em;color:rgba(251,248,242,.4);margin:18px 8px 4px;}
.admin-main{flex:1;min-width:0;padding:32px 36px 60px;}
.admin-topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px;flex-wrap:wrap;gap:14px;}
.admin-topbar h1{font-family:var(--serif);font-size:26px;color:var(--navy);font-weight:600;}
.admin-user-chip{display:flex;align-items:center;gap:10px;font-size:13.5px;color:var(--ink-soft);}
.admin-user-chip strong{color:var(--navy);}

.admin-card{background:var(--white);border:1px solid var(--line);border-radius:16px;padding:26px;margin-bottom:24px;}
.admin-stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:18px;margin-bottom:28px;}
.admin-stat{background:var(--white);border:1px solid var(--line);border-radius:14px;padding:20px 22px;}
.admin-stat .num{font-family:var(--serif);font-size:28px;font-weight:700;color:var(--navy);}
.admin-stat .label{font-size:12.5px;color:var(--ink-soft);margin-top:4px;}

.admin-table{width:100%;border-collapse:collapse;font-size:14px;}
.admin-table th{text-align:left;font-size:11.5px;text-transform:uppercase;letter-spacing:.05em;color:var(--ink-soft);padding:10px 14px;border-bottom:2px solid var(--line);}
.admin-table td{padding:14px;border-bottom:1px solid var(--line);vertical-align:middle;}
.admin-table tr:hover td{background:var(--cream-2);}
.admin-thumb{width:52px;height:52px;border-radius:8px;object-fit:cover;background:var(--cream-2);}

.badge{display:inline-flex;align-items:center;gap:5px;font-size:11.5px;font-weight:700;letter-spacing:.03em;padding:4px 10px;border-radius:999px;text-transform:uppercase;}
.badge-published{background:#DCF3E4;color:#1C7A44;}
.badge-draft{background:#F1EFE9;color:#7A7263;}
.badge-ongoing{background:#FDECD2;color:var(--gold-dark);}
.badge-completed{background:#DCE6F3;color:#2A4E86;}
.badge-unread{background:var(--gold);color:var(--navy-3);}

.admin-form-group{display:flex;flex-direction:column;gap:8px;margin-bottom:20px;}
.admin-form-group label{font-size:12.5px;font-weight:700;color:var(--navy);text-transform:uppercase;letter-spacing:.03em;}
.admin-form-group .hint{font-size:12.5px;color:var(--ink-soft);font-weight:400;text-transform:none;letter-spacing:0;}
.admin-input, .admin-select, .admin-textarea{border:1.5px solid var(--line);background:var(--white);border-radius:10px;padding:11px 14px;font-family:inherit;font-size:14.5px;width:100%;color:var(--ink);}
.admin-textarea{min-height:140px;resize:vertical;}
.admin-input:focus, .admin-select:focus, .admin-textarea:focus{outline:none;border-color:var(--gold-dark);}
.admin-error{color:#C0392B;font-size:12.5px;margin-top:2px;}
.admin-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
@media (max-width:720px){.admin-grid-2{grid-template-columns:1fr;}}

.btn-sm{padding:8px 16px;font-size:13px;}
.btn-danger{background:#C0392B;color:var(--white);}
.btn-danger:hover{background:#A5301F;}
.btn-ghost{background:transparent;color:var(--navy);border-color:var(--line);}
.btn-ghost:hover{background:var(--cream-2);}

.admin-alert{border-radius:12px;padding:14px 18px;font-size:14px;margin-bottom:20px;display:flex;align-items:center;gap:10px;}
.admin-alert-success{background:#DCF3E4;color:#1C7A44;border:1px solid #B7E2C4;}
.admin-alert-error{background:#FBE1DE;color:#A5301F;border:1px solid #F3C1BB;}

.admin-mobile-toggle{display:none;}
@media (max-width:900px){
  .admin-shell{flex-direction:column;}
  .admin-sidebar{width:100%;flex-direction:row;overflow-x:auto;padding:14px 16px;align-items:center;}
  .admin-sidebar .admin-brand{margin-bottom:0;flex-shrink:0;}
  .admin-nav-section{display:none;}
  .admin-main{padding:24px 18px 50px;}
}

/* ==========================================================================
   ERROR PAGES (404 / 403 / 419 / 429 / 500) — matches RTI-KIRU brand
   ========================================================================== */
.error-shell{min-height:100vh;display:flex;align-items:center;justify-content:center;background:var(--cream);padding:32px;text-align:center;}
.error-card{max-width:520px;}
.error-code{font-family:var(--serif);font-size:clamp(64px,12vw,110px);font-weight:700;color:var(--navy);line-height:1;}
.error-card h1{margin:14px 0 12px;font-size:clamp(22px,3vw,28px);}
.error-card p{color:var(--ink-soft);font-size:15.5px;margin-bottom:28px;}
.error-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;}
