/* Άγιος Δούκας — εμφάνιση (χρώματα/γραμματοσειρές όπως στο σχέδιο: κρεμ, μπορντό, χρυσό) */
:root {
  --ad-bg: #faf3e5; --ad-fg: #271512; --ad-card: #fefaf1; --ad-primary: #6f1821; --ad-wine: #4f0913;
  --ad-on-wine: #fbf4e6; --ad-secondary: #efe3cb; --ad-muted: #5c4841; --ad-gold: #d2a249; --ad-border: #d5c1a0;
  --ad-shadow: 0 20px 45px -24px rgba(79, 9, 19, .45);
  --ad-serif: "Noto Serif", "GFS Didot", Georgia, serif; --ad-sans: "Noto Sans", system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body, body.elementor-page { background: var(--ad-bg) !important; color: var(--ad-fg); font-family: var(--ad-sans); font-size: 18px; line-height: 1.7; }
h1, h2, h3, h4, .elementor-heading-title { font-family: var(--ad-serif); color: var(--ad-primary); line-height: 1.25; }
body a { color: var(--ad-primary); }
body a:hover { color: var(--ad-wine); }
.elementor-widget-shortcode, .elementor-widget-html, .elementor-widget-text-editor { width: 100%; }
.ad-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Κεφαλίδα */
.ad-header { position: sticky; top: 0; z-index: 50; background: rgba(254, 250, 241, .95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ad-gold); }
.admin-bar .ad-header { top: 32px; }
.ad-header-in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.ad-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--ad-serif); font-weight: 700; font-size: 22px; color: var(--ad-primary); white-space: nowrap; }
.ad-brand .ad-cross { color: var(--ad-gold); flex: none; }
.ad-nav { display: flex; gap: 26px; margin: 0 auto; }
.ad-nav a { text-decoration: none; color: var(--ad-fg); font-size: 16px; padding: 6px 0; text-underline-offset: 8px; }
.ad-nav a:hover, .ad-nav a.is-active { color: var(--ad-primary); text-decoration: underline 2px var(--ad-gold); }
.ad-lang { border: 1px solid var(--ad-gold); border-radius: 999px; padding: 4px 14px; font-weight: 600; font-size: 14px; text-decoration: none; color: var(--ad-primary); }
.ad-burger { display: none; margin-left: auto; background: none; border: 1px solid var(--ad-border); border-radius: 8px; padding: 9px 10px; cursor: pointer; }
.ad-burger span { display: block; width: 22px; height: 2px; background: var(--ad-primary); margin: 4px 0; }
@media (max-width: 1279px) {
  .ad-burger { display: block; }
  .ad-header-in { flex-wrap: wrap; }
  .ad-nav { display: none; order: 3; width: 100%; grid-template-columns: 1fr 1fr; gap: 6px 18px; padding: 8px 0 16px; }
  .ad-nav.is-open { display: grid; }
  .ad-lang { order: 2; }
}

/* Μπορντό ζώνες (hero, κεφαλίδες σελίδων) με αχνό χρυσό μοτίβο */
.ad-band { background-color: var(--ad-wine) !important; color: var(--ad-on-wine); position: relative; overflow: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%23d2a249' stroke-opacity='.18'%3E%3Cpath d='M24 4 44 24 24 44 4 24z'/%3E%3Cpath d='M24 18v12M18 24h12'/%3E%3C/g%3E%3C/svg%3E") !important; }
.ad-band .elementor-heading-title, .ad-band h1, .ad-band h2 { color: #fff !important; }
.ad-band .ad-sub, .ad-band .ad-sub p { color: var(--ad-gold); font-family: var(--ad-serif); font-size: 22px; }
.ad-band .ad-cross { color: var(--ad-gold); }

/* Χρυσή διαχωριστική γραμμή */
.ad-divider { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--ad-gold); margin: 10px auto 18px; max-width: 360px; }
.ad-divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--ad-gold), transparent); }

/* Πλαίσια εικόνων (διπλό χρυσό) */
.ad-frame { margin: 0; border: 1px solid var(--ad-gold); padding: 4px; background: var(--ad-card); box-shadow: var(--ad-shadow); }
.ad-frame img { display: block; width: 100%; height: auto; outline: 1px solid var(--ad-gold); }
.ad-frame figcaption, .ad-portrait figcaption { font-size: 13px; color: var(--ad-muted); text-align: center; padding: 6px 4px 2px; }
.ad-portrait { display: block; margin: 0 auto 8px !important; width: 100%; max-width: 240px; border: 1px solid var(--ad-gold); padding: 6px; background: var(--ad-card); box-shadow: 0 0 40px rgba(210, 162, 73, .35), var(--ad-shadow); }
.ad-portrait img { display: block; width: 100%; height: auto; }
.ad-band .ad-portrait figcaption { color: var(--ad-on-wine); opacity: .8; }
.ad-ph { display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; background: var(--ad-secondary); color: var(--ad-muted); font-family: var(--ad-serif); }
.ad-ph-saint { aspect-ratio: 3/4; }

/* Αντίστροφη μέτρηση */
.ad-countdown { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 560px; margin: 8px auto 0; }
.ad-countdown > div { text-align: center; padding: 6px 4px; border-left: 1px solid rgba(210, 162, 73, .5); }
.ad-countdown > div:first-child { border-left: 0; }
.ad-countdown b { display: block; font-family: var(--ad-serif); font-size: 44px; color: var(--ad-gold); line-height: 1.1; }
.ad-countdown span { font-size: 14px; color: var(--ad-on-wine); opacity: .85; }
.ad-countdown.is-feast { display: block; text-align: center; font-family: var(--ad-serif); font-size: 28px; color: var(--ad-gold); }

