/**
 * Front page styles — 당부콘서트 메인
 *
 * @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: 400;
	font-style: normal;
	font-display: swap;
	src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2") format("woff2");
}

@font-face {
	font-family: "Paperlogy";
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2") format("woff2");
}

@font-face {
	font-family: "Paperlogy";
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2") format("woff2");
}

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

/* ------------------------------------------------------------------ */
/* Layout overrides                                                   */
/* ------------------------------------------------------------------ */

body.home {
	background: #fff;
}

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

/* ------------------------------------------------------------------ */
/* Shared section heading                                             */
/* ------------------------------------------------------------------ */

.section-heading {
	text-align: center;
}

.section-heading__label {
	margin: 0 0 1.125rem;
	font-family: var(--aw-font-sans);
	font-size: 1.125rem;
	font-weight: 800;
	color: var(--aw-color-accent);
	text-transform: capitalize;
	letter-spacing: -0.01em;
}

.section-heading__title {
	margin: 0;
	font-family: var(--aw-font-display);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.125;
	color: #000;
}

/* ------------------------------------------------------------------ */
/* Shared outline button                                              */
/* ------------------------------------------------------------------ */

.btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1.0625rem 1.875rem;
	border: 1.2px solid var(--aw-color-accent);
	border-radius: 100px;
	background: #fff;
	font-family: var(--aw-font-sans);
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--aw-color-accent);
	letter-spacing: -0.02em;
	transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover,
.btn-outline:focus-visible {
	background: var(--aw-color-accent);
	color: #fff;
}

.btn-outline img {
	width: 26px;
	height: 26px;
	flex-shrink: 0;
}

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

.hero {
	position: relative;
	min-height: clamp(520px, 46.875vw, 900px);
	overflow: hidden;
	padding-left: var(--aw-layout-gutter-x);
	padding-right: var(--aw-layout-gutter-x);
}

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

.hero__bg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to left, rgba(0, 0, 0, 0) 53.984%, rgba(0, 0, 0, 0.4) 91.641%);
}

.hero__content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 3.125rem;
	max-width: var(--aw-content-max);
	margin: 0 auto;
	padding: clamp(6rem, 15.5vw, 18.625rem) 0 clamp(4rem, 8vw, 6rem);
}

.hero__eyebrow {
	margin: 0 0 1rem;
	font-family: var(--aw-font-display);
	font-size: clamp(1.125rem, 1.5vw, 1.5rem);
	font-weight: 500;
	color: #fff;
	line-height: 1.75rem;
}

.hero__title {
	margin: 0;
	font-family: var(--aw-font-display);
	font-size: clamp(2.75rem, 6vw, 4.75rem);
	font-weight: 700;
	line-height: 1.03;
	color: #fff;
}

