/* Networn homepage refresh — additive, scoped styles.
   This stylesheet is intentionally limited to the homepage's existing classes. */
.tpl-home-modern {
  --nw-ink: #14253d;
  --nw-muted: #627188;
  --nw-brand: #087f8c;
  --nw-brand-dark: #075b66;
  --nw-line: #e3eaf0;
  --nw-surface: #f5f8fa;
  color: var(--nw-ink);
  background: #fff;
}
.tpl-home-modern #header-nav {
  padding: .8rem 0;
  transition: background-color .2s ease, box-shadow .2s ease;
}
.tpl-home-modern #header-nav .navbar-brand img {
  max-height: 44px;
  width: auto;
}
.tpl-home-modern #header-nav .navbar-nav {
  align-items: center;
  gap: .2rem;
}
.tpl-home-modern #header-nav .nav-link,
.tpl-home-modern #header-nav .navbar-nav > li > a.btn {
  font-weight: 600;
  border-radius: 999px;
  padding: .65rem 1rem;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.tpl-home-modern #header-nav .navbar-nav > li > a.btn-outline-light {
  border-width: 1px;
}
.tpl-home-modern #header-nav .navbar-nav > li > a:hover {
  transform: translateY(-1px);
}
.tpl-home-modern .networn-hero {
  position: relative;
  min-height: 590px;
  padding: 8.5rem 0 5rem;
  margin-bottom: 0;
  border-radius: 0;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}
