/* ================================================================
   Forward Change — Newsletter Feed Styles
   Matches exact theme colors from style.css
   ================================================================ */

:root {
    --fcc-teal:      #22b19f;
    --fcc-teal-dark: #1ec8b6;
    --fcc-navy:      #1d2b36;
    --fcc-footer:    #1e3242;
    --fcc-white:     #ffffff;
    --fcc-bg:        #f4f4f4;
    --fcc-text:      #72808e;
    --fcc-heading:   #1d2b36;
    --fcc-border:    #c9cfd9;
    --fcc-dark-text: #5c646c;
    --fcc-radius:    0px;
    --fcc-shadow:    2.5px 4.33px 5px 0px rgba(0,0,0,0.071);
    --fcc-shadow-hv: 2px 2px 9px 1px rgba(0,0,0,0.1);
    --fcc-font:      'Frank Ruhl Libre', serif;
    --fcc-max-w:     1218px;
    --fcc-t:         0.2s ease;
}

/* ================================================================
   SUBSCRIBE BAR
   ================================================================ */
.fcc-newsletter-subbar {
    background: var(--fcc-navy);
    padding: 1.5rem 2rem 1.75rem;
    text-align: center;
    position: relative;
    margin: 2.5rem 0;
    float: left;
    width: 100%;
}
.fcc-newsletter-subbar::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 3px;
    background: var(--fcc-teal);
}
.fcc-newsletter-subbar p {
    font-family: var(--fcc-font);
    color: rgba(255,255,255,0.75);
    font-size: 1.125rem;
    margin: 0 0 1rem;
    font-weight: 300;
}
.fcc-newsletter-subbar__btn {
    display: inline-block;
    padding: 7px 35px;
    background: var(--fcc-teal);
    color: var(--fcc-white);
    font-family: var(--fcc-font);
    font-size: 0.9325rem;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.857;
    transition: box-shadow var(--fcc-t);
}

.fcc-newsletter-subbar__btn {
    margin-top: 20px;
}

.fcc-newsletter-subbar__btn:hover {
    box-shadow: var(--fcc-shadow-hv);
    text-decoration: none;
    color: var(--fcc-white);
}

/* ================================================================
   GRID
   ================================================================ */
.fcc-newsletter-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    float: left;
    width: 100%;
    margin: 0 0 3rem;
}

/* ================================================================
   CARD
   ================================================================ */
.fcc-post-card {
    background: var(--fcc-white);
    border-style: solid;
    border-width: 1px;
    border-color: rgb(228,232,238);
    box-shadow: var(--fcc-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--fcc-t);
    float: left;
    width: 100%;
}
.fcc-post-card:hover {
    box-shadow: var(--fcc-shadow-hv);
}
.fcc-post-card__image {
    display: block;
    overflow: hidden;
    background: var(--fcc-navy);
}
.fcc-post-card__image img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
    margin: 0 !important;
}
.fcc-post-card:hover .fcc-post-card__image img {
    transform: scale(1.03);
}
.fcc-post-card__body {
    padding: 1.25rem 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.fcc-post-card__meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}
.fcc-post-card__meta time {
    font-family: var(--fcc-font);
    font-size: 0.9375rem;
    color: var(--fcc-dark-text);
    font-weight: 500;
}
.fcc-post-card__badge {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    background: var(--fcc-teal);
    color: var(--fcc-white);
    padding: 2px 8px;
}
.fcc-post-card__title {
    font-family: var(--fcc-font);
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.35;
    margin: 0.75em 0;
    color: var(--fcc-heading);
}
.fcc-post-card__title a {
    color: var(--fcc-heading);
    text-decoration: none;
    transition: color var(--fcc-t);
}
.fcc-post-card__title a:hover {
    color: var(--fcc-teal);
    text-decoration: none;
}
.fcc-post-card__excerpt {
    font-family: var(--fcc-font);
    font-size: 1.125rem;
    color: var(--fcc-text);
    line-height: 1.4;
    margin: 0 0 1.25rem;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 300;
}
.fcc-post-card__read-more {
    display: flex;
    align-items: center;
    font-family: var(--fcc-font);
    font-size: 0.9375rem;
    color: var(--fcc-teal);
    text-decoration: none;
    align-self: flex-start;
    font-weight: 400;
    margin-top: 1em;
    float: left;
}
.fcc-post-card__read-more:hover {
    text-decoration: underline;
    color: var(--fcc-teal);
}

/* ================================================================
   FEATURED CARD (first post — full width)
   ================================================================ */
.fcc-post-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: stretch;
}
.fcc-post-card--featured .fcc-post-card__image,
.fcc-post-card--featured .fcc-post-card__image img {
    aspect-ratio: unset;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    margin: 0 !important;
}
.fcc-post-card--featured .fcc-post-card__body {
    padding: 2rem 2.5rem;
    justify-content: center;
}
.fcc-post-card--featured .fcc-post-card__title {
    font-size: 1.75rem;
    border-left: 4px solid var(--fcc-teal);
    padding-left: 1rem;
}
.fcc-post-card--featured .fcc-post-card__excerpt {
    -webkit-line-clamp: 4;
}

/* ================================================================
   PAGINATION — matches theme .pagination style
   ================================================================ */
.fcc-newsletter-pagination {
    margin-top: 2rem;
    float: left;
    width: 100%;
}
.fcc-newsletter-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    font-family: var(--fcc-font);
    font-size: 1rem;
    text-decoration: none;
    color: #949596;
    transition: all var(--fcc-t);
}
.fcc-newsletter-pagination .page-numbers:hover,
.fcc-newsletter-pagination .page-numbers.current {
    background: var(--fcc-teal);
    color: var(--fcc-white);
    text-decoration: none;
}

/* ================================================================
   EMPTY STATE
   ================================================================ */
.fcc-newsletter-empty {
    text-align: center;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    float: left;
    width: 100%;
}
.fcc-newsletter-empty h3 {
    font-family: var(--fcc-font);
    font-size: 1.5rem;
    color: var(--fcc-heading);
    margin: 0;
    font-weight: 500;
}
.fcc-newsletter-empty p {
    font-family: var(--fcc-font);
    color: var(--fcc-text);
    font-size: 1.125rem;
    max-width: 400px;
    line-height: 1.6;
    margin: 0;
    font-weight: 300;
}
.fcc-btn-primary {
    display: inline-block;
    padding: 7px 35px;
    background: var(--fcc-teal);
    color: var(--fcc-white);
    font-family: var(--fcc-font);
    font-size: 1.125rem;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1.857;
    transition: box-shadow var(--fcc-t);
    margin-top: 0.5rem;
}
.fcc-btn-primary:hover {
    box-shadow: var(--fcc-shadow-hv);
    color: var(--fcc-white);
    text-decoration: none;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media ( max-width: 980px ) {
    .fcc-newsletter-grid { grid-template-columns: repeat(2, 1fr); }
    .fcc-post-card--featured {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }
    .fcc-post-card--featured .fcc-post-card__image img {
        min-height: 260px;
    }
    .fcc-post-card--featured .fcc-post-card__title {
        font-size: 1.5rem;
    }
}
@media ( max-width: 604px ) {
    .fcc-newsletter-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .fcc-newsletter-subbar { padding: 1.25rem; }
    .fcc-post-card--featured .fcc-post-card__title { font-size: 1.25rem; }
}