/* ═══════════════════════════════════════════════════════════════════
   BASE.CSS — markowe-oswietlenie.pl
   Core styles: reset, layout, cards, sidebar, responsive
   Design: Florian lifestyle replica
   ═══════════════════════════════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); font-size: 15px; font-weight: 400; line-height: 1.75; color: var(--color-text); background: var(--color-bg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--color-primary); }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; margin: 0 0 16px; color: var(--color-heading); }
h1 { font-size: 47px; }
h2 { font-size: 24px; color: var(--color-text); }
h3 { font-size: 20px; }
h4 { font-size: 18px; }
p { margin: 0 0 24px; }
figure { margin: 0 0 24px; }
figcaption { font-size: 13px; color: var(--color-text-secondary); margin-top: 8px; }

/* ─── LAYOUT ─── */
.stb-container { max-width: var(--container-width); margin: 0 auto; padding: 0 var(--gap-side, 15px); }
.stb-layout { display: flex; gap: var(--gap); }
.stb-content { flex: 1; min-width: 0; }
.stb-sidebar { width: var(--sidebar-width); flex-shrink: 0; position: static; }
.stb-layout--page { max-width: 800px; margin: 0 auto; }
.stb-main-content { padding: 48px 0; }

/* ─── HEADER ─── */
.stb-header { background: var(--color-bg); padding: 40px 0 0; }
.stb-header-logo { text-align: center; padding-bottom: 24px; }
.stb-logo-text {
    font-family: var(--font-logo);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-heading);
    letter-spacing: 3px;
    text-decoration: none;
    display: inline-block;
}
.stb-logo-text:hover { color: var(--color-heading); }
.stb-logo { text-align: center; }
.stb-logo .custom-logo { max-height: 60px; width: auto; margin: 0 auto; }

.stb-header-separator {
    border-bottom: 1px solid var(--color-border-accent);
    margin-bottom: 0;
}

/* ─── NAVBAR ─── */
.stb-navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
    position: relative;
}
.stb-nav-desktop { display: flex; justify-content: center; flex: 1; }
.stb-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
.stb-nav-list li {
    border-left: 1px solid var(--color-border);
    padding: 0 24px;
}
.stb-nav-list li:first-child { border-left: none; }
.stb-nav-list li a {
    font-family: var(--font-accent);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s ease;
}
.stb-nav-list li a:hover { color: var(--color-primary); }

.stb-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--color-text); }
.stb-search-btn { background: none; border: none; cursor: pointer; padding: 8px; color: var(--color-text); position: absolute; right: 0; }
.stb-search-btn:hover { color: var(--color-primary); }

/* ─── MOBILE MENU ─── */
.stb-mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s; }
.stb-mobile-overlay.active { opacity: 1; visibility: visible; }
.stb-mobile-menu {
    position: fixed; top: 0; left: -300px; width: 280px; height: 100%; background: var(--color-bg);
    z-index: 999; transition: left 0.3s ease; padding: 20px; overflow-y: auto;
}
.stb-mobile-menu.active { left: 0; }
.stb-mobile-close { background: none; border: none; cursor: pointer; padding: 8px; margin-bottom: 20px; color: var(--color-text); }
.stb-mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.stb-mobile-nav-list li { border-bottom: 1px solid var(--color-border); }
.stb-mobile-nav-list li a {
    display: block; padding: 12px 0; font-family: var(--font-accent);
    font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--color-text);
}
.stb-mobile-nav-list li a:hover { color: var(--color-primary); }

