@media (max-width: 900px) {
  .hero {
    min-height: 60vh;
    height: auto;
    justify-content: flex-start;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }

  .hero::before {
    min-height: 60vh;
    height: auto;
  }

  body{
    max-width: 100%;
    overflow-x: hidden;
  }

  header {
    padding: 24px 32px 0;
    align-items: flex-start;
    position: relative;
    z-index: 2147483645;
  }

  #hero_admin header {
    padding-bottom: 64px;
  }

  .logo img {
    max-width: 145px;
  }

  .hamburger_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(4px);
    border-radius: 10px;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    position: fixed;
    top: 24px;
    right: 32px;
    z-index: 2147483644;
    cursor: pointer;
  }

  body.menu-open .hamburger_btn {
    opacity: 0;
    pointer-events: none;
  }

  .menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 340px);
    height: 100vh;
    background: rgba(13, 15, 23, 0.97);
    backdrop-filter: blur(6px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 94px 20px 24px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2147483646 !important;
    overflow-y: auto;
  }

  .menu_close_btn {
    position: absolute;
    top: 16px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
  }

  .menu.is-open {
    transform: translateX(0);
  }

  .menu > a,
  .menu_item > a {
    font-size: 19px;
  }

  .menu .btn-admin {
    margin-left: 0 !important;
  }

  .menu_item {
    width: 100%;
  }

  .submenu_trigger {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    gap: 6px;
  }

  .submenu_trigger::after {
    content: '▾';
    font-size: 22px;
    line-height: 1;
    opacity: 0.9;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .has-submenu:hover .submenu_trigger::after,
  .has-submenu:focus-within .submenu_trigger::after {
    transform: none;
    opacity: 0.9;
  }

  .has-submenu.submenu-open .submenu_trigger::after {
    transform: rotate(180deg);
    opacity: 1;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: auto;
    width: 100%;
    display: none;
    padding: 8px 0 0 10px;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .has-submenu.submenu-open .submenu {
    display: flex;
  }

  .submenu a + a {
    border-top: 0;
  }

  .contenedor_titulo {
    justify-content: flex-start;
    padding: 0 32px 26px;
  }

  .titulo_hero {
    width: 100%;
    gap: 8px;
  }

  .titulo_hero h4 {
    font-size: var(--font-size-lsmall);
  }

  .titulo_hero h1 {
    font-size: var(--font-size-medium);
    line-height: 1.08;
  }

  .blog_content {
    flex-direction: column;
    gap: 34px;
    padding: 44px 32px 54px;
    font-size: var(--font-size-lsmall);
  }

  .blog_col1,
  .blog_col2 {
    width: 100%;
    min-width: 0;
  }

  .extracto,
  .contenido {
    font-size: var(--font-size-xsmall);
    line-height: 1.65;
    min-width: 0;
  }

  .contenido .post-table-wrap {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
  }

  .contenido .post-table-wrap table {
    width: max-content !important;
    min-width: 640px !important;
    max-width: none !important;
  }

  .contenido > :last-child {
    margin-bottom: 0;
  }

  .post_share {
    margin-top: 0;
    gap: 8px;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 10px;
  }

  .post_share_label {
    font-size: var(--font-size-small);
    flex: 0 0 100%;
    line-height: 1.2;
  }

  .post_share_btn {
    width: 36px;
    height: 36px;
  }

  .post_relacionado img {
    height: 200px;
  }

  .post_relacionado_textcontent {
    padding: 18px;
  }

  .post_relacionado_textcontent p {
    font-size: var(--font-size-lsmall);
  }

  .contenedor_form_sidebar {
    height: auto;
    min-height: 320px;
  }

  .img_form_sidebar,
  .textos_form_sidebar {
    width: 50%;
  }

  .textos_form_sidebar {
    padding: 18px 12px;
    gap: 8px;
  }

  .textos_form_sidebar h3 {
    font-size: var(--font-size-normal);
    line-height: 1.15;
  }

  .parrafo_1,
  .parrafo_2 {
    font-size: var(--font-size-lsmall);
    line-height: 1.25;
  }

  .form_sidebar form {
    margin-top: 0;
    padding: 10px 12px 0;
    box-sizing: border-box;
    align-items: stretch;
    gap: 10px;
  }

  .form_sidebar form input,
  .form_sidebar form button {
    width: 100%;
    box-sizing: border-box;
  }

  .form_sidebar form button {
    padding-inline: 16px;
  }

  body.menu-open {
    overflow: hidden;
  }
}

@media (min-width: 901px) {
  .hamburger_btn {
    display: none;
  }

  .menu_close_btn {
    display: none;
  }
}
