/* Blog: listing page and article (site/blog-list.blade.php, site/blog-post.blade.php, site/partials/blog-*.blade.php).
   Premium editorial design: quiet white canvas, tight display type, generous images. Header and footer come from style.css;
   everything here is prefixed bx-. Sizes are drawn on the 1920px canvas the site zooms from. */
.bx {
    --bx-ink: #0e0f1c;
    --bx-text: #3a3c4e;
    --bx-muted: #6c6f86;
    --bx-line: #e7e8f0;
    --bx-soft: #f6f6fa;
    --bx-red: var(--c-red);
    --bx-navy: #14143f;
    --bx-head: 'Inter Tight', 'Inter', sans-serif;
}
.bx.page { gap: 0; align-items: stretch; background: var(--c-white); }
.bx-wrap { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: 48px; box-sizing: border-box; }
.bx a { text-decoration: none; }
.bx h1:not(.h1), .bx h2, .bx h3 { font-family: var(--bx-head); font-weight: 600; letter-spacing: -.025em; color: var(--bx-ink); }

/* ---------- small shared parts ---------- */
.bx-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 28px; font-size: 16px; color: var(--bx-muted); }
.bx-crumb a { color: inherit; transition: color .2s; }
.bx-crumb a:hover { color: var(--bx-red); }
.bx-crumb > span:last-child { color: var(--bx-ink); }
.bx-crumb > span[aria-hidden] { opacity: .5; }
.bx-eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 15px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bx-red); }
.bx-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; font-size: 16px; color: var(--bx-muted); }
.bx-meta > * + *::before { content: ""; display: inline-block; width: 4px; height: 4px; margin: 0 12px; border-radius: 50%; background: currentColor; opacity: .45; vertical-align: middle; }
.bx-meta > .bx-cat + *::before { display: none; }
.bx-cat { display: inline-flex; align-items: center; margin-right: 14px; padding: 6px 14px; border-radius: 99px; background: rgba(196, 32, 48, .08); color: var(--bx-red); font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 18px; transition: background-color .2s, color .2s; }
a.bx-cat:hover { background: var(--bx-red); color: var(--c-white); }
.bx-btn { display: inline-flex; align-items: center; gap: 12px; padding: 18px 32px; border-radius: 99px; background: var(--bx-ink); color: var(--c-white); font-weight: 600; font-size: 17px; line-height: 20px; white-space: nowrap; transition: background-color .25s, color .25s, box-shadow .25s; }
.bx-btn svg { transition: transform .25s; }
.bx-btn:hover { background: var(--bx-red); box-shadow: 0 16px 34px rgba(196, 32, 48, .28); }
.bx-btn:hover svg { transform: translateX(4px); }
.bx-btn--light { background: var(--c-white); color: var(--bx-ink); }
.bx-btn--light:hover { background: var(--bx-red); color: var(--c-white); }
.bx-avatar { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--c-white); box-shadow: 0 0 0 1px var(--bx-line), 0 8px 20px rgba(14, 15, 28, .1); overflow: hidden; }
.bx-avatar img { width: 86%; height: 86%; object-fit: contain; }
.bx-avatar--lg { width: 72px; height: 72px; font-size: 21px; }
.bx-who { display: inline-flex; align-items: center; gap: 16px; }
.bx-who strong { display: block; font-size: 17px; font-weight: 600; color: var(--bx-ink); }
.bx-who em { display: block; font-style: normal; font-size: 15px; color: var(--bx-muted); }
.bx-more-link { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--bx-ink); transition: color .2s, gap .25s; }

/* ---------- listing: heading + search ---------- */

/* ---------- listing: featured article ---------- */
.bx-list { padding: 64px 0 96px; background: var(--c-white); }
.bx-feature { position: relative; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; margin-bottom: 88px; border-radius: 32px; background: var(--bx-soft); overflow: hidden; }
.bx-feature__media { position: relative; display: block; min-height: 520px; overflow: hidden; background: #e8e9f1; }
.bx-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
.bx-feature__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: 64px 64px 56px; }
.bx-feature__label { font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bx-ink); }
.bx-feature__title { margin: 0; font-size: 44px; line-height: 1.12; }
.bx-feature__title a { color: var(--bx-ink); background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .45s, color .2s; }
.bx-feature__text { margin: 0; font-size: 18px; line-height: 1.7; color: var(--bx-muted); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.bx-feature__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; width: 100%; margin-top: 10px; padding-top: 28px; border-top: 1px solid var(--bx-line); }
.bx-feature:hover .bx-feature__media img { transform: scale(1.04); }
.bx-feature:hover .bx-feature__title a { background-size: 100% 2px; }

