/* Single article only: the approved news feed and ordinary pages keep their styles. */
body.single-post { background: #fff; color: #17191d; }
.article-shell { width: min(calc(100% - 64px), 1280px); margin-inline: auto; }
.single-post .site-header { background: #0b0f12; color: #fff; box-shadow: none; }
.article-navigation { display: flex; align-items: center; gap: 18px; min-height: 78px; }
.article-navigation .site-brand span { color: #fff; }
.article-navigation .site-logo { flex-shrink: 0; background: transparent; padding: 0; }
.article-navigation .site-logo img { max-height: 38px; max-width: 160px; }
.article-navigation__links { display: flex; justify-content: center; flex: 1; gap: clamp(12px, 1.7vw, 26px); }
.article-navigation__links a { color: #fff; text-decoration: none; font-weight: 700; font-size: .84rem; white-space: nowrap; }
.article-navigation__links a:hover { color: #ff8181; }
.article-navigation .icon-button { color: #fff; background: transparent; border-color: #ffffff45; }
.article-navigation .icon-button:hover { background: #ffffff15; }
.article-navigation .search-panel { color: #17191d; }
.article-navigation .header-search { margin-left: 0; }
.article-icon { width: 21px; height: 21px; flex-shrink: 0; vertical-align: middle; }
.article-hero { position: relative; isolation: isolate; overflow: hidden; background: #0b0f12; color: white; }
.article-hero__image { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 75%; height: 100%; object-fit: cover; object-position: var(--evibe-hero-position, 65% 0%); }
.article-hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #0b0f12f5 0%, #0b0f12e0 30%, #0b0f1280 56%, #0b0f1212 100%), linear-gradient(0deg, #0b0f1260, transparent 70%); }
.article-hero::after { content: ''; position: absolute; pointer-events: none; width: 76px; height: 220px; top: 22px; left: -62px; background: var(--evibe-red); border-radius: 50%; transform: rotate(12deg); }
.article-hero__inner { min-height: 460px; display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding-block: 50px; }
.article-badge { display: inline-block; background: var(--evibe-red); padding: 4px 12px; border-radius: 8px; color: #fff; text-decoration: none; font-size: .75rem; font-weight: 800; }
.article-badge:hover { background: #9f0000; }
.article-hero h1 { font-size: clamp(2rem, 3.25vw, 3rem); font-weight: 850; line-height: 1.14; letter-spacing: -.035em; max-width: 19ch; margin: 17px 0 26px; overflow-wrap: break-word; text-wrap: balance; }
.article-meta { display: flex; flex-wrap: wrap; gap: 15px 26px; align-items: center; font-size: .82rem; font-weight: 550; }
.article-meta > span { display: inline-flex; align-items: center; gap: 8px; }
.article-publisher { font-weight: 800; }
.article-meta .article-icon { width: 17px; height: 17px; }
.article-hero--plain { background: radial-gradient(ellipse at right, #482027, #0b0f12 70%); }
.article-layout { display: grid; grid-template-columns: 68px minmax(0, 760px) minmax(260px, 310px); gap: 32px; align-items: start; padding-block: 52px 68px; }
.article-body, .article-sidebar, .article-prose, .article-share { min-width: 0; }
.article-prose { font-size: 18px; line-height: 1.72; }
.article-prose > :first-child { margin-top: 0; }
.article-prose p { margin-block: 0 1.35em; }
.article-prose > p:first-of-type, .article-prose .article-lead { font-size: 1.1em; font-weight: 750; line-height: 1.5; border-left: 4px solid var(--evibe-red); padding-left: 26px; margin-bottom: 1.55em; }
.article-prose:has(.article-lead) > p:first-of-type:not(.article-lead) { font-size: inherit; font-weight: inherit; line-height: inherit; border: 0; padding: 0; }
.article-prose h2 { margin-top: 1.7em; font-size: 1.5em; }
.article-prose h3 { font-size: 1.2em; }
.article-prose a { text-underline-offset: 3px; }
.article-prose blockquote { margin-inline: 0; padding: 10px 24px; border-left: 3px solid var(--evibe-red); background: #f8f8fa; }
.article-prose figure { max-width: 100%; }
.article-prose img { border-radius: 14px; height: auto; }
.article-prose > .wp-block-image img { display: block; max-width: 100%; }
.article-prose > figure.wp-block-image { margin-inline: 0; }
.article-prose figcaption { font-size: .78em; color: #62656c; }
.article-prose pre, .article-prose .wp-block-table { overflow-x: auto; }
.article-share { align-self: stretch; }
.article-share__sticky { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: center; gap: 11px; }
.article-share p { font-size: .7rem; color: #62656c; margin: 0 0 4px; }
.article-round { display: inline-grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; color: #17191d; background: #f5f6f8; border: 1px solid #e8e8ec; border-radius: 50%; cursor: pointer; text-decoration: none; }
.article-round:hover { color: var(--evibe-red); border-color: var(--evibe-red); }
.article-sidebar { display: grid; gap: 30px; align-items: start; }
.article-panel { padding: 24px 22px; border: 1px solid #ededf0; border-radius: 17px; box-shadow: 0 2px 14px #17191d08; background: #fff; }
.article-panel h2 { margin: 0; font-size: 1.2rem; letter-spacing: -.03em; }
.related-articles h2::after { display: block; content: ''; width: 38px; height: 3px; background: var(--evibe-red); margin-top: 16px; }
.related-articles ul { list-style: none; padding: 0; margin: 25px 0 0; display: grid; gap: 24px; }
.related-link { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 13px; align-items: start; color: #17191d; text-decoration: none; }
.related-link img, .related-image-fallback { width: 78px; height: 78px; object-fit: cover; border-radius: 10px; }
.related-image-fallback { display: grid; place-items: center; color: var(--evibe-red); background: #f5f6f8; font-weight: 800; }
.related-link strong { display: block; font-size: .84rem; line-height: 1.4; }
.related-link:hover strong { color: var(--evibe-red); }
.related-link small { display: block; font-size: .75rem; color: #62656c; margin-top: 8px; }
.article-follow { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg, #fff5f5, #ffe0e0); border: 0; padding: 30px; }
.article-follow::after { content: ''; position: absolute; z-index: -1; width: 120%; height: 100px; background: linear-gradient(90deg, #c6000050, #c60000a0); bottom: -75px; right: -20%; transform: rotate(-18deg); }
.article-follow h2 span { color: var(--evibe-red); }
.article-follow p { font-size: 1rem; line-height: 1.5; }
.article-follow__links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.article-follow .article-round { background: transparent; border-color: #17191d25; }
.article-tags { display: flex; flex-wrap: wrap; align-items: baseline; gap: 16px; margin-top: 42px; padding-top: 24px; border-top: 1px solid #e8e8ec; }
.article-tags p { font-size: .85rem; font-weight: 750; margin: 0; }
.article-tags ul { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 0; }
.article-tags a { display: block; color: #17191d; padding: 7px 15px; border: 1px solid #e8e8ec; border-radius: 999px; text-decoration: none; font-size: .8rem; }
.article-tags a:hover { border-color: var(--evibe-red); color: var(--evibe-red); }
/* Native figures are moved, not copied; disabling JS leaves the original gallery. */
.article-gallery { margin-block: 30px; }
.article-gallery__stage { position: relative; border-radius: 15px; overflow: hidden; background: #0b0f12; }
.article-prose .article-gallery__slides { display: block; margin: 0; aspect-ratio: 16 / 9; }
.article-prose .article-gallery__slides > figure { margin: 0 !important; width: 100% !important; height: 100%; flex: none !important; }
.article-prose .article-gallery__slides img { display: block; width: 100% !important; height: 100% !important; object-fit: contain !important; border-radius: 0; }
.article-gallery__slides figure > a { display: flex; height: 100%; justify-content: center; cursor: zoom-in; }
.article-gallery__slides figcaption { position: absolute; bottom: 0; left: 0; right: 0; background: #0b0f12d9 !important; color: white !important; padding: 8px 80px 8px 12px !important; max-height: 32%; overflow: auto; }
.article-gallery__prev, .article-gallery__next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: #0b0f12c0; color: white; font-size: 1.8rem; cursor: pointer; }
.article-gallery__prev { left: 14px; }
.article-gallery__next { right: 14px; }
.article-gallery__counter { position: absolute; bottom: 12px; right: 14px; border-radius: 7px; color: white; background: #0b0f12d9; font-size: .8rem; padding: 3px 9px; }
.article-gallery__thumbs { display: flex; gap: 9px; overflow-x: auto; padding: 8px 3px; margin-top: 4px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.article-gallery__thumb { flex: 0 0 85px; padding: 0; height: 66px; border: 2px solid transparent; border-radius: 10px; background: #f5f6f8; overflow: hidden; cursor: pointer; }
.article-gallery__thumb[aria-pressed='true'] { border-color: var(--evibe-red); }
.article-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.evibe-lightbox { box-sizing: border-box; width: min(96vw, 1280px); max-width: 96vw; max-height: 96dvh; padding: 12px; border: 0; border-radius: 14px; background: #0b0f12; color: white; }
.evibe-lightbox::backdrop { background: #000e; }
.evibe-lightbox__toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.evibe-lightbox button { min-width: 44px; min-height: 44px; padding: 8px 12px; border: 1px solid #ffffff70; border-radius: 6px; color: white; background: #ffffff10; font: inherit; cursor: pointer; }
.evibe-lightbox button:last-child { margin-inline-start: auto; }
.evibe-lightbox button:disabled { opacity: .4; }
.evibe-lightbox__image { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(96dvh - 130px); object-fit: contain; margin-inline: auto; }
.evibe-lightbox__caption { margin: 8px 0 0; font-size: .85rem; }
.evibe-lightbox__caption:empty { display: none; }
@media (max-width: 1199px) {
  .article-navigation__links { display: none; }
  .article-navigation .header-search { margin-left: auto; }
  .article-layout { grid-template-columns: 52px minmax(0, 1fr) 260px; gap: 24px; }
  .article-panel { padding: 20px 16px; }
  .related-link { grid-template-columns: 64px minmax(0, 1fr); }
  .related-link img, .related-image-fallback { width: 64px; height: 64px; }
}
@media (max-width: 1023px) {
  .article-layout { grid-template-columns: 54px minmax(0, 1fr); }
  .article-sidebar { grid-column: 2; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-hero__inner { min-height: 430px; }
  .article-hero h1 { max-width: 22ch; font-size: clamp(2rem, 4.5vw, 2.6rem); }
}
@media (max-width: 767px) {
  .article-shell { width: calc(100% - 36px); }
  .article-navigation { min-height: 64px; gap: 10px; }
  .article-navigation .site-brand { font-size: 1.8rem; }
  .article-navigation .site-logo img { max-width: 130px; max-height: 32px; }
  .article-hero__image { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; z-index: 0; }
  .article-hero::before { display: none; }
  .article-hero::after { display: none; }
  .article-hero__inner { min-height: 0; padding-block: 26px 30px; }
  .article-hero h1 { max-width: none; font-size: clamp(1.75rem, 6.3vw, 2.5rem); line-height: 1.17; margin-block: 15px 22px; }
  .article-meta { gap: 12px 18px; font-size: .75rem; }
  .article-layout { display: flex; flex-direction: column; gap: 26px; padding-block: 22px 40px; }
  .article-share, .article-body, .article-sidebar { width: 100%; }
  .article-share__sticky { position: static; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; }
  .article-share p { margin: 0 6px 0 0; }
  .article-prose { font-size: 17px; line-height: 1.72; }
  .article-prose > p:first-of-type, .article-prose .article-lead { padding-left: 16px; }
  .article-sidebar { grid-template-columns: minmax(0, 1fr); }
  .article-gallery__thumb { flex-basis: 70px; height: 54px; }
  .article-gallery__prev { left: 8px; }
  .article-gallery__next { right: 8px; }
  .evibe-lightbox__toolbar { gap: 5px; }
  .evibe-lightbox button { padding-inline: 8px; }
}

/* Real source/action links keep their original text and destination. */
.article-prose .evibe-source-link > a, .article-prose a.article-cta { display: inline-block; max-width: 100%; padding: 13px 20px; border-radius: 13px; color: #fff; background: var(--evibe-red); font-size: .92em; font-weight: 700; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; box-shadow: 0 4px 12px #c6000015; }
.article-prose .evibe-source-link > a::after, .article-prose a.article-cta::after { content: '↗'; margin-left: 14px; }
.article-prose .evibe-source-link > a:hover, .article-prose a.article-cta:hover { background: #9f0000; color: #fff; }
.article-prose .evibe-source-link > a:focus-visible, .article-prose a.article-cta:focus-visible { outline: 3px solid #17191d; outline-offset: 4px; }
.article-continuation {
  margin-block: 2rem;
  text-align: center;
}
.article-continuation [role="status"] {
  display: block;
}
.article-ad { margin-block: 1.75rem; }
.article-ad .ad-placeholder { display: block; min-height: 250px; padding: 32px 0 0; border: 0; background: transparent; }
