/* BCN Front Page */

/* Header clock */
.bcn-fp-clock { white-space: nowrap; font-variant-numeric: tabular-nums; }
.bcn-fp-clock abbr { text-decoration: none; border: 0; opacity: .75; font-size: .92em; letter-spacing: .03em; }
.bcn-fp-clock__sep { opacity: .5; }
.bcn-fp-clock__india { opacity: .75; }
@media (max-width: 1240px) { .bcn-fp-clock__india { display: none; } }
.bcn-fp-mclock { display: none; }
@media (max-width: 940px) {
	.bcn-fp-mclock { display: block; padding: 7px 12px; background: #161616; color: #e8e8e8; font: 500 12px/1.3 system-ui, -apple-system, 'Segoe UI', sans-serif; text-align: center; white-space: normal; }
}

/* Story timestamps */
.bcn-fp-time { white-space: nowrap; cursor: help; }

/* Today's Edition card */
.bcn-fp-card-wrap { max-width: 1200px; margin: 28px auto; padding: 0 16px; box-sizing: border-box; container-type: inline-size; container-name: bcncard; }
.iscu_home_container .bcn-fp-card-wrap { padding: 0; }
.bcn-fp-card {
	--bcn-ink: #161616; --bcn-paper: #faf8f3; --bcn-rule: #d9d4c7; --bcn-accent: #c8102e;
	display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 28px; align-items: center;
	background: var(--bcn-paper); color: var(--bcn-ink);
	border-top: 3px solid var(--bcn-ink); border-bottom: 1px solid var(--bcn-ink);
	padding: 22px 26px; box-sizing: border-box;
}
.bcn-fp-card * { box-sizing: border-box; }
.bcn-fp-card__page {
	display: flex; flex-direction: column; gap: 7px; height: 236px; overflow: hidden;
	background: #fff; border: 1px solid var(--bcn-rule); padding: 12px 12px 0;
	box-shadow: 0 1px 0 #fff, 0 6px 18px rgba(0, 0, 0, .13); text-decoration: none; color: var(--bcn-ink);
	transform: rotate(-1.2deg);
	-webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent);
}
.bcn-fp-card__plate { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: 15px; line-height: 1.1; text-align: center; letter-spacing: .01em; }
.bcn-fp-card__rule { display: block; height: 3px; border-top: 1px solid var(--bcn-ink); border-bottom: 1px solid var(--bcn-ink); }
.bcn-fp-card__mini { font-family: Georgia, 'Times New Roman', serif; font-size: 9.5px; line-height: 1.25; padding-bottom: 6px; border-bottom: 1px solid var(--bcn-rule); }
.bcn-fp-card__mini.is-lead { font-size: 13px; font-weight: 700; line-height: 1.18; }
.bcn-fp-card__kicker { margin: 0 0 6px; font: 700 11px/1.2 system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--bcn-accent, #c8102e); }
.bcn-fp-card__new { display: inline-block; margin-left: 8px; padding: 2px 7px; background: #c8102e; color: #fff; letter-spacing: .08em; font-size: 10px; border-radius: 2px; vertical-align: 1px; }
.bcn-fp-card__new[hidden] { display: none; }
.bcn-fp-card__title { margin: 0 0 8px; font-family: Georgia, 'Times New Roman', serif; font-size: 28px; line-height: 1.15; font-weight: 700; color: var(--bcn-ink); }
.bcn-fp-card__date { font-weight: 400; font-size: .68em; color: #555; }
.bcn-fp-card__text { margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: #333; max-width: 60ch; }
.bcn-fp-card__thanks { margin: 0 0 10px; font-size: 14px; font-weight: 600; color: #1d6b34; }
.bcn-fp-card__thanks[hidden], .bcn-fp-card__ready[hidden], .bcn-fp-inline[hidden] { display: none; }
.bcn-fp-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Email in, PDF out */
.bcn-fp-inline { margin: 0; max-width: 560px; }
.bcn-fp-inline__row { display: flex; gap: 8px; margin: 0 0 10px; }
.bcn-fp-inline__row input[type=email] {
	flex: 1 1 auto; min-width: 0; width: auto; min-height: 46px; margin: 0; padding: 0 12px; font: 16px/1.2 system-ui, -apple-system, 'Segoe UI', sans-serif;
	color: #161616; background: #fff; border: 1.5px solid #161616; border-radius: 2px; box-shadow: none;
}
.bcn-fp-inline__row input[type=email]:focus-visible { outline: 3px solid #f0a500; outline-offset: 2px; }
.bcn-fp-inline__row .bcn-fp-btn { flex: none; min-height: 46px; white-space: nowrap; }
.bcn-fp-inline .bcn-fp-check { margin: 0 0 6px; }
.bcn-fp-inline .bcn-fp-check label { font-size: 12.5px; color: #333; }
.bcn-fp-inline .bcn-fp-error { margin: 6px 0 0; }
.bcn-fp-card__actions { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }

.bcn-fp-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px;
	font: 600 14px/1 system-ui, -apple-system, 'Segoe UI', sans-serif; letter-spacing: .02em; text-decoration: none; cursor: pointer;
	color: #161616; background: transparent; border: 1.5px solid #161616; border-radius: 2px; transition: background .15s, color .15s;
}
.bcn-fp-btn:hover, .bcn-fp-btn:focus-visible { background: #161616; color: #fff; }
.bcn-fp-btn--solid { background: #161616; color: #fff; }
.bcn-fp-btn--solid:hover, .bcn-fp-btn--solid:focus-visible { background: #c8102e; border-color: #c8102e; color: #fff; }
.bcn-fp-btn--wide { width: 100%; }
.bcn-fp-btn[disabled] { opacity: .6; cursor: wait; }

/* Narrow places (phones, side columns): one column, no thumbnail. */
@container bcncard (max-width: 620px) {
	.bcn-fp-card { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 18px 16px; }
	.bcn-fp-card__page { display: none; }
	.bcn-fp-card__title { font-size: 23px; }
	.bcn-fp-card__date { display: block; margin-top: 4px; }
	.bcn-fp-card__dot { display: none; }
	.bcn-fp-inline__row { flex-direction: column; }
	.bcn-fp-inline__row .bcn-fp-btn, .bcn-fp-card__actions .bcn-fp-btn { width: 100%; }
}
@supports not (container-type: inline-size) {
	@media (max-width: 640px) {
		.bcn-fp-card { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 18px 16px; }
		.bcn-fp-card__page { display: none; }
		.bcn-fp-card__title { font-size: 23px; }
		.bcn-fp-card__date { display: block; margin-top: 4px; }
		.bcn-fp-card__dot { display: none; }
		.bcn-fp-inline__row { flex-direction: column; }
		.bcn-fp-inline__row .bcn-fp-btn, .bcn-fp-card__actions .bcn-fp-btn { width: 100%; }
	}
}

/* Floating button */
.bcn-fp-pill {
	position: fixed; left: 16px; bottom: 16px; z-index: 9990; display: flex; align-items: stretch;
	background: #161616; color: #fff; border-radius: 999px; box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
	font: 600 13px/1 system-ui, -apple-system, 'Segoe UI', sans-serif; animation: bcn-fp-in .25s ease;
}
.bcn-fp-pill[hidden] { display: none; }
.bcn-fp-pill a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 6px 0 16px; color: #fff; text-decoration: none; }
.bcn-fp-pill a:hover { color: #fff; text-decoration: underline; }
.bcn-fp-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #c8102e; }
.bcn-fp-pill__date { opacity: .7; font-weight: 400; }
.bcn-fp-pill button { background: none; border: 0; color: #fff; opacity: .7; font-size: 18px; line-height: 1; padding: 0 14px 0 8px; cursor: pointer; border-radius: 0 999px 999px 0; }
.bcn-fp-pill button:hover { opacity: 1; }
@keyframes bcn-fp-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bcn-fp-pill { animation: none; } .bcn-fp-card__page { transition: none; } }
@media print { .bcn-fp-pill, .bcn-fp-card-wrap { display: none !important; } }

/* Sign-up dialog + form */
.bcn-fp-dialog {
	box-sizing: border-box; max-width: none; width: min(440px, calc(100vw - 32px)); padding: 26px 26px 18px; border: 0; border-top: 4px solid #161616; border-radius: 3px;
	background: #faf8f3; color: #161616; box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
	font: 15px/1.5 system-ui, -apple-system, 'Segoe UI', sans-serif;
}
.bcn-fp-dialog::backdrop { background: rgba(10, 10, 10, .6); }
.bcn-fp-dialog h2, .bcn-fp-gate h1 { margin: 0 0 8px; font-family: Georgia, 'Times New Roman', serif; font-size: 26px; line-height: 1.15; color: #161616; }
.bcn-fp-dialog__lead { margin: 0 0 16px; color: #333; }
.bcn-fp-dialog__x { position: absolute; top: 6px; right: 8px; margin: 0; }
.bcn-fp-dialog__x button { background: none; border: 0; font-size: 24px; line-height: 1; color: #161616; cursor: pointer; padding: 8px; }
.bcn-fp-form p { margin: 0 0 12px; }
.bcn-fp-field label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 13px; }
.bcn-fp-field input {
	width: 100%; min-height: 46px; padding: 0 12px; font: inherit; font-size: 16px; color: #161616;
	background: #fff; border: 1.5px solid #161616; border-radius: 2px; box-sizing: border-box;
}
.bcn-fp-field input:focus-visible, .bcn-fp-btn:focus-visible { outline: 3px solid #f0a500; outline-offset: 2px; }
.bcn-fp-check label { display: flex; gap: 9px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: #222; cursor: pointer; }
.bcn-fp-check input { margin: 3px 0 0; flex: none; width: 16px; height: 16px; }
.bcn-fp-check a { color: inherit; text-decoration: underline; }
.bcn-fp-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bcn-fp-error { color: #a30d25; font-weight: 600; font-size: 14px; }
.bcn-fp-error[hidden] { display: none; }
.bcn-fp-small { font-size: 12.5px; color: #555; }

/* Stand-alone sign-up page shown in front of an edition */
body.bcn-fp-gate { margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center; background: #e8e7e4; color: #161616; font: 15px/1.5 system-ui, -apple-system, 'Segoe UI', sans-serif; }
.bcn-fp-gate__box { width: min(480px, calc(100vw - 32px)); margin: 24px 0; padding: 28px 28px 20px; background: #faf8f3; border-top: 4px solid #161616; box-shadow: 0 10px 40px rgba(0, 0, 0, .15); box-sizing: border-box; }
.bcn-fp-gate__site { margin: 0 0 18px; font-size: 13px; }
.bcn-fp-gate__site a { color: #161616; }
.bcn-fp-gate__heads { margin: 0 0 18px; padding: 12px 0; list-style: none; border-top: 1px solid #d9d4c7; border-bottom: 1px solid #d9d4c7; font-family: Georgia, 'Times New Roman', serif; }
.bcn-fp-gate__heads li { padding: 4px 0; font-size: 15px; line-height: 1.3; }
.bcn-fp-gate__heads li:first-child { font-weight: 700; font-size: 17px; }
