/*
 * Article page (single post, episode, listing headers): header + breadcrumbs, body text, lists,
 * quotes, tables, embeds, figures, topic chips, follow row, related posts, ads under the article,
 * on-demand player facade. Package B of wave 2 (docs/work/wave2-B-article.md).
 *
 * Colours: palette and role rules in base.css / docs/work/colours.md. Orange text and links on
 * the page use --accent-text (--accent fails WCAG AA as text on --paper); --accent is for fills.
 */

:root {
	--articleMeasure: 66rem;    /* one width for body text and stand-first: ~70 characters per line at 18px */
}

/* Layout fixes shared by articles and listings (the page grid itself is in layout.css) ------------- */

/* 16px side gutters (the shared content grid defaults to 10px). */
.single .mainContent,
.archive .mainContent {
	--padding-inline: 1.6rem;
}


/* Header --------------------------------------------------------------------------------------- */

.articleHeader {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.8rem;
	padding-bottom: 1.6rem;
	margin-bottom: 1.6rem;
}

.articleHeader h1 {
	font-size: clamp(2.6rem, 2rem + 1.6vw, 3.6rem);
	line-height: 1.15;
	overflow-wrap: anywhere;
}

.articleHeader .headingTiny {
	font-size: 1.4rem;
	letter-spacing: 0.02em;
}

.articleHeader .headingTiny > a,
.ekpompi-ondemand-item .headingTiny > a {
	color: var(--accent-text);
	display: inline-block;
	padding: 0.3rem 0;
}

.articleHeader .headingTiny > a:hover,
.ekpompi-ondemand-item .headingTiny > a:hover {
	color: var(--ink);
}

.articleMeta {
	margin: 0;
	font-size: 1.4rem;
	line-height: 1.5;
	color: var(--ink-muted);
}

.articleMeta > * + *::before {
	content: "\00b7";
	margin: 0 0.6rem;
	color: var(--ink-muted);
}

/* The author leads the meta line, in bold ink. */
.articleMeta .meta__author {
	color: var(--ink);
	font-weight: 700;
}

a.meta__author:hover {
	text-decoration: underline;
}

/* Article kicker: the primary category above the title (single.php). */
.articleHeader .articleKicker {
	font-size: 1.4rem;
	letter-spacing: 0.04em;
	color: var(--accent-text);
	text-decoration: none;
}

.articleHeader .articleKicker:hover {
	text-decoration: underline 2px;
	text-underline-offset: 0.18em;
}

/* Breadcrumbs: one line, the current page is cut with an ellipsis */
.breadcrumbs {
	max-width: 100%;
	font-size: 1.3rem;
	line-height: 1.4;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
}

.breadcrumbs li {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	max-width: 100%;
}

.breadcrumbs li + li::before {
	content: "\203a";
	margin: 0 0.6rem;
	color: var(--ink-muted);
}

.breadcrumbs li[aria-current] {
	flex: 1 1 0;
	min-width: 0;
	color: var(--ink-muted);
}

.breadcrumbs li[aria-current] span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.breadcrumbs a {
	color: var(--ink-muted);
	display: inline-block;
	padding: 0.4rem 0;
}

.breadcrumbs a:hover {
	color: var(--ink);
	text-decoration: underline;
}

/* Article body --------------------------------------------------------------------------------- */

.post {
	padding: 0 9.6rem;
	font-size: 1.8rem;
	line-height: 1.6;
	overflow-wrap: anywhere; /* long URLs in the text must not widen the page */
}

.post .alignwide,
.post__featuredImage {
	margin-left: -9.6rem;
	margin-right: -9.6rem;
}

.post__featuredImage {
	margin-top: 0;
	margin-bottom: 2rem;
}

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

.post figcaption,
.post .wp-caption-text {
	font-size: 1.4rem;
	line-height: 1.4;
	color: var(--ink-muted);
	margin-top: 0.8rem;
}

.post__featuredImage figcaption {
	padding: 0 0 0.8rem;
}

/* Lead video (includes/single.php athletic_lead_video(), js/article.js): the featured image with a
   ▶ button and a «Βίντεο» label; on click the provider's player replaces the image, shaped like
   the video (--lead-aspect = width / height: 16:9, 9:16 for TikTok and Shorts, the measured ratio
   for Facebook, which crops the video to fill its iframe). Full column width, at most
   min(80vh, 72rem) tall: narrower videos get a centred column on the dark frame. */