/* ─── SEARCH OVERLAY ─── */
.stb-search-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); z-index: 1000; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.stb-search-overlay.active { opacity: 1; visibility: visible; }
.stb-search-overlay-inner { width: 90%; max-width: 600px; position: relative; }
.stb-search-overlay input[type="search"] {
    width: 100%; background: transparent; border: none; border-bottom: 2px solid #fff; color: #fff;
    font-family: var(--font-heading); font-size: 32px; padding: 16px 0; outline: none;
}
.stb-search-overlay input::placeholder { color: rgba(255,255,255,0.5); }
.stb-search-close { position: absolute; top: -60px; right: 0; background: none; border: none; color: #fff; cursor: pointer; padding: 8px; }

/* ─── BLOG POSTS (homepage / archive) ─── */
.stb-post-featured { margin-bottom: 48px; text-align: center; }
.stb-post-meta-top { margin-bottom: 12px; }
.stb-category-label {
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
}
.stb-category-label:hover { color: var(--color-primary-hover); }

.stb-post-title a { color: var(--color-heading); }
.stb-post-title a:hover { color: var(--color-primary); }
.stb-post-title--large {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.stb-post-date {
    font-size: 13px;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}
.stb-separator { margin: 0 6px; }

.stb-post-image-link { display: block; margin-bottom: 24px; }
.stb-post-image { width: 100%; height: auto; }

.stb-post-excerpt { font-size: 15px; line-height: 1.75; color: var(--color-text); margin-bottom: 16px; }
.stb-post-excerpt--large { text-align: left; }

.stb-read-more {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 2px;
    transition: color 0.3s, border-color 0.3s;
}
.stb-read-more:hover { color: var(--color-primary-hover); border-color: var(--color-primary-hover); }

/* ─── POST CARD (standard listing) ─── */
.stb-post-card {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--color-border);
}
.stb-card-thumb-link { flex-shrink: 0; width: 280px; }
.stb-card-thumb { width: 100%; height: 190px; object-fit: cover; }
.stb-card-body { flex: 1; min-width: 0; }
.stb-card-body .stb-post-title { font-size: 20px; margin-bottom: 8px; }
.stb-card-body .stb-post-excerpt { font-size: 14px; line-height: 1.7; }

/* ─── ARCHIVE HEADER ─── */
.stb-archive-header { text-align: center; padding: 48px 0 32px; }
.stb-archive-label {
    font-family: var(--font-accent);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    display: block;
    margin-bottom: 12px;
}
.stb-archive-title {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--color-heading);
    margin: 0;
}

/* ─── BREADCRUMBS ─── */
.stb-breadcrumbs-bar { padding: 12px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); margin-bottom: 5px; }
.stb-breadcrumbs { font-size: 13px; color: var(--color-text-secondary); }
.stb-breadcrumbs a { color: var(--color-text-secondary); }
.stb-breadcrumbs a:hover { color: var(--color-primary); }
.stb-breadcrumb-sep { margin: 0 8px; color: var(--color-border); }

/* ─── ARTICLE (single) ─── */
.stb-article { margin-bottom: 48px; }
.stb-article-header { text-align: center; margin-bottom: 32px; }
.stb-article-header .stb-category-label { display: block; margin-bottom: 16px; }
.stb-article-title { font-size: 47px; line-height: 1.2; margin-bottom: 16px; }
.stb-article-meta { font-size: 13px; color: var(--color-text-secondary); display: flex; align-items: center; justify-content: center; gap: 4px; }
.stb-article-image { margin-bottom: 32px; text-align: center; }
.stb-featured-img { width: 100%; height: auto; }

.stb-article-content { font-size: 15px; line-height: 1.75; }
.stb-article-content h2 { font-size: 24px; margin: 40px 0 16px; font-style: italic; }
.stb-article-content h3 { font-size: 20px; margin: 32px 0 12px; font-style: italic; }
.stb-article-content p { margin-bottom: 24px; }
.stb-article-content ul, .stb-article-content ol { margin: 0 0 24px 24px; padding: 0; }
.stb-article-content ul { list-style: disc; }
.stb-article-content ol { list-style: decimal; }
.stb-article-content li { margin-bottom: 8px; }
.stb-article-content blockquote {
    border-left: 3px solid var(--color-primary);
    margin: 24px 0;
    padding: 16px 24px;
    font-style: italic;
    color: var(--color-text-secondary);
}
.stb-article-content a { color: var(--color-primary); text-decoration: underline; }
.stb-article-content a:hover { color: var(--color-primary-hover); }

