/* Layout: header, banner, page grid with the 300px side navigation, footer. */

/* ---- Header (SiteHeader.dc.html): 76px, logo | centred nav | search ---- */
/* The header sits over the page banner (owner 2026-11-30): white nav on a dark wash that fades down */
body { position: relative; }
.trd-header { position: absolute; top: 0; left: 0; right: 0; z-index: 20; background: linear-gradient(180deg, rgba(20,22,26,.7) 0%, rgba(20,22,26,.35) 60%, rgba(20,22,26,0) 100%); color: var(--trd-white); }
.trd-header__bar {
	height: 76px;
	padding: 0 48px;
	display: grid;
	grid-template-columns: 240px 1fr 240px;
	align-items: center;
}
.trd-header__logo { display: block; width: 58px; height: 58px; }
.trd-header__logo img { width: 58px; height: 58px; object-fit: contain; }
.trd-nav__list { display: flex; justify-content: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.trd-nav__list a {
	display: block;
	font-size: 13px;
	font-weight: 500;
	color: var(--trd-white);
	opacity: .82;
	text-decoration: none;
	padding: 6px 0;
	border-bottom: 2px solid transparent;
}
.trd-nav__list a:hover { opacity: 1; }
.trd-nav__list .current-menu-item > a { opacity: 1; border-bottom-color: var(--trd-pink); }
.trd-header__tools { display: flex; justify-content: flex-end; align-items: center; gap: 4px; }
.trd-icon-btn { width: var(--trd-tap); height: var(--trd-tap); display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; padding: 0; cursor: pointer; color: var(--trd-white); }
.trd-icon-search { position: relative; width: 18px; height: 18px; }
.trd-icon-search::before { content: ""; position: absolute; left: 1px; top: 1px; width: 11px; height: 11px; border: 1.5px solid currentColor; border-radius: 50%; }
.trd-icon-search::after { content: ""; position: absolute; left: 12px; top: 10px; width: 1.5px; height: 7px; background: currentColor; transform: rotate(-45deg); }
.trd-icon-menu, .trd-icon-menu::before { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.trd-icon-menu::before { content: ""; position: absolute; top: 8px; }
.trd-icon-menu { transform: translateY(-4px); }
.trd-menu-toggle { display: none; }

.trd-search { display: flex; gap: 8px; padding: 12px 48px 16px; background: rgba(20,22,26,.85); }
.trd-search .trd-btn--secondary { border-color: var(--trd-white); color: var(--trd-white); }
.trd-search[hidden] { display: none; }
.trd-search input { flex: 1; min-height: var(--trd-tap); padding: 0 14px; border: 1px solid var(--trd-tag-border); background: #fff; font: inherit; color: var(--trd-ink); border-radius: 0; }

@media (max-width: 1100px) {
	.trd-header__bar { grid-template-columns: 80px 1fr 80px; padding: 0 24px; }
	.trd-nav__list { gap: 18px; }
}
@media (max-width: 860px) {
	.trd-header__bar { height: 60px; padding: 0 12px 0 16px; grid-template-columns: 1fr auto; }
	.trd-header__logo, .trd-header__logo img { width: 46px; height: 46px; }
	.trd-menu-toggle { display: inline-flex; }
	.trd-nav { display: none; grid-column: 1 / -1; }
	.trd-header.is-open .trd-nav { display: block; position: absolute; left: 0; right: 0; top: 60px; background: var(--trd-paper); border-bottom: 1px solid var(--trd-rule); box-shadow: 0 14px 30px rgba(0,0,0,.18); }
	.trd-nav__list { flex-direction: column; gap: 0; padding: 8px 16px 16px; }
	.trd-nav__list a { font-size: 17px; padding: 12px 0; opacity: 1; border-bottom: 1px solid var(--trd-rule); color: var(--trd-ink); }
	.trd-header.is-open { background: rgba(20,22,26,.92); }
	.trd-nav__list .current-menu-item > a { border-bottom-color: var(--trd-pink); }
	.trd-search { padding: 12px 16px; }
}

/* ---- Page banner (PageBanner.dc.html): ~300px desktop / 240px mobile ---- */
.trd-banner {
	position: relative;
	height: calc(var(--trd-banner-h) + var(--trd-header-h));
	overflow: hidden;
	background: #3a4656;
	color: var(--trd-white);
	display: flex;
	align-items: flex-end;
}
/* Banner heights include the header that now sits on top of it */
.trd-banner { padding-top: var(--trd-header-h); }
.trd-banner--tall { height: calc(380px + var(--trd-header-h)); }
.trd-banner--short { height: calc(200px + var(--trd-header-h)); }
.trd-banner--short .trd-banner__title { font-size: clamp(30px, 4.2vw, 56px); }
.trd-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trd-banner--blank {
	background:
		radial-gradient(45% 70% at 25% 45%, #5a4636aa, transparent 70%),
		radial-gradient(45% 80% at 75% 55%, #3a465699, transparent 70%),
		linear-gradient(180deg, #e9ece8 0%, #c9d3cf 35%, #8fa59d 60%, #5b7069 80%, #2f3b36 100%);
}
.trd-banner__wash {
	position: absolute; inset: 0;
	background:
		linear-gradient(180deg, rgba(20,22,26,.55) 0%, rgba(20,22,26,0) 38%),
		linear-gradient(180deg, rgba(20,22,26,0) 30%, rgba(20,22,26,.55) 100%),
		linear-gradient(90deg, rgba(20,22,26,.35) 0%, rgba(20,22,26,0) 60%);
}
.trd-banner--light { color: var(--trd-ink); }
.trd-banner--light .trd-banner__wash {
	background:
		linear-gradient(180deg, rgba(20,22,26,.55) 0%, rgba(20,22,26,0) 38%),
		linear-gradient(180deg, rgba(243,241,236,0) 40%, rgba(243,241,236,.6) 100%),
		linear-gradient(90deg, rgba(243,241,236,.35) 0%, rgba(243,241,236,0) 60%);
}
.trd-banner__text { position: relative; padding: 0 48px 32px; display: flex; flex-direction: column; gap: 10px; max-width: 1200px; }
.trd-crumb { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.trd-crumb a { color: inherit; text-decoration: none; }
.trd-crumb a:hover { text-decoration: underline; }
.trd-banner__title {
	margin: 0;
	font-size: clamp(32px, 5vw, 72px);
	line-height: 1;
	font-weight: 800;
	letter-spacing: -.03em;
	text-shadow: 0 2px 18px rgba(0,0,0,.35);
	color: inherit;
}
.trd-banner--light .trd-banner__title { text-shadow: none; }
@media (max-width: 767px) {
	.trd-banner__text { padding: 0 20px 20px; }
}

/* ---- Page grid: content + 300px side navigation, 56px gap ---- */
.trd-page {
	padding: 32px 48px 120px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) var(--trd-side-width);
	gap: 56px;
	max-width: 1440px;
	margin: 0 auto;
}
.trd-page--full { grid-template-columns: minmax(0, 1fr); }
.trd-main { min-width: 0; }
@media (max-width: 1000px) {
	.trd-page { grid-template-columns: minmax(0, 1fr); padding: 24px 20px 96px; gap: 64px; }
}

/* ---- Side navigation (SideNav.dc.html) ---- */
.trd-side { display: flex; flex-direction: column; gap: 44px; }
.trd-side__block { display: flex; flex-direction: column; }
.trd-side__head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--trd-ink); }
.trd-side__head { gap: 12px; }
.trd-side__head .trd-side__name { color: var(--trd-ink); text-decoration: none; }
.trd-side__head .trd-side__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.trd-side__more { font-size: 12px; color: var(--trd-slate); text-align: right; }
.trd-side__buy { align-items: start; }
.trd-side__buy > a { display: block; }
.trd-side__btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.trd-side__btns .trd-btn--sm { min-height: 30px; padding: 5px 10px; font-size: 12px; }
a.trd-side__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.trd-side__item { display: flex; flex-direction: column; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--trd-rule); color: var(--trd-ink); text-decoration: none; }
a.trd-side__item:hover .trd-side__title { text-decoration: underline; text-underline-offset: 3px; }
.trd-side__media { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: center; padding: 12px 0; }
.trd-side__media > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.trd-side__title { font-size: 15px; line-height: 1.35; font-weight: 500; color: var(--trd-ink); text-decoration: none; }
.trd-side__media .trd-side__title { font-size: 14px; }
.trd-side__meta { font-size: 12px; color: #6b7277; }
.trd-side__show .trd-side__meta { font-size: 13px; color: var(--trd-slate); }
.trd-side__link { font-size: 13px; color: var(--trd-ink); margin-top: 2px; }
.trd-side__empty { font-size: 14px; color: var(--trd-slate); padding: 14px 0; margin: 0; border-bottom: 1px solid var(--trd-rule); }

/* ---- Footer (SiteFooter.dc.html): Logo purple ---- */
.trd-footer { background: var(--trd-purple); color: var(--trd-paper); font-size: 13px; }
.trd-footer a { color: var(--trd-paper); text-decoration: none; }
.trd-footer a:hover { text-decoration: underline; }
.trd-footer__inner { padding: 56px 48px 40px; display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 32px; max-width: 1440px; margin: 0 auto; }
.trd-footer__about { display: flex; flex-direction: column; gap: 12px; }
.trd-footer__about p { line-height: 1.6; max-width: 300px; opacity: .85; margin: 0; }
.trd-footer__wordmark { font-family: var(--trd-font-head); font-size: 16px; line-height: .92; font-weight: 800; }
.trd-footer__col { display: flex; flex-direction: column; gap: 8px; }
.trd-footer__grid, .trd-footer__inline { list-style: none; margin: 0; padding: 0; }
.trd-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.trd-footer__inline { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.trd-footer__stripes span { display: block; height: 5px; background: var(--trd-teal); }
.trd-footer__stripes span + span { background: var(--trd-red); }
.trd-footer__base { padding: 18px 48px 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px; opacity: .8; max-width: 1440px; margin: 0 auto; }
@media (max-width: 1100px) {
	.trd-footer__inner { grid-template-columns: 1.6fr 1fr; }
	.trd-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.trd-footer__inner { grid-template-columns: 1fr; padding: 40px 20px 28px; }
	.trd-footer__base { padding: 16px 20px 28px; }
}
