/* ==========================================================================
   NIKDY SE NELITUJ - Yellow & Black Design System
   ========================================================================== */

:root {
    /* Color Palette - Dark Mode (Primary Yellow & Carbon Black) */
    --bg-main: #0a0a0c;
    --bg-surface: #121216;
    --bg-card: #18181f;
    --bg-card-hover: #22222a;
    --border-color: rgba(255, 204, 0, 0.18);
    --border-highlight: #ffcc00;

    /* Accents */
    --accent-yellow: #ffcc00;
    --accent-yellow-glow: rgba(255, 204, 0, 0.35);
    --accent-gold: #f5b000;
    --stamp-red: #e63946;

    /* Typography Colors */
    --text-primary: #ffffff;
    --text-secondary: #e2e8f0;
    --text-muted: #94a3b8;

    /* Fonts */
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-stamp: 'Special Elite', cursive, monospace;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout */
    --container-max-w: 1140px;
    --header-height: 115px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Alternative (Crisp Light with Yellow & Dark Accents) */
body.light-theme {
    --bg-main: #f8f9fa;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fffef5;
    --border-color: rgba(15, 23, 42, 0.12);
    --border-highlight: #e6b800;
    --accent-yellow: #d9a700;
    --accent-yellow-glow: rgba(217, 167, 0, 0.25);
    --accent-gold: #c49500;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
}

button, input {
    font-family: inherit;
    outline: none;
    border: none;
}

.container {
    width: 100%;
    max-width: var(--container-max-w);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   Header & Fist Logo
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-height);
    background-color: rgba(10, 10, 12, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 2px solid var(--accent-yellow);
    transition: background-color var(--transition-fast);
}

body.light-theme .site-header {
    background-color: rgba(248, 249, 250, 0.92);
    border-bottom-color: var(--accent-yellow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Fist Logo Component */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    transition: transform var(--transition-fast);
}

.brand-logo:hover {
    transform: translateY(-1px);
}

.fist-icon-wrapper {
    width: 90px;
    height: 90px;
    background: transparent;
    color: #111111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(255, 204, 0, 0.45);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border: none;
    overflow: hidden;
    flex-shrink: 0;
}

.fist-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

.brand-logo:hover .fist-icon-wrapper {
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 10px 36px rgba(255, 204, 0, 0.7);
}

.fist-svg {
    width: 54px;
    height: 54px;
}

.fist-icon-wrapper.small {
    width: 64px;
    height: 64px;
}
.fist-icon-wrapper.small .fist-svg {
    width: 42px;
    height: 42px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-weight: 900;
    font-size: 1.65rem;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    line-height: 1.1;
}

.brand-subtitle {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: var(--accent-yellow);
    text-transform: uppercase;
    margin-top: 3px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-yellow);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-year {
    font-family: var(--font-stamp);
    font-size: 0.85rem;
    padding: 0.25rem 0.65rem;
    background-color: var(--accent-yellow);
    color: #111111;
    border-radius: var(--radius-sm);
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 2px 2px 0px #000000;
}

.btn-theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-theme-toggle:hover {
    background-color: var(--bg-card-hover);
    transform: scale(1.08);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    position: relative;
    padding: 3.5rem 0 2.5rem;
    background: radial-gradient(circle at 50% 20%, rgba(255, 204, 0, 0.15) 0%, rgba(10, 10, 12, 0) 70%), var(--bg-main);
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
}

.stamp-badge {
    display: inline-block;
    font-family: var(--font-stamp);
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #111111;
    background-color: var(--accent-yellow);
    padding: 0.35rem 0.95rem;
    border-radius: 2px;
    transform: rotate(-1.5deg);
    box-shadow: 3px 3px 0px rgba(0, 0, 0, 0.6);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-motto-banner {
    display: inline-block;
    margin: 0 auto 2.25rem;
    padding: 0.65rem 1.4rem;
    background-color: rgba(255, 204, 0, 0.12);
    border: 1px solid var(--accent-yellow);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.4;
    max-width: 100%;
    box-shadow: 0 4px 16px rgba(255, 204, 0, 0.12);
}

.hero-motto-banner strong {
    color: var(--accent-yellow);
    font-weight: 900;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.25rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 1.25rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--accent-yellow);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

/* ==========================================================================
   Search & Filter Controls
   ========================================================================== */

.controls-section {
    padding: 1.5rem 0;
    position: sticky;
    top: var(--header-height);
    z-index: 90;
    background-color: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

body.light-theme .controls-section {
    background-color: rgba(248, 249, 250, 0.95);
}

.controls-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-box {
    position: relative;
    flex: 1;
    min-width: 260px;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
    font-size: 0.95rem;
}

.search-box input {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.6rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.92rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.search-box input:focus {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 3px var(--accent-yellow-glow);
}

.filter-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 0.9rem;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 800;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    background-color: var(--bg-card-hover);
    color: var(--text-primary);
}

.filter-btn.active {
    background-color: var(--accent-yellow);
    color: #111111;
    border-color: var(--accent-yellow);
    box-shadow: 0 4px 14px var(--accent-yellow-glow);
}

/* ==========================================================================
   GRID VIEW & CARDS
   ========================================================================== */

.main-content {
    padding: 2.5rem 1.5rem 5rem;
    flex: 1;
}

.feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    transition: all var(--transition-smooth);
}

/* Post Card Component */
.post-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform var(--transition-smooth), border-color var(--transition-fast), box-shadow var(--transition-smooth);
    position: relative;
}

.post-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-yellow);
    box-shadow: 0 16px 36px rgba(255, 204, 0, 0.2);
}

