/**
 * TASMAC Near Me
 * Footer styles
 */

/* --------------------------------------------------
 * Footer
 * -------------------------------------------------- */

.site-footer {
  width: 100%;
  margin-top: auto;

  background: var(--white);
  border-top: 1px solid var(--border-color);
}

/* --------------------------------------------------
 * Footer inner
 * -------------------------------------------------- */

.site-footer__inner {
  width: 100%;
  max-width: var(--container-width);

  margin: 0 auto;
  padding: 40px 20px 24px;
}

/* --------------------------------------------------
 * Footer columns
 * -------------------------------------------------- */

.site-footer__columns {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

/* --------------------------------------------------
 * Footer branding
 * -------------------------------------------------- */

.site-footer__branding {
  max-width: 360px;
}

.site-footer__logo {
  display: block;

  width: auto;
  max-width: 1000px;
  max-height: 150px;

  margin-bottom: 16px;
}

.site-footer__description {
  margin: 0;

  color: var(--text-secondary);

  font-size: 14px;
  line-height: 1.7;
}

/* --------------------------------------------------
 * Footer headings
 * -------------------------------------------------- */

.site-footer__heading {
  margin: 0 0 14px;

  color: var(--text-primary);

  font-size: 15px;
  font-weight: 700;
}

/* --------------------------------------------------
 * Footer navigation
 * -------------------------------------------------- */

.site-footer__menu {
  margin: 0;
  padding: 0;

  list-style: none;
}

.site-footer__menu li {
  margin: 0 0 8px;
  padding: 0;
}

.site-footer__menu a {
  color: var(--text-secondary);

  font-size: 14px;
  text-decoration: none;

  transition: color 0.2s ease;
}

.site-footer__menu a:hover {
  color: var(--tasmac-red);
}

/* --------------------------------------------------
 * Footer contact
 * -------------------------------------------------- */

.site-footer__contact {
  margin: 0;
  padding: 0;

  list-style: none;
}

.site-footer__contact li {
  margin-bottom: 8px;

  color: var(--text-secondary);

  font-size: 14px;
}

.site-footer__contact a {
  color: var(--text-secondary);
  text-decoration: none;
}

.site-footer__contact a:hover {
  color: var(--tasmac-red);
}

/* --------------------------------------------------
 * Government disclaimer (Highlighted)
 * -------------------------------------------------- */

.site-footer__disclaimer {
  margin-top: 24px;
  padding: 16px 20px;

  border: 1px solid rgba(217, 119, 6, 0.25);
  border-left: 4px solid #d97706;
  border-radius: var(--radius-md);

  background-color: rgba(254, 243, 199, 0.4);

  color: var(--text-secondary);

  font-size: 13px;
  line-height: 1.6;
}

.site-footer__disclaimer strong {
  display: inline-block;
  margin-right: 4px;

  color: #b45309;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.site-footer__disclaimer p {
  margin: 0 0 6px 0;
}

.site-footer__disclaimer p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------
 * Footer bottom
 * -------------------------------------------------- */

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin-top: 24px;
  padding-top: 20px;

  border-top: 1px solid var(--border-color);
}

.site-footer__copyright {
  margin: 0;

  color: var(--text-muted);

  font-size: 13px;
}

/* --------------------------------------------------
 * Footer legal links
 * -------------------------------------------------- */

