:root {
    --brand-purple: #592DBA;
    --brand-purple-light: #6f42c1;
    --epg-border: #dee2e6;
    --current-time-line: #00e6b8;
    --row-height: 60px;
    --channel-col-width: 220px;
    --header-height: 35px;
    --footer-bg: #1c1830;
    --footer-divider: #4c4660;
}

body { 
    background-color: #f8f9fa; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    font-size: 14px; 
    overflow-x: hidden; 
}

/* GLOBÁLIS FEJLÉC SÁV */
.top-nav-bar {
    background-color: var(--brand-purple);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: relative;
    z-index: 2000;
}

.top-nav-links .nav-link {
    color: #fff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    margin-left: 20px;
    text-transform: uppercase;
    padding: 0.5rem 0;
}

.top-nav-links .nav-link:hover {
    text-decoration: underline;
}

/* HEADER SECTION */
.header-section {
    background-color: var(--brand-purple);
    color: white;
    padding-bottom: 15px;
}

.main-title { font-size: 2.5rem; font-weight: 800; }

.featured-card {
    background: #fff; border-radius: 4px; padding: 12px 15px; height: 100%; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); display: flex; flex-direction: column; 
    justify-content: flex-start; transition: transform 0.2s;
}
.featured-card:hover { transform: translateY(-2px); }
.fc-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid #eee; }
.fc-logo { height: 26px; width: auto; max-width: 100px; object-fit: contain; }
.fc-img-wrap { width: 100%; height: 95px; border-radius: 4px; overflow: hidden; margin-bottom: 8px; background: #111; aspect-ratio: 200 / 95; }
.fc-prog-img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.fc-time { font-weight: 700; font-size: 16px; color: #1a252f; }
.fc-title { font-weight: 600; color: #1a252f; font-size: 15px; line-height: 1.3; margin-top: 2px; }

/* BLOG SLIDER */
.blog-slider-container {
    background-color: #1f2030; border-radius: 0; overflow: hidden; position: relative; 
    height: 180px; box-shadow: 0 4px 6px rgba(0,0,0,0.3); color: #fff;
}
.blog-slide { display: none; height: 100%; width: 100%; align-items: center; justify-content: space-between; }
.blog-slide.active { display: flex; }
.blog-content { padding: 20px; flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.blog-title { font-size: 16px; font-weight: 700; margin-bottom: 5px; line-height: 1.2; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-short { font-size: 13px; line-height: 1.4; color: #ccc; margin-bottom: 5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-image-container { width: 250px; height: 140px; position: relative; overflow: hidden; flex-shrink: 0; margin-right: 20px; aspect-ratio: 250 / 140; }
.blog-image { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.blog-nav-box { display: flex; justify-content: flex-start; gap: 15px; margin-top: auto; }
.blog-btn { background: transparent; border: none; color: #fff; font-size: 18px; cursor: pointer; padding: 0; opacity: 0.8; transition: opacity 0.2s; }
.blog-btn:hover { opacity: 1; }

/* FILTER BAR */
.filter-bar { margin: 20px auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.filter-left { display: flex; flex-wrap: wrap; gap: 8px; }
.cat-btn { background-color: #fff; color: #6c757d; border: 1px solid #ced4da; padding: 6px 14px; border-radius: 4px; font-weight: 600; font-size: 13px; text-decoration: none; transition: all 0.2s; }
.cat-btn:hover { background-color: #e9ecef; color: #495057; }
.cat-btn.active { color: var(--brand-purple); border-color: var(--brand-purple); background-color: #fff; box-shadow: 0 0 0 1px var(--brand-purple) inset; }
.filter-right { display: flex; align-items: center; gap: 20px; }
.channel-select { padding: 6px 10px; border-radius: 4px; border: 1px solid #ced4da; font-size: 14px; background-color: #e9ecef; min-width: 200px; }
.date-display { display: flex; align-items: center; font-weight: 600; color: #6c757d; font-size: 14px; cursor: pointer; position: relative; }
.date-display:hover { color: var(--brand-purple); }
.date-icon { color: var(--brand-purple); font-size: 24px; margin-right: 8px; }

/* EPG GRID CORE */
.epg-wrapper { position: relative; background: #fff; border-top: 1px solid #ccc; width: 100%; z-index: 10; }
.epg-scroll-area { overflow-x: auto; overflow-y: visible; }
.epg-grid { min-width: 900px; position: relative; }

.time-header { display: flex; background: #1a252f; color: #fff; height: var(--header-height); line-height: var(--header-height); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.th-placeholder { width: var(--channel-col-width); min-width: var(--channel-col-width); background: #1a252f; border-right: 1px solid #444; position: sticky; left: 0; z-index: 101; display: flex; align-items: center; justify-content: center; }
.th-scale { flex-grow: 1; display: flex; position: relative; }
.th-hour { width: 25%; border-left: 1px solid #666; padding-left: 8px; font-weight: 700; font-size: 14px; position: relative; }
.th-tick-half { position: absolute; left: 50%; bottom: 0; height: 30%; border-left: 1px solid #555; }

.nav-btn { background: #34495e; border: none; color: white; width: 24px; height: 24px; line-height: 24px; margin: 0 5px; border-radius: 3px; cursor: pointer; }
.nav-btn:hover { background: #555; }

.ch-row-wrapper { border-bottom: 1px solid #ddd; }
.ch-row { display: flex; height: var(--row-height); position: relative; }

.row-odd .ch-info, .row-odd .ch-timeline, .row-odd .prog-item { background-color: #f2f2f2 !important; }
.row-even .ch-info, .row-even .ch-timeline, .row-even .prog-item { background-color: #ffffff !important; }

.ch-info { width: var(--channel-col-width); min-width: var(--channel-col-width); display: flex; align-items: center; padding-left: 10px; border-right: 1px solid #ccc; font-weight: bold; color: #444; position: sticky; left: 0; z-index: 90; box-shadow: 2px 0 5px rgba(0,0,0,0.1); }
.ch-timeline { flex-grow: 1; position: relative; overflow: hidden; }

.prog-item { 
    position: absolute; top: 0; bottom: 0; border-left: 1px solid #ccc; padding: 4px 6px; overflow: hidden; 
    font-size: 12px; line-height: 1.2; cursor: pointer; transition: background 0.1s; display: flex; flex-direction: column; justify-content: center;
}
.prog-item:hover { background: #e0e0e0 !important; z-index: 10; }
.prog-title { font-weight: 700; color: #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; margin-bottom: 2px; }
.prog-time { white-space: nowrap; font-size: 12px; color: #444; }

/* LENYÍLÓ RÉSZ */
.detail-row { 
    display: none; 
    background-color: #fff; 
    border-top: 2px solid var(--brand-purple); 
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05); 
    padding: 0; 
    position: sticky; 
    left: 0; 
    width: 100%; 
    z-index: 110; 
    box-sizing: border-box;
    overflow: hidden;
}
.detail-active { display: block; animation: slideDown 0.3s ease-out; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
.close-detail-btn { position: absolute; top: 10px; right: 15px; background: none; border: none; font-size: 1.5rem; cursor: pointer; z-index: 110; color: #333; }

.detail-expanded { 
    padding: 30px; 
    font-family: 'Segoe UI', sans-serif; 
    color: #333; 
    position: relative; 
    width: 100%; 
    box-sizing: border-box;
}

.dt-top-block {
    width: 100%;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    display: flex; 
    align-items: center;
    gap: 15px;
}

.dt-title-large { font-size: 32px; font-weight: 700; color: #1a252f; line-height: 1.1; }
.dt-age-circle { 
    display: inline-flex; align-items: center; justify-content: center; 
    width: 32px; height: 32px; background: #ffe400; border-radius: 50%; 
    font-weight: bold; font-size: 14px; color: #000; flex-shrink: 0;
}

.detail-main-layout { display: flex; gap: 40px; align-items: flex-start; }
.dt-info-col { width: 200px; flex-shrink: 0; }
.dt-time-small { color: #888; font-size: 14px; font-weight: bold; margin-bottom: 15px; display: block; } 
.dt-rating-label { font-size: 13px; color: #555; margin-bottom: 5px; }
.dt-rating-values { font-weight: bold; font-size: 15px; margin-bottom: 8px; display: block; }
.dt-stars { color: var(--brand-purple-light); font-size: 22px; letter-spacing: 2px; }
.dt-stars .fas { color: var(--brand-purple-light); }
.dt-stars .far { color: #e0e0e0; }

.dt-desc-col { flex-grow: 1; }
.dt-desc-text { font-size: 15px; line-height: 1.6; color: #333; }

/* ASZTALI GALÉRIA */
.detail-gallery-container {
    display: flex; align-items: center; gap: 15px; margin-top: 30px; 
    position: relative; width: 100%; box-sizing: border-box;
}
.detail-gallery-track {
    display: flex; gap: 10px; overflow-x: auto; padding-bottom: 10px; 
    scroll-behavior: smooth; flex: 1; min-width: 0;
}
.detail-gallery-track::-webkit-scrollbar { display: none; }
.detail-gallery-track { -ms-overflow-style: none; scrollbar-width: none; }
.detail-gallery-track img { height: 130px; width: auto; border-radius: 4px; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.15); transition: transform 0.2s; flex-shrink: 0; }
.detail-gallery-track img:hover { transform: scale(1.03); }

.gallery-nav-btn { background: #b0b0d6; color: white; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; flex-shrink: 0; transition: background 0.2s; }
.gallery-nav-btn:hover { background: var(--brand-purple); }

/* LIGHTBOX */
.lightbox-modal { display: none; position: fixed; z-index: 5000; padding-top: 0; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.9); justify-content: center; align-items: center; }
.lightbox-content { margin: auto; display: block; width: auto; height: auto; max-width: 90%; max-height: 90%; border-radius: 3px; box-shadow: 0 0 20px rgba(0,0,0,0.5); }
.lb-close { position: absolute; top: 20px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; cursor: pointer; z-index: 5001; }
.lb-prev, .lb-next { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px; margin-top: -50px; color: white; font-weight: bold; font-size: 30px; background-color: rgba(0,0,0,0.3); }
.lb-next { right: 0; }
.lb-prev { left: 0; }

/* ZÖLD IDŐVONAL JELZŐ */
.timeline-marker-area { position: absolute; top: 0; left: var(--channel-col-width); right: 0; bottom: 0; pointer-events: none; z-index: 105; }
.now-marker { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--current-time-line); box-shadow: 0 0 5px var(--current-time-line); z-index: 105; transition: left 0.5s linear; }
.now-label { position: absolute; top: 0; transform: translateX(-50%); background: var(--current-time-line); color: #000; padding: 1px 4px; border-radius: 0 0 4px 4px; font-size: 10px; font-weight: bold; z-index: 106; white-space: nowrap; transition: left 0.5s linear; }

/* FOOTER */
.footer-section { background-color: var(--footer-bg); color: #fff; padding-top: 25px; padding-bottom: 30px; font-size: 14px; position: relative; z-index: 1000; border-top: 1px solid #444; }
.footer-logo-main { height: 30px; width: 140px; object-fit: contain; filter: brightness(0.9); }
.footer-top-menu { font-size: 14px; font-weight: 600; }
.footer-top-menu a.customurl { color: #fff; text-decoration: none; margin: 0 5px; }
.footer-top-menu a.customurl:hover { text-decoration: underline; }
.footer-copyright-text { font-size: 14px; color: #fff; }
.footer-divider-line { border-top: 1px solid var(--footer-divider); margin: 10px 0; }
.footer-col-title-new { display: block; font-weight: 700; font-size: 15px; margin-bottom: 15px; color: #fff; }
.footer-link-list-new { list-style: none; padding: 0; margin: 0; }
.footer-link-list-new li { margin-bottom: 8px; }
.footer-link-list-new li a { color: #fff; text-decoration: underline; font-size: 14px; }
.footer-social-icons-new { display: flex; justify-content: flex-end; gap: 15px; margin-top: 40px; }
.footer-social-icons-new a { color: #fff; background-color: rgba(255,255,255,0.1); width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border-radius: 4px; font-size: 18px; text-decoration: none; }

.footer-disclaimer-bar { background-color: #f8f9fa; color: #666; font-size: 13px; padding: 15px 0; border-top: 1px solid #eee; line-height: 1.5; }

/* KEDVENCEK CSILLAG ÉS NYILAK */
.fav-controls { display: flex; align-items: center; gap: 5px; margin-right: 8px; min-width: 45px; justify-content: center; }
.fav-star { cursor: pointer; font-size: 20px; transition: color 0.2s, transform 0.1s; color: #ccc; position: relative; z-index: 300; padding: 5px; }
.fav-star:hover { transform: scale(1.3); }
.fav-star.fas { color: #ffc107 !important; }
.fav-nav { display: flex; flex-direction: column; gap: 0; z-index: 300; }
.fav-arrow { font-size: 14px; color: #999; cursor: pointer !important; padding: 3px; transition: color 0.2s, transform 0.1s; }
.fav-arrow:hover { color: #333; transform: scale(1.4); }
.is-fav.first-fav .fa-arrow-up { visibility: hidden; }
.is-fav.last-fav .fa-arrow-down { visibility: hidden; }
.epg-row.is-fav { border-left: 3px solid #ffc107; }

/* PUSH BANNER */
#push-banner {
    position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
    background: #fff; color: #333; padding: 15px 25px; border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); z-index: 9999; display: none;
    align-items: center; gap: 15px; border: 2px solid var(--brand-purple);
    width: 90%; max-width: 500px; animation: slideUpBanner 0.5s ease-out;
}
@keyframes slideUpBanner { from { bottom: -100px; opacity: 0; } to { bottom: 20px; opacity: 1; } }
.push-text { font-weight: 600; font-size: 14px; flex-grow: 1; }
.push-btn-ok { background: var(--brand-purple); color: #fff; border: none; padding: 8px 20px; border-radius: 25px; font-weight: 700; cursor: pointer; }
.push-btn-no { background: #eee; color: #666; border: none; padding: 8px 15px; border-radius: 25px; cursor: pointer; }

/* COOKIE CONSENT */
#cookie-consent-banner {
    display: none;
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    right: 20px !important;
    z-index: 999999 !important;
    background: #ffffff !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4) !important;
    padding: 20px !important;
    border: 1px solid #eee !important;
    animation: fadeInCookie 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
@media (min-width: 769px) {
    #cookie-consent-banner {
        left: auto !important;
        right: 30px !important;
        width: 400px !important;
    }
}
@keyframes fadeInCookie { from { opacity: 0; transform: translateY(50px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
.cookie-inner { position: relative; display: flex; gap: 15px; align-items: flex-start; }
.cookie-icon-box { flex-shrink: 0; width: 60px; height: 60px; background: linear-gradient(135deg, #f0f0ff 0%, #e0e0ff 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--brand-purple); }
.cookie-text-box { flex-grow: 1; }
.cookie-title { font-size: 18px; font-weight: 800; color: #1a252f; margin-bottom: 5px; }
.cookie-desc { font-size: 13px; color: #666; line-height: 1.4; margin-bottom: 15px; }
.cookie-buttons { display: flex; align-items: center; gap: 15px; }
.btn-cookie-accept { background-color: var(--brand-purple); color: #fff; border: none; padding: 10px 20px; border-radius: 10px; font-weight: 700; cursor: pointer; text-transform: uppercase; }
.btn-cookie-details { color: #8e9aaf; font-weight: 700; font-size: 13px; text-decoration: none; text-transform: uppercase; }
.cookie-close-x { position: absolute; top: -10px; right: -10px; background: none; border: none; font-size: 24px; color: #ccc; cursor: pointer; }

/* SEO & ARTICLE */
.cimsor { font-size: 14px; font-weight: 700; line-height: 1.43; margin: 0 auto; text-align: center; color: #0f1c27; padding: 15px; background-color: #f7f8f9; }
.description_cikk { background: #fff; padding: 30px; border-radius: 4px; color: #444; line-height: 1.7; font-size: 14px; margin-bottom: 50px; }

/* CSATORNA OLDAL SPECIFIKUS */
.channel-dark-header { background: linear-gradient(to bottom, #4a27a0, #2e1a63); border-bottom: 3px solid #000; }
.ch-logo-white-bg { 
    background: #fff; 
    padding: 8px 12px; 
    border-radius: 6px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3); 
    width: 140px; 
    height: 70px; 
    min-width: 140px; 
    max-width: 140px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    flex-shrink: 0;
}
.ch-logo-white-bg img { 
    max-height: 100%; 
    max-width: 100%; 
    width: auto; 
    height: auto; 
    object-fit: contain; 
    display: block;
}
.v-prog-row { border-bottom: 1px solid #ddd; background-color: #fff; }
.v-prog-row.alt { background-color: #f8f9fa; }
.v-prog-container { display: flex; align-items: center; padding: 12px 20px; cursor: pointer; transition: background 0.2s; }
.v-prog-container:hover { background-color: #d1d8e0; }
.v-time { width: 80px; font-weight: 700; font-size: 16px; color: #333; text-align: center; }
.v-title { flex-grow: 1; font-size: 16px; font-weight: 600; color: #000; }
.sidebar-title { font-weight: 700; color: #888; font-size: 14px; text-transform: uppercase; border-bottom: 2px solid var(--brand-purple); padding-bottom: 5px; }
.sidebar-now-card { background: #fff; padding: 12px; border: 1px solid #eee; transition: transform 0.2s; }
.sidebar-now-card:hover { transform: translateY(-2px); }
.v-tag { display: inline-block; padding: 6px 15px; border: 1px solid #3498db; border-radius: 20px; color: #3498db; text-decoration: none; font-size: 13px; }

/* CSATORNA RÉSZLETEZŐ ÉS VERTIKÁLIS LISTA ILLESZTÉSEK */
@media (max-width: 767.98px) {
    .v-prog-container {
        padding: 12px 15px !important;
        display: flex !important;
        align-items: flex-start !important;
    }

    .v-time {
        text-align: left !important;
        width: 70px !important;
        margin-right: 10px !important;
        font-size: 15px !important;
        flex-shrink: 0 !important;
        padding-top: 2px !important;
    }

    .v-title {
        font-size: 15px !important;
        line-height: 1.4 !important;
        text-align: left !important;
    }

    .channel-dark-header .text-end {
        text-align: left !important;
        margin-top: 20px;
    }
    .channel-dark-header .col-md-6.d-flex,
    .channel-dark-header .col-lg-7.d-flex {
        flex-direction: row;
        align-items: flex-start !important;
    }
    .ch-logo-white-bg {
        width: 100px !important;
        height: 55px !important;
        min-width: 100px !important;
        max-width: 100px !important;
        margin-right: 15px !important;
        padding: 5px !important;
    }
    .ch-logo-white-bg img {
        max-height: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        width: auto !important;
        object-fit: contain !important;
    }
    .display-5 {
        font-size: 1.8rem !important;
    }
    .h3.opacity-75 {
        font-size: 1.2rem !important;
    }
    .channel-dark-header .btn-group {
        width: 100%;
        margin-top: 10px;
    }
    .channel-dark-header .btn-group .btn {
        flex: 1;
    }
    .channel-dark-header .d-inline-block {
        width: 100% !important;
    }
}

.detail-v-inner .dt-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.detail-v-inner .dt-rating-row {
    margin: 8px 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}
.detail-v-inner .dt-age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ffe400;
    border-radius: 50%;
    font-weight: bold;
    font-size: 14px;
    color: #000;
}

/* MŰSORÚJSÁG GRID (FEATURED PROGRAMS) */
.featured-program-card { 
    background-color: #fff; 
    border-radius: 4px; 
    overflow: hidden; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
    transition: transform 0.2s, box-shadow 0.2s; 
}

.featured-program-card:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2) !important; 
}

.featured-program-header { 
    height: 180px; 
    background-color: #343a40; 
    position: relative; 
    border-bottom: 1px solid #1c1830; 
    overflow: hidden;
}

.featured-program-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    z-index: 0;
    display: block;
}

.header-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0) 70%); 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    padding: 12px; 
    z-index: 2;
}

.header-info { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
    width: 100%; 
}

.fp-channel-logo { 
    height: 32px; 
    width: auto; 
    max-width: 80px;
    object-fit: contain; 
    background: #fff; 
    padding: 4px 6px; 
    border-radius: 3px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.4);
}

.fp-time-overlay { 
    font-size: 26px; 
    font-weight: 800; 
    color: #fff; 
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); 
    line-height: 1;
}

.featured-program-body { 
    background-color: #1a252f; 
    padding: 15px; 
    color: #fff; 
    flex-grow: 1; 
}

.fp-title { font-size: 19px; font-weight: 700; margin-bottom: 8px; color: #fff; line-height: 1.2; }
.fp-description { font-size: 13.5px; color: #ccc; line-height: 1.4; overflow: hidden; max-height: 65px; }

/* RESPONSIVE (MOBILE) */
@media (max-width: 768px) {
    .ch-text-name, .time-header, .now-marker, .now-label, .ch-row-wrapper, .filter-bar, .timeline-marker-area { display: none !important; }
    .epg-grid { min-width: 100%; width: 100%; }
    .header-section { padding-bottom: 25px; }
    .mobile-channel-select { display: block; width: 100%; max-width: 300px; background-color: transparent; border: 1px solid rgba(255,255,255,0.4); color: #fff; padding: 6px 10px; border-radius: 4px; margin-top: 15px; }
    
    /* MOBIL AJÁNLÓ KÁRTYÁK FŐOLDALRA (CLS BIZTOS FIX MÉRETEZÉSSEL) */
    .section-title { text-align: center; font-weight: 700; color: #888; text-transform: uppercase; font-size: 13px; margin: 20px 0 10px 0; }
    .rec-card-mobile { display: flex; align-items: center; background: #fff; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); margin-bottom: 10px; padding: 10px 15px; min-height: 65px; }
    .rc-logo-box { width: 50px; height: 35px; display: flex; align-items: center; justify-content: center; margin-right: 12px; border-right: 1px solid #eee; padding-right: 10px; flex-shrink: 0; aspect-ratio: 50 / 35; }
    .rc-logo { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
    .rc-img-box { width: 65px; height: 45px; flex-shrink: 0; margin-right: 12px; border-radius: 3px; overflow: hidden; background: #111; aspect-ratio: 65 / 45; }
    .rc-prog-img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
    .rc-content { flex-grow: 1; min-width: 0; }
    .rc-time { font-weight: 700; font-size: 14px; color: #1a252f; display: block; }
    .rc-title { font-size: 13.5px; font-weight: 600; color: #444; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }

    /* MOBIL CSATORNA SOROK (CLS FIXEK) */
    .mobile-ch-row { background: #fff; border-bottom: 1px solid #DCDCDC; display: flex; padding: 12px 0; width: 100%; min-height: 75px; }
    .mobile-ch-left { width: 80px; display: flex; flex-direction: column; align-items: center; border-right: 1px solid #DCDCDC; flex-shrink: 0; }
    .mobile-ch-logo { width: 45px; height: 45px; object-fit: contain; margin-bottom: 5px; aspect-ratio: 1 / 1; }
    .mobile-ch-content { flex-grow: 1; overflow: hidden; padding: 0 10px; }
    
    .mobile-ch-right { margin-right: 15px; cursor: pointer; color: #666; font-size: 18px; }

    .mobile-prog-container { margin-bottom: 15px; border-bottom: 1px solid #f9f9f9; padding-bottom: 5px; width: 100%; }
    .mp-time { font-size: 12px; color: #888; display: block; }
    .mp-title { font-size: 15px; font-weight: 700; color: var(--brand-purple); margin-right: 8px; }
    
    .mp-age { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 2px solid #ff0; border-radius: 50%; font-size: 10px; font-weight: 700; color: #000; margin-left: 5px; vertical-align: middle; }
    .mp-age.age-6 { background-color: #a0a0cc; border-color: #a0a0cc; }
    .mp-age.age-12 { background-color: #ffcc00; border-color: #ffcc00; }
    .mp-age.age-15 { background-color: #ff9933; border-color: #ff9933; }
    .mp-age.age-16 { background-color: #ab337d; border-color: #ab337d; }
    .mp-age.age-18 { border-color: red; color: red; }

    .mobile-prog-detail { display: none; margin-top: 10px; padding: 10px; background: #fdfdfd; border-left: 3px solid var(--brand-purple); font-size: 13px; width: 100%; }
    
    .mobile-gallery-wrapper { position: relative; width: 100%; display: flex; align-items: center; justify-content: space-between; margin-top: 15px; gap: 5px; }
    .mobile-gallery-container { flex-grow: 1; text-align: center; overflow: hidden; }
    .mobile-gallery-img { max-width: 100%; height: auto; border-radius: 4px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); cursor: pointer; display: block; margin: 0 auto; }
    .mob-gallery-btn { background: rgba(0,0,0,0.05); border: 1px solid #ddd; width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #333; font-size: 14px; flex-shrink: 0; }

    /* BLOG SLIDER MOBIL */
    .blog-slider-container { height: 380px; }
    .blog-slide.active { flex-direction: column-reverse; }
    .blog-image-container { width: 100%; height: 180px; margin-right: 0; aspect-ratio: 16 / 9; }
    .blog-content { padding: 15px; height: auto; }
    .blog-nav-box { margin-top: 10px; justify-content: center; gap: 30px; }
}