/* ================================================
   THEME VARIABLES
   Defaults — overridden per site via wp_head CSS
   variables injected by functions.php from WP options.
   ================================================ */
:root {
  --color-accent:      #FF8000;
  --color-bg:          #ffffff;
  --color-bg-muted:    #f5f5f5;
  --color-header-bg:   #000000;
  --color-footer-bg:   #1a1a1a;
  --color-text:        #1a1a1a;
  --color-text-muted:  #666666;
  --color-border:      #e5e5e5;
  --font-heading:      Georgia, 'Times New Roman', serif;
  --font-body:         -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --space-xs:   4px;
  --space-sm:   8px;
  --space-md:   16px;
  --space-lg:   24px;
  --space-xl:   40px;
  --space-2xl:  64px;

  --max-width:          1200px;
  --header-main-height: 52px;
  --header-nav-height:  38px;
  --header-height:      90px;  /* total height for sticky offset */
  --radius:             4px;
}

/* ================================================
   RESET + BASE
   ================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.5;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul  { list-style: none; }

/* ================================================
   LAYOUT UTILITIES
   ================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.text-muted { color: var(--color-text-muted); }
.text-sm    { font-size: 13px; }

/* ================================================
   TAGS (category labels)
   ================================================ */
.tag {
  display: inline-block;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--radius);
  margin-bottom: var(--space-sm);
}
.tag:hover { text-decoration: none; opacity: 0.85; }
.tag--small { font-size: 10px; padding: 2px 6px; }

/* ================================================
   BREAKING NEWS BAR
   ================================================ */
.breaking-news {
  background: var(--color-accent);
  color: #fff;
  padding: 7px 0;
}
.breaking-news .container {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  overflow: hidden;
}
.breaking-news__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.18);
  padding: 3px 8px;
  border-radius: var(--radius);
  white-space: nowrap;
  flex-shrink: 0;
}
.breaking-news__text {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breaking-news__text:hover { text-decoration: underline; }

/* ================================================
   SITE HEADER — two rows: brand + nav strip
   ================================================ */
.site-header {
  background: var(--color-header-bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Row 1: logo */
.site-header__main {
  height: var(--header-main-height);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-header__main .container {
  height: 100%;
  display: flex;
  align-items: center;
}
.site-header__main-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Row 2: navigation strip */
.site-header__nav-bar {
  height: var(--header-nav-height);
  display: flex;
  align-items: center;
  border-bottom: 3px solid var(--color-accent);
}
.site-header__nav-bar .container {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
}

.site-header__logo {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  white-space: nowrap;
  flex-shrink: 0;
}
.site-header__logo:hover { text-decoration: none; opacity: 0.9; }

.site-header__nav { display: flex; align-items: center; width: 100%; }

.site-header__nav-list {
  display: flex;
  gap: var(--space-lg);
}

.site-header__nav-list li a,
.site-header__nav-link {
  color: rgba(255,255,255,0.72);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.site-header__nav-list li a:hover,
.site-header__nav-link:hover {
  color: #fff;
  border-bottom-color: var(--color-accent);
  text-decoration: none;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  flex-direction: column;
  gap: 5px;
}
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  background: var(--color-bg);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-xl);
  align-items: start;
}

.hero__image-link { display: block; margin-bottom: var(--space-md); }
.hero__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
}
.hero__title a:hover { text-decoration: underline; }

.hero__excerpt {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.hero__date { font-size: 13px; color: var(--color-text-muted); }

.hero__sidebar {
  border-left: 1px solid var(--color-border);
  padding-left: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.hero__sidebar-item {
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}
.hero__sidebar-item:last-child { border-bottom: none; padding-bottom: 0; }

.hero__sidebar-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: var(--space-xs);
  margin-bottom: var(--space-xs);
}
.hero__sidebar-title a:hover { text-decoration: underline; }

/* ================================================
   CATEGORY SECTIONS
   ================================================ */
.category-section {
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.category-section__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-sm);
  border-bottom: 3px solid var(--color-accent);
}

.category-section__title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.category-section__title a:hover { text-decoration: none; color: var(--color-accent); }

.category-section__more {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.04em;
}
.category-section__more:hover { text-decoration: underline; }

/* ================================================
   ARTICLE GRID
   ================================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* Featured variant: 1 large (left, spans 2 rows) + 2 small (right, stacked) */
.article-grid--featured {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
}
.article-card--featured {
  grid-row: 1 / 3;
  padding-right: var(--space-lg);
  border-right: 1px solid var(--color-border);
}
.article-card--featured .article-card__image {
  aspect-ratio: 4 / 3;
  margin-bottom: var(--space-md);
}
.article-card--featured .article-card__title {
  font-size: 22px;
  line-height: 1.25;
}
.article-card--secondary {
  padding-left: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}
.article-card--secondary:last-child {
  padding-top: var(--space-md);
  border-bottom: none;
  border-top: 1px solid var(--color-border);
}
.article-card--secondary .article-card__excerpt { display: none; }
.article-card--secondary .article-card__image {
  aspect-ratio: 3 / 2;
}

/* ================================================
   ARTICLE CARD
   ================================================ */
.article-card { display: flex; flex-direction: column; }

.article-card__image-link { display: block; margin-bottom: var(--space-sm); }
.article-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.article-card__body { flex: 1; display: flex; flex-direction: column; }

.article-card__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--space-xs);
}
.article-card__title a:hover { text-decoration: underline; }

