/**
 * Homepage news section — matches screenshot, uses site 6-color vars + Gotham Book.
 */

.myh-home-news {
	background: var(--myh-surface, #fff);
	font-family: "Gotham Book", sans-serif;
	color: var(--myh-text, #1a1a1a);
}

.myh-home-news,
.myh-home-news * {
	font-family: "Gotham Book", sans-serif;
}

.myh-news-card__img,
.myh-news-featured__img,
.myh-news-latest__img {
	border-radius: 6px;
	object-fit: cover;
	display: block;
}

.myh-news-card__img,
.myh-news-card__placeholder {
	aspect-ratio: 16 / 10;
	height: auto;
}

.myh-news-featured__media {
	border-radius: 8px;
	overflow: hidden;
}

.myh-news-featured__img,
.myh-news-featured__placeholder {
	aspect-ratio: 16 / 10;
	height: auto;
	border-radius: 8px;
}

.myh-news-card__placeholder,
.myh-news-featured__placeholder,
.myh-news-latest__placeholder {
	background: var(--myh-border, #e5e5e5);
	border-radius: 6px;
}

.myh-news-card__cat {
	color: var(--myh-primary, #0096e1);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.3;
}

.myh-news-card__title,
.myh-news-featured__title,
.myh-news-latest__title {
	font-weight: 700;
	color: var(--myh-text, #1a1a1a);
	line-height: 1.3;
}

.myh-news-card__title {
	font-size: 1.05rem;
}

.myh-news-card__title a,
.myh-news-featured__title a,
.myh-news-latest__title a {
	color: inherit;
}

.myh-news-card__title a:hover,
.myh-news-featured__title a:hover,
.myh-news-latest__title a:hover {
	color: var(--myh-primary, #0096e1);
}

.myh-news-card__meta {
	color: var(--myh-muted, #666);
	font-size: 0.72rem;
	font-weight: 400;
	letter-spacing: 0.02em;
}

.myh-news-featured__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1.25rem 1.35rem 1.4rem;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.65rem;
	text-align: left;
}

.myh-news-featured__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: var(--myh-primary, #0096e1);
	color: var(--myh-surface, #fff);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	line-height: 1;
}

.myh-news-featured__badge-icon {
	flex-shrink: 0;
}

.myh-news-featured__overlay-title {
	color: var(--myh-surface, #fff);
	font-size: clamp(1.05rem, 2vw, 1.45rem);
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	max-width: 95%;
}

.myh-news-featured__title {
	font-size: clamp(1.35rem, 2.2vw, 1.85rem);
	max-width: 36rem;
	margin-left: auto;
	margin-right: auto;
}

.myh-news-featured__excerpt {
	color: var(--myh-muted, #666);
	font-size: 0.95rem;
	line-height: 1.55;
	max-width: 34rem;
}

.myh-news-latest__heading {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--myh-text, #1a1a1a);
}

.myh-news-latest__see-all {
	color: var(--myh-primary, #0096e1);
	font-size: 0.8rem;
	font-weight: 600;
	white-space: nowrap;
}

.myh-news-latest__see-all:hover {
	color: var(--myh-accent, #f05a28);
}

.myh-news-latest__item {
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--myh-border, #e5e5e5);
}

.myh-news-latest__item:first-child {
	padding-top: 0.25rem;
}

.myh-news-latest__item:last-child {
	border-bottom: 0;
}

.myh-news-latest__title {
	font-size: 0.92rem;
}

.myh-news-latest__img,
.myh-news-latest__placeholder {
	width: 72px;
	height: 56px;
	border-radius: 4px;
	object-fit: cover;
}

.myh-news-ad {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
}

.myh-news-ad__label {
	color: var(--myh-muted, #666);
	font-size: 0.65rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.myh-news-ad__box {
	width: 100%;
	min-height: 200px;
	background: var(--myh-border, #e5e5e5);
	border-radius: 4px;
}

.myh-news-ad__img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	display: block;
}

.myh-news-ad__link {
	display: block;
	width: 100%;
}

@media (max-width: 991.98px) {
	.myh-news-featured__body {
		text-align: left !important;
	}

	.myh-news-featured__title,
	.myh-news-featured__excerpt {
		margin-left: 0;
		margin-right: 0;
		max-width: none;
	}
}
