/* Desktop homepage. Header and footer styles live in their own files. */

body.mag-home {
    background: #fff;
}

.mag-home-preview-bar {
    margin: 0;
    padding: 12px 16px;
    background: #1d2327;
    color: #fff;
    font-family: Jost, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

body.mag-home #content > .ast-container {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
}

body.mag-home .mag-home-primary,
body.mag-home #primary {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

body.mag-home .mag-home-page {
    background: #fff;
    color: #040000;
}

body.mag-home .mag-home-page h2 {
    margin: 0;
    padding: 0;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

/* The banner keeps its existing rules in shopify-cart.css.
   Swiper 5 still needs the slide row, because Elementor no longer prints it. */

body.mag-home .home-shopify-banner-swiper-container .product-info-shopify {
    background-position: center center;
}

@media (max-width: 760px) {
    body.mag-home .home-shopify-banner-swiper-container .product-info-shopify {
        background-position: var(--mag-slide-x, 50%) center !important;
    }

    body.mag-home .home-shopify-banner-swiper-container .slider-content {
        transform: translateY(-36px);
    }
}

@media (min-width: 761px) {
    body.mag-home .home-shopify-banner-swiper-container .slider-content {
        transform: translateY(-56px);
    }
}

.home-shopify-banner-swiper-container.swiper-container {
    position: relative;
}

.home-shopify-banner-swiper-container > .swiper-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    box-sizing: content-box;
    width: 100%;
    height: 100%;
}

.home-shopify-banner-swiper-container > .swiper-wrapper > .swiper-slide {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
}

.home-shopify-banner-swiper-container .swiper-pagination-bullets {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    z-index: 8;
    text-align: center;
}

.home-shopify-banner-swiper-container .swiper-pagination-bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 5px;
    border-radius: 50%;
    background: #fff;
    opacity: 0.45;
    cursor: pointer;
}

.home-shopify-banner-swiper-container .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Slide type uses the new families. Size and weight stay with the previous slide. */

body.mag-home .home-shopify-banner-swiper-container .homebanner-ew {
    border: 0;
    padding: 0;
    color: #fff;
    font-family: Jost, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-shadow: none;
    text-underline-offset: 3px;
}

body.mag-home .home-shopify-banner-swiper-container .p-issue-title h2,
body.mag-home .home-shopify-banner-swiper-container .p-issue-ex h2,
body.mag-home .home-shopify-banner-swiper-container .p-issue-ex__v2 h2 {
    margin: 0;
    color: #fff !important;
    font-family: "Cormorant Garamond", "Times New Roman", serif !important;
    font-weight: 400 !important;
    text-align: center !important;
    text-shadow: none;
}

body.mag-home .home-shopify-banner-swiper-container .p-issue-title h2 {
    font-size: 32px !important;
    line-height: 1.6em !important;
}

body.mag-home .home-shopify-banner-swiper-container .p-issue-ex h2,
body.mag-home .home-shopify-banner-swiper-container .p-issue-ex__v2 h2 {
    font-size: 38px !important;
    letter-spacing: 1px;
    line-height: 55px !important;
}

body.mag-home .home-shopify-banner-swiper-container .p-btn2 {
    transform: translateY(24px);
}

.mag-home-voyage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 184px;
    padding: 36px 24px 42px;
    background: #fff;
    text-align: center;
}

.mag-home-voyage__title {
    margin: 0;
    color: #000;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 0.21px;
    line-height: 1.68;
}

.mag-home-voyage__form {
    position: relative;
    width: 228px;
    margin: 22px 0 0;
    border-bottom: 0.5px solid #000;
}

.mag-home-voyage__email {
    display: block;
    width: 100% !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 16px 6px 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #000 !important;
    font-family: Jost, sans-serif !important;
    font-size: 10px !important;
    font-weight: 300 !important;
    letter-spacing: 0.4px;
    line-height: 1.68 !important;
    text-align: center;
}

.mag-home-voyage__email::placeholder {
    color: #000;
    font-family: Jost, sans-serif;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: 0.4px;
    opacity: 1;
}

.mag-home-voyage__email:focus {
    outline: none;
}

.mag-home-voyage__submit {
    position: absolute;
    right: 0;
    bottom: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #000;
    cursor: pointer;
    line-height: 0;
}

.mag-home-voyage__submit:hover,
.mag-home-voyage__submit:focus {
    border: 0;
    background: transparent;
    outline: none;
}

.mag-home-voyage__messages {
    width: 228px;
    margin-top: 8px;
    color: #000;
    font-family: Jost, sans-serif;
    font-size: 12px;
    font-weight: 300;
}

.mag-home-articles {
    padding: 88px 24px 120px;
    background: #fff;
}

.mag-home-articles__head {
    text-align: center;
}

