﻿﻿/*
Theme Name: Tranoudakis Medical
Theme URI: https://tranoudakis.gr
Author: Dimitrios Tranoudakis
Description: Προσαρμοσμένο block theme για το ιατρείο χειρουργικής ενδοκρινών και λαπαροσκοπικής χειρουργικής.
Version: 1.1.4
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tranoudakis
*/

/* ---------------------------------------------------------
   Μεταβλητές & βάση
--------------------------------------------------------- */
:root {
	--thm-max: 1200px;
	--thm-radius: 18px;
	--thm-radius-sm: 12px;
	--thm-shadow: 0 1px 2px rgba(11, 43, 39, 0.04), 0 12px 32px -18px rgba(11, 43, 39, 0.35);
	--thm-shadow-hover: 0 2px 4px rgba(11, 43, 39, 0.06), 0 22px 48px -20px rgba(11, 43, 39, 0.4);
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--ink);
	font-family: var(--wp--preset--font-family--sans);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

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

::selection {
	background: rgba(18, 105, 92, 0.16);
}

.thm-skip-link,
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	border-radius: 6px;
}

/* ---------------------------------------------------------
   Header
--------------------------------------------------------- */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
}

body.admin-bar header.wp-block-template-part {
	top: 32px;
}

.thm-header {
	position: relative;
	z-index: 100;
	width: 100%;
	padding: 0 24px !important;
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid var(--wp--preset--color--line);
	backdrop-filter: saturate(180%) blur(12px);
}

.thm-header-inner {
	max-width: var(--thm-max);
	margin: 0 auto;
	min-height: 78px;
	gap: 24px !important;
}

.thm-brand {
	gap: 12px !important;
	align-items: center;
	flex-shrink: 0;
}

.thm-logo {
	margin: 0 !important;
	line-height: 0;
}

.thm-logo img {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	display: block;
	box-shadow: 0 6px 16px -8px rgba(11, 43, 39, 0.5);
}

.thm-brand-text {
	gap: 2px !important;
	line-height: 1.2;
}

.thm-brand-name {
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.12rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--wp--preset--color--ink);
	margin: 0;
}

.thm-brand-name a {
	color: inherit;
	text-decoration: none;
}