/* ---------- listing: toolbar + grid ---------- */
.bx-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--bx-line); }
.bx-bar__title { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 36px; line-height: 1.2; }
.bx-bar__title span { display: inline-grid; place-items: center; min-width: 40px; height: 32px; padding: 0 12px; border-radius: 99px; background: var(--bx-soft); font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--bx-muted); }
.bx-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.bx-chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 99px; border: 1px solid var(--bx-line); background: var(--c-white); color: var(--bx-ink); font-size: 16px; font-weight: 500; line-height: 20px; transition: background-color .2s, color .2s, border-color .2s; }
.bx-chip em { font-style: normal; font-size: 13.5px; color: var(--bx-muted); }
.bx-chip:hover { border-color: var(--bx-ink); }
.bx-chip.is-on { background: var(--bx-ink); border-color: var(--bx-ink); color: var(--c-white); }
.bx-chip.is-on em { color: rgba(255, 255, 255, .65); }

.bx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 40px; }
.bx-card { position: relative; display: flex; flex-direction: column; gap: 26px; }
.bx-card__media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: #e8e9f1; }
.bx-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.bx-card__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 14px; }
.bx-card__title { margin: 0; font-size: 27px; line-height: 1.25; }
.bx-card__title a { color: var(--bx-ink); background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .45s, color .2s; }
.bx-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }   /* the whole card is the link */
.bx-card__text { margin: 0; font-size: 17px; line-height: 1.7; color: var(--bx-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bx-card .bx-more-link { margin-top: auto; padding-top: 4px; }
.bx-card:hover .bx-card__media img { transform: scale(1.05); }
.bx-card:hover .bx-card__title a { background-size: 100% 2px; }
.bx-card:hover .bx-more-link { color: var(--bx-red); gap: 12px; }
/* a lone card is drawn horizontally so the row never looks empty */
.bx-card--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.bx-card--wide .bx-card__title { font-size: 36px; line-height: 1.18; }
.bx-card--wide .bx-card__text { font-size: 18px; -webkit-line-clamp: 4; }

.bx-empty { display: flex; flex-direction: column; align-items: center; gap: 24px; padding: 80px 20px; text-align: center; font-size: 20px; color: var(--bx-muted); }
.bx-empty p { margin: 0; }
.bx-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 72px; }
.bx-pager a, .bx-pager span { display: grid; place-items: center; min-width: 50px; height: 50px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--bx-line); color: var(--bx-ink); font-weight: 600; font-size: 16px; transition: background-color .2s, color .2s, border-color .2s; }
.bx-pager a:hover { border-color: var(--bx-ink); }
.bx-pager .is-on { background: var(--bx-ink); border-color: var(--bx-ink); color: var(--c-white); }
.bx-pager .is-off { color: #b7b9c9; }

/* ---------- call to action band (both pages) ---------- */
.bx-band { padding: 0 0 104px; background: var(--c-white); }
.bx-band__box { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 56px; padding: 72px 80px; border-radius: 32px; overflow: hidden; color: var(--c-white); background: radial-gradient(560px 320px at 100% 0%, rgba(196, 32, 48, .55), transparent 70%), radial-gradient(480px 300px at 0% 100%, rgba(83, 162, 188, .2), transparent 70%), linear-gradient(135deg, #0b0b14 0%, #1a1a46 100%); }
.bx-band__box::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 65%); mask-image: radial-gradient(ellipse at 80% 20%, #000, transparent 65%); pointer-events: none; }
.bx-band__box > * { position: relative; z-index: 1; }
.bx-band__box .bx-eyebrow { color: #ff7b87; }
.bx-band__box h2 { margin: 0 0 14px; max-width: 760px; font-size: 46px; line-height: 1.12; color: var(--c-white); }
.bx-band__box p { margin: 0; max-width: 620px; font-size: 19px; line-height: 1.65; color: #c5c7e4; }

/* ---------- article: heading ---------- */
.bx-progress { position: fixed; left: 0; top: 0; z-index: 90; width: 100%; height: 4px; background: linear-gradient(90deg, var(--bx-red), #ff6b78); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }

.bx-cover { margin: 0; padding: 24px 0 0; }
.bx-cover .bx-wrap { max-width: 1360px; }
.bx-cover img { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: 32px; background: #e8e9f1; }

/* ---------- article: body ---------- */
.bx-pbody { padding: 80px 0 96px; }
.bx-pbody__grid { display: grid; grid-template-columns: minmax(0, 780px) 300px; justify-content: center; gap: 96px; align-items: start; }
.bx-pbody__grid--solo { grid-template-columns: minmax(0, 780px); }

.bx-aside { position: sticky; top: 32px; display: flex; flex-direction: column; gap: 28px; }
.bx-toc__title { margin: 0 0 16px; font-family: var(--font-body); font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bx-ink); }
.bx-toc ol { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--bx-line); }
.bx-toc a { position: relative; display: block; margin-left: -2px; padding: 9px 0 9px 20px; border-left: 2px solid transparent; font-size: 15.5px; line-height: 1.45; color: var(--bx-muted); transition: color .2s, border-color .2s; }
.bx-toc a:hover { color: var(--bx-ink); }
.bx-toc a.is-on { color: var(--bx-ink); font-weight: 600; border-left-color: var(--bx-red); }
.bx-aside__share { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid var(--bx-line); }
.bx-aside__share > span, .bx-art-foot__share > span { font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bx-ink); }

.bx-share { display: flex; flex-wrap: wrap; gap: 10px; }
.bx-share a, .bx-share button { position: relative; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--bx-line); border-radius: 50%; background: var(--c-white); color: var(--bx-ink); cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.bx-share a:hover, .bx-share button:hover { background: var(--bx-ink); border-color: var(--bx-ink); color: var(--c-white); }
.bx-share em { position: absolute; left: 50%; bottom: calc(100% + 10px); padding: 6px 12px; border-radius: 8px; background: var(--bx-ink); color: var(--c-white); font-size: 13px; font-style: normal; white-space: nowrap; opacity: 0; transform: translate(-50%, 6px); pointer-events: none; transition: opacity .2s, transform .2s; }
.bx-share .is-done em { opacity: 1; transform: translate(-50%, 0); }

.bx-toc-m { display: none; }

.bx-prose { font-size: 20px; line-height: 1.8; color: var(--bx-text); overflow-wrap: anywhere; }
.bx-prose > :first-child { margin-top: 0; }
.bx-prose > p:first-child { font-size: 23px; line-height: 1.7; color: var(--bx-ink); }
.bx-prose > p:first-child::first-letter { float: left; margin: 10px 14px 0 0; font-family: Georgia, 'Times New Roman', serif; font-size: 92px; line-height: .78; color: var(--bx-red); }
.bx-prose p { margin: 0 0 1.15em; }
.bx-prose h2 { scroll-margin-top: 32px; margin: 1.3em 0 .35em; font-size: 38px; line-height: 1.18; }
.bx-prose h3 { margin: 1.1em 0 .3em; font-size: 28px; line-height: 1.25; }
.bx-prose strong { color: var(--bx-ink); font-weight: 600; }
.bx-prose a { color: var(--bx-red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .2s; }
.bx-prose a:hover { color: var(--bx-ink); }
.bx-prose ul, .bx-prose ol { margin: 0 0 1.4em; padding: 0; list-style: none; }
.bx-prose li { position: relative; margin-bottom: .7em; padding-left: 36px; }
.bx-prose ul li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 18px; height: 18px; border-radius: 50%; background: rgba(196, 32, 48, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23C42030' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.bx-prose ol { counter-reset: bx; }
.bx-prose ol li { counter-increment: bx; padding-left: 52px; }
.bx-prose ol li::before { content: counter(bx); position: absolute; left: 0; top: .2em; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bx-ink); color: var(--c-white); font-size: 15px; font-weight: 700; line-height: 1; }
.bx-prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--bx-red); font-family: var(--bx-head); font-size: 1.25em; line-height: 1.5; color: var(--bx-ink); }
.bx-prose img { display: block; width: 100%; height: auto; border-radius: 22px; }
.bx-prose p:has(> img:only-child) { margin: 2em 0 .8em; }
.bx-prose p:has(> img:only-child) + p:has(> em:only-child) { margin: 0 0 2em; font-size: 16px; line-height: 1.6; color: var(--bx-muted); text-align: center; }
.bx-prose table { display: table; width: 100%; margin: 1.4em 0 2em; border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: 17px; line-height: 1.55; border: 1px solid var(--bx-line); border-radius: 16px; }
.bx-prose th, .bx-prose td { padding: 16px 20px; border-bottom: 1px solid var(--bx-line); text-align: left; vertical-align: top; }
.bx-prose th { background: var(--bx-navy); color: var(--c-white); font-weight: 600; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; }
.bx-prose td:first-child { width: 24%; font-weight: 600; color: var(--bx-ink); background: var(--bx-soft); }
.bx-prose tbody tr:last-child td { border-bottom: 0; }
.bx-prose tbody tr:nth-child(even) td:not(:first-child) { background: #fbfbfd; }

.bx-art-foot { display: flex; flex-direction: column; gap: 28px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--bx-line); }
.bx-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bx-topics span { margin-right: 6px; font-size: 14px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bx-ink); }
.bx-topics i { padding: 8px 16px; border-radius: 99px; background: var(--bx-soft); color: var(--bx-text); font-size: 15px; font-style: normal; line-height: 20px; }
.bx-art-foot__share { display: none; align-items: center; gap: 18px; }
.bx-pbody__grid--solo .bx-art-foot__share { display: flex; }
.bx-author { display: flex; align-items: flex-start; gap: 24px; margin-top: 40px; padding: 36px 40px; border-radius: 24px; background: var(--bx-soft); }
.bx-author__label { display: block; margin-bottom: 4px; font-size: 13.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--bx-red); }
.bx-author strong { display: block; margin-bottom: 8px; font-family: var(--bx-head); font-size: 24px; font-weight: 600; letter-spacing: -.02em; color: var(--bx-ink); }
.bx-author p { margin: 0; font-size: 17px; line-height: 1.65; color: var(--bx-muted); }
.bx-band--post { padding-bottom: 96px; }

.bx-more { padding: 96px 0 104px; background: var(--bx-soft); }
.bx-more__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 44px; }
.bx-more__title { margin: 0; font-size: 48px; line-height: 1.1; }
.bx-more__all { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: var(--bx-ink); transition: color .2s, gap .25s; }
.bx-more__all:hover { color: var(--bx-red); gap: 14px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
    .bx-wrap { padding-inline: 32px; }
    .bx-feature { grid-template-columns: 1fr; }
    .bx-feature__media { min-height: 0; aspect-ratio: 16 / 9; }
    .bx-feature__body { padding: 40px; }
    .bx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 28px; }
    .bx-card--wide { gap: 32px; }
    .bx-pbody__grid, .bx-pbody__grid--solo { grid-template-columns: minmax(0, 780px); gap: 0; }
    .bx-aside { display: none; }
    .bx-art-foot__share { display: flex; }
    .bx-toc-m { display: block; margin-bottom: 36px; border: 1px solid var(--bx-line); border-radius: 18px; background: var(--bx-soft); }
    .bx-toc-m summary { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bx-ink); cursor: pointer; list-style: none; }
    .bx-toc-m summary::-webkit-details-marker { display: none; }
    .bx-toc-m[open] summary svg { transform: rotate(180deg); }
    .bx-toc-m ol { margin: 0; padding: 0 22px 16px; list-style: none; }
    .bx-toc-m a { display: block; padding: 9px 0; border-top: 1px solid var(--bx-line); font-size: 16px; line-height: 1.4; color: var(--bx-text); }
    .bx-band__box { padding: 48px 44px; }
    .bx-band__box h2 { font-size: 36px; }
}
@media (max-width: 700px) {
    .bx-wrap { padding-inline: 20px; }
    .bx-crumb { margin-bottom: 18px; font-size: 14px; }
    .bx-meta { font-size: 14px; }
    .bx-list { padding: 36px 0 64px; }
    .bx-feature { margin-bottom: 56px; border-radius: 22px; }
    .bx-feature__body { gap: 16px; padding: 26px 22px 28px; }
    .bx-feature__title { font-size: 28px; }
    .bx-feature__text { font-size: 16px; }
    .bx-bar { margin-bottom: 28px; }
    .bx-bar__title { font-size: 26px; }
    .bx-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; scrollbar-width: none; }
    .bx-chip { flex: none; }
    .bx-grid { grid-template-columns: 1fr; gap: 44px; }
    .bx-card { gap: 18px; }
    .bx-card__media { border-radius: 18px; }
    .bx-card__title, .bx-card--wide .bx-card__title { font-size: 22px; }
    .bx-card--wide { display: flex; gap: 18px; }
    .bx-band { padding-bottom: 64px; }
    .bx-band__box { padding: 36px 24px; border-radius: 22px; }
    .bx-band__box h2 { font-size: 27px; }
    .bx-band__box p { font-size: 16px; }
    .bx-cover { padding-top: 32px; }
    .bx-cover img { aspect-ratio: 16 / 10; border-radius: 18px; }
    .bx-pbody { padding: 40px 0 56px; }
    .bx-prose { font-size: 17px; line-height: 1.75; }
    .bx-prose > p:first-child { font-size: 18.5px; }
    .bx-prose > p:first-child::first-letter { font-size: 68px; margin: 8px 10px 0 0; }
    .bx-prose h2 { font-size: 26px; }
    .bx-prose li { padding-left: 32px; }
    .bx-prose table { display: block; overflow-x: auto; font-size: 15px; }
    .bx-prose th, .bx-prose td { min-width: 150px; padding: 12px 14px; }
    .bx-prose ol li { padding-left: 46px; }
    .bx-art-foot { margin-top: 40px; }
    .bx-art-foot__share { flex-direction: column; align-items: flex-start; gap: 12px; }
    .bx-author { flex-direction: column; gap: 16px; padding: 26px 22px; }
    .bx-more { padding: 56px 0 64px; }
    .bx-more__title { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    .bx *, .bx *::before { transition: none !important; }
}

