.refresh-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, .94);
	border-bottom: 1px solid rgba(235, 229, 234, .8);
	box-shadow: none;
	backdrop-filter: blur(14px);
}

.refresh-header .nav-wrap {
	min-height: 76px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.refresh-header .brand {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	flex: none;
	color: #6e445c;
	font-size: 19px;
	font-weight: 700;
}

.refresh-header .brand img {
	width: 39px;
	height: 39px;
	border: 1px solid #f0dce3;
	border-radius: 50%;
	object-fit: cover;
}

.refresh-header .main-nav {
	margin-left: auto;
}

.refresh-header .main-nav ul {
	display: flex;
	align-items: center;
	gap: 28px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.refresh-header .main-nav a {
	display: block;
	position: relative;
	padding: 26px 0 22px;
	color: #6e6370;
	font-size: 15px;
	white-space: nowrap;
}

.refresh-header .main-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 17px;
	height: 2px;
	background: #cf7184;
	transform: scaleX(0);
	transition: transform .2s;
}

.refresh-header .main-nav a:hover,
.refresh-header .main-nav a.active {
	color: #9e526a;
	background: transparent;
}

.refresh-header .main-nav a:hover::after,
.refresh-header .main-nav a.active::after {
	display: block !important;
	transform: scaleX(1);
}

.refresh-header .nav-index {
	display: none;
}

.refresh-header .header-cta {
	display: none;
}

.refresh-header .menu-toggle {
	display: none;
}

@media (max-width: 900px) {
	.refresh-header .nav-wrap { min-height: 76px; }
	.refresh-header .menu-toggle { display: block; width: 40px; height: 40px; border: 0; background: transparent; }
	.refresh-header .main-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; padding: 8px 17px 17px; border-bottom: 1px solid #ebe5ea; background: #fff; box-shadow: 0 12px 24px rgba(64, 55, 63, .08); }
	.refresh-header .main-nav.open { display: block; }
	.refresh-header .main-nav ul { display: block; }
	.refresh-header .main-nav a { padding: 13px 0; }
	.refresh-header .main-nav a::after,
	.refresh-header .main-nav a:hover::after,
	.refresh-header .main-nav a.active::after {
		display: none !important;
		transform: scaleX(0) !important;
	}
}

/* Homepage visual refinements */
.atlas-home .atlas-console {
	transform: none;
	box-shadow: 12px 12px 0 #d6e9f2;
}

.atlas-home .drama-grid-home .drama-card {
	display: block;
	min-height: 0;
	padding: 0;
	overflow: hidden;
}

.atlas-home .drama-grid-home .drama-card > img {
	display: block;
	width: 100%;
	height: 176px;
	object-fit: cover;
}

.atlas-home .drama-grid-home .drama-card > div {
	padding: 16px 18px 18px;
}

.atlas-home .drama-grid-home .drama-card h3 {
	margin-top: 7px;
}

.atlas-home .atlas-list article {
	grid-template-columns: 72px 110px 1fr 40px;
	gap: 18px;
	background-position: 8px center;
	background-size: 72px 52px;
	background-repeat: no-repeat;
}

.atlas-home .atlas-list article::before {
	content: "";
	display: block;
	width: 72px;
	height: 52px;
	border-radius: 4px;
	background: center / cover no-repeat;
}

.atlas-home .atlas-list article:nth-child(1)::before { background-image: url('/skin/images/home-list-01.jpg'); }
.atlas-home .atlas-list article:nth-child(2)::before { background-image: url('/skin/images/home-list-02.jpg'); }
.atlas-home .atlas-list article:nth-child(3)::before { background-image: url('/skin/images/home-list-03.jpg'); }

.atlas-home .atlas-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	border-top: 0;
}

.atlas-home .atlas-list article {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"cover cover"
		"time index"
		"content content";
	align-items: center;
	gap: 9px 12px;
	min-height: 248px;
	padding: 0 16px 17px;
	border: 1px solid #dce8ef;
	background: #fff;
}

.atlas-home .atlas-list article::before {
	grid-area: cover;
	width: calc(100% + 32px);
	height: 220px;
	margin-left: -16px;
	border-radius: 0;
}

