/* ==========================================================================
   Μέγαρο Ρόδου — συμπληρωματικά styles (ό,τι δεν καλύπτει το theme.json)
   ========================================================================== */

:root {
	--mr-line: rgba(201, 168, 76, 0.16);
	--mr-line-soft: rgba(237, 228, 207, 0.12);
	--mr-radius: 22px;
	--mr-gold: var(--wp--preset--color--gold, #C9A84C);
	--mr-gold-light: var(--wp--preset--color--gold-light, #E3C77A);
}

html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: rgba(201, 168, 76, 0.35); color: #fff; }

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--mr-gold-light);
	outline-offset: 3px;
}

/* Τίτλοι: ό,τι μπαίνει σε πλάγια (Ctrl+I) γίνεται χρυσό */
:where(h1, h2, h3, .wp-block-heading) em { font-style: italic; color: var(--mr-gold); }

/* ---------- Κεφαλίδα ---------- */
.mr-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(10, 12, 18, 0.86);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--mr-line);
}
.admin-bar .mr-header { top: var(--wp-admin--admin-bar--height, 32px); }
.mr-header .wp-block-site-tagline {
	margin: 0;
	font-size: 0.6875rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted-2);
}
.mr-brand { gap: 0.875rem !important; }
.mr-brand .wp-block-site-logo img { width: 44px; height: auto; }
.mr-brand-text { gap: 0 !important; line-height: 1.2; }
.mr-header .wp-block-button__link { padding: 0.7rem 1.25rem; font-size: 0.875rem; white-space: nowrap; }
@media (max-width: 480px) { .mr-header .wp-block-site-title { font-size: 0.95rem; } .mr-header .wp-block-button__link { padding: 0.6rem 0.9rem; } .mr-brand .wp-block-image img { width: 36px !important; height: 36px !important; } }
@media (max-width: 781px) {
	.mr-header .wp-block-site-tagline, .mr-hide-mobile { display: none !important; }
	.mr-header:has(.mr-member-menu) .mr-brand-text { display: none !important; }
}

/* ---------- Γενικά μπλοκ ---------- */
.is-style-mr-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.8125rem !important;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--mr-gold);
	margin-bottom: 0;
}
.is-style-mr-eyebrow::before {
	content: "";
	width: 32px;
	height: 1px;
	background: currentColor;
	flex: none;
}
.is-style-mr-eyebrow.has-text-align-center { justify-content: center; }
.is-style-mr-eyebrow.has-text-align-center::before { display: none; }

.is-style-mr-card,
.is-style-mr-card-soft {
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--mr-line);
	border-radius: var(--mr-radius);
	padding: clamp(1.5rem, 2.5vw, 2.25rem);
	box-sizing: border-box;
}
.is-style-mr-card-soft {
	background: var(--wp--preset--color--surface-2);
	border-color: var(--mr-line-soft);
	border-radius: 20px;
}
.is-style-mr-card > :last-child, .is-style-mr-card-soft > :last-child { margin-bottom: 0; }
.mr-card-foot {
	margin-top: auto !important;
	padding-top: 1rem;
	border-top: 1px solid var(--mr-line-soft);
}
.mr-stretch { height: 100%; }

.wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--cream);
	border: 1px solid rgba(237, 228, 207, 0.3);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	border-color: var(--mr-gold);
	color: var(--mr-gold-light);
}
.mr-outline-gold .wp-block-button__link { border-color: rgba(201, 168, 76, 0.5) !important; color: var(--mr-gold-light) !important; }

.is-style-mr-checks { list-style: none; padding-left: 0; }
.is-style-mr-checks li { position: relative; padding-left: 1.6rem; }
.is-style-mr-checks li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 0.9rem;
	height: 0.5rem;
	border-left: 2px solid var(--mr-gold);
	border-bottom: 2px solid var(--mr-gold);
	transform: rotate(-45deg);
}
.mr-inline-list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }

