:root {
  --st-ink: #111310;
  --st-muted: #6f716b;
  --st-green: #0b3b2d;
  --st-green-deep: #082f24;
  --st-champagne: #a58d5f;
  --st-ivory: #f5f4f0;
  --st-paper: #fbfaf7;
  --st-line: #ddd9cf;
  --st-line-dark: rgba(17, 19, 16, .16);
  --st-white: #fff;
  --st-radius: 2px;
  --st-container: min(1564px, calc(100vw - 64px));
  --st-display: "Manrope", "Inter", Arial, sans-serif;
  --st-body: "Inter", Arial, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  color: var(--st-ink);
  background: var(--st-paper);
  font-family: var(--st-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.title, .wd-title, .product_title, .entry-title, .wd-entities-title {
  font-family: var(--st-display);
  color: var(--st-ink);
  letter-spacing: -.025em;
}

a { transition: color .2s ease, opacity .2s ease, border-color .2s ease, background-color .2s ease; }

.swisstimes-eyebrow {
  margin: 0 0 12px;
  color: var(--st-green);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .17em;
  text-transform: uppercase;
}

button,
.button,
.btn,
input[type="submit"],
input[type="button"],
.wd-button-wrapper a {
  min-height: 46px;
  border-radius: var(--st-radius) !important;
  font-family: var(--st-body);
  font-weight: 650;
  letter-spacing: .06em;
  text-transform: uppercase;
}

input:not([type="checkbox"]):not([type="radio"]),
textarea,
select,
.select2-container--default .select2-selection--single {
  border-radius: var(--st-radius) !important;
  border-color: var(--st-line) !important;
  background: var(--st-white);
  min-height: 46px;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--st-green) !important;
  box-shadow: 0 0 0 1px var(--st-green) !important;
}

/* Header: restrained boutique treatment without assuming a specific Header Builder layout. */
.whb-header, .whb-main-header, .whb-sticked .whb-main-header {
  background: rgba(251, 250, 247, .96);
}
.whb-general-header { border-bottom: 1px solid var(--st-line); }
.wd-nav-main > li > a {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Breadcrumbs become supporting information, not a headline. */
.woocommerce-breadcrumb, .breadcrumbs {
  color: var(--st-muted);
  font-size: 11px;
  letter-spacing: .04em;
}

/* Remove old demo footer from view when the Swiss Times replacement is active. */
body.swisstimes-footer-active .footer-container,
body.swisstimes-footer-active footer.footer-container,
body.swisstimes-footer-active .copyrights-wrapper {
  display: none !important;
}

.swisstimes-footer {
  margin-top: 96px;
  background: var(--st-green-deep);
  color: rgba(255,255,255,.72);
  border-top: 1px solid rgba(255,255,255,.12);
}
.swisstimes-footer__inner {
  width: var(--st-container);
  margin: 0 auto;
  padding: 72px 0 64px;
  display: grid;
  grid-template-columns: minmax(260px, 1.15fr) 2fr;
  gap: clamp(48px, 8vw, 132px);
}
.swisstimes-footer__logo {
  display: inline-block;
  color: #fff;
  font-family: var(--st-display);
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -.04em;
}
.swisstimes-footer__brand p {
  max-width: 410px;
  margin: 18px 0 0;
  font-size: 14px;
  line-height: 1.8;
}
.swisstimes-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 40px;
}
.swisstimes-footer__nav h2 {
  margin: 0 0 20px;
  color: #fff;
  font-family: var(--st-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.swisstimes-footer__nav a {
  display: block;
  width: fit-content;
  margin: 10px 0;
  color: rgba(255,255,255,.68);
  font-size: 13px;
}
.swisstimes-footer__nav a:hover { color: #fff; }
.swisstimes-footer__bottom {
  width: var(--st-container);
  margin: 0 auto;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255,255,255,.5);
  font-size: 11px;
  letter-spacing: .04em;
}

@media (max-width: 1024px) {
  :root { --st-container: calc(100vw - 40px); }
  .swisstimes-footer__inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --st-container: calc(100vw - 28px); }
  .swisstimes-footer { margin-top: 64px; }
  .swisstimes-footer__inner { padding: 52px 0 44px; gap: 40px; }
  .swisstimes-footer__nav { grid-template-columns: 1fr 1fr; gap: 34px 22px; }
  .swisstimes-footer__bottom { flex-direction: column; gap: 8px; }
}


/* SwissTimes managed information / policy pages */
.swisstimes-managed-info-page .page-title,
.swisstimes-managed-info-page .title-wrapper {
  display: none !important;
}
.swisstimes-info-page {
  width: min(920px, calc(100vw - 48px));
  margin: clamp(54px, 8vw, 110px) auto 96px;
  color: var(--st-ink);
}
.swisstimes-info-page > h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: .98;
  font-weight: 560;
  letter-spacing: -.055em;
}
.swisstimes-info-page .swisstimes-lead {
  max-width: 720px;
  margin: 24px 0 0;
  color: var(--st-muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
}
.swisstimes-info-page .swisstimes-effective {
  margin: 18px 0 0;
  color: #8a8c86;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.swisstimes-info-page section {
  margin-top: 46px;
  padding-top: 28px;
  border-top: 1px solid var(--st-line);
}
.swisstimes-info-page section h2 {
  margin: 0 0 16px;
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.03em;
}
.swisstimes-info-page section p,
.swisstimes-info-page section li {
  color: #454843;
  font-size: 14px;
  line-height: 1.85;
}
.swisstimes-info-page section p { margin: 0 0 14px; }
.swisstimes-info-page section ul { margin: 14px 0 0 20px; }
.swisstimes-info-page section li + li { margin-top: 8px; }
.swisstimes-info-page strong { color: var(--st-ink); font-weight: 650; }
.swisstimes-info-page a { color: var(--st-green); text-decoration: underline; text-underline-offset: 3px; }
.swisstimes-contact-panel {
  padding: 28px !important;
  background: var(--st-ivory);
  border: 1px solid var(--st-line) !important;
}
.swisstimes-contact-panel h2 { font-size: 20px !important; }
.swisstimes-quote {
  margin-top: 54px;
  padding: 34px 0 0;
  border-top: 1px solid var(--st-line);
  color: var(--st-green);
  font-family: var(--st-display);
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.3;
  letter-spacing: -.035em;
}
.swisstimes-faq { margin-top: 48px; border-top: 1px solid var(--st-line); }
.swisstimes-faq details { border-bottom: 1px solid var(--st-line); }
.swisstimes-faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  cursor: pointer;
  list-style: none;
  color: var(--st-ink);
  font-size: 15px;
  font-weight: 650;
}
.swisstimes-faq summary::-webkit-details-marker { display: none; }
.swisstimes-faq summary::after {
  content: "+";
  position: absolute;
  right: 3px;
  top: 19px;
  color: var(--st-green);
  font-size: 22px;
  font-weight: 400;
}
.swisstimes-faq details[open] summary::after { content: "−"; }
.swisstimes-faq details p {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--st-muted);
  font-size: 14px;
  line-height: 1.8;
}
@media (max-width: 640px) {
  .swisstimes-info-page { width: calc(100vw - 28px); margin-top: 44px; margin-bottom: 64px; }
  .swisstimes-info-page > h1 { font-size: 40px; }
  .swisstimes-info-page section { margin-top: 36px; padding-top: 24px; }
  .swisstimes-contact-panel { padding: 22px !important; }
}


