/*
 * Template: header-with-logo-no-footer-template
 *
 * Nav:    DishTV logo only (no hamburger, no sections, no tools)
 * Footer: NONE — suppressed entirely
 *
 * Loaded by: scripts.js → loadTemplate()
 * When:      page metadata → template = header-with-logo-no-footer-template
 */

/* ==========================================================================
   DESIGN TOKENS
   ========================================================================== */

body.header-with-logo-no-footer-template {
  --lp-color-black: #000000;
  --lp-color-dark: #202020;
  --lp-color-mid: #b1b1b1;
  --lp-color-light: #e4e4e4;
  --lp-color-white: #ffffff;
  --lp-color-orange: #e85d26;

  --lp-font: Roboto, sans-serif;
  --lp-font-size-xs: 12px;
  --lp-font-size-sm: 14px;
  --lp-font-size-md: 16px;
  --lp-font-size-base: 18px;

  --lp-line-height-xs: 14.06px;
  --lp-line-height-sm: 16.41px;
  --lp-line-height-md: 19.2px;
  --lp-line-height-base: 21.6px;

  --f-button-active-bg: #d0d0d0;
  --f-button-bg: #f8f8f8;
  --f-button-border: 0;
  --f-button-border-radius: 0;
  --f-button-color: #374151;
  --f-button-height: 40px;
  --f-button-hover-bg: #e0e0e0;
  --f-button-shadow: none;
  --f-button-svg-disabled-opacity: 0.65;
  --f-button-svg-fill: none;
  --f-button-svg-filter: none;
  --f-button-svg-height: 20px;
  --f-button-svg-stroke-width: 1.5;
  --f-button-svg-width: 20px;
  --f-button-transform: none;
  --f-button-transition: all 0.15s ease;
  --f-button-width: 40px;

  --f-spinner-color-1: rgb(0 0 0 / 10%);
  --f-spinner-color-2: rgb(17 24 28 / 80%);
  --f-spinner-height: 36px;
  --f-spinner-stroke: 2.75;
  --f-spinner-width: 36px;
}

/* ==========================================================================
   PAGE LAYOUT
   ========================================================================== */

body.header-with-logo-no-footer-template {
  background-color: var(--lp-color-white);
  color: var(--lp-color-black);
  font-family: var(--lp-font);
  font-size: var(--lp-font-size-base);
  line-height: var(--lp-line-height-base);
}

body.header-with-logo-no-footer-template main {
  max-width: 100%;
  margin: 0;
  padding: 0;
  color: #000000;
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 21.6px;
}

body.header-with-logo-no-footer-template .section:first-of-type {
  padding-top: 0;
}

/* ==========================================================================
   FOOTER — suppress entirely
   scripts.js always calls loadFooter(); hide it here
   ========================================================================== */

body.header-with-logo-no-footer-template footer {
  display: none !important;
}

/* ==========================================================================
   NAV — logo only, all other nav elements hidden
   ========================================================================== */

body.header-with-logo-no-footer-template header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: none;
  border-bottom: none;
  height: 84px;
  margin-bottom: 0 !important;
}

body.header-with-logo-no-footer-template .nav-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  height: 84px !important;
  padding: 18px 28.8px 0 !important;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  width: 100%;
}

body.header-with-logo-no-footer-template .nav-brand {
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  order: 0;
}

body.header-with-logo-no-footer-template .nav-brand img,
body.header-with-logo-no-footer-template .nav-brand .nav-brand-logo img,
body.header-with-logo-no-footer-template .nav-brand a img {
  width: auto !important;
  height: 44px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

/* Hide everything except the logo */
body.header-with-logo-no-footer-template .nav-topbar,
body.header-with-logo-no-footer-template .nav-hamburger,
body.header-with-logo-no-footer-template .nav-mobile-tools,
body.header-with-logo-no-footer-template .nav-sections,
body.header-with-logo-no-footer-template .nav-tools,
body.header-with-logo-no-footer-template .nav-caret,
body.header-with-logo-no-footer-template .nav-mobile-home-cta {
  display: none !important;
}

/* ==========================================================================
   MOBILE (≤ 900px)
   ========================================================================== */

@media (width <= 900px) {
  body.header-with-logo-no-footer-template header {
    height: 60px;
  }

  body.header-with-logo-no-footer-template .nav-wrapper {
    height: 60px !important;
    padding: 0 16px !important;
    align-items: center !important;
  }

  body.header-with-logo-no-footer-template .nav-brand img,
  body.header-with-logo-no-footer-template .nav-brand .nav-brand-logo img,
  body.header-with-logo-no-footer-template .nav-brand a img {
    height: 40px !important;
  }

  body.header-with-logo-no-footer-template #nav {
    padding: 0 !important;
  }
}
