﻿html {
    box-sizing: border-box;
    padding: 0;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

:root {
    --dark: #333333;
    --light: #EDE7E3;
    --cta-bg: #D50909;
    --blue: #3061FF;
    --light-blue: #A8D3DC;
    --error-red: #F02727;
}

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    color: var(--dark);
}

.container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

/* FLEX UTIL */

.flex {
    display: flex;
}

.row, .mobile-row {
    flex-direction: row;
}

@media screen and (max-width: 930px) {
    .row {
        flex-direction: column;
    }

    .cta_section .container {
        align-items: center;
    }

    .nav {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
}

.col {
    flex-direction: column;
}

.align-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.space-between {
    justify-content: space-between;
}

.space-evenly {
    justify-content: space-evenly;
}

.gap-1 {
    gap: 1rem;
}

.gap-1-5 {
    gap: 1.5rem;
}

.gap-2 {
    gap: 2rem;
}

.gap-3{
    gap: 3rem;
}

.wrap {
    flex-wrap: wrap;
}

@media screen and (max-width: 850px) {
    .row {
        flex-direction: column;
    }
}

/* TEXT UTIL */

.text-center{
    text-align: center;
}

.bold{
    font-weight: 700;
}

.extrabold{
    font-weight: 900;
}

.dark{
    color: var(--dark);
}

/* CTA STYLES */

.cta-btn {
    appearance: none;
    border: none;
    padding: 1.25rem;
    width: 100%;
    background: var(--cta-bg);
    border-radius: 6px;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
}

    .cta-btn:hover{
        cursor: pointer;
    }

/* HEADER STYLES */

header {
    background: #EBEBEB;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.nav_brand{
    max-width: 400px;
    width: 100%;
}

/* ARTICLE STYLES */

.article{
    padding: 1rem;
}

.article__title{
    font-size: 48px;
    text-wrap: stable;
}

.article__byline--container{
    font-size: 14px;
}

.article__author-img{
    max-width: 25px;
    width: 100%;
    border-radius: 50%;
}

.article p:not([class]), 
.article__ol h4 {
    font-size: 18px;
    line-height: 28px;
}

.article__offer--container {
    border-top: 2px solid #EDEEF0;
    padding-top: 2rem;
}

.article__offer--container a > .article__img{
    max-width: 900px;
    width: 100%;
}

.article__offer--title{
    font-size: 28px;
    line-height: 40px;
}

.article__ol{
    margin-left: 1.25rem;
}

.article__ol li{
    margin-bottom: 1rem;
}

.article__ol > li::marker{
    font-weight: 700;
}

.article__cta-btn--group{
    display: flex; 
    flex-wrap: wrap;
    gap: 30px;
}

.article__cta-btn--group a{    
    max-width: 280px;
    width: 100%;
}

.article__offer--link {
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    color: var(--blue);
}

.article__offer--link:hover{
    text-decoration: underline;
}

.article__internal-link {
    color: var(--blue);
    font-weight: 700;
}

@media screen and (max-width: 1024px){
    .article__title{
        font-size: 30px;
    }

    .article__byline--container{
        font-size: 12px;
    }

    .article__offer--title{
        font-size: 22px;
        line-height: 32px;
    }
}

@media screen and (max-width: 990px){
    .article__cta-btn--group a{
        max-width: 100%;
    }
}

/* FOOTER STYLES */

.footer {
    padding: 2rem 1rem;
    background: #EBEBEB;
    margin-top: 2rem;
}

.footer a{
    color: var(--blue);
}

.disclaimer{
    font-size: 14px;
    line-height: 14px;
}
