/*!
 * Fresh theme styles (replaces the compiled Bootstrap 4 styles.css)
 * Calm, fast, mobile first. No framework; secondary pages use the small
 * compatibility layer and generated utilities at the end of this file.
 */

:root {
  --bg: #f5f6f8;
  --surface: #ffffff;
  --text: #1d2330;
  --muted: #667085;
  --line: #e6e8ec;
  --accent: #0f766e;
  --accent-soft: #e6f3f1;
  --brand: #d6336c;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 3px rgba(16, 24, 40, .06);
  --shadow-hover: 0 6px 18px rgba(16, 24, 40, .10);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5rem; line-height: 1.25; font-weight: 600; }
h1, .h1 { font-size: 2rem; } h2, .h2 { font-size: 1.6rem; } h3, .h3 { font-size: 1.3rem; }
h4, .h4 { font-size: 1.1rem; } h5, .h5 { font-size: 1rem; } h6, .h6 { font-size: .9rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.svg-icon { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; display: inline-block; }
.svg-md { width: 1.25em; height: 1.25em; }
.svg-xl { width: 3rem; height: 3rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 16px;
  height: var(--header-h); display: flex; align-items: center; gap: 16px;
}
.site-logo-link { display: flex; align-items: center; flex: 0 0 auto; }
.site-logo { height: 28px; width: auto; display: block; }
.site-search { flex: 1 1 auto; max-width: 560px; margin-left: auto; margin-right: auto; }
.search-field {
  display: flex; align-items: center; background: var(--bg);
  border: 1px solid var(--line); border-radius: 999px; padding: 0 6px 0 14px;
  transition: border-color .15s, background .15s;
}
.search-field:focus-within { background: #fff; border-color: var(--accent); }
.search-field input {
  flex: 1; min-width: 0; border: 0; background: transparent; padding: 9px 0; outline: none;
}
.search-field button {
  border: 0; background: transparent; color: var(--muted); padding: 8px; border-radius: 999px; cursor: pointer; display: flex;
}
.search-field button:hover { color: var(--accent); }
.header-actions { flex: 0 0 auto; display: flex; gap: 8px; }
.btn-dash { font-size: .85rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; }
.btn-dash:hover { color: var(--text); text-decoration: none; }

/* Category chips (below 1100px the left menu becomes a scrollable row) */
.category-bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.category-bar-inner {
  max-width: 1320px; margin: 0 auto; padding: 8px 16px; display: flex; gap: 8px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.category-bar-inner::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 6px 12px; border-radius: 999px; background: var(--bg); color: var(--text);
  font-size: .875rem; font-weight: 500; border: 1px solid transparent;
}
.chip:hover { text-decoration: none; border-color: var(--line); background: #fff; }
.chip.active { background: var(--accent-soft); color: var(--accent); border-color: #cfe7e3; }
.chip img { width: 16px; height: 16px; }

/* ---------- Page layout ---------- */
.page-wrap {
  max-width: 1320px; margin: 0 auto; padding: 16px;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px;
}
.col-nav { display: none; }
.col-main { min-width: 0; }
.col-side { min-width: 0; }
@media (min-width: 900px) {
  .page-wrap { grid-template-columns: minmax(0, 1fr) 300px; padding: 24px 16px; }
}
@media (min-width: 1100px) {
  .page-wrap { grid-template-columns: 200px minmax(0, 1fr) 320px; }
  .col-nav { display: block; }
  .category-bar { display: none; }
}
.sticky { position: sticky; top: calc(var(--header-h) + 16px); }

/* Left category menu */
.cat-menu { list-style: none; margin: 0; padding: 0; }
.cat-menu a {
  display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--radius-sm);
  color: var(--text); font-size: .925rem;
}
.cat-menu a:hover { background: var(--surface); text-decoration: none; }
.cat-menu a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
.cat-menu img { width: 18px; height: 18px; }

/* Section headings */
.section-title {
  display: flex; align-items: center; gap: 8px; margin: 0 0 12px;
  font-family: var(--font); font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.section-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.page-title { font-family: var(--font-head); font-size: 1.75rem; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.page-title img { width: 28px; height: 28px; }

/* ---------- Images: fixed ratios, cover, soft placeholder ---------- */
.thumb {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm);
  aspect-ratio: 16 / 9;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b7c0cc' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='3'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center / 32px no-repeat,
    linear-gradient(135deg, #eef2f6, #f7f3ee);
}
.thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  transition: transform .35s ease;
}
.thumb-sq { aspect-ratio: 1 / 1; }
.thumb-43 { aspect-ratio: 4 / 3; }

/* ---------- Featured (replaces the carousel) ---------- */
.featured { display: grid; gap: 12px; margin-bottom: 28px; }
.featured-main { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.featured-main .thumb { border-radius: 0; aspect-ratio: 16 / 9; }
.featured-main:hover .thumb img, .card:hover .thumb img { transform: scale(1.03); }
.featured-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px;
  background: linear-gradient(to top, rgba(10, 14, 20, .85) 0%, rgba(10, 14, 20, .55) 55%, rgba(10, 14, 20, 0) 100%);
  color: #fff;
}
.featured-caption h2 {
  font-family: var(--font-head); font-size: 1.35rem; margin: 0 0 6px; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .3);
}
.featured-caption .meta { color: rgba(255, 255, 255, .85); }
.featured-main:hover { text-decoration: none; }
.featured-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.featured-row .card-title { font-size: .95rem; -webkit-line-clamp: 3; }
@media (max-width: 599px) {
  .featured-row { grid-template-columns: repeat(3, minmax(160px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .featured-row > * { scroll-snap-align: start; }
  .featured-caption h2 { font-size: 1.15rem; }
}
@media (min-width: 900px) { .featured-caption h2 { font-size: 1.6rem; } .featured-caption { padding: 72px 28px 24px; } }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 600px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card {
  position: relative; display: flex; flex-direction: column; background: var(--surface);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.card .thumb { border-radius: 0; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title {
  margin: 0; font-family: var(--font-head); font-size: 1.1rem; font-weight: 600; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-title a { color: var(--text); }
.card-title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.card-title a:hover { text-decoration: none; }
.card:hover .card-title a { color: var(--accent); }
.card .meta { margin-top: auto; position: relative; z-index: 1; }
.card-admin { position: absolute; top: 8px; right: 8px; z-index: 2; display: flex; gap: 4px; }

/* Compact list cards on phones */
@media (max-width: 599px) {
  .card-grid.compact-sm .card { flex-direction: row; align-items: stretch; }
  .card-grid.compact-sm .card .thumb { flex: 0 0 112px; aspect-ratio: 1 / 1; }
  .card-grid.compact-sm .card-body { padding: 10px 12px; gap: 6px; }
  .card-grid.compact-sm .card-title { font-size: 1rem; -webkit-line-clamp: 3; }
}

/* Meta line: source · time · views */
.meta { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: .8rem; color: var(--muted); }
.meta .source { font-weight: 600; color: var(--text); display: inline-flex; align-items: center; gap: 6px; max-width: 100%; }
.meta .source img { width: 16px; height: 16px; border-radius: 4px; object-fit: cover; }
.meta .source a { color: inherit; }
.featured-caption .meta .source { color: #fff; }
.meta .sep::before { content: "·"; }

/* ---------- Sidebar boxes ---------- */
.box { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; margin-bottom: 20px; }
.box-title { display: flex; align-items: center; justify-content: space-between; font-size: 1rem; margin: 0 0 12px; }
.box-title .svg-icon { color: var(--accent); }
.trend-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.trend-chip {
  display: inline-flex; align-items: center; gap: 6px; max-width: 100%;
  padding: 6px 12px; border-radius: 999px; background: var(--bg); color: var(--text);
  font-size: .85rem; line-height: 1.3; border: 1px solid var(--line);
}
.trend-chip:hover { background: var(--accent-soft); color: var(--accent); border-color: #cfe7e3; text-decoration: none; }
.trend-chip img { width: 16px; height: 16px; }
.trend-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-list { list-style: none; margin: 0; padding: 0; counter-reset: mini; display: grid; gap: 14px; }
.mini {
  position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center;
}
.mini .thumb { border-radius: var(--radius-sm); }
.mini-title {
  margin: 0 0 4px; font-size: .9rem; font-weight: 600; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mini-title a { color: var(--text); }
.mini-title a::after { content: ""; position: absolute; inset: 0; }
.mini:hover .mini-title a { color: var(--accent); text-decoration: none; }
.site-footer-box { font-size: .8rem; color: var(--muted); }
.site-footer-box a { color: var(--muted); }
.site-footer-box a:hover { color: var(--accent); }
.site-footer-box p { margin: 6px 0 0; }
.locale-icon { width: 16px; height: 11px; vertical-align: -1px; margin-right: 4px; }
.ad-block:empty { display: none; }
.ad-block { margin-bottom: 20px; text-align: center; }

/* ---------- Single post ---------- */
.article { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.article-head { padding: 24px 20px 16px; }
.article-cat { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.article-cat img { width: 16px; height: 16px; }
.article-title { font-family: var(--font-head); font-size: 1.75rem; line-height: 1.2; margin: 0 0 12px; }
@media (min-width: 768px) { .article-head { padding: 32px 40px 20px; } .article-title { font-size: 2.25rem; } }
.article .thumb.article-hero { border-radius: 0; aspect-ratio: 16 / 9; }
.article-body {
  padding: 20px; font-size: 1.075rem; line-height: 1.75; overflow-wrap: break-word;
}
@media (min-width: 768px) { .article-body { padding: 28px 40px; } }
.article-body > * { max-width: 70ch; }
.article-body img, .article-body video, .article-body iframe { display: block; max-width: 100%; height: auto; margin: 1rem auto; border-radius: var(--radius-sm); }
.article-body figure { margin: 1.25rem 0; }
.article-body figcaption, .article-body .wp-caption-text { font-size: .85rem; color: var(--muted); line-height: 1.5; }
.article-body h1, .article-body h2, .article-body h3, .article-body h4 { font-family: var(--font-head); margin: 1.5rem 0 .75rem; }
.article-body h1 { font-size: 1.5rem; } .article-body h2 { font-size: 1.35rem; } .article-body h3 { font-size: 1.2rem; }
.article-body blockquote { margin: 1.25rem 0; padding: .25rem 0 .25rem 1rem; border-left: 3px solid var(--accent); color: #3b4252; }
.article-body table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0; display: block; overflow-x: auto; }
.article-body td, .article-body th { border-bottom: 1px solid var(--line); padding: 6px 8px; text-align: left; vertical-align: top; }
.article-body a { text-decoration: underline; text-underline-offset: 2px; }
.article-foot { padding: 0 20px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
@media (min-width: 768px) { .article-foot { padding: 0 40px 32px; } }
.btn-source {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  background: var(--accent); color: #fff; font-weight: 600;
}
.btn-source:hover { background: #0b5f58; text-decoration: none; color: #fff; }
.share { display: flex; gap: 6px; }
.share a {
  width: 38px; height: 38px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg); color: var(--muted); border: 1px solid var(--line);
}
.share a:hover { color: var(--accent); background: var(--accent-soft); text-decoration: none; }
.related { margin-top: 28px; }
.related .card-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.breadcrumb { display: flex; flex-wrap: wrap; list-style: none; gap: 6px; padding: 0; margin: 16px 0 0; font-size: .8rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #aab2bd; }
.breadcrumb a { color: var(--muted); }

/* ---------- Empty state, pagination, static pages ---------- */
.empty { text-align: center; padding: 40px 16px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.empty .svg-icon { width: 3rem; height: 3rem; color: #aab2bd; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 24px 0 8px; justify-content: center; }
.page-link {
  display: inline-flex; min-width: 40px; height: 40px; align-items: center; justify-content: center; padding: 0 12px;
  border-radius: 999px; background: var(--surface); color: var(--text); border: 1px solid var(--line); font-size: .9rem;
}
.page-link:hover { text-decoration: none; border-color: var(--accent); color: var(--accent); }
.page-item.active .page-link { background: var(--accent); border-color: var(--accent); color: #fff; }
.page-item.disabled .page-link { opacity: .5; pointer-events: none; }
.page-content { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; line-height: 1.7; }
@media (min-width: 768px) { .page-content { padding: 32px 40px; } }
.page-flex { min-height: 100vh; display: flex; align-items: center; justify-content: center; }

/* ---------- Compatibility layer for secondary pages (search, contact, 404) ---------- */
.container, .container-fluid { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; }
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1200px; } }
.row { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.no-gutters, .gutters-sm { margin-right: 0; margin-left: 0; }
.no-gutters > [class*="col"] { padding-right: 0; padding-left: 0; }
[class*="col-"], .col { position: relative; width: 100%; padding-right: 15px; padding-left: 15px; }
.col { flex: 1 0 0%; max-width: 100%; } .col-auto { flex: 0 0 auto; width: auto; max-width: 100%; }
.col-6 { flex: 0 0 50%; max-width: 50%; } .col-12 { flex: 0 0 100%; max-width: 100%; }
@media (min-width: 576px) { .col-sm-2 { flex: 0 0 16.667%; max-width: 16.667%; } }
@media (min-width: 768px) {
  .col-md-0 { display: none; }
  .col-md-1 { flex: 0 0 8.333%; max-width: 8.333%; } .col-md-2 { flex: 0 0 16.667%; max-width: 16.667%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; } .col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
  .col-md-5 { flex: 0 0 41.667%; max-width: 41.667%; } .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.333%; max-width: 58.333%; } .col-md-8 { flex: 0 0 66.667%; max-width: 66.667%; }
  .col-md-9 { flex: 0 0 75%; max-width: 75%; } .text-md-left { text-align: left !important; }
  .flex-md-row-reverse { flex-direction: row-reverse !important; }
}
@media (min-width: 992px) {
  .col-lg-2 { flex: 0 0 16.667%; max-width: 16.667%; } .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-7 { flex: 0 0 58.333%; max-width: 58.333%; }
}
.flex-column { flex-direction: column !important; } .flex-wrap { flex-wrap: wrap !important; }
.flex-row-reverse { flex-direction: row-reverse !important; } .flex-1 { flex: 1; }
.align-items-center { align-items: center !important; }
.justify-content-start { justify-content: flex-start !important; } .justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.text-center { text-align: center !important; } .text-right { text-align: right !important; }
.text-muted { color: var(--muted) !important; } .text-dark, .text-body { color: var(--text) !important; }
.text-danger { color: #c2410c !important; } .text-success { color: #15803d !important; } .text-primary { color: var(--accent) !important; }
.text-secondary { color: var(--muted) !important; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.font-weight-bold { font-weight: 700 !important; } .font-weight-600 { font-weight: 600 !important; }
.bg-white { background: #fff !important; } .bg-transparent { background: transparent !important; }
.shadow, .shadow-sm { box-shadow: var(--shadow) !important; } .shadow-none { box-shadow: none !important; }
.rounded-0 { border-radius: 0 !important; } .border-right-0 { border-right: 0 !important; }
.w-100 { width: 100% !important; } .position-relative { position: relative !important; } .position-absolute { position: absolute !important; }
.clearfix::after { content: ""; display: table; clear: both; }
.list-unstyled { list-style: none; padding-left: 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid transparent; background: var(--bg); color: var(--text); font-weight: 500; font-size: .95rem; cursor: pointer; line-height: 1.4;
}
.btn:hover { text-decoration: none; filter: brightness(.97); }
.btn-sm { padding: 4px 10px; font-size: .8rem; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--accent); color: #fff; } .btn-success { background: #15803d; color: #fff; }
.btn-link { background: transparent; color: var(--accent); }
.btn-outline-dark { background: transparent; border-color: var(--line); color: var(--text); }
.btn-outline-danger { background: transparent; border-color: #fbd5c7; color: #c2410c; }
.close { background: transparent; border: 0; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--muted); }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-weight: 600; margin-bottom: .35rem; }
.form-text { display: block; margin-top: .25rem; font-size: .85rem; }
.form-control {
  display: block; width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.form-control:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-soft); }
.form-control.is-invalid { border-color: #c2410c; }
.input-group { display: flex; align-items: stretch; width: 100%; }
.input-group > .form-control { flex: 1 1 auto; min-width: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group-append, .input-group-prepend { display: flex; }
.input-group-append .btn, .input-group-append .input-group-text { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.input-group-text { display: flex; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.custom-control { position: relative; padding-left: 1.5rem; margin-bottom: .25rem; }
.custom-control-input { position: absolute; left: 0; top: .3rem; }
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 1rem; border: 1px solid var(--line); background: var(--surface); }
.alert-success { background: #ecfdf3; border-color: #abefc6; } .alert-danger { background: #fef3f2; border-color: #fecdca; }
.alert-info, .alert-warning { background: #eff8ff; border-color: #b2ddff; }
.card-footer { padding: 12px 14px; border-top: 1px solid var(--line); }
.nav { display: flex; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; }
.nav-link { display: block; padding: 8px 14px; color: var(--text); }
.nav-tabs { border-bottom: 1px solid var(--line); flex-wrap: nowrap; overflow-x: auto; }
.nav-tabs .nav-link { border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-tabs .nav-link.active, .nav-tabs .active-engine .nav-link { border-bottom-color: var(--accent); color: var(--accent); }
.embed-responsive { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; aspect-ratio: 16 / 9; }
.embed-responsive .embed-responsive-item, .embed-responsive iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; margin: 0; }
.dropdown-header { display: block; font-size: .8rem; color: var(--muted); }
/* Utilities (generated): spacing m/p-{side}-{0..5,auto}, d-*, per breakpoint sm/md/lg */
.m-0{margin:0}
.m-1{margin:.25rem}
.m-2{margin:.5rem}
.m-3{margin:1rem}
.m-4{margin:1.5rem}
.m-5{margin:3rem}
.m-auto{margin:auto}
.mt-0{margin-top:0}
.mt-1{margin-top:.25rem}
.mt-2{margin-top:.5rem}
.mt-3{margin-top:1rem}
.mt-4{margin-top:1.5rem}
.mt-5{margin-top:3rem}
.mt-auto{margin-top:auto}
.mb-0{margin-bottom:0}
.mb-1{margin-bottom:.25rem}
.mb-2{margin-bottom:.5rem}
.mb-3{margin-bottom:1rem}
.mb-4{margin-bottom:1.5rem}
.mb-5{margin-bottom:3rem}
.mb-auto{margin-bottom:auto}
.ml-0{margin-left:0}
.ml-1{margin-left:.25rem}
.ml-2{margin-left:.5rem}
.ml-3{margin-left:1rem}
.ml-4{margin-left:1.5rem}
.ml-5{margin-left:3rem}
.ml-auto{margin-left:auto}
.mr-0{margin-right:0}
.mr-1{margin-right:.25rem}
.mr-2{margin-right:.5rem}
.mr-3{margin-right:1rem}
.mr-4{margin-right:1.5rem}
.mr-5{margin-right:3rem}
.mr-auto{margin-right:auto}
.mx-0{margin-left:0;margin-right:0}
.mx-1{margin-left:.25rem;margin-right:.25rem}
.mx-2{margin-left:.5rem;margin-right:.5rem}
.mx-3{margin-left:1rem;margin-right:1rem}
.mx-4{margin-left:1.5rem;margin-right:1.5rem}
.mx-5{margin-left:3rem;margin-right:3rem}
.mx-auto{margin-left:auto;margin-right:auto}
.my-0{margin-top:0;margin-bottom:0}
.my-1{margin-top:.25rem;margin-bottom:.25rem}
.my-2{margin-top:.5rem;margin-bottom:.5rem}
.my-3{margin-top:1rem;margin-bottom:1rem}
.my-4{margin-top:1.5rem;margin-bottom:1.5rem}
.my-5{margin-top:3rem;margin-bottom:3rem}
.my-auto{margin-top:auto;margin-bottom:auto}
.p-0{padding:0}
.p-1{padding:.25rem}
.p-2{padding:.5rem}
.p-3{padding:1rem}
.p-4{padding:1.5rem}
.p-5{padding:3rem}
.pt-0{padding-top:0}
.pt-1{padding-top:.25rem}
.pt-2{padding-top:.5rem}
.pt-3{padding-top:1rem}
.pt-4{padding-top:1.5rem}
.pt-5{padding-top:3rem}
.pb-0{padding-bottom:0}
.pb-1{padding-bottom:.25rem}
.pb-2{padding-bottom:.5rem}
.pb-3{padding-bottom:1rem}
.pb-4{padding-bottom:1.5rem}
.pb-5{padding-bottom:3rem}
.pl-0{padding-left:0}
.pl-1{padding-left:.25rem}
.pl-2{padding-left:.5rem}
.pl-3{padding-left:1rem}
.pl-4{padding-left:1.5rem}
.pl-5{padding-left:3rem}
.pr-0{padding-right:0}
.pr-1{padding-right:.25rem}
.pr-2{padding-right:.5rem}
.pr-3{padding-right:1rem}
.pr-4{padding-right:1.5rem}
.pr-5{padding-right:3rem}
.px-0{padding-left:0;padding-right:0}
.px-1{padding-left:.25rem;padding-right:.25rem}
.px-2{padding-left:.5rem;padding-right:.5rem}
.px-3{padding-left:1rem;padding-right:1rem}
.px-4{padding-left:1.5rem;padding-right:1.5rem}
.px-5{padding-left:3rem;padding-right:3rem}
.py-0{padding-top:0;padding-bottom:0}
.py-1{padding-top:.25rem;padding-bottom:.25rem}
.py-2{padding-top:.5rem;padding-bottom:.5rem}
.py-3{padding-top:1rem;padding-bottom:1rem}
.py-4{padding-top:1.5rem;padding-bottom:1.5rem}
.py-5{padding-top:3rem;padding-bottom:3rem}
.d-none{display:none}
.d-block{display:block}
.d-inline-block{display:inline-block}
.d-flex{display:flex}
.d-inline-flex{display:inline-flex}
@media (min-width:576px){.m-sm-0{margin:0}.m-sm-1{margin:.25rem}.m-sm-2{margin:.5rem}.m-sm-3{margin:1rem}.m-sm-4{margin:1.5rem}.m-sm-5{margin:3rem}.m-sm-auto{margin:auto}.mt-sm-0{margin-top:0}.mt-sm-1{margin-top:.25rem}.mt-sm-2{margin-top:.5rem}.mt-sm-3{margin-top:1rem}.mt-sm-4{margin-top:1.5rem}.mt-sm-5{margin-top:3rem}.mt-sm-auto{margin-top:auto}.mb-sm-0{margin-bottom:0}.mb-sm-1{margin-bottom:.25rem}.mb-sm-2{margin-bottom:.5rem}.mb-sm-3{margin-bottom:1rem}.mb-sm-4{margin-bottom:1.5rem}.mb-sm-5{margin-bottom:3rem}.mb-sm-auto{margin-bottom:auto}.ml-sm-0{margin-left:0}.ml-sm-1{margin-left:.25rem}.ml-sm-2{margin-left:.5rem}.ml-sm-3{margin-left:1rem}.ml-sm-4{margin-left:1.5rem}.ml-sm-5{margin-left:3rem}.ml-sm-auto{margin-left:auto}.mr-sm-0{margin-right:0}.mr-sm-1{margin-right:.25rem}.mr-sm-2{margin-right:.5rem}.mr-sm-3{margin-right:1rem}.mr-sm-4{margin-right:1.5rem}.mr-sm-5{margin-right:3rem}.mr-sm-auto{margin-right:auto}.mx-sm-0{margin-left:0;margin-right:0}.mx-sm-1{margin-left:.25rem;margin-right:.25rem}.mx-sm-2{margin-left:.5rem;margin-right:.5rem}.mx-sm-3{margin-left:1rem;margin-right:1rem}.mx-sm-4{margin-left:1.5rem;margin-right:1.5rem}.mx-sm-5{margin-left:3rem;margin-right:3rem}.mx-sm-auto{margin-left:auto;margin-right:auto}.my-sm-0{margin-top:0;margin-bottom:0}.my-sm-1{margin-top:.25rem;margin-bottom:.25rem}.my-sm-2{margin-top:.5rem;margin-bottom:.5rem}.my-sm-3{margin-top:1rem;margin-bottom:1rem}.my-sm-4{margin-top:1.5rem;margin-bottom:1.5rem}.my-sm-5{margin-top:3rem;margin-bottom:3rem}.my-sm-auto{margin-top:auto;margin-bottom:auto}.p-sm-0{padding:0}.p-sm-1{padding:.25rem}.p-sm-2{padding:.5rem}.p-sm-3{padding:1rem}.p-sm-4{padding:1.5rem}.p-sm-5{padding:3rem}.pt-sm-0{padding-top:0}.pt-sm-1{padding-top:.25rem}.pt-sm-2{padding-top:.5rem}.pt-sm-3{padding-top:1rem}.pt-sm-4{padding-top:1.5rem}.pt-sm-5{padding-top:3rem}.pb-sm-0{padding-bottom:0}.pb-sm-1{padding-bottom:.25rem}.pb-sm-2{padding-bottom:.5rem}.pb-sm-3{padding-bottom:1rem}.pb-sm-4{padding-bottom:1.5rem}.pb-sm-5{padding-bottom:3rem}.pl-sm-0{padding-left:0}.pl-sm-1{padding-left:.25rem}.pl-sm-2{padding-left:.5rem}.pl-sm-3{padding-left:1rem}.pl-sm-4{padding-left:1.5rem}.pl-sm-5{padding-left:3rem}.pr-sm-0{padding-right:0}.pr-sm-1{padding-right:.25rem}.pr-sm-2{padding-right:.5rem}.pr-sm-3{padding-right:1rem}.pr-sm-4{padding-right:1.5rem}.pr-sm-5{padding-right:3rem}.px-sm-0{padding-left:0;padding-right:0}.px-sm-1{padding-left:.25rem;padding-right:.25rem}.px-sm-2{padding-left:.5rem;padding-right:.5rem}.px-sm-3{padding-left:1rem;padding-right:1rem}.px-sm-4{padding-left:1.5rem;padding-right:1.5rem}.px-sm-5{padding-left:3rem;padding-right:3rem}.py-sm-0{padding-top:0;padding-bottom:0}.py-sm-1{padding-top:.25rem;padding-bottom:.25rem}.py-sm-2{padding-top:.5rem;padding-bottom:.5rem}.py-sm-3{padding-top:1rem;padding-bottom:1rem}.py-sm-4{padding-top:1.5rem;padding-bottom:1.5rem}.py-sm-5{padding-top:3rem;padding-bottom:3rem}.d-sm-none{display:none}.d-sm-block{display:block}.d-sm-inline-block{display:inline-block}.d-sm-flex{display:flex}.d-sm-inline-flex{display:inline-flex}}
@media (min-width:768px){.m-md-0{margin:0}.m-md-1{margin:.25rem}.m-md-2{margin:.5rem}.m-md-3{margin:1rem}.m-md-4{margin:1.5rem}.m-md-5{margin:3rem}.m-md-auto{margin:auto}.mt-md-0{margin-top:0}.mt-md-1{margin-top:.25rem}.mt-md-2{margin-top:.5rem}.mt-md-3{margin-top:1rem}.mt-md-4{margin-top:1.5rem}.mt-md-5{margin-top:3rem}.mt-md-auto{margin-top:auto}.mb-md-0{margin-bottom:0}.mb-md-1{margin-bottom:.25rem}.mb-md-2{margin-bottom:.5rem}.mb-md-3{margin-bottom:1rem}.mb-md-4{margin-bottom:1.5rem}.mb-md-5{margin-bottom:3rem}.mb-md-auto{margin-bottom:auto}.ml-md-0{margin-left:0}.ml-md-1{margin-left:.25rem}.ml-md-2{margin-left:.5rem}.ml-md-3{margin-left:1rem}.ml-md-4{margin-left:1.5rem}.ml-md-5{margin-left:3rem}.ml-md-auto{margin-left:auto}.mr-md-0{margin-right:0}.mr-md-1{margin-right:.25rem}.mr-md-2{margin-right:.5rem}.mr-md-3{margin-right:1rem}.mr-md-4{margin-right:1.5rem}.mr-md-5{margin-right:3rem}.mr-md-auto{margin-right:auto}.mx-md-0{margin-left:0;margin-right:0}.mx-md-1{margin-left:.25rem;margin-right:.25rem}.mx-md-2{margin-left:.5rem;margin-right:.5rem}.mx-md-3{margin-left:1rem;margin-right:1rem}.mx-md-4{margin-left:1.5rem;margin-right:1.5rem}.mx-md-5{margin-left:3rem;margin-right:3rem}.mx-md-auto{margin-left:auto;margin-right:auto}.my-md-0{margin-top:0;margin-bottom:0}.my-md-1{margin-top:.25rem;margin-bottom:.25rem}.my-md-2{margin-top:.5rem;margin-bottom:.5rem}.my-md-3{margin-top:1rem;margin-bottom:1rem}.my-md-4{margin-top:1.5rem;margin-bottom:1.5rem}.my-md-5{margin-top:3rem;margin-bottom:3rem}.my-md-auto{margin-top:auto;margin-bottom:auto}.p-md-0{padding:0}.p-md-1{padding:.25rem}.p-md-2{padding:.5rem}.p-md-3{padding:1rem}.p-md-4{padding:1.5rem}.p-md-5{padding:3rem}.pt-md-0{padding-top:0}.pt-md-1{padding-top:.25rem}.pt-md-2{padding-top:.5rem}.pt-md-3{padding-top:1rem}.pt-md-4{padding-top:1.5rem}.pt-md-5{padding-top:3rem}.pb-md-0{padding-bottom:0}.pb-md-1{padding-bottom:.25rem}.pb-md-2{padding-bottom:.5rem}.pb-md-3{padding-bottom:1rem}.pb-md-4{padding-bottom:1.5rem}.pb-md-5{padding-bottom:3rem}.pl-md-0{padding-left:0}.pl-md-1{padding-left:.25rem}.pl-md-2{padding-left:.5rem}.pl-md-3{padding-left:1rem}.pl-md-4{padding-left:1.5rem}.pl-md-5{padding-left:3rem}.pr-md-0{padding-right:0}.pr-md-1{padding-right:.25rem}.pr-md-2{padding-right:.5rem}.pr-md-3{padding-right:1rem}.pr-md-4{padding-right:1.5rem}.pr-md-5{padding-right:3rem}.px-md-0{padding-left:0;padding-right:0}.px-md-1{padding-left:.25rem;padding-right:.25rem}.px-md-2{padding-left:.5rem;padding-right:.5rem}.px-md-3{padding-left:1rem;padding-right:1rem}.px-md-4{padding-left:1.5rem;padding-right:1.5rem}.px-md-5{padding-left:3rem;padding-right:3rem}.py-md-0{padding-top:0;padding-bottom:0}.py-md-1{padding-top:.25rem;padding-bottom:.25rem}.py-md-2{padding-top:.5rem;padding-bottom:.5rem}.py-md-3{padding-top:1rem;padding-bottom:1rem}.py-md-4{padding-top:1.5rem;padding-bottom:1.5rem}.py-md-5{padding-top:3rem;padding-bottom:3rem}.d-md-none{display:none}.d-md-block{display:block}.d-md-inline-block{display:inline-block}.d-md-flex{display:flex}.d-md-inline-flex{display:inline-flex}}
@media (min-width:992px){.m-lg-0{margin:0}.m-lg-1{margin:.25rem}.m-lg-2{margin:.5rem}.m-lg-3{margin:1rem}.m-lg-4{margin:1.5rem}.m-lg-5{margin:3rem}.m-lg-auto{margin:auto}.mt-lg-0{margin-top:0}.mt-lg-1{margin-top:.25rem}.mt-lg-2{margin-top:.5rem}.mt-lg-3{margin-top:1rem}.mt-lg-4{margin-top:1.5rem}.mt-lg-5{margin-top:3rem}.mt-lg-auto{margin-top:auto}.mb-lg-0{margin-bottom:0}.mb-lg-1{margin-bottom:.25rem}.mb-lg-2{margin-bottom:.5rem}.mb-lg-3{margin-bottom:1rem}.mb-lg-4{margin-bottom:1.5rem}.mb-lg-5{margin-bottom:3rem}.mb-lg-auto{margin-bottom:auto}.ml-lg-0{margin-left:0}.ml-lg-1{margin-left:.25rem}.ml-lg-2{margin-left:.5rem}.ml-lg-3{margin-left:1rem}.ml-lg-4{margin-left:1.5rem}.ml-lg-5{margin-left:3rem}.ml-lg-auto{margin-left:auto}.mr-lg-0{margin-right:0}.mr-lg-1{margin-right:.25rem}.mr-lg-2{margin-right:.5rem}.mr-lg-3{margin-right:1rem}.mr-lg-4{margin-right:1.5rem}.mr-lg-5{margin-right:3rem}.mr-lg-auto{margin-right:auto}.mx-lg-0{margin-left:0;margin-right:0}.mx-lg-1{margin-left:.25rem;margin-right:.25rem}.mx-lg-2{margin-left:.5rem;margin-right:.5rem}.mx-lg-3{margin-left:1rem;margin-right:1rem}.mx-lg-4{margin-left:1.5rem;margin-right:1.5rem}.mx-lg-5{margin-left:3rem;margin-right:3rem}.mx-lg-auto{margin-left:auto;margin-right:auto}.my-lg-0{margin-top:0;margin-bottom:0}.my-lg-1{margin-top:.25rem;margin-bottom:.25rem}.my-lg-2{margin-top:.5rem;margin-bottom:.5rem}.my-lg-3{margin-top:1rem;margin-bottom:1rem}.my-lg-4{margin-top:1.5rem;margin-bottom:1.5rem}.my-lg-5{margin-top:3rem;margin-bottom:3rem}.my-lg-auto{margin-top:auto;margin-bottom:auto}.p-lg-0{padding:0}.p-lg-1{padding:.25rem}.p-lg-2{padding:.5rem}.p-lg-3{padding:1rem}.p-lg-4{padding:1.5rem}.p-lg-5{padding:3rem}.pt-lg-0{padding-top:0}.pt-lg-1{padding-top:.25rem}.pt-lg-2{padding-top:.5rem}.pt-lg-3{padding-top:1rem}.pt-lg-4{padding-top:1.5rem}.pt-lg-5{padding-top:3rem}.pb-lg-0{padding-bottom:0}.pb-lg-1{padding-bottom:.25rem}.pb-lg-2{padding-bottom:.5rem}.pb-lg-3{padding-bottom:1rem}.pb-lg-4{padding-bottom:1.5rem}.pb-lg-5{padding-bottom:3rem}.pl-lg-0{padding-left:0}.pl-lg-1{padding-left:.25rem}.pl-lg-2{padding-left:.5rem}.pl-lg-3{padding-left:1rem}.pl-lg-4{padding-left:1.5rem}.pl-lg-5{padding-left:3rem}.pr-lg-0{padding-right:0}.pr-lg-1{padding-right:.25rem}.pr-lg-2{padding-right:.5rem}.pr-lg-3{padding-right:1rem}.pr-lg-4{padding-right:1.5rem}.pr-lg-5{padding-right:3rem}.px-lg-0{padding-left:0;padding-right:0}.px-lg-1{padding-left:.25rem;padding-right:.25rem}.px-lg-2{padding-left:.5rem;padding-right:.5rem}.px-lg-3{padding-left:1rem;padding-right:1rem}.px-lg-4{padding-left:1.5rem;padding-right:1.5rem}.px-lg-5{padding-left:3rem;padding-right:3rem}.py-lg-0{padding-top:0;padding-bottom:0}.py-lg-1{padding-top:.25rem;padding-bottom:.25rem}.py-lg-2{padding-top:.5rem;padding-bottom:.5rem}.py-lg-3{padding-top:1rem;padding-bottom:1rem}.py-lg-4{padding-top:1.5rem;padding-bottom:1.5rem}.py-lg-5{padding-top:3rem;padding-bottom:3rem}.d-lg-none{display:none}.d-lg-block{display:block}.d-lg-inline-block{display:inline-block}.d-lg-flex{display:flex}.d-lg-inline-flex{display:inline-flex}}

/* Inline SVG sprite sheet at the top of <body>: never takes space */
#svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Imported articles: ignore the source site's inline sizes/fonts, keep our type scale */
.article-body [style*="font-size"], .article-body [style*="font-family"], .article-body [style*="line-height"] { font-size: inherit !important; font-family: inherit !important; line-height: inherit !important; }
.article-body [style*="width"] { max-width: 100% !important; }

/* Small screens: let the header's search field shrink instead of widening the page */
.site-search, .search-field { min-width: 0; }
@media (max-width: 599px) {
  .site-header-inner { gap: 10px; padding: 0 12px; }
  .site-logo { height: 24px; }
  .page-wrap { padding: 12px; }
}

/* Trending box: numbered list of pink links (the pink of the "Fresh" logo) */
.trending-block { --trend-pink: #ff00cc; }
.trending-title .trending-label { display: inline-flex; align-items: center; gap: 8px; }
.trending-title .trending-label::before { content: ""; width: 4px; height: 1.1em; border-radius: 2px; background: var(--trend-pink); }
.trending-title .svg-icon { color: var(--trend-pink); }
.trend-list {
  list-style: decimal; margin: 0; padding-left: 1.6em;
  columns: 2; column-gap: 2.2em; font-size: .9rem;
}
.trend-list li { min-width: 0; color: var(--muted); break-inside: avoid; padding: 3px 0; }
.trend-list li::marker { color: var(--muted); font-size: .85em; }
.trend-list a {
  display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  color: var(--trend-pink); font-weight: 500;
}
.trend-list a:hover { text-decoration: underline; }
@media (max-width: 599px) { .trend-list { columns: 1; } }
