/* Shared finishing details for pages opened from the main navigation. */
.subpage-back { min-height:40px;padding:0 14px;display:inline-flex!important;align-items:center;gap:8px!important;border:1px solid rgba(255,255,255,.11);border-radius:999px;color:#c1ced3!important;background:rgba(255,255,255,.045);font-size:12px!important;font-weight:600;transition:color .2s,border-color .2s,background .2s,transform .2s; }
.subpage-back:hover { color:#a1d6c6!important;border-color:rgba(140,207,188,.42);background:rgba(98,182,154,.09); }
.subpage-footer { position:relative;margin-top:58px;padding:34px max(24px,calc((100% - 1120px)/2)) 18px;border-top:1px solid rgba(255,255,255,.09);background:linear-gradient(145deg,#101f28,#0b1720 72%); }
.subpage-footer-main { max-width:1120px;margin:0 auto;display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(180px,.8fr) minmax(300px,1.4fr);align-items:center;gap:22px; }
.subpage-footer-brand { display:flex;align-items:center;gap:12px;width:max-content; }
.subpage-footer-brand img { width:44px;height:44px;object-fit:contain; }
.subpage-footer-brand span { display:grid;gap:4px; }
.subpage-footer-brand strong { color:#edf3f4;font-size:12px; }
.subpage-footer-brand small,.subpage-footer-copy { color:#99aab2;font-size:11px; }
.subpage-footer-copy { margin:0;line-height:1.6; }
.subpage-footer-links { display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px 18px; }
.subpage-footer-links a,.subpage-footer-bottom a { color:#b8c5ca;font-size:11px;transition:color .2s; }
.subpage-footer-links a:hover,.subpage-footer-bottom a:hover { color:#8ccfbc; }
.subpage-footer-bottom { max-width:1120px;margin:24px auto 0;padding-top:15px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid rgba(255,255,255,.08);color:#82939b;font-size:10px; }
.subpage-footer-bottom a { display:inline-flex;align-items:center;gap:7px; }
@media(max-width:760px){.subpage-footer{margin-top:38px;padding:28px 20px 16px}.subpage-footer-main{grid-template-columns:1fr;gap:14px}.subpage-footer-links{justify-content:flex-start;gap:12px 17px}.subpage-footer-bottom{margin-top:20px;align-items:flex-start;flex-direction:column}}


/* Compact top navigation inspired by the shared page footer. */
.gallery-topbar { position:relative; z-index:5; border-bottom:1px solid rgba(255,255,255,.08); background:rgba(11,23,32,.92); }
.gallery-topbar-inner { width:min(1120px,calc(100% - 48px)); min-height:88px; margin:0 auto; display:grid; grid-template-columns:minmax(260px,1.2fr) minmax(200px,.9fr) minmax(380px,1.5fr); align-items:center; gap:24px; }
.gallery-topbar-brand { display:flex; align-items:center; gap:12px; width:max-content; }
.gallery-topbar-brand img { width:44px; height:44px; object-fit:contain; }
.gallery-topbar-brand span { display:grid; gap:4px; }
.gallery-topbar-brand strong { color:#edf3f4; font-size:12px; }
.gallery-topbar-brand small,.gallery-topbar-note { color:#99aab2; font-size:11px; }
.gallery-topbar-note { margin:0; line-height:1.6; }
.gallery-topbar-links { display:flex; align-items:center; justify-content:flex-end; gap:20px; }
.gallery-topbar-links a { color:#c1ced3; font-size:11px; transition:color .2s; }
.gallery-topbar-links a:hover,.gallery-topbar-links a.is-current { color:#8ccfbc; }
@media(max-width:900px) { .gallery-topbar-inner { grid-template-columns:1fr auto; min-height:76px; gap:12px; } .gallery-topbar-note { display:none; } .gallery-topbar-links { gap:14px; } }
@media(max-width:600px) { .gallery-topbar-inner { width:calc(100% - 32px); grid-template-columns:1fr; gap:13px; padding:14px 0; } .gallery-topbar-brand img { width:38px;height:38px; } .gallery-topbar-links { justify-content:flex-start; flex-wrap:wrap; gap:10px 17px; } .gallery-topbar-links a { font-size:11px; } }

/* Gallery header: keep only the simple return link shown in the reference. */
.gallery-topbar-inner { display:block; width:min(1120px,calc(100% - 48px)); min-height:auto; margin:0 auto; padding:28px 0 0; }
.gallery-topbar-brand,.gallery-topbar-note,.gallery-topbar-links { display:none !important; }
.gallery-back-link { width:190px; min-height:42px; padding:0 8px 18px; display:flex; align-items:center; gap:10px; border-bottom:1px solid rgba(255,255,255,.10); color:#b5c1c8; font-size:12px; transition:color .2s; }
.gallery-back-link i { font-size:13px; }
.gallery-back-link:hover { color:#8ccfbc; }
@media(max-width:600px) { .gallery-topbar-inner { width:calc(100% - 36px); padding-top:20px; } }
/* Gallery topbar adjusted to match the approved two-sided header reference. */
.gallery-topbar { border-bottom:0; background:transparent; }
.gallery-topbar-inner { width:min(1120px,calc(100% - 48px)); min-height:88px; margin:0 auto; padding:0 0 18px; display:flex; align-items:center; justify-content:space-between; gap:20px; border-bottom:1px solid rgba(255,255,255,.10); }
.gallery-topbar-brand { display:flex !important; align-items:center; gap:13px; width:max-content; }
.gallery-topbar-brand img { width:46px; height:46px; object-fit:contain; }
.gallery-topbar-brand span { display:grid; gap:4px; }
.gallery-topbar-brand strong { color:#edf3f4; font-size:13px; }
.gallery-topbar-brand small { color:#b5c1c8; font-size:11px; }
.gallery-topbar-note,.gallery-topbar-links { display:none !important; }
.gallery-back-link { width:auto; min-height:40px; padding:0; display:inline-flex; align-items:center; justify-content:flex-end; gap:9px; border:0; color:#c1ced3; font-size:12px; white-space:nowrap; transition:color .2s; }
.gallery-back-link i { font-size:13px; }
.gallery-back-link:hover { color:#8ccfbc; }
@media(max-width:600px) { .gallery-topbar-inner { width:calc(100% - 36px); min-height:78px; padding-bottom:14px; gap:12px; } .gallery-topbar-brand { gap:9px; } .gallery-topbar-brand img { width:38px;height:38px; } .gallery-topbar-brand strong { font-size:11px; } .gallery-topbar-brand small { font-size:9px; } .gallery-back-link { gap:6px;font-size:10px; } }

/* Consistent top identity bar for all secondary pages. */
.page-topbar { position:relative; z-index:5; border:0; background:transparent; }
.page-topbar-inner { width:min(1120px,calc(100% - 48px)); min-height:88px; margin:0 auto; padding:0 0 18px; display:flex; align-items:center; justify-content:space-between; gap:20px; border-bottom:1px solid rgba(255,255,255,.10); }
.page-topbar-brand { display:flex; align-items:center; gap:13px; width:max-content; }
.page-topbar-brand img { width:46px; height:46px; object-fit:contain; }
.page-topbar-brand span { display:grid; gap:4px; }
.page-topbar-brand strong { color:#edf3f4; font-size:13px; }
.page-topbar-brand small { color:#b5c1c8; font-size:11px; }
.page-topbar-back { min-height:40px; display:inline-flex; align-items:center; justify-content:flex-end; gap:9px; color:#c1ced3; font-size:12px; white-space:nowrap; transition:color .2s; }
.page-topbar-back:hover { color:#8ccfbc; }
.page-topbar-back i { font-size:13px; }
@media(max-width:600px) { .page-topbar-inner { width:calc(100% - 36px); min-height:78px; padding-bottom:14px; gap:12px; } .page-topbar-brand { gap:9px; } .page-topbar-brand img { width:38px;height:38px; } .page-topbar-brand strong { font-size:11px; } .page-topbar-brand small { font-size:9px; } .page-topbar-back { gap:6px;font-size:10px; } }


/* Minimal secondary-page footer: retain only the copyright year. */
.subpage-footer { margin-top:42px; padding:20px max(24px,calc((100% - 1120px)/2)); }
.subpage-footer-main { display:none !important; }
.subpage-footer-bottom { max-width:1120px; margin:0 auto; padding:0; display:flex; justify-content:flex-start; border:0; }
@media(max-width:760px) { .subpage-footer { margin-top:32px; padding:18px 20px; } .subpage-footer-bottom { margin:0; } }

