/* ===============================
   ZÁKLADNÉ NASTAVENIA
   =============================== */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
}


/* ===============================
   HEADER + MENU
   =============================== */

.header {
    background: #ffffff;
    color: #244b94;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    border-bottom: 2px solid #244b94;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.logo-img {
    height: 60px;
    width: auto;
}

.site-title {
    font-size: 20px;
    font-weight: 700;
    color: #244b94;
    margin-left: 20px;
    margin-right: 20px;
    white-space: nowrap;
}

.menu a {
    color: #244b94;
    margin-left: 26px;
    text-decoration: none;
    font-weight: bold;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: 0.25s ease;
}

.menu a:hover,
.menu a.active {
    color: #d90f23;
    border-bottom: 2px solid #d90f23;
}



/* ===============================
   VIDEO BANNER
   =============================== */

.video-banner {
    width: 100%;
    height: 45vh;
    max-height: 420px;
    overflow: hidden;
}

.banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0 18%;
}



/* ===============================
   HLAVNÝ OBSAH
   =============================== */

.layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 40px 30px;
}

.main-content {
    flex: 1;
    max-width: 800px;
}

.content-box {
    background: #ffffff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}



/* ===============================
   RSS PANEL
   =============================== */

.rss-sidebar {
    max-width: 380px;
}

.rss-box {
    background: #ffffff;
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    border-top: 4px solid #d90f23;
    transition: 0.25s ease;
}

.rss-box h3 {
    font-size: 22px;
    font-weight: 800;
    color: #d90f23;
    margin-bottom: 10px;
}

.rss-source {
    font-size: 12px;
    color: #666;
    margin-bottom: 14px;
}

.rss-error {
    display: none;
    padding: 10px;
    margin-top: 10px;
    background: #ffe5e5;
    color: #b30000;
    border: 1px solid #ff9999;
    border-radius: 6px;
    font-size: 13px;
}



/* ===============================
   PARTNERI – BOX GRID
   =============================== */

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 40px;
    width: 100%;
}

.partner-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.25s ease;
    height: 150px;
}

.partner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.16);
}

.partner-card img {
    max-height: 100px;
    width: auto;
    filter: grayscale(100%);
    transition: 0.3s ease;
}

.partner-card:hover img {
    filter: grayscale(0%);
}



/* ===============================
   FOOTER
   =============================== */

.footer {
    background: #244b94;
    color: white;
    padding: 40px 30px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-title {
    font-size: 20px;
    font-weight: 800;
    color: #d90f23;
    margin-bottom: 10px;
}

.footer-text {
    font-size: 14px;
    line-height: 1.1;
    margin-bottom: 4px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.footer-list li {
    margin: 0;
    padding: 0;
}

.footer-list a {
    color: #ffffff;
    font-size: 14px;
    text-decoration: none;
}

.footer-list a:hover {
    color: #d90f23;
}

.footer-social a {
    font-size: 26px;
    margin-right: 12px;
    color: white;
    transition: 0.25s ease;
}

.footer-social a:hover {
    color: #d90f23;
}

.icon-red {
    color: #d90f23;
    margin-right: 6px;
}

.footer-input {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: none;
    margin-top: 5px;
    margin-bottom: 10px;
}

.footer-btn {
    width: 100%;
    padding: 10px;
    background: #d90f23;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.footer-btn:hover {
    background: #a80c1b;
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.9;
}



/* ===============================
   RESPONSIVITA
   =============================== */

@media (max-width: 900px) {
    .layout {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .header {
        flex-direction: column;
        text-align: center;
    }

    .menu a {
        margin: 10px;
        display: inline-block;
    }
}

.partners-grid {
 display:grid;
 grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
 gap:20px;
}
.partner-card img {
 width:100%;
 height:auto;
 object-fit:contain;
 background:white;
 padding:10px;
 border-radius:10px;
}
