/* Latest from Armstrat: subscribe forms (inc/subscribe.php, assets/js/subscribe.js).
   White, hairlines, square corners, no shadows. Every class starts with sub-. */

/* Form */
.sub-box { color: var(--ds-color-ink, #111); }
.sub-box__t { margin: 0; color: var(--ds-color-ink, #111); font-weight: 400; letter-spacing: -0.02em; }
.sub-box__d { margin: 10px 0 0; max-width: 44ch; font-size: 1rem; line-height: 1.5; color: var(--ds-color-text-2, #444); }
.sub-form { position: relative; display: grid; gap: 10px; margin: 0; min-width: 0; }
.sub-form__row { display: flex; align-items: flex-end; gap: 16px; min-width: 0; }
.sub-form__input {
	flex: 1 1 auto; min-width: 0; height: 48px; margin: 0; padding: 0;
	font: inherit; font-size: clamp(1rem, 1.15vw, 1.125rem); color: var(--ds-color-ink, #111);
	background: transparent; border: 0; border-bottom: 1px solid var(--ds-color-ink, #111); border-radius: 0;
	outline: none; box-shadow: none; -webkit-appearance: none; appearance: none;
	transition: border-color .2s, box-shadow .2s;
}
.sub-form__input::placeholder { color: #9a9a9a; opacity: 1; }
.sub-form__input:focus { border-bottom-color: var(--ds-color-accent, #f96300); box-shadow: 0 1px 0 0 var(--ds-color-accent, #f96300); }
.sub-form__input[aria-invalid="true"] { border-bottom-color: #c2410c; }
.sub-form__btn {
	flex: none; display: inline-flex; align-items: center; justify-content: center; height: 48px; margin: 0; padding: 0 24px;
	font: inherit; font-size: 1rem; font-weight: 500; line-height: 1; letter-spacing: 0; white-space: nowrap;
	color: var(--ds-color-ink, #111); background: var(--ds-color-accent, #f96300); border: 1px solid var(--ds-color-accent, #f96300); border-radius: 0;
	cursor: pointer; transition: background-color .2s, border-color .2s;
}
.sub-form__btn:hover { background: var(--ds-color-accent-hover, #e05800); border-color: var(--ds-color-accent-hover, #e05800); }
.sub-form__btn:focus-visible { outline: 2px solid var(--ds-color-ink, #111); outline-offset: 2px; }
.sub-form__btn[disabled] { cursor: progress; opacity: .7; }
.sub-form__note { margin: 4px 0 0; max-width: 64ch; font-size: 0.8125rem; line-height: 1.5; color: var(--ds-color-text-3, #6b6b6b); }
.sub-box .sub-form__note a { color: inherit; text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.sub-box .sub-form__note a:hover { color: var(--ds-color-ink, #111); text-decoration-color: var(--ds-color-accent, #f96300); }
.sub-form__msg { margin: 0; font-size: 0.9375rem; line-height: 1.45; color: var(--ds-color-ink, #111); }
.sub-form__msg:empty { display: none; }
.sub-form__msg.is-ok { padding-left: 14px; border-left: 2px solid var(--ds-color-accent, #f96300); }
.sub-form__msg.is-error { color: #c2410c; }
.sub-form__hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 379.98px) {
	.sub-form__row { flex-wrap: wrap; }
	.sub-form__input { flex-basis: 100%; }
	.sub-form__btn { width: 100%; }
}

/* Footer: compact row between the Ask band and the link columns (parts/footer.html) */
.sub-box--footer { display: grid; gap: 20px; }
.sub-box--footer .sub-box__t { font-size: clamp(1.5rem, 2.2vw, 2.25rem); line-height: 1.08; letter-spacing: -0.025em; }
@media (min-width: 1025px) {
	.sub-box--footer { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 120px); align-items: start; }
}

/* /blog/ band: full content width, after the first group of cards */
.sub-band { grid-column: 1 / -1; list-style: none; margin: 0; padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--ds-color-ink, #111); border-bottom: 1px solid var(--ds-color-rule, #e6e6e6); }
.sub-band[hidden] { display: none; }
div.sub-band { margin-top: clamp(56px, 6vw, 96px); }
.sub-box--band { display: grid; gap: 24px; }
.sub-box--band .sub-box__t { font-size: clamp(1.875rem, 3.4vw, 3.25rem); line-height: 1.04; letter-spacing: -0.03em; }
.sub-box--band .sub-box__d { font-size: clamp(1rem, 1.15vw, 1.125rem); }
@media (min-width: 1025px) {
	.sub-box--band { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 120px); align-items: end; }
}

/* Inside an article: a slim hairline row after the 2nd section */
.hx-art__body > .sub-box--inline, .sub-box--inline { margin: 2.4em 0; padding: 20px 0 18px; border-top: 1px solid var(--ds-color-rule, #e6e6e6); border-bottom: 1px solid var(--ds-color-rule, #e6e6e6); display: grid; gap: 12px 32px; }
.sub-box--inline .sub-box__t { font-size: 1.0625rem; line-height: 1.35; font-weight: 500; letter-spacing: -0.005em; }
.sub-box--inline .sub-form__input { height: 44px; font-size: 1rem; }
.sub-box--inline .sub-form__btn { height: 44px; padding: 0 20px; font-size: 0.9375rem; }
@media (min-width: 768px) {
	.sub-box--inline { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: start; }
	.sub-box--inline .sub-box__intro { padding-top: 11px; }
}

/* End of the article body, before the FAQ */
.hx-art__body > .sub-box--end, .sub-box--end { margin: 3em 0 2.6em; padding-top: 28px; border-top: 1px solid var(--ds-color-ink, #111); }
.sub-box--end .sub-box__t { margin-bottom: 18px; font-size: clamp(1.5rem, 2.1vw, 2.125rem); line-height: 1.12; letter-spacing: -0.022em; }
.sub-box--end .sub-form { max-width: 600px; }

/* /subscribe/ page */
.sub-page .hx-art__dek { max-width: 52ch; }
.sub-page__body { margin-top: clamp(32px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 96px); }
.sub-box--page { max-width: 640px; }
.sub-box--page .sub-form__input { font-size: clamp(1.0625rem, 1.3vw, 1.25rem); }
.sub-page__facts { display: grid; gap: 0; margin: clamp(48px, 5vw, 80px) 0 0; padding: 0; border-top: 1px solid var(--ds-color-ink, #111); }
.sub-page__facts > div { padding: 20px 0 22px; border-bottom: 1px solid var(--ds-color-rule, #e6e6e6); }
.sub-page__facts dt { margin: 0 0 8px; font-size: 0.9375rem; color: var(--ds-color-text-3, #6b6b6b); }
.sub-page__facts dd { margin: 0; max-width: 46ch; font-size: 1.0625rem; line-height: 1.55; color: var(--ds-color-ink, #111); }
.sub-page__facts a, .sub-page__small a { color: inherit; text-decoration: underline; text-decoration-color: var(--ds-color-accent, #f96300); text-underline-offset: 3px; }
@media (min-width: 1025px) {
	.sub-page__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(32px, 4vw, 72px); border-top: 0; }
	.sub-page__facts > div { padding-top: 22px; border-top: 1px solid var(--ds-color-ink, #111); border-bottom: 0; }
}
.sub-page__small { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--ds-color-text-3, #6b6b6b); }
.sub-box--page + .sub-page__small { margin-top: 24px; }
.sub-page__links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0; }
.sub-page__links a { display: inline-flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 1.0625rem; color: var(--ds-color-ink, #111); text-decoration: none; border-bottom: 1px solid var(--ds-color-rule, #e6e6e6); transition: border-color .2s; }
.sub-page__links a svg { width: 14px; height: 14px; flex: none; color: var(--ds-color-accent, #f96300); transition: transform .3s; }
.sub-page__links a:hover { border-bottom-color: var(--ds-color-accent, #f96300); }
.sub-page__links a:hover svg { transform: translateX(3px); }

/* Article slide-in: bottom right on wide screens, a bottom sheet on phones. Never with the cookie bar. */
.sub-slide {
	position: fixed; right: clamp(16px, 2vw, 32px); bottom: calc(clamp(16px, 2vw, 32px) + var(--ckb-h, 0px)); z-index: 85;
	box-sizing: border-box; width: min(380px, calc(100vw - 32px)); margin: 0; padding: 22px 22px 18px;
	background: #fff; border: 1px solid var(--ds-color-ink, #111); border-radius: 0; box-shadow: none;
	opacity: 0; visibility: hidden; transform: translateY(16px);
	transition: opacity .35s ease, transform .35s ease, visibility 0s linear .35s;
}
.sub-slide.is-in { opacity: 1; visibility: visible; transform: none; transition: opacity .35s ease, transform .35s ease, visibility 0s; }
.sub-slide[hidden] { display: none; }
.sub-slide__x {
	position: absolute; top: 6px; right: 6px; display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; margin: 0; padding: 0; color: var(--ds-color-ink, #111); background: none; border: 0; border-radius: 0; cursor: pointer;
}
.sub-slide__x svg { width: 16px; height: 16px; }
.sub-slide__x:hover { color: var(--ds-color-accent, #f96300); }
.sub-slide__x:focus-visible { outline: 2px solid var(--ds-color-accent, #f96300); outline-offset: -2px; }
.sub-box--slide .sub-box__t { margin: 0 40px 14px 0; font-size: 1.125rem; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.sub-box--slide .sub-form__input { height: 44px; font-size: 1rem; }
.sub-box--slide .sub-form__btn { height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.sub-box--slide .sub-form__row { gap: 12px; }
@media (max-width: 639.98px) {
	.sub-slide {
		left: 0; right: 0; bottom: var(--ckb-h, 0px); width: auto; max-height: 40vh; overflow-y: auto; overscroll-behavior: contain;
		padding: 16px 16px calc(14px + env(safe-area-inset-bottom, 0px)); border: 0; border-top: 1px solid var(--ds-color-ink, #111);
	}
	.sub-box--slide .sub-box__t { margin-bottom: 10px; font-size: 1rem; }
	.sub-box--slide .sub-form__note { font-size: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
	.sub-slide, .sub-slide.is-in { transform: none; transition: none; }
	.sub-form__input, .sub-form__btn, .sub-page__links a svg { transition: none; }
}
@media print { .sub-box, .sub-band, .sub-slide { display: none !important; } }
