/* News & press releases (/news/, /news/{slug}/). Loaded only on those pages (app/templates/layout.php).
   The page sections, headings, text and cards come from the site's standard blocks (Enfour\NewsBlocks);
   this file only adds what those blocks do not have. */

/* Breadcrumbs on the dark hero (fonts.css, which styles them on other pages, is not loaded here) */
.enfour-news .enfour-crumbs { font-size: .875rem; color: rgba(255,255,255,.75); margin-bottom: 12px; }
.enfour-news .enfour-crumbs a { color: #D4B068; text-decoration: none; display: inline-block; min-width: 24px; text-align: center; }
.enfour-news .enfour-crumbs a:hover { color: var(--en-gold-light); }
.enfour-news--single .en-pagehero h1 { font-size: clamp(1.75rem, 3.2vw, 2.75rem); line-height: 1.25; overflow-wrap: anywhere; }

/* Date · category line on cards */
.en-news-meta { margin: 0; font-size: .8125rem; color: var(--en-taupe-text); }
.en-news-cards .elementor-heading-title { overflow-wrap: break-word; }

/* Year jump links and archive links in the first section of /news/ */
.en-news__years { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; }
.en-kit .en-news__years a { display: inline-block; min-width: 3.6em; padding: 7px 12px; border: 1px solid var(--en-navy); border-radius: 999px;
	font-size: .8125rem; font-weight: 500; line-height: 1.2; text-align: center; color: var(--en-navy); text-decoration: none; background: var(--en-white); }
.en-kit .en-news__years a:hover, .en-kit .en-news__years a:focus-visible { background: var(--en-navy); color: var(--en-white); }
.en-news-archive-links { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.en-news-archive-links a { display: inline-block; padding: 4px 0; }
.en-news-archive-links a::after, a.en-archive-link::after { content: " ↗"; font-size: .85em; }
.en-news-hub [id^="y"] { scroll-margin-top: 100px; }

/* Story text: lists, sub-headings, the price table of new releases */
.en-news-story .en-text ul, .en-news-story .elementor-widget-text-editor ul { padding-left: 1.4em; }
.en-news-story .elementor-widget-text-editor h3 { font-family: var(--en-font-slab); font-weight: 600; font-size: 1.375rem; color: var(--en-navy); margin: 1.6em 0 .5em; }
.en-news-story .elementor-widget-text-editor h4 { font-size: 1.0625rem; color: var(--en-navy); margin: 1.4em 0 .4em; }
.en-news-story .en-news-lead { font-size: 1.125rem; line-height: 1.7; }
.en-news-story .en-small { margin-top: 8px; }
.en-news-table { overflow-x: auto; margin: 0 0 1.2em; }
.en-news-table table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.6; }
.en-news-table th, .en-news-table td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--en-sand); text-align: left; vertical-align: top; background: none; }
.en-news-table th { background: var(--en-light); color: var(--en-navy); font-weight: 600; white-space: nowrap; }
@media (min-width: 601px) { .en-news-table td:first-child, .en-news-table td:nth-child(2) { white-space: nowrap; } }
@media (max-width: 600px) {
	/* Price table as stacked rows on phones: plan name, price, details */
	.en-news-table thead { display: none; }
	.en-news-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--en-sand); }
	.en-news-table td { display: block; padding: 2px 0; border: 0; }
	.en-news-table td:first-child { font-weight: 600; color: var(--en-navy); }
	.en-news-table td:nth-child(2) { color: var(--en-gold-text); }
}
.en-news-story .elementor-widget-text-editor { overflow-wrap: anywhere; }
.en-kit .en-news-archive-links { padding-left: 0; }
html[lang="ja"] .en-news-cards .elementor-heading-title, html[lang="ja"] .en-news-story .elementor-heading-title { word-break: normal; } /* long story titles: auto-phrase split 手書き etc. */