/* ─── TAGS ─── */
.stb-article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--color-border); }
.stb-tag {
    font-size: 12px;
    font-family: var(--font-accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 12px;
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    transition: all 0.3s;
}
.stb-tag:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ─── SHARE ─── */
.stb-article-share { display: flex; align-items: center; gap: 12px; padding: 24px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); margin-bottom: 32px; }
.stb-share-label { font-size: 13px; font-weight: 700; }
.stb-share-link { color: var(--color-text-secondary); transition: color 0.3s; }
.stb-share-link:hover { color: var(--color-primary); }

/* ─── POST NAVIGATION ─── */
.stb-post-nav { display: flex; gap: 24px; margin-bottom: 48px; }
.stb-post-nav-link { flex: 1; padding: 20px; border: 1px solid var(--color-border); transition: border-color 0.3s; }
.stb-post-nav-link:hover { border-color: var(--color-primary); }
.stb-post-nav-label { display: block; font-family: var(--font-accent); font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--color-text-secondary); margin-bottom: 8px; }
.stb-post-nav-title { font-family: var(--font-heading); font-size: 16px; color: var(--color-heading); }
.stb-post-nav-next { text-align: right; }

/* ─── RELATED POSTS ─── */
.stb-related { margin-bottom: 48px; }
.stb-section-title {
    font-family: var(--font-heading);
    font-size: 22px;
    text-align: center;
    margin-bottom: 32px;
    position: relative;
    font-style: italic;
}
.stb-section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    background: var(--color-primary);
    margin: 12px auto 0;
}
.stb-cards-grid { display: grid; gap: 24px; }
.stb-cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.stb-card { background: var(--color-card-bg); }
.stb-card-image-link { display: block; overflow: hidden; }
.stb-card-image { width: 100%; height: 180px; object-fit: cover; transition: transform 0.3s; }
.stb-card-image-link:hover .stb-card-image { transform: scale(1.05); }
.stb-card-content { padding: 16px 0; }
.stb-card-title { font-size: 16px; margin-bottom: 8px; }
.stb-card-title a { color: var(--color-heading); }
.stb-card-title a:hover { color: var(--color-primary); }
.stb-card-date { font-size: 12px; color: var(--color-text-secondary); }

/* ─── SIDEBAR ─── */
.stb-widget { margin-bottom: 32px; }

/* Widget title */
.stb-widget-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-style: italic;
    text-align: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    position: relative;
}
.stb-widget-title::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    background: var(--color-primary);
    position: absolute;
    bottom: 0;
    left: 0;
}

/* Tabs */
.stb-tab-nav {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 16px;
}
.stb-tab-link {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-secondary);
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: color 0.3s, border-color 0.3s;
}
.stb-tab-link:hover { color: var(--color-text); }
.stb-tab-link.stb-tab-active { color: var(--color-text); border-bottom-color: var(--color-primary); }

.stb-tab-content { display: none; }
.stb-tab-content.stb-tab-active { display: block; }

.stb-tab-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    align-items: flex-start;
}
.stb-tab-item:last-child { border-bottom: none; }

.stb-tab-item--numbered { position: relative; }
.stb-tab-number {
    position: absolute;
    top: 12px;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--color-heading);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.stb-tab-item--numbered .stb-tab-thumb { margin-left: 0; }

.stb-tab-thumb { flex-shrink: 0; width: 94px; height: 70px; display: block; }
.stb-tab-thumb img { width: 100%; height: 100%; object-fit: cover; }

.stb-tab-info { flex: 1; min-width: 0; }
.stb-tab-cat {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 4px;
}
.stb-tab-title { font-size: 14px; font-weight: 400; margin: 0 0 4px; line-height: 1.3; }
.stb-tab-title a { color: var(--color-heading); }
.stb-tab-title a:hover { color: var(--color-primary); }
.stb-tab-date { font-size: 12px; color: var(--color-text-secondary); }

