/* =============================================================
   Landlord pages (Guide / Info / Renters' Rights Act)
   Native <details>/<summary> accordion + supporting layout.
   Self-contained — does not depend on Bootstrap classes.
   ============================================================= */

/* Intro paragraph above the accordion */
.ftb-guide__intro {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 30px;
}

/* Section heading between accordion groups */
.landlords-guide__section-heading {
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E01783;
}
.landlords-guide__section-heading h2 {
    font-family: 'PT Serif', serif;
    font-size: 26px;
    color: #333;
    margin: 0;
    font-weight: 400;
}

/* Accordion container */
.ftb-accordion {
    margin-bottom: 25px;
}

/* Single accordion item (details) */
.ftb-accordion__item {
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    margin-bottom: 12px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}
.ftb-accordion__item[open] {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-color: #E01783;
}

/* Summary (clickable header) */
.ftb-accordion__summary {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.ftb-accordion__summary::-webkit-details-marker {
    display: none;
}
.ftb-accordion__summary:hover {
    background: #fafafa;
}

.ftb-accordion__icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E01783;
}

.ftb-accordion__heading {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}
.ftb-accordion__eyebrow {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #E01783;
    font-weight: 600;
    margin-bottom: 2px;
}
.ftb-accordion__title {
    font-family: 'PT Serif', serif;
    font-size: 17px;
    color: #333;
    font-weight: 400;
}

.ftb-accordion__toggle {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E01783;
    transition: transform 0.2s ease;
}
.ftb-accordion__item[open] .ftb-accordion__toggle-v {
    display: none;
}

/* Body */
.ftb-accordion__body {
    padding: 0 20px 20px 70px;
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}
.ftb-accordion__p {
    margin: 0 0 14px;
}
.ftb-accordion__list,
.ftb-accordion__ordered {
    margin: 0 0 14px;
    padding-left: 20px;
}
.ftb-accordion__list li,
.ftb-accordion__ordered li {
    margin-bottom: 6px;
}
.ftb-accordion__note {
    margin: 0 0 14px;
    padding: 12px 16px;
    background: #fdebf4;
    border-left: 3px solid #E01783;
    font-size: 14px;
    font-style: italic;
    color: #555;
}
.ftb-accordion__callout {
    margin: 0 0 14px;
    padding: 14px 18px;
    background: #fff0f7;
    border: 1px solid #f8c2dd;
    border-radius: 4px;
    font-size: 14px;
    color: #7a0c47;
}

/* Disclaimer block */
.landlords-guide__disclaimer {
    margin: 30px 0;
    padding: 14px 18px;
    background: #f8f8f8;
    border-radius: 4px;
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

/* Bottom CTA */
.ftb-guide__bottom-cta {
    margin: 40px 0 20px;
    padding: 30px;
    background: #fdebf4;
    border-radius: 8px;
    text-align: center;
}
.ftb-guide__bottom-cta h3 {
    font-family: 'PT Serif', serif;
    font-size: 24px;
    color: #333;
    margin: 0 0 12px;
    font-weight: 400;
}
.ftb-guide__bottom-cta p {
    color: #555;
    line-height: 1.7;
    margin: 0 auto 20px;
    max-width: 540px;
}
.ftb-guide__bottom-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.ftb-guide__btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid #E01783;
}
.ftb-guide__btn--primary {
    background: #E01783;
    color: #fff;
}
.ftb-guide__btn--primary:hover {
    background: #b01268;
    border-color: #b01268;
    color: #fff;
}
.ftb-guide__btn--secondary {
    background: transparent;
    color: #E01783;
}
.ftb-guide__btn--secondary:hover {
    background: #E01783;
    color: #fff;
}

/* =============================================================
   Renters' Rights Act page-specific styles
   ============================================================= */

.rra-page {
    color: #444;
    line-height: 1.7;
}
.rra-page h2 {
    font-family: 'PT Serif', serif;
    font-size: 26px;
    color: #333;
    margin: 30px 0 16px;
    font-weight: 400;
}
.rra-page h3 {
    font-family: 'PT Serif', serif;
    font-size: 20px;
    color: #333;
    margin: 0 0 10px;
    font-weight: 400;
}

/* Audience tabs */
.rra-audience-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e2e2;
}
.rra-audience-tabs__tab {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: #777;
    text-decoration: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
    transition: all 0.2s ease;
}
.rra-audience-tabs__tab:hover {
    color: #E01783;
}
.rra-audience-tabs__tab--active {
    color: #E01783;
    border-bottom-color: #E01783;
}

/* Intro */
.rra-intro {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}
.rra-intro p {
    margin-bottom: 14px;
}

/* Key dates banner */
.rra-dates-banner {
    margin: 30px 0;
    padding: 28px;
    background: #fdebf4;
    border-radius: 8px;
}
.rra-dates-banner h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 22px;
}
.rra-dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.rra-date-card {
    background: #fff;
    padding: 16px 18px;
    border-radius: 6px;
    border-left: 4px solid #E01783;
}
.rra-date-card__date {
    display: block;
    font-family: 'PT Serif', serif;
    font-size: 18px;
    font-weight: 600;
    color: #E01783;
    margin-bottom: 6px;
}
.rra-date-card__label {
    display: block;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
}

/* At-a-glance with tick list */
.rra-glance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
    margin-bottom: 30px;
}
.rra-tick-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.rra-tick-list li {
    position: relative;
    padding: 10px 0 10px 30px;
    border-bottom: 1px solid #eee;
    line-height: 1.55;
    font-size: 15px;
}
.rra-tick-list li:last-child {
    border-bottom: none;
}
.rra-tick-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 18px;
    height: 18px;
    background: #E01783;
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}
.rra-glance-grid__img img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Split CTA */
.rra-split-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}
.rra-split-cta__card {
    padding: 26px;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 8px;
    text-align: center;
}
.rra-split-cta__card p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* Generic guide-page CTA shared with RRA */
.guide-page__cta {
    margin: 40px 0;
    padding: 32px;
    background: #fdebf4;
    border-radius: 8px;
    text-align: center;
}
.guide-page__cta h2 {
    margin-top: 0;
}
.guide-page__cta p {
    max-width: 560px;
    margin: 0 auto 22px;
    color: #555;
}
.guide-page__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.guide-page__btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid #E01783;
}
.guide-page__btn--primary {
    background: #E01783;
    color: #fff;
}
.guide-page__btn--primary:hover {
    background: #b01268;
    border-color: #b01268;
    color: #fff;
}
.guide-page__btn--secondary {
    background: transparent;
    color: #E01783;
}
.guide-page__btn--secondary:hover {
    background: #E01783;
    color: #fff;
}

.rra-disclaimer {
    margin: 25px 0 10px;
    padding: 12px 16px;
    background: #f8f8f8;
    border-radius: 4px;
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

/* Page-hero-banner intro paragraph (used on RRA page) */
.page-hero-banner__form-intro {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin: 25px 0;
    text-align: center;
    font-style: italic;
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .ftb-accordion__body {
        padding-left: 20px;
    }
    .rra-glance-grid,
    .rra-split-cta {
        grid-template-columns: 1fr;
    }
    .ftb-accordion__title {
        font-size: 16px;
    }
    .landlords-guide__section-heading h2 {
        font-size: 22px;
    }
}
