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

.hungary-article-page {
  --article-accent:#a44f68;
  --article-accent-light:#f2e0e6;
  --article-accent-dark:#713747;
  --article-tint:#fffdfc;
  margin:0;
}

.hungary-article-page .article-hero.notes {
  --article-accent:#b74c50;
  --article-accent-light:#f8dfe0;
  --article-accent-dark:#7d3437;
}

.hungary-article-page .article-hero.euro {
  --article-accent:#315f98;
  --article-accent-light:#dfeaf7;
  --article-accent-dark:#23436b;
}

.hungary-article-page .article-hero.payments {
  --article-accent:#238078;
  --article-accent-light:#daf1ed;
  --article-accent-dark:#195a54;
}

.hungary-article-page .article-hero.transit {
  --article-accent:#c28b24;
  --article-accent-light:#fff0be;
  --article-accent-dark:#7d5918;
}

.hungary-article-page .article-hero.tipping {
  --article-accent:#7b4f8e;
  --article-accent-light:#eee2f3;
  --article-accent-dark:#563763;
}

.huf-note-map,
.huf-wallet-grid,
.huf-transit-path,
.huf-tip-board,
.huf-currency-board {
  display:grid;
  gap:14px;
  margin:28px 0;
  padding:20px;
  border:3px solid var(--ink);
  border-radius:6px;
}

.huf-note-map {
  grid-template-columns:repeat(3,minmax(0,1fr));
  background:linear-gradient(145deg,#f8dfe0,#fff 48%,#fff0be);
  box-shadow:5px 6px 0 #7d3437;
}

.huf-currency-board {
  grid-template-columns:repeat(3,minmax(0,1fr));
  background:linear-gradient(145deg,#dfeaf7,#fff 48%,#f2e0e6);
  box-shadow:5px 6px 0 #23436b;
}

.huf-wallet-grid {
  grid-template-columns:repeat(3,minmax(0,1fr));
  background:linear-gradient(145deg,#daf1ed,#fff 48%,#fff0be);
  box-shadow:5px 6px 0 #195a54;
}

.huf-tip-board {
  grid-template-columns:repeat(3,minmax(0,1fr));
  background:linear-gradient(145deg,#eee2f3,#fff 48%,#f8dfe0);
  box-shadow:5px 6px 0 #563763;
}

.huf-note-map > span,
.huf-wallet-grid > div,
.huf-transit-path > div,
.huf-tip-board > span,
.huf-currency-board > span {
  min-width:0;
  padding:16px 10px;
  border:3px solid var(--ink);
  border-radius:5px;
  background:#fff;
  box-shadow:3px 4px 0 var(--ink);
  text-align:center;
}

.huf-note-map strong,
.huf-note-map small,
.huf-wallet-grid strong,
.huf-wallet-grid span,
.huf-transit-path strong,
.huf-transit-path span,
.huf-tip-board strong,
.huf-tip-board small,
.huf-currency-board strong,
.huf-currency-board small {
  display:block;
}

.huf-note-map strong,
.huf-wallet-grid strong,
.huf-transit-path strong,
.huf-tip-board strong,
.huf-currency-board strong {
  font-size:1.05rem;
}

.huf-note-map small,
.huf-wallet-grid span,
.huf-transit-path span,
.huf-tip-board small,
.huf-currency-board small {
  margin-top:5px;
  color:var(--muted);
  font-weight:750;
}

.huf-rounding-slip,
.huf-atm-slip,
.huf-tip-slip {
  width:min(100%,620px);
  margin:28px auto;
  padding:22px;
  border:3px solid var(--ink);
  border-radius:5px;
  background:linear-gradient(150deg,#fff,#f8dfe0);
  box-shadow:5px 6px 0 #7d3437;
}

.huf-atm-slip {
  background:linear-gradient(150deg,#fff,#daf1ed);
  box-shadow:5px 6px 0 #195a54;
}

.huf-tip-slip {
  background:linear-gradient(150deg,#fff,#eee2f3);
  box-shadow:5px 6px 0 #563763;
}

.huf-rounding-slip > span,
.huf-atm-slip > span,
.huf-tip-slip > span {
  display:block;
  font-size:.78rem;
  font-weight:950;
}

.huf-rounding-slip > strong,
.huf-atm-slip > strong,
.huf-tip-slip > strong {
  display:block;
  margin:7px 0 16px;
  padding:9px;
  border:3px double var(--ink);
  text-align:center;
  font-size:clamp(1.25rem,4vw,2rem);
}

.huf-rounding-slip > strong {
  color:#7d3437;
}

.huf-atm-slip > strong {
  color:#195a54;
}

.huf-tip-slip > strong {
  color:#563763;
}

.huf-rounding-slip div,
.huf-atm-slip div,
.huf-tip-slip div {
  display:flex;
  justify-content:space-between;
  gap:14px;
  padding:9px 0;
  border-bottom:2px dotted rgba(22,22,22,.32);
}

.huf-rounding-slip div:last-child,
.huf-atm-slip div:last-child,
.huf-tip-slip div:last-child {
  border-bottom:0;
}

.huf-transit-path {
  grid-template-columns:1fr auto 1fr auto 1fr;
  align-items:center;
  background:linear-gradient(145deg,#fff0be,#fff 48%,#dfeaf7);
  box-shadow:5px 6px 0 #7d5918;
}

.huf-transit-path > b {
  font-size:1.35rem;
}

.hungary-article-page .article-money-explorer {
  background:linear-gradient(145deg,#fffdfc,#fff 52%,#fef4de);
}

@media (max-width:700px) {
  .huf-note-map,
  .huf-wallet-grid,
  .huf-transit-path,
  .huf-tip-board,
  .huf-currency-board {
    grid-template-columns:1fr;
  }

  .huf-transit-path > b {
    text-align:center;
    transform:rotate(90deg);
  }

  .huf-rounding-slip div,
  .huf-atm-slip div,
  .huf-tip-slip div {
    display:grid;
    gap:3px;
  }
}
