:root {
  --brand: #ffbf00;      /* SushiVid yellow — fills, borders, tints only */
  --black: #1a1a1a;      /* body text, headings, AND accent text */
  --gray: #5c5c5c;       /* secondary text */
  --bg-off: #faf9f6;     /* off-white section background */
  --card-bg: #ffffff;
  --border: #ececec;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Poppins', Arial, sans-serif;
  color: var(--black);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section:nth-of-type(even) { background: var(--bg-off); }

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-block; background: #fff; color: var(--black); font-weight: 700;
  padding: 12px 26px; border-radius: 999px; border: 2px solid var(--brand);
  cursor: pointer; font-size: 14px; transition: .15s ease;
}
.btn:hover { background: var(--brand); color: var(--black); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--black); }
.btn-sm { padding: 9px 18px; font-size: 13px; }

/* ---------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.logo-img { height: 34px; width: auto; }
.site-header nav { margin-left: auto; }
.site-header nav ul { list-style: none; display: flex; gap: 26px; align-items: center; }
.site-header nav a { font-size: 14px; font-weight: 600; padding-bottom: 4px; border-bottom: 2px solid transparent; transition: .15s; }
.site-header nav a:hover { border-bottom-color: var(--brand); }
.site-header nav a.active { border-bottom: 2px solid var(--brand); }
.header-inner > .btn-sm { margin-left: 4px; }

/* ---------------------------------------------------------- hero */
.hero { padding: 70px 0 40px; }
.hero h1 { font-size: 46px; font-weight: 800; line-height: 1.15; letter-spacing: -.5px; }
.hero h1 .highlight { color: var(--black); }
.hero .hero-sub { color: var(--gray); font-size: 17px; margin-top: 16px; max-width: 620px; }
.hero--sm { padding: 54px 0 20px; }
.hero--sm h1 { font-size: 36px; }

.eyebrow {
  display: inline-block; background: rgba(255,191,0,.2); color: var(--black);
  font-weight: 700; font-size: 13px; letter-spacing: .5px; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; margin-bottom: 20px;
}

/* ---------------------------------------------------------- section heading */
.section-heading { max-width: 640px; margin: 0 auto 50px; }
.section-heading .tag { color: var(--black); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .6px; margin-bottom: 10px; }
.section-heading h2 { font-size: 32px; font-weight: 800; }
.section-heading p { color: var(--gray); margin-top: 12px; font-size: 16px; }

/* ---------------------------------------------------------- topic chips */
.topics-section { padding: 30px 0 !important; background: #fff !important; border-bottom: 1px solid var(--border); }
.topic-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  font-size: 13px; font-weight: 600; padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--border); background: #fff; color: var(--black); transition: .15s;
}
.chip:hover { border-color: var(--brand); background: rgba(255,191,0,.1); }
.chip--active { background: var(--brand); border-color: var(--brand); color: var(--black); font-weight: 700; }

