/* ── LIGHT THEME ── */
:root {
  --bg:         #FAFAF8;
  --card:       #FFFFFF;
  --surface:    #F4F3F0;
  --border:     #E8E6E1;
  --ink:        #1A1916;
  --ink-mid:    #5C5852;
  --ink-soft:   #9C9890;

  --accent:     #2C5F8A;
  --accent-dim: rgba(44,95,138,0.09);
  --accent-mid: rgba(44,95,138,0.18);
  --accent-text:#2C5F8A;

  --green:      #2A7D5F;
  --green-dim:  rgba(42,125,95,0.1);
  --violet:     #5B4FCF;
  --violet-dim: rgba(91,79,207,0.1);
  --rose:       #B94056;
  --rose-dim:   rgba(185,64,86,0.1);
  --amber:      #B06A1E;
  --amber-dim:  rgba(176,106,30,0.1);
  --sky:        #2175A0;
  --sky-dim:    rgba(33,117,160,0.1);

  --radius:     11px;
  --shadow:     0 1px 8px rgba(26,25,22,0.07);
  --shadow-lg:  0 6px 24px rgba(26,25,22,0.11);
}

/* ── DARK THEME ── */
[data-theme="dark"] {
  --bg:         #141412;
  --card:       #1E1D1A;
  --surface:    #272521;
  --border:     #302E2A;
  --ink:        #EDEBE6;
  --ink-mid:    #B0ACA5;
  --ink-soft:   #706C65;

  --accent:     #5B9FD4;
  --accent-dim: rgba(91,159,212,0.12);
  --accent-mid: rgba(91,159,212,0.2);
  --accent-text:#5B9FD4;

  --green-dim:  rgba(42,125,95,0.15);
  --violet-dim: rgba(91,79,207,0.15);
  --rose-dim:   rgba(185,64,86,0.15);
  --amber-dim:  rgba(176,106,30,0.15);
  --sky-dim:    rgba(33,117,160,0.15);

  --shadow:     0 1px 8px rgba(0,0,0,0.25);
  --shadow-lg:  0 6px 24px rgba(0,0,0,0.4);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Outfit', sans-serif; background: var(--bg); color: var(--ink); min-height: 100vh; overflow-x: hidden; transition: background .25s, color .25s; }

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 100;
  height: 58px; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--bg); border-bottom: 1px solid var(--border);
  transition: background .25s, border-color .25s;
}
.nav-logo { font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 19px; letter-spacing: -0.2px; color: var(--ink); cursor: pointer; text-decoration: none; }
.nav-logo em { font-style: italic; color: var(--accent-text); }
.nav-center { display: flex; gap: 2px; }
.nav-link { font-size: 14px; font-weight: 600; color: var(--ink-mid); background: none; border: none; cursor: pointer; padding: 6px 14px; border-radius: 8px; transition: color .18s, background .18s; font-family: 'Outfit', sans-serif; }
.nav-link:hover { color: var(--ink); background: var(--surface); }
.nav-link.active { color: var(--ink); background: var(--surface); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.lang-toggle { display: flex; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 3px; gap: 2px; }
.lang-btn { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--ink-soft); background: none; border: none; cursor: pointer; padding: 4px 10px; border-radius: 5px; transition: all .18s; font-family: 'Outfit', sans-serif; }
.lang-btn.active { background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.theme-btn { width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--ink-mid); cursor: pointer; font-size: 15px; display: flex; align-items: center; justify-content: center; transition: all .18s; }
.theme-btn:hover { border-color: var(--accent-text); color: var(--accent-text); }
.nav-admin-btn { background: var(--surface); color: var(--ink-mid); border: 1px solid var(--border); border-radius: 8px; padding: 6px 14px; font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .18s; }
.nav-admin-btn:hover { color: var(--ink); border-color: var(--ink-soft); }

/* ── PAGE SYSTEM ── */
.page { display: none; }
.page.active { display: block; animation: fadeUp .28s ease; }
@keyframes fadeUp { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }

