.st-home-posts { width: var(--st-home-blog-width, 100%); }
.st-home-heading-row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .45rem 1rem; margin-bottom: 16px; }
.st-home-heading-row .st-home-section-header { margin: 0; }
.st-home-more-link { color: var(--st-accent); font-weight: 700; text-decoration: none; }
.st-home-more-link:hover { text-decoration: underline; }

.st-home-post-track { display: grid; gap: 12px; }
.st-home-post { min-width: 0; margin: 0; }
.is-slider .st-home-post-track { overflow: clip; padding: 5px; margin: -5px; --st-home-post-motion: 14%; }
.is-slider .st-home-post-track.is-reverse { --st-home-post-motion: -14%; }
[dir="rtl"] .is-slider .st-home-post-track { --st-home-post-motion: -14%; }
[dir="rtl"] .is-slider .st-home-post-track.is-reverse { --st-home-post-motion: 14%; }
.is-slider .st-home-post { grid-area: 1 / 1; visibility: hidden; }
.is-slider .st-home-post.is-current { visibility: visible; z-index: 1; }

.st-home-post-link {
    display: grid;
    min-height: calc(var(--st-home-blog-slide-height, 144px) + 52px);
    height: 100%;
    border: 1px solid var(--st-border);
    border-radius: max(var(--st-radius), 12px);
    background: var(--st-surface);
    color: var(--st-text);
    text-decoration: none;
}

.st-home-post-link.has-image { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); }
.st-home-post .st-editorial-media {
    min-height: 100%;
    border-start-start-radius: max(var(--st-radius), 12px);
    border-end-start-radius: max(var(--st-radius), 12px);
    border-inline-end: 1px solid var(--st-border);
}
.st-home-post .st-editorial-media img {
    inset: 9% 8%;
    width: 84%;
    height: 82%;
    object-fit: contain;
}
.st-home-post .st-editorial-media img.st-editorial-brand-image {
    inset: 18% 16%;
    width: 68%;
    height: 64%;
}
.st-home-post-copy { min-width: 0; align-self: center; padding: 18px clamp(18px, 3.2vw, 42px); }
.st-home-post-date, .st-editorial-story .st-posted-on { color: var(--st-muted); font-size: .81rem; }
.st-home-post-title { margin: 4px 0 0; font-size: clamp(1.2rem, 2.45vw, 1.86rem); line-height: 1.2; overflow-wrap: anywhere; }
.st-home-post-excerpt { margin: 7px 0 0; color: var(--st-muted); font-size: clamp(.88rem, 1.2vw, .98rem); line-height: 1.45; overflow-wrap: anywhere; }
.st-home-post-title, .st-home-post-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.st-home-post-read { display: inline-block; margin-top: 9px; color: var(--st-accent); font-size: .86rem; font-weight: 700; }
.st-home-post-link:hover, .st-editorial-story-link:hover { border-color: var(--st-accent); }
.st-home-post-link:hover .st-home-post-read { text-decoration: underline; }
.st-editorial-story-link:hover h3 { color: var(--st-accent); }
.st-home-post-link:focus-visible, .st-home-post-controls button:focus-visible, .st-editorial-news a:focus-visible { outline: 2px solid var(--st-accent); outline-offset: 3px; }

.st-home-post-controls, .st-home-post-dots { display: flex; align-items: center; justify-content: center; gap: 4px; }
.st-home-post-controls { gap: 8px; margin-top: 10px; }
.st-home-post-controls[hidden] { display: none; }
.st-home-posts .st-home-post-controls button {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--st-border);
    border-radius: 50%;
    background: var(--st-surface);
    color: var(--st-text);
    cursor: pointer;
}
.st-home-posts .st-home-post-controls button:is(:hover, :focus-visible) { border-color: var(--st-accent); background: var(--st-surface-alt); color: var(--st-accent); }
.st-home-post-controls :is([data-st-posts-prev], [data-st-posts-next]) span { width: 8px; height: 8px; border: solid currentColor; border-width: 2px 2px 0 0; transform: rotate(45deg); }
.st-home-post-controls [data-st-posts-prev] span { transform: rotate(-135deg); }
[dir="rtl"] .st-home-post-controls [data-st-posts-next] span { transform: rotate(-135deg); }
[dir="rtl"] .st-home-post-controls [data-st-posts-prev] span { transform: rotate(45deg); }
.st-home-post-controls [data-st-posts-toggle] span { width: 0; height: 0; border-block: 5px solid transparent; border-inline-start: 8px solid currentColor; }
.st-home-post-controls [data-st-posts-toggle].is-playing span { width: 8px; height: 11px; border: solid currentColor; border-width: 0 2px; }
.st-home-posts .st-home-post-controls [data-st-posts-go] { width: 24px; height: 32px; border: 0; border-radius: 6px; }
.st-home-post-controls [data-st-posts-go] span { width: 8px; height: 8px; border-radius: 10px; background: var(--st-muted); opacity: .48; }
.st-home-post-controls [data-st-posts-go][aria-current] span { width: 17px; background: var(--st-accent); opacity: 1; }

