/* Shared styles for the complete Safi portal. */
[hidden]{display:none!important}body{overflow-wrap:break-word}button,input,select,textarea{font:inherit}button{color:inherit}input,textarea,select{max-width:100%}h1,h2,h3{text-wrap:balance}p{line-height:1.7}.brand{white-space:normal;flex-shrink:0}.brand small{max-width:210px;letter-spacing:.02em}.navigation{gap:1rem}.navigation nav{font-size:.83rem;gap:.75rem;flex-wrap:wrap}.top .shell{align-items:center;gap:1rem}.language-label{display:flex;align-items:center;gap:.6rem;flex-shrink:0}.language-label select{color:white;background:#163d68;border:1px solid #7894b1;border-radius:4px;padding:.25rem .4rem;min-height:34px}.language-label option{background:var(--deep)}.subnav{display:flex;justify-content:flex-start;gap:1.5rem;overflow-x:auto;flex-wrap:nowrap;font-size:.8rem;border-top:1px solid #e4ebf0;padding-block:.2rem}.subnav a[aria-current]{color:#a54600}.hero{min-height:510px}.hero p{max-width:580px}.hero h1 span{max-width:820px}.quick span{min-height:3.7rem}.home-news,.home-explore{padding-block:2.5rem 3.5rem}.section-heading{margin-bottom:1.3rem}.section-heading h2{margin:0}.text-link{font-weight:750;color:var(--blue);text-decoration:underline;text-underline-offset:4px}.content-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.3rem}.content-card{border:1px solid #d9e3eb;background:white;border-radius:9px;overflow:hidden;display:flex;flex-direction:column;min-width:0;box-shadow:0 4px 16px #14365608}.content-card>a{display:block}.content-card img{height:210px;transition:filter .2s}.content-card>a:hover img{filter:brightness(.9)}.card-copy{padding:1.3rem;display:flex;flex-direction:column;gap:.65rem;flex:1}.card-copy h3{margin:0;font-size:1.5rem;line-height:1.2}.card-copy p{font-size:.98rem;margin:0}.card-copy time{font-size:.85rem;color:#52697c}.card-copy .text-link{margin-top:auto;padding-top:.4rem}.eyebrow{display:block;color:#a44900;font-weight:750;font-size:.8rem;letter-spacing:.035em}.topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.topic-grid a{display:block;border-top:3px solid #d5e5f1;background:#f3f7fa;padding:1.25rem;border-radius:5px}.topic-grid a:hover{background:#e6f0f7;text-decoration:none;border-color:var(--orange)}.topic-grid strong{display:block;font:700 1.35rem/1.2 Georgia,serif;margin-bottom:.7rem}.topic-grid span{font-size:.94rem;line-height:1.6}.home-map{padding-block:3rem;background:var(--pale)}.home-map p{max-width:760px}.action-row{display:flex;gap:1rem;align-items:center;flex-wrap:wrap}.secondary-button{display:inline-block;background:white;border:1px solid #aec4d7;border-radius:6px;padding:.6rem 1rem;font-weight:700;cursor:pointer}.breadcrumbs{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:.5rem;font-size:.85rem;font-weight:500;padding:1rem 0}.breadcrumbs a{padding:0;color:var(--blue);white-space:normal}.page-hero{background:linear-gradient(120deg,#edf5fb,#faf8f2);padding:2.3rem 0 3rem}.page-hero-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:3rem;align-items:center}.page-hero h1{font-size:clamp(2.3rem,4.2vw,4.4rem);margin:0 0 1rem;letter-spacing:-.025em}.page-lead{font-size:1.15rem;margin:0;max-width:760px;line-height:1.7}.page-hero img{height:330px;border-radius:9px}.page-body{padding-block:1.5rem 3.5rem}.content-section{padding:2rem 0;border-bottom:1px solid #dae4ec}.content-section h2{font-size:clamp(1.7rem,2.8vw,2.5rem);margin-bottom:1.5rem}.prose{max-width:900px;font-size:1.1rem}.prose p{margin:0 0 1rem;line-height:1.85}.steps{list-style:none;counter-reset:steps;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;padding:0}.steps li{counter-increment:steps;background:var(--pale);padding:1.4rem;border-radius:8px}.steps li:before{content:counter(steps,decimal-leading-zero);display:block;color:#ac530b;font:700 2rem/1 Georgia;margin-bottom:1rem}.steps h3,.timeline h3{font-size:1.45rem;line-height:1.2}.timeline{list-style:none;padding-inline-start:1.4rem;border-inline-start:3px solid var(--orange);max-width:950px}.timeline li{padding:.5rem 0 1.5rem}.checklist{list-style:none;padding:1.2rem 1.6rem;background:var(--pale);border-inline-start:4px solid var(--orange);border-radius:4px;max-width:1000px}.checklist li{padding:.6rem 0;border-bottom:1px solid #d3e1eb}.checklist li:last-child{border:0}.facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:0}.facts>div{background:var(--pale);padding:1.2rem;border-radius:6px}.facts dt{font-weight:750;color:var(--blue);margin-bottom:.4rem}.facts dd{margin:0;line-height:1.7}.muted{color:#52677a;font-size:.92rem;margin-top:1rem}.faq{max-width:1050px}.faq details{border:1px solid #d7e2ea;border-radius:6px;padding:1rem 1.25rem;margin:.7rem 0}.faq summary{font-weight:700;cursor:pointer;padding:.2rem 0}.faq p{margin:1rem 0 0}.place-stories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.place-stories article{padding:1.5rem;background:#f2f6f9;border-radius:8px}.filter-group{margin-top:1.2rem}.search-field{display:block;max-width:600px;font-weight:700}.search-field span{display:block;margin-bottom:.5rem}.search-field input{width:100%;border:1px solid #91adc4;border-radius:6px;background:#fff;padding:.75rem}.filters{display:flex;flex-wrap:wrap;gap:.6rem;margin:1rem 0}.filters button{border:1px solid #b4c9da;background:white;border-radius:2rem;padding:.55rem 1rem;min-height:44px}.filters button[aria-pressed=true]{background:var(--navy);color:white;border-color:var(--navy)}.result-count{font-size:.85rem;color:#52677a;min-height:1.2rem}.empty-results{padding:1.5rem;background:var(--pale)}.event-list>article{display:grid;grid-template-columns:230px 1fr;gap:1.5rem;border-bottom:1px solid #dae4ec;padding:1.5rem 0}.event-date{background:var(--navy);color:white;padding:1.3rem;border-radius:6px;align-self:start}.event-date span{font-size:.8rem;display:block;margin-bottom:.6rem}.event-date strong{font:700 1.3rem/1.3 Georgia}.locator .places{align-content:start}.places button{text-align:start;min-height:52px}.location iframe{width:100%;height:350px;border:0;border-radius:5px;margin:.7rem 0 1rem}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem}.photo-grid figure{margin:0;border:1px solid #dce4eb;border-radius:8px;overflow:hidden}.photo-grid button{display:block;padding:0;border:0;width:100%;background:#eef3f8}.photo-grid img{height:240px}.photo-grid button:hover img{filter:brightness(.9)}.photo-grid figcaption{padding:1rem}.photo-grid strong{display:block;margin-bottom:.5rem}.photo-grid span{font-size:.9rem;line-height:1.6;display:block}#image-dialog{width:min(94vw,1100px)}#image-dialog figure{margin:0}#image-dialog figure img{max-height:65vh;object-fit:contain}#image-dialog figcaption{padding-top:.6rem;font-size:.9rem}.gallery-controls{display:flex;justify-content:space-between;gap:1rem;margin-top:1rem}.gallery-controls button{padding:.6rem 1rem;background:var(--pale);border:0;border-radius:4px}.close{margin-inline-start:auto;margin-inline-end:0}.article-meta{display:flex;flex-wrap:wrap;gap:.5rem 1rem;color:#42627e;font-size:.8rem;margin-bottom:1rem}.article-meta>span:first-child{font-weight:750;color:#a44900}.article-page .page-body{max-width:1050px}.article-page .prose{font-size:1.15rem}.article-actions{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin:1rem 0}.article-page .content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.source-box{background:#f4f7f9;padding:1.4rem;margin-top:2rem;border-radius:6px;font-size:.94rem}.source-box h2{font-size:1.35rem}.source-box ul{padding-inline-start:1.3rem}.source-box li{margin:.6rem 0}.source-box a{text-decoration:underline;text-underline-offset:3px}.download-list article{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;border-bottom:1px solid #d8e3ec;padding:1.3rem 0}.download-list .secondary-button{flex-shrink:0}.contact-form{max-width:950px}.contact-form label{display:flex;flex-direction:column;gap:.5rem;font-weight:650;margin-bottom:1rem}.contact-form input,.contact-form select,.contact-form textarea{width:100%;padding:.75rem;border:1px solid #9bb3c6;border-radius:5px;background:white;color:var(--ink);font-weight:400}.contact-form textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 1.2rem}[data-mail-result]{padding:1.25rem;background:var(--pale);border-radius:6px}[data-mail-preview]{margin-bottom:1rem}.footer-grid{grid-template-columns:1.25fr 1fr 1fr 1fr;font-size:.87rem}.footer-grid .brand{font-size:1.5rem}.footer-grid>div{min-width:0}.footer-bottom{font-size:.78rem}.footer-bottom>span:last-child{text-align:end}html[dir=rtl] body{font-family:Tahoma,Arial,sans-serif}html[dir=rtl] h1,html[dir=rtl] h2,html[dir=rtl] h3,html[dir=rtl] .brand,html[dir=rtl] .tagline{font-family:Tahoma,Arial,sans-serif;line-height:1.5}html[dir=rtl] .hero{background-image:linear-gradient(270deg,#031d40e0,#072e5d32 61%,transparent),url(assets/hero.webp)}html[dir=rtl] .hero h1{letter-spacing:0}html[dir=rtl] .hero h1 span{letter-spacing:0}html[dir=rtl] .hero .shell{padding-inline-start:2rem}html[dir=rtl] .caravane-copy{padding:2.7rem max(1.5rem,calc((100vw - 1390px)/2)) 2.7rem 1rem}
@media(max-width:1150px){.navigation{flex-wrap:wrap}.navigation nav{width:100%;justify-content:flex-start}.content-grid,.topic-grid{gap:1rem}.page-hero-grid{gap:1.5rem}.page-hero h1{font-size:3.2rem}.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.top .shell{justify-content:flex-end}.navigation nav{font-size:1rem;gap:.3rem 1rem}.navigation nav a{padding:.65rem 0}.subnav{display:flex;width:calc(100% - 2rem)}.hero{min-height:470px}.hero p{max-width:95%}.hero h1 span{font-size:2.35rem}.hero .tagline{font-size:1.45rem}.quick img{height:95px}.quick span{font-size:.85rem}.home-news,.home-explore{padding-block:1.8rem 2.5rem}.section-heading{align-items:flex-start;flex-direction:column;gap:.75rem}.content-grid,.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-card img{height:170px}.card-copy{padding:1rem}.card-copy h3{font-size:1.3rem}.page-hero{padding:1.5rem 0 2rem}.page-hero-grid{grid-template-columns:1fr}.page-hero h1{font-size:2.5rem}.page-lead{font-size:1.05rem}.page-hero img{height:260px}.page-body{padding-top:.5rem}.content-section{padding:1.7rem 0}.breadcrumbs{display:flex;font-size:.78rem}.facts,.place-stories{grid-template-columns:1fr}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-grid img{height:170px}.event-list>article{grid-template-columns:1fr;gap:1rem}.event-date{display:flex;gap:1rem;align-items:center}.event-date span{margin:0}.location iframe{height:280px}.locator{padding:.7rem}.download-list article{align-items:flex-start;flex-direction:column;gap:.5rem}.form-grid{grid-template-columns:1fr;gap:0}.footer-grid>div:first-child{grid-column:1/-1}.footer-bottom{flex-direction:column}.footer-bottom>span:last-child{text-align:start}html[dir=rtl] .hero .shell{padding:0}html[dir=rtl] .caravane-copy{padding:1.8rem 1rem}.article-page .content-grid{grid-template-columns:1fr}}
@media(max-width:500px){.content-grid,.topic-grid,.steps{grid-template-columns:1fr}.content-card img{height:220px}.page-hero h1{font-size:2.2rem}.hero h1{font-size:4.6rem}.hero h1 span{font-size:2rem}.photo-grid{gap:.6rem}.photo-grid img{height:140px}.photo-grid figcaption{padding:.7rem}.photo-grid span{font-size:.8rem}.language-label span{font-size:.75rem}.quick span{font-size:.8rem}.footer-grid{gap:1rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media print{.top,.site-header,footer,.article-actions,.contact-form,.filters,.search-field,.gallery-controls{display:none!important}.shell{width:100%}.page-hero{background:white}.page-hero-grid{display:block}.page-hero img{max-height:200px;width:auto}.page-hero h1{font-size:30pt}.content-section{break-inside:avoid}.page-body{max-width:none!important}}

/* Inset language and form chevrons. */
.language-label select,.contact-form select{appearance:none;padding-inline-end:2rem;background-repeat:no-repeat;background-position:right .65rem center;background-size:12px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23063367' stroke-width='2'/%3E%3C/svg%3E")}
.language-label select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E")}html[dir=rtl] .language-label select,html[dir=rtl] .contact-form select{background-position:left .65rem center}.navigation nav,.subnav{font-size:.875rem}