.card-media {
    position: relative;
    width: 100%;
    height: 210px;
    overflow: hidden;
    background-color: #000;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.post-card:hover .card-media img {
    transform: scale(1.06);
}

.post-type-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.35rem 0.75rem;
    background-color: var(--accent-yellow);
    color: #111111 !important;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 5;
}

.play-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background-color: var(--accent-yellow);
    color: #111111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    padding-left: 3px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.post-card:hover .play-badge {
    transform: translate(-50%, -50%) scale(1.15);
    background-color: #ffffff;
}

.card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--accent-yellow);
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.post-card:hover .card-title {
    color: var(--accent-yellow);
}

.card-excerpt {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 0.85rem;
    margin-top: auto;
}

.card-tags {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.tag-item {
    font-size: 0.72rem;
    color: var(--text-muted);
    background-color: var(--bg-surface);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.btn-read-more {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent-yellow);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    background: transparent;
    transition: gap var(--transition-fast);
}

.btn-read-more:hover {
    gap: 0.5rem;
}

/* ==========================================================================
   STANDALONE ARTICLE DETAIL PAGE VIEW
   ========================================================================== */

.article-page-container {
    padding: 2.5rem 1.5rem 5rem;
    max-width: 860px;
    margin: 0 auto;
}

.article-nav-top {
    margin-bottom: 1.75rem;
}

.btn-back-grid {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--accent-yellow);
    color: #111111;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 900;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 14px var(--accent-yellow-glow);
}

.btn-back-grid:hover {
    background-color: #ffffff;
    color: #111111;
    transform: translateX(-4px);
}

.btn-back-grid.secondary {
    background-color: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);

}

.btn-back-grid.secondary:hover {
    color: #111111;
    background-color: var(--accent-yellow);
    border-color: var(--accent-yellow);
    transform: translateY(-2px);
}

.standalone-article {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.article-header {
    padding: 2.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.article-meta-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.article-date {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--accent-yellow);
}

.article-location, .article-author {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.article-main-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-primary);
}

.article-media-container {
    background-color: #000;
}

.video-embed-full {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-embed-full iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-direct-bar {
    padding: 0.85rem 1.5rem;
    background-color: #121215;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.btn-yt-direct {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-yellow);
    font-weight: 800;
    font-size: 0.9rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-card);
    transition: all var(--transition-fast);
}

.btn-yt-direct:hover {
    background-color: var(--accent-yellow);
    color: #111111;
    border-color: var(--accent-yellow);
    transform: translateY(-1px);
}

.photo-embed-full {
    width: 100%;
    max-height: 520px;
    overflow: hidden;
}

.photo-embed-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-body-content {
    padding: 2.5rem;
    font-size: 1.12rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.article-paragraph {
    margin-bottom: 1.25rem;
}
.article-paragraph:last-child {
    margin-bottom: 0;
}

/* Comments Section on Article Page */
.article-comments-section {
    padding: 2rem 2.5rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-surface);
}

.comments-section-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-yellow);
    margin-bottom: 1.25rem;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
}

.comment-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.comment-author {
    color: var(--text-primary);
    font-size: 0.92rem;
    font-weight: 800;
}