.mag-home-articles__eyebrow {
    margin: 0 0 2px;
    color: #040000;
    font-family: Jost, sans-serif;
    font-size: 25px;
    font-weight: 300;
    letter-spacing: 1.75px;
    line-height: 1.68;
}

.mag-home-articles__title {
    margin: 0;
    padding-left: 5.6px;
    color: #040000;
    font-family: Jost, sans-serif;
    font-size: 40px;
    font-weight: 500;
    letter-spacing: 5.6px;
    line-height: 1.68;
    text-transform: uppercase;
}

.mag-home-articles__all {
    display: inline-block;
    margin-top: 4px;
    color: #6f6a6a;
    font-family: Jost, sans-serif;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.26px;
    line-height: 1.68;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.mag-home-articles__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 72px;
    row-gap: 42px;
    width: min(1155px, 100%);
    margin: 48px auto 0;
}

.mag-home-card__link {
    display: flex;
    flex-direction: column;
    color: #000;
    text-decoration: none;
}

.mag-home-card__media {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eeeae6;
}

.mag-home-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mag-home-card__kicker {
    margin-top: 5px;
    color: #6f6a6a;
    font-family: Jost, sans-serif;
    font-size: 12px;
    font-weight: 300;
    letter-spacing: 1.08px;
    line-height: 15px;
    text-transform: uppercase;
}

.mag-home-card__lead {
    margin-top: 12px;
    color: #000;
    font-family: Jost, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 1px;
    line-height: 22px;
    text-transform: capitalize;
}

.mag-home-card__rest {
    margin-top: 0;
    color: #000;
    font-family: Jost, sans-serif;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.8px;
    line-height: 22px;
}

/* The picture stays fixed to the viewport. The section is a window
   exactly as tall as the image, so the whole picture is visible. */

.mag-home-window {
    display: block;
    width: 100%;
    height: 1000px;
    background-color: transparent;
    background-image: var(--mag-image);
    background-repeat: no-repeat;
    background-position: center var(--mag-header-h, 103px);
    background-size: 100% auto;
    background-attachment: fixed;
}

.mag-home-about {
    display: grid;
    grid-template-columns: 47.92% 1fr;
    overflow: hidden;
    background: #fff;
}

.mag-home-about__portrait {
    aspect-ratio: 1 / 1;
    min-height: 0;
    overflow: hidden;
}

.mag-home-about__portrait img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.mag-home-about__copy {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 0;
    min-height: 100%;
    box-sizing: border-box;
    padding: 28px 6vw;
    background-color: #F7F3F1;
}

.mag-home-about__panel {
    width: min(526px, 100%);
    text-align: left;
}

.mag-home-about__watermark {
    position: absolute;
    top: 2vw;
    left: 2vw;
    margin: 0;
    color: rgba(0, 0, 0, 0.02);
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: clamp(96px, 11.3vw, 217px);
    font-style: italic;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    text-transform: capitalize;
    white-space: nowrap;
    pointer-events: none;
}

.mag-home-about__welcome,
.mag-home-about__name,
.mag-home-about__body {
    position: relative;
    z-index: 1;
}

.mag-home-about__welcome {
    margin: 0;
    color: #000;
    font-family: Jost, sans-serif;
    font-size: 20px;
    font-weight: 300;
    letter-spacing: 0.6px;
    line-height: 1.5;
}

.mag-home-about__name {
    margin: 6px 0 0;
    color: #000;
    font-family: Jost, sans-serif;
    font-size: 40px;
    font-weight: 400;
    letter-spacing: 5.2px;
    line-height: 1.5;
}

.mag-home-about__body {
    margin-top: 20px;
    color: #000;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.55;
}

.mag-home-about__body p {
    margin: 0 0 0.7em;
}

.mag-home-about__body p:last-child {
    margin-bottom: 0;
}

.mag-home-about__body em {
    font-style: italic;
    font-weight: 500;
}

.mag-home-film {
    position: relative;
    width: 100%;
    aspect-ratio: 1530 / 720;
    overflow: hidden;
    background: #000;
}

.mag-home-film video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mag-home-film__copy {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    color: #fff;
    text-align: center;
    pointer-events: none;
}

.mag-home-film__title {
    margin: 0;
    font-family: "Cormorant Garamond", "Times New Roman", serif;
    font-size: 55px;
    font-weight: 600;
    letter-spacing: 1.65px;
    line-height: 1.15;
}

.mag-home-film__sub {
    margin: 8px 0 0;
    font-family: Jost, sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 2.13;
    text-transform: capitalize;
}

.mag-home-film__link {
    margin-top: 28px;
    color: #fff;
    font-family: Jost, sans-serif;
    font-size: 19px;
    font-weight: 300;
    letter-spacing: 1.14px;
    line-height: 1;
    text-decoration: underline;
    text-underline-offset: 4px;
    pointer-events: auto;
}