.tpl-home-modern .networn-hero .container {
  position: relative;
  z-index: 1;
}
.tpl-home-modern .hero-eyebrow,
.tpl-home-modern .section-kicker {
  display: inline-block;
  margin-bottom: .85rem;
  color: #b7f0eb;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.tpl-home-modern .networn-hero h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 4.2vw, 4.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.tpl-home-modern .networn-hero-copy {
  max-width: 650px;
  color: rgba(255,255,255,.88);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.7;
}
.tpl-home-modern .networn-search-card {
  margin-top: 1.8rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 18px;
  box-shadow: 0 18px 55px rgba(4,20,36,.24);
}
.tpl-home-modern .networn-search-card .form-control {
  min-height: 54px;
  border: 1px solid #dce5ec;
  border-radius: 10px;
  box-shadow: none;
  color: #14253d;
}
.tpl-home-modern .networn-search-card .form-control:focus {
  border-color: var(--nw-brand);
  box-shadow: 0 0 0 3px rgba(8,127,140,.14);
}
.tpl-home-modern .networn-search-card .btn-primary {
  min-height: 54px;
  border: 0;
  border-radius: 10px;
  background: var(--nw-brand);
  font-weight: 750;
}
.tpl-home-modern .networn-search-card .btn-primary:hover {
  background: var(--nw-brand-dark);
}
.tpl-home-modern .hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1.1rem;
}
.tpl-home-modern .hero-quick-links a {
  padding: .42rem .8rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255,255,255,.08);
}
.tpl-home-modern .hero-quick-links a:hover {
  background: rgba(255,255,255,.18);
}
.tpl-home-modern .hero-highlight-card {
  padding: 1.65rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 20px;
  color: #fff;
  background: rgba(9,29,49,.64);
  box-shadow: 0 20px 60px rgba(0,0,0,.16);
  backdrop-filter: blur(12px);
}
.tpl-home-modern .hero-highlight-label {
  margin-bottom: 1.4rem;
  color: #c9e7ed;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.tpl-home-modern .hero-stat-value {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.15;
}
.tpl-home-modern .hero-stat-label {
  margin-top: .35rem;
  color: rgba(255,255,255,.75);
  font-size: .82rem;
}
.tpl-home-modern .hero-highlight-card hr {
  border-color: rgba(255,255,255,.2);
  margin: 1.4rem 0;
}
.tpl-home-modern .hero-highlight-card p {
  color: rgba(255,255,255,.82);
  line-height: 1.7;
}
.tpl-home-modern .networn-home-main {
  overflow: hidden;
}
.tpl-home-modern .networn-section {
  padding: 4.5rem 0;
}
.tpl-home-modern .networn-section-muted {
  background: var(--nw-surface);
}
.tpl-home-modern .section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}
.tpl-home-modern .section-kicker {
  margin-bottom: .45rem;
  color: var(--nw-brand);
}
.tpl-home-modern .section-heading h2 {
  margin: 0;
  color: var(--nw-ink);
  font-size: clamp(1.65rem, 2.4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -.035em;
}
.tpl-home-modern .section-copy {
  max-width: 440px;
  margin: 0;
  color: var(--nw-muted);
  line-height: 1.65;
}
.tpl-home-modern .section-link {
  flex-shrink: 0;
  color: var(--nw-brand-dark);
  font-weight: 750;
  text-decoration: none;
}
.tpl-home-modern .section-link:hover {
  text-decoration: underline;
}
.tpl-home-modern .networn-category-card {
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--nw-line);
  border-radius: 16px;
  color: var(--nw-ink);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(20,37,61,.035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tpl-home-modern .networn-category-card:hover {
  transform: translateY(-4px);
  border-color: #b9d9dc;
  box-shadow: 0 14px 32px rgba(20,37,61,.09);
  color: var(--nw-ink);
}
.tpl-home-modern .networn-category-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #eaf1f4;
}
.tpl-home-modern .networn-category-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.tpl-home-modern .networn-category-card:hover .networn-category-media img {
  transform: scale(1.045);
}
.tpl-home-modern .networn-category-body {
  padding: 1.1rem 1.15rem 1.2rem;
}
.tpl-home-modern .networn-category-title {
  font-size: 1.05rem;
  font-weight: 800;
}
.tpl-home-modern .networn-category-subtitle {
  margin-top: .3rem;
  color: var(--nw-muted);
  font-size: .88rem;
}
.tpl-home-modern .networn-chip-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: .3rem;
}
.tpl-home-modern .networn-chip {
  display: inline-flex;
  padding: .55rem .9rem;
  border: 1px solid var(--nw-line);
  border-radius: 999px;
  color: #31445d;
  background: #fff;
  font-size: .9rem;
  font-weight: 650;
  text-decoration: none;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.tpl-home-modern .networn-chip:hover {
  border-color: var(--nw-brand);
  color: var(--nw-brand-dark);
  background: #eef9f8;
}
.tpl-home-modern .networn-home-main .card,
.tpl-home-modern .networn-home-main .owl-item .card {
  overflow: hidden;
  border: 1px solid var(--nw-line);
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(20,37,61,.045);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tpl-home-modern .networn-home-main .card:hover,
.tpl-home-modern .networn-home-main .owl-item .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20,37,61,.1);
}
.tpl-home-modern .networn-home-main .card-img-container {
  overflow: hidden;
  border-radius: 12px;
}
.tpl-home-modern .networn-home-main .card-img-container img {
  max-width: 100%;
  transition: transform .3s ease;
}
.tpl-home-modern .networn-home-main .card:hover .card-img-container img {
  transform: scale(1.025);
}
.tpl-home-modern .networn-home-main a {
  text-decoration-thickness: from-font;
}
.tpl-home-modern .networn-home-main .card-body h5 {
  color: var(--nw-ink);
  font-weight: 750;
  line-height: 1.35;
}
.tpl-home-modern .networn-home-main .card-body span,
.tpl-home-modern .networn-home-main .latest-listings-address {
  color: var(--nw-muted);
}
.tpl-home-modern .networn-home-main .item-rating {
  margin-top: .45rem;
}
.tpl-home-modern .networn-home-main .featured-badge {
  display: inline-block;
  margin-left: .3rem;
  padding: .18rem .45rem;
  border-radius: 999px;
  color: #664500;
  background: #fff1bf;
  font-size: .68rem;
  font-weight: 800;
  vertical-align: middle;
}
.tpl-home-modern .networn-home-main .add-to-favorites {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--nw-line);
  border-radius: 50%;
  color: #c0445a;
  background: #fff;
  cursor: pointer;
}
.tpl-home-modern .networn-home-main .add-to-favorites:hover {
  border-color: #e9bdc6;
  background: #fff4f6;
}
.tpl-home-modern a:focus-visible,
.tpl-home-modern button:focus-visible,
.tpl-home-modern input:focus-visible,
.tpl-home-modern select:focus-visible {
  outline: 3px solid rgba(8,127,140,.6);
  outline-offset: 3px;
}
@media (max-width: 767.98px) {
  .tpl-home-modern #header-nav {
    padding: .45rem 0;
    background: rgba(13,32,50,.96);
  }
  .tpl-home-modern .networn-hero {
    min-height: auto;
    padding: 7.2rem 0 3rem;
    background-position: 58% center;
  }
  .tpl-home-modern .networn-hero h1 {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }
  .tpl-home-modern .networn-search-card {
    padding: .8rem;
    border-radius: 14px;
  }
  .tpl-home-modern .hero-highlight-card {
    margin-top: .25rem;
    padding: 1.25rem;
  }
  .tpl-home-modern .networn-section {
    padding: 3rem 0;
  }
  .tpl-home-modern .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: .7rem;
  }
  .tpl-home-modern .networn-category-body {
    padding: .9rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-home-modern *,
  .tpl-home-modern *::before,
  .tpl-home-modern *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}


