/* =========================================================
   ORTHODOX AUDIO SECTION
   ========================================================= */

.ort-audio-page {
    padding: 28px 0 70px;

    background:
        linear-gradient(
            180deg,
            #fffdf8 0%,
            #fff8e9 100%
        );
}


.ort-audio-shell {
    display: grid;

    grid-template-columns:
        270px
        minmax(0, 1fr);

    align-items: start;
    gap: 34px;

    max-width: 1160px;
}


/* =========================================================
   LEFT SIDEBAR
   ========================================================= */

.ort-audio-sidebar {
    position: sticky;
    top: 92px;

    overflow: hidden;

    border:
        1px solid
        rgba(201, 149, 61, .30);

    border-radius: 12px;

    background: #fbf4e4;

    box-shadow:
        0 7px 22px
        rgba(91, 57, 17, .06);
}


.ort-audio-sidebar-brand {
    padding: 18px 18px 13px;

    border-bottom:
        1px solid
        rgba(112, 67, 19, .14);
}


.ort-audio-sidebar-brand strong {
    display: block;

    color: #704313;

    font-family:
        "Monomakh",
        "Ponomar",
        Georgia,
        serif;

    font-size: 24px;
    font-weight: 400;
    line-height: 1.05;
}


.ort-audio-sidebar-brand span {
    display: block;

    margin-top: 5px;

    color: #876f56;

    font-size: 12px;
    line-height: 1.3;
}


.ort-audio-sidebar-donate {
    display: block;

    width: fit-content;

    margin: 10px 18px 12px;
    padding: 6px 11px;

    border:
        1px solid
        rgba(112, 67, 19, .45);

    border-radius: 6px;

    color: #704313;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;
}


.ort-audio-sidebar-donate:hover {
    background: #fff9ea;
}


/* =========================================================
   AUDIO MENU
   ========================================================= */

.ort-audio-menu {
    padding: 4px 8px 12px;
}


.ort-audio-menu-main,
.ort-audio-menu summary {
    position: relative;

    display: flex;
    align-items: center;
    gap: 7px;

    width: 100%;

    padding: 7px 9px;

    border-radius: 6px;

    color: #49382a;

    font-size: 14px;
    line-height: 1.25;

    text-decoration: none;

    cursor: pointer;

    box-sizing: border-box;
}


.ort-audio-menu-main.is-active {
    background: #fff;

    color: #704313;

    font-weight: 700;
}


.ort-audio-menu-main:hover,
.ort-audio-menu summary:hover {
    background: rgba(255,255,255,.72);
}


.ort-audio-menu-dot {
    flex: 0 0 auto;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #d9aa45;
}


.ort-audio-menu details {
    margin: 0;
}


.ort-audio-menu summary {
    list-style: none;
}


.ort-audio-menu summary::-webkit-details-marker {
    display: none;
}


.ort-audio-menu-arrow {
    position: relative;

    flex: 0 0 auto;

    width: 8px;
    height: 8px;
}


.ort-audio-menu-arrow::before {
    position: absolute;

    top: 1px;
    left: 1px;

    width: 6px;
    height: 6px;

    border-right:
        1.5px solid #7e6548;

    border-bottom:
        1.5px solid #7e6548;

    content: "";

    transform:
        rotate(-45deg);

    transition:
        transform .15s ease;
}


.ort-audio-menu details[open]
> summary
> .ort-audio-menu-arrow::before {
    transform:
        rotate(45deg);
}


.ort-audio-submenu {
    display: grid;

    gap: 1px;

    padding:
        1px 8px
        6px 25px;
}


.ort-audio-submenu > span,
.ort-audio-submenu > details > summary {
    display: block;

    padding: 4px 3px;

    color: #65513f;

    font-size: 12.5px;
    line-height: 1.25;
}


.ort-audio-submenu > details > summary {
    display: flex;
    padding-left: 0;
}


.ort-audio-submenu-level2 {
    display: grid;

    padding:
        0 0
        4px 16px;
}


.ort-audio-submenu-level2 span {
    padding: 3px 0;

    color: #79634e;

    font-size: 12px;
}


/* =========================================================
   POPULAR
   ========================================================= */

.ort-audio-popular {
    display: grid;

    gap: 6px;

    margin: 7px 12px 14px;
    padding: 13px;

    border-top:
        1px solid
        rgba(112, 67, 19, .14);
}


.ort-audio-popular h3 {
    margin: 0 0 4px;

    color: #704313;

    font-size: 14px;
}


