body {
    margin: 0;
    font-family: "Jost", sans-serif;
}

.content-container {
    display: flex;
    flex-direction: column;
}

.media-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.media-block-hero {
    display: grid;
    overflow: hidden;
}

.media-block-hero > * {
    grid-column: 1;
    grid-row: 1;
}

.hero-image{
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    width: 100%;
    justify-self: center;
    transform: rotate(6deg);
    margin-top: 3rem;
}

.hero-logo{
    width: 65px;
}

.editorial-logo-link {
    justify-self: center;
    align-self: center;
    z-index: 2;
    transform: translateY(-39px) translateX(4px);
}

.hero-image-desktop,
.image-secondary-desktop,
.feature-image.desktop,
.gallery-image.desktop,
.full-image-desktop,
.gallery-img-desktop  {
    display: none;
}

.media-block.block-2 {
    justify-content: center;
    align-items:  center;
}

.image-secondary-mobile {
    width: 80%;
    height: auto;
    display: block;
}

.text-block {
    text-align: end;
    padding: 1rem 2rem 3rem;
}

.heading-xl {
    font-size: 100px;
    font-weight: normal;
    line-height: 80px;
    letter-spacing: -0.1em;
    color: #FFA4D9;
}

.editorial-credits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 15px;
    letter-spacing: -0.08em;
    color: #000;
}

.body-text {
    margin: 8rem 1rem;
    text-align: center;
    font-size: 26px;
    font-weight: 300;
    line-height: 30px;
    letter-spacing: -0.05em;
    color: #000;
}

/*sekcije s intevjuima */
.feature-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    padding: 3rem 1rem;
}

.feature-top {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-media img {
    width: 100%;
    display: block;
}

.feature-text {
    padding: 0 0.5rem;
}

.qa-item {
    margin-bottom: 1.3rem;
}

.qa-item h3,
.qa-item p  {
    font-family: "Archivo", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 25px;
    margin: 0;
}

.qa-item h3 {
    font-weight: 800;
}

.feature-gallery {
    display: flex;
    flex-direction: column;
    gap: 2.5em;
}

.feature-title {
    font-size: 65px;
    line-height: 65px;
    font-weight: 400;
    letter-spacing: -0.05em;
    color: #FFA4D9;
    margin-bottom: 0;
}

.feature-image,
.gallery-image {
    width: 100%;
    display: block;
}

.feature-full-image {
    display: grid;
}

.feature-full-image > * {
    grid-column: 1;
    grid-row: 1;
}

.full-image {
    width: 100%;
    display: block;
}

.full-image-text {
    align-self: start;
    justify-self: center;
    padding: 2rem 1.5rem;
    text-align: center;
    max-width: 600px;
}

.full-image-text.second-section {
    padding: 7.5rem 1.5rem;
}

.full-image-text p {
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: -0.05em;
    color: #FFA4D9;
}

.full-image-mobile {
    display: block;
}

.full-image-text.third-section {
    max-width: 300px;
    padding: 6rem 1.5rem 0;
}

.full-image-text.fourth-section {
    max-width: 300px;
}

.gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 6rem 0;
}

.gallery-card {
    width: 100%;
}

.gallery-img {
    width: 100%;
}

/* video sekcija */
.video-section {
    width: 100%;
    margin: 5rem 0;
}

.video-section video {
    width: 100%;
    height: auto;
}

.video-mobile {
    display: block;
}

/* zadnja sekcija */
.editorial-end-section {
    display: grid;
    align-items: end;
}

.editorial-end-section > * {
    grid-column: 1;
    grid-row: 1;
}

.editorial-bottom {
    text-align: center;
}

.editorial-quote-mobile {
    display: block;
    width: 80%;
    margin: 0 auto;
    transform: translateY(68px);
}

.editorial-quote-desktop {
    display: none;
}

/* slike */

.editorial-top {
    align-self: start;
    justify-self: end;
    padding: 0 2rem;
    text-align: center;
}

.heading-the,
.heading-end {
    font-size: 35px;
    font-weight: 400;
    line-height: 50px;
    letter-spacing: -0.1em;
    color: #000;
}

.heading-end {
    font-size: 64px;
}

.editorial-credits.end {
    text-align: left;
    font-size: 10px;
    line-height: 10px;
}

.editorial-bottom {
    justify-self: center;
    text-align: center;
    padding-bottom: 2rem;
    width: 100%;
}


.editorial-logo {
    width: 69px;
    display: block;
    margin: 0 auto;
    transform: translateY(20px);
}


.editorial-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: white;
}

.editorial-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.editorial-social a:hover {
    opacity: 0.7;
}

.editorial-social a {
    color: white;
}

.icon {
  width: 15px;
  height: 15px;
}



/* desktop*/

