/* Olive Trails — Cyprus travel notes */

:root {
  --olive-900: #2f3a1f;
  --olive-700: #4d5b2e;
  --olive-500: #74853f;
  --olive-200: #d9dfbf;
  --sand-100: #faf5ea;
  --sand-200: #f1e6cf;
  --sand-400: #dcc89c;
  --sea-600: #1f5f8b;
  --sea-400: #4a8fbf;
  --ink: #26281f;
  --muted: #6b6c5c;
  --paper: #ffffff;
  --rule: #e6dcc4;
  --radius: 14px;
  --wrap: 1080px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sand-100);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

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

a {
  color: var(--sea-600);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--olive-700);
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--olive-900);
  text-decoration: none;
}

.brand svg {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-tag {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
}

.nav {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
}

.nav a {
  color: var(--olive-700);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  border-bottom-color: var(--olive-500);
  color: var(--olive-900);
}

/* Hero */

.hero {
  background: var(--sand-200);
  border-bottom: 1px solid var(--rule);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.12;
  color: var(--olive-900);
  margin: 0 0 18px;
}

.hero p {
  margin: 0 0 14px;
  color: #45463a;
  max-width: 34em;
}

.hero-art {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(47, 58, 31, 0.12);
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea-600);
  font-weight: 600;
  margin: 0 0 10px;
}

/* Cards */

.section {
  padding: 52px 0 64px;
}

.section h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--olive-900);
  margin: 0 0 24px;
}

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

.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(47, 58, 31, 0.1);
}

.card a.cover {
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--olive-200);
}

.card a.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card h3 {
  font-family: var(--serif);
  font-size: 1.22rem;
  line-height: 1.3;
  margin: 0;
}

.card h3 a {
  color: var(--olive-900);
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--sea-600);
}

.card p {
  margin: 0;
  color: #4b4c40;
  font-size: 0.96rem;
}

.meta {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.meta .dot {
  margin: 0 6px;
  color: var(--sand-400);
}

.region {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-700);
  background: var(--olive-200);
  border-radius: 999px;
  padding: 2px 10px;
  align-self: flex-start;
}

.notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid var(--rule);
}

.notes h3 {
  font-family: var(--serif);
  color: var(--olive-900);
  font-size: 1.08rem;
  margin: 0 0 6px;
}

.notes p {
  margin: 0;
  font-size: 0.94rem;
  color: #4b4c40;
}

/* Article */

.article-head {
  background: var(--sand-200);
  border-bottom: 1px solid var(--rule);
}

.article-head .wrap {
  max-width: 820px;
  padding-top: 40px;
  padding-bottom: 32px;
}

.article-head h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
  color: var(--olive-900);
  margin: 10px 0 12px;
}

.article-head .lede {
  font-size: 1.1rem;
  color: #45463a;
  margin: 0 0 14px;
}

.article {
  max-width: 820px;
  margin: 0 auto;
  padding: 34px 20px 64px;
}

.article figure {
  margin: 0 0 30px;
}

.article figure img {
  border-radius: var(--radius);
  width: 100%;
}

.article figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}

.article h2 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--olive-900);
  font-size: 1.42rem;
  margin: 34px 0 10px;
}

.article p,
.article li {
  max-width: 40em;
}

.article ul {
  padding-left: 1.2em;
}

.article li {
  margin-bottom: 6px;
}

.tip {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--sea-400);
  border-radius: 10px;
  padding: 14px 18px;
  margin: 26px 0;
  font-size: 0.97rem;
}

.tip strong {
  color: var(--sea-600);
}

.article .facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.facts li {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0;
  font-size: 0.92rem;
}

.facts b {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-700);
  margin-bottom: 2px;
}

.back {
  display: inline-block;
  margin-top: 30px;
  font-size: 0.95rem;
}

/* Plain pages */

.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 44px 20px 70px;
}

.page h1 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--olive-900);
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  margin: 0 0 18px;
}

.page h2 {
  font-family: var(--serif);
  color: var(--olive-900);
  font-size: 1.25rem;
  margin: 30px 0 8px;
}

.notfound {
  text-align: center;
  padding: 70px 20px 90px;
}

.notfound svg {
  width: 160px;
  height: auto;
  margin: 0 auto 18px;
}

.notfound h1 {
  font-family: var(--serif);
  color: var(--olive-900);
  font-size: 2.2rem;
  margin: 0 0 10px;
}

.notfound p {
  color: #4b4c40;
  margin: 0 auto 10px;
  max-width: 30em;
}

/* Footer */

.site-footer {
  background: var(--olive-900);
  color: #d8dcc7;
  font-size: 0.9rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 26px;
  padding-bottom: 26px;
}

.site-footer a {
  color: #eef0e2;
}

.site-footer nav {
  display: flex;
  gap: 18px;
}

/* Responsive */

@media (max-width: 900px) {
  .cards,
  .notes {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 32px;
    padding-bottom: 36px;
  }

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

  .site-header .wrap {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav {
    gap: 16px;
  }
}
