/*
Theme Name: dds_soundandfurygames.com
Author: Илья Корнеев
Version: 1.1
Text Domain: dds_soundandfurygames
*/

/* ===== Base ===== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: #0F1115;
    color: #E5E7EB;
    line-height: 1.6;
    font-size: 16px;
    background-image:
        radial-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        radial-gradient(rgba(255,255,255,0.01) 1px, transparent 1px);
    background-size: 3px 3px, 7px 7px;
    background-position: 0 0, 1px 1px;
}

a {
    color: #2D9CDB;
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: #E65C2F; }

h1, h2, h3, h4, h5, h6 {
    color: #E5E7EB;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.7em;
    letter-spacing: -0.01em;
}
h1 { font-size: 2.1rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

img { max-width: 100%; height: auto; }

code, pre, kbd, samp {
    font-family: "JetBrains Mono", "Fira Code", "SF Mono", Menlo, Consolas, monospace;
    background-color: #090B0F;
    color: #7CE38B;
    border-radius: 4px;
    padding: 0.12em 0.4em;
    font-size: 0.92em;
}
pre {
    padding: 14px 16px;
    overflow-x: auto;
    background-color: #090B0F;
    border: 1px solid #0F2A1F;
    border-left: 3px solid #7CE38B;
}
pre code { padding: 0; background: none; }

blockquote {
    margin: 1.2em 0;
    padding: 0.8em 1.1em;
    border-left: 3px solid #E65C2F;
    background-color: #1A1D24;
    color: #E5E7EB;
    border-radius: 0 6px 6px 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
    border: 1px solid #2A2F3A;
    background-color: #1A1D24;
}
th, td {
    padding: 10px 12px;
    border: 1px solid #2A2F3A;
    text-align: left;
}
th {
    background-color: #090B0F;
    color: #E5E7EB;
    font-weight: 600;
}

hr { border: 0; border-top: 1px solid #2A2F3A; margin: 2em 0; }

::selection { background: #E65C2F; color: #0F1115; }

/* ===== Layout ===== */
.shell-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 22px;
}

.site-main-grid {
    display: grid;
    grid-template-columns: 67% 27%;
    gap: 6%;
    padding: 34px 0 60px;
}
.site-main-grid.no-side {
    grid-template-columns: 85%;
    justify-content: center;
}
.main-content { min-width: 0; }

/* ===== Header ===== */
.site-head {
    background-color: #0F1115;
    border-bottom: 1px solid #2A2F3A;
    padding: 16px 0;
    position: relative;
}
.site-head::before {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #E65C2F 30%, #2D9CDB 70%, transparent);
    opacity: 0.5;
}

.head-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}

.brand-box {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}
.brand-logo {
    width: 46px;
    height: 46px;
    display: block;
    flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; }
.brand-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: #E5E7EB;
    line-height: 1.2;
    max-width: 430px;
}
.brand-tag {
    font-size: 0.78rem;
    color: #9CA3AF;
    margin-top: 2px;
    max-width: 430px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.live-ticker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: #090B0F;
    border: 1px solid #0F2A1F;
    border-radius: 6px;
    font-family: "JetBrains Mono", "Fira Code", monospace;
    font-size: 0.8rem;
    color: #7CE38B;
}
.live-ticker .pulse-dot {
    width: 7px;
    height: 7px;
    background-color: #7CE38B;
    border-radius: 50%;
    box-shadow: 0 0 6px #7CE38B;
    animation: pulse-blink 1.4s ease-in-out infinite;
}
@keyframes pulse-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Navigation */
.primary-nav { width: 100%; margin-top: 14px; }
.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-top: 1px dashed #2A2F3A;
    padding-top: 14px;
}
.primary-nav li a {
    display: inline-block;
    padding: 7px 14px;
    color: #E5E7EB;
    border-radius: 6px;
    font-size: 0.94rem;
    transition: background-color 0.18s ease, color 0.18s ease;
}
.primary-nav li a:hover,
.primary-nav li.current-menu-item > a {
    background-color: rgba(45, 156, 219, 0.15);
    color: #2D9CDB;
}

