/* ============================================
   CUSTOM.CSS — PenNews Times Magazine design
   Specific styles for kanapy-do-salonu.pl
   Author: Damian Zięba <biuro@semtak.pl>
   Version: 1.1.0
   ============================================ */

/* ═══════════════════════════════════════════════
   1. TOPBAR (black bar, 54px)
   ═══════════════════════════════════════════════ */
.stb-topbar {
    background: #000;
    color: #fff;
    line-height: 54px;
    font-family: var(--font-menu);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.stb-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.stb-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.stb-topbar-date {
    color: #fff;
    font-weight: 400;
    white-space: nowrap;
}
.stb-topbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}
.stb-topbar-right a {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 44px;
    transition: var(--transition);
}
.stb-topbar-right a:hover {
    color: #fff;
}
.stb-topbar-right svg {
    width: 12px;
    height: 12px;
}

/* ═══════════════════════════════════════════════
   2. NAVBAR (white header, 80px, sticky)
   ═══════════════════════════════════════════════ */
.stb-navbar {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: rgb(236, 236, 236) 0px -1px 0px 0px inset;
}
.stb-navbar.stb-navbar--scrolled {
    box-shadow: rgb(236, 236, 236) 0px -1px 0px 0px inset,
                0 2px 8px rgba(0, 0, 0, 0.08);
}
.stb-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    gap: 16px;
}

/* Logo — Crimson Text 40px/60px */
.stb-logo {
    flex-shrink: 0;
}
.stb-logo .custom-logo {
    max-height: 40px;
    width: auto;
}
.stb-logo-text {
    font-family: var(--font-logo);
    font-size: 40px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    line-height: 60px;
    text-decoration: none;
}
.stb-logo-text:hover {
    color: var(--text-primary);
    opacity: 0.8;
}

/* Desktop nav center */
.stb-nav-center {
    flex: 1;
    display: flex;
    justify-content: flex-start;
    margin-left: 20px;
}
.stb-nav {
    display: flex;
    align-items: center;
}

/* Menu links — Work Sans 14px/80px 600 */
.stb-menu {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
}
.stb-menu > li {
    position: relative;
    white-space: nowrap;
}
.stb-menu > li > a {
    display: block;
    padding: 0 12px;
    font-family: var(--font-menu);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    line-height: 80px;
    white-space: nowrap;
    transition: var(--transition);
}
.stb-menu > li > a:hover,
.stb-menu > .current-menu-item > a,
.stb-menu > .current-menu-ancestor > a {
    color: var(--accent);
}

/* Submenu dropdown */
.stb-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-top: 2px solid var(--accent);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: 100;
}
.stb-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.stb-menu .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-menu);
    font-size: 13px;
    font-weight: 500;
    text-transform: none;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    line-height: 1.5;
    transition: var(--transition);
}
.stb-menu .sub-menu a:hover {
    color: var(--accent);
    background: #f9f9f9;
}
.stb-menu .sub-menu li:last-child a {
    border-bottom: none;
}

/* Navbar right: search + hamburger */
.stb-navbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Social icons in header (hidden on desktop, visible on mobile) */
.stb-social-icons--header {
    display: none;
    gap: 4px;
}
.stb-social-icons--header a {
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}
.stb-social-icons--header a:hover {
    color: var(--text-primary);
}

/* Search toggle — 44x44 touch target */
.stb-search-toggle {
    color: var(--text-primary);
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.stb-search-toggle:hover {
    color: var(--accent);
}

/* CTA button */
.stb-cta-btn {
    display: inline-block;
    padding: 8px 18px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-menu);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    white-space: nowrap;
}
.stb-cta-btn:hover {
    background: var(--accent-hover);
    color: #fff;
}

/* Hamburger — hidden on desktop */
.stb-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.stb-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ═══════════════════════════════════════════════
   3. NEWS TICKER / TRENDING BAR
   ═══════════════════════════════════════════════ */
