/* ANALGARVE Nova — regulamentos, acabamento final (V4.1)
   Estilos isolados para não interferir com a página inicial ou as competições. */
.algn-fin-regulations{display:grid;gap:clamp(32px,4.5vw,60px);min-width:0}
.algn-fin-regulations *{box-sizing:border-box}
.algn-fin-reg-section-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0 0 22px}
.algn-fin-reg-section-heading .algn-label,.algn-fin-reg-text-hero>.algn-label{display:block;color:#057d84;font-size:11px;letter-spacing:.13em;font-weight:850;margin-bottom:10px}
.algn-fin-reg-section-heading h2{font-size:clamp(25px,2.8vw,36px);font-weight:870;letter-spacing:-.048em;color:#102d43;line-height:1.1;margin:0}
.algn-fin-reg-section-heading p{font-size:14px;line-height:1.5;color:#567485;margin:11px 0 0}
.algn-fin-reg-file-count{border:1px solid #d5e6ea;background:#f1f8f9;border-radius:999px;color:#326578;padding:8px 13px;white-space:nowrap;font-size:11px;font-weight:800}
.algn-fin-reg-files-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.algn-fin-reg-file{display:flex;align-items:center;min-height:112px;gap:15px;min-width:0;background:#fff;border:1px solid #dbe9ed;border-radius:15px;padding:23px 21px;box-shadow:0 5px 22px rgba(13,47,75,.04);text-decoration:none!important;color:#13354a!important;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.algn-fin-reg-file:hover,.algn-fin-reg-file:focus-visible{transform:translateY(-3px);border-color:#4db9b7;box-shadow:0 12px 27px rgba(15,62,82,.09);outline-offset:3px}
.algn-fin-reg-file-symbol{flex:0 0 54px;width:54px;height:58px;background:#e8f6f6;color:#057b83;border-radius:12px;display:grid;place-items:center}
.algn-fin-reg-file-symbol svg{width:25px;height:25px}
.algn-fin-reg-file-copy{min-width:0;display:flex;flex:1;flex-direction:column;gap:8px}
.algn-fin-reg-file-copy strong{display:block;font-weight:820;font-size:15px;line-height:1.4;overflow-wrap:anywhere;color:#12354c}
.algn-fin-reg-file-copy small{color:#607d8e;font-size:11px;font-weight:780;letter-spacing:.045em}
.algn-fin-reg-file-action{flex:0 0 auto;display:inline-flex;gap:8px;align-items:center;justify-content:center;background:#0a6976;color:white;border-radius:8px;padding:11px 13px;font-size:12px;font-weight:800}
.algn-fin-reg-file:hover .algn-fin-reg-file-action{background:#054e61}
.algn-fin-reg-text{min-width:0}
.algn-fin-reg-text-hero{background:linear-gradient(125deg,#eff9f9 0%,#f7fbfc 100%);border:1px solid #d9ebef;border-radius:18px;padding:clamp(22px,3vw,39px);margin-bottom:22px}
.algn-fin-reg-text-hero h2{font-size:clamp(27px,3.2vw,42px);line-height:1.13;letter-spacing:-.05em;font-weight:900;color:#102d43;max-width:830px;margin:0}
.algn-fin-reg-intro{margin-top:23px;padding-top:20px;border-top:1px solid #dcebed;color:#34596b;font-size:14px;line-height:1.75}
.algn-fin-reg-intro p{margin:8px 0}
.algn-fin-reg-intro p:last-child{margin-bottom:0}
.algn-fin-reg-subtitle{font-size:11px!important;letter-spacing:.055em!important;font-weight:850!important;color:#077a81!important;margin:19px 0 6px!important;line-height:1.4!important}
.algn-fin-reg-quote{border-left:3px solid #16b7b2;padding:8px 0 8px 17px;font-size:16px;line-height:1.6;font-weight:750;color:#143d53;margin:10px 0 19px}
.algn-fin-reg-toc{border:1px solid #dfeaf0;border-radius:14px;padding:19px 20px 20px;background:#fff;margin-bottom:20px}
.algn-fin-reg-toc>strong{display:block;text-transform:uppercase;font-size:11px;letter-spacing:.09em;color:#167c86;margin-bottom:15px;font-weight:900}
.algn-fin-reg-toc-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px 15px}
.algn-fin-reg-toc-links a{display:flex;gap:10px;align-items:baseline;color:#425f70;font-size:12px;line-height:1.55;text-decoration:none!important;border-radius:6px;padding:6px 8px;overflow-wrap:anywhere}
.algn-fin-reg-toc-links a:hover,.algn-fin-reg-toc-links a:focus-visible{background:#edf8f8;color:#045f6a;outline-offset:2px}
.algn-fin-reg-toc-links a span{color:#06818a;font-size:11px;font-weight:850;flex:0 0 auto}
.algn-fin-reg-chapters{display:grid;gap:13px}
.algn-fin-reg-chapter{scroll-margin-top:110px;border:1px solid #e0e9ee;border-radius:13px;background:#fff;overflow:hidden;box-shadow:0 5px 20px rgba(16,55,77,.025)}
.algn-fin-reg-chapter>header{display:flex;align-items:center;gap:17px;padding:18px 24px;border-bottom:1px solid #e8eef2;background:#f8fbfc}
.algn-fin-reg-chapter-number{flex:0 0 auto;display:grid;place-items:center;height:40px;width:40px;border:1px solid #d2e8e8;color:#03747e;background:#eaf6f6;border-radius:10px;font-weight:900;font-size:13px}
.algn-fin-reg-chapter h3{font-size:18px;font-weight:870;color:#13364d;line-height:1.3;letter-spacing:-.02em;margin:0}
.algn-fin-reg-chapter-content{padding:20px 25px 25px;font-size:14px;color:#38576b;line-height:1.85}
.algn-fin-reg-chapter-content p{margin:0 0 12px;max-width:100ch}
.algn-fin-reg-chapter-content p:last-child{margin-bottom:0}
.algn-fin-reg-bullets{list-style:none;margin:5px 0 18px!important;padding:0!important;display:grid;gap:9px}
.algn-fin-reg-bullets li{list-style:none;margin:0!important;padding:0 0 0 23px!important;position:relative;font-size:14px;line-height:1.65}
.algn-fin-reg-bullets li:before{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:#22b7b2;top:.7em;left:4px}
.algn-fin-reg-table-wrap{width:100%;overflow:auto;margin:17px 0 22px;border-radius:11px;border:1px solid #dfeaf0}
.algn-fin-reg-table{width:100%;border-collapse:collapse;min-width:480px;font-size:13px;line-height:1.55}
.algn-fin-reg-table th,.algn-fin-reg-table td{padding:12px 16px;border:0;border-bottom:1px solid #e4edf1;text-align:left}
.algn-fin-reg-table thead{background:#e9f6f7;color:#0a5966}
.algn-fin-reg-table tbody th{font-weight:820;color:#143b50}
.algn-fin-reg-table tbody tr:nth-child(even){background:#f8fbfc}
.algn-fin-reg-table tbody tr:last-child th,.algn-fin-reg-table tbody tr:last-child td{border-bottom:0}
@media(max-width:960px){.algn-fin-reg-toc-links{grid-template-columns:repeat(2,minmax(0,1fr))}.algn-fin-reg-files-grid{grid-template-columns:1fr}}
@media(max-width:640px){.algn-fin-regulations{gap:30px}.algn-fin-reg-section-heading{display:block}.algn-fin-reg-file-count{display:inline-flex;margin-top:12px}.algn-fin-reg-file{padding:17px 15px;gap:11px;min-height:96px}.algn-fin-reg-file-symbol{width:44px;height:48px;flex-basis:44px}.algn-fin-reg-file-copy strong{font-size:13px}.algn-fin-reg-file-action{font-size:11px;padding:9px 10px}.algn-fin-reg-toc-links{grid-template-columns:1fr}.algn-fin-reg-chapter>header{padding:15px 17px;gap:12px}.algn-fin-reg-chapter h3{font-size:16px}.algn-fin-reg-chapter-content{padding:17px 18px;font-size:13px}.algn-fin-reg-bullets li{font-size:13px}.algn-fin-reg-toc{padding:17px 15px}}
@media(prefers-reduced-motion:reduce){.algn-fin-reg-file{transition:none}}
