/**
 * CT Updates — single-column source-grouped layout (2026-04-25 rev).
 *
 * Per Camila spec 2026-04-25: kill 7 publisher pills, kill 7 category sections,
 * kill source-About per-card panels. Single column, source-grouped, headlines-only.
 * Sticky "Don't miss" block above natural feed. Editor's-note callout for
 * operator-curated annotations.
 *
 * WCAG 2.2 AA throughout. Touch targets ≥ 44px.
 */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* ============= Layout wrapper ============= */

.ct-updates-hub {
	max-width: 760px;
	margin: 0 auto;
	padding: 20px 16px 60px;
}

@media (min-width: 768px) {
	.ct-updates-hub { padding: 40px 24px 80px; }
}

/* ============= Intro ============= */

.ct-updates-intro h1 {
	font-size: 2rem;
	margin: 0 0 8px;
	line-height: 1.2;
}

@media (min-width: 768px) {
	.ct-updates-intro h1 { font-size: 2.4rem; }
}

.ct-updates-intro__lede {
	font-size: 1.05rem;
	color: #333;
	margin: 0 0 12px;
	max-width: 50em;
}

.ct-updates-intro__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 0.875rem;
	color: #555;
	margin-bottom: 24px;
}

.ct-updates-intro__meta a { color: #1A365D; }

/* ============= Disclaimer ============= */

.ct-updates-disclaimer {
	background: #F7F5F0;
	border-left: 4px solid #8B6F47;
	border-radius: 4px;
	padding: 16px 20px;
	margin: 0 0 24px;
}

.ct-updates-disclaimer p { margin: 0; line-height: 1.5; }
.ct-updates-disclaimer p + p { margin-top: 12px; }

.ct-updates-disclaimer__links { font-size: 0.9rem; }

.ct-updates-disclaimer__links a {
	margin-right: 16px;
	color: #1A365D;
	font-weight: 500;
}

.ct-updates-disclaimer--footer {
	background: transparent;
	border-left: none;
	border-top: 1px solid #e5e5e5;
	border-radius: 0;
	padding: 20px 0;
	font-size: 0.9rem;
	color: #555;
	margin-top: 40px;
}

.ct-updates-disclaimer--footer a {
	margin: 0 10px;
	color: #1A365D;
}

/* ============= Sticky "Don't miss" block ============= */

.ct-sticky-block {
	background: #FFFBEB;
	border: 1px solid #F59E0B;
	border-left: 5px solid #B45309;
	border-radius: 6px;
	padding: 18px 20px;
	margin: 0 0 32px;
}

.ct-sticky-block__heading {
	margin: 0 0 12px;
	font-size: 1rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #78350F;
	font-weight: 700;
}

.ct-sticky-block__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ct-sticky-block .ct-headline-item {
	border-bottom: 1px solid rgba(180,83,9,0.15);
}
.ct-sticky-block .ct-headline-item:last-child {
	border-bottom: none;
}

.ct-sticky-block .ct-headline-source {
	color: #78350F;
}

/* ============= Source groups (Whatfinger-style single column) ============= */

.ct-source-groups {
	margin: 0;
}

.ct-source-group {
	margin: 0 0 36px;
	padding: 0;
}

.ct-source-group__name {
	font-size: 1.05rem;
	margin: 0 0 10px;
	padding: 0;
	color: #1A365D;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.ct-source-acronym {
	margin-left: 6px;
	color: #6B7280;
	font-size: 0.875rem;
	font-weight: 500;
	letter-spacing: 0;
}

/* ============= Headline list ============= */

.ct-headline-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ct-headline-item {
	padding: 5px 0;
	line-height: 1.4;
	display: grid;
	grid-template-columns: auto 1fr;
	column-gap: 10px;
	row-gap: 4px;
	align-items: baseline;
}

.ct-headline-item time {
	color: #6B7280;
	font-size: 0.85rem;
	font-variant-numeric: tabular-nums;
	min-width: 48px;
	white-space: nowrap;
	grid-column: 1;
}

.ct-headline-link {
	grid-column: 2;
	color: #1A365D;
	font-weight: 500;
	text-decoration: none;
}

.ct-headline-link:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.ct-headline-link:focus-visible {
	outline: 2px solid #2563EB;
	outline-offset: 2px;
	text-decoration: none;
}

.ct-paywall-affordance {
	grid-column: 2;
	font-style: italic;
	font-size: 0.8rem;
	color: #6B7280;
}

.ct-headline-source {
	grid-column: 2;
	font-size: 0.85rem;
	color: #6B7280;
	font-weight: 500;
}

/* ============= Editor's-note callout ============= */

.ct-editors-note {
	grid-column: 2;
	margin: 6px 0 4px;
	padding: 10px 12px;
	background: #FFFDF7;
	border-left: 3px solid #B45309;
	border-radius: 0 4px 4px 0;
	font-size: 0.92rem;
	font-style: italic;
	line-height: 1.5;
	color: #1F2937;
}

.ct-editors-note__attribution {
	font-weight: 600;
	font-style: normal;
	color: #78350F;
	margin-right: 4px;
}

/* ============= Paywall + language badges ============= */

.ct-paywall-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	background: #F3F4F6;
	color: #374151;
	border: 1px solid #9CA3AF;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 700;
	margin-left: 6px;
	vertical-align: middle;
}

.ct-lang-badge {
	display: inline-block;
	padding: 2px 6px;
	background: #E5E7EB;
	color: #1F2937;
	border: 1px solid #9CA3AF;
	border-radius: 3px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.03em;
	margin-left: 6px;
	vertical-align: middle;
}

/* ============= Methodology surface =============
 * EN inlines the full methodology paragraph (.ct-updates-methodology-inline).
 * ES still uses the legacy CTA box (.ct-updates-methodology-cta) until the ES
 * sweep ports the inline paragraph to /es/actualizaciones/. Drop the CTA rules
 * at that time.
 */

.ct-updates-methodology-inline {
	margin: 32px 0 16px;
	padding: 16px 0 0;
	border-top: 1px solid rgba(0,0,0,0.08);
	font-size: 0.9rem;
	line-height: 1.5;
	color: #555;
}

.ct-updates-methodology-inline a {
	color: #1A365D;
}

.ct-updates-methodology-cta {
	background: #F9FAFB;
	border-radius: 8px;
	padding: 24px;
	margin: 40px 0 24px;
	text-align: center;
}

.ct-updates-methodology-cta h2 {
	margin: 0 0 12px;
	font-size: 1.25rem;
}

.ct-updates-methodology-cta p {
	max-width: 42em;
	margin: 0 auto 16px;
	color: #333;
}

.ct-updates-cta-button {
	display: inline-block;
	background: #1A365D;
	color: #fff;
	padding: 12px 24px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 500;
	min-height: 48px;
	line-height: 24px;
}

.ct-updates-cta-button:hover,
.ct-updates-cta-button:focus {
	background: #0F2A4A;
	color: #fff;
}

.ct-updates-cta-button:focus-visible {
	outline: 2px solid #2563EB;
	outline-offset: 2px;
}
