/*
 * Front page styles
 * IE Zukuri Content Theme
 */

/* --------------------------------
 * Front page shared UI
 * -------------------------------- */
.front-section-more__link,
.front-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 20px;
	border-radius: 999px;
	line-height: 1.4;
	font-weight: 700;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.front-section-more__link:hover,
.front-hero__button:hover {
	opacity: 0.9;
	transform: translateY(-1px);
}

.front-section-more__link {
	white-space: nowrap;
	background: linear-gradient(135deg, #8c6a4a, #c97b63);
	color: #ffffff;
	box-shadow: 0 8px 20px rgba(140, 106, 74, 0.14);
}

.front-hero__button--primary {
	min-width: 152px;
	padding: 14px 24px;
	background: linear-gradient(135deg, #8c6a4a, #c97b63);
	color: #ffffff;
	box-shadow: 0 10px 24px rgba(140, 106, 74, 0.16);
}

/* --------------------------------
 * Front page sections
 * -------------------------------- */
.front-page-main {
	padding-top: 0;
}

.front-topics,
.front-featured-posts,
.front-latest-posts,
.front-brand-links {
	padding: clamp(28px, 5vw, 64px) 0;
}

.front-topics__inner,
.front-featured-posts__inner,
.front-latest-posts__inner,
.front-brand-links__inner {
	width: min(100%, 1200px);
	margin: 0 auto;
}

.front-section-header {
	margin-bottom: 24px;
}

.front-section-header--inline {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
}

.front-section-header__main {
	min-width: 0;
}

.front-section-header__eyebrow {
	margin: 0 0 10px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8c6a4a;
}

.front-section-title {
	margin: 0 0 10px;
	font-size: clamp(1.5rem, 3vw, 2.3rem);
	line-height: 1.25;
	color: #2b2b2b;
}

.front-section-text {
	margin: 0;
	max-width: 760px;
	font-size: 0.95rem;
	line-height: 1.85;
	color: #6f6258;
}

/* --------------------------------
 * Hero
 * -------------------------------- */
.front-hero {
	position: relative;
	padding: 0;
	margin: 0 0 56px;
}

.front-hero--warm {
	position: relative;
	overflow: hidden;
	background: #ebe7e1;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

.front-hero__inner {
	position: relative;
	width: min(100% - 32px, 1200px);
	margin: 0 auto;
	min-height: 650px;
}

.front-hero__visual {
	position: relative;
	width: 100%;
	min-height: 650px;
}

.front-hero__image-wrap,
.front-hero__placeholder {
	width: min(66.5vw, 798px);
	height: 590px;
	min-height: 590px;
	margin-top: 0;
	margin-left: auto;
	border-radius: 0;
}

.front-hero__image-wrap {
	overflow: hidden;
	background-color: #ffffff;
	box-shadow: none;
}

.front-hero__image {
	display: block;
	width: 100%;
	height: 590px;
	min-height: 590px;
	object-fit: cover;
	object-position: 50% center;
}

.front-hero__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	border: 0;
	background: #ffffff;
	text-align: center;
}

.front-hero__content {
	position: absolute;
	left: 0;
	top: 184px;
	z-index: 2;
	width: min(920px, calc(100% - 104px));
	max-width: none;
	transform: none;
}

.front-hero__placeholder-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 32px;
	padding: 6px 12px;
	border-radius: 999px;
	background-color: #8c6a4a;
	color: #ffffff;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
}

.front-hero__placeholder-text {
	margin: 0;
	font-size: 0.95rem;
	color: #7a6c60;
}

.front-hero__eyebrow {
	margin: 0 0 14px;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #a47c57;
}

.front-hero__title {
	margin: 0 0 24px;
	font-size: clamp(3.05rem, 5.1vw, 4.2rem);
	line-height: 1.12;
	letter-spacing: -0.05em;
	color: #111111;
	text-shadow:
		0 0 10px rgba(230, 224, 216, 0.95),
		0 0 20px rgba(230, 224, 216, 0.90),
		0 0 36px rgba(230, 224, 216, 0.82),
		0 0 54px rgba(230, 224, 216, 0.72);
}

.front-hero__title-line {
	display: block;
}

.front-hero__text {
	max-width: 380px;
	margin: 0 0 28px;
	padding: 18px 22px;
	font-size: clamp(0.9375rem, 1.02vw, 1rem);
	line-height: 1.9;
	color: #9a7d61;
	background: rgba(244, 239, 233, 0.92);
	border: 1px solid rgba(170, 140, 110, 0.14);
	border-radius: 18px;
	box-shadow: 0 10px 30px rgba(80, 60, 40, 0.06);
}

.front-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

/* --------------------------------
 * Topics
 * -------------------------------- */
.front-topics__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
}