.stb-ticker {
    background: #fff;
    padding: 0;
    overflow: hidden;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
}
.stb-ticker-inner {
    display: flex;
    align-items: center;
    min-height: 42px;
}
.stb-ticker-label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 15px;
    font-family: var(--font-menu);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    background: #111;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 16px;
    line-height: 28px;
    align-self: center;
    letter-spacing: 0.5px;
}
.stb-ticker-label svg {
    fill: #fff;
}
.stb-ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
}
.stb-ticker-content {
    display: flex;
    gap: 40px;
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
}
.stb-ticker-item {
    font-size: 14px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: #000;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--transition);
}
.stb-ticker-item:hover {
    color: var(--accent);
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════
   4. SEARCH OVERLAY (fullscreen dark)
   ═══════════════════════════════════════════════ */
.stb-search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.stb-search-overlay.stb-active {
    opacity: 1;
    visibility: visible;
}
.stb-search-close {
    position: absolute;
    top: 32px;
    right: 32px;
    color: #fff;
    font-size: 40px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.stb-search-close:hover {
    color: var(--accent);
}
.stb-search-form-overlay {
    width: 60%;
    max-width: 600px;
}
.stb-search-input-overlay {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 28px;
    padding: 16px 0;
    outline: none;
    transition: border-color 0.3s ease;
}
.stb-search-input-overlay::placeholder {
    color: rgba(255, 255, 255, 0.4);
}
.stb-search-input-overlay:focus {
    border-bottom-color: var(--accent);
}

/* ═══════════════════════════════════════════════
   5. MOBILE MENU (slide from right)
   ═══════════════════════════════════════════════ */
.stb-mobile-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 9998;
    overflow-y: auto;
    transition: right 0.3s ease;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
}
.stb-mobile-menu.stb-active {
    right: 0;
}
.stb-mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
}
.stb-mobile-menu-title {
    font-family: var(--font-menu);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}
.stb-mobile-menu-close {
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stb-mobile-nav a {
    display: block;
    padding: 12px 20px;
    font-family: var(--font-menu);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    transition: var(--transition);
}
.stb-mobile-nav a:hover {
    color: var(--accent);
}
.stb-mobile-nav .sub-menu a {
    padding-left: 40px;
    font-size: 12px;
    font-weight: 400;
    text-transform: none;
}
.stb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9997;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.stb-overlay.stb-active {
    opacity: 1;
    visibility: visible;
}

/* ═══════════════════════════════════════════════
   6. HERO SECTION (3 overlay cards, full width)
   ═══════════════════════════════════════════════ */
.stb-hero-section {
    padding: 24px 0 0;
    background: #fff;
}
.stb-hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.stb-hero-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.stb-hero-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.stb-hero-card-link img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: opacity 0.3s ease;
}
.stb-hero-card-link:hover img {
    opacity: 0.85;
}
.stb-hero-card-placeholder {
    aspect-ratio: 16 / 10;
    background: #333;
}
.stb-hero-card-overlay {
    background: #111;
    padding: 20px 18px;
    flex-shrink: 0;
}
.stb-hero-cat {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-family: var(--font-menu);
    font-size: 10px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    padding: 2px 8px;
    margin-bottom: 10px;
    line-height: 16px;
}
.stb-hero-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 26px;
    margin-bottom: 8px;
}
.stb-hero-section .stb-meta {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
}

/* Hero sidebar (right column for layouts with sidebar) */
.stb-hero-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 24px;
}
.stb-hero-sidebar {
    border-left: 1px solid var(--border-color);
    padding-left: 24px;
}
.stb-hero-sidebar-post {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}
.stb-hero-sidebar-post:first-child {
    padding-top: 0;
}
.stb-hero-sidebar-post:last-of-type {
    border-bottom: none;
}
.stb-hero-sidebar-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    overflow: hidden;
}
.stb-hero-sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.stb-hero-sidebar-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}
.stb-hero-sidebar-title a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}
.stb-hero-sidebar-date {
    font-size: 11px;
    color: var(--text-meta);
}

/* ═══════════════════════════════════════════════
   7. WORLD NEWS CARDS (thumb + title compact grid)
   ═══════════════════════════════════════════════ */
