/* Pieces shared by the redesigned pages (Figma "PAWC-Designs": Our Services, Our
   Providers): section badges, pill buttons, the arrow link and the photo + accordion FAQ
   (partials/shared/faq-with-image.php). Loaded after style.css and before the page's own
   stylesheet; reuses .heading-h2, .dm-style-text, .badge-text-green and .customfaq-button
   from style.css and only adds what those can't express. */

/* Badges */
.rd-badge {
    margin: 0 0 16px;
    font-size: 12px;
    letter-spacing: 0;
    padding: 4px 13px;
}

.badge-text-green.rd-badge {
    background: #e6ebe7;
    color: #10393e;
}

.rd-badge-outline {
    display: inline-block;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
    font-family: var(--font-intel) !important;
    font-weight: 500;
}

/* Pill buttons and links */
.rd-pill {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--font-intel);
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.rd-pill-green {
    background-color: #5c7a5a;
    color: #ffffff;
}

.rd-pill-green:hover,
.rd-pill-green:focus-visible {
    background-color: #4a6649;
    color: #ffffff;
}

.rd-pill-outline {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
}

.rd-pill-outline:hover,
.rd-pill-outline:focus-visible {
    background-color: #ffffff;
    color: #10393e;
}

/* White pill on a dark or gradient card. */
.rd-pill-white {
    gap: 8px;
    background-color: #ffffff;
    color: #10393e;
}

.rd-pill-white:hover,
.rd-pill-white:focus-visible {
    background-color: #e6ebe7;
    color: #10393e;
}

.rd-pill:focus-visible,
.rd-arrow-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px #10393e;
}

.rd-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #10393e;
    font-family: var(--font-intel);
    font-size: 14.5px;
    font-weight: 600;
    text-decoration: none;
}

.rd-arrow-link:hover {
    color: #10393e;
    text-decoration: underline;
}

/* FAQ: photo + accordion */
/* .padding96 is a shorthand declared after .padding-top-64 in style.css, so the top
   padding has to be set here to win. */
.rd-faq.padding96 {
    padding-top: 64px;
}

.rd-faq-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 500 / 545;
    object-fit: cover;
    border-radius: 16px;
}

.rd-faq-header {
    margin-bottom: 30px;
}

.rd-faq-header .badge-text-green {
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: 0;
    padding: 4px 13px;
    background: #e6ebe7;
    color: #10393e;
}

.rd-faq-header .heading-h2 {
    margin: 0;
}

.rd-faq .accordion.customfaq-button {
    margin-bottom: 13px;
}

.rd-faq .customfaq-button .accordion-item {
    border-radius: 12px;
    overflow: hidden;
}

.rd-faq .customfaq-button button.accordion-button {
    padding: 20px 22px;
    font-size: 16.5px;
    line-height: 24px;
    color: #111827;
    border-radius: 12px !important;
}

/* .customfaq-button (style.css) removes Bootstrap's focus shadow; give keyboard users a ring back. */
.rd-faq .customfaq-button button.accordion-button:focus-visible {
    outline: 2px solid #10393e;
    outline-offset: -2px;
}

.rd-faq .customfaq-button .accordion-body {
    padding: 0 22px 22px;
    color: #4b5875;
    line-height: 26px;
}
