/*!
 * Harmonious Way — Page Styles
 * Version: 2.11.0
 *
 * Block-specific styles only. Shared variables (--shinwado-red,
 * --shinwado-gold, --shinwado-cream, font stacks, etc.), the reset, the
 * .shinwado-btn button system, and the lightbox all come from
 * shinwado.css, loaded alongside this file — see
 * includes/harmonious-way-render.php.
 *
 * Contents:
 *   1. Our Logo block
 *   2. Mission block
 *   3. Federation Benefits block
 *   4. Membership block
 *   5. Closing Quote block
 *   6. CTA block
 *   7. Responsive
 */

/* 0. Back to Home link (page-level, sits above the Our Logo block) ---------------- */
.hw-back-link {
	display: inline-block;
	padding: 1rem 2rem;
	color: var(--shinwado-red); /* #B60004 */
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
}
.hw-back-link:hover {
	text-decoration: underline;
}

/* 1. Our Logo block ---------------------------------------------------------------- */
.hw-logo {
	background-color: var(--shinwado-cream);
	background-size: cover;
	background-position: center;
	padding: 4rem 2rem;
}
.hw-logo__grid {
	max-width: var(--shinwado-max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3.5rem;
	align-items: start;
}

/* Left column: eyebrow, underline, title, description, large logo graphic */
.hw-logo__eyebrow {
	margin: 0 0 0.6rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	/* font-family/size/weight/style/text-align/color come from the Small
	   Title field's typography controls, applied inline. */
}
.hw-logo__eyebrow-line {
	width: 48px;
	height: 3px;
	margin-bottom: 1.25rem;
}
.hw-logo__title {
	margin: 0 0 1rem;
	line-height: 1.3;
}
.hw-logo__description {
	margin: 1.5rem 0 2rem;
	line-height: 1.6;
}
.hw-logo__graphic {
	max-width: 420px;
	width: 100%;
	height: auto;
}

/*
 * Shared divider: a thin horizontal line with a small centered diamond,
 * used under both the main title and "Understanding Our Logo" — see
 * shinwado_render_hw_divider() in includes/harmonious-way-render.php.
 * Built in CSS (not an uploaded image) so it always spans exactly the
 * width of whichever column it's in.
 */
.hw-divider {
	position: relative;
	height: 1px;
	background: var(--shinwado-red);
	margin: 0.5rem 0;
}
.hw-divider__diamond {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	background: var(--shinwado-red);
	transform: translate(-50%, -50%) rotate(45deg);
}

/* Right column: title, item list, closing box */
.hw-logo__right-title {
	margin: 0 0 0.6rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
}
.hw-logo__items {
	display: flex;
	flex-direction: column;
}
.hw-logo__item {
	display: flex;
	gap: 1.25rem;
	align-items: flex-start;
	padding: 1.1rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.hw-logo__item:first-child {
	padding-top: 0;
}
.hw-logo__item:last-child {
	border-bottom: none;
}
.hw-logo__item-image {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	overflow: hidden;
}
.hw-logo__item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hw-logo__item-text {
	flex: 1 1 auto;
}
.hw-logo__item-title {
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--shinwado-ink);
	margin-bottom: 0.35rem;
}
.hw-logo__item-desc {
	font-size: 0.92rem;
	line-height: 1.55;
	color: #444444;
}
.hw-logo__closing {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-top: 1.75rem;
	padding: 1.25rem 1.5rem;
	background: #EFE2C6;
	border-radius: 8px;
}
.hw-logo__closing-icon {
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
}
.hw-logo__closing-text {
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--shinwado-ink);
}

/* Shared block wrapper (all blocks below use this) */
.hw-block {
	padding: 4rem 2rem;
	scroll-margin-top: 2rem;
}
.hw-block__inner {
	max-width: var(--shinwado-max-width);
	margin: 0 auto;
}

/* 2. Mission block (Three Principles — .hw-principles class name kept internally) - */
.hw-principles {
	background: #ffffff;
}
.hw-principles__title {
	text-align: center;
	margin: 0 0 2.5rem;
}
.hw-principles__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.5rem;
}
.hw-principles__item {
	text-align: center;
}
.hw-principles__kanji {
	font-family: 'Playfair Display', serif;
	font-size: 3.5rem;
	line-height: 1;
	color: var(--shinwado-gold);
	margin-bottom: 0.75rem;
}
.hw-principles__name {
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	font-size: 1.1rem;
	margin-bottom: 0.5rem;
	color: var(--shinwado-ink);
}
.hw-principles__desc {
	font-size: 0.92rem;
	line-height: 1.6;
	color: #555555;
}

/* 3. Federation Benefits block (Core Tenets — .hw-tenets class name kept internally) */
.hw-tenets {
	background: var(--shinwado-cream);
}
.hw-tenets__title {
	text-align: center;
	margin: 0 0 2.5rem;
}
.hw-tenets__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
}
.hw-tenets__item {
	text-align: center;
}
.hw-tenets__item-image {
	width: 72px;
	height: 72px;
	margin: 0 auto 1rem;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid var(--shinwado-gold);
}
.hw-tenets__item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.hw-tenets__item-title {
	font-family: 'Playfair Display', serif;
	font-weight: 700;
	margin-bottom: 0.4rem;
	color: var(--shinwado-ink);
}
.hw-tenets__item-desc {
	font-size: 0.9rem;
	line-height: 1.5;
	color: #555555;
}

/* 4. Membership block ---------------------------------------------------------------- */
.hw-membership {
	background: #ffffff;
}
.hw-membership__heading {
	font-family: 'Playfair Display', serif;
	font-size: 1.75rem;
	margin: 0 0 1rem;
	color: var(--shinwado-ink);
}
.hw-membership__content {
	line-height: 1.7;
	color: #333333;
}
.hw-membership__content p {
	margin: 0 0 1rem;
}

/* 5. Closing Quote block ------------------------------------------------------------ */
.hw-quote {
	background-color: var(--shinwado-cream);
	background-size: cover;
	background-position: center;
	text-align: center;
}
.hw-quote__inner {
	max-width: 720px;
}
.hw-quote__text {
	margin: 0 0 1rem;
	line-height: 1.6;
}
.hw-quote__signature {
	letter-spacing: 0.04em;
}

/* 6. CTA block --------------------------------------------------------------------- */
.hw-cta {
	position: relative;
	background-color: var(--shinwado-ink);
	background-size: cover;
	background-position: center;
	padding: 3rem 2rem;
	text-align: center;
	overflow: hidden;
}
.hw-cta__inner {
	max-width: 640px;
	margin: 0 auto;
}
.hw-cta__image {
	max-height: 56px;
	width: auto;
	margin: 0 auto 1rem;
}
.hw-cta__title {
	margin: 0 0 0.75rem;
	font-family: 'Playfair Display', serif;
	font-size: 2rem;
	font-weight: 700;
	line-height: 1.25;
}
.hw-cta__description {
	margin: 0 0 1.5rem;
	font-size: 1.05rem;
	line-height: 1.6;
}
.hw-cta__button {
	margin: 0;
}

/* 7. Responsive ---------------------------------------------------------------------- */
@media (max-width: 780px) {
	.hw-logo__grid {
		grid-template-columns: 1fr;
		gap: 2.5rem;
	}
	.hw-principles__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	.hw-tenets__grid {
		grid-template-columns: 1fr 1fr;
	}
}
