/* obr.az — modern news layout overrides */

.layout--fluid {
	grid-template-columns: minmax(0, 1fr);
	max-width: none;
}

.layout--fluid .layout__main {
	width: 100%;
}

.page--home .site-main {
	padding-top: var(--sp-5);
}

.page--home {
	font-family: var(--font-body);
}

.page--home :focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.page--home .site-main {
	padding-top: 0;
}

/* ---- Split hero slider: text panel + photo panel ---- */
.hero-feature {
	padding: var(--sp-6) 0 var(--sp-8);
}

.page--home .hero-stage {
	position: relative;
	aspect-ratio: auto;
	min-height: 0;
	height: auto;
	overflow: hidden;
	border-radius: var(--r-xl);
	background: var(--surface);
	color: var(--text);
	box-shadow: var(--shadow);
	outline: none;
}

.hero-progress {
	position: relative;
	z-index: 4;
	height: 3px;
	background: var(--line);
}

.hero-progress__bar {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, var(--accent), var(--brand-orange));
	transform: scaleX(0);
	transform-origin: left center;
}

.hero-progress__bar.is-running {
	animation: hero-progress linear forwards;
}

@keyframes hero-progress {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}

.hero-viewport {
	position: relative;
	width: 100%;
	aspect-ratio: auto;
	height: clamp(19rem, 38vh, 24rem);
}

.hero-slide {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
	align-items: stretch;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .5s ease, visibility .5s ease;
}

.hero-slide.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 1;
}

.hero-slide__copy {
	position: relative;
	z-index: 2;
	order: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: var(--sp-3);
	padding: var(--sp-8);
	background: var(--surface);
}

.hero-slide__media {
	position: relative;
	order: 2;
	overflow: hidden;
	background: var(--surface-sunk);
}

.hero-slide__media .cover-image,
.hero-slide__media .visual {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.04);
	transition: transform 7s linear;
}

.hero-slide.is-active .cover-image,
.hero-slide.is-active .visual {
	transform: scale(1);
}

.hero-title {
	max-width: 22ch;
	margin: 0;
	color: var(--text);
	font-size: clamp(1.3rem, 1.9vw, 1.85rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.02em;
}

.hero-title a:hover { color: var(--accent-strong); }

.hero-meta {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	color: var(--muted);
	font-size: var(--fs-meta);
}

.hero-cta { min-height: 2.5rem; }

.hero-chrome {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	padding: var(--sp-3) var(--sp-6);
	border-top: var(--hair) solid var(--line);
	background: var(--surface);
}

.hero-dots { display: flex; align-items: center; gap: var(--sp-2); }

.hero-dot {
	width: 1.75rem;
	height: .375rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--surface-sunk);
	cursor: pointer;
	transition: background .2s ease, width .2s ease;
}

.hero-dot:hover { background: var(--line); }
.hero-dot.is-active { width: 2.5rem; background: var(--accent); }

.hero-arrows { display: flex; gap: var(--sp-2); }

.hero-arrow {
	width: 2.25rem;
	height: 2.25rem;
	border: 0;
	border-radius: 999px;
	display: grid;
	place-items: center;
	background: var(--surface-soft);
	color: var(--text);
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}

.hero-arrow:hover { background: var(--accent-soft); color: var(--accent-strong); }

.hero-arrow .icon-play { display: none; }
.hero-arrow[aria-pressed="true"] .icon-play { display: block; }
.hero-arrow[aria-pressed="true"] .icon-pause { display: none; }

/* ---- News card grid ---- */
.feed--news {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: var(--sp-8) var(--sp-5);
	align-items: start;
}

.feed--news > .section-heading,
.feed--news > form,
.feed--news > .searchpage,
.feed--news > .panel,
.feed--news > .staticpage,
.feed--news > *:not(.news-card):not(.hero-slide) {
	grid-column: 1 / -1;
	margin-bottom: 0;
}

.feed--news > .navigation,
.feed--news > .pagination,
.feed--news > nav.pagination {
	grid-column: 1 / -1;
}

.news-card {
	grid-column: span 4;
	display: grid;
	gap: var(--sp-3);
	min-width: 0;
	background: var(--surface);
	box-shadow: var(--shadow-tiny);
	border-radius: var(--r-lg);
	padding: var(--sp-3);
	transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease;
}

/* Homepage latest: lead + secondary row + compact list */
.page--home .feed--news {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--sp-5) var(--sp-5);
}

