/**
 * Yorocker 2.5 — visual parity pass.
 *
 * Original Yorocker implementation informed by structural comparison against
 * a premium news/magazine reference. No reference CSS/JS/PHP is copied.
 */

:root{
	--yr-shell-bg:#f4f5f7;
	--yr-panel-bg:#fff;
	--yr-panel-border:#e5e7eb;
	--yr-panel-shadow:0 1px 2px rgba(15,23,42,.04);
	--yr-nav-height:58px;
	--yr-topbar-height:34px;
	--yr-widget-title-size:14px;
	--yr-story-title-size:21px;
}

/* Page shell and content proportions */
body.yr-visual-shell-news-magazine{
	background:var(--yr-shell-bg);
}
body.yr-visual-shell-news-magazine .yr-site{
	background:transparent;
}
body.yr-visual-shell-news-magazine .yr-site-content{
	padding-block:28px 46px;
}
body.yr-visual-shell-news-magazine .yr-content-grid{
	gap:var(--yr-content-gap);
}
body.yr-visual-shell-news-magazine.yr-has-sidebar .yr-content-grid{
	grid-template-columns:minmax(0,1fr) minmax(280px,var(--yr-sidebar-width));
}
body.yr-visual-shell-news-magazine .yr-main{
	min-width:0;
}
body.yr-visual-shell-news-magazine .yr-panel,
body.yr-visual-shell-news-magazine .yr-page-header{
	background:var(--yr-panel-bg);
	border:1px solid var(--yr-panel-border);
	box-shadow:var(--yr-panel-shadow);
}
body.yr-visual-shell-news-magazine .yr-page-header{
	padding:20px 22px;
	margin-bottom:20px;
	border-radius:4px;
}
body.yr-visual-shell-news-magazine .yr-page-title{
	margin:0;
	font-size:clamp(1.65rem,3vw,2.2rem);
	line-height:1.08;
	letter-spacing:-.025em;
}
body.yr-visual-shell-news-magazine .yr-archive-description{
	margin-top:8px;
	color:var(--yr-muted);
	font-size:.92rem;
}

