/* ═══════════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVE OVERRIDES
   ═════════════════════════════════════════════════════════════════════════════════
*/

@media (max-width: 880px) {
  /* Post Content */
  .container {
    padding: 0 8px !important;
  }

  .post-main {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .post-content {
    padding: 0 8px 10px;
  }

  .post-sidebar {
    padding: 20px 8px;
    margin-top: 0;
  }

  /* Author Widget Mobile */
  .author-widget {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-widget h3,
  .author-name {
    margin: 12px 0 8px;
  }

  .author-widget p,
  .author-bio {
    max-width: 100%;
  }

  .author-social {
    justify-content: center;
    margin: 12px 0;
  }

  .read-more,
  .author-readmore {
    width: 100%;
    max-width: 300px;
  }

  /* Recipe Card Mobile */
  .rcard3-main {
    padding: 16px 0 10px;
  }

  .rcard3-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  .rcard3-head-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .rcard3-img {
    max-width: 100%;
    margin: 12px 0;
  }

  .rcard3-meta-row {
    width: 100%;
    gap: 16px;
  }

  .rcard3-ingredients,
  .rcard3-instructions {
    column-count: 1;
  }

  .rcard3-nutrition {
    margin-top: 20px;
  }

  .rcard3-nutrition-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  /* Search Bar Mobile */
  .header-search-form {
    flex-direction: column;
  }

  .header-search-input {
    width: 100%;
    margin-bottom: 8px;
  }

  .header-search-btn {
    width: 100%;
  }

  /* Category Grid Mobile */
  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 8px;
  }

  .category-card {
    padding: 6px 8px;
    font-size: 0.75rem;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 6px !important;
  }

  .post-content {
    padding: 0 6px !important;
  }

  .post-sidebar {
    padding: 16px 6px;
  }

  .rcard3-title {
    font-size: clamp(1.3rem, 6vw, 2rem);
  }

  .rcard3-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .author-avatar-wrap {
    width: 75px;
    height: 75px;
  }

  .author-avatar-wrap img {
    width: 75px;
    height: 75px;
  }

  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 6px;
  }

  .footer-design-3-main {
    gap: 24px;
  }

  .footer-design-3 {
    padding: 48px 0 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 2px !important;
  }

  .post-content {
    padding: 0 2px !important;
  }

  .post-sidebar {
    padding: 12px 2px;
  }

  .rcard3-title {
    font-size: clamp(1.1rem, 7vw, 1.8rem);
  }

  .rcard3-section h3 {
    font-size: 1.1rem;
  }

  .rcard3-meta-row {
    gap: 8px;
  }

  .author-widget {
    padding: 16px 12px;
  }

  .author-avatar-wrap {
    width: 60px;
    height: 60px;
  }

  .author-avatar-wrap img {
    width: 60px;
    height: 60px;
  }

  .author-widget h3,
  .author-name {
    font-size: 1.1rem;
  }

  .author-widget p,
  .author-bio {
    font-size: 0.85rem;
  }

  .author-social {
    gap: 8px;
  }

  .author-social a {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .read-more,
  .author-readmore {
    font-size: 0.85rem;
    padding: 8px 16px;
  }

  .category-grid {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 4px;
  }

  .category-card {
    padding: 4px 6px;
    font-size: 0.7rem;
  }

  .header-search-form {
    gap: 6px;
  }

  .header-search-input {
    font-size: 0.8rem;
    padding: 8px 10px;
  }

  .header-search-btn {
    height: 36px;
  }

  .footer-design-3-main {
    gap: 20px;
    margin-bottom: 32px;
  }

  .footer-design-3-bottom {
    flex-direction: column;
  }

  .footer-design-3-socials {
    width: 100%;
    justify-content: flex-start;
  }
}
