





.privacy-nav,
.terms-nav,
.cookie-nav {
    position: sticky;
    top: 80px;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(31, 41, 51, 0.08);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    border: 1px solid #e2e8f0;
}

.privacy-nav h3,
.terms-nav h3,
.cookie-nav h3 {
    margin: 0 0 1rem 0;
    font-size: 1rem;
    color: #1F2933;
    font-weight: 700;
}

.privacy-nav a,
.terms-nav a,
.cookie-nav a {
    display: block;
    padding: 0.625rem 0.5rem;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.9375rem;
    line-height: 1.4;
    border-radius: 6px;
}

.privacy-nav a:hover,
.terms-nav a:hover,
.cookie-nav a:hover {
    color: #1F7A5C;
    background: #f7fafc;
    padding-left: 1rem;
}

.privacy-section,
.terms-section,
.cookie-section {
    scroll-margin-top: 100px;
}


@media (max-width: 1024px) and (min-width: 769px) {

    section > div > div[style*="display: grid"][style*="grid-template-columns: 280px 1fr"] {
        grid-template-columns: 240px 1fr !important;
        gap: 2rem !important;
    }
    
    .privacy-nav,
    .terms-nav,
    .cookie-nav {
        padding: 0.875rem;
        font-size: 0.9rem;
        top: 70px;
    }
    
    .privacy-nav h3,
    .terms-nav h3,
    .cookie-nav h3 {
        font-size: 0.95rem;
    }
    
    .privacy-nav a,
    .terms-nav a,
    .cookie-nav a {
        font-size: 0.875rem;
        padding: 0.5rem 0.4rem;
    }
}