/* ── HERO ── */
.hero-wrap { min-height: 340px; display: flex; align-items: center; justify-content: center; padding: 72px 24px 56px; text-align: center; }
.hero-inner { width: 100%; max-width: 600px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); background: var(--accent-dim); border: 1px solid var(--accent-mid); border-radius: 6px; padding: 5px 12px; margin-bottom: 22px; }
.hero h1 { font-family: 'Outfit', sans-serif; font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: 1.1; letter-spacing: -0.5px; margin-bottom: 16px; }
.hero h1 em { font-style: italic; color: var(--accent-text); }
.hero p { font-size: 16px; color: var(--ink-mid); line-height: 1.75; margin-bottom: 32px; }
.search-row { display: flex; gap: 8px; justify-content: center; }
.search-row input { width: 100%; max-width: 340px; background: var(--card); border: 1.5px solid var(--border); border-radius: 8px; padding: 11px 16px; color: var(--ink); font-family: 'Outfit', sans-serif; font-size: 14px; outline: none; transition: border-color .18s; }
.search-row input:focus { border-color: var(--accent-text); }
.search-row input::placeholder { color: var(--ink-soft); }
.search-row button { background: var(--accent); color: #fff; border: none; border-radius: 8px; padding: 11px 20px; font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: opacity .18s; }
.search-row button:hover { opacity: .88; }

/* ── CONTAINER ── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px 72px; }

/* ── SECTION HEADER ── */
.sec-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.sec-title { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -0.2px; }
.sec-title em { font-style: italic; color: var(--accent-text); }

/* ── FILTER / SORT ── */
.filter-row { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.filter-label { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); white-space: nowrap; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-size: 13px; font-weight: 600; cursor: pointer; padding: 5px 13px; border-radius: 6px; border: 1.5px solid var(--border); background: var(--card); color: var(--ink-mid); transition: all .18s; white-space: nowrap; font-family: 'Outfit', sans-serif; }
.chip:hover { border-color: var(--accent-text); color: var(--accent-text); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.sort-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.results-count { font-size: 13px; color: var(--ink-soft); font-weight: 500; }
.sort-grp { display: flex; align-items: center; gap: 7px; }
.sort-grp label { font-size: 12px; font-weight: 700; color: var(--ink-soft); }
.sort-sel { background: var(--card); border: 1.5px solid var(--border); border-radius: 7px; padding: 5px 11px; font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; outline: none; transition: border-color .18s; }
.sort-sel:focus { border-color: var(--accent-text); }

/* ── OPP CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.opp-card { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 20px; cursor: default; transition: box-shadow .2s, border-color .2s, transform .2s; animation: fadeUp .35s ease both; }
.opp-card:hover { box-shadow: var(--shadow-lg); border-color: var(--accent-mid); transform: translateY(-2px); }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
.org-row { display: flex; align-items: center; gap: 10px; }
.org-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.org-name { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); display: block; margin-bottom: 1px; }
.org-sub { font-size: 12px; font-weight: 600; color: var(--ink); }
.type-badge { font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 5px; flex-shrink: 0; }
.b-intern   { background: var(--sky-dim);    color: var(--sky);    }
.b-research { background: var(--violet-dim); color: var(--violet); }
.b-fellow   { background: var(--amber-dim);  color: var(--amber);  }
.b-vol      { background: var(--green-dim);  color: var(--green);  }
.card-title { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; line-height: 1.35; margin-bottom: 7px; }
.card-desc  { font-size: 13px; color: var(--ink-mid); line-height: 1.6; margin-bottom: 12px; }
.career-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 3px 9px; border-radius: 5px; margin-bottom: 12px; text-transform: uppercase; }
.card-foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); }
.dl-label  { font-size: 10px; color: var(--ink-soft); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; display: block; }
.dl-date   { font-size: 13px; font-weight: 700; color: var(--ink); }
.dl-urgent .dl-date { color: var(--rose); }
.dl-soon   .dl-date { color: var(--amber); }
.urgency-pill { font-size: 10px; font-weight: 800; padding: 1px 7px; border-radius: 4px; margin-left: 5px; }
.up-urgent { background: var(--rose-dim);  color: var(--rose);  }
.up-soon   { background: var(--amber-dim); color: var(--amber); }
.empty-state { text-align: center; padding: 52px 20px; }
.empty-state .ei { font-size: 36px; margin-bottom: 12px; }
.empty-state h3 { font-family: 'Outfit', sans-serif; font-size: 19px; margin-bottom: 7px; }
.empty-state p { font-size: 14px; color: var(--ink-soft); }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

/* ── CONTACT BANNER ── */
.contact-banner { background: var(--surface); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.contact-banner-text h3 { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 5px; }
.contact-banner-text p { font-size: 14px; color: var(--ink-mid); line-height: 1.6; }
.contact-detail { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--accent-text); text-decoration: none; }
.contact-detail:hover { text-decoration: underline; }

/* ── BLOG HERO ── */
.blog-hero-wrap { display: flex; align-items: center; justify-content: center; padding: 64px 24px 44px; text-align: center; }
.blog-hero-inner { width: 100%; max-width: 560px; }
.blog-hero-inner h1 { font-family: 'Outfit', sans-serif; font-size: clamp(28px, 4.5vw, 46px); font-weight: 900; letter-spacing: -0.3px; line-height: 1.1; margin-bottom: 13px; }
.blog-hero-inner h1 em { font-style: italic; color: var(--accent-text); }
.blog-hero-inner p { font-size: 15px; color: var(--ink-mid); line-height: 1.7; margin-bottom: 22px; }
.blog-write-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: #fff; border: none; border-radius: 8px; padding: 10px 20px; font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; transition: opacity .18s; }
.blog-write-btn:hover { opacity: .88; }
.blog-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 26px; }

/* ── BLOG GRID ── */
.blog-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; margin-bottom: 26px; }
.blog-feat { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: box-shadow .2s, border-color .2s, transform .2s; }
.blog-feat:hover { box-shadow: var(--shadow-lg); border-color: var(--accent-mid); transform: translateY(-2px); }
.blog-img { height: 165px; display: flex; align-items: center; justify-content: center; font-size: 48px; position: relative; overflow: hidden; }
.blog-img::after { content:''; position:absolute; inset:0; background: linear-gradient(to bottom, transparent 45%, var(--card) 100%); }
.blog-body { padding: 18px 20px 20px; }
.blog-cat-lbl { font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 8px; display: block; }
.blog-card-title { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.blog-card-exc  { font-size: 13px; color: var(--ink-mid); line-height: 1.6; margin-bottom: 13px; }
.blog-byline { display: flex; align-items: center; gap: 8px; }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; flex-shrink: 0; }
.by-name  { font-size: 13px; font-weight: 700; display: block; }
.by-meta  { font-size: 11px; color: var(--ink-soft); }
.blog-sidebar { display: flex; flex-direction: column; gap: 10px; }
.blog-sm { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; transition: box-shadow .2s, border-color .2s, transform .18s; flex: 1; }
.blog-sm:hover { box-shadow: var(--shadow-lg); border-color: var(--accent-mid); transform: translateY(-1px); }
.blog-sm .blog-card-title { font-size: 13px; margin-bottom: 10px; }
.blog-sm .blog-byline { border-top: 1px solid var(--border); padding-top: 9px; margin-top: 4px; }
.blog-all-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }

