/* THESMOS Law Firm — child theme.
   ΤΟ ΜΟΝΟ που κάνει αυτό το CSS:
     1. δηλώνει τις γραμματοσειρές (@font-face)
     2. στυλίζει τον header (δικό μας markup — δεν είναι Elementor)
     3. το splash intro + μεταβάσεις σελίδων
   ΔΕΝ πειράζει χρώματα/τυπογραφία περιεχομένου: αυτά ζουν μέσα στα
   Elementor widgets, ώστε ο editor να δείχνει ό,τι ακριβώς και το site
   και να μπορεί η πελάτισσα να τα αλλάζει από το UI.
   ΔΕΝ αγγίζει το scroll: μηδέν JavaScript, μηδέν overflow:hidden. */

/* ---------- 1. Γραμματοσειρές (self-hosted) ---------- */
/* Μόνο woff2 — υποστηρίζεται από κάθε browser μετά το 2017 και είναι
   ~40% μικρότερο από το otf. Τα otf/ttf εφεδρικά αφαιρέθηκαν: ζύγιζαν
   1,3 MB και δεν τα ζητούσε ποτέ κανείς.
   Οι γραμματοσειρές έχουν γίνει subset σε ελληνικά + λατινικά. */
@font-face { font-family: 'HelveticaNeueW'; src: url('../fonts/helvetica-ultralight.woff2') format('woff2'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'HelveticaNeueW'; src: url('../fonts/helvetica-light.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'HelveticaNeueW'; src: url('../fonts/helvetica-roman.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

/* Βάση για ό,τι δεν είναι Elementor widget (φόρμα, header) */
body { font-family: 'HelveticaNeueW', 'Helvetica Neue', Helvetica, Arial, sans-serif; }

/* ---------- 2. Header — ίδια συμπεριφορά με το HTML demo ----------
   Διάφανος πάνω στο hero → ασπρίζει μετά τα 90px → κρύβεται κατεβαίνοντας.
   Το JS μόνο ΔΙΑΒΑΖΕΙ τη θέση scroll (passive), δεν την αλλάζει. */
.site-header, #masthead { display: none !important; }

#thesmos-topzone {
  position: absolute; top: 0; left: 0; right: 0; z-index: 100;
  transition: transform .5s cubic-bezier(.76,0,.24,1), background .35s, box-shadow .4s;
}
#thesmos-topzone.solid {
  position: fixed;
  background: rgba(235,238,236,.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid #D8DCD9;
  box-shadow: 0 10px 40px -32px rgba(32,32,32,.5);
}
#thesmos-topzone.hidden { transform: translateY(-100%); }

/* --- utility bar --- */
#thesmos-topbar { background: transparent; color: rgba(235,238,236,.78); font-size: 12.5px; letter-spacing: .03em; border-bottom: 1px solid rgba(235,238,236,.14); transition: color .35s, border-color .35s; }
#thesmos-topzone.solid #thesmos-topbar { color: #4B4E4C; border-bottom-color: #D8DCD9; }
#thesmos-topbar .tb-inner { max-width: 1360px; margin: 0 auto; padding: 10px 48px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
#thesmos-topbar .tb-left { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
#thesmos-topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
#thesmos-topbar a:hover { color: #fff; }
#thesmos-topzone.solid #thesmos-topbar a:hover { color: #202020; }
#thesmos-topbar .tb-ico { color: #D24A4A; }

/* --- διακόπτης γλώσσας EL | EN (εμφανίζεται μόνο όταν υπάρχει η σελίδα /en/) --- */
#thesmos-topbar .tb-right { display: flex; align-items: center; gap: 22px; }
.th-lang { display: inline-flex; align-items: center; font-size: 12px; letter-spacing: .14em; line-height: 1; }
.th-lang > * { padding: 2px 10px; }
.th-lang > *:first-child { padding-left: 0; }
.th-lang > *:last-child { padding-right: 0; }
.th-lang > * + * { border-left: 1px solid rgba(235,238,236,.3); }
#thesmos-topbar .th-lang .is-current { color: #fff; }
#thesmos-topzone.solid #thesmos-topbar .th-lang > * + * { border-left-color: #D8DCD9; }
#thesmos-topzone.solid #thesmos-topbar .th-lang .is-current { color: #202020; }

/* --- header bar --- */
#thesmos-header { background: transparent; }
#thesmos-header .th-inner { max-width: 1360px; margin: 0 auto; padding: 22px 48px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
#thesmos-header .th-brand img { height: 40px; width: auto; display: block; }
#thesmos-header .th-brand .logo-dark { display: none; }
#thesmos-topzone.solid .th-brand .logo-light { display: none; }
#thesmos-topzone.solid .th-brand .logo-dark { display: block; }

#thesmos-header .th-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
#thesmos-header .th-nav a { color: rgba(235,238,236,.85); text-decoration: none; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 0; position: relative; display: inline-block; transition: color .35s; }
#thesmos-header .th-nav a:hover { color: #fff; }
#thesmos-topzone.solid .th-nav a { color: #4B4E4C; }
#thesmos-topzone.solid .th-nav a:hover,
#thesmos-topzone.solid .th-nav .current-menu-item > a,
#thesmos-topzone.solid .th-nav .current_page_item > a { color: #202020; }
#thesmos-header .th-nav .current-menu-item > a::after,
#thesmos-header .th-nav .current_page_item > a::after,
#thesmos-header .th-nav a:hover::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #D24A4A; }

/* Τελευταίο στοιχείο μενού = κουμπί */
#thesmos-header .th-nav ul > li:last-child > a { border: 1px solid rgba(235,238,236,.55); padding: 12px 22px; border-radius: 2px; color: #EBEEEC; }
#thesmos-header .th-nav ul > li:last-child > a:hover { border-color: #EBEEEC; }
#thesmos-topzone.solid .th-nav ul > li:last-child > a { background: #202020; border-color: #202020; color: #EBEEEC; }
#thesmos-header .th-nav ul > li:last-child > a::after { display: none !important; }

/* ═══ ΜΕΝΟΥ ΚΙΝΗΤΟΥ ═══════════════════════════════════════════════
   ΣΤΕΓΑΝΟ: εκτός του media query και τα δύο στοιχεία είναι display:none,
   άρα στον υπολογιστή δεν υπάρχουν καθόλου — τίποτα δεν μπορεί να αλλάξει.
   Το σπάσιμο στα 1024px είναι το ίδιο με του index.html.
   ΔΕΝ κλειδώνει το scroll: το συρτάρι είναι απλό fixed overlay. */
#thesmos-burger { display: none; }
#thesmos-drawer { display: none; }

@media (max-width: 1024px) {
  #thesmos-topbar .tb-inner, #thesmos-header .th-inner { padding-left: 24px; padding-right: 24px; }
  #thesmos-topbar .tb-right { display: none; }

  /* Λογότυπο αριστερά, κουμπί δεξιά — ΟΧΙ στοιβαγμένο όπως πριν */
  #thesmos-header .th-inner {
    flex-direction: row; align-items: center; justify-content: space-between; gap: 16px;
    padding-top: 16px; padding-bottom: 16px;
  }
  #thesmos-header .th-nav { display: none; }
  #thesmos-header .th-brand img { height: 34px; }

  /* --- κουμπί hamburger --- */
  #thesmos-burger {
    display: inline-flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 5px;
    width: 42px; height: 42px; flex: 0 0 auto;
    background: transparent; cursor: pointer;
    border: 1px solid rgba(235,238,236,.4); border-radius: 2px;
    padding: 0; transition: border-color .35s;
  }
  #thesmos-burger span {
    display: block; width: 20px; height: 1.5px;
    background: #EBEEEC; transition: background .35s, transform .3s, opacity .2s;
  }
  #thesmos-topzone.solid #thesmos-burger { border-color: #D8DCD9; }
  #thesmos-topzone.solid #thesmos-burger span { background: #202020; }

  /* ανοιχτό: γίνεται Χ */
  #thesmos-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  #thesmos-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  #thesmos-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* --- συρτάρι --- */
  #thesmos-drawer {
    display: flex; flex-direction: column; gap: 4px;
    /* ΠΑΝΩ από το #thesmos-topzone (100), ώστε να σκεπάζει και τον header:
       αλλιώς φαίνονται ΔΥΟ Χ (το hamburger που γίνεται Χ και το κουμπί
       κλεισίματος). Κάτω από την κουρτίνα (99998), που πρέπει να το σκεπάζει. */
    position: fixed; inset: 0; z-index: 200;
    background: #202020;
    transform: translateX(100%);
    transition: transform .5s cubic-bezier(.76,0,.24,1);
    padding: 100px 32px 32px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #thesmos-drawer.open { transform: translateX(0); }
  #thesmos-drawer:focus { outline: none; }   /* το πλαίσιο μένει στους συνδέσμους */

  #thesmos-drawer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
  #thesmos-drawer a {
    display: block; color: #EBEEEC; text-decoration: none;
    font-family: 'HelveticaNeueW', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 24px; font-weight: 200; letter-spacing: .1em; text-transform: uppercase;
    padding: 16px 0; border-bottom: 1px solid #3a3a3a;
  }
  #thesmos-drawer a:active { color: #D24A4A; }
  #thesmos-drawer .current-menu-item > a { color: #D24A4A; }

  /* EL | EN στο κάτω μέρος του συρταριού (στο κινητό η πάνω μπάρα δεν το χωρά) */
  #thesmos-drawer .dr-lang { margin-top: 28px; font-size: 15px; color: rgba(235,238,236,.55); }
  #thesmos-drawer .dr-lang > * { padding: 8px 16px; }
  #thesmos-drawer .dr-lang > *:first-child { padding-left: 0; }
  #thesmos-drawer .dr-lang a {
    display: inline-block; font-size: inherit; font-weight: 300; letter-spacing: inherit;
    padding: 8px 16px; border-bottom: 0; color: inherit;
  }
  #thesmos-drawer .dr-lang .is-current { color: #EBEEEC; }

  #thesmos-drawer .dr-close {
    position: absolute; top: 26px; right: 26px;
    background: none; border: none; cursor: pointer;
    color: #EBEEEC; font-size: 24px; line-height: 1; padding: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #thesmos-drawer { transition: none; }
}

