/* Consistent mobile header for inform.kg, desktop/tablet preserved. */
.he-v2-shell .he-v2-header-date,
.he-v2-shell .he-v2-rates-weather { display: none; }

@media (max-width: 640px) {
  body.he-v2-ready .he-v2-shell .he-v2-header {
    background: #173d59 !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 0 3px 12px rgba(9,31,46,.13);
  }
  body.he-v2-ready .he-v2-shell .he-v2-header-inner {
    display: grid !important;
    grid-template-columns: minmax(0,1.05fr) minmax(0,.92fr) auto;
    align-items: center;
    justify-content: stretch;
    width: 100%;
    height: 78px !important;
    min-height: 78px;
    padding: 8px 12px !important;
    gap: 7px !important;
    box-sizing: border-box;
  }
  body.he-v2-ready .he-v2-shell .he-v2-brand {
    grid-column: 1;
    min-width: 0;
    justify-self: start;
  }
  body.he-v2-ready .he-v2-shell .he-v2-brand-logo {
    width: 100% !important;
    max-width: 129px !important;
    height: auto !important;
    max-height: 52px;
    object-fit: contain;
  }
  body.he-v2-ready .he-v2-shell .he-v2-header-date {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-width: 0;
    color: #f4f9fc;
    text-align: center;
    font-family: Arial, sans-serif;
    line-height: 1.18;
  }
  body.he-v2-ready .he-v2-shell .he-v2-header-date-caption {
    font-size: 12px;
    font-weight: 700;
    color: #c7e3f1;
  }
  body.he-v2-ready .he-v2-shell .he-v2-header-date-value {
    font-size: 11px;
    line-height: 1.2;
    font-weight: 650;
    overflow-wrap: normal;
    text-wrap: balance;
    color: #fff;
  }
  body.he-v2-ready .he-v2-shell .he-v2-header-actions {
    grid-column: 3;
    justify-self: end;
    gap: 0;
    min-width: 0;
  }
  body.he-v2-ready .he-v2-shell .he-v2-header-actions .he-v2-current-weather {
    display: none !important;
  }
  body.he-v2-ready .he-v2-shell .he-v2-menu-button {
    background: #fff !important;
    color: #173d59 !important;
    border: 1px solid #dceaf2 !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 7px rgba(0,0,0,.12);
    font-size: 12px !important;
    padding: 0 10px !important;
    min-height: 41px !important;
    gap: 5px !important;
    white-space: nowrap;
  }
  body.he-v2-ready .he-v2-shell .he-v2-menu-button:hover,
  body.he-v2-ready .he-v2-shell .he-v2-menu-button:focus-visible {
    background: #e9f3fa !important;
    color: #173d59 !important;
  }
  body.he-v2-ready .he-v2-shell .he-v2-menu-button span,
  body.he-v2-ready .he-v2-shell .he-v2-menu-button .he-v2-icon {
    color: #173d59 !important;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rates {
    background: #173d59 !important;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rates-inner {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) 76px !important;
    grid-template-rows: auto auto auto;
    column-gap: 8px !important;
    row-gap: 9px !important;
    align-items: center;
    overflow: visible !important;
    padding: 12px 12px 14px !important;
    box-sizing: border-box;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rate-label {
    grid-column: 1 / -1 !important;
    grid-row: 1;
    font-size: 11px !important;
    letter-spacing: .055em;
    margin: 0 !important;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rate {
    display: flex !important;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 4px !important;
    white-space: nowrap;
    min-width: 0;
    line-height: 1.1;
    font-size: 12px;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rate strong {
    font-size: 11px;
    color: #ffc58d;
    flex: 0 0 auto;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rate:nth-child(2) { grid-column: 1; grid-row: 2; }
  body.he-v2-ready .he-v2-shell .he-v2-rate:nth-child(3) { grid-column: 2; grid-row: 2; }
  body.he-v2-ready .he-v2-shell .he-v2-rate:nth-child(4) { grid-column: 1; grid-row: 3; }
  body.he-v2-ready .he-v2-shell .he-v2-rate:nth-child(5) { grid-column: 2; grid-row: 3; }
  body.he-v2-ready .he-v2-shell .he-v2-rate-value {
    font-size: 12px !important;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.2px;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rate-trend {
    font-size: 13px;
    margin-left: -1px;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rates-weather {
    display: flex;
    grid-column: 3;
    grid-row: 2 / 4;
    align-self: stretch;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    padding: 5px 2px;
    gap: 3px;
    border: 1px solid rgba(205,226,238,.28);
    border-radius: 13px;
    background: rgba(237,246,251,.11);
    color: #fff !important;
    white-space: nowrap;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rates-weather-icon {
    color: #ffc167;
    font-size: 26px;
    line-height: 1;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rates-weather-temp {
    font-size: 16px;
    font-weight: 750;
    line-height: 1.1;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rates-weather-city {
    font-size: 9px;
    color: #d5eaf4;
    font-weight: 650;
  }
}
@media (max-width: 365px) {
  body.he-v2-ready .he-v2-shell .he-v2-header-inner {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto;
    height: 72px !important;
    min-height: 72px;
    padding: 7px 8px !important;
    gap: 5px !important;
  }
  body.he-v2-ready .he-v2-shell .he-v2-brand-logo { max-width: 105px !important; }
  body.he-v2-ready .he-v2-shell .he-v2-header-date-caption { font-size: 11px; }
  body.he-v2-ready .he-v2-shell .he-v2-header-date-value { font-size: 10px; }
  body.he-v2-ready .he-v2-shell .he-v2-menu-button {
    padding: 0 6px !important;
    font-size: 11px !important;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rates-inner {
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) 60px !important;
    column-gap: 5px !important;
    padding: 10px 8px 12px !important;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rate,
  body.he-v2-ready .he-v2-shell .he-v2-rate strong,
  body.he-v2-ready .he-v2-shell .he-v2-rate-value { font-size: 10px !important; }
  body.he-v2-ready .he-v2-shell .he-v2-rates-weather-icon { font-size: 22px; }
  body.he-v2-ready .he-v2-shell .he-v2-rates-weather-temp { font-size: 13px; }
  body.he-v2-ready .he-v2-shell .he-v2-rates-weather-city { font-size: 8px; }
}


/* 11 October refinement: compact two-element mobile header, transparent wordmark,
   date in the rates strip; preserve desktop/tablet and existing rate positioning. */
.he-v2-shell .he-v2-brand-logo-mobile,
.he-v2-shell .he-v2-rate-date {
  display: none !important;
}
@media (max-width: 640px) {
  body.he-v2-ready .he-v2-shell .he-v2-header-inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    height: 84px !important;
    min-height: 84px !important;
    padding: 7px 13px !important;
    gap: 8px !important;
  }
  body.he-v2-ready .he-v2-shell .he-v2-brand {
    grid-column: 1 !important;
    min-width: 0;
    align-items: center;
  }
  body.he-v2-ready .he-v2-shell .he-v2-brand-logo:not(.he-v2-brand-logo-mobile) {
    display: none !important;
  }
  body.he-v2-ready .he-v2-shell .he-v2-brand-logo-mobile {
    display: block !important;
    width: min(225px, calc(100vw - 123px)) !important;
    max-width: 225px !important;
    height: auto !important;
    max-height: 71px !important;
    object-fit: contain;
  }
  body.he-v2-ready .he-v2-shell .he-v2-header-actions {
    grid-column: 2 !important;
    justify-self: end !important;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rate-label {
    display: none !important;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rate-date {
    display: flex !important;
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
    padding: 0 0 3px;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-style: normal;
    font-size: 13px;
    line-height: 1.35;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rate-date-prefix {
    font-size: 13px;
    font-weight: 750;
    color: #ffffff;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rate-date-value {
    color: #cce6f4;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
  }
}
@media (max-width: 365px) {
  body.he-v2-ready .he-v2-shell .he-v2-header-inner {
    grid-template-columns: minmax(0, 1fr) auto !important;
    height: 75px !important;
    min-height: 75px !important;
    padding: 6px 9px !important;
    gap: 6px !important;
  }
  body.he-v2-ready .he-v2-shell .he-v2-brand-logo-mobile {
    width: min(195px, calc(100vw - 110px)) !important;
    max-width: 195px !important;
    max-height: 64px !important;
  }
  body.he-v2-ready .he-v2-shell .he-v2-rate-date,
  body.he-v2-ready .he-v2-shell .he-v2-rate-date-prefix,
  body.he-v2-ready .he-v2-shell .he-v2-rate-date-value {
    font-size: 12px !important;
  }
}