.front-topic-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 22px 20px;
	border: 1px solid #e7ddd3;
	border-radius: 20px;
	background: linear-gradient(180deg, #ffffff 0%, #fcfaf7 100%);
	color: #2b2b2b;
	box-shadow: 0 12px 26px rgba(43, 43, 43, 0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.front-topic-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 30px rgba(43, 43, 43, 0.06);
	opacity: 0.98;
}

.front-topic-card__label {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.4;
	color: #2b2b2b;
}

.front-topic-card__desc {
	font-size: 0.95rem;
	line-height: 1.8;
	color: #6f6258;
}

/* --------------------------------
 * Featured / latest
 * -------------------------------- */
.front-featured-posts .post-list--featured {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* --------------------------------
 * Brand links
 * -------------------------------- */
.front-brand-links__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
}

.front-brand-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 28px 24px;
	border-radius: 24px;
	color: #2b2b2b;
	box-shadow: 0 16px 32px rgba(43, 43, 43, 0.05);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.front-brand-card:hover {
	transform: translateY(-3px);
	opacity: 0.98;
}

.front-brand-card--primary {
	border: 1px solid #e7ddd3;
	background: linear-gradient(135deg, #fcfaf7 0%, #f4eee8 100%);
}

.front-brand-card--secondary {
	border: 1px solid #d8cabb;
	background: linear-gradient(135deg, #ffffff 0%, #f8f3ed 100%);
}

.front-brand-card__eyebrow {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8c6a4a;
}

.front-brand-card__title {
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	line-height: 1.35;
	color: #2b2b2b;
}

.front-brand-card__text {
	font-size: 0.95rem;
	line-height: 1.8;
	color: #6f6258;
}

/* --------------------------------
 * Responsive
 * -------------------------------- */
@media (max-width: 1024px) {
	.front-hero__inner {
		width: min(100% - 32px, 1200px);
		min-height: auto;
	}

	.front-hero__visual {
		min-height: auto;
	}

	.front-hero__image-wrap,
	.front-hero__placeholder {
		width: 100%;
		height: 460px;
		min-height: 460px;
		margin-top: 0;
		margin-left: 0;
	}

	.front-hero__image {
		height: 460px;
		min-height: 460px;
		object-position: center center;
	}

	.front-hero__content {
		position: static;
		transform: none;
		width: min(100%, 720px);
		max-width: none;
		margin: 0 auto;
		padding: 44px 0 32px;
	}

	.front-topics__grid,
	.front-featured-posts .post-list--featured {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.front-brand-links__grid {
		grid-template-columns: 1fr;
	}

	.front-hero__title {
		font-size: clamp(2.5rem, 7vw, 3.75rem);
		line-height: 1.02;
	}

	.front-hero__text {
		max-width: none;
	}
}

@media (max-width: 767px) {
	.front-section-header--inline {
		flex-direction: column;
		align-items: flex-start;
	}

	.front-hero--warm {
		border-radius: 0;
	}

	.front-hero__content {
		width: 100%;
		padding: 28px 0 24px;
	}

	.front-hero__image-wrap,
	.front-hero__placeholder {
		height: 300px;
		min-height: 300px;
	}

	.front-hero__image {
		height: 300px;
		min-height: 300px;
	}

	.front-topics__grid,
	.front-featured-posts .post-list--featured {
		grid-template-columns: 1fr;
	}

	.front-hero__eyebrow {
		margin-bottom: 12px;
		font-size: 0.8125rem;
	}

	.front-hero__title {
		margin-bottom: 20px;
		font-size: clamp(2.1rem, 9vw, 2.9rem);
		line-height: 1.05;
	}

	.front-hero__title-line {
		display: inline;
	}

	.front-hero__title-line + .front-hero__title-line::before {
		content: "";
	}

	.front-hero__text {
		padding: 16px 18px;
		font-size: 0.9375rem;
		line-height: 1.8;
	}

	.front-hero__actions {
		flex-direction: column;
		align-items: stretch;
		margin-top: 24px;
	}

	.front-section-more__link,
	.front-hero__button {
		width: 100%;
	}
}