/* =========================================================
   ARTICLE PAGE
   Layout & Styles for article.html
   Clean reading-focused design
   ========================================================= */

/* Article Banner */

/*-- -------------------------- -->
<---          Banner            -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #banner-712 {
        /* 175px - 200px top */
        padding: clamp(10.9375rem, 10vw, 12.5rem) 1rem 6.25rem;
        position: relative;
        z-index: 1;
    }
    #banner-712 .cs-container {
        text-align: center; 
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
    }

    #banner-712 .cs-int-title {
        /* 39px - 61px */
        font-size: clamp(2.4375rem, 6.4vw, 3.8125rem);
        font-weight: 900;
        line-height: 1.2em;        
        margin: 0;
        color: var(--bodyTextColorLight);
        position: relative;        
    }

    #banner-712 .cs-background {
        width: 100%;
        height: 100%;
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    #banner-712 .cs-background:before {
        /* background color overlay */
        content: "";
        position: absolute;
        display: block;
        height: 100%;
        width: 100%;
        background: #000;
        opacity: 0.75;
        top: 0;
        left: 0;
        z-index: 1;
    }
    #banner-712 .cs-background img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        /* Makes img tag act as a background image */
        object-fit: cover;
    }
}

/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #banner-712 .cs-background:before {
        opacity: 1;
        background: linear-gradient(
            90.01deg,
            rgba(0, 0, 0, 0.9) 16.86%,
            rgba(0, 0, 0, 0) 100%
        );
    }
}

                                
.cs-intro {
  font-size: 1.25rem;
  font-style: italic;
  opacity: 0.9;
}
/* -------------------------- -->
<---        End Banner         -->
   

/* Article Wrapper */
#content-1637 {
    background-color: #f5ece4;         
    padding: var(--sectionPadding);
}

#content-1637 .cs-container {    
    width: 100%;
    max-width: 48rem;
    margin: 0 auto;
}

#content-1637 .cs-content {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* Title */
#content-1637 .cs-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--headerColor);
    margin-bottom: 0.25rem;
}

/* Topper category */
#content-1637 .cs-topper {
    color: var(--secondary);
    letter-spacing: .12em;
    font-weight: 700;
}

/* Article Text */
#content-1637 .cs-text {
    font-size: 1.125rem;
    line-height: 1.75em;
    color: var(--bodyTextColor);
    max-width: 100%;
}

/* Paragraph Spacing */
#content-1637 .cs-text + .cs-text {
    margin-top: 1rem;
}

/* Optional Featured Image */
.article-featured {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1rem 0 2rem;
}



/* ------- Inline blockquote styling (optional) ------- */
article blockquote {
    font-family: "Lovelace Text", serif;
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.6em;
    border-left: 4px solid var(--primary);
    padding-left: 1rem;
    margin: 2rem 0;
    color: var(--headerColor);
    opacity: 0.95;
}

/* ------- Images inside article ------- */
article img {
    width: 100%;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

/* ------- Responsive Layout ------- */
@media (min-width: 48rem) {
    #content-1637 .cs-content {
        gap: 2rem;
    }
    article blockquote {
        font-size: 1.6rem;
    }
}
/* -------------------------- -*/