/*
Theme Name: Greek City Australia
Theme URI: https://greekcity.com.au
Author: Greek City Australia
Description: Australian edition of Greek City news. Recent stories from the Greek Australian community.
Version: 1.0.3
Text Domain: greek-city-australia
*/

:root {
  --ink: #1c1915;
  --muted: #5e564c;
  --paper: #f7f3ec;
  --card: #fffdf9;
  --line: #e6dccb;
  --navy: #1b2836;
  --gold: #8a6d3b;
  --gold-deep: #6d5428;
  --white: #fff;
  --max: 1080px;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--navy); }
h1, h2, h3 {
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 0.4em;
}
p { margin: 0 0 1em; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 5;
  background: var(--white);
  padding: 8px 12px;
}

.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.site-header {
  background: var(--navy);
  color: var(--white);
}
.site-header a { color: var(--white); }
.kicker {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ead9b4;
}
.brand {
  display: block;
  padding: 8px 0 14px;
}
.brand strong {
  display: block;
  font-family: Georgia, Palatino, serif;
  font-size: clamp(32px, 6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
}
.brand span {
  display: block;
  margin-top: 6px;
  color: #ead9b4;
  font-size: 15px;
}
.nav {
  background: #14202c;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  list-style: none;
  margin: 0;
  padding: 6px 0;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 15px;
}
.nav a:hover,
.nav .current-menu-item a,
.nav a[aria-current="page"] {
  background: rgba(234, 217, 180, 0.16);
}

.search {
  display: flex;
  gap: 8px;
  margin: 18px 0 8px;
}
.search input[type="search"] {
  flex: 1;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 16px;
  font: inherit;
  background: var(--white);
}
.search button {
  min-height: 44px;
  min-width: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--navy);
  color: var(--white);
  font: inherit;
  cursor: pointer;
}

.section-title {
  margin: 8px 0 16px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card a.card-link { color: inherit; display: block; }
.card-body { padding: 16px 16px 18px; }
.card .meta {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.card h2 { font-size: 24px; }
.card p { color: var(--muted); margin: 0; }
.card img { width: 100%; height: 210px; object-fit: cover; object-position: center 20%; background: #efe6d6; }
.lead { margin-bottom: 18px; }
.lead img { height: 280px; object-position: center 15%; }
.lead h1 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 0.4em; }
h1.section-title { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 700; }
.lead img { aspect-ratio: 16/10; }

.navigation.pagination { margin: 22px 0 8px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
}
.page-numbers.current { background: var(--navy); color: var(--white); border-color: var(--navy); }

.article { max-width: 740px; margin: 10px auto 28px; }
.article .meta { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.article h1 { font-size: clamp(32px, 5vw, 46px); }
.hero-img { border-radius: var(--radius); margin: 8px 0 18px; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.article-body { font-size: 19px; }
.article-body a { text-decoration: underline; text-underline-offset: 2px; }
.article-body img, .article-body figure { border-radius: 8px; }
.source {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.page-wrap { max-width: 740px; margin: 12px auto 32px; }
.empty {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}

.site-footer {
  margin-top: 28px;
  background: var(--navy);
  color: #ead9b4;
  padding: 28px 0;
  font-size: 15px;
}
.site-footer a { color: var(--white); }
.site-footer p { margin: 0 0 8px; }

@media (min-width: 760px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .card img { height: 230px; }
  .card.lead a.card-link { display: grid; grid-template-columns: 1.45fr 1fr; align-items: stretch; }
  .lead img { height: 100%; min-height: 340px; max-height: 460px; }
  .lead .card-body { padding: 28px; display: flex; flex-direction: column; justify-content: center; }
}
