@media (max-width: 767px) {
  .header-actions .theme-toggle {
    display: none;
  }

  .brand {
    justify-self: center;
    font-size: 24px;
  }

  .hero-card-media {
    min-height: 420px;
  }

  .hero-card h2 {
    font-size: 31px;
  }

  .secondary-grid {
    margin-top: 20px;
  }

  .article-hero {
    min-height: 620px;
  }

  .article-hero h1 {
    font-size: 34px;
  }

  .article-layout {
    padding-top: 32px;
  }

  .entry-content {
    font-size: 17px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .weather-widget {
    display: none;
  }
}

@media (max-width: 390px) {
  .container,
  .header-inner,
  .footer-inner {
    width: min(100% - 28px, var(--kt-container));
  }

  .hero-card-overlay,
  .card-body,
  .widget {
    padding: 16px;
  }

  .hero-card h2,
  .article-hero h1 {
    font-size: 30px;
  }
}
