/* =========================================================
   HOMEPAGE
   ========================================================= */

.sm-home {
  max-width: 1520px;
  margin: 0 auto;
}

.sm-home-section {
  margin-bottom: 28px;
}

/* =========================================================
   SHARED CARD SYSTEM
   ========================================================= */

.sm-home-card {
  background: #ffffff;
  border: 1px solid #d7e0eb;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
  overflow: hidden;
}

.sm-home-card__header {
  padding: 18px 20px 0 20px;
}

.sm-home-card__header--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.sm-home-card__body {
  padding: 16px 0px;
}

.sm-home-card__title {
  margin: 0;
  font-family: var(--font-heading, "Oswald", Arial, sans-serif);
  font-size: 2rem;
  line-height: 1;
  color: #13233a;
}

.sm-home-card__more {
  color: #163f78;
  font-weight: 700;
  text-decoration: none;
}

.sm-home-card__more:hover {
  text-decoration: underline;
}

/* =========================================================
   HERO
   ========================================================= */

.sm-home-hero__inner {
  display: grid;
  background: #ffffff;
  border: 1px solid #d7e0eb;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
  padding: 28px;
}

.sm-home-hero__kicker {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eef5fd;
  color: #2d5b92;
  border: 1px solid #cfe0f4;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.sm-home-hero__title {
  margin: 0;
  font-family: var(--font-heading, "Oswald", Arial, sans-serif);
  font-size: 4rem;
  line-height: 0.95;
  color: #13233a;
  
}

.sm-home-hero__summary {
  margin: 14px 0 0 0;
  color: #596b85;
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 760px;
}




/* =========================================================
   SPORT GRID
   ========================================================= */

.sm-sport-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}


.sm-sport-card__title {
  margin: 0;
  font-family: var(--font-heading, "Oswald", Arial, sans-serif);
  font-size: 1.8rem;
  line-height: 1;
  color: #13233a;
}

.sm-sport-card__meta {
  margin-top: 6px;
  color: #7a8aa1;
  font-size: 0.9rem;
}

.sm-sport-card {
  border: 1px solid #d7e0eb;
  border-radius: 12px;
  background: #ffffff;
  padding: 14px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sm-sport-card__summary {
  margin: 14px 0 16px 0;
  color: #596b85;
  line-height: 1.5;
  flex: 1 1 auto;
}

.sm-sport-card__links {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.sm-sport-card__links a {
  color: #163f78;
  text-decoration: none;
  font-weight: 700;
}

.sm-sport-card__links a:hover {
  text-decoration: underline;
}

/* =========================================================
   SEASON OUTLOOK SNAPSHOTS
   ========================================================= */

.sm-outlook-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sm-outlook-card {
  border: 1px solid #d7e0eb;
  border-radius: 12px;
  background: #ffffff;
  padding: 14px;
}

.sm-outlook-card__title {
  margin: 0 0 12px 0;
  font-family: var(--font-heading, "Oswald", Arial, sans-serif);
  font-size: 1.6rem;
  line-height: 1;
  color: #13233a;
}

.sm-outlook-card__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid #edf2f7;
  color: #5d6f88;
}

.sm-outlook-card__row strong {
  color: #13233a;
  font-weight: 800;
}

.sm-outlook-card__link {
  display: inline-block;
  margin-top: 14px;
  color: #163f78;
  font-weight: 700;
  text-decoration: none;
}

.sm-outlook-card__link:hover {
  text-decoration: underline;
}

/* =========================================================
   SNAPSHOTS
   ========================================================= */

.sm-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sm-snapshot-card {
  border: 1px solid #d7e0eb;
  border-radius: 12px;
  background: #ffffff;
  padding: 14px;
}

.sm-snapshot-card__title {
  margin: 0 0 12px 0;
  font-family: var(--font-heading, "Oswald", Arial, sans-serif);
  font-size: 1.6rem;
  line-height: 1;
  color: #13233a;
}

.sm-snapshot-card__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid #edf2f7;
  color: #5d6f88;
}

.sm-snapshot-card__row strong {
  color: #13233a;
  font-weight: 800;
}

.sm-snapshot-card__link {
  display: inline-block;
  margin-top: 14px;
  color: #163f78;
  font-weight: 700;
  text-decoration: none;
}

.sm-snapshot-card__link:hover {
  text-decoration: underline;
}

/* =========================================================
   FEATURES
   ========================================================= */

