/**
 * Module: What's On Heading
 * Single-post header: rule, meta bar, two-column heading/excerpt, full-width image.
 */

/* -----------------------------------------------------------------------
   Wrapper
----------------------------------------------------------------------- */
.wohm {
	padding: 0px 40px 70px;
}

/* -----------------------------------------------------------------------
   Horizontal rule
----------------------------------------------------------------------- */
.wohm__rule {
	border: none;
	border-top: 1px solid #111111;
	margin: 0 0 14px;
}

/* -----------------------------------------------------------------------
   Meta bar: tag + date
----------------------------------------------------------------------- */
.wohm__meta {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 17px;
}

.wohm__tag {
	display: inline-block;
	background-color: var(--yellow);
	color: var(--black);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0em;
	text-transform: uppercase;
	padding: 4px 8px 4px;
	line-height: 1;
}

.wohm__date {
	font-size: 11px;
	color: var(--grey);
	letter-spacing: 0em;
}

/* -----------------------------------------------------------------------
   Two-column row: title left (~60%), excerpt right (~40%)
----------------------------------------------------------------------- */
.wohm__head-row {
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: 40px;
	align-items: end;
	margin-bottom: 48px;
}

.wohm__title {
	font-size: clamp(28px, 4.5vw, 68px);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: -0.02em;
	line-height: 1;
	margin: 0;
	color: #111111;
	max-width: 80%;
}

.wohm__excerpt {
	font-size: 18px;
	line-height: 24px;
	color: var(--black);
}

.wohm__excerpt p {
	margin: 0 0 14px;
}

.wohm__excerpt p:last-child {
	margin-bottom: 0;
}

/* -----------------------------------------------------------------------
   Full-width image + caption
----------------------------------------------------------------------- */
.wohm__figure {
	margin: 0;
}

.wohm__figure img {
	display: block;
	width: 100%;
	height: auto;
}

.wohm__caption {
	display: block;
	font-size: 14px;
	color: #4d4d4d;
	letter-spacing: 0.02em;
	padding: 9px 0 7px;
  border-bottom: solid 1px var(--black);
}

/* -----------------------------------------------------------------------
   Responsive
----------------------------------------------------------------------- */
@media (max-width: 900px) {
	.wohm__head-row {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-bottom: 36px;
	}
	.wohm {
		padding: 0px 20px 70px;
	}

	.wohm__excerpt {
		font-size: 16px;
		line-height: 22px;
	}
	.wohm__caption {
		font-size: 12px;
	}
}

@media (max-width: 640px) {
	.wohm {
		padding-bottom: 40px;
	}

	.wohm__meta {
		margin-bottom: 20px;
	}
}