.thm-brand-sub {
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

.thm-nav {
	flex: 1 1 auto;
	justify-content: flex-end;
	font-size: 0.95rem;
}

.thm-nav .wp-block-navigation-item__content {
	color: var(--wp--preset--color--ink);
	font-weight: 500;
	text-decoration: none;
	padding: 6px 2px;
}

.thm-nav .wp-block-navigation-item__content:hover,
.thm-nav .current-menu-item > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.thm-nav .wp-block-navigation__container {
	gap: 22px !important;
}

.thm-header-cta {
	margin: 0 !important;
	flex-shrink: 0;
}

.thm-header-cta .wp-block-button__link {
	font-size: 0.9rem;
	padding: 0.65rem 1.2rem;
}

/* ---------------------------------------------------------
   Δομή ενοτήτων
--------------------------------------------------------- */
.thm-section {
	padding: 88px 24px !important;
}

.thm-section > * {
	max-width: var(--thm-max);
	margin-left: auto !important;
	margin-right: auto !important;
}

.thm-section--tight {
	padding: 56px 24px !important;
}

.thm-eyebrow {
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
	margin: 0 0 14px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.thm-eyebrow::before {
	content: "";
	width: 26px;
	height: 2px;
	background: var(--wp--preset--color--accent);
	display: inline-block;
}

.thm-section-head {
	max-width: 720px;
	margin-bottom: 44px;
}

.thm-lead {
	font-size: 1.15rem;
	line-height: 1.7;
	color: var(--wp--preset--color--muted);
}

/* ---------------------------------------------------------
   Hero
--------------------------------------------------------- */
.thm-hero {
	position: relative;
	overflow: hidden;
	padding: 76px 24px 84px !important;
	background:
		radial-gradient(1000px 520px at 88% -10%, rgba(18, 105, 92, 0.12), transparent 60%),
		linear-gradient(180deg, var(--wp--preset--color--surface) 0%, #fbf9f4 100%);
	border-bottom: 1px solid rgba(11, 43, 39, 0.05);
}

.thm-hero::after {
	content: "";
	position: absolute;
	inset: auto -120px -180px auto;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	border: 1px solid rgba(18, 105, 92, 0.12);
	pointer-events: none;
}

.thm-hero-grid {
	max-width: var(--thm-max);
	margin: 0 auto !important;
	gap: 56px !important;
}

.thm-hero-title {
	margin: 0 0 10px !important;
}

.thm-hero-sub {
	font-family: var(--wp--preset--font-family--serif) !important;
	font-size: clamp(1.25rem, 2vw, 1.6rem) !important;
	font-weight: 400 !important;
	line-height: 1.45 !important;
	color: var(--wp--preset--color--primary-dark) !important;
	margin: 0 0 18px !important;
	letter-spacing: 0 !important;
}

.thm-hero-text {
	font-size: 1.08rem;
	color: var(--wp--preset--color--muted);
	max-width: 54ch;
	margin-bottom: 28px !important;
}

.thm-actions {
	gap: 14px !important;
	margin-bottom: 22px !important;
}

.thm-hero-meta {
	font-size: 0.88rem;
	color: var(--wp--preset--color--muted);
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
}

.thm-hero-meta::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
}

.thm-hero-media {
	position: relative;
}

.thm-portrait {
	margin: 0 !important;
}

.thm-portrait img {
	border-radius: 24px;
	width: 100%;
	max-height: 560px;
	object-fit: cover;
	object-position: 50% 18%;
	box-shadow: 0 30px 60px -30px rgba(11, 43, 39, 0.55);
	border: 6px solid #fff;
}

.thm-hero-badge {
	position: absolute;
	bottom: 22px;
	left: -22px;
	background: #fff;
	border-radius: 14px;
	padding: 14px 18px;
	box-shadow: var(--thm-shadow);
	font-size: 0.82rem;
	line-height: 1.35;
	max-width: 230px;
	border-left: 3px solid var(--wp--preset--color--accent);
}

.thm-hero-badge strong {
	display: block;
	color: var(--wp--preset--color--primary);
	font-size: 0.9rem;
}

/* ---------------------------------------------------------
   Trust strip
--------------------------------------------------------- */
.thm-trust {
	background: var(--wp--preset--color--deep);
	color: #eaf2ef;
	padding: 34px 24px !important;
}

.thm-trust .wp-block-columns {
	max-width: var(--thm-max);
	margin: 0 auto !important;
	gap: 32px !important;
}

.thm-trust h3 {
	color: #fff;
	font-family: var(--wp--preset--font-family--sans) !important;
	font-size: 0.98rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em;
	margin: 0 0 4px !important;
}

.thm-trust p {
	color: rgba(234, 242, 239, 0.72);
	font-size: 0.86rem;
	margin: 0;
}

.thm-trust .wp-block-column {
	padding-left: 20px;
	border-left: 1px solid rgba(234, 242, 239, 0.16);
}

.thm-trust .wp-block-column:first-child {
	border-left: 0;
	padding-left: 0;
}

/* ---------------------------------------------------------
   Κάρτες υπηρεσιών
--------------------------------------------------------- */
.thm-services {
	background: var(--wp--preset--color--base);
}

.thm-card {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--thm-radius);
	padding: 32px 28px !important;
	height: 100%;
	box-shadow: var(--thm-shadow);
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.thm-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--thm-shadow-hover);
	border-color: rgba(18, 105, 92, 0.25);
}

.thm-card h3 {
	margin: 0 0 10px !important;
}

.thm-card h3 a {
	color: inherit;
	text-decoration: none;
}

.thm-card p {
	color: var(--wp--preset--color--muted);
	font-size: 0.97rem;
	margin: 0 0 18px !important;
}

.thm-card .wp-block-buttons {
	margin: 0 !important;
}

.thm-card .wp-block-button__link {
	background: transparent !important;
	color: var(--wp--preset--color--primary) !important;
	padding: 0 !important;
	border-radius: 0 !important;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(18, 105, 92, 0.35);
}

.thm-card .wp-block-button__link::after {
	content: " →";
}