.menu-open-btn {
    display: none;
    background-color: transparent;
    border: 1px solid #2A2F3A;
    color: #E5E7EB;
    padding: 7px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
}

/* ===== Buttons ===== */
.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #E65C2F 0%, #B94318 100%);
    color: #0F1115;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.92rem;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.1s ease;
    text-decoration: none;
}
.btn-main:hover {
    box-shadow: 0 0 0 3px rgba(230, 92, 47, 0.25), 0 2px 14px rgba(230, 92, 47, 0.4);
    color: #0F1115;
}
.btn-main:active { transform: translateY(1px); }
.btn-main .arrow-i { transition: transform 0.2s ease; display: inline-block; }
.btn-main:hover .arrow-i { transform: translateX(3px); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background-color: transparent;
    color: #2D9CDB;
    border: 1px solid #2D9CDB;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
    cursor: pointer;
}
.btn-ghost:hover {
    background-color: rgba(45, 156, 219, 0.15);
    color: #2D9CDB;
}

/* ===== Breadcrumbs ===== */
.crumbs-line {
    padding: 14px 0;
    font-size: 0.85rem;
    color: #9CA3AF;
    border-bottom: 1px solid #2A2F3A;
}
.crumbs-line a { color: #9CA3AF; }
.crumbs-line a:hover { color: #2D9CDB; }
.crumbs-line .sep { margin: 0 7px; color: #2A2F3A; }
.crumbs-line .cur { color: #E5E7EB; }

/* ===== Cards (flex column per A8) ===== */
.stream-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
    margin: 0 0 30px;
}

.card {
    display: flex;
    flex-direction: column;
    background-color: #1A1D24;
    border: 1px solid #2A2F3A;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
    border-color: #E65C2F;
    transform: translateY(-2px);
}

.card-thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #090B0F;
}
.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 16 / 9;
}
.card-thumb.no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2A2F3A;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.75rem;
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 18px 18px 16px;
}
.card-cats {
    font-size: 0.72rem;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}
