.hipaa-page {
    --hipaa-blue: hsl(var(--accent));
    --hipaa-muted: #66717f;
    --hipaa-border: #dce4ec;
    --hipaa-soft: #f3f4f6;
    background: #fff;
    color: #273447;
    font-family: Montserrat, Arial, sans-serif;
}

.hipaa-page *,
.hipaa-page *::before,
.hipaa-page *::after {
    box-sizing: border-box;
}

.hipaa-wrap {
    width: min(100% - 32px, 1280px);
    margin: 0 auto;
}

.hipaa-hero {
    min-height: 315px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(22, 13, 7, .72), rgba(80, 48, 21, .36), rgba(22, 13, 7, .66)),
        url("/images/hipaa/hipaa-hero.webp") center / cover no-repeat;
}

.hipaa-hero h1 {
    max-width: 980px;
    margin: 0;
    color: #fff !important;
    font-size: clamp(1.75rem, 3.1vw, 3rem);
    line-height: 1.16;
    font-weight: 800;
}

.hipaa-content {
    padding: 28px 0 18px;
}

.hipaa-content-after {
    padding-top: 38px;
}

.hipaa-section {
    margin: 0 0 28px;
}

.hipaa-section h2,
.hipaa-section h3,
.hipaa-process-band h2 {
    color: var(--hipaa-blue);
    line-height: 1.25;
    font-weight: 800;
}

.hipaa-section h2,
.hipaa-process-band h2 {
    margin: 0 0 14px;
    font-size: clamp(1.24rem, 2.1vw, 1.78rem);
}

.hipaa-section h3 {
    margin: 16px 0 7px;
    font-size: 1.05rem;
}

.hipaa-section p,
.hipaa-section li,
.hipaa-process-band p {
    color: var(--hipaa-muted);
    font-size: 14px;
    line-height: 1.72;
}

.hipaa-section p,
.hipaa-process-band p {
    margin: 0 0 12px;
}

.hipaa-section ul {
    margin: 0 0 14px;
    padding-left: 24px;
}

.hipaa-button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border: 0;
    background: var(--hipaa-blue);
    color: #fff !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
}

.hipaa-button:hover {
    color: #fff;
    background: hsl(var(--accent-dark));
}

.hipaa-image-split {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
    gap: 42px;
    align-items: center;
}

.hipaa-image-split--reverse {
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
}

.hipaa-image-split figure {
    margin: 0;
}

.hipaa-image-split img,
.hipaa-rules img {
    display: block;
    width: 100%;
    height: auto;
}

.hipaa-rules {
    max-width: 820px;
    margin: 42px auto;
}

.hipaa-columns {
    columns: 2;
    column-gap: 44px;
}

.hipaa-safeguards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.hipaa-safeguards article h2 {
    font-size: 1.2rem;
}

.hipaa-process-band {
    padding: 42px 0 50px;
    background: var(--hipaa-soft);
}

.hipaa-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.hipaa-process-card {
    min-height: 156px;
    padding: 18px 16px;
    border: 1px solid var(--hipaa-border);
    border-left: 4px solid var(--hipaa-blue);
    background: #fff;
    box-shadow: 0 1px 3px rgba(14, 34, 60, .08);
    transition: border-width .25s ease, box-shadow .25s ease, transform .25s ease;
}

.hipaa-process-card:hover {
    border-width: 0px 0px 0px 10px;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(14, 34, 60, .16);
}

.hipaa-process-card img,
.hipaa-process-card span {
    display: inline-flex;
    width: 72px;
    height: 72px;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.hipaa-process-card img {
    object-fit: contain;
}

.hipaa-process-card span {
    border: 2px solid #9cb2ca;
    color: var(--hipaa-blue);
    font-size: 12px;
    font-weight: 800;
}

.hipaa-process-card h3 {
    margin: 0 0 8px;
    color: var(--hipaa-blue);
    font-size: .98rem;
    line-height: 1.25;
    font-weight: 800;
}

.hipaa-process-card p {
    margin: 0;
    color: var(--hipaa-muted);
    font-size: 12px;
    line-height: 1.55;
}

.hipaa-faq-section h2 {
    text-align: center;
}

.hipaa-faq-list {
    max-width: 880px;
    margin: 0 auto;
    border: 1px solid var(--hipaa-border);
}

.hipaa-faq-item {
    background: #fff;
    border-bottom: 1px solid var(--hipaa-border);
}

.hipaa-faq-item:last-child {
    border-bottom: 0;
}

.hipaa-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 16px;
    color: var(--hipaa-blue);
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    list-style: none;
}

.hipaa-faq-item summary::-webkit-details-marker {
    display: none;
}

.hipaa-faq-item summary::after {
    content: "+";
    color: hsl(var(--accent));
    font-size: 16px;
    font-weight: 800;
}

.hipaa-faq-item[open] summary::after {
    content: "-";
}

.hipaa-faq-item p {
    margin: 0;
    padding: 0 16px 14px;
    color: var(--hipaa-muted);
    font-size: 13px;
    line-height: 1.65;
}

.hipaa-ready {
    margin-bottom: 0;
}

.hipaa-latest {
    padding-top: 36px;
}

.hipaa-latest .section-title-left h2 {
    color: hsl(var(--accent));
}

@media (max-width: 980px) {
    .hipaa-hero {
        min-height: 280px;
    }

    .hipaa-process-grid,
    .hipaa-safeguards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hipaa-image-split,
    .hipaa-image-split--reverse {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hipaa-image-split--reverse figure {
        order: -1;
    }

    .hipaa-columns {
        columns: 1;
    }
}

@media (max-width: 640px) {
    .hipaa-wrap {
        width: min(100% - 24px, 1280px);
    }

    .hipaa-hero {
        min-height: 230px;
    }

    .hipaa-content {
        padding-top: 22px;
    }

    .hipaa-section p,
    .hipaa-section li,
    .hipaa-process-band p {
        font-size: 13px;
        line-height: 1.65;
    }

    .hipaa-process-band {
        padding: 34px 0 38px;
    }

    .hipaa-process-grid,
    .hipaa-safeguards {
        grid-template-columns: 1fr;
    }
}
