/*
Theme Name: CelebNextGen
Theme URI: https://celebnextgen.com/
Author: CelebNextGen
Author URI: https://celebnextgen.com/
Description: An editorial entertainment, movies, TV and celebrity news theme. White canvas, black navigation and editorial panels, cinematic promo banners, and a homepage managed entirely from the Customizer.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: celebnextgen
Tags: news, entertainment, blog, one-column, grid-layout, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */
:root {
	--bg: #ffffff;
	--ink: #111111;
	--black: #050505;
	--panel: #050505;
	--panel-ink: #ffffff;
	--panel-line: #2b2b2b;
	--panel-muted: #b3b3b3;
	--accent: #b5e0f1;
	--muted: #6b6b6b;      /* #777 fails WCAG AA on white for small text; this passes. */
	--line: #111111;
	--soft: #ececec;
	--wrap: 1200px;
	--gap: 20px;
	--font-head: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
	--font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.55 var(--font-body);
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button, input { font: inherit; }
:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }
.site-header :focus-visible, .site-footer :focus-visible, .cng-panel :focus-visible { outline-color: var(--accent); }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	left: 8px; top: 8px; z-index: 1000; background: var(--accent); color: #111;
	padding: 12px 16px; font-weight: 700; text-decoration: none;
}

.cng-container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gap); }

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

/* ==========================================================================
   3. Header
   ========================================================================== */