/* ---------- Hero ---------- */
.mr-hero-visual {
	border-radius: 28px;
	background: var(--wp--preset--color--surface-2);
	border: 1px solid var(--mr-line);
	overflow: hidden;
}
.mr-hero-visual .wp-block-image { width: 100%; margin: 0; }
.mr-hero-visual img { width: 100%; height: auto; display: block; aspect-ratio: 560 / 430; }
@media (prefers-reduced-motion: no-preference) {
	.mr-rise { animation: mr-rise 0.9s cubic-bezier(.2,.7,.2,1) both; }
	.mr-rise-2 { animation-delay: 0.12s; }
	.mr-rise-3 { animation-delay: 0.24s; }
	@keyframes mr-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* ---------- Αριθμοί ---------- */
.mr-stat { border-right: 1px solid rgba(237, 228, 207, 0.14); padding-right: 1.5rem; }
.mr-stat:last-child { border-right: 0; }
.mr-stat .mr-stat-num { font-family: var(--wp--preset--font-family--serif); font-size: clamp(2.75rem, 5vw, 4rem); line-height: 1; color: var(--mr-gold-light); margin: 0; }
@media (max-width: 781px) { .mr-stat { border-right: 0; border-bottom: 1px solid rgba(237,228,207,.14); padding: 0 0 1.25rem; } }

/* ---------- Μύθοι / αλήθειες ---------- */
.mr-myths { border-top: 1px solid var(--mr-line-soft); }
.mr-myth-row { padding: 2rem 0; border-bottom: 1px solid var(--mr-line-soft); }
.mr-label { font-size: 0.75rem !important; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin-bottom: 0.5rem; }
.mr-myth {
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(1.4rem, 2.4vw, 1.875rem);
	line-height: 1.25;
	color: var(--wp--preset--color--faint);
	text-decoration: line-through;
	text-decoration-color: rgba(196, 48, 43, 0.75);
	text-decoration-thickness: 2px;
	margin: 0;
}

/* ---------- Εργαστήρια ---------- */
.mr-seal img { border-radius: 50%; }
.mr-seal-placeholder {
	width: 84px; height: 84px; border-radius: 50%;
	border: 1px dashed rgba(201, 168, 76, 0.45);
	display: flex; align-items: center; justify-content: center;
	font-size: 0.6875rem; letter-spacing: 0.08em; color: var(--wp--preset--color--faint);
	margin: 0;
}
.mr-divider-label { display: flex; align-items: center; gap: 1rem; max-width: var(--wp--style--global--wide-size) !important; }
.mr-divider-label::after { content: ""; flex: 1; height: 1px; background: rgba(201, 168, 76, 0.22); }

/* ---------- Ταξίδι ---------- */
.is-style-mr-step {
	width: 56px; height: 56px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	border: 1px solid var(--mr-gold); color: var(--mr-gold-light);
	font-family: var(--wp--preset--font-family--serif); font-size: 1.375rem;
	margin: 0;
	position: relative;
}
.mr-step-first .is-style-mr-step { background: var(--mr-gold); color: var(--wp--preset--color--dark-text); }
.mr-steps > .wp-block-group { position: relative; }
@media (min-width: 782px) {
	.mr-steps > .wp-block-group:not(:last-child)::before {
		content: ""; position: absolute; top: 28px; left: 68px; right: -12px;
		height: 1px; background: rgba(201, 168, 76, 0.4);
	}
}

/* ---------- Testimonials ---------- */
.mr-quote-mark { font-family: var(--wp--preset--font-family--serif); font-size: 4.5rem; line-height: 0.6; color: var(--mr-gold); margin: 0; }
.mr-quote { font-family: var(--wp--preset--font-family--quote); font-style: italic; font-size: 1.5rem; line-height: 1.45; color: #E6DCC4; }

/* ---------- FAQ (core/details) ---------- */
.wp-block-details { border-bottom: 1px solid rgba(237, 228, 207, 0.14); }
.mr-faq-list { border-top: 1px solid rgba(237, 228, 207, 0.14); }
.wp-block-details summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
	font-family: var(--wp--preset--font-family--serif);
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	line-height: 1.3;
	color: var(--wp--preset--color--parchment);
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: "+";
	flex: none;
	width: 40px; height: 40px; border-radius: 50%;
	border: 1px solid rgba(201, 168, 76, 0.45);
	color: var(--mr-gold-light);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--wp--preset--font-family--sans);
	font-size: 1.375rem;
}
.wp-block-details[open] summary::after { content: "−"; }
.wp-block-details > :not(summary) { color: var(--wp--preset--color--muted); max-width: 44rem; }

