/* Site header and footer: one definition for every layout, at every width.
   Loaded last in each layout's head. The markup is partials/site-header.hbs and partials/site-footer.hbs.
   Every property a page stylesheet might set on header, nav, footer, a, img or button is stated here,
   so the header and footer do not vary with the stylesheets a layout happens to load. */

body .sdc-header, body .sdc-header *, body .sdc-footer, body .sdc-footer * { box-sizing: border-box; }

body .sdc-header, body .sdc-footer {
  width: calc(100% - 112px);
  max-width: 1360px;
  min-width: 0;
  margin: 0 auto;
  float: none;
  position: static;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: Inter, system-ui, sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
  text-transform: none;
  text-align: left;
  font-synthesis: none;
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
}

/* Header */
body .sdc-header {
  height: 105px;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid #d9dfd5;
  color: #172a27;
  font-size: 15px;
}
body .sdc-header .sdc-brand {
  display: block;
  flex: none;
  width: 222px;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
  color: inherit;
  text-decoration: none;
}
body .sdc-header .sdc-brand img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
}
body .sdc-header .sdc-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 15px;
  font-weight: 400;
  line-height: normal;
}
body .sdc-header .sdc-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  opacity: 1;
}
body .sdc-header .sdc-search-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  gap: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
body .sdc-header .sdc-search-open svg { display: block; width: 20px; height: 20px; }

/* Hover, keyboard focus and the current section look the same everywhere. */
body .sdc-header .sdc-nav a:hover,
body .sdc-header .sdc-search-open:hover,
body .sdc-footer nav a:hover { color: #27664e; background: none; text-decoration: none; }
body .sdc-header .sdc-nav a:focus-visible,
body .sdc-header .sdc-search-open:focus-visible,
body .sdc-header .sdc-brand:focus-visible,
body .sdc-footer nav a:focus-visible { outline: 2px solid #27664e; outline-offset: 3px; }
body .sdc-header .sdc-nav a[aria-current],
body.standard-product-page .sdc-nav a[href="/decks/"],
body.page-decks .sdc-nav a[href="/decks/"],
body.page-library .sdc-nav a[href="/library/"],
body.tag-hash-library .sdc-nav a[href="/library/"],
body[class*="tag-library-"] .sdc-nav a[href="/library/"],
body.reviews-studio:not(.page-guides):not(.page-articles):not(.tag-hash-guide):not(.tag-hash-article) .sdc-nav a[href="/reviews/"],
body.page-guides .sdc-nav a[href="/articles/"],
body.page-articles .sdc-nav a[href="/articles/"],
body.tag-hash-guide .sdc-nav a[href="/articles/"],
body.tag-hash-article .sdc-nav a[href="/articles/"],
body.page-account .sdc-nav a[href="/account/"] { color: #27664e; }

/* Footer */
body .sdc-footer {
  height: auto;
  min-height: 0;
  padding: 28px 0 32px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-top: 1px solid #d9dfd5;
  color: #63736d;
  font-size: 13px;
}
body .sdc-footer > span { display: block; margin: 0; padding: 0; color: inherit; font: inherit; white-space: nowrap; }
body .sdc-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0 24px;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 400;
  line-height: normal;
}
body .sdc-footer nav a {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-width: 0;
  height: auto;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  opacity: 1;
}

@media (max-width: 1150px) {
  body .sdc-header, body .sdc-footer { width: calc(100% - 72px); }
}
@media (max-width: 650px) {
  body .sdc-header, body .sdc-footer { width: calc(100% - 40px); }
  body .sdc-header { height: 84px; gap: 16px; }
  body .sdc-header .sdc-brand { width: 146px; }
  body .sdc-header .sdc-nav { gap: 13px; font-size: 12px; }
  body .sdc-header .sdc-search-open { width: 30px; min-width: 30px; }
  body .sdc-footer { display: block; padding: 23px 0 29px; }
  body .sdc-footer nav { justify-content: flex-start; gap: 0 18px; margin-top: 8px; }
}
@media (max-width: 480px) {
  body .sdc-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 91px;
    padding: 15px 0 8px;
    gap: 7px;
  }
  body .sdc-header .sdc-brand { width: 128px; }
  body .sdc-header .sdc-nav { justify-content: space-between; gap: 6px; font-size: 12px; }
  body .sdc-header .sdc-nav a { padding: 0 2px; }
}
@media (max-width: 360px) {
  body .sdc-header, body .sdc-footer { width: calc(100% - 32px); }
  body .sdc-header .sdc-nav { gap: 2px; }
  body .sdc-header .sdc-nav a { padding: 0 1px; }
  body .sdc-header .sdc-search-open { width: 28px; min-width: 28px; }
}

/* covers v2: transparent artwork sits on the page, no tinted image area */
.catalog-cover{background:transparent}.catalog-cover img,.deck-image img,.product-cover img,.standard-cover img{object-fit:contain;border:0;background:transparent}

/* 1.18.3: homepage specialist decks three across; product page cover larger and centered */
.deck-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:44px 36px}
.deck-card>p{max-width:none}
@media(max-width:1150px){.deck-grid{gap:38px 28px}}
@media(max-width:900px){.deck-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 25px}}
@media(max-width:560px){.deck-grid{grid-template-columns:1fr;gap:34px}.deck-card>p,.d2 .deck-card>p{font-size:15px}}
.product-package-grid{grid-template-columns:1fr 1.08fr;gap:68px}
.product-cover,.product-package-intro .product-cover{max-width:560px;margin:38px auto 0}
.product-cover img{display:block;width:100%;height:auto}
@media(max-width:900px){.product-package-grid{grid-template-columns:1fr;gap:36px}.product-package-intro .product-cover{max-width:none;margin:0;align-self:center}}
@media(max-width:650px){.product-package-intro .product-cover{max-width:520px;margin:26px auto 0}}
/* the package section is dark in each deck's own color, so the cover sits on a page-colored plate there */
.product-package .product-cover{background:#faf9f5;border-radius:10px;padding:30px 30px 22px;box-sizing:border-box}
@media(max-width:650px){.product-package .product-cover{padding:20px 20px 14px;border-radius:8px}}
@media(max-width:560px){.deck-heading,.d2 .deck-heading{display:flex;flex-direction:row;justify-content:space-between;align-items:baseline;gap:12px}.deck-heading span{margin:0}}
@media(max-width:560px){.studio-refined .deck-heading h3,.deck-heading h3,.d2 .deck-heading h3{min-height:0;margin-bottom:0;font-size:20px}.deck-heading>span{display:inline;font-size:15px}.deck-heading{margin-bottom:10px}}
