/* ========================================
   DETAIL STANICE - Hlavní stránka detailu chovatelské stanice
   MOBILE FIRST - základní styly pro mobil
   ======================================== */

/* ========================================
   HLAVNÍ KONTEJNER - MOBIL
   ======================================== */

.detail-stanice {
    background-color: #f9f9f9;
    min-height: 100vh;
    padding: 12px 0;
    width: 100%;
}

.detail-stanice__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ========================================
   SIDEBAR MENU - MOBIL (Dropdown)
   ======================================== */

.detail-stanice__sidebar {
    width: 100%;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: #f9f9f9;
    padding: 12px 8px 20px 8px;
}

.sidebar-menu {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 4px;
}

/* Tlačítko dropdown - MOBIL */
.sidebar-menu__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: white;
    border: none;
    border-radius: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-menu__toggle:hover,
.sidebar-menu__toggle:active {
    background-color: #f8f9fa;
}

.sidebar-menu__toggle-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-menu__toggle-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.sidebar-menu__toggle-icon svg {
    width: 100%;
    height: 100%;
    fill: #666;
}

/* Ikona otočená při otevření */
.sidebar-menu__toggle--open .sidebar-menu__toggle-icon {
    transform: rotate(180deg);
}

.sidebar-menu__toggle--open .sidebar-menu__toggle-icon svg {
    fill: #8b5cf6;
}

/* Skrytý title na mobilu */
.sidebar-menu__title {
    display: none;
}

/* Dropdown seznam - MOBIL */
.sidebar-menu__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    background: white;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

/* Zobrazit seznam při otevření */
.sidebar-menu__list--open {
    display: flex;
}

.sidebar-menu__item {
    /* Položka seznamu */
}

