/**
 * Theme Name: gentrylocke
 * Template:   twentytwentyfive
 */

:root {
    --gentrylocke-circle-gradient: linear-gradient(180deg, #204636 50%, var(--wp--preset--color--dark-green) 100%);
    --gentrylocke-form-required-color: #D0021B;
    --gentrylocke-social-hover-color: #888888;
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

* {
    box-sizing: border-box;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    text-decoration: none;
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
    text-decoration: underline;
}

.wp-block-paragraph a,
p > a,
.wp-block-list li > a,
.wp-block-table a {
    font-weight: 700;
}

h1 > em,
h2 > em,
h3 > em,
h4 > em,
h5 > em,
h6 > em {
    font-style: normal;
    font-weight: 400;
}

p strong {
    font-weight: 700;
}

.is-style-centered-mobile {
    @media (max-width: 781px) {
        text-align: center;
        justify-content: center;

        &.is-vertical {
            align-items: center !important;
        }

        ul,
        ol,
        .is-style-centered-mobile__list {
            text-align: left;
        }

        .wp-block-button {
            .wp-block-button__link {
                text-align: center;
                display: inline-block;
                vertical-align: middle;
            }
        }
    }
}

.wp-block-buttons.is-content-justification-center {
    .wp-block-button {
        .wp-block-button__link {
            text-align: center;
            display: inline-block;
            vertical-align: middle;
        }
    }
}

.wp-block-media-text {
    @media (max-width: 781px) {
        /*grid-template-columns: 100% !important;*/
        text-align: center;
        justify-content: center;

        .is-style-centered-mobile__list {
            text-align: left;
        }

        .wp-block-media-text__media {
            /*grid-column: 1;*/
            /*grid-row: 1;*/
            margin-inline: auto;
            margin-block-end: 2rem;
            min-height: 0 !important;
        }

        .wp-block-media-text__content {
            /*grid-column: 1;*/
            /*grid-row: 2;*/
        }

        ul,
        ol {
            text-align: left;
        }
    }
}

/* Replace core's 0 8% content padding with an explicit column gap.
   theme.json has no gap setting for core/media-text, so it lives here. */
.wp-block-media-text {
    grid-column-gap: var(--wp--preset--spacing--60);
}

.wp-block-media-text > .wp-block-media-text__content {
    padding: 0;
}

.is-style-centered-tablet {
    @media (max-width: 1023px) {
        text-align: center;
        justify-content: center;
    }
}

.is-style-hide-mobile {
    @media (max-width: 781px) {
        display: none;
    }
}

.is-style-hide-tablet {
    @media (max-width: 1023px) {
        display: none;
    }
}

/* Default button: smaller type and em-scaled arrow on mobile. Lives here
   rather than in theme.json's "css" because WP drops nested @media there. */
@media (max-width: 781px) {
    .wp-block-button:not(.is-style-arrow):not(.is-style-solid) .wp-block-button__link {
        font-size: 1.25rem;
    }

    .wp-block-button:not(.is-style-arrow):not(.is-style-solid) .wp-block-button__link::before {
        margin-inline-end: 0.7em;
        border-top-width: 0.47em;
        border-bottom-width: 0.47em;
        border-left-width: 0.67em;
    }
}

.is-style-arrow .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--wp--preset--font-family--gotham);
    font-size: 1.3125rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--wp--preset--color--dark-green);
}

.is-style-arrow .wp-block-button__link::before {
    content: "";
    flex-shrink: 0;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid var(--wp--preset--color--lime-green);
}

.is-style-arrow .wp-block-button__link:hover {
    color: var(--wp--preset--color--lime-green);
}

.is-style-solid .wp-block-button__link {
    padding: 12px;
    border-radius: 5px;
    font-family: var(--wp--preset--font-family--gotham);
    font-size: 1.3125rem;
    font-weight: 700;
    text-transform: uppercase;
    background-color: var(--wp--preset--color--dark-green);
    color: var(--wp--preset--color--white);
}

.is-style-solid .wp-block-button__link:hover {
    color: var(--wp--preset--color--lime-green);
}

.is-style-circle-dark-green {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Default (unstyled) buttons: dark-green text + lime arrow on light
   backgrounds, white text + lime arrow on dark sections. */
.is-style-dark .wp-block-button:not(.is-style-arrow):not(.is-style-solid) .wp-block-button__link:not(.has-text-color),
.is-style-circle-dark-green .wp-block-button:not(.is-style-arrow):not(.is-style-solid) .wp-block-button__link:not(.has-text-color) {
    color: var(--wp--preset--color--white);
}

.is-style-dark .wp-block-button:not(.is-style-arrow):not(.is-style-solid) .wp-block-button__link:not(.has-text-color):hover,
.is-style-circle-dark-green .wp-block-button:not(.is-style-arrow):not(.is-style-solid) .wp-block-button__link:not(.has-text-color):hover {
    color: var(--wp--preset--color--lime-green);
}

/* is-style-dark's own link color comes from styles/dark.json (it's a
   registered block style variation); is-style-circle-dark-green isn't, so
   its links need the same white/lime-green treatment set here instead. */
.is-style-circle-dark-green a:not(.wp-block-button__link):not(.has-text-color) {
    color: var(--wp--preset--color--white);
}

.is-style-circle-dark-green a:not(.wp-block-button__link):not(.has-text-color):hover {
    color: var(--wp--preset--color--lime-green);
}

.page-hero {
    position: relative;
    margin-top: 0;
}

.page-hero__image {
    height: 340px;
    margin: 0;
}

.page-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 33%;
}

/* Editor-selected crop focus (Image Focus field on basic pages) */
.page-hero__image--upper img {
    object-position: center 15%;
}

.page-hero__image--middle img {
    object-position: center 50%;
}

.page-hero__image--lower img {
    object-position: center 85%;
}

.page-hero__content {
    position: relative;
    margin-top: 0;
    padding: 3rem 1.5rem;
    text-align: center;
}

.page-hero__content::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 13px;
    background-color: var(--wp--preset--color--lime-green);
}

