.posts-container,
.post-reading-column {
    width: min(100% - 40px, 1180px);
    margin-inline: auto;
}

.posts-hero {
    padding: 92px 0 78px;
    color: #fff;
    background: radial-gradient(circle at 85% 20%, rgba(242,140,40,.28), transparent 25%), linear-gradient(130deg, #111315, #20252a);
}

.posts-hero h1,
.post-article-head h1 {
    max-width: 900px;
    margin: 14px 0 20px;
    color: inherit;
    font-size: clamp(2.5rem, 6vw, 4.8rem);
    overflow-wrap: anywhere;
}

.post-article-head .post-reading-column { max-width: 900px; }
.post-article-head h1 {
    line-height: 1.08;
    text-wrap: balance;
}
.post-article.is-layout-compact .post-article-head { padding-top: 54px; }
.post-article.is-layout-compact .post-article-head h1 { max-width: 880px; font-size: clamp(2.15rem, 3.8vw, 3.25rem); }
.post-article.is-layout-editorial .post-article-head h1 { font-size: clamp(2.35rem, 4.7vw, 4rem); }
.post-article.is-layout-visual .post-article-head h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }

.posts-hero > div > p:last-child,
.post-lead {
    max-width: 780px;
    margin: 0;
    color: #d8dde0;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.posts-section { padding: 76px 0 96px; background: #f4f5f6; }
.posts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.post-card { overflow: hidden; display: flex; flex-direction: column; border: 1px solid #dfe3e6; border-radius: 22px; background: #fff; box-shadow: 0 14px 40px rgba(17,19,21,.08); }
.post-card-image { aspect-ratio: 16 / 9; display: block; overflow: hidden; background: #e9ecef; }
.post-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.post-card:hover .post-card-image img { transform: scale(1.025); }
.post-card-body { flex: 1; padding: 26px; display: flex; flex-direction: column; align-items: flex-start; }
.post-card h2 { margin: 10px 0 12px; font-size: clamp(1.45rem, 3vw, 2rem); }
.post-card h2 a:hover { color: #d96e0c; }
.post-card-body > p:not(.post-meta) { margin: 0 0 22px; color: #596168; }
.post-read-more { margin-top: auto; color: #b85800; font-weight: 850; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; color: #687078; font-size: .84rem; font-weight: 750; }
.post-meta span { color: #b85800; }
.posts-empty { padding: 40px; border-radius: 22px; text-align: center; background: #fff; }

.post-article { padding-bottom: 96px; }
.post-article-head { padding: 70px 0 0; color: #111315; background: linear-gradient(180deg, #f4f5f6 0, #fff 100%); }
.post-article-head .eyebrow { margin-top: 30px; }
.post-article-head .post-lead { color: #596168; }
.post-back { color: #b85800; font-weight: 800; }
.post-article-head .post-meta { margin-top: 22px; }
.post-hero-image { width: min(100% - 40px, 1180px); aspect-ratio: 16 / 8; margin: 44px auto 0; overflow: hidden; border-radius: 28px; background: #e9ecef; box-shadow: 0 24px 65px rgba(17,19,21,.14); }
.post-hero-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.post-reading-column { max-width: 780px; }
.post-content { padding-top: 58px; color: #30363b; font-size: 1.08rem; }
.post-section { width: min(100% - 40px, 780px); margin: 0 auto 30px; }
.post-section.is-width-wide { width: min(100% - 40px, 980px); }
.post-section.is-width-full { width: min(100% - 40px, 1180px); }
.post-section-inner { border-radius: 22px; }
.post-section.is-theme-soft .post-section-inner,
.post-section.is-theme-accent .post-section-inner,
.post-section.is-theme-dark .post-section-inner { padding: clamp(22px, 4vw, 42px); }
.post-section.is-theme-soft .post-section-inner { background: #f4f5f6; }
.post-section.is-theme-accent .post-section-inner { color: #1b1d1f; background: linear-gradient(135deg, #fff1df, #ffd5aa); box-shadow: 0 16px 44px rgba(184,88,0,.12); }
.post-section.is-theme-dark .post-section-inner { color: #fff; background: radial-gradient(circle at 92% 10%, rgba(242,140,40,.22), transparent 30%), #1b1f22; box-shadow: 0 20px 55px rgba(17,19,21,.18); }
.post-section.is-theme-dark h2,
.post-section.is-theme-dark summary { color: #fff; }
.post-section.is-theme-dark .post-faq { color: #30363b; }
.post-section.is-align-center { text-align: center; }
.post-section.is-align-center .post-button { margin-inline: auto; }
.post-content h2 { margin: 0 0 18px; font-size: clamp(1.8rem, 4vw, 2.6rem); overflow-wrap: anywhere; }
.post-text p,
.post-notice p,
.post-faq p { margin: 0; }
.post-content-image { margin: 0; }
.post-content-image img { width: 100%; max-height: 680px; display: block; border-radius: 20px; object-fit: cover; background: #e9ecef; }
.post-content-image figcaption { margin-top: 10px; color: #687078; font-size: .88rem; }
.post-media-text { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr); align-items: center; gap: clamp(24px, 5vw, 58px); }
.post-media-text.is-image-right .post-media-text-copy { order: -1; }
.post-media-text.is-image-top { grid-template-columns: 1fr; }
.post-media-text figure { margin: 0; overflow: hidden; border-radius: 20px; background: #e9ecef; }
.post-media-text img { width: 100%; min-height: 320px; max-height: 600px; display: block; object-fit: cover; }
.post-media-text figcaption { padding: 9px 12px; color: #687078; background: #fff; font-size: .86rem; }
.post-media-text-copy p { margin: 0; }
.post-media-text-copy .post-button { margin-top: 22px; }
.post-gallery { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.post-gallery figure { margin: 0; overflow: hidden; border-radius: 16px; background: #eef0f1; }
.post-gallery img { width: 100%; aspect-ratio: 4 / 3; display: block; object-fit: cover; }
.post-gallery figcaption,
.post-carousel figcaption { padding: 10px 13px; color: #596168; background: #fff; font-size: .88rem; }
.post-carousel { margin: 0; }
.post-carousel-stage { position: relative; overflow: hidden; border-radius: 20px; background: #e9ecef; box-shadow: 0 16px 40px rgba(17,19,21,.12); touch-action: pan-y; }
.post-carousel-slide { margin: 0; }
.post-carousel-slide[hidden] { display: none; }
.post-carousel-slide img { width: 100%; max-height: 680px; aspect-ratio: 16 / 10; display: block; object-fit: cover; }
.post-carousel-arrow { position: absolute; top: 50%; width: 46px; height: 46px; padding: 0; display: grid; place-items: center; transform: translateY(-50%); border: 0; border-radius: 50%; color: #fff; background: rgba(17,19,21,.78); font-size: 2rem; line-height: 1; cursor: pointer; }
.post-carousel-arrow:hover,
.post-carousel-arrow:focus-visible { background: #d96e0c; outline: 3px solid rgba(255,255,255,.8); }
.post-carousel-arrow.is-prev { left: 14px; }
.post-carousel-arrow.is-next { right: 14px; }
.post-carousel-controls { min-height: 34px; margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #687078; font-size: .86rem; font-weight: 750; }
.post-carousel-dots { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.post-carousel-dots button { width: 11px; height: 11px; padding: 0; border: 0; border-radius: 50%; background: #c7ccd0; cursor: pointer; }
.post-carousel-dots button.is-active { background: #d96e0c; transform: scale(1.2); }
.post-carousel-dots button:focus-visible { outline: 3px solid rgba(242,140,40,.35); outline-offset: 3px; }
.post-notice { padding: 24px 26px; border-left: 5px solid #f28c28; border-radius: 16px; color: #30363b; background: #fff5e9; text-align: left; }
.post-notice h2 { margin: 0 0 10px; font-size: 1.35rem; }
.post-notice.is-important { border-color: #bf2b32; background: #fff0f1; }
.post-notice.is-tip { border-color: #2f7d32; background: #eff8ef; }
.post-action { margin: 0; }
.post-button { display: inline-flex; min-height: 48px; padding: 11px 20px; align-items: center; justify-content: center; border-radius: 999px; color: #111315; background: #f28c28; font-weight: 850; }
.post-button:hover,
.post-button:focus-visible { background: #ffab50; outline: 3px solid rgba(242,140,40,.25); }
.post-faq { margin-bottom: 14px; border: 1px solid #dfe3e6; border-radius: 16px; background: #fff; }
.post-faq summary { padding: 18px 22px; cursor: pointer; color: #111315; font-weight: 850; }
.post-faq > div { padding: 0 22px 20px; }

@media (max-width: 760px) {
    .posts-grid { grid-template-columns: 1fr; }
    .posts-hero { padding: 68px 0 58px; }
    .post-article-head { padding-top: 50px; }
    .post-article.is-layout-compact .post-article-head { padding-top: 38px; }
    .post-article.is-layout-compact .post-article-head h1 { font-size: clamp(2rem, 9vw, 2.55rem); }
    .post-hero-image { aspect-ratio: 4 / 3; border-radius: 18px; }
    .post-content { padding-top: 42px; font-size: 1rem; }
    .post-section,
    .post-section.is-width-wide,
    .post-section.is-width-full { width: min(100% - 28px, 780px); }
    .post-section.is-theme-soft .post-section-inner,
    .post-section.is-theme-accent .post-section-inner,
    .post-section.is-theme-dark .post-section-inner { padding: 22px 18px; border-radius: 17px; }
    .post-media-text,
    .post-media-text.is-image-right { grid-template-columns: 1fr; }
    .post-media-text.is-image-right .post-media-text-copy { order: initial; }
    .post-media-text img { min-height: 230px; }
    .post-gallery { grid-template-columns: 1fr; }
    .post-carousel-slide img { aspect-ratio: 4 / 3; }
    .post-carousel-arrow { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
    .post-carousel * { scroll-behavior: auto !important; }
}