.stb-world-card {
    transition: var(--transition);
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.stb-world-card:nth-child(n+4) {
    border-bottom: none;
    padding-bottom: 0;
    padding-top: 0;
}
.stb-world-card-inner {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.stb-world-card-thumb {
    flex-shrink: 0;
    width: 170px;
    height: 113px;
    overflow: hidden;
    display: block;
}
.stb-world-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}
.stb-world-card-thumb:hover img {
    opacity: 0.85;
}
.stb-world-card-body {
    flex: 1;
    min-width: 0;
}
.stb-world-card-title {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}
.stb-world-card-title a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   8. TABS SECTION (Business / category tabs)
   ═══════════════════════════════════════════════ */
.stb-section--tabs {
    border-top: none;
    border-bottom: none;
}
.stb-tabs-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0;
}
.stb-tabs-title {
    font-family: var(--font-menu);
    font-size: 18px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
    padding: 12px 0;
    white-space: nowrap;
    color: var(--text-primary);
}
.stb-tabs-nav {
    display: flex;
    gap: 0;
    margin: 0;
}
.stb-tabs-nav li {
    list-style: none;
}
.stb-tabs-nav a {
    display: block;
    padding: 12px 12px;
    font-family: var(--font-menu);
    font-size: 13px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    color: #888;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: var(--transition);
}
.stb-tabs-nav a.stb-tab-active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}
.stb-tabs-nav a:hover {
    color: var(--accent);
}

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

/* ═══════════════════════════════════════════════
   9. FEATURED + LIST LAYOUT (Politics style)
   ═══════════════════════════════════════════════ */
.stb-featured-list-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}
.stb-fl-featured-thumb {
    display: block;
    overflow: hidden;
    margin-bottom: 16px;
}
.stb-fl-featured-thumb img {
    width: 100%;
    transition: opacity 0.3s ease;
}
.stb-fl-featured-thumb:hover img {
    opacity: 0.85;
}
.stb-fl-featured-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 8px 0;
}
.stb-fl-featured-title a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}
.stb-fl-featured-excerpt {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.stb-fl-list-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border-color);
}
.stb-fl-list-item:first-child {
    padding-top: 0;
}
.stb-fl-list-item:last-child {
    border-bottom: none;
}
.stb-fl-list-thumb {
    flex-shrink: 0;
    width: 100px;
    height: 70px;
    overflow: hidden;
}
.stb-fl-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.stb-fl-list-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    margin: 4px 0;
}
.stb-fl-list-title a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}
.stb-fl-list-meta {
    font-size: 11px;
    color: var(--text-meta);
}

/* ═══════════════════════════════════════════════
   10. ARTICLE LIST (thumb left + content right)
   ═══════════════════════════════════════════════ */
.stb-article-list {
    /* container for list cards */
}
.stb-list-card {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
}
.stb-list-card:first-child {
    padding-top: 0;
}
.stb-list-card:last-child {
    border-bottom: none;
}
.stb-list-card-thumb {
    flex-shrink: 0;
    width: 260px;
    overflow: hidden;
    display: block;
}
.stb-list-card-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 260 / 175;
    object-fit: cover;
    transition: opacity 0.3s ease;
}
.stb-list-card-thumb:hover img {
    opacity: 0.85;
}
.stb-list-card-placeholder {
    width: 260px;
    aspect-ratio: 260 / 175;
    background: var(--border-color);
}
.stb-list-card-body {
    flex: 1;
    min-width: 0;
}
.stb-list-card-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 6px 0 10px;
}
.stb-list-card-title a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}
.stb-list-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}
.stb-list-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

/* ═══════════════════════════════════════════════
   11. LOAD MORE BUTTON (black bg)
   ═══════════════════════════════════════════════ */
.stb-load-more {
    background: #000;
    color: #fff;
    font-family: var(--font-menu);
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 28px;
    display: inline-block;
    transition: var(--transition);
}
.stb-load-more:hover {
    background: var(--accent);
    color: #fff;
}

