/* =====================================================
   GUIDE TO GREECE
   ===================================================== */
.greece-wrap {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background: #f5f0e8;
  min-height: 100%;
  color: #1a3a4a;
  --gr-page-x: clamp(16px, 4vw, 24px);
  --gr-main-max: 620px;
  --gr-section-gap: clamp(44px, 7vw, 64px);
  --gr-card-py: clamp(16px, 2.2vw, 22px);
  --gr-card-px: clamp(16px, 2.4vw, 20px);
  --gr-tight-gap: clamp(10px, 1.4vw, 13px);
  --gr-stack-gap: clamp(14px, 2.2vw, 20px);
  --gr-stack-gap-lg: clamp(20px, 3vw, 28px);
  --gr-text-body: clamp(16px, 0.35vw + 15px, 18px);
  --gr-text-small: clamp(14px, 0.18vw + 13.4px, 15px);
  --gr-text-h3: clamp(20px, 0.7vw + 17px, 24px);
  --gr-text-h2: clamp(33px, 1.2vw + 28px, 45px);
  --gr-text-display: clamp(48px, 3.8vw + 32px, 74px);
  --gr-text-tagline: clamp(19px, 0.45vw + 17px, 22px);
  --gr-text-kicker: clamp(12px, 0.2vw + 11.3px, 14px);
}

/* ── Hero ── */
.gr-hero {
  background:
    linear-gradient(150deg, rgba(0,60,150,0.96) 0%, rgba(0,105,195,0.91) 45%, rgba(0,168,232,0.84) 100%),
    url('https://upload.wikimedia.org/wikipedia/commons/2/2a/Athens_Skyline.jpg') center 60% / cover no-repeat;
  padding: clamp(28px, 4.4vw, 56px) var(--gr-page-x) clamp(42px, 7vw, 82px);
  position: relative;
  overflow: hidden;
}

.gr-hero-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--gr-text-kicker);
  letter-spacing: clamp(3px, 0.35vw + 2px, 5px);
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 12px;
  font-weight: 600;
  position: relative;
}

.gr-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--gr-text-display);
  font-weight: 700;
  color: #fff;
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.01em;
  position: relative;
}

.gr-hero h1 em {
  font-style: italic;
  font-weight: 400;
  font-size: 0.78em;
  opacity: 0.88;
}

.gr-hero-curve { display: none; }

/* ── Internal sticky nav ── */
.gr-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(245,240,232,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44,95,122,0.10);
  border-radius: 16px 16px 0 0;
  padding: 6px 8px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
}

.gr-nav-btn {
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  border-radius: 10px;
  background: transparent;
  color: #5a7a8a;
  transition: all 0.22s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 5px;
  touch-action: manipulation;
}

.gr-nav-btn.active {
  background: rgba(44,95,122,0.12);
  color: #2c5f7a;
}

.gr-nav-icon {
  font-size: clamp(18px, 1vw + 14px, 20px);
  line-height: 1;
}

.gr-nav-label {
  font-size: clamp(11.5px, 0.16vw + 11px, 13px);
  line-height: 1.18;
  text-align: center;
  letter-spacing: 0.01em;
}

/* ── Main content ── */
.gr-main {
  padding: clamp(24px, 4.5vw, 44px) var(--gr-page-x) clamp(68px, 9vw, 100px);
  max-width: var(--gr-main-max);
  margin: 0 auto;
}

/* ── 2-column desktop grid ── */
.gr-grid {
  /* mobile: contents flow naturally */
}

.gr-body { /* no special mobile styles needed */ }

.gr-aside {
  /* visible on mobile — flows below body content as collapsible cards */
  margin-top: 10px;
}

/* ── Section scroll targets ── */
.gr-section {
  scroll-margin-top: 64px;
  margin-bottom: var(--gr-section-gap);
}

/* ── Headings ── */
.gr-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--gr-text-h2);
  font-weight: 700;
  color: #1a3a4a;
  margin: 0 0 clamp(18px, 2.4vw, 28px);
  letter-spacing: normal;
  line-height: 1.08;
}

.gr-h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--gr-text-h3);
  font-weight: 700;
  color: #2c5f7a;
  margin: var(--gr-stack-gap-lg) 0 var(--gr-tight-gap);
  letter-spacing: 0.3px;
  line-height: 1.12;
}

.gr-p {
  font-size: var(--gr-text-body);
  color: #4a6a7a;
  line-height: 1.72;
  margin: 0 0 var(--gr-stack-gap);
}

.gr-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--gr-text-tagline);
  font-style: italic;
  color: #7a6a5a;
  margin: 16px 0 18px;
  line-height: 1.4;
}