.hero__desc {
	margin: 1.75rem 0 0;
	font-family: var(--aw-font-sans);
	font-size: clamp(1rem, 1.2vw, 1.25rem);
	font-weight: 500;
	line-height: 1.6;
	color: #fff;
	letter-spacing: -0.01em;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.hero__btn {
	display: inline-flex;
	align-items: center;
	gap: 1.5rem;
	padding: 0.9375rem 1.25rem;
	border-radius: 6px;
	background: var(--aw-color-accent);
	font-family: var(--aw-font-sans);
	font-size: 1.0625rem;
	font-weight: 600;
	color: #fff;
	letter-spacing: -0.02em;
	transition: background 0.2s ease, transform 0.2s ease;
}

.hero__btn:hover,
.hero__btn:focus-visible {
	background: #e66d00;
	transform: translateY(-1px);
}

.hero__btn img {
	width: 12px;
	height: 8px;
	flex-shrink: 0;
}

.hero__character {
	position: absolute;
	right: 20%;
	bottom: 10%;
	z-index: 2;
	width: clamp(12rem, 20vw, 26rem);
	height: auto;
	max-height: min(72%, 32rem);
	object-fit: contain;
	object-position: right bottom;
	pointer-events: none;
}

/* ------------------------------------------------------------------ */
/* Latest lecture                                                     */
/* ------------------------------------------------------------------ */

.latest-lecture {
	padding: clamp(4rem, 7vw, 8.75rem) var(--aw-layout-gutter-x) clamp(3rem, 6vw, 5rem);
}

.latest-lecture .section-heading {
	margin-bottom: clamp(2.5rem, 4vw, 4.375rem);
	max-width: var(--aw-content-max);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.latest-lecture__slider {
	position: relative;
	max-width: var(--aw-content-max);
	margin: 0 auto;
}

.latest-lecture__swiper.swiper {
	overflow: hidden;
	border-radius: 40px;
}

.latest-lecture__slider .swiper-wrapper {
	align-items: stretch;
	overflow: visible !important;
}

.latest-lecture__slider .swiper-slide {
	height: auto;
}

.latest-lecture__slider--single .latest-lecture__nav {
	display: none;
}

.latest-lecture__nav.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

.latest-lecture__card {
	position: relative;
	overflow: hidden;
	border-radius: 40px;
	min-height: clamp(320px, 22.9vw, 440px);
}

.latest-lecture__card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(
		90deg,
		rgba(0, 0, 0, 0.72) 0%,
		rgba(0, 0, 0, 0.45) 28%,
		rgba(0, 0, 0, 0.15) 42%,
		rgba(0, 0, 0, 0) 50%
	);
	pointer-events: none;
}

.latest-lecture__card-bg {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.latest-lecture__card-bg img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.latest-lecture__card-body {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	min-height: inherit;
	padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 6.25rem);
}

.latest-lecture__card-title {
	margin: 0;
	font-family: var(--aw-font-display);
	font-size: clamp(1.5rem, 2.5vw, 2.5rem);
	font-weight: 600;
	line-height: 1.25;
}

.latest-lecture__card-title-accent {
	display: block;
	color: var(--aw-color-accent);
}

.latest-lecture__card-title-main {
	display: block;
	color: #fff;
}

.latest-lecture__nav-icon--mobile {
	display: none;
}

.latest-lecture__card-meta {
	margin-top: 1.875rem;
	color: #fff;
}

.latest-lecture__card-date {
	margin: 0;
	font-family: var(--aw-font-sans);
	font-size: clamp(1rem, 1.2vw, 1.375rem);
	font-weight: 500;
	letter-spacing: -0.02em;
	text-transform: capitalize;
}

.latest-lecture__card-location {
	margin: 0.75rem 0 0;
	font-family: var(--aw-font-sans);
	font-size: clamp(0.9375rem, 1vw, 1.125rem);
	font-weight: 500;
	opacity: 0.8;
	letter-spacing: -0.02em;
	text-transform: capitalize;
}

.latest-lecture__card-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 2rem;
	padding: 0.875rem 3rem;
	border: 1.2px solid #fff;
	border-radius: 6px;
	font-family: var(--aw-font-sans);
	font-size: 1rem;
	font-weight: 500;
	color: #fff;
	letter-spacing: -0.02em;
	text-transform: capitalize;
	transition: background 0.2s ease, color 0.2s ease;
}

.latest-lecture__card-link:hover,
.latest-lecture__card-link:focus-visible {
	background: #fff;
	color: #111;
}

.latest-lecture__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.latest-lecture__nav:hover {
	opacity: 0.85;
}

.latest-lecture__nav img {
	width: 72px;
	height: 72px;
}

.latest-lecture__nav--prev {
	left: 0;
	transform: translate(-50%, -50%);
}

.latest-lecture__nav--next {
	right: 0;
	transform: translate(50%, -50%);
}

/* ------------------------------------------------------------------ */
/* Promo banner                                                       */
/* ------------------------------------------------------------------ */

.promo-banner {
	position: relative;
	overflow: hidden;
	min-height: clamp(220px, 15.625vw, 300px);
	padding-left: var(--aw-layout-gutter-x);
	padding-right: var(--aw-layout-gutter-x);
}

.promo-banner__bg {
	position: absolute;
	inset: 0;
}

.promo-banner__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.promo-banner__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	max-width: var(--aw-content-max);
	margin: 0 auto;
}

.promo-banner__content {
	flex: 1;
	max-width: 52rem;
}

.promo-banner__logo {
	width: 120px;
	margin-bottom: 1.5rem;
	object-fit: contain;
}

.promo-banner__title {
	margin: 0;
	font-family: var(--aw-font-sans);
	font-size: clamp(1.5rem, 2.8vw, 2.375rem);
	font-weight: 400;
	line-height: 1.35;
	color: #fff;
	letter-spacing: -0.02em;
}

.promo-banner__title strong {
	font-weight: 700;
	font-size: clamp(1.75rem, 3vw, 2.875rem);
	letter-spacing: -0.01em;
}