/* ═══════════════════════════════════════════════
   12. INSPIRACJE (dark centered section)
   ═══════════════════════════════════════════════ */
.stb-section--inspiracje {
    text-align: center;
    padding: 56px 0;
}
.stb-inspiracje-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 15px;
    font-style: italic;
    font-family: var(--font-heading);
    margin-bottom: 32px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   13. THREE COLUMNS BOTTOM (editorial sections)
   ═══════════════════════════════════════════════ */
.stb-section--three-cols {
    padding: 40px 0 48px;
}
.stb-three-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.stb-col-title {
    font-family: var(--font-menu);
    font-size: 18px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    padding-bottom: 12px;
    margin-bottom: 20px;
    border-bottom: 3px solid #111;
}
.stb-col-featured {
    margin-bottom: 20px;
}
.stb-col-featured .stb-card-thumb {
    margin-bottom: 12px;
}
.stb-col-featured .stb-card-thumb img {
    width: 100%;
    aspect-ratio: 370 / 250;
    object-fit: cover;
}
.stb-col-featured-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}
.stb-col-featured-title a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

.stb-col-list-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: flex-start;
}
.stb-col-list-item:last-child {
    border-bottom: none;
}
.stb-col-list-thumb {
    flex-shrink: 0;
    width: 80px;
    height: 56px;
    overflow: hidden;
}
.stb-col-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.stb-col-list-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 4px;
}
.stb-col-list-title a:hover {
    color: var(--text-primary);
    text-decoration: underline;
}
.stb-col-list-date {
    font-size: 11px;
    color: var(--text-meta);
}

/* ═══════════════════════════════════════════════
   14. FOOTER (dark bg, centered, square social)
   ═══════════════════════════════════════════════ */
.stb-footer {
    background: #151515;
    color: rgba(255, 255, 255, 0.7);
}
.stb-footer-main {
    padding: 56px 0 32px;
    text-align: center;
}
.stb-footer-content {
    max-width: 600px;
    margin: 0 auto;
}
.stb-footer-logo-text {
    font-family: var(--font-logo);
    font-size: 40px;
    font-weight: 600;
    color: #fff;
    display: inline-block;
    margin-bottom: 16px;
    transition: var(--transition);
}
.stb-footer-logo-text:hover {
    color: var(--accent);
}
.stb-footer-desc {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #666;
}
.stb-footer-contact {
    margin-bottom: 16px;
    font-size: 14px;
    color: #888;
}
.stb-footer-contact a {
    color: var(--accent);
    transition: var(--transition);
}
.stb-footer-contact a:hover {
    text-decoration: underline;
}

/* Social — 5 square icons, 44x44, bg #212121, border-radius 0 */
.stb-footer-social {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}
.stb-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #212121;
    color: #fff;
    border-radius: 0;
    transition: var(--transition);
    line-height: 44px;
}
.stb-footer-social a:hover {
    background: var(--accent);
    color: #fff;
}

/* Footer bottom */
.stb-footer-bottom {
    background: #111;
    padding: 12px 0;
}
.stb-footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.stb-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}
.stb-footer-menu {
    display: flex;
    gap: 24px;
}
.stb-footer-menu a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: none;
    letter-spacing: 0;
    transition: var(--transition);
}
.stb-footer-menu a:hover {
    color: #fff;
}

/* ═══════════════════════════════════════════════
   15. BACK TO TOP (accent bg, 44x44)
   ═══════════════════════════════════════════════ */
.stb-back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
    z-index: 999;
    border-radius: 0;
    cursor: pointer;
}
.stb-back-to-top.stb-visible {
    opacity: 1;
    visibility: visible;
}
.stb-back-to-top:hover {
    background: var(--accent-hover);
}