.sm-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sm-feature-card {
  border: 1px solid #d7e0eb;
  border-radius: 12px;
  background: #ffffff;
  padding: 14px;
}

.sm-feature-card__title {
  margin: 0 0 10px 0;
  font-family: var(--font-heading, "Oswald", Arial, sans-serif);
  font-size: 1.5rem;
  line-height: 1;
  color: #13233a;
}

.sm-feature-card__text {
  margin: 0;
  color: #596b85;
  line-height: 1.5;
}

/* =========================================================
   LINK PANELS
   ========================================================= */

.sm-link-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.sm-link-panel {
  border: 1px solid #d7e0eb;
  border-radius: 12px;
  background: #ffffff;
  padding: 14px;
}

.sm-link-panel__title {
  margin: 0 0 14px 0;
  font-family: var(--font-heading, "Oswald", Arial, sans-serif);
  font-size: 1.6rem;
  line-height: 1;
  color: #13233a;
}

.sm-link-panel a {
  display: block;
  margin: 0 0 12px 0;
  color: #163f78;
  text-decoration: none;
  font-weight: 700;
}

.sm-link-panel a:hover {
  text-decoration: underline;
}

/* =========================================================
   METHOD STRIP
   ========================================================= */

.sm-home-method {
  margin-top: 4px;
}

.sm-home-method__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid #d7e0eb;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.05);
  padding: 22px 24px;
}

.sm-home-method__title {
  margin: 0 0 8px 0;
  font-family: var(--font-heading, "Oswald", Arial, sans-serif);
  font-size: 2rem;
  line-height: 1;
  color: #13233a;
}

.sm-home-method__text {
  margin: 0;
  color: #596b85;
  line-height: 1.5;
  max-width: 860px;
}

.sm-home-method__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 42px;
  padding: 0 16px;
  border: 1px solid #163f78;
  border-radius: 999px;
  background: #ffffff;
  color: #163f78;
  text-decoration: none;
  font-weight: 800;
}

.sm-home-method__link:hover {
  text-decoration: underline;
}

/* =========================================================
   MATCHUP TILE HELPERS
   ========================================================= */

.sm-home-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #163f78;
  border-radius: 999px;
  background: #ffffff;
  color: #163f78;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
}

.sm-home-link-btn:hover {
  text-decoration: underline;
}

.sm-matchup-tile__helmet--dot {
  width: 46px;
  height: 46px;
  display: block;
  border-radius: 50%;
  border: 1px solid #d7e0eb;
  position: relative;
  overflow: hidden;
  margin: 0 auto 4px auto;
}

.sm-matchup-tile__helmet--dot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--helmet-main, #1f4c8f);
}

.sm-matchup-tile__helmet--dot::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  right: 2px;
  bottom: 2px;
  border-radius: 50%;
  background: var(--helmet-accent, #ffffff);
  border: 1px solid rgba(255,255,255,0.5);
}

.ravens { --helmet-main: #241773; --helmet-accent: #9E7C0C; }
.chiefs { --helmet-main: #E31837; --helmet-accent: #FFB81C; }
.bills { --helmet-main: #00338D; --helmet-accent: #C60C30; }
.bengals { --helmet-main: #FB4F14; --helmet-accent: #000000; }
.eagles { --helmet-main: #004C54; --helmet-accent: #A5ACAF; }
.cowboys { --helmet-main: #003594; --helmet-accent: #869397; }
.niners { --helmet-main: #AA0000; --helmet-accent: #B3995D; }
.seahawks { --helmet-main: #002244; --helmet-accent: #69BE28; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1180px) {
  .sm-sport-grid,
  .sm-snapshot-grid,
  .sm-feature-grid,
  .sm-outlook-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sm-home-hero__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {


  .sm-home-hero__inner,

  .sm-home-method__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sm-home-card__header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sm-home-hero__inner {
    padding: 16px;
  }

  .sm-home-hero__title {
    font-size: 2.6rem;
  }

  .sm-home-card__title,
  .sm-home-method__title {
    font-size: 1.75rem;
  }

  .sm-sport-grid,
  .sm-snapshot-grid,
  .sm-feature-grid,
  .sm-link-panels,
  .sm-outlook-grid {
    grid-template-columns: 1fr;
  }

  .sm-matchup-tile__helmet--dot {
    width: 40px;
    height: 40px;
  }
}