/*
Theme Name: realestate24
Theme URI: https://realestate24.gr
Description: Ελαφρύ, γρήγορο θέμα για το plugin αγγελιών ακινήτων re24. Χωρίς jQuery, χωρίς εξωτερικές γραμματοσειρές.
Version: 0.3.0
Requires PHP: 7.4
Text Domain: re24-theme
*/
@font-face{font-family:"Manrope";font-style:normal;font-weight:200 800;font-display:swap;src:url(assets/fonts/manrope-greek-wght-normal.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}
@font-face{font-family:"Manrope";font-style:normal;font-weight:200 800;font-display:swap;src:url(assets/fonts/manrope-latin-ext-wght-normal.woff2) format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Manrope";font-style:normal;font-weight:200 800;font-display:swap;src:url(assets/fonts/manrope-latin-wght-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--t-ink:#0f1b2d;--t-mute:#6b7383;--t-line:#e4e6eb;--t-bg:#f6f5f2;--t-accent:#d9431f;--t-font:"Manrope",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;background:var(--t-bg);color:var(--t-ink);font:16px/1.6 var(--t-font);-webkit-font-smoothing:antialiased;overflow-x:clip}
img{max-width:100%;height:auto}
a{color:inherit}
.t-wrap{max-width:1240px;margin:0 auto;padding:0 16px}
.t-skip{position:absolute;left:-9999px;top:8px;z-index:999;background:#fff;padding:10px 14px;border-radius:8px}
.t-skip:focus{left:8px}
/* Header */
:root{--t-logo-h:36px;--t-logo-hm:32px;--t-logo-hs:30px;--t-logo-hf:36px;--t-head-h:64px;--t-head-hm:60px;--t-head-hs:54px;--t-logo-sc:.84;--t-logo-scm:.94;--re-sticky-top:var(--t-head-h)}
@media(max-width:999px){:root{--re-sticky-top:var(--t-head-hm)}}
.t-head{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid var(--t-line);transition:box-shadow .2s}
.t-head .t-wrap{display:flex;align-items:center;gap:20px;height:var(--t-head-h)}
.t-head.is-stuck{box-shadow:0 4px 18px rgba(15,27,45,.08)}

@media(max-width:999px){.t-head .t-wrap{height:var(--t-head-hm);gap:12px}}
.t-logo{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-weight:800;font-size:1.15rem;letter-spacing:-.03em;flex:none}
.t-logo b{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:9px;background:var(--t-accent);color:#fff;font-size:.95rem;letter-spacing:-.04em}
.t-logo-img{display:block;width:auto;max-width:none;height:var(--t-logo-h);transform-origin:left center;transition:transform .2s}
.t-head .t-logo{flex:none}
.t-nav{min-width:0;overflow:hidden}
.t-nav a,.t-acc span,.t-cta{white-space:nowrap}
@media(max-width:1239px){.t-nav a{padding:8px 8px;font-size:.88rem}.t-head .t-wrap{gap:12px}}
.t-head.is-stuck .t-logo-img{transform:scale(var(--t-logo-sc))}
@media(max-width:999px){.t-head .t-logo-img{height:var(--t-logo-hm);max-width:52vw;object-fit:contain;object-position:left center}.t-head.is-stuck .t-logo-img{transform:scale(var(--t-logo-scm))}}
.t-foot .t-logo-img{height:var(--t-logo-hf)}
.t-logo span span{color:var(--t-mute);font-weight:600}
.t-nav{display:none;gap:4px;flex:1}
.t-nav a{padding:8px 12px;border-radius:999px;text-decoration:none;font-weight:700;font-size:.93rem;color:#3b4658}
.t-nav a:hover,.t-nav a[aria-current]{background:var(--t-bg);color:var(--t-ink)}
.t-nav a.t-st{color:#5b3cc4}
.t-nav a.t-pr{color:#0b6b52}
.t-right{display:flex;align-items:center;gap:8px;margin-left:auto}
.t-acc{display:inline-flex;align-items:center;gap:6px;padding:8px 10px;border-radius:999px;text-decoration:none;font-weight:700;font-size:.92rem}
.t-acc:hover{background:var(--t-bg)}
.t-acc span{display:none}
.t-cta{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:8px 16px;border-radius:999px;background:var(--t-accent);color:#fff;text-decoration:none;font-weight:800;font-size:.92rem;white-space:nowrap}
.t-cta:hover{background:#b8361a}
.t-menu{position:relative}
.t-menu>summary{list-style:none;width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer}
.t-menu>summary::-webkit-details-marker{display:none}
.t-menu>summary:hover{background:var(--t-bg)}
.t-menu nav{position:fixed;left:0;right:0;top:var(--t-head-hm);max-height:calc(100dvh - var(--t-head-hm));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#fff;border-top:1px solid var(--t-line);box-shadow:0 16px 40px rgba(15,27,45,.18);padding:8px 12px 24px;display:flex;flex-direction:column}
.t-menu nav a{padding:12px 14px;border-radius:10px;text-decoration:none;font-weight:700}
.t-menu nav a:hover{background:var(--t-bg)}
.t-menu nav hr{border:0;border-top:1px solid var(--t-line);margin:6px 0;width:100%}
@media(min-width:1000px){.t-nav{display:flex}.t-menu{display:none}.t-acc span{display:inline}}
@media(max-width:420px){.t-cta .t-cta-l{display:none}}
@media(max-width:340px){.t-logo span span{display:none}}
/* Content pages */
.t-page{padding:32px 0 56px}
.t-article{max-width:760px;margin:0 auto;background:#fff;border:1px solid var(--t-line);border-radius:16px;padding:clamp(20px,4vw,44px)}
.t-article h1{font-size:clamp(1.6rem,1.2rem + 1.8vw,2.4rem);line-height:1.15;letter-spacing:-.02em;margin:0 0 16px}
.t-article h2{margin-top:1.6em}
.t-article a{color:var(--t-accent)}
.t-404{text-align:center;padding:72px 16px}
.t-404 b{display:block;font-size:5rem;line-height:1;color:var(--t-accent);letter-spacing:-.05em}
/* Footer */
.t-foot{background:var(--t-ink);color:#b9c0cc;padding:48px 0 24px;margin-top:0;font-size:.92rem}
.t-foot a{color:#dfe3ea;text-decoration:none}
.t-foot a:hover{color:#fff;text-decoration:underline}
.t-foot-grid{display:grid;gap:28px;grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}
.t-foot h3{color:#fff;font-size:.8rem;text-transform:uppercase;letter-spacing:.08em;margin:0 0 12px}
.t-foot ul{list-style:none;padding:0;margin:0;display:grid;gap:7px}
.t-foot .t-logo{color:#fff;margin-bottom:12px}
.t-foot-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:36px;padding-top:18px;display:flex;flex-wrap:wrap;gap:8px 20px;justify-content:space-between;font-size:.85rem}
.wp-block-image img{border-radius:12px}

.t-menu nav a{font-size:1.05rem;padding:14px 12px}
.t-menu-bg{position:fixed;inset:0;top:var(--t-head-hm);background:rgba(15,27,45,.35);z-index:-1}
html.t-menu-open{overflow:hidden}

/* Language switch */
.t-lang{display:inline-flex;align-items:center;gap:5px;padding:8px 10px;border-radius:999px;text-decoration:none;font-weight:800;font-size:.82rem;letter-spacing:.02em;color:inherit}
.t-lang:hover{background:var(--t-bg)}
@media(max-width:420px){.t-lang{display:none}}
.t-langbar{position:relative;max-width:640px;margin:10px auto 0;width:calc(100% - 24px);box-sizing:border-box;display:flex;align-items:center;gap:10px;padding:10px 12px 10px 16px;background:#0f1b2d;color:#fff;border-radius:14px;box-shadow:0 10px 30px rgba(15,27,45,.25);font-size:.92rem}
.t-langbar a{color:#fff;font-weight:800;margin-left:auto;white-space:nowrap}
.t-langbar button{background:none;border:0;color:#fff;opacity:.7;font-size:18px;cursor:pointer;padding:4px 6px}
@media(min-width:1000px) and (max-width:1439px){.t-acc span{display:none}.t-acc{padding:8px}.t-right{gap:4px}}
/* Desktop nav: links that don't fit are hidden whole and the menu button appears. */
.t-nav a.t-off{display:none}
@media(min-width:1000px){.t-head.has-more .t-menu{display:block}}