/* ---------- 3. Splash intro (μία φορά ανά session) ----------

   ΤΡΙΑ ΠΡΑΓΜΑΤΑ ΠΟΥ ΕΣΠΑΓΑΝ ΣΤΟ iPHONE:

   1. `scale(14)`. Το λογότυπο είναι 226px σε οθόνη 390px· επί 14 κάνει
      3164px, επί 3 (retina) = 9492px backing store. Το WebKit αρνείται να
      δεσμεύσει τόση μνήμη για ένα layer και ρίχνει το animation. Ο Chrome
      στον υπολογιστή το αντέχει, γι' αυτό δεν φαινόταν.
      -> στο κινητό το zoom σταματά στο 7.

   2. Το animation ξεκινούσε με το πρώτο paint, ΠΡΙΝ αποκωδικοποιηθεί η
      εικόνα. Σε πρώτη επίσκεψη από κινητό έβλεπες πράσινο φόντο, και
      μέχρι να φανεί το λογότυπο το zoom είχε ήδη προχωρήσει.
      -> ξεκινά μόνο με την κλάση `is-ready`, που μπαίνει στο load.

   3. Χωρίς compositing hint το Safari ξαναζωγράφιζε σε κάθε καρέ.
      -> will-change + translateZ(0).                                    */
#thesmos-splash {
  position: fixed; inset: 0; z-index: 99999; background: #C5CFC6;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; pointer-events: none;
}
/* Το λογότυπο «γράφεται»: το canvas ζωγραφίζει τις κινήσεις της πένας και
   μέσα από αυτές φαίνεται η ίδια η εικόνα. Στο τέλος το canvas δίνει τη
   θέση του στην εικόνα (ίδια pixel) και ακολουθεί το zoom μέσα από το Θ. */
