/* =========================================================================
   HAPEI News & Insights v3  |  append to assets/css/main.css
   Four sections: Blogs, Features & Interviews, Focus Areas, Upcoming Events.
   Blogs + Features share the .hp-news-bigrow / .hp-news-big / .hp-news-mini
   pattern so they look identical.
   ========================================================================= */

.hp-news { background: #fff; }

/* Shared placeholder tile */
.hp-news-ph {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(225,13,13,0.14), rgba(255,75,43,0.05));
}

/* ---- Reusable section header ---- */
.hp-news-secH {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 36px;
	flex-wrap: wrap;
}

.hp-news-secH h2 {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: clamp(26px, 3.2vw, 38px);
	line-height: 1.15;
	color: var(--hp-ink, #1a0b0b);
	margin: 6px 0 0;
	letter-spacing: -0.015em;
	font-weight: 800;
}

.hp-news-secH__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: var(--hp-primary, #e10d0d);
	text-decoration: none;
	padding: 8px 0;
	border-bottom: 2px solid transparent;
	transition: border-color .2s ease, gap .2s ease;
}

.hp-news-secH__more:hover { border-color: var(--hp-primary, #e10d0d); gap: 12px; }
.hp-news-secH__more svg { width: 16px; height: 16px; }

/* ============================ 1. HERO ============================ */
.hp-news-hero3 {
	background: linear-gradient(180deg, #fff 0%, var(--hp-mist, #fbf6f5) 100%);
	padding: clamp(64px, 8vw, 110px) 0 clamp(48px, 6vw, 72px);
	text-align: center;
}

.hp-news-hero3__inner { max-width: 780px; margin: 0 auto; }

.hp-news-hero3__eyebrow {
	display: inline-block;
	color: var(--hp-primary, #e10d0d);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin-bottom: 18px;
}

.hp-news-hero3__inner h1 {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: clamp(34px, 5vw, 60px);
	line-height: 1.08;
	color: var(--hp-ink, #1a0b0b);
	margin: 0 0 18px;
	letter-spacing: -0.025em;
	font-weight: 800;
}

.hp-news-hero3__lead {
	font-size: clamp(16px, 1.7vw, 19px);
	line-height: 1.55;
	color: rgba(26, 11, 11, 0.65);
	margin: 0 auto 36px;
	max-width: 60ch;
}

/* Search */
.hp-news-search { max-width: 560px; margin: 0 auto; }

.hp-news-search__wrap {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid rgba(26, 11, 11, 0.1);
	border-radius: 999px;
	padding: 6px 6px 6px 24px;
	box-shadow: 0 8px 24px rgba(26, 11, 11, 0.06);
	transition: border-color .2s ease, box-shadow .2s ease;
}

.hp-news-search__wrap:focus-within {
	border-color: var(--hp-primary, #e10d0d);
	box-shadow: 0 8px 24px rgba(225, 13, 13, 0.12);
}

.hp-news-search__icon { width: 20px; height: 20px; color: rgba(26, 11, 11, 0.45); flex-shrink: 0; }

.hp-news-search input {
	flex: 1;
	border: 0;
	background: transparent;
	padding: 12px 14px;
	font-family: inherit;
	font-size: 15px;
	color: var(--hp-ink, #1a0b0b);
	outline: none;
	min-width: 0;
}

.hp-news-search input::placeholder { color: rgba(26, 11, 11, 0.35); }

.hp-news-search__btn {
	background: var(--hp-primary, #e10d0d);
	color: #fff;
	border: 0;
	padding: 12px 24px;
	border-radius: 999px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background .2s ease;
}

.hp-news-search__btn:hover { background: var(--hp-primary-dark, #a40000); }

.hp-news-search__meta {
	margin: 16px 0 0;
	font-size: 14px;
	color: rgba(26, 11, 11, 0.6);
}

.hp-news-search__meta a {
	color: var(--hp-primary, #e10d0d);
	margin-left: 8px;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

/* ============================ 2 & 3. SPLASH + MINI (Blogs / Features) ============================ */
.hp-news-bigrow {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: 40px;
	align-items: start;
}

.hp-news-big {
	display: block;
	text-decoration: none;
	color: inherit;
}

.hp-news-big__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 14px;
	background: rgba(26, 11, 11, 0.06);
	margin-bottom: 20px;
}

.hp-news-big__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}

.hp-news-big:hover .hp-news-big__media img { transform: scale(1.03); }

.hp-news-big__badge {
	position: absolute;
	top: 16px;
	left: 16px;
	background: var(--hp-primary, #e10d0d);
	color: #fff;
	padding: 5px 12px;
	border-radius: 4px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hp-news-big__body h3 {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: clamp(22px, 2.6vw, 30px);
	line-height: 1.2;
	color: var(--hp-ink, #1a0b0b);
	margin: 0 0 12px;
	letter-spacing: -0.015em;
	font-weight: 800;
	transition: color .2s ease;
}

.hp-news-big:hover .hp-news-big__body h3 { color: var(--hp-primary, #e10d0d); }

.hp-news-big__body p {
	font-size: 15px;
	line-height: 1.55;
	color: rgba(26, 11, 11, 0.7);
	margin: 0 0 10px;
}

.hp-news-big__date { font-size: 13px; color: rgba(26, 11, 11, 0.5); font-weight: 600; }

/* Mini grid (2x2 on the right) */
.hp-news-mini {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
}

.hp-news-mini__item {
	display: flex;
	flex-direction: column;
	gap: 10px;
	text-decoration: none;
	color: inherit;
	transition: transform .2s ease;
}

.hp-news-mini__item:hover { transform: translateY(-2px); }

.hp-news-mini__thumb {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 8px;
	background: rgba(26, 11, 11, 0.06);
}

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

.hp-news-mini__body { display: flex; flex-direction: column; gap: 4px; }

.hp-news-mini__type {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hp-primary, #e10d0d);
}

.hp-news-mini__body h4 {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--hp-ink, #1a0b0b);
	margin: 0;
	transition: color .2s ease;
}

.hp-news-mini__item:hover .hp-news-mini__body h4 { color: var(--hp-primary, #e10d0d); }

.hp-news-mini__date { font-size: 11px; color: rgba(26, 11, 11, 0.5); font-weight: 600; }

@media (max-width: 960px) {
	.hp-news-bigrow { grid-template-columns: 1fr; }
	.hp-news-mini { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 500px) { .hp-news-mini { grid-template-columns: 1fr; } }

/* ============================ 4. FOCUS AREAS GRID ============================ */
.hp-news-fa {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.hp-news-fa__card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid rgba(26, 11, 11, 0.06);
	border-radius: 14px;
	padding: 14px;
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.hp-news-fa__card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 36px rgba(26, 11, 11, 0.08);
	border-color: rgba(225, 13, 13, 0.2);
}

.hp-news-fa__media {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 10px;
	background: rgba(26, 11, 11, 0.06);
}

.hp-news-fa__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .5s ease;
}

.hp-news-fa__card:hover .hp-news-fa__media img { transform: scale(1.05); }

.hp-news-fa__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 4px 6px 8px;
	flex: 1;
}

.hp-news-fa__eyebrow {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hp-primary, #e10d0d);
	width: fit-content;
	padding: 3px 8px;
	background: rgba(225, 13, 13, 0.08);
	border-radius: 999px;
	margin-bottom: 4px;
}

.hp-news-fa__body h3 {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--hp-ink, #1a0b0b);
	margin: 0;
	transition: color .2s ease;
}

.hp-news-fa__card:hover .hp-news-fa__body h3 { color: var(--hp-primary, #e10d0d); }

.hp-news-fa__body p {
	font-size: 13px;
	line-height: 1.5;
	color: rgba(26, 11, 11, 0.6);
	margin: 0;
	flex: 1;
}

.hp-news-fa__date {
	font-size: 11px;
	color: rgba(26, 11, 11, 0.5);
	font-weight: 600;
	margin-top: 4px;
}

@media (max-width: 1024px) { .hp-news-fa { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .hp-news-fa { grid-template-columns: 1fr; } }

/* ============================ 5. UPCOMING EVENTS ============================ */
.hp-news-events {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.hp-news-event {
	display: flex;
	align-items: center;
	gap: 20px;
	background: #fff;
	border: 1px solid rgba(26, 11, 11, 0.06);
	border-radius: 16px;
	padding: 18px 22px 18px 18px;
	text-decoration: none;
	color: inherit;
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.hp-news-event:hover {
	border-color: var(--hp-primary, #e10d0d);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(26, 11, 11, 0.08);
}

.hp-news-event__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	background: rgba(225, 13, 13, 0.08);
	border-radius: 12px;
	flex-shrink: 0;
}

.hp-news-event__month {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hp-primary, #e10d0d);
	line-height: 1;
}

.hp-news-event__day {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: 26px;
	font-weight: 800;
	color: var(--hp-primary, #e10d0d);
	line-height: 1.1;
	margin-top: 2px;
}

.hp-news-event__body { flex: 1; min-width: 0; }

.hp-news-event__body h3 {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: 16px;
	font-weight: 700;
	color: var(--hp-ink, #1a0b0b);
	margin: 0 0 6px;
	line-height: 1.3;
	transition: color .2s ease;
}

.hp-news-event:hover .hp-news-event__body h3 { color: var(--hp-primary, #e10d0d); }

.hp-news-event__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	font-size: 12px;
	color: rgba(26, 11, 11, 0.55);
}

.hp-news-event__arrow {
	width: 18px;
	height: 18px;
	color: rgba(26, 11, 11, 0.3);
	flex-shrink: 0;
	transition: color .2s ease, transform .2s ease;
}

.hp-news-event:hover .hp-news-event__arrow { color: var(--hp-primary, #e10d0d); transform: translateX(3px); }

@media (max-width: 760px) { .hp-news-events { grid-template-columns: 1fr; } }

/* ============================ 6. NEWSLETTER ============================ */
.hp-news-nl {
	background: linear-gradient(135deg, var(--hp-ink, #1a0b0b) 0%, #2d0808 100%);
	color: #fff;
	padding: clamp(64px, 8vw, 96px) 0;
	position: relative;
	overflow: hidden;
}

.hp-news-nl__glow {
	position: absolute;
	top: -150px;
	right: -100px;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(225, 13, 13, 0.25) 0%, transparent 60%);
	border-radius: 50%;
	pointer-events: none;
}

.hp-news-nl__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 48px;
	align-items: center;
}

.hp-eyebrow--light { color: var(--hp-primary, #e10d0d) !important; }

.hp-news-nl__body h2 {
	font-family: var(--hp-head, "Outfit", sans-serif);
	font-size: clamp(26px, 3.4vw, 40px);
	line-height: 1.15;
	color: #fff;
	margin: 12px 0 16px;
	letter-spacing: -0.015em;
	font-weight: 800;
}

.hp-news-nl__body p {
	font-size: 16px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
	margin: 0;
	max-width: 46ch;
}

.hp-news-nl__form {
	display: flex;
	gap: 10px;
	align-items: stretch;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	padding: 8px;
	transition: border-color .2s ease;
}

.hp-news-nl__form:focus-within { border-color: var(--hp-primary, #e10d0d); }

.hp-news-nl__form input {
	flex: 1;
	background: transparent;
	border: 0;
	padding: 14px 18px;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	outline: none;
	min-width: 0;
}

.hp-news-nl__form input::placeholder { color: rgba(255, 255, 255, 0.4); }

.hp-news-nl__form button {
	background: var(--hp-primary, #e10d0d);
	color: #fff;
	border: 0;
	padding: 14px 26px;
	border-radius: 8px;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
	white-space: nowrap;
}

.hp-news-nl__form button:hover { background: var(--hp-primary-dark, #a40000); transform: translateY(-2px); }

.hp-news-nl__ok {
	grid-column: 1 / -1;
	margin: 20px 0 0;
	padding: 12px 18px;
	background: rgba(46, 200, 100, 0.12);
	border: 1px solid rgba(46, 200, 100, 0.3);
	border-radius: 10px;
	color: #b6ffcc;
	font-size: 14px;
	text-align: center;
}

@media (max-width: 900px) { .hp-news-nl__inner { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 520px) {
	.hp-news-nl__form { flex-direction: column; padding: 12px; }
	.hp-news-nl__form button { width: 100%; }
}