.ort-audio-popular span {
    color: #725e4a;

    font-size: 11.5px;
    line-height: 1.25;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.ort-audio-content {
    min-width: 0;
}


.ort-radio-heading {
    max-width: 760px;

    margin:
        0 auto
        28px;

    text-align: center;
}


.ort-radio-heading h1 {
    margin:
        7px 0
        12px;

    color: #704313;

    font-family:
        "Monomakh",
        "Ponomar",
        Georgia,
        serif;

    font-size: 39px;
    font-weight: 400;
}


.ort-radio-heading p {
    max-width: 690px;

    margin: 0 auto;

    font-size: 16px;
    line-height: 1.55;
}


/* =========================================================
   PLAYER
   ========================================================= */

.ort-radio-player {
    max-width: 760px;

    margin:
        0 auto
        26px;

    padding:
        20px 22px;

    border:
        1px solid
        rgba(201, 149, 61, .38);

    border-radius: 13px;

    background: #fffdf8;

    box-shadow:
        0 8px 25px
        rgba(91, 57, 17, .06);
}


.ort-radio-now {
    display: flex;
    align-items: center;
    gap: 15px;

    margin-bottom: 16px;
}


.ort-radio-now-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 60px;
    height: 60px;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #fff5ce,
            #efd38a
        );

    color: #8a571a;
}


.ort-radio-now small {
    display: block;

    margin-bottom: 4px;

    color: #8c7760;

    font-size: 13px;
}


.ort-radio-now strong {
    display: block;

    color: #3b2c20;

    font-size: 19px;
    line-height: 1.3;
}


.ort-radio-controls {
    display: grid;

    grid-template-columns:
        52px
        minmax(150px, 1fr)
        minmax(170px, auto);

    align-items: center;
    gap: 15px;
}


.ort-radio-play {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 50px;
    height: 50px;

    border:
        1px solid #d7a342;

    border-radius: 50%;

    background:
        linear-gradient(
            145deg,
            #f7dd92,
            #d4a441
        );

    color: #5b3810;

    font-size: 18px;

    cursor: pointer;
}


.ort-radio-play.is-playing {
    color: #1f5faf;
}


.ort-radio-volume {
    display: flex;
    align-items: center;
    gap: 8px;

    min-width: 0;
}


.ort-radio-volume input {
    width: 100%;

    accent-color: #9b6b25;
}


.ort-radio-status {
    color: #766451;

    font-size: 13px;
    line-height: 1.3;
}


/* =========================================================
   RADIO LIST
   ========================================================= */

.ort-radio-stations {
    max-width: 760px;

    margin: 0 auto;
}


.ort-radio-stations h2 {
    margin:
        0 0
        12px;

    color: #704313;

    font-family:
        "Monomakh",
        Georgia,
        serif;

    font-size: 30px;
    font-weight: 400;

    text-align: center;
}


.ort-radio-station-list {
    overflow: hidden;

    border:
        1px solid
        rgba(201, 149, 61, .32);

    border-radius: 10px;

    background: #fff;
}


.ort-radio-station {
    display: grid;

    grid-template-columns:
        34px
        minmax(0, 1fr)
        34px;

    align-items: center;

    width: 100%;
    min-height: 43px;

    padding:
        8px 11px;

    border: 0;

    border-bottom:
        1px solid
        rgba(112, 67, 19, .12);

    background: #fff;

    color: #35291f;

    font: inherit;
    font-size: 14px;

    text-align: left;

    cursor: pointer;
}


.ort-radio-station:last-child {
    border-bottom: 0;
}


.ort-radio-station:hover {
    background: #fff9e9;
}


.ort-radio-station.is-active {
    background: #fff3cf;

    color: #704313;

    font-weight: 600;
}


.ort-radio-station-number {
    color: #a47735;
}


.ort-radio-station-speaker {
    text-align: center;
}


/* =========================================================
   TOOLS
   ========================================================= */

.ort-radio-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    max-width: 760px;

    margin:
        15px auto
        0;

    padding:
        14px 16px;

    border-radius: 10px;

    background: #fff8e8;
}


.ort-radio-sleep {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;

    font-size: 13px;
}


.ort-radio-sleep select {
    min-height: 34px;

    padding: 4px 7px;

    border:
        1px solid
        rgba(112, 67, 19, .25);

    border-radius: 6px;

    background: #fff;
}


.ort-radio-m3u {
    color: #704313;

    font-weight: 600;

    white-space: nowrap;
}


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

