/*
Theme Name: IT-Platinum
Template: rhye
Description: Фирменное оформление сайта IT-Platinum.
Author: Artem Semkin
Author URI: https://artemsemkin.com/
Version: 1.0.1
*/

@media (max-width: 767px) {
  .itp-site-header > .e-con-inner > .e-con {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 8px 9px;
    border: 1px solid #273c56;
    border-radius: 19px;
    background: radial-gradient(ellipse at 100% 0, #142940, #000b15 76%);
    box-shadow: 0 8px 22px #0005;
  }

  .itp-site-header > .e-con-inner > .e-con > .e-con:first-child {
    grid-area: 1 / 1;
    width: min(104px, 100%);
    margin-inline-start: 3px;
  }

  .itp-site-header > .e-con-inner > .e-con > .elementor-widget-button:last-child {
    grid-area: 1 / 2;
  }

  .itp-site-header > .e-con-inner > .e-con > .elementor-widget-button:last-child .elementor-button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px clamp(10px, 3.6vw, 16px);
    border: 1px solid #c4e3ff;
    border-radius: 12px;
    background: linear-gradient(115deg, #d4e8ff, #9ec9fa);
    color: #071423;
    font-size: clamp(11.5px, 3.35vw, 13px);
    font-weight: 800;
    line-height: 1.25;
    white-space: nowrap;
  }

  .itp-site-header > .e-con-inner > .e-con > nav {
    grid-area: 2 / 1 / 3 / -1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    padding: 0 2px;
    border: 1px solid #1f3148;
    border-radius: 12px;
    background: #081422;
  }

  .itp-site-header > .e-con-inner > .e-con > nav > .elementor-widget-button {
    min-width: 0;
    width: 100%;
  }

  header.itp-site-header > .e-con-inner > .e-con > nav .elementor-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 4px 1px;
    border-radius: 10px;
    color: #c0d6ef;
    font-size: clamp(11.5px, 3.2vw, 13px);
    font-weight: 700;
    line-height: 1.25;
    white-space: nowrap;
  }

  header.itp-site-header > .e-con-inner > .e-con > nav .elementor-button:is(:focus-visible, :active) {
    background: #1b3451;
    color: #f3f8ff;
  }

  .itp-site-header .elementor-button:focus-visible {
    outline: 2px solid #73e5ff;
    outline-offset: -3px;
  }
}