.page-hero__title {
    margin: 0 0 1rem;
    font-size: 3.125rem;
    font-weight: 900;

    @media (max-width: 781px) {
        font-size: 2.5rem;
    }
}

.page-hero__subtitle {
    margin: 0;
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 400;
}

.is-style-pull-down-lg,
.is-style-pull-down-sm {
    position: relative;
    z-index: 2;
}

.is-style-pull-down-lg {
    margin-bottom: -160px !important;

    /* No overlap on mobile — there's no room for it, and it just causes
       content to collide. */
    @media (max-width: 781px) {
        margin-bottom: 0 !important;
    }
}

.is-style-pull-down-sm {
    margin-bottom: -60px !important;

    @media (max-width: 781px) {
        margin-bottom: 0 !important;
    }
}

/* On the Media & Text block, a background-less container can't visually
   "pull" the next block up (nothing to overlap with), so the negative
   margin is moved onto the media figure instead of the whole container. */
.wp-block-media-text.is-style-pull-down-lg,
.wp-block-media-text.is-style-pull-down-sm {
    margin-bottom: 0 !important;
}

.wp-block-media-text.is-style-pull-down-lg .wp-block-media-text__media {
    margin-bottom: -160px !important;

    @media (max-width: 781px) {
        margin-bottom: 0 !important;
    }
}

.wp-block-media-text.is-style-pull-down-sm .wp-block-media-text__media {
    margin-bottom: -60px !important;

    @media (max-width: 781px) {
        margin-bottom: 0 !important;
    }
}

.is-style-push-lg {
    padding-top: 160px;

    @media (max-width: 781px) {
        padding-top: 0;
    }
}

.is-style-push-sm {
    padding-top: 60px;

    @media (max-width: 781px) {
        padding-top: 0;
    }
}

.is-style-circle-dark-green::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    width: 80vw;
    max-width: 1440px;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--gentrylocke-circle-gradient);
    pointer-events: none;

    @media (max-width: 781px) {
        display: none;
    }

    @media (min-width: 782px) {
        width: 1440px;
    }
}

.wp-block-accordion-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

.wp-block-accordion-panel {
    padding-bottom: 1rem;
}

.wp-block-accordion-heading__toggle-title {
    font-size: 1.5625rem;
    text-transform: uppercase;
    color: var(--wp--preset--color--dark-green);
}

.wp-block-accordion-heading__toggle:hover .wp-block-accordion-heading__toggle-title {
    color: var(--wp--preset--color--lime-green);
    text-decoration: none;
}

.wp-block-accordion-heading__toggle-icon {
    width: 0;
    height: 0;
    margin-inline: 0.2em;
    overflow: hidden;
    border-top: 0.225em solid transparent;
    border-bottom: 0.225em solid transparent;
    border-left: 0.34em solid var(--wp--preset--color--dark-green);
}

.wp-block-accordion .wp-block-accordion-item.is-open > .wp-block-accordion-heading .wp-block-accordion-heading__toggle-icon {
    transform: rotate(90deg);
}

.is-style-dark .wp-block-accordion-item,
.is-style-circle-dark-green .wp-block-accordion-item {
    border-bottom-color: rgba(255, 255, 255, 0.4);
}

.is-style-dark .wp-block-accordion-heading__toggle-title,
.is-style-circle-dark-green .wp-block-accordion-heading__toggle-title {
    color: var(--wp--preset--color--white);
}

.is-style-dark .wp-block-accordion-heading__toggle-icon,
.is-style-circle-dark-green .wp-block-accordion-heading__toggle-icon {
    border-left-color: var(--wp--preset--color--lime-green);
}

.wp-block-media-text.is-style-media-breakout {
    --gentrylocke-media-breakout: clamp(0px, calc((100vw - var(--wp--style--global--content-size, 1200px)) / 2), 120px);
}

.wp-block-media-text.is-style-media-breakout:not(.has-media-on-the-right) .wp-block-media-text__media {
    margin-left: calc(var(--gentrylocke-media-breakout) * -1);
}

.wp-block-media-text.is-style-media-breakout.has-media-on-the-right .wp-block-media-text__media {
    margin-right: calc(var(--gentrylocke-media-breakout) * -1);
}

@media (max-width: 600px) {
    .wp-block-media-text.is-style-media-breakout:not(.has-media-on-the-right) .wp-block-media-text__media,
    .wp-block-media-text.is-style-media-breakout.has-media-on-the-right .wp-block-media-text__media {
        margin-right: calc(var(--wp--style--root--padding-right) * -1);
        margin-left: calc(var(--wp--style--root--padding-left) * -1);
    }
}

.is-style-columns-2 {
    column-count: 2;
    column-gap: 2rem;

    @media (max-width: 781px) {
        column-count: 1;
    }
}

.wp-block-search.is-style-underline-label {
    align-items: center;
    justify-content: center;
    column-gap: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    row-gap: 0.5rem;
}

.wp-block-search.is-style-underline-label .wp-block-search__label {
    color: currentColor;
    flex-shrink: 0;
    font-family: var(--wp--preset--font-family--gotham);
    font-size: var(--wp--preset--font-size--large);
    font-weight: 700;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
    width: auto;

    @media (max-width: 600px) {
        margin-bottom: 0.5rem;
        width: 100%;
    }
}

.wp-block-search.is-style-underline-label .wp-block-search__inside-wrapper {
    background: none;
    border: none;
    flex: 1;
    min-width: 200px;
    max-width: 389px;
}

.wp-block-search.is-style-underline-label .wp-block-search__input {
    background: transparent;
    border: none;
    border-bottom: 2px solid currentColor;
    border-radius: 0;
    color: currentColor;
    font-family: var(--wp--preset--font-family--montserrat);
    font-size: var(--wp--preset--font-size--small);
    font-weight: 300;
    padding: 0 0 0.25rem;
    width: 100%;
}

.wp-block-search.is-style-underline-label .wp-block-search__input::placeholder {
    color: currentColor;
    opacity: 1;
}

.wp-block-search.is-style-underline-label .wp-block-search__button {
    display: none;
}

