@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("design-media/manrope-cyrillic.woff2") format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: Manrope;
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("design-media/manrope-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
        U+2212, U+2215, U+FEFF, U+FFFD;
}

.texaudit-site {
    --site-ink: #20313e;
    --site-muted: #526573;
    --site-line: #dbe4ea;
    --site-tint: #edf3f6;
    --site-cloud: #f5f8fa;
    --site-section: clamp(32px, 3.4vw, 62px);
    font-family: Manrope, "Segoe UI", Arial, sans-serif;
    font-weight: 400;
}

.texaudit-site :is(h1, h2) { font-weight: 550; letter-spacing: -.032em; }
.texaudit-site :is(h3, h4, h5) { font-weight: 620; }
.site-header .site-menu li > a { font-weight: 600; }
.site-header .site-phone { font-weight: 620; }
.site-header .header__top .row { min-height: 34px; }
.site-header-main { min-height: 73px; }

.site-hero .site-slide {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    min-height: clamp(460px, 33vw, 565px);
    isolation: isolate;
}

.site-hero .site-slide::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #f4f8fa 0%, rgb(242 247 250 / 96%) 23%,
        rgb(235 242 247 / 83%) 43%, rgb(232 240 245 / 31%) 60%, transparent 76%);
    content: "";
}

.site-hero .site-slide-copy {
    width: min(65%, 990px);
    padding: clamp(24px, 3.15vw, 60px) 0 86px var(--site-gutter);
}

.site-hero .site-slide-copy::before { margin-bottom: 17px; }
.site-hero .site-slide-image { position: absolute; inset: 0; z-index: -2; }
.site-hero .site-slide-image img { object-position: 68% center; }
.site-hero .site-slide-title,
.site-hero .site-slide:not(.site-slide-first) .site-slide-title {
    max-width: 26ch;
    color: #192a37;
    font-size: clamp(33px, 3.12vw, 58px);
    font-weight: 550;
    line-height: 1.105;
    letter-spacing: -.034em;
    text-wrap: balance;
}

.site-hero .site-slide-description {
    max-width: 63ch;
    color: #3f5362;
    font-size: clamp(15px, 1.1vw, 18px);
    font-weight: 400;
    line-height: 1.53;
}

.site-hero .site-slide-link { font-weight: 650; }
.site-hero .site-slider-control { border-radius: 8px; }
.site-hero .slick-track { align-items: flex-start; }

.texaudit-site .home-icon { padding-top: clamp(15px, 2vw, 30px); padding-bottom: 0; border: 0; }
.texaudit-site .home-icon__item {
    grid-template-columns: minmax(90px, .82fr) minmax(0, 1.4fr) auto;
    gap: clamp(10px, 1.16vw, 18px);
    min-height: clamp(116px, 9.4vw, 156px);
    padding: 0 15px 0 0;
    overflow: hidden;
    border-radius: 10px;
}

.site-card-image { align-self: stretch; position: relative; min-width: 0; margin: 0; background-color: var(--site-tint); }
.site-card-image img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: 58% center; }
.texaudit-site .home-icon__content { padding-block: 12px; }
.texaudit-site .home-icon__content h5 {
    font-size: clamp(14px, 1.03vw, 19px);
    font-weight: 600;
    line-height: 1.38;
    overflow-wrap: anywhere;
}

.texaudit-site .home-icon__item:focus-within { outline-offset: 3px; }
.texaudit-site .home-icon__item .site-card-arrow { margin-left: 2px; font-size: 13px; }

