/* Old Gander - Theme 2 "Night Flight": dark navy, brass and sky-blue, sans-serif headings. Same markup as the classic page; only the look changes. */
html, body { background: #0b1220; }
body { background: radial-gradient(ellipse at 50% -10%, #1b2a47 0, #0b1220 60%) fixed; }

/* ---- site menu bar and footer (restyled; the links and layout are the site's own) ---- */
#topbar { background: linear-gradient(#0d1626, #162743) !important; box-shadow: 0 3px 0 #c9953c, 0 8px 18px rgba(0,0,0,.5) !important; }
#topbar_menu a:link, #topbar_menu a:visited { background: transparent !important; color: #e9e2d0 !important; font-variant: normal !important; text-transform: uppercase; letter-spacing: .09em; font-size: 14px !important; border-right: 0 !important; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s; }
#topbar_menu a:hover, #topbar_menu a:focus { background: transparent !important; color: #f2c46d !important; text-decoration: none !important; border-bottom-color: #f2c46d; }
#topbar_footer { background: linear-gradient(#0b1220, #162743) !important; box-shadow: 0 -3px 0 #c9953c !important; }
#topbar_footer, #topbar_footer a, #topbar_footer p { color: #d9d2c0 !important; }
#topbar_footer a:hover { color: #f2c46d !important; }
.subfooter, .subfooter *, .footertext1, .footertext1 a { color: #f1ead9 !important; text-shadow: none !important; }
.container:has(.og) { background: transparent !important; border: 0 !important; box-shadow: none !important; opacity: 1 !important; }
.container { border-color: #c9953c !important; box-shadow: 0 8px 28px rgba(0,0,0,.55) !important; }

/* ---- the Old Gander panel ---- */
.og { --bg:#101a2c; --card:#16233b; --ink:#ebe5d6; --mute:#b7c0d0; --brass:#e2b25c; --sky:#7fb6ea; --line:#2b3c5c;
	font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; color: var(--ink); line-height: 1.65; container-type: inline-size; container-name: og;
	background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 8px 18px 22px; margin: 6px 0 14px; }
.og *, .og *::before, .og *::after { box-sizing: border-box; }
.og h2, .og h3 { background: none; height: auto; width: auto; padding: 0; margin: 0; line-height: 1.15; font-weight: 600; text-align: inherit; text-shadow: none; box-shadow: none; border: 0; float: none; color: var(--ink); font-family: inherit; }
.og h2 { font-size: inherit; }
.og p { margin-top: 0; }
.og a { color: var(--sky); }
.og a:hover { color: var(--brass); }
.content .og ul, .content .og ol { padding: 0; }

/* masthead */
.og-head { text-align: center; padding: 22px 10px 10px; }
.og-kicker { margin: 0; font-size: .75rem; letter-spacing: .32em; text-transform: uppercase; color: var(--brass); }
.og-head h2 { font-size: clamp(2.1rem, 7cqi, 3.5rem); letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 4px; font-weight: 300; color: #fff; }
.og-tag { margin: 0; color: var(--mute); font-style: normal; letter-spacing: .03em; }
.og-rule { display: block; width: 190px; height: 2px; margin: 16px auto 0; background: linear-gradient(90deg, transparent, var(--brass), transparent); position: relative; }
.og-rule::after { content: "\2708"; position: absolute; left: 50%; top: -11px; transform: translateX(-50%) rotate(-45deg); background: var(--bg); color: var(--brass); padding: 0 8px; font-size: 1rem; line-height: 1; }

/* page tabs */
.og-pager { margin: 16px 0; }
.og-pager ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.og-pager li a, .og-pager li span { display: inline-block; min-width: 42px; min-height: 42px; line-height: 40px; padding: 0 14px; text-align: center; text-decoration: none; border: 1px solid var(--line); border-radius: 22px; background: var(--card); color: var(--ink); transition: background .2s, color .2s, border-color .2s, transform .2s; }
.og-pager li a:hover, .og-pager li a:focus-visible { background: var(--brass); color: #10192b; border-color: var(--brass); transform: translateY(-2px); outline: none; }
.og-pager li.cur span { background: var(--brass); border-color: var(--brass); color: #10192b; font-weight: 700; }
.og-pager li.off span { color: #7e8aa0; background: transparent; border-style: dashed; }
.og-pager .og-prev, .og-pager .og-next { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; }

/* page */
.og-page { margin: 22px 0 10px; padding: 28px 3% 32px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; border-top: 4px solid var(--brass); }
.og-pagehead { text-align: center; margin-bottom: 20px; }
.og-pageof { margin: 0; font-size: .74rem; letter-spacing: .3em; text-transform: uppercase; color: var(--mute); }
.og-pagehead h3 { font-size: clamp(1.7rem, 5cqi, 2.5rem); margin-top: 6px; font-weight: 300; letter-spacing: .03em; color: #fff; }
.og-years { margin: 6px 0 0; font-size: 1.1rem; color: var(--brass); letter-spacing: .14em; font-style: normal; }

.og-text { max-width: 42em; margin: 0 auto 20px; font-size: 1.08rem; font-family: Georgia, "Times New Roman", serif; }
.og-text p { margin: 0 0 1em; }
.og-text.lead p:first-child::first-letter { float: left; font-size: 3.4em; line-height: .85; padding: 6px 10px 0 0; color: var(--brass); font-family: "Segoe UI", Arial, sans-serif; font-weight: 700; }
.og-text.lead.em p:first-child::first-letter { float: none; font-size: inherit; line-height: inherit; padding: 0; color: inherit; font-family: inherit; font-weight: inherit; }
.og-text.em { text-align: center; font-style: italic; font-size: 1.18rem; color: #f3ecd8; border-left: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 8px 4px; }

/* photos: thin brass frame, glow on hover */
.og-grid { list-style: none; margin: 24px 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.og-fig { flex: calc(var(--ar) * 100) 1 calc(var(--ar) * var(--row)); min-width: 0; max-width: var(--mw, none); margin: 0; }
.og-fig.wide { flex-basis: 100%; max-width: none; }
.og-grid.og-rowfix { flex-wrap: nowrap; margin: 18px 0; }
.og-fig figure { margin: 0; background: #0b1220; padding: 6px; border: 1px solid #3a4d73; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.45); transition: transform .3s, box-shadow .3s, border-color .3s; }
.og-fig figure:hover { transform: translateY(-4px); border-color: var(--brass); box-shadow: 0 10px 26px rgba(0,0,0,.6), 0 0 0 1px var(--brass); }
.og-fig a { display: block; line-height: 0; background: #0b1220; border-radius: 3px; overflow: hidden; }
.og-fig img { width: 100%; height: auto; display: block; transition: transform .6s ease; }
.og-fig a:hover img { transform: scale(1.04); }
.og-fig a:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.og-fig figcaption { font-size: .9rem; line-height: 1.4; padding: 8px 4px 2px; color: var(--mute); text-align: center; }
.og-credit { display: block; font-size: .76rem; letter-spacing: .06em; color: #a4aec0; margin-top: 2px; }

.og-links { max-width: 42em; margin: 26px auto 6px; text-align: center; font-size: 1.05rem; }
.og-links p { margin: 0 0 6px; color: var(--mute); }
.og-links ul { list-style: none; margin: 0; padding: 0; }
.og-links li { margin: 2px 0; }
.og-text a, .og-links a { text-decoration: underline; text-underline-offset: 3px; }

/* contribute panel */
.og-submit { margin: 26px 0 10px; padding: 24px 4%; text-align: center; background: linear-gradient(135deg, #1d3052, #16233b); border: 1px solid var(--line); border-radius: 12px; }
.og-submit h3 { font-size: 1.35rem; color: #fff; font-weight: 600; }
.og-submit p { max-width: 40em; margin: 8px auto; color: var(--ink); }
.og-btn { display: inline-block; margin: 4px 6px; padding: 10px 24px; min-height: 44px; line-height: 24px; background: var(--brass); color: #10192b !important; text-decoration: none !important; border-radius: 24px; font-weight: 700; letter-spacing: .04em; border: 1px solid var(--brass); transition: transform .2s, background .2s; }
.og-btn:hover { background: #f2c46d; transform: translateY(-2px); }
.og-btn.alt { background: transparent; color: var(--brass) !important; }
.og-btn.alt:hover { background: rgba(226,178,92,.15); }
.og-switch { text-align: center; font-size: .8rem; color: var(--mute); margin: 12px 0 0; }

@media (prefers-reduced-motion: reduce) {
	.og *, .og *::before, .og *::after { transition: none !important; animation: none !important; }
	.og-js .og-lrow, .og-js .og-text, .og-js .og-pagehead, .og-js .og-capline { opacity: 1; transform: none; }
}
@media print {
	body { background: #fff; } .og { background: #fff; color: #000; border: 0; } .og-pager, .og-submit-links, .og-switch { display: none !important; }
	.og-page, .og-fig figure { background: #fff; border-color: #bbb; box-shadow: none; } .og h3, .og h2, .og-text, .og-fig figcaption { color: #000; }
}


/* ---------- fixed layout: every page keeps the owner's arrangement on PC, iPad and laptop ---------- */
.og-layout { margin: 22px 0 8px; }
.og-lrow { display: flex; gap: 16px; align-items: stretch; width: var(--w, 100%); margin: 0 auto 16px; }
.og-lcell { flex: var(--ar) 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.og-lfig { display: flex; flex: 1 1 auto; min-height: 0; }
.og-lcell.stack > .og-lfig { flex: var(--fa) 1 0; }
.og-ph { margin: 0; flex: 1; min-width: 0; display: flex; flex-direction: column; background: #0b1220; padding: 6px; border: 1px solid #3a4d73; border-radius: 6px; box-shadow: 0 4px 14px rgba(0,0,0,.45); transition: transform .3s, box-shadow .3s, border-color .3s; }
.og-ph:hover { transform: translateY(-4px); border-color: var(--brass); box-shadow: 0 10px 26px rgba(0,0,0,.6), 0 0 0 1px var(--brass); }
.og-ph a { display: block; flex: 1; min-height: 0; line-height: 0; background: #0b1220; border-radius: 3px; overflow: hidden; }
.og-ph figcaption { text-align: center; font-size: 1.15rem; font-weight: 700; line-height: 1.25; letter-spacing: .02em; color: #fff; padding: 9px 4px 4px; }
.og-ph a:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.og-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.og-ph a:hover img { transform: scale(1.04); }
.og-capline { text-align: center; font-size: 1.25rem; font-weight: 600; letter-spacing: .04em; margin: 4px 0 20px; color: #fff; }
.og-grid { list-style: none; margin: 24px 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.og-grid .og-fig { flex: calc(var(--ar) * 100) 1 calc(var(--ar) * 215px); min-width: 0; }
.og-grid .og-ph figcaption { font-size: .9rem; padding: 8px 4px 2px; color: var(--mute); text-align: center; }

/* scroll-in flair */
.og-js .og-lrow, .og-js .og-text, .og-js .og-pagehead, .og-js .og-capline { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.og-js .og-lrow.in, .og-js .og-text.in, .og-js .og-pagehead.in, .og-js .og-capline.in { opacity: 1; transform: none; }

.og-previewnote { background: #4a3a14; border: 1px solid #a0802f; color: #ffeec2; text-align: center; padding: 8px 12px; border-radius: 8px; margin: 0 0 14px; }
