/*
 * Success Stories: listing page + single story.
 * Everything is scoped to .atc-ss so it cannot leak into the rest of the site.
 * Colours reuse the theme's Bootstrap yellow (--bs-primary) with a fallback.
 *
 * If the fixed header overlaps the top of the page, change --atc-header-offset.
 */

.atc-ss {
	--atc-yellow: var(--bs-primary, #F9BA02);
	--atc-gold: #7A5800; /* Yellow text on white fails contrast. Use this dark gold instead. */
	--atc-panel: #111;
	--atc-muted: #d9d9d9;
	--atc-header-offset: 9rem;
	color: #fff;
	font-family: Montserrat, Arial, sans-serif;
}
.atc-ss *,
.atc-ss *::before,
.atc-ss *::after { box-sizing: border-box; }
.atc-ss a { color: inherit; text-decoration: none; }
.atc-ss a:focus-visible,
.atc-ss button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.atc-ss img { max-width: 100%; height: auto; }

.atc-wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
/* A very long unbroken word must never push the page wider than the screen. */
.atc-card__body,
.atc-feat__txt,
.atc-hero__text,
.atc-glance,
.atc-cap { overflow-wrap: anywhere; }
/* ...but the big figures ("Seconds", "93%") must not be split mid-word, so they wrap as a whole. */
.atc-card__stat,
.atc-feat__stat { flex-wrap: wrap; }
.atc-card__stat b,
.atc-feat__stat b,
.atc-num { max-width: 100%; overflow-wrap: break-word; }

/* ---------- Shared bits ---------- */
.atc-h2bar {
	display: flex; align-items: center; gap: 14px; margin: 0;
	font-size: 20px; font-weight: 600; text-transform: uppercase; letter-spacing: .01em; color: #fff;
}
.atc-h2bar::before { content: ""; width: 32px; height: 4px; background: var(--atc-yellow); display: block; flex: none; }

.atc-btn {
	display: inline-block; background: var(--atc-yellow); color: #000 !important;
	font-size: 14px; font-weight: 600; letter-spacing: .01em; text-transform: uppercase;
	padding: 14px 26px; border-top: 3px solid #fff; line-height: 1.2;
}
.atc-btn:hover { background: #fac428; }
.atc-btn--block { display: block; text-align: center; margin-top: 26px; }
.atc-btn--dark { background: #000; color: #fff !important; }
.atc-btn--dark:hover { background: #222; }
.atc-btn--outline { background: transparent; color: #000 !important; border: 2px solid #000; }
.atc-btn--outline:hover { background: rgba(0, 0, 0, .08); }

.atc-tag {
	display: inline-block; background: var(--atc-yellow); color: #000;
	font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; padding: 5px 10px;
}

.atc-num { font-size: clamp(34px, 4.5vw, 58px); line-height: 1; font-weight: 700; color: var(--atc-yellow); }
.atc-cap { font-size: 14px; line-height: 1.5; margin-top: 10px; color: var(--atc-muted); max-width: 300px; }

/* ---------- Listing: banner ---------- */
.atc-banner { position: relative; display: flex; align-items: flex-end; min-height: 340px; background: #000; overflow: hidden; }
.atc-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.atc-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, .2) 60%); }
.atc-banner__inner { position: relative; z-index: 1; width: 100%; padding-top: var(--atc-header-offset); padding-bottom: 40px; }
.atc-mark {
	display: inline; margin: 0; padding: .08em .4em; background: var(--atc-yellow); color: #000;
	font-size: clamp(30px, 4vw, 48px); font-weight: 500; line-height: 1.6; text-transform: uppercase;
	-webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.atc-intro { max-width: 680px; margin-top: 28px; font-size: 18px; line-height: 1.6; color: #e8e8e8; }
.atc-intro p:last-child { margin-bottom: 0; }

/* ---------- Single: results band ---------- */
.atc-stats { background: #0d0d0d; border-top: 1px solid rgba(255, 255, 255, .12); }
.atc-stats__inner {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px;
	padding-top: 40px; padding-bottom: 40px;
}

/* ---------- Listing: featured ---------- */
.atc-featured { padding: 72px 0 24px; }
.atc-feat { position: relative; display: flex; flex-wrap: wrap; margin-top: 28px; background: var(--atc-panel); }
.atc-feat__media { position: relative; display: flex; flex: 1 1 460px; min-width: 0; }
.atc-feat__img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; display: block; }
.atc-feat__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.atc-feat__txt { flex: 1 1 460px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; justify-content: center; padding: 48px; }
.atc-feat__title { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; font-weight: 600; text-transform: uppercase; color: #fff; }
.atc-feat__title a::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */
.atc-feat__stat { display: flex; align-items: baseline; gap: 12px; }
.atc-feat__stat b { font-size: 44px; line-height: 1; font-weight: 700; color: var(--atc-yellow); }
.atc-feat__stat span { font-size: 14px; color: var(--atc-muted); }
.atc-feat__txt p { margin: 0; max-width: 520px; font-size: 16px; line-height: 1.65; color: var(--atc-muted); }

/* ---------- Listing: filter + grid ---------- */
.atc-all { padding: 56px 0 88px; }
.atc-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.atc-filters { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.atc-filters[hidden] { display: none; }
.atc-pills--sub .atc-pill { min-height: 38px; padding: 7px 14px; font-size: 12px; border-color: rgba(255, 255, 255, .35); }
@media (max-width: 767.98px) { .atc-filters { align-items: flex-start; } }
.atc-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.atc-pills[hidden] { display: none; }
.atc-pill {
	min-height: 44px; padding: 10px 18px; cursor: pointer; background: transparent; color: #fff;
	border: 1px solid rgba(255, 255, 255, .55); font: 600 13px Montserrat, Arial, sans-serif; letter-spacing: .01em; text-transform: uppercase;
}
.atc-pill[aria-pressed="true"] { background: var(--atc-yellow); border-color: var(--atc-yellow); color: #000; }

.atc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 32px; margin-top: 32px; }
.atc-card { position: relative; display: flex; flex-direction: column; background: var(--atc-panel); }
.atc-card[hidden] { display: none; }
.atc-card:hover { outline: 2px solid var(--atc-yellow); }
.atc-card__img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.atc-card__body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 24px; }
.atc-card__sector { font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--atc-yellow); }
.atc-card__stat { display: flex; align-items: baseline; gap: 10px; }
.atc-card__stat b { font-size: 38px; line-height: 1; font-weight: 700; color: #fff; }
.atc-card__stat span { font-size: 13px; line-height: 1.35; color: var(--atc-muted); }
.atc-card__title {
	flex: 1; margin: 0; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .3);
	font-size: 17px; line-height: 1.4; font-weight: 600; text-transform: uppercase; color: #fff;
}
.atc-card__title a::after { content: ""; position: absolute; inset: 0; }
.atc-card .atc-btn { align-self: flex-start; }

/* ---------- Single: hero ---------- */
.atc-hero { padding: var(--atc-header-offset) 0 56px; }
.atc-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.atc-hero__text { flex: 1 1 480px; min-width: 0; }
.atc-hero__img { flex: 1 1 420px; min-width: 0; }
.atc-hero__img img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.atc-crumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; font-size: 13px; font-weight: 500; color: #d0d0d0; }
.atc-crumbs a:hover { color: var(--atc-yellow); }
.atc-crumbs span { display: inline; }
.atc-hero .atc-tag { margin-bottom: 18px; }
.atc-hero__title { margin: 0; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.15; font-weight: 600; text-transform: uppercase; color: #fff; max-width: none; }
.atc-rule { width: 72px; margin: 24px 0 18px; border: 0; border-top: 2px solid var(--atc-yellow); opacity: 1; }
.atc-client { margin: 0; font-size: 14px; text-transform: uppercase; color: #fff; }

/* ---------- Single: article on white ---------- */
.atc-main { padding: 72px 0 80px; background: #fff; color: #1a1a1a; }
.atc-story-layout { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 56px; }
.atc-story-layout--single { justify-content: center; }
.atc-entry { flex: 999 1 520px; min-width: 0; max-width: 760px; font-size: 17px; line-height: 1.75; }
.atc-aside { flex: 1 1 280px; min-width: 0; max-width: 340px; position: sticky; top: calc(var(--atc-header-offset) + 8px); }

.atc-entry > :first-child { margin-top: 0; }
.atc-entry p { margin: 0 0 20px; }
/* Lead style: only the story's first paragraph (not the first paragraph of every section). */
.atc-entry > p:first-of-type { font-size: 19px; font-weight: 600; line-height: 1.6; }
.atc-entry h2 {
	display: flex; align-items: center; gap: 14px; margin: 56px 0 20px;
	font-size: 22px; line-height: 1.2; font-weight: 600; text-transform: uppercase; color: #000;
}
.atc-entry h2::before { content: ""; width: 32px; height: 4px; background: #F9BA02; flex: none; }
.atc-entry h3 { margin: 28px 0 8px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--atc-gold); }
/* Images added with Add Media. No alignment: full width of the column, cropped to 16:9. */
.atc-entry img { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: 36px 0; }
.atc-entry .wp-caption { width: auto !important; max-width: 100%; margin: 36px 0; } /* WordPress adds a fixed width inline. */
.atc-entry .wp-caption img,
.atc-entry figure img { margin: 0; }
.atc-entry .wp-caption-text,
.atc-entry figcaption,
.atc-entry p.atc-caption { margin: 10px 0 0; padding-left: 12px; border-left: 3px solid var(--atc-yellow); font-size: 13px; line-height: 1.5; color: #555; }
.atc-entry p.atc-caption { margin: -24px 0 36px; } /* Caption paragraph under a video */
/* Formats > Image: show whole picture (screenshots, diagrams): no crop. */
.atc-entry img.atc-img-whole { aspect-ratio: auto; object-fit: contain; }
/* Small image with text wrapping: WordPress's Align right / Align left buttons. */
.atc-entry .alignright,
.atc-entry .alignleft { width: 46% !important; margin-top: 6px; margin-bottom: 40px; }
.atc-entry .alignright { float: right; margin-left: 28px; }
.atc-entry .alignleft { float: left; margin-right: 28px; }
.atc-entry img.alignright,
.atc-entry img.alignleft,
.atc-entry .alignright img,
.atc-entry .alignleft img { aspect-ratio: 4 / 3; }
.atc-entry .aligncenter { margin-left: auto; margin-right: auto; }
.atc-entry h2,
.atc-entry blockquote,
.atc-entry .atc-cards,
.atc-entry .atc-video { clear: both; }
/* Formats > Image: side by side (two images in one paragraph). */
.atc-entry p.atc-img-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0; }
.atc-entry p.atc-img-pair img { margin: 0; aspect-ratio: 4 / 3; float: none; width: 100% !important; }
.atc-entry p.atc-img-pair br { display: none; }
/* Photos side by side: Add Media > Create Gallery (2 or 3 columns). */
.atc-entry .gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 36px 0; clear: both; }
.atc-entry .gallery-columns-1 { grid-template-columns: 1fr; }
.atc-entry .gallery-columns-3,
.atc-entry .gallery-columns-4,
.atc-entry .gallery-columns-5 { grid-template-columns: repeat(3, 1fr); }
.atc-entry .gallery-item { width: auto !important; max-width: none; margin: 0; float: none; text-align: left; }
.atc-entry .gallery-icon a { display: block; }
.atc-entry .gallery img { margin: 0; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 0 !important; }
.atc-entry .gallery-caption { margin: 8px 0 0; }
.atc-entry .gallery > br { display: none; }
@media (max-width: 600px) {
	.atc-entry .alignright,
	.atc-entry .alignleft { float: none; width: 100% !important; margin: 28px 0; }
	.atc-entry p.atc-img-pair { grid-template-columns: 1fr; }
	.atc-entry .gallery { grid-template-columns: 1fr; }
}
.atc-entry ul,
.atc-entry ol { margin: 0 0 24px; padding-left: 22px; }
.atc-entry li { margin-bottom: 8px; }
.atc-entry a:not(.atc-btn) { color: #000; text-decoration: underline; text-decoration-color: #F9BA02; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.atc-entry a:not(.atc-btn):hover { color: var(--atc-gold); }

/* Quotes (Formats dropdown in the editor) */
.atc-entry blockquote { margin: 36px 0; padding: 4px 0 4px 24px; border-left: 4px solid #F9BA02; }
.atc-entry blockquote p { margin: 0 0 12px; font-size: 20px; line-height: 1.55; font-weight: 600; font-style: italic; color: #000; }
.atc-entry blockquote cite { display: block; font-size: 13px; font-weight: 600; font-style: normal; letter-spacing: .03em; text-transform: uppercase; color: #444; }
.atc-entry blockquote.atc-quote-dark { padding: 36px 36px 30px; background: #000; border: 0; }
.atc-entry blockquote.atc-quote-dark::before { content: "\201C"; display: block; margin-bottom: 10px; font-size: 64px; line-height: .6; font-weight: 700; color: #F9BA02; }
.atc-entry blockquote.atc-quote-dark p { color: #fff; }
.atc-entry blockquote.atc-quote-dark cite { color: #F9BA02; }
.atc-entry blockquote.atc-quote-yellow { padding: 32px 36px; background: #F9BA02; border: 0; }
.atc-entry blockquote.atc-quote-yellow cite { color: #000; }

/* Bullets as cards: write each bullet as "Bold lead-in" then the sentence */
.atc-entry ul.atc-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 28px 0; padding: 0; list-style: none; }
.atc-entry ul.atc-cards li { margin: 0; padding: 22px; background: #000; color: #fff; font-size: 15px; line-height: 1.6; }
.atc-entry ul.atc-cards strong { display: block; margin-bottom: 8px; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: #F9BA02; }
.atc-entry .atc-btn { margin-top: 8px; color: #000; text-decoration: none; }

/* Sharing buttons from the Scriptless Social Sharing plugin, when placed in the article */
.atc-entry .scriptlesssocialsharing { margin-top: 56px; padding-top: 28px; border-top: 1px solid #ccc; }
.atc-entry .scriptlesssocialsharing__heading { margin: 0 0 14px; font-size: 16px; text-transform: uppercase; color: #000; }
.atc-entry .scriptlesssocialsharing .button { color: #fff !important; text-decoration: none; }

/* ---------- Single: At a glance ---------- */
.atc-glance { padding: 28px; background: #000; color: #fff; }
.atc-glance h2 { margin: 0 0 22px; font-size: 15px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #F9BA02; }
.atc-glance dl { display: flex; flex-direction: column; gap: 18px; margin: 0; }
.atc-glance dt { font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #bdbdbd; }
.atc-glance dd { margin: 4px 0 0; font-size: 16px; font-weight: 600; line-height: 1.5; }
.atc-glance ul { margin: 0; padding: 0; list-style: none; font-size: 15px; font-weight: 600; line-height: 1.7; }

/* ---------- Single: more stories ---------- */
.atc-related { padding: 72px 0 80px; background: #000; }

/* ---------- Call to action ---------- */
.atc-cta { background: var(--atc-yellow); color: #000; }
.atc-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-top: 64px; padding-bottom: 64px; }
.atc-cta h2 { margin: 0; max-width: 640px; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; font-weight: 600; text-transform: uppercase; color: #000; }
.atc-cta p { max-width: 560px; margin: 14px 0 0; font-size: 17px; line-height: 1.55; color: #000; }
.atc-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; }
.atc-cta a:focus-visible { outline-color: #000; }

/* ---------- Small screens ---------- */
@media (max-width: 800px) {
	.atc-ss { --atc-header-offset: 7rem; }
	.atc-feat__txt { padding: 28px; }
	.atc-aside { position: static; max-width: none; }
	.atc-entry blockquote.atc-quote-dark,
	.atc-entry blockquote.atc-quote-yellow { padding: 24px; }
}

/* ---------- Customer strip (BYD) ---------- */
.atc-clients { background: #ededed; padding: 48px 0; }
.atc-clients__h { margin: 0 0 28px; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.25; font-weight: 500; letter-spacing: .01em; text-transform: uppercase; color: #111; text-align: center; } /* Same style as the site's section headings */
.atc-clients__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px 56px; margin: 0; padding: 0; list-style: none; }
.atc-clients__logo { display: block; max-width: 180px; max-height: 64px; width: auto; height: auto; }

/* The theme footer prints its own grey partner strip. On these pages the customer strip above replaces it. */
body.atc-ss-page .container-fluid.py-5[style*="ededed"] { display: none; }

/* ---------- Listing: white background below the hero ---------- */
.atc-featured,
.atc-all { background: #fff; color: #111; }
.atc-featured .atc-h2bar,
.atc-all .atc-h2bar { color: #000; }
.atc-featured a:focus-visible,
.atc-all a:focus-visible,
.atc-all button:focus-visible { outline-color: #000; }
.atc-all .atc-pill { background: #fff; color: #000; border-color: rgba(0, 0, 0, .55); }
.atc-all .atc-pills--sub .atc-pill { border-color: rgba(0, 0, 0, .35); color: #222; }
.atc-all .atc-pill[aria-pressed="true"] { background: var(--atc-yellow); border-color: var(--atc-yellow); color: #000; }
/* The cards and the featured panel stay dark, so the white page makes them stand out. */
.atc-card,
.atc-feat { color: #fff; }

/* ---------- Single: share buttons (Scriptless Social Sharing) ---------- */
.atc-share { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .2); }
.atc-share h3,
.atc-share .scriptlesssocialsharing__heading { font-size: 16px; font-weight: 600; text-transform: uppercase; color: #fff; }

/* ---------- Video badges (overview): the story has a hero video ---------- */
.atc-card__media { position: relative; }
.atc-vbadge,
.atc-vtag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.atc-vbadge { position: absolute; left: 14px; top: 14px; padding: 6px 10px; background: var(--atc-yellow); color: #000; }
.atc-vtag { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .6); color: #fff; font-weight: 600; }
.atc-vbadge::before,
.atc-vtag::before { content: ""; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent currentColor; }
.atc-feat__play,
.atc-video__play {
	position: absolute; left: 50%; top: 50%; z-index: 1; display: flex; align-items: center; justify-content: center;
	width: 84px; height: 84px; border-radius: 50%; background: var(--atc-yellow); box-shadow: 0 6px 24px rgba(0, 0, 0, .45);
	transform: translate(-50%, -50%); transition: transform .2s;
}
.atc-feat__play::before,
.atc-video__play::before { content: ""; margin-left: 6px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #000; }
.atc-feat:hover .atc-feat__play,
.atc-video__btn:hover .atc-video__play { transform: translate(-50%, -50%) scale(1.06); }

/* ---------- Click-to-play video (story hero and story text) ---------- */
.atc-video { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.atc-entry .atc-video { margin: 36px 0; }
.atc-video__btn { position: absolute; inset: 0; display: block; color: #fff !important; text-decoration: none !important; }
.atc-video__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, 0) 45%); }
.atc-video .atc-video__img,
.atc-hero__img .atc-video__img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; aspect-ratio: auto; object-fit: cover; opacity: .85; transition: opacity .2s; }
.atc-video__btn:hover .atc-video__img { opacity: .7; }
.atc-video__lbl { position: absolute; left: 20px; right: 20px; bottom: 16px; z-index: 1; font-size: 14px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: #fff; }
.atc-video__lbl small { display: block; margin-top: 4px; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: #d9d9d9; }
.atc-video__btn:focus-visible { outline: 3px solid var(--atc-yellow); outline-offset: 3px; }
.atc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 600px) {
	.atc-feat__play,
	.atc-video__play { width: 64px; height: 64px; }
	.atc-video__lbl { font-size: 12px; }
}

/* ---------- Homepage (Group Builder): Featured success story on black ----------
 * Layout (width, heading band, spacing) comes from the theme's own classes, as in its other sections. */
.atc-home-feature .atc-home-feature__intro { margin: 0 0 24px; max-width: 720px; font-size: 16px; line-height: 1.6; color: #e2e2e2; }
.atc-home-feature__all { padding-bottom: 4px; border-bottom: 2px solid var(--bs-primary, #F9BA02); color: var(--bs-primary, #F9BA02) !important; font-size: 14px; font-weight: 600; letter-spacing: .02em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.atc-home-feature__all:hover { color: #fff !important; border-color: #fff; }
.atc-home-feature .atc-feat { margin-top: 0; background: #151515; outline: 1px solid rgba(255, 255, 255, .14); }
.atc-home-feature .atc-feat:hover { outline: 2px solid var(--atc-yellow); }
.atc-home-feature .atc-feat__title { margin: 0; }
.atc-home-feature .atc-feat__txt p { margin: 0; }
@media (max-width: 767.98px) { .atc-home-feature .atc-feat__txt { padding: 28px; } }

/* ---------- Featured story with a video (overview + homepage): the video plays in the panel ----------
 * The picture side is the player; the link that makes the panel clickable is limited to the text side. */
.atc-feat--video .atc-feat__txt { position: relative; }
.atc-feat--video:hover { outline: 0; }
.atc-home-feature .atc-feat--video:hover { outline: 1px solid rgba(255, 255, 255, .14); }
.atc-feat__media .atc-video--feat { aspect-ratio: auto; width: 100%; height: 100%; min-height: 340px; }
@media (max-width: 767.98px) { .atc-feat__media .atc-video--feat { min-height: 0; aspect-ratio: 16 / 9; } }

/* ---------- Phones and small tablets: one column, "At a glance" after the opening paragraph ---------- */
.atc-glance-inline { display: none; }
/* Inside the story text, undo the story's own heading and list styles so the panel looks the same as on desktop. */
.atc-entry .atc-glance h2 { display: block; margin: 0 0 22px; font-size: 15px; line-height: 1.3; font-weight: 600; letter-spacing: .04em; color: #F9BA02; }
.atc-entry .atc-glance h2::before { content: none; }
.atc-entry .atc-glance ul { margin: 0; padding: 0; }
.atc-entry .atc-glance li { margin: 0; }
.atc-entry .atc-glance dd,
.atc-entry .atc-glance dt { line-height: 1.5; }
.atc-entry .atc-glance .atc-btn { margin-top: 26px; }
@media (max-width: 991.98px) {
	.atc-story-layout { flex-direction: column; align-items: stretch; gap: 40px; }
	.atc-entry { max-width: none; }
	.atc-aside { display: none; }
	.atc-glance-inline { display: block; margin: 32px 0; }
}

/* Links inside dark boxes (Bullets as cards, Quote: dark box, At a glance): white text, yellow underline. */
.atc-entry ul.atc-cards a:not(.atc-btn),
.atc-entry blockquote.atc-quote-dark a:not(.atc-btn),
.atc-entry .atc-glance a:not(.atc-btn) { color: #fff; text-decoration-color: var(--atc-yellow); }
.atc-entry ul.atc-cards a:not(.atc-btn):hover,
.atc-entry blockquote.atc-quote-dark a:not(.atc-btn):hover,
.atc-entry .atc-glance a:not(.atc-btn):hover { color: var(--atc-yellow); }
.atc-entry ul.atc-cards a:not(.atc-btn):focus-visible,
.atc-entry blockquote.atc-quote-dark a:not(.atc-btn):focus-visible { outline-color: var(--atc-yellow); }

/* "Tap for sound" button over a video playing muted on phones. */
.atc-video__sound {
	position: absolute; left: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
	min-height: 40px; padding: 8px 14px; border: 0; border-radius: 20px; cursor: pointer;
	background: var(--atc-yellow, #F9BA02); color: #000; box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
	font: 700 13px Montserrat, Arial, sans-serif; letter-spacing: .02em; text-transform: uppercase;
}
.atc-video__sound svg { flex: none; }
.atc-video__sound:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