/* ---------- hero (same build as the other inner pages: black, photo on the right) ---------- */
/* the blog banner is a full-width 1920x800 picture with its own black fade: it fills the whole hero */
.bx-ihero .ct-hero__photo { left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
@media (min-width: 701px) { .bx-ihero::before { display: none; } }
.bx-ihero .ct-hero__text .h1 { font-family: var(--font-display); }
.bx-ihero--long .ct-hero__text .h1 { font-size: 42px; line-height: 54px; }
.bx-ihero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 16px; color: var(--c-border-gray); }
.bx-ihero__cat { padding: 6px 14px; border-radius: 99px; background: var(--c-red); color: var(--c-white); font-size: 13.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 18px; transition: background-color .2s; }
.bx-ihero__cat:hover { background: #a81a28; }
.bx-ihero__meta > time::after { content: ""; display: inline-block; width: 4px; height: 4px; margin-left: 16px; border-radius: 50%; background: currentColor; opacity: .5; vertical-align: middle; }
.bx-byline { padding: 28px 0 0; background: var(--c-white); }
@media (max-width: 1180px) {
    .bx-ihero--long .ct-hero__text .h1 { font-size: 34px; line-height: 44px; }
}
@media (max-width: 700px) {
    .bx-ihero--long .ct-hero__text .h1 { font-size: 26px; line-height: 36px; }
    .bx-ihero__meta { font-size: 14px; }
}

/* ---------- logo badge: a soft pulse ring and a gentle float, the logo turns when hovered ---------- */
.bx-avatar { position: relative; animation: bx-float 4.5s ease-in-out infinite; }
.bx-avatar::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(196, 32, 48, .55); animation: bx-pulse 2.6s ease-out infinite; pointer-events: none; }
.bx-avatar img { transition: transform .7s cubic-bezier(.22, .8, .24, 1); }
.bx-avatar:hover img { transform: rotate(360deg); }
@keyframes bx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes bx-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.55); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .bx-avatar, .bx-avatar::after { animation: none; } }