.site-intro-layout { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); gap: clamp(18px, 2.6vw, 43px); align-items: stretch; }
.site-intro-layout > * { min-width: 0; }
.texaudit-site .site-intro-layout h2 { margin: 0 0 15px; }
.texaudit-site .site-intro-layout .home-about__text { font-size: clamp(15px, 1vw, 17px); line-height: 1.62; }
.site-intro-copy { display: flex; flex-direction: column; }
.site-intro-copy p { margin: 0 0 13px; }
.site-intro-copy p:first-of-type { color: var(--site-ink); font-weight: 560; }
.site-intro-photo { position: relative; flex: 1; min-height: clamp(140px, 13vw, 212px); margin-top: 5px; overflow: hidden; border-radius: 10px; background: var(--site-cloud); }
.site-intro-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.site-intro-map { display: flex; flex-direction: column; }
.texaudit-site .site-intro-layout iframe { flex: 1; min-height: 365px; height: auto; border-radius: 10px; }

.texaudit-site .site-news-grid {
    --news-gap: clamp(12px, 1.35vw, 22px);
    display: flex;
    flex-wrap: wrap;
    gap: var(--news-gap);
}

.texaudit-site .site-news-grid > div { flex: 1 1 calc((100% - 3 * var(--news-gap)) / 4); }
.texaudit-site .home-news__item { display: flex; flex-direction: column; min-height: 0; padding: 0; overflow: hidden; border-radius: 10px; }
.texaudit-site .home-news__item-img { width: 100%; height: auto; margin: 0; aspect-ratio: 16 / 9; border-radius: 0; background: var(--site-tint); }
.texaudit-site .home-news__item-img img { display: block; border-radius: 0; }
.texaudit-site .home-news__item-content { padding: clamp(14px, 1.3vw, 21px); }
.texaudit-site .home-news__item-content h3 { font-weight: 610; line-height: 1.42; }
.texaudit-site .home-news__header a { font-weight: 610; }

.texaudit-site .blog__post-image:not(:has(img)),
.texaudit-site .blog__one-image:not(:has(img)) { display: none; }
.texaudit-site .blog__post-text { min-width: 0; }
.texaudit-site .blog__post:not(:has(.blog__post-image img)) .blog__post-text { width: 100%; max-width: none; }

@media (max-width: 1119px) {
    .texaudit-site .site-news-grid > div { flex-basis: calc((100% - var(--news-gap)) / 2); }
    .texaudit-site .home-icon__item { grid-template-columns: minmax(70px, .7fr) minmax(0, 1.5fr); padding-right: 11px; }
    .texaudit-site .home-icon__item .site-card-arrow { display: none; }
}

@media (max-width: 760px) {
    .site-header-main { min-height: 66px; }
    .site-hero .site-slide { display: grid; grid-template-rows: auto 1fr; min-height: 0; height: auto; }
    .site-hero .site-slide::before { content: none; }
    .site-hero .site-slide-image { position: relative; inset: auto; z-index: auto; order: -1; min-height: clamp(150px, 42vw, 275px); }
    .site-hero .site-slide-image img { object-position: 64% center; }
    .site-hero .site-slide-copy { width: auto; padding: 18px var(--site-gutter) 74px; }
    .site-hero .site-slide-copy::before { margin-bottom: 11px; }
    .site-hero .site-slide-title,
    .site-hero .site-slide:not(.site-slide-first) .site-slide-title {
        max-width: none;
        font-size: clamp(28px, 7.5vw, 43px);
        line-height: 1.13;
        text-wrap: wrap;
    }
    .site-hero .site-slide-description { font-size: 14px; line-height: 1.5; }
    .texaudit-site .home-icon > .container > .row { grid-template-columns: minmax(0, 1fr); }
    .texaudit-site .home-icon__item { min-height: 86px; grid-template-columns: minmax(84px, .55fr) minmax(0, 1.65fr) auto; }
    .texaudit-site .home-icon__item .site-card-arrow { display: inline; }
    .site-intro-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .texaudit-site .site-intro-layout iframe { flex: auto; height: 360px; min-height: 0; }
}

@media (max-width: 520px) {
    .texaudit-site .site-news-grid > div { flex-basis: 100%; }
    .texaudit-site .home-news__item-img { aspect-ratio: 2 / 1; }
}