/* ---------------------------------------------------------- cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.post-card { display: flex; flex-direction: column; transition: .18s ease; }
.post-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.07); border-color: #e0e0e0; }
.card-thumb { display: block; aspect-ratio: 16/9; background: var(--bg-off); overflow: hidden; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb--placeholder {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,191,0,.35), transparent 60%),
    var(--bg-off);
}
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-tag {
  align-self: flex-start; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px;
  background: rgba(255,191,0,.2); color: var(--black); padding: 4px 11px; border-radius: 999px;
}
.post-card h3 { font-size: 17px; font-weight: 700; line-height: 1.35; }
.post-card h3 a:hover { border-bottom: 2px solid var(--brand); }
.card-excerpt { color: var(--gray); font-size: 13.5px; flex: 1; }
.card-meta { color: var(--gray); font-size: 12px; font-weight: 500; margin-top: 4px; }

/* ---------------------------------------------------------- featured */
.featured-section { background: #fff !important; padding-bottom: 30px !important; }
.featured-card {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; transition: .18s;
}
.featured-card:hover { box-shadow: 0 16px 40px rgba(0,0,0,.08); }
.featured-thumb { background: var(--bg-off); }
.featured-thumb img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.featured-body { padding: 40px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.featured-body h2 { font-size: 27px; font-weight: 800; line-height: 1.25; }
.featured-body p { color: var(--gray); font-size: 15px; }

/* ---------------------------------------------------------- pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 50px; }
.page-link {
  min-width: 40px; text-align: center; padding: 9px 14px; border-radius: 10px;
  border: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--black); transition: .15s;
}
.page-link:hover { border-color: var(--brand); background: rgba(255,191,0,.1); }
.page-link--active { background: var(--brand); border-color: var(--brand); }

/* ---------------------------------------------------------- article */
.article-container { max-width: 760px; }
.article-head { text-align: center; margin-bottom: 30px; }
.article-cats { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.article-head h1 { font-size: 38px; font-weight: 800; line-height: 1.2; letter-spacing: -.5px; }
.article-meta { color: var(--gray); font-size: 14px; margin-top: 16px; }
.updated-badge { color: var(--black); font-weight: 600; background: rgba(255,191,0,.2); padding: 2px 10px; border-radius: 999px; font-size: 12.5px; }
.article-hero { border-radius: var(--radius); overflow: hidden; margin-bottom: 36px; border: 1px solid var(--border); aspect-ratio: 16 / 9; background: var(--bg-off); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body { font-size: 16px; color: #2a2a2a; }
.article-body > * + * { margin-top: 20px; }
.article-body h2 { font-size: 25px; font-weight: 800; margin-top: 40px; }
.article-body h3 { font-size: 20px; font-weight: 700; margin-top: 32px; }
.article-body p { line-height: 1.75; }
.article-body a { color: var(--black); font-weight: 600; border-bottom: 2px solid var(--brand); }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin-top: 8px; }
.article-body img { border-radius: var(--radius); margin: 28px 0; border: 1px solid var(--border); }
.article-body blockquote {
  border-left: 4px solid var(--brand); background: var(--bg-off);
  padding: 16px 22px; border-radius: 0 var(--radius) var(--radius) 0; color: #333;
}
.article-body code { background: var(--bg-off); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.article-body pre { background: var(--black); color: #fff; padding: 18px; border-radius: var(--radius); overflow: auto; }
.article-body pre code { background: none; color: #fff; }
.article-body hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }
.article-cta { margin-top: 50px; }

/* ---------------------------------------------------------- quote card */
.quote-card { background: var(--black); color: #fff; border-radius: 20px; padding: 46px 40px; text-align: center; }
.quote-card h2 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.quote-card p { color: #cfcfcf; max-width: 520px; margin: 0 auto 22px; font-size: 15px; }
.quote-card .btn { background: var(--brand); border-color: var(--brand); }
.quote-card .btn:hover { background: #fff; }

/* ---------------------------------------------------------- footer */
.site-footer { background: var(--bg-off); padding: 60px 0 30px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 30px; }
.footer-logo { height: 30px; margin-bottom: 14px; }
.footer-brand p { color: var(--gray); max-width: 260px; }
.socials { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.socials a { color: var(--black); font-weight: 600; }
.socials a:hover { border-bottom: 2px solid var(--brand); }
.footer-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--gray); margin-bottom: 9px; }
.footer-col a:hover { color: var(--black); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border); color: var(--gray); }


.article-body table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.article-body thead th { background: var(--black); color: #fff; font-weight: 700; text-align: left; padding: 11px 13px; }
.article-body td { padding: 11px 13px; border-top: 1px solid var(--border); vertical-align: top; }
.article-body tbody tr:nth-child(even) { background: var(--bg-off); }

/* ---------------------------------------------------------- archive */
.archive-year { margin-bottom: 40px; }
.archive-year h2 { font-size: 22px; font-weight: 800; padding-bottom: 10px; border-bottom: 2px solid var(--brand); margin-bottom: 6px; }
.archive-list { list-style: none; }
.archive-list li { border-bottom: 1px solid var(--border); }
.archive-list a { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 13px 4px; transition: .12s; }
.archive-list a:hover { background: rgba(255,191,0,.08); padding-left: 12px; }
.archive-list .a-title { font-weight: 600; font-size: 15px; }
.archive-list .a-date { color: var(--gray); font-size: 12px; white-space: nowrap; }

/* ---------------------------------------------------------- responsive */
@media (max-width: 900px) {
  .hero h1 { font-size: 34px; }
  .card-grid { grid-template-columns: 1fr; }
  .featured-card { grid-template-columns: 1fr; }
  .featured-thumb img { min-height: 200px; }
  .site-header nav { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .article-head h1 { font-size: 29px; }
  .section { padding: 54px 0; }
}

/* ---------------------------------------------------------- mobile optimisation */
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; row-gap: 12px; }
  .site-header .nav-toggle:checked ~ nav { display: block; margin-left: 0; order: 6; width: 100%; }
  .site-header nav ul { flex-wrap: wrap; justify-content: center; gap: 12px 18px; font-size: 13.5px; }
  .header-inner > .btn-sm { margin-left: auto; }
  .article-container { max-width: 100%; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 40px 0; }
  .hero { padding: 40px 0 24px; }
  .hero h1 { font-size: 27px; }
  .hero .hero-sub { font-size: 15px; }
  .eyebrow { font-size: 12px; padding: 5px 13px; }
  .section-heading h2 { font-size: 23px; }
  .featured-body { padding: 22px; }
  .featured-body h2 { font-size: 20px; }
  .card-grid { grid-template-columns: 1fr; gap: 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .article-head h1 { font-size: 24px; }
  .article-meta { font-size: 13px; }
  .article-body { font-size: 15px; }
  .article-body h2 { font-size: 21px; }
  .article-body h3 { font-size: 18px; }
  .quote-card { padding: 30px 20px; }
  .quote-card h2 { font-size: 20px; }
  .site-header nav ul { gap: 9px 14px; font-size: 12.5px; }
  .logo-img { height: 30px; }
  .pagination { gap: 6px; }
  .page-link { min-width: 34px; padding: 8px 10px; font-size: 13px; }
  .archive-list a { flex-direction: column; align-items: flex-start; gap: 2px; padding: 11px 4px; }
  .archive-list .a-date { font-size: 11px; }
  .topics-section { padding: 22px 0 !important; }
}

.page-ellipsis { padding: 9px 4px; color: var(--gray); font-weight: 700; }

/* ---------------------------------------------------------- search */
.search-input { width: 100%; max-width: 520px; padding: 13px 18px; border: 1px solid var(--border); border-radius: 999px; font-size: 15px; font-family: inherit; color: var(--black); margin-bottom: 18px; outline: none; transition: .15s; }
.search-input::placeholder { color: #9a9a9a; }
.search-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,191,0,.18); }
.search-empty { color: var(--gray); margin-top: 20px; }

/* ---------------------------------------------------------- read next */
.read-next { margin-top: 34px; padding: 18px 22px; border-left: 4px solid var(--brand); background: var(--bg-off); border-radius: 0 var(--radius) var(--radius) 0; }
.read-next p { font-size: 15px; margin: 0; color: #2a2a2a; }
.read-next a { color: var(--black); font-weight: 700; border-bottom: 2px solid var(--brand); }

/* ---------------------------------------------------------- language switch */
.lang-switch { display:flex; gap:8px; align-items:center; font-size:13px; font-weight:600; margin-left:6px; }
.lang-switch a { color:var(--gray); padding-bottom:2px; border-bottom:2px solid transparent; transition:.15s; }
.lang-switch a:hover { color:var(--black); border-bottom-color:var(--brand); }
.lang-switch .lang-cur { color:var(--black); border-bottom:2px solid var(--brand); }
.lang-switch .lang-sep { color:var(--border); }
/* ---- mobile hamburger (no JS) ---- */
.nav-toggle { display: none; }
.nav-burger { display: none; }
@media (max-width: 900px){
  .site-header .header-inner { flex-wrap: wrap; row-gap: 10px; }
  .lang-switch { order: 2; margin-left: auto; }
  .nav-burger { display: flex; order: 3; margin-left: 14px; width: 42px; height: 42px; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; font-size: 20px; color: var(--black); user-select: none; }
  .nav-burger::before { content: "\2630"; }
  .nav-toggle:checked + .nav-burger::before { content: "\2715"; font-size: 18px; }
  .header-inner > .btn-sm { order: 4; }
  .site-header nav { display: none; order: 6; width: 100%; margin-left: 0; }
  .nav-toggle:checked ~ nav { display: block; }
  .site-header nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-header nav li { border-top: 1px solid var(--border); }
  .site-header nav a { display: block; padding: 13px 4px; font-size: 15px; }
}
