/*
Responsive overrides for Whitegoods Help
Use this file for tablet and mobile fine tuning without touching main.css.
*/

@media (max-width: 1199px) {
  .wh-header-inner {
    gap: 20px;
  }

  .wh-hero-grid,
  .wh-post-layout,
  .wh-single-layout,
  .wh-footer-grid {
    gap: 32px;
  }
}

@media (max-width: 991px) {
  .container {
    width: min(calc(100% - 24px), var(--wh-container));
  }

.wh-search-overlay-panel h2 {
    margin-bottom: 20px;
    font-size: clamp(1.2rem, 4vw, 2rem);
}

  .wh-header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 84px;
    gap: 16px;
  }

  .wh-nav-wrap,
  .wh-header-cta {
    display: none;
  }

  .wh-mobile-toggle {
    display: inline-flex;
  }

  .wh-hero {
    padding: 56px 0;
  }

  .wh-hero-grid,
  .wh-footer-grid,
  .wh-search-layout,
  .wh-single-layout,
  .wh-post-layout,
  .wh-feature-grid,
  .wh-category-grid,
  .wh-reviews-grid,
  .wh-archive-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .wh-hero-copy h1 {

  }

  .wh-hero-copy .subtext {
    font-size: 1.1rem;
  }

  .wh-search-overlay-panel {
    width: min(calc(100% - 24px), 920px);
    padding: 32px 24px;
  }

  .wh-search-overlay-field {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
  }

  .wh-search-overlay-field input[type="search"] {
    min-width: 0;
  }

  .wh-search-overlay-icon {
    display: none;
  }

  .wh-sidebar,
  .wh-post-sidebar,
  .wh-single-sidebar {
    order: 2;
  }

  .wh-basic-page-grid,
  .wh-archive-page-grid {
    grid-template-columns: 1fr !important;
  }

  .wh-basic-page-sidebar,
  .wh-archive-page-sidebar {
    order: 2;
    width: 100%;
  }

  .wh-archive-page-article {
    order: 1;
    width: 100%;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

.wh-pagination-wrap {
    margin-top: 0px;
    margin-bottom: 28px;
}

  .container {
    width: min(calc(100% - 20px), var(--wh-container));
  }

  .wh-header-inner {
    min-height: 74px;
  }


  .wh-hero {
    padding: 40px 10px;
  }

  .wh-hero-copy h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .wh-hero-copy .subtext {
    padding: 18px 0 8px;
    font-size: 1.2rem;
  }

  .wh-search-form input[type="text"] {
    min-height: 56px;
    padding: 0 16px;
  }

  .wh-search-submit {
    position: static;
    width: 100%;
    margin-top: 10px;
  }

  .wh-hero-points {
    gap: 18px;
    margin-top: 28px;
  }

  .wh-search-overlay-panel {
    padding: 28px 18px;
    border-radius: 18px;
  }

  .wh-search-overlay-field {
    padding: 14px;
    border-radius: 14px;
  }

  .wh-search-overlay-field input[type="search"] {
    width: 100%;
  }

  .wh-search-overlay-field .wh-btn {
    width: 100%;
  }

  .wh-single-card,
  .wh-comments-card,
  .wh-author-box,
  .wh-sidebar-card,
  .wh-post-card,
  .wh-review-card,
  .wh-category-card {
    padding: 20px;
    border-radius: 18px;
  }

  .wh-entry-header,
  .wh-single-header {
    gap: 14px;
  }

  .wh-entry-meta,
  .wh-single-meta {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .wh-entry-title,
  .wh-single-title {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .wh-pagination,
  .nav-links {
    gap: 10px;
    flex-wrap: wrap;
  }

  .wh-footer {
    padding-top: 40px;
  }

  .wh-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .comment-form-author,
  .comment-form-email,
  .comment-form-url {
    width: 100%;
  }
}

@media (max-width: 479px) {
  .wh-header-inner {
    gap: 12px;
  }

  .wh-mobile-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .wh-hero-copy h1 {
    font-size: clamp(1.8rem, 10vw, 2.4rem);
  }

  .wh-search-overlay-panel {
    width: min(calc(100% - 16px), 920px);
    padding: 24px 16px;
  }

  .wh-single-card,
  .wh-comments-card,
  .wh-author-box,
  .wh-sidebar-card,
  .wh-post-card,
  .wh-review-card,
  .wh-category-card {
    padding: 16px;
  }

  .wh-entry-title,
  .wh-single-title {
    font-size: clamp(1.6rem, 9vw, 2.1rem);
  }
}
