/* ==========================================================
   AIKTOR AUDIO SAMPLES
========================================================== */

.aiktor-audio-section{
    width:100%;
}

.aiktor-audio-inner{
    width:100%;
    max-width:1280px;
    margin:0 auto;
}

/* ---------- HEADER ---------- */

.aiktor-audio-kicker{
    color:#049DD9;
    text-transform:uppercase;
    letter-spacing:.18em;
    font-size:13px;
    font-weight:700;
    text-align:center;
    margin-bottom:18px;
}

.aiktor-audio-title{
    color:#FFFFFF;
    font-size:64px;
    font-weight:800;
    text-align:center;
    margin:0 0 28px;
    line-height:1;
}

.aiktor-audio-intro{
    max-width:720px;
    margin:0 auto 70px;
    text-align:center;
    color:rgba(255,255,255,.75);
    font-size:20px;
    line-height:1.8;
}

/* ---------- GRID ---------- */

.aiktor-audio-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:28px;
    width:100%;
    margin:0 auto;
}

/* ---------- CARD ---------- */

.aiktor-audio-card{
    background:#1A1A1A;
    border:1px solid rgba(4,157,217,.18);
    border-radius:24px;
    padding:28px;
    color:#FFFFFF;
    height:auto;
    min-height:260px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    transition:.25s ease;
}

.aiktor-audio-card:hover{
    border-color:#049DD9;
    transform:translateY(-4px);
    box-shadow:
        0 0 0 1px rgba(4,157,217,.25),
        0 18px 40px rgba(0,0,0,.35);
}

/* ---------- CARD HEADER ---------- */

.aiktor-audio-card-header{
    display:flex;
    flex-wrap:wrap;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
}

/* ---------- TITLE ---------- */

.aiktor-audio-card h3{
    min-width:0;
    overflow-wrap:anywhere;
    margin:0;
    color:#FFFFFF !important;
    font-size:20px;
    font-weight:500;
    line-height:1.15;
    letter-spacing:-.02em;
}

.aiktor-audio-card h3 a{
    color:#FFFFFF !important;
    text-decoration:none;
}

/* ---------- CATEGORY BADGE ---------- */

.aiktor-audio-category{
    flex:0 0 auto;
    max-width:100%;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    height:auto;
    min-height:32px;

    padding:0 16px;

    border-radius:999px;

    border:1px solid rgba(4,157,217,.45);

    background:rgba(4,157,217,.08);

    color:#049DD9;

    font-size:13px;

    font-weight:700;

    letter-spacing:.08em;

    text-transform:uppercase;

    white-space:normal;
    text-align:center;
    overflow-wrap:anywhere;
}
/* ---------- HTML5 PLAYBACK PROGRESS ---------- */

.aiktor-waveform{
    width:100%;
    height:58px;
    margin:26px 0 24px;
    opacity:1;
    background:none;
    cursor:default;
    overflow:hidden;
}

.aiktor-audio-progress{
    display:block;
    width:100%;
    height:100%;
    min-height:34px;
    margin:0;
    padding:0 7px;
    appearance:none;
    -webkit-appearance:none;
    border:0;
    border-radius:0;
    background:transparent;
    cursor:pointer;
    box-sizing:border-box;
}

.aiktor-audio-progress:disabled{
    cursor:default;
    opacity:.65;
}

.aiktor-audio-progress:focus-visible{
    outline:2px solid #049DD9;
    outline-offset:-2px;
}

.aiktor-audio-progress::-webkit-slider-runnable-track{
    height:4px;
    border-radius:999px;
    background:linear-gradient(to right,#049DD9 0 var(--aiktor-audio-progress,0%),#2d5b73 var(--aiktor-audio-progress,0%) 100%);
}

.aiktor-audio-progress::-moz-range-track{
    height:4px;
    border-radius:999px;
    background:#2d5b73;
}

.aiktor-audio-progress::-moz-range-progress{
    height:4px;
    border-radius:999px;
    background:#049DD9;
}

.aiktor-audio-progress::-webkit-slider-thumb{
    width:14px;
    height:14px;
    margin-top:-5px;
    appearance:none;
    -webkit-appearance:none;
    border:0;
    border-radius:50%;
    background:#049DD9;
    box-shadow:0 0 0 3px rgba(4,157,217,.16);
}

.aiktor-audio-progress::-moz-range-thumb{
    width:14px;
    height:14px;
    border:0;
    border-radius:50%;
    background:#049DD9;
    box-shadow:0 0 0 3px rgba(4,157,217,.16);
}

/* ---------- PLAY BUTTON ---------- */

.aiktor-play-button{
    width:74px;
    height:74px;
    min-width:74px;
    min-height:74px;
    aspect-ratio:1 / 1;
    flex:0 0 74px;

    border-radius:50%;
    border:1px solid rgba(4,157,217,.9);
    background:rgba(255,255,255,.03);
    color:#FFFFFF;

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

    margin:0 auto;
    padding:0;

    cursor:pointer;
    font-size:22px;
    line-height:1;

    box-shadow:0 0 0 3px rgba(4,157,217,.12);
    transition:.25s ease;
}

.aiktor-play-button:hover,
.aiktor-play-button.is-playing{
    background:#049DD9;
    box-shadow:
        0 0 0 3px rgba(4,157,217,.18),
        0 0 24px rgba(4,157,217,.55);
    transform:scale(1.06);
}

.aiktor-play-icon{
    display:inline-block;
    margin-left:3px;
}

.aiktor-play-button.is-playing .aiktor-play-icon{
    margin-left:0;
    font-size:30px;
}

.aiktor-play-button *{
    line-height:1;
}

/* ---------- REMOVE NATIVE PLAYER IF PRESENT ---------- */

.aiktor-audio-card audio{
    display:none;
}

/* ---------- TABLET ---------- */

@media (max-width:1024px){
    .aiktor-audio-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .aiktor-audio-card{
        min-height:250px;
    }
}

/* ---------- MOBILE ---------- */

@media (max-width:767px){
    .aiktor-audio-title{
        font-size:44px;
    }

    .aiktor-audio-intro{
        font-size:17px;
        margin-bottom:50px;
    }

    .aiktor-audio-grid{
        grid-template-columns:1fr;
    }

    .aiktor-audio-card{
        height:auto;
        min-height:250px;
    }

    .aiktor-audio-card-header{
        flex-direction:column;
        gap:14px;
    }
}