.thm-card-icon {
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: rgba(18, 105, 92, 0.09);
	color: var(--wp--preset--color--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
}

.thm-card-icon svg {
	width: 24px;
	height: 24px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---------------------------------------------------------
   About / split
--------------------------------------------------------- */
.thm-about {
	background: var(--wp--preset--color--surface);
}

.thm-about .wp-block-columns {
	gap: 64px !important;
}

.thm-about img {
	border-radius: var(--thm-radius);
	box-shadow: var(--thm-shadow);
}

.thm-list-check {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 0 26px !important;
	display: grid;
	gap: 12px;
}

.thm-list-check li {
	position: relative;
	padding-left: 32px;
	color: var(--wp--preset--color--ink);
	font-size: 1rem;
	line-height: 1.55;
}

.thm-list-check li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(18, 105, 92, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312695c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------------------------------------------------------
   Διαδικασία (βήματα)
--------------------------------------------------------- */
.thm-process {
	background: var(--wp--preset--color--base);
}

.thm-step {
	padding: 0 8px;
}

.thm-step h3 {
	margin: 0 0 8px !important;
	font-size: 1.15rem !important;
}

.thm-step p {
	font-size: 0.95rem;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

/* ---------------------------------------------------------
   CTA band
--------------------------------------------------------- */
.thm-cta {
	background:
		radial-gradient(700px 340px at 15% 20%, rgba(201, 161, 94, 0.18), transparent 65%),
		var(--wp--preset--color--deep);
	color: #f3f7f5;
	padding: 76px 24px !important;
}

.thm-cta h2 {
	color: #fff !important;
	margin: 0 0 10px !important;
}

.thm-cta p {
	color: rgba(243, 247, 245, 0.78);
	margin: 0 0 24px !important;
	max-width: 60ch;
}

.thm-cta .wp-block-buttons {
	margin: 0 !important;
}

.thm-cta .wp-block-button__link {
	background: var(--wp--preset--color--accent) !important;
	color: #2a1f0d !important;
}

.thm-cta .wp-block-button__link:hover {
	background: #dcb876 !important;
}

.thm-cta .is-style-outline .wp-block-button__link {
	background: transparent !important;
	border-color: rgba(243, 247, 245, 0.55) !important;
	color: #f3f7f5 !important;
}

.thm-cta-contact {
	font-size: 0.92rem;
	color: rgba(243, 247, 245, 0.7);
	margin-top: 18px !important;
}

/* ---------------------------------------------------------
   Εσωτερικές σελίδες
--------------------------------------------------------- */
.thm-page-hero {
	padding: 64px 24px 56px !important;
	background:
		radial-gradient(800px 360px at 80% 0%, rgba(18, 105, 92, 0.12), transparent 60%),
		var(--wp--preset--color--surface);
	border-bottom: 1px solid rgba(11, 43, 39, 0.06);
}

.thm-page-hero h1 {
	margin: 0 0 12px !important;
	max-width: 22ch;
}

.thm-page-hero .thm-lead {
	max-width: 62ch;
	margin: 0 !important;
}

.thm-page-body {
	padding: 64px 24px 88px !important;
}

.thm-page-body > * {
	max-width: 760px;
}

.thm-page-body h2 {
	margin-top: 2.4em !important;
}

.thm-page-body h2:first-child {
	margin-top: 0 !important;
}

.thm-page-body p,
.thm-page-body li {
	color: #2c3a36;
}

.thm-page-body ul {
	padding-left: 1.1em;
}

.thm-page-body li {
	margin-bottom: 0.5em;
}

.thm-note {
	background: var(--wp--preset--color--surface);
	border-left: 3px solid var(--wp--preset--color--accent);
	border-radius: 0 var(--thm-radius-sm) var(--thm-radius-sm) 0;
	padding: 18px 22px !important;
	font-size: 0.95rem;
	color: var(--wp--preset--color--muted);
	margin: 28px 0 !important;
}

.thm-note p {
	margin: 0;
	color: inherit;
}

.thm-faq {
	border-top: 1px solid var(--wp--preset--color--line);
	padding: 22px 0;
}

.thm-faq h3 {
	font-size: 1.1rem !important;
	margin: 0 0 6px !important;
}

.thm-faq p {
	margin: 0;
	color: var(--wp--preset--color--ink);
	font-size: 0.97rem;
}

/* ---------------------------------------------------------
   Επικοινωνία
--------------------------------------------------------- */
.thm-contact {
	background: var(--wp--preset--color--base);
}

.thm-contact .wp-block-columns {
	gap: 48px !important;
}

.thm-contact-card {
	background: var(--wp--preset--color--surface);
	border-radius: var(--thm-radius);
	padding: 34px 30px !important;
	height: 100%;
}

.thm-contact-card h2 {
	font-size: 1.35rem !important;
	margin: 0 0 18px !important;
}

.thm-contact-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: grid;
	gap: 16px;
}

.thm-contact-list li {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: 12px;
	align-items: start;
	font-size: 0.98rem;
	line-height: 1.6;
	margin: 0;
}

.thm-contact-list svg {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: var(--wp--preset--color--primary);
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	margin-top: 3px;
}

.thm-contact-list a {
	text-decoration: none;
	color: var(--wp--preset--color--ink);
	font-weight: 600;
}

.thm-contact-list a:hover {
	color: var(--wp--preset--color--primary);
}

.thm-map {
	border-radius: var(--thm-radius);
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	box-shadow: var(--thm-shadow);
	line-height: 0;
	height: 100%;
	min-height: 380px;
}

.thm-map iframe {
	width: 100%;
	height: 100%;
	min-height: 380px;
	border: 0;
	display: block;
	filter: saturate(0.9);
}

/* Βίντεο (YouTube embed) */
.thm-video {
	position: relative;
	padding-top: 56.25%;
	border-radius: var(--thm-radius);
	overflow: hidden;
	border: 1px solid var(--wp--preset--color--line);
	box-shadow: var(--thm-shadow);
	background: #000;
	margin: 28px 0;
}

.thm-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* «Αφίσα» βίντεο (facade): φορτώνει αμέσως, το YouTube φορτώνει μόνο με κλικ */
.thm-video-facade {
	position: absolute;
	inset: 0;
	display: block;
	color: #fff;
	text-decoration: none;
}

.thm-video-facade img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.thm-video-facade::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(11, 43, 39, 0.05) 40%, rgba(11, 43, 39, 0.55) 100%);
}

.thm-video-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: rgba(18, 105, 92, 0.94);
	box-shadow: 0 10px 30px -8px rgba(11, 43, 39, 0.7);
	z-index: 1;
	transition: background 0.2s ease, transform 0.2s ease;
}

