/* ============================================================
   SRR Launch — Additional Archive / Category Post Layouts
   Layouts 7–12 (term-layout7 … term-layout12)

     7  Feature List        (full-width, image always left)
     8  Alternating Feature (full-width, image alternates L/R)
     9  Magazine            (full-width alternating, overlapping card)
    10  Overlap Card Grid   (2-col, card over image)
    11  Horizontal Card     (2-col, image left)
    12  Minimal List        (2-col, small thumb)

   Additive only. Loaded on archive/search/home views alongside the
   main theme stylesheet. Original layouts 1–6 live in style.css
   and are NOT touched by this file.

   --tl-accent is injected inline from the site's link color
   (see srr_launch_scripts() in functions.php). Falls back to a
   neutral brand blue if absent.
   ============================================================ */

.term-layout7,
.term-layout8,
.term-layout9,
.term-layout10,
.term-layout11,
.term-layout12 {
	--tl-card-bg: #ffffff;
	--tl-text: #1a1a1a;
	--tl-muted: #6b7280;
	--tl-border: #e5e7eb;
	--tl-radius: 6px;
	--tl-gap: 24px;
	--tl-shadow: 0 1px 3px rgba(0,0,0,.10), 0 1px 2px rgba(0,0,0,.06);
	--tl-shadow-hover: 0 8px 22px rgba(0,0,0,.14);
	--tl-transition: .25s ease;
	box-sizing: border-box;
}
.term-layout7 *,
.term-layout8 *,
.term-layout9 *,
.term-layout10 *,
.term-layout11 *,
.term-layout12 * { box-sizing: border-box; }