.page--home .feed--news > .section-heading--latest {
	align-items: end;
	padding-bottom: var(--sp-4);
	margin-bottom: var(--sp-2);
	border-bottom: calc(var(--hair) * 3) solid var(--text);
}

.page--home .section-kicker {
	margin: 0 0 var(--sp-1);
	color: var(--brand-orange-strong);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.page--home .section-heading--latest h1 {
	padding-left: 0;
	font-size: clamp(1.75rem, 2.4vw, 2.15rem);
	letter-spacing: -.03em;
}

.page--home .section-heading--latest h1::before { display: none; }

.page--home .feed--news > .news-card {
	grid-column: auto;
	display: grid;
	grid-template-columns: 6.75rem minmax(0, 1fr);
	gap: var(--sp-3);
	align-items: start;
	padding: var(--sp-4) 0 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	border-top: var(--hair) solid var(--line);
}

.page--home .feed--news > .news-card:hover {
	transform: none;
	box-shadow: none;
}

.page--home .feed--news > .news-card:nth-of-type(-n+4) {
	grid-template-columns: 1fr;
	gap: var(--sp-3);
	padding: 0 var(--sp-4) var(--sp-2) 0;
	border-top: 0;
	border-right: var(--hair) solid var(--line);
}

.page--home .feed--news > .news-card:nth-of-type(4) {
	padding-right: 0;
	border-right: 0;
}

.page--home .feed--news > .news-card:nth-of-type(n+5) {
	grid-column: span 2;
}

.page--home .news-card .chips a {
	height: auto;
	padding: 0;
	background: transparent;
	color: var(--brand-orange-strong);
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	border-radius: 0;
}

.page--home .news-card .chips a:hover { color: var(--accent-strong); }

.page--home .feed--news > .news-card:nth-of-type(-n+4) .news-card__media {
	aspect-ratio: 3 / 2;
	border-radius: 2px;
}

.page--home .feed--news > .news-card:nth-of-type(n+5) .news-card__media {
	aspect-ratio: 4 / 3;
	border-radius: 2px;
}

.page--home .feed--news > .news-card:nth-of-type(-n+4) .news-card__excerpt {
	display: none;
}

.page--home .feed--news > .news-card:nth-of-type(-n+4) .news-card__title {
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -.02em;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.page--home .feed--news > .news-card:nth-of-type(n+5) .news-card__title {
	font-size: 1.05rem;
	line-height: 1.3;
	letter-spacing: -.018em;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.page--home .feed--news > .news-card:nth-of-type(n+5) .news-card__excerpt {
	-webkit-line-clamp: 2;
	font-size: .9375rem;
}

.news-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-soft);
}

.news-card__media {
	display: block;
	aspect-ratio: 16 / 10;
	border-radius: var(--r-lg);
	overflow: hidden;
	background: var(--surface-sunk);
}

.news-card__media .cover-image,
.news-card__media .visual {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .35s ease;
}

.news-card:hover .cover-image,
.news-card:hover .visual {
	transform: scale(1.04);
}

.news-card__body {
	display: grid;
	gap: var(--sp-2);
	padding: 0;
}

.news-card__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2);
}

.news-card__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.2rem, 1.5vw, 1.45rem);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -.028em;
}

.news-card__title a:hover {
	color: var(--accent-strong);
}

.news-card__excerpt {
	margin: 0;
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2);
	color: var(--muted);
	font-size: var(--fs-meta);
}

.news-card--pinned {
	box-shadow: none;
}

.news-card--pinned .news-card__media {
	box-shadow: inset 0 0 0 var(--hair) var(--accent);
}

/* ---- Article page (editorial measure) ---- */
.page--article {
	--article-width: min(100%, 60rem);
	--article-text: 100%;
}

.page--article .site-main {
	padding-top: var(--sp-3);
}

.page--article .feed--news {
	display: block;
	max-width: none;
}

.page--article .layout--fluid {
	width: min(calc(100% - var(--sp-10)), var(--container));
	grid-template-columns: minmax(0, 1fr) calc(var(--app-em)*20.625);
	gap: var(--sp-8);
	align-items: start;
}

.page--article .layout--fluid:not(:has(.sidebar)) {
	grid-template-columns: minmax(0, 1fr);
}

.page--article .layout--fluid .layout__main {
	max-width: none;
	gap: var(--sp-8);
}

.page--article .sidebar {
	position: sticky;
	top: calc(var(--head-offset) + var(--sp-4));
}

