* {
  box-sizing: border-box;
}

:root {
  --bg: #fffaf7;
  --panel: #ffffff;
  --ink: #2e2522;
  --muted: #6f625e;
  --accent: #a8544d;
  --accent-dark: #7f382f;
  --line: #eaded8;
  --shadow: 0 16px 40px rgba(90, 52, 42, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-dark);
}

.container {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.narrow {
  width: min(840px, calc(100% - 36px));
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  z-index: 20;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  background: rgba(255, 250, 247, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
}

.brand-title {
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  letter-spacing: 0.04em;
  font-weight: 700;
}

.brand-tagline {
  font-size: 0.92rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  padding: 8px 11px;
  border-radius: 999px;
  font-size: 0.98rem;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: #f1dfd8;
  color: var(--accent-dark);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 999px;
  padding: 8px 12px;
  font: inherit;
  color: var(--ink);
}

.hero {
  min-height: 560px;
  background-image: linear-gradient(rgba(32, 23, 21, 0.25), rgba(32, 23, 21, 0.55)), var(--hero-image);
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
}

.hero-overlay {
  width: min(850px, calc(100% - 40px));
  padding: 60px 28px;
  text-shadow: 0 3px 18px rgba(0,0,0,0.45);
}

.hero h1 {
  font-size: clamp(2.4rem, 8vw, 5.8rem);
  line-height: 1.05;
  margin: 0 0 16px;
}

.hero p {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  margin: 0 0 24px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: 0.78rem;
  color: var(--accent-dark);
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.hero .eyebrow {
  color: #fff4ed;
}

.button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  font: 700 0.96rem Arial, sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(168, 84, 77, 0.24);
}

.button:hover {
  background: var(--accent-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent-dark);
}

.button-secondary:hover {
  background: #fff;
  color: var(--accent-dark);
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.intro {
  padding: 56px 0 74px;
}

.intro-card,
.article,
.contact-form,
.archive-filter,
.page-heading {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: clamp(24px, 4vw, 46px);
}

.section-heading {
  margin: 54px 0 20px;
}

.section-heading h2,
.page-heading h1 {
  margin: 0 0 10px;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0 0;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 10px 26px rgba(90, 52, 42, 0.08);
}

.card h2,
.card h3 {
  margin: 0 0 10px;
  line-height: 1.25;
}

.card h2 a,
.card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.card h2 a:hover,
.card h3 a:hover {
  color: var(--accent-dark);
}

.card-meta {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0 0 10px;
  font-family: Arial, sans-serif;
}

.read-more {
  font-family: Arial, sans-serif;
  font-weight: 700;
}

.article {
  margin: 46px auto;
}

.article h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
  margin: 0 0 24px;
}

.content {
  font-size: 1.08rem;
}

.content p {
  margin: 0 0 1.2em;
}

.content h2,
.content h3 {
  line-height: 1.2;
  margin: 1.4em 0 0.5em;
}

.content figure {
  margin: 28px 0;
}

.content img {
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(90, 52, 42, 0.12);
}

.missing-image-placeholder {
  border: 1px dashed #c69a92;
  background: #fff3ef;
  color: var(--muted);
  padding: 14px;
  border-radius: 14px;
  font-family: Arial, sans-serif;
  font-size: 0.92rem;
}

.notice {
  border: 1px solid #ead3a4;
  background: #fff8e6;
  color: #6d4b00;
  border-radius: 16px;
  padding: 14px 16px;
  margin: 18px 0;
  font-family: Arial, sans-serif;
}

.notice.success {
  border-color: #bddbc1;
  background: #eef9f0;
  color: #235a2f;
}

.notice.error {
  border-color: #efc2bd;
  background: #fff1ef;
  color: #842116;
}

.article-nav {
  margin: 0 auto 56px;
}

.archive-filter,
.contact-form {
  display: grid;
  gap: 18px;
  margin: 26px 0;
}

.archive-filter {
  grid-template-columns: 1fr 220px auto;
  align-items: end;
}

label span {
  display: block;
  margin-bottom: 6px;
  font-family: Arial, sans-serif;
  font-weight: 700;
  color: var(--muted);
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 14px;
  font: 1rem Arial, sans-serif;
}

.hidden-field {
  position: absolute;
  left: -10000px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff2ec;
  margin-top: 50px;
}

.footer-inner {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-family: Arial, sans-serif;
}

.footer-inner p {
  margin: 0;
}

@media (max-width: 820px) {
  .header-inner {
    align-items: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-top: 12px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav a {
    border-radius: 12px;
    background: #fff;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .archive-filter {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 470px;
  }
}

/* Google Translate selector: public content remains Greek in the CMS,
   visitors can choose any Google-supported language from this selector. */
.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 4px;
}

.translate-panel {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 7px 5px 11px;
  box-shadow: 0 8px 20px rgba(90, 52, 42, 0.08);
  font-family: Arial, Helvetica, sans-serif;
}

.translate-label {
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--accent-dark);
  white-space: nowrap;
}

.google-translate-host {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
}

/* The working Google translator is now the normal select/combo box, not the
   Google SIMPLE overlay menu. Do not hide the selector or its dropdown. */
.google-translate-host .goog-te-gadget {
  color: transparent !important;
  font-size: 0 !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
}

.google-translate-host .goog-te-gadget span,
.google-translate-host .goog-logo-link,
.google-translate-host .goog-te-gadget img {
  display: none !important;
}

.google-translate-host .goog-te-combo {
  display: inline-block !important;
  width: auto !important;
  max-width: 260px !important;
  min-height: 34px !important;
  border: 1px solid var(--line) !important;
  background: #fff !important;
  border-radius: 999px !important;
  padding: 6px 36px 6px 12px !important;
  box-shadow: none !important;
  color: var(--ink) !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  margin: 0 !important;
  outline: none !important;
}

.google-translate-host .goog-te-combo:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(145, 73, 60, 0.12) !important;
}

.translate-reset {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: #f1dfd8;
  color: var(--accent-dark);
  padding: 7px 9px;
  font: 800 0.78rem Arial, Helvetica, sans-serif;
  cursor: pointer;
  white-space: nowrap;
}

.translate-reset:hover {
  background: #ead0c6;
}

/* Hide Google's top page banner/tooltip where possible while keeping the
   actual language combo selector visible and clickable. */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.goog-tooltip,
.goog-tooltip:hover,
#goog-gt-tt,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
.VIpgJd-yAWNEb-L7lbkb {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
}

html.translated-ltr,
html.translated-rtl,
body {
  top: 0 !important;
  margin-top: 0 !important;
}

body .goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 1040px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 820px) {
  .header-actions {
    margin-left: auto;
  }

  .translate-panel {
    order: 1;
  }

  .menu-toggle {
    order: 2;
  }
}

@media (max-width: 560px) {
  .translate-panel {
    max-width: 100%;
    flex-wrap: wrap;
    border-radius: 16px;
    justify-content: flex-end;
  }

  .translate-label {
    display: none;
  }
}