.thm-video-play::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 53%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 13px 0 13px 22px;
	border-color: transparent transparent transparent #fff;
}

.thm-video-label {
	position: absolute;
	left: 18px;
	bottom: 16px;
	z-index: 1;
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	background: rgba(11, 43, 39, 0.78);
	padding: 6px 12px;
	border-radius: 999px;
}

.thm-video-facade:hover .thm-video-play,
.thm-video-facade:focus-visible .thm-video-play {
	background: var(--wp--preset--color--primary-dark);
	transform: translate(-50%, -50%) scale(1.06);
}

.thm-qr {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	align-items: center;
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--thm-radius-sm);
	padding: 14px 16px !important;
	margin-top: 24px !important;
}

.thm-qr figure {
	flex: 0 0 auto;
	margin: 0;
}

.thm-qr img {
	width: 180px;
	height: 180px;
	max-width: none;
	object-fit: contain;
	border-radius: 6px;
	display: block;
}

.thm-qr p {
	flex: 1 1 220px;
	min-width: 220px;
	margin: 0;
	font-size: 0.88rem;
	line-height: 1.45;
	color: var(--wp--preset--color--muted);
}

.thm-qr strong {
	display: block;
	color: var(--wp--preset--color--ink);
	font-size: 0.92rem;
}

/* ---------------------------------------------------------
   Άρθρα / blog
--------------------------------------------------------- */
.thm-posts {
	background: var(--wp--preset--color--base);
}