/* Header hierarchy */
body.yr-visual-shell-news-magazine .yr-topbar{
	min-height:var(--yr-topbar-height);
	border-bottom:1px solid rgba(255,255,255,.06);
	font-size:12px;
}
body.yr-visual-shell-news-magazine .yr-topbar__inner{
	min-height:var(--yr-topbar-height);
}
body.yr-visual-shell-news-magazine .yr-branding-row__inner{
	min-height:104px;
}
body.yr-visual-shell-news-magazine .yr-branding__title{
	font-size:clamp(1.8rem,3.8vw,2.55rem);
	letter-spacing:-.045em;
}
body.yr-visual-shell-news-magazine .yr-branding__tagline{
	margin-top:5px;
	font-size:12px;
}
body.yr-visual-shell-news-magazine .yr-primary-nav{
	border-bottom:3px solid color-mix(in srgb,var(--yr-accent) 80%,#000);
	box-shadow:0 2px 7px rgba(15,23,42,.13);
}
body.yr-visual-shell-news-magazine .yr-primary-nav__inner{
	min-height:var(--yr-nav-height);
}
body.yr-visual-shell-news-magazine .yr-primary-menu>li>a{
	min-height:var(--yr-nav-height);
	padding-inline:15px;
	font-size:13px;
	font-weight:800;
	letter-spacing:.01em;
}
body.yr-visual-shell-news-magazine .yr-home-link,
body.yr-visual-shell-news-magazine .yr-nav-search-toggle{
	min-height:var(--yr-nav-height);
}
body.yr-visual-shell-news-magazine .yr-primary-menu .sub-menu{
	border:1px solid #e5e7eb;
	border-top:0;
	border-radius:0 0 4px 4px;
	padding:8px 0;
	box-shadow:0 8px 24px rgba(15,23,42,.16);
}
body.yr-visual-shell-news-magazine .yr-primary-menu .sub-menu a{
	border-radius:0;
	padding:8px 14px;
	font-size:12px;
	font-weight:650;
}
body.yr-visual-shell-news-magazine .yr-header-utility{
	background:#fff;
	border-block:1px solid #eceff2;
}
body.yr-visual-shell-news-magazine .yr-header-utility__inner{
	min-height:40px;
}
body.yr-visual-shell-news-magazine .yr-header-utility__trending{
	font-size:12px;
}
body.yr-visual-shell-news-magazine .yr-header-utility__trending strong{
	color:var(--yr-accent);
	text-transform:uppercase;
	letter-spacing:.045em;
}

/* Breaking ticker */
body.yr-visual-shell-news-magazine .yr-breaking-news{
	border-bottom:1px solid #e5e7eb;
	background:#fff;
}
body.yr-visual-shell-news-magazine .yr-breaking-news__inner{
	min-height:42px;
}
body.yr-visual-shell-news-magazine .yr-breaking-news__label{
	font-size:11px;
	font-weight:900;
	letter-spacing:.04em;
	text-transform:uppercase;
}

/* Homepage block frame and title rhythm */
body.yr-visual-shell-news-magazine .yr-home-section{
	margin-bottom:28px;
}
body.yr-visual-shell-news-magazine.yr-home-surface-framed .yr-home-section{
	padding:20px;
	border:1px solid var(--yr-panel-border);
	border-radius:4px;
	background:#fff;
	box-shadow:var(--yr-panel-shadow);
}
body.yr-visual-shell-news-magazine .yr-home-section__header{
	margin-bottom:16px;
	padding-bottom:9px;
	border-bottom:2px solid #20252b;
}
body.yr-visual-shell-news-magazine .yr-home-section__title{
	margin:0;
	font-size:15px;
	font-weight:900;
	line-height:1;
	letter-spacing:.025em;
	text-transform:uppercase;
}
body.yr-visual-shell-news-magazine .yr-home-section__title::after{
	content:"";
	display:block;
	width:34px;
	height:3px;
	margin-top:9px;
	background:var(--section-color,var(--yr-accent));
}

/* Standard story cards */
body.yr-visual-shell-news-magazine .yr-post-card{
	background:#fff;
	border:1px solid var(--yr-panel-border);
	border-radius:4px;
	box-shadow:var(--yr-panel-shadow);
	overflow:hidden;
}
body.yr-visual-shell-news-magazine .yr-post-card__media{
	overflow:hidden;
	background:#eef0f2;
}
body.yr-visual-shell-news-magazine .yr-post-card__image{
	width:100%;
	height:100%;
	object-fit:cover;
}
body.yr-visual-shell-news-magazine .yr-post-card__content{
	padding:17px 18px 18px;
}
body.yr-visual-shell-news-magazine .yr-post-card__categories,
body.yr-visual-shell-news-magazine .yr-home-card__categories{
	display:flex;
	flex-wrap:wrap;
	gap:5px;
	margin-bottom:7px;
}
body.yr-visual-shell-news-magazine .yr-post-card__categories a,
body.yr-visual-shell-news-magazine .yr-home-card__categories a{
	display:inline-flex;
	padding:3px 6px;
	border-radius:2px;
	background:var(--yr-accent);
	color:#fff;
	font-size:10px;
	font-weight:850;
	line-height:1;
	letter-spacing:.035em;
	text-transform:uppercase;
}
body.yr-visual-shell-news-magazine .yr-post-card__title{
	margin:.25rem 0 .5rem;
	font-size:var(--yr-story-title-size);
	line-height:1.2;
	letter-spacing:-.025em;
}
body.yr-visual-shell-news-magazine .yr-entry-meta,
body.yr-visual-shell-news-magazine .yr-post-card__meta{
	color:#858b93;
	font-size:11px;
}
body.yr-visual-shell-news-magazine .yr-post-card__excerpt{
	margin-top:10px;
	color:#616873;
	font-size:13px;
	line-height:1.65;
}
body.yr-visual-shell-news-magazine .yr-read-more{
	margin-top:11px;
	font-size:11px;
	font-weight:850;
	text-transform:uppercase;
	letter-spacing:.04em;
}

/* Archive grid gets stronger first-story hierarchy */
body.yr-visual-shell-news-magazine .yr-post-list--grid{
	gap:20px;
}
body.yr-visual-shell-news-magazine .yr-post-list--grid .yr-post-card:first-child{
	grid-column:1/-1;
	display:grid;
	grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
}
body.yr-visual-shell-news-magazine .yr-post-list--grid .yr-post-card:first-child .yr-post-card__title{
	font-size:clamp(1.65rem,3vw,2.35rem);
}
body.yr-visual-shell-news-magazine .yr-post-list--grid .yr-post-card:first-child .yr-post-card__media{
	min-height:340px;
}

/* Home cards */
body.yr-visual-shell-news-magazine .yr-home-card{
	background:#fff;
}
body.yr-visual-shell-news-magazine .yr-home-card__title{
	margin:5px 0 6px;
	font-size:17px;
	line-height:1.22;
	letter-spacing:-.02em;
}
body.yr-visual-shell-news-magazine .yr-home-card__meta{
	color:#8b9098;
	font-size:10px;
}

/* Featured visual blocks */
body.yr-visual-shell-news-magazine .yr-spotlight__lead,
body.yr-visual-shell-news-magazine .yr-spotlight__lead-media,
body.yr-visual-shell-news-magazine .yr-mosaic__item{
	border-radius:3px;
}
body.yr-visual-shell-news-magazine .yr-spotlight__lead-body h3{
	font-size:clamp(2.05rem,4vw,3.45rem);
	line-height:1.03;
}
body.yr-visual-shell-news-magazine .yr-spotlight__rail-item{
	padding-bottom:12px;
	margin-bottom:12px;
}
body.yr-visual-shell-news-magazine .yr-newspaper{
	border-top:3px solid #222;
	border-bottom:1px solid #d7dbe0;
}

/* Sidebar and widgets */
body.yr-visual-shell-news-magazine .yr-sidebar{
	display:grid;
	gap:20px;
	align-content:start;
}
body.yr-visual-shell-news-magazine .yr-widget{
	margin:0;
	padding:18px;
	border:1px solid var(--yr-panel-border);
	border-radius:4px;
	background:#fff;
	box-shadow:var(--yr-panel-shadow);
}
body.yr-visual-shell-news-magazine .yr-widget__title{
	position:relative;
	margin:-2px 0 16px;
	padding-bottom:10px;
	border-bottom:2px solid #22272e;
	font-size:var(--yr-widget-title-size);
	font-weight:900;
	line-height:1.1;
	letter-spacing:.025em;
	text-transform:uppercase;
}
body.yr-visual-shell-news-magazine .yr-widget__title::after{
	content:"";
	position:absolute;
	left:0;
	bottom:-2px;
	width:34px;
	height:3px;
	background:var(--yr-accent);
}
body.yr-visual-shell-news-magazine .yr-widget-post{
	gap:11px;
	padding-block:10px;
	border-bottom:1px solid #eceff2;
}
body.yr-visual-shell-news-magazine .yr-widget-post:last-child{
	border-bottom:0;
}
body.yr-visual-shell-news-magazine .yr-widget-post h3{
	margin:0;
	font-size:13px;
	line-height:1.32;
}
body.yr-visual-shell-news-magazine .yr-widget-post small{
	font-size:10px;
	color:#9298a0;
}
body.yr-visual-shell-news-magazine .yr-widget-post__rank{
	font-size:26px;
	font-weight:900;
	line-height:1;
	color:#d8dce2;
}

/* Article surface and typography */
body.yr-visual-shell-news-magazine .yr-article{
	padding:clamp(22px,3vw,34px);
	border-radius:4px;
}
body.yr-visual-shell-news-magazine .yr-article__header{
	margin-bottom:20px;
}
body.yr-visual-shell-news-magazine .yr-article__title{
	font-size:clamp(2.1rem,4.5vw,3.75rem);
	line-height:1.06;
	letter-spacing:-.04em;
}
body.yr-visual-shell-news-magazine .yr-article__subtitle{
	max-width:850px;
	color:#68707b;
	font-size:clamp(1rem,2vw,1.22rem);
	line-height:1.55;
}
body.yr-visual-shell-news-magazine .yr-entry-content{
	font-size:1rem;
	line-height:1.82;
}
body.yr-visual-shell-news-magazine .yr-entry-content h2{
	margin-top:1.7em;
	font-size:1.72em;
	line-height:1.2;
}
body.yr-visual-shell-news-magazine .yr-entry-content h3{
	margin-top:1.5em;
	font-size:1.35em;
	line-height:1.25;
}
body.yr-visual-shell-news-magazine .yr-entry-content blockquote{
	margin:1.6rem 0;
	padding:3px 0 3px 20px;
	border-left:4px solid var(--yr-accent);
	font-size:1.25em;
	font-weight:650;
	line-height:1.55;
}

/* Footer composition */
.yr-footer-widgets__grid--layout-1{grid-template-columns:minmax(0,1fr)}
.yr-footer-widgets__grid--layout-2-equal{grid-template-columns:repeat(2,minmax(0,1fr))}
.yr-footer-widgets__grid--layout-2-wide-left{grid-template-columns:minmax(0,2fr) minmax(0,1fr)}
.yr-footer-widgets__grid--layout-2-wide-right{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}
.yr-footer-widgets__grid--layout-3-equal{grid-template-columns:repeat(3,minmax(0,1fr))}
.yr-footer-widgets__grid--layout-3-wide-left{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr)}
.yr-footer-widgets__grid--layout-3-wide-right{grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,2fr)}
.yr-footer-widgets__grid--layout-4-equal{grid-template-columns:repeat(4,minmax(0,1fr))}
body.yr-visual-shell-news-magazine .yr-footer{
	border-top:5px solid var(--yr-accent);
}
body.yr-visual-shell-news-magazine .yr-footer-brand{
	padding-block:25px;
	border-bottom:1px solid rgba(255,255,255,.08);
}
body.yr-visual-shell-news-magazine .yr-footer-brand__title{
	font-size:23px;
	font-weight:900;
	letter-spacing:-.035em;
}
body.yr-visual-shell-news-magazine .yr-footer-brand p{
	max-width:720px;
	margin:7px 0 0;
	color:#aeb5bf;
	font-size:12px;
	line-height:1.7;
}
body.yr-visual-shell-news-magazine .yr-footer-widgets{
	padding-block:34px;
}
body.yr-visual-shell-news-magazine .yr-footer .yr-widget{
	padding:0;
	border:0;
	background:transparent;
	box-shadow:none;
}
body.yr-visual-shell-news-magazine .yr-footer .yr-widget__title{
	color:#fff;
	border-color:rgba(255,255,255,.18);
}
body.yr-visual-shell-news-magazine .yr-footer-credits{
	background:rgba(0,0,0,.15);
}