@media (max-width: 1240px) {
    .mag-home-about {
        grid-template-columns: 1fr;
    }

    .mag-home-about__portrait {
        width: 100%;
    }

    .mag-home-about__copy {
        height: auto;
        min-height: 0;
        padding: 48px 28px 64px;
    }
}

@media (max-width: 1100px) {
    .mag-home-articles__grid {
        column-gap: 23px;
        row-gap: 42px;
    }

    .mag-home-film__title {
        font-size: 40px;
    }

    .mag-home-film__sub {
        font-size: 18px;
    }
}

/* Magazine & Book and the issue spread, matched to the Elementor homepage. */

.mag-home .magazineAndBook {
    margin: 0 0 50px;
}

.mag-home .magazineAndBook > .elementor-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.mag-home .elementor-element-f4b2576 {
    text-align: center;
}

.mag-home .elementor-element-f4b2576 .elementor-heading-title {
    margin: 0;
    color: #000;
    font-size: 28px;
    letter-spacing: 1px;
}

.mag-home .elementor-element-f4b2576 > .elementor-widget-container {
    margin: 50px 0 0;
}

.mag-home .elementor-element-9cae580 {
    text-align: center;
}

.mag-home .elementor-element-9cae580 .elementor-heading-title,
.mag-home .elementor-element-9cae580 .elementor-heading-title a {
    color: #000;
    font-size: 16px;
    letter-spacing: 0.2px;
    text-decoration: underline;
}

.mag-home .elementor-element-9cae580 > .elementor-widget-container {
    margin: 0 0 35px;
}

.mag-home #homeSectionMagazine {
    background: #eaeadd;
    border-bottom: 1px solid #b9bbbc;
    padding: 10px;
}

.mag-home .elementor-hidden-desktop.elementor-hidden-tablet.elementor-hidden-phone {
    display: none;
}

.mag-home .elementor-element-3491d0bb,
.mag-home .elementor-element-35c967f,
.mag-home .elementor-element-35065e97 {
    text-align: center;
}

.mag-home .elementor-element-3491d0bb .elementor-heading-title {
    margin: 0;
    color: #000;
    font-size: 14px;
    letter-spacing: 1.2px;
}

.mag-home .elementor-element-3491d0bb > .elementor-widget-container {
    margin: 100px 0 12px;
}

.mag-home .elementor-element-35c967f .elementor-heading-title {
    margin: 0;
    color: #000;
    font-size: 28px;
    letter-spacing: 1.4px;
}

.mag-home .elementor-element-35c967f > .elementor-widget-container {
    margin: 12px 0 65px;
}

.mag-home .elementor-element-35065e97 .elementor-heading-title,
.mag-home .elementor-element-35065e97 .elementor-heading-title a {
    color: #000;
    font-size: 20px;
    letter-spacing: 0.8px;
    text-decoration: none;
}

.mag-home .elementor-element-35065e97 > .elementor-widget-container {
    margin: 55px 0 115px;
}

.mag-home .home-Magazine-bottom-swiper-container,
.mag-home .home-shopify-magaine-swiper-container {
    position: relative;
    overflow: hidden;
}

/* Arrows sit outside the clipped track, against the widget box. */
.mag-home .elementor-element-5caae63 > .elementor-widget-container {
    position: relative;
}

.mag-home #home-Magazine-bottom.home-Magazine-bottom-swiper-container {
    position: static;
    overflow: hidden;
}

.mag-home .home-Magazine-bottom-swiper-container > .swiper-wrapper,
.mag-home .home-shopify-magaine-swiper-container > .swiper-wrapper {
    display: flex;
    box-sizing: content-box;
    height: 100%;
}

.mag-home .home-Magazine-bottom-swiper-container > .swiper-wrapper > .swiper-slide,
.mag-home .home-shopify-magaine-swiper-container > .swiper-wrapper > .swiper-slide {
    flex-shrink: 0;
    height: auto;
}

.mag-home .home-shopify-magaine-swiper-container img {
    display: block;
    width: 100%;
    height: auto;
}

.mag-home .magazineAndBook .swiper-button-next,
.mag-home .magazineAndBook .swiper-button-prev,
.mag-home .home-shopify-magaine-swiper-container .swiper-button-next,
.mag-home .home-shopify-magaine-swiper-container .swiper-button-prev {
    position: absolute;
    z-index: 2;
    cursor: pointer;
}

.mag-home #home-Magazine-bottom .swiper-button-prev,
.mag-home #home-Magazine-bottom .swiper-button-next {
    top: 50%;
    width: 35px;
    height: 35px;
    margin-top: -100px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 1;
}

.mag-home #home-Magazine-bottom .swiper-button-disabled {
    opacity: 1;
}

.mag-home #home-Magazine-bottom .swiper-button-prev {
    left: -40px;
    right: auto;
    background-image: url("../img/home/s-left.svg");
}

