* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-main: #e8f0fe;
    --navy-blue: #162b4c;
    --primary-blue: #2563eb;
    --accent-blue: #3b82f6;
    --light-cyan: #e0f2fe;
    --text-dark: #1e293b;
    --success-green: #15803d;
    --text-light: #64748b;
    --card-bg: #ffffff;
}

body {
    background-color: var(--bg-main);
    background-image: 
        linear-gradient(to right, rgba(100, 149, 237, 0.15) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(100, 149, 237, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
    color: var(--text-dark);
}

html {
    scroll-padding-top: 85px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    z-index: 1000;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--navy-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    color: var(--primary-blue);
}

.navbar nav {
    margin-left: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    margin-left: 1.25rem;
}

.logo + .nav-actions {
    margin-left: auto;
}

.nav-toggle {
    display: none;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    color: var(--navy-blue);
    font-size: 1.4rem;
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 1.25rem;
}

.nav-links > li > a {
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy-blue);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.dropdown-content a {
    padding: 12px 16px;
    display: block;
    font-size: 0.85rem;
}

.dropdown-content a:hover {
    background-color: var(--light-cyan);
}

.dropdown:hover .dropdown-content,
.dropdown:focus-within .dropdown-content {
    display: block;
}

.dropdown-wide {
    width: 430px;
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-switch a {
    display: block;
    padding: 6px 0;
    opacity: 0.55;
}

.lang-switch a:hover,
.lang-switch a.active {
    opacity: 1;
}

.lang-switch img {
    display: block;
    width: 30px;
    height: 20px;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(22, 43, 76, 0.2);
}

.lang-switch a.active img {
    box-shadow: 0 0 0 2px var(--primary-blue);
}

.btn-nav {
    background: var(--navy-blue);
    color: white !important;
    padding: 8px 18px;
    border-radius: 20px;
}

/* Hero Section */
.hero {
    padding: 140px 5% 80px;
}

.hero-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.badge {
    background: var(--light-cyan);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.hero-text h1 {
    font-size: 2.5rem;
    color: var(--navy-blue);
    margin: 15px 0;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-blue);
}

.hero-text p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--navy-blue);
    color: white;
}

.hero-card {
    background: white;
    padding: 28px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(22, 43, 76, 0.12);
    border: 1px solid var(--light-cyan);
}

.card-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px 12px;
}

.card-head h3 {
    font-size: 1.35rem;
    color: var(--navy-blue);
}

.card-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--success-green);
    color: white;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

