/**
 * News entry — Figma 133:1223 / 265:11812
 * Date+logo row (left-start) / left-aligned title & body / back link
 */

.hds-news-entry {
	width: 100%;
	max-width: var(--hds-news-entry-rail);
	margin: 0 auto;
	padding: 86px 0 0;
	box-sizing: border-box;
}

.hds-news-entry__breadcrumb {
	margin: 0 0 50px;
}

.hds-news-entry__breadcrumb-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	opacity: 0.8;
	color: #333333;
	font-family: "Noto Serif JP", serif;
	font-size: calc(8px * var(--hds-type-scale, 1));
	font-weight: 400;
	line-height: 14px;
}

.hds-news-entry__breadcrumb-item {
	display: inline-flex;
	align-items: center;
	margin: 0;
}

.hds-news-entry__breadcrumb-item a {
	color: inherit;
	text-decoration: none;
}

.hds-news-entry__breadcrumb-item a:hover,
.hds-news-entry__breadcrumb-item a:focus {
	opacity: 0.7;
}

.hds-news-entry__breadcrumb-item:not(:last-child)::after {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-left: 6px;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 6l6 6-6 6' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 6l6 6-6 6' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hds-news-entry__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	width: 100%;
	margin: 0 0 34px;
}

/* Date + company logo — vertically centered as a pair */
.hds-news-entry__meta {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 30px;
	width: auto;
	max-width: 100%;
}

.hds-news-entry__date {
	margin: 0;
	color: #333333;
	font-family: "Noto Serif JP", serif;
	font-size: calc(12px * var(--hds-type-scale, 1));
	font-weight: 400;
	line-height: 2.1;
	letter-spacing: -0.132px;
	white-space: nowrap;
}

.hds-news-entry__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.hds-news-entry__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: auto;
	padding: 0;
	box-sizing: border-box;
	flex-shrink: 0;
}

.hds-news-entry__logo img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 28px;
	object-fit: contain;
	object-position: center;
}

/* 記事タイトル — About / Works 本文見出し（24px）に揃える */
.hds-news-entry__title {
	margin: 0;
	padding: 0;
	width: 100%;
	color: #333333;
	font-family: "Noto Serif JP", serif;
	font-size: calc(24px * var(--hds-type-scale, 1));
	font-weight: 400;
	line-height: 1.5;
	letter-spacing: -0.154px;
	text-align: left;
	word-break: break-word;
}

/* Back link — 本文との間隔は shell 側で 70px */
.hds-news-back {
	display: flex;
	justify-content: center;
	width: 100%;
	max-width: var(--hds-news-entry-rail);
	margin: 0 auto;
	padding: 0 0 64px;
	box-sizing: border-box;
}

.hds-news-back__link {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-width: 150px;
	height: 31px;
	color: #333333;
	font-family: "Noto Serif JP", serif;
	font-size: calc(14px * var(--hds-type-scale, 1));
	font-weight: 400;
	line-height: 1.7;
	letter-spacing: -0.154px;
	text-decoration: none;
	white-space: nowrap;
}

.hds-news-back__link:hover,
.hds-news-back__link:focus {
	opacity: 0.7;
}

.hds-news-back__icon {
	display: block;
	width: 18px;
	height: 31px;
	flex-shrink: 0;
	transform: scaleX(-1);
}

/* Body — Works 詳細と同じ content-typography（16px / lh 2.4） */
.hds-shell--news .wp-block-post-content,
.hds-shell--news .entry-content {
	max-width: var(--hds-news-entry-rail);
	text-align: left;
}

.hds-shell--news .wp-block-post-content > h2,
.hds-shell--news .wp-block-post-content h2.wp-block-heading,
.hds-shell--news .entry-content > h2,
.hds-shell--news .entry-content h2.wp-block-heading {
	text-align: left;
}

@media screen and (max-width: 781px) {
	.hds-news-entry {
		padding: 32px 0 0;
	}

	.hds-news-entry__breadcrumb {
		margin-bottom: 28px;
	}

	.hds-news-entry__meta {
		gap: 16px;
	}

	.hds-news-entry__title {
		font-size: 22px;
	}

	.hds-news-back {
		padding-bottom: 48px;
	}
}
