/* ==========================================================================
   Mpelleiko — static rebuild of the "Newspaper" WordPress theme look
   ========================================================================== */

/* ---------- fonts (self-hosted Fira Sans, Greek + Latin) ---------- */
@font-face { font-family: "Fira Sans"; font-weight: 400; font-display: swap; src: url(/assets/fonts/fira-sans-greek-400-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: "Fira Sans"; font-weight: 500; font-display: swap; src: url(/assets/fonts/fira-sans-greek-500-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: "Fira Sans"; font-weight: 600; font-display: swap; src: url(/assets/fonts/fira-sans-greek-600-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: "Fira Sans"; font-weight: 400; font-display: swap; src: url(/assets/fonts/fira-sans-latin-400-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; }
@font-face { font-family: "Fira Sans"; font-weight: 500; font-display: swap; src: url(/assets/fonts/fira-sans-latin-500-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; }
@font-face { font-family: "Fira Sans"; font-weight: 600; font-display: swap; src: url(/assets/fonts/fira-sans-latin-600-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; }
@font-face { font-family: "Fira Sans"; font-weight: 400; font-display: swap; src: url(/assets/fonts/fira-sans-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --olive: #666633;
  --olive-dark: #4f4f27;
  --beige: #dcd6c8;
  --cream: #fffcf4;
  --amber: #dd9933;
  --caption: #ffaa00;
  --brown: #9e6637;
  --text: #444;
  --muted: #777;
  --line: #e6e1d4;
  --footer: #4b4a48;
  --sub: #e8e8e8;
  --radius: 2px;
  --wrap: 1164px;
  --gutter: clamp(16px, 4vw, 48px);
  --font: "Fira Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  font: 400 15px/1.75 var(--font);
  color: var(--text);
  background-color: #2f3a22;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
}
img { max-width: 100%; height: auto; }
a { color: var(--olive); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--amber); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--olive); color: #fff; padding: 8px 14px; }
.skip:focus { left: 8px; top: 8px; }
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; }

.wrap { max-width: var(--wrap); margin: 0 auto; background: var(--cream); min-height: 100vh; display: flex; flex-direction: column; box-shadow: 0 0 40px rgba(0,0,0,.25); }

/* ---------- top bar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 48px; min-height: 28px; font-size: 13px; color: #222; background: var(--cream); position: relative; z-index: 30; }
.topbar__left { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.topbar a { color: #222; text-decoration: none; }
.topbar a:hover { color: var(--amber); }
.weather { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.weather .ico { font-size: 18px; margin-right: 4px; }
.weather sup { font-size: 9px; margin-right: 6px; }
.today:empty { display: none; }
.topbar__fb { font-size: 13px; }

.langs { position: relative; }
.langs summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary::after { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg) translateY(-2px); margin-left: 6px; }
.langs ul { position: absolute; top: 100%; left: 0; margin: 4px 0 0; padding: 6px 0; list-style: none; background: var(--cream); box-shadow: 0 4px 16px rgba(0,0,0,.15); min-width: 140px; z-index: 50; }
.langs li a { display: flex; gap: 8px; align-items: center; padding: 4px 14px; }
.langs a[aria-current] { font-weight: 600; }

/* ---------- masthead ---------- */
.masthead { background: var(--olive); display: flex; align-items: center; justify-content: center; padding: 21px 48px; position: relative; }
.logo { display: block; line-height: 0; }
.logo img { width: 272px; height: auto; }
.burger, .search-btn--mobile { display: none; }

/* ---------- main nav ---------- */
.mainnav { background: var(--beige); display: flex; align-items: center; justify-content: center; position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 8px rgba(0,0,0,.09); padding: 0 48px; min-height: 48px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu > li > a, .menu > li > .menu__label {
  display: block; padding: 0 14px; line-height: 48px; color: var(--olive); text-decoration: none;
  font-weight: 500; font-size: 17px; text-transform: uppercase; letter-spacing: .01em; cursor: pointer;
}
.menu > li::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--amber); transform: scaleX(0); transition: transform .2s; }
.menu > li:hover::after, .menu > li.is-active::after { transform: scaleX(1); }
.menu > li.is-active > a { color: var(--olive); }
.sub-toggle { background: none; border: 0; color: var(--olive); padding: 0 6px 0 0; margin-left: -10px; cursor: pointer; display: flex; align-items: center; }
.sub-toggle svg { width: 10px; height: 6px; }
.sub { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--sub); box-shadow: 0 6px 18px rgba(0,0,0,.15); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; z-index: 40; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 7px 22px; color: #111; text-decoration: none; font-size: 14px; line-height: 1.4; }
.sub a:hover, .sub .is-active a { color: var(--amber); background: #cecece; }
.search-btn { background: none; border: 0; color: var(--olive); font-size: 22px; cursor: pointer; position: absolute; right: 48px; top: 50%; transform: translateY(-50%); padding: 6px; }

/* ---------- main ---------- */
.main { flex: 1; padding: 48px var(--gutter); }
.page-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 48px; }
.content { min-width: 0; }
.page-title { color: var(--olive); font-size: 30px; line-height: 1.3; font-weight: 500; margin: 0 16px 24px; }
.entry { padding: 0 16px; }
.entry h1 { color: var(--olive); font-size: 28px; font-weight: 500; line-height: 1.3; margin: 1.6em 0 .6em; }
.entry h2, .entry h3, .entry h4, .entry h5, .entry h6 { color: var(--brown); font-weight: 400; line-height: 1.3; margin: 1.5em 0 .6em; }
.entry h2 { font-size: 27px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.entry h3 { font-size: 22px; }
.entry h4 { font-size: 19px; }
.entry p, .entry ul, .entry ol, .entry table, .entry figure { margin: 0 0 1.4em; }
.entry > :first-child { margin-top: 0; }
.entry blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--amber); font-style: italic; color: #555; }
.entry table { border-collapse: collapse; width: 100%; max-width: 100%; display: block; overflow-x: auto; }
.entry td, .entry th { padding: 6px 10px; border: 1px solid var(--line); vertical-align: top; }
.entry iframe { max-width: 100%; border: 0; }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

/* WordPress alignment / captions */
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 6px 24px 12px 0; }
.alignright { float: right; margin: 6px 0 12px 24px; }
.entry::after { content: ""; display: table; clear: both; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); text-align: center; margin-top: 6px; }

/* Multi-column rows (normalised from WPBakery by the importer) */
.cols { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 40px; margin: 0 0 1.4em; }
.col { grid-column: span 12; min-width: 0; }
.col-3 { grid-column: span 3; } .col-4 { grid-column: span 4; } .col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; } .col-9 { grid-column: span 9; } .col-12 { grid-column: span 12; }
.col > :first-child { margin-top: 0; }
.wpb_single_image { margin-bottom: 1.4em; }
.wpb_single_image figure { margin: 0; }
.vc_figure { display: block; }
.vc_align_right, .wpb_single_image.vc_align_right { text-align: right; }
.vc_align_center { text-align: center; }
.content--home .entry { padding: 0; }
.content--home { max-width: 100%; }

/* ---------- galleries (from NextGEN) ---------- */
.gallery { list-style: none; margin: 8px 0 32px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.gallery li { margin: 0; }
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); background: #eee; aspect-ratio: 200 / 134; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s, filter .3s; }
.gallery a:hover img { transform: scale(1.04); filter: brightness(1.05); }

.ngg-slideshow { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 8px; max-width: 100% !important; max-height: none !important; margin: 0 0 1.4em; scrollbar-width: thin; }
.ngg-slideshow img { flex: 0 0 auto; width: min(650px, 90%) !important; max-width: none !important; max-height: 488px !important; height: auto !important; object-fit: cover; scroll-snap-align: center; margin: 0 !important; }

/* ---------- sidebar ---------- */
.sidebar { border-left: 1px solid var(--line); padding-left: 32px; font-size: 15px; line-height: 1.5; color: #222; }
.widget { margin: 0 0 40px; }
.widget__title { margin: 0 0 20px; font-size: 14px; font-weight: 400; line-height: 1; border-bottom: 2px solid var(--olive); }
.widget__title span { display: inline-block; background: var(--olive); color: #fff; padding: 8px 12px 7px; }
.widget__body p { margin: 0 0 1.2em; }
.widget__body img { display: block; margin: 8px auto; }
.widget--cta { display: grid; gap: 10px; }

/* ---------- buttons & forms ---------- */
.btn { display: inline-block; background: var(--olive); color: #fff; border: 1px solid var(--olive); padding: 10px 18px; border-radius: var(--radius); text-decoration: none; font: 500 15px/1.2 var(--font); cursor: pointer; text-align: center; }
.btn:hover { background: var(--amber); border-color: var(--amber); color: #fff; }
.btn--ghost { background: transparent; color: var(--olive); }
.btn--block { display: block; width: 100%; }

.contact-form { display: grid; gap: 14px; max-width: 560px; margin: 24px 0 40px; padding: 24px; background: #fff; border: 1px solid var(--line); }
.contact-form label { display: block; font-weight: 500; font-size: 14px; margin-bottom: 4px; color: #333; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; padding: 9px 11px; border: 1px solid #cfc9b8; border-radius: var(--radius); background: #fffefb; color: #222; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--olive); outline: none; box-shadow: 0 0 0 3px rgba(102,102,51,.15); }
.contact-form .hp { position: absolute; left: -5000px; }
.contact-form button { justify-self: start; }
.form-status:empty { display: none; }
.form-status { margin: 0; font-weight: 500; }
.form-status.is-ok { color: #3c6b2a; }
.form-status.is-err { color: #a33; }

/* ---------- home slider ---------- */
.slider { position: relative; margin: 0 0 40px; background: #222; overflow: hidden; }
.slider__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; margin: 0; position: relative; scroll-snap-align: start; aspect-ratio: 1240 / 760; }
.slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide figcaption { position: absolute; left: 8%; top: 12%; right: 6%; }
.slide figcaption a { text-decoration: none; display: block; }
.slide__title { display: block; color: var(--caption); font-size: clamp(22px, 4vw, 46px); line-height: 1.15; text-shadow: 0 1px 6px rgba(0,0,0,.55); }
.slide__text { display: block; color: #fff8e0; font-size: clamp(14px, 2vw, 25px); line-height: 1.3; margin-top: 8px; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.slider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(0,0,0,.35); color: #fff; font-size: 30px; line-height: 40px; cursor: pointer; opacity: 0; transition: opacity .2s; }
.slider:hover .slider__nav, .slider__nav:focus-visible { opacity: 1; }
.slider__nav--prev { left: 16px; } .slider__nav--next { right: 16px; }
.slider__dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.slider__dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.5); cursor: pointer; }
.slider__dots button[aria-selected="true"] { background: var(--caption); }

/* ---------- footer ---------- */
.footer { color: #ddd; font-size: 15px; }
.footer__info { background: var(--footer); text-align: center; padding: 50px 24px 40px; }
.footer__info p { margin: 0 0 1.2em; line-height: 1.4; }
.footer__info a { color: #ddd; }
.footer__info a[href^="mailto"] { color: var(--amber); }
.footer__logo { display: inline-block; margin-bottom: 28px; }
.footer__logo img { width: 272px; }
.footer__fb { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.1); color: var(--amber) !important; font-size: 14px; }
.subfooter { background: var(--olive); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding: 8px 60px; font-size: 13px; color: #ddd; }
.subfooter ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.subfooter a { color: #ddd; text-decoration: none; }
.subfooter a:hover { color: var(--amber); }

/* ---------- lightbox ---------- */
.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(0,0,0,.92); color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox figure { margin: 0; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 64px; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; box-shadow: 0 6px 40px rgba(0,0,0,.6); }
.lightbox figcaption { margin-top: 12px; font-size: 14px; opacity: .8; text-align: center; }
.lightbox button { position: absolute; background: none; border: 0; color: #fff; cursor: pointer; font-size: 44px; line-height: 1; padding: 12px; opacity: .75; }
.lightbox button:hover { opacity: 1; }
.lightbox .lb-close { top: 8px; right: 12px; font-size: 38px; }
.lightbox .lb-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 8px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; top: 18px; left: 20px; font-size: 13px; opacity: .7; }

/* ---------- search dialog (Pagefind UI) ---------- */
.search-dialog { width: min(720px, 94vw); max-height: 86vh; border: 0; padding: 28px 24px 20px; border-radius: 6px; background: var(--cream); box-shadow: 0 20px 60px rgba(0,0,0,.35); margin-top: 8vh; }
.search-dialog::backdrop { background: rgba(30,30,10,.55); }
.search-dialog__close { position: absolute; top: 4px; right: 8px; }
.search-dialog__close button { background: none; border: 0; font-size: 28px; color: var(--olive); cursor: pointer; }
#search { --pagefind-ui-primary: #666633; --pagefind-ui-text: #333; --pagefind-ui-background: #fffcf4; --pagefind-ui-border: #dcd6c8; --pagefind-ui-tag: #dcd6c8; --pagefind-ui-font: var(--font); --pagefind-ui-border-radius: 3px; }

/* ---------- 404 ---------- */
.notfound { max-width: 720px; margin: 40px auto; text-align: center; }
.notfound .btn { margin: 6px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
  .page-grid { grid-template-columns: 1fr; }
  .sidebar { border-left: 0; padding-left: 16px; padding-right: 16px; border-top: 1px solid var(--line); padding-top: 32px; }
  .topbar, .masthead { padding-left: 24px; padding-right: 24px; }
  .menu > li > a, .menu > li > .menu__label { font-size: 15px; padding: 0 10px; }
  .search-btn { right: 16px; }
}

@media (max-width: 767px) {
  body { background-image: none !important; background: var(--cream); font-size: 16px; }
  .wrap { box-shadow: none; }
  .topbar { padding: 0 12px; gap: 8px; }
  .topbar__left { gap: 14px; }
  .topbar__link, .today { display: none; }
  .masthead { background: var(--beige); padding: 8px 12px; justify-content: space-between; position: sticky; top: 0; z-index: 25; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
  .logo img { width: 150px; }
  .burger, .search-btn--mobile { display: inline-flex; background: none; border: 0; color: var(--olive); font-size: 26px; padding: 6px; cursor: pointer; position: static; transform: none; }
  .mainnav { position: fixed; inset: 0 auto 0 0; width: min(320px, 86vw); flex-direction: column; align-items: stretch; justify-content: flex-start; padding: 64px 0 24px; background: var(--beige); transform: translateX(-102%); transition: transform .25s ease; z-index: 60; overflow-y: auto; box-shadow: 4px 0 24px rgba(0,0,0,.3); }
  .mainnav.open { transform: none; }
  .mainnav .search-btn { display: none; }
  .menu { flex-direction: column; flex-wrap: nowrap; }
  .menu > li { flex-wrap: wrap; justify-content: space-between; }
  .menu > li::after { display: none; }
  .menu > li > a, .menu > li > .menu__label { line-height: 1.3; padding: 12px 24px; font-size: 17px; flex: 1; }
  .sub-toggle { margin: 0; padding: 12px 20px; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub { position: static; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,.25); display: none; padding: 4px 0; }
  .has-sub:hover > .sub, .has-sub:focus-within > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .sub a { padding: 9px 36px; color: #222; font-size: 15px; }
  body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 55; }
  .main { padding: 24px 12px; }
  .page-title { font-size: 25px; margin: 0 4px 16px; }
  .entry { padding: 0 4px; }
  .entry h2 { font-size: 23px; }
  .cols { grid-template-columns: 1fr; }
  .cols > .col { grid-column: auto; }
  .alignleft, .alignright { float: none; margin: 0 auto 16px; display: block; }
  .slide { aspect-ratio: 4 / 3; }
  .slider { margin: 0 -12px 24px; }
  .slider__nav { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .subfooter { padding: 10px 16px; justify-content: center; text-align: center; }
  .lightbox figure { padding: 48px 8px; }
}
