:root {
    --sbc-red: #b13b3b;
    --sbc-blue: #0D3A76;
    --sbc-dark: #3a3a3a;
    --sbc-gray-bg: #f2f2f2;
}

body {
    color: #4a4a4a;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}
a {text-decoration: none}

.site-header {
    padding: 8px 0;
}
.navbar-brand {
    display: flex;
    align-items: center;
}
.brand-logo {
    height: 64px;
    width: auto;
}
.brand-line {
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--sbc-dark);
}
.brand-line-1 {
    font-size: 1.3rem;
    font-weight: 600;
}
.brand-line-2 {
    font-size: 1.1rem;
    font-weight: 300;
}

.navbar-nav .nav-link {
    color: #4b4b4b;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.7rem !important;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link:hover {
    color: var(--sbc-blue);
}

.navbar-nav .nav-link.active {
    border-bottom: 2px solid var(--sbc-blue);
}

hr {background: #a5a5a5;color: #a5a5a5;}

.hero {
    background: url("../img/hero-1.jpg") center center / cover no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    border-top: 1px solid #ddeffc
}
.hero-inner {
    display: flex;
    justify-content: center;
    padding: 60px 15px;
}
.hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-top: 1px;
    gap: 6px;
}
.hero-line {
    display: inline-block;
    color: #333;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 20px;
}

.hero-line-1 {
    font-size: 1.4rem;
    transform: translateY(-10px);
}

.hero-line-2 {
    font-size: 2.7rem;
    color: #0b1e33;
    position: relative;
    left: -1px;
    top: -27px;
}

.hero-article {
    background: url("../img/hero-article-1.jpg") center center / cover no-repeat;
    min-height: 200px;
    display: flex;
    align-items: center;
    position: relative;
    border-top: 1px solid #ddeffc
}

/* Intro */
.intro .lead {
    color: #555;
}

/* News */
.news-section {
    border-top: 1px solid #e5e5e5;
}

.news-heading {
    color: var(--sbc-dark);
    font-weight: 700;
    letter-spacing: 1px;
}

.news-date {
    color: var(--sbc-red);
    opacity: 0.7;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.news-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.news-title a {
    color: var(--sbc-dark);
    font-weight: 600;
}

.news-title a:hover {
    color: var(--sbc-blue);
}

.news-excerpt {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* News detail */
.news-detail-back a {
    color: #9a9a9a;
    font-size: 0.9rem;
}

.news-detail-back a:hover {
    color: var(--sbc-blue);
}

.news-detail-title {
    font-weight: 700;
    font-size: 1.8rem;
    margin: 6px 0 25px;
    color: var(--sbc-dark);
}

.news-detail-text {
    color: #4a4a4a;
    line-height: 1.7;
}

.news-detail-text img {
    max-width: 100%;
    height: auto;
}

.news-detail-item {
    border-bottom: 1px solid #e5e5e5;
}

.news-detail-item:last-child {
    border-bottom: none;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.news-detail-item .news-detail-title {
    font-size: 1.4rem;
    margin: 6px 0 15px;
}

/* Partners */
.partners-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px 40px;
}

.partners-logos a {
    display: block;
}

.news-detail-text .partners-logos img {
    height: 110px;
    width: auto;
    max-width: none;
    display: block;
}

/* Recommended */
.recommended-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    padding: 25px 0;
    border-bottom: 1px solid #e5e5e5;
}

.recommended-item:last-child {
    border-bottom: none;
}

.recommended-img {
    flex: 0 0 200px;
}

.recommended-img img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.recommended-body {
    flex: 1;
    min-width: 0;
}

.recommended-title {
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--sbc-dark);
    margin: 0 0 10px;
}

.recommended-anotace p:last-child {
    margin-bottom: 0;
}

.news-detail-text a.recommended-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--sbc-blue);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.news-detail-text a.recommended-link:hover {
    color: var(--sbc-red);
}

.recommended-link svg {
    flex-shrink: 0;
}

@media (max-width: 575px) {
    .recommended-item {
        flex-direction: column;
        gap: 15px;
    }

    .recommended-img {
        flex-basis: auto;
        max-width: 220px;
    }
}

/* Contact */
.contact-section {
    background: var(--sbc-gray-bg);
}

.contact-heading {
    color: #9a9a9a;
    letter-spacing: 1px;
    margin-bottom: 30px;
}

.contact-boxes {
    max-width: 930px;
}

.contact-box {
    color: #fff;
    padding: 25px 30px;
    overflow-wrap: break-word;
}

.contact-box p {
    margin: 0;
}

.contact-box-left {
    background: var(--sbc-red);
}

.contact-box-right {
    background: #a53131;
}

.contact-card {
    border-radius: 16px;
}

.contact-card .form-label {
    font-weight: 600;
    color: var(--sbc-dark);
}

.contact-card .form-control,
.contact-card .form-select {
    border-color: #e0e0e0;
    padding: 0.55rem 0.9rem;
    border-radius: 8px;
}

.contact-card .form-select {
    padding-right: 2.25rem;
}

.contact-card .form-control:focus,
.contact-card .form-select:focus {
    border-color: #4f96ca;
    box-shadow: none;
}

.btn-brand {
    background: var(--sbc-red);
    border-color: var(--sbc-red);
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
}

.btn-brand:hover,
.btn-brand:focus {
    background: #359240;
    border-color: #359240;
    color: #fff;
}

/* Footer */
.site-footer {
    background: var(--sbc-dark);
    color: #cfcfcf;
    padding: 30px 0 25px 0;
}

.footer-tagline {
    color: #fff;
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.footer-links a {
    color: #b8b8b8;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-divider {
    border-color: #565656;
    margin: 25px 0;
}

.footer-bottom .brand-line {
    color: #ddd;
}

.footer-copy {
    font-size: 0.8rem;
    color: #b8b8b8;
    margin-top: 10px;
}

ol li {
    line-height: 2.2rem;
    margin-bottom: 0.4rem;
}
.news-detail-text a {
    color:#359240
}
.navbar-extra {
    padding-left: 1.7rem;
}
.flags {
    position: relative;
    top:-3px;
    left: 0;
    margin-right: 4px;
}

.flatpickr-current-month {
  font-size: 110% !important;
}

@media (min-width: 768px) {
    .footer-copy {
        margin-top: 0;
    }
}

@media (max-width: 998px) {
    .navbar-nav .nav-link.active {
        border-bottom: none;
        border-left: 2px solid var(--sbc-blue);
    }

    .navbar-collapse {
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .hero {
        min-height: 320px;
    }
    .navbar-extra {
        position: absolute;
        right: 10px;
        top: 73px;
        z-index: 1001;
    }
    .hero-line-1 {
        font-size: 1rem;
        padding: 6px 12px;
    }
    .navbar-toggler {
        padding-left:7px;
        padding-right:7px;
        background-color: #fffced;
    }
    .hero-line-2 {
        font-size: 1.5rem;
        padding: 6px 12px;
    }
    .footer-tagline {
        font-size: 1.1rem;
    }
    .contact-box {
        text-align: center;
    }
    ol li {
        line-height: 1.7rem;
        margin-bottom: 0.8rem;
    }  
    .brand-logo {
        height: 50px;
    }  
    .navbar-nav .nav-link {
        color: #4b4b4b;
        font-size: 1.0rem;
        padding: 0.4rem 0.7rem !important;
    }    
}