@media (max-width: 600px) {
    .wp-block-search.is-style-underline-label {
        align-items: flex-start;
        flex-direction: column;
    }

    .wp-block-search.is-style-underline-label .wp-block-search__label {
        text-align: center;
    }

    .wp-block-search.is-style-underline-label .wp-block-search__inside-wrapper {
        width: 100%;
    }
}

/* ── 404 search form (templates/404.html) ─────────────────────────────────
   Same pill input as the header search (blocks/primary-menu/) plus the text
   "Search" button used by the archive filters (.gl-news-archive__filters-submit). */

.wp-block-search.not-found-search {
    margin-inline: auto;
    max-width: 520px;
}

.not-found-search .wp-block-search__inside-wrapper {
    align-items: center;
    gap: 1.5rem;
}

.not-found-search .wp-block-search__input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 18px;
    border: 2px solid var(--wp--preset--color--lime-green);
    border-radius: 30px;
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--black);
    font-family: var(--wp--preset--font-family--montserrat);
    font-size: 0.9375rem;

    &:focus {
        outline: none;
        border-color: var(--wp--preset--color--dark-green);
    }
}

.not-found-search .wp-block-search__button {
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--wp--preset--color--dark-green);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;

    &:hover,
    &:focus-visible {
        background: none;
        color: var(--wp--preset--color--lime-green);
    }
}

.back-to-top {
    position: fixed;
    right: 60px;
    bottom: 60px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--wp--preset--color--lime-green);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;

    @media (max-width: 781px) {
        right: 30px;
        bottom: 30px;
    }
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top__icon {
    display: flex;
    width: 14px;
    height: 14px;
}

.back-to-top__icon svg {
    width: 100%;
    height: 100%;
}

.back-to-top__icon path {
    fill: var(--wp--preset--color--dark-green);
}

.featured-hero {
    position: relative;
    height: 50vw;
    max-height: 600px;
    margin-top: 0;
    overflow: hidden;

    @media (max-width: 781px) {
        height: 325px;
    }
}

.featured-hero__circle {
    height: 100%;
    width: 100%;
    margin: auto;
    mask: url('/wp-content/themes/gentrylocke/assets/images/clip-circle.svg') center bottom;
    max-width: 1440px;

    @media (min-width: 782px) {
        mask-size: cover;
        mask-repeat: no-repeat;
    }
}

.featured-hero__circle::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, transparent 66.667%, color-mix(in srgb, var(--wp--preset--color--dark-green) 60%, transparent) 80%, var(--wp--preset--color--dark-green) 100%);
}

.featured-hero__image {
    margin: 0;
    width: 100%;
    height: 100%;

    @media (max-width: 781px) {
        position: absolute;
        bottom: 0;
        height: 325px;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
    }
}

.featured-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.featured-hero__title {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 20%;
    margin: 0;
    text-align: center;
    font-size: clamp(1.5625rem, 5vw, 4.6875rem);
    font-weight: 900;
    transform: translateX(-50%);
    width: 50%;
    max-width: 850px;

    @media (max-width: 781px) {
        bottom: 50px;
        width: 80%;
    }
}

input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    display: none; /* Removes the button entirely */
}

/*
 * Formidable's own stylesheet is disabled site-wide (Formidable Settings →
 * "Load default styles" = None), so these rules target its markup/class
 * names directly rather than overriding its CSS custom properties.
 */

.frm_screen_reader {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    border: 0;
    word-wrap: normal !important;
}

.frm_screen_reader.frm_hidden {
    display: initial;
}

.frm_flex,
.frm_full_row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.with_frm_style.frm_center_submit .frm_flex.frm_submit {
    justify-content: center;
}

.frm_forms .frm_fields_container,
.frm_forms .frm_grid_container,
.frm_forms .frm_combo_inputs_container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0 2%;
}

.frm_forms .frm_fields_container > .frm_form_field,
.frm_forms .frm_grid_container > .frm_form_field,
.frm_forms .frm_combo_inputs_container > .frm_form_field {
    grid-column: span 12;
}

.frm_forms .frm_form_field.frm_half,
.frm_forms .frm_form_field.frm_first_half,
.frm_forms .frm_form_field.frm_last_half,
.frm_forms .frm_form_field.frm6 {
    grid-column: span 6;
}

.frm_forms .frm_form_field.frm_third,
.frm_forms .frm_form_field.frm_first_third,
.frm_forms .frm_form_field.frm_last_third,
.frm_forms .frm_form_field.frm4 {
    grid-column: span 4;
}

.frm_forms .frm_form_field.frm_two_thirds {
    grid-column: span 8;
}

.frm_forms .frm_form_field.frm_fourth,
.frm_forms .frm_form_field.frm_first_fourth,
.frm_forms .frm_form_field.frm_last_fourth {
    grid-column: span 3;
}

@media (max-width: 600px) {
    .frm_forms .frm_fields_container > .frm_form_field,
    .frm_forms .frm_grid_container > .frm_form_field {
        grid-column: span 12;
    }
}

.frm_forms .frm_form_fields fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

.frm_forms fieldset > legend {
    /*font-size: 1.5rem;*/
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5em;
}

.frm_forms .frm_form_field {
    margin-bottom: 1.5rem;

    @media (max-width: 781px) {
        /*margin-bottom: 0.75rem;*/
    }
}

.frm_forms .frm_primary_label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--wp--preset--font-family--montserrat);
    /*font-size: 1.3125rem;*/
    font-size: 1rem;
    font-weight: 400;
    color: var(--wp--preset--color--black);

    @media (max-width: 781px) {
        /*font-size: 1rem;*/
    }
}

.frm_forms .frm_required {
    margin-left: 2px;
    color: var(--gentrylocke-form-required-color);
    font-weight: 400;
}