.site-footer__legal {
  display: flex;
  align-items: center;
  gap: 20px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.site-footer__legal a {
  color: var(--text-muted);

  font-size: 13px;
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: var(--tasmac-red);
}

/* --------------------------------------------------
 * Responsive
 * -------------------------------------------------- */

@media (max-width: 768px) {
  .site-footer__inner {
    padding: 32px 16px 20px;
  }

  .site-footer__columns {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .site-footer__branding {
    grid-column: 1 / -1;
    max-width: none;
  }

  .site-footer__disclaimer {
    padding: 14px 16px;
    font-size: 12px;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .site-footer__inner {
    padding-right: 12px;
    padding-left: 12px;
  }

  .site-footer__columns {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .site-footer__branding {
    grid-column: auto;
  }

  .site-footer__bottom {
    gap: 12px;
  }

  .site-footer__legal {
    flex-wrap: wrap;
    gap: 12px 18px;
  }
}


/* ==========================================
   TASMAC Near Me - Disclaimer Page
   Brand: #c8102e
   Background: #ffffff
   ========================================== */

.disclaimer-page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 55px 25px 80px;
  color: #252525;
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.75;
}

/* ------------------------------------------
   Main Heading
   ------------------------------------------ */

.disclaimer-page h1 {
  margin: 0;
  padding: 0 0 16px;
  font-size: 42px;
  line-height: 1.2;
  font-weight: 750;
  color: #1f1f1f;
  letter-spacing: -0.6px;
  position: relative;
}

/* Red underline */
.disclaimer-page h1::after {
  content: "";
  display: block;
  width: 55px;
  height: 4px;
  margin-top: 18px;
  background: #c8102e;
  border-radius: 3px;
}


/* ------------------------------------------
   Last Updated
   ------------------------------------------ */

.disclaimer-page > p:first-of-type {
  margin: 18px 0 45px;
  color: #777;
  font-size: 14px;
}

.disclaimer-page > p:first-of-type strong {
  color: #333;
}


/* ------------------------------------------
   Section
   ------------------------------------------ */

.disclaimer-page h2 {
  margin: 38px 0 13px;
  padding-left: 16px;
  border-left: 4px solid #c8102e;

  font-size: 21px;
  line-height: 1.4;
  font-weight: 700;
  color: #222;
}


/* ------------------------------------------
   Paragraphs
   ------------------------------------------ */

.disclaimer-page p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.disclaimer-page strong {
  color: #292929;
  font-weight: 650;
}

.disclaimer-page em {
  color: #444;
}


/* ------------------------------------------
   Section separators
   ------------------------------------------ */

.disclaimer-page h2:not(:first-of-type) {
  padding-top: 10px;
}


/* ------------------------------------------
   Important text
   ------------------------------------------ */

.disclaimer-page h2:nth-of-type(2) + p strong:first-child {
  color: #c8102e;
}


/* ------------------------------------------
   Links
   ------------------------------------------ */

.disclaimer-page a {
  color: #c8102e;
  text-decoration: none;
  font-weight: 600;
}

.disclaimer-page a:hover {
  text-decoration: underline;
}


/* ------------------------------------------
   Final section
   ------------------------------------------ */

.disclaimer-page h2:last-of-type {
  margin-top: 45px;
}


/* ------------------------------------------
   Mobile
   ------------------------------------------ */

@media (max-width: 767px) {

  .disclaimer-page {
    padding: 35px 18px 55px;
  }

  .disclaimer-page h1 {
    font-size: 32px;
    letter-spacing: -0.3px;
  }

  .disclaimer-page h1::after {
    width: 45px;
    height: 3px;
    margin-top: 14px;
  }

  .disclaimer-page > p:first-of-type {
    margin-bottom: 35px;
  }

  .disclaimer-page h2 {
    margin-top: 30px;
    padding-left: 12px;
    border-left-width: 3px;
    font-size: 18px;
  }

  .disclaimer-page p {
    font-size: 15px;
    line-height: 1.75;
  }
}

/* ==========================================
   TASMAC Near Me - Privacy Policy
   Brand: #c8102e
   Background: #ffffff
   ========================================== */

.privacy-policy {
  max-width: 1000px;
  margin: 0 auto;
  padding: 55px 25px 80px;
  color: #252525;
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.75;
}


/* ==========================================
   Page Heading
   ========================================== */

.privacy-policy h1 {
  margin: 0;
  padding: 0 0 16px;

  font-size: 42px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -0.6px;

  color: #1f1f1f;
}


/* Red accent underneath heading */

.privacy-policy h1::after {
  content: "";
  display: block;

  width: 55px;
  height: 4px;

  margin-top: 18px;

  background: #c8102e;
  border-radius: 3px;
}


/* ==========================================
   Effective / Last Updated
   ========================================== */

.privacy-policy > p:first-of-type,
.privacy-policy > p:nth-of-type(2) {
  margin: 14px 0 0;

  font-size: 14px;
  line-height: 1.6;
  color: #777;
}

.privacy-policy > p:nth-of-type(2) {
  margin-bottom: 40px;
}

.privacy-policy > p:first-of-type strong,
.privacy-policy > p:nth-of-type(2) strong {
  color: #333;
}


/* ==========================================
   Introduction
   ========================================== */

.privacy-policy > p:nth-of-type(3) {
  margin-bottom: 42px;

  font-size: 16px;
  line-height: 1.8;
  color: #555;
}


/* ==========================================
   Section Headings
   ========================================== */

.privacy-policy h2 {
  margin: 38px 0 15px;
  padding-left: 16px;

  border-left: 4px solid #c8102e;

  font-size: 21px;
  line-height: 1.4;
  font-weight: 700;

  color: #222;
}


/* ==========================================
   Paragraphs
   ========================================== */

.privacy-policy p {
  margin: 0 0 20px;

  font-size: 16px;
  line-height: 1.8;

  color: #555;
}

.privacy-policy strong {
  color: #292929;
  font-weight: 650;
}


/* ==========================================
   Lists
   ========================================== */

.privacy-policy ul {
  margin: 10px 0 28px;
  padding: 0;

  list-style: none;
}

.privacy-policy li {
  position: relative;

  margin: 0 0 14px;
  padding: 14px 18px 14px 48px;

  background: #fafafa;
  border: 1px solid #eeeeee;
  border-radius: 8px;

  font-size: 15px;
  line-height: 1.75;
  color: #555;
}


/* Red bullet */

.privacy-policy li::before {
  content: "";

  position: absolute;
  left: 20px;
  top: 22px;

  width: 7px;
  height: 7px;

  background: #c8102e;
  border-radius: 50%;
}


/* ==========================================
   List Item Strong Text
   ========================================== */

.privacy-policy li strong {
  color: #292929;
  font-weight: 650;
}


/* ==========================================
   Links / Email
   ========================================== */

.privacy-policy a {
  color: #c8102e;
  text-decoration: none;
  font-weight: 600;
}

.privacy-policy a:hover {
  text-decoration: underline;
}


/* ==========================================
   Contact Email
   ========================================== */

.privacy-policy p strong:last-child {
  color: #c8102e;
}


/* ==========================================
   Final Section
   ========================================== */

.privacy-policy h2:last-of-type {
  margin-top: 45px;
}


/* ==========================================
   Mobile Responsive
   ========================================== */

@media (max-width: 767px) {

  .privacy-policy {
    padding: 35px 18px 55px;
  }

  .privacy-policy h1 {
    font-size: 32px;
    letter-spacing: -0.3px;
  }

  .privacy-policy h1::after {
    width: 45px;
    height: 3px;
    margin-top: 14px;
  }

  .privacy-policy > p:nth-of-type(2) {
    margin-bottom: 32px;
  }

  .privacy-policy > p:nth-of-type(3) {
    margin-bottom: 32px;
    font-size: 15px;
  }

  .privacy-policy h2 {
    margin-top: 30px;
    padding-left: 12px;

    border-left-width: 3px;

    font-size: 18px;
  }

  .privacy-policy p {
    font-size: 15px;
    line-height: 1.75;
  }

  .privacy-policy li {
    padding: 13px 15px 13px 40px;
    font-size: 14px;
  }

  .privacy-policy li::before {
    left: 17px;
    top: 21px;
    width: 6px;
    height: 6px;
  }
}