/* =====================================================================
   v28: tydeligere. Mer kontrast, klarere overskrifter, knapper og seksjoner
   ===================================================================== */
:root {
  --ink: #1c1715;
  --stone: #3e3732;
  --rule: #ddd3c7;
  --card-line: #ddd3c7;
}
body {
  font-size: 17px;
  line-height: 1.65;
}
.small,
.pop-sub,
.rsub,
.acard-kind,
.feat-p,
.choose small,
.pagehelp,
.start-lede,
.feature-p,
.about-nums span,
.about-map dd {
  color: var(--stone) !important;
}
.small,
.rsub,
.acard-kind {
  font-size: 14.5px !important;
}

/* header: white bar, clear active tab */
.top,
.top.scrolled {
  background: #fff !important;
  box-shadow:
    0 0 0 100vmax #fff,
    0 1px 0 100vmax var(--rule) !important;
}
.top .tabs a {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  padding: 10px 4px !important;
  border-bottom: 3px solid transparent !important;
}
.top .tabs a[aria-current="page"] {
  color: var(--garnet) !important;
  border-bottom-color: var(--garnet) !important;
}
.helplink {
  font-weight: 600;
}
@media (max-width: 760px) {
  .top,
  .top.scrolled {
    box-shadow: 0 1px 0 var(--rule) !important;
  }
  .top .tabs,
  body.menu-open .top .tabs {
    box-shadow: 0 -2px 12px rgba(28, 23, 21, 0.06);
  }
  .top .tabs a,
  body.menu-open .top .tabs a {
    font-size: 12px !important;
    color: var(--ink) !important;
    font-weight: 600 !important;
  }
  .top .tabs a[aria-current="page"] .ticon {
    background: var(--garnet) !important;
    color: #fff;
  }
}

/* headings: bigger and clearly above their content */
.view h1,
.prof-title,
.daily-title {
  font-size: clamp(34px, 4vw, 48px) !important;
}
.home-h {
  font-size: clamp(28px, 3vw, 36px) !important;
  margin: 0 0 20px !important;
}
.section-h,
.view h2,
.about-sec h2 {
  font-size: clamp(23px, 2.2vw, 27px) !important;
}
.atlas-left h1 {
  font-size: clamp(40px, 4.6vw, 60px) !important;
  line-height: 1.05 !important;
}
.pagehelp {
  font-size: 18px !important;
}

/* buttons: larger, clear primary and secondary */
.btn {
  min-height: 48px !important;
  padding: 0 22px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
}
.btn.quiet,
.photo-btn,
.savebtn {
  background: #fff !important;
  border: 1.5px solid var(--garnet) !important;
  color: var(--garnet) !important;
}
.btn.quiet:hover,
.photo-btn:hover,
.savebtn:hover {
  background: var(--pink) !important;
}
.savebtn[aria-pressed="true"] {
  background: var(--garnet) !important;
  color: #fff !important;
}
.btn:not(.quiet):hover {
  background: var(--garnet-2) !important;
}
.link,
a.link,
.feat-go,
.feature-go {
  text-decoration-thickness: 1.5px !important;
  text-underline-offset: 4px !important;
  font-weight: 600;
}
.field,
.search input,
select.field {
  border: 1.5px solid #cbbfb1 !important;
  min-height: 48px;
}
.field:focus,
.search input:focus {
  border-color: var(--garnet) !important;
  outline: none;
  box-shadow: 0 0 0 3px var(--pink);
}
.jump a {
  border: 1.5px solid var(--rule) !important;
  font-weight: 600 !important;
}

/* cards: firmer edge, lift on hover */
.acard,
.feat,
.choose,
.feature,
.gsteps li,
.about-nums div,
.info,
.panel,
.fpanel,
.somm-card,
.tastemap,
.taste-prof,
.prof-move,
.stat,
.tipbox {
  border: 1.5px solid var(--rule) !important;
}
.acard:hover,
.feat:hover,
.choose:hover,
.feature:hover {
  border-color: var(--garnet) !important;
  box-shadow: 0 6px 18px rgba(28, 23, 21, 0.08);
}
.acard-name {
  font-size: 20px !important;
}
.feat-h {
  font-size: 17.5px !important;
}
.feat-ico {
  width: 46px !important;
  height: 46px !important;
  background: var(--garnet) !important;
  color: #fff !important;
}
.gs-n {
  width: 38px !important;
  height: 38px !important;
  font-size: 17px;
}
.gsteps h3 {
  font-size: 18.5px !important;
}

/* sections: white bands to separate the front page */
.start,
.home-what {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
  padding: 56px 0 !important;
  margin-top: 56px !important;
}
.start .gsteps li,
.home-what .feat {
  background: var(--paper) !important;
}
.home-pop {
  margin-top: 56px !important;
}
.home-food {
  border: 1.5px solid var(--rule) !important;
}

/* list rows: clearer name and spacing */
.rname {
  font-size: 17.5px !important;
  font-weight: 700 !important;
}
.ritem:hover {
  background: #fff !important;
}
.ritem.sel {
  background: var(--pink) !important;
  box-shadow: inset 3px 0 0 var(--garnet);
}

/* panel facts line stands out */
.keyline {
  font-size: 16.5px;
  padding: 10px 14px;
  background: var(--wash);
  border-radius: 10px;
  display: inline-flex;
}
#detail .wine-name {
  font-size: clamp(34px, 3.4vw, 46px) !important;
}

@media (max-width: 760px) {
  body {
    font-size: 16.5px;
  }
  .atlas-left h1 {
    font-size: 36px !important;
  }
  .view h1,
  .prof-title,
  .daily-title {
    font-size: 32px !important;
  }
  .home-h {
    font-size: 27px !important;
  }
  .start,
  .home-what {
    padding: 40px 0 !important;
    margin-top: 40px !important;
  }
  .keyline {
    display: flex;
    font-size: 15px;
  }
}
.tipbox {
  border-left: 4px solid var(--garnet) !important;
}
@media (max-width: 760px) {
  .top .tabs a,
  body.menu-open .top .tabs a,
  .top .tabs a[aria-current="page"] {
    border: 0 !important;
    padding: 6px 0 4px !important;
  }
}