.comment-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.comment-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Footer Navigation (Prev / Next) */
.article-footer-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2.5rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-surface);
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-nav-article {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.6rem 1.1rem;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-nav-article:hover {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

/* ==========================================================================
   No Results & Utility States
   ========================================================================== */

.no-results {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 480px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.no-results p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.btn-primary {
    padding: 0.75rem 1.5rem;
    background-color: var(--accent-yellow);
    color: #111111;
    font-weight: 900;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.btn-primary:hover {
    background-color: #ffffff;
    transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background-color: var(--bg-surface);
    border-top: 2px solid var(--accent-yellow);
    padding: 3rem 0 2rem;
    margin-top: auto;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.footer-brand h3 {
    font-size: 1.1rem;
    font-weight: 900;
}

.footer-brand p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-motto-box {
    margin: 0.5rem 0;
    padding: 0;
    background-color: transparent;
    border: none;
    box-shadow: none;
    max-width: 650px;
    width: 100%;
}

.footer-motto-cz {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--accent-yellow);
    margin: 0 0 0.4rem 0;
    line-height: 1.35;
    font-style: normal;
}

.footer-motto-en {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 0 0 0.55rem 0;
    font-style: italic;
}

.footer-motto-author {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-copy {
    font-size: 0.82rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    width: 100%;
}

/* ==========================================================================
   Responsive Breakpoints & Mobile Optimization
   ========================================================================== */

@media (max-width: 900px) {
    .nav-links {
        display: none; /* Hide top desktop links on tablet/mobile; main filter bar right below handles navigation */
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: auto;
    }

    .site-header {
        height: auto;
        padding: 0.65rem 0;
    }

    .header-content {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: space-between;
    }

    .fist-icon-wrapper {
        width: 54px;
        height: 54px;
        box-shadow: 0 4px 16px rgba(255, 204, 0, 0.4);
    }

    .brand-title {
        font-size: 1.25rem;
    }

    .brand-subtitle {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
    }

    .badge-year {
        font-size: 0.75rem;
        padding: 0.2rem 0.5rem;
    }

    .btn-theme-toggle {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .hero-section {
        padding: 2rem 0 1.75rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }

    .hero-motto-banner {
        font-size: 0.92rem;
        padding: 0.55rem 0.9rem;
        margin: 0 auto 1.75rem;
        width: 100%;
        box-sizing: border-box;
    }

    .stamp-badge {
        font-size: 0.78rem;
        padding: 0.35rem 0.7rem;
        letter-spacing: 1px;
        white-space: normal;
        max-width: 100%;
        line-height: 1.35;
        transform: rotate(-1deg);
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-label {
        font-size: 0.68rem;
    }

    .controls-section {
        position: relative;
        top: 0;
        padding: 1rem 0;
    }

    .controls-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .search-box {
        width: 100%;
        min-width: 100%;
    }

    .filter-group {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        padding-bottom: 0.35rem;
        gap: 0.4rem;
        width: 100%;
    }

    .filter-btn {
        flex: 0 0 auto;
        font-size: 0.8rem;
        padding: 0.45rem 0.8rem;
    }

    .main-content {
        padding: 1.5rem 1rem 3rem;
    }

    .feed-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Article Detail Mobile Adjustments */
    .article-page-container {
        padding: 1.25rem 0.75rem 3rem;
    }

    .article-main-title {
        font-size: 1.6rem;
    }

    .article-meta-bar {
        flex-wrap: wrap;
        gap: 0.4rem 0.75rem;
    }

    .article-body-content {
        padding: 1.5rem 1rem;
        font-size: 1rem;
        line-height: 1.7;
    }

    .article-comments-section {
        padding: 1.5rem 1rem;
    }

    .article-footer-nav {
        padding: 1.25rem 1rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .btn-nav-article, .btn-back-grid {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .btn-yt-direct {
        width: 100%;
        justify-content: center;
        font-size: 0.82rem;
        padding: 0.5rem 0.75rem;
    }

    /* Footer Mobile Adjustments */
    .footer-motto-cz {
        font-size: 1.1rem;
    }

    .footer-motto-en {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .fist-icon-wrapper {
        width: 46px;
        height: 46px;
    }

    .brand-title {
        font-size: 1.1rem;
    }

    .brand-subtitle {
        font-size: 0.58rem;
        letter-spacing: 1px;
    }

    .badge-year {
        display: none;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }
}
