@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 400;
    background-color: #fdfbf3;
}


.text-center {
    color: #6c757d;
    font-weight: bold;
}

.text-yellow{
    color: #f3a712; /* sytá žlutá, téměř „kanárková“ */
}

.bg-yellow {
    background-color: #f7c600; /* sytá žlutá, téměř „kanárková“ */
}

.bg-yellow-light {
    background-color: #f9d843; /* světlejší, ale stále velmi žlutá */
}

.bg-yellow-light3 {
    background-color: #fae36f; /* ještě světlejší žlutá */
}

.bg-yellow-light2 {
    background-color: #fcf0a1; /* pastelovější žlutá */
}

.bg-yellow-light1 {
    background-color: #fef9cc; /* velmi jemná, světlá žlutá */
}

.bg-green-light{
    background-color: #C8E6C9;
}

.bg-blue-light{
    background-color: #BBDEFB;
}

.bg-red{
    background-color: #F44336;
}


.badge-rating{
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0px;
    line-height: 32px;
    color: black;
}
.badge-clickable{
    cursor: zoom-in;
}

.select2-container{
    width: 100% !important;
    z-index: 10000;
}

.select2-container .select2-selection {
    border: 1px solid #e1e5f1;
    border-radius: 0;
}

.h4, h4{
    font-size: 1.15rem;
}

.text-content{
    font-size: 13px;
}

.form-select, .form-control, .form-control:focus{
    color: black;
}
.form-group {
    margin-bottom: 1rem;
}

.underline-yellow {
    display: inline;
    text-decoration: none;
    background-image: linear-gradient(to top, rgba(250, 227, 111, 0.8) 0%, rgba(250, 227, 111, 0) 100%);
    background-repeat: no-repeat;
    background-size: 100% 4px;
    background-position: 0 100%;
}



.text-yellow-flashing {
    animation: blink 1.5s infinite ease-in-out;
}
@keyframes blink {
    0% { color: #6c757d; }
    50% { color: #f3a712; }
    100% { color: #6c757d; }
}
.img-flashing{
    animation: flashing 1.5s infinite ease-in-out;
}
@keyframes flashing {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

@media (max-width: 576px){
    .w-md-50{
        width: 50%;
    }
    .w-md-100{
        width: 100%;
    }
}

@media(max-width: 768px){
    .border-right-md-none{
        border-right: none !important;
    }
}
.cursor-grab{
    cursor: grab;
}
.position-relative {
    position: relative !important;
}
/* Navbar adjustments */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
}

.navbar {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-size: 1rem;
}

/* Card styling */
.card.card-preview img {
    height: 200px;
    object-fit: cover;
}
.card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.card-title {
    color: #f3a712;
    font-weight: bold;
}

/* About section styling */
#about {
    background-color: #f8f9fa;
    padding: 50px 0;
}
#about h2 {
    color: #f3a712;
}

#about p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/*** PUB DETAIL **/
.pub-detail{
    display: block;
}
.pub-detail .pub-header{
    display: flex;
    flex-wrap: wrap; /* Umožní textu obtékat obrázek */
    align-items: flex-start;
    width: 100%;
}

.pub-detail .pub-logo{
    order: 2; /* Obrázek bude na pravé straně */
    margin: 0 0 10px 10px;
    max-width: 300px;
}

.pub-detail .pub-header .text-content {
    flex: 1;
}

.fslightbox {
    display: flex;
    justify-content: center;
    gap: 16px; /* Mezera mezi sloupci */
}

.fslightbox .column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px; /* Mezera mezi obrázky ve sloupci */
    margin-left: 25px;
}

.fslightbox .column img {
    width: 100%; /* Obrázky se přizpůsobí šířce sloupce */
    height: auto; /* Zachová výšku dle poměru stran */
    object-fit: contain; /* Zobrazí obrázek celý, i když má jiné proporce */
    background-color: #f0f0f0; /* Přidá světlé pozadí kolem obrázku, pokud nezaplní celý box */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media(max-width: 576px){
    .pub-detail{
        padding: 0px 15px;
    }
}

/** HEADER **/
.header-row a{
    float: left;
    margin-right: 10px;
}
.header-banner{
    display: flex;
    align-items: center; /* Vertikální zarovnání na střed */
    justify-content: center; /* Horizontální zarovnání na střed (volitelné) */
    height: 100%;
}
.header-banner img{
    width: 100%;
    height: auto;
    max-width: 500px;
}
.header-search{
    max-width: 280px;
}
@media (max-width: 767px){
    .header-banner img{
        max-width: 330px;
    }
    .header-search{
        max-width: 100%;
    }
}

@media (max-width: 576px){
    .header-row a{
        margin-right: 0px;
    }
    .navbar-brand img{
        width: 60% !important;
    }
}


/** ARTICLES **/
.top-articles .top-article{
    height: 300px;
    overflow: hidden;
    position: relative;
}
.top-articles .top-article .topstory__item img{
    object-fit: cover;
}
.top-articles .top-article .topstory__item .article-title{
    position: absolute;
    bottom: 0;
    left: 0;
    min-height: 5.5rem;
    background: -webkit-gradient(linear, left top, left bottom, from(hsla(0, 0%, 100%, 0)), to(#000));
    background: linear-gradient(180deg, hsla(0, 0%, 100%, 0), #000);
    width: 100%;
    padding: 20px 10px;
    margin-bottom: 0px;
    color: white;
}
.top-articles .top-article .topstory__item .article-title h5{
    color: white;
    font-weight: 400;
}

.top-articles .top-article:hover img{
    transition: transform .3s, -webkit-transform .3s;
    transform: scale(1.12);
}

.article-thumb {
    max-width: 150px;
    max-height: 115px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5; /* fallback barva, když obrázek chybí */
}

.article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* vyplní box, zachová poměr stran, ořízne přebytek */
    object-position: center; /* vycentruje obrázek */
    display: block;
}

/** FORM **/
.form-select{
    background-color: transparent !important;
}


/** MAP */
.leaflet-marker-icon.brewery-logo{
    border-radius: 50%;
}


/** TABLES **/
table .th-sort{
    cursor: pointer;
}

table td, table th{
    color: black;
}

/** FOOTER **/
footer{
    background-color: #f3a712;
    padding: 10px 0 20px 0;
    margin-top: 30px;
}
footer p{
    color: white !important;
}