.frm_forms input[type="text"],
.frm_forms input[type="email"],
.frm_forms input[type="tel"],
.frm_forms input[type="number"],
.frm_forms input[type="url"],
.frm_forms input[type="search"],
.frm_forms input[type="password"],
.frm_forms select,
.frm_forms textarea {
    box-sizing: border-box;
    width: 100%;
    /*padding: 14px 22px;*/
    padding: 0.5rem 0.75rem;
    border: 2px solid var(--wp--preset--color--lime-green);
    border-radius: 30px;
    background-color: var(--wp--preset--color--white);
    color: var(--wp--preset--color--black);
    font-family: var(--wp--preset--font-family--montserrat);
    font-size: 1rem;
    line-height: 1.1;

    @media (max-width: 781px) {
        font-size: 0.8rem;
    }

    &:focus {
        outline: none;
        border-color: var(--wp--preset--color--dark-green);
    }
}

.frm_forms select {
    color: rgb(117, 117, 117);
}

/* iOS Safari ignores line-height on appearance:none selects, so they render shorter than inputs. Force the same height. */
.frm_forms input[type="text"],
.frm_forms input[type="email"],
.frm_forms input[type="tel"],
.frm_forms input[type="number"],
.frm_forms input[type="url"],
.frm_forms input[type="search"],
.frm_forms input[type="password"],
.frm_forms select {
    min-height: calc(1.1em + 1rem + 4px);
}

.frm_forms input[type="text"]:focus,
.frm_forms input[type="email"]:focus,
.frm_forms input[type="tel"]:focus,
.frm_forms input[type="number"]:focus,
.frm_forms input[type="url"]:focus,
.frm_forms input[type="search"]:focus,
.frm_forms input[type="password"]:focus,
.frm_forms select:focus,
.frm_forms textarea:focus {
    outline: none;
    border-color: var(--wp--preset--color--dark-green);
}

.frm_forms input[type="text"]::placeholder,
.frm_forms input[type="email"]::placeholder,
.frm_forms input[type="tel"]::placeholder,
.frm_forms input[type="number"]::placeholder,
.frm_forms input[type="url"]::placeholder,
.frm_forms input[type="search"]::placeholder,
.frm_forms input[type="password"]::placeholder,
.frm_forms textarea::placeholder {
    color: rgb(117, 117, 117);
}

.frm_forms .frm_blank_field input,
.frm_forms .frm_blank_field select,
.frm_forms .frm_blank_field textarea {
    border-color: var(--gentrylocke-form-required-color);
}

.frm_forms .frm_error_style {
    margin-bottom: 1.5rem;
    padding: 12px 16px;
    border: 1px solid var(--gentrylocke-form-required-color);
    border-radius: 12px;
    color: var(--gentrylocke-form-required-color);
}

.frm_forms select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 48px;
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 1.5em 1.5em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23115740' d='M8 5v14l11-7z'/%3E%3C/svg%3E");
}

.frm_forms select::-ms-expand {
    display: none;
}

.frm_forms input[type="submit"],
.frm_forms button[type="submit"],
input[type="submit"],
button[type="submit"] {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0;
    border: 0;
    background-color: transparent;
    color: var(--wp--preset--color--dark-green);
    font-family: var(--wp--preset--font-family--gotham);
    font-size: 1.3125rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease;
}

/* <button> supports generated content, so the arrow is a ::before triangle. */
.frm_forms button[type="submit"]::before,
button[type="submit"]::before {
    content: "";
    flex-shrink: 0;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid var(--wp--preset--color--lime-green);
}

/* <input type="submit"> is a replaced element (no ::before support), so the
   arrow is a background-image triangle instead. */
.frm_forms input[type="submit"],
input[type="submit"] {
    padding-left: 1.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='20' viewBox='0 0 16 20'%3E%3Cpath fill='%2372AB42' d='M0 0L16 10L0 20Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 16px 20px;
}

.frm_forms input[type="submit"]:hover,
.frm_forms button[type="submit"]:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
    color: var(--wp--preset--color--lime-green);
}

.frm_form_field .frm-g-recaptcha {
    display: flex;
    justify-content: center;
}

/* Specific form overrides */
#frm_field_431_container {
    display: none;
}

#frm_field_268_container h3 {
    display: none !important;
}

.is-style-dark .frm_forms .frm_primary_label,
.is-style-circle-dark-green .frm_forms .frm_primary_label {
    color: var(--wp--preset--color--white);
}

.is-style-dark .frm_forms select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2372AB42' d='M8 5v14l11-7z'/%3E%3C/svg%3E");
}

footer.wp-block-template-part {
    margin-top: 0;
}

.site-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.site-footer::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: -1;
    width: 80vw;
    max-width: 1440px;
    aspect-ratio: 1 / 1;
    transform: translate(-50%, 50%);
    border-radius: 50%;
    background: var(--gentrylocke-circle-gradient);
    opacity: 0.25;
    pointer-events: none;

    @media (max-width: 781px) {
        display: none;
    }

    @media (min-width: 782px) {
        width: 1440px;
    }
}

.site-footer__inner {
    padding-top: 4rem;
    padding-bottom: 3rem;

    @media (max-width: 781px) {
        padding-top: 3rem;
        text-align: center;
    }
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-areas: "logo tagline utility" "offices offices social";
    align-items: center;
    row-gap: 2rem;

    @media (max-width: 781px) {
        grid-template-columns: 1fr;
        grid-template-areas: "logo" "social" "utility" "offices";
        justify-items: center;
        row-gap: 1.5rem;
    }
}

.site-footer__logo {
    grid-area: logo;
}

.site-footer__logo-image {
    margin: 0;
    width: 220px;
}

.site-footer__logo-image img {
    display: block;
    width: 100%;
    height: auto;
}

.site-footer__tagline {
    grid-area: tagline;
    margin: 0;
    text-align: center;
    font-family: var(--wp--preset--font-family--gotham);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
}

.site-footer__utility {
    grid-area: utility;
    gap: 1.5rem;
    justify-content: flex-end;

    @media (min-width: 782px) {
        margin-top: 0;
    }
}

.site-footer__utility-link {
    margin: 0;
}

.site-footer__utility-link a {
    color: var(--wp--preset--color--white);
    font-family: var(--wp--preset--font-family--gotham);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
}

.site-footer__utility-link a:hover {
    color: var(--wp--preset--color--lime-green);
    text-decoration: none;
}