.leadVideo__frame {
	position: relative;
	background: var(--ink);
}

.leadVideo:not(.leadVideo--playing) .leadVideo__frame--empty {
	aspect-ratio: 16 / 9;
}

.leadVideo__frame iframe {
	display: block;
	width: min(100%, min(80vh, 72rem) * var(--lead-aspect, 1.7778));
	height: auto;
	aspect-ratio: var(--lead-aspect, 16 / 9);
	margin-inline: auto;
	border: 0;
}

.leadVideo__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 45%);
	color: #fff;
	text-decoration: none;
}

.leadVideo__play:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: -3px;
}

.leadVideo__icon {
	width: 8rem;
	height: 8rem;
	border-radius: 50%;
	background: var(--accent) no-repeat 56% center / 42%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E");
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
	transition: transform 0.2s;
}

.leadVideo__play:hover .leadVideo__icon,
.leadVideo__play:focus-visible .leadVideo__icon {
	transform: scale(1.08);
}

.leadVideo__label {
	position: absolute;
	left: 1.6rem;
	bottom: 1.6rem;
	padding: 0.4rem 1rem;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.75);
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.4;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

@media screen and (max-width: 767px) {
	.leadVideo__icon {
		width: 6.4rem;
		height: 6.4rem;
	}

	.leadVideo__label {
		left: 1.2rem;
		bottom: 1.2rem;
		font-size: 1.3rem;
	}
}

/* Reading column: text blocks stay at a comfortable line length; media may be wider. */
.post__body > :where(p, ul, ol, h2, h3, h4, h5, h6, blockquote:not(.twitter-tweet), .wp-block-quote, pre),
.standfirst,
.topicChips,
.followCard {
	max-width: var(--articleMeasure);
	margin-inline: auto; /* the reading column is centred under the full-width photo and share row */
}

.post__body p {
	line-height: 1.6;
}

.post__body {
	position: relative; /* Instagram's embed is absolutely positioned while it loads: keep it inside the column */
}

.post__body > * + * {
	margin-top: 2rem;
}

.post__body p + p {
	margin-top: 2rem;
}

.standfirst {
	font-size: 2rem;
	line-height: 1.45;
	font-weight: 500;
	color: var(--ink);
	margin: 0 auto 2.4rem; /* centred like the body text */
}

.post .social_dataShare {
	margin: 1.6rem 0 2.4rem;
	justify-content: center; /* the generic .social row is right-aligned; here it sits centred under the photo */
}

.post .social_dataShare .athleticShare {
	justify-content: center;
	margin-inline: auto;
}

.post figure {
	margin-bottom: 3rem;
}

/* Embeds: 16:9, never a fixed pixel height */
.post iframe {
	max-width: 100%;
}

.post iframe[src*="youtube"],
.post iframe[src*="youtu.be"],
.post iframe[src*="vimeo"],
.post iframe[src*="dailymotion"],
.post .embedFrame iframe,
.post .wp-block-embed__wrapper iframe {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}

.post .embedFrame {
	width: 100%;
}

/* Tables scroll inside their own box (wrapper added by includes/single.php) */
.table-scroll {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 2.4rem 0;
}

.table-scroll:focus-visible {
	outline: 2px solid var(--accent-text);
	outline-offset: 2px;
}