/* Soft-card variant */
body.yr-visual-shell-soft-card{
	background:#f5f6f8;
}
body.yr-visual-shell-soft-card .yr-widget,
body.yr-visual-shell-soft-card .yr-panel,
body.yr-visual-shell-soft-card .yr-post-card{
	border:0;
	border-radius:12px;
	box-shadow:0 8px 24px rgba(15,23,42,.06);
}
body.yr-visual-shell-soft-card .yr-site-content{padding-block:34px 50px}
body.yr-visual-shell-soft-card.yr-has-sidebar .yr-content-grid{
	grid-template-columns:minmax(0,1fr) minmax(280px,var(--yr-sidebar-width));
	gap:var(--yr-content-gap);
}

/* Flat editorial variant */
body.yr-visual-shell-flat-editorial{
	background:#fff;
}
body.yr-visual-shell-flat-editorial .yr-widget,
body.yr-visual-shell-flat-editorial .yr-panel,
body.yr-visual-shell-flat-editorial .yr-post-card{
	border:0;
	border-radius:0;
	box-shadow:none;
}
body.yr-visual-shell-flat-editorial .yr-widget{
	padding:0;
	border-top:3px solid #111827;
}
body.yr-visual-shell-flat-editorial .yr-post-card{
	border-bottom:1px solid #e5e7eb;
}
body.yr-visual-shell-flat-editorial.yr-has-sidebar .yr-content-grid{
	grid-template-columns:minmax(0,1fr) minmax(280px,var(--yr-sidebar-width));
	gap:var(--yr-content-gap);
}

