body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:#f7fafc;color:#33475b}header{position:sticky;top:0;z-index:5;background:#ffffffee;backdrop-filter:blur(12px);display:flex;justify-content:space-between;align-items:center;padding:14px 6vw;border-bottom:1px solid #d9e7f4}a{color:#0b5fa5;text-decoration:none}.brand{font-weight:900;font-size:22px;display:flex;align-items:center;gap:12px;color:#0b5fa5}.brand small{display:block;font-size:13px;color:#263746;font-weight:700;margin-left:4px}.logo{width:64px;height:64px;background:transparent;display:inline-flex;align-items:center;justify-content:center;overflow:visible;flex:0 0 auto}.logo img{width:100%;height:100%;object-fit:contain;padding:0}nav a{margin-left:22px;font-weight:800}main{padding:0 6vw 50px;max-width:1280px;margin:auto}.hero{margin:28px 0;padding:28px;background:#fff;border-radius:12px;box-shadow:0 7px 22px rgba(11,95,165,.10);display:grid;grid-template-columns:minmax(240px,560px) 1fr;gap:30px;align-items:center}.hero.small{display:block}.hero img{width:100%;height:420px;object-fit:cover;border-radius:8px}.slideshow{position:relative;height:420px;border-radius:8px;overflow:hidden;background:#dbeaf7}.slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .9s ease}.slide.active{opacity:1}.slide-dots{position:absolute;left:0;right:0;bottom:12px;text-align:center}.slide-dots span{display:inline-block;width:9px;height:9px;border-radius:50%;background:#ffffff88;margin:0 4px}.slide-dots span.active{background:white}h1{color:#0b5fa5;letter-spacing:-1.8px;font-size:clamp(34px,5vw,66px);line-height:1;margin:0 0 12px}h2{margin-top:0;color:#0b5fa5}.primary,.secondary,.btn{display:inline-block;margin:8px 8px 8px 0;padding:12px 18px;border-radius:10px;font-weight:800}.primary{background:#0b5fa5;color:white}.secondary,.btn{background:#e7f1fb;color:#0b5fa5}.announcement{margin:28px 0;padding:24px 28px;background:linear-gradient(135deg,#0b5fa5,#083b6b);color:white;border-radius:12px;box-shadow:0 10px 28px #0b5fa526}.announcement h2{color:white;font-size:clamp(26px,3vw,42px);margin:4px 0}.announce-label{display:inline-block;background:#ffffff24;border:1px solid #ffffff55;border-radius:8px;padding:5px 10px;font-weight:900;text-transform:uppercase;font-size:13px;letter-spacing:.04em}.announce-details{list-style:none;padding:0;margin:12px 0}.announce-details li{margin:6px 0;font-size:18px}.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:14px}.photo img{width:100%;height:220px;object-fit:cover;border-radius:6px;box-shadow:0 3px 14px #0002;background:white}.photo:hover img{transform:translateY(-2px)}.years{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}.year,.card{background:white;border-radius:10px;padding:22px;box-shadow:0 5px 16px #0b5fa512}.year a{display:block;padding:10px 0;border-top:1px solid #eee;font-weight:700}.year span{float:right;color:#71808d;font-size:13px}.back{font-weight:900}.contact-form{display:grid;gap:12px;max-width:720px}.contact-form label{font-weight:800}.contact-form input,.contact-form textarea{width:100%;padding:12px;border:1px solid #c9d9e7;border-radius:8px;font:inherit;background:white}.contact-form textarea{min-height:150px}.contact-note{color:#64788a;margin-top:14px}footer{text-align:center;color:#64788a;padding:35px}.lightbox{position:fixed;inset:0;background:#000e;display:none;align-items:center;justify-content:center;z-index:20}.lightbox.open{display:flex}.lightbox img{width:min(96vw,1200px);height:min(92vh,900px);max-width:96vw;max-height:92vh;object-fit:contain;box-shadow:0 12px 40px #0008}.lb{position:fixed;border:0;background:#ffffff22;color:white;cursor:pointer;border-radius:10px;backdrop-filter:blur(6px)}.lb:hover{background:#ffffff40}.close{top:18px;right:20px;font-size:38px;width:56px;height:56px}.prev,.next{top:50%;transform:translateY(-50%);font-size:58px;width:72px;height:72px;line-height:1}.prev{left:18px}.next{right:18px}.lbcount{position:fixed;bottom:20px;color:white;background:#ffffff24;padding:8px 14px;border-radius:8px;font-weight:800}@media(max-width:760px){header{display:block}nav{margin-top:12px}nav a{margin:0 12px 0 0}.brand{justify-content:flex-start}.hero{grid-template-columns:1fr;padding:20px}.hero img{height:260px}.slideshow{height:260px}.gallery{grid-template-columns:repeat(2,1fr)}.photo img{height:140px}.prev,.next{width:54px;height:54px;font-size:42px}.announcement{padding:20px}}
/* V13.5 - équilibre visuel */
.hero p{color:#425466}
.hero .subtitle{color:#425466}
.hero strong{color:#33475b}
.card p,.panel p{color:#425466}

/* V14 - modernisation visuelle */
.brand small{color:#263746;font-weight:700}
.hero p{color:#425466}
.hero .subtitle{color:#425466}
.hero h1{line-height:.96}
.hero{border:1px solid rgba(11,95,165,.07);box-shadow:0 10px 30px rgba(28,55,80,.07)}
nav a{position:relative}
nav a[aria-current="page"]::after,.nav-active::after{
 content:"";position:absolute;left:14px;right:14px;bottom:5px;height:3px;
 border-radius:3px;background:#0b5fa5
}
.btn{border-radius:10px}
.slideshow .dot,.dots .dot{width:8px;height:8px}

.eyebrow{font-size:12px;font-weight:800;letter-spacing:1.6px;color:#64788a;margin-bottom:12px}

/* V14.1 - accents orange */
:root{--accent:#f28c28}
.eyebrow{color:#64788a}
.eyebrow::after{content:"";display:inline-block;width:34px;height:3px;background:var(--accent);border-radius:3px;margin-left:10px;vertical-align:middle}
nav a[aria-current="page"]::after,.nav-active::after{background:var(--accent)}
.btn.primary::after,.btn:first-of-type::after{content:" →";color:var(--accent);font-weight:900}

/* V14.2 - orange réellement visible */
:root{--accent:#f28c28}
.hero-city{color:#33404a}
.hero-text{color:#425466!important}
.eyebrow{color:#33404a;font-size:12px;font-weight:900;letter-spacing:1.5px;margin-bottom:14px}
.eyebrow:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);margin-right:9px;vertical-align:1px}
.eyebrow:after{content:"";display:inline-block;width:42px;height:3px;border-radius:3px;background:var(--accent);margin-left:10px;vertical-align:middle}
.primary{background:linear-gradient(90deg,#0b5fa5 0%,#0b5fa5 86%,#07518e 100%);border-bottom:3px solid var(--accent)}
.secondary{border-bottom:3px solid var(--accent)}
nav a:hover{color:var(--accent)}
header{border-bottom:2px solid rgba(242,140,40,.32)}

/* V15 - Archives + Contact */
.page-intro{position:relative;padding:34px 4px 22px;max-width:900px}
.page-intro h1{margin:7px 0 8px;color:#0b5fa5;font-size:54px;line-height:1;letter-spacing:-1.8px}
.page-intro p{margin:0;color:#425466;font-size:17px;line-height:1.55}
.kicker{font-size:12px;font-weight:900;letter-spacing:2px;color:#f28c28}
.kicker span{color:#0b5fa5}.kicker i{display:inline-block;width:44px;height:3px;background:#f28c28;border-radius:3px;margin-left:10px;vertical-align:middle}

.modern-years{gap:18px}
.modern-years .year{position:relative;border:1px solid rgba(11,95,165,.08);box-shadow:0 8px 24px rgba(28,55,80,.07);overflow:hidden}
.modern-years .year:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:#f28c28}
.modern-years .year h2{font-size:28px;color:#0b5fa5;padding-left:6px}
.modern-years .year a{transition:.18s ease}
.modern-years .year a:hover{color:#f28c28;transform:translateX(3px)}
.modern-years .year a span{color:#64788a}
.page-signature{display:flex;align-items:center;justify-content:center;gap:14px;color:#0b5fa5;font-weight:700;font-style:italic;margin:30px 0 10px}
.page-signature span{width:55px;height:2px;background:#f28c28}

.contact-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,.85fr);gap:24px;align-items:start}
.contact-main{border:1px solid rgba(11,95,165,.08);box-shadow:0 8px 24px rgba(28,55,80,.07)}
.contact-main h2{display:flex;gap:12px;align-items:center;color:#0b5fa5;font-size:22px}
.orange-icon{color:#f28c28;font-size:28px;line-height:1}
.contact-form label{color:#33404a;font-weight:700}
.contact-form input,.contact-form textarea{border:1px solid #ccd9e5;background:#fbfdff;transition:.18s ease}
.contact-form input:focus,.contact-form textarea:focus{outline:none;border-color:#f28c28;box-shadow:0 0 0 3px rgba(242,140,40,.12)}
.contact-send{width:100%;border-bottom:3px solid #d87413!important}
.contact-side{display:grid;gap:16px}
.info-card{display:flex;gap:16px;background:#fff;border:1px solid rgba(11,95,165,.07);border-radius:14px;padding:20px;box-shadow:0 7px 20px rgba(28,55,80,.06)}
.info-card h3{margin:1px 0 8px;color:#0b5fa5;font-size:18px}.info-card p{margin:0;color:#425466;line-height:1.5}
@media(max-width:760px){.page-intro h1{font-size:42px}.contact-layout{grid-template-columns:1fr}.page-signature span{width:28px}}

/* V15.2 - finition Contact */
.contact-intro{max-width:none;padding-right:250px;min-height:120px}
.contact-intro:after{
 content:"✈";position:absolute;right:55px;top:20px;color:#f28c28;
 font-size:82px;line-height:1;transform:rotate(-10deg);opacity:.95
}
.contact-main{padding:26px}
.contact-main h2{margin-top:0;font-size:24px}
.contact-form{gap:16px}
.contact-form input{min-height:48px}
.contact-form textarea{min-height:130px}
.contact-send{
 background:#f28c28!important;color:white!important;border:0!important;
 border-radius:10px!important;font-size:17px;font-weight:800;
 box-shadow:0 6px 16px rgba(242,140,40,.18)
}
.contact-send:hover{filter:brightness(.96);transform:translateY(-1px)}
.info-card{min-height:105px}
.info-card .orange-icon{min-width:32px;text-align:center}
@media(max-width:760px){
 .contact-intro{padding-right:4px;min-height:0}
 .contact-intro:after{display:none}
}

/* V16 - look illustré orange */
.page-intro{overflow:hidden}
.contact-intro:after{display:none!important}
.contact-intro,.archive-intro{padding-right:285px;min-height:125px}
.decor-art{position:absolute;right:5px;top:8px;width:265px;height:125px;opacity:.9}
.decor-art svg,.orange-svg svg{width:100%;height:100%;fill:none;stroke:#f28c28;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.decor-art svg path:last-child{stroke:#f5ad65;stroke-width:2}
.orange-svg{display:inline-flex;width:38px;height:38px;flex:0 0 38px}
.info-card:after{content:"";position:absolute;right:16px;bottom:10px;width:86px;height:55px;border-bottom:2px solid #f6b16c;opacity:.5}
.info-card:nth-child(1):after{border-radius:50% 50% 0 0;border-left:2px solid #f6b16c;border-right:2px solid #f6b16c}
.info-card:nth-child(2):after{width:70px;height:45px;border:2px solid #f6b16c;border-top-width:0;transform:skewY(-8deg)}
.info-card:nth-child(3):after{width:42px;height:42px;border:2px solid #f6b16c;border-radius:50% 0 50% 50%;transform:rotate(35deg)}
.info-card{padding-right:120px}
.page-signature b{color:#f28c28}
@media(max-width:800px){.contact-intro,.archive-intro{padding-right:4px;min-height:0}.decor-art{display:none}.info-card{padding-right:20px}.info-card:after{display:none}}

/* V17 - finition fidèle à la maquette fournie */
.archive-intro,.contact-intro{min-height:145px}
.archive-intro .decor-art,.contact-intro .decor-art{width:330px;height:145px}
.modern-years{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.modern-years .year{border-radius:12px;padding:18px;background:#fff;border:1px solid rgba(11,95,165,.08);box-shadow:0 8px 22px rgba(28,55,80,.08)}
.modern-years .year:before{width:4px;background:#f28c28}
.modern-years .year h2{font-size:26px;margin:0 0 12px;color:#0b5fa5}
.modern-years .year a{display:flex;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid #edf2f6;color:#0b5fa5;font-weight:750}
.modern-years .year a:first-of-type{border-top:0}
.modern-years .year a span{font-size:12px;color:#f28c28}
.page-signature{margin:28px 0 12px;font-size:15px}
.page-signature:after{content:" ♥";color:#f28c28;font-style:normal}

.contact-layout{grid-template-columns:minmax(0,1.55fr) minmax(330px,.9fr);gap:20px}
.contact-main{border-radius:14px;padding:26px}
.contact-main h2{font-size:23px}
.contact-side{gap:14px}
.info-card{border-radius:14px;min-height:105px;padding:18px 120px 18px 18px}
.info-card h3{font-size:19px}
.info-card:nth-child(1):before{content:"♧  ═══  ♧";position:absolute;right:12px;bottom:15px;color:#f28c28;font-size:23px;opacity:.52}
.info-card:nth-child(2):before{content:"⌂";position:absolute;right:25px;bottom:2px;color:#f28c28;font-size:70px;opacity:.32}
.info-card:nth-child(3):before{content:"♡";position:absolute;right:26px;bottom:7px;color:#f28c28;font-size:58px;opacity:.30}
.contact-send{background:#f28c28!important;border-bottom:0!important}
.contact-send:hover{background:#e97f1c!important}
.contact-signature{margin-top:26px}
@media(max-width:900px){.modern-years{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.modern-years{grid-template-columns:1fr}.info-card{padding-right:20px}.info-card:before{display:none}}

/* V17.2 - correction iPhone */
@media(max-width:760px){
  header .wrap{display:flex;flex-direction:column;align-items:center;gap:12px;padding:14px 16px 10px}
  .brand{width:auto;justify-content:center}
  .brand span{font-size:25px}
  .logo{width:62px;height:62px}
  nav{width:100%;display:flex;justify-content:center;gap:7px;flex-wrap:nowrap}
  nav a{font-size:16px;padding:10px 8px;white-space:nowrap}

  main{padding-top:18px}
  .page-intro{padding:18px 6px 18px!important;min-height:0!important}
  .page-intro h1{font-size:42px!important;line-height:1.02;margin:6px 0 10px}
  .page-intro p{font-size:17px;line-height:1.5}
  .decor-art{display:none!important}

  .contact-layout{display:flex!important;flex-direction:column!important;gap:18px}
  .contact-main{order:1;width:100%;box-sizing:border-box}
  .contact-side{order:2;width:100%;display:grid;grid-template-columns:1fr!important;gap:14px}
  .info-card{width:100%;box-sizing:border-box;min-height:0!important;padding:18px!important}
  .info-card:before,.info-card:after{display:none!important}
  .orange-svg{width:34px;height:34px;flex:0 0 34px}
  .info-card h3{font-size:20px}
  .info-card p{font-size:16px;line-height:1.45}

  .contact-form input,.contact-form textarea{width:100%;box-sizing:border-box}
  .contact-send{width:100%}
  .contact-signature{margin:22px 0 8px}
}
@media(max-width:390px){
  .brand span{font-size:22px}
  nav a{font-size:15px;padding-left:5px;padding-right:5px}
  .page-intro h1{font-size:38px!important}
}


/* V17.4 - en-tête mobile aligné à gauche */
@media(max-width:760px){
  header .wrap{align-items:flex-start!important}
  .brand{justify-content:flex-start!important;align-self:flex-start!important}
  nav{justify-content:flex-start!important}
}

/* V18 - page Année en cours illustrée */
.current-intro{padding-bottom:25px}
.current-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.current-card{background:#fff;border-radius:16px;overflow:hidden;border:1px solid rgba(11,95,165,.08);box-shadow:0 9px 26px rgba(28,55,80,.09);transition:.2s ease}
.current-card:hover{transform:translateY(-4px);box-shadow:0 14px 32px rgba(28,55,80,.13)}
.current-card>img,.current-placeholder{display:block;width:100%;height:285px;object-fit:cover;background:#eaf3fb}
.current-card-content{padding:20px 22px 22px}
.current-tag{display:inline-block;color:#f28c28;font-size:12px;font-weight:900;letter-spacing:1.4px;text-transform:uppercase;margin-bottom:6px}
.current-card h2{color:#0b5fa5;font-size:27px;margin:3px 0 7px}
.current-card p{color:#64788a;margin:0 0 17px}
.current-card a{display:inline-block;background:#f28c28;color:#fff;padding:11px 17px;border-radius:9px;font-weight:850}
.current-card a:hover{background:#df7918}
.current-signature{margin-top:30px}
.current-signature b{color:#f28c28;font-style:normal}
@media(max-width:760px){.current-grid{grid-template-columns:1fr;gap:18px}.current-card>img,.current-placeholder{height:230px}.current-card-content{padding:17px 18px 20px}.current-card h2{font-size:24px}}

/* V18.1 - version du site dans le pied de page */
footer{display:flex;align-items:center;justify-content:space-between;gap:18px}
.site-version{font-size:12px;font-weight:800;letter-spacing:.5px;color:#7b8b99;white-space:nowrap}
@media(max-width:760px){footer{align-items:flex-start}.site-version{font-size:11px}}

/* V19 - Nouvelles */
.fresh-news,.news-card{background:#fff;border:1px solid rgba(11,95,165,.10);border-left:5px solid #f28c28;border-radius:14px;padding:22px 26px;margin:24px 0;box-shadow:0 8px 24px rgba(28,55,80,.07)}.fresh-news{background:linear-gradient(135deg,#fffaf4,#fff);}.fresh-news h2,.news-card h2{margin:6px 0 10px;color:#0b5fa5;font-size:clamp(23px,3vw,32px)}.fresh-badge{display:inline-block;background:#f28c28;color:white;padding:5px 10px;border-radius:20px;text-transform:uppercase;font-size:11px;font-weight:900;letter-spacing:.06em}.news-date{font-size:13px;font-weight:800;color:#71808d}.news-photos{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px;margin:14px 0}.news-photos img{width:100%;height:220px;object-fit:cover;border-radius:10px;background:#eaf3fb}.news-more{font-weight:800}.news-list{display:grid;gap:16px}.news-empty{background:white;padding:24px;border-radius:12px;color:#64788a}@media(max-width:760px){.fresh-news,.news-card{padding:18px}.news-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.news-photos img{height:150px}}

.latest-news{margin:20px 0}.latest-news-button{display:inline-block;max-width:100%;box-sizing:border-box;padding:10px 14px;border:1px solid #f4c99e;border-radius:10px;background:#fffaf4;color:#0b5fa5;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.latest-news-button strong{color:#b65b08}.latest-news-button:hover{background:#fff0df}.latest-news-button:focus-visible{outline:3px solid #0b5fa5;outline-offset:3px}

.news-text{max-width:75ch;line-height:1.8;font-size:17px}.news-text p{margin:0 0 1.2em}.news-text ul{padding-left:1.4em;margin:0 0 1.2em}.news-text li{margin:.4em 0}.news-text p:last-child{margin-bottom:0}

/* V19.3 - nouvelles repliables */
.news-list{gap:16px}.news-list .news-card{margin:0;padding:0;overflow:hidden}.news-card summary{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 16px;padding:20px 24px;cursor:pointer;list-style:none}.news-card summary::-webkit-details-marker{display:none}.news-card summary .news-date{grid-column:1}.news-card summary h2{grid-column:1;margin:0;font-size:clamp(20px,3vw,28px);overflow-wrap:anywhere}.news-toggle{grid-column:2;grid-row:1 / 3;color:#0b5fa5;font-size:26px}.news-toggle::before{content:'+'}.news-card[open] .news-toggle::before{content:'−'}.news-card summary:hover{background:#fffaf4}.news-card summary:focus-visible{outline:3px solid #0b5fa5;outline-offset:-4px}.news-content{padding:0 24px 24px}.news-card[open] summary{border-bottom:1px solid #e7eef5;margin-bottom:20px}@media(max-width:760px){.news-card summary{padding:16px}.news-content{padding:0 16px 16px}}

/* V19.4 - navigation mobile sur une ligne */
@media(max-width:760px){header{padding:14px 12px 8px}header nav{display:flex;width:100%;box-sizing:border-box;flex-wrap:nowrap;align-items:center;justify-content:space-between!important;gap:4px;margin-top:10px}header nav a{flex:0 0 auto;margin:0;padding:12px 0;font-size:clamp(12px,3.5vw,15px);line-height:1.3;white-space:nowrap;letter-spacing:0}}

/* V19.5 - bandeau mobile à la largeur de l'écran */
header{width:100%;box-sizing:border-box}header nav{min-width:0}@media(max-width:760px){header{padding:14px 12px 12px}header .wrap{width:100%;min-width:0;box-sizing:border-box}header nav{max-width:100%;gap:6px}header nav a{flex:0 1 auto;min-width:0;font-size:clamp(12px,3.3vw,15px);margin:0;padding:12px 0}.brand{max-width:100%;box-sizing:border-box}.brand>span:not(.logo){min-width:0;overflow-wrap:anywhere}}

/* V19.6 - nom et logo légèrement agrandis */
header .brand{gap:14px}header .brand>span:not(.logo){font-size:25px;line-height:1.15}header .brand .logo{width:72px;height:72px}@media(max-width:760px){header .brand{gap:12px}header .brand>span:not(.logo){font-size:clamp(23px,6.8vw,28px)}header .brand .logo{width:70px;height:70px}}@media(max-width:350px){header .brand{gap:8px}header .brand>span:not(.logo){font-size:23px}header .brand .logo{width:66px;height:66px}}

/* Formats de photo des nouvelles */
.news-photos-lisible,
.news-photos-grand {
    justify-content: center;
}
.news-photos-lisible {
    grid-template-columns: minmax(0, 360px);
}
.news-photos-grand {
    grid-template-columns: minmax(0, 1fr);
}
.news-photos-grand a {
    display: block;
    text-align: center;
}
.news-photos-grand img {
    display: block;
    margin-bottom: 6px;
}
.news-photos-lisible img,
.news-photos-grand img {
    height: auto;
    object-fit: contain;
}

.news-photos-bandeau a {
    display: block;
    min-width: 0;
}
.news-photos-bandeau img {
    display: block;
}
.news-image-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    box-sizing: border-box;
    width: min(calc(100vw - 32px), 1120px);
    height: min(calc(100vh - 32px), 900px);
    height: min(calc(100dvh - 32px), 900px);
    max-width: none;
    max-height: none;
    padding: 0;
    border: 1px solid #3b4b5b;
    border-radius: 16px;
    background: #101820;
    color: #f1f5f9;
    box-shadow: 0 20px 64px rgba(0, 0, 0, .45);
    overflow: hidden;
}
.news-image-dialog[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}
.news-image-dialog::backdrop {
    background: rgba(7, 13, 20, .82);
}
.news-image-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 0;
    padding: 10px 14px;
    border-bottom: 1px solid #3b4b5b;
    background: #1a2632;
}
.news-image-navigation,
.news-image-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.news-image-navigation[hidden] {
    display: none;
}
.news-image-actions {
    margin-inline-start: auto;
}
.news-image-position {
    min-width: 4ch;
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.news-image-toolbar button {
    min-height: 40px;
    padding: 6px 12px;
    border: 1px solid #5d7185;
    border-radius: 8px;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}
.news-image-toolbar button:hover,
.news-image-toolbar button[aria-pressed="true"] {
    background: #344c63;
}
.news-image-toolbar button[type="submit"] {
    background: #f1f5f9;
    color: #142334;
}
.news-image-toolbar button:focus-visible {
    outline: 2px solid #8fcaff;
    outline-offset: 2px;
}
.news-image-scroll {
    box-sizing: border-box;
    min-height: 0;
    padding: 12px;
    overflow: auto;
    overscroll-behavior: contain;
}
.news-image-scroll:not(.is-zoomed) {
    display: grid;
    place-items: center;
    grid-template: minmax(0, 1fr) / minmax(0, 1fr);
}
.news-image-scroll img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}
.news-image-scroll.is-zoomed img {
    max-width: none;
    max-height: none;
    margin-inline: auto;
}
@media (max-width: 600px) {
    .news-image-dialog {
        width: calc(100vw - 16px);
        height: calc(100vh - 16px);
        height: calc(100dvh - 16px);
        border-radius: 12px;
    }
    .news-image-toolbar {
        justify-content: center;
        padding: 8px;
    }
    .news-image-actions {
        margin-inline-start: 0;
    }
    .news-image-scroll {
        padding: 8px;
    }
}