#thesmos-splash .sp-logo {
  position: relative; width: min(58vw, 470px); aspect-ratio: 4000 / 907;
  transform-origin: 15% 50%;
  will-change: transform;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
#thesmos-splash .sp-logo img { display: block; width: 100%; height: auto; opacity: 0; }
#thesmos-splash canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#thesmos-splash.written .sp-logo img { opacity: 1; }
#thesmos-splash.written canvas { visibility: hidden; }

/* Οι καθυστερήσεις (πότε ξεκινά το zoom, πότε σβήνει) μπαίνουν από το
   script, ανάλογα με το πόσο κράτησε η γραφή. */
#thesmos-splash.is-writing          { animation: thesmosSplashOut .85s ease forwards; }
#thesmos-splash.is-writing .sp-logo { animation: thesmosSplashZoom 1.3s cubic-bezier(.7,0,.3,1) forwards; }

@keyframes thesmosSplashZoom {
  from { transform: translateZ(0) scale(1); }
  to   { transform: translateZ(0) scale(14); }
}
@keyframes thesmosSplashOut { to { opacity: 0; visibility: hidden; } }

/* ΚΙΝΗΤΟ: μικρότερο τελικό zoom, μέσα στα όρια του WebKit */
@media (max-width: 782px) {
  @keyframes thesmosSplashZoom {
    from { transform: translateZ(0) scale(1); }
    to   { transform: translateZ(0) scale(7); }
  }
}

/* Χωρίς κίνηση (ή χωρίς canvas): το λογότυπο φαίνεται και σβήνει */
#thesmos-splash.is-static { animation: thesmosSplashOut .9s ease .5s forwards; }
#thesmos-splash.is-static .sp-logo img { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════
   4. ΚΟΥΡΤΙΝΑ ΜΕΤΑΒΑΣΗΣ — αντίγραφο του #curtain του index.html
   ═══════════════════════════════════════════════════════════════ */
#thesmos-curtain {
  position: fixed; inset: 0; z-index: 99998;
  background: #202020;
  transform: translateY(100%);
  visibility: hidden;
  pointer-events: none;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 22px;
}
#thesmos-curtain .cu-rule { width: 52px; height: 1px; background: #D24A4A; }
#thesmos-curtain .cu-lbl {
  font-family: 'HelveticaNeueW', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(28px, 5vw, 46px);
  color: #EBEEEC;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 200;
  opacity: 0;
  text-align: center;
  padding: 0 24px;
}

/* ΑΝΑΧΩΡΗΣΗ: ανεβαίνει από κάτω και σκεπάζει */
#thesmos-curtain.is-leaving {
  visibility: visible;
  animation: thesmosCurtainIn .75s cubic-bezier(.76,0,.24,1) forwards;
}
#thesmos-curtain.is-leaving .cu-lbl {
  animation: thesmosLblIn .4s ease .12s forwards;
}

/* ΑΦΙΞΗ: σκεπάζει και φεύγει αμέσως προς τα πάνω, σε 0,75s.
   ΣΤΟΧΟΣ: όλη η μετάβαση (ανέβασμα + κατέβασμα) να κρατά ~1,5 δευτερόλεπτο
   (επιθυμητό εύρος πελάτη: 1,5–2s).
   Η μεταβλητότητα που έμενε ήταν ο χρόνος του server ανάμεσα στις δύο
   φάσεις. Τον κρύβουμε με prefetch (hover + πάτημα): η σελίδα κατεβαίνει
   ΟΣΟ πέφτει η κουρτίνα, οπότε στο 1s είναι ήδη έτοιμη.
   Το forwards κλείνει το animation σε translateY(-100%) + visibility:hidden,
   άρα η κουρτίνα ΔΕΝ γίνεται να κολλήσει πάνω από τη σελίδα. */
#thesmos-curtain.is-arriving {
  visibility: visible;
  animation: thesmosCurtainOut .75s cubic-bezier(.76,0,.24,1) forwards;
}
#thesmos-curtain.is-arriving .cu-lbl {
  opacity: 1;
  animation: thesmosLblOut .36s ease forwards;
}