/* Χρονολόγιο */
.ad-timeline { list-style: none; margin: 0; padding: 0 0 0 34px; border-left: 2px solid var(--ad-gold); counter-reset: ad; }
.ad-timeline li { position: relative; margin: 0 0 22px; padding-left: 8px; counter-increment: ad; }
.ad-timeline li::before { content: ""; position: absolute; left: -44px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--ad-wine); border: 2px solid var(--ad-gold); }
.ad-timeline li::after { content: counter(ad); position: absolute; left: -2px; top: 0; font-family: var(--ad-serif); color: var(--ad-primary); font-weight: 700; }
.ad-timeline li span { display: block; padding-left: 24px; }

/* Κάρτες, νέα, φόρμες, πίνακες, χάρτης */
.ad-card { display: grid; grid-template-columns: 180px 1fr; gap: 22px; background: var(--ad-card); border: 1px solid var(--ad-border); box-shadow: var(--ad-shadow); padding: 18px; margin-bottom: 22px; }
.ad-card-img img { width: 180px; height: 180px; object-fit: cover; }
.ad-card h2 { font-size: 24px; margin: 4px 0 8px; }
.ad-card h2 a { text-decoration: none; }
@media (max-width: 640px) { .ad-card { grid-template-columns: 1fr; } }
.ad-meta, .ad-news-row time { color: var(--ad-muted); font-size: 15px; }
.ad-news-row { border-bottom: 1px solid var(--ad-border); padding: 10px 0; margin: 0; }
.ad-news-row a { margin-left: 12px; font-family: var(--ad-serif); }
.ad-empty { text-align: center; color: var(--ad-muted); font-style: italic; }
.ad-box { background: var(--ad-card); border: 1px solid rgba(210, 162, 73, .5); box-shadow: var(--ad-shadow); padding: 26px; }
.ad-box .wpcf7 input[type=text], .ad-box .wpcf7 input[type=email], .ad-box .wpcf7 textarea { width: 100%; background: #fff; border: 1px solid var(--ad-border); border-radius: 6px; padding: 10px 12px; font: inherit; }
.ad-box .wpcf7 input[type=submit], .ad-btn, .elementor-button { background: var(--ad-primary) !important; color: var(--ad-on-wine) !important; border: 0; border-radius: 6px; font-family: var(--ad-sans); font-weight: 600; }
.ad-box .wpcf7 input[type=submit] { padding: 12px 28px; cursor: pointer; }
.ad-box .wpcf7 input[type=submit]:hover, .elementor-button:hover { background: var(--ad-wine) !important; }
.ad-outline .elementor-button { background: transparent !important; color: var(--ad-primary) !important; border: 1px solid var(--ad-primary); }
.ad-table { width: 100%; border-collapse: collapse; border: 1px solid rgba(210, 162, 73, .5); }
.ad-table th { background: var(--ad-wine); color: var(--ad-on-wine); font-family: var(--ad-serif); text-align: left; padding: 10px 14px; }
.ad-table td { background: var(--ad-card); border-top: 1px solid var(--ad-border); padding: 10px 14px; }
.ad-map iframe { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }
.ad-contact p { margin: 0 0 10px; }
.ad-note { font-size: 15px; color: var(--ad-muted); }

/* Υποσέλιδο */
.ad-footer { background: var(--ad-wine); color: var(--ad-on-wine); border-top: 2px solid var(--ad-gold); padding: 22px 0 16px; margin-top: 0; }
.ad-footer a { color: var(--ad-on-wine); }
.ad-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: 8px 0 18px; }
.ad-footer-title { font-family: var(--ad-serif); color: var(--ad-gold); font-size: 20px; margin-bottom: 6px; }
.ad-footer p { margin: 0 0 6px; font-size: 16px; }
.ad-social { display: flex; gap: 10px; align-items: flex-start; }
.ad-social a { border: 1px solid var(--ad-gold); border-radius: 999px; padding: 4px 12px; font-size: 14px; text-decoration: none; }
.ad-copy { border-top: 1px solid rgba(210, 162, 73, .4); padding-top: 12px; text-align: center; font-size: 14px !important; opacity: .85; }
@media (max-width: 760px) { .ad-footer-cols { grid-template-columns: 1fr; } }

/* Hello Elementor: χωρίς τα δικά του περιθώρια στα άρθρα */
.site-main.post, .page-content { max-width: 900px; margin-left: auto; margin-right: auto; }
.single-post .site-main { padding: 40px 20px; }

/* Κινητό: μικρότεροι τίτλοι και αντίστροφη μέτρηση */
@media (max-width: 640px) {
  .ad-band h1.elementor-heading-title { font-size: 30px; }
  .ad-countdown b { font-size: 30px; }
  .ad-brand { font-size: 19px; }
  body { font-size: 17px; }
}

/* Γκαλερί (Ο Ναός): ίδιο σχήμα 4:3, χρυσό πλαίσιο, ολόκληρη φωτογραφία στο κλικ */
.ad-gallery .gallery { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ad-gallery .gallery br { display: none; }
.ad-gallery .gallery-item { margin: 0 !important; padding: 0 !important; width: auto !important; max-width: none !important; }
.ad-gallery .gallery-item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--ad-gold) !important; padding: 3px; background: var(--ad-card); box-shadow: var(--ad-shadow); transition: transform .2s; }
.ad-gallery .gallery-item a:hover img { transform: scale(1.02); }
@media (max-width: 640px) { .ad-gallery .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
/* ακριβώς 4 φωτογραφίες: μία σειρά των 4 (όχι 3 + 1 μόνη της) */
@media (min-width: 641px) { .ad-gallery .gallery:has(> .gallery-item:nth-child(4):last-child) { grid-template-columns: repeat(4, 1fr); } }
