/* =========================================================
   Responsive
   ========================================================= */
@media screen and (max-width: 1023px) {
  body.bz-dashboard-ui #header-in {
    min-height: 74px;
    padding: 10px 16px;
  }

  body.bz-dashboard-ui #header-in .site-logo-image,
  body.bz-dashboard-ui #header-in .header-site-logo-image {
    max-height: 54px;
  }

  body.bz-dashboard-ui #carousel {
    padding: 16px 0 14px !important;
  }

  body.bz-dashboard-ui #carousel-in {
    width: calc(100% - 22px) !important;
    padding: 12px !important;
    border-radius: 22px !important;
  }
}

@media screen and (max-width: 834px) {
  body.bz-dashboard-ui:not(.bzd-dashboard-cocoon-optimize) .content {
    margin-top: 18px;
  }

  body.bz-dashboard-ui.single-post .article .entry-content > h2,
  body.bz-dashboard-ui.single-post .article .entry-content .wp-block-heading:is(h2) {
    margin-top: 2.3em !important;
    padding: 17px 18px 17px 30px !important;
    border-radius: 17px !important;
    font-size: 1.38rem !important;
  }

  body.bz-dashboard-ui.single-post .article .entry-content > h2::before,
  body.bz-dashboard-ui.single-post .article .entry-content .wp-block-heading:is(h2)::before {
    top: 13px;
    bottom: 13px;
    left: 12px;
    width: 6px;
  }

  body.bz-dashboard-ui.single-post .article .entry-content > h3,
  body.bz-dashboard-ui.single-post .article .entry-content .wp-block-heading:is(h3) {
    margin-top: 1.85em !important;
    padding: 13px 15px 13px 17px !important;
    font-size: 1.16rem !important;
  }

  body.bz-dashboard-ui :is(#sidebar, .sidebar, .widget-area) .widget {
    padding: 15px !important;
    border-radius: 20px !important;
  }

  body.bz-dashboard-ui main.main .entry-card {
    grid-template-columns: 150px minmax(0, 1fr) !important;
    min-height: 150px;
  }

  body.bz-dashboard-ui main.main .entry-card-thumb,
  body.bz-dashboard-ui main.main .entry-card-thumb img {
    min-height: 150px;
  }

  body.bz-dashboard-ui main.main .entry-card-content {
    padding: 17px 18px !important;
  }
}

@media screen and (max-width: 600px) {
  body.bz-dashboard-ui #header-in {
    justify-content: center;
    min-height: 66px;
  }

  body.bz-dashboard-ui #header-in .site-name-text {
    font-size: 23px !important;
  }

  body.bz-dashboard-ui main.main .entry-card {
    display: block !important;
    min-height: 0;
  }

  body.bz-dashboard-ui main.main .entry-card-thumb {
    width: 100% !important;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  body.bz-dashboard-ui main.main .entry-card-thumb img {
    min-height: 0;
  }

  body.bz-dashboard-ui main.main .entry-card-content {
    padding: 16px !important;
  }

  body.bz-dashboard-ui #carousel-in .carousel-entry-card-title {
    min-height: calc(1.55em * 3 + 25px) !important;
    padding: 11px 12px 13px !important;
    font-size: 12px !important;
  }
}

@media screen and (max-width: 480px) {
  body.bz-dashboard-ui :is(#sidebar, .sidebar, .widget-area) :is(
    .widget-entry-card,
    .new-entry-card,
    .popular-entry-card
  ) {
    grid-template-columns: 92px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  body.bz-dashboard-ui :is(#sidebar, .sidebar, .widget-area) :is(
    .widget-entry-card-thumb,
    .new-entry-card-thumb,
    .popular-entry-card-thumb,
    .card-thumb
  ) {
    width: 92px !important;
    min-width: 92px !important;
    max-width: 92px !important;
    height: 68px !important;
  }

  body.bz-dashboard-ui :is(#sidebar, .sidebar, .widget-area) :is(
    .widget-entry-card-title,
    .new-entry-card-title,
    .popular-entry-card-title,
    .card-title
  ) {
    font-size: 12px !important;
    -webkit-line-clamp: 3 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.bz-dashboard-ui *,
  body.bz-dashboard-ui *::before,
  body.bz-dashboard-ui *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}
