/* Frontaranews 1.1 — main stylesheet. Mobile first.
   One recurring motif: the coral dot from the logo marks "now" (breaking, latest, fresh stories). */
:root {
	--navy: #0B1F3A;
	--navy-2: #102A4C;
	--navy-3: #08172B;
	--red: #D7381F;
	--coral: #FF6B4A;
	--paper: #F4F6F9;
	--white: #fff;
	--topbar: #E8ECF2;
	--ink: #14202E;
	--slate: #566174;
	--line: #D5DAE2;
	--accent: var(--red);
	--radius: 4px;
	--font-body: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-head: 'Source Serif 4', Georgia, 'Times New Roman', serif;
	--wrap: 1200px;
}
.fn-lang-bn {
	--font-body: 'Noto Sans Bengali', 'Archivo', system-ui, sans-serif;
	--font-head: 'Noto Serif Bengali', 'Noto Sans Bengali', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; }
img, video, iframe { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { color: var(--red); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; margin: 0; }
ul, ol { padding: 0; margin: 0; list-style: none; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; z-index: 100; border-radius: var(--radius); }
.skip-link:focus { top: 8px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 16px; }
.wrap--medium { max-width: 960px; }
.wrap--narrow { max-width: 740px; }

/* The "now" dot */
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex: none; }

/* Header ---------------------------------------------------------------- */
.site-header { background: var(--white); }
.topbar { background: var(--topbar); color: var(--slate); font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.lang-switch { display: flex; gap: 16px; flex-wrap: wrap; }
.lang-switch a { color: var(--slate); text-decoration: none; padding: 6px 0; display: inline-block; border-bottom: 2px solid transparent; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current] { color: var(--ink); font-weight: 700; border-bottom-color: var(--red); }

.mainbar { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 16px; }
.mainbar__actions { display: flex; gap: 4px; }
.icon-btn { background: none; border: 0; color: var(--navy); width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--radius); cursor: pointer; }
.icon-btn:hover { background: var(--paper); }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.logo:hover { color: var(--navy); }
.logo__text { font-size: 28px; letter-spacing: -0.02em; line-height: 1; }
.logo__bold { font-weight: 800; }
.logo__light { font-weight: 400; color: var(--red); }
.custom-logo { max-height: 52px; width: auto; }

