/* Cards are shared by the homepage and editorial views. */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.post-card { min-width: 0; overflow: hidden; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; box-shadow: 0 5px 16px #09141706; }
.post-card__link { display: flex; flex-direction: column; height: 100%; transition: color var(--transition); }
.post-card__link:hover .post-card__title, .post-card__link:focus-visible .post-card__title { color: var(--color-brand); }
.post-card__link:focus-visible { outline-offset: -4px; }
.post-card__media { aspect-ratio: 2 / 1; overflow: hidden; background: var(--color-soft); }
.post-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease; }
.post-card__link:hover .post-card__image { transform: scale(1.025); }
.post-card__content { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 20px 22px 24px; }
.post-card__date { margin-bottom: 10px; color: var(--color-muted); font-size: 13px; font-weight: 500; text-transform: uppercase; }
.post-card__title { font-weight: 400; margin: 0 0 12px; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.2; letter-spacing: -.02em; transition: color var(--transition); overflow-wrap: anywhere; }
.post-card__excerpt { margin: 0 0 20px; color: var(--color-muted); font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.post-card__more { margin-top: auto; }
.post-card__link:hover .post-card__more, .post-card__link:focus-visible .post-card__more { color: #fff; background: var(--color-brand-hover); }
.blog-index { background: linear-gradient(180deg, var(--color-soft), #fff 500px); }
.blog-index__heading { max-width: 860px; margin-bottom: 40px; }
.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 10px 15px; border: 1px solid var(--color-border); border-radius: var(--radius); font-size: 14px; }
.page-numbers.current { background: var(--color-brand); border-color: var(--color-brand); font-weight: 700; }
.page-numbers:not(.current):hover { background: var(--color-soft); }
.news-article__header { max-width: 900px; margin: 0 auto 36px; text-align: center; }
.news-article__meta { display: flex; justify-content: center; margin-bottom: 24px; color: var(--color-muted); font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; }
.news-article__lead { margin: 0; color: var(--color-muted); font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; overflow-wrap: anywhere; }
.news-article__media { margin: 0 0 44px; }
.news-article__image { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
.news-article__media figcaption { margin-top: 12px; color: var(--color-muted); font-size: 13px; text-align: center; }
.news-article__body { max-width: 800px; margin-inline: auto; font-size: 18px; line-height: 1.75; }
.news-article__body h2 { margin-top: 40px; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.2; letter-spacing: -.025em; }
.news-article__body h3 { font-size: 24px; line-height: 1.3; }
.news-article__body li + li { margin-top: 8px; }
.news-article__body figure { margin-inline: 0; }
.news-article__body blockquote { margin-inline: 0; padding: 12px 24px; border-left: 3px solid var(--color-brand); background: var(--color-soft); }
.news-article__body img, .news-article__body video, .news-article__body iframe { max-width: 100%; }
.news-article__body .wp-block-table { overflow-x: auto; }
.news-article__body table { border-collapse: collapse; width: 100%; }
.news-article__body th, .news-article__body td { padding: 12px; border: 1px solid var(--color-border); }
.news-article__body .wp-block-embed__wrapper { position: relative; }
.news-article__body .wp-has-aspect-ratio .wp-block-embed__wrapper { aspect-ratio: 16 / 9; }
.news-article__body .wp-has-aspect-ratio iframe { width: 100%; height: 100%; }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (max-width: 640px) {
 .post-grid { grid-template-columns: 1fr; }
 .news-article__body { font-size: 16px; }
 .news-article__image { max-height: 360px; }
}

/* Vertical videos (shorts): landing strip and the /wideo/ archive. */
.video-section { background: var(--color-soft); }
.video-section__heading { max-width: 760px; margin: 0 auto 32px; text-align: center; }
.video-section__heading .heading { margin-bottom: 0; font-size: clamp(28px, 2.8vw, 42px); }
.video-section__heading .section-description { margin-top: 14px; }
.video-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 340px)); justify-content: center; gap: clamp(20px, 2.4vw, 36px); }
.video-section__actions { display: flex; justify-content: center; margin-top: 36px; }
.video-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.video-card { min-width: 0; text-align: center; scroll-margin-top: var(--header-offset, 112px); }
.video-card__player { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--radius); background: var(--color-footer); box-shadow: 0 5px 16px #09141710; }
.video-card__play { position: absolute; inset: 0; display: block; color: #fff; }
.video-card__play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #09141700 55%, #09141766); transition: background var(--transition); }
.video-card__poster { width: 100%; height: 100%; object-fit: cover; transition: transform 240ms ease; }
.video-card__icon { position: absolute; z-index: 1; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 50%; background: var(--color-brand); transform: translate(-50%, -50%); transition: background var(--transition), transform var(--transition); }
.video-card__icon svg { width: 28px; height: 28px; margin-left: 4px; fill: currentColor; }
.video-card__play:hover .video-card__icon, .video-card__play:focus-visible .video-card__icon { background: var(--color-brand-hover); transform: translate(-50%, -50%) scale(1.06); }
.video-card__play:hover .video-card__poster { transform: scale(1.025); }
.video-card__play:focus-visible { outline-offset: -4px; }
.video-card__media { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }
.video-card__title { margin: 18px 0 0; font-size: clamp(18px, 1.4vw, 22px); font-weight: 400; line-height: 1.2; letter-spacing: -.02em; overflow-wrap: anywhere; }
.video-card__teaser { margin: 8px 0 0; color: var(--color-muted); font-size: 15px; line-height: 1.45; overflow-wrap: anywhere; }
.video-index__heading { margin-inline: auto; text-align: center; }
@media (max-width: 1100px) { .video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) {
 /* Phones: the three shorts become a swipeable strip. */
 .video-strip { display: flex; justify-content: flex-start; gap: 16px; margin-inline: calc(var(--page-gutter) * -1); padding: 0 var(--page-gutter) 8px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--page-gutter); scrollbar-width: none; }
 .video-strip::-webkit-scrollbar { display: none; }
 .video-strip .video-card { flex: 0 0 min(68vw, 300px); scroll-snap-align: start; }
 .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
 .video-card__icon { width: 56px; height: 56px; }
 .video-card__icon svg { width: 24px; height: 24px; }
}
@media (max-width: 480px) { .video-grid .video-card__title { font-size: 16px; } .video-grid .video-card__teaser { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .video-card__poster, .video-card__icon { transition: none; } .video-card__play:hover .video-card__poster { transform: none; } }