.thm-posts .wp-block-post {
	background: #fff;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: var(--thm-radius);
	overflow: hidden;
	box-shadow: var(--thm-shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	height: 100%;
}

.thm-posts .wp-block-post:hover {
	transform: translateY(-3px);
	box-shadow: var(--thm-shadow-hover);
}

.thm-posts .wp-block-post-featured-image img {
	border-radius: 0;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.thm-posts .wp-block-post-title {
	font-size: 1.25rem !important;
	margin: 0 !important;
	padding: 22px 24px 0;
}

.thm-posts .wp-block-post-title a {
	text-decoration: none;
	color: inherit;
}

.thm-posts .wp-block-post-date {
	font-size: 0.8rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	padding: 8px 24px 0;
	margin: 0;
}

.thm-posts .wp-block-post-excerpt {
	padding: 10px 24px 26px;
	font-size: 0.95rem;
	color: var(--wp--preset--color--muted);
}

.thm-posts .wp-block-post-excerpt p {
	margin: 0;
}

.thm-article {
	padding: 56px 24px 88px !important;
}

.thm-article-header {
	max-width: 760px;
	margin: 0 auto 36px !important;
}

.thm-article-header .wp-block-post-title {
	margin: 0 0 12px !important;
}

.thm-article-header .wp-block-post-date {
	font-size: 0.82rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

.thm-article .wp-block-post-content {
	max-width: 740px;
	margin: 0 auto;
}

.thm-article .wp-block-post-featured-image {
	max-width: 900px;
	margin: 0 auto 36px !important;
}

.thm-article .wp-block-post-featured-image img {
	border-radius: var(--thm-radius);
	box-shadow: var(--thm-shadow);
}

/* Βιογραφικό υπογραφής (E-E-A-T) στο τέλος κάθε άρθρου */
.thm-author {
	max-width: 740px;
	margin: 40px auto 0 !important;
	padding: 24px 28px !important;
	background: var(--wp--preset--color--surface);
	border-left: 4px solid var(--wp--preset--color--primary);
	border-radius: 4px 16px 16px 4px;
}

.thm-author p {
	margin: 0 !important;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--wp--preset--color--ink);
}

.thm-author .thm-author-label {
	margin-bottom: 8px !important;
	font-size: 0.72rem !important;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary) !important;
}

.thm-author a {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	text-decoration: none;
}

.thm-author a:hover {
	text-decoration: underline;
}

/* ---------------------------------------------------------
   Footer
--------------------------------------------------------- */
.thm-footer {
	background: var(--wp--preset--color--deep);
	color: rgba(234, 242, 239, 0.78);
	padding: 64px 24px 28px !important;
	font-size: 0.92rem;
}

.thm-footer > * {
	max-width: var(--thm-max);
	margin-left: auto !important;
	margin-right: auto !important;
}

.thm-footer h3 {
	color: #fff !important;
	font-family: var(--wp--preset--font-family--sans) !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 16px !important;
}

.thm-footer p {
	margin: 0 0 10px;
}

.thm-footer a {
	color: rgba(234, 242, 239, 0.95);
	text-decoration: none;
}

.thm-footer a:hover {
	color: #fff;
	text-decoration: underline;
}

.thm-footer .wp-block-columns {
	gap: 40px !important;
	margin-bottom: 44px !important;
}

.thm-footer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
}

.thm-footer-brand img {
	width: 42px;
	height: 42px;
	border-radius: 10px;
}

.thm-footer-brand strong {
	display: block;
	color: #fff;
	font-family: var(--wp--preset--font-family--serif);
	font-size: 1.05rem;
	font-weight: 600;
}

.thm-footer-brand span {
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(234, 242, 239, 0.6);
}

.thm-footer-list {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: grid;
	gap: 9px;
}

.thm-footer-list a {
	text-decoration: none;
}

.thm-footer-bottom {
	border-top: 1px solid rgba(234, 242, 239, 0.14);
	padding-top: 22px !important;
	display: flex;
	flex-wrap: wrap;
	gap: 12px 26px;
	align-items: center;
	justify-content: space-between;
}

.thm-colophon {
	font-size: 0.82rem;
	color: rgba(234, 242, 239, 0.78);
	margin: 0;
}

.thm-footer-bottom .thm-footer-links {
	display: flex;
	gap: 20px;
	font-size: 0.82rem;
	margin: 0;
}

.thm-disclaimer {
	font-size: 0.78rem;
	color: rgba(234, 242, 239, 0.75);
	margin: 16px 0 0 !important;
	max-width: 92ch;
}

/* Σταθερή μπάρα κλήσης σε κινητά (click-to-call) */
.thm-callbar {
	display: none;
}

/* Οι επιπλέον σύνδεσμοι πλοήγησης εμφανίζονται μόνο στο αναδυόμενο μενού του κινητού. */
@media (min-width: 600px) {
	.thm-nav .wp-block-navigation__container > li:nth-child(n + 6) {
		display: none;
	}
}