/* ── White card containers ── */
.gr-card {
  background: #fff;
  border-radius: 16px;
  padding: var(--gr-card-py) var(--gr-card-px);
  margin-top: 16px;
  box-shadow: 0 1px 4px rgba(44,95,122,0.07);
}

.gr-card--flush {
  padding: 8px var(--gr-card-px);
}

/* ── Images ── */
.gr-img {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: #e0ddd6;
}

.gr-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gr-img:hover img {
  transform: scale(1.02);
}

.gr-city-feature {
  position: relative;
}

.gr-city-image {
  aspect-ratio: 16 / 8;
  background:
    linear-gradient(180deg, rgba(18,45,64,0.08) 0%, rgba(18,45,64,0.18) 100%),
    var(--gr-city-image) center 54% / cover no-repeat;
}

.gr-card--city-intro {
  margin-top: -28px;
  position: relative;
  z-index: 2;
  padding-top: clamp(12px, 1.8vw, 18px);
}

.gr-card--city-intro .gr-h3:first-child {
  margin-top: 0;
}

/* ── Chips ── */
.gr-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.gr-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(61,106,130,0.08);
  color: #2c5f7a;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: var(--gr-text-small);
  font-weight: 600;
  white-space: nowrap;
}

a.gr-chip {
  color: #2c5f7a;
  text-decoration: none;
}

a.gr-chip:hover,
a.gr-chip:focus-visible {
  background: rgba(61,106,130,0.14);
  text-decoration: none;
}

.gr-chips--flush {
  margin-bottom: 0;
}

.gr-intro-copy {
  margin-top: 4px;
  margin-bottom: 16px;
}

/* ── Venue cards ── */
.gr-venue-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gr-venue {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 14px;
  padding: clamp(15px, 1.8vw, 19px) clamp(15px, 2vw, 18px);
  box-shadow: 0 1px 4px rgba(44,95,122,0.08);
  border: 1px solid rgba(44,95,122,0.06);
  transition: transform 0.18s, box-shadow 0.18s;
}

.gr-venue:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(44,95,122,0.12);
  text-decoration: none;
}

.gr-venue-inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.gr-venue-icon {
  font-size: 21px;
  line-height: 1;
  margin-top: 2px;
  flex-shrink: 0;
}

.gr-venue-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 0.55vw + 16.5px, 20px);
  font-weight: 700;
  color: #1a3a4a;
  line-height: 1.3;
}

.gr-venue-name:lang(el) {
  font-family: 'EB Garamond', serif;
}

.gr-venue-ext {
  font-size: 11px;
  margin-left: 5px;
  opacity: 0.38;
}

.gr-venue-desc {
  font-size: var(--gr-text-small);
  color: #5a7a8a;
  line-height: 1.62;
  margin-top: 4px;
}

/* ── Sight items ── */
.gr-sight {
  display: block;
  padding: clamp(13px, 1.5vw, 17px) 0;
  border-bottom: 1px solid rgba(44,95,122,0.08);
}

.gr-sight:last-child { border-bottom: none; }

a.gr-sight {
  color: inherit;
  text-decoration: none;
}

a.gr-sight:hover {
  text-decoration: none;
}

a.gr-sight:hover .gr-sight-name,
a.gr-sight:focus-visible .gr-sight-name {
  color: #2c5f7a;
}

.gr-sight-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 0.55vw + 16.5px, 20px);
  font-weight: 700;
  color: #1a3a4a;
  line-height: 1.3;
}

.gr-sight-desc {
  font-size: var(--gr-text-small);
  color: #5a7a8a;
  line-height: 1.64;
  margin-top: 4px;
}

.gr-sight--grouped .gr-sight-desc {
  margin-bottom: 10px;
}

.gr-sight-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gr-sight-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(44,95,122,0.12);
  background: rgba(61,106,130,0.06);
  color: #2c5f7a;
  text-decoration: none;
  font-size: var(--gr-text-small);
  font-weight: 600;
  line-height: 1.2;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.gr-sight-link:hover,
.gr-sight-link:focus-visible {
  background: rgba(61,106,130,0.12);
  border-color: rgba(44,95,122,0.2);
  text-decoration: none;
  transform: translateY(-1px);
}

.gr-sight-link .gr-venue-ext {
  margin-left: 0;
  font-size: 10px;
  opacity: 0.46;
}

.gr-inline-link {
  color: #2c5f7a;
  text-decoration: underline;
  text-decoration-color: rgba(44,95,122,0.28);
  text-underline-offset: 2px;
}

.gr-inline-link:hover,
.gr-inline-link:focus-visible {
  text-decoration-color: currentColor;
}

/* ── Island sections ── */
.gr-island {
  scroll-margin-top: 64px;
  margin-bottom: var(--gr-section-gap);
}