.card-cats a { color: #9CA3AF; }
.card-cats a:hover { color: #E65C2F; }
.card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 10px;
}
.card-title a { color: #E5E7EB; }
.card-title a:hover { color: #E65C2F; }

.card-excerpt {
    color: #9CA3AF;
    font-size: 0.92rem;
    flex: 1;
    margin-bottom: 14px;
}
.card-excerpt p {
    margin: 0 0 0.5em;
    background: none;
}

.card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}
.card-date {
    font-size: 0.78rem;
    color: #9CA3AF;
    font-family: "JetBrains Mono", monospace;
}

/* Horizontal card variant (kept defensive for potential use) */
.card-row {
    flex-direction: row;
}
.card-row .card-thumb-wrap {
    flex: 0 0 280px;
    position: relative;
    overflow: hidden;
}
.card-row .card-thumb-wrap a {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}
.card-row .card-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Sidebar ===== */
.side-col { min-width: 0; }
.widget-box {
    background-color: #1A1D24;
    border: 1px solid #2A2F3A;
    border-radius: 10px;
    padding: 18px 20px;
    margin-bottom: 20px;
}
.widget-box .widget-head {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #2A2F3A;
    color: #E5E7EB;
}
.widget-box ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.widget-box ul li {
    padding: 7px 0;
    border-bottom: 1px solid #2A2F3A;
}
.widget-box ul li:last-child { border-bottom: none; }
.widget-box ul li a {
    color: #E5E7EB;
    font-size: 0.92rem;
}
.widget-box ul li a:hover { color: #E65C2F; }

.search-form {
    display: flex;
    gap: 6px;
}
.search-form .search-input {
    flex: 1;
    padding: 9px 12px;
    background-color: #090B0F;
    border: 1px solid #2A2F3A;
    border-radius: 6px;
    color: #E5E7EB;
    font-family: inherit;
    font-size: 0.9rem;
    min-width: 0;
}
.search-form .search-input:focus {
    outline: none;
    border-color: #2D9CDB;
}

/* ===== Pagination ===== */
.page-nav {
    margin: 30px 0 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
}
.page-nav a,
.page-nav span {
    display: inline-block;
    padding: 8px 13px;
    border: 1px solid #2A2F3A;
    border-radius: 6px;
    color: #E5E7EB;
    background-color: #1A1D24;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.page-nav a:hover {
    border-color: #E65C2F;
    color: #E65C2F;
}
.page-nav .current {
    background-color: #E65C2F;
    border-color: #E65C2F;
    color: #0F1115;
}

/* ===== Single post ===== */
.post-main {
    background-color: #1A1D24;
    border: 1px solid #2A2F3A;
    border-radius: 10px;
    padding: 30px 34px;
    margin-bottom: 24px;
}
.post-main .entry-head { margin-bottom: 20px; }
.post-main .entry-cats {
    font-size: 0.78rem;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}
.post-main .entry-cats a { color: #2D9CDB; }
.post-main .entry-title { margin: 0 0 12px; }
.post-main .entry-meta {
    font-size: 0.84rem;
    color: #9CA3AF;
    font-family: "JetBrains Mono", monospace;
}
.post-main .entry-body {
    font-size: 1rem;
    line-height: 1.75;
}
.post-main .entry-body img {
    display: block;
    border-radius: 8px;
    margin: 16px 0;
}

/* ===== Front page blocks ===== */
.hero-stage {
    padding: 36px 32px;
    margin: 22px 0 30px;
    background-color: #1A1D24;
    border: 1px solid #2A2F3A;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}
.hero-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 85% 10%, rgba(230, 92, 47, 0.12), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(45, 156, 219, 0.1), transparent 45%);
    pointer-events: none;
}
.hero-stage > * { position: relative; }
.hero-kicker {
    display: inline-block;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.8rem;
    color: #7CE38B;
    background-color: #090B0F;
    border: 1px solid #0F2A1F;
    padding: 5px 11px;
    border-radius: 4px;
    margin-bottom: 16px;
}
.hero-stage h1 {
    font-size: 2.2rem;
    margin: 0 0 14px;
}
.hero-stage p {
    color: #9CA3AF;
    font-size: 1.05rem;
    max-width: 780px;
    margin: 0 0 20px;
}
.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.block-section {
    margin: 40px 0;
}
.block-section .block-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 1px solid #2A2F3A;
    flex-wrap: wrap;
}
.block-section .block-head h2 {
    margin: 0;
    font-size: 1.5rem;
}
.block-section .block-head .meta-note {
    font-size: 0.82rem;
    color: #9CA3AF;
    font-family: "JetBrains Mono", monospace;
}

/* Scenario cards (unique element) */
.scenario-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.scenario-cell {
    background-color: #1A1D24;
    border: 1px solid #2A2F3A;
    border-radius: 10px;
    padding: 22px;
    position: relative;
}
.scenario-cell::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 30px; height: 2px;
    background: linear-gradient(90deg, #E65C2F, transparent);
}
.scenario-cell .pictogram {
    width: 44px; height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #090B0F;
    border: 1px solid #2A2F3A;
    border-radius: 8px;
    margin-bottom: 14px;
    color: #E65C2F;
}
.scenario-cell h3 {
    font-size: 1.1rem;
    margin: 0 0 8px;
}
.scenario-cell p {
    color: #9CA3AF;
    font-size: 0.92rem;
    margin: 0 0 12px;
}
.scenario-cell .callout {
    display: inline-block;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.78rem;
    color: #7CE38B;
    padding: 4px 8px;
    background-color: #090B0F;
    border-radius: 4px;
    border-left: 2px solid #7CE38B;
}

/* Terminal block */
.terminal-box {
    background-color: #090B0F;
    border: 1px solid #0F2A1F;
    border-radius: 8px;
    padding: 18px 20px;
    font-family: "JetBrains Mono", monospace;
    font-size: 0.88rem;
    color: #7CE38B;
    margin: 18px 0;
    line-height: 1.8;
}
.terminal-box .term-prompt { color: #E65C2F; user-select: none; }
.terminal-box .term-cursor {
    display: inline-block;
    width: 9px; height: 1em;
    background-color: #7CE38B;
    vertical-align: text-bottom;
    animation: term-blink 1s step-end infinite;
}
@keyframes term-blink {
    50% { background-color: transparent; }
}

/* Category chips (plain text) */
.cat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 26px;
    margin: 18px 0 0;
    font-size: 0.95rem;
}
.cat-chips a {
    color: #E5E7EB;
    border-bottom: 1px dashed #2A2F3A;
    padding-bottom: 2px;
}
.cat-chips a:hover {
    color: #E65C2F;
    border-bottom-color: #E65C2F;
}

/* Steps */
.steps-line {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    counter-reset: step-count;
}
.steps-line .step-cell {
    background-color: #1A1D24;
    border: 1px solid #2A2F3A;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    counter-increment: step-count;
}
.steps-line .step-cell::before {
    content: "0" counter(step-count);
    position: absolute;
    top: 12px; right: 16px;
    font-family: "JetBrains Mono", monospace;
    font-size: 1.1rem;
    color: #2A2F3A;
    font-weight: 700;
}
.steps-line .step-cell h3 {
    font-size: 1rem;
    margin: 0 0 8px;
    padding-right: 30px;
}
.steps-line .step-cell p {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin: 0;
}

/* ===== Comments ===== */
.comments-wrap {
    background-color: #1A1D24;
    border: 1px solid #2A2F3A;
    border-radius: 10px;
    padding: 26px 30px;
    margin-bottom: 24px;
}
.comments-wrap h3 { margin-top: 0; }
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}
.comment-list li {
    padding: 16px 0;
    border-bottom: 1px solid #2A2F3A;
}
.comment-list li:last-child { border-bottom: none; }
.comment-list .c-meta {
    font-size: 0.85rem;
    color: #9CA3AF;
    margin-bottom: 6px;
}
.comment-list .c-meta strong { color: #E5E7EB; }
.comment-form p { margin: 0 0 12px; }
.comment-form label {
    display: block;
    font-size: 0.88rem;
    color: #9CA3AF;
    margin-bottom: 5px;
}
.comment-form input[type=text],
.comment-form input[type=email],
.comment-form input[type=url],
.comment-form textarea {
    width: 100%;
    padding: 9px 12px;
    background-color: #090B0F;
    border: 1px solid #2A2F3A;
    border-radius: 6px;
    color: #E5E7EB;
    font-family: inherit;
    font-size: 0.94rem;
}
.comment-form input[type=text]:focus,
.comment-form input[type=email]:focus,
.comment-form input[type=url]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #2D9CDB;
}
.comment-form textarea { min-height: 120px; resize: vertical; }
.comment-form .form-submit input[type=submit] {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, #E65C2F 0%, #B94318 100%);
    color: #0F1115;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
}
.comment-form .form-submit input[type=submit]:hover {
    box-shadow: 0 0 0 3px rgba(230, 92, 47, 0.25);
}

/* ===== 404 ===== */
.err-box {
    text-align: center;
    padding: 60px 20px;
}
.err-box .err-code {
    font-family: "JetBrains Mono", monospace;
    font-size: 6rem;
    font-weight: 700;
    color: #E65C2F;
    line-height: 1;
    margin: 0 0 10px;
}
.err-box p { color: #9CA3AF; max-width: 540px; margin: 0 auto 20px; }
.err-box .search-form { max-width: 420px; margin: 20px auto; }

/* ===== Footer ===== */
.site-foot {
    background-color: #090B0F;
    border-top: 1px solid #2A2F3A;
    padding: 40px 0 0;
    margin-top: 40px;
}
.foot-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}
.foot-col .widget-head {
    font-size: 0.98rem;
    font-weight: 700;
    color: #E5E7EB;
    margin: 0 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px dashed #2A2F3A;
}
.foot-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.foot-col ul li { padding: 6px 0; }
.foot-col ul li a { color: #9CA3AF; font-size: 0.9rem; }
.foot-col ul li a:hover { color: #E65C2F; }
.foot-col p { color: #9CA3AF; font-size: 0.9rem; margin: 0 0 0.7em; background: none; }

.foot-bottom {
    padding: 18px 0;
    border-top: 1px solid #2A2F3A;
    font-size: 0.85rem;
    color: #9CA3AF;
    text-align: center;
    font-family: "JetBrains Mono", monospace;
}

/* ===== Cookie banner ===== */
.cookie-strip {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background-color: #090B0F;
    border-top: 1px solid #E65C2F;
    padding: 16px 22px;
    display: none;
    z-index: 999;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
}
.cookie-strip.is-shown { display: block; }
.cookie-strip-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.cookie-strip .cookie-note {
    color: #9CA3AF;
    font-size: 0.88rem;
    flex: 1;
    min-width: 260px;
    margin: 0;
    background: none;
}
.cookie-strip .cookie-ok {
    background: linear-gradient(135deg, #E65C2F 0%, #B94318 100%);
    color: #0F1115;
    border: none;
    border-radius: 10px;
    padding: 10px 22px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.92rem;
}
.cookie-strip .cookie-ok:hover {
    box-shadow: 0 0 0 3px rgba(230, 92, 47, 0.25);
}
.cookie-strip .cookie-ok:active { transform: translateY(1px); }

/* ===== Responsive ===== */
@media (max-width: 960px) {
    .site-main-grid,
    .site-main-grid.no-side {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .foot-cols { grid-template-columns: 1fr 1fr; }
    .hero-stage h1 { font-size: 1.7rem; }
    .post-main { padding: 24px 22px; }
}

@media (max-width: 600px) {
    body { font-size: 15px; }
    .shell-wrap { padding: 0 16px; }
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.35rem; }

    .head-inner { flex-direction: column; align-items: flex-start; }
    .brand-box { width: 100%; }
    .live-ticker { align-self: flex-start; }
    .menu-open-btn { display: inline-block; }

    .primary-nav { margin-top: 12px; }
    .primary-nav ul {
        display: none;
        flex-direction: column;
        gap: 0;
    }
    .primary-nav.is-open ul { display: flex; }
    .primary-nav li { width: 100%; border-bottom: 1px solid #2A2F3A; }
    .primary-nav li:last-child { border-bottom: none; }
    .primary-nav li a { display: block; padding: 12px 6px; }

    .hero-stage { padding: 26px 20px; }
    .hero-stage h1 { font-size: 1.5rem; }
    .hero-ctas .btn-main,
    .hero-ctas .btn-ghost { width: 100%; justify-content: center; }

    .foot-cols { grid-template-columns: 1fr; gap: 24px; }

    .card-row { flex-direction: column; }
    .card-row .card-thumb-wrap {
        flex: none;
        width: 100%;
        position: static;
    }
    .card-row .card-thumb-wrap a { position: static; }
    .card-row .card-thumb-wrap img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .post-main { padding: 20px 18px; }
    .err-box .err-code { font-size: 4.5rem; }
}

/* Alignment helpers from WP */
.alignleft { float: left; margin: 0 18px 12px 0; }
.alignright { float: right; margin: 0 0 12px 18px; }
.aligncenter { display: block; margin: 12px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: #9CA3AF; font-size: 0.85rem; text-align: center; margin: 6px 0; }
.screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
