/* ==========================================================================
   EdNews BD - site refresh (CRVS-604)
   Prefix: ebd-   (unique to ednewsbd.com)
   Loaded AFTER /common/styles.css. Every rule that has to beat a theme
   descendant selector is scoped at least two levels deep on purpose.
   ========================================================================== */

:root{
	--ebd-ink:#0E2A23;
	--ebd-pine:#134A3B;
	--ebd-moss:#1E6B52;
	--ebd-gold:#D4A62A;
	--ebd-paper:#FAF6EC;
	--ebd-line:#E2DACA;
	--ebd-txt:#26332E;
	--ebd-mute:#5C6B64;
	--ebd-onink:#D7E3DC;
	--ebd-onink-mute:#9DB3A9;
	--ebd-serif:Georgia,"Times New Roman",Times,serif;
}

/* ---- global safety nets (theme-wide defects (d) + content-box overflow) -- */

img{ max-width:100%; }

.container,.container-fluid,
[class^="col-"],[class*=" col-"]{ box-sizing:border-box; }

[class^="ebd-"],[class*=" ebd-"]{ box-sizing:border-box; }

/* Shared page gutter. Deliberately NOT Bootstrap .container: template.html.twig
   does not wrap {% block body %}, and a nested .container would hang off-screen. */
.ebd-wrap{ width:100%; max-width:1180px; margin:0 auto; padding:0 18px; }

/* ==========================================================================
   1. HEADER
   ========================================================================== */

header.ebd-hdr{
	position:relative; z-index:1000;
	background:var(--ebd-ink);
	border-bottom:3px solid var(--ebd-gold);
	font-family:'Roboto',sans-serif; font-size:14px; font-weight:400;
	color:var(--ebd-onink);
}
header.ebd-hdr:after,
header.ebd-hdr:before{ content:none; display:none; }

/* burger checkbox: hidden at EVERY width, still keyboard reachable (defect f) */
header.ebd-hdr .ebd-navcb{
	position:absolute !important; width:1px; height:1px; margin:-1px; padding:0; border:0;
	clip:rect(0 0 0 0); clip-path:inset(50%); overflow:hidden; white-space:nowrap;
	appearance:none; -webkit-appearance:none; opacity:0;
}

