/* Industry hub + dedicated landing pages */

.industry-landing-banner .banner-header {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.industry-landing {
    padding-bottom: 4rem;
}

.industry-breadcrumbs {
    margin: 1.5rem 0 2rem;
}

.industry-breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: #5a6a7d;
}

.industry-breadcrumbs__list li:not(:last-child)::after {
    content: "›";
    margin-left: 0.5rem;
    color: #8a97a8;
}

.industry-breadcrumbs__list a {
    color: #0f1e36;
    text-decoration: none;
}

.industry-breadcrumbs__list a:hover,
.industry-breadcrumbs__list a:focus-visible {
    text-decoration: underline;
    outline: none;
}

.industry-hero {
    margin-bottom: 2.5rem;
}

.industry-hero__copy .font-text {
    margin-bottom: 1rem;
}

.industry-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem 1rem;
    align-items: stretch;
    margin: 1.5rem 0 0;
}

.industry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3.25rem;
    padding: 0.85rem 1.5rem;
    border-radius: 0.55rem;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    border: 2px solid transparent;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
    cursor: pointer;
}

.industry-btn--primary {
    color: #0f1e36;
    background: linear-gradient(135deg, #ddb548, #c9a24d);
    box-shadow: 0 8px 20px rgba(167, 127, 33, 0.18);
}

.industry-btn--primary:hover,
.industry-btn--primary:focus-visible {
    color: #0f1e36;
    background: linear-gradient(135deg, #e3bd54, #c99a2e);
    text-decoration: none !important;
}

.industry-btn--secondary {
    color: #0f1e36;
    border-color: #0f1e36;
    background: rgba(255, 255, 255, 0.85);
}

.industry-btn--secondary:hover,
.industry-btn--secondary:focus-visible {
    color: #0f1e36;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 30, 54, 0.1);
    text-decoration: none !important;
}

.industry-btn:focus-visible,
.industry-hub-card:focus-visible,
.industry-landing a:focus-visible {
    outline: 3px solid rgba(210, 166, 65, 0.48);
    outline-offset: 3px;
}

.industry-final-cta .industry-btn--primary {
    color: #0f1e36;
}

.industry-final-cta .industry-btn--secondary {
    color: #fff;
    border-color: #fff;
    background: transparent;
}

.industry-final-cta .industry-btn--secondary:hover,
.industry-final-cta .industry-btn--secondary:focus-visible {
    color: #0f1e36;
    background: #fff;
}

.industry-hero__media {
    min-width: 0;
}

.industry-hero__media picture {
    display: block;
    width: 100%;
}

.industry-hero-img {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    background: #eef2f6;
}

.industry-hero-img--buyers-crop {
    object-position: 70% 20%;
    max-height: 440px;
}

.industry-feature-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 1rem 1.25rem;
    margin: 0 0 2.75rem;
    background: #f5f7fa;
    border-radius: 10px;
    color: #0f1e36;
    font-weight: 600;
    font-size: 0.95rem;
}

.industry-feature-strip__sep {
    color: #9aa8b8;
    font-weight: 400;
}

.industry-h2 {
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 600;
    color: #0f1e36;
    margin: 2.5rem 0 1rem;
}

.industry-h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f1e36;
    margin: 1.5rem 0 0.5rem;
}

.industry-body .font-text {
    margin-bottom: 1rem;
    max-width: 48rem;
}

.industry-why-list,
.industry-related-list {
    padding-left: 1.25rem;
    max-width: 48rem;
}

.industry-why-list li,
.industry-related-list li {
    margin-bottom: 0.55rem;
}

.industry-faq-item {
    margin-bottom: 1.25rem;
    max-width: 48rem;
}

.industry-final-cta {
    margin-top: 3rem;
    padding: 2rem 1.5rem;
    background: #0f1e36;
    color: #fff;
    border-radius: 12px;
}

.industry-final-cta .industry-h2,
.industry-final-cta .font-text {
    color: #fff;
}

.industry-final-cta .font-text {
    max-width: 40rem;
}

.industry-final-cta .secondary-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.industry-disclaimer {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #5a6a7d;
    max-width: 48rem;
}

.industry-callout {
    margin: 2.5rem 0;
    padding: 1.5rem 1.5rem;
    border: 1px solid #d7dee7;
    border-radius: 12px;
    background: #fafbfc;
}

.industry-callout__title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #0f1e36;
}

.industry-hub-intro {
    max-width: 52rem;
    margin: 0 auto 2.5rem;
}

.industry-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

.industry-hub-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.industry-hub-card:hover {
    box-shadow: 0 8px 24px rgba(15, 30, 54, 0.1);
    transform: translateY(-2px);
}

.industry-hub-card.is-callout {
    border-color: #0f1e36;
}

.industry-hub-card__media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef2f6;
}

.industry-hub-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-hub-card__body {
    padding: 1.1rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.industry-hub-card__title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f1e36;
    margin: 0;
}

.industry-hub-card__blurb {
    font-size: 0.95rem;
    color: #445266;
    margin: 0;
    flex: 1;
}

.industry-hub-card__link {
    font-weight: 600;
    color: #0f1e36;
    font-size: 0.92rem;
}

.homepage-industry-subline {
    /* Homepage Real Estate card styles live in homepage-compliance-overview.css
       (that stylesheet is loaded on the homepage; this file is not). */
    display: block;
}


@media (max-width: 767.98px) {
    .industry-feature-strip {
        font-size: 0.85rem;
    }

    .industry-hero-img {
        max-height: 280px;
    }

    .industry-cta-row {
        flex-direction: column;
    }

    .industry-btn {
        width: 100%;
        min-height: 3.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .industry-btn {
        transition: none;
    }
}
