/* Fonts */
@font-face {
    font-family: VelaSans;
    src: url(https://cdn-cabinet.ua.news/assets-front/articles/4/fonts/VelaSans-Regular.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: VelaSans;
    src: url(https://cdn-cabinet.ua.news/assets-front/articles/4/fonts/VelaSans-Light.ttf) format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: VelaSans;
    src: url(https://cdn-cabinet.ua.news/assets-front/articles/4/fonts/VelaSans-Medium.ttf) format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: VelaSans;
    src: url(https://cdn-cabinet.ua.news/assets-front/articles/4/fonts/VelaSans-SemiBold.ttf) format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: VelaSans;
    src: url(https://cdn-cabinet.ua.news/assets-front/articles/4/fonts/VelaSans-Bold.ttf) format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: VelaSans;
    src: url(https://cdn-cabinet.ua.news/assets-front/articles/4/fonts/VelaSans-ExtraBold.ttf) format("truetype");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: VelaSans;
    src: url(https://cdn-cabinet.ua.news/assets-front/articles/4/fonts/VelaSans-ExtraLight.ttf) format("truetype");
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

/* CSS Variables */
:root {
    --grey-sep: #E7E7E7;
    --black: #000;
    --grey: #7C7C7C;
    --red: #D23223;
    --white: #FFF;
    --white-60: #ffffff99;
    --dark-bg: #2B2A29;
    --dark-text: #1A1A1A;
    --gold: #EAD295;
    --green: #12403C;
    --blue: #233657;
    --beige: #B28463;
    --very-dark-desaturated-blue-20: rgba(26, 26, 26, 0.20);
    --very-dark-desaturated-blue-40: rgba(26, 26, 26, 0.40);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'VelaSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--dark-text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.web{
    display: block;
}
.mob{
    display: none;
}

h2 {
    font-size: 48px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
}

h3 {
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
}
p.subhead {
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}
p{
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}

/* Container */
.container {
    width: 100%;
    max-width: calc(1272px + 24px);
    margin: 0 auto;
    padding: 0 12px;
}

.container-wide {
    width: 100%;
    max-width: calc(1272px + 24px);
    margin: 0 auto;
    padding: 0 12px;
}

.logo {
    position: relative;
    width: 151px;
    height: 32px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 590px;
    display: flex;
    justify-content: center;
    overflow: hidden;
    background-color: #12403c;
    background-image: url(https://cdn-cabinet.ua.news/assets-front/articles/4/images/hero-waves.webp);
    background-position: right;
    background-repeat: no-repeat;
    background-size: contain;
    padding: 60px 84px 60px;
    margin-top: 128px;
}

header {
    top: 0;
}

.hero-content {
    gap: 30px;
    max-width: 1155px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
    margin: 0 auto;
    height: 100%;
}
.hero-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-breadcrumbs .hero-content-type {
    font-weight: 500;
    font-size: clamp(14px, 2vw, 18px);
    line-height: 140%;
    text-transform: uppercase;
    color: var(--white);
}
.hero-breadcrumbs .hero-category {
    font-weight: 500;
    font-size: clamp(14px, 2vw, 18px);
    line-height: 140%;
    text-transform: uppercase;
    color: var(--white-60);
}
.hero-title {
    font-weight: 600;
    font-size: 64px;
    line-height: 120%;
    letter-spacing: 0;
    text-align: left;
    color: var(--gold);
    max-width: 786px;
}
.hero-author-info{
    display: flex;
    gap: 25px;
    margin-top: auto;
}
.hero-author-info img{
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-position: center;
}
.hero-author-info p{
    color: var(--white);
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    max-width: 468px;
    text-align: left;
}
.hero-meta {
    border-top: 1px solid #ffffff33;
    padding-top: 30px;
    width: 640px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hero-meta .hero-meta-date {
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    color: var(--white-60);
}
.hero-meta .hero-meta-social {
    margin-top: auto;
    display: flex;
    gap: 24px;
}

/*Intro section*/
.intro-section{
    padding-top: 80px;
    padding-bottom: 80px;
}
.intro-section img{
    width: 230px;
    height: 40px;
    aspect-ratio: 23/4;
    margin-bottom: 60px;
}
.intro-section .intro-content{
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width:  636px;
    color: var(--dark-text);
}

/*Topics section*/
.topics-section{
    padding-bottom: 80px;
    background-image: url(https://cdn-cabinet.ua.news/assets-front/articles/4/images/gold-flower.webp);
    background-position: left 40%;
    background-repeat: no-repeat;
    background-size: 66%;
}
.topics-section .container{
    padding-top: 80px;
    border-top: 1px solid var(--very-dark-desaturated-blue-20);
}
.topics-section .topics-content{
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 50%;
    margin-left: auto;
}
.topics-section .topics-content p{
    color: var(--green);
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
}
.topics-section .topics-content p:last-child{
    color: var(--very-dark-desaturated-blue-40);
    font-size: 24px;
    font-weight: 500;
}
.topics-section .topics-content p:last-child span{
    color: var(--dark-text);
}

/*Full image section*/
.full-image-section{
    aspect-ratio: 1443/600;
    width: 100%;
}
.full-image-section.smaller-height{
    aspect-ratio: 1443/570;
    width: 100%;
}
.full-image-section img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/*Where to start section*/
.where-to-start-section,
.advices-section{
    padding: 80px 0;
    background-color: var(--gold);
}
.where-to-start-section h2,
.advices-section h2{
    margin-bottom: 40px;
}
.advices-section h2{
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}
.where-to-start-section p.subhead,
.advices-section p.subhead{
    margin-bottom: 20px;
    max-width: 970px;
}
.advices-section p.subhead{
    max-width: 780px;
}
.where-to-start-section p{
    max-width: 970px;
}
.advices-section p{
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

/*Key steps section*/
.key-steps-section{
    padding: 80px 0;
    background-color: var(--dark-bg);
}
.key-steps-section h2{
    margin-bottom: 40px;
    color: var(--white);
    max-width: 990px;
}
.key-steps-section p.subhead{
    margin-bottom: 20px;
    color: var(--gold);
    max-width: 970px;
}
.key-steps-section p{
    color: var(--white);
    max-width: 970px;
}

/*Key agencies section*/
.key-agencies-section{
    padding: 80px 0;
}
.key-agencies-section h2{
    margin-bottom: 40px;
}
.key-agencies-section p{
    max-width: 970px;
}

/*Answers slider section*/
.answers-slider-section{
    width: 100%;
    padding: 80px 0;
    background-color: var(--green);
    position: relative;
    min-height: 773px;
}

.answers-slider-section .container {
    display: flex;
}
.answers-slider-section .preview{
    width: 50%;
    padding-right: 60px;
    aspect-ratio: 636/613;
}
.answers-slider-section .preview img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.answers-slider-section .content{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

}
.answers-slider-section .content .text-content{
    width: 100%;
    min-width: 100%;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.answers-slider-section .content .text-content.fade-out {
    opacity: 0;
}
.answers-slider-section .content .text-content h2{
    color: var(--gold);
    margin-bottom: 40px;
}
.answers-slider-section .content .text-content p{
    color: var(--white);
    margin-bottom: 20px;
}
.answers-slider-section .content .text-content p:last-child{
    margin-bottom: 0;
}
.answers-slider-section .content .control-buttons{
    margin-top: 29px;
    display: flex;
    gap: 20px
}
.answers-slider-section .content .left-control-button{
    transform: rotate(90deg);
    cursor: pointer;
}
.answers-slider-section .content .right-control-button{
    transform: rotate(-90deg);
    cursor: pointer;
}
.answers-slider-section .content .left-control-button svg path,
.answers-slider-section .content .right-control-button svg path{
    transition: stroke 0.3s ease-in-out;
}
.answers-slider-section .content .left-control-button:hover svg path,
.answers-slider-section .content .right-control-button:hover svg path{
    stroke: var(--gold);
}

/*Double columns section*/
.double-columns-section{
    padding: 80px 0;
}
.double-columns-section .container{
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.double-columns-section .container .content-column:first-child{
    padding-right: 80px;
}
.double-columns-section h3{
    margin-bottom: 30px;
}

/*Team selection section*/
.team-selection-section{
    padding: 80px 0;
    background-color: var(--dark-bg);
    background-image: url(https://cdn-cabinet.ua.news/assets-front/articles/4/images/waves-in-a-circle.webp);
    background-position: right top;
    background-repeat: no-repeat;
    background-size: 500px;
}
.team-selection-section h2{
    margin-bottom: 40px;
    max-width: 780px;
    color: var(--white);
}
.team-selection-section p{
    max-width: 780px;
    color: var(--white);
}
.team-selection-section .divider{
    width: 100%;
    height: 1px;
    background: var(--gold);
    margin: 80px 0;
}
.team-selection-section svg{
    width: 100%;
}

@media (max-width: 991px){
    .web{
        display: none;
    }
    .mob{
        display: block;
    }
    body section{
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 16px;
    }
    p.subhead {
        font-size: 16px;
    }
    p{
        font-size: 16px;
    }

    /* Container */
    .container {
        padding: 0 16px;
    }
    .container-narrow{
        margin: 0 auto;
        padding: 0 16px;
    }

    .container-wide {
        padding: 0 16px;
    }

    /* Hero Section */
    .hero-section{
        padding: 48px 0 32px;
        min-height: 362px;
        margin-top: 0;
        background-image: none
    }
    .hero-content {
        gap: 24px;
    }
    .hero-title {
        font-size: 20px;
        max-width: 200px;
    }
    .hero-author-info{
        gap: 16px;
        align-items: center;
    }
    .hero-author-info img{
        width: 48px;
        height: 48px;
    }
    .hero-author-info p{
        font-size: 14px;
    }
    .hero-meta {
        width: 100%;
        padding-top: 24px;
        flex-direction: column;
        align-items: start;
        gap: 24px
    }
    .hero-meta-social-item{
        height: 24px;
    }

    /*Intro section*/
    .intro-section{
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .intro-section img{
        width: 138px;
        height: 24px;
        margin: 0 auto 32px;
    }
    .intro-section .intro-content{
        gap: 24px;
        max-width:  636px;
    }

    /*Topics section*/
    .topics-section{
        padding-bottom: 48px;
        background-image: none;
    }
    .topics-section .container{
        padding-top: 32px;
    }
    .topics-section .topics-content{
        gap: 24px;
        max-width: 100%;
        margin-left: 0;
    }
    .topics-section .topics-content p{
        font-size: 16px;
    }
    .topics-section .topics-content p:last-child{
        font-size: 16px;
    }
    .topics-section .topics-content p br{
        display: none;
    }

    /*Full image section*/
    .full-image-section{
        aspect-ratio: 360/240;
    }
    .full-image-section.smaller-height{
        aspect-ratio: 360/240;
    }

    /*Where to start section*/
    .where-to-start-section,
    .advices-section{
        padding: 48px 0;
    }
    .where-to-start-section h2,
    .advices-section h2{
        margin-bottom: 24px;
    }
    .where-to-start-section p.subhead,
    .advices-section p.subhead{
        margin-bottom: 24px;
    }


    /*Key steps section*/
    .key-steps-section{
        padding: 48px 0;
    }
    .key-steps-section h2{
        margin-bottom: 24px;
    }
    .key-steps-section p.subhead{
        margin-bottom: 24px;
    }

    /*Key agencies section*/
    .key-agencies-section{
        padding: 48px 0;
    }
    .key-agencies-section h2{
        margin-bottom: 24px;
    }

    /*Answers slider section*/
    .answers-slider-section{
        padding: 16px 0 48px;
    }

    .answers-slider-section .container {
        flex-direction: column;
        gap: 48px
    }
    .answers-slider-section .preview{
        aspect-ratio: 328/356;
        width: 100%;
        padding-right: 0;
    }
    .answers-slider-section .content{
        width: 100%;
    }
    .answers-slider-section .content .text-content h2{
        margin-bottom: 24px;
    }
    .answers-slider-section .content .text-content p{
        margin-bottom: 24px;
    }
    .answers-slider-section .content .control-buttons{
        margin-top: 36px;
        gap: 24px
    }
    .answers-slider-section .content .left-control-button svg,
    .answers-slider-section .content .right-control-button svg{
        width: 34px;
        height: 34px;
    }

    /*Double columns section*/
    .double-columns-section{
        padding: 48px 0;
    }
    .double-columns-section .container{
        grid-template-columns: 1fr ;
        gap: 48px
    }
    .double-columns-section .container .content-column:first-child{
        padding-right: 0;
    }
    .double-columns-section h3{
        margin-bottom: 24px;
        font-size: 20px;

    }

    /*Team selection section*/
    .team-selection-section{
        padding: 48px 0;
        background-image: none;
    }
    .team-selection-section h2{
        margin-bottom: 24px;
    }
    .team-selection-section .divider{
        width: 100%;
        height: 1px;
        background: var(--gold);
        margin: 48px 0;
    }
    .team-selection-section svg{
        width: 100%;
    }
}