.atlas-home .atlas-list article > .atlas-list-time {
	grid-area: time;
	font-size: 18px;
}

.atlas-home .atlas-list article > div {
	grid-area: content;
}

.atlas-home .atlas-list article > b {
	grid-area: index;
	font-size: 17px;
}

.atlas-home .atlas-voice-grid footer {
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
}

.atlas-home .atlas-voice-grid footer::before {
	content: "";
	width: 34px;
	height: 34px;
	flex: none;
	border-radius: 50%;
	background: center / cover no-repeat;
}

.atlas-home .atlas-voice-grid blockquote:nth-child(1) footer::before { background-image: url('/skin/images/avatar-01.jpg'); }
.atlas-home .atlas-voice-grid blockquote:nth-child(2) footer::before { background-image: url('/skin/images/avatar-02.jpg'); }
.atlas-home .atlas-voice-grid blockquote:nth-child(3) footer::before { background-image: url('/skin/images/avatar-03.jpg'); }
.atlas-home .atlas-voice-grid footer span::after { content: " · 2026.08"; }

.atlas-home .atlas-journal-list a {
	grid-template-columns: 88px 1fr;
	gap: 16px;
}

.atlas-home .atlas-journal-list a::before {
	content: "";
	display: block;
	width: 88px;
	height: 62px;
	border-radius: 4px;
	background: url('/skin/images/news-home-01.jpg') center / cover no-repeat;
}

.atlas-home .atlas-journal-list a > time,
.atlas-home .atlas-journal-list a > h3,
.atlas-home .atlas-journal-list a > span {
	grid-column: 2;
}

.mobile-experience-bar,
.mobile-experience-popup,
.mobile-experience-overlay {
	display: none;
}

@media (max-width: 900px) {
	.mobile-experience-bar {
		display: block;
		position: fixed;
		left: 0;
		bottom: 0;
		z-index: 997;
		width: 100%;
		padding: 10px 18px;
		border-top: 1px solid #e3e9ed;
		background: #fff;
		box-shadow: 0 -4px 18px rgba(36, 57, 77, .1);
	}

	.mobile-experience-trigger {
		width: 100%;
		padding: 12px 18px;
		border: 0;
		border-radius: 24px;
		color: #fff;
		background: #b7355d;
		font-size: 15px;
		font-weight: 700;
	}

	.mobile-experience-overlay {
		position: fixed;
		inset: 0;
		z-index: 996;
		background: rgba(22, 35, 46, .32);
		backdrop-filter: blur(4px);
		-webkit-backdrop-filter: blur(4px);
	}

	.mobile-experience-overlay.is-open {
		display: block;
	}

	.mobile-experience-popup {
		position: fixed;
		left: 50%;
		bottom: 76px;
		z-index: 998;
		width: min(220px, calc(100% - 40px));
		padding: 14px;
		border: 1px solid #e0e7eb;
		background: #fff;
		box-shadow: 0 12px 30px rgba(36, 57, 77, .16);
		transform: translate(-50%, 12px);
		opacity: 0;
		pointer-events: none;
		transition: opacity .2s, transform .2s;
	}

	.mobile-experience-popup.is-open {
		display: flex;
		flex-direction: column;
		gap: 9px;
		opacity: 1;
		pointer-events: auto;
		transform: translate(-50%, 0);
	}

	.mobile-experience-popup a {
		display: block;
		padding: 11px 14px;
		border: 1px solid #b7355d;
		color: #b7355d;
		text-align: center;
		font-size: 14px;
	}

	.mobile-experience-popup a + a {
		margin-top: 9px;
	}

	.mobile-experience-popup a:hover {
		color: #fff;
		background: #b7355d;
	}
}

@media (max-width: 900px) {
	.atlas-home .atlas-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.atlas-home .atlas-list article {
		grid-template-columns: 1fr auto;
	}
	.atlas-home .atlas-list article::before {
		width: calc(100% + 32px);
		height: 148px;
	}
	.atlas-home .atlas-list article > b { display: block; }
}

