/*
Theme Name: Child
Template: amab2024
Author: Child Theme Configurator
Version: 1.0.1754287956
Updated: 2025-08-04 08:12:36

*/

/* Loosen line spacing on the Complianz cookie opt-in message text (was too tight) */
div#cmplz-message-1-optin p {
    line-height: 1.5em;
}

/* Newsletter signup page (page-newsletter.php) */

/* The Contact page's #about-left is tuned for a short, right-aligned heading
   (big red text) with no body copy under it. This page's left column also
   carries a paragraph, which reads badly right-aligned, so left-align it. */
/* #about-us-inner is the same shared block Contact/About/Declarations/
   Statements all use, so scoped to .newsletter-signup rather than bare
   #about-us-inner, which would hide the title on every one of those pages. */
main #about-us.newsletter-signup #about-us-inner h3.title {
    font-size: 0px !important;
}

main #about-us.newsletter-signup #about-us-inner #about-left {
    text-align: left;
    padding-left: 0; }
    main #about-us.newsletter-signup #about-us-inner #about-left p {
        font-family: "Barlow", sans-serif;
        font-size: 18px;
        margin-top: 15px; }

main #about-us-inner #about-right .newsletter-form-title {
    font-family: "Barlow Condensed", sans-serif;
    color: #c4161c;
    margin-bottom: 15px;
}

/* Scoped to .newsletter-signup so this doesn't also affect the homepage's
   .newsletter-form widget, which shares the same class name. */
main #about-us.newsletter-signup #about-right.newsletter-form input {
    min-width: 100% !important;
    margin-bottom: 20px !important;
}
main #about-us.newsletter-signup .mc4wp-form-fields {
    margin-top: 20px;
}

/* Newsletter archive cards reuse the homepage's #latest/.latest-single
   grid (amab2024/style.css) as-is, so no new CSS is needed for the cards
   themselves. */

/* The homepage's own `main #latest #latest-block .latest-single` rule sets
   display:flex with higher specificity than a bare class selector, so it
   was winning over this and the "hidden" cards showed anyway. Matched (and
   exceeded) that specificity here instead of just adding a class. */
#latest-block .latest-single.bbws-newsletter-hidden {
    display: none !important;
}

#newsletter-archive-more {
    margin-top: 30px;
    text-align: center;
}
#newsletter-archive-more button {
    display: inline-block;
    border: none;
    cursor: pointer;
    background-color: #c4161c;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    font-family: "Barlow", sans-serif;
    font-size: 18px;
    padding: 12px 30px;
    text-decoration: none;
    transition: all 0.3s;
}
#newsletter-archive-more button:hover {
    background-color: #fff;
    color: #c4161c;
    box-shadow: inset 0 0 0 2px #c4161c;
}

/* Card grid tweaks, scoped to .newsletter-archive so they don't also change
   the homepage's identical #latest/.latest-single "Latest Stories" grid. */
main #latest.newsletter-archive #latest-block {
    grid-row-gap: 60px !important;
}
main #latest.newsletter-archive #latest-block .latest-single {
    height: 480px;
}
main #latest.newsletter-archive #latest-block .latest-single .button {
    margin-top: 0 !important;
}
main #latest.newsletter-archive #latest-block .latest-single h3 {
    font-size: 24px;
}