.site-footer__offices {
    grid-area: offices;
    gap: 2rem;

    @media (max-width: 781px) {
        display: none !important;
    }
}

.site-footer__office-link {
    margin: 0;
}

.site-footer__office-link a {
    color: var(--wp--preset--color--white);
    font-family: var(--wp--preset--font-family--gotham);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
}

.site-footer__office-link a:hover {
    color: var(--wp--preset--color--lime-green);
    text-decoration: none;
}

.site-footer__social {
    grid-area: social;
    gap: 0.75rem;
    justify-content: flex-end;
}

.site-footer__social-icon {
    margin: 0;
    width: 36px;
}

.site-footer__social-icon svg {
    display: block;
    width: 100%;
    height: auto;
}

.site-footer__social-icon__bg {
    transition: fill 0.2s ease;
}

.site-footer__social-icon a:hover .site-footer__social-icon__bg,
.site-footer__social-icon a:focus .site-footer__social-icon__bg {
    fill: var(--gentrylocke-social-hover-color);
}

.site-footer__divider {
    margin: 3rem 0;
    border-color: rgba(255, 255, 255, 0.4);

    @media (max-width: 781px) {
        margin: 2rem 0;
    }
}

.site-footer__disclaimer {
    margin: 0;
    text-align: center;
    font-size: 0.875rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    opacity: 0.8;
    font-family: var(--wp--preset--font-family--gotham);

    > span {
        text-transform: none;
    }
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    /* Matches the wide-aligned .site-footer__inner's side inset above it —
       WP's own alignwide margin/max-width technique doesn't translate
       cleanly onto this row's flex + space-between children (auto
       margins fight justify-content), so the inset is set directly here
       instead. */
    padding: 1.5rem var(--wp--style--root--padding-right) 1.5rem var(--wp--style--root--padding-left);
    background-color: color-mix(in srgb, var(--wp--preset--color--dark-green) 60%, black);

    @media (max-width: 781px) {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

.site-footer__copyright {
    margin: 0;
    font-size: 0.7rem;
    opacity: 0.8;
}

.site-footer__legal {
    gap: 4rem;
    margin: 0;

    @media (max-width: 781px) {
        gap: 0.75rem;
    }
}

.site-footer__legal-link {
    margin: 0;
}

.site-footer__legal-link a {
    color: var(--wp--preset--color--white);
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
    text-decoration: none;
}

.site-footer__legal-link a:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 781px) {
    .site-footer__legal-link--privacy {
        order: 1;
    }

    .site-footer__legal-link--disclaimer {
        order: 2;
    }

    .site-footer__legal-link--equal-opportunity {
        order: 3;
    }
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: relative;
    z-index: 20;
    background-color: var(--wp--preset--color--white);
}

.site-header__inner {
    position: relative;
    z-index: 15;
    background-color: var(--wp--preset--color--white);
}

.site-header__utility {
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: -20px;
    padding-top: 20px;

    @media (max-width: 781px) {
        display: none !important;
    }
}

.site-header__utility-link {
    margin: 0;
}

.site-header__utility-link a {
    display: inline-block;
    padding: 8px;
    border-radius: 5px;
    background-color: var(--wp--preset--color--dark-green);
    color: var(--wp--preset--color--white);
    font-family: var(--wp--preset--font-family--gotham);
    font-size: 0.875rem;
    font-weight: normal;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    text-decoration: none;
}

.site-header__utility-link a:hover {
    background-color: var(--wp--preset--color--lime-green);
}

.site-header__main {
    align-items: center;
    gap: 2rem;
    margin-top: 0;
    padding: 0 0 1.25rem;

    @media (min-width: 782px) {
        align-items: flex-end;
    }

    @media (max-width: 781px) {
        padding: 0.75rem 0;
    }
}

.site-header__logo-image {
    margin: 0;
    width: 200px;

    @media (max-width: 781px) {
        width: 160px;
    }
}

.site-header__logo-image img {
    display: block;
    width: 100%;
    height: auto;
}

body.has-open-primary-menu {
    overflow: hidden;
}

.is-style-rise-in {
    overflow: hidden;
}

.is-style-rise-in > .rise-in__inner {
    display: block;
    transform: translateY(100%);
    transition: transform 500ms ease-out;
}

.is-style-rise-in.is-in-view > .rise-in__inner {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .is-style-rise-in > .rise-in__inner {
        transform: none;
        transition: none;
    }
}

/* ── Why Gentry Locke sticky widget ── */

.gl-why-widget {
    display: flex;
    align-items: flex-start;
    pointer-events: none; /* wrapper never blocks clicks */
    position: fixed;
    right: 1rem;
    top: 400px;
    transform: translateY(-50%);
    z-index: 9000;
}

/* Trigger button */
.gl-why-widget__trigger {
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    margin-left: -44px; /* logo half-width overlap on panel */
    padding: 0;
    pointer-events: auto; /* re-enable on the actual button */
    position: relative;
    z-index: 2;

    &:focus-visible {
        outline: 3px solid var(--wp--preset--color--lime-green);
        outline-offset: 3px;
        border-radius: 50%;
    }
}

.gl-why-widget__why-label {
    background: var(--wp--preset--color--dark-green);
    color: var(--wp--preset--color--white);
    font-family: var(--wp--preset--font-family--montserrat, sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 3px 12px;
    position: relative;

    &::after {
        position: absolute;
        top: calc(100% - 2px);
        width: 100%;
        height: 2lh;
        left: 0;
        content: '';
        background: var(--wp--preset--color--dark-green);
        z-index: -1;
    }
}

.gl-why-widget__logo {
    border-radius: 50%;
    display: block;
    height: 88px;
    width: 88px;
}

/* Panel */
.gl-why-widget__panel {
    background: var(--wp--preset--color--dark-green);
    border: 5px solid var(--wp--preset--color--white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    max-width: 580px;
    opacity: 0;
    padding: 2.5rem 2rem 2rem;
    pointer-events: none;
    position: relative;
    transform: translateX(12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    visibility: hidden;
    width: 90vw;

    @media (max-width: 600px) {
        padding: 2.5rem 1.25rem 1.5rem;
    }
}

.gl-why-widget.is-open .gl-why-widget__panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
}

/* Close button */
.gl-why-widget__close {
    align-items: center;
    background: none;
    border: none;
    color: var(--wp--preset--color--white);
    cursor: pointer;
    display: flex;
    height: 32px;
    justify-content: center;
    left: 1rem;
    padding: 0;
    position: absolute;
    top: 1rem;
    width: 32px;

    &:hover,
    &:focus-visible {
        color: var(--wp--preset--color--lime-green);
        outline: none;
    }

    &:focus-visible {
        outline: 2px solid var(--wp--preset--color--lime-green);
        outline-offset: 2px;
        border-radius: 4px;
    }
}

/* Title — visually sized like an h2 but is an h1 per requirements */
.gl-why-widget__title {
    color: var(--wp--preset--color--white);
    font-family: var(--wp--preset--font-family--montserrat, sans-serif);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    font-weight: 800;
    line-height: 1.3;
    margin: 0.5rem 0 1rem;
    padding-inline-end: 1rem; /* breathing room from logo overlap */
}

.gl-why-widget__body {
    color: var(--wp--preset--color--white);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0 0 1.5rem;
}

/* CTA links */
.gl-why-widget__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.gl-why-widget__link {
    align-items: center;
    color: var(--wp--preset--color--white);
    display: inline-flex;
    font-family: var(--wp--preset--font-family--gotham);
    font-size: 0.9375rem;
    font-weight: 700;
    gap: 0.75rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;

    &::before {
        content: "";
        flex-shrink: 0;
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 16px solid var(--wp--preset--color--lime-green);
    }

    &:hover,
    &:focus-visible {
        color: var(--wp--preset--color--lime-green);
    }

    &:focus-visible {
        outline: 2px solid var(--wp--preset--color--lime-green);
        outline-offset: 2px;
        border-radius: 3px;
    }
}

/* Mobile: collapse into a full-width bar above the header; panel opens below it */
@media (max-width: 781px) {
    .gl-why-widget {
        display: flex;
        flex-direction: column;
        pointer-events: auto;
        position: static;
        transform: none;
        width: 100%;
        z-index: 30;
    }

    .gl-why-widget__trigger {
        align-items: center;
        background: var(--wp--preset--color--dark-green);
        flex-direction: row;
        gap: 0.75rem;
        justify-content: center;
        margin: 0;
        order: 1;
        padding: 0.75rem 1.25rem;
        width: 100%;
    }

    .gl-why-widget__why-label {
        background: none;
        font-size: 1.0625rem;
        padding: 0;

        &::after {
            display: none;
        }
    }

    .gl-why-widget__logo {
        height: 44px;
        width: 44px;
    }

    .gl-why-widget__panel {
        border-width: 0;
        border-top: 5px solid var(--wp--preset--color--white);
        display: none;
        max-width: none;
        opacity: 1;
        order: 2;
        transform: none;
        visibility: visible;
        width: 100%;
    }

    .gl-why-widget.is-open .gl-why-widget__panel {
        display: block;
    }
}

.gl-news-archive__heading {
    margin: 0 0 3rem;
    color: var(--wp--preset--color--dark-green);
    font-size: var(--wp--preset--font-size--x-large);
    text-transform: uppercase;
}

.gl-news-archive__library {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--wp--preset--color--black);
}

.gl-news-archive__date {
    margin: 0 0 0.5rem;
    color: var(--wp--preset--color--gray-3);
    font-size: 21px;
    font-weight: 500;
}

.gl-news-archive__featured-card .gl-news-archive__date {
    margin-bottom: 2.25rem;
}

.gl-news-archive__card .gl-news-archive__date {
    margin-bottom: 1.3125rem;
}

.gl-news-archive__featured-title,
.gl-news-archive__card-title {
    margin: 0 0 0.75rem;
    font-family: var(--wp--preset--font-family--montserrat);
    font-size: 21px;
    text-transform: none;
}

.gl-news-archive__featured-title {
    margin-bottom: 2.25rem;
    font-size: 1.875rem;
}

.gl-news-archive__card-title {
    margin-bottom: 1.3125rem;
}

.gl-news-archive__featured-title a,
.gl-news-archive__card-title a {
    color: inherit;
    text-decoration: none;

    &:hover,
    &:focus-visible {
        text-decoration: underline;
    }
}

.gl-news-archive__featured-grid {
    display: grid;
    gap: 2.5rem 2rem;
    grid-template-columns: 1fr 1fr;
}

.gl-news-archive__featured-card {
    display: flex;
    flex-direction: column;
}

.gl-news-archive__featured-image,
.gl-news-archive__card-image {
    display: block;
    margin: 0 0 1rem;
    aspect-ratio: 768 / 432;
    overflow: hidden;
    background-color: var(--wp--preset--color--dark-green);
    background-image: url("/wp-content/themes/gentrylocke/assets/images/gentrylocke-logo-border.svg");
    background-position: center center;
    background-repeat: no-repeat;

}

.gl-news-archive__featured-image {
    margin-bottom: 2.25rem;
}

.gl-news-archive__card-image {
    margin-bottom: 1.3125rem;
}

.gl-news-archive__featured-image-img,
.gl-news-archive__card-image-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.gl-news-archive__pill {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 2.25rem;
    padding: 0.25rem 0.75rem;
    background-color: var(--wp--preset--color--dark-green);
    color: var(--wp--preset--color--white);
    font-family: var(--wp--preset--font-family--gotham);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.gl-news-archive__filters {
    margin-bottom: 2.5rem;
}

.gl-news-archive__filters-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    column-gap: 1.5rem;

    @media (min-width: 782px) {
        flex-wrap: nowrap;
    }
}

.gl-news-archive__filters-select,
.gl-news-archive__filters-input {
    flex: 1 1 180px;
    min-width: 0;
    padding: 0.65rem 1.25rem;
    border: 2px solid var(--wp--preset--color--lime-green);
    border-radius: 999px;
    background-color: transparent;
    color: rgb(117, 117, 117);
    font-size: 0.9375rem;

    @media (min-width: 782px) {
        flex-basis: 0;
    }
}

/* Same pill select + SVG arrow as .associations__filter-select */
.gl-news-archive__filters-select {
    padding-right: 2.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12' fill='%23144734'%3E%3Cpath d='M0 0 10 6 0 12Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 0.625rem 0.75rem;
    text-align: left;
    text-align-last: left;
    appearance: none;
}

.gl-news-archive__filters-select:focus-visible,
.gl-news-archive__filters-input:focus-visible {
    outline: 2px solid var(--wp--preset--color--dark-green);
    outline-offset: 2px;
}

.gl-news-archive__filters-input::placeholder {
    color: rgb(117, 117, 117);
    opacity: 1;
}

.gl-news-archive__filters-submit {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--wp--preset--color--dark-green);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;

    &:hover,
    &:focus-visible {
        color: var(--wp--preset--color--lime-green);
    }
}

.gl-news-archive__grid {
    display: grid;
    gap: 6rem 2rem;
    grid-template-columns: repeat(3, 1fr);
    row-rule: 1px solid rgba(0, 0, 0, 0.25);

    @media (max-width: 1024px) {
        grid-template-columns: repeat(2, 1fr);
    }

    @media (max-width: 781px) {
        grid-template-columns: 1fr;
    }
}

.gl-news-archive__card {
    display: flex;
    flex-direction: column;
}

.gl-news-archive__read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--wp--preset--color--dark-green);
    font-family: var(--wp--preset--font-family--gotham);
    font-size: 1.3125rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;

    &:hover,
    &:focus-visible {
        color: var(--wp--preset--color--lime-green);
    }
}

