/* Find Pros entry points: the shared FindProsCta component (button, band, card and inline link) and the
   header link. Loaded on every public page; every rule is scoped to a .fpc- class. */

.fpc-btn {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    border: 1px solid var(--serden-evergreen, #153A2B);
    border-radius: 999px;
    background: var(--serden-evergreen, #153A2B);
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    color: #fff !important;
    text-decoration: none !important;
    transition: background-color .15s ease, color .15s ease;
}

.fpc-btn:hover {
    background: var(--serden-evergreen-hover, #102E22);
}

.fpc-btn:focus-visible {
    outline: 3px solid #E2793A;
    outline-offset: 2px;
}

.fpc-btn--light {
    border-color: #fff;
    background: #fff;
    color: var(--serden-evergreen, #153A2B) !important;
}

.fpc-btn--light:hover {
    background: var(--serden-ivory, #F7F4ED);
}

.fpc-btn--outline {
    background: transparent;
    color: var(--serden-evergreen, #153A2B) !important;
}

.fpc-btn--outline:hover {
    background: var(--serden-sage, #E8EEE8);
}

.fpc-kicker {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0 0 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #CFE3D8;
}

/* -------------------------------------------------------------- band */

.fpc-band {
    margin: 32px 0;
    border-radius: 24px;
    background: var(--serden-evergreen, #153A2B);
    background-image: radial-gradient(circle at 92% 18%, rgba(255, 255, 255, .08), transparent 42%);
    color: #fff;
}

.fpc-band__inner {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: space-between;
    padding: 30px 36px;
}

.fpc-band h2 {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: clamp(22px, 2.6vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.fpc-band p:not(.fpc-kicker) {
    margin: 8px 0 0;
    font-size: 15.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, .85);
}

.fpc-band .fpc-btn {
    flex: none;
}

/* -------------------------------------------------------------- card */

.fpc-card {
    margin: 0 0 24px;
    padding: 22px;
    border: 1px solid var(--serden-stone, #DDDCD3);
    border-radius: 20px;
    background: var(--serden-sage, #E8EEE8);
    font-family: "Poppins", sans-serif;
}

.fpc-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--serden-evergreen, #153A2B);
    color: #fff;
}

.fpc-card h2 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #10231B;
}

.fpc-card p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--serden-text-secondary, #526159);
}

.fpc-card .fpc-btn {
    width: 100%;
}

.fpc-card .fpc-card__note {
    margin: 10px 0 0;
    font-size: 12.5px;
    text-align: center;
}

.fpc-card__note i {
    color: var(--serden-evergreen, #153A2B);
}

/* ------------------------------------------------------------ inline */

.fpc-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    align-items: center;
    margin: 14px 0 0;
    font-size: 14.5px;
}

.fpc-inline a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.fpc-inline--center {
    justify-content: center;
    text-align: center;
}

.fpc-inline--on-dark {
    color: rgba(255, 255, 255, .85);
}

.fpc-inline--on-dark a {
    color: #fff;
}

.fpc-inline--on-light a {
    color: var(--serden-evergreen, #153A2B);
}

/* ------------------------------------------------------------ header */

/* Find Pros above Join as a Pro, in one column so both take the width of the wider label.
   Finding a pro is the primary action (filled); joining is the lighter text link below it. */
.header .navbar-nav .nav-pro-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 2px;
    margin-left: 8px;
}

/* 2 x 21px plus the gap stays within the 60px header bar the single links needed. */
.header .navbar-nav .nav-pro-actions .nav-pro-action {
    display: block;
    padding: 2px 16px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 17px;
    text-align: center;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease;
}

.header .navbar-nav .nav-pro-actions .nav-pro-action--secondary {
    color: rgba(255, 255, 255, .82);
    font-weight: 500;
}

.header .navbar-nav .nav-pro-actions .nav-pro-action--secondary:hover,
.header .navbar-nav .nav-pro-actions .nav-pro-action--secondary:focus-visible {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

.header .navbar-nav .nav-pro-actions .nav-pro-action--primary {
    background: var(--serden-ivory, #F7F4ED);
    color: var(--serden-evergreen, #153A2B);
    font-weight: 700;
}

.header .navbar-nav .nav-pro-actions .nav-pro-action--primary:hover,
.header .navbar-nav .nav-pro-actions .nav-pro-action--primary:focus-visible {
    background: #fff;
    color: var(--serden-evergreen-hover, #102E22);
}

.header .navbar-nav .nav-pro-actions .nav-pro-action:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* The other links sit on the pair's centre line rather than at the top of the bar. */
@media (min-width: 992px) {
    .header .navbar-expand-lg .navbar-nav {
        align-items: center;
    }
}

/* In the phone and tablet menu the pair keeps one shared width, with larger tap targets. */
@media (max-width: 991.98px) {
    .header .navbar-nav .nav-pro-actions {
        width: 100%;
        max-width: 280px;
        gap: 8px;
        margin: 12px 0 4px;
    }

    .header .navbar-nav .nav-pro-actions .nav-pro-action {
        padding: 9px 18px;
        font-size: 15px;
        line-height: 20px;
    }

    .header .navbar-nav .nav-pro-actions .nav-pro-action--secondary {
        background: rgba(255, 255, 255, .08);
    }
}

@media (max-width: 767.98px) {
    .fpc-band__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 22px;
    }

    .fpc-band .fpc-btn {
        width: 100%;
    }
}