/* Content rules shared by articles (.post__body) and plain pages (.post without that wrapper, parts/page-body.php) */
:is(.post__body, .post:not(:has(> .post__body))) {

	/* Links in the body: underlined and dark enough (AA) */
	& a:not(.button, .readAlso__link, .preferredSource__button, .followCard__btn) {
		color: var(--accent-text);
		text-decoration: underline;
		text-decoration-thickness: 1px;
		text-underline-offset: 0.2em;
	}

	& a:not(.button, .readAlso__link, .preferredSource__button, .followCard__btn):hover {
		color: var(--ink);
		text-decoration-thickness: 2px;
	}

	& h2,
	& h3,
	& h4,
	& h5,
	& h6 {
		margin-top: 3.2rem;
		margin-bottom: 1.2rem;
	}

	& h2 { font-size: 2.6rem; }
	& h3 { font-size: 2.2rem; }
	& h4 { font-size: 1.9rem; }

	/* Lists stay inside the column */
	& ul,
	& ol {
		margin: 2.4rem 0;
		padding: 0;
		list-style: none;
	}

	& ol {
		counter-reset: li;
	}

	& li {
		line-height: 1.55;
		padding-left: 2.8rem;
		position: relative;
	}

	& ul li::before {
		content: "";
		position: absolute;
		left: 0.6rem;
		top: 0.75em;
		width: 0.6rem;
		height: 0.6rem;
		border-radius: 50%;
		background: var(--accent);
	}

	& ol li {
		counter-increment: li;
	}

	& ol li::before {
		content: counter(li) ".";
		position: absolute;
		left: 0;
		width: 2.2rem;
		text-align: right;
		font-weight: 700;
		color: var(--ink-muted);
	}

	& li + li {
		margin-top: 0.8rem;
	}

	/* Quotes: editorial pull quote; tweets/Instagram keep a neutral frame until their script runs */
	& blockquote {
		font-size: 2rem;
		font-style: italic;
		margin: 3rem 0;
		padding: 0 0 0 2rem;
		border-left: 0.5rem solid var(--accent);
		color: var(--ink-muted);
	}

	& blockquote.twitter-tweet,
	& blockquote.instagram-media,
	& blockquote.tiktok-embed {
		font-size: 1.5rem;
		font-style: normal;
		padding: 1.6rem;
		border: 1px solid var(--line);
		border-radius: 8px;
		max-width: 550px;
		min-height: 200px;
		margin-left: auto;
		margin-right: auto;
		color: var(--ink);
		background: var(--surface);
	}

	& .instagram-media {
		max-width: 100% !important;
		min-width: 0 !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	& .twitter-tweet-rendered {
		margin-left: auto !important;
		margin-right: auto !important;
	}

	& img,
	& video {
		max-width: 100%;
		height: auto;
	}

	& table {
		width: 100% !important; /* old posts carry width="1056" */
		border-collapse: collapse;
		font-size: 1.5rem;
		line-height: 1.4;
	}

	& th,
	& td {
		padding: 0.8rem 1rem;
		border: 1px solid var(--line);
		text-align: left;
		vertical-align: top;
	}

	& th {
		background: var(--surface);
		font-weight: 700;
	}

	& tbody tr:nth-child(even) td {
		background: rgba(0, 0, 0, 0.025);
	}
}

/* Ads inside the text (athletic-core content-ads.php wraps the slot in .banner) */
.post__body .banner {
	display: grid;
	justify-items: center;
	max-width: none;
	margin: 3.2rem 0;
	text-align: center;
}

.post__body .banner::before,
.post > .headerBanner::before,
.adBox::before {
	content: "Διαφήμιση";
	display: block;
	margin-bottom: 0.6rem;
	font-size: 1.1rem;
	line-height: 1.2;
	letter-spacing: 0.04em;
	color: var(--ink-muted);
	text-align: center;
}

/* Leaderboard under the photo (single_header_1): labelled and spaced like the in-text ad, so a
   narrow creative reads as an ad unit instead of a stray image between the share bar and the text */
.post > .headerBanner {
	display: grid;
	justify-items: center;
	margin: 0.8rem 0 3.2rem;
	padding-bottom: 2.4rem;
	border-bottom: 1px solid var(--line);
	text-align: center;
}

/* A slot GPT collapsed (no fill) leaves no label behind */
.post > .headerBanner:has(div[style*="display: none"]),
.post__body .banner:has(> div[style*="display: none"]),
.adBox:has(> div[style*="display: none"]),
.adBox:not(:has(> div)) {
	display: none;
}

/* Source credit lines etc. keep normal paragraph rhythm; stray empty paragraphs take no space */
.post__body p:empty {
	display: none;
}

/* Topic chips (D-07) */
.topicChips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.8rem 1.2rem;
	margin: 3.2rem auto 0;
	font-size: 1.4rem;
}

.topicChips__label {
	font-weight: 700;
	color: var(--ink-muted);
	text-transform: uppercase;
	font-size: 1.2rem;
	letter-spacing: 0.04em;
}

.topicChips ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.topicChips li {
	margin: 0;
	padding: 0;
}

.topicChips a {
	display: inline-flex;
	align-items: center;
	min-height: 3.2rem;
	padding: 0 1.4rem;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	text-decoration: none;
	font-weight: 500;
	transition: border-color 0.2s, color 0.2s;
}

.topicChips a:hover,
.topicChips a:focus-visible {
	border-color: var(--accent-text);
	color: var(--accent-text);
}