/* Overrides for legacy global rules in templates/css/styles.css.
   Keep these scoped so other routes retain their current appearance. */
.tpl-home-modern #header-nav .navbar-nav > li > a.btn.text-white,
.tpl-home-modern #header-nav .navbar-nav > li > a.btn.text-white:hover,
.tpl-home-modern #header-nav .navbar-nav > li > a.btn.text-white:focus {
  color: #fff !important;
}
.tpl-home-modern #header-nav .navbar-nav > li > a.btn-outline-light {
  color: #fff !important;
  border-color: rgba(255,255,255,.68) !important;
}
.tpl-home-modern .section-heading h2,
.tpl-home-modern .networn-cta-panel h2 {
  color: var(--nw-ink) !important;
  font-size: clamp(1.65rem, 2.4vw, 2.4rem);
  line-height: 1.2;
}
.tpl-home-modern .networn-cta-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid #cfe5e7;
  border-radius: 22px;
  background: linear-gradient(135deg, #effafa 0%, #f7fafc 72%);
}
.tpl-home-modern .networn-cta-panel p {
  max-width: 760px;
  color: var(--nw-muted);
  line-height: 1.75;
}
.tpl-home-modern .networn-cta-panel .btn-primary {
  border-color: var(--nw-brand);
  background: var(--nw-brand);
}
.tpl-home-modern .networn-cta-panel .btn-primary:hover {
  border-color: var(--nw-brand-dark);
  background: var(--nw-brand-dark);
}
.tpl-home-modern .networn-cta-panel .btn-outline-primary {
  border-color: var(--nw-brand);
  color: var(--nw-brand-dark);
}
.tpl-home-modern .networn-city-card {
  position: relative;
  display: block;
  min-height: 180px;
  overflow: hidden;
  border-radius: 16px;
  background: #dce7ec;
  color: #fff;
}
.tpl-home-modern .networn-city-card > .card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}
.tpl-home-modern .networn-city-card:hover > .card-img {
  transform: scale(1.04);
}
.tpl-home-modern .networn-city-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,24,42,.05), rgba(8,24,42,.78));
}
.tpl-home-modern .networn-city-content {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  color: #fff;
}
.tpl-home-modern .networn-city-content h5 {
  color: #fff !important;
  font-size: 1.2rem;
}
.tpl-home-modern .networn-city-content div,
.tpl-home-modern .networn-city-content h5 {
  text-shadow: 0 1px 8px rgba(0,0,0,.25);
}
.tpl-home-modern .networn-review-card {
  padding: 1.35rem;
  border: 1px solid var(--nw-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(20,37,61,.04);
}
.tpl-home-modern .networn-review-card .profile-thumb {
  width: 46px;
  height: 46px;
  object-fit: cover;
}
.tpl-home-modern .networn-review-name {
  color: var(--nw-ink);
  font-weight: 750;
}
.tpl-home-modern .networn-review-place,
.tpl-home-modern .networn-card-meta {
  color: var(--nw-muted);
  font-size: .86rem;
}
.tpl-home-modern .networn-review-card p {
  color: #34465b;
  line-height: 1.7;
}
.tpl-home-modern .networn-featured-card .card-img-container,
.tpl-home-modern .networn-listing-card .card-img-container {
  position: relative;
  height: 190px;
  background: #eaf1f4;
}
.tpl-home-modern .networn-featured-card .card-img-container > a,
.tpl-home-modern .networn-listing-card .card-img-container > a {
  display: block;
  height: 100%;
}
.tpl-home-modern .networn-featured-card .card-img-container img,
.tpl-home-modern .networn-listing-card .card-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tpl-home-modern .networn-featured-card .card-body,
.tpl-home-modern .networn-listing-card .card-body {
  padding: 1rem;
}
.tpl-home-modern .networn-featured-card .cat-name-figure,
.tpl-home-modern .networn-listing-card .cat-name-figure {
  position: absolute;
  bottom: .65rem;
  left: .65rem;
  max-width: calc(100% - 1.3rem);
  overflow: hidden;
  color: #fff;
  background: rgba(13,32,50,.85);
  font-size: .75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tpl-home-modern .networn-favorite-btn {
  padding: 0;
  border: 0;
  background: transparent;
}
@media (max-width: 767.98px) {
  .tpl-home-modern .networn-featured-card .card-img-container,
  .tpl-home-modern .networn-listing-card .card-img-container {
    height: 175px;
  }
}


/* VISUAL OVERHAUL v2 — high-contrast editorial layout, scoped to homepage. */
.tpl-home-modern {
  --nw-ink: #10243a;
  --nw-brand: #087f8c;
  --nw-brand-dark: #075b66;
  background: #f7f8f6;
}
.tpl-home-modern #header-nav {
  background: linear-gradient(180deg, rgba(7, 24, 40, .62), rgba(7, 24, 40, 0));
  padding: 1rem 0;
}
.tpl-home-modern #header-nav.navbar-scrolled,
.tpl-home-modern #header-nav.scrolled {
  background: #10243a;
  box-shadow: 0 8px 28px rgba(7,24,40,.16);
}
.tpl-home-modern .networn-hero {
  min-height: 680px;
  padding: 9.5rem 0 6rem;
  background-position: center 45%;
  isolation: isolate;
}
.tpl-home-modern .networn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 12% 15%, rgba(17, 188, 174, .23), transparent 34rem),
    linear-gradient(105deg, rgba(5, 18, 32, .88) 0%, rgba(5, 33, 49, .72) 54%, rgba(5, 33, 49, .24) 100%);
  pointer-events: none;
}
.tpl-home-modern .networn-hero .container { max-width: 1240px; }
.tpl-home-modern .networn-hero h1 {
  max-width: 720px;
  font-size: clamp(2.8rem, 5.2vw, 5.1rem);
  line-height: 1.01;
  letter-spacing: -.06em;
}
.tpl-home-modern .networn-hero-copy {
  max-width: 590px;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
}
.tpl-home-modern .hero-eyebrow {
  padding: .42rem .7rem;
  border: 1px solid rgba(183,240,235,.3);
  border-radius: 999px;
  background: rgba(8,127,140,.2);
  letter-spacing: .11em;
}
.tpl-home-modern .networn-search-card {
  max-width: 790px;
  margin-top: 2rem;
  padding: .7rem;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 16px;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}
