/* TTO Article Page */
.toap {
	--toap-navy: #16213a;
	--toap-ink: #1d2433;
	--toap-text: #2a3242;
	--toap-muted: #5b6475;
	--toap-ground: #f1f3f2;
	background: var(--toap-ground);
	color: var(--toap-text);
	font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
	width: 100%;
}
.toap *, .toap *::before, .toap *::after { box-sizing: border-box; }

.toap-wrap {
	max-width: 1216px;
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* Hero banner */
.toap-hero {
	background: var(--toap-hero, #16213a);
	color: #fff;
}
.toap-hero__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding-top: 60px;
	padding-bottom: 68px;
}
.toap-hero__text {
	flex: 1 1 520px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.toap-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #c9d3e6;
}
.toap .toap-chip {
	background: var(--toap-accent, #3dae49);
	color: var(--toap-navy);
	padding: 6px 12px;
	border-radius: 999px;
	text-decoration: none;
}
.toap .toap-chip:hover { color: var(--toap-navy); filter: brightness(1.08); }
.toap-hero__title {
	margin: 0;
	font-family: Poppins, sans-serif;
	font-weight: 800;
	font-size: clamp(34px, 5.5vw, 64px);
	line-height: 1.08;
	color: #fff;
}
.toap-hero__lede {
	margin: 0;
	font-size: 19px;
	line-height: 1.6;
	color: #dbe3f2;
	max-width: 620px;
}
.toap-hero__by { margin: 0; font-weight: 600; color: #fff; }
.toap-hero__img {
	flex: 0 1 420px;
	min-width: 0;
}
.toap-hero__img img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 320px;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Body layout */
.toap-body {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 32px;
	padding-top: 48px;
	padding-bottom: 72px;
}
.toap-article {
	flex: 999 1 600px;
	min-width: 0;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 14px rgba(22, 33, 58, 0.08);
	padding: clamp(22px, 4vw, 56px);
}
.toap-body--full .toap-article { max-width: 860px; margin: 0 auto; }
.toap-side {
	flex: 1 1 300px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Article text */
.toap-content {
	font-size: 18px;
	line-height: 1.75;
	color: var(--toap-text);
}
.toap-content > * { margin-top: 0; margin-bottom: 22px; }
.toap-content > *:last-child { margin-bottom: 0; }
.toap-content p { margin-top: 0; }
.toap-content h2,
.toap-content h3,
.toap-content h4 {
	font-family: Poppins, sans-serif;
	color: var(--toap-ink);
	line-height: 1.25;
}
.toap-content h2 { font-size: 26px; font-weight: 700; margin-top: 36px; margin-bottom: 14px; }
.toap-content h3 { font-size: 21px; font-weight: 700; margin-top: 28px; margin-bottom: 10px; }
.toap-content h4 { font-size: 18px; font-weight: 600; margin-top: 24px; margin-bottom: 8px; }
.toap-content a { color: #1f7fb0; text-decoration: underline; text-underline-offset: 3px; }
.toap-content a:hover { color: #165f85; }
.toap-content ul,
.toap-content ol { padding-left: 1.4em; }
.toap-content li { margin-bottom: 6px; }
.toap-content img { max-width: 100%; height: auto; border-radius: 12px; }
.toap-content figure { margin-left: 0; margin-right: 0; }
.toap-content figcaption { font-size: 14px; color: var(--toap-muted); margin-top: 8px; }
.toap-content hr { border: 0; border-top: 1px solid #e3e7ec; margin: 36px 0; }

/* Big first letter */
.toap--dropcap .toap-content > p:first-of-type::first-letter {
	float: left;
	font-family: Poppins, sans-serif;
	font-weight: 800;
	font-size: 72px;
	line-height: 0.85;
	padding: 6px 12px 0 0;
	color: var(--toap-accent-ink, #1f6b2a);
}

/* Quotes become pull quotes */
.toap-content blockquote,
.toap-content .wp-block-quote {
	margin: 32px 0;
	padding: 26px 30px;
	background: var(--toap-ground);
	border: 0;
	border-radius: 14px;
	font-family: Poppins, sans-serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 1.55;
	color: var(--toap-ink);
	font-style: normal;
}
.toap-content blockquote p { margin: 0 0 10px; }
.toap-content blockquote p:last-child { margin-bottom: 0; }
.toap-content blockquote cite {
	display: block;
	margin-top: 12px;
	font-family: Inter, sans-serif;
	font-size: 14px;
	font-weight: 500;
	font-style: normal;
	color: var(--toap-muted);
}

/* Tags + footer */
.toap-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 32px;
}
.toap .toap-tag {
	background: #fdeee2;
	color: #8a3a06;
	font-size: 14px;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 999px;
	text-decoration: none;
}
.toap .toap-tag--green { background: #e6f4e8; color: #1f6b2a; }
.toap .toap-tag:hover { filter: brightness(0.96); }

.toap-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 32px;
	padding-top: 18px;
	border-top: 1px solid #e3e7ec;
	font-size: 14px;
	color: var(--toap-muted);
}
.toap-foot a { color: #1f7fb0; }
.toap .toap-back { font-weight: 600; text-decoration: none; }

.toap-nav {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	margin-top: 24px;
}
.toap .toap-nav__item {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 18px;
	border: 1px solid #e3e7ec;
	border-radius: 12px;
	text-decoration: none;
	color: var(--toap-ink);
}
.toap .toap-nav__item:hover { border-color: #1f7fb0; }
.toap-nav__item--next { text-align: right; }
.toap-nav__label { font-size: 13px; font-weight: 600; color: var(--toap-muted); }
.toap-nav__title { font-family: Poppins, sans-serif; font-weight: 600; font-size: 16px; line-height: 1.35; }

/* Sidebar cards */
.toap-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 14px rgba(22, 33, 58, 0.08);
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.toap-card--navy { background: var(--toap-navy); color: #eef2f9; }
.toap-card__title {
	margin: 0;
	font-family: Poppins, sans-serif;
	font-weight: 700;
	font-size: 18px;
	line-height: 1.3;
	color: var(--toap-ink);
}
.toap-card--navy .toap-card__title { color: #fff; }
.toap-card__text { margin: 0; font-size: 15px; line-height: 1.6; color: #4a5263; }
.toap .toap-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 20px;
	background: #3dae49;
	color: #fff;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
}
.toap .toap-btn:hover { background: #33963e; color: #fff; }

.toap-events,
.toap-latest { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.toap .toap-events a {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--toap-ink);
}
.toap-events__date {
	flex: 0 0 48px;
	height: 52px;
	border-radius: 10px;
	background: #e6f4e8;
	color: #1f6b2a;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	line-height: 1.1;
}
.toap-events__date span { font-family: Poppins, sans-serif; font-size: 20px; font-weight: 700; }
.toap-events__name { font-weight: 600; font-size: 15px; line-height: 1.35; }
.toap .toap-events a:hover .toap-events__name { color: #1f7fb0; }

.toap-latest li { display: flex; flex-direction: column; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.toap-latest li:last-child { border-bottom: 0; padding-bottom: 0; }
.toap .toap-latest a { color: #fff; font-weight: 600; font-size: 15px; line-height: 1.4; text-decoration: none; }
.toap .toap-latest a:hover { color: var(--toap-accent, #3dae49); }
.toap-latest span { font-size: 13px; color: #aeb9cf; }

/* Comments */
.toap-comments {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 2px 14px rgba(22, 33, 58, 0.08);
	padding: clamp(22px, 4vw, 40px);
	margin-bottom: 72px;
}

@media (max-width: 640px) {
	.toap-hero__inner { padding-top: 40px; padding-bottom: 44px; gap: 24px; }
	.toap-hero__lede { font-size: 17px; }
	.toap-body { padding-top: 24px; padding-bottom: 48px; gap: 24px; }
	.toap-content { font-size: 17px; }
	.toap-wrap { padding-left: 16px; padding-right: 16px; }
	.toap-nav__item--next { text-align: left; }
}