/* ═══════════════════════════════════════════════
   16. RESPONSIVE — Tablet (max-width: 1024px)
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    /* Hide desktop menu, show hamburger */
    .stb-menu {
        display: none;
    }
    .stb-nav-center {
        display: none;
    }
    .stb-nav {
        display: none;
    }
    .stb-hamburger {
        display: flex;
    }
    .stb-cta-btn {
        display: none;
    }

    /* Hero: single column */
    .stb-hero-layout {
        grid-template-columns: 1fr;
    }
    .stb-hero-sidebar {
        border-left: none;
        padding-left: 0;
        margin-top: 24px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .stb-hero-sidebar-post {
        border-bottom: none;
    }

    /* Featured list: single column */
    .stb-featured-list-layout {
        grid-template-columns: 1fr;
    }

    /* Three columns: single column */
    .stb-three-cols {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════
   17. RESPONSIVE — Mobile (max-width: 768px)
   ═══════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* Smaller logo */
    .stb-logo-text {
        font-size: 26px;
        line-height: 40px;
    }

    /* Shorter navbar */
    .stb-navbar-inner {
        min-height: 56px;
    }

    /* Topbar smaller */
    .stb-topbar {
        font-size: 11px;
        line-height: 44px;
    }

    /* Hide ticker label on mobile */
    .stb-ticker-label {
        display: none;
    }

    /* Hero: 1 column */
    .stb-hero-grid {
        grid-template-columns: 1fr;
    }
    .stb-hero-card-title {
        font-size: 18px;
        line-height: 24px;
    }
    .stb-hero-card-overlay {
        padding: 16px 14px;
    }

    /* Tabs: stack vertically */
    .stb-tabs-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .stb-tabs-nav {
        flex-wrap: wrap;
    }
    .stb-tabs-nav a {
        padding: 8px 10px;
        font-size: 12px;
    }

    /* Article list: stack vertically */
    .stb-list-card {
        flex-direction: column;
    }
    .stb-list-card-thumb {
        width: 100%;
    }
    .stb-list-card-thumb img {
        aspect-ratio: 16 / 9;
    }
    .stb-list-card-placeholder {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    /* Footer bottom: center */
    .stb-footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    .stb-footer-menu {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Search overlay */
    .stb-search-form-overlay {
        width: 85%;
    }
    .stb-search-input-overlay {
        font-size: 20px;
    }
    .stb-search-close {
        top: 16px;
        right: 16px;
        font-size: 32px;
    }

    /* Footer logo smaller */
    .stb-footer-logo-text {
        font-size: 30px;
    }

    /* Inspiracje */
    .stb-section--inspiracje {
        padding: 40px 0;
    }

    /* World card: smaller thumbs on tablet */
    .stb-world-card-inner {
        gap: 12px;
    }
    .stb-world-card-thumb {
        width: 120px;
        height: 80px;
    }
}

/* ═══════════════════════════════════════════════
   18. RESPONSIVE — Small mobile (max-width: 480px)
   ═══════════════════════════════════════════════ */
@media (max-width: 480px) {
    /* Hero sidebar: single column */
    .stb-hero-sidebar {
        grid-template-columns: 1fr;
    }

    /* Tighter hero overlay */
    .stb-hero-card-overlay {
        padding: 12px;
    }
    .stb-hero-card-title {
        font-size: 15px;
        line-height: 20px;
    }

    /* Smaller featured titles */
    .stb-fl-featured-title {
        font-size: 18px;
    }

    /* Topbar: hide date text, keep icons */
    .stb-topbar-date {
        font-size: 10px;
    }

    /* List card title */
    .stb-list-card-title {
        font-size: 17px;
    }

    /* Back to top: slightly smaller position */
    .stb-back-to-top {
        bottom: 16px;
        right: 16px;
    }

    /* Footer social */
    .stb-footer-social {
        gap: 6px;
    }
    .stb-footer-social a {
        width: 40px;
        height: 40px;
    }

    /* Ticker item */
    .stb-ticker-item {
        font-size: 13px;
    }

    /* Mobile menu wider */
    .stb-mobile-menu {
        width: 280px;
        right: -300px;
    }

    /* Columns list items tighter */
    .stb-col-list-item {
        padding: 8px 0;
    }
    .stb-col-list-title {
        font-size: 12px;
    }

    /* Inspiracje subtitle */
    .stb-inspiracje-subtitle {
        font-size: 13px;
    }
}
