/* ABG site header and footer. Same header as the Home, About, Resources, and Contact pages. */
body.abg-chrome { margin: 0; background: #FAF6EF; }

#abg-header {
	--navy: #043662; --navy-deep: #021628; --gold: #B8975A; --gold-light: #D4AF72;
	--f-cond: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	display: block; height: 120px; margin: 0; padding: 0;
}
#abg-header, #abg-header *, #abg-header *::before, #abg-header *::after { box-sizing: border-box; margin: 0; padding: 0; }
#abg-header a { text-decoration: none; background: none; }
#abg-header img { max-width: 100%; border: 0; box-shadow: none; display: block; }
#abg-header .abg-hdr { position: fixed; inset: 0 0 auto; z-index: 1000; display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 4vw, 80px); height: 120px; background: rgba(2, 22, 40, 0.97); border-bottom: 1px solid rgba(184, 151, 90, 0.15); transition: height .35s var(--ease), box-shadow .35s; }
#abg-header .abg-hdr.abg-solid { height: 80px; backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); box-shadow: 0 4px 40px rgba(0, 0, 0, .32); }
body.admin-bar #abg-header .abg-hdr { top: 32px; }
@media (max-width: 782px) { body.admin-bar #abg-header .abg-hdr { top: 46px; } }
#abg-header .abg-hdr__logo a { display: block; line-height: 0; }
#abg-header .abg-hdr__logo img { width: clamp(160px, 18vw, 260px); height: auto; transition: width .35s var(--ease); filter: drop-shadow(0 3px 14px rgba(0, 0, 0, 0.55)); }
#abg-header .abg-hdr.abg-solid .abg-hdr__logo img { width: clamp(130px, 14vw, 200px); }
#abg-header .abg-hdr__nav { display: flex; align-items: center; gap: 36px; }
#abg-header .abg-hdr__link { font-family: var(--f-cond); font-size: 13px; font-weight: 500; letter-spacing: .20em; text-transform: uppercase; text-decoration: none; color: rgba(255, 255, 255, .80); white-space: nowrap; position: relative; padding-bottom: 3px; transition: color .2s; }
#abg-header .abg-hdr__link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--gold); transition: width .28s ease; }
#abg-header .abg-hdr__link:hover, #abg-header .abg-hdr__link.abg-is-active { color: #fff; }
#abg-header .abg-hdr__link:hover::after, #abg-header .abg-hdr__link.abg-is-active::after { width: 100%; }
#abg-header .abg-hdr__join { font-family: var(--f-cond); font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--navy-deep); background: var(--gold); padding: 12px 28px; white-space: nowrap; transition: background .22s, transform .18s, box-shadow .2s; }
#abg-header .abg-hdr__join:hover { background: var(--gold-light); color: var(--navy-deep); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(184, 151, 90, .4); }
#abg-header .abg-hdr__burger { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 6px; z-index: 1001; }
#abg-header .abg-hdr__burger span { display: block; width: 28px; height: 2px; background: #fff; transition: transform .28s ease, opacity .2s; }
#abg-header .abg-hdr__burger.abg-on span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#abg-header .abg-hdr__burger.abg-on span:nth-child(2) { opacity: 0; }
#abg-header .abg-hdr__burger.abg-on span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
#abg-header .abg-hdr__drawer { display: none; position: fixed; inset: 0; z-index: 999; background: rgba(2, 16, 32, 0.98); backdrop-filter: blur(24px); flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .28s ease; }
#abg-header .abg-hdr__drawer.abg-on { opacity: 1; pointer-events: all; }
#abg-header .abg-hdr__drawer-logo { position: absolute; top: 24px; left: clamp(20px, 4vw, 48px); line-height: 0; }
#abg-header .abg-hdr__drawer-logo img { height: 88px; width: auto; }
#abg-header .abg-hdr__drawer a.abg-link { font-family: var(--f-cond); font-size: 24px; font-weight: 500; letter-spacing: .20em; text-transform: uppercase; text-decoration: none; color: rgba(255, 255, 255, .85); padding: 20px 0; width: 260px; text-align: center; border-bottom: 1px solid rgba(184, 151, 90, .14); transition: color .2s; }
#abg-header .abg-hdr__drawer a.abg-link:hover { color: var(--gold-light); }
#abg-header .abg-hdr__drawer a.abg-cta { margin-top: 36px; font-family: var(--f-cond); font-size: 15px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--navy-deep); background: var(--gold); padding: 16px 48px; }
@media (max-width: 900px) {
	#abg-header .abg-hdr__nav { display: none; }
	#abg-header .abg-hdr__burger { display: flex; }
	#abg-header .abg-hdr__drawer { display: flex; }
}
@media (max-width: 480px) {
	#abg-header { height: 88px; }
	#abg-header .abg-hdr { height: 88px; }
	#abg-header .abg-hdr.abg-solid { height: 68px; }
	#abg-header .abg-hdr__logo img { width: 140px; }
	#abg-header .abg-hdr.abg-solid .abg-hdr__logo img { width: 110px; }
}

/* Keep blog elements clear of the fixed header */
body.abg-chrome #abg-blog .abg-panel--subscribe { top: 104px; }
body.abg-chrome.admin-bar #abg-blog .abg-panel--subscribe { top: 136px; }
@media (max-width: 960px) { body.abg-chrome #abg-blog .abg-panel--subscribe { position: static; } }
body.abg-chrome #abg-blog .abg-prose h2, body.abg-chrome #abg-blog .abg-prose h3 { scroll-margin-top: 112px; }
body.abg-chrome #abg-blog .abg-contact { scroll-margin-top: 80px; }

/* Footer */
#abg-footer {
	--gold: #B8975A; --gold-light: #D4AF72;
	background: #011020; color: #fff; font-family: "DM Sans", "Poppins", system-ui, sans-serif; font-size: 15px; line-height: 1.6;
	border-top: 1px solid rgba(184, 151, 90, .18);
}
#abg-footer *, #abg-footer *::before, #abg-footer *::after { box-sizing: border-box; }
#abg-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; transition: color .2s; }
#abg-footer a:hover { color: var(--gold-light); }
#abg-footer p { margin: 0; }
#abg-footer .abg-ft__inner { max-width: 1240px; margin: 0 auto; padding: 72px 28px 32px; }
#abg-footer .abg-ft__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(184, 151, 90, .16); }
#abg-footer .abg-ft__logo { display: inline-block; line-height: 0; }
#abg-footer .abg-ft__logo img { width: 210px; height: auto; display: block; }
#abg-footer .abg-ft__brand p { margin-top: 20px; color: rgba(255, 255, 255, .72); font-weight: 300; max-width: 340px; }
#abg-footer .abg-ft__col { display: flex; flex-direction: column; gap: 12px; }
#abg-footer .abg-ft__col h2 { margin: 0 0 6px; padding: 0; border: 0; font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
#abg-footer .abg-ft__disclaimer { padding: 32px 0; border-bottom: 1px solid rgba(184, 151, 90, .16); }
#abg-footer .abg-ft__disclaimer p { font-size: 12.5px; line-height: 1.75; color: rgba(255, 255, 255, .6); font-weight: 300; }
#abg-footer .abg-ft__disclaimer strong { color: rgba(255, 255, 255, .85); font-weight: 600; }
#abg-footer .abg-ft__bottom { padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
#abg-footer .abg-ft__bottom a { color: var(--gold-light); }
#abg-footer .abg-ft__bottom a:hover { color: #fff; }
#abg-footer .abg-ft__bottom p { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
@media (max-width: 960px) { #abg-footer .abg-ft__top { grid-template-columns: 1fr 1fr; } #abg-footer .abg-ft__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { #abg-footer .abg-ft__top { grid-template-columns: 1fr; gap: 32px; } #abg-footer .abg-ft__inner { padding-top: 56px; padding-bottom: 96px; } }
@media (prefers-reduced-motion: reduce) { #abg-header * { transition: none !important; } }
#abg-footer .abg-ft__col a { display: inline-flex; align-items: center; gap: 10px; }
#abg-footer .abg-ico { width: 17px; height: 17px; flex: none; color: var(--gold); }
