/* =========================================================
   AURI MENU INTRO
   ========================================================= */

.story-intro-sec {
    background: #0D0D0D;
    padding: 110px 0 0;
    position: relative;
    overflow: hidden;
}


.story-intro-content {
    max-width: 860px;
    margin: 0 auto;
}


.story-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 22px;
}


.story-heading h2 {
    margin: 0;

    font-family: 'Argesta', serif;
    font-size: clamp(34px, 3vw, 46px);
    font-weight: 400;
    line-height: 1.15;

    letter-spacing: -0.02em;

    color: #F5F5F5;
}


.story-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}


.story-icon svg {
    width: 14px;
    height: 14px;
}


.story-line {
    width: 170px;
    height: 1px;

    display: block;

    margin: 0 auto 35px;

    background: linear-gradient(
        90deg,
        transparent,
        #C79A34,
        transparent
    );
}


.story-intro-content p {
    max-width: 760px;

    margin: 0 auto;

    color: #C7C7C7;

    font-size: 16px;
    line-height: 1.95;
    font-weight: 300;

    text-align: center;
}



/* =========================================================
   AURI MENU PAGE
   ========================================================= */

.auri-menu-page {
    background: #0D0D0D;

    color: #fff;

    padding: 30px 0 100px;

    min-height: 100vh;
}



/* =========================================================
   MENU TABS
   ========================================================= */

.auri-menu-tabs {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 0;

    margin: 60px auto 40px;

    border-bottom: 1px solid rgba(255,255,255,0.18);

    max-width: 600px;
}


.auri-menu-tab {
    position: relative;

    appearance: none;

    border: 0;

    background: transparent;

    color: #888;

    padding: 18px 35px;

    font-family: 'Albert Sans', sans-serif;

    font-size: 13px;

    font-weight: 500;

    letter-spacing: 2px;

    text-transform: uppercase;

    cursor: pointer;

    transition:
        color 0.3s ease,
        background 0.3s ease;
}


.auri-menu-tab:hover {
    color: #fff;
}


.auri-menu-tab.active {
    color: #C6A25A;
}


.auri-menu-tab.active::after {
    content: "";

    position: absolute;

    left: 20%;
    right: 20%;

    bottom: -1px;

    height: 2px;

    background: #C6A25A;
}



/* =========================================================
   PDF PANELS
   ========================================================= */

.auri-menu-panel {
    display: none;

    width: 100%;
}


.auri-menu-panel.active {
    display: block;
}


.auri-menu-panel[hidden] {
    display: none !important;
}



/* =========================================================
   PDF VIEWER WRAPPER
   IMPORTANT:
   NO FIXED HEIGHT
   ========================================================= */

.auri-pdf-wrapper {

    position: relative;

    width: 100%;

    max-width: 1200px;

    /*
     * IMPORTANT:
     * Do NOT use height:850px here.
     * The PDF canvas determines the required height.
     */

    min-height: 300px;

    height: auto;

    margin: 0 auto;

    background: #171717;

    border: 1px solid rgba(198, 162, 90, 0.45);

    /*
     * Do not clip the PDF.
     */
    overflow: visible;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.40);
}



/* =========================================================
   PDF CANVAS
   ========================================================= */

.auri-pdf-canvas {

    display: block;

    width: 100%;

    height: auto;

    max-width: 100%;

    margin: 0 auto;

    background: #fff;
}



/* =========================================================
   PDF LOADING
   ========================================================= */

.auri-pdf-loading {

    min-height: 300px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 15px;

    padding: 30px;

    color: #C6A25A;

    text-align: center;
}


.auri-pdf-loading p {

    margin: 0;

    font-family: 'Albert Sans', sans-serif;

    font-size: 14px;

    line-height: 1.6;

    letter-spacing: 1px;

    color: #C7C7C7;
}



/* =========================================================
   PDF LOADING SPINNER
   ========================================================= */

.auri-pdf-loader {

    display: block;

    width: 38px;

    height: 38px;

    border: 2px solid rgba(198,162,90,0.20);

    border-top-color: #C6A25A;

    border-radius: 50%;

    animation:
        auri-pdf-spin 0.8s linear infinite;
}


@keyframes auri-pdf-spin {

    to {
        transform: rotate(360deg);
    }

}