/* ── BLOG POST ── */
.post-wrap { max-width: 660px; margin: 0 auto; padding: 52px 24px 72px; }
.post-back { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--ink-soft); background: none; border: 1.5px solid var(--border); border-radius: 7px; padding: 6px 14px; cursor: pointer; margin-bottom: 26px; transition: all .18s; font-family: 'Outfit', sans-serif; }
.post-back:hover { color: var(--ink); border-color: var(--ink-soft); }
.post-cat-lbl { font-size: 10px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 11px; display: block; }
.post-title { font-family: 'Outfit', sans-serif; font-size: clamp(22px, 4vw, 34px); font-weight: 900; letter-spacing: -0.2px; line-height: 1.2; margin-bottom: 18px; }
.post-meta { display: flex; align-items: center; gap: 13px; padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 26px; }
.post-body { font-size: 15.5px; line-height: 1.85; color: var(--ink-mid); }
.post-body p  { margin-bottom: 18px; }
.post-body h2 { font-family: 'Outfit', sans-serif; font-size: 19px; font-weight: 700; color: var(--ink); margin: 28px 0 10px; }
.post-body blockquote { border-left: 3px solid var(--accent); padding: 3px 0 3px 17px; color: var(--ink); font-size: 16px; font-style: italic; margin: 22px 0; line-height: 1.7; }
.post-body .callout { background: var(--accent-dim); border: 1px solid var(--accent-mid); border-radius: 8px; padding: 14px 18px; margin: 20px 0; font-size: 14px; line-height: 1.75; }
.post-body .callout strong { color: var(--accent-text); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 7px; }

