/* ==========================================================================
   drtheiszmed.hu - Fő stíluslap (Pixel-perfect)
   ========================================================================== */

:root {
    --primary-color: #0d47a1;
    --primary-blue: #0d47a1;
    --dark-blue: #073a70;
    --navy-blue: #0d47a1;
    --light-blue-bg: #e3f2fd;
    --light-green-bg: #e8f5e9;
    --text-dark: #333333;
    --text-muted: #666666;
    --danger-color: #cf2e2e;
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
    line-height: 1.6;
}

.custom-container {
    max-width: 1280px;
}

.text-dark-blue {
    color: #0d47a1 !important;
}

.text-white-70 {
    color: rgba(255, 255, 255, 0.7) !important;
}

.text-white-90 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.text-info-tint {
    color: #ddeffd !important;
}

.bg-light-blue {
    background-color: #e3f2fd !important;
}

.bg-light-orange {
    background-color: #fff3e0 !important;
}

.bg-light-green {
    background-color: #e8f5e9 !important;
}

.bg-light-purple {
    background-color: #f3e5f5 !important;
}

.bg-light-cyan {
    background-color: #e1f5fe !important;
}

.shrink-0 {
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Fejléc és Navigáció (Asztali & Mobil)
   -------------------------------------------------------------------------- */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.main-header .nav-link {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #595b5d;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.main-header .nav-link:hover,
.main-header .nav-link.active {
    color: var(--primary-blue) !important;
}

.main-header .dropdown-menu {
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 8px;
}

.main-header .dropdown-item {
    font-size: 0.88rem;
    font-weight: 600;
    color: #4b5563;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}

.main-header .dropdown-item:hover,
.main-header .dropdown-item.active {
    background-color: var(--light-blue-bg);
    color: var(--primary-blue);
}

.social-link {
    color: #595b5d;
    font-size: 1.1rem;
    transition: color 0.2s;
    text-decoration: none;
}

.social-link:hover {
    color: var(--primary-blue);
}

/* Mobil Hamburger Gomb keret- és fókuszmentesítése */
.navbar-toggler {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler:focus-visible,
.navbar-toggler:hover {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Mobil Hamburger Menü Listastílus & Lefelé nyíló almenü */
.mobile-nav-list .nav-link {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #4b5563;
    text-transform: uppercase;
    padding: 13px 0 !important;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    text-decoration: none;
}

.mobile-nav-list .nav-link:hover,
.mobile-nav-list .nav-link.active {
    color: var(--primary-blue) !important;
}

.mobile-submenu-chevron {
    font-size: 0.85rem;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

[data-bs-toggle="collapse"][aria-expanded="true"] .mobile-submenu-chevron {
    transform: rotate(180deg);
    color: var(--primary-blue);
}

.mobile-submenu-list {
    background-color: #f8fafc;
    border-radius: 12px;
    border-left: 3px solid var(--primary-blue);
}

.mobile-submenu-link {
    display: block;
    padding: 10px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.mobile-submenu-link:hover,
.mobile-submenu-link.active {
    color: var(--primary-blue);
    background-color: var(--light-blue-bg);
    font-weight: 700;
}

.mobile-contact-card {
    background-color: #ffffff;
}

.mobile-social-link {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f1f5f9;
    font-size: 1.2rem;
    color: #595b5d;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-social-link:hover {
    background-color: var(--light-blue-bg);
    color: var(--primary-blue);
    transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   Hero Szekciók (Kezdőlap & Belső oldalak)
   -------------------------------------------------------------------------- */
.hero-section {
    padding: 6rem 0 5rem 0;
    min-height: 520px;
    background-color: #071f38;
    position: relative;
    overflow: hidden;
}

.page-hero-section {
    padding: 4rem 0 3.5rem 0;
    min-height: 240px;
    background-color: #071f38;
    position: relative;
    overflow: hidden;
}

.hero-bg-image-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 77% 50%;
    z-index: 0;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.38);
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.hero-subtitle p {
    font-size: 1.25rem;
    font-weight: 400;
}

.hero-description {
    max-width: 520px;
    font-size: 1.05rem;
    line-height: 1.7;
}

.hero-quote-box {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-quote-text {
    font-size: 1.35rem;
    line-height: 1.6;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   Három Kiemelt Szolgáltatás Sáv
   -------------------------------------------------------------------------- */
.services-bar {
    background-color: rgb(13, 71, 161);
}

.service-pill-item {
    padding: 1rem;
}

.service-pill-icon {
    font-size: 2.2rem;
    color: #ffffff;
}

.service-pill-item h5 {
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
   Blob Háttérelemek
   -------------------------------------------------------------------------- */
.section-blob {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.blob-green {
    top: -40px;
    left: -80px;
    width: 460px;
    opacity: 0.85;
}

.blob-orange-about {
    bottom: -60px;
    left: 12%;
    width: 480px;
    opacity: 0.75;
}

.blob-pink {
    bottom: -100px;
    right: -120px;
    width: 520px;
    opacity: 0.85;
}

.blob-blue-appointment {
    top: -200px;
    left: 45%;
    width: 480px;
    opacity: 0.8;
}

.blob-orange-appointment {
    bottom: -120px;
    left: -100px;
    width: 480px;
    opacity: 0.8;
}

.blob-green-praxis {
    top: -20px;
    right: -40px;
    width: 420px;
    opacity: 0.6;
}

.blob-orange-praxis {
    bottom: -40px;
    left: -40px;
    width: 380px;
    opacity: 0.5;
}

.blob-pink-gallery {
    top: 25%;
    right: -30px;
    width: 380px;
    opacity: 0.5;
}

.blob-blue-team {
    top: -20px;
    left: -30px;
    width: 420px;
    opacity: 0.5;
}

.blob-green-service {
    top: -20px;
    left: -40px;
    width: 400px;
    opacity: 0.5;
}

.blob-orange-service {
    bottom: 25%;
    right: -40px;
    width: 380px;
    opacity: 0.5;
}

.blob-blue-service {
    bottom: -40px;
    left: -40px;
    width: 400px;
    opacity: 0.5;
}

.blob-pink-service {
    bottom: -40px;
    right: -40px;
    width: 380px;
    opacity: 0.5;
}

.blob-pink-oktatas {
    top: -20px;
    right: -30px;
    width: 400px;
    opacity: 0.5;
}

.blob-orange-oktatas {
    bottom: -40px;
    right: 25%;
    width: 360px;
    opacity: 0.5;
}

.blob-blue-oktatas {
    top: -20px;
    left: -30px;
    width: 380px;
    opacity: 0.5;
}

.blob-green-oktatas {
    bottom: -30px;
    right: -30px;
    width: 400px;
    opacity: 0.5;
}

.blob-pink-news {
    top: 15%;
    right: -30px;
    width: 420px;
    opacity: 0.5;
}

.blob-orange-news {
    bottom: 10%;
    left: -40px;
    width: 380px;
    opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Kapcsolat Oldal Elemek
   -------------------------------------------------------------------------- */
.contact-detail-pill {
    background-color: #f8fafc !important;
    border: 1px solid #edf2f7;
    transition: all 0.2s ease;
}

.contact-detail-pill:hover {
    background-color: var(--light-blue-bg) !important;
    border-color: #90caf9;
}

.btn-route-planner {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--dark-blue);
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-route-planner:hover {
    background-color: var(--light-blue-bg);
    border-color: #90caf9;
    color: var(--primary-blue);
}

/* --------------------------------------------------------------------------
   Aktuális Hírek Oldal Elemek
   -------------------------------------------------------------------------- */
.featured-announcement-card {
    background-color: var(--light-blue-bg);
    border: 1px solid #90caf9;
}

.announcement-icon-badge {
    width: 52px;
    height: 52px;
}

/* --------------------------------------------------------------------------
   Hasznos Információk Oldal Kártyák & Modális Ablak
   -------------------------------------------------------------------------- */
.info-topic-card {
    background-color: var(--light-blue-bg);
    border: 1px solid #bbdefb;
    transition: all 0.3s ease;
}

.info-topic-card:hover {
    background-color: #ffffff;
    border-color: #90caf9;
    box-shadow: 0 10px 25px rgba(13, 71, 161, 0.12);
    transform: translateY(-5px);
}

.info-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.info-topic-card:hover .info-icon-badge {
    transform: scale(1.1);
    background-color: #1565c0 !important;
}

.hover-shadow {
    transition: all 0.2s ease;
}

.hover-shadow:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-blue) !important;
}

/* Felugró ablak táblázat díjoszlop egy sorban tartása */
#infoModal .table td:last-child,
#infoModal .table th:last-child {
    white-space: nowrap !important;
    text-align: right;
    width: 1%;
}

/* --------------------------------------------------------------------------
   Szolgáltatás Aloldalak Elemek
   -------------------------------------------------------------------------- */
.doctor-badge-card {
    background-color: var(--light-blue-bg);
    border: 1px solid #90caf9;
}

.doctor-badge-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-task-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.service-task-card:hover {
    background-color: #ffffff;
    border-color: #90caf9;
    box-shadow: 0 4px 15px rgba(13, 71, 161, 0.08);
}

.task-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.important-notice-card {
    background-color: #fff9db;
    border: 1px solid #ffe066;
}

.notice-card-amber {
    background-color: #fff9db;
    border: 1px solid #ffe066;
}

.numbered-task-card {
    background-color: var(--light-blue-bg);
    border: 1px solid #bbdefb;
    transition: transform 0.2s ease;
}

.numbered-task-card:hover {
    transform: translateY(-3px);
}

.task-number-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.pte-accred-card {
    background-color: var(--light-blue-bg);
    border: 1px solid #90caf9;
}

.pte-icon-badge {
    width: 52px;
    height: 52px;
}

.education-role-card {
    background-color: var(--light-blue-bg);
    border: 1px solid #bbdefb;
    transition: transform 0.2s ease;
}

.education-role-card:hover {
    transform: translateY(-3px);
}

.service-side-photo {
    height: 430px;
}

.service-side-photo img {
    height: 100%;
    object-position: 83% 24%;
}

.doctor-edu-img {
    max-height: 280px;
    width: auto;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
}

/* --------------------------------------------------------------------------
   Rólunk Oldal Elemek & Munkatársak
   -------------------------------------------------------------------------- */
.praxis-paragraphs p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555555;
    text-align: justify;
}

.rendelo-details li {
    font-size: 1rem;
    line-height: 1.8;
}

.rendelo-photo-box {
    height: 320px;
}

.rendelo-photo-box img {
    height: 100%;
    object-fit: cover;
}

.team-group-photo-wrapper img {
    border-radius: 16px;
}

/* Javított galéria kártyák */
.gallery-card-sub {
    height: 250px;
}

.gallery-card-sub img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: top center !important;
    transition: transform 0.3s ease;
}

.gallery-card-sub:hover img {
    transform: scale(1.05);
}

/* Javított munkatárs portrék */
.staff-portrait-img {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: cover;
    object-position: top center;
    border-radius: 16px;
    display: inline-block;
}

.staff-divider {
    border-color: #bbdefb;
    opacity: 0.8;
    max-width: 85%;
    margin: 1.5rem auto;
}

.member-bio p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555555;
    text-align: justify;
}

.doctor-photo-wrapper {
    max-width: 400px;
}

.doctor-img {
    width: 88%;
    height: auto;
    object-fit: cover;
    object-position: top center;
    border-radius: 20px;
}

/* --------------------------------------------------------------------------
   Rendelési Idő Táblázat & Ügyelet
   -------------------------------------------------------------------------- */
.timetable-section {
    background-color: #ffffff;
}

.timetable-custom {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.timetable-custom thead th {
    background-color: #0d47a1;
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 14px 18px;
    border: none;
}

.timetable-custom tbody td {
    padding: 12px 18px;
    font-size: 0.92rem;
    vertical-align: middle;
    border-bottom: 1px solid #edf2f7;
    transition: background-color 0.2s;
}

.timetable-custom tbody tr:hover td {
    background-color: #e3f2fd;
}

.table-available-row td {
    background-color: #e8f5e9 !important;
}

.out-of-hours-card {
    background-color: #e3f2fd;
    border: 1px solid #90caf9;
}

.duty-icon-badge {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.duty-phone-link {
    font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   Időpontkérés Doboz
   -------------------------------------------------------------------------- */
.appointment-box {
    background-color: #e3f2fd;
    border: 1px solid #90caf9;
}

.appointment-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.appointment-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #555555;
}

/* --------------------------------------------------------------------------
   Lábléc (Footer) & Galéria Lightbox
   -------------------------------------------------------------------------- */
.main-footer {
    background-color: #0d47a1;
}

.footer-heading {
    color: #ffffff;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.footer-hours li {
    font-size: 0.88rem;
}

.border-light-subtle-10 {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.footer-duty-btn {
    background-color: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #fca5a5 !important;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.footer-duty-btn:hover {
    background-color: rgba(239, 68, 68, 0.35);
    color: #ffffff !important;
}

.footer-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border-radius: 4px;
}

/* Lábléc 3x3 miniatűrök felülre igazítása */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: top center !important;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 71, 161, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.text-danger-tint {
    color: #fca5a5;
}

/* Lightbox Modal Stílusok */
.gallery-lightbox-modal .modal-content {
    background: transparent;
}

.gallery-lightbox-modal .modal-backdrop.show {
    opacity: 0.85;
}

.lightbox-img-wrapper img {
    max-height: 80vh;
    max-width: 90vw;
    object-fit: contain;
    background-color: #000;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.2s ease;
    cursor: pointer;
    z-index: 10;
}

.lightbox-nav-btn:hover {
    background-color: var(--primary-blue);
    color: #ffffff;
}

.lightbox-prev-btn {
    left: 15px;
}

.lightbox-next-btn {
    right: 15px;
}

/* --------------------------------------------------------------------------
   Cookie (Süti) Elfogadó Kártya
   -------------------------------------------------------------------------- */
.cookie-consent-card {
    position: fixed;
    bottom: 24px;
    right: 24px;
    left: auto;
    max-width: 480px;
    background-color: #ffffff;
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(0, 32, 96, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 24px 28px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.95);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-consent-card.show-cookie-banner {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.cookie-icon-wrapper {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #ffb703;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #071f38;
    font-size: 1.9rem;
    box-shadow: 0 4px 14px rgba(255, 183, 3, 0.35);
}

.cookie-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #f1f5f9;
    border: none;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-close-btn:hover {
    background-color: #e2e8f0;
    color: #0f172a;
    transform: scale(1.05);
}

.cookie-title {
    color: #072a72;
    font-size: 1.28rem;
    letter-spacing: -0.2px;
    font-weight: 800;
}

.cookie-text {
    font-size: 0.92rem;
    line-height: 1.55;
    color: #475569;
}

.btn-cookie-accept {
    background-color: #072a72;
    color: #ffffff !important;
    border: none;
    border-radius: 14px;
    padding: 10px 24px;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(7, 42, 114, 0.25);
    transition: all 0.2s ease;
}

.btn-cookie-accept:hover {
    background-color: #0d47a1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(7, 42, 114, 0.35);
}

.cookie-details-link {
    color: #475569;
    text-decoration: none;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.cookie-details-link:hover {
    color: #072a72;
    background-color: #f1f5f9;
}

/* --------------------------------------------------------------------------
   Reszponzivitás (Mobil nézet optimalizáció)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-quote-box {
        margin-top: 1.5rem;
    }

    .doctor-bio-content {
        margin-top: 1.5rem;
    }

    .section-blob {
        display: none;
    }

    .rendelo-photo-box {
        height: 240px;
    }

    .gallery-card-sub {
        height: 200px;
    }

    .service-side-photo {
        height: 300px;
        margin-top: 2rem;
    }

    .lightbox-nav-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .cookie-consent-card {
        bottom: 16px;
        left: 16px;
        right: 16px;
        max-width: calc(100% - 32px);
        padding: 20px 20px;
        border-radius: 22px;
    }

    .cookie-icon-wrapper {
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }

    .cookie-title {
        font-size: 1.15rem;
    }

    .cookie-text {
        font-size: 0.86rem;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.85rem;
    }

    .hero-subtitle p {
        font-size: 1rem;
    }

    .header-logo-img {
        height: 42px;
    }

    .timetable-custom thead th,
    .timetable-custom tbody td {
        padding: 10px 8px;
        font-size: 0.82rem;
    }

    .staff-portrait-img {
        width: 70%;
        max-width: 200px;
        margin-bottom: 1rem;
    }

    .gallery-card-sub {
        height: 160px;
    }

    .lightbox-prev-btn {
        left: 5px;
    }

    .lightbox-next-btn {
        right: 5px;
    }

    .cookie-consent-card {
        bottom: 12px;
        left: 12px;
        right: 12px;
        max-width: calc(100% - 24px);
        padding: 18px 16px;
        border-radius: 20px;
    }

    .cookie-actions-wrap {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
    }

    .btn-cookie-accept {
        padding: 8px 18px;
        font-size: 0.82rem;
    }

    .cookie-details-link {
        font-size: 0.82rem;
    }
}