@media (max-width: 66.25em) {
	.page--article .layout--fluid {
		grid-template-columns: minmax(0, 1fr);
	}

	.page--article .sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 47.5em) {
	.page--article .sidebar {
		grid-template-columns: 1fr;
	}
}

.page--article .feed--news > .article,
.page--article .feed--news > .story-nav,
.page--article .feed--news > .related,
.page--article .article,
.page--article .story-nav {
	width: 100%;
	max-width: var(--article-width);
	margin-inline: auto;
}

.article {
	padding: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
}

.page--article .article__head {
	max-width: var(--article-width);
}

.article__head {
	display: grid;
	gap: var(--sp-3);
	padding: var(--sp-2) 0 var(--sp-3);
	border-bottom: var(--hair) solid var(--line);
	margin-bottom: var(--sp-4);
}

.article__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.85rem, 4vw, 2.75rem);
	line-height: 1.08;
	letter-spacing: -.035em;
}

.article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-2) var(--sp-3);
	color: var(--muted);
	font-size: var(--fs-meta);
}

.article__media {
	width: 100%;
	max-width: none;
	margin: 0 0 var(--sp-8);
	aspect-ratio: 16 / 9;
	border-radius: var(--r-xl);
	overflow: hidden;
	background: var(--surface-sunk);
}

.article__media .cover-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.article__body {
	max-width: none;
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--news-text);
}

.page--article .article__body {
	max-width: var(--article-text);
	font-size: 1.1875rem;
	line-height: 1.75;
	letter-spacing: -.01em;
}

.page--article .article__body .text img,
.page--article .article__body .text figure {
	max-width: var(--article-width);
	width: 100%;
	margin-inline: auto;
}

.page--article .related {
	margin-top: var(--sp-12);
	padding-top: var(--sp-8);
	border-top: var(--hair) solid var(--line);
}

.page--article .related .section-heading {
	margin-bottom: var(--sp-6);
}

.page--article .related .section-heading h2 {
	font-size: clamp(1.35rem, 2vw, 1.65rem);
	letter-spacing: -.03em;
}

.page--article .related-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-5) var(--sp-4);
	align-items: start;
}

.page--article .related-grid .news-card {
	grid-column: unset;
	gap: var(--sp-3);
	min-width: 0;
	transition: opacity .2s ease;
}

.page--article .related-grid .news-card:hover {
	transform: none;
	opacity: .92;
}

.page--article .related-grid .news-card__media {
	aspect-ratio: 3 / 2;
	border-radius: var(--r-md);
}

.page--article .related-grid .news-card__title {
	font-size: .98rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -.018em;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.page--article .related-grid .news-card:hover .cover-image,
.page--article .related-grid .news-card:hover .visual {
	transform: scale(1.03);
}

.page--article .related-grid .news-card__meta {
	font-size: calc(var(--fs-meta) * .95);
}

.page--article .related-grid .chips {
	font-size: calc(var(--fs-meta) * .9);
}

.article__pages {
	margin-top: var(--sp-6);
}

.article__byline {
	display: flex;
	align-items: baseline;
	gap: var(--sp-2);
	margin: var(--sp-6) 0 0;
	padding-top: var(--sp-4);
	border-top: var(--hair) solid var(--line);
	color: var(--muted);
	font-size: var(--fs-meta);
}

.article__byline-label {
	font-weight: 600;
	letter-spacing: .01em;
}

.article__byline a {
	color: var(--text);
	font-weight: 700;
}

.article__byline a:hover {
	color: var(--accent-strong);
}

.sharebar {
	margin-top: var(--sp-6);
	padding-top: var(--sp-5);
	border-top: var(--hair) solid var(--line);
}

.sharebar__label {
	margin: 0 0 var(--sp-3);
	color: var(--muted);
	font-size: var(--fs-meta);
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.sharebar__row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
}

.sharebar__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-2);
	min-height: 2.75rem;
	padding: 0 var(--sp-4);
	border: 0;
	border-radius: var(--r-pill);
	background: var(--surface-soft);
	color: var(--text);
	font: inherit;
	font-size: var(--fs-meta);
	font-weight: 650;
	line-height: 1;
	cursor: pointer;
}

.sharebar__btn .icon {
	width: 1.15em;
	height: 1.15em;
}

.sharebar__btn:hover {
	background: var(--accent-soft);
	color: var(--accent-strong);
}

