/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* Hypeouhit — ajustes responsivos */
#footer [data-row="bottom"] [data-column="widget-area-4"] {
  display: none;
}

@media (max-width: 689px) {
  #header [data-device="mobile"] [data-id="logo"] .site-logo-container img {
        width: 220px !important;
        max-width: 58vw !important;
    max-height: none !important;
    transform: translateX(-35%) scale(2.2);
    transform-origin: center;
    pointer-events: none;
  }

  #header [data-device="mobile"] [data-row="middle"] .ct-container {
    padding-inline: 18px !important;
  }

  body.home .hh-latest-section {
    padding-inline: 16px !important;
  }

  body.home .hh-latest-grid {
    gap: 24px !important;
  }

  body.home .hh-latest-grid > li {
    margin: 0 !important;
  }

  body.home .hh-latest-grid .wp-block-latest-posts__featured-image {
    width: 100% !important;
    margin: 0 0 12px !important;
  }


@media (max-width: 689px) {
  body.home .ct-container-full > article {
    margin-top: -40px !important;
  }
}


/* Hypeouhit — correções da home mobile */
@media (max-width: 689px) {
  body.home .ct-container-full {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  body.home .hh-latest-section {
    width: auto !important;
    max-width: none !important;
    margin-inline: 16px !important;
    padding-inline: 0 !important;
  }

  body.home .hh-latest-grid {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.home .hh-latest-grid > li,
  body.home .hh-latest-grid > li > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.home .hh-newsletter .wp-block-jetpack-subscriptions__form-elements {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
  }

  body.home .hh-newsletter .wp-block-jetpack-subscriptions__form-elements p,
  body.home .hh-newsletter .wp-block-jetpack-subscriptions__form-elements input,
  body.home .hh-newsletter .wp-block-jetpack-subscriptions__form-elements button {
    width: 100% !important;
    margin: 0 !important;
  }

  #footer .footer-menu-inline,
  #footer .footer-menu-inline .menu {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #footer .footer-menu-inline .menu {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 10px 18px !important;
  }

  #footer .footer-menu-inline .menu > li {
    margin: 0 !important;
  }
}

  .single-post .hero-section[data-type="type-2"] .entry-header {
    padding: 28px 18px !important;
  }

  .single-post .hero-section .entry-title {
    font-size: clamp(2rem, 9vw, 2.65rem) !important;
    line-height: 1.05 !important;
  }

  .single-post .entry-meta {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 4px 8px !important;
  }

  #footer [data-row="middle"] .ct-container,
  #footer [data-row="bottom"] .ct-container {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  #footer [data-row="middle"] [data-column],
  #footer [data-row="bottom"] [data-column] {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  #footer [data-row="bottom"] .ct-container {
    padding-block: 22px !important;
  }
}