/* Accepted payment methods */
.swisstimes-payments {
  display: grid;
  gap: 14px;
}
.swisstimes-payments__label {
  color: rgba(255,255,255,.62);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.swisstimes-payments__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.swisstimes-payments__item {
  min-width: 74px;
  min-height: 42px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(17,19,16,.08);
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
  color: #111310;
  overflow: hidden;
}
.swisstimes-payments__item span,
.swisstimes-payments__item em { line-height: 1; }
.swisstimes-payments__item--visa {
  min-width: 86px;
}
.swisstimes-visa-text {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .02em;
  color: #1a1f71;
  font-style: italic;
}
.swisstimes-payments__item--mastercard {
  min-width: 128px;
  padding-inline: 10px 14px;
}
.swisstimes-mastercard-mark,
.swisstimes-maestro-mark {
  position: relative;
  width: 32px;
  height: 20px;
  flex: 0 0 32px;
}
.swisstimes-mastercard-mark i,
.swisstimes-maestro-mark i {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: block;
}
.swisstimes-mastercard-mark i:first-child { left: 0; background: #eb001b; }
.swisstimes-mastercard-mark i:last-child { right: 0; background: #f79e1b; mix-blend-mode: multiply; }
.swisstimes-mastercard-text {
  color: #1d1d1f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: lowercase;
}
.swisstimes-payments__item--maestro {
  min-width: 122px;
  padding-inline: 10px 14px;
}
.swisstimes-maestro-mark i:first-child { left: 0; background: #0099df; }
.swisstimes-maestro-mark i:last-child { right: 0; background: #ed1c2e; mix-blend-mode: multiply; }
.swisstimes-maestro-text {
  color: #1b4da1;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: lowercase;
}
.swisstimes-payments__item--amex {
  min-width: 118px;
  padding: 0 8px;
  background: #ffffff;
}
.swisstimes-amex-badge {
  width: 100%;
  min-height: 28px;
  padding: 3px 8px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  background: linear-gradient(180deg,#41b6ea 0%,#1d99d4 100%);
  border: 1px solid #187db0;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.24);
}
.swisstimes-amex-badge em {
  font-style: normal;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}
.swisstimes-payments--footer {
  margin-top: 28px;
}
.swisstimes-payments--footer .swisstimes-payments__item {
  min-height: 40px;
}
.swisstimes-payments--footer .swisstimes-payments__label {
  color: rgba(255,255,255,.58);
}
@media (max-width: 640px) {
  .swisstimes-payments__item {
    min-height: 38px;
    min-width: 70px;
    padding: 0 10px;
    border-radius: 10px;
  }
  .swisstimes-payments__item--mastercard { min-width: 116px; }
  .swisstimes-payments__item--maestro { min-width: 112px; }
  .swisstimes-payments__item--amex { min-width: 108px; }
  .swisstimes-visa-text { font-size: 18px; }
}