.tpl-home-modern .networn-search-card .form-control,
.tpl-home-modern .networn-search-card .btn-primary {
  min-height: 58px;
  font-size: .98rem;
}
.tpl-home-modern .networn-search-card .btn-primary {
  background: #087f8c;
  box-shadow: 0 5px 15px rgba(8,127,140,.22);
}
.tpl-home-modern .hero-highlight-card {
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 24px;
  background: rgba(9,29,49,.76);
  box-shadow: 0 28px 90px rgba(0,0,0,.24);
}
.tpl-home-modern .hero-stat-value { font-size: clamp(1.6rem, 2.5vw, 2.35rem); }
.tpl-home-modern .networn-home-main { background: #f7f8f6; }
.tpl-home-modern .networn-section { padding: clamp(3.2rem, 6vw, 5.5rem) 0; }
.tpl-home-modern .networn-section-muted {
  background: linear-gradient(180deg, #eef4f4 0%, #f4f7f6 100%);
  border-top: 1px solid #e5eeee;
  border-bottom: 1px solid #e5eeee;
}
.tpl-home-modern .networn-section > .container,
.tpl-home-modern .networn-section .container { max-width: 1240px; }
.tpl-home-modern .section-heading {
  align-items: end;
  margin-bottom: 2rem;
}
.tpl-home-modern .section-heading h2 {
  max-width: 740px;
  margin-bottom: 0;
  color: #10243a;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  font-weight: 850;
  letter-spacing: -.05em;
  line-height: 1.1;
}
.tpl-home-modern .section-kicker {
  font-size: .72rem;
  letter-spacing: .15em;
}
.tpl-home-modern .section-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem .9rem;
  border: 1px solid #d5e3e4;
  border-radius: 999px;
  color: #075b66;
  background: #fff;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}
.tpl-home-modern .networn-category-card,
.tpl-home-modern .networn-featured-card,
.tpl-home-modern .networn-listing-card,
.tpl-home-modern .networn-review-card,
.tpl-home-modern .networn-city-card {
  border: 1px solid #e1e8e8;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(16,36,58,.045);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tpl-home-modern .networn-category-card:hover,
.tpl-home-modern .networn-featured-card:hover,
.tpl-home-modern .networn-listing-card:hover,
.tpl-home-modern .networn-review-card:hover,
.tpl-home-modern .networn-city-card:hover {
  transform: translateY(-4px);
  border-color: #b8d9d9;
  box-shadow: 0 18px 38px rgba(16,36,58,.11);
}
.tpl-home-modern .networn-category-media { height: 155px; overflow: hidden; }
.tpl-home-modern .networn-category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.tpl-home-modern .networn-category-card:hover .networn-category-media img { transform: scale(1.06); }
.tpl-home-modern .networn-category-body { padding: 1rem 1.05rem 1.15rem; }
.tpl-home-modern .networn-category-title { font-size: 1.02rem; font-weight: 820; letter-spacing: -.02em; }
.tpl-home-modern .networn-category-subtitle { color: #68788a; font-size: .84rem; }
.tpl-home-modern .networn-featured-card,
.tpl-home-modern .networn-listing-card { overflow: hidden; background: #fff; }
.tpl-home-modern .networn-featured-card .card-img-container,
.tpl-home-modern .networn-listing-card .card-img-container { height: 215px; }
.tpl-home-modern .networn-featured-card .card-body { padding: 1.2rem; }
.tpl-home-modern .networn-featured-card h5,
.tpl-home-modern .networn-listing-card h5 { font-weight: 820; letter-spacing: -.025em; line-height: 1.3; }
.tpl-home-modern .networn-card-copy {
  display: -webkit-box;
  overflow: hidden;
  color: #657588;
  font-size: .88rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.tpl-home-modern .networn-review-card { padding: 1.35rem; background: #fff; }
.tpl-home-modern .networn-chip {
  border: 1px solid #d9e5e5;
  border-radius: 999px;
  background: #fff;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.tpl-home-modern .networn-chip:hover { border-color: #087f8c; color: #075b66; background: #edf9f8; }
.tpl-home-modern .networn-cta-panel {
  border-radius: 24px;
  background: linear-gradient(120deg, #10243a, #075b66);
  box-shadow: 0 20px 55px rgba(16,36,58,.18);
}
.tpl-home-modern a:focus-visible,
.tpl-home-modern button:focus-visible,
.tpl-home-modern input:focus-visible,
.tpl-home-modern select:focus-visible {
  outline: 3px solid rgba(8,127,140,.55);
  outline-offset: 3px;
}
@media (max-width: 767.98px) {
  .tpl-home-modern .networn-hero { min-height: auto; padding: 7rem 0 3.5rem; }
  .tpl-home-modern .networn-hero h1 { font-size: clamp(2.35rem, 10vw, 3.35rem); }
  .tpl-home-modern .hero-highlight-card { margin-top: .5rem; padding: 1.2rem; }
  .tpl-home-modern .section-heading { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .tpl-home-modern .networn-category-media { height: 130px; }
  .tpl-home-modern .networn-featured-card .card-img-container,
  .tpl-home-modern .networn-listing-card .card-img-container { height: 190px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-home-modern *, .tpl-home-modern *::before, .tpl-home-modern *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}


/* MOBILE UX V1 — make the primary homepage search easier to use on small screens. */
@media (max-width: 575.98px) {
  .tpl-home-modern .networn-hero {
    padding: 6.5rem 0 2.75rem;
  }
  .tpl-home-modern .networn-hero .container {
    padding-right: 1rem;
    padding-left: 1rem;
  }
  .tpl-home-modern .networn-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.2rem, 9.5vw, 3rem);
    line-height: 1.04;
    text-wrap: balance;
  }
  .tpl-home-modern .networn-hero-copy {
    font-size: 1rem;
    line-height: 1.6;
  }
  .tpl-home-modern .networn-search-card {
    margin-top: 1.35rem;
    padding: .8rem;
    border-radius: 14px;
  }
  .tpl-home-modern .networn-search-card .form-row {
    margin-right: 0;
    margin-left: 0;
  }
  .tpl-home-modern .networn-search-card .form-row > [class*="col-"] {
    padding-right: 0;
    padding-left: 0;
  }
  .tpl-home-modern .networn-search-card .form-control,
  .tpl-home-modern .networn-search-card .btn-primary {
    width: 100%;
    min-height: 52px;
    font-size: 1rem;
  }
  .tpl-home-modern .hero-quick-links {
    gap: .5rem;
  }
  .tpl-home-modern .hero-quick-links a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .5rem .8rem;
  }
  .tpl-home-modern .hero-highlight-card {
    padding: 1rem;
    border-radius: 18px;
  }
  .tpl-home-modern .hero-highlight-label {
    margin-bottom: 1rem;
  }
  .tpl-home-modern .hero-stat-value {
    font-size: clamp(1.3rem, 6vw, 1.7rem);
    overflow-wrap: anywhere;
  }
  .tpl-home-modern .hero-stat-label {
    font-size: .75rem;
  }
  .tpl-home-modern .networn-section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }
  .tpl-home-modern .section-heading {
    margin-bottom: 1.25rem;
  }
  .tpl-home-modern .networn-category-card {
    height: 100%;
  }
}
@media (max-width: 360px) {
  .tpl-home-modern .hero-stat-label {
    font-size: .68rem;
  }
  .tpl-home-modern .networn-hero h1 {
    font-size: 2.1rem;
  }
}

/* ROOT-CAUSE FIX: legacy styles.css sets .tpl-home .jumbotron to height:620px !important.
   The homepage hero uses that same jumbotron class, so its search card was clipped.
   Let the hero grow to fit its content; keep the rule scoped to this homepage hero. */
.tpl-home-modern .networn-hero {
  height: auto !important;
  overflow: visible;
}