.promo-banner__quote {
	font-family: var(--aw-font-display);
	font-weight: 700;
}

.promo-banner__visual {
	flex-shrink: 0;
	width: min(100%, 28.4375rem);
}

.promo-banner__character {
	width: 100%;
	height: auto;
	max-height: 17.6875rem;
	object-fit: contain;
	object-position: bottom right;
}

/* ------------------------------------------------------------------ */
/* Past lectures                                                      */
/* ------------------------------------------------------------------ */

.past-lectures {
	padding: clamp(4rem, 7vw, 8.75rem) var(--aw-layout-gutter-x);
}

.past-lectures__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(3rem, 5vw, 5rem);
	max-width: var(--aw-content-max);
	margin: 0 auto;
}

.past-lectures__empty,
.health-contents__empty,
.latest-lecture__empty,
.gallery__empty {
	width: 100%;
	margin: 0;
	padding: clamp(2rem, 4vw, 4rem) 0;
	font-family: var(--aw-font-sans);
	font-size: clamp(1rem, 1.25vw, 1.125rem);
	font-weight: 500;
	line-height: 1.6;
	color: #666;
	text-align: center;
}

.past-lectures__swiper.swiper,
.health-contents__swiper.swiper {
	width: 100%;
}

.past-lectures__swiper .swiper-wrapper,
.health-contents__swiper .swiper-wrapper {
	align-items: stretch;
}

.past-lectures__swiper .swiper-slide,
.health-contents__swiper .swiper-slide {
	height: auto;
}

@media (min-width: 1281px) {
	.past-lectures__swiper.swiper,
	.health-contents__swiper.swiper {
		overflow: visible;
	}

	.past-lectures__swiper .swiper-wrapper,
	.health-contents__swiper .swiper-wrapper {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: clamp(1.25rem, 2.5vw, 2.5rem);
		transform: none !important;
	}

	.past-lectures__swiper .swiper-slide,
	.health-contents__swiper .swiper-slide {
		width: auto !important;
		margin: 0 !important;
	}
}

.lecture-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 30px;
	background: #f7f7f7;
}

.lecture-card__link {
	display: flex;
	flex-direction: column;
	flex: 1;
	height: 100%;
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.lecture-card__link:hover,
.lecture-card__link:focus-visible {
	opacity: 0.85;
}

.lecture-card__link:focus-visible {
	outline: 2px solid var(--aw-color-focus);
	outline-offset: 4px;
	border-radius: 30px;
}

.lecture-card__top {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	min-height: 230px;
	padding: 2.5rem 1.875rem 1.5rem;
}

.lecture-card__category {
	display: inline-flex;
	align-self: flex-start;
	padding: 0.5rem 0.875rem;
	border-radius: 20px;
	background: var(--aw-color-accent);
	font-family: var(--aw-font-sans);
	font-size: 0.875rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.01em;
}

.lecture-card__title {
	margin: 0;
	font-family: var(--aw-font-sans);
	font-size: clamp(1.0625rem, 1.2vw, 1.375rem);
	font-weight: 700;
	line-height: 1.4;
	color: #000;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.lecture-card__date {
	font-family: var(--aw-font-sans);
	font-size: 1rem;
	font-weight: 500;
	color: #454545;
	letter-spacing: -0.01em;
}

.lecture-card__thumb {
	height: 220px;
	overflow: hidden;
}

.lecture-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* ------------------------------------------------------------------ */
/* Health contents                                                    */
/* ------------------------------------------------------------------ */

.health-contents {
	background: #fff8f3;
	padding: clamp(4rem, 8vw, 10rem) var(--aw-layout-gutter-x) clamp(4rem, 7vw, 8.75rem);
}

.health-contents__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(3rem, 5vw, 5rem);
	max-width: var(--aw-content-max);
	margin: 0 auto;
}

.content-card {
	display: flex;
	flex-direction: column;
}