.sharebar__btn--wa:hover { background: #e7f8ef; color: #128c7e; }
.sharebar__btn--tg:hover { background: #e7f4fc; color: #229ed9; }
.sharebar__btn--fb:hover { background: #eaf1fb; color: #1877f2; }
.sharebar__btn--x:hover { background: var(--surface-sunk); color: var(--text); }

[data-theme="dark"] .sharebar__btn--wa:hover { background: #12352c; color: #5eebc5; }
[data-theme="dark"] .sharebar__btn--tg:hover { background: #123040; color: #7dccf5; }
[data-theme="dark"] .sharebar__btn--fb:hover { background: #162840; color: #8eb6f5; }

.sharebar__btn.is-done {
	background: var(--accent);
	color: var(--accent-ink);
}

@media (max-width: 30em) {
	.sharebar__btn {
		flex: 1 1 calc(50% - var(--sp-2));
	}

	.sharebar__btn--copy,
	.sharebar__btn--native {
		flex-basis: 100%;
	}
}

.contact-list {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-list__item {
	display: flex;
	align-items: center;
	gap: var(--sp-4);
	padding: var(--sp-4) 0;
	border-top: var(--hair) solid var(--line);
}

.contact-list__item:first-child {
	padding-top: 0;
	border-top: 0;
}

.contact-list__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: calc(var(--app-em)*2.75);
	height: calc(var(--app-em)*2.75);
	border-radius: var(--r-lg);
	background: var(--accent-soft);
	color: var(--accent-strong);
}

.contact-list__icon .icon {
	width: var(--sp-5);
	height: var(--sp-5);
}

.contact-list__label {
	display: block;
	color: var(--muted);
	font-size: var(--fs-meta);
}

.contact-list__value {
	display: block;
	margin-top: var(--sp-1);
	color: var(--text);
	font-size: 1.05rem;
	font-weight: 700;
}

a.contact-list__value:hover {
	color: var(--accent-strong);
}

.page--home .section-heading h1,
.page--home .section-heading h2 {
	position: relative;
	padding-left: var(--sp-4);
}

.page--home .section-heading h1::before,
.page--home .section-heading h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: .15em;
	bottom: .15em;
	width: calc(var(--hair) * 5);
	border-radius: var(--r-pill);
	background: linear-gradient(180deg, var(--accent-strong), var(--brand-orange));
}

/* ---- Popular rail ---- */
.popular-strip {
	margin-top: var(--sp-4);
	padding-bottom: var(--sp-10);
	border-top: var(--hair) solid var(--line);
	padding-top: var(--sp-8);
}

.popular-rail {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-4);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: pop;
}

.popular-rail__item {
	counter-increment: pop;
	border-top: var(--hair) solid var(--line);
	padding-top: var(--sp-4);
}

.popular-rail__link {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--sp-3);
	align-items: start;
}

.popular-rail__link::before {
	content: counter(pop, decimal-leading-zero);
	font-family: var(--font-display);
	font-size: calc(var(--app-em) * 1.5);
	font-weight: 700;
	line-height: 1;
	color: var(--brand-orange-strong);
	opacity: .9;
}

.popular-rail__title {
	display: block;
	font-family: var(--font-display);
	font-size: calc(var(--app-em) * 1.05);
	line-height: 1.25;
	letter-spacing: -.02em;
}

.popular-rail__link:hover .popular-rail__title {
	color: var(--accent-strong);
}

.popular-rail__meta {
	grid-column: 2;
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: var(--sp-2);
	margin-top: var(--sp-2);
	color: var(--muted);
	font-size: var(--fs-sm);
	line-height: 1.3;
	white-space: nowrap;
}

.popular-rail__meta > span,
.popular-item__meta > span {
	display: inline-flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.35em;
	white-space: nowrap;
}

.popular-rail__meta .icon,
.popular-item__meta .icon {
	display: block;
	flex: none;
	width: 1em;
	height: 1em;
}

/* ---- Köşə rail ---- */
.kose-strip {
	margin-top: var(--sp-4);
	padding-bottom: var(--sp-10);
	border-top: var(--hair) solid var(--line);
	padding-top: var(--sp-8);
}

.kose-rail {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--sp-5);
	margin: 0;
	padding: 0;
	list-style: none;
}

.kose-rail__item {
	display: grid;
	align-content: start;
	gap: var(--sp-3);
	padding: var(--sp-5);
	background: var(--surface);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-tiny);
	transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .25s ease;
}

.kose-rail__item:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-soft);
}

.kose-rail__link { display: grid; gap: var(--sp-2); }

.kose-rail__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-family: var(--font-display);
	font-size: calc(var(--app-em) * 1.05);
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -.02em;
	color: var(--text);
}