.article-card__excerpt {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-xs);
  flex: 1;
}

.article-card__date { font-size: 12px; color: var(--color-text-muted); margin-top: auto; }

/* ================================================
   PAGE HEADER (category / search pages)
   ================================================ */
.page-header {
  background: var(--color-bg-muted);
  padding: var(--space-xl) 0;
  border-bottom: 3px solid var(--color-accent);
  margin-bottom: var(--space-xl);
}

.page-header__title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: var(--space-sm);
}

.page-header__description {
  color: var(--color-text-muted);
  font-size: 16px;
  max-width: 600px;
}

.category-posts { padding-bottom: var(--space-2xl); }

/* ================================================
   PAGINATION
   ================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
  margin-top: var(--space-xl);
}

.pagination a,
.pagination span {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-accent);
}
.pagination .current { color: var(--color-text-muted); font-weight: 400; }

/* ================================================
   SINGLE POST
   ================================================ */
.post__header {
  background: var(--color-bg-muted);
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.post__header-inner { max-width: 800px; }

.post__title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.post__meta {
  display: flex;
  gap: var(--space-md);
  font-size: 13px;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}

.post__hero-image { padding: var(--space-xl) 0 0; }
.post__image { width: 100%; max-height: 500px; object-fit: cover; border-radius: var(--radius); }

.post__layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-2xl);
  padding-top: var(--space-xl);
  padding-bottom: var(--space-2xl);
  align-items: start;
}

/* ================================================
   PROSE (post body content)
   ================================================ */
.prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text);
}
.prose h2 { font-family: var(--font-heading); font-size: 26px; font-weight: 700; margin: 2em 0 0.75em; }
.prose h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 700; margin: 1.5em 0 0.5em; }
.prose p  { margin-bottom: 1.25em; }
.prose ul, .prose ol { padding-left: 1.5em; margin-bottom: 1.25em; }
.prose li { margin-bottom: 0.5em; }
.prose a  { color: var(--color-accent); text-decoration: underline; }
.prose blockquote {
  border-left: 4px solid var(--color-accent);
  padding-left: var(--space-lg);
  margin: var(--space-lg) 0;
  color: var(--color-text-muted);
  font-style: italic;
}
.prose img { border-radius: var(--radius); margin: var(--space-lg) 0; }

/* ================================================
   SIDEBAR
   ================================================ */
.post__sidebar { position: sticky; top: calc(var(--header-height) + var(--space-lg)); }

.sidebar-block {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}
.sidebar-block:last-child { border-bottom: none; }

.sidebar-block__title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid var(--color-accent);
}

.tag-list { display: flex; flex-wrap: wrap; gap: var(--space-xs); }

/* ================================================
   COMMENTS
   ================================================ */
.comments-section {
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
}
.comments-section h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  margin-bottom: var(--space-lg);
}
.comment-list { list-style: none; padding: 0; }
.comment { padding: var(--space-lg) 0; border-bottom: 1px solid var(--color-border); }
.comment__author { font-weight: 700; font-size: 14px; margin-bottom: var(--space-xs); }
.comment__date { font-size: 12px; color: var(--color-text-muted); margin-bottom: var(--space-sm); }
.comment__body { font-size: 15px; line-height: 1.6; }
.comment-respond { padding-top: var(--space-xl); }
.comment-respond h3 { font-family: var(--font-heading); font-size: 20px; margin-bottom: var(--space-lg); }
.comment-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: var(--space-xs); }
.comment-form input,
.comment-form textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  margin-bottom: var(--space-md);
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form input[type="submit"] {
  width: auto;
  background: var(--color-accent);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 700;
  padding: var(--space-sm) var(--space-xl);
  letter-spacing: 0.04em;
}
.comment-form input[type="submit"]:hover { opacity: 0.9; }