/* -- masthead row -- */
header.ebd-hdr .ebd-hdr__main{ padding:16px 0 14px; }
header.ebd-hdr .ebd-hdr__row{
	display:flex; flex-wrap:wrap; align-items:center; gap:14px 24px;
}
header.ebd-hdr .ebd-brand{
	display:flex; align-items:center; gap:12px; flex:1 1 auto; min-width:0;
	color:#fff; line-height:1;
}
header.ebd-hdr .ebd-brand:hover,
header.ebd-hdr .ebd-brand:focus{ color:#fff; }
header.ebd-hdr .ebd-brand__mark{
	display:block; font-family:var(--ebd-serif); font-weight:700;
	font-size:34px; line-height:1; letter-spacing:-.015em; color:#fff;
}
header.ebd-hdr .ebd-brand__mark i{ font-style:normal; color:var(--ebd-gold); display:inline; }
header.ebd-hdr .ebd-brand__badge{
	display:inline-block; align-self:flex-start;
	background:var(--ebd-gold); color:#14251F;
	font-size:11px; font-weight:700; letter-spacing:.14em;
	padding:4px 7px 3px; border-radius:2px; margin-top:2px;
}
header.ebd-hdr .ebd-brand__tag{
	display:block; font-size:10px; font-weight:600; letter-spacing:.18em;
	text-transform:uppercase; color:var(--ebd-onink-mute); margin-top:7px;
}
/* The BD badge hugs the wordmark, not the wider tagline: the lockup span is
   flattened, so mark + badge share row 1 and the tagline spans row 2. */
header.ebd-hdr .ebd-brand{
	display:grid; grid-template-columns:auto auto 1fr; grid-template-rows:auto auto;
	align-items:start; justify-items:start; gap:0 8px;
}
header.ebd-hdr .ebd-brand > span:first-child{ display:contents; }
header.ebd-hdr .ebd-brand .ebd-brand__mark{ grid-column:1; grid-row:1; }
header.ebd-hdr .ebd-brand .ebd-brand__badge{ grid-column:2; grid-row:1; }
header.ebd-hdr .ebd-brand .ebd-brand__tag{ grid-column:1 / -1; grid-row:2; }
header.ebd-hdr .ebd-hdr__slot{
	flex:0 1 auto; max-width:100%; min-width:0; margin-left:auto;
}
header.ebd-hdr .ebd-hdr__slot img,
header.ebd-hdr .ebd-hdr__slot iframe{ max-width:100%; }

/* -- burger (right hand side, logo stays left) -- */
header.ebd-hdr .ebd-burger{
	display:none; margin:0; padding:9px 11px; cursor:pointer; order:9;
	border:1px solid rgba(215,227,220,.35); border-radius:3px;
	background:transparent; line-height:0;
}
header.ebd-hdr .ebd-burger:before,
header.ebd-hdr .ebd-burger:after{ content:none !important; display:none !important; }
header.ebd-hdr .ebd-burger span{
	display:block; width:22px; height:2px; background:var(--ebd-onink); border-radius:2px;
}
header.ebd-hdr .ebd-burger span + span{ margin-top:5px; }
header.ebd-hdr .ebd-navcb:focus ~ .ebd-hdr__main .ebd-burger{
	outline:2px solid var(--ebd-gold); outline-offset:2px;
}

/* -- section navigation -- */
header.ebd-hdr .ebd-nav{
	background:var(--ebd-pine);
	border-top:1px solid rgba(212,166,42,.3);
}
header.ebd-hdr .ebd-nav__in{
	display:flex; flex-wrap:wrap; align-items:center; gap:0 18px;
}
header.ebd-hdr .ebd-nav__dateline{
	display:inline-block; order:2; margin-left:auto; padding:6px 0;
	font-size:11px; font-weight:600; letter-spacing:.09em; text-transform:uppercase;
	color:var(--ebd-onink-mute); white-space:nowrap;
}
header.ebd-hdr .ebd-nav__dateline b{ color:var(--ebd-gold); font-weight:700; }
header.ebd-hdr .ebd-nav__list{
	display:flex; flex-wrap:wrap; align-items:stretch; order:1; min-width:0;
	margin:0; padding:0; list-style:none;
}
header.ebd-hdr .ebd-nav__list > li{
	display:block; list-style:none; margin:0; padding:0;
}
header.ebd-hdr .ebd-nav__list > li > a{
	display:block; padding:13px 15px;
	font-size:12px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
	color:#EAF2ED; line-height:1.2; border-bottom:3px solid transparent;
}
header.ebd-hdr .ebd-nav__list > li > a:hover,
header.ebd-hdr .ebd-nav__list > li > a:focus{
	color:#fff; background:rgba(0,0,0,.22); border-bottom-color:var(--ebd-gold);
}
header.ebd-hdr .ebd-nav__list > li.ebd-nav__home > a{ color:var(--ebd-gold); }

@media only screen and (max-width:991px){
	header.ebd-hdr .ebd-brand__mark{ font-size:29px; }
	header.ebd-hdr .ebd-nav__list > li > a{ padding:12px 11px; font-size:11px; }
	/* seven sections already fill the bar at this width - the dateline would
	   push them onto a second line, so it drops out until the burger takes over */
	header.ebd-hdr .ebd-nav__dateline{ display:none; }
}

@media only screen and (max-width:859px){
	header.ebd-hdr .ebd-burger{ display:block; }
	header.ebd-hdr .ebd-hdr__slot{ flex:1 1 100%; order:10; margin-left:0; overflow:hidden; }
	header.ebd-hdr .ebd-nav{ display:none; }
	header.ebd-hdr .ebd-navcb:checked ~ .ebd-nav{ display:block; }
	header.ebd-hdr .ebd-nav__list{ display:block; }
	header.ebd-hdr .ebd-nav__list > li > a{
		padding:14px 18px; border-bottom:1px solid rgba(255,255,255,.12);
		border-left:3px solid transparent;
	}
	header.ebd-hdr .ebd-nav__list > li > a:hover,
	header.ebd-hdr .ebd-nav__list > li > a:focus{
		border-bottom-color:rgba(255,255,255,.12); border-left-color:var(--ebd-gold);
	}
	header.ebd-hdr .ebd-nav__in{ display:block; }
	header.ebd-hdr .ebd-nav__dateline{
		display:block; margin-left:0; padding:10px 18px;
		border-bottom:1px solid rgba(255,255,255,.12);
	}
}

@media only screen and (max-width:420px){
	header.ebd-hdr .ebd-brand__mark{ font-size:25px; }
	header.ebd-hdr .ebd-brand{ gap:0 8px; }
}

/* ==========================================================================
   2. CATEGORY PAGE
   ========================================================================== */

.ebd-cat{ background:var(--ebd-paper); padding:0 0 56px; }

.ebd-cat .ebd-cat__head{
	background:linear-gradient(180deg,#fff 0%,var(--ebd-paper) 100%);
	border-bottom:1px solid var(--ebd-line); padding:34px 0 26px; margin-bottom:34px;
}
.ebd-cat .ebd-cat__kicker{
	display:block; font-size:11px; font-weight:700; letter-spacing:.18em;
	text-transform:uppercase; color:var(--ebd-moss); margin-bottom:10px;
}
.ebd-cat .ebd-cat__title{
	font-family:var(--ebd-serif); font-size:40px; line-height:1.1; font-weight:700;
	color:var(--ebd-ink); margin:0 0 12px;
}
.ebd-cat .ebd-cat__dek{
	font-size:15px; line-height:1.6; color:var(--ebd-mute); max-width:62ch; margin:0;
}
.ebd-cat .ebd-cat__rule{
	width:78px; height:4px; background:var(--ebd-gold); margin:18px 0 0; border-radius:2px;
}

.ebd-cat .ebd-chips{
	display:flex; flex-wrap:wrap; gap:8px; margin:0 0 30px; padding:0; list-style:none;
}
.ebd-cat .ebd-chips > li{ display:block; list-style:none; margin:0; }
.ebd-cat .ebd-chips > li > a{
	display:block; padding:7px 13px; border:1px solid var(--ebd-line); border-radius:999px;
	background:#fff; color:var(--ebd-txt);
	font-size:12px; font-weight:600; letter-spacing:.05em; text-transform:uppercase;
}
.ebd-cat .ebd-chips > li > a:hover,
.ebd-cat .ebd-chips > li > a:focus{
	background:var(--ebd-pine); border-color:var(--ebd-pine); color:#fff;
}

/* wrapping CSS grid - never floats, so a tall card cannot punch a hole (defect b) */
.ebd-cat .ebd-grid {
	display:grid;
	gap:24px; align-items:stretch;
}

.ebd-cat .ebd-card{
	display:flex; flex-direction:column; min-width:0;
	background:#fff; border:1px solid var(--ebd-line); border-radius:4px;
	overflow:hidden; box-shadow:0 1px 3px rgba(14,42,35,.07);
	transition:box-shadow .2s ease, transform .2s ease;
}
.ebd-cat .ebd-card:hover{ box-shadow:0 8px 22px rgba(14,42,35,.13); transform:translateY(-2px); }

.ebd-cat .ebd-card__media{
	display:block; position:relative; height:172px; overflow:hidden;
	background:#DCE5DF; flex:0 0 auto;
}
.ebd-cat .ebd-card__media img{
	display:block; width:100%; height:100%; max-width:100%;
	object-fit:cover; object-position:center;
}
.ebd-cat .ebd-card__flag{
	position:absolute; left:0; bottom:0; z-index:2;
	background:var(--ebd-pine); color:#fff;
	font-size:10px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
	padding:5px 10px;
}

.ebd-cat .ebd-card__body{
	display:flex; flex-direction:column; flex:1 1 auto; min-width:0; padding:16px 17px 18px;
}
.ebd-cat .ebd-card__meta{
	font-size:11px; font-weight:600; letter-spacing:.09em; text-transform:uppercase;
	color:var(--ebd-mute); margin:0 0 9px;
}
.ebd-cat .ebd-card__title{
	font-family:var(--ebd-serif); font-size:18px; line-height:1.34; font-weight:700;
	margin:0 0 10px; color:var(--ebd-ink);
	display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical;
	overflow:hidden; overflow-wrap:anywhere; word-break:break-word;
}
.ebd-cat .ebd-card__title a{ display:inline; color:inherit; }
.ebd-cat .ebd-card__title a:hover,
.ebd-cat .ebd-card__title a:focus{ color:var(--ebd-moss); }
.ebd-cat .ebd-card__dek{
	font-size:13.5px; line-height:1.6; color:var(--ebd-txt); margin:0 0 14px;
	display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical;
	overflow:hidden; overflow-wrap:anywhere;
}
.ebd-cat .ebd-card__more{
	margin-top:auto; align-self:flex-start;
	font-size:11px; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
	color:var(--ebd-moss); border-top:2px solid var(--ebd-gold); padding-top:9px;
}
.ebd-cat .ebd-card__more:hover,
.ebd-cat .ebd-card__more:focus{ color:var(--ebd-ink); }

.ebd-cat .ebd-cat__empty{
	grid-column:1 / -1;
	background:#fff; border:1px dashed var(--ebd-line); border-radius:4px;
	padding:36px 20px; text-align:center; color:var(--ebd-mute); font-size:15px;
}

@media only screen and (max-width:767px){
	.ebd-cat .ebd-cat__title{ font-size:30px; }
	.ebd-cat .ebd-grid { gap:18px; }
	.ebd-cat .ebd-card__media{ height:158px; }
}

@media only screen and (max-width:420px){
	.ebd-cat .ebd-cat__title{ font-size:26px; }
}

/* ==========================================================================
   3. ARTICLE PAGE  ({{ item.content|raw }} is arbitrary rich HTML)
   ========================================================================== */

.ebd-article .ebd-rich{
	font-size:16px; line-height:1.75; color:var(--ebd-txt);
	overflow-wrap:anywhere; word-break:break-word;
}
.ebd-article .ebd-rich > :first-child{ margin-top:0; }
.ebd-article .ebd-rich > :last-child{ margin-bottom:0; }

.ebd-article .ebd-rich p{
	font-size:16px; line-height:1.75; color:var(--ebd-txt); margin:0 0 18px; font-weight:400;
}
.ebd-article .ebd-rich h1,
.ebd-article .ebd-rich h2,
.ebd-article .ebd-rich h3,
.ebd-article .ebd-rich h4,
.ebd-article .ebd-rich h5,
.ebd-article .ebd-rich h6{
	font-family:var(--ebd-serif); color:var(--ebd-ink); font-weight:700;
	line-height:1.3; margin:30px 0 12px;
}
.ebd-article .ebd-rich h1{ font-size:28px; }
.ebd-article .ebd-rich h2{ font-size:24px; }
.ebd-article .ebd-rich h3{ font-size:21px; }
.ebd-article .ebd-rich h4{ font-size:18px; }
.ebd-article .ebd-rich h5,
.ebd-article .ebd-rich h6{ font-size:16px; }

.ebd-article .ebd-rich a{
	display:inline; color:var(--ebd-moss); font-weight:600;
	text-decoration:underline; text-underline-offset:2px;
}
.ebd-article .ebd-rich a:hover,
.ebd-article .ebd-rich a:focus{ color:var(--ebd-ink); }

.ebd-article .ebd-rich ul,
.ebd-article .ebd-rich ol{
	margin:0 0 18px; padding-left:22px; list-style-position:outside;
}
.ebd-article .ebd-rich ul{ list-style:disc outside; }
.ebd-article .ebd-rich ol{ list-style:decimal outside; }
.ebd-article .ebd-rich li{
	display:list-item; list-style:inherit; line-height:1.7; margin:0 0 7px; color:var(--ebd-txt);
}
.ebd-article .ebd-rich ul ul,
.ebd-article .ebd-rich ol ol,
.ebd-article .ebd-rich ul ol,
.ebd-article .ebd-rich ol ul{ margin:7px 0 0; }

.ebd-article .ebd-rich blockquote{
	margin:24px 0; padding:14px 20px;
	border-left:4px solid var(--ebd-gold); background:var(--ebd-paper);
	font-family:var(--ebd-serif); font-size:18px; line-height:1.6; color:var(--ebd-ink);
}
.ebd-article .ebd-rich blockquote p{
	font-family:var(--ebd-serif); font-size:18px; color:var(--ebd-ink); margin:0 0 8px;
}
.ebd-article .ebd-rich blockquote > :last-child{ margin-bottom:0; }

.ebd-article .ebd-rich img{
	display:block; max-width:100%; width:auto; height:auto;
	margin:20px auto; border-radius:3px;
}
.ebd-article .ebd-rich figure{ margin:20px 0; max-width:100%; }
.ebd-article .ebd-rich figcaption{
	font-size:12.5px; color:var(--ebd-mute); margin-top:8px; line-height:1.5;
}
.ebd-article .ebd-rich iframe,
.ebd-article .ebd-rich video,
.ebd-article .ebd-rich embed,
.ebd-article .ebd-rich object{ display:block; max-width:100%; margin:20px 0; }

.ebd-article .ebd-rich table{
	display:block; width:100%; max-width:100%; overflow-x:auto;
	border-collapse:collapse; margin:20px 0; font-size:14px;
}
.ebd-article .ebd-rich th,
.ebd-article .ebd-rich td{
	border:1px solid var(--ebd-line); padding:9px 12px; text-align:left; vertical-align:top;
}
.ebd-article .ebd-rich th{ background:var(--ebd-paper); font-weight:700; color:var(--ebd-ink); }

.ebd-article .ebd-rich pre{
	max-width:100%; overflow-x:auto; background:#F1F4F1; border:1px solid var(--ebd-line);
	border-radius:3px; padding:14px; margin:20px 0; font-size:13px; line-height:1.6;
}
.ebd-article .ebd-rich code{
	background:#F1F4F1; border-radius:2px; padding:1px 5px; font-size:.92em;
	overflow-wrap:anywhere;
}
.ebd-article .ebd-rich pre code{ background:none; padding:0; }
.ebd-article .ebd-rich hr{
	border:0; border-top:1px solid var(--ebd-line); margin:26px 0;
}

/* article headline: must outrank the .ebd-rich h2/h3 subheads above */
.ebd-article > .card-view > h3{
	font-family:var(--ebd-serif); font-size:34px; line-height:1.2; color:var(--ebd-ink);
	overflow-wrap:anywhere; word-break:break-word;
}
.ebd-article > .card-view > h3 a{ display:inline; line-height:inherit; color:var(--ebd-ink); }
@media only screen and (max-width:767px){
	.ebd-article > .card-view > h3{ font-size:28px; }
}

/* lede / hero image of the article itself */
.ebd-article .ebd-lede{
	display:block; width:100%; max-width:100%; height:auto; border-radius:3px;
}
.ebd-article .ebd-crumbs{
	display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; margin:0 0 18px;
	font-size:11px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
	color:var(--ebd-mute);
}
.ebd-article .ebd-crumbs a{ display:inline-block; color:var(--ebd-moss); }
.ebd-article .ebd-crumbs a:hover,
.ebd-article .ebd-crumbs a:focus{ color:var(--ebd-ink); }
.ebd-article .ebd-crumbs .ebd-crumbs__here{
	color:var(--ebd-mute); font-weight:600; text-transform:none; letter-spacing:.02em;
	flex:1 1 0%; min-width:48px; max-width:100%; overflow-wrap:anywhere;
	display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden;
}

/* ==========================================================================
   4. HOMEPAGE HERO - clamp overlay headlines so a 250-char title cannot
      print out of its fixed-height tile (defect c)
   ========================================================================== */

.ebd-hero__cap{ max-height:100%; overflow:hidden; }
.ebd-hero__cap .ebd-hero__ttl{
	display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical;
	overflow:hidden; overflow-wrap:anywhere; word-break:break-word;
}
.ebd-hero__cap .ebd-hero__ttl a{ display:inline; }

/* Legibility on light photos: a bottom-up scrim behind the caption, and the
   theme's #888 date grey (tiles 3-4) lifted to the #ccc used on tiles 1-2. */
section.bg-primary .ebd-hero__cap{
	background:linear-gradient(to top,rgba(0,0,0,.78) 0%,rgba(0,0,0,.45) 60%,rgba(0,0,0,0) 100%);
}
section.bg-primary .ebd-hero__cap ul{ color:#ccc; }

/* Tiles 1-2 anchor the caption to the tile's padding box (10px left of the
   photo), tiles 3-4 to the photo itself - line all four up on their photo. */
section.bg-primary .w-50 > .ebd-hero__cap{ left:10px; }

@media only screen and (max-width:575px){
	.ebd-hero__cap .ebd-hero__ttl{ -webkit-line-clamp:2; }
	/* theme .plr-50 has no phone override: tiles were 280px wide in a 390px
	   band. 5px + each tile's 10px pl-10 = the 15px gutter of the cards below. */
	section.bg-primary > .plr-50{ padding-left:5px !important; padding-right:15px !important; }
	/* the wider tiles would otherwise stretch the photo (theme img is fill) */
	section.bg-primary > .plr-50 img{ object-fit:cover; object-position:center; }
}

/* ==========================================================================
   5. FOOTER - single-line legal bar. No masthead block, no blurb, no columns,
      no thumbnails. One rule, one line, plus two small social glyphs.
   ========================================================================== */

footer.ebd-ft{
	background:#fff; border-top:3px solid var(--ebd-ink);
	font-family:'Roboto',sans-serif;
}

footer.ebd-ft .ebd-ft__in{
	display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between;
	gap:6px 28px; padding:20px 18px;
}

footer.ebd-ft .ebd-ft__copy{
	margin:0; min-width:0;
	font-size:12px; line-height:1.5; font-weight:400; color:var(--ebd-mute);
}

footer.ebd-ft .ebd-ft__legal{
	display:flex; flex-wrap:wrap; align-items:center; gap:4px 20px;
	margin:0; padding:0; list-style:none;
}
footer.ebd-ft .ebd-ft__legal > li{ display:block; list-style:none; margin:0; }
footer.ebd-ft .ebd-ft__legal > li > a{
	display:inline-block; font-size:12px; line-height:1.5; font-weight:600;
	color:var(--ebd-txt); text-decoration:none;
}
footer.ebd-ft .ebd-ft__legal > li > a:hover,
footer.ebd-ft .ebd-ft__legal > li > a:focus{
	color:var(--ebd-ink); text-decoration:underline; text-underline-offset:3px;
}

/* Compact spacing for narrow screens. */
@media only screen and (max-width:575px){
	footer.ebd-ft .ebd-ft__in{ justify-content:flex-start; gap:6px 18px; padding:12px 18px; }
	footer.ebd-ft .ebd-ft__legal{ gap:3px 16px; }
}

/* ==========================================================================
   6. HOMEPAGE FEED CARDS - one aspect ratio for every thumbnail and clamped
      text, so the two columns of .ebd-feed stop running ragged.
      (.row is flexbox, so each wrapped line already stretches its columns;
      the card just has to fill the column it sits in.)
   ========================================================================== */

.ebd-feed > [class*="col-"]{ display:flex; min-width:0; }

.ebd-feed .ebd-feed__card{
	display:flex; flex-direction:column; flex:1 1 auto;
	width:100%; min-width:0; margin-bottom:30px;
}

.ebd-feed .ebd-feed__img{
	display:block; width:100%; max-width:100%; height:180px;
	object-fit:cover; object-position:center;
	background:#DCE5DF; border-radius:3px;
}
@supports (aspect-ratio:3/2){
	.ebd-feed .ebd-feed__img{ height:auto; aspect-ratio:3/2; }
}

.ebd-feed .ebd-feed__ttl{
	display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical;
	overflow:hidden; overflow-wrap:anywhere; word-break:break-word;
	line-height:1.35; margin-bottom:0;
}
.ebd-feed .ebd-feed__ttl a{ display:inline; }

.ebd-feed .ebd-feed__dek{
	display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical;
	overflow:hidden; overflow-wrap:anywhere; word-break:break-word;
	margin:0;
}

@media only screen and (max-width:767px){
	.ebd-feed .ebd-feed__ttl{ -webkit-line-clamp:3; }
}

/* CRVS-LAYOUT.md whole rows on /category: auto-fill gave 4 columns on a wide window but 3 between
   ~900 and ~1200px, where 20 stories ended in a short row. Fixed counts 4 / 2 / 1 divide 20. */
.ebd-cat .ebd-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991px) { .ebd-cat .ebd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .ebd-cat .ebd-grid { grid-template-columns: minmax(0, 1fr); } }

/* Keep the copyright and the section navigation in separate footer groups. */
footer.ebd-ft .ebd-ft__in{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px 28px;padding-bottom:70px;}
footer.ebd-ft .ebd-ft__legal{justify-content:flex-end;}
@media(max-width:767px){
 footer.ebd-ft .ebd-ft__in{grid-template-columns:minmax(0,1fr);gap:14px;padding:20px 18px 70px;}
 footer.ebd-ft .ebd-ft__copy{grid-row:1;grid-column:1;}
 footer.ebd-ft .ebd-ft__legal{grid-row:2;grid-column:1 / -1;justify-content:flex-start;gap:10px 18px;}
}