.gl-news-archive__read-more-icon {
    display: flex;
    width: 0.625rem;
    height: 0.75rem;
    color: var(--wp--preset--color--lime-green);
}

.gl-news-archive__read-more-icon svg {
    width: 100%;
    height: 100%;
}

.gl-news-archive__pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.gl-news-archive__pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 2.25rem;
    padding: 0 0.5rem;
    border-radius: 4px;
    color: var(--wp--preset--color--dark-green);
    text-decoration: underline;

    &:hover,
    &:focus-visible {
        color: var(--wp--preset--color--lime-green);
        text-decoration: none;
    }

    &.dots {
        text-decoration: none;

        &:hover,
        &:focus-visible {
            color: inherit;
        }
    }
}

.gl-news-archive__pagination .page-numbers.current {
    color: var(--wp--preset--color--lime-green);
    text-decoration: none;
}

.gl-news-archive__pagination-arrow {
    display: flex;
    width: 0.625rem;
    height: 0.75rem;
    color: var(--wp--preset--color--dark-green);
}

.gl-news-archive__pagination-arrow svg {
    width: 100%;
    height: 100%;
}

.gl-news-archive__pagination-arrow--prev {
    transform: rotate(180deg);
}

.gl-news-archive__no-results {
    padding: 3rem 0;
    text-align: center;
}