.gr-island-img-wrap { position: relative; }

.gr-island-card {
  margin-top: -32px;
  position: relative;
  z-index: 2;
  padding: 0 4px;
}

.gr-island-card-inner {
  background: #fff;
  border-radius: 18px;
  padding: clamp(22px, 2.6vw, 34px) clamp(18px, 2vw, 30px);
  box-shadow: 0 4px 24px rgba(44,95,122,0.10);
}

.gr-island-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 2vw + 24px, 40px);
  font-weight: 700;
  color: #1a3a4a;
  margin: 0;
  line-height: 1.12;
  letter-spacing: normal;
}

.gr-island-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 0.5vw + 16px, 20px);
  font-style: italic;
  color: #7a6a5a;
  margin: 6px 0 0;
  line-height: 1.4;
}

.gr-island-body {
  margin-top: clamp(20px, 2.6vw, 28px);
}

/* ── Islands divider ── */
.gr-islands-intro {
  text-align: center;
  margin: clamp(54px, 7vw, 96px) 0 clamp(30px, 4vw, 56px);
  padding: 0 8px;
}

.gr-islands-eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--gr-text-kicker);
  letter-spacing: clamp(3px, 0.35vw + 2px, 4.5px);
  text-transform: uppercase;
  color: #a09080;
  font-weight: 600;
  margin-bottom: 8px;
}

.gr-islands-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 2.8vw + 24px, 50px);
  font-weight: 700;
  color: #1a3a4a;
  margin: 0;
  line-height: 1.1;
}

.gr-islands-sub {
  font-size: var(--gr-text-body);
  color: #7a6a5a;
  margin-top: 8px;
  line-height: 1.45;
  margin-bottom: 0;
}

/* ── Note box ── */
.gr-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(61,106,130,0.06);
  border-left: 3px solid #4a9ab5;
}

.gr-note p {
  font-size: var(--gr-text-small);
  color: #5a7a8a;
  margin: 0;
  line-height: 1.64;
}

/* ── Other islands ── */
.gr-other-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gr-other-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(44,95,122,0.06);
}

.gr-other-card-body { padding: clamp(16px, 1.8vw, 24px) clamp(16px, 1.8vw, 22px); }

.gr-other-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(21px, 0.7vw + 18px, 26px);
  font-weight: 700;
  color: #1a3a4a;
  margin: 0 0 6px;
  letter-spacing: normal;
}

.gr-other-desc {
  font-size: var(--gr-text-small);
  color: #5a7a8a;
  line-height: 1.64;
  margin: 0;
}

/* ── Tip cards (desktop aside) ── */
.gr-tip {
  background: #fff;
  border-radius: 14px;
  padding: clamp(16px, 2vw, 22px) clamp(16px, 2vw, 22px);
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(44,95,122,0.07);
  border-top: 3px solid #2c5f7a;
  cursor: pointer;
  touch-action: manipulation; /* eliminates 300ms tap delay */
}

.gr-tip:last-child { margin-bottom: 0; }