.card-badge strong {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.format-table {
    width: 100%;
    margin-top: 18px;
    border-collapse: separate;
    border-spacing: 0 6px;
    font-size: 0.9rem;
    font-variant-numeric: tabular-nums;
}

.format-table th,
.format-table td {
    padding: 11px 10px;
    text-align: left;
    color: var(--navy-blue);
}

.format-table thead th {
    padding: 0 10px 8px;
    border-bottom: 2px solid var(--light-cyan);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
}

.format-table .num {
    width: 54px;
    padding-left: 4px;
    padding-right: 4px;
    text-align: center;
}

.format-table .num:last-child {
    width: 64px;
}

.format-table .pct {
    font-weight: 700;
    font-size: 1.05rem;
}

.format-table .sub-text {
    font-weight: 400;
}

.format-main th,
.format-main td,
.format-ia th,
.format-ia td {
    background: var(--light-cyan);
    font-weight: 600;
}

.format-main th,
.format-ia th {
    border-radius: 10px 0 0 10px;
}

.format-main td:last-child,
.format-ia td:last-child {
    border-radius: 0 10px 10px 0;
}

.format-sub th,
.format-sub td {
    padding-top: 6px;
    padding-bottom: 6px;
    font-weight: 400;
}

.format-sub th {
    padding-left: 18px;
    box-shadow: inset 3px 0 0 var(--light-cyan);
    font-weight: 600;
}

.format-note {
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.sub-text {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

.pct {
    font-weight: 700;
    color: var(--navy-blue);
    font-size: 1.2rem;
}

/* Common Section Styles */
.section {
    padding: 80px 5%;
}

.bg-white {
    background: white;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    color: var(--navy-blue);
    font-size: 2rem;
}

.section-title p {
    color: var(--text-light);
    text-wrap: balance;
}

.section-title a {
    color: var(--primary-blue);
    font-weight: 600;
}

.section-title .section-subtitle {
    color: var(--navy-blue);
    font-size: 1.1rem;
    font-weight: 600;
}

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

.accordion-item {
    background: var(--bg-main);
    border-radius: 12px;
}

.accordion-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 18px 22px;
    cursor: pointer;
    list-style: none;
    color: var(--navy-blue);
}

.accordion-item summary::-webkit-details-marker {
    display: none;
}

.accordion-item summary h3 {
    font-size: 1.05rem;
}

.accordion-item summary i {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.accordion-item[open] summary i {
    transform: rotate(180deg);
}

.accordion-body {
    padding: 0 22px 22px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.accordion-body p {
    margin-bottom: 12px;
}

.accordion-body h4 {
    margin: 22px 0 8px;
    color: var(--navy-blue);
}

.accordion-body ul {
    margin-bottom: 12px;
    padding-left: 20px;
}

.accordion-note {
    font-size: 0.85rem;
    color: var(--text-light);
}

.subject-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.subject-group {
    background: white;
    padding: 18px;
    border-radius: 8px;
    font-size: 0.875rem;
}

.subject-group h5 {
    margin-bottom: 6px;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--navy-blue);
}

.subject-group ul {
    margin-bottom: 0;
}

.table-scroll {
    overflow-x: auto;
    margin-bottom: 15px;
    border-radius: 8px;
}

.info-table {
    width: 100%;
    min-width: 520px;
    border-collapse: collapse;
    background: white;
    font-size: 0.875rem;
    line-height: 1.5;
}

.info-table th,
.info-table td {
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}

.info-table thead th {
    background: var(--navy-blue);
    color: white;
}

.info-table tbody th {
    color: var(--navy-blue);
}

.info-table tbody tr {
    border-top: 1px solid #e2e8f0;
}

.sources {
    margin-top: 25px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.sources h4 {
    margin-bottom: 6px;
    color: var(--navy-blue);
}

.sources ul {
    padding-left: 20px;
}

.sources a {
    color: var(--primary-blue);
}

/* Topics Section */
.tab-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-light);
}

.tab-btn.active {
    background: var(--navy-blue);
    color: white;
}

.topics-table {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.topics-table th {
    text-align: left;
}

.topics-table thead th {
    padding: 12px 16px;
    background: var(--navy-blue);
    color: white;
    font-size: 0.85rem;
}

.topics-table .col-sl,
.topics-table .col-hl {
    width: 64px;
    text-align: center;
    font-weight: 700;
    color: var(--navy-blue);
}

.topics-table thead .col-sl,
.topics-table thead .col-hl {
    color: white;
}

.topics-table[data-view="all"] .col-sl,
.topics-table[data-view="all"] .col-hl {
    width: 150px;
}

.topics-table[data-view="all"] thead .col-sl,
.topics-table[data-view="all"] thead .col-hl {
    padding-left: 8px;
    padding-right: 8px;
    white-space: nowrap;
}

.topics-table[data-view="sl"] .col-hl,
.topics-table[data-view="sl"] .hl-only,
.topics-table[data-view="hl"] .col-sl,
.topics-table:not([data-view="all"]) .col-name {
    display: none;
}

.topic-summary th,
.topic-summary td {
    padding: 12px 16px;
    background: var(--light-cyan);
    color: var(--navy-blue);
    font-weight: 700;
}

.topic-strand th,
.topic-strand td {
    padding: 14px 16px 6px;
    border-top: 1px solid #e2e8f0;
    color: var(--navy-blue);
    font-size: 1rem;
    font-weight: 600;
}

.topic-sub td {
    padding: 3px 16px 3px 30px;
    font-size: 0.85rem;
    color: var(--text-dark);
}

.topic-sub td.col-sl,
.topic-sub td.col-hl {
    padding-left: 16px;
    font-weight: 400;
}

.topic-sub:last-child td,
.topics-table[data-view="sl"] .topic-sub:has(+ .hl-only) td {
    padding-bottom: 14px;
}

.topics-table .tr {
    color: var(--text-light);
    font-weight: 400;
}

.topics-table thead .tr {
    color: inherit;
}

.topic-strand .tr {
    display: block;
    font-size: 0.85rem;
}

.tag {
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
}

.tag-hl { background: #e0e7ff; color: #3730a3; }

/* Form Controls */
.select-input {
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    outline: none;
    font-size: 0.9rem;
}

/* Ders Programı Section */
.program-scope {
    margin-bottom: 50px;
}

.program-scope > h3,
.lesson-process h3 {
    margin-bottom: 20px;
    padding: 12px 20px;
    background: var(--primary-blue);
    border-radius: 8px;
    font-size: 1.15rem;
    color: white;
}

.scope-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.scope-list li {
    overflow: hidden;
    background: #f8fafc;
    border-radius: 8px;
}

.scope-list h4 {
    padding: 11px 18px;
    background: var(--light-cyan);
    font-size: 1rem;
    color: var(--navy-blue);
}

.scope-list p {
    padding: 14px 18px 18px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.process-steps {
    list-style: none;
    counter-reset: step;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.process-steps li {
    position: relative;
    counter-increment: step;
    padding: 0 12px;
    text-align: center;
}

.process-steps li::before {
    content: counter(step);
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    margin: 0 auto 12px;
    background: var(--navy-blue);
    color: white;
    border-radius: 50%;
    font-weight: 700;
}

.process-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 19px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
}

.process-steps strong {
    display: block;
    margin-bottom: 8px;
    padding: 6px 8px;
    background: var(--light-cyan);
    border-radius: 6px;
    font-size: 0.95rem;
    color: var(--navy-blue);
}

.process-steps span {
    display: block;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-dark);
}

/* Eğitmen Section */
.instructor-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: center;
    padding: 30px;
    background: white;
    border-radius: 16px;
}

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

.instructor-info h3 {
    font-size: 1.6rem;
    color: var(--navy-blue);
}

.instructor-role {
    margin-bottom: 14px;
    font-weight: 600;
    color: var(--primary-blue);
}

.instructor-bio {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
}

/* Özel Ders Section */
.booking-card {
    max-width: 620px;
    margin: 0 auto;
    padding: 30px;
    background: var(--bg-main);
    border-radius: 16px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    outline: none;
}

.btn-block {
    width: 100%;
    padding: 12px;
}

.btn-block:disabled {
    opacity: 0.6;
    cursor: wait;
}

.form-trap {
    position: absolute;
    left: -9999px;
}

.form-status {
    margin-top: 12px;
    font-weight: 600;
    color: var(--navy-blue);
}

.form-status:empty {
    display: none;
}

.form-privacy {
    margin-top: 12px;
    font-size: 0.8rem;
    color: var(--text-light);
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: var(--text-dark);
}

.form-consent input {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.form-consent a {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Gizlilik sayfası */
.legal {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
}

.legal h1 {
    color: var(--navy-blue);
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.legal h2 {
    color: var(--navy-blue);
    font-size: 1.1rem;
    margin: 28px 0 8px;
}

.legal p,
.legal li {
    font-size: 0.95rem;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.legal ul {
    padding-left: 20px;
}

.legal a {
    color: var(--primary-blue);
}

.legal-updated {
    color: var(--text-light);
}

@media (max-width: 600px) {
    .legal {
        padding: 24px 16px;
    }
}

/* Footer */
footer {
    background: var(--navy-blue);
    color: white;
    padding: 25px 5%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-container a {
    color: white;
    text-decoration: none;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

@media (min-width: 1261px) and (max-width: 1400px) {
    html[lang="en"] {
        scroll-padding-top: 150px;
    }
    html[lang="en"] .navbar {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 10px;
    }
    html[lang="en"] .logo {
        flex: 0 0 100%;
        justify-content: center;
    }
    html[lang="en"] .navbar nav,
    html[lang="en"] .logo + .nav-actions {
        margin-left: 0;
    }
    html[lang="en"] .hero {
        padding-top: 175px;
    }
    html[lang="en"] main.section {
        padding-top: 140px;
    }
}

@media (max-width: 1260px) {
    .navbar {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 10px;
    }
    .logo {
        flex: 0 0 100%;
        justify-content: center;
    }
    .navbar nav {
        max-width: calc(100% - 90px);
        margin-left: 0;
    }
    .nav-actions {
        margin-left: 16px;
    }
    .logo + .nav-actions {
        margin-left: 0;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px 16px;
    }
    html {
        scroll-padding-top: 150px;
    }
    .hero {
        padding-top: 175px;
    }
    main.section {
        padding-top: 140px;
    }
}

@media (max-width: 1024px) {
    .navbar {
        flex-wrap: nowrap;
        justify-content: space-between;
        padding: 8px 16px;
    }
    .logo {
        flex: 0 1 auto;
        min-height: 44px;
        justify-content: flex-start;
    }
    .logo + .nav-actions,
    .nav-actions {
        margin-left: 8px;
    }
    .lang-switch {
        gap: 0;
    }
    .lang-switch a {
        padding: 12px 7px;
    }
    .nav-toggle {
        display: flex;
    }
    .navbar a {
        -webkit-tap-highlight-color: transparent;
    }
    .navbar nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-width: none;
        max-height: calc(100vh - 60px);
        max-height: calc(100dvh - 60px);
        overflow-y: auto;
        overscroll-behavior: contain;
        background: white;
        box-shadow: 0 12px 20px rgba(22, 43, 76, 0.12);
    }
    .navbar.menu-open nav {
        display: block;
    }
    .nav-links {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 0;
        padding: 4px 16px 16px;
    }
    .nav-links > li:not(:last-child) {
        border-bottom: 1px solid var(--light-cyan);
    }
    .nav-links > li > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        min-height: 48px;
        font-size: 1rem;
    }
    .nav-links > li > .btn-nav {
        justify-content: center;
        margin-top: 12px;
        border-radius: 24px;
    }
    .dropbtn i {
        transition: transform 0.3s;
    }
    .dropdown.open .dropbtn i {
        transform: rotate(180deg);
    }
    .dropdown {
        position: static;
    }
    .dropdown-content,
    .dropdown-wide {
        position: static;
        width: auto;
        min-width: 0;
        box-shadow: none;
        border-radius: 0;
    }
    .dropdown:hover .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        display: none;
    }
    .dropdown.open .dropdown-content {
        display: block;
        padding-bottom: 8px;
    }
    .dropdown-content a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 10px 12px;
        font-size: 0.9rem;
        font-weight: 400;
    }
    html {
        scroll-padding-top: 76px;
    }
    .hero {
        padding-top: 100px;
    }
    main.section {
        padding-top: 90px;
    }
    .btn {
        min-height: 48px;
        text-align: center;
    }
    .tab-btn {
        min-height: 44px;
    }
    .form-group input,
    .form-group textarea,
    .select-input {
        min-height: 48px;
        font-size: 1rem;
    }
    .form-consent input {
        width: 24px;
        height: 24px;
        margin-top: 0;
    }
    .sources li {
        margin-bottom: 8px;
    }
    .social-links a {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        min-height: 44px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    .booking-card {
        padding: 22px;
    }
    .instructor-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 22px;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }
    .footer-container {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .hero-card {
        padding: 24px 14px;
    }
    .format-table .num {
        width: 40px;
    }
    .format-table .num:last-child {
        width: 56px;
    }
    .scope-list {
        grid-template-columns: 1fr;
    }
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .process-steps li {
        padding: 0 0 0 54px;
        min-height: 40px;
        text-align: left;
    }
    .process-steps li::before {
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
    }
    .process-steps li:not(:last-child)::after {
        top: 40px;
        left: 19px;
        width: 2px;
        height: calc(100% - 20px);
    }
    .hero {
        padding-bottom: 56px;
    }
    .hero-text h1 {
        font-size: 2.1rem;
        text-wrap: balance;
    }
    .section {
        padding-top: 56px;
        padding-bottom: 56px;
    }
    main.section {
        padding-top: 90px;
    }
    .section-title {
        margin-bottom: 32px;
    }
    .program-scope {
        margin-bottom: 36px;
    }
    .accordion-item summary {
        padding: 16px;
    }
    .accordion-body {
        padding: 0 16px 18px;
    }
    .instructor-card picture {
        display: block;
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }
    .instructor-info {
        min-width: 0;
    }
    .instructor-bio {
        font-size: 1rem;
        line-height: 1.7;
    }
    .topics-table[data-view="all"] .col-sl,
    .topics-table[data-view="all"] .col-hl {
        width: 84px;
    }
    .topics-table[data-view="all"] thead .col-sl,
    .topics-table[data-view="all"] thead .col-hl {
        white-space: normal;
    }
    .col-name {
        display: block;
        font-size: 0.75rem;
        font-weight: 600;
    }
}

@media (max-width: 640px) {
    .tab-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .tab-btn {
        padding: 8px;
        font-size: 0.85rem;
    }
    .tab-btn:first-child {
        grid-column: 1 / -1;
    }
    .hero-buttons .btn {
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }
    .booking-card {
        padding: 16px;
    }
    .select-input {
        padding-left: 8px;
        padding-right: 4px;
    }
    .table-scroll {
        overflow-x: visible;
        border-radius: 0;
    }
    .info-table,
    .info-table tbody,
    .info-table tr,
    .info-table th,
    .info-table td {
        display: block;
    }
    .info-table {
        min-width: 0;
        background: none;
    }
    .info-table thead {
        display: none;
    }
    .info-table tbody tr {
        margin-bottom: 10px;
        padding: 12px 14px;
        background: white;
        border: none;
        border-radius: 8px;
    }
    .info-table th,
    .info-table td {
        padding: 0;
    }
    .info-table td {
        margin-top: 10px;
    }
    .info-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--text-light);
    }
    .topics-table .col-sl,
    .topics-table .col-hl,
    .topics-table[data-view="all"] .col-sl,
    .topics-table[data-view="all"] .col-hl {
        width: 68px;
    }
    .topics-table thead .col-sl,
    .topics-table thead .col-hl,
    .topics-table[data-view="all"] thead .col-sl,
    .topics-table[data-view="all"] thead .col-hl,
    .topics-table .topic-summary .col-sl,
    .topics-table .topic-summary .col-hl,
    .topics-table .topic-strand .col-sl,
    .topics-table .topic-strand .col-hl,
    .topics-table .topic-sub td.col-sl,
    .topics-table .topic-sub td.col-hl {
        padding-left: 4px;
        padding-right: 4px;
    }
    .topics-table thead th:first-child,
    .topic-summary th,
    .topic-strand th {
        padding-left: 12px;
    }
    .topic-sub td {
        padding-left: 22px;
        padding-right: 12px;
    }
    .col-name {
        font-size: 0.7rem;
    }
}

@media (max-width: 400px) {
    .logo {
        gap: 6px;
        font-size: 1.2rem;
    }
}

@media (max-width: 350px) {
    .logo {
        font-size: 1rem;
    }
}