/* ================================================
   PARTNERS
   ================================================ */
.partners {
  background: var(--color-bg-muted);
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.partners__title {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: var(--space-lg);
}

.partners__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-xl);
}

.partner { opacity: 0.65; transition: opacity 0.15s; }
.partner:hover { opacity: 1; text-decoration: none; }
.partner__logo { height: 36px; width: auto; filter: grayscale(1); transition: filter 0.15s; }
.partner:hover .partner__logo { filter: grayscale(0); }
.partner__name { font-weight: 600; font-size: 15px; }

/* ================================================
   SITE FOOTER
   ================================================ */
.site-footer {
  background: var(--color-footer-bg);
  color: rgba(255,255,255,0.75);
  padding-top: var(--space-2xl);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.site-footer__logo {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  display: block;
  margin-bottom: var(--space-sm);
}
.site-footer__description { font-size: 14px; line-height: 1.6; }

.site-footer__nav-title,
.site-footer__meta-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-md);
}

.site-footer__nav-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.site-footer__nav-list a { font-size: 14px; color: rgba(255,255,255,0.7); }
.site-footer__nav-list a:hover { color: #fff; text-decoration: none; }

.site-footer__meta-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.site-footer__meta-list a { font-size: 14px; color: rgba(255,255,255,0.7); }
.site-footer__meta-list a:hover { color: #fff; text-decoration: none; }

.site-footer__bottom {
  padding: var(--space-lg) 0;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* ================================================
   NAV DROPDOWN (mega menu)
   ================================================ */
.site-header__nav-list li { position: relative; }

.nav-item--has-dropdown > .site-header__nav-link::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid rgba(255,255,255,0.45);
  margin-left: 5px;
  vertical-align: middle;
  transition: transform 0.15s, border-top-color 0.15s;
}
.nav-item--has-dropdown:hover > .site-header__nav-link::after {
  transform: rotate(180deg);
  border-top-color: #fff;
}

.site-header__nav-link.is-current {
  color: #fff;
  border-bottom-color: var(--color-accent);
}

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  background: #fff;
  border-top: 3px solid var(--color-accent);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
  z-index: 200;
  min-width: 540px;
}
.nav-item--has-dropdown:hover .nav-dropdown,
.nav-item--has-dropdown.is-open .nav-dropdown { display: block; }

.nav-dropdown__inner {
  display: grid;
  grid-template-columns: 200px 1fr;
}

.nav-dropdown__cats {
  padding: 20px;
  border-right: 1px solid var(--color-border);
  background: #fafafa;
}

.nav-dropdown__posts { padding: 20px; }

.nav-dropdown__heading {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.nav-dropdown__cats ul { display: flex; flex-direction: column; gap: 1px; }
.nav-dropdown__cats ul li a {
  display: block;
  font-size: 13px;
  color: var(--color-text);
  padding: 5px 8px;
  border-radius: 3px;
  transition: background 0.1s, color 0.1s;
}
.nav-dropdown__cats ul li a:hover {
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
}

.nav-dropdown__post {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-border);
}
.nav-dropdown__post:last-child { border-bottom: none; }
.nav-dropdown__post:hover { text-decoration: none; }
.nav-dropdown__post img {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
}
.nav-dropdown__post-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.nav-dropdown__post-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.35;
}
.nav-dropdown__post:hover .nav-dropdown__post-title { color: var(--color-accent); }
.nav-dropdown__post-time { font-size: 11px; color: var(--color-text-muted); }

/* ================================================
   CATEGORY FILTER PILLS
   ================================================ */
.cat-filter {
  border-bottom: 1px solid var(--color-border);
  overflow-x: auto;
  scrollbar-width: none;
}
.cat-filter::-webkit-scrollbar { display: none; }
.cat-filter .container { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.cat-filter__list {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: nowrap;
}
.cat-filter__pill {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 99px;
  border: 1px solid var(--color-border);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text);
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.cat-filter__pill:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  text-decoration: none;
}
.cat-filter__pill.is-active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

/* ================================================
   CATEGORY PAGE — HERO SECTION
   ================================================ */
.category-content { padding-top: var(--space-xl); padding-bottom: var(--space-2xl); }

.cat-hero {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border);
}

.cat-hero__image-link { display: block; margin-bottom: var(--space-md); }
.cat-hero__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}