/* Shared: category badge pills (8, 9, 10, 11) */
.term-layout8 .tl-cats,
.term-layout9 .tl-cats,
.term-layout10 .tl-cats,
.term-layout11 .tl-cats {
	margin-bottom: 10px;
	line-height: 1.9;
}
.term-layout8 .tl-cats a,
.term-layout9 .tl-cats a,
.term-layout10 .tl-cats a,
.term-layout11 .tl-cats a {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	line-height: 1.4;
	padding: 3px 9px;
	margin: 0 4px 4px 0;
	border-radius: 20px;
	background: var(--tl-accent, #1e73be);
	color: #fff !important;
	text-decoration: none !important;
}

/* Shared: underlined read-more link (8, 9) */
.term-layout8 .tl-more,
.term-layout9 .tl-more {
	display: inline-block;
	margin-top: 12px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .6px;
	color: var(--tl-accent, #1e73be) !important;
	border-bottom: 2px solid var(--tl-accent, #1e73be);
	padding-bottom: 2px;
	text-decoration: none !important;
}

/* Shared: image link overlay (keeps the whole thumb clickable) */
.term-layout7 .tl7-img a,
.term-layout7 .tl7-img span,
.term-layout8 .tl-img a,
.term-layout8 .tl-img span,
.term-layout9 .tl9-img a,
.term-layout9 .tl9-img span,
.term-layout10 .tl10-img a,
.term-layout10 .tl10-img span,
.term-layout11 .tl11-img a,
.term-layout11 .tl11-img span,
.term-layout12 .tl12-img a,
.term-layout12 .tl12-img span {
	display: block;
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	z-index: 2;
}

/* ============================================================
   LAYOUT 7 — Feature List (full-width, image always left)
   ============================================================ */
.term-layout7 {
	display: flex;
	align-items: center;
	gap: 44px;
	margin-bottom: 45px;
}
.term-layout7 .tl7-img {
	position: relative;
	flex: 0 0 48%;
	max-width: 48%;
	min-height: 330px;
	align-self: stretch;
	background-size: cover;
	background-position: center 20%;
	background-repeat: no-repeat;
	border-radius: var(--tl-radius);
}
.term-layout7 .tl7-body { flex: 1 1 auto; }
.term-layout7 .tl7-meta {
	font-size: 14px;
	margin-bottom: 14px;
	color: #333;
}
.term-layout7 .tl7-meta a { color: var(--tl-accent, #1e73be) !important; }
.term-layout7 .tl7-meta .tl7-date { margin-left: 12px; color: #333; }
.term-layout7 .entry-title { margin: 0 0 16px; }
.term-layout7 .entry-title a {
	font-size: 30px;
	line-height: 1.15;
	color: var(--tl-text) !important;
	font-weight: 700;
}
.term-layout7 .entry-excerpt {
	line-height: 1.6;
	color: #4b5563;
}
.term-layout7 .tl7-more {
	display: inline-block;
	margin-top: 16px;
	font-size: 14px;
	font-weight: 600;
	color: var(--tl-accent, #1e73be) !important;
	text-decoration: none !important;
}
.term-layout7 .tl7-more::after {
	content: '\203A';               /* › chevron, no icon-font dependency */
	margin-left: 7px;
	font-weight: 700;
	display: inline-block;
}
.term-layout7 .post-sponsor { font-size: 11px; margin-top: 6px; }

/* ============================================================
   LAYOUT 8 — Alternating Feature (full-width, image L/R)
   ============================================================ */
.term-layout8 {
	display: flex;
	align-items: center;
	gap: 40px;
	margin-bottom: 45px;
}
.term-layout8.tl-rev { flex-direction: row-reverse; }
.term-layout8 .tl-img {
	position: relative;
	flex: 0 0 48%;
	max-width: 48%;
	min-height: 320px;
	align-self: stretch;
	background-size: cover;
	background-position: center 20%;
	background-repeat: no-repeat;
	border-radius: var(--tl-radius);
}
.term-layout8 .tl8-body { flex: 1 1 auto; }
.term-layout8 .entry-title { margin: 0 0 12px; }
.term-layout8 .entry-title a {
	font-size: 30px;
	line-height: 1.15;
	color: var(--tl-text) !important;
	font-weight: 700;
}
.term-layout8 .entry-meta {
	font-size: 13px;
	color: var(--tl-muted);
	margin-bottom: 12px;
}
.term-layout8 .entry-meta a { color: var(--tl-muted) !important; }
.term-layout8 .entry-excerpt {
	line-height: 1.6;
	color: #4b5563;
}
.term-layout8 .post-sponsor { font-size: 11px; margin-top: 6px; }

/* ============================================================
   LAYOUT 9 — Magazine (full-width, alternating, overlapping card)
   ============================================================ */
.term-layout9 {
	display: flex;
	align-items: center;
	margin-bottom: 55px;
}
.term-layout9.tl-rev { flex-direction: row-reverse; }
.term-layout9 .tl9-media {
	position: relative;
	flex: 0 0 62%;
	max-width: 62%;
	align-self: stretch;
}
.term-layout9 .tl9-img {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 340px;
	background-size: cover;
	background-position: center 20%;
	background-repeat: no-repeat;
	border-radius: var(--tl-radius);
}
.term-layout9 .tl9-body {
	position: relative;
	z-index: 2;
	flex: 0 0 42%;
	max-width: 42%;
	margin-left: -4%;
	background: var(--tl-card-bg);
	padding: 30px;
	border-radius: var(--tl-radius);
	box-shadow: var(--tl-shadow);
}
.term-layout9.tl-rev .tl9-body { margin-left: 0; margin-right: -4%; }
.term-layout9 .entry-title { margin: 0 0 12px; }
.term-layout9 .entry-title a {
	font-size: 26px;
	line-height: 1.18;
	color: var(--tl-text) !important;
	font-weight: 700;
}
.term-layout9 .entry-meta { font-size: 13px; color: var(--tl-muted); margin-bottom: 12px; }
.term-layout9 .entry-meta a { color: var(--tl-muted) !important; }
.term-layout9 .entry-excerpt { line-height: 1.6; color: #4b5563; }
.term-layout9 .post-sponsor { font-size: 11px; margin-top: 6px; }

/* ============================================================
   LAYOUT 10 — Overlap Card Grid (2-col, card over image)
   ============================================================ */
.term-layout10 {
	width: 49%;
	float: left;
	margin-right: 2%;
	margin-bottom: 24px;
	display: block;
}
.term-layout10 .tl10-img {
	position: relative;
	height: 240px;
	background-size: cover;
	background-position: center 20%;
	background-repeat: no-repeat;
	border-radius: var(--tl-radius);
}
.term-layout10 .tl10-body {
	position: relative;
	z-index: 3;
	background: var(--tl-card-bg);
	margin: -72px 20px 0;
	padding: 22px 18px;
	border-radius: var(--tl-radius);
	box-shadow: var(--tl-shadow);
	text-align: center;
	transition: box-shadow var(--tl-transition);
}
.term-layout10:hover .tl10-body { box-shadow: var(--tl-shadow-hover); }
.term-layout10 .tl-cats { margin-bottom: 12px; }
.term-layout10 .entry-title { margin: 0 0 10px; }
.term-layout10 .entry-title a {
	font-size: 20px;
	line-height: 1.25;
	color: var(--tl-text) !important;
	font-weight: 700;
}
.term-layout10 .entry-meta { font-size: 13px; color: var(--tl-accent, #1e73be); }
.term-layout10 .entry-meta a { color: var(--tl-accent, #1e73be) !important; }
.term-layout10 .post-sponsor { font-size: 11px; margin-top: 6px; }

/* ============================================================
   LAYOUT 11 — Horizontal Card (2-col, image left)
   ============================================================ */
.term-layout11 {
	width: 49%;
	float: left;
	margin-right: 2%;
	margin-bottom: 24px;
}
.term-layout11 .tl11-card {
	display: flex;
	align-items: stretch;
	background: var(--tl-card-bg);
	border-radius: var(--tl-radius);
	overflow: hidden;
	box-shadow: var(--tl-shadow);
	transition: box-shadow var(--tl-transition);
	min-height: 170px;
}
.term-layout11:hover .tl11-card { box-shadow: var(--tl-shadow-hover); }
.term-layout11 .tl11-img {
	position: relative;
	flex: 0 0 40%;
	background-size: cover;
	background-position: center 20%;
	background-repeat: no-repeat;
}
.term-layout11 .tl11-body {
	flex: 1 1 auto;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.term-layout11 .entry-title { margin: 0 0 12px; }
.term-layout11 .entry-title a {
	font-size: 18px;
	line-height: 1.25;
	color: var(--tl-text) !important;
	font-weight: 700;
}
.term-layout11 .tl-cats { margin-bottom: 0; }
.term-layout11 .entry-meta { font-size: 12px; color: var(--tl-accent, #1e73be); margin-top: 4px; }
.term-layout11 .entry-meta a { color: var(--tl-accent, #1e73be) !important; }
.term-layout11 .entry-excerpt {
	line-height: 1.5;
	color: var(--tl-muted);
	margin-top: 8px;
}
.term-layout11 .post-sponsor { font-size: 11px; margin-top: 6px; }

/* ============================================================
   LAYOUT 12 — Minimal List (2-col, small thumb)
   ============================================================ */
.term-layout12 {
	width: 49%;
	float: left;
	margin-right: 2%;
	margin-bottom: 30px;
}
.term-layout12 .tl12-row {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}
.term-layout12 .tl12-img {
	position: relative;
	flex: 0 0 120px;
	width: 120px;
	height: 120px;
	background-size: cover;
	background-position: center 20%;
	background-repeat: no-repeat;
	border-radius: var(--tl-radius);
}
.term-layout12 .tl12-body { flex: 1 1 auto; }
.term-layout12 .entry-title { margin: 0 0 8px; }
.term-layout12 .entry-title a {
	font-size: 18px;
	line-height: 1.28;
	color: var(--tl-text) !important;
	font-weight: 700;
}
.term-layout12 .tl12-meta { font-size: 13px; color: var(--tl-muted); }
.term-layout12 .tl12-meta a { color: var(--tl-accent, #1e73be) !important; }
.term-layout12 .tl12-meta .sep { color: var(--tl-border); margin: 0 6px; }
.term-layout12 .entry-excerpt {
	line-height: 1.45;
	color: var(--tl-muted);
	margin-top: 8px;
}
.term-layout12 .post-sponsor { font-size: 11px; margin-top: 6px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991px) {
	/* Narrower columns: relax large type a touch */
	.term-layout7 .entry-title a,
	.term-layout8 .entry-title a { font-size: 26px; }
	.term-layout9 .entry-title a { font-size: 22px; }
}

@media (max-width: 767px) {
	/* Full-width layouts stack image over text */
	.term-layout7,
	.term-layout8,
	.term-layout8.tl-rev,
	.term-layout9,
	.term-layout9.tl-rev {
		display: block;
	}
	.term-layout7 .tl7-img,
	.term-layout8 .tl-img,
	.term-layout8.tl-rev .tl-img {
		flex: none;
		max-width: 100%;
		width: 100%;
		min-height: 220px;
		margin-bottom: 18px;
	}
	.term-layout9 .tl9-media,
	.term-layout9.tl-rev .tl9-media {
		flex: none;
		max-width: 100%;
		width: 100%;
	}
	.term-layout9 .tl9-img { min-height: 240px; }
	.term-layout9 .tl9-body,
	.term-layout9.tl-rev .tl9-body {
		flex: none;
		max-width: 92%;
		width: 92%;
		margin: -40px auto 0;
	}
	.term-layout7 .entry-title a,
	.term-layout8 .entry-title a { font-size: 24px; }

	/* 2-col grids collapse to a single column */
	.term-layout10,
	.term-layout11,
	.term-layout12 {
		width: 100%;
		float: none;
		margin-right: 0;
	}
}

@media (max-width: 480px) {
	.term-layout12 .tl12-row { gap: 12px; }
	.term-layout12 .tl12-img { flex-basis: 90px; width: 90px; height: 90px; }
	.term-layout12 .entry-title a { font-size: 16px; }
}