@media (max-width: 768px) {

    section > div > div[style*="display: grid"][style*="grid-template-columns"],
    section > div > div[style*="grid-template-columns: 280px 1fr"],
    section > div > div[style*="grid-template-columns: 250px 1fr"],
    section > div > div[style*="grid-template-columns: 240px 1fr"] {
        display: block !important;
        grid-template-columns: 1fr !important;
    }
    

    .privacy-nav,
    .terms-nav,
    .cookie-nav {
        position: static !important;
        top: auto !important;
        max-height: 60px;
        overflow: hidden;
        margin-bottom: 1.5rem !important;
        padding: 1rem !important;
        transition: max-height 0.3s ease, border-color 0.3s ease;
        background: white;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        border: 2px solid #e2e8f0;
    }
    
    .privacy-nav.expanded,
    .terms-nav.expanded,
    .cookie-nav.expanded {
        max-height: 600px;
        overflow-y: auto;
        border-color: #F4B400;
        box-shadow: 0 4px 12px rgba(244, 180, 0, 0.15);
    }
    

    .privacy-nav.expanded::-webkit-scrollbar,
    .terms-nav.expanded::-webkit-scrollbar,
    .cookie-nav.expanded::-webkit-scrollbar {
        width: 6px;
    }
    
    .privacy-nav.expanded::-webkit-scrollbar-track,
    .terms-nav.expanded::-webkit-scrollbar-track,
    .cookie-nav.expanded::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 3px;
    }
    
    .privacy-nav.expanded::-webkit-scrollbar-thumb,
    .terms-nav.expanded::-webkit-scrollbar-thumb,
    .cookie-nav.expanded::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #F4B400, #1F7A5C);
        border-radius: 3px;
    }
    

    .privacy-nav h3,
    .terms-nav h3,
    .cookie-nav h3 {
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        margin: 0;
        padding: 0.75rem;
        margin: -0.5rem;
        border-radius: 10px;
        transition: background 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 1.05rem;
        font-weight: 700;
        color: #1F2933;
    }
    
    .privacy-nav h3:active,
    .terms-nav h3:active,
    .cookie-nav h3:active {
        background: #f7fafc;
    }
    

    .privacy-nav h3::after,
    .terms-nav h3::after,
    .cookie-nav h3::after {
        content: '▼';
        font-size: 0.75rem;
        color: #718096;
        transition: transform 0.3s ease, color 0.3s ease;
        flex-shrink: 0;
        margin-left: 0.75rem;
    }
    
    .privacy-nav.expanded h3::after,
    .terms-nav.expanded h3::after,
    .cookie-nav.expanded h3::after {
        transform: rotate(180deg);
        color: #F4B400;
    }
    

    .privacy-nav a,
    .terms-nav a,
    .cookie-nav a {
        padding: 0.875rem 0.75rem !important;
        font-size: 0.9375rem !important;
        border-bottom: 1px solid #f1f5f9;
        margin: 0.25rem -0.5rem;
        border-radius: 8px;
        display: block;
    }
    
    .privacy-nav a:last-child,
    .terms-nav a:last-child,
    .cookie-nav a:last-child {
        border-bottom: none;
    }
    
    .privacy-nav a:hover,
    .terms-nav a:hover,
    .cookie-nav a:hover,
    .privacy-nav a:active,
    .terms-nav a:active,
    .cookie-nav a:active {
        background: #f7fafc;
        color: #F4B400;
        padding-left: 1.25rem !important;
    }
    

    

    section > div > div > div[style*="background: white"][style*="padding: 3rem"] {
        padding: 10px !important;
        border-radius: 16px !important;
    }
    

    div[style*="padding: 2rem"],
    div[style*="padding: 2.5rem"],
    div[style*="padding: 3rem"] {
        padding: 1.5rem !important;
    }
    

    .highlight-box,
    .warning-box,
    div[style*="background: #e6f7ff"],
    div[style*="background: #fff7e6"],
    div[style*="background: linear-gradient(135deg, #e6f7ff"],
    div[style*="background: linear-gradient(135deg, #fff7e6"],
    div[style*="background: linear-gradient(135deg, #dc2626"],
    div[style*="border-left: 4px solid"],
    div[style*="border-left: 5px solid"] {
        padding: 1.25rem !important;
        margin: 1.25rem 0 !important;
        border-radius: 10px !important;
        border-left-width: 4px !important;
    }
    

    

    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
        margin: 1.5rem 0 !important;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }
    
    table thead,
    table tbody,
    table tr {
        display: table;
        width: 100%;
        table-layout: auto;
    }
    
    table th,
    table td {
        white-space: nowrap;
        word-wrap: normal;
        min-width: 120px;
        padding: 0.875rem 0.75rem !important;
        font-size: 0.875rem !important;
        vertical-align: top;
    }
    

    table th:first-child,
    table td:first-child {
        white-space: normal;
        word-wrap: break-word;
        min-width: 140px;
        position: sticky;
        left: 0;
        background: white;
        z-index: 1;
        box-shadow: 2px 0 4px rgba(0,0,0,0.05);
    }
    
    table thead th:first-child {
        background: #f7fafc;
    }
    

    .cookie-table,
    .cookie-table th,
    .cookie-table td {
        font-size: 0.8125rem !important;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.75rem 0.625rem !important;
        min-width: 100px;
    }
    

    .cookie-category {
        padding: 1.5rem !important;
        margin-bottom: 1.5rem !important;
        border-radius: 12px !important;
    }
    
    .cookie-category h3 {
        font-size: 1.05rem !important;
        flex-wrap: wrap;
        gap: 0.625rem;
        margin-bottom: 1rem !important;
    }
    
    .category-badge {
        font-size: 0.75rem !important;
        padding: 0.375rem 0.875rem !important;
        white-space: nowrap;
    }
    

    
    h1 {
        font-size: 1.875rem !important;
        line-height: 1.2 !important;
        margin-bottom: 1rem !important;
        word-wrap: break-word;
    }
    
    h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.875rem !important;
        margin-top: 2.5rem !important;
        word-wrap: break-word;
    }
    
    h3 {
        font-size: 1.25rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.75rem !important;
        margin-top: 1.75rem !important;
        word-wrap: break-word;
    }
    
    h4 {
        font-size: 1.125rem !important;
        margin-bottom: 0.625rem !important;
        margin-top: 1.25rem !important;
    }
    

    p[style*="font-size: 1.2rem"],
    p[style*="font-size: 1.1rem"] {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }
    
    p[style*="font-size: 1.05rem"] {
        font-size: 0.9375rem !important;
        line-height: 1.7 !important;
    }
    
    ul[style*="font-size: 1.05rem"],
    ol[style*="font-size: 1.05rem"] {
        font-size: 0.9375rem !important;
        padding-left: 1.5rem !important;
        line-height: 1.8 !important;
    }
    
    ul[style*="font-size: 1.05rem"] li,
    ol[style*="font-size: 1.05rem"] li {
        margin-bottom: 0.625rem;
    }
    

    code,
    pre {
        font-size: 0.875rem !important;
        padding: 0.5rem !important;
        background: #f7fafc !important;
        border-radius: 6px !important;
        display: block;
        overflow-x: auto;
        white-space: pre-wrap;
        word-wrap: break-word;
    }
    

    
    .btn,
    a.btn,
    button.btn {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        text-align: center !important;
        box-sizing: border-box !important;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
        margin-bottom: 0.875rem !important;
        min-height: 48px;
        border-radius: 12px !important;
    }
    

    div[style*="display: flex"][style*="gap: 1rem"][style*="justify-content: center"],
    div[style*="display: flex; gap: 1rem; justify-content: center"] {
        flex-direction: column !important;
        width: 100% !important;
        gap: 0.875rem !important;
    }
    

    

    div[style*="grid-template-columns: repeat(2"],
    div[style*="grid-template-columns: repeat(3"],
    div[style*="grid-template-columns: repeat(4"],
    div[style*="grid-template-columns: repeat(auto-fit"],
    div[style*="grid-template-columns: 1fr 1fr"],
    div[style*="display: grid"][style*="gap: 1.5rem"] {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    

    div[style*="gap: 3rem"],
    div[style*="gap: 2.5rem"] {
        gap: 1.5rem !important;
    }
    
    div[style*="gap: 2rem"] {
        gap: 1.25rem !important;
    }
    

    
    section[style*="padding: 80px 0"],
    section[style*="padding: 60px 0"] {
        padding: 50px 0 !important;
    }
    
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100% !important;
    }
    

    

    table::-webkit-scrollbar {
        height: 8px;
        display: block !important;
    }
    
    table::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }
    
    table::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #F4B400, #1F7A5C);
        border-radius: 4px;
    }
    
    table::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #FFD54F, #16634B);
    }
    

    table::after {
        content: '← Swipe to see more →';
        display: block;
        text-align: center;
        font-size: 0.75rem;
        color: #718096;
        padding: 0.625rem;
        background: #f7fafc;
        border-radius: 0 0 8px 8px;
        margin-top: -1px;
        font-style: italic;
    }
}


