/* kutya.php oldal stílusai — 2026.10.10-ig a kutya.php végén volt <style>-ként; a <head>-ben töltődik ($oldalCss), hogy az első kirajzolásnál már érvényes legyen (CLS) */
/* Kutya profil stílusok */
.dog-profile {
    padding: 2rem 0 4rem;
}

.dog-hero {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 2rem;
}

.dog-hero.deceased-hero {
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.dog-image-section {
    position: relative;
}

.dog-main-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.dog-main-image.deceased {
    filter: grayscale(100%);
    opacity: 0.9;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.dog-main-image.deceased:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.dog-country-flag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.memorial-ribbon {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-style: italic;
    font-size: 0.9rem;
}

.dog-info-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dog-name {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dog-name .gender-icon {
    font-size: 1.8rem;
}

.dog-regname {
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.dog-titles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dog-titles.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.title-badge {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.title-badge i {
    font-size: 0.8rem;
}

.memorial-info {
    background: rgba(0,0,0,0.05);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #7f8c8d;
}

.memorial-dates {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.memorial-cause {
    color: #777;
    font-style: italic;
}

/* Szekciók */
.dog-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.dog-section .section-title {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Leírás */
.description-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    text-align: center;
}

/* Info cards */
.info-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

.info-cards-wide {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.info-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 160px;
    flex-shrink: 0;
}

.info-card.wide {
    width: 280px;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.info-card-icon.male {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.info-card-icon.female {
    background: linear-gradient(135deg, #e91e8c 0%, #c2185b 100%);
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.3);
}

.info-card-label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.4rem;
}

.info-card-value {
    font-size: 1.15rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.3;
}

.info-card-value.small {
    font-size: 0.95rem;
}

.info-card-value .unit {
    font-size: 0.85rem;
    color: #888;
    font-weight: 400;
}

.info-card-value a {
    color: var(--secondary-color);
    text-decoration: none;
}

.info-card-value a:hover {
    text-decoration: underline;
}

.info-card-sub {
    font-size: 0.85rem;
    color: var(--secondary-color);
    margin-top: 0.3rem;
    font-weight: 500;
}

/* Egészségügyi grid */
.health-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.health-item {
    text-align: center;
    padding: 1.25rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 10px;
}

.health-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.health-value {
    font-size: 1.1rem;
    color: #2e7d32;
    font-weight: 600;
}

/* Családfa - Pedigree */
.family-tree-section {
    background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
    overflow: hidden;
}

.pedigree {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 1.5rem;
    padding: 2rem;
    min-height: 500px;
    align-items: center;
}

/* SVG vonalak */
.pedigree-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.pedigree-lines .line-main {
    stroke: #8B4513;
    stroke-width: 2;
    fill: none;
}

/* Kutya (bal oldal) */
.pedigree-subject {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Szülők (közép - függőlegesen) */
.pedigree-parents {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    z-index: 2;
    gap: 0.5rem;
    padding-left: 6rem;
}

.pedigree-parent {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Szívek */
.pedigree-heart {
    color: #E91E63;
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
    animation: heartbeat 1.5s ease-in-out infinite;
}

.pedigree-heart.vertical {
    margin: 0.3rem 0;
}

.pedigree-heart.small {
    font-size: 1.2rem;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Nagyszülők (jobb oldal - függőlegesen elválasztva) */
.pedigree-grandparents {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    z-index: 2;
}

.pedigree-gp-pair {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
}

/* A szív a fotók magasságához igazodjon, ne a nevekkel együtt vett blokkhoz */
.pedigree-gp-pair .pedigree-heart.small {
    height: 150px;
    display: flex;
    align-items: center;
}

.pedigree-gp {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Kártyák */
.pedigree-card {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #ccc;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
}

.pedigree-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.pedigree-card.main {
    width: 280px;
    height: 280px;
    border-width: 6px;
}

.pedigree-card.parent {
    width: 150px;
    height: 150px;
}

.pedigree-card.gp {
    width: 150px;
    height: 150px;
}

.pedigree-card.male {
    border-color: #42A5F5;
}

.pedigree-card.female {
    border-color: #EC407A;
}

.pedigree-card.empty {
    border-color: #ccc;
    background: #f5f5f5;
}

.pedigree-card.empty i {
    font-size: 1.5rem;
    color: #aaa;
}

.pedigree-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pedigree-card img.placeholder-img {
    object-fit: contain;
    padding: 5px;
}

/* Kártya wrapper a zászlóhoz */
.pedigree-card-wrapper {
    position: relative;
    display: inline-block;
}

.pedigree-flag {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
    z-index: 3;
}

.pedigree-flag.small {
    font-size: 1.2rem;
}

/* Nevek */
.pedigree-name {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;
    text-align: center;
    max-width: 140px;
    word-wrap: break-word;
    line-height: 1.2;
}

.pedigree-name.main {
    font-size: 0.85rem;
    color: var(--primary-color);
    max-width: 200px;
}

.pedigree-name.small {
    font-size: 0.75rem;
    max-width: 140px;
}

a.pedigree-name:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.pedigree-role {
    font-size: 0.55rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.1rem;
}

/* Kiállítási eredmények - Timeline */
.exhibition-timeline {
    position: relative;
    padding: 1rem 0;
}

.exhibition-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 2px;
}

.timeline-year {
    position: relative;
    text-align: center;
    margin: 2rem 0 1.5rem;
    z-index: 2;
}

.timeline-year:first-child {
    margin-top: 0;
}

.year-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 2.5rem;
    margin-bottom: 1.5rem;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    padding-right: 3rem;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    padding-left: 3rem;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 1rem;
    width: 16px;
    height: 16px;
    background: white;
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.timeline-item.left .timeline-dot {
    right: -8px;
}

.timeline-item.right .timeline-dot {
    left: -8px;
}

.timeline-content {
    background: white;
    padding: 1.25rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #eee;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.timeline-item.left .timeline-header {
    flex-direction: row-reverse;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.timeline-date i {
    color: var(--secondary-color);
}

.timeline-class {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7b2d8e 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.timeline-location {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.timeline-item.left .timeline-location {
    justify-content: flex-end;
}

.timeline-location i {
    color: #e74c3c;
    margin-top: 0.15rem;
}

.timeline-result {
    color: #27ae60;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.timeline-item.left .timeline-result {
    justify-content: flex-end;
}

.timeline-result i {
    color: #f39c12;
    margin-top: 0.15rem;
}

.timeline-judge {
    color: #888;
    font-size: 0.85rem;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timeline-item.left .timeline-judge {
    justify-content: flex-end;
}

.timeline-judge i {
    color: #9b59b6;
}

.judge-flag {
    margin-left: 0.4rem;
    font-size: 1.1em;
}

/* Kiállítási képek a timeline kártyákon */
.timeline-images {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #eee;
}

.timeline-item.left .timeline-images {
    justify-content: flex-end;
}

.timeline-image-thumb {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.timeline-image-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.timeline-image-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-image-more {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.timeline-image-more:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.timeline-image-more i {
    font-size: 1rem;
}

.timeline-image-more span {
    font-size: 0.7rem;
    font-weight: 600;
}

/* Galéria */
/* Utódok */
.offspring-stats {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.offspring-stats .male-count {
    color: #3498db;
}

.offspring-stats .female-count {
    color: #e91e8c;
}

.offspring-litter {
    margin-bottom: 2.5rem;
}

.offspring-litter:last-child {
    margin-bottom: 0;
}

.litter-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #eee;
}

.litter-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.litter-title a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.litter-date {
    font-weight: 400;
    color: #888;
    font-size: 1rem;
}

.offspring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 2rem;
}

.offspring-card {
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.offspring-card:hover {
    transform: scale(1.05);
}

.offspring-card.deceased {
    opacity: 0.85;
}

.offspring-card.deceased .offspring-image img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.offspring-card.deceased:hover .offspring-image img {
    filter: grayscale(0%);
}

.offspring-image {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: 3px solid #fff;
}

.offspring-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offspring-image .no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #ccc;
}

.offspring-image .gender-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: white;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.gender-badge.male {
    background: #3498db;
}

.gender-badge.female {
    background: #e91e8c;
}

.offspring-info {
    padding: 0.75rem 0.5rem 0;
    text-align: center;
}

.offspring-info h4 {
    margin: 0 0 0.2rem 0;
    font-size: 1rem;
    color: #2c3e50;
}

.offspring-info h4 .gender-icon {
    margin-left: 0.3rem;
    font-size: 0.9rem;
}

.offspring-info h4 .gender-icon.male {
    color: #3498db;
}

.offspring-info h4 .gender-icon.female {
    color: #e91e8c;
}

.offspring-info .registry-name {
    margin: 0 0 0.2rem 0;
    font-size: 0.75rem;
    color: #7f8c8d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
}

.offspring-info .birth-date {
    margin: 0;
    font-size: 0.8rem;
    color: #95a5a6;
}

.dog-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
}

.gallery-thumb {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-thumb:hover {
    transform: scale(1.05);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10000;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
    box-sizing: border-box;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
    max-width: 600px;
    line-height: 1.5;
}

.lightbox-caption:empty {
    display: none;
}

/* Lightbox navigáció */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.3s ease;
    z-index: 10001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    color: white;
    margin-top: 1rem;
    font-size: 1rem;
    text-align: center;
}

/* Vissza gomb */
.back-button-section {
    text-align: center;
    margin-top: 2rem;
}

/* Reszponzív */
@media (max-width: 768px) {
    .dog-hero {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .dog-name {
        font-size: 1.8rem;
    }

    .dog-titles.two-columns {
        grid-template-columns: 1fr;
    }

    /* Timeline mobil */
    .exhibition-timeline::before {
        left: 20px;
    }

    .timeline-year {
        text-align: left;
        padding-left: 50px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-dot {
        left: 12px !important;
        right: auto !important;
    }

    .timeline-item.left .timeline-header,
    .timeline-item.left .timeline-location,
    .timeline-item.left .timeline-result,
    .timeline-item.left .timeline-judge {
        flex-direction: row;
        justify-content: flex-start;
    }

    .year-badge {
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }

    /* Családfa mobil */
    .pedigree {
        padding: 1rem 0.5rem;
        min-height: 400px;
        gap: 0.5rem;
    }

    .pedigree-card.main {
        width: 120px;
        height: 120px;
    }

    .pedigree-card.parent {
        width: 90px;
        height: 90px;
    }

    .pedigree-card.gp {
        width: 90px;
        height: 90px;
    }

    .pedigree-name {
        font-size: 0.55rem;
        max-width: 80px;
    }

    .pedigree-name.main {
        font-size: 0.65rem;
        max-width: 100px;
    }

    .pedigree-name.small {
        font-size: 0.55rem;
        max-width: 80px;
    }

    .pedigree-role {
        font-size: 0.5rem;
    }

    .pedigree-gp-pair {
        gap: 0.3rem;
    }

    .pedigree-gp-pair .pedigree-heart.small {
        height: 90px;
    }

    .pedigree-heart {
        font-size: 1.2rem;
    }

    .pedigree-heart.small {
        font-size: 0.9rem;
    }

    .health-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Lightbox mobil navigáció */
    .lightbox-nav {
        font-size: 1.2rem;
        padding: 0.6rem;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 2rem;
    }

    .lightbox-counter {
        font-size: 0.9rem;
    }

    /* Kiállítási képek mobil */
    .timeline-images {
        justify-content: center !important;
    }

    .timeline-image-thumb,
    .timeline-image-more {
        width: 40px;
        height: 40px;
    }

    .info-card {
        width: 140px;
        padding: 1rem 0.75rem;
    }

    .info-card.wide {
        width: 100%;
        max-width: 320px;
    }

    .info-card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .info-card-value {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .info-card {
        width: 130px;
    }

    .info-cards, .info-cards-wide {
        gap: 0.75rem;
    }
}
