/* Pulse Mag: dense news layout. Brand colour = --c-header (bar) and --c-primary (panels); labels use --c-accent. */
.layout-news {
	--radius: 4px; --max: 880px; --gap: 17px;
	--c-ink: #1a1a1a; --c-grey: #676767; --c-rule: #b5b5b5; --c-deep: var(--c-footer);
	--c-feat-bg: #4a4a4a; --c-pill: #55ddff; --c-yellow: #ffcd19;
	font-family: var(--f-body); color: #000;
}
html[data-theme="dark"] .layout-news { --c-ink: #eee; --c-rule: #444; }
.layout-news .container { padding: 0 15px; }
.layout-news a { color: inherit; }
.layout-news a:hover { color: var(--c-accent); }
.layout-news img { border-radius: 0; }
.layout-news .thumb-ph { opacity: .2; }

/* Header */
.layout-news .site-header { background: var(--c-header); color: #fff; box-shadow: none; }
.layout-news .header-inner { display: flex; align-items: center; height: 50px; gap: 16px; max-width: 880px; }
.layout-news .site-branding { flex: 1; }
.wordmark { display: inline-flex; align-items: center; gap: 4px; color: #fff !important; }
.wordmark .icon { stroke-width: 2.6; color: var(--c-accent); }
.layout-news .wordmark .site-title { font-family: var(--f-head); font-weight: 800; font-size: 30px; letter-spacing: -.04em; text-transform: lowercase; color: #fff; line-height: 1; }
.layout-news .custom-logo { max-height: 38px; }
.layout-news .main-nav { flex: none; border: 0; background: none; display: block; }
.layout-news .main-nav .menu { display: flex; gap: 0; justify-content: center; }
.layout-news .main-nav .menu > li > a, .more-btn { display: block; padding: 13px 11px; font-family: var(--f-head); font-size: 15px; font-weight: 500; color: #fff; letter-spacing: 0; text-transform: none; }
.layout-news .main-nav .menu > li > a::after { display: none; }
.layout-news .main-nav .menu > li > a:hover { color: #fff; opacity: .8; }
.more-btn { background: none; border: 0; cursor: pointer; padding: 13px 8px; }
.nav-more { position: relative; }
.nav-more .sub-menu { right: 0; left: auto; }
.nav-more:hover .sub-menu, .nav-more:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.layout-news .main-nav .sub-menu a { color: #111; font-family: var(--f-head); font-size: 15px; }
.layout-news .header-actions { flex: 1; justify-content: flex-end; gap: 4px; }
.layout-news .header-actions .icon-btn { color: #fff; width: 36px; height: 36px; }
.login-btn { background: #fff; color: #111 !important; font-family: var(--f-head); font-weight: 600; font-size: 14px; padding: 6px 12px; border-radius: 4px; margin-left: 6px; }
.login-btn:hover { opacity: .9; }
.layout-news .menu-toggle { display: none; }
.ad-slot { text-align: center; padding-top: 14px; }
.ad-label { display: block; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: #888; background: #e6e6e6; padding: 3px; margin-bottom: 8px; }

/* Shared card bits */
.ncard-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 11.5px; }
.ncat { font-weight: 600; text-transform: uppercase; color: var(--c-accent) !important; letter-spacing: .02em; }
.ncard-meta time { color: var(--c-grey); }
.ncard-title { font-family: var(--f-head); font-weight: 600; color: var(--c-ink); letter-spacing: 0; margin: 0; }
.ncard-title a { color: var(--c-ink); }
.ncard-title a:hover { color: var(--c-accent); }
.ncard-media { position: relative; display: block; overflow: hidden; background: #eee; }
.ncard-media img, .ncard-media .thumb-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.play-dot { position: absolute; left: 8px; bottom: 8px; width: 28px; height: 28px; border-radius: 50%; background: var(--c-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.play-dot.big { width: 48px; height: 48px; left: 12px; bottom: 12px; }
.ncard-big .ncard-media { aspect-ratio: 416 / 278; }
.ncard-big .ncard-meta { margin: 14px 0 10px; }
.ncard-big .ncard-title { font-size: 18px; font-weight: 500; line-height: 1.45; }
.ncard-row { display: grid; grid-template-columns: 93px 1fr; gap: 13px; align-items: start; }
.ncard-row .ncard-media { aspect-ratio: 1; }
.ncard-row .ncard-meta { margin: 0 0 6px; }
.ncard-row .ncard-title { font-size: 16px; line-height: 1.25; }
.ncard-grid .ncard-media { aspect-ratio: 200 / 133; }
.ncard-grid .ncard-meta { margin: 14px 0 12px; }
.ncard-grid .ncard-title { font-size: 16px; line-height: 1.25; }
.ncard-grid.is-featured { background: var(--c-feat-bg); padding: 4px 4px 10px; }
.ncard-grid.is-featured .ncat { color: var(--c-yellow) !important; }
.ncard-grid.is-featured time, .ncard-grid.is-featured .ncard-title a { color: #fff; }
.featured-pill { display: inline-block; background: var(--c-pill); color: #111; font-size: 12px; padding: 0 4px; border-radius: 3px; text-transform: uppercase; vertical-align: 2px; }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 503fr) minmax(0, 313fr); gap: 33px; padding-top: 60px; padding-bottom: 40px; }
.hero-media { display: block; aspect-ratio: 503 / 372; overflow: hidden; border-radius: 4px 4px 0 0; }
.hero-media img, .hero-media .thumb-ph { width: 100%; height: 100%; object-fit: cover; }
.hero-panel { background: var(--c-primary); color: #fff; padding: 14px 16px 18px; border-radius: 0 0 4px 4px; }
.hero-panel .ncat { color: #fff !important; font-size: 12px; }
.hero-panel time { color: #fff; font-size: 12px; }
.hero-title { font-family: var(--f-head); font-size: 22px; font-weight: 600; line-height: 1.3; margin: 22px 0 0; letter-spacing: 0; }
.hero-title a { color: #fff; }
.hero-list { display: flex; flex-direction: column; gap: 24px; }

/* Sections */
.sec-title { font-family: var(--f-head); font-size: 20px; font-weight: 600; color: var(--c-ink); margin: 0 0 18px; letter-spacing: 0; }
.sec-title.rule { padding-bottom: 6px; border-bottom: 3px double var(--c-rule); }
.sec-title a { color: inherit; }
.cat-sec { padding-top: 26px; padding-bottom: 20px; }
.big2 { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; margin-bottom: 30px; }
.rows2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 17px; }
.rows2.divided { column-gap: 34px; position: relative; }
.rows2.divided .ncard-row { padding-bottom: 20px; border-bottom: 1px solid #e5e5e5; }
.rows2.divided::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 1px solid #e5e5e5; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 17px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 17px; margin-top: 30px; }

/* Trending */
.trending { padding-top: 10px; padding-bottom: 20px; }
.trend-head { display: flex; justify-content: space-between; align-items: flex-end; flex-direction: row-reverse; flex-wrap: wrap; }
.trend-head .sec-title { width: 100%; order: 2; }
.view-all { display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 600; text-transform: uppercase; color: var(--c-accent) !important; order: 1; margin-left: auto; }
.trend-cols { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 34px; column-rule: 1px solid #e5e5e5; }
.trend-cols li { break-inside: avoid; position: relative; padding: 0 0 14px 22px; font-size: 14.5px; line-height: 1.4; }
.trend-cols li::before { content: ""; position: absolute; left: 0; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--c-accent); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--c-accent); }

/* Newsletter (brand panel) */
.layout-news .newsletter { background: var(--c-primary); margin: 30px 0 0; }
.layout-news .newsletter::before { display: none; }
.layout-news .newsletter-form .btn { background: var(--c-accent); }
.layout-news .newsletter h2 { font-family: var(--f-head); }

/* Footer */
.layout-news .site-footer { background: none; padding: 0; margin-top: 60px; color: #fff; }
.footer-band { background: var(--c-primary); padding: 30px 0 30px; }
.footer-band .wordmark .site-title { font-size: 34px; }
.round-social ul { gap: 15px; margin-top: 18px; }
.round-social a, .round-icon { display: inline-flex; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid #fff; align-items: center; justify-content: center; color: #fff !important; }
.round-social a:hover, .round-icon:hover { background: #fff; color: #111 !important; }
.round-social .icon { width: 16px; height: 16px; }
.footer-dark { background: var(--c-deep); padding: 38px 0 28px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.fhead { font-family: var(--f-body); font-size: 13px; font-weight: 600; text-transform: uppercase; color: var(--c-pill); margin: 0 0 18px; letter-spacing: 0; }
.flinks { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 20px; }
.flinks li { break-inside: avoid; margin-bottom: 14px; font-size: 14.5px; }
.flinks a { color: #fff !important; display: inline-flex; gap: 6px; }
.flinks a:hover { text-decoration: underline; }
.footer-dark .widget-title { color: var(--c-pill); border: 0; font-size: 13px; text-transform: uppercase; font-family: var(--f-body); }
.footer-dark .widget, .footer-dark .widget a { color: #fff; }
.layout-news .footer-copy { margin: 50px 0 0; font-size: 14.5px; color: #fff; opacity: 1; }

/* Single */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; padding: 14px 0; color: #333; flex-wrap: wrap; }
.crumbs a { color: #333; display: inline-flex; }
.crumbs strong { font-weight: 600; color: #111; }
.news-layout { display: grid; grid-template-columns: minmax(0, 552px) 1fr; gap: 40px; padding-top: 30px; }
.title-box { background: var(--c-deep); padding: 22px 16px 26px; border-radius: 4px 4px 0 0; }
.layout-news .entry-title { font-family: var(--f-head); color: #fff; font-size: 27px; font-weight: 700; line-height: 1.25; margin: 0; letter-spacing: 0; }
.author-bar { display: flex; align-items: center; gap: 10px; background: var(--c-primary); color: #fff; padding: 12px 16px; }
.author-bar img { border-radius: 50%; border: 2px solid #fff; }
.ab-text { flex: 1; line-height: 1.3; }
.ab-text a { display: block; font-family: var(--f-head); font-weight: 700; font-size: 12.5px; color: #fff !important; }
.ab-text span { font-size: 10px; }
.pill-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #222 !important; border-radius: 999px; padding: 6px 12px; font-size: 12px; }
.layout-news .entry-figure { margin: 0; }
.layout-news .entry-figure img { width: 100%; max-height: none; border-radius: 0; }
.lead { font-size: 19px; font-weight: 300; line-height: 1.4; color: #222; margin: 22px 16px; }
.layout-news .entry-content { font-size: 17px; line-height: 1.4; margin: 0 16px; }
.layout-news .entry-content > p:first-child::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; font-family: inherit; font-weight: inherit; }
.layout-news .entry-content ul li { font-weight: 700; margin-bottom: 1em; }
.layout-news .entry-content h2, .layout-news .entry-content h3 { font-family: var(--f-head); }
.layout-news .entry-content blockquote { font-family: var(--f-body); font-style: italic; font-size: 17px; border-left: 3px solid var(--c-accent); }
.layout-news .tag-list { margin: 20px 16px; }
.share-bar { display: flex; align-items: center; gap: 10px; background: var(--c-primary); color: #fff; padding: 10px 14px; margin: 26px 14px; font-family: var(--f-head); font-weight: 700; font-size: 13px; }
.share-bar .sb-right { margin-left: auto; }
.layout-news .author-box { margin: 0 14px 24px; background: #f2f2f2; border-radius: 6px; }
.layout-news .author-kicker { color: var(--c-accent); }
.layout-news .comments-area { margin: 30px 0 0; }
.layout-news .comments-area .section-title { font-family: var(--f-body); font-size: 19px; font-weight: 700; }
.layout-news .comment-form .submit { background: var(--c-primary); }
.videos-band { background: var(--c-header); color: #fff; padding: 22px 0 30px; margin-top: 50px; }
.videos-band .sec-title { color: #fff; }
.video-feature { display: grid; grid-template-columns: 1fr 1fr; max-width: 604px; border: 1px solid rgba(255,255,255,.12); }
.vf-media { position: relative; aspect-ratio: 302 / 330; display: block; overflow: hidden; }
.vf-media img, .vf-media .thumb-ph { width: 100%; height: 100%; object-fit: cover; }
.vf-panel { background: var(--c-primary); padding: 90px 14px 20px; }
.vf-panel .ncat, .vf-panel time { color: #fff !important; }
.vf-panel h3 { font-family: var(--f-head); font-size: 20px; font-weight: 700; line-height: 1.35; margin: 14px 0 0; }
.vf-panel h3 a { color: #fff; }
.more-from { padding-top: 24px; max-width: 586px; margin-left: max(0px, calc((100% - 880px) / 2)); }
@media (max-width: 910px) { .more-from { margin-left: 0; max-width: none; } }
.more-from .ncard-row .ncard-title { font-size: 16px; }

/* Archive */
.archive-band { background: var(--c-deep); color: #fff; padding: 2px 0 22px; }
.archive-band .crumbs, .archive-band .crumbs a, .archive-band .crumbs strong { color: #fff; }
.archive-title { font-family: var(--f-head); font-size: 32px; font-weight: 700; color: #fff; margin: 10px 0 0; letter-spacing: 0; }
.tab-row { border-bottom: 1px solid #ccc; margin: 18px 0 30px; }
.tab-row span { display: inline-block; font-family: var(--f-head); font-weight: 700; font-size: 19px; padding-bottom: 8px; border-bottom: 3px solid var(--c-accent); margin-bottom: -1px; }
.arch-top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 0; }
.arch-lead { padding-right: 14px; border-right: 1px solid #e5e5e5; }
.arch-lead .ncard-media { aspect-ratio: 313 / 300; }
.arch-lead .ncard-meta { margin: 14px 0 8px; }
.ncard-title.big { font-size: 22px; line-height: 1.3; }
.arch-side { padding-left: 14px; display: flex; flex-direction: column; }
.arch-side .ncard-row { padding: 0 0 14px; margin-bottom: 14px; border-bottom: 1px solid #e5e5e5; }
.arch-side .ncard-row .ncard-title { font-size: 15px; }
.next-wrap { text-align: center; margin: 20px 0 22px; }
.next-btn { display: inline-block; background: var(--c-primary); color: #fff !important; font-family: var(--f-head); font-weight: 700; font-size: 14px; padding: 8px 12px; border-radius: 4px; }
.round-pages { display: flex; justify-content: center; gap: 12px; }
.round-pages .page-numbers { width: 36px; height: 36px; min-width: 0; padding: 0; border-radius: 50%; border: 1px solid #bbb; font-size: 13px; color: #111; background: transparent; }
.round-pages .page-numbers.current { background: var(--c-yellow); border-color: var(--c-yellow); color: #111; }
.round-pages .page-numbers.dots { border: 0; }

/* Generic list (index/search) */
.layout-news .card-list .card-title { font-family: var(--f-head); }

/* Responsive */
@media (max-width: 860px) {
	.layout-news .main-nav, .layout-news .mode-toggle { display: none; }
	.layout-news .menu-toggle { display: inline-flex; }
	.layout-news .header-actions { flex: none; }
	.hero { grid-template-columns: 1fr; padding-top: 16px; }
	.grid4 { grid-template-columns: 1fr 1fr; }
	.news-layout { grid-template-columns: 1fr; }
	.news-layout .sidebar { display: none; }
	.footer-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
	.layout-news .login-btn { display: none; }
	.big2, .rows2 { grid-template-columns: 1fr; }
	.rows2.divided::before { display: none; }
	.trend-cols { columns: 1; }
	.grid3 { grid-template-columns: 1fr 1fr; }
	.arch-top { grid-template-columns: 1fr; }
	.arch-lead { border: 0; padding: 0; margin-bottom: 18px; }
	.arch-side { padding: 0; }
	.footer-cols { grid-template-columns: 1fr; }
	.video-feature { grid-template-columns: 1fr; }
	.vf-panel { padding-top: 20px; }
	.layout-news .entry-title { font-size: 24px; }
	.author-bar .pill-btn { display: none; }
}

/* Specificity fixes (container padding shorthand) */
.layout-news .hero { padding-top: 60px; padding-bottom: 40px; }
.layout-news .cat-sec { padding-top: 26px; padding-bottom: 20px; }
.layout-news .trending { padding-top: 10px; padding-bottom: 20px; }
.layout-news .more-from { padding-top: 24px; }
@media (max-width: 860px) { .layout-news .hero { padding-top: 16px; } }
.layout-news .entry-title { font-size: 30px; }
.comments-head { display: flex; justify-content: space-between; align-items: center; margin: 30px 0 10px; }
.comments-head h2 { font-family: var(--f-body); font-size: 19px; font-weight: 700; margin: 0; }
.sort-by { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #666; }
.sort-by strong { color: #111; }
.layout-news .comments-area > .section-title { display: none; }
.layout-news .comment-respond { background: #f0f0f0; border-radius: 6px; padding: 16px; }
.layout-news .comment-reply-title { font-size: 15px; }
@media (max-width: 600px) { .layout-news .entry-title { font-size: 24px; } }