@media (max-width: 480px) {
    .privacy-nav,
    .terms-nav,
    .cookie-nav {
        padding: 0.875rem !important;
        margin-bottom: 1.25rem !important;
        border-radius: 10px !important;
    }
    
    .privacy-nav h3,
    .terms-nav h3,
    .cookie-nav h3 {
        font-size: 1rem;
        padding: 0.625rem;
    }
    
    .privacy-nav a,
    .terms-nav a,
    .cookie-nav a {
        font-size: 0.875rem !important;
        padding: 0.75rem 0.625rem !important;
    }
    
    section > div > div > div[style*="background: white"] {
        padding: 1.25rem !important;
        border-radius: 12px !important;
    }
    
    h1 {
        font-size: 1.625rem !important;
    }
    
    h2 {
        font-size: 1.375rem !important;
    }
    
    h3 {
        font-size: 1.125rem !important;
    }
    
    table th,
    table td {
        font-size: 0.8125rem !important;
        padding: 0.75rem 0.5rem !important;
        min-width: 100px;
    }
    
    .cookie-category {
        padding: 1.25rem !important;
    }
    
    .category-badge {
        font-size: 0.6875rem !important;
        padding: 0.3125rem 0.75rem !important;
    }
    
    .btn,
    a.btn {
        padding: 0.875rem 1.25rem !important;
        font-size: 0.9375rem !important;
    }
}


@media (max-width: 768px) {
    * {
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto;
    }
    

    body,
    html {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    body > *,
    section,
    div {
        max-width: 100% !important;
    }
    
    table,
    pre,
    code,
    img,
    video,
    iframe {
        max-width: 100% !important;
    }
    
    img {
        height: auto !important;
        display: block;
    }
    

    a {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}


@media (max-width: 768px) and (hover: none) {

    a,
    button,
    .btn,
    .privacy-nav h3,
    .terms-nav h3,
    .cookie-nav h3 {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .privacy-nav a,
    .terms-nav a,
    .cookie-nav a {
        min-height: 48px;
    }
    

    .privacy-nav a:hover,
    .terms-nav a:hover,
    .cookie-nav a:hover {
        transform: none;
    }
}


@media print {
    .privacy-nav,
    .terms-nav,
    .cookie-nav {
        display: none !important;
    }
    
    section > div > div[style*="display: grid"] {
        display: block !important;
    }
    
    table {
        display: table !important;
        page-break-inside: avoid;
        overflow: visible;
    }
    
    table::after {
        display: none;
    }
    
    h1, h2, h3, h4 {
        page-break-after: avoid;
    }
    
    .highlight-box,
    .warning-box {
        page-break-inside: avoid;
    }
}


@media (max-width: 768px) and (orientation: landscape) {
    .privacy-nav.expanded,
    .terms-nav.expanded,
    .cookie-nav.expanded {
        max-height: 400px;
    }
    
    section[style*="padding"] {
        padding: 10px 0 !important;
    }
}