/* ============================================================
   Heritage Home Care — Responsive Styles
   All @media breakpoints for the site live here. Loaded after
   style.css and the page-specific stylesheet so overrides win.
   ============================================================ */

/* ---------- SHARED (style.css) ---------- */

@media (max-width: 1372px) {
  .top-actions-bar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--warm-white);
    border-bottom: 1px solid var(--border);
  }
  .top-actions-bar .mobile-nav-phone,
  .top-actions-bar .mobile-nav-consult {
    padding: 8px 20px;
    font-size: 0.85rem;
    min-width: 0;
  }
}
@media (min-width: 768px) and (max-width: 1372px) {
  .top-actions-bar {
    flex-direction: row;
    gap: 0.8rem;
    justify-content: space-between;
    padding: 0.5rem 3%;
  }
}

@media (max-width: 600px) {
  .consult-modal-panel {
    padding: 2.2rem 1.5rem;
  }
  .consult-form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1372px) {
  .nav-cta,
  .nav-phone {
    display: none;
  }
}

@media (max-width: 1200px) {
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-nav {
    display: flex;
  }
}

@media (max-width: 768px) {
  section {
    padding: 3.5rem 6%;
  }
  .section-h2 {
    font-size: 1.7rem;
  }
  .final-cta {
    padding: 3.5rem 6%;
  }
  .cta-contact-row {
    flex-direction: column;
    gap: 1.2rem;
  }
  .cta-sep {
    display: none;
  }

  .nav {
    height: 70px;
  }
  .nav-logo img {
    height: 50px !important;
    margin-top: -10px;
  }
  
  .footer-brand-name img{
          width: 75% ;
  }
}

@media (max-width: 600px) {
  html {
    font-size: 17px;
  }
}

/* ---------- HOME PAGE (index.css) ---------- */

@media (min-width: 992px) {
  /* Let the hero row actually fill the min-height:100vh set on .hero,
     instead of leaving dead space below the banner on short content /
     tall viewports. */
  .hero-cols {
    flex: 1 1 auto;
  }
}

@media (max-width: 991.98px) {
  .hero-banner {
    margin: 1.5rem 6% 0;
    padding: 1.6rem 1.75rem;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .t-prev {
    left: -20px;
  }
  .t-next {
    right: -20px;
  }
  .sticky-img-col {
    position: static;
    height: auto;
    margin-bottom: 2rem;
  }
  .sticky-img-col img {
    height: auto;
  }
  /* Show the hero video before the text content on mobile/tablet. */
  .hero-right {
    order: -1;
  }
  .hero-left {
    order: 2;
  }
}

@media (max-width: 767.98px) {
  .hero {
    min-height: 0;
  }
  .hero-left {
    padding: 2.5rem 6% 2rem;
  }
  .hero-heading {
    font-size: 32px;
  }
  .hero-banner-phone {
    font-size: 1.1rem;
  }
  .owners {
    padding: 3.5rem 6%;
  }
  .testimonial-slide {
    padding: 0;
  }
  .testimonial-quote {
    font-size: 1.05rem;
  }
  .t-prev,
  .t-next {
    display: none;
  }
  .faq {
    padding: 3.5rem 6%;
  }
  .hero-highlight {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .hero-heading {
    font-size: 26px;
  }
  .hero-cta-row {
    flex-direction: column;
  }
  .hero-cta-row .btn-primary,
  .hero-cta-row .btn-outline-crimson {
    justify-content: center;
  }
  .hero-highlights {
    gap: 1.1rem;
  }
  .hero-banner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .hero-banner-phone {
    font-size: 1.15rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .areas-list {
    grid-template-columns: 1fr;
  }
  .who-needs-conditions {
    grid-template-columns: 1fr;
  }
  .owner-photo-wrap img {
    height: 320px;
  }
}

/* ---------- HOURLY CARE PAGE (hourly-home-care.css) ---------- */

@media (max-width: 1100px) {
  .approach-inner {
    flex-direction: column;
  }
  .approach-img img {
    height: 340px;
  }
  .inclusive-img-col {
    position: static;
    height: auto;
  }
  .inclusive-img-col img {
    height: auto;
  }
  .inclusive-content {
    padding: 0 0 3rem;
  }
  .respite-img img {
    margin-top: 2.5rem;
  }
}

@media (max-width: 992px) {
  .page-header-h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 3.5rem 6% 3rem;
  }
  .page-header-h1 {
    font-size: 1.8rem;
  }
  .approach-section,
  .inclusive-inner {
    padding: 3.5rem 6%;
  }
  .approach-img img {
    height: auto;
    margin-top: 2.5rem;
  }
  .respite-section {
    padding: 3.5rem 6%;
  }
}

@media (max-width: 600px) {
  .page-header-h1 {
    font-size: 1.6rem;
  }  
  .pagination-num,
  .pagination-btn {
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }

  .blog-pagination {
    gap: 0.4rem;
  }
}

/* WELLNESS BOOK ARCHIVE */
@media (max-width: 991.98px) {
  .wellness-archive-wrapper { padding: 40px 0 }
  .mcr { padding: 0 15px }
  .wellness-archive-wrapper .book-core-thumbnail { max-height: 450px }
}
@media (max-width: 575.98px) {
  .wellness-archive-wrapper .book-media-wrapper { padding: 0 }
  .wellness-archive-wrapper .book-body-details { padding: 15px }
}

/* WELLNESS BOOK SINGLE */
@media (max-width: 991.98px) {
  .wellness-single-wrapper .single-book-main-title { font-size: 30px }
}
@media (max-width: 767.98px) {
  .wellness-single-wrapper { padding: 50px 0 }
  .wellness-single-wrapper .single-book-sticky-media { position: relative; top: 0 }
  .wellness-single-wrapper .single-book-editorial-content { padding-left: 0; margin-top: 20px }
  .wellness-single-wrapper .single-book-frame { padding: 12px }
  .wellness-single-wrapper .single-book-full-body p,
  .wellness-single-wrapper .single-book-excerpt-callout { font-size: 16.5px }
}