@keyframes thesmosCurtainIn  { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes thesmosCurtainOut { from { transform: translateY(0); }
                               to   { transform: translateY(-100%); visibility: hidden; } }
@keyframes thesmosLblIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes thesmosLblOut { from { opacity: 1; } to { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  #thesmos-curtain { display: none !important; }
}

/* ═══════════════════════════════════════════════════════════════
   5. REVEAL ON SCROLL — αντίγραφο των .reveal-up / .reveal-text / .stagger

   Όλα ζουν κάτω από `html.thesmos-motion`, κλάση που προσθέτει το
   thesmos-motion.js. Αν η JavaScript δεν φορτώσει, η κλάση δεν μπαίνει
   ποτέ και τίποτα δεν κρύβεται — το περιεχόμενο είναι απλώς ορατό.
   ═══════════════════════════════════════════════════════════════ */

/* .reveal-up: ανεβαίνει 34px και εμφανίζεται */
html.thesmos-motion .th-rv {
  opacity: 0;
  transform: translateY(34px);
  will-change: opacity, transform;
}
html.thesmos-motion .th-rv.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .8s ease, transform .95s cubic-bezier(.16,1,.3,1);
  will-change: auto;
}

/* .reveal-text: ο τίτλος αναδύεται πίσω από μάσκα (demo: SplitType + line-mask) */
html.thesmos-motion .th-rv-mask { overflow: hidden; }
html.thesmos-motion .th-rv-mask > .elementor-heading-title {
  display: block;
  transform: translateY(105%);
  opacity: 0;
  will-change: transform;
}
html.thesmos-motion .th-rv-mask.is-in > .elementor-heading-title {
  transform: none;
  opacity: 1;
  transition: transform 1.05s cubic-bezier(.16,1,.3,1), opacity .45s ease;
  will-change: auto;
}
/* Μόλις τελειώσει, ανοίγουμε ξανά το overflow ώστε να μην κόβονται
   ποτέ ουρές γραμμάτων (γ, π, ρ) ή σκιές. */
html.thesmos-motion .th-rv-mask.is-done { overflow: visible; }

@media (prefers-reduced-motion: reduce) {
  html.thesmos-motion .th-rv,
  html.thesmos-motion .th-rv-mask > .elementor-heading-title {
    opacity: 1 !important; transform: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   6. ΝΕΑ & ΑΡΘΡΑ — κάρτες .ncard, ίδιες με το index.html
   Παράγονται από το shortcode [thesmos_news] με πραγματικά WP Άρθρα.
   ═══════════════════════════════════════════════════════════════ */
.thesmos-news-grid {
  display: grid;
  grid-template-columns: repeat(var(--news-cols, 3), 1fr);
  gap: 28px;
  width: 100%;
}
.thesmos-news-grid .ncard { display: flex; flex-direction: column; }
.thesmos-news-grid .ncard-link {
  display: flex; flex-direction: column; height: 100%;
  text-decoration: none; color: inherit;
}
.thesmos-news-grid .ncard-media {
  overflow: hidden; border-radius: 3px; height: 210px; margin-bottom: 22px;
}
.thesmos-news-grid .ncard-img {
  width: 100%; height: 100%;
  transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.thesmos-news-grid .ncard:hover .ncard-img { transform: scale(1.05); }
.thesmos-news-grid .ncard-meta {
  display: flex; align-items: center; gap: 9px;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: #D24A4A; margin-bottom: 14px;
}
.thesmos-news-grid .ncard-dot { color: #B4B2AF; }
.thesmos-news-grid .ncard-meta time { color: #8d908e; }
.thesmos-news-grid .ncard-title {
  font-size: 21px; font-weight: 400; line-height: 1.35; letter-spacing: .01em;
  margin: 0 0 12px; color: #202020;
}
.thesmos-news-grid .ncard-sub {
  font-size: 14.5px; font-weight: 300; line-height: 1.8; color: #4b4e4c; margin: 0 0 18px;
}
.arrow-link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  color: #202020; text-decoration: none;
}
.thesmos-news-grid .arrow-link { margin-top: auto; font-size: 11px; }
.arrow-link .ar { color: #D24A4A; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.arrow-link:hover .ar, .ncard:hover .arrow-link .ar { transform: translateX(5px); }

.thesmos-news-empty { font-size: 15px; font-weight: 300; color: #4b4e4c; }
.thesmos-news-empty a { color: #D24A4A; }

.thesmos-news-pager {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid #d8dcd9;
  display: flex; gap: 14px; align-items: center;
  font-size: 13px; letter-spacing: .06em; color: #8d908e;
}
.thesmos-news-pager a { color: #4b4e4c; text-decoration: none; }
.thesmos-news-pager a:hover { color: #202020; }
.thesmos-news-pager .current { color: #D24A4A; }

@media (max-width: 1024px) { .thesmos-news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px)  { .thesmos-news-grid { grid-template-columns: 1fr; gap: 34px; } }

/* ═══════════════════════════════════════════════════════════════
   7. ΣΕΛΙΔΑ ΑΡΘΡΟΥ (single.php)
   ═══════════════════════════════════════════════════════════════ */
body.thesmos-article {
  background: #EBEEEC;
  color: #4b4e4c;
  font-family: 'HelveticaNeueW', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 300;
  margin: 0;
}
.art-wrap { max-width: 1160px; margin: 0 auto; padding: 0 40px; width: 100%; }
.art-narrow { max-width: 780px; }

.art-head {
  background: #202020; color: #EBEEEC;
  padding: 190px 0 84px;
}
.art-crumb {
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: #a3a7a4; margin: 0 0 22px;
}
.art-crumb a { color: inherit; text-decoration: none; }
.art-crumb a:hover { color: #EBEEEC; }
.art-crumb .sep { color: #D24A4A; margin: 0 6px; }
.art-meta {
  display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  color: #D24A4A; margin: 0 0 18px;
}
.art-meta time { color: #a3a7a4; }
.art-title {
  font-size: clamp(30px, 4.4vw, 50px); font-weight: 300; line-height: 1.18;
  letter-spacing: .01em; color: #EBEEEC; margin: 0; max-width: 900px;
}

.art-hero-img { max-width: 1160px; margin: -48px auto 0; padding: 0 40px; }
.art-hero-img img {
  width: 100%; height: auto; display: block; border-radius: 3px;
  box-shadow: 0 30px 70px -44px rgba(32,32,32,.55);
}

.art-body { padding: 84px 0 96px; }
.art-body p, .art-body li {
  font-size: 17px; line-height: 1.9; color: #4b4e4c; font-weight: 300;
}
.art-body p { margin: 0 0 24px; }
.art-body h2 {
  font-size: 28px; font-weight: 400; line-height: 1.3; color: #202020;
  margin: 48px 0 18px; letter-spacing: .01em;
}
.art-body h3 {
  font-size: 21px; font-weight: 400; line-height: 1.35; color: #202020;
  margin: 38px 0 14px;
}
.art-body ul, .art-body ol { margin: 0 0 24px; padding-left: 22px; }
.art-body li { margin-bottom: 10px; }
.art-body a { color: #202020; text-decoration: underline; text-underline-offset: 3px; }
.art-body a:hover { color: #D24A4A; }
.art-body img { max-width: 100%; height: auto; border-radius: 3px; }
.art-body blockquote {
  margin: 34px 0; padding: 4px 0 4px 26px; border-left: 2px solid #D24A4A;
  font-size: 20px; line-height: 1.65; color: #202020;
}

.art-next {
  border-top: 1px solid #d8dcd9; padding: 40px 0 96px;
}
.art-next .art-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.art-next .arrow-link .ar { margin-right: 0; }
.art-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: #202020; color: #EBEEEC; text-decoration: none;
  font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  padding: 16px 30px; border-radius: 2px;
  transition: background .25s;
}
.art-cta:hover { background: #000; color: #EBEEEC; }
/* Το κουμπί «Διαβάστε ολόκληρο το άρθρο» ζει μέσα στο κείμενο του άρθρου,
   όπου ο κανόνας .art-body a (σκούρο, υπογραμμισμένο) είναι ισχυρότερος από
   το .art-cta: έβγαζε σκούρα γράμματα πάνω σε σκούρο φόντο, που φαίνονταν
   μόνο στο hover (κόκκινα). Εδώ ξανακερδίζει το στυλ του κουμπιού. */
.art-body a.art-cta, .art-body a.art-cta:hover { color: #EBEEEC; text-decoration: none; }
.art-body a.art-cta:hover { background: #000; }

@media (max-width: 782px) {
  .art-head { padding: 150px 0 64px; }
  .art-wrap { padding: 0 26px; }
  .art-hero-img { padding: 0 26px; }
}

/* ═══════════════════════════════════════════════════════════════
   8. FOOTER (μόνο στο single.php — οι σελίδες Elementor έχουν δικό τους)
   ═══════════════════════════════════════════════════════════════ */
#thesmos-footer { background: #202020; color: #EBEEEC; padding: 76px 0; }
#thesmos-footer .tf-wrap { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
#thesmos-footer .tf-cols {
  display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 28px; margin-bottom: 44px;
}
#thesmos-footer .tf-name {
  font-size: 16px; font-weight: 400; letter-spacing: .2em; color: #EBEEEC; margin: 0 0 14px;
}
#thesmos-footer .tf-tag {
  font-size: 14px; font-weight: 300; line-height: 25px; color: rgba(235,238,236,.62); margin: 0; max-width: 380px;
}
#thesmos-footer .tf-h {
  font-size: 11.5px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(235,238,236,.55); margin: 0 0 16px;
}
#thesmos-footer .tf-col a {
  display: block; font-size: 14px; font-weight: 300; line-height: 22px;
  color: #EBEEEC; text-decoration: none; margin-bottom: 10px;
}
#thesmos-footer .tf-col a:hover { color: #D24A4A; }
#thesmos-footer .tf-line { font-size: 14px; font-weight: 300; line-height: 24px; color: #EBEEEC; margin: 0 0 14px; }
#thesmos-footer .tf-dim { font-size: 13.5px; color: rgba(235,238,236,.62); }
#thesmos-footer .tf-bar {
  border-top: 1px solid rgba(235,238,236,.12); padding-top: 26px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap;
}
#thesmos-footer .tf-bar p {
  font-size: 12.5px; font-weight: 300; line-height: 20px; color: rgba(235,238,236,.5); margin: 0;
}
@media (max-width: 900px) {
  #thesmos-footer .tf-cols { grid-template-columns: 1fr; gap: 34px; }
  #thesmos-footer .tf-wrap { padding: 0 26px; }
}

/* ═══════════════════════════════════════════════════════════════
   9. ΧΑΡΤΗΣ ΜΕ ΣΥΓΚΑΤΑΘΕΣΗ

   Το ΠΕΡΙΕΧΟΜΕΝΟ είναι κανονικά widgets του Elementor — η πελάτισσα το
   αλλάζει από το UI όπως κάθε άλλο. Εδώ μένει μόνο ό,τι δεν εκφράζεται:
   η θέση του iframe, το φίλτρο, και η κάρτα διεύθυνσης μετά το κλικ.
   ═══════════════════════════════════════════════════════════════ */
/* Το ίδιο orbit και στην Αρχική, στη θέση των τριών καρτών: εκεί δεν γεμίζει
   την οθόνη και οι κάρτες είναι σύνδεσμοι προς τη σελίδα των τομέων. */
#home-orbit { position: relative; overflow: hidden; box-sizing: border-box; }
#home-orbit .th-orbit-scene { --orbit-h: clamp(250px, 32vw, 380px); }
#home-orbit .th-orbit-bar { padding: 0; margin-top: 4px; }
a.th-orbit-card { text-decoration: none; }
/* η περιγραφή του τομέα που είναι μπροστά, σε όλο το πλάτος της μπάρας */
.th-orbit-desc {
  grid-column: 1 / -1; max-width: 780px; min-height: 3.5em; margin: 6px 0 0;
  font-size: 15px; line-height: 1.75; color: #4B4E4C;
}

#map-band { position: relative; overflow: hidden; }

#map-band iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; display: block;
  filter: grayscale(.35) contrast(.95);
}

/* Η πινέζα, με το πέσιμο του demo */
.thesmos-map-pin {
  display: block; width: 44px; margin: 0 auto 20px;
  filter: drop-shadow(0 8px 14px rgba(32,32,32,.22));
  animation: thesmosPinDrop .7s cubic-bezier(.22,1,.36,1) both;
}
.thesmos-map-pin svg { width: 100%; height: auto; display: block; }
@keyframes thesmosPinDrop {
  0%   { opacity: 0; transform: translateY(-16px) scale(.9); }
  100% { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .thesmos-map-pin { animation: none; } }

/* Το περιεχόμενο της πύλης στοιχίζεται στο κέντρο */
#map-gate { text-align: center; }
#map-gate .elementor-widget { text-align: center; }
#map-gate .th-eyebrow .elementor-heading-title { justify-content: center; }
.thesmos-map-directions a { color: inherit; text-decoration: none; }
.thesmos-map-directions a:hover { color: #D24A4A; }

@media (max-width: 782px) { #map-band { min-height: 400px !important; } }

/* ═══════════════════════════════════════════════════════════════
   10. ΚΥΛΙΣΗ — Lenis + παράλλαξη
   Το CSS του Lenis είναι απαραίτητο: αλλιώς το `scroll-behavior:smooth`
   που βάζει η ίδια η Elementor παλεύει με την αδράνεια του Lenis.
   ═══════════════════════════════════════════════════════════════ */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

/* Παράλλαξη: το πλαίσιο κρύβει την υπερχείλιση της μεγεθυμένης εικόνας.
   Όλα κάτω από `html.thesmos-parallax`, κλάση που βάζει το ίδιο το script —
   αν δεν φορτώσει, οι εικόνες μένουν ακριβώς όπως τις έστησε ο Elementor. */
html.thesmos-parallax .th-px { overflow: hidden; }
html.thesmos-parallax .th-px img { will-change: transform; }

/* ═══════════════════════════════════════════════════════════════
   11. SCROLL CUE — το «Scroll» στο κάτω μέρος του hero (demo: .scrollcue)
   ═══════════════════════════════════════════════════════════════ */
#thesmos-scrollcue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(235,238,236,.7);
  font-family: 'HelveticaNeueW', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
  font-weight: 400; z-index: 4; pointer-events: none;
}
#thesmos-scrollcue .bar {
  width: 1px; height: 46px; position: relative;
  background: linear-gradient(rgba(235,238,236,.6), transparent);
}
#thesmos-scrollcue .bar::after {
  content: ""; position: absolute; top: 0; left: 0; width: 1px; height: 16px;
  background: #D24A4A;
  animation: thesmosCue 2.2s cubic-bezier(.16,1,.3,1) infinite;
}
@keyframes thesmosCue {
  0%   { transform: translateY(0);    opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(30px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #thesmos-scrollcue .bar::after { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════
   12. HERO — η σκίαση του demo

   Το demo βάζει ΤΡΙΑ στρώματα πάνω στη φωτογραφία:
     • κύρια διαγώνια 100deg με ΤΕΣΣΕΡΙΣ στάσεις (.82 → .62 → .16 → .04)
     • φιμέ 210px στην κορυφή, ώστε να «πατάει» ο header
     • φιμέ 150px στη βάση
   Το overlay του Elementor δέχεται μόνο ΔΥΟ στάσεις και κανένα edge fade,
   γι' αυτό το αποτέλεσμα έβγαινε αισθητά πιο ανοιχτό.

   Δεν φτιάχνουμε νέο στοιχείο: ξαναγράφουμε ΜΟΝΟ την εικόνα του
   ::before που ήδη παράγει ο Elementor για το overlay. Έτσι κρατάμε
   ακριβώς τη θέση και τη σειρά επικάλυψης που ήδη δουλεύουν — μηδέν
   κίνδυνος να σκεπαστεί το κείμενο.
   ΠΡΟΫΠΟΘΕΣΗ: το template πρέπει να έχει overlay ορισμένο, αλλιώς ο
   Elementor δεν δημιουργεί καθόλου το ::before.
   ═══════════════════════════════════════════════════════════════ */
#hero::before {
  background-image:
    linear-gradient(rgba(22,23,22,.62), rgba(22,23,22,0)),
    linear-gradient(rgba(22,23,22,0), rgba(22,23,22,.40)),
    linear-gradient(100deg,
      rgba(22,23,22,.82) 0%,
      rgba(22,23,22,.62) 42%,
      rgba(22,23,22,.16) 74%,
      rgba(22,23,22,.04) 100%) !important;
  background-size: 100% 210px, 100% 150px, 100% 100% !important;
  background-position: top center, bottom center, center center !important;
  background-repeat: no-repeat !important;
}
@media (max-width: 782px) {
  /* Στο κινητό η φωτογραφία κόβεται πιο στενά — θέλει πιο ομοιόμορφο σκούρο */
  #hero::before {
    background-image:
      linear-gradient(180deg,
        rgba(22,23,22,.88) 0%,
        rgba(22,23,22,.62) 60%,
        rgba(22,23,22,.40) 100%) !important;
    background-size: 100% 100% !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   13. EYEBROW — η κόκκινη γραμμή 34×1px του demo (.eyebrow::before)
   Είναι πραγματική γραμμή, όχι χαρακτήρας παύλας.
   ═══════════════════════════════════════════════════════════════ */
.th-eyebrow .elementor-heading-title {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.th-eyebrow .elementor-heading-title::before {
  content: "";
  width: 34px; height: 1px;
  background: #D24A4A;
  flex: 0 0 auto;
}
/* Στο footer οι σύνδεσμοι είναι κι αυτοί p.elementor-heading-title —
   δεν πρέπει να πάρουν γραμμή. */
#footer .elementor-heading-title::before { content: none; }

/* ═══════════════════════════════════════════════════════════════
   14. ΔΙΧΡΩΜΟΣ ΤΙΤΛΟΣ HERO

   Στο demo το δεύτερο μέρος είναι στο 55%:
     Λύνουμε <span style="color:rgba(235,238,236,.55)">πριν φτάσουμε…</span>

   Το `wp_kses_post` του WordPress ΚΟΒΕΙ τις τιμές rgba() από inline style
   (δέχεται μόνο hex και rgb). Το <span> επιβίωνε άχρωμο και ο τίτλος
   έβγαινε ολόλευκος. Το χρώμα ζει εδώ — μία γραμμή, δεμένη στο #hero.
   ═══════════════════════════════════════════════════════════════ */
#hero h1.elementor-heading-title span { color: rgba(235,238,236,.55); }

/* ═══════════════════════════════════════════════════════════════
   15. iOS — το 100vh δεν είναι η ορατή οθόνη

   Στο Safari του iPhone το 100vh μετρά ΜΕ τη μπάρα διευθύνσεων, οπότε
   το hero βγαίνει ψηλότερο από όσο βλέπει ο χρήστης και το κείμενο
   κόβεται. Το svh (small viewport height) μετρά τη ΜΙΚΡΗ κατάσταση,
   δηλαδή αυτό που όντως φαίνεται.

   Ο Elementor δέχεται μία μονάδα ανά control, οπότε το svh μπαίνει εδώ.
   Browsers χωρίς svh αγνοούν τη γραμμή και κρατούν το 100vh. */
@supports (height: 100svh) {
  @media (max-width: 782px) {
    #hero { min-height: 100svh !important; }
  }
}

/* ═══════════════════════════════════════════════════════════════
   16. Η ΟΜΑΔΑ — κάρτες και σελίδες βιογραφικού
   Το περιεχόμενο είναι widgets του Elementor. Εδώ μόνο ό,τι δεν
   εκφράζεται εκεί: hover της κάρτας, κενά παραγράφων, «κολλητή» φωτογραφία.
   ═══════════════════════════════════════════════════════════════ */
.th-bio p { margin: 0 0 1em; }
.th-bio p:last-child { margin-bottom: 0; }

.th-tcard { transition: transform .45s cubic-bezier(.76,0,.24,1), box-shadow .45s cubic-bezier(.76,0,.24,1); }
.th-tcard:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -34px rgba(32,32,32,.3); }
.th-tcard .elementor-heading-title a { color: inherit; }
.th-tcard .elementor-heading-title a:hover { color: #D24A4A; }
@media (hover: none) { .th-tcard:hover { transform: none; box-shadow: none; } }

/* Σελίδα βιογραφικού: φωτογραφία + επικοινωνία μένουν στην οθόνη όσο
   διαβάζεται. Το overflow-x:hidden σε html/body ακυρώνει το sticky· το clip
   κόβει το ίδιο χωρίς να το ακυρώνει. Χωρίς clip: απλώς δεν «κολλάει». */
@supports (overflow: clip) {
  @media (min-width: 1025px) {
    html, body { overflow-x: clip !important; }
    .th-cv-aside { position: sticky !important; top: 110px; }
  }
}

/* ═══════════════════════════════════════════════════════════════
   16β. ΤΟΜΕΙΣ ΔΙΚΑΙΟΥ — κουκκίδες, orbit, επεξήγηση (thesmos-areas.js)
   Χωρίς JavaScript: οι κουκκίδες είναι απλή λίστα και φαίνονται και οι 10
   ενότητες. Με JavaScript: orbit, και φαίνεται μόνο ο επιλεγμένος τομέας.
   ═══════════════════════════════════════════════════════════════ */
.th-areas-bullets ul {
  list-style: none !important; margin: 0 !important; padding: 0 !important;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(5, auto);
  grid-auto-flow: column; column-gap: 40px;
}
.th-areas-bullets li { position: relative; margin: 0 !important; padding: 9px 0 9px 20px; border-top: 1px solid rgba(235,238,236,.12); }
.th-areas-bullets li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: #D24A4A; }
.th-areas-bullets li:nth-child(5), .th-areas-bullets li:nth-child(10) { border-bottom: 1px solid rgba(235,238,236,.12); }
/* Με JavaScript η λίστα γίνεται drop down: η κεφαλίδα μένει καθαρή και ο
   επισκέπτης διαλέγει τομέα από ένα πεδίο, αντί να διαβάζει δέκα γραμμές. */
.th-pick { position: relative; max-width: 440px; }
.th-pick-btn, .th-pick-btn:hover, .th-pick-btn:focus {
  display: flex !important; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%; padding: 17px 20px !important; margin: 0;
  background: none !important; border: 1px solid rgba(235,238,236,.28) !important; border-radius: 2px !important;
  box-shadow: none !important; color: #EBEEEC !important; cursor: pointer;
  font-family: 'HelveticaNeueW', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 12.5px !important; font-weight: 400 !important; letter-spacing: .16em; text-transform: uppercase;
  line-height: 1.2 !important; transition: border-color .3s;
}
.th-pick-btn:hover, .th-pick.is-open .th-pick-btn { border-color: rgba(210,74,74,.8) !important; }
.th-pick-caret { color: #D24A4A; font-size: 13px; transition: transform .3s; }
.th-pick.is-open .th-pick-caret { transform: rotate(180deg); }
/* Ζει στο <body> (βλ. thesmos-areas.js): η κεφαλίδα έχει overflow:hidden και
   θα την έκοβε. Θέση και πλάτος τα δίνει το JavaScript από το πεδίο. */
.th-pick-list {
  position: absolute; z-index: 120;
  overscroll-behavior: contain;          /* στο τέλος της λίστας δεν συνεχίζει να κυλά η σελίδα */
  max-height: min(58vh, 430px); overflow-y: auto;
  background: #202020; border: 1px solid rgba(235,238,236,.18); border-radius: 2px;
  box-shadow: 0 34px 70px -34px rgba(0,0,0,.85);
}
.th-pick-list[hidden] { display: none; }
.th-aov, .th-aov:hover, .th-aov:focus {
  display: flex !important; align-items: baseline; gap: 14px; width: 100%; text-align: left;
  background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  padding: 11px 20px !important; margin: 0; color: rgba(235,238,236,.82) !important;
  font-family: inherit !important; font-size: 14.5px !important; font-weight: 400 !important;
  letter-spacing: .01em; line-height: 1.5; cursor: pointer; transition: background .25s, color .25s;
}
.th-aov + .th-aov { border-top: 1px solid rgba(235,238,236,.08) !important; }
.th-aov-n { flex: 0 0 auto; min-width: 22px; color: #D24A4A; font-size: 11px; letter-spacing: .18em; }
.th-aov:hover, .th-aov[aria-current="true"] { background: rgba(235,238,236,.06) !important; color: #fff !important; }
.th-aov:focus-visible { outline: 2px solid #D24A4A; outline-offset: -2px; }
@media (max-width: 782px) {
  .th-pick { max-width: none; }
  .th-pick-list { max-height: min(46vh, 330px); }
}
@media (max-width: 640px) {
  .th-areas-bullets ul { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
  .th-areas-bullets li:nth-child(5) { border-bottom: 0; }
}

/* orbit */
#areas-orbit { position: relative; overflow: hidden; box-sizing: border-box; } /* το min-height του fit() περιλαμβάνει τα padding */
#areas-orbit::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 42%, rgba(243,245,243,.5) 0, transparent 64%); pointer-events: none; }
.th-orbit-mount { position: relative; width: 100%; }
.th-orbit-scene {
  --orbit-h: clamp(250px, calc(100vh - 542px), 440px);
  position: relative; height: var(--orbit-h); perspective: 1300px; perspective-origin: 50% 45%;
  touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; outline-offset: -8px;
}
.th-orbit-scene:active { cursor: grabbing; }
.th-orbit-ring { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.th-orbit-card {
  position: absolute; left: 50%; top: 47%;
  width: min(310px, 72vw, calc(var(--orbit-h) * .92)); aspect-ratio: 1.2;
  display: flex; flex-direction: column; justify-content: space-between; text-align: left;
  padding: 30px 30px 26px; border: 1px solid rgba(32,32,32,.08); border-radius: 3px;
  background: linear-gradient(160deg, #F7F8F7, #EBEEEC); color: #202020;
  cursor: pointer; pointer-events: auto; will-change: transform;
  -webkit-backface-visibility: hidden; backface-visibility: hidden; touch-action: pan-y;
  box-shadow: 0 30px 60px -26px rgba(32,32,32,.38); overflow: hidden; transition: border-color .3s;
}
.th-orbit-card::before { content: ""; position: absolute; right: -16%; bottom: -24%; width: 60%; aspect-ratio: 1; background: url('../img/symbol-theta.webp') center / contain no-repeat; opacity: .06; pointer-events: none; }
.th-orbit-card::after { content: ""; position: absolute; inset: 0; background: #46504a; opacity: var(--shade, 0); pointer-events: none; }
.th-orbit-card.active { border-color: rgba(210,74,74,.75); }
.th-orbit-card:focus-visible { outline: 2px solid #D24A4A; outline-offset: 4px; }
.th-orbit-card .oc-num, .th-orbit-now .oc-num { font-size: 12px; letter-spacing: .22em; color: #D24A4A; font-weight: 400; }
.th-orbit-card .oc-title { font-size: 23px; line-height: 1.25; font-weight: 300; letter-spacing: .01em; }
.th-orbit-card .oc-meta { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #8D908E; }
.th-orbit-axis { position: absolute; left: 50%; bottom: 4px; width: min(84vw, 1180px); height: 70px; border: 1px solid rgba(210,74,74,.32); border-radius: 50%; transform: translateX(-50%); pointer-events: none; }
.th-orbit-bar { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; max-width: 1160px; margin: 8px auto 0; padding: 0 40px; color: #202020; }
.th-orbit-now { display: flex; align-items: baseline; gap: 16px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 300; letter-spacing: .01em; min-height: 36px; }
.th-orbit-nav { display: flex; align-items: center; gap: 20px; }
.th-orbit-btn, .th-orbit-btn:focus {
  width: 46px; height: 46px; padding: 0 !important; border: 1px solid rgba(32,32,32,.35) !important; border-radius: 2px !important;
  background: none !important; color: #202020 !important; font-size: 18px !important; line-height: 1 !important;
  box-shadow: none !important; cursor: pointer; transition: background .25s, color .25s;
}
.th-orbit-btn:hover { background: #202020 !important; color: #EBEEEC !important; border-color: #202020 !important; }
.th-orbit-count { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.th-orbit-count .line { width: 30px; height: 1px; background: #D24A4A; }
.th-orbit-count .total { color: #6c756e; }
.th-orbit-hint { justify-self: end; text-align: right; margin: 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #4d564f; }
@media (min-width: 701px) and (max-height: 820px) {
  .th-orbit-card { padding: 20px 22px; }
  .th-orbit-card .oc-title { font-size: 18px; }
  .th-orbit-card .oc-meta { display: none; }
}
@media (max-width: 700px) {
  .th-orbit-scene { height: 380px; }
  .th-orbit-card { width: min(300px, 76vw); aspect-ratio: 1.05; padding: 24px; }
  .th-orbit-card .oc-title { font-size: 21px; }
  .th-orbit-bar { grid-template-columns: 1fr; gap: 16px; padding: 0 20px; }
  .th-orbit-now { font-size: 20px; gap: 12px; }
  .th-orbit-nav { justify-self: start; }
  .th-orbit-hint { justify-self: start; text-align: left; }
}

/* ο επιλεγμένος τομέας */
.th-area[hidden] { display: none !important; }
.th-area.th-in { animation: thAreaIn .6s cubic-bezier(.16,1,.3,1) both; }
@keyframes thAreaIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.th-orbit-on .th-area { box-shadow: inset 0 1px 0 rgba(32,32,32,.08); }
@media (prefers-reduced-motion: reduce) { .th-area.th-in { animation: none; } }

/* ═══════════════════════════════════════════════════════════════
   17. ΑΠΟΣΠΑΣΜΑ ΜΕ ΤΗ ΓΩΝΙΑ ΤΟΥ ΛΟΓΟΤΥΠΟΥ (Τομείς → Διαμεσολάβηση)
   Το πλαίσιο του λογοτύπου: σκούρες ακμές πάνω/αριστερά, κόκκινη
   γωνία κάτω δεξιά.
   ═══════════════════════════════════════════════════════════════ */
.th-corner-quote {
  position: relative;
  padding: 26px 30px 28px;
  border-top: 1px solid rgba(32,32,32,.28);
  border-left: 1px solid rgba(32,32,32,.28);
  margin-top: 14px;
}
.th-corner-quote::after {
  content: "";
  position: absolute; right: 0; bottom: 0;
  width: 26px; height: 26px;
  border-right: 3px solid #D24A4A;
  border-bottom: 3px solid #D24A4A;
}
.th-corner-quote p { margin: 0; }

/* ═══════════════════════════════════════════════════════════════
   18. ΑΡΘΡΑ ΑΠΟ ΑΛΛΑ ΜΕΣΑ + FOOTER του single.php
   ═══════════════════════════════════════════════════════════════ */
.art-source { margin: 40px 0 0; }
#thesmos-footer .tf-logo { height: 44px; width: auto; display: block; }
#thesmos-footer .tf-social { display: flex; gap: 12px; margin-top: 18px; }
#thesmos-footer .tf-social a {
  width: 34px; height: 34px; border: 1px solid #3a3a3a; border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: #EBEEEC; text-decoration: none;
}
#thesmos-footer .tf-social a:hover { border-color: #D24A4A; }