.content-card__link {
	display: flex;
	flex-direction: column;
	gap: 1.875rem;
	flex: 1;
	height: 100%;
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.content-card__link:hover,
.content-card__link:focus-visible {
	opacity: 0.85;
}

.content-card__link:focus-visible {
	outline: 2px solid var(--aw-color-focus);
	outline-offset: 4px;
	border-radius: 24px;
}

.content-card__thumb {
	overflow: hidden;
	border-radius: 0;
	aspect-ratio: 400 / 224;
}

.content-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.content-card__title {
	margin: 0;
	font-family: var(--aw-font-sans);
	font-size: clamp(1.0625rem, 1.2vw, 1.375rem);
	font-weight: 700;
	line-height: 1.4;
	color: #000;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.past-lectures__scroll,
.health-contents__scroll {
	width: 100%;
}

/* ------------------------------------------------------------------ */
/* Gallery                                                            */
/* ------------------------------------------------------------------ */

.gallery {
	padding: clamp(4rem, 7vw, 8.75rem) var(--aw-layout-gutter-x);
	background: #fff;
}

.gallery__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: clamp(3rem, 5vw, 5rem);
	max-width: var(--aw-content-max);
	margin: 0 auto;
}

.gallery__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.75rem, 1.5vw, 1.25rem);
	width: 100%;
}

.gallery__item {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: clamp(12px, 1.5vw, 20px);
	overflow: hidden;
	background: #f7f7f7;
	cursor: pointer;
	aspect-ratio: 4 / 3;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery__item:hover,
.gallery__item:focus-visible {
	opacity: 0.88;
	transform: scale(1.02);
}

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

.gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gallery-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(1rem, 3vw, 2.5rem);
}

.gallery-lightbox[hidden] {
	display: none;
}

.gallery-lightbox__overlay {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.85);
}

.gallery-lightbox__dialog {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: min(100%, 75rem);
	max-height: min(37.5rem, calc(100vh - clamp(2rem, 6vw, 5rem)));
}

.gallery-lightbox__image {
	display: block;
	width: auto;
	max-width: min(100%, 75rem);
	max-height: min(37.5rem, calc(100vh - clamp(2rem, 6vw, 5rem)));
	border-radius: clamp(8px, 1vw, 16px);
	object-fit: contain;
}

.gallery-lightbox__close {
	position: absolute;
	top: -0.25rem;
	right: 0;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease;
	transform: translateY(-100%);
}

.gallery-lightbox__close:hover,
.gallery-lightbox__close:focus-visible {
	background: rgba(255, 255, 255, 0.28);
}

.gallery-lightbox__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

