/**
 * Single news article — SYT yacht-news detail.
 */

.myh-news-article,
.myh-news-article * {
	box-sizing: border-box;
}

.myh-news-article {
	background: #fff;
	padding: 2.5rem 0 0;
}

.myh-news-article__narrow {
	max-width: 46rem;
	margin-left: auto;
	margin-right: auto;
}

.myh-news-article__header {
	text-align: center;
	margin-bottom: 1.75rem;
}

.myh-news-article__eyebrow {
	margin: 0 0 0.85rem;
	color: #6b7280;
	font-family: "Gotham Book", sans-serif;
	font-size: 0.72rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.myh-news-article__title {
	margin: 0 auto 1.25rem;
	max-width: 40rem;
	color: var(--myh-navy, #0b2545);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.75rem, 3.6vw, 2.6rem);
	font-weight: 400;
	line-height: 1.22;
}

.myh-news-article__share {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin: 0 0 1rem;
	padding: 0;
}

.myh-news-article__share a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	color: #6b7280;
	text-decoration: none;
}

.myh-news-article__share a:hover {
	color: var(--myh-navy, #0b2545);
}

.myh-news-article__byline {
	margin: 0;
	color: #6b7280;
	font-family: "Gotham Book", sans-serif;
	font-size: 0.82rem;
	line-height: 1.5;
}

.myh-news-article__sep {
	margin: 0 0.35rem;
}

.myh-news-article__lead {
	margin: 0 auto 2rem;
	color: #1f2937;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.15rem;
	line-height: 1.65;
	text-align: left;
}

.myh-news-article__content {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.05rem;
	line-height: 1.75;
	color: #1f2937;
}

.myh-news-article__content p {
	margin: 0 0 1.35rem;
}

.myh-news-article__content a {
	color: #2563eb;
}

.myh-news-article__figure {
	margin: 1.75rem 0 2rem;
	padding: 0;
}

.myh-news-article__figure-link {
	position: relative;
	display: block;
	line-height: 0;
	background: #eef1f4;
	text-decoration: none;
}

.myh-news-article__figure img,
.myh-news-article__content img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.myh-news-article__credit {
	position: absolute;
	right: 0.65rem;
	bottom: 0.55rem;
	color: #fff;
	font-family: "Gotham Book", sans-serif;
	font-size: 0.68rem;
	letter-spacing: 0.02em;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
	pointer-events: none;
}

.myh-news-article__caption {
	margin: 0.5rem 0 0;
	color: #6b7280;
	font-family: "Gotham Book", sans-serif;
	font-size: 0.78rem;
	line-height: 1.45;
}

.myh-news-article__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 2rem 0 3rem;
	padding: 0;
}

.myh-news-article__tag {
	display: inline-block;
	border: 1px solid #d1d5db;
	border-radius: 2px;
	padding: 0.4rem 0.7rem;
	color: var(--myh-navy, #0b2545);
	font-family: "Gotham Book", sans-serif;
	font-size: 0.78rem;
	line-height: 1;
}

/* Related Yachts / Companies / Latest News */
.myh-news-related {
	border-top: 1px solid #e5e7eb;
	padding: 2.25rem 0 2.5rem;
	background: #fff;
}

.myh-news-related--latest {
	padding-bottom: 3.5rem;
}

.myh-news-related__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.myh-news-related__title {
	margin: 0;
	color: var(--myh-navy, #0b2545);
	font-family: "Gotham Bold", sans-serif;
	font-size: 1.05rem;
}

.myh-news-related__more {
	color: var(--myh-navy, #0b2545);
	font-family: "Gotham Book", sans-serif;
	font-size: 0.82rem;
	text-decoration: none;
}

.myh-news-related__more:hover {
	text-decoration: underline;
}

.myh-news-related__grid--3 {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
}

.myh-news-related__grid--6 {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1rem;
}

.myh-rel-card {
	background: #fff;
	border: 1px solid #e8ecf0;
	border-radius: 8px;
	overflow: hidden;
}

.myh-rel-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #eef1f4;
	text-decoration: none;
}

.myh-rel-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.myh-rel-card:hover .myh-rel-card__img {
	transform: scale(1.03);
}

.myh-rel-card__ph {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 140px;
	background: #e8eef3;
	color: #c5ccd6;
}

.myh-rel-card__video {
	position: absolute;
	top: 0.55rem;
	right: 0.55rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 3px;
	background: rgba(11, 37, 69, 0.85);
	color: #fff;
}

.myh-rel-card__body {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.85rem 0.9rem 0.95rem;
}

.myh-rel-card__info {
	min-width: 0;
	flex: 1;
}

.myh-rel-card__name {
	margin: 0 0 0.25rem;
	font-family: "Gotham Bold", sans-serif;
	font-size: 0.9rem;
	line-height: 1.3;
}

.myh-rel-card__name a {
	color: var(--myh-navy, #0b2545);
	text-decoration: none;
}

.myh-rel-card__name a:hover {
	text-decoration: underline;
}

.myh-rel-card__specs,
.myh-rel-card__meta {
	margin: 0;
	color: #6b7280;
	font-family: "Gotham Book", sans-serif;
	font-size: 0.75rem;
	line-height: 1.4;
}

.myh-rel-card__price {
	margin: 0.2rem 0 0;
	color: #c2410c;
	font-family: "Gotham Bold", sans-serif;
	font-size: 0.78rem;
}

.myh-rel-card__logo {
	flex: 0 0 auto;
	max-width: 72px;
	line-height: 0;
}

.myh-rel-card__logo img,
.myh-rel-card__logo .myh-listing-card__logo-img {
	display: block;
	max-width: 72px;
	max-height: 40px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.myh-rel-news__media {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	border-radius: 6px;
	background: #eef1f4;
	margin-bottom: 0.55rem;
}

.myh-rel-news__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.myh-rel-news__ph {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 90px;
	background: #e8eef3;
}

.myh-rel-news__meta {
	margin: 0 0 0.35rem;
	color: #9ca3af;
	font-family: "Gotham Book", sans-serif;
	font-size: 0.68rem;
	line-height: 1.35;
}

.myh-rel-news__title {
	margin: 0;
	font-family: "Gotham Bold", sans-serif;
	font-size: 0.82rem;
	line-height: 1.35;
}

.myh-rel-news__title a {
	color: var(--myh-navy, #0b2545);
	text-decoration: none;
}

.myh-rel-news__title a:hover {
	text-decoration: underline;
}

@media (max-width: 1199.98px) {
	.myh-news-related__grid--6 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 991.98px) {
	.myh-news-related__grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575.98px) {
	.myh-news-article {
		padding-top: 1.5rem;
	}

	.myh-news-related__grid--3,
	.myh-news-related__grid--6 {
		grid-template-columns: 1fr;
	}
}
