/* Gallery & journal: the shared D&D core-page design, with image-first collections. */
#main.core-page [hidden],#main.core-page .gx-photo[hidden],#main.core-page .bx-card[hidden]{display:none!important}
#main.core-page .gx-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#main.core-page .gx-hero{min-height:740px;padding:83px 0 0;display:flex;flex-direction:column;position:relative;background:#12314a}
#main.core-page .gx-hero .ar-hero-shade{background:linear-gradient(90deg,rgba(7,27,44,.90) 0%,rgba(7,27,44,.67) 47%,rgba(7,27,44,.22) 100%)}
#main.core-page .gx-hero .ar-hero-photo{object-position:50% 43%}
#main.core-page .gx-hero-inner{display:flex;align-items:center;justify-content:space-between;gap:60px;flex:1;position:relative}
#main.core-page .gx-hero .ar-hero-content{width:100%;max-width:840px;padding:85px 0 70px}
#main.core-page .gx-hero h1{font-size:clamp(40px,4.7vw,68px);line-height:1.07;letter-spacing:-.045em;max-width:850px}
#main.core-page .gx-hero .ar-hero-copy{max-width:625px;font-size:16px;line-height:1.8}
#main.core-page .gx-hero .ar-jump{position:relative;margin-top:auto;gap:30px;min-height:78px}
#main.core-page .gx-hero-blog .ar-hero-content{max-width:690px}
#main.core-page .gx-hero-blog h1{max-width:630px;font-size:clamp(46px,6vw,85px)}
#main.core-page .gx-hero-blog .ar-hero-photo{object-position:50% 38%}
#main.core-page .bx-hero-note{flex:0 0 280px;background:#ffffffee;color:#19394e;padding:32px;border-radius:9px;border:1px solid #ffffffbb;box-shadow:0 20px 55px #061c2826;transform:translateY(12px)}
#main.core-page .bx-note-number{font-size:78px;line-height:1.1;letter-spacing:-.06em;font-weight:750;display:block;font-family:Montserrat,sans-serif;color:#123d5a;margin-bottom:20px}
#main.core-page .bx-hero-note .ar-eyebrow{color:#34718d;font-size:10px;line-height:1.7;margin-bottom:20px}
#main.core-page .bx-hero-note p{font-size:14px;line-height:1.8;color:#486172}
#main.core-page .bx-hero-note a{display:flex;justify-content:space-between;gap:20px;font-size:12px;text-decoration:none;border-top:1px solid #c5d5df;padding-top:20px;margin-top:25px;font-weight:650;color:#174f73}
#main.core-page .gx-collections,#main.core-page .bx-featured{padding:86px 0;background:#fff}
#main.core-page .gx-collection-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
#main.core-page .gx-collection{position:relative;display:block;min-width:0;aspect-ratio:.82;overflow:hidden;border-radius:8px;background:#163e57;text-decoration:none}
#main.core-page .gx-collection:after{content:'';position:absolute;inset:25% 0 0;background:linear-gradient(transparent,#082337e8)}
#main.core-page .gx-collection>img{width:100%;height:100%;object-fit:cover;content-visibility:visible!important;transition:transform .5s}
#main.core-page .gx-collection:hover>img{transform:scale(1.045)}
#main.core-page .gx-collection>div{position:absolute;z-index:1;bottom:25px;left:24px;right:24px}
#main.core-page .gx-collection div>span:first-child{font-size:9px;text-transform:uppercase;letter-spacing:.11em;color:#e0eef4}
#main.core-page .gx-collection h3{color:#fff;font-size:24px;line-height:1.12;margin:10px 28px 0 0}
#main.core-page .gx-collection-arrow{position:absolute;bottom:0;right:0;font-size:25px;color:#e5f4fb}
#main.core-page .gx-library,#main.core-page .bx-library{padding:80px 0;background:#f1f6f8;scroll-margin-top:145px}
#main.core-page .gx-tools,#main.core-page .bx-tools{border-top:1px solid #cbdce6;padding-top:26px;margin-top:36px}
#main.core-page .gx-search{display:flex;align-items:center;gap:12px;border:1px solid #bacfdc;border-radius:6px;background:#fff;min-height:56px;padding:0 17px;width:100%;max-width:650px;position:relative}
#main.core-page .gx-search>span{font-size:29px;color:#517b95;line-height:1}
#main.core-page .gx-search input{width:100%;min-width:0;border:0;box-shadow:none!important;outline:none;background:transparent;padding:16px 0;font-size:15px;color:#1d3d53;font-family:inherit;min-height:54px;appearance:none}
#main.core-page .gx-search input::-webkit-search-cancel-button{display:none}
#main.core-page .gx-search:focus-within{outline:2px solid #266a91;outline-offset:3px}
#main.core-page .gx-clear{width:34px;height:34px;flex:0 0 34px;border:0;border-radius:50%;background:#e8f1f6;color:#254f6c;font-size:24px;line-height:1;cursor:pointer}
#main.core-page .gx-filters{display:flex;flex-wrap:wrap;gap:9px;margin-top:24px}
#main.core-page .gx-filters button{display:flex;align-items:center;justify-content:center;gap:9px;min-height:42px;background:#fff;border:1px solid #ccdde6;border-radius:5px;color:#2f566e;font:500 11px/1.5 Sora,sans-serif;padding:9px 13px;cursor:pointer;transition:background .18s,border-color .18s}
#main.core-page .gx-filters button>span{font-size:9px;opacity:.8}
#main.core-page .gx-filters button:hover{background:#deedf6;border-color:#8fb8d0}
#main.core-page .gx-filters button[aria-pressed=true]{background:#164a6b;border-color:#164a6b;color:white}
#main.core-page .gx-mobile-select{display:none}
#main.core-page .gx-results-bar{display:flex;justify-content:space-between;gap:25px;align-items:center;color:#44687f;margin:30px 0 22px;font-size:11px}
#main.core-page .gx-results-bar p{font-size:12px;margin:0;color:#36586e}
#main.core-page .gx-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px;align-items:start}
#main.core-page .gx-photo{margin:0;min-width:0;background:white;border:1px solid #d3e0e8;border-radius:8px;overflow:hidden}
#main.core-page .gx-photo-link{display:block;color:#183e56;text-decoration:none}
#main.core-page .gx-photo-image{position:relative;aspect-ratio:1.25;overflow:hidden;background:#d5e2e8}
#main.core-page .gx-photo img{width:100%;height:100%;object-fit:cover;transition:transform .35s;content-visibility:visible!important}
#main.core-page .gx-photo a:hover img{transform:scale(1.04)}
#main.core-page .gx-expand{position:absolute;bottom:16px;right:16px;width:34px;height:34px;border-radius:50%;background:#fff;color:#174a67;font-size:21px;display:grid;place-items:center;box-shadow:0 4px 15px #09213225}
#main.core-page .gx-photo figcaption{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 16px;font-size:11px;line-height:1.4;min-height:65px}
#main.core-page .gx-photo figcaption>span:first-child{font-weight:650}
#main.core-page .gx-photo figcaption>span:last-child{color:#59778a;text-align:right;font-size:10px}
#main.core-page .gx-load{display:flex;justify-content:center;margin-top:40px}
#main.core-page .gx-empty{text-align:center;padding:50px 25px;border:1px dashed #a9c4d4;border-radius:8px;background:white}
#main.core-page .gx-empty h3{font-size:26px}
#main.core-page .gx-empty p{font-size:14px}
#main.core-page .gx-empty button{font:600 13px Sora,sans-serif;background:#174c6c;color:white;border:0;border-radius:5px;min-height:44px;padding:12px 22px;cursor:pointer}
#main.core-page .gx-bridge{padding:80px 0;background:#fff;text-align:center}
#main.core-page .gx-bridge .ar-wrap{max-width:850px}
#main.core-page .gx-bridge h2{font-size:clamp(34px,4vw,54px)}
#main.core-page .gx-bridge p:not(.ar-eyebrow){max-width:600px;margin:22px auto 28px;font-size:15px;line-height:1.8}
#main.core-page .gx-bridge .ar-inline-link{font-size:13px}
/* Native modal: browser focus containment, keyboard navigation and swipe support. */
#main.core-page dialog.gx-viewer{position:fixed;inset:0;width:min(1280px,94vw);height:92dvh;max-height:94dvh;max-width:94vw;padding:0;border:1px solid #426780;border-radius:12px;background:#0e283c;color:#eef7fc;margin:auto;overflow:hidden;box-shadow:0 24px 100px #0008;z-index:2147483647}
#main.core-page dialog.gx-viewer:not([open]){display:none}
#main.core-page dialog.gx-viewer[open]{display:flex;flex-direction:column}
#main.core-page dialog.gx-viewer::backdrop{background:rgba(4,17,28,.92)}
#main.core-page .gx-viewer-top{display:flex;justify-content:space-between;align-items:center;padding:15px 22px;border-bottom:1px solid #38546a;gap:20px;flex-shrink:0}
#main.core-page .gx-viewer-top>div{display:flex;align-items:center;gap:20px;font-size:13px}
#main.core-page #viewer-counter{color:#aec9dc;font-size:11px}
#main.core-page .gx-viewer button{border:1px solid #496c84;color:white;background:#1d425e;width:44px;height:44px;border-radius:50%;font-size:29px;line-height:1;cursor:pointer;flex-shrink:0;display:grid;place-items:center;font-family:Arial,sans-serif}
#main.core-page .gx-viewer button:hover{background:#2c6489}
#main.core-page .gx-viewer-stage{display:flex;align-items:center;gap:20px;padding:15px 22px;flex:1;min-height:0;overflow:hidden}
#main.core-page .gx-viewer-stage img{height:100%;min-height:0;min-width:0;flex:1;object-fit:contain;width:calc(100% - 128px);content-visibility:visible!important;border-radius:4px;user-select:none}
#main.core-page .gx-viewer-bottom{border-top:1px solid #38546a;display:flex;justify-content:space-between;align-items:center;gap:25px;padding:17px 24px;flex-shrink:0}
#main.core-page .gx-viewer-bottom p{font-size:12px;color:#dfecf5;margin:0;line-height:1.6}
#main.core-page .gx-viewer-bottom a{color:#bdddf4;font-size:11px;white-space:nowrap}
/* Blog editorial cards */
#main.core-page .bx-featured-grid,#main.core-page .bx-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px}
#main.core-page .bx-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #d0dfe8;border-radius:9px;overflow:hidden;transition:transform .2s,box-shadow .2s}
#main.core-page .bx-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px #123e5514}
#main.core-page .bx-image{display:block;aspect-ratio:1.6;overflow:hidden;position:relative;background:#cfdee7}
#main.core-page .bx-image img{width:100%;height:100%;object-fit:cover;transition:transform .4s;content-visibility:visible!important}
#main.core-page .bx-card:hover img{transform:scale(1.035)}
#main.core-page .bx-image>span{position:absolute;bottom:16px;left:16px;max-width:calc(100% - 32px);background:#fdfefef2;border-radius:4px;font-size:9px;font-weight:600;color:#24526d;padding:8px 11px;line-height:1.4}
#main.core-page .bx-copy{padding:25px;display:flex;flex-direction:column;flex:1}
#main.core-page .bx-meta{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:9px;line-height:1.6;color:#5b788b;margin-bottom:16px}
#main.core-page .bx-copy h3{font-size:23px;line-height:1.27;letter-spacing:-.03em;margin:0 0 17px}
#main.core-page .bx-copy h3>a{text-decoration:none;color:#193a50}
#main.core-page .bx-copy h3>a:hover{color:#17658d;text-decoration:underline;text-underline-offset:4px}
#main.core-page .bx-copy p{font-size:12px;line-height:1.8;margin:0 0 25px;color:#526a79}
#main.core-page .bx-read{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #d9e5ed;padding-top:18px;margin-top:auto;font-size:11px;font-weight:650;color:#21658d;text-decoration:none}
#main.core-page .bx-read span{font-size:20px}
#main.core-page .bx-featured-grid .bx-card:first-child{background:#123b55;border-color:#123b55}
#main.core-page .bx-featured-grid .bx-card:first-child h3>a{color:#fff}
#main.core-page .bx-featured-grid .bx-card:first-child p,#main.core-page .bx-featured-grid .bx-card:first-child .bx-meta{color:#c4d8e6}
#main.core-page .bx-featured-grid .bx-card:first-child .bx-read{color:#e0f0fa;border-color:#42657c}
#main.core-page .bx-search-row{display:flex;gap:24px;justify-content:space-between;align-items:center}
#main.core-page .bx-sort{display:flex;align-items:center;gap:14px;flex:0 0 auto}
#main.core-page .bx-sort label{font-size:11px;color:#44677e;white-space:nowrap}
#main.core-page .bx-sort select,#main.core-page .gx-mobile-select select{font:500 13px Sora,sans-serif;background:#fff;color:#20445e;border:1px solid #bbcfdb;border-radius:6px;min-height:54px;padding:12px 32px 12px 14px;max-width:100%}
#main.core-page .bx-newsletter{padding:80px 0;background:#123650}
#main.core-page .bx-newsletter-layout{display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}
#main.core-page .bx-newsletter h2{font-size:clamp(35px,4vw,55px);color:white}
#main.core-page .bx-newsletter .ar-eyebrow{color:#add6ed}
#main.core-page .bx-newsletter p{color:#cee0ec;font-size:14px;max-width:450px;line-height:1.8}
#main.core-page .bx-newsletter label{color:#e0eff7;font-size:12px;display:block;margin-bottom:12px}
#main.core-page .bx-newsletter form{display:flex;gap:10px;flex-wrap:wrap;position:relative;max-width:none;margin:0}
#main.core-page .bx-newsletter input[type=email]{flex:1;min-width:0;border:1px solid #7598b0;background:#244960;color:white;border-radius:5px;padding:16px;font:15px Sora,sans-serif;width:150px;min-height:55px}
#main.core-page .bx-newsletter input::placeholder{color:#c4d8e6;opacity:1}
#main.core-page .bx-newsletter button{border:0;border-radius:5px;background:#fff;color:#174b6c;padding:16px 24px;font:700 13px Sora,sans-serif;cursor:pointer;min-height:55px}
#main.core-page .bx-newsletter .bx-privacy{font-size:10px;line-height:1.8;margin:15px 0 0}
#main.core-page .bx-privacy a{color:inherit;text-decoration:underline}
#main.core-page .gx-end-actions{display:flex;gap:30px;justify-content:center;align-items:center}
@media(min-width:1500px){#main.core-page .gx-hero{min-height:720px}}
@media(max-width:1100px){#main.core-page .gx-hero-inner{gap:35px}#main.core-page .bx-hero-note{flex-basis:235px;padding:25px}#main.core-page .gx-collection h3{font-size:20px}#main.core-page .gx-collection>div{left:18px;right:18px}#main.core-page .gx-collection-grid{gap:14px}#main.core-page .bx-copy{padding:20px}#main.core-page .bx-copy h3{font-size:21px}}
@media(max-width:800px){#main.core-page .gx-hero{min-height:600px}#main.core-page .gx-hero h1{font-size:49px}#main.core-page .gx-hero-blog h1{font-size:60px}#main.core-page .gx-hero .ar-hero-content{padding:65px 0 55px}#main.core-page .bx-hero-note{display:none}#main.core-page .gx-hero .ar-hero-shade{background:linear-gradient(90deg,#071b2ce6,#071b2c66)}#main.core-page .gx-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#main.core-page .gx-collection{aspect-ratio:1.2}#main.core-page .gx-collection h3{font-size:25px}#main.core-page .gx-photo-grid,#main.core-page .bx-grid,#main.core-page .bx-featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 18px}#main.core-page .bx-featured-grid .bx-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}#main.core-page .bx-featured-grid .bx-card:first-child .bx-image{height:100%;aspect-ratio:auto;min-height:300px}#main.core-page .bx-newsletter-layout{gap:35px}#main.core-page .bx-newsletter button{padding:16px}#main.core-page .bx-search-row{align-items:stretch;gap:15px}#main.core-page .bx-sort{display:block}#main.core-page .bx-sort label{display:block;margin-bottom:7px}#main.core-page .bx-sort select{min-height:45px;font-size:12px}}
@media(max-width:600px){#main.core-page .gx-hero{min-height:590px}#main.core-page .gx-hero .ar-hero-content{padding:62px 0 48px}#main.core-page .gx-hero h1{font-size:38px;line-height:1.1;letter-spacing:-.04em}#main.core-page .gx-hero-blog h1{font-size:53px;max-width:350px}#main.core-page .gx-hero .ar-hero-copy{font-size:14px;line-height:1.8}#main.core-page .gx-hero .ar-jump{display:flex;flex-wrap:wrap;gap:0;min-height:100px;padding-top:15px;padding-bottom:15px}#main.core-page .gx-hero .ar-jump a{flex:0 0 50%;font-size:10px;padding:10px 0;border:0}#main.core-page .gx-collections,#main.core-page .bx-featured,#main.core-page .gx-library,#main.core-page .bx-library{padding:55px 0}#main.core-page .gx-collection-grid{gap:12px}#main.core-page .gx-collection{aspect-ratio:.8}#main.core-page .gx-collection h3{font-size:20px;margin-right:15px}#main.core-page .gx-collection div>span:first-child{font-size:8px}#main.core-page .gx-collection>div{left:14px;right:14px;bottom:18px}#main.core-page .gx-collection-arrow{font-size:20px}#main.core-page .gx-mobile-select{display:flex;flex-direction:column;gap:8px;margin-top:16px}#main.core-page .gx-mobile-select label{font-size:11px;color:#365c74}#main.core-page .gx-mobile-select select{width:100%;font-size:14px}#main.core-page .gx-filters{display:none}#main.core-page .gx-tools,#main.core-page .bx-tools{padding-top:22px;margin-top:24px}#main.core-page .gx-results-bar{margin-top:24px}#main.core-page .gx-results-bar>span{display:none}#main.core-page .gx-photo-grid{gap:16px 12px}#main.core-page .gx-photo-image{aspect-ratio:.88}#main.core-page .gx-photo figcaption{display:block;padding:12px 10px;font-size:10px;min-height:63px}#main.core-page .gx-photo figcaption span{display:block}#main.core-page .gx-photo figcaption>span:last-child{text-align:left;font-size:9px;margin-top:4px}#main.core-page .gx-expand{width:28px;height:28px;bottom:10px;right:10px;font-size:18px}#main.core-page .gx-search input{font-size:14px}#main.core-page .gx-bridge{padding:55px 0}#main.core-page .gx-bridge p:not(.ar-eyebrow){font-size:14px}#main.core-page .gx-load{margin-top:28px}#main.core-page dialog.gx-viewer{width:100%;height:100dvh;max-width:100%;max-height:100dvh;border:0;border-radius:0}#main.core-page .gx-viewer-top{padding:14px 16px}#main.core-page .gx-viewer-top>div{display:block}#main.core-page #viewer-counter{display:block;margin-top:6px}#main.core-page .gx-viewer-stage{padding:12px 10px;gap:0;position:relative}#main.core-page .gx-viewer-stage img{width:100%}#main.core-page #viewer-prev,#main.core-page #viewer-next{position:absolute;top:50%;z-index:2;background:#143c57dd;width:40px;height:40px}#main.core-page #viewer-prev{left:10px}#main.core-page #viewer-next{right:10px}#main.core-page .gx-viewer-bottom{display:block;padding:17px 18px 30px}#main.core-page .gx-viewer-bottom a{display:inline-block;margin-top:15px}#main.core-page .bx-featured-grid,#main.core-page .bx-grid{display:grid;grid-template-columns:1fr;gap:24px}#main.core-page .bx-featured-grid .bx-card:first-child{grid-column:auto;display:flex}#main.core-page .bx-featured-grid .bx-card:first-child .bx-image{height:auto;aspect-ratio:1.6;min-height:0}#main.core-page .bx-copy{padding:23px}#main.core-page .bx-copy h3{font-size:24px}#main.core-page .bx-copy p{font-size:13px}#main.core-page .bx-meta{font-size:10px}#main.core-page .bx-search-row{display:block}#main.core-page .bx-sort{display:flex;justify-content:space-between;align-items:center;margin-top:16px;gap:20px}#main.core-page .bx-sort label{margin:0}#main.core-page .bx-sort select{min-height:46px;flex:0 0 65%;font-size:13px}#main.core-page .bx-newsletter{padding:55px 0}#main.core-page .bx-newsletter-layout{grid-template-columns:1fr;gap:28px}#main.core-page .bx-newsletter h2{font-size:42px}#main.core-page .gx-end-actions{flex-direction:column;gap:25px}#main.core-page .gx-hero .ar-eyebrow{font-size:9px}}
@media(prefers-reduced-motion:reduce){#main.core-page .gx-collection>img,#main.core-page .gx-photo img,#main.core-page .bx-card,#main.core-page .bx-card img{transition:none!important}#main.core-page .gx-collection:hover>img,#main.core-page .gx-photo a:hover img,#main.core-page .bx-card:hover,#main.core-page .bx-card:hover img{transform:none}}