@media (max-width: 900px) {

    .ort-audio-shell {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    .ort-audio-sidebar {
        position: static;

        width: 100%;
    }


    .ort-audio-menu {
        max-height: 430px;

        overflow-y: auto;
    }
}


@media (max-width: 620px) {

    .ort-audio-page {
        padding:
            20px 0
            45px;
    }


    .ort-radio-heading h1 {
        font-size: 32px;
    }


    .ort-radio-player {
        padding:
            17px 14px;
    }


    .ort-radio-controls {
        grid-template-columns:
            50px
            minmax(0, 1fr);

        gap: 11px;
    }


    .ort-radio-status {
        grid-column:
            1 / -1;
    }


    .ort-radio-tools {
        flex-direction: column;

        align-items: flex-start;
    }


    .ort-radio-station {
        font-size: 13px;
    }
}


/* =========================================================
   ORTHODOX AUDIO LIBRARY ENGINE V1
   ========================================================= */

.ort-audio-submenu-link {
    display: block;
    padding: 4px 3px;
    color: #65513f;
    font-size: 12.5px;
    line-height: 1.25;
    text-decoration: none;
}

.ort-audio-submenu-link:hover,
.ort-audio-submenu-link.is-active {
    color: #704313;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}


.ort-library-heading {
    margin: 0 0 22px;
}

.ort-library-heading .eyebrow {
    display: block;
    margin-bottom: 6px;
}

.ort-library-heading h1 {
    margin: 0 0 7px;
    color: #704313;
    font-family:
        "Monomakh",
        "Ponomar",
        Georgia,
        serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.12;
}

.ort-library-heading p {
    margin: 0;
    color: #6d5945;
}

.ort-library-back {
    display: inline-block;
    margin-bottom: 12px;
    color: #704313;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}


.ort-library-albums {
    display: grid;
    gap: 10px;
}

.ort-library-album {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    align-items: center;
    gap: 12px;

    padding: 13px 15px;

    border: 1px solid rgba(201,149,61,.28);
    border-radius: 9px;

    background: #fff;

    color: #3e3024;
    text-decoration: none;
}

.ort-library-album:hover {
    background: #fff8e7;
    border-color: rgba(201,149,61,.52);
}

.ort-library-album-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border-radius: 50%;

    background: #fff0c6;
    color: #8a571a;

    font-size: 22px;
}

.ort-library-album-copy {
    min-width: 0;
}

.ort-library-album-copy strong {
    display: block;
    margin-bottom: 3px;

    font-size: 15px;
    line-height: 1.3;
}

.ort-library-album-copy small {
    color: #8a735b;
}


.ort-library-player {
    margin-bottom: 12px;
    padding: 14px;

    border: 1px solid rgba(201,149,61,.36);
    border-radius: 9px;

    background: #fffaf0;
}

.ort-library-player-top {
    display: flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 9px;
}

.ort-library-play,
.ort-library-skip {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    padding: 0;

    border: 1px solid #d1a04a;
    border-radius: 50%;

    background: #fff;
    color: #704313;

    cursor: pointer;
}

.ort-library-play.is-playing {
    color: #1f5faf;
}

.ort-library-speed {
    min-height: 34px;
    margin-left: 4px;

    border: 1px solid rgba(112,67,19,.25);
    border-radius: 5px;

    background: #fff;
}

.ort-library-current {
    margin-bottom: 8px;

    color: #49382a;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
}

.ort-library-timeline {
    display: grid;

    grid-template-columns:
        42px
        minmax(0, 1fr)
        48px;

    align-items: center;
    gap: 7px;

    margin-bottom: 8px;

    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.ort-library-timeline input {
    width: 100%;
    accent-color: #9b6b25;
}

.ort-library-volume {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ort-library-volume input {
    width: min(260px, 80%);
    accent-color: #9b6b25;
}

.ort-library-status {
    margin-top: 7px;

    color: #7a6754;

    font-size: 11.5px;
}


.ort-library-track-list {
    overflow: hidden;

    border: 1px solid rgba(112,67,19,.20);
    border-radius: 8px;

    background: #fff;
}

.ort-library-track {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        58px
        30px;

    align-items: center;
    gap: 8px;

    width: 100%;

    padding: 9px 10px;

    border: 0;
    border-bottom:
        1px solid rgba(112,67,19,.13);

    background: #fff;

    color: #35291f;

    font: inherit;
    font-size: 13px;

    text-align: left;

    cursor: pointer;
}

.ort-library-track:last-child {
    border-bottom: 0;
}

.ort-library-track:hover {
    background: #fff9e9;
}

.ort-library-track.is-active {
    background: #fff0c6;
    color: #704313;
    font-weight: 600;
}

.ort-library-track-length {
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.ort-library-track-speaker {
    text-align: center;
}


.ort-library-message {
    padding: 20px;

    border: 1px solid rgba(201,149,61,.30);
    border-radius: 9px;

    background: #fffaf0;
}


@media (max-width: 620px) {

    .ort-library-heading h1 {
        font-size: 28px;
    }

    .ort-library-album {
        grid-template-columns:
            44px
            minmax(0, 1fr);

        padding: 11px;
    }

    .ort-library-album-icon {
        width: 38px;
        height: 38px;
    }

    .ort-library-track {
        grid-template-columns:
            minmax(0, 1fr)
            50px
            26px;

        font-size: 12px;
    }
}


/* ===== AUDIO MENU LINK NORMALIZATION V1 ===== */

.ort-audio-summary-link {
    flex: 1 1 auto;
    min-width: 0;

    color: inherit;

    text-decoration: none;
}

.ort-audio-summary-link:hover,
.ort-audio-summary-link.is-active {
    color: #704313;

    font-weight: 700;
}

.ort-audio-submenu-level2
> .ort-audio-submenu-link {
    padding: 3px 0;

    color: #79634e;

    font-size: 12px;
}