@media (max-width: 600px) {
    .gl-news-archive__featured-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Attorney Card (reusable — see includes/gl-attorney-card.php) ────────── */

.gl-attorney-card {
    display: flex;
    color: inherit;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.gl-attorney-card__image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.gl-attorney-card__image-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.gl-attorney-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.75rem 1rem 1rem;
    border: 2px solid var(--wp--preset--color--lime-green);
    flex: 1;
    text-align: center;
}

.gl-attorney-card__name {
    margin: 0 0 0.25rem;
    color: var(--wp--preset--color--dark-green);
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: none;
}

.gl-attorney-card__type {
    margin: 0;
    color: var(--wp--preset--color--black);
    font-size: 1rem;
    font-style: italic;
}

a.gl-attorney-card:hover .gl-attorney-card__name,
a.gl-attorney-card:focus-visible .gl-attorney-card__name {
    text-decoration: underline;
}

/* ── Attorney Listing (see includes/gl-attorney-listing.php) ─────────────── */

.gl-attorney-listing__filters {
    margin-bottom: 2.5rem;
}

.gl-attorney-listing__filters-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    column-gap: 1.5rem;
    margin-bottom: 1.5rem;

    @media (min-width: 782px) {
        flex-wrap: nowrap;
    }
}

.gl-attorney-listing__filters-select,
.gl-attorney-listing__filters-input {
    flex: 1 1 180px;
    min-width: 0;
    padding: 0.65rem 1.25rem;
    border: 2px solid var(--wp--preset--color--lime-green);
    border-radius: 999px;
    background-color: transparent;
    color: rgb(117, 117, 117);
    font-size: 0.9375rem;

    @media (min-width: 782px) {
        flex-basis: 0;
    }
}

/* Same pill select + SVG arrow as .associations__filter-select */
.gl-attorney-listing__filters-select {
    padding-right: 2.75rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12' fill='%23144734'%3E%3Cpath d='M0 0 10 6 0 12Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 0.625rem 0.75rem;
    text-align: left;
    text-align-last: left;
    appearance: none;
}

.gl-attorney-listing__filters-select:focus-visible,
.gl-attorney-listing__filters-input:focus-visible {
    outline: 2px solid var(--wp--preset--color--dark-green);
    outline-offset: 2px;
}

.gl-attorney-listing__filters-input::placeholder {
    color: rgb(117, 117, 117);
    opacity: 1;
}

.gl-attorney-listing__filters-submit {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--wp--preset--color--dark-green);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;

    &:hover,
    &:focus-visible {
        color: var(--wp--preset--color--lime-green);
    }
}

.gl-attorney-listing__filters-submit-icon {
    display: flex;
    width: 0.625rem;
    height: 0.75rem;
    color: var(--wp--preset--color--lime-green);
}

.gl-attorney-listing__filters-submit-icon svg {
    width: 100%;
    height: 100%;
}

.gl-attorney-listing__index {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 0.75rem;

    @media (max-width: 781px) {
        justify-content: center;
    }
}

