/* ============================================================
   Skin « MSN Canada » — loaded after style.css.
   Only the shell + section colours are touched. Business
   scripts (countdown / date) stay as they are.
   ============================================================ */

:root {
  --msn-blue: #0078D4;
  --msn-blue-dark: #106EBE;
  --msn-ink: #1b1b1b;
  --msn-muted: #616161;
  --msn-border: #e6e6e6;
  --msn-soft: #F3F9FE;
  --msn-soft-2: #EAF4FD;
  --msn-gray: #f7f7f7;
}

html, body { background: #fff; }

body, body * {
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body { color: var(--msn-ink); }

a { color: var(--msn-blue); }

/* ------------------------------------------------------------
   MSN header
   ------------------------------------------------------------ */
.msn-header {
  position: relative;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--msn-border);
}

.msn-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.msn-topbar {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 64px;
}

.msn-menu {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.msn-menu span {
  display: block;
  width: 18px;
  height: 2px;
  background: #444;
  border-radius: 1px;
}

.msn-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex: 0 0 auto;
}
.msn-logo__mark {
  display: grid;
  grid-template-columns: 7px 7px;
  grid-template-rows: 7px 7px;
  gap: 2px;
  margin-right: 2px;
}
.msn-logo__dot { display: block; border-radius: 2px; }
.msn-logo__dot--a { background: #0078D4; }
.msn-logo__dot--b { background: #50B4F0; }
.msn-logo__dot--c { background: #FFB900; }
.msn-logo__dot--d { background: #E74856; }

.msn-logo__word {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.6px;
  color: var(--msn-blue);
}
.msn-logo__divider {
  width: 1px;
  height: 20px;
  background: #d6d6d6;
  margin: 0 2px;
}
.msn-logo__country {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.2px;
}

.msn-nav {
  display: flex;
  align-items: stretch;
  gap: 16px;
  height: 64px;
  overflow-x: auto;
  scrollbar-width: none;
}
.msn-nav::-webkit-scrollbar { display: none; }
.msn-nav a {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0;
  border-bottom: 3px solid transparent;
  color: #262626;
  font-size: 13.5px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}
.msn-nav a:hover { color: var(--msn-blue); }
.msn-nav a.is-active {
  color: var(--msn-blue);
  font-weight: 600;
  border-bottom-color: var(--msn-blue);
}

.msn-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex: 0 0 auto;
}

.msn-search {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 190px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #d9d9d9;
  border-radius: 18px;
  background: #fff;
  color: #6b6b6b;
}
.msn-search:focus-within { border-color: var(--msn-blue); }
.msn-search input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
  color: #1b1b1b;
}
.msn-search input::placeholder { color: #8a8a8a; }

.msn-weather {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #333;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.msn-weather strong { font-size: 14px; color: #111; }

.msn-signin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #333;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.msn-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eef4fa;
  color: var(--msn-blue);
}

.msn-subbar {
  background: #f8f8f8;
  border-top: 1px solid var(--msn-border);
}
.msn-subnav {
  display: flex;
  gap: 26px;
  height: 42px;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}
.msn-subnav::-webkit-scrollbar { display: none; }
.msn-subnav a {
  flex: 0 0 auto;
  color: #4a4a4a;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding: 11px 0;
  white-space: nowrap;
}
.msn-subnav a:hover { color: var(--msn-blue); }
.msn-subnav a.is-active {
  color: var(--msn-blue);
  font-weight: 600;
  border-bottom-color: var(--msn-blue);
}

/* ------------------------------------------------------------
   Article column
   ------------------------------------------------------------ */
.msn-article { background: #fff; }
.msn-article .container {
  max-width: 760px;
  padding: 0 20px;
  overflow: visible;
}

.msn-breadcrumb-wrap {
  border-bottom: 1px solid #f0f0f0;
  background: #fff;
}
.msn-breadcrumb {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 0;
  font-size: 12px;
  color: var(--msn-muted);
}
.msn-breadcrumb a { color: var(--msn-muted); text-decoration: none; }
.msn-breadcrumb a:hover { color: var(--msn-blue); text-decoration: underline; }
.msn-breadcrumb span { color: #bbb; }
.msn-breadcrumb__current { color: #333; }

.msn-kicker {
  margin: 30px 0 10px;
  color: var(--msn-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.msn-byline {
  margin: 16px 0 0;
  color: var(--msn-muted);
  font-size: 13px;
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
section {
  padding: 28px 0;
  border-bottom: 1px solid #efefef;
  background: #fff;
}

.hero { padding: 0 0 24px; text-align: left; background: #fff; }
.hero::after { display: none; }
.hero h1 {
  margin: 0 0 14px;
  color: #0f0f0f;
  font-size: 33px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: -0.4px;
  text-align: left;
}
.hero .subhead {
  margin: 0 0 18px;
  color: #3f3f3f;
  font-size: 18px;
  line-height: 1.55;
}
.hero .highlights {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0 0 6px;
  padding: 0;
}
.hero .highlights li {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 26px;
  color: #222;
  font-size: 16px;
  text-align: left;
}
.hero .highlights li::before { content: '\2714'; color: var(--msn-blue); }

.problem::before,
.discovery::before,
.urgency::after,
.plans::before { display: none; }

.problem { background: #fff; }
.problem h2 { color: #0f0f0f; font-size: 24px; line-height: 1.3; }
.problem ul li::before { color: var(--msn-blue); }
.problem .highlight { color: var(--msn-blue); }

.discovery {
  background: var(--msn-soft);
  border-radius: 8px;
  padding: 28px 26px;
}
.discovery h2 { color: #0f0f0f; font-size: 24px; line-height: 1.3; }
.discovery .ticks li::before {
  background-image: url('data:image/svg+xml,%3Csvg fill="%230078D4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3E%3Cpath d="M6.173 12.927L1.102 7.856l1.414-1.414 3.657 3.657L13.485 2.786l1.414 1.414z"/%3E%3C/svg%3E');
}

.blocked {
  background: var(--msn-soft);
  border-left: 4px solid var(--msn-blue);
  padding: 28px 26px;
}
.blocked h2 { color: #0f0f0f; font-size: 24px; line-height: 1.3; }
.blocked ul li::before {
  top: 2px;
  width: 18px;
  height: 18px;
  background-image: url('data:image/svg+xml,%3Csvg fill="%230078D4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3E%3Cpath d="M6.173 12.927L1.102 7.856l1.414-1.414 3.657 3.657L13.485 2.786l1.414 1.414z"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-size: contain;
}

.visceral-danger {
  background: var(--msn-soft);
  border-left: 4px solid var(--msn-blue);
  border-radius: 8px;
  box-shadow: none;
  padding: 28px 26px;
  margin-bottom: 0;
}
.visceral-danger h2 { color: #0f0f0f; font-size: 24px; text-align: left; }
.highlight-note {
  background: #DCEBFB;
  border-left: 4px solid var(--msn-blue);
  box-shadow: none;
}

.precision {
  background: #fff;
  border-left: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 28px 0;
}
.precision h2 { color: #0f0f0f; font-size: 24px; text-align: left; }

.compare { background: #fff; }
.compare h2 { color: #0f0f0f; font-size: 24px; line-height: 1.3; }
.compare-grid { gap: 16px; }
.compare-card {
  background: var(--msn-gray);
  border-radius: 8px;
  box-shadow: none;
}
.compare-card.danger { background: #f5f5f5; }
.compare-card.success { background: var(--msn-soft-2); border: 1px solid #C7E0F4; }
.compare-card h3 { color: #0f0f0f; }
.compare-card ul li::before { color: var(--msn-blue); }
.compare-card.danger ul li::before { color: #C62828; }

.beforeafter { background: #fff; text-align: left; }
.beforeafter h2 { color: #0f0f0f; font-size: 24px; line-height: 1.3; text-align: left; }
.beforeafter .slide {
  width: 360px;
  flex: 0 0 360px;
  border: 1px solid #ededed;
  border-radius: 8px;
  box-shadow: none;
}
.beforeafter .slide img {
  height: auto;
  object-fit: contain;
}
.beforeafter .carousel { scrollbar-color: var(--msn-blue) #fff; }
.beforeafter .carousel::-webkit-scrollbar-thumb { background-color: var(--msn-blue); }

.doctor { background: #fff; }
.doctor__wrap { background: var(--msn-gray); border-radius: 8px; padding: 24px; }
.doctor-text h2 { color: #0f0f0f; }
.doctor-img { border-radius: 6px; }

/* style.css has no Glucavit-* rules (class drift from older template) */
.Glucavit-benefit {
  background: var(--msn-soft);
  border-radius: 8px;
  padding: 28px 26px;
}
.Glucavit-benefit h2 {
  color: #0f0f0f;
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 14px;
}
.Glucavit-offer { background: #fff; }
.Glucavit-offer h2 {
  color: #0f0f0f;
  font-size: 24px;
  line-height: 1.3;
  margin-bottom: 14px;
}

.urgency {
  background: var(--msn-soft);
  border-radius: 8px;
  box-shadow: none;
  padding: 28px 26px;
  text-align: left;
}
.urgency h2 {
  color: #0f0f0f;
  font-size: 24px;
  text-transform: none;
  letter-spacing: 0;
}
.urgency p { background: #DCEBFB; border-radius: 6px; }

.plans {
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  padding: 28px 0;
  text-align: left;
}
.plans h2 { color: #0f0f0f; font-size: 24px; line-height: 1.3; }

/* ------------------------------------------------------------
   Offer block + MSN site footer
   ------------------------------------------------------------ */
.footer {
  background: var(--msn-gray);
  padding: 36px 20px;
}
.footer .btn-primary {
  margin: 18px 0 22px;
  padding: 13px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
}
.footer p { color: #444; font-size: 14px; }
#endPromotionTimer { color: var(--msn-blue) !important; font-weight: 700; }

.btn-primary {
  background: var(--msn-blue);
  border-radius: 4px;
  animation: pulse 3s infinite;
}
.btn-primary:hover { background: var(--msn-blue-dark); }

.msn-footer {
  background: #f2f2f2;
  border-top: 1px solid #e2e2e2;
  padding: 34px 0 26px;
}
.msn-footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.msn-footer__brand { max-width: 260px; }
.msn-footer__brand .msn-logo__word { font-size: 26px; }
.msn-footer__brand .msn-logo__country { margin-left: 6px; }
.msn-footer__brand p {
  margin: 10px 0 0;
  color: #6b6b6b;
  font-size: 12px;
  line-height: 1.5;
}
.msn-footer__col h4 {
  margin: 0 0 10px;
  color: #333;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.msn-footer__col a {
  display: block;
  margin: 6px 0;
  color: #555;
  font-size: 13px;
  text-decoration: none;
}
.msn-footer__col a:hover { color: var(--msn-blue); text-decoration: underline; }

.msn-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  justify-content: space-between;
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid #ddd;
  color: #767676;
  font-size: 12px;
}
.msn-footer__legal-links { display: flex; gap: 18px; }
.msn-footer__legal-links a { color: #555; text-decoration: none; }
.msn-footer__legal-links a:hover { color: var(--msn-blue); text-decoration: underline; }

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1180px) {
  .msn-nav { gap: 14px; }
  .msn-search { width: 150px; }
}

@media (max-width: 1020px) {
  .msn-nav { display: none; }
}

@media (max-width: 900px) {
  .visceral-content,
  .precision-content { text-align: left; }
  .visceral-img,
  .precision-img { margin-left: 0; margin-right: auto; }
}

@media (max-width: 560px) {
  .beforeafter .slide {
    width: 100%;
    flex: 0 0 100%;
  }
}

@media (max-width: 760px) {
  .msn-container { padding: 0 16px; }
  .msn-topbar { height: 58px; gap: 14px; }
  .msn-search, .msn-weather { display: none; }
  .msn-logo__word { font-size: 26px; }
  .msn-signin { font-size: 0; gap: 0; }
  .msn-avatar { width: 30px; height: 30px; }
  .msn-subnav { gap: 20px; height: 40px; }
  .hero h1 { font-size: 27px; }
  .hero .subhead { font-size: 17px; }
  .doctor__wrap { padding: 18px; }
  .msn-footer__grid { gap: 28px; }
  .msn-footer__legal { flex-direction: column; }
}