/* ---------- Visiting ---------- */
.mr-lodge-list { align-self: center; list-style: none; padding: 1.75rem 2rem; margin: 0; background: rgba(10, 12, 18, 0.35); border: 1px solid rgba(237, 228, 207, 0.14); border-radius: var(--mr-radius); }
.mr-lodge-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.875rem 0; border-bottom: 1px solid rgba(237, 228, 207, 0.12); }
.mr-lodge-list li:last-child { border-bottom: 0; }

/* ---------- Placeholders εικόνων ---------- */
.mr-photo-placeholder {
	min-height: 360px;
	border-radius: var(--mr-radius);
	border: 1px dashed rgba(201, 168, 76, 0.35);
	background: var(--wp--preset--color--surface);
	display: flex; align-items: center; justify-content: center;
	color: var(--wp--preset--color--faint);
	letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.875rem;
}

/* ---------- Υποσέλιδο ---------- */
.mr-footer a { color: var(--wp--preset--color--gold-light); }
.mr-footer-bottom { border-top: 1px solid rgba(237, 228, 207, 0.1); }

/* ---------- Κείμενο σελίδων (άρθρα, πολιτικές) ---------- */
.mr-prose p, .mr-prose li { color: var(--wp--preset--color--sand); }
.mr-prose :where(h2, h3) { margin-top: 2.5rem; }

/* ---------- bbPress σε σκούρο φόντο ---------- */
#bbpress-forums { font-size: 1rem; color: var(--wp--preset--color--cream); }
#bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-topics, #bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-lead-topic, #bbpress-forums .bbp-search-results { border-color: var(--mr-line-soft); border-radius: 16px; overflow: hidden; }
#bbpress-forums li.bbp-header, #bbpress-forums li.bbp-footer { background: var(--wp--preset--color--surface); border-color: var(--mr-line-soft); color: var(--wp--preset--color--muted); }
#bbpress-forums div.odd, #bbpress-forums ul.odd { background: var(--wp--preset--color--surface-2); }
#bbpress-forums div.even, #bbpress-forums ul.even { background: var(--wp--preset--color--ink-2); }
#bbpress-forums li.bbp-body ul.forum, #bbpress-forums li.bbp-body ul.topic,
#bbpress-forums div.bbp-reply-header, #bbpress-forums div.bbp-topic-header { border-color: var(--mr-line-soft); }
#bbpress-forums div.bbp-reply-header, #bbpress-forums div.bbp-topic-header { background: var(--wp--preset--color--surface); }
#bbpress-forums fieldset.bbp-form { border-color: var(--mr-line-soft); border-radius: 16px; }
#bbpress-forums fieldset.bbp-form input[type="text"], #bbpress-forums fieldset.bbp-form textarea, #bbpress-forums fieldset.bbp-form select {
	background: var(--wp--preset--color--ink-2); color: var(--wp--preset--color--cream); border: 1px solid rgba(237,228,207,.18); border-radius: 10px; padding: 0.6rem 0.8rem;
}
#bbpress-forums .bbp-breadcrumb, #bbpress-forums .bbp-pagination, #bbpress-forums .bbp-meta, #bbpress-forums .bbp-topic-meta { color: var(--wp--preset--color--muted-2); }
#bbpress-forums button, #bbpress-forums .button { background: var(--mr-gold); color: #14110A; border: 0; border-radius: 999px; padding: 0.6rem 1.25rem; font-weight: 600; cursor: pointer; }
div.bbp-template-notice, div.indicator-hint { background: var(--wp--preset--color--surface); border-color: var(--mr-line); color: var(--wp--preset--color--sand); border-radius: 12px; }
#bbpress-forums #bbp-search-form input[type="text"], #bbp-search-form input[type="text"] { background: var(--wp--preset--color--ink-2); color: var(--wp--preset--color--cream); border: 1px solid rgba(237,228,207,.18); border-radius: 999px; padding: 0.55rem 1rem; }
.mr-forum-main > h1 { margin-top: 0; }
div.bbp-template-notice a { color: var(--mr-gold-light); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
