/*
 * Child theme main stylesheet
 * Page-specific or component-specific CSS should live here first.
 */

.underscores-about-page {
    display: block;
}

.brand .custom-logo-link {
    display: block;
    flex: none;
}

.brand .custom-logo {
    width: auto;
    max-width: 66px;
    height: 54px;
    object-fit: contain;
}

.page-hero__grid,
.feature__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr);
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
}

.page-hero__media img,
.feature__media img,
.card__media img,
.person__media img {
    width: 100%;
    border-radius: var(--r-lg);
}

.prose > :first-child {
    margin-top: 0;
}

.prose > :last-child {
    margin-bottom: 0;
}

.rating {
    display: flex;
    gap: .25rem;
}

.rating button {
    border: 0;
    padding: .15rem;
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
    font-size: 1.5rem;
}

.rating button.is-on {
    color: var(--star);
}

.form-done {
    display: none;
}

.form-done.is-on {
    display: block;
}

.hp {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.person__role {
    color: var(--blue-700);
    font-weight: 700;
}

.footer-social,
.cta-band__actions,
.hero__actions,
.revs__controls {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}

.cta-band__actions {
    justify-content: center;
    margin-top: 1.7rem;
}

.pathway-cf7 .wpcf7-form {
    margin: 0;
}

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

.pathway-cf7 .wpcf7-form-control-wrap {
    display: block;
}

.pathway-cf7 .wpcf7-form-control {
    max-width: 100%;
    min-height: 44px;
    padding: .6rem .8rem;
    border: 1.5px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--white);
    font-size: .92rem;
}

.pathway-cf7 textarea.wpcf7-form-control {
    min-height: 112px;
    resize: vertical;
}

.pathway-cf7 .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, .12);
}

.pathway-cf7 .pathway-cf7__consent {
    margin: .2rem 0 1rem;
    color: var(--ink-soft);
    font-size: .78rem;
    line-height: 1.5;
}

.pathway-cf7 .pathway-cf7__consent .wpcf7-list-item {
    margin: 0;
}

.pathway-cf7 .pathway-cf7__consent label {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
}

.pathway-cf7 .pathway-cf7__consent input[type="checkbox"] {
    width: auto;
    flex: none;
    margin: .2rem 0 0;
}

@media (max-width: 640px) {
    .pathway-cf7 .wpcf7-form-control {
        font-size: 16px;
    }
}

.pathway-cf7 .wpcf7-not-valid-tip {
    margin-top: .25rem;
    color: #B91C1C;
    font-size: .74rem;
    line-height: 1.45;
}

.pathway-cf7 .wpcf7-form-control.wpcf7-not-valid {
    border-color: #DC2626;
}

.pathway-cf7 .wpcf7-spinner {
    display: block;
    margin: .9rem auto 0;
}

.pathway-cf7 .wpcf7-response-output {
    margin: 1rem 0 0;
    padding: .7rem .85rem;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    color: var(--ink-soft);
    font-size: .82rem;
    line-height: 1.5;
}

.revs__viewport {
    overflow: hidden;
}

.revs__track {
    display: flex;
    gap: 1.25rem;
    transition: transform .35s var(--ease);
}

.revs__track .rev {
    flex: 0 0 calc((100% - 2.5rem) / 3);
}

.revs__controls {
    justify-content: center;
    margin-top: 1.5rem;
}

.revs__btn,
.revs__dots button {
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
}

.revs__btn {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
}

.revs__dots {
    display: flex;
    gap: .35rem;
}

.revs__dots button {
    width: .55rem;
    height: .55rem;
    border-radius: 50%;
    padding: 0;
}

.revs__dots button.is-on {
    background: var(--brand-green);
}

@media (max-width: 900px) {
    .page-hero__grid,
    .feature__grid {
        grid-template-columns: 1fr;
    }

    .revs__track .rev {
        flex-basis: calc((100% - 1.25rem) / 2);
    }
}

@media (max-width: 640px) {
    .revs__track .rev {
        flex-basis: 100%;
    }
}