/* Categories widget */
.stb-category-list li { border-bottom: 1px solid var(--color-border); }
.stb-category-list li a {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--color-text-secondary);
}
.stb-category-list li a:hover { color: var(--color-primary); }
.stb-cat-count { color: var(--color-text-secondary); }

/* ─── TOC ─── */
.stb-toc {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 24px;
    margin-bottom: 32px;
}
.stb-toc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.stb-toc-title { font-family: var(--font-heading); font-size: 18px; font-weight: 700; font-style: italic; }
.stb-toc-toggle { background: none; border: none; cursor: pointer; padding: 4px; color: var(--color-text-secondary); transition: transform 0.3s; }
.stb-toc-toggle[aria-expanded="false"] svg { transform: rotate(-90deg); }
.stb-toc-list { counter-reset: toc; margin: 0; padding: 0; list-style: none; }
.stb-toc-list li { counter-increment: toc; padding: 6px 0; font-size: 14px; }
.stb-toc-list li::before { content: counter(toc) ". "; color: var(--color-primary); font-weight: 700; }
.stb-toc-list li a { color: var(--color-text); }
.stb-toc-list li a:hover { color: var(--color-primary); }
.stb-toc-sub { padding-left: 20px; }
.stb-toc.collapsed .stb-toc-list { display: none; }

/* ─── PAGINATION ─── */
.stb-pagination { display: flex; justify-content: center; gap: 8px; margin: 48px 0; }
.stb-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    font-size: 14px;
    color: var(--color-text);
    border: 1px solid var(--color-border);
    transition: all 0.3s;
}
.stb-pagination .page-numbers:hover { border-color: var(--color-primary); color: var(--color-primary); }
.stb-pagination .page-numbers.current { background: var(--color-heading); color: #fff; border-color: var(--color-heading); }

/* ─── FOOTER ─── */
.stb-footer { padding: 40px 0; text-align: center; border-top: 1px solid var(--color-border); }
.stb-footer-copyright { font-size: 14px; font-style: italic; color: var(--color-footer-text); margin: 0; }

/* ─── BACK TO TOP ─── */
.stb-back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: var(--color-heading);
    color: #fff;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 90;
    transition: opacity 0.3s;
}
.stb-back-to-top.visible { display: flex; }