.site-header { background: var(--black); color: #fff; position: relative; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 60px; }
.site-logo { flex: none; line-height: 0; }
.site-logo img, .site-logo .custom-logo { max-height: 40px; width: auto; }

.logo-mark {
	display: inline-flex; align-items: center; text-decoration: none; color: #fff;
	font: 700 22px/1 var(--font-head); letter-spacing: -.02em; text-transform: uppercase;
}
.logo-mark b { background: var(--accent); color: #111; padding: 5px 7px 4px; margin-left: 4px; font-weight: 700; }

.primary-nav { flex: 1; min-width: 0; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.primary-nav li { position: relative; }
.primary-nav a {
	display: block; padding: 21px 12px 18px; color: #fff; text-decoration: none;
	font: 700 13px/1 var(--font-head); text-transform: uppercase; letter-spacing: .06em;
	border-bottom: 3px solid transparent;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current-cat > a { border-bottom-color: var(--accent); }

.primary-nav .sub-menu {
	display: none; position: absolute; left: 0; top: 100%; min-width: 200px;
	background: var(--black); border-top: 3px solid var(--accent); padding: 6px 0; z-index: 60;
}
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: block; }
.primary-nav .sub-menu a { padding: 12px 16px; border: 0; }
.primary-nav .sub-menu a:hover { background: #1a1a1a; }

.header-tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.social a, .icon-btn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; color: #fff; background: none; border: 0; cursor: pointer;
}
.social a:hover, .icon-btn:hover { color: var(--accent); }
.nav-toggle { display: none; }

.search-panel { background: #121212; border-top: 1px solid var(--panel-line); padding: 14px 0; }
.search-panel[hidden] { display: none; }

.search-form { display: flex; max-width: 100%; }
.search-field {
	flex: 1; min-width: 0; padding: 12px 14px; border: 2px solid #fff; border-right: 0;
	background: #fff; color: #111; border-radius: 0; font-size: 16px;
}
.search-submit {
	flex: none; padding: 0 20px; background: var(--accent); color: #111; border: 2px solid var(--accent);
	font: 700 13px/1 var(--font-head); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; border-radius: 0;
}
.search-submit:hover { background: #fff; border-color: #fff; }

@media (max-width: 860px) {
	.header-inner { flex-wrap: wrap; gap: 0 12px; }
	.nav-toggle { display: inline-flex; }
	.primary-nav { display: none; order: 5; flex: 0 0 100%; border-top: 1px solid var(--panel-line); }
	.primary-nav.is-open { display: block; }
	.primary-nav ul { display: block; padding: 6px 0 12px; }
	.primary-nav a { padding: 14px 4px; border-bottom: 1px solid #1c1c1c; font-size: 14px; }
	.primary-nav .sub-menu { display: block; position: static; border: 0; padding: 0 0 0 14px; background: none; }
}
@media (max-width: 560px) {
	.social--header { display: none; }
	.logo-mark { font-size: 19px; }
}

/* ==========================================================================
   4. Layout, section heads, page head
   ========================================================================== */
.site-main { padding: 28px 0 64px; }
.cng-section { margin: 0 0 44px; }

.cng-section-head {
	border-top: 3px solid var(--line); padding-top: 10px; margin: 0 0 18px;
	display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
}
.cng-section-head h2 {
	font: 700 clamp(22px, 3vw, 30px)/1.05 var(--font-head);
	text-transform: uppercase; letter-spacing: -.01em;
}

.page-head { margin: 0 0 28px; }
.page-title {
	font: 700 clamp(40px, 8vw, 80px)/.95 var(--font-head);
	text-transform: uppercase; letter-spacing: -.035em; margin: 0 0 12px;
}
.query { word-break: break-word; }

.breadcrumbs { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: #b0b0b0; }
.breadcrumbs a { color: var(--ink); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }

.subnav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.subnav a {
	display: inline-block; text-decoration: none; padding: 4px 0;
	font: 700 12px/1.2 var(--font-head); text-transform: uppercase; letter-spacing: .08em;
	border-bottom: 2px solid var(--line);
}
.subnav a:hover { border-bottom-color: #3aa7cf; }

.archive-desc { max-width: 680px; font-size: 18px; color: #333; margin: 6px 0 0; }
.author-head { display: flex; gap: 20px; align-items: center; }
.author-head__avatar img { border-radius: 50%; }

/* ==========================================================================
   5. Grids and cards
   ========================================================================== */
.cng-grid-4, .cng-grid-3, .cng-grid-2, .cng-latest-grid { display: grid; gap: var(--gap); }
.cng-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cng-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.cng-grid-2, .cng-latest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.cng-grid-3--cards { gap: 32px var(--gap); margin-bottom: 40px; }

.cng-card { margin: 0; }
.cng-card__media, .cng-row__media, .cng-list-item__media, .featured-story__media, .cng-banner__media {
	display: block; position: relative; overflow: hidden; background: #1c1c1c;
}
.cng-card__media { aspect-ratio: 16 / 9; }
.cng-card__media img, .cng-row__media img, .cng-list-item__media img, .featured-story__media img, .cng-banner__media img {
	width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease;
}
.cng-card:hover .cng-card__media img, .cng-row:hover .cng-row__media img { transform: scale(1.03); }
.cng-ph { position: absolute; inset: 0; background: linear-gradient(135deg, #1c1c1c, #2e2e2e); }

.cng-card__body { padding-top: 10px; }
.cng-label {
	display: inline-block; font: 700 11px/1 var(--font-head); text-transform: uppercase;
	letter-spacing: .09em; color: var(--muted); text-decoration: none; margin-bottom: 6px;
}
a.cng-label:hover { color: var(--ink); text-decoration: underline; }
.cng-card__title { font: 700 18px/1.22 var(--font-head); letter-spacing: -.005em; }
.cng-card__title a { text-decoration: none; }
.cng-card__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.cng-card__excerpt { font-size: 14px; color: #444; margin: 8px 0 0; }
.cng-card__date, .cng-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* ==========================================================================
   6. Dark editorial panels and compact rows
   ========================================================================== */
.cng-panel { background: var(--panel); color: var(--panel-ink); padding: 20px 22px 8px; }
.cng-panel__title {
	font: 700 clamp(22px, 2.6vw, 28px)/1 var(--font-head); text-transform: uppercase;
	letter-spacing: -.01em; padding-bottom: 14px; margin: 0 0 4px; border-bottom: 3px solid var(--accent);
}
.cng-panel__title a { text-decoration: none; }
.cng-panel__title a:hover { color: var(--accent); }
.cng-panel--plain { padding-top: 8px; }

.cng-row {
	display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 16px;
	width: 100%; margin: 0; padding: 14px 0; border-top: 1px solid var(--panel-line);
}
.cng-panel__list > .cng-row:first-child, .cng-panel__title + .cng-panel__list > .cng-row:first-child { border-top: 0; }
.cng-row__media { flex: 0 0 124px; width: 124px; aspect-ratio: 3 / 2; }
.cng-row__title {
	flex: 1 1 0%; min-width: 0; margin: 0; color: #fff; writing-mode: horizontal-tb;
	font: 700 16px/1.28 var(--font-head); letter-spacing: 0; word-break: normal; overflow-wrap: break-word; hyphens: manual;
}
.cng-row__title a { text-decoration: none; }
.cng-row__title a:hover { color: var(--accent); text-decoration: underline; }

.cng-latest-grid .cng-row { padding: 16px 0; }
.cng-latest-grid .cng-row__media { flex-basis: 150px; width: 150px; }
.cng-latest-grid .cng-row__title { font-size: 18px; }

/* ==========================================================================
   7. Promotional banner
   ========================================================================== */
.cng-banner {
	display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
	background: var(--accent); color: #111; text-decoration: none; min-height: 380px;
}
.cng-banner__media { background: #1c1c1c; min-height: 260px; }
.cng-banner__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(24px, 4vw, 52px); }
.cng-banner__label {
	display: inline-block; background: #111; color: #fff; padding: 6px 10px;
	font: 700 11px/1 var(--font-head); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 18px;
}
.cng-banner__title {
	font: 700 clamp(26px, 3.6vw, 46px)/1.04 var(--font-head);
	text-transform: uppercase; letter-spacing: -.025em; margin-bottom: 14px;
}
.cng-banner__desc { font-size: 17px; line-height: 1.45; margin: 0; max-width: 420px; }
.cng-banner:hover .cng-banner__title { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }
.cng-banner:hover .cng-banner__media img { transform: scale(1.02); }
.cng-banner:focus-visible { outline-color: #111; outline-offset: -6px; }

/* ==========================================================================
   8. Archive, featured story, lists, pagination
   ========================================================================== */
.featured-story {
	display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 28px;
	align-items: center; margin: 0 0 40px; padding-bottom: 40px; border-bottom: 3px solid var(--line);
}
.featured-story__media { aspect-ratio: 16 / 9; }
.featured-story__title { font: 700 clamp(26px, 3.4vw, 42px)/1.06 var(--font-head); letter-spacing: -.025em; margin: 4px 0 12px; }
.featured-story__title a { text-decoration: none; }
.featured-story__title a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.featured-story__body p:not(.cng-meta) { font-size: 17px; color: #333; }

.search-lg { max-width: 720px; margin-top: 18px; }
.result-count { color: var(--muted); font-size: 14px; border-top: 3px solid var(--line); padding-top: 10px; margin-bottom: 0; }
.cng-list-item { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 22px; padding: 22px 0; border-bottom: 1px solid #d6d6d6; margin: 0; }
.cng-list-item__media { aspect-ratio: 16 / 9; }
.cng-list-item__title { font: 700 clamp(20px, 2.4vw, 26px)/1.15 var(--font-head); margin: 2px 0 8px; }
.cng-list-item__title a { text-decoration: none; }
.cng-list-item__title a:hover { text-decoration: underline; }
.cng-list-item__body p { color: #333; margin-bottom: 4px; }
.cng-list-item__body .cng-meta { margin-top: 8px; }

.pagination { margin: 8px 0 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px; display: inline-flex; align-items: center; justify-content: center;
	border: 2px solid var(--ink); text-decoration: none; font: 700 14px/1 var(--font-head);
}
.pagination a.page-numbers:hover { background: var(--accent); }
.pagination .current { background: var(--ink); color: #fff; }
.pagination .dots { border-color: transparent; }

/* ==========================================================================
   9. Single article and pages
   ========================================================================== */
.article-head { max-width: 880px; margin: 0 auto 28px; }
.article-cat {
	display: inline-block; background: var(--accent); color: #111; text-decoration: none;
	font: 700 12px/1 var(--font-head); text-transform: uppercase; letter-spacing: .09em; padding: 7px 10px; margin-bottom: 16px;
}
.article-cat:hover { background: #111; color: #fff; }
.article-title { font: 700 clamp(32px, 5.4vw, 60px)/1.03 var(--font-head); letter-spacing: -.03em; margin-bottom: 16px; }
.article-standfirst { font-size: clamp(18px, 2vw, 22px); line-height: 1.4; color: #333; margin-bottom: 18px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 14px; color: var(--muted); padding: 14px 0; border-top: 1px solid #d6d6d6; }
.byline__author { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.byline__author img { border-radius: 50%; }
.byline__author a { text-decoration: none; }
.byline__author a:hover { text-decoration: underline; }

.cng-hero { margin: 0 auto 36px; max-width: 1100px; }
.cng-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.cng-hero figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.entry-content { max-width: 720px; margin: 0 auto; font-size: 18px; line-height: 1.7; }
.entry-content > * { margin-top: 0; margin-bottom: 1.35em; }
.entry-content h2 { font: 700 28px/1.15 var(--font-head); letter-spacing: -.015em; margin-top: 1.9em; }
.entry-content h3 { font: 700 22px/1.2 var(--font-head); margin-top: 1.7em; }
.entry-content a { color: #0b5f80; text-decoration-thickness: 2px; }
.entry-content a:hover { background: var(--accent); color: #111; }
.entry-content blockquote { margin-left: 0; padding: 4px 0 4px 22px; border-left: 5px solid var(--accent); font-size: 22px; line-height: 1.4; font-weight: 600; }
.entry-content blockquote cite { display: block; font-size: 14px; font-weight: 400; color: var(--muted); margin-top: 8px; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .wp-caption-text { font-size: 13px; color: var(--muted); margin-top: 8px; }
.entry-content img { height: auto; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid #d0d0d0; padding: 8px 12px; text-align: left; }
.entry-content iframe { width: 100%; }
.entry-content .wp-block-embed__wrapper { position: relative; }
.entry-content .wp-has-aspect-ratio iframe { position: absolute; inset: 0; height: 100%; }
.page-links { font-weight: 700; }

.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.gallery-caption, .bypostauthor, .sticky { display: block; }

.share { display: flex; align-items: center; gap: 10px; margin: 6px 0 0; }
.share__label { font: 700 12px/1 var(--font-head); text-transform: uppercase; letter-spacing: .09em; }
.share ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.share a, .share button {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
	background: var(--black); color: #fff; border: 0; cursor: pointer; text-decoration: none;
}
.share a:hover, .share button:hover { background: var(--accent); color: #111; }
.share__status { font-size: 13px; color: var(--muted); }
.article-head .share { border-top: 1px solid #d6d6d6; padding-top: 14px; }

.article-foot { max-width: 720px; margin: 36px auto 56px; }
.article-foot .share { padding: 16px 0; border-top: 3px solid var(--line); }
.tags { margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tags__label { font: 700 12px/1 var(--font-head); text-transform: uppercase; letter-spacing: .09em; margin-right: 4px; }
.tags a { border: 2px solid var(--ink); padding: 6px 10px; font-size: 13px; font-weight: 700; text-decoration: none; }
.tags a:hover { background: var(--accent); }
.author-box { display: flex; gap: 18px; background: #f4f4f4; padding: 20px; margin-top: 8px; }
.author-box img { border-radius: 50%; flex: none; }
.author-box__name { font: 700 18px/1.2 var(--font-head); margin-bottom: 4px; }
.author-box__name a { text-decoration: none; }
.author-box p:last-child { margin-bottom: 0; font-size: 15px; color: #333; }

.widget-area { max-width: 720px; margin: 0 auto 48px; }
.home-bottom, .site-main > .cng-container > .widget-area { max-width: none; }
.widget-title { font: 700 22px/1 var(--font-head); text-transform: uppercase; border-top: 3px solid var(--line); padding-top: 10px; margin-bottom: 14px; }

.comments-area { max-width: 720px; margin: 0 auto 56px; }
.comments-title { font: 700 24px/1.1 var(--font-head); text-transform: uppercase; border-top: 3px solid var(--line); padding-top: 10px; margin-bottom: 18px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 24px; }
.comment-body { padding: 14px 0; border-bottom: 1px solid #d6d6d6; font-size: 15px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 10px 12px; border: 2px solid var(--ink); border-radius: 0;
}
.comment-form .submit { background: var(--ink); color: #fff; border: 0; padding: 14px 22px; font: 700 13px/1 var(--font-head); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; }
.comment-form .submit:hover { background: #3aa7cf; color: #111; }

/* ==========================================================================
   10. Footer
   ========================================================================== */
.site-footer { background: var(--black); color: #fff; padding: 48px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-brand p { color: var(--panel-muted); font-size: 14px; max-width: 320px; margin: 16px 0; }
.footer-col h2 {
	font: 700 12px/1 var(--font-head); text-transform: uppercase; letter-spacing: .1em;
	border-bottom: 3px solid var(--accent); padding-bottom: 10px; margin-bottom: 14px; display: inline-block;
}
.footer-col .menu { list-style: none; margin: 0; padding: 0; }
.footer-col a { display: inline-block; padding: 5px 0; color: #e6e6e6; text-decoration: none; font-size: 15px; }
.footer-col a:hover { color: var(--accent); text-decoration: underline; }
.social--footer { margin-left: -8px; }
.footer-bottom { border-top: 1px solid var(--panel-line); padding: 18px 0 26px; font-size: 13px; color: var(--panel-muted); }
.footer-bottom p { margin: 0; }

/* ==========================================================================
   11. Responsive
   ========================================================================== */
@media (max-width: 1100px) {
	.cng-row { gap: 14px; }
	.cng-row__media { flex-basis: 110px; width: 110px; }
}

@media (max-width: 900px) {
	:root { --gap: 16px; }
	.cng-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cng-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cng-grid-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; }
	.cng-grid-3--cards > :last-child:nth-child(odd) { grid-column: auto; }
	.cng-grid-2, .cng-latest-grid { grid-template-columns: minmax(0, 1fr); }
	.cng-banner { grid-template-columns: minmax(0, 1fr); min-height: 0; }
	.cng-banner__media { aspect-ratio: 16 / 9; min-height: 0; }
	.featured-story { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
	.cng-list-item { grid-template-columns: 120px minmax(0, 1fr); gap: 14px; }
	.cng-list-item__body > p:not(.cng-meta) { display: none; }
	.cng-list-item__title { font-size: 18px; }
}

@media (max-width: 600px) {
	:root { --gap: 14px; }
	.site-main { padding-top: 20px; }
	.cng-grid-3 { grid-template-columns: minmax(0, 1fr); }
	.cng-grid-3--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cng-card__title { font-size: 15px; }
	.cng-card__excerpt { display: none; }
	.cng-panel { padding: 16px 16px 4px; }
	.cng-row, .cng-latest-grid .cng-row { gap: 12px; padding: 12px 0; }
	.cng-row__media, .cng-latest-grid .cng-row__media { flex-basis: 104px; width: 104px; }
	.cng-row__title, .cng-latest-grid .cng-row__title { font-size: 15px; }
	.cng-banner__body { padding: 22px 18px 26px; }
	.cng-banner__desc { font-size: 15px; }
	.entry-content { font-size: 17px; }
	.author-box { flex-direction: column; }
	.author-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
	.cng-grid-4, .cng-grid-3--cards { grid-template-columns: minmax(0, 1fr); }
	.cng-card__title { font-size: 17px; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.cng-list-item { grid-template-columns: 96px minmax(0, 1fr); }
	.search-submit { padding: 0 14px; }
}

@media (max-width: 340px) {
	.cng-container { padding: 0 12px; }
	.cng-row__media, .cng-latest-grid .cng-row__media { flex-basis: 88px; width: 88px; }
}

@media (min-width: 1440px) {
	body { font-size: 17px; }
}

@media print {
	.site-header, .site-footer, .share, .search-panel, .widget-area { display: none !important; }
}