/* =========================================================
   PDF ERROR
   ========================================================= */

.auri-pdf-error {

    padding: 35px 20px;

    color: #E0B66B;

    text-align: center;

    font-family: 'Albert Sans', sans-serif;

    font-size: 14px;

    line-height: 1.7;
}


.auri-pdf-error[hidden] {
    display: none !important;
}



/* =========================================================
   PDF CONTROLS
   ========================================================= */

.auri-pdf-controls {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 25px;

    margin: 25px auto 0;
}


.auri-pdf-controls button {

    appearance: none;

    border: 1px solid rgba(198,162,90,0.60);

    background: transparent;

    color: #C6A25A;

    padding: 11px 20px;

    font-family: 'Albert Sans', sans-serif;

    font-size: 12px;

    font-weight: 500;

    line-height: 1.2;

    letter-spacing: 1px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        opacity 0.3s ease;
}


.auri-pdf-controls button:hover:not(:disabled) {

    background: #C6A25A;

    color: #000;
}


.auri-pdf-controls button:disabled {

    opacity: 0.35;

    cursor: not-allowed;
}


.auri-pdf-page-status {

    min-width: 100px;

    color: #D5D5D5;

    font-family: 'Albert Sans', sans-serif;

    font-size: 13px;

    line-height: 1.4;

    text-align: center;
}



/* =========================================================
   DOWNLOAD BUTTON
   ========================================================= */

.auri-menu-download {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 15px;

    margin-top: 30px;
}


.auri-download-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 200px;

    padding: 15px 28px;

    background: #C6A25A;

    border: 1px solid #C6A25A;

    color: #000;

    text-decoration: none;

    font-family: 'Albert Sans', sans-serif;

    font-size: 12px;

    font-weight: 500;

    line-height: 1.3;

    letter-spacing: 1.5px;

    text-transform: uppercase;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}


.auri-download-btn:hover {

    background: #fff;

    border-color: #fff;

    color: #000;

    text-decoration: none;
}



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    .story-intro-sec {
        padding-top: 100px;
    }


    .auri-menu-page {
        padding: 30px 0 80px;
    }


    .auri-pdf-wrapper {
        width: 100%;
    }

}



/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .story-intro-sec {
        padding-top: 90px;
    }


    .story-heading {
        gap: 10px;
    }


    .story-heading h2 {
        font-size: 32px;
    }


    .story-line {
        width: 130px;

        margin-bottom: 25px;
    }


    .story-intro-content p {

        padding: 0 20px;

        font-size: 14px;

        line-height: 1.8;
    }


    .auri-menu-page {

        padding: 30px 0 60px;
    }


    .auri-menu-tabs {

        margin-top: 40px;

        margin-bottom: 30px;

        width: 100%;
    }


    .auri-menu-tab {

        flex: 1;

        padding: 15px 12px;

        font-size: 11px;

        letter-spacing: 1.2px;
    }


    /*
     * IMPORTANT:
     * No fixed PDF height on mobile.
     */
    .auri-pdf-wrapper {

        min-height: 200px;

        height: auto;

        overflow: visible;
    }


    .auri-pdf-loading {

        min-height: 200px;

        padding: 25px 15px;
    }


    .auri-pdf-controls {

        gap: 10px;

        margin-top: 18px;
    }


    .auri-pdf-controls button {

        padding: 10px 12px;

        font-size: 10px;
    }


    .auri-pdf-page-status {

        min-width: 75px;

        font-size: 11px;
    }


    .auri-menu-download {

        margin-top: 22px;
    }


    .auri-download-btn {

        width: 100%;

        max-width: 320px;

        min-width: 0;
    }

}



/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .story-intro-sec {
        padding-top: 80px;
    }


    .story-heading {
        gap: 6px;
    }


    .story-heading h2 {

        font-size: 28px;

        white-space: nowrap;
    }


    .story-icon svg {

        width: 11px;

        height: 11px;
    }


    .auri-menu-tab {

        padding: 14px 8px;

        font-size: 10px;

        letter-spacing: 0.8px;
    }


    .auri-pdf-controls {

        gap: 6px;
    }


    .auri-pdf-controls button {

        padding: 9px 8px;

        font-size: 9px;
    }


    .auri-pdf-page-status {

        min-width: 70px;

        font-size: 10px;
    }

}