.search-panel { padding: 14px 0; background: var(--paper); border-top: 1px solid var(--line); }
.search-panel[hidden] { display: none; }
.search-form { display: flex; gap: 8px; max-width: 560px; }
.search-form input { flex: 1; min-width: 0; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.search-form button, .newsletter button, .btn, .contact-form button {
	font: inherit; font-weight: 600; background: var(--navy); color: #fff; border: 0; padding: 12px 20px; border-radius: var(--radius); cursor: pointer; text-decoration: none; display: inline-block;
}
.search-form button:hover, .btn:hover, .contact-form button:hover { background: var(--red); color: #fff; }

.site-nav { display: none; background: var(--navy); }
.site-nav.is-open { display: block; }
.site-nav .menu { display: flex; flex-direction: column; }
.site-nav a { display: block; padding: 13px 0; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.site-nav a:hover { color: var(--coral); }
.site-nav .menu > li:last-child > a { border-bottom: 0; }
.site-nav .sub-menu { padding-left: 16px; }
.site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { color: var(--coral); }

/* Breaking bar */
.breaking { background: var(--red); color: #fff; }
.breaking__inner { display: flex; align-items: center; gap: 16px; min-height: 46px; overflow: hidden; }
.breaking__label { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; font-weight: 800; }
.breaking .dot { background: var(--white); animation: fn-pulse 2s ease-out infinite; }
.breaking__list { display: flex; gap: 32px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; padding: 8px 0; }
.breaking__list::-webkit-scrollbar { display: none; }
.breaking a { color: #fff; font-weight: 600; text-decoration: none; }
.breaking a:hover { text-decoration: underline; color: #fff; }
@keyframes fn-pulse {
	0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .7); }
	70%, 100% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); }
}

/* Cards ----------------------------------------------------------------- */
.kicker { display: inline-block; font-size: 14px; font-weight: 700; color: var(--accent); text-decoration: none; margin-bottom: 4px; }
.kicker:hover { text-decoration: underline; color: var(--accent); }

.card { display: flex; flex-direction: column; gap: 10px; }
.card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__placeholder { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 12px, transparent 12px 24px), linear-gradient(135deg, var(--navy), #1C3A63); }
.card__title { font-size: 20px; font-weight: 700; line-height: 1.3; }
.card__title a { text-decoration: none; }
.card__title a:hover { text-decoration: underline; color: inherit; }
.card__excerpt { margin: 6px 0 0; color: var(--slate); font-size: 16px; }
.card__time { display: block; margin-top: 6px; font-size: 13px; color: var(--slate); }
.card--fresh .card__time::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red); margin-inline-end: 6px; }

.card--compact { gap: 0; }
.card--compact .card__title { font-size: 17px; }

.card--row { flex-direction: row; gap: 14px; align-items: flex-start; }
.card--row .card__media { flex: 0 0 110px; aspect-ratio: 1; }
.card--row .card__title { font-size: 17px; }

/* The one loud element: lead story, headline over the photograph */
.card--overlay { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy); color: #fff; min-height: 380px; }
.card--overlay .card__media { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; border-radius: 0; }
.card--overlay:hover .card__media img { transform: scale(1.02); }
.card--overlay .card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 120px 20px 22px; background: linear-gradient(to top, rgba(8, 23, 43, .97) 0%, rgba(8, 23, 43, .8) 48%, rgba(8, 23, 43, 0) 100%); }
.card--overlay .kicker { color: var(--coral); }
.card--overlay .card__title { font-size: 28px; line-height: 1.2; letter-spacing: -0.01em; }
.card--overlay .card__title a { color: #fff; }
.card--overlay .card__excerpt { color: #D8E0EC; }
.card--overlay .card__time { color: #B8C4D6; }
.card--overlay.card--fresh .card__time::before { background: var(--coral); }

/* Home ------------------------------------------------------------------ */
.top { display: grid; gap: 24px; padding: 24px 0 8px; }
.top__mid { display: grid; gap: 24px; align-content: start; }
.top__list { align-self: start; }
.top__list .card { padding: 14px 0; border-bottom: 1px solid var(--line); }
.top__list .card:first-child { padding-top: 0; }
.top__list .card:last-child { border-bottom: 0; }

.home-grid { display: grid; gap: 40px; padding: 40px 0 48px; }
.block { margin-bottom: 44px; }
.block__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.block__title { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 700; }
.block__title::before { content: ""; width: 14px; height: 14px; border-radius: 2px; background: var(--accent); flex: none; }
.block__title a { text-decoration: none; }
.block__more { font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none; }
.block__more:hover { text-decoration: underline; color: var(--accent); }
.block .kicker { color: var(--accent); }
.block--a0 { --accent: #D7381F; }
.block--a1 { --accent: #1F5FBF; }
.block--a2 { --accent: #0F766E; }
.block--a3 { --accent: #A15C07; }

.block__grid { display: grid; gap: 24px; }
.block__rest { display: grid; gap: 22px; align-content: start; }
.block__big .card__title { font-size: 26px; }
.block__rest .card__title { font-size: 17px; }

.side__title { display: flex; align-items: center; gap: 10px; font-size: 26px; font-weight: 700; margin-bottom: 20px; }
.side__title .dot { background: var(--red); animation: fn-pulse-red 2s ease-out infinite; }
@keyframes fn-pulse-red {
	0% { box-shadow: 0 0 0 0 rgba(215, 56, 31, .6); }
	70%, 100% { box-shadow: 0 0 0 9px rgba(215, 56, 31, 0); }
}
.timeline { margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px; }
.timeline li::before { content: ""; position: absolute; left: -29px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 2px solid var(--navy); }
.timeline li:first-child::before { background: var(--red); border-color: var(--red); }
.timeline time { display: block; font-size: 13px; font-weight: 700; color: var(--slate); }
.timeline__title { font-size: 17px; font-weight: 700; margin: 2px 0 2px; }
.timeline__title a { text-decoration: none; }
.timeline__title a:hover { text-decoration: underline; color: inherit; }

.grid { display: grid; gap: 28px 24px; }
.related { padding-block: 24px 40px; }

/* Archive --------------------------------------------------------------- */
.archive-head { padding: 36px 0 28px; }
.archive-head__label { margin: 0; color: var(--red); font-weight: 700; font-size: 15px; }
.archive-head__title { font-size: 38px; margin: 4px 0 12px; }
.archive-head__desc { color: var(--slate); max-width: 640px; }
.archive-head .search-form { margin-top: 12px; }

.navigation.pagination { margin: 36px 0 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--white); }
.page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }
a.page-numbers:hover { border-color: var(--red); }

/* Article --------------------------------------------------------------- */
.article { padding-bottom: 24px; }
.article__head { padding-top: 36px; }
.article__title { font-size: 34px; font-weight: 700; letter-spacing: -0.01em; }
.article__standfirst { font-family: var(--font-head); font-size: 21px; line-height: 1.5; color: var(--slate); margin: 14px 0 0; }
.byline { display: flex; flex-direction: column; gap: 10px; margin: 22px 0; padding: 14px 0; border-block: 1px solid var(--line); font-size: 14px; color: var(--slate); }
.byline__author { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; }
.byline__author img { border-radius: 50%; }
.byline__dates { display: flex; flex-direction: column; gap: 2px; }
.article__media { margin: 0 auto 20px; padding-inline: 0; }
.article__media img { width: 100%; display: block; }
.article__media figcaption { padding: 8px 16px 0; font-size: 14px; color: var(--slate); }

.share { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; font-size: 14px; }
.share__label { font-weight: 700; color: var(--slate); }
.share ul { display: flex; gap: 8px; flex-wrap: wrap; }
.share a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; background: var(--white); font-weight: 600; }
.share a:hover { border-color: var(--red); }

.entry { font-size: 19px; line-height: 1.8; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-size: 27px; margin-top: 1.7em; }
.entry h3 { font-size: 22px; margin-top: 1.4em; }
.entry blockquote { margin-inline: 0; padding-left: 20px; border-left: 4px solid var(--red); font-family: var(--font-head); font-size: 22px; color: var(--navy); }
.entry a { color: var(--red); }
.entry figure { margin-inline: 0; }
.entry figcaption, .wp-caption-text { font-size: 14px; color: var(--slate); }
.entry ul, .entry ol { padding-left: 1.4em; list-style: revert; }
.entry li + li { margin-top: .35em; }
.entry table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry th, .entry td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.dateline { margin-bottom: 0; }
.dateline strong { letter-spacing: .02em; }
.dateline + p { margin-top: .2em; }

/* FAQ accordion */
.entry details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
.entry details + details { margin-top: 10px; }
.entry summary { cursor: pointer; font-weight: 700; padding: 16px 28px 16px 0; list-style: none; position: relative; }
.entry summary::-webkit-details-marker { display: none; }
.entry summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; color: var(--red); }
.entry details[open] summary::after { content: "–"; }
.entry details > p { margin: 0 0 16px; font-size: 17px; }

.correction { margin: 28px 0; padding: 14px 18px; background: #FFF7E6; border-left: 4px solid #E8A317; border-radius: var(--radius); font-size: 16px; }
.tags { margin: 28px 0; font-size: 14px; }
.tags__label { font-weight: 700; color: var(--slate); }
.tags a { display: inline-block; margin: 2px 4px 2px 0; padding: 4px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; }
.author-box { display: flex; gap: 16px; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 28px; }
.author-box img { border-radius: 50%; flex: none; }
.author-box__name { font-size: 18px; }
.author-box p { margin: 6px 0 0; color: var(--slate); font-size: 15px; }

/* Forms */
.contact-form { margin-top: 28px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: 17px; line-height: 1.5; }
.contact-form p { margin: 0 0 16px; }
.contact-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select, .contact-form textarea, .comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white);
}
.contact-form__hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.form-note { padding: 14px 18px; border-radius: var(--radius); margin: 20px 0; font-size: 16px; }
.form-note--ok { background: #E7F6EE; border-left: 4px solid #1E8A5B; }
.form-note--err { background: #FDECEA; border-left: 4px solid var(--red); }

/* Comments */
.comments { margin: 40px 0; }
.comment-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-list .children { padding-left: 24px; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.comment-form .submit { font: inherit; font-weight: 600; background: var(--navy); color: #fff; border: 0; padding: 12px 20px; border-radius: var(--radius); cursor: pointer; }

/* 404 */
.notfound { padding-block: 64px; }
.notfound__code { font-size: 80px; font-weight: 800; color: var(--red); margin: 0; line-height: 1; }

/* Newsletter */
.newsletter { background: var(--navy-2); color: #fff; }
.newsletter__inner { display: grid; gap: 16px; padding-block: 40px; align-items: center; }
.newsletter__title { font-size: 26px; color: #fff; }
.newsletter p { margin: 6px 0 0; color: #CFD8E6; }
.newsletter form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter input[type="email"] { flex: 1 1 220px; min-width: 0; font: inherit; padding: 12px 14px; border: 0; border-radius: var(--radius); }
.newsletter button { background: var(--red); }
.newsletter button:hover { background: var(--coral); color: var(--navy); }

/* Footer */
.site-footer { background: var(--navy-3); color: #CFD8E6; }
.footer__grid { display: grid; gap: 32px; padding-block: 48px 36px; }
.site-footer .logo, .site-footer .logo__bold { color: #fff; }
.site-footer .logo__light { color: var(--coral); }
.footer__tagline { margin: 14px 0; max-width: 340px; font-size: 15px; }
.footer__col h2 { font-family: var(--font-body); font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer__col ul { display: grid; gap: 8px; }
.footer__col a, .social a { color: #CFD8E6; text-decoration: none; font-size: 15px; }
.footer__col a:hover, .social a:hover { color: #fff; text-decoration: underline; }
.social { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; }
.footer__legal { border-top: 1px solid #1C3050; padding-block: 18px; font-size: 13px; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { max-width: 960px; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.sticky, .bypostauthor { display: block; }

/* Tablet */
@media (min-width: 720px) {
	body { font-size: 18px; }
	.top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.top__lead { grid-column: 1 / -1; }
	.top__mid { grid-template-columns: 1fr; }
	.card--overlay { min-height: 460px; }
	.card--overlay .card__title { font-size: 36px; }
	.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.block__rest { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.article__title { font-size: 44px; }
	.byline { flex-direction: row; justify-content: space-between; align-items: center; }
	.newsletter__inner { grid-template-columns: 1fr 1fr; }
	.footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Desktop */
@media (min-width: 1000px) {
	.icon-btn.nav-toggle { display: none; }
	.site-nav, .site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: row; gap: 30px; }
	.site-nav a { padding: 15px 0; border-bottom: 3px solid transparent; }
	.site-nav a:hover { border-bottom-color: var(--coral); color: #fff; }
	.site-nav .current-menu-item > a, .site-nav .current-menu-ancestor > a { border-bottom-color: var(--coral); color: #fff; }
	.site-nav .menu > li { position: relative; }
	.site-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 210px; background: var(--navy-2); padding: 6px 18px; z-index: 20; border-radius: 0 0 var(--radius) var(--radius); }
	.site-nav .menu > li:hover > .sub-menu, .site-nav .menu > li:focus-within > .sub-menu { display: block; }
	.site-nav .sub-menu a { border: 0; padding: 10px 0; font-weight: 400; }

	.top { grid-template-columns: repeat(12, minmax(0, 1fr)); padding-top: 28px; }
	.top__lead { grid-column: span 6; }
	.top__mid { grid-column: span 3; grid-template-columns: 1fr; }
	.top__list { grid-column: span 3; }
	.card--overlay { height: 100%; min-height: 520px; }
	.card--overlay .card__title { font-size: 38px; }

	.home-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; }
	.home-grid__side { align-self: start; }
	.block__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
	.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media print {
	.topbar, .site-nav, .search-panel, .breaking, .share, .newsletter, .site-footer, .related, .comments, .mainbar__actions { display: none !important; }
	body { background: #fff; font-size: 12pt; }
}

/* ===== v1.2 ===== */

/* Reading time */
.byline__read { color: var(--slate); font-size: 14px; font-weight: 600; }

/* Live tag and live blog */
.live-tag { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; padding: 4px 8px 4px 7px; border-radius: 3px; background: var(--red); color: #fff; font: 700 11px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; }
.live-tag .dot { width: 6px; height: 6px; background: #fff; animation: fn-pulse 2s ease-out infinite; }
.card--overlay .live-tag { margin-right: 6px; }
.live { margin: 24px 0; padding: 18px 20px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); }
.live__title { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 14px; }
.live__title .live-tag { margin: 0; }
.live__list { margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); }
.live__list li { position: relative; padding: 0 0 18px; font-size: 17px; line-height: 1.55; }
.live__list li:last-child { padding-bottom: 0; }
.live__list li::before { content: ""; position: absolute; left: -25px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.live__time { display: block; font-size: 13px; font-weight: 700; color: var(--red); }

/* Most read */
.most-read { margin-top: 40px; }
.most-read ol { display: grid; gap: 0; }
.most-read li { display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.most-read li:first-child { padding-top: 0; }
.most-read__n { flex: none; width: 26px; font-family: var(--font-head); font-size: 28px; font-weight: 700; line-height: 1; color: var(--red); }
.most-read a { font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.3; text-decoration: none; }
.most-read a:hover { text-decoration: underline; color: inherit; }

/* Video band */
.videos { background: var(--navy-3); color: #fff; padding: 40px 0 44px; margin-top: 8px; }
.videos .block__head { border-bottom-color: #1C3050; }
.videos .block__title { color: #fff; }
.videos .block__title::before { background: var(--coral); }
.videos .block__more { color: var(--coral); }
.videos__grid { display: grid; gap: 26px 22px; }
.vcard__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vcard__play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; display: grid; place-items: center; background: rgba(215, 56, 31, .94); color: #fff; box-shadow: 0 4px 18px rgba(0, 0, 0, .35); transition: transform .15s ease; }
.vcard__media:hover .vcard__play { transform: scale(1.08); }
.vcard__title { font-size: 18px; margin: 12px 0 4px; }
.vcard__title a { color: #fff; text-decoration: none; }
.vcard__title a:hover { text-decoration: underline; color: #fff; }
.videos .card__time { color: #B8C4D6; }

/* Ads and the Aurelex Digital promotion */
.ad { margin: 24px 0; text-align: center; }
.ad__label { display: block; margin-bottom: 6px; color: var(--slate); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.ad__body { overflow: hidden; }
.ad-wrap { padding-top: 14px; }
.promo { position: relative; margin: 32px 0; overflow: hidden; border-radius: var(--radius); background: #0B1220; color: #fff; }
.promo__label { position: absolute; top: 12px; right: 14px; color: #9FB0C8; font-size: 10px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.promo__link, .promo__link:hover { display: block; padding: 22px 20px 20px; color: #fff; text-decoration: none; }
.promo__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.promo__mark { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; color: #fff; }
.promo__mark:has(.promo__logo) { width: auto; border: 0; border-radius: 0; }
.promo__logo { display: block; max-height: 36px; width: auto; max-width: 160px; }
.promo__brand { font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.promo__brand em { font-style: normal; font-weight: 400; color: #9FB0C8; }
.promo__head { display: block; margin-bottom: 8px; font-family: var(--font-head); font-size: 22px; font-weight: 700; line-height: 1.25; }
.promo__sub { display: block; margin-bottom: 12px; color: #B8C4D6; font-size: 15px; line-height: 1.5; }
.promo__list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.promo__list span { padding: 4px 10px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; color: #DCE4F0; font-size: 12px; line-height: 1.4; }
.promo__cta { display: inline-block; padding: 10px 16px; border-radius: var(--radius); background: #fff; color: #0B1220; font-size: 14px; font-weight: 700; }
.promo__link:hover .promo__cta { background: var(--coral); }
.promo--inline { margin: 28px 0; }
.promo--inline .promo__head { font-size: 18px; }
.promo--inline .promo__link { padding-block: 18px; }
.promo--side { margin-top: 40px; }
.promo--side .promo__head { font-size: 20px; }

/* Footer: logo and DMCA badge */
.logo-footer .custom-logo, .logo-invert .custom-logo { max-height: 48px; width: auto; }
.logo-invert { display: inline-block; }
.logo-invert .custom-logo { filter: brightness(0) invert(1); }
.footer__legal-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.dmca-badge { display: inline-block; line-height: 0; }
.dmca-badge img { width: 250px; max-width: 100%; height: auto; border-radius: 3px; }

/* Theme toggle */
.ico-sun { display: none; }

/* Dark mode */
.logo-dark-only { display: none; }
html[data-theme="dark"] {
	color-scheme: dark;
	--paper: #0C1422;
	--white: #121C2E;
	--topbar: #0A101C;
	--ink: #E7ECF4;
	--slate: #9DAABF;
	--line: #26344C;
}
html[data-theme="dark"] .ico-sun { display: block; }
html[data-theme="dark"] .ico-moon { display: none; }
html[data-theme="dark"] .icon-btn,
html[data-theme="dark"] .logo,
html[data-theme="dark"] .logo:hover { color: var(--ink); }
html[data-theme="dark"] .icon-btn:hover { background: var(--line); }
html[data-theme="dark"] body.fn-has-dark-logo .custom-logo-link:not(.logo-dark-only):not(.logo-footer) { display: none; }
html[data-theme="dark"] .logo-dark-only { display: inline-block; }
html[data-theme="dark"] body:not(.fn-has-dark-logo) .site-header .custom-logo { filter: brightness(0) invert(1); }
html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select { color: var(--ink); }
html[data-theme="dark"] .site-nav { border-top: 1px solid var(--line); }
html[data-theme="dark"] .block--a0 { --accent: #FF6B4A; }
html[data-theme="dark"] .block--a1 { --accent: #6FA3FF; }
html[data-theme="dark"] .block--a2 { --accent: #3CC5B7; }
html[data-theme="dark"] .block--a3 { --accent: #F0A64A; }
html[data-theme="dark"] .kicker { color: #FF8A6E; }
html[data-theme="dark"] .block .kicker { color: var(--accent); }
html[data-theme="dark"] .timeline li::before { background: var(--paper); border-color: var(--slate); }
html[data-theme="dark"] .timeline li:first-child::before { background: var(--red); border-color: var(--red); }
html[data-theme="dark"] .correction { background: #2A2112; border-left-color: #E8A317; }
html[data-theme="dark"] .form-note--ok { background: #10281E; }
html[data-theme="dark"] .form-note--err { background: #2E1613; }
html[data-theme="dark"] .page-numbers.current,
html[data-theme="dark"] .btn,
html[data-theme="dark"] .search-form button,
html[data-theme="dark"] .contact-form button { background: #1C3A63; color: #fff; }
html[data-theme="dark"] .btn:hover,
html[data-theme="dark"] .search-form button:hover,
html[data-theme="dark"] .contact-form button:hover { background: var(--red); }
html[data-theme="dark"] .most-read__n,
html[data-theme="dark"] .live__time { color: #FF8A6E; }
html[data-theme="dark"] .promo { border: 1px solid var(--line); }

/* Tablet and up */
@media (min-width: 720px) {
	.videos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.promo__link, .promo__link:hover { padding: 26px 26px 24px; }
}
@media (min-width: 1000px) {
	.videos__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.promo--side .promo__link { padding: 22px 20px 20px; }
}

@media print {
	.promo, .ad, .videos, .dmca-badge, [data-theme-toggle] { display: none !important; }
}
