.regulations {
    --reg-brand: #1f5875;
    --reg-ink: #183b50;
    --reg-muted: #657984;
    --reg-line: #dce5e9;
    width: 100%;
    color: var(--reg-ink);
}

.regulations,
.regulations * {
    box-sizing: border-box;
}

.regulations svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* Intro block */

.regulations .regulations-intro {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 23px 24px;
    background: #f1f7fa;
    border: 1px solid #dceaf0;
    border-left: 4px solid var(--reg-brand);
    border-radius: 12px;
}

.regulations .regulations-intro-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    background: #e0edf3;
    border-radius: 10px;
    color: var(--reg-brand);
}

.regulations .regulations-intro-content {
    flex: 1;
    min-width: 0;
}

.regulations .regulations-intro h2 {
    margin: 0 0 8px;
    color: var(--reg-brand);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
}

.regulations .regulations-intro-text {
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.regulations .regulations-intro-text p {
    margin: 0 0 10px;
}

.regulations .regulations-intro-text p:last-child {
    margin-bottom: 0;
}

/* Section heading */

.regulations .regulations-section-head {
    margin: 32px 0 18px;
}

.regulations .regulations-section-head h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    color: var(--reg-brand);
}

/* Documents */

.regulations .regulations-list {
    display: grid;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.regulations .regulations-list li {
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.regulations .regulations-card {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 82px;
    padding: 16px 18px;
    border: 1px solid var(--reg-line);
    border-radius: 12px;
    background: #fff;
    color: var(--reg-brand);
    text-decoration: none;
    transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.regulations .regulations-file-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    color: var(--reg-brand);
    background: #e0edf3;
    border-radius: 10px;
}

.regulations .regulations-card-content {
    flex: 1;
    min-width: 0;
}

.regulations .regulations-card-title {
    display: block;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.regulations .regulations-card-type {
    display: block;
    margin-top: 5px;
    color: var(--reg-muted);
    font-size: 12px;
}

.regulations .regulations-arrow {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 8px;
    background: #f1f7fa;
    color: var(--reg-brand);
    transition: background-color .2s, color .2s;
}

.regulations .regulations-arrow svg {
    width: 18px;
    height: 18px;
}

@media (hover: hover) {
    .regulations .regulations-card:hover {
        background: #f7fbfd;
        border-color: #9eb9c8;
        box-shadow: 0 5px 18px rgb(31 88 117 / 8%);
        transform: translateY(-2px);
        color: var(--reg-brand);
        text-decoration: none;
    }

    .regulations .regulations-card:hover .regulations-arrow {
        background: var(--reg-brand);
        color: #fff;
    }
}

.regulations .regulations-card:focus-visible {
    outline: 2px solid var(--reg-brand);
    outline-offset: 3px;
}

/* Footer */

.regulations .regulations-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid var(--reg-line);
    margin-top: 24px;
    padding-top: 18px;
    font-size: 13px;
    color: var(--reg-muted);
}

.regulations .regulations-footer svg {
    width: 18px;
    height: 18px;
}

.regulations .regulations-empty {
    padding: 30px 20px;
    border: 1px dashed var(--reg-line);
    border-radius: 12px;
    background: #f1f7fa;
    text-align: center;
    color: var(--reg-muted);
}

/* Responsive */

@media (max-width: 767px) {
    .regulations .regulations-intro {
        padding: 18px 16px;
        gap: 12px;
    }

    .regulations .regulations-intro-icon,
    .regulations .regulations-file-icon {
        width: 38px;
        height: 38px;
    }

    .regulations .regulations-intro h2 {
        font-size: 16px;
    }

    .regulations .regulations-intro-text {
        font-size: 14px;
    }

    .regulations .regulations-section-head h2 {
        font-size: 20px;
    }

    .regulations .regulations-card {
        padding: 12px;
        gap: 10px;
    }

    .regulations .regulations-card-title {
        font-size: 14px;
    }

    .regulations .regulations-arrow {
        width: 28px;
        height: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .regulations .regulations-card,
    .regulations .regulations-arrow {
        transition: none;
    }

    .regulations .regulations-card:hover {
        transform: none;
    }
}
