/* =========================================================================
   Handknitted — About pages (About Us / Story / Icelandic Lopapeysa)
   -------------------------------------------------------------------------
   Design frames "About US", "Story", "Icelandic lopapeysa" (2026-07-13
   exports). Content is Gutenberg blocks; these classes style the sections.
   The content band matches the shop pages: 1310px, centered.
   ========================================================================= */

.page-template-about .site-content { padding-block: 0; }

.hk-about .entry-content > * {
	max-width: calc(1310px + 2 * var(--hk-gutter));
	margin-inline: auto;
	padding-inline: var(--hk-gutter);
	margin-block: clamp(2.5rem, 5vw, 4.5rem);
}
.hk-about .entry-content > *:first-child { margin-block-start: 0; }

/* ---- Hero (label + display heading left, image right — overview style) --- */
.hk-ab-hero.wp-block-columns {
	gap: clamp(1.5rem, 3vw, 3rem);
	align-items: stretch;
	margin-block: 0 clamp(2.5rem, 5vw, 4.5rem);
}
.hk-ab-hero .wp-block-column:first-child {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.hk-ab-hero__label {
	font-family: "Nexa", var(--hk-font);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--hk-brand);
	margin: 0 0 0.5rem;
}
.hk-ab-hero__heading {
	font-family: "Nexa", var(--hk-font);
	font-weight: 700;
	font-size: clamp(2.5rem, 4.45vw, 4rem);
	line-height: 1.08;
	color: var(--hk-ink);
	margin: 0;
}
.hk-ab-hero .wp-block-image { margin: 0; }
.hk-ab-hero .wp-block-image img {
	display: block;
	width: 100%;
	height: clamp(320px, 40vw, 575px);
	object-fit: contain;
	object-position: right center;
}

/* ---- Text/image sections -------------------------------------------------- */
.hk-ab-section.wp-block-columns {
	gap: clamp(1.5rem, 4vw, 7rem);
	align-items: center;
}
.hk-ab-section .wp-block-image { margin: 0; }
.hk-ab-section .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}
/* text column gets an inset like the design (text starts ~113px in) */
.hk-ab-section__text { padding-inline: clamp(0.5rem, 3vw, 3rem); }

.hk-ab-heading {
	font-family: "Nexa", var(--hk-font);
	font-weight: 700;
	font-size: clamp(1.5rem, 2.2vw, 1.875rem);
	color: var(--hk-ink);
	line-height: 1.2;
	margin: 0 0 1.2rem;
}
.hk-ab-heading--cyan { color: var(--hk-brand); }

.hk-ab-section__text p {
	font-size: 1rem;
	line-height: 1.6;
	color: var(--hk-ink);
	margin: 0 0 1rem;
}

.hk-ab-link {
	display: inline-block;
	font-weight: 700;
	font-size: 0.9375rem;
	color: var(--hk-brand) !important;
	text-decoration: underline;
	margin-top: 0.4rem;
}
.hk-ab-link:hover { color: var(--hk-brand-dark) !important; }

/* cyan-bulleted conditions list (PGI section) */
.hk-ab-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1rem;
}
.hk-ab-list li {
	position: relative;
	padding-left: 1.1rem;
	margin-bottom: 0.55rem;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--hk-ink);
}
.hk-ab-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.42em;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--hk-brand);
}

/* ---- Full-width band images (design text baked in) ------------------------ */
.hk-ab-band.wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

/* ---- Mens / Womens tiles (like the front page) ----------------------------- */
.hk-ab-tiles.wp-block-columns { gap: clamp(0.75rem, 1.4vw, 1.25rem); }
.hk-ab-tile.wp-block-cover {
	min-height: clamp(300px, 34vw, 575px);
	align-items: flex-end;
	justify-content: flex-start;
	border-radius: 3px;
	overflow: hidden;
}
.hk-ab-tile .wp-block-cover__inner-container {
	padding: clamp(1.25rem, 2.5vw, 2rem);
	width: 100%;
}
.hk-ab-tile__title,
.hk-ab-tile__title a {
	font-family: "Nexa", var(--hk-font);
	font-weight: 700;
	color: #fff;
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	line-height: 1.05;
	margin: 0;
	text-decoration: none;
}
.hk-ab-tile__title a:hover { text-decoration: none; opacity: 0.92; }
/* stretched link: the whole tile is clickable (inner container must be
   static so the ::after anchors to the tile; the image drops to z -1 inside
   the tile's isolated stacking so the static text stays visible) */
.hk-ab-tile.wp-block-cover { position: relative; isolation: isolate; }
.hk-ab-tile .wp-block-cover__inner-container { position: static; }
.hk-ab-tile .wp-block-cover__image-background { z-index: -1 !important; }
.hk-ab-tile__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

/* ---- Responsive ------------------------------------------------------------ */
@media (max-width: 820px) {
	.hk-ab-hero.wp-block-columns,
	.hk-ab-section.wp-block-columns,
	.hk-ab-tiles.wp-block-columns { flex-direction: column; }
	.hk-ab-hero .wp-block-image img { height: auto; object-position: center; }
	.hk-ab-section__text { padding-inline: 0; }
}
