@import url("../country-guide-base.css");

.estonia-article-page {
  --article-accent: #3272a7;
  --article-accent-light: #dcecf8;
  --article-accent-dark: #234f75;
  --article-tint: #f7fbfe;
  margin: 0;
}

.estonia-article-page .article-hero.banknotes {
  --article-accent: #4b85ad;
  --article-accent-light: #d9edf7;
  --article-accent-dark: #234f75;
}

.estonia-article-page .article-hero.payments {
  --article-accent: #43a18d;
  --article-accent-light: #d9f1e9;
  --article-accent-dark: #245f54;
}

.estonia-article-page .article-hero.transit {
  --article-accent: #ef8c3b;
  --article-accent-light: #ffe1be;
  --article-accent-dark: #8b4b19;
}

.estonia-article-page .article-hero.ferry {
  --article-accent: #5c74b7;
  --article-accent-light: #dfe5f8;
  --article-accent-dark: #344579;
}

.estonia-article-page .article-hero.tipping {
  --article-accent: #d86670;
  --article-accent-light: #f9dfe2;
  --article-accent-dark: #823b42;
}

.estonia-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 28px 0;
}

.estonia-card {
  min-width: 0;
  padding: 18px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: linear-gradient(140deg, var(--article-accent-light), #fff 145%);
  box-shadow: 4px 5px 0 var(--article-accent-dark);
}

.estonia-card strong,
.estonia-card span {
  display: block;
}

.estonia-card strong {
  margin-bottom: 6px;
}

.estonia-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.estonia-route {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 28px 0;
}

.estonia-route span {
  padding: 14px 10px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: linear-gradient(145deg, var(--article-accent-light), #fff);
  text-align: center;
  font-weight: 800;
}

.estonia-route small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
}

.estonia-article-page .article-money-explorer {
  margin-inline: calc(50% - 50vw);
  padding-inline: max(22px, calc((100vw - 1180px) / 2));
  border-block: 3px solid var(--ink);
  background: linear-gradient(145deg, #f2f8fc, #fff 52%, #e2f1eb);
}

@media (max-width: 700px) {
  .estonia-grid,
  .estonia-route {
    grid-template-columns: 1fr;
  }
}
