/* REINFORMA — navegación principal desktop */
@media (min-width: 769px) {
  .general-header .main-navigation {
    min-height: 58px;
    border-top-width: 4px;
    background: #0a0a0a;
  }

  .general-header .primary-navigation > ul {
    min-height: 54px;
    align-items: stretch;
  }

  .general-header .primary-navigation > ul > li {
    position: relative;
    align-items: stretch;
  }

  .general-header .primary-navigation > ul > li > a {
    position: relative;
    min-height: 54px;
    padding: 0 18px;
    color: #fff !important;
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .015em;
    text-transform: none;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
  }

  .general-header .primary-navigation > ul > li > a::after {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 8px;
    height: 3px;
    border-radius: 999px;
    background: #f26a21;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .18s ease;
  }

  .general-header .primary-navigation > ul > li > a:hover,
  .general-header .primary-navigation > ul > li.current-menu-item > a,
  .general-header .primary-navigation > ul > li.current-menu-ancestor > a,
  .general-header .primary-navigation > ul > li.current_page_item > a {
    background: #151515;
    color: #fff !important;
  }

  .general-header .primary-navigation > ul > li > a:hover::after,
  .general-header .primary-navigation > ul > li.current-menu-item > a::after,
  .general-header .primary-navigation > ul > li.current-menu-ancestor > a::after,
  .general-header .primary-navigation > ul > li.current_page_item > a::after {
    transform: scaleX(1);
  }

  .general-header .header-search-container {
    min-height: 54px;
  }

  .general-header .primary-navigation ul ul li a {
    font-size: 14px;
    font-weight: 800;
  }
}

@media (min-width: 769px) and (max-width: 1100px) {
  .general-header .primary-navigation > ul > li > a {
    padding-left: 13px;
    padding-right: 13px;
    font-size: 15px;
  }

  .general-header .primary-navigation > ul > li > a::after {
    left: 13px;
    right: 13px;
  }
}

/* REINFORMA — buscador editorial desktop */
@media (min-width: 769px) {
  .general-header .main-navigation {
    position: relative;
  }

  .general-header .reinforma-header-search {
    flex: 0 0 58px;
    width: 58px;
    min-height: 54px;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    background: #0a0a0a;
    border-left: 1px solid rgba(255,255,255,.12);
  }

  .general-header .reinforma-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    min-width: 58px;
    height: 54px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #0a0a0a;
    color: #fff;
    font-size: 19px;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
  }

  .general-header .reinforma-search-toggle:hover,
  .general-header .reinforma-search-toggle:focus-visible,
  .general-header .reinforma-search-toggle[aria-expanded="true"] {
    background: #f26a21;
    color: #0a0a0a;
  }

  .general-header .reinforma-search-drawer {
    position: relative;
    z-index: 80;
    width: 100%;
    margin: 0;
    padding: 18px 22px 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 4px solid #f26a21;
    background: #111;
    box-shadow: 0 14px 30px rgba(0,0,0,.16);
  }

  .general-header .reinforma-search-drawer[hidden] {
    display: none !important;
  }

  .general-header .reinforma-search-drawer-form {
    width: min(860px, 100%);
    margin: 0 auto;
  }

  .general-header .reinforma-search-drawer-label {
    display: block;
    margin-bottom: 8px;
    color: #f26a21;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .general-header .reinforma-search-drawer-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
  }

  .general-header .reinforma-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 50px;
    margin: 0;
    padding: 0 17px;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 8px;
    outline: 0;
    background: #fff !important;
    color: #111 !important;
    font-size: 16px;
    font-weight: 700;
    line-height: 50px;
    box-shadow: none !important;
  }

  .general-header .reinforma-search-input:focus {
    border-color: #f26a21 !important;
    box-shadow: 0 0 0 3px rgba(242,106,33,.16) !important;
  }

  .general-header .reinforma-search-input::placeholder {
    color: #777;
    font-weight: 600;
  }

  .general-header .reinforma-search-submit {
    flex: 0 0 auto;
    min-width: 118px;
    height: 50px;
    margin: 0;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    background: #f26a21;
    color: #0a0a0a;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .general-header .reinforma-search-submit:hover,
  .general-header .reinforma-search-submit:focus-visible {
    background: #fff;
    color: #0a0a0a;
  }
}

@media (max-width: 768px) {
  .general-header .reinforma-header-search,
  .general-header .reinforma-search-drawer {
    display: none !important;
  }
}