@media (max-width: 480px) {
	.atlas-home .drama-grid-home .drama-card > img { height: 150px; }
	.atlas-home .atlas-list { grid-template-columns: 1fr; }
	.atlas-home .atlas-list article { grid-template-columns: 1fr auto; }
	.atlas-home .atlas-list article::before { width: calc(100% + 32px); height: 158px; }
	.atlas-home .atlas-journal-list a { grid-template-columns: 72px 1fr; }
	.atlas-home .atlas-journal-list a::before { width: 72px; height: 54px; }
}

/* Homepage news cards inspired by the three-column news grid pattern */
.atlas-home .drama-showcase {
	background: #fff;
}

.atlas-home .atlas-map-section {
	background: #f5f7f8;
}

.atlas-home .atlas-daily-section {
	background: #fff;
}

.atlas-home .atlas-feature-section {
	background: #f5f7f8;
	border-top: 1px solid #e1e7ea;
	border-bottom: 1px solid #e1e7ea;
}

.atlas-home .atlas-feature-grid {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: 80px;
	align-items: start;
}

.atlas-home .atlas-feature-grid h2 {
	margin: 0;
	color: #24394d;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.25;
}

.atlas-home .atlas-feature-grid > div > p:not(.eyebrow),
.atlas-home .atlas-feature-copy p {
	color: #667b8d;
	line-height: 1.9;
}

.atlas-home .atlas-feature-grid > div > p:not(.eyebrow) {
	margin: 18px 0 0;
}

.atlas-home .atlas-feature-copy {
	padding-left: 28px;
	border-left: 3px solid #d5e1e6;
}

.atlas-home .atlas-feature-copy p {
	margin: 0 0 15px;
}

@media (max-width: 900px) {
	.atlas-home .atlas-feature-grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}
}

.atlas-home .atlas-rhythm-section {
	background: #f5f7f8;
}

.atlas-home .atlas-voices {
	background: #fff;
}

.atlas-home .atlas-faq {
	background: #f5f7f8;
}

.atlas-home .atlas-journal-section {
	background: #fff;
	border-top: 1px solid #d6e5ec;
	border-bottom: 1px solid #d6e5ec;
}

.atlas-home .atlas-journal-wrap {
	display: block;
}

.atlas-home .atlas-journal-intro {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 32px;
}

.atlas-home .atlas-journal-intro h2 {
	margin: 0;
	color: #24394d;
	font-size: clamp(30px, 4vw, 44px);
}

.atlas-home .atlas-journal-intro > p:not(.eyebrow) {
	max-width: 410px;
	margin: 0;
	color: #667b8d;
}

.atlas-home .hj-news-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.atlas-home .hj-news-card {
	overflow: hidden;
	border: 1px solid #dce8ef;
	background: #fff;
	box-shadow: 0 8px 22px rgba(40, 75, 99, .05);
	transition: transform .2s, box-shadow .2s;
}

.atlas-home .hj-news-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px rgba(40, 75, 99, .1);
}

.atlas-home .hj-news-link {
	display: block;
	color: inherit;
}

.atlas-home .hj-news-thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eaf1f5;
}

.atlas-home .hj-news-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s;
}

.atlas-home .hj-news-card:hover .hj-news-thumb img {
	transform: scale(1.04);
}

.atlas-home .hj-news-body {
	padding: 17px 18px 19px;
}

.atlas-home .hj-news-meta {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 9px;
	color: #e55679;
	font-size: 12px;
}

.atlas-home .hj-news-meta span {
	color: #8b9aa6;
}

.atlas-home .hj-news-body h3 {
	display: -webkit-box;
	margin: 0 0 8px;
	overflow: hidden;
	color: #24394d;
	font-size: 18px;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.atlas-home .hj-news-body p {
	display: -webkit-box;
	margin: 0 0 14px;
	overflow: hidden;
	color: #718596;
	font-size: 13px;
	line-height: 1.7;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.atlas-home .hj-news-read {
	color: #b7355d;
	font-size: 12px;
	font-weight: 700;
}

@media (max-width: 900px) {
	.atlas-home .atlas-journal-intro {
		align-items: start;
		flex-direction: column;
	}
	.atlas-home .hj-news-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.atlas-home .hj-news-grid {
		grid-template-columns: 1fr;
	}
}