.kose-rail__item:hover .kose-rail__title {
	color: var(--accent-strong);
}

.kose-rail__excerpt {
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	color: var(--muted);
	font-size: var(--fs-meta);
	line-height: 1.5;
}

.kose-rail__foot {
	display: flex;
	align-items: center;
	gap: var(--sp-2);
	margin-top: var(--sp-1);
	padding-top: var(--sp-3);
	border-top: var(--hair) solid var(--line);
}

.kose-rail__who {
	display: grid;
	gap: calc(var(--app-em) * 0.125);
	min-width: 0;
}

.kose-rail__author {
	color: var(--text);
	font-size: var(--fs-meta);
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.kose-rail__author a:hover { color: var(--accent-strong); }

.kose-rail__date {
	color: var(--muted);
	font-size: calc(var(--fs-meta) * .92);
}

/* ---- Footer compact ---- */
.footer-grid--news {
	grid-template-columns: 1.6fr repeat(3, 1fr);
}

/* ---- Related ---- */
.related {
	margin-top: var(--sp-8);
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--sp-4);
}

/* Hide legacy story-card styles when news-card is used */
.page--news .story-card {
	display: none;
}

/* Responsive */
@media (max-width: 66.25em) {
	.hero-viewport { height: clamp(18rem, 42vh, 22rem); }
	.hero-slide__copy { padding: var(--sp-6); }

	.page--article {
		--article-width: min(100%, 54rem);
		--article-text: 100%;
	}

	.page--article .related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--sp-5);
	}

	.feed--news {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.page--home .feed--news {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: var(--sp-5) var(--sp-4);
	}

	.news-card { grid-column: auto; }

	.page--home .feed--news > .news-card:nth-of-type(2),
	.page--home .feed--news > .news-card:nth-of-type(4) {
		padding-right: 0;
		border-right: 0;
	}

	.page--home .feed--news > .news-card:nth-of-type(3),
	.page--home .feed--news > .news-card:nth-of-type(4) {
		padding-top: var(--sp-5);
		border-top: var(--hair) solid var(--line);
	}

	.page--home .feed--news > .news-card:nth-of-type(n+5) {
		grid-column: 1 / -1;
	}

	.popular-rail {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.kose-rail {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-grid--news {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 47.5em) {
	.hero-viewport { height: auto; }
	.hero-slide {
		position: relative;
		inset: auto;
		display: none;
		grid-template-columns: 1fr;
		grid-template-rows: auto auto;
	}
	.hero-slide.is-active { display: grid; }
	.hero-slide__media { order: 1; aspect-ratio: 16 / 9; }
	.hero-slide__copy { order: 2; padding: var(--sp-5); }
	.hero-chrome { padding: var(--sp-3) var(--sp-4); }

	.news-card { grid-column: auto; }

	.feed--news,
	.page--home .feed--news,
	.popular-rail,
	.kose-rail,
	.related-grid,
	.footer-grid--news {
		grid-template-columns: 1fr;
	}

	.page--home .feed--news > .news-card:nth-of-type(-n+4) {
		grid-column: auto;
		grid-template-columns: 1fr;
		padding-right: 0;
		border-right: 0;
	}

	.page--home .feed--news > .news-card:nth-of-type(n+2):nth-of-type(-n+4) {
		padding-top: var(--sp-5);
		border-top: var(--hair) solid var(--line);
	}

	.page--home .feed--news > .news-card:nth-of-type(n+5) {
		grid-template-columns: 6.5rem minmax(0, 1fr);
		gap: var(--sp-3);
	}

	.page--home .feed--news > .news-card:nth-of-type(-n+4) .news-card__excerpt {
		display: -webkit-box;
		-webkit-line-clamp: 2;
	}

	.page--article .layout--fluid {
		width: min(calc(100% - var(--sp-6)), var(--container));
	}

	.page--article {
		--article-width: 100%;
		--article-text: 100%;
	}

	.page--article .article__head,
	.page--article .article__body {
		max-width: 100%;
	}

	.page--article .related-grid {
		grid-template-columns: 1fr;
		max-width: 22rem;
		margin-inline: auto;
	}

	.page--article .article,
	.page--article .story-nav,
	.article__media {
		width: 100%;
		max-width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero-slide,
	.hero-slide__media .cover-image,
	.hero-slide__media .visual,
	.news-card {
		transition: none;
	}
	.hero-progress__bar.is-running { animation: none; }
	.news-card:hover,
	.news-card:hover .cover-image,
	.news-card:hover .visual {
		transform: none;
	}
}
