/**
 * News / press page — 보도
 *
 * @package AriawellTheme
 */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css");

@font-face {
	font-family: "Paperlogy";
	font-weight: 700;
	font-style: normal;
	font-display: swap;
	src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2307@1.1/Paperlogy-7Bold.woff2") format("woff2");
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ------------------------------------------------------------------ */
/* Layout & header                                                    */
/* ------------------------------------------------------------------ */

body.page-news-layout {
	background: #fff;
}

#main-content.site-main--news {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.site-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: transparent;
	border-bottom: 0;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1920px;
	margin: 0 auto;
	padding: 1.8125rem var(--aw-gutter);
	min-height: 86px;
}

.site-header__logo-link {
	display: block;
	line-height: 0;
}

.site-header__logo-link img {
	width: 108px;
	height: 28px;
	object-fit: contain;
}

.site-header__logo-img--desktop {
	content: url("../images/front-page/logo-white.svg");
	width: 105px;
	height: 27px;
}

.site-header__logo-img--mobile {
	display: none;
}

.site-header__menu {
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 3.2vw, 5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-header__menu a {
	font-family: var(--aw-font-sans);
	font-size: 1.125rem;
	font-weight: 700;
	color: #fff;
	line-height: 1.75rem;
	transition: opacity 0.2s ease;
}

.site-header__menu a:hover,
.site-header__menu a:focus-visible {
	opacity: 0.85;
}

.site-header__toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.site-header__toggle-icon {
	width: 22px;
	height: 16px;
	object-fit: contain;
	filter: brightness(0) invert(1);
}

.site-main--news {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

/* ------------------------------------------------------------------ */
/* Hero                                                               */
/* ------------------------------------------------------------------ */

.news-hero {
	position: relative;
	height: 480px;
	overflow: hidden;
}

.news-hero__visual {
	position: absolute;
	inset: 0;
}

.news-hero__pattern,
.news-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(253, 142, 0, 0.3) 67.812%, rgba(253, 120, 1, 0.3) 100%);
}

.news-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	max-width: 1920px;
	height: 100%;
	margin: 0 auto;
	padding: 0 var(--aw-gutter) 3.375rem;
}

.news-hero__title {
	margin: 0;
	padding-top: 9.375rem;
	font-family: var(--aw-font-display);
	font-size: clamp(2.25rem, 4.5vw, 3.625rem);
	font-weight: 700;
	line-height: 1.1;
	color: #fff;
}

.news-hero__character {
	width: clamp(180px, 20.5vw, 394px);
	height: auto;
	align-self: flex-end;
	object-fit: contain;
}

/* ------------------------------------------------------------------ */
/* News list                                                          */
/* ------------------------------------------------------------------ */

.news-list {
	max-width: 1280px;
	margin: 0 auto;
	padding: clamp(3rem, 5.5vw, 10rem) var(--aw-gutter) clamp(4rem, 7vw, 8.75rem);
}

.news-list__items {
	display: flex;
	flex-direction: column;
	gap: 3.125rem;
}

.news-list__item {
	border-bottom: 1px solid #d9d9d9;
	padding-bottom: 3.125rem;
}

.news-list__item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.news-list__link {
	display: flex;
	align-items: center;
	gap: clamp(1.5rem, 3.75vw, 3.75rem);
	color: inherit;
	transition: opacity 0.2s ease;
}

.news-list__link:hover,
.news-list__link:focus-visible {
	opacity: 0.85;
}

.news-list__thumb {
	flex-shrink: 0;
	width: clamp(200px, 24.4vw, 312px);
	height: clamp(123px, 15vw, 192px);
	border-radius: 12px;
	overflow: hidden;
}

.news-list__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-list__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 1.25rem;
	min-width: 0;
}

.news-list__title {
	margin: 0;
	overflow: hidden;
	font-family: var(--aw-font-sans);
	font-size: clamp(1.25rem, 2vw, 1.625rem);
	font-weight: 700;
	line-height: 1.46;
	color: #111;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.news-list__excerpt {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	font-family: var(--aw-font-sans);
	font-size: clamp(0.9375rem, 1.2vw, 1.125rem);
	font-weight: 500;
	line-height: 1.67;
	color: #666;
	letter-spacing: -0.025em;
}

.news-list__date {
	flex-shrink: 0;
	margin-left: auto;
	font-family: var(--aw-font-sans);
	font-size: clamp(1rem, 1.25vw, 1.25rem);
	font-weight: 500;
	color: #454545;
	letter-spacing: -0.01em;
	white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Pagination                                                         */
/* ------------------------------------------------------------------ */

.news-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	margin-top: clamp(3rem, 5vw, 5rem);
}

.news-pagination__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	line-height: 0;
}

.news-pagination__arrow.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}

.news-pagination__arrow img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.news-pagination__pages {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.news-pagination__pages .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 0.5rem;
	border-radius: 50%;
	font-family: var(--aw-font-sans);
	font-size: 0.875rem;
	font-weight: 600;
	color: #111;
	text-decoration: none;
}

.news-pagination__pages .page-numbers.current {
	background: var(--aw-color-accent);
	color: #fff;
}

.news-pagination__pages .page-numbers:not(.current):hover,
.news-pagination__pages .page-numbers:not(.current):focus-visible {
	color: var(--aw-color-accent);
}