@media (prefers-reduced-motion: no-preference) {
    .is-slider .st-home-post.is-current.is-entering { animation: st-home-post-enter .52s cubic-bezier(.22, .61, .36, 1) both; }
    .is-slider .st-home-post.is-leaving { animation: st-home-post-leave .52s cubic-bezier(.22, .61, .36, 1) both; pointer-events: none; }
    @keyframes st-home-post-enter {
        from { opacity: 0; transform: translateX(var(--st-home-post-motion)); }
        to { opacity: 1; transform: translateX(0); }
    }
    @keyframes st-home-post-leave {
        from { opacity: 1; visibility: visible; transform: translateX(0); }
        to { opacity: 0; visibility: hidden; transform: translateX(calc(-1 * var(--st-home-post-motion))); }
    }
}

@media (max-width: 640px) {
    .st-home-posts { width: 100%; }
    .st-home-post-link.has-image { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
    .st-home-post .st-editorial-media { height: clamp(120px, 36vw, 180px); min-height: 0; border: 0; border-bottom: 1px solid var(--st-border); border-radius: max(var(--st-radius), 12px) max(var(--st-radius), 12px) 0 0; }
    .st-home-post-copy { padding: 13px 15px; }
    .st-home-post-controls { gap: 4px; }
    .st-home-post-dots { gap: 2px; }
    .st-home-posts .st-home-post-controls [data-st-posts-go] { width: 20px; }
}

.st-editorial-media { position: relative; display: block; overflow: hidden; background: var(--st-surface-alt); }
.st-editorial-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-editorial-media .st-editorial-brand-image { inset: 12%; width: 76%; height: 76%; object-fit: contain; }

.st-editorial-news .st-page-header { margin-bottom: clamp(14px, 3vw, 25px); }
.st-editorial-feed { min-width: 0; }
.st-editorial-edition { display: grid; gap: clamp(14px, 2vw, 24px); align-items: start; }
.st-editorial-edition.has-rail { grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); }
.st-editorial-lead { overflow: hidden; border: 1px solid var(--st-border); border-radius: var(--st-radius); background: var(--st-surface); }
.st-editorial-lead > .st-editorial-media { aspect-ratio: 16 / 8; }
.st-editorial-lead-copy { padding: clamp(16px, 3vw, 28px); }
.st-editorial-kicker { color: var(--st-accent); font-size: .83rem; font-weight: 700; }
.st-editorial-lead h2 { margin: 4px 0 8px; font-size: clamp(1.4rem, 3vw, 2.35rem); line-height: 1.15; overflow-wrap: anywhere; }
.st-editorial-lead h2 a { color: inherit; text-decoration: none; }
.st-editorial-lead h2 a:hover { color: var(--st-accent); text-decoration: underline; }
.st-editorial-excerpt { margin: 9px 0 0; }
.st-editorial-rail { display: grid; gap: 8px; min-width: 0; }
.st-editorial-rail > h2, .st-editorial-more > h2 { margin: 0 0 4px; font-size: 1.14rem; }
.st-editorial-story-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 76px; height: 100%; padding: 8px 10px; border: 1px solid var(--st-border); border-radius: var(--st-radius); background: var(--st-surface); color: var(--st-text); text-decoration: none; }
.st-editorial-story-link > div { min-width: 0; }
.st-editorial-story-link h3 { margin: 2px 0 0; font-size: .98rem; line-height: 1.3; overflow-wrap: anywhere; }
.st-editorial-story-link .st-editorial-media { flex: 0 0 min(30%, 84px); aspect-ratio: 4 / 3; border-radius: 4px; }
.st-editorial-more { margin-top: 26px; }
.st-editorial-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

@media (max-width: 1000px) {
    .st-editorial-edition.has-rail { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
    .st-editorial-more-grid { grid-template-columns: minmax(0, 1fr); }
}