body.is-gallery-lightbox-open {
	overflow: hidden;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                         */
/* ------------------------------------------------------------------ */

@media (max-width: 1280px) {
	.past-lectures,
	.health-contents {
		overflow: hidden;
	}

	.past-lectures__swiper.swiper,
	.health-contents__swiper.swiper {
		overflow: hidden;
	}

	.past-lectures__scroll,
	.health-contents__scroll {
		padding: 0;
	}
}

@media (max-width: 1024px) {
	.latest-lecture__nav {
		width: 56px;
		height: 56px;
	}

	.latest-lecture__nav img {
		width: 56px;
		height: 56px;
	}
}

@media (max-width: 768px) {
	/* Hero — 580px */
	.hero {
		min-height: 580px;
	}

	.hero__overlay {
		background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 50%);
	}

	.hero__content {
		gap: 1.5rem;
		padding: 3.375rem 0 0;
	}

	.hero__eyebrow {
		margin-bottom: 0.5rem;
		font-size: 1.125rem;
		line-height: normal;
	}

	.hero__title {
		font-size: 3rem;
		line-height: normal;
	}

	.hero__desc {
		margin-top: 1.25rem;
		font-size: 1.125rem;
		line-height: 1.33;
	}

	.hero__actions {
		flex-direction: column;
		gap: 0.5rem;
		width: 100%;
		max-width: 11.25rem;
	}

	.hero__btn {
		justify-content: center;
		width: 100%;
		padding: 0.8125rem 1.25rem;
		font-size: 0.875rem;
	}

	.hero__character {
		display: block;
		position: absolute;
		right: 0.875rem;
		bottom: 0;
		z-index: 1;
		width: min(72.8%, 16.375rem);
		max-width: none;
		height: auto;
		pointer-events: none;
	}

	/* Section headings */
	.section-heading__label {
		margin-bottom: 0.875rem;
		font-size: 1rem;
	}

	.section-heading__title {
		font-size: 2.125rem;
		line-height: 2.875rem;
	}

	/* Latest lecture */
	.latest-lecture {
		padding: 3.75rem var(--aw-layout-gutter-x) 2.5rem;
	}

	.latest-lecture .section-heading {
		margin-bottom: 1.875rem;
	}

	.latest-lecture__slider {
		max-width: 18.75rem;
	}

	.latest-lecture__swiper.swiper {
		border-radius: 20px;
	}

	.latest-lecture__card {
		min-height: 28.75rem;
		border-radius: 20px;
	}

	.latest-lecture__card-body {
		justify-content: flex-start;
		min-height: 28.75rem;
		padding: 2.5rem 1.5625rem 2rem;
	}

	.latest-lecture__card-title {
		font-size: 1.625rem;
		line-height: 2.125rem;
	}

	.latest-lecture__card-title-br {
		display: none;
	}

	.latest-lecture__card-meta {
		margin-top: auto;
		padding-top: 1.5rem;
	}

	.latest-lecture__card-date {
		font-size: 1.125rem;
	}

	.latest-lecture__card-location {
		margin-top: 0.5rem;
		font-size: 1rem;
	}

	.latest-lecture__card-link {
		margin-top: 1.25rem;
		padding: 0.75rem 2.5rem;
		font-size: 0.875rem;
	}

	.latest-lecture__nav {
		width: 50px;
		height: 50px;
	}

	.latest-lecture__nav img {
		width: 50px;
		height: 50px;
	}

	.latest-lecture__nav-icon--desktop {
		display: none;
	}

	.latest-lecture__nav-icon--mobile {
		display: block;
	}

	/* Promo banner */
	.promo-banner {
		min-height: 28.75rem;
	}

	.promo-banner__inner {
		flex-direction: column;
		align-items: flex-start;
		padding: 3.125rem 0 0;
	}

	.promo-banner__logo {
		width: 76px;
		height: 19px;
		margin-bottom: 1.25rem;
	}

	.promo-banner__title {
		font-size: 1.2rem;
		line-height: 1.5rem;
		white-space: normal;
	}

	.promo-banner__title br:not(.mobile-only) {
		display: none;
	}

	.promo-banner__title strong {
		font-size: 1.6rem;
		line-height: 2.5rem;
	}

	.promo-banner__visual {
		align-self: center;
		width: 100%;
		max-width: 18.25rem;
		margin-top: 1.5rem;
	}

	.promo-banner__character {
		max-height: 12rem;
	}

	/* Past lectures — mobile card */
	.past-lectures {
		padding: 3.75rem var(--aw-layout-gutter-x) 2.5rem;
	}

	.past-lectures__inner {
		gap: 2.5rem;
		align-items: stretch;
	}

	.past-lectures__inner > .section-heading {
		padding: 0;
	}

	.past-lectures__inner > .btn-outline {
		align-self: center;
	}

	.lecture-card {
		border-radius: 20px;
	}

	.lecture-card__top {
		min-height: 11.6875rem;
		padding: 1.75rem 1.25rem 1rem;
		gap: 1rem;
	}

	.lecture-card__category {
		padding: 0.375rem 0.75rem;
		font-size: 0.8125rem;
	}

	.lecture-card__title {
		font-size: 1.25rem;
		line-height: 1.75rem;
	}

	.lecture-card__date {
		font-size: 0.875rem;
	}

	.lecture-card__thumb {
		height: 10.5625rem;
	}

	.btn-outline {
		padding: 0.875rem 1.375rem;
		font-size: 1rem;
	}

	/* Health contents — mobile card */
	.health-contents {
		padding: 4.5rem var(--aw-layout-gutter-x) 3.75rem;
	}

	.health-contents__inner {
		gap: 2.5rem;
		align-items: stretch;
	}

	.health-contents__inner > .section-heading {
		padding: 0;
		align-self: center;
		text-align: center;
	}

	.health-contents__inner > .btn-outline {
		align-self: center;
	}

	.content-card__thumb {
		border-radius: 20px;
		aspect-ratio: 320 / 216;
	}

	.content-card__title {
		font-size: 1.25rem;
		line-height: 1.75rem;
	}

	/* Gallery — mobile */
	.gallery {
		padding: 3.75rem var(--aw-layout-gutter-x) 4.5rem;
	}

	.gallery__inner {
		gap: 2.5rem;
	}

	.gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.75rem;
	}

	.gallery-lightbox__close {
		top: 0.5rem;
		right: 0.5rem;
		transform: none;
	}
}

@media (min-width: 769px) and (max-width: 1024px) {
	.gallery__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* ------------------------------------------------------------------ */
/* Front page footer (contact + rounded bar)                          */
/* ------------------------------------------------------------------ */

.site-footer--with-contact {
	background: linear-gradient(180deg, #fff8f3 12.08%, #ffbf87 100%);
}
