/* GENERAL STYLES V0.9*/
/*  FONTS ---------------------------- */

/* Playfair Display */
@font-face {
    font-family: 'Playfair Display'; 
    src: url('../fonts/Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
    font-style: normal;
    font-display: swap;
}

/* Didot */
@font-face {
    font-family: 'Didot'; 
    src: url('../fonts/HTF-Didot/HTFDidot-Bold24.otf') format('opentype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Didot'; 
    src: url('../fonts/HTF-Didot/HTFDidot-BoldIta24.otf') format('opentype');
    font-style: italic
    ;
    font-weight: 400;
    font-display: swap;
}
/* Anton */
@font-face {
    font-family: 'Anton'; 
    src: url('../fonts/Anton/Anton-Regular.ttf') format('truetype');
    font-style: normal;
    font-display: swap;
}

/* Poppins */
@font-face {
    font-family: 'Poppins'; 
    src: url('../fonts/Poppins/Poppins-ExtraLight.ttf') format('truetype');
    font-weight: 200; 
    font-style: extralight;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins'; 
    src: url('../fonts/Poppins/Poppins-Light.ttf') format('truetype');
    font-weight: 300; 
    font-style: light;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins'; 
    src: url('../fonts/Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: 400; 
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: bold;
    font-display: swap;
}
@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: extrabold;
    font-display: swap;
}


@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins/Poppins-Black.ttf') format('truetype');
    font-weight: 900; 
    font-style: black;
    font-display: swap;
}

/* ---------------------------- */
/*  GENERAL STYLES */
/* ---------------------------- */

:root {
    --light-grey: #c4c4c4;
    --pale-grey: #efefef;
    --light-blue: #EAF8FF;
    --sky-blue: #83B8D7;
    --navy-blue: #134054;
    --graphite: #363636;
    --red: #ED1C24;
    --black: #000;
}

html {
    scroll-behavior: smooth;
}


body {
    overflow-x: hidden;  
    font-family: "Poppins", sans-serif;
    font-weight: 300;
    color: var(--black);
    margin: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

main {
    padding-top: 50px;
}

section {
    position: relative;
    padding: 30px 0;
}

.section-divider:after {
    content: "";
    display: block;
    width: 50%;
    max-width: 300px;
    height: 1px;
    background-color: var(--light-grey);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

div, p, a, span, h1, h2, h3, h4, h5, h6 {
    box-sizing: border-box;
}

img {
    height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}


h1, h2, h3 {
    font-family: "Didot", serif;
    font-weight: 700;
    color: var(--sky-blue);
}

h1 {
    font-size: 3.5rem;
    line-height: 3.5rem;
}

h2 {
    font-size: 3rem;
}

h3 {
    font-size: 1.4rem;
    /* font-weight: 300; */
    color: var(--graphite);
}

h4 {
    font-size: 1.3rem;
    font-weight: 200;
    color: var(--graphite);
}

h5 {
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 0;
    font-weight: 200;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}


li {
    list-style: none;
}

strong {
    font-weight: 800;
}

/* Chrome, Safari, Edge, Opera (WebKit/Blink) */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* Optional: Normalize across all browsers */
input[type=number] {
    appearance: textfield;
}


.hidden {
    display: none;
}


.uppercase {
    text-transform: uppercase;
}

.text-white {
    color: #fff;
}

.no-padding {
    padding: 0;
}

.no-margin {
    margin: 0;
}

.no-margin-bottom {
    margin-bottom: 0;
}

.button-center {
    margin: 0 auto;
}

.section-title {
    margin-bottom: 60px;
}

.header-light {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}



/* Margins ---------------------------- */
.margin-top-xs {
    margin-top: 20px;
}

.margin-top-sm {
    margin-top: 40px;
}

.margin-top-md {
    margin-top: 80px;
}

.margin-top-lg {
    margin-top: 120px;
}

.margin-top-xl {
    margin-top: 160px;
}

.margin-bottom-xs {
    margin-bottom: 20px;
}

.margin-bottom-sm {
    margin-bottom: 40px;
}

.margin-bottom-md {
    margin-bottom: 80px;
}

.margin-bottom-lg {
    margin-bottom: 120px;
}

/* Padding ---------------------------- */
.padding-top-xs {
    padding-top: 20px;
}

.padding-top-sm {
    padding-top: 40px;
}

.padding-top-md {
    padding-top: 80px;
}

.padding-top-lg {
    padding-top: 120px;
}

.padding-top-xl {
    padding-top: 160px;
}

.padding-bottom-xs {
    padding-bottom: 20px;
}

.padding-bottom-sm {
    padding-bottom: 40px;
}

.padding-bottom-md {
    padding-bottom: 80px;
}

.padding-bottom-lg {
    padding-bottom: 120px;
}

.padding-sides-md {
    padding: 0 5%;
}


/* SECTION LAYOUT ////////////////////////////////////////*/

.mobile {
    display: none;
}

.desktop {
    display: block;
}

.container {
    max-width: 1200px;
}

.section-title {
    margin-top: 30px;
    margin-bottom: 40px;
}

.section-subtitle {
    margin-top: -20px;
}

.container-narrow {
    max-width: 800px;
    /* margin: 0 auto; */
}


.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: gentle-zoom 7s ease-in-out forwards;
}

.image-shade {
    box-shadow: -8px 8px 0 var(--pale-grey);
}

.pale-blue-bg {
    background-image: url(../images/subscription-bg.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* ---------------------------- */
/* SECTION BUTTONS */
/* ---------------------------- */

.cta-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    margin-top: 40px;
}

.cta-red {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background-color: var(--red);
    padding-top: 15px;
    padding-bottom: 15px;
    min-width: 180px;
    text-transform: uppercase;
    color: #fff;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    border: 1px solid var(--red);
    text-align: center;
}

.cta-red:hover {
    background-color: #fff;
    color: var(--red);
    letter-spacing: 0.02rem;
    border: 1px solid var(--red);
}


.cta-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 1px solid var(--red);
    padding-top: 15px;
    padding-inline: 10px;
    padding-bottom: 15px;
    min-width: 180px;
    text-transform: uppercase;
    color: var(--red);
    font-size: 0.8rem;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-outline:hover {
    background-color: #ed1c2374;
    color: #fff;
    letter-spacing: 0.02rem;
}

.cta-blue {
    background-color: var(--navy-blue);
    color: #fff;
    border: 1px solid var(--navy-blue);
    padding-top: 15px;
    padding-bottom: 15px;
    min-width: 180px;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    text-align: center;
}

.cta-blue:hover {
    background-color: #fff;
    color: var(--navy-blue);
    letter-spacing: 0.02rem;
    border: 1px solid var(--navy-blue);
}

/* ANIMATIONS */

@keyframes fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
  }
  
  .edition-card {
    opacity: 0; /* ensure they're invisible before anim starts */
  }
  
  .edition-card.fade-in {
    animation: fade-in 0.8s ease forwards; /* forwards keeps opacity:1 after */
  }
  
  /* (optional) respect reduced motion */
  @media (prefers-reduced-motion: reduce) {
    .edition-card { opacity: 1 !important; }
    .edition-card.fade-in { animation: none !important; }
  }



@media (max-width: 768px) {

    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }
    .section-title h2 {
        text-align: center;
    }

    .cta-red {
        padding: 10px 15px;
        font-size: 0.7rem;
    }
    .cta-outline {
        font-size: 0.7rem;
    }
}

@media (max-width:576px) {
    .cta-red {
        min-width: 120px;
    }
    .cta-outline {
        min-width: 120px;
    }
}