.custom-page {
    padding: 70px 0 90px;
}

.custom-page-layout-2 {
    padding-top: 40px;
}

.custom-page-full {
    padding: 0 30px;
}

.custom-page-inline-title {
    margin-bottom: 20px;
    font-size: 36px;
    font-weight: 700;
    color: #111b19;
    font-family: "Hanken Grotesk", sans-serif;
}

.custom-page-hero {
    position: relative;
    padding: 160px 0 110px;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
}

.custom-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.custom-page-hero .auto-container {
    position: relative;
}

.custom-page-hero h1 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 700;
}

.custom-page-hero-subtitle {
    max-width: 760px;
    margin: 16px auto 0;
    font-size: 19px;
    color: rgba(255, 255, 255, 0.92);
}

.custom-page-article {
    max-width: 100%;
}

.custom-page-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ececec;
    color: #6b6b6b;
    font-size: 14px;
}

.custom-page-print {
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: #ffffff;
    padding: 6px 14px;
    color: #333333;
    cursor: pointer;
}

.custom-page-print:hover {
    background: #f5f5f5;
}

.custom-page-content {
    color: #333333;
    font-size: 16px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.custom-page-content h2 {
    margin: 32px 0 12px;
    font-size: 24px;
    font-weight: 700;
    color: #111b19;
}

.custom-page-content h3 {
    margin: 24px 0 10px;
    font-size: 19px;
    font-weight: 700;
    color: #111b19;
}

.custom-page-content p {
    margin-bottom: 14px;
}

.custom-page-content ul,
.custom-page-content ol {
    margin: 0 0 16px 22px;
}

.custom-page-content ul li {
    list-style: disc;
}

.custom-page-content ol li {
    list-style: decimal;
}

.custom-page-content img {
    max-width: 100%;
    height: auto;
}

.custom-page-content table {
    width: 100%;
    margin-bottom: 20px;
    border-collapse: collapse;
    display: block;
    overflow-x: auto;
}

.custom-page-content th,
.custom-page-content td {
    padding: 8px 12px;
    border: 1px solid #e2e2e2;
    vertical-align: top;
}

.custom-page-content th {
    background: #f6f6f6;
    font-weight: 700;
}

.custom-page-content iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
    margin-bottom: 16px;
}

.custom-page-side-nav {
    position: sticky;
    top: 110px;
    border: 1px solid #ececec;
    border-radius: 12px;
    padding: 18px 0;
    margin-bottom: 30px;
}

.custom-page-side-title {
    padding: 0 20px 10px;
    font-weight: 700;
    color: #111b19;
}

.custom-page-side-nav ul li a {
    display: block;
    padding: 9px 20px;
    color: #444444;
    border-left: 3px solid transparent;
}

.custom-page-side-nav ul li a:hover {
    background: #f7f7f7;
}

.custom-page-side-nav ul li.active a {
    border-left-color: var(--main-color, #111b19);
    font-weight: 700;
    color: #111b19;
    background: #f7f7f7;
}

.custom-page-side-select {
    display: none;
    width: 100%;
    margin-bottom: 24px;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    background: #ffffff;
}

.custom-page-preview-bar {
    position: relative;
    z-index: 5;
    padding: 12px 20px;
    background: #fff4d6;
    border-bottom: 1px solid #f0d58a;
    color: #5c4300;
    font-size: 14px;
}

.custom-page-preview-bar strong {
    margin-right: 8px;
}

.custom-page-preview-bar ul {
    margin: 6px 0 0 18px;
}

.custom-page-preview-bar ul li {
    list-style: disc;
}

.agreement-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
}

.agreement-modal.is-open {
    display: flex;
}

.agreement-modal-dialog {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
}

.agreement-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 22px;
    border-bottom: 1px solid #ececec;
}

.agreement-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #111b19;
}

.agreement-modal-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    white-space: nowrap;
}

.agreement-modal-open {
    font-size: 14px;
}

.agreement-modal-close {
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    color: #555555;
    cursor: pointer;
}

.agreement-modal-body {
    padding: 20px 22px;
    overflow-y: auto;
}

.agreement-modal-loading {
    padding: 40px;
    text-align: center;
    color: #777777;
}

.cookie-notice {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 99990;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
    padding: 16px 20px;
    border-radius: 12px;
    background: #111b19;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    font-size: 14px;
}

.cookie-notice.is-visible {
    display: flex;
}

.cookie-notice a {
    color: #ffffff;
    text-decoration: underline;
}

.cookie-notice-button {
    flex-shrink: 0;
    border: 0;
    border-radius: 8px;
    padding: 9px 22px;
    background: #ffffff;
    color: #111b19;
    font-weight: 700;
    cursor: pointer;
}

.footer-verification {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
}

.footer-tursab-badge img {
    max-width: 180px;
    height: auto;
}

.footer-tursab-text {
    display: inline-flex;
    flex-direction: column;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;
    color: inherit;
    line-height: 1.35;
}

.footer-tursab-text strong {
    letter-spacing: 1px;
}

.footer-tursab-text small {
    opacity: 0.85;
}

.footer-tursab-document {
    font-size: 13px;
    opacity: 0.9;
}

.footer-etbis img {
    max-width: 110px;
    height: auto;
}

@media (max-width: 991px) {
    .custom-page-side-nav {
        display: none;
    }

    .custom-page-side-select {
        display: block;
    }

    .custom-page-hero {
        padding: 120px 0 80px;
    }

    .custom-page-hero h1 {
        font-size: 34px;
    }

    .custom-page-full {
        padding: 0 15px;
    }
}

@media (max-width: 600px) {
    .cookie-notice {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
}

@media print {
    .main-header,
    .main-footer,
    .page-title,
    .custom-page-side,
    .custom-page-print,
    .custom-page-preview-bar,
    .cookie-notice,
    .scroll-to-top,
    .preloader {
        display: none !important;
    }

    .custom-page {
        padding: 0;
    }

    .custom-page .col-lg-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .custom-page-content {
        font-size: 12pt;
        color: #000000;
    }

    body.agreement-modal-printing > *:not(.agreement-modal) {
        display: none !important;
    }

    body.agreement-modal-printing .agreement-modal {
        position: static;
        display: block;
        padding: 0;
        background: none;
    }

    body.agreement-modal-printing .agreement-modal-dialog {
        max-height: none;
        border-radius: 0;
    }

    body.agreement-modal-printing .agreement-modal-actions {
        display: none;
    }
}