.mag-home #home-Magazine-bottom .swiper-button-next {
    right: -40px;
    left: auto;
    background-image: url("../img/home/s-right.svg");
}

.mag-home .magazineAndBook .swiper-button-next:after,
.mag-home .magazineAndBook .swiper-button-prev:after,
.mag-home .home-shopify-magaine-swiper-container .swiper-button-next:after,
.mag-home .home-shopify-magaine-swiper-container .swiper-button-prev:after {
    content: none;
}

.mag-home-articles__progress {
    display: none;
}

@media (max-width: 760px) {
    .mag-home-voyage {
        min-height: 169px;
        padding: 28px 20px 32px;
    }

    .mag-home-voyage__title {
        max-width: 270px;
        font-size: 16px;
    }

    .mag-home-voyage__form {
        width: 269px;
    }

    .mag-home-articles {
        padding: 48px 0 72px;
    }

    .mag-home-articles__head {
        padding: 0 24px;
    }

    .mag-home-articles__eyebrow {
        font-size: 20px;
    }

    .mag-home-about__portrait {
        width: 100%;
    }

    .mag-home-articles__title,
    .mag-home-about__name {
        font-size: 28px;
        letter-spacing: 3px;
    }

    .mag-home-articles__title {
        padding-left: 3px;
    }

    .mag-home-articles__grid {
        display: flex;
        grid-template-columns: none;
        gap: 16px;
        width: auto;
        max-width: none;
        margin-top: 28px;
        padding: 0 16px 4px;
        scroll-padding-left: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        cursor: grab;
    }

    .mag-home-articles__grid.is-dragging {
        scroll-snap-type: none;
        cursor: grabbing;
    }

    .mag-home-articles__grid img {
        -webkit-user-drag: none;
        user-select: none;
    }

    .mag-home-articles__grid::-webkit-scrollbar {
        display: none;
    }

    .mag-home-card {
        flex: 0 0 86%;
        scroll-snap-align: start;
    }

    .mag-home-card__lead,
    .mag-home-card__rest {
        font-size: 16px;
        line-height: 24px;
    }

    .mag-home-articles__progress {
        display: block;
        position: relative;
        width: min(355px, calc(100% - 48px));
        height: 22px;
        margin: 8px auto 0;
        background: transparent;
        cursor: pointer;
        touch-action: none;
    }

    .mag-home-articles__progress::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 10px;
        height: 1px;
        background: #d5d0ca;
    }

    .mag-home-articles__progress span {
        position: absolute;
        top: 9.5px;
        left: 0;
        width: 72px;
        height: 2px;
        background: #040000;
        pointer-events: none;
    }

    .mag-home .home-shopify-banner-swiper-container.is-banner-prev {
        cursor: url("../img/home/banner-arrow-left.png"), w-resize;
    }

    .mag-home .home-shopify-banner-swiper-container.is-banner-next {
        cursor: url("../img/home/banner-arrow-right.png"), w-resize;
    }

    .mag-home-window {
        height: auto;
        aspect-ratio: 6 / 5;
        background-attachment: scroll;
        background-image: var(--mag-image-m, var(--mag-image));
        background-position: center;
        background-size: cover;
    }

    .mag-home-film {
        aspect-ratio: 1 / 1;
        background-attachment: scroll;
        background-size: cover;
        background-position: center;
    }

    .mag-home .magazineAndBook,
    .mag-home .elementor-element-5caae63,
    .mag-home .elementor-element-5caae63 > .elementor-widget-container {
        overflow: visible;
    }

    .mag-home #home-Magazine-bottom .swiper-button-prev,
    .mag-home #home-Magazine-bottom .swiper-button-next {
        display: block;
        top: 32%;
        width: 22px;
        height: 22px;
        margin-top: 0;
    }

    .mag-home #home-Magazine-bottom .swiper-button-prev {
        left: -34px;
        right: auto;
    }

    .mag-home #home-Magazine-bottom .swiper-button-next {
        right: -34px;
        left: auto;
    }

    .mag-home .home-shopify-magaine-swiper-container .swiper-slide {
        text-align: center;
    }

    .mag-home .home-shopify-magaine-swiper-container .swiper-wrapper {
        height: auto;
    }

    .mag-home .home-shopify-magaine-swiper-container img {
        display: inline-block;
        width: auto;
        max-width: 80%;
        height: auto;
        margin: 0 auto;
    }

    .mag-home .home-shopify-magaine-swiper-container .swiper-button-next,
    .mag-home .home-shopify-magaine-swiper-container .swiper-button-prev {
        display: none;
    }

    .mag-home .elementor-element-3491d0bb > .elementor-widget-container {
        margin-top: 48px;
    }

    .mag-home .elementor-element-35065e97 > .elementor-widget-container {
        margin-bottom: 48px;
    }
}