.sidebar-menu__link {
    display: block;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-menu__link:last-child {
    border-bottom: none;
}

.sidebar-menu__link:hover,
.sidebar-menu__link:active {
    background-color: #f5f5f5;
    color: #1a1a1a;
}

.sidebar-menu__link--active {
    background-color: #8b5cf6;
    color: white;
    font-weight: 600;
}

.sidebar-menu__link--active:hover {
    background-color: #7c3aed;
}

/* ========================================
   SUBMENU - ROZBALOVACÍ (MOBIL)
   ======================================== */

/* Položka s rozbalovacím submenu */
.sidebar-menu__item--expandable {
    /* Wrapper pro expandable položku */
}

/* Link s šipkou pro rozbalení */
.sidebar-menu__link--expandable {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-menu__arrow {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.sidebar-menu__link--expandable.sidebar-menu__link--expanded .sidebar-menu__arrow {
    transform: rotate(180deg);
}

/* Submenu - první úroveň */
.sidebar-menu__submenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background-color: #f9f9f9;
}

.sidebar-menu__submenu--open {
    display: flex;
}

.sidebar-menu__submenu-item {
    /* Položka submenu */
}

.sidebar-menu__submenu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px 10px 24px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-bottom: 1px solid #e8e8e8;
}

.sidebar-menu__submenu-link:hover,
.sidebar-menu__submenu-link:active {
    background-color: #f0f0f0;
    color: #1a1a1a;
}

.sidebar-menu__submenu-link--active {
    background-color: #8b5cf6;
    color: white;
    font-weight: 600;
}

.sidebar-menu__submenu-link--expandable {
    font-weight: 600;
    color: #444;
}

/* Submenu - druhá úroveň */
.sidebar-menu__submenu-level2 {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    background-color: #f3f3f3;
}

.sidebar-menu__submenu-level2--open {
    display: flex;
}

.sidebar-menu__submenu-level2-item {
    /* Položka druhé úrovně */
}

.sidebar-menu__submenu-level2-link {
    display: flex;
    align-items: center;
    padding: 9px 16px 9px 36px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-menu__submenu-level2-link:hover,
.sidebar-menu__submenu-level2-link:active {
    background-color: #e8e8e8;
    color: #1a1a1a;
}

.sidebar-menu__submenu-level2-link--active {
    background-color: #8b5cf6;
    color: white;
    font-weight: 600;
}

/* Označení pohlaví u psů - barevná odrážka před jménem */
.sidebar-menu__pohlavi {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Pes - modrá odrážka (i u aktivní položky) */
.sidebar-menu__pohlavi--pes {
    background-color: #64b5f6;
}

/* Fena - růžová odrážka (i u aktivní položky) */
.sidebar-menu__pohlavi--fena {
    background-color: #f48fb1;
}

/* Jméno psa/feny - oříznutí s třemi tečkami */
.sidebar-menu__name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* ========================================
   HLAVNÍ OBSAH - MOBIL
   ======================================== */

.detail-stanice__content {
    background: white;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-top: 0;
    scroll-margin-top: 120px;
    position: relative;
    z-index: 1;
}

/* Specificky pro detail psa - kvuli fixed sidebaru */
.page-detail-pes .detail-stanice__content {
    margin-top: 90px;
}

/* ========================================
   SEKCE S INFORMACEMI O STANICI - MOBIL
   ======================================== */

.stanice-info {
    margin-bottom: 0;
    padding-bottom: 0;
}

.stanice-info__layout {
    display: flex;
    flex-direction: column;
}

/* Odstranit wrappery pomocí display: contents, aby order fungoval */
.stanice-info__details {
    display: contents;
}

.stanice-info__meta {
    display: contents;
}

/* Pořadí prvků na mobilu - VÝCHOZÍ PRO VŠECHNY STRÁNKY */
.stanice-info__name {
    order: 1;
    margin-bottom: 6px;
}

.stanice-info__rating {
    order: 2;
    margin-bottom: 12px;
    margin-top: 8px;
}

.stanice-info__location {
    order: 3;
    margin-top: 0;
}

.stanice-info__photo-wrapper {
    order: 4;
    margin-bottom: 12px;
}

.stanice-info__details-table {
    order: 5;
    margin-top: 20px;
    margin-bottom: 12px;
}

.stanice-info__contact-button {
    order: 6;
}

.stanice-info__badges {
    order: 7;
}

/* Specifické pořadí POUZE pro detail psa */
.page-detail-pes .stanice-info__name {
    order: 1;
    margin-bottom: 4px;
}

.page-detail-pes .stanice-info__station {
    order: 2;
    font-size: 16px;
    font-weight: 400;
    color: #666;
    margin: 0 0 6px 0;
}

.page-detail-pes .stanice-info__rating {
    order: 3;
    margin-bottom: 12px;
    margin-top: 0;
}

.page-detail-pes .stanice-info__subtitle {
    order: 4;
    margin-top: 6px;
    margin-bottom: 12px;
}

.page-detail-pes .stanice-info__location {
    order: 5;
}

.page-detail-pes .stanice-info__photo-wrapper {
    order: 6;
}

.page-detail-pes .stanice-info__details-table {
    order: 7;
}

.page-detail-pes .stanice-info__contact-button {
    order: 8;
}

.page-detail-pes .stanice-info__badges {
    order: 9;
}

/* Fotka stanice - MOBIL */
.stanice-info__photo-wrapper {
    width: calc(100% + 24px);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    /* Rozšířit fotku až k okrajům karty na mobilu */
    margin: 0 -12px 12px -12px;
    position: relative;
    left: 0;
}

.stanice-info__photo {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
}

/* Štítky na fotce */
.stanice-info__photo-badges {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.stanice-info__photo-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.stanice-info__photo-badge--new {
    background-color: #ff6b6b;
    color: #ffffff;
}

.stanice-info__photo-badge--updated {
    background-color: #3498db;
    color: #ffffff;
}

.stanice-info__photo-badge--puppies {
    background-color: #10b981;
    color: #ffffff;
}

.stanice-info__photo-badge--expected {
    background-color: #f59e0b;
    color: #ffffff;
}

/* ========================================
   FOTOGALERIE - MOBIL FIRST
   ======================================== */

.photo-gallery {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.photo-gallery__container {
    position: relative;
    width: 100%;
    display: flex;
    transition: transform 0.3s ease-in-out;
}

.photo-gallery__slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    display: none;
}

.photo-gallery__slide--active {
    opacity: 1;
    display: block;
}

.photo-gallery__image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
}

/* Šipky pro přepínání fotek - MOBIL */
.photo-gallery__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.photo-gallery__arrow:hover {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.photo-gallery__arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.photo-gallery__arrow svg {
    width: 20px;
    height: 20px;
    color: #333;
}

.photo-gallery__arrow--prev {
    left: 8px;
}

.photo-gallery__arrow--next {
    right: 8px;
}

/* Odznaky na fotce */
.photo-gallery__badges {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    z-index: 5;
}

/* Puntíky (indikátory) - MOBIL - pod fotkou */
.photo-gallery__dots {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    display: flex;
    gap: 8px;
    z-index: 5;
    justify-content: center;
    padding: 12px 0 0 0;
}

.photo-gallery__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #d0d0d0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.photo-gallery__dot:hover {
    background-color: #667eea;
}

.photo-gallery__dot--active {
    background-color: #667eea;
    width: 24px;
    border-radius: 4px;
}

/* Detaily stanice - MOBIL */
.stanice-info__details {
    /* display: contents je nastaveno výše */
    padding: 0;
}

.stanice-info__name {
    font-size: 21px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Specificky pro detail psa - kvuli fixed sidebaru */
.page-detail-pes .stanice-info__name {
    margin-top: 24px;
}

/* Ikona pohlaví - MOBIL */
.stanice-info__gender {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    transform: translateY(3px);
}

.stanice-info__gender svg {
    width: 22px;
    height: 22px;
}

.stanice-info__gender--male {
    color: #64b5f6;
}

.stanice-info__gender--female {
    color: #f48fb1;
}

/* Ikona ověřeného majitele v tabulce - MOBIL */
.details-table__verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #4a90e2;
    margin-left: 6px;
    vertical-align: middle;
}

.details-table__verified svg {
    width: 16px;
    height: 16px;
}

.stanice-info__subtitle {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
}

/* Meta informace - MOBIL */
.stanice-info__meta {
    /* display: contents je nastaveno výše */
}

.stanice-info__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.stanice-info__rating:hover {
    opacity: 0.7;
}

.stanice-info__rating:active {
    opacity: 0.5;
}

.stanice-info__stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.stanice-info__star {
    width: 16px;
    height: 16px;
    fill: #8b5cf6;
}

.stanice-info__reviews {
    color: #666;
    font-size: 12px;
}

.stanice-info__location {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #333;
    flex-wrap: wrap;
}

.stanice-info__location-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.stanice-info__location-icon svg {
    width: 100%;
    height: 100%;
    fill: #8b5cf6;
}

.stanice-info__location-label {
    font-weight: 600;
    color: #1a1a1a;
    margin-right: 0;
}

.stanice-info__flag {
    width: 18px;
    height: auto;
    border-radius: 2px;
    flex-shrink: 0;
}

.stanice-info__country {
    font-weight: 600;
}

.stanice-info__separator {
    color: #ccc;
}

.stanice-info__city {
    color: #666;
}

/* Tlačítko kontaktovat chovatele - MOBIL (obecné) */
.stanice-info__contact-button {
    display: inline-block;
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    margin-top: 20px;
}

.stanice-info__contact-button:hover,
.stanice-info__contact-button:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Odznaky - MOBIL */
.stanice-info__badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.stanice-info__badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stanice-info__badge--verified {
    background-color: #4a90e2;
    color: white;
}

.stanice-info__badge--fci {
    background-color: #f0f0f0;
    color: #333;
}

/* ========================================
   SEKCE O NÁS - MOBIL
   ======================================== */

.o-nas {
    margin-top: 24px;
    padding: 0 4px;
}

.o-nas__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 16px 0;
}

.o-nas__content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.o-nas__text {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* ========================================
   SEKCE ZDRAVOTNÍ TESTY - MOBIL
   ======================================== */

/* Info text pod nadpisem - Základní styl */
.zdravotni-testy .zdravotni-testy__info {
    font-size: 12px;
    color: #666;
    margin: -33px 0 12px 0;
    font-style: italic;
    line-height: 1.4;
}

.zdravotni-testy__info em {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 600;
    font-style: italic;
    color: #8b5cf6;
}

.zdravotni-testy__subtitle {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 24px 0 8px 0;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Tooltip - kolečko s otazníkem */
.zdravotni-testy__tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: help;
    vertical-align: middle;
}

.zdravotni-testy__tooltip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #8b5cf6;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    transition: all 0.2s ease;
}

.zdravotni-testy__tooltip:hover .zdravotni-testy__tooltip-icon {
    color: #7c3aed;
    transform: scale(1.15);
}

/* Nápověda - skrytá */
.zdravotni-testy__tooltip-text {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 8px;
    padding: 8px 12px;
    background-color: #1a1a1a;
    color: white;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.4;
    border-radius: 6px;
    white-space: normal;
    width: 200px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    pointer-events: none;
}

/* Šipka tooltipa */
.zdravotni-testy__tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1a1a1a;
}

/* Zobrazení při hoveru nebo kliku (mobil) */
.zdravotni-testy__tooltip:hover .zdravotni-testy__tooltip-text,
.zdravotni-testy__tooltip:active .zdravotni-testy__tooltip-text {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   RESPONZIVITA - MOBIL (do 767px)
   ======================================== */

@media (max-width: 767px) {
    /* Posun textu "Nerozumíte zkratce?" - mobilní verze */
    .zdravotni-testy .zdravotni-testy__info {
        margin: -15px 0 12px 0 !important;
        background: transparent !important;
    }
}

/* ========================================
   RESPONZIVITA - TABLET (768px+)
   ======================================== */

@media (min-width: 768px) {
    .detail-stanice {
        padding: 60px 0;
    }

    .detail-stanice__container {
        padding: 0 40px;
        gap: 20px;
    }

    /* Sidebar na tabletu - zvětšit top offset aby nezalézal za header */
    .detail-stanice__sidebar {
        top: 72px;
        padding: 12px 0;
    }

    /* Na tabletu ponechat dropdown funkční - NEZAVÍRAT */
    /* .sidebar-menu__toggle zůstává viditelný */

    /* Title zůstává skrytý na tabletu */
    .sidebar-menu__title {
        display: none;
    }

    /* Menu zůstává jako dropdown na tabletu - od kraje ke kraji */
    /* .sidebar-menu__list bude řízen JavaScriptem */

    .sidebar-menu__link {
        padding: 12px 40px;
        font-size: 14px;
        border-radius: 0;
    }

    .sidebar-menu__toggle {
        padding: 14px 40px;
    }

    /* Submenu na tabletu */
    .sidebar-menu__submenu-link {
        padding: 10px 40px 10px 52px;
        font-size: 13px;
    }

    .sidebar-menu__submenu-level2-link {
        padding: 9px 40px 9px 64px;
        font-size: 12px;
    }

    .detail-stanice__content {
        padding: 24px;
        margin-top: 68px;
    }

    .stanice-info {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    /* Tablet styly pro obě tlačítka */
    .stanice-info__contact-button {
        width: auto;
        padding: 12px 32px;
        font-size: 15px;
    }

    .o-nas .stanice-info__contact-button {
        width: auto;
        padding: 12px 32px;
        font-size: 15px;
    }

    .stanice-info__layout {
        gap: 24px;
    }

    /* Fotka na tabletu vrátit do normálu */
    .stanice-info__photo-wrapper {
        width: 100%;
        margin: 0;
        border-radius: 8px;
        left: 0;
    }

    .stanice-info__photo {
        border-radius: 8px;
    }

    /* Fotogalerie - TABLET */
    .photo-gallery {
        border-radius: 8px;
        width: 100%;
        margin: 0 auto;
    }

    .photo-gallery__container {
        width: 100%;
        margin: 0 auto;
    }

    .photo-gallery__image {
        border-radius: 8px;
        aspect-ratio: 16 / 9;
        margin: 0 auto;
    }

    .photo-gallery__arrow {
        width: 42px;
        height: 42px;
    }

    .photo-gallery__arrow svg {
        width: 24px;
        height: 24px;
    }

    .photo-gallery__arrow--prev {
        left: 12px;
    }

    .photo-gallery__arrow--next {
        right: 12px;
    }

    /* Puntíky na fotce od tabletu */
    .photo-gallery__dots {
        position: absolute;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        gap: 10px;
        padding: 0;
    }

    .photo-gallery__dot {
        width: 10px;
        height: 10px;
        background-color: rgba(255, 255, 255, 0.8);
        border: none;
    }

    .photo-gallery__dot:hover {
        background-color: #667eea;
    }

    .photo-gallery__dot--active {
        width: 28px;
        border-radius: 5px;
        background-color: #667eea;
    }

    .stanice-info__details {
        padding: 0;
    }

    .stanice-info__name {
        font-size: 26px;
        gap: 10px;
    }

    .stanice-info__gender {
        width: 26px;
        height: 26px;
    }

    .stanice-info__gender svg {
        width: 26px;
        height: 26px;
    }

    .details-table__verified {
        width: 18px;
        height: 18px;
    }

    .details-table__verified svg {
        width: 18px;
        height: 18px;
    }

    .stanice-info__subtitle {
        font-size: 15px;
        margin-top: 6px;
    }

    .stanice-info__meta {
        margin-top: 12px;
    }

    .stanice-info__location {
        font-size: 14px;
    }

    .stanice-info__location-icon {
        width: 18px;
        height: 18px;
    }

    .stanice-info__flag {
        width: 20px;
    }

    .stanice-info__badge {
        padding: 6px 12px;
        font-size: 11px;
    }

    .o-nas {
        margin-top: 32px;
        padding: 0;
    }

    .o-nas__title {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .o-nas__text {
        font-size: 15px;
    }

    /* Zdravotní testy - TABLET */
    .zdravotni-testy__subtitle {
        font-size: 17px;
        margin-top: 28px;
    }

    .zdravotni-testy .zdravotni-testy__info {
        font-size: 13px;
        margin: -23px 0 14px 0 !important;
    }

    .zdravotni-testy__tooltip-icon {
        font-size: 14px;
    }

    .zdravotni-testy__tooltip-text {
        width: 240px;
        font-size: 13px;
        padding: 10px 14px;
    }
}

/* ========================================
   RESPONZIVITA - DESKTOP (1024px+)
   ======================================== */

@media (min-width: 1024px) {
    .detail-stanice {
        padding: 60px 0;
    }

    .detail-stanice__container {
        max-width: 1400px;
        padding: 0 40px;
        display: grid;
        grid-template-columns: 300px 1fr;
        gap: 40px;
    }

    /* Sidebar - DESKTOP: Vertikální menu */
    .detail-stanice__sidebar {
        position: static;
        padding: 0;
        margin: 0;
        background-color: transparent;
    }

    /* Skrýt dropdown tlačítko na desktopu */
    .sidebar-menu__toggle {
        display: none;
    }

    .sidebar-menu {
        padding: 20px;
    }

    /* Zobrazit title na desktopu */
    .sidebar-menu__title {
        display: block;
        font-size: 18px;
        font-weight: 700;
        color: #1a1a1a;
        margin: 0 0 16px 0;
        padding-bottom: 14px;
        border-bottom: 2px solid #f0f0f0;
    }

    /* Seznam vždy viditelný na desktopu */
    .sidebar-menu__list {
        display: flex !important;
        flex-direction: column;
        margin-top: 0;
        box-shadow: none;
        gap: 4px;
    }

    .sidebar-menu__item {
        flex-shrink: 1;
    }

    .sidebar-menu__link {
        padding: 12px 16px;
        font-size: 16px;
        border-radius: 6px;
    }

    /* Submenu - první úroveň - desktop */
    .sidebar-menu__submenu-link {
        padding: 10px 12px 10px 20px;
        font-size: 14px;
    }

    /* Submenu - druhá úroveň - desktop */
    .sidebar-menu__submenu-level2-link {
        padding: 9px 12px 9px 28px;
        font-size: 14px;
    }

    /* Obsah - DESKTOP */
    .detail-stanice__content {
        padding: 36px;
        margin-top: 0;
    }

    /* Reset margin-top pro detail psa na desktopu */
    .page-detail-pes .detail-stanice__content {
        margin-top: 0;
    }

    .stanice-info {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    /* Desktop styly pro tlačítko v sekci stanice-info */
    .stanice-info__contact-button {
        width: 340px;
        padding: 14px 32px;
        font-size: 18px;
        margin: 24px auto 0 auto;
    }

    /* Desktop - skrýt tlačítko v sekci O nás */
    .o-nas .stanice-info__contact-button {
        display: none;
    }

    .stanice-info__layout {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    /* Detaily a meta rozdělit pomocí display: contents */
    .stanice-info__details,
    .stanice-info__meta {
        display: contents;
    }

    /* 1. Nadpis */
    .stanice-info__name {
        font-size: 33px;
        order: 1;
        margin-top: 0;
        margin-bottom: 6px;
        gap: 12px;
    }

    .stanice-info__gender {
        width: 32px;
        height: 32px;
    }

    .stanice-info__gender svg {
        width: 32px;
        height: 32px;
    }

    .details-table__verified {
        width: 20px;
        height: 20px;
    }

    .details-table__verified svg {
        width: 20px;
        height: 20px;
    }

    /* Reset margin-top pro nadpis na desktopu */
    .page-detail-pes .stanice-info__name {
        margin-top: 0;
    }

    /* 2. Název stanice */
    .stanice-info__station {
        font-size: 20px;
        font-weight: 400;
        color: #666;
        margin: 0 0 8px 0;
        order: 2;
    }

    /* 3. Hvězdičky */
    .stanice-info__rating {
        margin-top: 0;
        margin-bottom: 16px;
        order: 3;
    }

    /* 4. Podtitul */
    .stanice-info__subtitle {
        font-size: 17px;
        margin-top: 2px;
        order: 4;
    }

    /* 5. Lokalita */
    .stanice-info__location {
        order: 5;
    }

    /* 6. Tabulka s detaily */
    .stanice-info__details-table {
        order: 6;
    }

    /* 7. Fotka přes celou šířku */
    .stanice-info__photo-wrapper {
        order: 7;
        width: 100%;
        max-width: none;
    }

    .stanice-info__photo {
        aspect-ratio: 16 / 9;
    }

    /* Fotogalerie - DESKTOP */
    .photo-gallery__image {
        aspect-ratio: 16 / 9;
    }

    .photo-gallery__arrow {
        width: 48px;
        height: 48px;
    }

    .photo-gallery__arrow svg {
        width: 26px;
        height: 26px;
    }

    .photo-gallery__arrow--prev {
        left: 16px;
    }

    .photo-gallery__arrow--next {
        right: 16px;
    }

    /* Puntíky na fotce - desktop */
    .photo-gallery__dots {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        gap: 12px;
        padding: 0;
    }

    .photo-gallery__dot {
        width: 12px;
        height: 12px;
    }

    .photo-gallery__dot--active {
        width: 32px;
        height: 12px;
    }

    /* 8. Tlačítko kontaktovat chovatele */
    .stanice-info__contact-button {
        order: 8;
    }

    /* 9. Odznaky */
    .stanice-info__badges {
        order: 9;
    }

    .stanice-info__location {
        font-size: 16px;
    }

    .stanice-info__location-icon {
        width: 20px;
        height: 20px;
    }

    .stanice-info__flag {
        width: 22px;
    }

    .stanice-info__badge {
        padding: 7px 14px;
        font-size: 13px;
        letter-spacing: 0.4px;
    }

    .o-nas {
        margin-top: 40px;
    }

    .o-nas__title {
        font-size: 27px;
        margin-bottom: 22px;
    }

    .o-nas__content {
        gap: 14px;
    }

    .o-nas__text {
        font-size: 17px;
        line-height: 1.8;
    }

    /* Zdravotní testy - DESKTOP */
    .zdravotni-testy__subtitle {
        font-size: 20px;
        margin-top: 32px;
    }

    .zdravotni-testy .zdravotni-testy__info {
        font-size: 14px;
        margin: -26px 0 24px 0 !important;
    }

    .zdravotni-testy__tooltip-icon {
        width: 20px;
        height: 20px;
        font-size: 13px;
    }

    .zdravotni-testy__tooltip-text {
        width: 280px;
        font-size: 14px;
        padding: 12px 16px;
    }
}

/* ========================================
   TABULKA S DETAILY STANICE
   ======================================== */

/* MOBIL - základní styly */
.stanice-info__details-table {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.details-table__row {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 8px 12px;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f9f9f9;
}

.details-table__row:last-child {
    border-bottom: none;
}

/* Různé pořadí pro mobil - logičtější uspořádání */
.details-table__row:nth-child(1) { order: 1; }  /* Plemeno */
.details-table__row:nth-child(2) { order: 4; }  /* Datum narození */
.details-table__row:nth-child(3) { order: 8; }  /* Čip */
.details-table__row:nth-child(4) { order: 9; }  /* Číslo zápisu */
.details-table__row:nth-child(5) { order: 10; } /* Chovatel */
.details-table__row:nth-child(6) { order: 11; } /* Majitel */
.details-table__row:nth-child(7) { order: 2; }  /* Pohlaví */
.details-table__row:nth-child(8) { order: 5; }  /* Výška/váha */
.details-table__row:nth-child(9) { order: 7; }  /* Chrup/skus */
.details-table__row:nth-child(10) { order: 3; } /* Barva */
.details-table__row:nth-child(11) { order: 6; } /* Srst */

/* Střídání barev podle vizuálního pořadí (order) v mobilu */
/* Liché vizuální pozice (1, 3, 5, 7, 9, 11) = šedá */
.details-table__row:nth-child(1) { background-color: #f9f9f9; }   /* order: 1 - Plemeno */
.details-table__row:nth-child(7) { background-color: #ffffff; }   /* order: 2 - Pohlaví */
.details-table__row:nth-child(10) { background-color: #f9f9f9; }  /* order: 3 - Barva */
.details-table__row:nth-child(2) { background-color: #ffffff; }   /* order: 4 - Datum narození */
.details-table__row:nth-child(8) { background-color: #f9f9f9; }   /* order: 5 - Výška/váha */
.details-table__row:nth-child(11) { background-color: #ffffff; }  /* order: 6 - Srst */
.details-table__row:nth-child(9) { background-color: #f9f9f9; }   /* order: 7 - Chrup/skus */
.details-table__row:nth-child(3) { background-color: #ffffff; }   /* order: 8 - Čip */
.details-table__row:nth-child(4) { background-color: #f9f9f9; }   /* order: 9 - Číslo zápisu */
.details-table__row:nth-child(5) { background-color: #ffffff; }   /* order: 10 - Chovatel */
.details-table__row:nth-child(6) { background-color: #f9f9f9; }   /* order: 11 - Majitel */

/* Border mezi Srst (order: 6) a Chrup/skus (order: 7) - v mobilu mezi logickými sekcemi */
.details-table__row:nth-child(11) { border-bottom: 1px solid #e0e0e0; }  /* Srst má border */

.details-table__icon {
    display: none;
}

.details-table__content {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 12px;
    align-items: center;
}

.details-table__label {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0;
    width: 110px;
    flex-shrink: 0;
}

.details-table__value {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    font-weight: 400;
    flex: 1;
}

/* Pro ostatní tabulky zůstávají skryté */
.details-table__date,
.details-table__vet,
.details-table__file {
    display: none;
}

/* ========================================
   ZDRAVOTNÍ TESTY - MOBIL/TABLET SCROLLOVATELNÁ TABULKA
   ======================================== */

/* Wrapper pro horizontální scroll - MOBIL */
.zdravotni-testy .stanice-info__details-table {
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e0e0e0;
    margin-top: 12px;
    display: block;
    width: 100%;
    position: relative;
}

/* Gradient indikátor pro scroll vpravo - VYPNUTO (způsobovalo problémy se sticky sloupcem) */
.zdravotni-testy .stanice-info__details-table::after {
    display: none;
}

/* Řádky jako grid pro zarovnané sloupce */
.zdravotni-testy .details-table__row {
    display: grid;
    grid-template-columns: max-content 150px 110px 150px 80px;
    align-items: center;
    border-bottom: 1px solid #e9ecef;
    background: white;
    padding: 0;
    min-width: 100%;
    width: max-content;
}

.zdravotni-testy .details-table__row:hover {
    background: #f9f9f9;
}

.zdravotni-testy .details-table__row:last-child {
    border-bottom: none;
}

/* Content wrapper */
.zdravotni-testy .details-table__content {
    display: contents;
}

/* STICKY PRVNÍ SLOUPEC - Název testu - MOBIL */
/* Šířka se nastaví podle obsahu, všechny labels v tabulce budou stejně široké */
.zdravotni-testy .details-table__label {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    position: sticky;
    left: 0;
    z-index: 10;
    background: white;
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
    padding: 6px 8px;
    white-space: nowrap;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.05);
}

/* Skrýt otazníky u názvů testů v tabulce - MOBIL */
.zdravotni-testy .details-table__label .zdravotni-testy__tooltip {
    display: none;
}

.zdravotni-testy .details-table__row:hover .details-table__label {
    background: #f9f9f9;
}

/* Ostatní sloupce - scrollují */
.zdravotni-testy .details-table__value {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #059669;
    white-space: nowrap;
}

.zdravotni-testy .details-table__date {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 12px;
    color: #666;
    font-weight: 500;
    white-space: nowrap;
}

.zdravotni-testy .details-table__vet {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 12px;
    color: #666;
    font-weight: 400;
    white-space: nowrap;
}

.zdravotni-testy .details-table__file {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    white-space: nowrap;
}

.details-table__file-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #8b5cf6;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.details-table__file-link:hover {
    color: #7c3aed;
}

.details-table__file-icon {
    width: 14px;
    height: 14px;
}

/* TABLET (768px+) - stejné jako mobil */
@media (min-width: 768px) {
    .stanice-info__details-table {
        display: flex;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
        margin-top: 0;
    }

    .details-table__row {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 10px 16px;
    }

    /* Zachovat mobilní pořadí i v tabletu */
    .details-table__row:nth-child(1) { order: 1; }
    .details-table__row:nth-child(2) { order: 4; }
    .details-table__row:nth-child(3) { order: 8; }
    .details-table__row:nth-child(4) { order: 9; }
    .details-table__row:nth-child(5) { order: 10; }
    .details-table__row:nth-child(6) { order: 11; }
    .details-table__row:nth-child(7) { order: 2; }
    .details-table__row:nth-child(8) { order: 5; }
    .details-table__row:nth-child(9) { order: 7; }
    .details-table__row:nth-child(10) { order: 3; }
    .details-table__row:nth-child(11) { order: 6; }

    /* Zachovat mobilní barvy i v tabletu */
    .details-table__row:nth-child(1) { background-color: #f9f9f9; }
    .details-table__row:nth-child(7) { background-color: #ffffff; }
    .details-table__row:nth-child(10) { background-color: #f9f9f9; }
    .details-table__row:nth-child(2) { background-color: #ffffff; }
    .details-table__row:nth-child(8) { background-color: #f9f9f9; }
    .details-table__row:nth-child(11) { background-color: #ffffff; }
    .details-table__row:nth-child(9) { background-color: #f9f9f9; }
    .details-table__row:nth-child(3) { background-color: #ffffff; }
    .details-table__row:nth-child(4) { background-color: #f9f9f9; }
    .details-table__row:nth-child(5) { background-color: #ffffff; }
    .details-table__row:nth-child(6) { background-color: #f9f9f9; }

    .details-table__row:last-child {
        border-bottom: none;
    }

    .details-table__icon {
        display: none;
    }

    .details-table__content {
        flex-direction: row;
        align-items: center;
        gap: 0;
        flex: 1;
    }

    .details-table__label {
        font-size: 14px;
        width: 180px;
        flex-shrink: 0;
        margin-bottom: 0;
        padding-right: 20px;
        color: #1a1a1a;
        font-weight: 600;
    }

    .details-table__value {
        font-size: 14px;
        flex: 1;
        line-height: 1.5;
    }
}

/* DESKTOP (1024px+) */
@media (min-width: 1024px) {
    .stanice-info__details-table {
        border-top: none;
        border-bottom: none;
        order: 5;
        /* Dvousloupcový layout */
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(6, auto);
        grid-auto-flow: column;
        column-gap: 40px;
        row-gap: 0;
    }

    /* Reset order pro desktop - použít HTML pořadí */
    .details-table__row:nth-child(1) { order: 0; }
    .details-table__row:nth-child(2) { order: 0; }
    .details-table__row:nth-child(3) { order: 0; }
    .details-table__row:nth-child(4) { order: 0; }
    .details-table__row:nth-child(5) { order: 0; }
    .details-table__row:nth-child(6) { order: 0; }
    .details-table__row:nth-child(7) { order: 0; }
    .details-table__row:nth-child(8) { order: 0; }
    .details-table__row:nth-child(9) { order: 0; }
    .details-table__row:nth-child(10) { order: 0; }
    .details-table__row:nth-child(11) { order: 0; }

    .details-table__row {
        padding: 6px 20px;
    }

    /* Reset barev pro desktop - střídání podle HTML pořadí */
    .details-table__row:nth-child(odd) {
        background-color: #f9f9f9;
    }

    .details-table__row:nth-child(even) {
        background-color: #ffffff;
    }

    /* Odstranit border pod posledním řádkem prvního sloupce (6. řádek = Majitel) */
    .details-table__row:nth-child(6) {
        border-bottom: none;
    }

    /* Zachovat border pod posledním řádkem druhého sloupce (11. řádek = Srst) */
    .details-table__row:nth-child(11) {
        border-bottom: 1px solid #e0e0e0;
    }

    .details-table__label {
        font-size: 15px;
        width: 200px;
        font-weight: 600;
    }

    .details-table__value {
        font-size: 15px;
    }

    .details-table__link {
        color: #8b5cf6;
        text-decoration: none;
        transition: all 0.2s ease;
    }

    .details-table__link:hover {
        color: #7c3aed;
        text-decoration: underline;
    }

    /* Zdravotní testy - DESKTOP rozšířená tabulka */
    .zdravotni-testy .stanice-info__details-table {
        display: flex;
        flex-direction: column;
        border-top: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
        /* Reset mobile/tablet scroll */
        overflow-x: visible;
        border-radius: 0;
    }

    /* Skrýt gradient na desktopu */
    .zdravotni-testy .stanice-info__details-table::after {
        display: none;
    }

    .zdravotni-testy .details-table__row {
        display: grid;
        grid-template-columns: 200px 150px 120px 200px 80px;
        gap: 16px;
        align-items: center;
        padding: 12px 20px;
        border-bottom: 1px solid #e0e0e0;
    }

    .zdravotni-testy .details-table__row:last-child {
        border-bottom: none;
    }

    .zdravotni-testy .details-table__content {
        display: contents;
    }

    .zdravotni-testy .details-table__label {
        width: auto;
        font-size: 14px;
        font-weight: 700;
        color: #1a1a1a;
        /* Reset mobile/tablet sticky */
        position: static;
        box-shadow: none;
        background: transparent;
        min-width: auto;
        max-width: none;
        padding: 0;
        /* Reset mobile alignment - na desktopu doleva */
        justify-content: flex-start;
    }

    /* Reset hover efektu na label - desktop nemá pozadí */
    .zdravotni-testy .details-table__row:hover .details-table__label {
        background: transparent;
    }

    .zdravotni-testy .details-table__value {
        font-size: 14px;
        font-weight: 500;
        color: #059669;
        /* Reset mobile/tablet scroll widths */
        min-width: auto;
        padding: 0;
    }

    .zdravotni-testy .details-table__date,
    .zdravotni-testy .details-table__vet,
    .zdravotni-testy .details-table__file {
        display: block;
        font-size: 13px;
        color: #666;
        /* Reset mobile/tablet scroll widths */
        min-width: auto;
        padding: 0;
    }

    .zdravotni-testy .details-table__date {
        font-weight: 500;
    }

    .zdravotni-testy .details-table__vet {
        font-weight: 400;
    }

    .zdravotni-testy .details-table__file-link {
        font-size: 13px;
        gap: 6px;
    }

    .zdravotni-testy .details-table__file-icon {
        width: 16px;
        height: 16px;
    }
}

/* ========================================
   CHOVNÍ PSI - Stránka s přehledem chovných psů a fen
   MOBILE FIRST - základní styly pro mobil
   ======================================== */

/* ========================================
   HLAVNÍ SEKCE CHOVNÍ PSI - MOBIL
   ======================================== */

.chovni-psi {
    margin-top: 8px;
    padding: 0 4px;
}

.chovni-psi__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 24px 0;
}

/* ========================================
   SEKCE PRO KAŽDÉ PLEMENO - MOBIL
   ======================================== */

.chovni-psi__breed {
    margin-bottom: 40px;
}

.chovni-psi__breed:last-child {
    margin-bottom: 0;
}

.chovni-psi__breed-title {
    font-size: 19px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 20px 0;
    padding: 14px 16px;
    background-color: #f0ebf8;
    border-left: 5px solid #8b5cf6;
}

/* ========================================
   SEKCE PSI / FENY - MOBIL
   ======================================== */

.chovni-psi__section {
    margin-bottom: 32px;
}

.chovni-psi__section:last-child {
    margin-bottom: 0;
}

.chovni-psi__section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
}

/* ========================================
   GRID S KARTAMI - MOBIL (horizontální scroll)
   ======================================== */

.chovni-psi__grid {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
    padding-bottom: 8px;
    /* Skrýt scrollbar na Webkit prohlížečích */
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 transparent;
}

.chovni-psi__grid::-webkit-scrollbar {
    height: 6px;
}

.chovni-psi__grid::-webkit-scrollbar-track {
    background: transparent;
}

.chovni-psi__grid::-webkit-scrollbar-thumb {
    background-color: #d0d0d0;
    border-radius: 3px;
}

.chovni-psi__grid::-webkit-scrollbar-thumb:hover {
    background-color: #b0b0b0;
}

/* ========================================
   KARTA PSA/FENY - MOBIL
   ======================================== */

.dog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    /* Širší karty na mobilu pro datum narození + úmrtí */
    width: calc(70% - 6px);
    flex-shrink: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}

.dog-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.dog-card__image-wrapper {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    background-color: #f5f5f5;
    flex-shrink: 0;
}

.dog-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.dog-card:hover .dog-card__image {
    transform: scale(1.05);
}

.dog-card__content {
    padding: 10px 10px 10px 8px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.dog-card__header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.dog-card__gender-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transform: translateY(2px);
}

.dog-card__gender-icon svg {
    width: 18px;
    height: 18px;
}

.dog-card__gender-icon--male {
    color: #64b5f6;
}

.dog-card__gender-icon--female {
    color: #f48fb1;
}

.dog-card__name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
    /* Zkrátit dlouhá jména s třemi tečkami */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.dog-card__info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    flex-grow: 1;
}

/* ========================================
   DATUM NAROZENÍ - MOBIL
   ======================================== */

.dog-card__birth {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    width: fit-content;
}

.dog-card__birth-icon {
    width: 16px;
    height: 16px;
    fill: #999;
    transform: translateY(-2px);
}

/* ========================================
   DATUM ÚMRTÍ - MOBIL
   ======================================== */

.dog-card__death {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    width: fit-content;
}

.dog-card__death-icon {
    font-size: 16px;
    color: #999;
    line-height: 1;
    font-weight: 700;
    transform: translateY(-2px);
}

/* ========================================
   TLAČÍTKO NA KARTĚ - MOBIL
   ======================================== */

.dog-card__button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dog-card__button:hover,
.dog-card__button:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* ========================================
   ZESNULÝ PES - MOBIL
   ======================================== */

.dog-card--deceased .dog-card__image {
    filter: grayscale(100%) sepia(20%) brightness(0.92) contrast(1.1);
    position: relative;
}

/* Jemný tmavý overlay pro důstojný vzhled */
.dog-card--deceased .dog-card__image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    pointer-events: none;
}

/* Štítky na zesnulých kartách - zachovat plné barvy a bílé písmo */
.dog-card--deceased .dog-card__badge {
    opacity: 1 !important;
    filter: none !important;
    color: #ffffff !important;
}

.dog-card--deceased .dog-card__button {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
    color: white;
}

.dog-card--deceased .dog-card__button:hover,
.dog-card--deceased .dog-card__button:active {
    background: linear-gradient(135deg, #525e73 0%, #3b4557 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* ========================================
   RESPONZIVITA - TABLET (768px+)
   ======================================== */

@media (min-width: 768px) {
    .chovni-psi {
        margin-top: 12px;
        padding: 0;
    }

    .chovni-psi__title {
        font-size: 22px;
        margin-bottom: 28px;
    }

    .chovni-psi__breed {
        margin-bottom: 48px;
    }

    .chovni-psi__breed-title {
        font-size: 23px;
        margin-bottom: 24px;
        padding: 16px 20px;
    }

    .chovni-psi__section {
        margin-bottom: 36px;
    }

    .chovni-psi__section-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    /* Grid na tabletu: horizontální scroll s většími kartami */
    .chovni-psi__grid {
        gap: 16px;
    }

    .dog-card {
        min-width: 320px;
    }

    .dog-card__image-wrapper {
        height: 220px;
    }

    .dog-card__content {
        padding: 20px;
    }

    .dog-card__gender-icon,
    .dog-card__gender-icon svg {
        width: 20px;
        height: 20px;
    }

    .dog-card__name {
        font-size: 17px;
    }

    .dog-card__info {
        gap: 10px;
        margin-bottom: 18px;
    }

    .dog-card__birth {
        font-size: 14px;
    }

    .dog-card__birth-icon {
        width: 17px;
        height: 17px;
    }

    .dog-card__button {
        padding: 13px 22px;
        font-size: 15px;
    }
}

/* ========================================
   RESPONZIVITA - DESKTOP (1024px+)
   ======================================== */

@media (min-width: 1024px) {
    .chovni-psi {
        margin-top: 16px;
    }

    .chovni-psi__title {
        font-size: 27px;
        margin-bottom: 32px;
    }

    .chovni-psi__breed {
        margin-bottom: 56px;
    }

    .chovni-psi__breed-title {
        font-size: 27px;
        margin-bottom: 28px;
        padding: 18px 24px;
    }

    .chovni-psi__section {
        margin-bottom: 40px;
    }

    .chovni-psi__section-title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    /* Grid na desktopu: 3 karty vedle sebe (bez horizontálního scrollu) */
    .chovni-psi__grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
        overflow: visible;
        scroll-snap-type: none;
        padding-bottom: 0;
        align-items: start;
    }

    .dog-card {
        min-width: auto;
        max-width: none;
        width: 100%;
        flex-shrink: 1;
        scroll-snap-align: none;
        height: auto;
    }

    .dog-card__image-wrapper {
        height: 260px;
    }

    .dog-card__content {
        padding: 24px;
    }

    .dog-card__gender-icon,
    .dog-card__gender-icon svg {
        width: 22px;
        height: 22px;
    }

    .dog-card__name {
        font-size: 18px;
    }

    .dog-card__info {
        gap: 12px;
        margin-bottom: 20px;
    }

    .dog-card__birth {
        font-size: 14px;
    }

    .dog-card__birth-icon {
        width: 18px;
        height: 18px;
    }

    .dog-card__death-icon {
        font-size: 20px;
        transform: translateY(-1px);
    }

    .dog-card__button {
        padding: 14px 24px;
        font-size: 15px;
    }
}

/* ========================================
   RESPONZIVITA - VELKÉ DISPLEJE (1400px+)
   ======================================== */

@media (min-width: 1400px) {
    /* Grid na velkých displejích: stále 3 karty, ale s větším gap */
    .chovni-psi__grid {
        gap: 28px;
    }
}

/* ========================================
   ŠTÍTKY NA KARTÁCH PSŮ - MOBIL
   ======================================== */

.dog-card__badges {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex-wrap: wrap;
    max-width: calc(100% - 16px);
    z-index: 10;
}

.dog-card__badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    color: #ffffff !important;
    white-space: nowrap;
    opacity: 1 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    filter: none !important;
}

/* ========================================
   CHOVNÝ STATUS
   ======================================== */

.dog-card__badge--chovny {
    background-color: #00C853;  /* jasná živá zelená */
    color: #ffffff;
}

.dog-card__badge--chovna {
    background-color: #00C853;  /* jasná živá zelená */
    color: #ffffff;
}

.dog-card__badge--nadeje {
    background-color: #FF9800;  /* jasná oranžová */
    color: #ffffff;
}

.dog-card__badge--mazlicek {
    background-color: #9E9E9E;  /* neutrální šedá */
    color: #ffffff;
}

/* ========================================
   DOSTUPNOST PRO KRYTÍ (PSI)
   ======================================== */

.dog-card__badge--verejne-dostupny {
    background-color: #2196F3;  /* jasná modrá */
    color: #ffffff;
}

.dog-card__badge--kryje-omezeně {
    background-color: #9C27B0;  /* jasná fialová */
    color: #ffffff;
}

.dog-card__badge--docasne-nedostupny {
    background-color: #757575;  /* tmavší šedá */
    color: #ffffff;
}

/* ========================================
   BIOLOGICKÝ STATUS (FENY)
   ======================================== */

.dog-card__badge--v-planu {
    background-color: #00BCD4;  /* jasná tyrkysová */
    color: #ffffff;
}

.dog-card__badge--nakryta {
    background-color: #FF5722;  /* jasná červeno-oranžová */
    color: #ffffff;
}

.dog-card__badge--ma-stenata {
    background-color: #E91E63;  /* jasná růžová */
    color: #ffffff;
}

.dog-card__badge--v-odpocinku {
    background-color: #009688;  /* jasná teal */
    color: #ffffff;
}

/* ========================================
   KARIÉRA
   ======================================== */

.dog-card__badge--v-penzi {
    background-color: #FF6F00;  /* jasná tmavší oranžová */
    color: #ffffff;
}

.dog-card__badge--na-prodej {
    background-color: #F44336;  /* jasná červená */
    color: #ffffff;
}

.dog-card__badge--spoluvlastnictvi {
    background-color: #00ACC1;  /* jasná cyan */
    color: #ffffff;
}

/* ========================================
   MEMORIAL
   ======================================== */

.dog-card__badge--in-memoriam {
    background-color: #9E9E9E !important;
    color: #fff !important;
    text-shadow: none !important;
}

.dog-card__badge.dog-card__badge--in-memoriam {
    color: #fff !important;
}

.dog-card__badge--zakladatel {
    background-color: #FFC107 !important;
    color: #fff !important;
    font-weight: 700;
    text-shadow: none !important;
}

.dog-card__badge.dog-card__badge--zakladatel {
    color: #fff !important;
}

/* ========================================
   RESPONZIVITA ŠTÍTKŮ - TABLET (768px+)
   ======================================== */

@media (min-width: 768px) {
    .dog-card__badges {
        bottom: 12px;
        left: 12px;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        max-width: calc(100% - 24px);
    }

    /* Zachovat stejné velikosti jako na mobilu a homepage */
    .dog-card__badge {
        font-size: 11px;
        padding: 4px 10px;
    }
}

/* ========================================
   RESPONZIVITA ŠTÍTKŮ - DESKTOP (1024px+)
   ======================================== */

@media (min-width: 1024px) {
    .dog-card__badges {
        bottom: 16px;
        left: 16px;
        gap: 6px;
        max-width: calc(100% - 32px);
    }

    /* Zachovat stejné velikosti jako na mobilu a homepage */
    .dog-card__badge {
        font-size: 11px;
        padding: 4px 10px;
    }
}

/* ========================================
   ZDRAVOTNÍ TERMÍNY S VYSVĚTLENÍM
   - Fialově s malým "i" v horním rohu
   - Tooltip se zobrazí při najetí myší
   ======================================== */

/* Termín, který má vysvětlení - fialově */
.health-term {
    position: relative;
    display: inline;
    font-weight: inherit;
    color: #667eea;
    cursor: help;
    text-decoration: none;
    transition: color 0.2s ease;
}

.health-term:hover {
    color: #5568d3;
}

/* Tučně pouze v labelu (prvním sloupci) */
.details-table__label .health-term {
    font-weight: 700;
}

/* V nadpisech také tučně */
.zdravotni-testy__subtitle .health-term {
    font-weight: 700;
}

/* Tučně také ve výstavách */
.vystavy__titles .health-term {
    font-weight: 700;
}

/* Malé "i" v horním indexu (kurzívou v Times New Roman, tučně) */
.health-term::after {
    content: 'i';
    font-family: 'Times New Roman', Times, serif;
    font-size: 0.7em;
    font-weight: 600;
    font-style: italic;
    vertical-align: super;
    margin-left: 2px;
    color: #667eea;
}

.health-term:hover::after {
    color: #5568d3;
}

/* Tooltip - bublina s vysvětlením */
.health-term__tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 14px;
    background-color: #1a1a1a;
    color: white;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    border-radius: 6px;
    white-space: normal;
    width: 240px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
    pointer-events: none;
}

/* Šipka tooltipa */
.health-term__tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1a1a1a;
}

/* Zobrazení při hoveru */
.health-term:hover .health-term__tooltip {
    opacity: 1;
    visibility: visible;
}

/* MOBIL A TABLET - VYPNOUT tooltips v tabulce (způsobují problémy s touchem) */
/* Detekce touch zařízení pomocí media query */
@media (max-width: 1023px) and (hover: none) {
    /* Vypnout všechny NEaktivní tooltips v tabulce zdravotních testů POUZE na touch zařízeních */
    .zdravotni-testy .health-term:not(.health-term--active) .health-term__tooltip {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
    }

    /* Vypnout hover efekty v tabulce na touch zařízeních */
    .zdravotni-testy .health-term:hover::before {
        display: none;
    }
}

/* MOBIL A TABLET - Tooltips ovládané JavaScriptem (hover nefunguje na touch) */
@media (max-width: 1023px) {
    /* Zajistit, že health-term je klikatelný */
    .zdravotni-testy .health-term {
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: rgba(139, 92, 246, 0.1);
    }

    /* Vypnout hover tooltips v tabulce (kromě aktivních) */
    .zdravotni-testy .health-term:not(.health-term--active) .health-term__tooltip {
        display: none;
        opacity: 0;
        visibility: hidden;
    }

    /* Vypnout hover overlay efekty */
    .zdravotni-testy .health-term:hover::before {
        display: none;
    }

    /* AKTIVNÍ tooltip - zobrazí se JavaScriptem při kliknutí */
    .zdravotni-testy .health-term--active .health-term__tooltip {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        position: fixed !important;
        top: var(--tooltip-top, 50%) !important;
        left: 50% !important;
        transform: translate(-50%, -100%) translateY(-12px) !important;
        bottom: auto !important;
        right: auto !important;
        width: 85% !important;
        max-width: 350px !important;
        height: auto !important;
        min-height: auto !important;
        padding: 14px 16px !important;
        background-color: #1a1a1a !important;
        color: white !important;
        font-size: 13px !important;
        line-height: 1.6 !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        border-radius: 8px !important;
        z-index: 99999 !important;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4) !important;
        pointer-events: auto !important;
    }

    /* Skrýt šipku u fixed tooltipů */
    .zdravotni-testy .health-term--active .health-term__tooltip::after {
        display: none !important;
    }

    /* Obecné tooltips MIMO tabulku na mobilu */
    .health-term__tooltip {
        left: 0;
        transform: none;
        width: 200px;
        font-size: 11px;
        padding: 8px 12px;
    }

    .health-term__tooltip::after {
        left: 20px;
    }
}

/* TABLET (768px-1023px) - větší aktivní tooltips */
@media (min-width: 768px) and (max-width: 1023px) {
    .zdravotni-testy .health-term--active .health-term__tooltip {
        width: 70% !important;
        max-width: 450px !important;
        font-size: 14px !important;
        padding: 16px 18px !important;
    }

    .health-term__tooltip {
        width: 280px;
        font-size: 13px;
        padding: 11px 15px;
    }
}

/* Overlay odstraněn - není potřeba */

/* DESKTOP (1024px+) - Tooltips normálně */
@media (min-width: 1024px) {
    .health-term__tooltip {
        width: 320px;
        font-size: 14px;
        padding: 12px 16px;
    }
}

/* ========================================
   VÝSTAVY A TITULY - MOBILE FIRST
   ======================================== */

/* Sekce výstavy */
.vystavy {
    margin-bottom: 40px;
}

/* Štítky nejvyšších titulů */
.vystavy__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.vystavy__badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vystavy__badge--gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #5a3e00;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.vystavy__badge--silver {
    background: linear-gradient(135deg, #C0C0C0 0%, #999999 100%);
    color: #333;
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.3);
}

.vystavy__badge--bronze {
    background: linear-gradient(135deg, #CD7F32 0%, #A0522D 100%);
    color: #fff;
    box-shadow: 0 2px 8px rgba(205, 127, 50, 0.3);
}

/* Container pro slider/grid */
.vystavy__container {
    position: relative;
    margin-top: 20px;
}

/* Scroll hint - nápověda pro mobil */
.vystavy__scroll-hint {
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    color: #666;
    background: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 16px;
    font-weight: 500;
}

/* Slider - horizontální scroll na mobilu */
.vystavy__slider {
    position: relative;
    padding-bottom: 16px;
    padding-top: 60px;
    margin-top: -60px;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    /* Skrýt scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.vystavy__slider::-webkit-scrollbar {
    display: none;
}

/* Karta výstavy */
.vystavy__card {
    flex: 0 0 85%;
    background: #fff;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

/* Aktivní karta - už není potřeba pro scroll verzi */
.vystavy__card--active {
    /* Ponechá se pro zpětnou kompatibilitu, ale nemá efekt */
}

.vystavy__card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Obrázek karty */
.vystavy__card-image {
    width: 100%;
    height: 180px;
    overflow: visible;
    background: #f0f0f0;
    position: relative;
    border-radius: 12px 12px 0 0;
}

.vystavy__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px 12px 0 0;
}

/* Štítky s tituly na fotce */
.vystavy__image-badges {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    flex-wrap: wrap-reverse;
    flex-direction: row;
    align-content: flex-end;
    gap: 4px;
    z-index: 2;
}

.vystavy__image-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    background-color: rgba(255, 255, 255, 0.95);
    color: #667eea;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: help;
    transition: all 0.2s ease;
}

.vystavy__image-badge:hover {
    background-color: #667eea;
    color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
    transition: all 0.2s ease;
    z-index: 10001;
}

.vystavy__image-badge:hover::after {
    color: #ffffff;
}

/* Ikonka "i" za textem */
.vystavy__image-badge::after {
    content: 'i';
    font-family: 'Times New Roman', Times, serif;
    font-size: 0.85em;
    font-weight: 600;
    font-style: italic;
    color: #667eea;
}

/* Tooltip pro štítek na fotce - výchozí (mobile first - blízko štítku) */
.vystavy__image-badge-tooltip {
    position: absolute;
    bottom: calc(100% + 6px);
    max-width: 300px;
    min-width: 200px;
    padding: 8px 12px;
    background-color: #1a1a1a;
    color: white;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
    border-radius: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
    z-index: 10000;
    text-transform: none;
    letter-spacing: normal;
    white-space: normal;
}

/* Šipka tooltip - výchozí */
.vystavy__image-badge-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    border: 5px solid transparent;
    border-top-color: #1a1a1a;
}

/* Zobrazení při hoveru */
.vystavy__image-badge:hover .vystavy__image-badge-tooltip {
    opacity: 1;
    visibility: visible;
}

/* VARIANTA: Štítek VLEVO - bublina se vylije DOPRAVA */
.vystavy__image-badge--left .vystavy__image-badge-tooltip {
    left: 0;
    right: auto;
    transform: translateX(0);
}

.vystavy__image-badge--left .vystavy__image-badge-tooltip::after {
    left: 10px;
    right: auto;
}

/* VARIANTA: Štítek UPROSTŘED - bublina se vylije NA OBĚ STRANY */
.vystavy__image-badge--center .vystavy__image-badge-tooltip {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

.vystavy__image-badge--center .vystavy__image-badge-tooltip::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
}

/* VARIANTA: Štítek VPRAVO - bublina se vylije DOLEVA */
.vystavy__image-badge--right .vystavy__image-badge-tooltip {
    left: auto;
    right: 0;
    transform: translateX(0);
}

.vystavy__image-badge--right .vystavy__image-badge-tooltip::after {
    left: auto;
    right: 12px;
}

/* Obsah karty */
.vystavy__card-content {
    padding: 16px;
}

/* Tituly s tooltip */
.vystavy__titles {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 12px;
    min-height: 40px;
}

/* Název výstavy */
.vystavy__card-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
}

/* Typ výstavy */
.vystavy__card-type {
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 8px 0;
}

/* Datum */
.vystavy__card-date {
    font-size: 13px;
    color: #666;
    margin: 0 0 12px 0;
}

/* Detaily (třída, rozhodčí) */
.vystavy__card-details {
    border-top: 1px solid #e9ecef;
    padding-top: 12px;
}

.vystavy__card-class,
.vystavy__card-judge,
.vystavy__card-posudek {
    font-size: 12px;
    color: #555;
    margin: 4px 0;
    line-height: 1.4;
}

/* Mini fotogalerie z výstavy - MOBIL */
.vystavy__photos {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
}

.vystavy__photos-list {
    display: flex;
    gap: 6px;
    align-items: center;
}

.vystavy__photo-thumb {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.vystavy__photo-thumb:hover,
.vystavy__photo-thumb:active {
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.vystavy__photo-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 6px;
    background-color: #f5f5f5;
    color: #667eea;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.vystavy__photo-more:hover,
.vystavy__photo-more:active {
    background-color: #667eea;
    color: #ffffff;
    transform: scale(1.05);
}

/* Řádek s posudkovým listem - MOBIL */
.vystavy__card-posudek {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vystavy__posudek-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #667eea;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 0;
}

.vystavy__posudek-icon:hover,
.vystavy__posudek-icon:active {
    background-color: #667eea;
    border-color: #667eea;
    color: #ffffff;
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.3);
}

.vystavy__posudek-icon svg {
    width: 16px;
    height: 16px;
}

/* Šipky pro navigaci - pouze na mobilu */
.vystavy__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vystavy__arrow:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.vystavy__arrow--prev {
    left: -12px;
}

.vystavy__arrow--next {
    right: -12px;
}

.vystavy__arrow svg {
    width: 20px;
    height: 20px;
    color: #333;
}

/* Indikátory (tečky) - pouze na mobilu */
.vystavy__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.vystavy__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d0d0;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.vystavy__dot--active {
    background: #667eea;
    width: 24px;
    border-radius: 4px;
}

.vystavy__dot:hover {
    background: #667eea;
}

/* ========================================
   TABLET (768px+)
   ======================================== */

@media (min-width: 768px) {
    .vystavy__badges {
        gap: 12px;
        margin-bottom: 24px;
    }

    .vystavy__badge {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* Větší mezera pro tooltip na tabletu/PC (kvůli více řádkům štítků) */
    .vystavy__image-badge-tooltip {
        bottom: calc(100% + 40px);
    }

    /* Na tabletu stále slider, ale větší karty */
    .vystavy__card {
        flex: 0 0 320px;
    }

    .vystavy__card-image {
        height: 180px;
    }

    .vystavy__card-content {
        padding: 20px;
    }

    .vystavy__titles {
        font-size: 14px;
    }

    .vystavy__card-title {
        font-size: 18px;
    }

    .vystavy__card-type {
        font-size: 13px;
    }

    .vystavy__card-date {
        font-size: 14px;
    }

    .vystavy__card-class,
    .vystavy__card-judge,
    .vystavy__card-posudek {
        font-size: 13px;
    }

    /* Mini fotogalerie - TABLET */
    .vystavy__photo-thumb {
        width: 60px;
        height: 60px;
        border-radius: 8px;
    }

    .vystavy__photo-more {
        width: 60px;
        height: 60px;
        border-radius: 8px;
        font-size: 14px;
    }

    /* Ikona posudku - TABLET */
    .vystavy__posudek-icon {
        width: 32px;
        height: 32px;
    }

    .vystavy__posudek-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ========================================
   DESKTOP (1024px+)
   ======================================== */

@media (min-width: 1024px) {
    /* Skrýt scroll hint, šipky a tečky na desktopu */
    .vystavy__scroll-hint,
    .vystavy__arrow,
    .vystavy__dots {
        display: none;
    }

    /* Grid layout místo slideru */
    .vystavy__slider {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
        overflow: visible;
        padding-bottom: 0;
        padding-top: 60px;
        margin-top: -60px;
    }

    .vystavy__card {
        flex: none;
    }

    .vystavy__card-image {
        height: 180px;
    }

    .vystavy__card-content {
        padding: 12px;
    }

    .vystavy__badge {
        padding: 12px 24px;
        font-size: 14px;
    }

    .vystavy__image-badges {
        bottom: 10px;
        left: 10px;
        right: 10px;
        gap: 6px;
    }

    .vystavy__image-badge {
        padding: 5px 10px;
        font-size: 12px;
    }

    .vystavy__image-badge-tooltip {
        font-size: 12px;
        padding: 10px 14px;
        bottom: calc(100% + 8px);
        max-width: 400px;
        min-width: 250px;
    }

    /* Mini fotogalerie - DESKTOP */
    .vystavy__photos {
        margin-top: 18px;
        padding-top: 14px;
    }

    .vystavy__photo-thumb {
        width: 70px;
        height: 70px;
    }

    .vystavy__photo-more {
        width: 70px;
        height: 70px;
        font-size: 15px;
    }

    /* Ikona posudku - DESKTOP */
    .vystavy__posudek-icon {
        width: 36px;
        height: 36px;
    }

    .vystavy__posudek-icon svg {
        width: 20px;
        height: 20px;
    }
}

/* ========================================
   LARGE DESKTOP (1400px+)
   ======================================== */

@media (min-width: 1400px) {
    .vystavy__slider {
        gap: 16px;
    }

    .vystavy__card-image {
        height: 180px;
    }
}

/* ========================================
   LIGHTBOX PRO FOTKY Z VÝSTAV - MOBILE FIRST
   ======================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox--open {
    display: flex;
}

.lightbox__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox__content {
    position: relative;
    z-index: 10001;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 80px;
}

.lightbox__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10002;
}

.lightbox__close:hover,
.lightbox__close:active {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.lightbox__close svg {
    width: 24px;
    height: 24px;
}

.lightbox__gallery {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__image {
    max-width: 100%;
    max-height: calc(100vh - 140px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10002;
}

.lightbox__arrow:hover,
.lightbox__arrow:active {
    background-color: rgba(255, 255, 255, 0.25);
}

.lightbox__arrow--prev {
    left: 12px;
}

.lightbox__arrow--next {
    right: 12px;
}

.lightbox__arrow svg {
    width: 24px;
    height: 24px;
}

.lightbox__counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
}

/* TABLET - větší lightbox prvky */
@media (min-width: 768px) {
    .lightbox__content {
        padding: 80px 40px 100px;
    }

    .lightbox__close {
        top: 24px;
        right: 24px;
        width: 50px;
        height: 50px;
    }

    .lightbox__close svg {
        width: 28px;
        height: 28px;
    }

    .lightbox__image {
        max-height: calc(100vh - 180px);
    }

    .lightbox__arrow {
        width: 50px;
        height: 50px;
    }

    .lightbox__arrow--prev {
        left: 20px;
    }

    .lightbox__arrow--next {
        right: 20px;
    }

    .lightbox__arrow svg {
        width: 28px;
        height: 28px;
    }

    .lightbox__counter {
        bottom: 30px;
        font-size: 16px;
        padding: 10px 20px;
    }
}

/* DESKTOP - ještě větší lightbox */
@media (min-width: 1024px) {
    .lightbox__content {
        padding: 100px 60px 120px;
    }

    .lightbox__close {
        top: 32px;
        right: 32px;
        width: 56px;
        height: 56px;
    }

    .lightbox__close svg {
        width: 32px;
        height: 32px;
    }

    .lightbox__image {
        max-height: calc(100vh - 220px);
        border-radius: 12px;
    }

    .lightbox__arrow {
        width: 56px;
        height: 56px;
    }

    .lightbox__arrow--prev {
        left: 40px;
    }

    .lightbox__arrow--next {
        right: 40px;
    }

    .lightbox__arrow svg {
        width: 32px;
        height: 32px;
    }

    .lightbox__counter {
        bottom: 40px;
        font-size: 18px;
        padding: 12px 24px;
    }
}

/* ========================================
   MODAL PRO POSUDKOVÝ LIST - MOBILE FIRST
   ======================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal--open {
    display: flex;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal__content {
    position: relative;
    z-index: 10001;
    width: 100%;
    max-width: 900px;
    max-height: calc(100vh - 40px);
    background-color: white;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    flex-shrink: 0;
}

.modal__title {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.modal__close {
    width: 36px;
    height: 36px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 50%;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.modal__close:hover,
.modal__close:active {
    background-color: #e0e0e0;
    color: #333;
}

.modal__close svg {
    width: 20px;
    height: 20px;
}

.modal__body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal__pdf {
    width: 100%;
    height: 100%;
    border: none;
    flex: 1;
}

/* TABLET - větší modal */
@media (min-width: 768px) {
    .modal {
        padding: 40px;
    }

    .modal__content {
        max-height: calc(100vh - 80px);
    }

    .modal__header {
        padding: 20px 24px;
    }

    .modal__title {
        font-size: 20px;
    }

    .modal__close {
        width: 40px;
        height: 40px;
    }

    .modal__close svg {
        width: 22px;
        height: 22px;
    }
}

/* DESKTOP - ještě větší modal */
@media (min-width: 1024px) {
    .modal {
        padding: 60px;
    }

    .modal__content {
        max-height: calc(100vh - 120px);
    }

    .modal__header {
        padding: 24px 32px;
    }

    .modal__title {
        font-size: 22px;
    }

    .modal__close {
        width: 44px;
        height: 44px;
    }

    .modal__close svg {
        width: 24px;
        height: 24px;
    }
}
