@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&display=swap');

/* ==========================================================================
   cyprus1974.org — shared site chrome (header, nav, readable document column)
   Layered on top of the per-page stylesheets (CDstyles.css / echrstyles.css).
   Brand palette matches the interactive map ("Aegean & Marble").
   ========================================================================== */

:root {
  --c-navy:       #16395c;   /* primary navy (map --brand)       */
  --c-navy-strong:#0f2b47;   /* darker / hover                   */
  --c-azure:      #2f6ea8;   /* azure accent (map --brand-accent)*/
  --c-azure-lt:   #7fb2e6;   /* light azure for on-navy accents  */
  --c-tint:       #eef1f4;   /* cool marble (map --brand-tint)   */
  --c-ink:        #1b2733;
  --c-rule:       #e2e8ee;
  --c-link:       #1f5f9e;
  --doc-width:    820px;
}

/* ---- page frame ---------------------------------------------------------- */
body {
  margin: 0 !important;
  background: var(--c-tint);
  color: var(--c-ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.6;
}

/* ---- top header bar (navy, matches the map) ------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 0 26px;
  min-height: 58px;
  background: var(--c-navy);
  border-bottom: 3px solid var(--c-azure);
  box-shadow: 0 1px 6px rgba(0,0,0,.22);
}

/* ---- wordmark / logo ----------------------------------------------------- */
.site-brand {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  letter-spacing: .6px;
  color: #fff !important;
  text-decoration: none;
  padding: 15px 0;
  white-space: nowrap;
}
.site-brand .brand-year { color: var(--c-azure-lt); }
.site-brand .brand-tld  {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: .55em;
  color: rgba(255,255,255,.6);
  vertical-align: text-top;
  margin-left: 2px;
  letter-spacing: .5px;
}
.site-brand:hover { color: #fff !important; }
.site-brand:hover .brand-year { color: #a9cef2; }

/* ---- nav menu ------------------------------------------------------------ */
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-family: Arial, Helvetica, sans-serif;
}
.site-nav a {
  color: #dbe6f2 !important;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: 6px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.site-nav a:hover { background: rgba(255,255,255,.12); color: #fff !important; }
.site-nav a.is-active { background: var(--c-azure); color: #fff !important; }

/* ---- centred, readable document column ----------------------------------- */
.doc {
  max-width: var(--doc-width);
  margin: 24px auto 64px;
  padding: 40px 44px 56px;
  background: #fff;
  border: 1px solid var(--c-rule);
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(20,40,70,.06);
}
.doc-breadcrumb {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #5b6b7b;
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--c-rule);
}
.doc-breadcrumb a { color: var(--c-link); text-decoration: none; }
.doc-breadcrumb a:hover { text-decoration: underline; }

/* keep wide content (tables, images, preformatted) inside the column */
.doc img { max-width: 100%; height: auto; }
.doc table { max-width: 100%; }
.doc pre { overflow-x: auto; }
.doc { overflow-wrap: break-word; }

/* the old inline page footer, when left inside .doc */
.doc .site-foot {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--c-rule);
  text-align: right;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12.5px;
}
.doc .site-foot a { color: #5b6b7b; text-decoration: none; }

/* ---- prose pages (About / Contact — opt-in, doesn't touch legal-doc CSS) -- */
.doc.prose { font-size: 17px; color: var(--c-ink); }
.doc.prose h1 {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.2;
  color: var(--c-navy);
  margin: 4px 0 6px;
}
.doc.prose .lede { font-size: 19px; color: #3a4a5a; margin: 0 0 26px; }
.doc.prose h2 {
  font-family: Georgia, serif;
  font-size: 21px;
  color: var(--c-navy);
  margin: 34px 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--c-rule);
}
.doc.prose p { margin: 0 0 16px; }
.doc.prose ul { margin: 0 0 16px; padding-left: 22px; }
.doc.prose li { margin: 0 0 8px; }
.doc.prose a { color: var(--c-link); }

/* ---- wide pages (data tables) -------------------------------------------- */
.doc-wide { max-width: 1180px; }
.table-wrap { overflow-x: auto; margin: 8px 0 0; -webkit-overflow-scrolling: touch; }
table.data-table {
  border-collapse: collapse;
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12.5px;
  color: var(--c-ink);
}
table.data-table th, table.data-table td {
  border: 1px solid #dbe3ea;
  padding: 5px 8px;
  text-align: center;
  white-space: nowrap;
}
table.data-table thead th {
  background: var(--c-navy);
  color: #fff;
  font-weight: 700;
  position: sticky;
  top: 0;
}
table.data-table thead tr.grp th { background: var(--c-azure-dark, #255a89); border-bottom-color: var(--c-azure); }
table.data-table td.name { text-align: left; font-weight: 700; white-space: normal; min-width: 140px; }
table.data-table td.name .en { color: #64707d; font-weight: 400; font-size: 11.5px; display: block; }
table.data-table td.dist { text-align: left; white-space: normal; color: #45525f; }
table.data-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data-table td.zero { color: #b7c0c9; }
table.data-table tbody tr:nth-child(even) { background: #f6f8fa; }
table.data-table tbody tr:hover { background: #eaf2fb; }
.table-note { font-family: Arial, Helvetica, sans-serif; font-size: 13px; color: #64707d; margin: 4px 0 16px; }

/* ---- home page (index) --------------------------------------------------- */
.doc-home { padding-top: 30px; }
.home-hero { text-align: center; margin: 0 0 34px; }
.home-hero .home-tagline {
  font-family: "Cinzel", Georgia, serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1.35;
  color: var(--c-navy);
  letter-spacing: .3px;
  margin: 0 0 22px;
}
.home-hero img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(20,40,70,.18);
}
.doc-index h2 {
  font-family: Georgia, serif;
  font-size: 19px;
  color: var(--c-navy);
  margin: 30px 0 4px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--c-azure);
}
.doc-index h2:first-of-type { margin-top: 10px; }
.doc-index h3 {
  font-family: Georgia, serif;
  font-size: 16px;
  color: #3a4a5a;
  margin: 18px 0 2px;
}
.doc-index ul { list-style: none; margin: 0 0 6px; padding: 0; }
.doc-index li {
  padding: 7px 0;
  border-bottom: 1px solid #eef2f6;
  line-height: 1.45;
}
.doc-index li:last-child { border-bottom: none; }
.doc-index a {
  font-family: Georgia, serif;
  font-size: 16.5px;
  color: var(--c-link);
  text-decoration: none;
}
.doc-index a:hover { text-decoration: underline; }
.doc-index .idx-date { color: #7c8895; font-size: 14px; font-family: Arial, Helvetica, sans-serif; }
.doc-index .idx-alt  { color: #7c8895; font-size: 13.5px; }

/* ---- forms (Contact) ----------------------------------------------------- */
.form-field { margin: 0 0 18px; }
.form-field label {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #3a4a5a;
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  box-sizing: border-box;
  font-family: Georgia, serif;
  font-size: 16px;
  color: var(--c-ink);
  padding: 11px 13px;
  border: 1px solid #c7d2dd;
  border-radius: 7px;
  background: #fbfcfd;
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-azure);
  box-shadow: 0 0 0 3px rgba(47,110,168,.15);
  background: #fff;
}
.form-field textarea { min-height: 160px; resize: vertical; }
.btn-primary {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--c-azure);
  border: none;
  border-radius: 8px;
  padding: 12px 26px;
  cursor: pointer;
  transition: background .15s;
}
.btn-primary:hover { background: var(--c-azure-dark, #255a89); }
.btn-primary:disabled { opacity: .6; cursor: default; }
.form-note {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 7px;
  display: none;
}
.form-note.ok   { display: block; background: #e7f4ea; color: #1e6b34; border: 1px solid #bfe2c8; }
.form-note.err  { display: block; background: #fbeaea; color: #9a2626; border: 1px solid #f0c4c4; }

/* ---- responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .doc { margin: 14px 12px 48px; padding: 26px 20px 40px; border-radius: 8px; }
}
@media (max-width: 560px) {
  .site-brand { font-size: 21px; }
  .site-nav a { padding: 7px 9px; font-size: 13.5px; }
}
