/* First Typography CSS */
/*
1. hero-title - h1
2. hero-subtitle - h2
3. hero-content - p
4. section-title - h2
5. section-subtitle - h3
6. section-desc-title - h4
7. section-content - div ie parent of <p>
8. section-buttons
9. list-content - list of ul wrapper
10. inner-hero-title - h1 (this is for inner page's hero section)

Root stays at 16px at every breakpoint, unlike typo-1/3/8 which rescale it.
The -9 component stylesheets are written entirely in px and the shared
common.css / component-common.css are full of rem, so moving the root would
resize those shared rules without touching a single theme 9 component. The
per-class sizes below step down instead.

14px = .875rem   18px = 1.125rem   26px = 1.625rem   42px = 2.625rem
16px = 1rem      20px = 1.25rem    38px = 2.375rem   48px = 3rem
                                   59px = 3.6875rem  70px = 4.375rem
*/
html {
  font-size: 16px !important;
}

body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
}

/*** for map section ***/
.new-section .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
}

.new-section p {
  margin: 0 0 15px;
}

.new-section p:last-child {
  margin-bottom: 0;
}

.new-section .btn {
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 0;
}

.new-section h1.hero-title,
.new-section h1.inner-hero-title {
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  margin: 0 0 15px;
  text-transform: none;
}

.new-section h1.hero-title {
  font-size: 4.375rem;
  line-height: 1.3;
}

.new-section h1.inner-hero-title {
  font-size: 3.6875rem;
}

.new-section h2.section-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0 0 15px;
  text-transform: none;
  max-width: 960px;
}

.new-section h2.section-title::after {
  display: none;
}

.new-section h2.hero-subtitle,
.new-section h3.section-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 15px;
}

.new-section h2.hero-subtitle {
  font-size: 1.625rem;
}

.new-section h3.section-subtitle {
  max-width: 960px;
}

.new-section h4.section-desc-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 15px;
}

.new-section .hero-content,
.new-section .section-content,
.new-section .list-content {
  margin: 0 0 15px;
}

.new-section .section-content {
  max-width: 960px;
}

.new-section .hero-content p,
.new-section .section-content p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 2;
}

.new-section .hero-content p {
  font-size: 1.25rem;
  line-height: 1.7;
}

.new-section .list-content ul li {
  font-size: 1rem;
  font-weight: 400;
  line-height: 2;
}

header.new-section ul.main-menu li.menu-item .menu-item-link {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.new-section .footer-menu .footer-menu-item .menu-item-link {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.new-section .footer-menu .footer-menu-item .footer-submenu .menu-item-link {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.footer.new-section ul.policy-nav li a,
.new-section .footer-copyright p,
.new-section .footer-address-wraper span {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
}

/* =========================
   Home hero (#hero-banner)
   The home hero is emitted without .new-section (swifty-components.php:1155,
   shared by every theme), so none of the .new-section rules above reach it.
   Match it explicitly. Values mirror exactly what hero-9.css renders today, so
   dropping the duplicates from that file is a no-op visually.
========================= */
section#hero-banner h1.hero-title {
  font-size: 4.375rem;
  line-height: 1.3;
}

section#hero-banner h2.hero-subtitle {
  font-size: 1.625rem;
  line-height: 1.2;
}

section#hero-banner .hero-content,
section#hero-banner .hero-content p {
  font-size: 1.25rem;
  line-height: 1.7;
}

/* Floorplan card heading (.flp-title).
   A card heading should read as subordinate to the section heading above it,
   but it was set to 60px against section-title's 48px, and had no step below
   1440 at all -- so it stayed 48px on phones. The scale below keeps it under
   h2.section-title at every breakpoint. */
.new-section .flp-title {
  font-size: 2.5rem;
}

@media screen and (max-width: 1440px) {
  .new-section .flp-title {
    font-size: 2.125rem;
  }

  section#hero-banner h1.hero-title {
    font-size: 3.125rem;
  }

  section#hero-banner h2.hero-subtitle {
    font-size: 1.25rem;
  }

  .new-section h1.hero-title {
    font-size: 3.6875rem;
  }

  .new-section h1.inner-hero-title {
    font-size: 3rem;
  }

  .new-section h2.section-title {
    font-size: 2.375rem;
  }

  .new-section h2.hero-subtitle {
    font-size: 1.375rem;
  }

  .new-section h3.section-subtitle {
    font-size: 1.125rem;
  }
}

@media screen and (max-width: 1200px) {
  .new-section .container {
    max-width: 1140px;
  }
}

@media screen and (max-width: 1024px) {
  .new-section .flp-title {
    font-size: 1.75rem;
  }

  .new-section .container {
    max-width: 960px;
  }

  .new-section h1.hero-title {
    font-size: 3.125rem;
  }

  .new-section h1.inner-hero-title {
    font-size: 2.625rem;
  }

  .new-section h2.section-title {
    font-size: 2.125rem;
  }

  .new-section h1.hero-title,
  .new-section h1.inner-hero-title,
  .new-section h2.section-title,
  .new-section h2.hero-subtitle,
  .new-section h3.section-subtitle,
  .new-section h4.section-desc-title,
  .new-section .hero-content,
  .new-section .section-content,
  .new-section .list-content {
    margin-bottom: 12px;
  }
}

@media screen and (max-width: 767px) {
  .new-section .flp-title {
    font-size: 1.5rem;
  }

  section#hero-banner h1.hero-title {
    font-size: 2.5rem;
  }

  section#hero-banner h2.hero-subtitle {
    font-size: 1.25rem;
  }

  section#hero-banner .hero-content,
  section#hero-banner .hero-content p {
    font-size: 1rem;
  }

  .new-section .container {
    padding: 0 15px;
  }

  .new-section h1.hero-title {
    font-size: 2.5rem;
  }

  .new-section h1.inner-hero-title {
    font-size: 2.1875rem;
  }

  .new-section h2.section-title {
    font-size: 1.875rem;
    line-height: 1.3;
  }

  .new-section h2.hero-subtitle,
  .new-section h3.section-subtitle {
    font-size: 1.125rem;
    letter-spacing: 2px;
  }

  .new-section h4.section-desc-title {
    font-size: 1rem;
  }

  .new-section .hero-content p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .new-section .hero-content,
  .new-section .section-content,
  .new-section .list-content {
    margin-bottom: 10px;
  }

  .mobile-menu-wrap ul.main-menu li.menu-item a.menu-item-link {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 3px;
    text-transform: uppercase;
  }

  .footer.new-section ul.policy-nav li a,
  .new-section .footer-copyright p,
  .new-section .footer-address-wraper span {
    font-size: 0.8125rem;
  }
}