.gl-attorney-listing__index-letter {
    padding: 0.125rem 0.375rem;
    border: 0;
    background: none;
    color: var(--wp--preset--color--dark-green);
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.gl-attorney-listing__index-letter:hover,
.gl-attorney-listing__index-letter:focus-visible {
    color: var(--wp--preset--color--lime-green);
}

.gl-attorney-listing__index-letter.is-active {
    background-color: var(--wp--preset--color--dark-green);
    color: var(--wp--preset--color--white);
    text-decoration: none;
}

.gl-attorney-listing__index-letter:disabled {
    color: var(--wp--preset--color--gray-4);
    text-decoration: none;
    cursor: default;
}

.gl-attorney-listing__heading {
    margin: 3rem 0 2rem;
    color: var(--wp--preset--color--dark-green);
    font-size: var(--wp--preset--font-size--x-large);
    text-transform: uppercase;
}

.gl-attorney-listing__section:first-of-type .gl-attorney-listing__heading {
    margin-top: 2.5rem;
}

.gl-attorney-listing__grid {
    display: grid;
    gap: 2.5rem 2rem;
    grid-template-columns: repeat(5, 1fr);

    @media (max-width: 1200px) {
        grid-template-columns: repeat(3, 1fr);
    }

    @media (max-width: 781px) {
        grid-template-columns: repeat(2, 1fr);
    }

    /*@media (max-width: 480px) {*/
    /*    grid-template-columns: 1fr;*/
    /*}*/
}

.gl-attorney-listing__no-results {
    padding: 3rem 0;
    text-align: center;
}

/* ── Default list styles ──────────────────────────────────────────────────
   Applies to any unordered list authored in post content, not just the
   core List block, so editors get consistent styling whether the list
   came from the block editor or pasted HTML. */

ul {
    list-style: square;
}

ul li::marker {
    color: var(--wp--preset--color--lime-green);
}

/* ── Default table styles ─────────────────────────────────────────────────
   Applies to any table authored in post content (e.g. an event agenda),
   not just the core Table block, so editors get consistent styling
   whether the table came from the block editor or pasted HTML. */

table {
    width: 100%;
    border: 2px solid var(--wp--preset--color--lime-green);
    border-collapse: collapse;
    margin: 0 0 2rem;
}

th,
td {
    padding: 0.85rem 1rem;
    border: 1px solid var(--wp--preset--color--lime-green);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--wp--preset--color--dark-green);
    font-weight: 700;
}

/* ── Single Event template (templates/single-event.html) ─────────────────── */

.single-event__banner {
    position: relative;
    padding: 1.75rem 1.5rem;
    text-align: center;
}

.single-event__banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--wp--preset--color--lime-green);
}

.single-event__banner-title {
    margin: 0;
    font-size: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
}

.single-event__featured-image {
    margin: 0;
}

.single-event__featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.single-event__countdown,
.single-event__meta {
    margin-bottom: 2rem;

    @media (min-width: 782px) {
        margin-bottom: 80px;
    }
}

.single-event__meta {
    align-items: center;
    row-gap: 0.5rem;
}

/* ── Single News template (templates/single-news.html) ────────────────────── */

.single-news__banner {
    position: relative;
    padding: 1.75rem 1.5rem;
    text-align: center;
}

.single-news__banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--wp--preset--color--lime-green);
}

.single-news__banner-title {
    margin: 0;
    font-size: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
}

.single-news__featured-image {
    margin: 0;
}

.single-news__featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.single-news__date {
    margin: 2.5rem 0 0.5rem;
    color: var(--wp--preset--color--gray-3);
    font-size: 21px;
}

.single-news__meta {
    align-items: center;
    row-gap: 0.5rem;
    margin-bottom: 2rem;
}

/* ── Single Post template (templates/single.html) ─────────────────────────── */

.single-post__banner {
    position: relative;
    padding: 1.75rem 1.5rem;
    text-align: center;
}

.single-post__banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--wp--preset--color--lime-green);
}

.single-post__banner-title {
    margin: 0;
    font-size: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
}

.single-post__featured-image {
    margin: 0;
}

.single-post__featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.single-post__date {
    margin: 2.5rem 0 0.5rem;
    color: var(--wp--preset--color--gray-3);
    font-size: 21px;
}

.single-post__meta {
    align-items: center;
    row-gap: 0.5rem;
    margin-bottom: 2rem;
}

/* ── Post Archive template (templates/index.html) ─────────────────────────── */

.post-archive__banner {
    position: relative;
    padding: 1.75rem 1.5rem;
    text-align: center;
}

.post-archive__banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--wp--preset--color--lime-green);
}

.post-archive__banner-title {
    margin: 0;
    font-size: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
}

/* ── Single Article template (templates/single-article.html) ─────────────── */

.single-article__banner {
    position: relative;
    padding: 1.75rem 1.5rem;
    text-align: center;
}

.single-article__banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--wp--preset--color--lime-green);
}

.single-article__banner-title {
    margin: 0;
    font-size: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
}

.single-article__featured-image {
    margin: 0;
}

.single-article__featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.single-article__date {
    margin: 2.5rem 0 0.5rem;
    color: var(--wp--preset--color--gray-3);
    font-size: 21px;
    font-weight: 500;
}

.single-article__meta {
    align-items: center;
    row-gap: 0.5rem;
    margin-bottom: 2rem;
}

/* ── Single Case Study template (templates/single-caseresults.html) ──────── */

.single-caseresults__banner {
    position: relative;
    padding: 1.75rem 1.5rem;
    text-align: center;
}

.single-caseresults__banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--wp--preset--color--lime-green);
}

.single-caseresults__banner-title {
    margin: 0;
    font-size: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
}

.single-caseresults__featured-image {
    margin: 0;
}

.single-caseresults__featured-image img {
    display: block;
    width: 100%;
    height: auto;
}

.single-caseresults__date {
    margin: 2.5rem 0 0.5rem;
    color: var(--wp--preset--color--gray-3);
    font-size: 21px;
}

.single-caseresults__meta {
    align-items: center;
    row-gap: 0.5rem;
    margin-bottom: 2rem;
}