/* ─── 404 ─── */
.stb-404 { text-align: center; padding: 80px 0; }
.stb-404-title { font-size: 120px; color: var(--color-border); font-family: var(--font-heading); margin-bottom: 16px; }
.stb-404-text { font-size: 18px; color: var(--color-text-secondary); margin-bottom: 32px; }
.stb-404-btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid var(--color-heading);
    color: var(--color-heading);
    transition: all 0.3s;
}
.stb-404-btn:hover { background: var(--color-heading); color: #fff; }

/* ─── CONTACT FORM ─── */
.stb-contact-form { max-width: 600px; }
.stb-form-group { margin-bottom: 20px; }
.stb-form-group label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.stb-form-group .required { color: var(--color-primary); }
.stb-form-group input, .stb-form-group textarea {
    width: 100%; padding: 12px; border: 1px solid var(--color-border); font-family: var(--font-body);
    font-size: 15px; transition: border-color 0.3s; outline: none; background: var(--color-bg);
}
.stb-form-group input:focus, .stb-form-group textarea:focus { border-color: var(--color-primary); }
.stb-form-submit {
    display: inline-block;
    padding: 12px 32px;
    font-family: var(--font-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: var(--color-heading);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}
.stb-form-submit:hover { background: var(--color-primary); }
.stb-form-status { margin-top: 16px; font-size: 14px; }
.stb-form-status.success { color: #38a169; }
.stb-form-status.error { color: #e53e3e; }

/* ─── NO CONTENT ─── */
.stb-no-content { text-align: center; padding: 80px 0; }
.stb-no-content h2 { font-size: 28px; }
.stb-no-content a { color: var(--color-primary); text-decoration: underline; }

/* ─── SCREEN READER ─── */
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal; }

/* ─── READING PROGRESS BAR ─── */
.stb-reading-time { font-size: 13px; }

/* ─── HERO SECTION ─── */
.stb-hero { margin-bottom: 0; }
.stb-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4px; min-height: 520px; }
.stb-hero-main,
.stb-hero-card { position: relative; display: flex !important; align-items: flex-end; background-size: cover; background-position: center; text-decoration: none; color: #fff; overflow: hidden; }
.stb-hero-main { min-height: 520px; }
.stb-hero-card { min-height: 258px; }
.stb-hero-main:hover, .stb-hero-card:hover { opacity: 0.95; }
.stb-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.05) 100%); display: flex; align-items: flex-end; padding: 32px; }
.stb-hero-content { width: 100%; }
.stb-hero-cat { display: inline-block; font-family: var(--font-accent); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--color-primary); margin-bottom: 12px; padding: 4px 12px; border: 1px solid var(--color-primary); }
.stb-hero-title { font-family: var(--font-heading); font-size: 32px; font-weight: 700; line-height: 1.2; color: #fff; margin: 0 0 12px; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.stb-hero-title--small { font-size: 20px; margin-bottom: 8px; }
.stb-hero-meta { font-size: 13px; color: rgba(255,255,255,0.8); font-family: var(--font-body); }
.stb-hero-meta .stb-separator { margin: 0 6px; }
.stb-hero-side { display: flex; flex-direction: column; gap: 4px; }

/* ─── CB ADS SECTIONS ─── */
.stb-cb-billboard { padding: 32px 0; background: var(--color-surface); }
.stb-cb-inline { margin: 24px 0; padding: 24px 0; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .stb-layout { flex-direction: column; }
    .stb-sidebar { width: 100%; }
    .stb-hero-grid { min-height: 400px; }
    .stb-hero-main { min-height: 400px; }
    .stb-hero-title { font-size: 26px; }
    .stb-hero-title--small { font-size: 18px; }
    .stb-hero-overlay { padding: 24px; }
    .stb-cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .stb-article-title { font-size: 36px; }
    .stb-post-title--large { font-size: 28px; }
    h1 { font-size: 36px; }
}

@media (max-width: 768px) {
    .stb-nav-desktop { display: none; }
    .stb-hamburger { display: block; }
    .stb-navbar { justify-content: space-between; }
    .stb-hero-grid { grid-template-columns: 1fr; min-height: auto; }
    .stb-hero-main { min-height: 350px; }
    .stb-hero-card { min-height: 200px; }
    .stb-hero-side { flex-direction: row; gap: 4px; }
    .stb-hero-side .stb-hero-card { flex: 1; }
    .stb-hero-title { font-size: 24px; }
    .stb-hero-title--small { font-size: 16px; }
    .stb-hero-overlay { padding: 20px; }
    .stb-search-btn { position: static; }

    .stb-post-card { flex-direction: column; gap: 16px; }
    .stb-card-thumb-link { width: 100%; }
    .stb-card-thumb { height: auto; aspect-ratio: 16 / 10; }

    .stb-article-title { font-size: 28px; }
    .stb-archive-title { font-size: 28px; }
    .stb-post-title--large { font-size: 24px; }
    h1 { font-size: 28px; }
    h2 { font-size: 20px; }

    .stb-post-nav { flex-direction: column; }

    .stb-cards-grid--3 { grid-template-columns: 1fr; }

    .stb-search-overlay input[type="search"] { font-size: 20px; }
}

@media (max-width: 480px) {
    .stb-container { padding: 0 12px; }
    .stb-header { padding: 24px 0 0; }
    .stb-logo-text { font-size: 22px; letter-spacing: 2px; }
    .stb-main-content { padding: 32px 0; }
    body { font-size: 15px; }
    h1 { font-size: 24px; }
    h2 { font-size: 18px; }
    .stb-article-title { font-size: 24px; }
}