/* ── ADMIN ── */
.admin-overlay { position: fixed; inset: 0; z-index: 500; display: none; }
.admin-overlay.open { display: flex; }
.admin-login { width: 100%; display: flex; align-items: center; justify-content: center; background: var(--bg); padding: 20px; }
.login-card { background: var(--card); border: 1.5px solid var(--border); border-radius: 14px; padding: 36px; width: 100%; max-width: 360px; box-shadow: var(--shadow-lg); }
.login-card h2 { font-family: 'Outfit', sans-serif; font-size: 22px; font-weight: 900; margin-bottom: 5px; }
.login-card .sub { font-size: 14px; color: var(--ink-soft); margin-bottom: 24px; }
.login-err { font-size: 13px; color: var(--rose); margin-top: -10px; margin-bottom: 14px; display: none; }
.admin-shell { width: 100%; display: none; background: var(--bg); }
.admin-shell.open { display: flex; }
.admin-sidebar { width: 210px; flex-shrink: 0; background: var(--ink); color: #fff; display: flex; flex-direction: column; min-height: 100vh; padding: 20px 0; }
.admin-brand { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 900; color: #fff; padding: 0 18px 20px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 14px; }
.admin-brand em { font-style: italic; color: var(--accent); }
.a-nav { display: flex; align-items: center; gap: 9px; padding: 9px 18px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.6); cursor: pointer; border-left: 3px solid transparent; transition: all .18s; font-family: 'Outfit', sans-serif; }
.a-nav:hover { color: #fff; background: rgba(255,255,255,.05); }
.a-nav.active { color: #fff; border-left-color: var(--accent); background: rgba(255,255,255,.07); }
.a-nav .ni { font-size: 15px; width: 18px; text-align: center; }
.admin-sidebar-foot { margin-top: auto; padding: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.logout-btn { width: 100%; background: rgba(185,64,86,.15); color: #e88; border: 1px solid rgba(185,64,86,.25); border-radius: 7px; padding: 8px; font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .18s; }
.logout-btn:hover { background: rgba(185,64,86,.28); }
.pending-dot { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; background: var(--rose); color: #fff; border-radius: 50%; font-size: 10px; font-weight: 800; margin-left: 5px; }
.admin-main { flex: 1; overflow-y: auto; padding: 28px; min-height: 100vh; }
.a-tab { display: none; }
.a-tab.active { display: block; }
.a-page-title { font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 900; margin-bottom: 4px; }
.a-page-sub { font-size: 13px; color: var(--ink-mid); margin-bottom: 24px; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr)); gap: 12px; margin-bottom: 28px; }
.stat-card { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 18px; }
.stat-card .si { font-size: 22px; margin-bottom: 8px; }
.stat-num { font-family: 'Outfit', sans-serif; font-size: 30px; font-weight: 900; display: block; }
.stat-lbl { font-size: 12px; color: var(--ink-soft); font-weight: 600; margin-top: 2px; }
.a-table-wrap { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; }
.a-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.a-table th { background: var(--surface); text-align: left; padding: 10px 15px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-soft); border-bottom: 1px solid var(--border); }
.a-table td { padding: 11px 15px; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--ink-mid); }
.a-table tr:last-child td { border-bottom: none; }
.a-table tr:hover td { background: var(--surface); }
.a-table .tc { font-weight: 700; color: var(--ink); max-width: 240px; }
.t-acts { display: flex; gap: 5px; }
.t-btn { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 6px; border: 1.5px solid var(--border); background: transparent; cursor: pointer; font-family: 'Outfit', sans-serif; transition: all .18s; color: var(--ink-mid); }
.t-btn:hover { border-color: var(--ink); color: var(--ink); }
.t-btn.del:hover { border-color: var(--rose); color: var(--rose); }
.t-btn.ok:hover  { border-color: var(--green); color: var(--green); }
.a-add-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: #fff; border: none; border-radius: 8px; padding: 9px 18px; font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; transition: opacity .18s; margin-bottom: 18px; }
.a-add-btn:hover { opacity: .88; }
.a-form { background: var(--card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 20px; display: none; }
.a-form.open { display: block; }
.a-form-title { font-family: 'Outfit', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 18px; }

/* ── MODALS ── */
.modal-ov { position: fixed; inset: 0; z-index: 200; background: rgba(26,25,22,.5); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .22s; }
.modal-ov.open { opacity: 1; pointer-events: all; }
.modal { background: var(--card); border-radius: 14px; padding: 30px; max-width: 440px; width: 100%; transform: translateY(14px) scale(.97); transition: transform .22s; max-height: 90vh; overflow-y: auto; border: 1.5px solid var(--border); }
.modal-ov.open .modal { transform: translateY(0) scale(1); }
.modal h2 { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 5px; }
.modal .sub { font-size: 13px; color: var(--ink-soft); margin-bottom: 20px; }
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-mid); margin-bottom: 5px; }
.fg input, .fg select, .fg textarea { width: 100%; background: var(--surface); border: 1.5px solid var(--border); border-radius: 7px; padding: 9px 12px; color: var(--ink); font-family: 'Outfit', sans-serif; font-size: 14px; outline: none; transition: border-color .18s; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--accent-text); }
.fg textarea { resize: vertical; min-height: 80px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.modal-btns, .a-btns { display: flex; gap: 9px; justify-content: flex-end; margin-top: 18px; }
.btn-cancel { background: none; border: 1.5px solid var(--border); color: var(--ink-mid); border-radius: 7px; padding: 8px 17px; cursor: pointer; font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700; transition: all .18s; }
.btn-cancel:hover { border-color: var(--ink-soft); color: var(--ink); }
.btn-submit { background: var(--accent); color: #fff; border: none; border-radius: 7px; padding: 8px 17px; cursor: pointer; font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 700; transition: opacity .18s; }
.btn-submit:hover { opacity: .88; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 22px 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; background: var(--card); }
.footer-logo { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; color: var(--ink-soft); }
.footer-logo em { font-style: italic; color: var(--accent-text); }
footer p { font-size: 12px; color: var(--ink-soft); }
.footer-links { display: flex; gap: 16px; }
.footer-links a { font-size: 13px; color: var(--ink-soft); text-decoration: none; font-weight: 600; transition: color .18s; }
.footer-links a:hover { color: var(--ink); }

/* ── TOAST ── */
.toast-wrap { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 999; pointer-events: none; }
.toast { background: var(--ink); color: var(--bg); border-radius: 8px; padding: 11px 20px; font-size: 13px; font-weight: 700; opacity: 0; transition: opacity .25s; white-space: nowrap; }
.toast.show { opacity: 1; }

/* ── RESPONSIVE ── */
@media(max-width:860px){
  .blog-grid { grid-template-columns: 1fr; }
}
@media(max-width:768px){
  nav {
    padding: 8px 14px;
    height: auto;
    flex-wrap: wrap;
    gap: 6px;
  }
  .nav-logo { font-size: 17px; }
  .nav-center { display: flex; gap: 2px; order: 3; width: 100%; justify-content: center; padding-bottom: 4px; }
  .nav-link { font-size: 12px; padding: 5px 10px; }
  .nav-right { gap: 5px; }
  .nav-admin-btn { font-size: 12px; padding: 5px 10px; }
  .hero-wrap { padding: 52px 16px 40px; }
  .container { padding: 0 16px 56px; }
  .blog-hero-wrap { padding: 48px 16px 36px; }
  .post-wrap { padding: 44px 16px 56px; }
  .cards-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; text-align: center; padding: 20px 16px; }
  .contact-banner { flex-direction: column; }
  .admin-shell { flex-direction: column; }
  .admin-sidebar { width: 100%; min-height: auto; flex-direction: row; flex-wrap: wrap; padding: 10px; }
  .admin-brand { display: none; }
  .admin-sidebar-foot { margin-top: 0; padding: 8px; border: none; }
  .a-nav { padding: 7px 10px; font-size: 12px; }
  .admin-main { padding: 16px; }
}