/* «Ακολουθήστε το athletic.gr» card (end of article / episode, parts/single/follow.php): heading,
   one line of why, two brand buttons; side by side on desktop, stacked full width on phones. */
.followCard {
	display: grid;
	gap: 1.6rem;
	margin: 3.2rem auto 0;
	padding: 2.4rem;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
}

.post__body .followCard__title,
.followCard__title {
	margin: 0 0 0.4rem;
	font-family: var(--fontFamilyHeadings);
	font-size: 2.2rem;
	line-height: 1.2;
	color: var(--ink);
}

.post__body .followCard__lead,
.followCard__lead {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.5;
	color: var(--ink-muted);
}

.followCard__actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.followCard__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	min-height: 4.8rem;
	padding: 0 1.6rem;
	border: 1.5px solid transparent;
	border-radius: 999px;
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.followCard__btn svg {
	flex-shrink: 0;
}

/* Google News: outlined, the icon in Google blue. */
.followCard__btn--gnews {
	border-color: var(--ink);
	color: var(--ink);
}

.followCard__btn--gnews svg {
	color: #4285F4;
}

.followCard__btn--gnews:hover,
.followCard__btn--gnews:focus-visible {
	background: var(--ink);
	color: var(--surface);
}

/* Facebook: filled brand blue (#0866FF, white text 4.9:1). */
.followCard__btn--facebook {
	background: #0866FF;
	color: #fff;
}

.followCard__btn--facebook:hover,
.followCard__btn--facebook:focus-visible {
	background: #0652CC;
	color: #fff;
}

.followCard__btn:focus-visible {
	outline: 2px solid var(--brand);
	outline-offset: 2px;
}

@media screen and (max-width: 599px) {
	.followCard {
		padding: 2rem 1.6rem;
		text-align: center;
	}

	.followCard__actions {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Related posts: 3 columns (desktop and tablet), compact rows on phones */
.related,
.videoModule {
	margin-top: 4rem;
}

.related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.4rem;
	margin-top: 1.6rem;
}

.related .media--vertical .title {
	font-size: 1.8rem;
	line-height: 1.25;
}

/* Ads under the article */
.underPost {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.4rem;
	justify-items: center;
	margin: 4rem 0 0;
}

.adBox {
	max-width: 100%;
	min-width: 0;
}

.adBox > div {
	max-width: 100%;
}

/* Video module: reserve the player's space so it does not shift the page when it loads */
.videoModule__player {
	margin-top: 1.6rem;
	aspect-ratio: 16 / 9;
	background: rgba(0, 0, 0, 0.04);
}

.videoModule__player glomex-integration {
	display: block;
	width: 100%;
}

/* Episodes: show about text, on-demand play facade ---------------------------------------------- */

.showAbout {
	margin-top: 3.2rem;
	padding-top: 1.6rem;
	border-top: 1px solid var(--line);
	font-size: 1.6rem;
	color: var(--ink-muted);
}

.ondemand {
	position: relative;
	margin: 0 0 2.4rem;
}

.ondemand iframe {
	display: block;
	width: 100%;
	border: 0;
}

.ondemand__play {
	display: flex;
	align-items: center;
	gap: 1.6rem;
	width: 100%;
	min-height: 12rem;
	padding: 1.6rem 2.4rem;
	background: var(--ink);
	color: var(--surface);
	border-radius: 8px;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.8rem;
	transition: background 0.2s;
}

.ondemand__play:hover,
.ondemand__play:focus-visible {
	background: var(--ink);
	color: var(--surface);
	text-decoration: none;
}

.ondemand__icon {
	flex: 0 0 auto;
	width: 5.6rem;
	height: 5.6rem;
	border-radius: 50%;
	background: var(--accent) no-repeat center / 40%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E");
}

/* Galleries in articles (includes/gallery.php, js/gallery.js): WordPress's [gallery] as a grid in
   its column count; 3+ photos make a mosaic (first photo large, at most 7 tiles, «+N» on the 7th).
   A tap opens the full-screen viewer. Core prints <br> clears between rows: hidden. */
.post .gallery {
	--gallery-cols: 3;
	display: grid;
	grid-template-columns: repeat(var(--gallery-cols), minmax(0, 1fr));
	gap: 0.6rem;
	margin: 2.4rem 0;
}

.post .gallery-columns-1 { --gallery-cols: 1; }
.post .gallery-columns-2 { --gallery-cols: 2; }

.post .gallery > br {
	display: none;
}

.post .gallery-item {
	position: relative;
	margin: 0;
}

.post .gallery-icon a {
	display: block;
}

.post .gallery-item img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: 4px;
}

