/* Subpage Styles - Custom styling for content pages */

.subpage-content-section {
    padding: 60px 0 80px 0;
}

.subpage-content-wrapper {
    max-width: 100%;
    width: 100%;
}

.subpage-content-inner {
    padding: 0 1.5rem;
    line-height: 1.8;

}

/* Headings */

.subpage-content-inner {
    font-family: var(--inter);
    color: #073629ab;
    font-size: 1rem;
    line-height: 1.6;
}

.subpage-content-inner p {
    margin: 0 0 1rem;
}



.subpage-content-inner h1,
.subpage-content-inner h2,
.subpage-content-inner h3,
.subpage-content-inner h4,
.subpage-content-inner h5
{
    font-family: var(--unbounded);
    font-weight: 500;  
    color: var(--dark-green);
    line-height: 1.5;  
    margin-top: 2rem;
    margin-bottom: 0.5rem;

    & + h2,
    & + h3,
    & + h4,
    & + h5 {
        margin-top: 1rem;       
    }
}



.subpage-content-inner h2 {
    font-size: 1.6rem;
    font-weight: 600;  
}

.subpage-content-inner h2:first-child {
    margin-top: 0;
}

.subpage-content-inner h3 {
    font-size: 1.4rem;
    font-weight: 500;   
}

.subpage-content-inner h4 {
    font-size: 1.2rem;
}


/* Lists */
.subpage-content-inner ul,
.subpage-content-inner ol {
    margin: 1rem 0 1.5rem 0;
    padding-left: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0.3rem;
}

.subpage-content-inner li {
    margin: 0px;
    line-height: 1.6;
    position: relative;
    padding-left: 1.3rem;
    color: var(--dark-green);  
    font-weight: 500;
    font-size: 1.1rem; 
}

.subpage-content-inner ul li::before {
    content: '■';
    position: absolute;
    left: 0;
    top: 3px;
    height: 1.5rem;
    color: var(--dark-green);
    font-size: 1.2rem;
    line-height: 1;
}

.subpage-content-inner ol {
    counter-reset: item;
    padding-left: 0;
}

.subpage-content-inner ol li {
    counter-increment: item;
}

.subpage-content-inner ol li::before {
    content: counter(item) '.';
    position: absolute;
    left: 0;
    color: var(--dark-green);
    font-weight: 600;
}

/* Images */
.subpage-content-inner figure {
    margin: 32px 0;
    text-align: center;
}

.subpage-content-inner img {
    max-width: 100%;
    height: auto;
}

.subpage-content-inner figcaption {
    margin-top: 12px;
    font-size: 0.875rem;
    color: #666;
    font-style: italic;
}

/* Blockquotes */
.subpage-content-inner blockquote {
    margin: 2rem 0;
    padding: 2rem 2rem;
    border-left: 0.5rem solid var(--dark-green);
    background-color: var(--slime-green);
    color: var(--dark-green);
    font-weight: 600; 
    font-family: var(--unbounded);
    font-size: 1.5rem;
    line-height: 1.6;    
}

.subpage-content-inner blockquote p {
    margin: 0;
    color: var(--dark-green);
}

/* Links */
.subpage-content-inner a {
    color: #2e7d32;
    text-decoration: underline;
}

.subpage-content-inner a:hover {
    color: #1b5e20;
}

/* Featured Image Section */
.news-featured-image-section {
    padding: 1rem;
    margin-top: -3rem;
}

.news-featured-image {
    margin: 0 auto;
    padding: 0;
    max-width: 700px;
}

.news-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Responsive */
@media (min-width: 768px) {
    .subpage-content-inner {
        padding: 0 3rem;
    }
    
    .subpage-content-inner h2 {

    }
    
    .subpage-content-inner h3 {

    }
}

@media (min-width: 992px) {
    .subpage-content-inner {
        padding: 0 4rem;
    }
    
    .subpage-content-inner h2 {

    }
}

@media (min-width: 1200px) {
    .subpage-content-inner {
        padding: 0 5rem;
        max-width: 1200px;
        margin: 0 auto;
    }
}

