/** ------------------------ Anklet - On Singular Posts ---------------------- **/
.widget_corps_latest_news_widget {
    padding: clamp(28px, 5vw, 80px) clamp(20px, 5vw, 80px);
    background-color: #F7F7F9;
}

.widget_corps_latest_news_widget .wp-block-latest-posts__list.is-grid {
    display: flex;
    flex-direction: row;
    gap: 40px;
    flex-wrap: unset;
    margin: 40px 0 40px 0;
}

.widget_corps_latest_news_widget .wp-block-latest-posts__list > li {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.widget_corps_latest_news_widget .wp-block-latest-posts__featured-image a img {
    margin-bottom: 12px;
}

.widget_corps_latest_news_widget .wp-block-latest-posts__post-title {
    text-decoration: none;
    color: var(--tarleton-purple, #4f2d7f);
    font-family: 'futura-pt';
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 600;
    line-height: clamp(26px, 4vw, 36px);
}

.widget_corps_latest_news_widget .wp-block-latest-posts__post-excerpt {
    margin: 0;
}

.widget_corps_latest_news_widget .wp-block-latest-posts__post-excerpt p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    align-self: stretch;
    overflow: hidden;
    color: var(--tarleton-black, #000000);
    text-overflow: ellipsis;
    font-family: 'franklin-gothic';
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 400;
    line-height: clamp(22px, 3vw, 26px);
    margin: 0;
}

.widget_corps_latest_news_widget .wp-block-latest-posts__post-date {
    color: var(--tarleton-black, #000000);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    font-family: 'franklin-gothic';
}

.widget_corps_latest_news_widget .wp-block-advgb-button .wp-block-advgb-button_link {
    padding: clamp(8px, 2vw, 16px) clamp(20px, 3vw, 28px) clamp(8px, 2vw, 16px) clamp(16px, 3vw, 28px);
    background-color: var(--tarleton-purple, #4f2d7f);
    color: var(--tarleton-white, #ffffff);
    border: 1px solid var(--tarleton-purple, #4f2d7f);
    border-radius: 0;
}
.widget_corps_latest_news_widget .wp-block-advgb-button .wp-block-advgb-button_link:hover {
    background-color: var(--tarleton-white, #ffffff);
    color: var(--tarleton-purple, #4f2d7f);
}

/** ------------------------ Footer ---------------------- **/
.site-footer {
    background: var(--tarleton-purple);
    color: var(--tarleton-white);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Billboard */
.footer-billboard {
    /*background: var(--tarleton-purple);*/
    background: linear-gradient(to bottom, var(--tarleton-purple) 0%, var(--tarleton-purple) 12%, var(--tarleton-dark-purple) 100%);
    color: var(--tarleton-white);
    padding: clamp(28px, 6vw, 80px) clamp(20px, 6vw, 80px);
}
.footer-billboard__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: center;
    justify-content: space-between;
}
.footer-billboard__brand {
    display: flex;
    flex-direction: row;
    gap: 50px;
}
.footer-billboard__brand .custom-logo {
    max-height: 150px;
    height: auto;
    width: auto;
}
.footer-billboard__title {
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.5px;
    font-size: clamp(28px, 6vw, 60px);
    text-transform: uppercase;
    color: var(--tarleton-white);
}
.footer-billboard__ctas {
    display: flex;
    gap: 30px;
    justify-content: flex-end;
}
.footer-billboard__cta-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/* Social */
.footer-social__list {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-social__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    color: var(--tarleton-white) !important;
    text-decoration: none;
}
.footer-social__link:hover {
    background: rgba(255, 255, 255, 0.12);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 177, 255, 0.55);
}
.footer-social__link i {
    font-size: 40px;
    line-height: 2;
}

.footer-cta__list,
.footer-social__list {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-cta__list > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1rem;
    border: 1px solid currentColor;
    text-decoration: none;
    color: var(--tarleton-white);
    font-weight: 700;
    line-height: 1;
}
.footer-cta__list > li > a:hover,
.footer-cta__list > li > a:focus-visible {
    background: rgba(255, 255, 255, 0.12);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 177, 255, 0.55);
}

/* Brand band */
.footer-brand {
    background: var(--tarleton-dark-purple);
    color: var(--tarleton-white);
    padding: clamp(20px, 5vw, 40px) clamp(20px, 5vw, 80px) 20px clamp(20px, 5vw, 80px);
}
.footer-brand__nav { 
    width: 100%; 
}

.footer-brand__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}
.footer-brand__links li { margin: 0; }
.footer-brand__links > li {
    font-family: 'futura-pt';
    color: var(--tarleton-white);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: clamp(14px, 1.5vw, 16px);
    line-height: clamp(20px, 2vw, 22px);
    position: relative;
    text-align: center;
}
.footer-brand__links a {
    color: inherit;
    text-decoration: none;
}

/* Footer meta links */
.site-footer .footer-meta a {
    color: var(--tarleton-white);
    text-decoration: underline;
}
.site-footer a:focus-visible {
    outline: 3px solid var(--tarleton-teal);
    outline-offset: 2px;
    border-radius: 8px;
    transition: outline 0.2ease, outline-offset 0.2s ease;
}

/* Legal - Compliance */
.footer-legal,
.footer-compliance {
    background: var(--tarleton-dark-purple);
    color: var(--tarleton-white);
    font-size: 0.95rem;
    padding: 0 clamp(20px, 5vw, 80px) clamp(20px, 5vw, 40px) clamp(20px, 5vw, 80px);
}
.footer-compliance {
    padding-top: 20px;
}
#site-footer:has(.footer-compliance) .footer-legal {
    padding: 0 clamp(20px, 5vw, 80px) 0 clamp(20px, 5vw, 80px);
}
.footer-legal__inner,
.footer-compliance__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 17px;
    flex-wrap: wrap;
}
.footer-legal__label,
.footer-compliance__label {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    letter-spacing: 0.2px;
    white-space: nowrap;
}
.footer-legal__list,
.footer-compliance__list {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    align-self: stretch;
    justify-content: center;
    align-items: flex-start;
}
.footer-legal__list li,
.footer-compliance__list li { 
    margin: 0; 
}
.footer-legal__list > li > a,
.footer-compliance__list > li > a {
    color: var(--tarleton-white);
    text-align: center;
    font-family: 'futura-pt';
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 20px;
}

.footer-legal a:focus-visible,
.footer-compliance a:focus-visible {
    outline: 3px solid var(--tarleton-teal);
    outline-offset: 6px;
    border-radius: 6px;
}

.post .entry-footer {
    padding: clamp(20px, 5vw, 40px) clamp(2px, 5vw, 80px);
}
.post .entry-footer .post-tags {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.post .entry-footer .post-tags .tags-label { 
    font-weight: 700; 
}

/* ─────────────── Breakpoints ─────────────── */

@media (min-width: 1441px) {
    .footer-brand__links > li { flex: 1 1 auto; }
}

@media (min-width: 1024px) and (max-width: 1440px) {
    .footer-brand__links {
        justify-content: center;
        align-items: center;
        gap: 12px 20px;
        align-self: stretch;
        flex-wrap: wrap;
    }
    .footer-brand__links > li {
        flex: unset;
        gap: 20px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .widget_corps_latest_news_widget .wp-block-latest-posts__list.is-grid {
        display: flex;
        flex-direction: column;
        gap: 28px;
        margin: 32px 0;
    }

    .widget_corps_latest_news_widget .wp-block-latest-posts__list > li {
        display: grid;
        grid-template-columns: clamp(220px, 35vw, 360px) 1fr;
        grid-template-rows: auto auto 1fr auto;
        grid-template-areas:
        "thumb title"
        "thumb excerpt"
        "thumb excerpt"
        "thumb date";
        gap: 12px 20px;
        align-items: start;
        width: 100%;
    }

    .widget_corps_latest_news_widget .wp-block-latest-posts__list > li > .wp-block-latest-posts__featured-image,
    .widget_corps_latest_news_widget .wp-block-latest-posts__list > li > .wp-block-latest-posts__feature-image {
        grid-area: thumb;
        position: relative;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

    .widget_corps_latest_news_widget .wp-block-latest-posts__list > li > .wp-block-latest-posts__featured-image > a,
    .widget_corps_latest_news_widget .wp-block-latest-posts__list > li > .wp-block-latest-posts__feature-image > a {
        position: absolute;
        inset: 0;
        display: block;
    }
    .widget_corps_latest_news_widget .wp-block-latest-posts__list > li > .wp-block-latest-posts__featured-image img,
    .widget_corps_latest_news_widget .wp-block-latest-posts__list > li > .wp-block-latest-posts__feature-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .widget_corps_latest_news_widget .wp-block-latest-posts__list > li > .wp-block-latest-posts__post-title {
        grid-area: title;
        align-self: end;
        margin: 0; /* tidy */
    }
    .widget_corps_latest_news_widget .wp-block-latest-posts__list > li > .wp-block-latest-posts__post-excerpt {
        grid-area: excerpt;
        margin: 0;
    }
    .widget_corps_latest_news_widget .wp-block-latest-posts__list > li > .wp-block-latest-posts__post-date {
        grid-area: date;
        align-self: start;
    }

    .widget_corps_latest_news_widget .wp-block-latest-posts__featured-image a img,
    .widget_corps_latest_news_widget .wp-block-latest-posts__feature-image a img {
        margin: 0 !important;
    }
}

@media (max-width: 1023px) {
    .footer-billboard__inner { flex-direction: column; }
    .footer-brand__links {
        justify-content: center;
        align-items: center;
        gap: 12px 20px;
        align-self: stretch;
        flex-wrap: wrap;
    }
    
}

@media (min-width: 768px) {
    .footer-brand__links > li + li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 1em;
        background: rgba(255, 255, 255, 0.45);
    }
}

@media (max-width: 768px) {
    .footer-billboard__ctas {
        flex-direction: column;
        align-items: center;
    }
    .footer-brand__links {
        justify-content: center;
        gap: 4px 12px;
    }
    .footer-brand__links > li { flex: unset; }
    .footer-legal__inner,
    .footer-compliance__inner {
        align-items: flex-start;
        align-content: flex-start;
        gap: 4px 12px;
        flex-wrap: wrap;
    }
    .footer-legal__list,
    .footer-compliance__list {
        gap: 4px 12px;
    }
    .widget_corps_latest_news_widget .wp-block-latest-posts__list.is-grid {
        display: flex;
        flex-direction: column;
        gap: 28px;
        margin: 32px 0;
    }
    .widget_corps_latest_news_widget .wp-block-latest-posts__list > li {
        width: 100%;
    }
    .footer-legal__label:first-child,
    .footer-compliance__label:first-child {
        border-bottom: 2px solid var(--tarleton-white);
        width: 100%;
        text-align: center;
    }
}