/* Dark reading skin */
body.yr-dark-skin.yr-visual-shell-news-magazine{--yr-shell-bg:#0f141a;--yr-panel-bg:#151b22;--yr-panel-border:#26303a}
body.yr-dark-skin.yr-visual-shell-news-magazine .yr-post-card,
body.yr-dark-skin.yr-visual-shell-news-magazine .yr-widget,
body.yr-dark-skin.yr-visual-shell-news-magazine .yr-page-header,
body.yr-dark-skin.yr-visual-shell-news-magazine .yr-home-section,
body.yr-dark-skin.yr-visual-shell-news-magazine .yr-header-utility{background:#151b22;border-color:#26303a}
body.yr-dark-skin.yr-visual-shell-news-magazine .yr-widget__title,
body.yr-dark-skin.yr-visual-shell-news-magazine .yr-home-section__header{border-color:#dce2e8}
body.yr-dark-skin.yr-visual-shell-news-magazine .yr-post-card__excerpt,
body.yr-dark-skin.yr-visual-shell-news-magazine .yr-article__subtitle{color:#a8b0ba}

@media(max-width:1100px){
	body.yr-visual-shell-news-magazine.yr-has-sidebar .yr-content-grid,
	body.yr-visual-shell-soft-card.yr-has-sidebar .yr-content-grid,
	body.yr-visual-shell-flat-editorial.yr-has-sidebar .yr-content-grid{
		grid-template-columns:minmax(0,1fr) minmax(270px,300px);
		gap:24px;
	}
	body.yr-visual-shell-news-magazine .yr-primary-menu>li>a{padding-inline:11px;font-size:12px}
}

@media(max-width:900px){
	body.yr-visual-shell-news-magazine.yr-has-sidebar .yr-content-grid,
	body.yr-visual-shell-soft-card.yr-has-sidebar .yr-content-grid,
	body.yr-visual-shell-flat-editorial.yr-has-sidebar .yr-content-grid{
		grid-template-columns:1fr;
	}
	body.yr-visual-shell-news-magazine .yr-sidebar{
		grid-template-columns:repeat(2,minmax(0,1fr));
		position:static!important;
	}
	body.yr-visual-shell-news-magazine .yr-post-list--grid .yr-post-card:first-child{
		grid-template-columns:1fr;
	}
	body.yr-visual-shell-news-magazine .yr-post-list--grid .yr-post-card:first-child .yr-post-card__media{
		min-height:280px;
	}
	.yr-footer-widgets__grid--layout-4-equal,
	.yr-footer-widgets__grid--layout-3-equal,
	.yr-footer-widgets__grid--layout-3-wide-left,
	.yr-footer-widgets__grid--layout-3-wide-right{
		grid-template-columns:repeat(2,minmax(0,1fr));
	}
}

@media(max-width:640px){
	body.yr-visual-shell-news-magazine .yr-site-content{padding-block:18px 34px}
	body.yr-visual-shell-news-magazine .yr-sidebar{grid-template-columns:1fr}
	body.yr-visual-shell-news-magazine.yr-home-surface-framed .yr-home-section{padding:14px}
	body.yr-visual-shell-news-magazine .yr-post-card__content{padding:14px}
	body.yr-visual-shell-news-magazine .yr-article{padding:18px 16px}
	body.yr-visual-shell-news-magazine .yr-article__title{font-size:2.15rem}
	.yr-footer-widgets__grid--layout-2-equal,
	.yr-footer-widgets__grid--layout-2-wide-left,
	.yr-footer-widgets__grid--layout-2-wide-right,
	.yr-footer-widgets__grid--layout-3-equal,
	.yr-footer-widgets__grid--layout-3-wide-left,
	.yr-footer-widgets__grid--layout-3-wide-right,
	.yr-footer-widgets__grid--layout-4-equal{
		grid-template-columns:1fr;
	}
}