.post .gallery img[data-pswp-src],
.post .wp-block-gallery img[data-pswp-src] {
	cursor: zoom-in;
}

.post .gallery-caption {
	margin-top: 0.4rem;
	font-size: 1.3rem;
	line-height: 1.4;
	color: var(--ink-muted);
}

/* Mosaic: the first photo spans the row (16:9); the rest three across (two on phones). */
.post .gallery--mosaic {
	--gallery-cols: 3;
}

.post .gallery--mosaic > .gallery-item:first-of-type {
	grid-column: 1 / -1;
}

.post .gallery--mosaic > .gallery-item:first-of-type img {
	aspect-ratio: 16 / 9;
}

.post .gallery-item--extra {
	display: none;
}

/* «+N» on the last tile: the photos not shown open in the viewer. */
.post .gallery-item[data-more]::after {
	content: attr(data-more);
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-family: var(--fontFamilyHeadings);
	font-size: 2.8rem;
	font-weight: 700;
	pointer-events: none;
}

.post .gallery-item[data-more] .gallery-caption {
	display: none;
}

/* Viewer caption (js/gallery.js adds it to PhotoSwipe). */
.pswpCaption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	padding: 2.4rem 1.6rem 1.6rem;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
	color: #fff;
	font-size: 1.5rem;
	line-height: 1.4;
	text-align: center;
}

@media screen and (max-width: 599px) {
	.post .gallery:not(.gallery-columns-1),
	.post .gallery--mosaic {
		--gallery-cols: 2;
	}
}

/* Compact play button (sidebar «Ακούστε ξανά»): the player grows in place when tapped. */
.ondemand--compact {
	margin: 0.8rem 0 0;
}

.ondemand--compact .ondemand__play {
	display: inline-flex;
	width: auto;
	min-height: 0;
	gap: 0.8rem;
	padding: 0.6rem 1.6rem 0.6rem 0.6rem;
	border-radius: 999px;
	font-size: 1.4rem;
}

.ondemand--compact .ondemand__icon {
	width: 3.2rem;
	height: 3.2rem;
}

/* «Ακούστε ξανά» (article sidebar): the latest episodes, each with its show, date and play button. */
.episodesBox__list {
	margin: 0 0 1.2rem;
	padding: 0;
	list-style: none;
}

.episodesBox__item {
	padding: 1.2rem 0;
	border-bottom: 1px solid var(--line);
}

.episodesBox__item:first-child {
	padding-top: 0;
}

.episodesBox__show {
	display: block;
	margin-bottom: 0.4rem;
	color: var(--accent-text);
}

.episodesBox__title {
	margin: 0 0 0.4rem;
	font-size: 1.7rem;
	line-height: 1.3;
}

.episodesBox__title a {
	color: var(--ink);
	text-decoration: none;
}

.episodesBox__title a:hover {
	text-decoration: underline 2px;
	text-underline-offset: 0.18em;
}

/* Mobile and tablet ---------------------------------------------------------------------------- */

@media screen and (max-width: 1023px) {
	.post {
		padding: 0;
		font-size: 1.7rem;
	}

	.post .alignwide,
	.post__featuredImage {
		margin-left: 0;
		margin-right: 0;
	}

	.post__body > :where(p, ul, ol, h2, h3, h4, h5, h6, blockquote:not(.twitter-tweet), .wp-block-quote, pre),
	.standfirst,
	.topicChips,
	.followCard {
		max-width: none;
	}

	.standfirst {
		font-size: 1.8rem;
		margin-bottom: 2rem;
	}

	.underPost {
		margin-top: 3.2rem;
	}
}

@media screen and (max-width: 767px) {
	.articleHeader h1 {
		font-size: 2.6rem;
	}

	.underPost {
		grid-template-columns: minmax(0, 1fr);
	}

	/* Related: compact rows (thumbnail left, title right) */
	.related__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.6rem;
	}

	.related .media--vertical {
		flex-direction: row;
		align-items: flex-start;
	}

	.related .media--vertical .postThumbImage {
		flex: 0 0 11.5rem;
		width: 11.5rem;
	}

	/* Phone rows use square thumbnails, like every other compact list. */
	.related .media--vertical .media__photo {
		aspect-ratio: 1;
	}

	.related .media--vertical .title {
		font-size: 1.6rem;
	}
}