@media (max-width: 900px) {
	body {
		padding-bottom: 72px;
	}

	.thm-callbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 120;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 10px;
		padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
		background: var(--wp--preset--color--primary);
		color: #fff;
		font-weight: 600;
		text-decoration: none;
		box-shadow: 0 -10px 30px -12px rgba(11, 43, 39, 0.55);
	}

	.thm-callbar-label {
		font-size: 0.78rem;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		opacity: 1;
	}

	.thm-callbar-phone {
		font-size: 1rem;
	}

	body.admin-bar .thm-callbar {
		bottom: 32px;
	}
}

@media (max-width: 782px) {
	body.admin-bar .thm-callbar {
		bottom: 46px;
	}
}

/* ---------------------------------------------------------
   Responsive
--------------------------------------------------------- */
@media (max-width: 1120px) {
	.thm-brand-sub {
		display: none;
	}
}

@media (max-width: 1024px) {
	.thm-hero-grid {
		gap: 36px !important;
	}

	.thm-about .wp-block-columns {
		gap: 40px !important;
	}
}

@media (max-width: 900px) {
	.thm-header-inner {
		min-height: 68px;
		gap: 12px !important;
	}

	.thm-brand-sub {
		display: none;
	}

	/* Το backdrop-filter δημιουργεί containing block για τα fixed στοιχεία:
	   το μενού (position: fixed) εγκλωβιζόταν στο ύψος του header και
	   εμφανιζόταν μόνο ο πρώτος σύνδεσμος. */
	.thm-header {
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		background: #fff;
	}

	.thm-logo img {
		width: 40px;
		height: 40px;
	}

	.thm-header-cta {
		display: none !important;
	}

	.thm-nav {
		justify-content: flex-end;
		min-width: 0;
	}

	.thm-nav .wp-block-navigation__container {
		gap: 12px !important;
		flex-wrap: nowrap !important;
	}

	.thm-nav .wp-block-navigation-item__content {
		font-size: 0.88rem;
		white-space: nowrap;
		padding: 6px 0;
	}

	.thm-nav .wp-block-navigation__responsive-container.is-menu-open {
		padding: 16px 20px 40px !important;
		background: #fff !important;
	}

	.thm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		width: 100%;
		gap: 0 !important;
		flex-direction: column !important;
		flex-wrap: wrap !important;
		align-items: stretch;
	}

	.thm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
		width: 100%;
	}

	.thm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		display: block;
		width: 100%;
		font-size: 1.15rem;
		white-space: normal;
		padding: 14px 0;
		border-bottom: 1px solid var(--wp--preset--color--line);
	}

	/* Διαχωριστικό πριν από τους συνδέσμους που εμφανίζονται μόνο στο κινητό. */
	.thm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container > li:nth-child(6) {
		margin-top: 10px;
		border-top: 1px solid var(--wp--preset--color--line);
	}

	.thm-hero {
		padding: 48px 20px 56px !important;
	}

	.thm-hero-media {
		order: -1;
	}

	.thm-portrait img {
		max-height: 420px;
		object-position: 50% 22%;
	}

	.thm-hero-badge {
		left: 12px;
		bottom: 12px;
	}

	.thm-section {
		padding: 60px 20px !important;
	}

	.thm-trust .wp-block-column {
		border-left: 0;
		padding-left: 0;
		border-top: 1px solid rgba(234, 242, 239, 0.16);
		padding-top: 14px;
	}

	.thm-trust .wp-block-column:first-child {
		border-top: 0;
		padding-top: 0;
	}

	.thm-page-hero {
		padding: 44px 20px 40px !important;
	}

	.thm-page-body {
		padding: 44px 20px 64px !important;
	}

	.thm-footer {
		padding: 48px 20px 24px !important;
	}
}

@media (max-width: 720px) {
	.thm-header {
		padding: 0 16px !important;
	}

	.thm-brand-text {
		display: none;
	}

	.thm-header-inner {
		gap: 8px !important;
	}
}

@media (max-width: 600px) {
	.thm-brand-name {
		font-size: 1rem;
	}

	.thm-actions .wp-block-button {
		width: 100%;
	}

	.thm-actions .wp-block-button__link {
		width: 100%;
		text-align: center;
	}

	.thm-map,
	.thm-map iframe {
		min-height: 300px;
	}

	.thm-footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}
