/* Triad 2026 refresh: Magazine Rack look on Suburbia */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;600;800;900&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap');

body, body.custom-background {
	background: #ffffff !important;
	background-image: none !important;
	color: #141414;
	font-family: 'Source Serif 4', Georgia, serif;
	font-size: 17px;
}
#wrapper { width: auto; max-width: 1240px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* Header: wordmark + tagline */
.header { background: #ffffff; height: auto; padding: 22px 0 14px; border-bottom: 1px solid #e3e0da; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.header .space { display: none; }
#site-title { float: none; margin: 0; padding: 0; width: auto; height: auto; }
#site-title a { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 34px; letter-spacing: 0.18em; text-transform: uppercase; color: #141414; text-decoration: none; background: none; text-indent: 0; }
.header .desc { float: none; margin: 0; padding: 0; width: auto; border: 0; }
#site-description { font-family: 'Archivo', sans-serif; font-size: 14px; letter-spacing: 0.04em; color: #5c5853; margin: 0; background: none; text-indent: 0; }

/* Menu becomes a horizontal bar */
.middle { background: #ffffff; width: auto; }
#access { float: none; width: auto; height: auto; padding: 0; margin: 0 0 8px; border-bottom: 1px solid #e3e0da; }
#access .logo-fix { display: none; }
#access .menu, #access ul.menu { width: auto; margin: 0; padding: 12px 0; display: flex; flex-wrap: wrap; gap: 4px 28px; list-style: none; border: 0; }
#access .menu > li { float: none; border: 0; margin: 0; padding: 0; position: relative; }
#access .menu > li > a { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 15px; color: #141414; padding: 6px 0; border: 0; background: none; text-transform: none; }
#access .menu > li > a:hover, #access .menu > li.current-menu-item > a { color: #B3261E; }
#access .menu ul { display: none; position: absolute; top: 100%; left: -16px; z-index: 50; background: #ffffff; border: 1px solid #e3e0da; box-shadow: 0 10px 24px rgba(0,0,0,0.12); min-width: 240px; padding: 8px 0; margin: 0; list-style: none; }
#access .menu li:hover > ul { display: block; }
#access .menu ul ul { top: 0; left: 100%; }
#access .menu ul li { position: relative; float: none; margin: 0; border: 0; }
#access .menu ul a { display: block; padding: 7px 16px; font-family: 'Archivo', sans-serif; font-size: 14px; color: #141414; }
#access .menu ul a:hover { background: #f4f2ee; color: #B3261E; }

/* Content area full width */
.middle > .post, .middle > .page, .middle > div[id^="post-"] { float: none; width: auto; margin: 0; }
#single { width: auto; max-width: none; padding: 24px 0 48px; float: none; }
#single, #single p, #single li { font-family: 'Source Serif 4', Georgia, serif; font-size: 18px; line-height: 1.6; color: #2c2a27; }
#single h1.entry-title, .entry-title { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 44px; line-height: 1.05; color: #141414; letter-spacing: -0.01em; }
#single h2, #single h3 { font-family: 'Archivo', sans-serif; font-weight: 800; color: #141414; }
a { color: #B3261E; }
a:hover { color: #7f1a14; }

/* Front page */
.home #single > h1.entry-title, .home .entry-title { display: none; }
.home #single { padding-top: 0; }
.triad-hero { background: #141414; color: #ffffff; margin: 0 -24px 64px; padding: 64px 48px; }
.triad-hero-cols { gap: 56px; margin: 0; }
.triad-hero-cover img { width: 100%; max-width: 380px; height: auto; box-shadow: 0 24px 60px rgba(0,0,0,0.5); }
#single .triad-kicker { font-family: 'Archivo', sans-serif; font-weight: 600; font-size: 14px; letter-spacing: 0.2em; text-transform: uppercase; color: #f0a49e; margin: 0 0 14px; }
#single .triad-hero-title { font-family: 'Archivo', sans-serif; font-weight: 900; font-size: 76px; line-height: 0.95; color: #ffffff; margin: 0 0 12px; }
#single .triad-hero-year { font-family: 'Archivo', sans-serif; font-size: 22px; color: #d6d3ce; margin: 0 0 18px; }
#single .triad-hero-text { font-size: 20px; line-height: 1.55; color: #e9e6e1; max-width: 560px; margin: 0 0 26px; }
.triad-hero-buttons { gap: 14px; }
.triad-hero .wp-block-button__link { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 16px; letter-spacing: 0.03em; border-radius: 0; padding: 16px 28px; text-decoration: none; }
.triad-btn-primary .wp-block-button__link { background: #B3261E; color: #ffffff; border: 2px solid #B3261E; }
.triad-btn-primary .wp-block-button__link:hover { background: #8f1d17; border-color: #8f1d17; color: #ffffff; }
.triad-btn-outline .wp-block-button__link { background: transparent; color: #ffffff; border: 2px solid #ffffff; }
.triad-btn-outline .wp-block-button__link:hover { background: #ffffff; color: #141414; }

.triad-issues-head { align-items: baseline; margin-bottom: 28px; }
#single .triad-section-title { font-size: 44px; font-weight: 900; margin: 0; }
#single .triad-more { font-family: 'Archivo', sans-serif; font-weight: 700; font-size: 16px; margin: 0; }
#single .triad-more a { color: #B3261E; text-decoration: none; }

.triad-grid { gap: 28px; margin-bottom: 36px; }
.triad-cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 0 6px 18px rgba(0,0,0,0.14); transition: transform .15s ease; }
.triad-cover a:hover img { transform: translateY(-4px); }
#single .triad-cover-label { font-family: 'Archivo', sans-serif; font-size: 15px; color: #5c5853; margin-top: 10px; line-height: 1.4; }
#single .triad-cover-label a { color: #141414; text-decoration: none; font-size: 17px; }

.triad-info { border-top: 3px solid #141414; padding-top: 36px; margin-top: 24px; gap: 48px; }
#single .triad-info h3 { font-size: 26px; font-weight: 900; margin: 0 0 12px; }

/* Issues page tiles match */
.wp-block-image img[alt^="Cover of Triad"] { box-shadow: 0 6px 18px rgba(0,0,0,0.14); }

/* Footer */
.footer { background: #141414; color: #d6d3ce; margin: 0 -24px; padding: 28px 24px; font-family: 'Archivo', sans-serif; font-size: 14px; }
.footer a { color: #ffffff; }
#bottom-wrapper { width: auto; float: none; }

@media (max-width: 782px) {
	.triad-hero { padding: 40px 24px; }
	#single .triad-hero-title { font-size: 52px; }
	#site-title a { font-size: 28px; }
}

/* Old sidebar logo widget and header image retired by the refresh */
#bottom-wrapper { position: relative; }
#image-7 { display: none; }
.header { background-image: none !important; }

/* Fixes for Suburbia defaults */
#access { min-height: 0 !important; }
#single, .page #single, .single #single { width: auto !important; float: none !important; margin: 0 !important; }
#site-title a, .header #site-title a { color: #141414 !important; }
#site-description { color: #5c5853 !important; }
.triad-hero.is-layout-constrained > *, .triad-hero > * { max-width: none !important; }
.triad-hero { max-width: none !important; }

/* Bottom widgets as a tidy band */
#bottom-wrapper { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding: 40px 0 !important; border-top: 1px solid #e3e0da; height: auto !important; }
#bottom-wrapper > *, #bottom-wrapper .widget { float: none !important; width: auto !important; margin: 0 !important; }
#bottom-wrapper .widget-title, #bottom-wrapper h3, #bottom-wrapper h2 { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: 16px; letter-spacing: 0.04em; text-transform: uppercase; color: #141414; margin: 0 0 12px; }
#bottom-wrapper, #bottom-wrapper p, #bottom-wrapper li { font-family: 'Source Serif 4', Georgia, serif; font-size: 15px; line-height: 1.5; color: #2c2a27; }
#bottom-wrapper ul { list-style: none; margin: 0; padding: 0; }
#bottom-wrapper li { margin: 0 0 6px; }
#bottom-wrapper a { color: #141414; }
#bottom-wrapper a:hover { color: #B3261E; }
#meta-3 { display: none !important; }
#bottom-wrapper input[type=submit], #bottom-wrapper button { background: #B3261E; color: #fff; border: 0; font-family: 'Archivo', sans-serif; font-weight: 700; padding: 10px 16px; cursor: pointer; }
#bottom-wrapper input[type=text], #bottom-wrapper input[type=email], #bottom-wrapper input[type=search] { border: 1px solid #c9c5be; padding: 9px 10px; font-size: 15px; max-width: 100%; box-sizing: border-box; }

/* Remove Suburbia rules and boxes */
#single { border: 0 !important; }
#single h2, #single h3 { border-top: 0 !important; padding-top: 0 !important; }

#bottom-wrapper > .bottom { display: contents !important; border: 0 !important; }
#bottom-wrapper .widget-title, #bottom-wrapper .widget h3, #bottom-wrapper .widget h2 { border-top: 0 !important; padding-top: 0 !important; }
#bottom-wrapper .widget { border: 0 !important; padding: 0 !important; }

#single h4, #single h5, #single h6 { font-family: 'Archivo', sans-serif; font-weight: 800; color: #141414; border-top: 2px solid #141414 !important; padding-top: 10px !important; }
