.regulations-page { background: radial-gradient(ellipse at 90% 0, #f5ecdf 0, transparent 45%), #fffdf7; color: var(--cordoba-ink); padding: 36px 24px 88px; font-family: system-ui, sans-serif; }
.regulations-page[dir="rtl"] { font-family: "Cairo", sans-serif; }
.regulations-shell { max-width: 1140px; margin: auto; }
.regulations-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; font-size: .8rem; color: #657174; margin-bottom: 36px; }
.regulations-breadcrumb a { color: inherit; text-decoration: none; }
.regulations-breadcrumb a:hover { color: var(--cordoba-red); }
.regulations-hero { display: grid; grid-template-columns: minmax(0, 1fr) 260px; align-items: center; gap: 48px; padding: 20px 0 56px; border-bottom: 1px solid #e4e4dc; }
.regulations-eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: .72rem; font-weight: 750; letter-spacing: .1em; color: #8f181c; }
[dir="rtl"] .regulations-eyebrow { letter-spacing: 0; }
.regulations-eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: #a11216; box-shadow: 0 0 0 4px #a112160d; }
.regulations-hero h1 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.3; margin: 18px 0; }
[dir="rtl"] .regulations-hero h1 { letter-spacing: -.025em; line-height: 1.6; }
.regulations-hero p { max-width: 650px; color: #607174; font-size: 1rem; line-height: 1.95; margin: 0; }
.regulations-hero__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 25px; font-size: .8rem; color: #526265; }
.regulations-dot { width: 3px; height: 3px; background: #8d9898; border-radius: 50%; }
.regulations-art { position: relative; display: grid; place-items: center; min-height: 245px; }
.regulations-art__ring { position: absolute; width: 240px; height: 240px; border: 1px solid #b8aa7c40; border-radius: 50%; background: #efe6d74d; }
.regulations-art__ring::after { content: ""; position: absolute; inset: 18px; border: 1px dashed #b8aa7c55; border-radius: inherit; }
.regulations-art__paper { position: relative; width: 146px; padding: 23px; border: 1px solid #e8e1d5; border-radius: 15px; background: #fffdfa; box-shadow: 12px 20px 30px #5a342212; transform: rotate(-8deg); }
.regulations-art__seal { display: grid; place-items: center; width: 47px; height: 47px; margin-bottom: 21px; border-radius: 12px; background: #f5e8e5; color: #a11216; font-size: 1.4rem; }
.regulations-art__line { display: block; height: 5px; margin: 9px 0; border-radius: 5px; background: #e7e5dc; }
.regulations-art__line--short { width: 70%; }
.regulations-art__pdf { display: flex; justify-content: space-between; margin-top: 22px; font-size: .65rem; font-weight: 800; letter-spacing: .1em; color: #98171c; }
.regulations-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 36px 0 24px; }
.regulations-section-heading h2 { font-size: 1.35rem; font-weight: 750; margin: 9px 0 0; line-height: 1.6; }
.regulations-hint { font-size: .78rem; color: #657174; }
.regulation-card { background: #fffefa; border: 1px solid #e4e4dc; border-radius: 18px; margin: 14px 0; transition: box-shadow .2s, border-color .2s; }
.regulation-card:hover { border-color: #c6b6a3; box-shadow: 0 8px 24px #372b1e06; }
.regulation-card[open] { border-color: #cba5a3; box-shadow: 0 10px 28px #6e2b2108; }
.regulation-card summary { display: flex; align-items: center; gap: 20px; list-style: none; cursor: pointer; padding: 24px; border-radius: 18px; }
.regulation-card summary::-webkit-details-marker { display: none; }
.regulation-card summary:focus-visible, .regulation-button:focus-visible, .regulations-breadcrumb a:focus-visible { outline: 3px solid #b18e3d; outline-offset: 4px; }
.regulation-card__icon { display: grid; place-items: center; flex: 0 0 52px; height: 60px; border-radius: 12px; background: #f7efeb; color: #9f2228; font-size: 1.5rem; }
.regulation-card__heading { display: grid; flex: 1; min-width: 0; gap: 8px; }
.regulation-card__label { display: flex; align-items: center; gap: 10px; font-size: .65rem; letter-spacing: .08em; color: #657174; }
[dir="rtl"] .regulation-card__label { letter-spacing: 0; }
.regulation-card__label > span { color: #c0c6c2; }
.regulation-card__name { font-size: 1.05rem; font-weight: 750; overflow-wrap: anywhere; line-height: 1.7; }
.regulation-card__toggle { display: grid; place-items: center; flex: 0 0 32px; height: 32px; background: #f2f3ed; border-radius: 50%; color: #526265; transition: transform .2s, background .2s; font-size: .8rem; }
.regulation-card[open] .regulation-card__toggle { transform: rotate(45deg); background: #f2e3e0; color: #a11216; }
.regulation-card__body { margin: 0 24px; padding: 24px 0; border-top: 1px solid #ecece4; }
.regulation-card__description { color: #526265; line-height: 2; white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 24px; }
.regulation-card__file { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; background: #f7f7f1; padding: 20px; border-radius: 12px; }
.regulation-card__file-info { display: flex; align-items: center; gap: 14px; }
.regulation-card__file-info > i { font-size: 1.6rem; color: #95191e; }
.regulation-card__file-info strong, .regulation-card__file-info span { display: block; }
.regulation-card__file-info strong { font-size: .85rem; font-weight: 750; margin-bottom: 5px; }
.regulation-card__file-info span { font-size: .75rem; color: #657174; }
.regulation-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.regulation-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 12px 18px; border: 1px solid transparent; border-radius: 9px; font-size: .8rem; font-weight: 700; text-decoration: none; transition: background .2s, box-shadow .2s; }
.regulation-button--primary { color: white; background: #98171c; box-shadow: 0 4px 10px #98171c15; }
.regulation-button--primary:hover { color: white; background: #761217; box-shadow: 0 6px 15px #98171c25; }
.regulation-button--secondary { color: #34494b; background: #fffefa; border-color: #dedfd5; }
.regulation-button--secondary:hover { background: #eeeede; color: #1f2f33; }
.regulations-empty { text-align: center; padding: 60px 24px; border: 1px dashed #d8d4c7; border-radius: 18px; background: #ffffff70; }
.regulations-empty > span { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 20px; background: #f2eae2; color: #98171c; border-radius: 18px; font-size: 1.6rem; }
.regulations-empty h3 { font-size: 1.15rem; font-weight: 750; }
.regulations-empty p { color: #657174; font-size: .9rem; line-height: 1.8; margin: 12px 0 0; }
@media (max-width: 767.98px) {
    .regulations-page { padding: 24px 18px 56px; }
    .regulations-breadcrumb { margin-bottom: 20px; }
    .regulations-hero { grid-template-columns: 1fr; gap: 0; padding: 12px 0 32px; }
    .regulations-art { display: none; }
    .regulations-section-heading { align-items: start; flex-direction: column; gap: 8px; margin-top: 28px; }
    .regulation-card summary { padding: 18px; gap: 12px; }
    .regulation-card__icon { flex-basis: 40px; height: 48px; font-size: 1.2rem; }
    .regulation-card__name { font-size: .95rem; }
    .regulation-card__body { margin: 0 18px; padding: 18px 0; }
    .regulation-card__file { padding: 16px; gap: 18px; }
    .regulation-card__actions { width: 100%; }
    .regulation-card__actions > a { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .regulations-page *, .regulations-page *::before, .regulations-page *::after { transition: none; }
}