.news-pagination__pages .dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	font-size: 0.875rem;
	color: #666;
}

/* ------------------------------------------------------------------ */
/* Search                                                             */
/* ------------------------------------------------------------------ */

.news-search {
	position: relative;
	display: flex;
	align-items: center;
	width: min(100%, 450px);
	margin: clamp(2rem, 3.5vw, 3.75rem) auto 0;
	border-bottom: 1px solid #d9d9d9;
}

.news-search__input {
	flex: 1;
	width: 100%;
	padding: 0.5rem 2.5rem 0.75rem 0;
	border: 0;
	background: transparent;
	font-family: var(--aw-font-sans);
	font-size: 1rem;
	color: #111;
	letter-spacing: -0.02em;
}

.news-search__input::placeholder {
	color: #aeaeae;
}

.news-search__input:focus {
	outline: none;
}

.news-search__input:focus-visible {
	outline: 2px solid var(--aw-color-focus);
	outline-offset: 4px;
}

.news-search__submit {
	position: absolute;
	right: 0;
	bottom: 0.625rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	line-height: 0;
}

.news-search__submit img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

/* ------------------------------------------------------------------ */
/* Footer                                                             */
/* ------------------------------------------------------------------ */

.site-footer {
	background: #000;
	border-radius: 60px 60px 0 0;
	margin-top: 0;
}

.site-footer__inner {
	max-width: 1920px;
	margin: 0 auto;
	padding: 3.75rem var(--aw-gutter) 2.5rem;
}

.site-footer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

.site-footer__logo {
	width: 71px;
	height: 19px;
	object-fit: contain;
}

.site-footer__social {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.site-footer__social-link {
	display: block;
	line-height: 0;
	transition: opacity 0.2s ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
	opacity: 0.8;
}

.site-footer__social-link img {
	width: 38px;
	height: 38px;
}

.site-footer__info {
	display: flex;
	flex-direction: column;
	gap: 0.3125rem;
	margin-bottom: 1.5rem;
}

.site-footer__info-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-family: var(--aw-font-sans);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.375;
	color: #9e9e9e;
	letter-spacing: -0.01em;
}

.site-footer__divider {
	display: inline-block;
	width: 1px;
	height: 10px;
	background: #5e5e5e;
}

.site-footer__info-stack {
	display: none;
}

.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.site-footer__copyright {
	margin: 0;
	font-family: var(--aw-font-sans);
	font-size: 0.9375rem;
	color: #777;
	letter-spacing: -0.01em;
}

.site-footer__legal {
	display: flex;
	align-items: center;
	gap: 1.125rem;
}

.site-footer__legal a {
	font-family: var(--aw-font-sans);
	font-size: 0.9375rem;
	font-weight: 500;
	color: #999;
	letter-spacing: -0.02em;
	transition: color 0.2s ease;
}

.site-footer__legal a:last-child {
	color: #777;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
	color: #fff;
}

/* ------------------------------------------------------------------ */
/* Mobile                                                             */
/* ------------------------------------------------------------------ */

@media (max-width: 1024px) {
	.news-list__link {
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.news-list__date {
		width: 100%;
		margin-left: 0;
		padding-left: calc(clamp(200px, 24.4vw, 312px) + clamp(1.5rem, 3.75vw, 3.75rem));
		font-size: 0.9375rem;
	}
}

@media (max-width: 768px) {
	.news-hero {
		height: clamp(320px, 75vw, 480px);
	}

	.news-hero__inner {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-end;
		padding-bottom: 2rem;
	}

	.news-hero__title {
		padding-top: 6.5rem;
	}

	.news-hero__character {
		position: absolute;
		right: var(--aw-gutter);
		bottom: 1.5rem;
		width: clamp(120px, 32vw, 220px);
	}

	.site-header__logo-img--desktop {
		display: none;
	}

	.site-header__logo-img--mobile {
		display: block;
		filter: brightness(0) invert(1);
		width: 72px;
		height: 19px;
	}

	.site-header__toggle {
		display: flex;
	}

	.site-header__nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		display: none;
		padding: 1rem var(--aw-gutter) 1.5rem;
		background: #fff;
		border-bottom: 1px solid var(--aw-color-border);
	}

	.site-header.is-open .site-header__nav {
		display: block;
	}

	.site-header__menu {
		flex-direction: column;
		align-items: flex-start;
		gap: 1rem;
	}

	.site-header__menu a {
		font-size: 1rem;
		color: #111;
	}

	.site-header__toggle-icon {
		filter: none;
	}

	.news-list__link {
		flex-direction: column;
		gap: 1.25rem;
	}

	.news-list__thumb {
		width: 100%;
		max-width: none;
		height: clamp(180px, 52vw, 240px);
	}

	.news-list__date {
		padding-left: 0;
	}

	.site-footer__info-row--desktop {
		display: none;
	}

	.site-footer__info-stack {
		display: flex;
		flex-direction: column;
		gap: 0.3125rem;
		margin: 0;
		font-family: var(--aw-font-sans);
		font-size: 1rem;
		font-weight: 400;
		line-height: 1.375;
		color: #9e9e9e;
	}

	.site-footer__info-stack p {
		margin: 0;
	}

	.site-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}