.gr-tip--facts     { border-color: #2c5f7a; }
.gr-tip--tips      { border-color: #b07d2e; }
.gr-tip--itinerary { border-color: #6a3a8a; }
.gr-tip--eats      { border-color: #7a2c3a; }
.gr-tip--essentials{ border-color: #2a6e5a; }
.gr-tip--ferry     { border-color: #1a3a6a; }
.gr-tip--logistics { border-color: #5a6a3a; }

.gr-tip-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(17px, 0.45vw + 15.5px, 19px);
  font-weight: 700;
  color: #1a3a4a;
  margin-bottom: 0;
  line-height: 1.3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.gr-tip-chevron {
  font-size: 16px;
  color: #2c5f7a;
  font-weight: 700;
  transition: transform 0.22s;
  flex-shrink: 0;
  margin-left: 8px;
}

.gr-tip--open .gr-tip-chevron {
  transform: rotate(90deg);
}

.gr-tip-body {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  padding-top: 0;
  transition:
    grid-template-rows 0.28s cubic-bezier(0.33, 1, 0.68, 1),
    opacity 0.18s ease,
    padding-top 0.28s cubic-bezier(0.33, 1, 0.68, 1);
}

.gr-tip--open .gr-tip-body {
  grid-template-rows: 1fr;
  opacity: 1;
  padding-top: 10px;
}

.gr-tip-body-inner {
  overflow: hidden;
}

.gr-fact-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gr-fact-list > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: var(--gr-text-small);
  padding: 7px 0;
  border-bottom: 1px solid rgba(44,95,122,0.07);
}

.gr-fact-list > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.gr-fact-list > div:first-child { padding-top: 0; }

.gr-fact-list dt {
  color: #6a8a9a;
  flex-shrink: 0;
}

.gr-fact-list dd {
  color: #1a3a4a;
  font-weight: 600;
  text-align: right;
  margin: 0;
}

.gr-tip-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0;
  padding: 0;
}

.gr-tip-list li {
  font-size: var(--gr-text-small);
  color: #4a6a7a;
  line-height: 1.55;
  padding-left: 15px;
  position: relative;
}

.gr-tip-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #2c5f7a;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}

.gr-tip-list a {
  color: #2c5f7a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gr-day-plan {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gr-day-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: var(--gr-text-kicker);
  font-weight: 700;
  color: #6a3a8a;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 6px;
}

/* ── Footer ── */
.gr-footer {
  text-align: center;
  padding: clamp(34px, 5vw, 56px) 16px clamp(18px, 3vw, 28px);
  border-top: 1px solid rgba(44,95,122,0.1);
}

.gr-footer-greek {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 0.8vw + 22px, 30px);
  font-weight: 700;
  color: #2c5f7a;
}

.gr-footer-sub {
  font-size: var(--gr-text-small);
  color: #a09080;
  margin-top: 6px;
  margin-bottom: 0;
}

/* =====================================================
   DESKTOP LAYOUT
   ===================================================== */
@media (min-width: 900px) {

  .greece-wrap {
    --gr-page-x: clamp(40px, 4vw, 56px);
    --gr-main-max: 1140px;
    --gr-section-gap: clamp(72px, 7vw, 96px);
    --gr-card-py: clamp(22px, 2vw, 28px);
    --gr-card-px: clamp(22px, 2.2vw, 30px);
    --gr-text-body: clamp(16.5px, 0.28vw + 15.5px, 18.5px);
    --gr-text-small: clamp(14.25px, 0.12vw + 13.8px, 15.25px);
    --gr-text-h2: clamp(36px, 1vw + 30px, 46px);
    --gr-text-h3: clamp(21px, 0.45vw + 18px, 25px);
  }

  /* Wider main container */
  .gr-main {
    padding: 44px var(--gr-page-x) 96px;
  }

  /* Internal nav: switch to single flex row with inline icon+label */
  .gr-nav {
    display: flex;
    grid-template-columns: none;
    gap: 6px;
    padding: 12px var(--gr-page-x);
    border-radius: 32px 32px 0 0;
  }

  .gr-nav-btn {
    flex-direction: row;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 22px;
    flex-shrink: 0;
  }

  .gr-nav-btn.active {
    background: #2c5f7a;
    color: #fff;
  }

  .gr-nav-icon { font-size: 15px; }

  .gr-nav-label {
    font-size: 13px;
    text-align: left;
  }

  /* 2-column grid */
  .gr-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 286px;
    gap: clamp(40px, 4vw, 56px);
    align-items: start;
  }

  /* Aside: sticky on desktop */
  .gr-aside {
    display: block;
    position: sticky;
    top: 84px;
    margin-top: 0;
  }

  /* Desktop: tip bodies always open, no chevron, card not clickable */
  .gr-tip {
    cursor: default;
    touch-action: auto;
  }

  .gr-tip-title {
    user-select: auto;
    margin-bottom: 12px;
  }

  .gr-tip-chevron { display: none; }

  .gr-tip-body {
    display: block;
    opacity: 1;
    padding-top: 0;
    overflow: visible;
    transition: none;
  }

  .gr-tip-body-inner {
    overflow: visible;
  }

  /* Section headings — add decorative rule */
  .gr-h2 {
    display: flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
  }

  .gr-h2::after {
    content: '';
    display: block;
    height: 1px;
    background: rgba(44,95,122,0.15);
    flex: 1;
    min-width: 40px;
  }

  /* Bigger sub-headings */
  .gr-h3 { margin-top: 30px; }

  /* Island card gets more breathing room */
  .gr-island-card {
    margin-top: -44px;
    padding: 0 10px;
  }

  .gr-card--city-intro {
    margin-top: -34px;
  }

  /* Island body is now the grid */
  .gr-island-body {
    margin-top: 28px;
  }

  /* Other islands: 3-column on desktop */
  .gr-other-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  /* Islands intro */
  .gr-islands-intro {
    margin: 96px 0 56px;
  }

  /* Venue list: 2-col grid on desktop inside main body */
  .gr-body .gr-venue-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
  }

  /* Footer */
  .gr-footer {
    padding-top: 56px;
  }
}

/* =====================================================
   MOBILE ADJUSTMENTS
   ===================================================== */
@media (max-width: 767px) {
  .gr-nav {
    top: var(--bar-h);
  }

  .gr-section,
  .gr-island {
    scroll-margin-top: calc(var(--bar-h) + 54px);
  }
}