/* «Διαβάστε επίσης» inside the text (athletic-core block athletic/read-also): one picked headline, quiet card. */
.readAlso {
	max-width: var(--articleMeasure);
	margin: 2.4rem auto;
	border-left: 3px solid var(--accent);
	background: var(--surface);
}

.post .readAlso a,
.readAlso a {
	display: flex;
	align-items: center;
	gap: 1.2rem;
	padding: 1rem 1.2rem;
	color: var(--ink);
	text-decoration: none;
}

.readAlso__thumb img {
	display: block;
	width: 72px;
	height: 72px;
	object-fit: cover;
}

.readAlso__text {
	display: grid;
	gap: 0.2rem;
}

.readAlso__label {
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--accent-text);
}

.readAlso__title {
	color: var(--ink);
	font-family: var(--fontFamilyHeadings);
	font-size: 1.8rem;
	font-weight: 700;
	line-height: 1.25;
}

.post .readAlso a {
	text-decoration: none; /* the article's link style (orange, underlined) is for links in the text */
}

.readAlso a:hover .readAlso__title {
	text-decoration: underline 2px;
	text-underline-offset: 0.18em;
}

/* «Προτιμώμενη πηγή στην Google» card after the first paragraph (includes/single.php):
   one quiet light card, a line of text and one outlined button. */
.preferredSource {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.2rem 2rem;
	max-width: var(--articleMeasure);
	margin: 2.4rem auto;
	padding: 1.6rem 2rem;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
}

.post__body .preferredSource__text {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.4;
	color: var(--ink-muted);
}

.preferredSource__button {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	min-height: 4.4rem;
	padding: 0 1.8rem;
	border: 1.5px solid var(--ink);
	border-radius: 999px;
	color: var(--ink);
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s, color 0.2s;
}

.preferredSource__button:hover,
.preferredSource__button:focus-visible {
	background: var(--ink);
	color: var(--surface);
}

.preferredSource__arrow {
	flex-shrink: 0;
}

/* Phones: text above, the button full width (an easy thumb target). */
@media screen and (max-width: 599px) {
	.preferredSource {
		padding: 1.4rem 1.2rem;
		text-align: center;
	}

	.preferredSource__text {
		flex-basis: 100%;
	}

	.preferredSource__button {
		flex: 1 1 100%;
		justify-content: center;
		gap: 0.6rem;
		padding: 0 1rem;
		font-size: 1.4rem;
		white-space: nowrap;
	}
}

/* «Περισσότερα από: <κατηγορία>» under the related posts. */
.categoryMore {
	margin-top: 4rem;
}

.categoryMore__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem 2.4rem;
	margin-bottom: 1.6rem;
}

@media screen and (max-width: 599px) {
	.categoryMore__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Sidebar «Τώρα στον αέρα» (after the news feed). */
.sidebarOnAir {
	margin: 0;
}

/* Generic form / button classes: no template prints them any more, but old post content does
   (class="field" in ~350 posts, class="button" links). Moved here from forms.css, which now loads only
   on pages with a Contact Form 7 form. ------------------------------------------------------------ */
.button {
	background: var(--accent-text);
	color: var(--surface);
	font-weight: bold;
	border-radius: 16px;
	padding: 18px 32px;
	font-size: 1.8rem;
	text-align: center;
	line-height: 1;
	text-decoration: none;
	display: inline-block;
	border: none;
	cursor: pointer;
}

/* Forms */
.form {
  margin: 0;
  padding: 0;
}

.field {
  display: block;
  width: 100%;
  padding: 1.6rem;  
  border: 1px solid var(--line);
  border-radius: 2px;
  background: none;
  color: var(--ink);
  font-family: var(--fontFamily);
  font-size: 1.6rem;
  transition: border-color .25s;
}

.field:focus,
.field:active {
  border-color: var(--brand);
  outline: none;
}

textarea.field {
  font-family: var(--fontFamily);
  font-size: 1.6rem;
  min-height: 20rem;
}

/* Buttons */
.button { 
  display: inline-block;
  padding: 1.6rem 4.8rem;
  font-size: 1.2rem;
  font-family: var(--fontFamilyHeadings);
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  color: var(--surface);
  background-color: var(--accent-text);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .25s;
}

.button:hover {
  text-decoration: none;  
  background-color: var(--ink);
}

@media screen and (max-width: 1023px) {
  .button {
    display: block;
    width: 100%;
  }
}