@media (min-width: 1024px) {
    .content-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        column-gap: 3rem;
    }

    .media-block-hero {
        grid-column: 1 / -1;
    }

    .hero-image-mobile {
        display: none;
    }

    .hero-image-desktop {
        display: block;
    }

    .hero-overlay {
        width: 55%;
    }

    .hero-logo {
        width: 130px;
        /* transform: translateX(108px); */
        transform: translateY(-56px) translateX(117px);
    }

   .editorial-logo-link {
        align-self: center;
        justify-self: center;
   } 

    .media-block.block-2 {
        transform: translateX(-18%) translateY(-30%);
    }

    .body-text {
        grid-column: 1 / -1;
        max-width: 750px;
        margin: 0 auto;
        font-size: 40px;
        line-height: 50px;
        letter-spacing: -0.05em;
    }

    .image-secondary-mobile {
        display: none;
    }

    .image-secondary-desktop {
        display: block;
        max-width: 75%;
        z-index: 1; 
    }

    .text-block {
        transform: translateY(-8%);
        padding: 1rem;
    }

    .editorial-credits {
        font-size: 24px;
        font-weight: normal;
        line-height: 30px;
        letter-spacing: -0.08em;
        color: #000;
    }


    /* sekcije s intervjuima*/

    .feature-section {
        padding: 12em 0rem 0;
    }

    .feature-section.lav {
        padding-top: 0rem;
    }

    .feature-media { grid-area: media; }
    .feature-title { grid-area: title; }
    .feature-text { grid-area: text; }
    .feature-gallery { grid-area: gallery; }

    .feature-container {
        display: grid;
        max-width: 1390px;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "media title"
            "media text"
            "gallery gallery";
        gap: 3rem;
        align-items: start;
    }

    .feature-left {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "title media"
        "text  media"
        "gallery gallery";
    }

    .feature-left .feature-title { grid-area: title; }
    .feature-left .feature-text  { grid-area: text; }
    .feature-left .feature-media { grid-area: media; }

    .feature-title {
        font-size: 84px;
        line-height: 84px;
        margin: 1rem 0 6rem;
    }

    .feature-title.title {
        margin: 1rem 0 0rem;
    }

    .qa-item {
        margin-bottom: 2rem;
    }

    .qa-item h3 {
        font-size: 20px;
        margin-bottom: 0.2rem;
    }

    .qa-item p {
        font-size: 18px;
    }

    /*slike */
    .feature-gallery {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 1rem;
    }

    .feature-gallery img:first-child {
        transform: translateY(40px);
        z-index: 1;
    }

    .feature-gallery img:last-child {
        margin-left: -90px;
        width: auto;
        z-index: 2;
    }
        
    .feature-image.mobile,
    .gallery-image.mobile {
        display: none;
    }

    .feature-image.desktop,
    .gallery-image.desktop {
        display: block;
    }

    .gallery-item:first-child {
        transform: translateY(40px);
        z-index: 1;
    }

    .gallery-item:last-child {
        transform: translateY(140px);
        z-index: 2;      
    }

    .full-image-mobile {
        display: none;
    }

    .full-image-desktop {
        display: block;
    }

    .feature-full-image {
        margin: 10rem 0 0;
    }

    .full-image-text {
        padding-top: 4rem;
        max-width: 800px;
    }

    .full-image-text.first {
        padding-top: 9rem;
        max-width: 1000px;
    }

    .full-image-text.second-section {
        padding: 41.5rem 1.5rem 0;
        max-width: 900px;
    }

    .full-image-text.third-section {
        padding-top: 20rem;
        max-width: 900px;
    }

    .full-image-text.fourth-section {
        padding-top: 10rem;
        max-width: 900px;
    }

    .full-image-text p {
        font-size: 44px;
        line-height: 70px;
    }

    .feature-gallery.second-section {
        display: flex;
        flex-direction: row-reverse;
    }

    /* GALERIJA SEKCIJA SA 4 SLIKE*/

    .gallery {
        max-width: 800px;
        margin: 13rem auto 13rem;
        display: grid;
        grid-template-columns: 1.2fr 2.8fr;
        column-gap: 21px;
        row-gap: 47px;
    }

    .gallery-img-mobile {
        display: none;
    }

    .gallery-img-desktop {
        display: block;
    }

    .gallery-card:nth-child(1) {
        width: 400px;
    }

    .gallery-card:nth-child(3) {
        width: 440px;
        margin-left: -55px; 
        margin-top: -18px;
    }
    .gallery-card:nth-child(2) {
        margin-top: 65px;
        width: 290px;
    }

    .gallery-card:nth-child(4) {
        margin-top: -130px;
        width: 330px;
    }

    .video-section {
        margin: 13rem 0 13rem 0;
    }

    /* zadnja sekcija */

    .editorial-image-mobile {
        display: none;
    }

    .editorial-image-desktop {
        display: block;
    }

    .heading-the,
    .heading-end {
        font-size: 95px;
        line-height: 140px;
        color: white;
    }

    .heading-end {
        font-size: 160px;
    }

    .editorial-credits.end {
        text-align: right;
        font-size: 24px;
        line-height: 30px;
        color: white;
        margin: 5.5rem 0 0;
    }

    .editorial-top {
        padding: 11rem 15rem 0 0;
    }

    .editorial-quote-desktop {
        display: block;
        width: 52%;     
        transform: rotate(-7deg);
    }

    .editorial-logo {
        width: 125px;
    }

    .editorial-quote-mobile {
        display: none;
    }

    .editorial-social {
        margin-top: 2rem;
    }

    .icon {
        width: 25px;
        height: 25px;
    }
}