.cat-hero__title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin: var(--space-sm) 0;
}
.cat-hero__title a:hover { text-decoration: underline; }

.cat-hero__excerpt {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: var(--space-sm);
}

.cat-hero__time { font-size: 12px; color: var(--color-text-muted); }

.cat-hero__secondary {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--color-border);
  padding-left: var(--space-xl);
}

.cat-hero__secondary-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--color-border);
}
.cat-hero__secondary-item:first-child { padding-top: 0; }
.cat-hero__secondary-item:last-child  { border-bottom: none; padding-bottom: 0; }

.cat-hero__secondary-image-link { display: block; }
.cat-hero__secondary-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.cat-hero__secondary-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: var(--space-xs) 0;
}
.cat-hero__secondary-title a:hover { text-decoration: underline; }

/* ================================================
   CATEGORY PAGE — 4-COLUMN GRID
   ================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.cat-pagination {
  text-align: center;
  padding: var(--space-xl) 0;
  border-top: 1px solid var(--color-border);
}

.btn-load-more a {
  display: inline-block;
  padding: 10px 32px;
  border: 2px solid var(--color-text);
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background 0.15s, color 0.15s;
}
.btn-load-more a:hover {
  background: var(--color-text);
  color: #fff;
  text-decoration: none;
}

/* ================================================
   SINGLE POST — BREADCRUMBS
   ================================================ */
.post__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}
.post__breadcrumbs a { color: var(--color-text-muted); }
.post__breadcrumbs a:hover { color: var(--color-accent); text-decoration: none; }
.post__breadcrumbs span:last-child {
  color: var(--color-text);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 320px;
}
.post__breadcrumbs-sep { opacity: 0.4; }

/* ================================================
   SINGLE POST — SHARE BUTTONS
   ================================================ */
.post__share {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  background: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  padding: 0;
  flex-shrink: 0;
}
.share-btn:hover { text-decoration: none; }
.share-btn--twitter:hover  { background: #000; color: #fff; border-color: #000; }
.share-btn--facebook:hover { background: #1877f2; color: #fff; border-color: #1877f2; }
.share-btn--copy:hover     { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

/* ================================================
   SINGLE POST — SUMMARY BOX
   ================================================ */
.post__summary {
  background: #f8f9fa;
  border-left: 4px solid var(--color-accent);
  padding: var(--space-lg) var(--space-xl);
  margin: var(--space-xl) 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 800px;
}
.post__summary-title {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}
.post__summary p { font-size: 15px; line-height: 1.6; color: var(--color-text-muted); }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__sidebar { border-left: none; border-top: 1px solid var(--color-border); padding-left: 0; padding-top: var(--space-lg); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .post__layout { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  .cat-hero { grid-template-columns: 1fr; }
  .cat-hero__secondary {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-lg);
  }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  /* Many categories: wrap the nav strip instead of running off the screen */
  .site-header__nav-bar { height: auto; min-height: var(--header-nav-height); }
  .site-header__nav-list { flex-wrap: wrap; row-gap: var(--space-xs); padding: 6px 0; }
}

@media (max-width: 600px) {
  .mobile-menu-toggle { display: flex; }
  .site-header__nav-bar { display: none; }
  .site-header__nav-bar.is-open {
    display: flex;
    position: absolute;
    top: var(--header-main-height);
    left: 0; right: 0;
    height: auto;
    background: var(--color-header-bg);
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 3px solid var(--color-accent);
    padding: var(--space-sm) 0;
  }
  .site-header__nav-bar.is-open .container { height: auto; }
  .site-header__nav-list { flex-direction: column; gap: var(--space-xs); }
  .site-header__nav-list li a,
  .site-header__nav-link { padding: 6px 0; font-size: 13px; }
  .article-grid { grid-template-columns: 1fr; }
  .article-grid--featured { grid-template-columns: 1fr; grid-template-rows: auto; }
  .article-card--featured { grid-row: auto; padding-right: 0; border-right: none; border-bottom: 1px solid var(--color-border); padding-bottom: var(--space-lg); }
  .article-card--secondary { padding-left: 0; }
  .article-card--secondary:last-child { border-top: none; }
  .hero__title { font-size: 26px; }
  .post__title { font-size: 28px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-hero__secondary-item { grid-template-columns: 80px 1fr; }
  .nav-dropdown { min-width: calc(100vw - 48px); left: 0; }
  .nav-dropdown__inner { grid-template-columns: 1fr; }
  .nav-dropdown__cats { border-right: none; border-bottom: 1px solid var(--color-border); }
  .post__share { display: none; }
}
