/* =========================================================
RELEASE HERO
========================================================= */

.release-hero{
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    align-items: center;
    padding: 28px 0 0;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.96), transparent 30%),
        radial-gradient(circle at bottom right, rgba(11,44,102,.12), transparent 34%),
        linear-gradient(135deg, #ffffff 0%, #f5f8ff 48%, #e7f2ff 100%);
}

.release-hero::before{
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 44%;
    background: linear-gradient(180deg, transparent 0%, rgba(255,255,255,.95) 92%);
    z-index: 2;
    pointer-events: none;
}

.release-hero .container{
    position: relative;
    z-index: 3;
    max-width: 1320px;
}

.release-hero .row.align-items-end{
    align-items: center !important;
}

.release-hero-content{
    padding-bottom: 0;
}

.release-hero-content h1{
    font-size: 58px;
    font-weight: 800;
    color: var(--color1);
    line-height: 1.08;
    margin-bottom: 22px;
    letter-spacing: -1px;
}

.release-hero-content p{
    max-width: 620px;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.9;
    color: var(--color1);
    margin: 0;
}

.release-show-hero-content h1{
    max-width: 680px;
    font-size: 42px;
    line-height: 1.18;
}

/* VISUAL */

.release-hero-visual{
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.release-hero-img{
    position: absolute;
    left: 0;
    right: 60px;
    bottom: 0;
    height: 78%;
    max-height: 78%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.release-hero-img img{
    width: auto;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

/* ANIMATION */

.fade-up{
    opacity: 0;
    animation: releaseFadeUp .85s ease forwards;
}

.fade-left{
    opacity: 0;
    animation: releaseFadeLeft .9s ease forwards;
}

@keyframes releaseFadeUp{
    from{
        opacity: 0;
        transform: translateY(42px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes releaseFadeLeft{
    from{
        opacity: 0;
        transform: translateX(44px);
    }
    to{
        opacity: 1;
        transform: translateX(0);
    }
}

/* RESPONSIVE */

@media(max-width:1199px){

    .release-hero{
        min-height: auto;
        padding: 36px 0 0;
    }

    .release-hero-content{
        padding-bottom: 32px;
    }

    .release-hero-content h1{
        font-size: 48px;
    }

    .release-show-hero-content h1{
        font-size: 36px;
    }

    .release-hero-visual{
        min-height: 460px;
    }
}

@media(max-width:991px){

    .release-hero{
        text-align: center;
        padding: 38px 0 0;
    }

    .release-hero-content{
        padding-bottom: 36px;
    }

    .release-hero-content h1{
        font-size: 40px;
    }

    .release-show-hero-content h1{
        font-size: 32px;
    }

    .release-hero-content p{
        margin-left: auto;
        margin-right: auto;
    }

    .release-hero-visual{
        min-height: auto;
        flex-direction: column;
        align-items: center;
    }

    .release-hero-img{
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        height: auto;
        max-height: none;
        margin-bottom: -2px;
        justify-content: center;
        pointer-events: auto;
        z-index: 4;
    }

    .release-hero-img img{
        width: auto;
        height: auto;
        max-height: 430px;
        object-position: bottom center;
    }
}

@media(max-width:768px){

    .release-hero{
        padding-top: 34px;
    }

    .release-hero-content h1{
        font-size: 34px;
    }

    .release-show-hero-content h1{
        font-size: 28px;
    }

    .release-hero-content p{
        font-size: 15px;
        line-height: 1.8;
    }

    .release-hero-img img{
        max-height: 340px;
    }
}

@media(max-width:480px){

    .release-hero-content h1{
        font-size: 31px;
    }

    .release-show-hero-content h1{
        font-size: 26px;
    }

    .release-hero-img img{
        max-height: 300px;
    }
}

/* =========================================================
RELEASE MAIN SECTION
========================================================= */

.release-main-section{
    position: relative;
    overflow: hidden;
    padding: 72px 0 82px;
    background:
        radial-gradient(circle at top left, rgba(32,160,160,.07), transparent 28%),
        radial-gradient(circle at bottom right, rgba(11,44,102,.07), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f8fbff 50%, #eef7ff 100%);
}

.release-list-wrapper{
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(11,44,102,.08);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 16px 42px rgba(11,44,102,.07);
}

.release-list-wrapper h2{
    font-size: 26px;
    font-weight: 800;
    color: var(--color1);
    margin-bottom: 22px;
}

.release-search{
    position: relative;
    margin-bottom: 24px;
}

.release-search input{
    width: 100%;
    height: 54px;
    border-radius: 12px;
    border: 1px solid rgba(11,44,102,.14);
    background: rgba(255,255,255,.82);
    padding: 0 58px 0 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--color1);
    outline: none;
    transition: var(--transition);
}

.release-search input:focus{
    border-color: var(--color1);
    box-shadow: 0 10px 26px rgba(11,44,102,.08);
}

.release-search button{
    position: absolute;
    right: 12px;
    top: 50%;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: rgba(11,44,102,.55);
    font-size: 20px;
}

.release-list{
    display: grid;
    gap: 18px;
}

.release-item{
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 26px;
    padding: 18px;
    border: 1px solid rgba(11,44,102,.08);
    border-radius: 20px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 14px 34px rgba(11,44,102,.06);
    opacity: 0;
    transform: translateY(22px);
    animation: releaseItemIn .7s ease forwards;
    animation-delay: var(--delay);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.release-item:hover{
    transform: translateY(-6px);
    border-color: rgba(15,158,158,.18);
    box-shadow: 0 24px 54px rgba(11,44,102,.12);
}

.release-item-img{
    position: relative;
    overflow: hidden;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    background:
        radial-gradient(circle at top left, rgba(245,197,24,.18), transparent 38%),
        linear-gradient(135deg, rgba(11,44,102,.08), rgba(15,158,158,.10));
}

.release-item-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

.release-item:hover .release-item-img img{
    transform: scale(1.07);
}

.release-item-content{
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.release-badge{
    width: fit-content;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
}

.release-badge.blue{
    background: rgba(45,139,255,.12);
    color: #1f7ae0;
}

.release-badge.green{
    background: rgba(15,158,158,.12);
    color: #0f9e9e;
}

.release-badge.purple{
    background: rgba(117,82,200,.12);
    color: #7552c8;
}

.release-badge.orange{
    background: rgba(255,136,45,.13);
    color: #ff842d;
}

.release-item-content h3{
    font-size: 21px;
    font-weight: 800;
    line-height: 1.38;
    color: var(--color1);
    margin-bottom: 9px;
}

.release-item-content h3 a{
    color: inherit;
}

.release-item-content h3 a:hover{
    color: #0f9e9e;
}

.release-item-content p{
    font-size: 13.5px;
    line-height: 1.7;
    color: var(--color5);
    margin-bottom: 18px;
}

.release-item-footer{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.release-meta{
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.release-meta span{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(11,44,102,.62);
}

.release-link{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    color: var(--color1);
    font-size: 13px;
    font-weight: 800;
}

.release-link i{
    font-size: 17px;
    transition: var(--transition);
}

.release-link:hover{
    color: #0f9e9e;
}

.release-link:hover i{
    transform: translateX(6px);
}

.release-sidebar{
    position: sticky;
    top: 120px;
    align-self: flex-start;
    margin-top: 0;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(11,44,102,.08);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 16px 42px rgba(11,44,102,.07);
}

.release-sidebar h3{
    font-size: 24px;
    font-weight: 800;
    color: var(--color1);
    margin-bottom: 20px;
}

.release-category-list{
    margin-bottom: 0;
}

.release-category-item{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(11,44,102,.10);
    color: var(--color1);
}

.release-category-item:last-child{
    border-bottom: none;
}

.release-category-item span{
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 700;
}

.release-category-item i{
    width: 22px;
    text-align: center;
    color: var(--color1);
    font-size: 17px;
}

.release-category-item strong{
    min-width: 38px;
    height: 30px;
    border-radius: 50px;
    background: rgba(11,44,102,.05);
    color: var(--color1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
}

.release-category-item:hover{
    color: #0f9e9e;
}

@keyframes releaseItemIn{
    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width:991px){

    .release-main-section{
        padding: 62px 0 70px;
    }

    .release-sidebar{
        position: relative;
        top: auto;
    }
}

@media(max-width:768px){

    .release-main-section{
        padding: 52px 0 60px;
    }

    .release-list-wrapper{
        padding: 22px;
        border-radius: 20px;
    }

    .release-list-wrapper h2{
        font-size: 23px;
    }

    .release-item{
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 16px;
    }

    .release-item-content h3{
        font-size: 18px;
    }

    .release-item-footer{
        align-items: flex-start;
        flex-direction: column;
    }

    .release-link{
        margin-top: 2px;
    }
}

@media(max-width:480px){

    .release-list-wrapper{
        padding: 18px;
    }

    .release-item{
        text-align: center;
    }

    .release-badge,
    .release-meta,
    .release-link{
        margin-left: auto;
        margin-right: auto;
    }

    .release-meta{
        justify-content: center;
    }

    .release-sidebar{
        padding: 24px 20px;
    }
}

/* =========================================================
SHOW RELEASE CONTENT
========================================================= */

.release-show-wrapper{
    max-width: 920px;
    margin: 0 auto;
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(11,44,102,.08);
    border-radius: 22px;
    padding: 36px 42px 34px;
    box-shadow: 0 16px 42px rgba(11,44,102,.07);
}

.release-back-link{
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
    color: var(--color1);
    font-size: 14px;
    font-weight: 800;
}

.release-back-link:hover{
    color: #0f9e9e;
    transform: translateX(-4px);
}

.release-show-category{
    width: fit-content;
    padding: 10px 18px;
    border-radius: 10px;
    background: rgba(45,139,255,.12);
    color: #1f7ae0;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 24px;
}

.release-show-wrapper h1{
    font-size: 40px;
    line-height: 1.22;
    font-weight: 800;
    color: var(--color1);
    letter-spacing: -.7px;
    margin-bottom: 28px;
}

.release-show-meta-share{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.release-show-meta{
    display: flex;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
}

.release-show-meta span{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(11,44,102,.65);
    font-size: 14px;
    font-weight: 600;
}

.release-show-cover{
    overflow: hidden;
    margin-top: 30px;
    border-radius: 18px;
    aspect-ratio: 16 / 9;
    background:
        radial-gradient(circle at top left, rgba(245,197,24,.18), transparent 38%),
        linear-gradient(135deg, rgba(11,44,102,.08), rgba(15,158,158,.10));
}

.release-show-cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.release-show-divider{
    height: 1px;
    background: rgba(11,44,102,.12);
    margin: 32px 0;
}

.release-show-content{
    color: var(--color1);
}

.release-show-content p{
    font-size: 16px;
    line-height: 1.9;
    color: var(--color5);
    margin-bottom: 18px;
}

.release-show-content strong{
    color: var(--color1);
    font-weight: 800;
}

.release-show-content h3{
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 14px;
    font-size: 16px;
    font-weight: 800;
    color: var(--color1);
}

.release-show-content h3 i{
    color: #0f9e9e;
}

.release-show-content ul{
    margin: 0 0 26px;
    padding-left: 24px;
}

.release-show-content li{
    font-size: 15px;
    line-height: 1.85;
    color: var(--color5);
}

.release-highlight-box{
    padding: 20px 24px;
    margin: 28px 0;
    border-radius: 14px;
    background: rgba(15,158,158,.08);
    border: 1px solid rgba(15,158,158,.14);
}

.release-highlight-box strong{
    display: block;
    margin-bottom: 8px;
    color: #0f9e9e;
    font-size: 15px;
}

.release-highlight-box span{
    display: block;
    font-size: 14px;
    line-height: 1.75;
    color: var(--color5);
}

.release-navigation{
    margin-top: 34px;
    border-radius: 14px;
    border: 1px solid rgba(11,44,102,.10);
    background: rgba(255,255,255,.8);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.release-nav-item{
    min-height: 94px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--color1);
}

.release-nav-item.next{
    justify-content: flex-end;
    text-align: right;
    border-left: 1px solid rgba(11,44,102,.12);
}

.release-nav-item i{
    font-size: 18px;
    transition: var(--transition);
}

.release-nav-item span{
    display: block;
    font-size: 12px;
    font-weight: 800;
    color: rgba(11,44,102,.65);
    margin-bottom: 6px;
}

.release-nav-item strong{
    display: block;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
}

.release-nav-item:hover{
    background: rgba(15,158,158,.06);
    color: #0f9e9e;
}

.release-nav-item.prev:hover i{
    transform: translateX(-5px);
}

.release-nav-item.next:hover i{
    transform: translateX(5px);
}

@media(max-width:768px){

    .release-show-wrapper{
        padding: 30px 22px;
        border-radius: 20px;
    }

    .release-show-wrapper h1{
        font-size: 30px;
    }

    .release-show-meta{
        gap: 18px;
    }

    .release-show-meta-share{
        align-items: flex-start;
    }

    .release-navigation{
        grid-template-columns: 1fr;
    }

    .release-nav-item.next{
        border-left: none;
        border-top: 1px solid rgba(11,44,102,.12);
    }
}

@media(max-width:480px){

    .release-show-wrapper h1{
        font-size: 26px;
    }

    .release-show-content p,
    .release-show-content li{
        font-size: 14px;
    }

    .release-nav-item,
    .release-nav-item.next{
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
}
