/*
Theme Name: Zaoaz Theme
Theme URI: https://zaoaz.ru/
Author: Artem
Version: 1.0
Description: Custom WordPress theme for zaoaz.ru
*/

/* =========================
   Base
========================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    color: #111;
    background: #fff;
}

a {
    color: inherit;
}

/* =========================
   Header
========================= */

.zao-header {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #eeeeee;
}

.zao-header__inner {
    max-width: 1140px;
    height: 112px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.zao-header__logo {
    width: 260px;
    padding-top: 14px;
    flex-shrink: 0;
}

.zao-header__logo img {
    display: block;
    max-width: 245px;
    height: auto;
}

.zao-header__content {
    flex: 1;
    min-width: 0;
}

.zao-header__top {
    height: 58px;
    padding-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.zao-header__phone {
    color: #007c9c;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.zao-header__phone-icon {
    margin-right: 8px;
    color: #007c9c;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
}

.zao-header__right {
    display: flex;
    align-items: center;
    gap: 70px;
}

.zao-search {
    width: 185px;
    height: 28px;
    display: flex;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 4px;
}

.zao-search input {
    width: 100%;
    height: 100%;
    padding: 0 10px;
    border: 0;
    outline: none;
    color: #555;
    font-size: 13px;
}

.zao-search button {
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: #c9ccd5;
    color: #fff;
    cursor: pointer;
    font-size: 13px;
    line-height: 1;
}

.zao-question-btn {
    width: 152px;
    height: 39px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #23a3bf;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.zao-question-btn:hover {
    background: #168ea8;
    color: #fff;
}

/* =========================
   Navigation
========================= */

.zao-nav {
    height: 54px;
    padding-top: 10px;
    display: flex;
    align-items: flex-start;
}

.zao-nav > ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 39px;
    list-style: none;
}

.zao-nav > ul > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.zao-nav > ul > li > a {
    color: #000;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.zao-nav > ul > li > a:hover {
    color: #168ea8;
}

.zao-nav > ul > li.has-sub > a::after {
    content: "";
    display: inline-block;
    margin-left: 9px;
    vertical-align: middle;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #b7b7b7;
}

.zao-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    width: 350px;
    margin: 0;
    padding: 0;
    display: none;
    list-style: none;
    background: #fff;
    border: 1px solid #d8d8d8;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.12);
}

.zao-nav > ul > li:hover > .zao-submenu {
    display: block;
}

.zao-submenu li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #eeeeee;
}

.zao-submenu li:last-child {
    border-bottom: 0;
}

.zao-submenu a {
    min-height: 42px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    color: #222;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.15;
    text-transform: none;
    text-decoration: none;
    white-space: normal;
}

.zao-submenu a:hover {
    background: #f5f5f5;
    color: #168ea8;
}

/* =========================
   Mobile Menu Button
========================= */

.zao-mobile-menu-toggle {
    display: none;
}

/* Navigation responsive */

@media (max-width: 900px) {
    .zao-nav {
        height: auto;
        padding-top: 0;
    }

    .zao-nav > ul {
        flex-wrap: wrap;
        gap: 15px 25px;
    }

    .zao-submenu {
        top: 24px;
    }
}

@media (max-width: 768px) {
    .zao-header__top {
        display: none;
    }

    .zao-mobile-menu-toggle {
        width: 100%;
        height: 42px;
        margin: 0 0 10px;
        padding: 0 14px;
        display: flex;
        align-items: center;
        gap: 8px;
        border: 0;
        background: #23a3bf;
        color: #fff;
        font-family: Georgia, "Times New Roman", serif;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
    }

    .zao-mobile-menu-toggle span {
        width: 18px;
        height: 2px;
        display: block;
        background: #fff;
    }

    .zao-nav {
        display: none;
        width: 100%;
        height: auto;
        padding: 0;
        margin: 0 0 12px;
        background: #fff;
        border: 1px solid #eeeeee;
    }

    .zao-nav.is-open {
        display: block !important;
    }

    .zao-nav > ul {
        display: block;
        width: 100%;
        margin: 0;
        padding: 0;
    }

  .zao-nav > ul > li {
    position: relative;
    margin: 0;
    padding: 0 0 18px;
}

    .zao-nav > ul > li:last-child {
        border-bottom: 0;
    }

    .zao-nav > ul > li > a {
        padding: 12px 14px;
        display: block;
        font-size: 14px;
        line-height: 1.2;
    }

    .zao-nav > ul > li.has-sub > a::after {
        float: right;
        margin-top: 5px;
    }

    .zao-submenu {
        position: static;
        width: 100%;
        display: block;
        border: 0;
        border-top: 1px solid #eeeeee;
        box-shadow: none;
        background: #f7f7f7;
    }

    .zao-submenu li {
        border-bottom: 1px solid #e5e5e5;
    }

    .zao-submenu a {
        min-height: 0;
        padding: 10px 18px 10px 26px;
        background: #f7f7f7;
        font-size: 14px;
        line-height: 1.2;
    }
}


/* =========================
   Main / Slider
========================= */

.zao-main {
    width: 100%;
    flex: 1 0 auto;
    background: #fff;
}

.zao-slider {
    max-width: 1140px;
    height: 355px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: #dddddd;
}

.zao-slider__item {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.zao-slider__item.active {
    opacity: 1;
    visibility: visible;
}

.zao-slider__caption {
    position: absolute;
    top: 58px;
    left: 30px;
}

.zao-slider__title {
    display: inline-block;
    padding: 12px 18px 14px;
    background: rgba(0, 119, 139, 0.82);
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    line-height: 1.35;
    font-weight: 400;
}

.zao-slider__dots {
    position: absolute;
    right: 145px;
    bottom: 45px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 13px;
}

.zao-slider__dots button {
    width: 14px;
    height: 14px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.zao-slider__dots button.active {
    background: #fff;
}

/* =========================
   About / Content + News
========================= */

.zao-about {
    padding: 46px 0 48px;
    background: #fff;
}

.zao-about__inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 44px;
}

.zao-about__content {
    flex: 1 1 auto;
    min-width: 0;
}

.zao-about__sidebar {
    width: 284px;
    flex-shrink: 0;
}

.zao-breadcrumbs {
    margin-bottom: 30px;
    padding: 14px 16px;
    background: #f1f1f1;
    color: #222;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.3;
}

.zao-breadcrumbs a {
    color: #222;
    text-decoration: none;
}

.zao-breadcrumbs a:hover {
    color: #23a3bf;
}

.zao-breadcrumbs span {
    margin: 0 3px;
}

.zao-page-title {
    margin: 0 0 34px;
    color: #1d2c40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.15;
}

.zao-page-text {
    color: #1a1a1a;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.55;
}

.zao-page-text p {
    margin: 0 0 22px;
}

.zao-page-text h2,
.zao-page-text h3,
.zao-page-text h4 {
    margin: 30px 0 18px;
    color: #1d2c40;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1.2;
}

.zao-page-text h2 {
    font-size: 30px;
}

.zao-page-text h3 {
    font-size: 26px;
}

.zao-page-text h4 {
    font-size: 22px;
}

.zao-page-text ul,
.zao-page-text ol {
    margin: 0 0 24px 24px;
    padding: 0;
}

.zao-page-text li {
    margin-bottom: 10px;
}

.zao-page-text a {
    color: #1b93bd;
    text-decoration: none;
}

.zao-page-text a:hover {
    text-decoration: underline;
}

/* =========================
   Latest News Sidebar
========================= */

.zao-latest-news {
    font-family: Georgia, "Times New Roman", serif;
}

.zao-latest-news__item {
    margin-bottom: 26px;
}

.zao-latest-news__date {
    margin-bottom: 7px;
    color: #1a1a1a;
    font-size: 17px;
    line-height: 1.2;
}

.zao-latest-news__title {
    display: block;
    margin-bottom: 9px;
    color: #1b93bd;
    font-size: 22px;
    line-height: 1.28;
    font-weight: 400;
    text-decoration: none;
}

.zao-latest-news__title:hover {
    text-decoration: underline;
}

.zao-latest-news__excerpt {
    color: #111;
    font-size: 16px;
    line-height: 1.55;
}

.zao-latest-news__empty {
    margin-bottom: 20px;
    color: #111;
    font-size: 16px;
    line-height: 1.5;
}

.zao-latest-news__btn {
    min-width: 148px;
    height: 35px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #23a3bf;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

.zao-latest-news__btn:hover {
    background: #168ea8;
    color: #fff;
}

/* =========================
   Footer
========================= */

.zao-footer {
    width: 100%;
    margin-top: 0;
    padding: 48px 0 42px;
    background: #5a2f1d;
    color: #fff;
     flex-shrink: 0;
}

.zao-footer__inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 105px;
}

.zao-footer__menus {
    display: flex;
    gap: 88px;
}

.zao-footer__menu {
    display: flex;
    gap: 88px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.zao-footer__menus .zao-footer__menu {
    display: block;
    gap: 0;
}

.zao-footer__menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.zao-footer__menu li {
    margin: 0 0 17px;
    padding: 0;
}

.zao-footer__menu a {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
}

.zao-footer__menu a:hover {
    color: #23a3bf;
}

.zao-footer__contacts,
.zao-footer__info {
    padding-top: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.zao-footer__contact,
.zao-footer__line {
    display: flex;
    align-items: center;
    margin-bottom: 17px;
    color: #fff;
}

.zao-footer__contact a,
.zao-footer__line a {
    color: #fff;
    text-decoration: none;
}

.zao-footer__contact a:hover,
.zao-footer__line a:hover {
    color: #23a3bf;
}

.zao-footer__icon {
    width: 22px;
    margin-right: 8px;
    flex-shrink: 0;
    color: #d8d8d8;
    font-size: 16px;
    text-align: center;
}

.zao-footer__copy {
    margin-top: 2px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

/* =========================
   Tablet
========================= */

@media (max-width: 900px) {

    .zao-header__inner {
        max-width: 100%;
        height: auto;
        padding: 15px;
        flex-direction: column;
        gap: 15px;
    }

    .zao-header__logo {
        width: 100%;
        padding-top: 0;
    }

    .zao-header__top {
        height: auto;
        padding-top: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .zao-header__right {
        width: 100%;
        gap: 15px;
        flex-wrap: wrap;
    }

    .zao-nav {
        height: auto;
        padding-top: 0;
    }

    .zao-nav ul {
        flex-wrap: wrap;
        gap: 15px 25px;
    }

    .zao-slider {
        max-width: 100%;
        height: 300px;
        margin: 0;
    }

    .zao-slider__caption {
        top: 40px;
        left: 20px;
        right: 20px;
    }

    .zao-slider__title {
        font-size: 24px;
    }

    .zao-slider__dots {
        right: 30px;
        bottom: 25px;
    }

    .zao-about {
        padding: 30px 15px 35px;
    }

    .zao-about__inner {
        max-width: 100%;
        flex-direction: column;
        gap: 30px;
    }

    .zao-about__sidebar {
        width: 100%;
    }

    .zao-page-title {
        margin-bottom: 24px;
        font-size: 36px;
    }

    .zao-page-text {
        font-size: 18px;
    }

    .zao-latest-news__title {
        font-size: 21px;
    }

    .zao-latest-news__excerpt {
        font-size: 16px;
    }

    .zao-footer {
        padding: 35px 15px;
    }

    .zao-footer__inner {
        max-width: 100%;
        flex-direction: column;
        gap: 30px;
    }

    .zao-footer__menus,
    .zao-footer__menu {
        gap: 60px;
    }
}

/* =========================
   Mobile
========================= */

@media (max-width: 520px) {

    .zao-header__inner {
        padding: 14px 10px 0;
        display: block;
    }

    .zao-header__logo {
        margin-bottom: 12px;
    }

    .zao-header__logo img {
        max-width: 235px;
    }

    .zao-header__top {
        display: none;
    }

  

    .zao-slider {
        height: 320px;
    }

    .zao-slider__item {
        background-size: cover;
        background-position: center center;
    }

    .zao-slider__caption {
        top: 52px;
        left: 28px;
        right: 16px;
    }

    .zao-slider__title {
        padding: 12px 16px;
        font-size: 28px;
        line-height: 1.35;
    }

    .zao-slider__dots {
        right: auto;
        left: 50%;
        bottom: 36px;
        transform: translateX(-50%);
    }

    .zao-about {
        padding: 24px 10px 30px;
    }

    .zao-breadcrumbs {
        margin-bottom: 22px;
        padding: 12px 14px;
        font-size: 14px;
    }

    .zao-page-title {
        margin-bottom: 20px;
        font-size: 32px;
    }

    .zao-page-text {
        font-size: 17px;
        line-height: 1.5;
    }

    .zao-page-text p {
        margin-bottom: 20px;
    }

    .zao-latest-news__item {
        margin-bottom: 22px;
    }

    .zao-latest-news__date {
        font-size: 16px;
    }

    .zao-latest-news__title {
        font-size: 20px;
    }

    .zao-latest-news__excerpt {
        font-size: 16px;
        line-height: 1.45;
    }

    .zao-footer {
        padding: 34px 10px 38px;
    }

    .zao-footer__inner {
        display: block;
    }

    .zao-footer__menus,
    .zao-footer__menu {
        display: block;
        margin-bottom: 34px;
    }

    .zao-footer__menus .zao-footer__menu {
        margin-bottom: 0;
    }

    .zao-footer__menu ul {
        margin-bottom: 0;
    }

    .zao-footer__menu li {
        margin-bottom: 14px;
    }

    .zao-footer__menu a {
        font-size: 16px;
    }

    .zao-footer__contacts,
    .zao-footer__info {
        font-size: 15px;
        line-height: 1.4;
    }

    .zao-footer__contact,
    .zao-footer__line {
        align-items: flex-start;
        margin-bottom: 16px;
    }

    .zao-footer__copy {
        font-size: 15px;
        line-height: 1.4;
    }
}
/* =========================
   Services Grid
========================= */

.zao-services {
    padding: 18px 0 70px;
    background: #fff;
}

.zao-services__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.zao-services__row {
    display: grid;
    gap: 30px;
}

.zao-services__row--top {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 30px;
}

.zao-services__row--bottom {
    grid-template-columns: repeat(4, 1fr);
}

.zao-service-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.zao-service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 126, 147, 0.62);
    transition: background 0.25s ease;
}

.zao-service-card:hover::before {
    background: rgba(0, 126, 147, 0.78);
}

.zao-service-card span {
    position: relative;
    z-index: 2;
    max-width: 90%;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.05;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

.zao-service-card--large {
    height: 330px;
}

.zao-service-card--small {
    height: 208px;
}

.zao-service-card--small span {
    font-size: 18px;
}

/* Services responsive */

@media (max-width: 900px) {
    .zao-services {
        padding: 10px 15px 45px;
    }

    .zao-services__row--top,
    .zao-services__row--bottom {
        grid-template-columns: repeat(2, 1fr);
    }

    .zao-service-card--large,
    .zao-service-card--small {
        height: 230px;
    }
}

@media (max-width: 520px) {
    .zao-services {
        padding: 5px 10px 38px;
    }

    .zao-services__row {
        gap: 16px;
    }

    .zao-services__row--top,
    .zao-services__row--bottom {
        grid-template-columns: 1fr;
        margin-bottom: 16px;
    }

    .zao-service-card--large,
    .zao-service-card--small {
        height: 210px;
    }

    .zao-service-card span {
        font-size: 18px;
        line-height: 1.1;
    }
}
/* =========================
   Partners
========================= */

.zao-partners {
    padding: 0 0 64px;
    background: #fff;
}

.zao-partners__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.zao-partners__title {
    margin: 0 0 54px;
    color: #1d2c40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}

.zao-partners__slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zao-partners__list {
    width: 100%;
    padding: 0 72px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    gap: 34px;
}

.zao-partners__item {
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.zao-partners__item img {
    display: block;
    max-width: 130px;
    max-height: 82px;
    width: auto;
    height: auto;
}

.zao-partners__arrow {
    position: absolute;
    top: 50%;
    width: 36px;
    height: 60px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #d0d0d0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 70px;
    font-weight: 300;
    line-height: 1;
    cursor: default;
    transform: translateY(-50%);
}

.zao-partners__arrow--prev {
    left: 0;
}

.zao-partners__arrow--next {
    right: 0;
}

@media (max-width: 900px) {
    .zao-partners {
        padding: 0 15px 45px;
    }

    .zao-partners__title {
        margin-bottom: 35px;
    }

    .zao-partners__list {
        padding: 0 45px;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .zao-partners__arrow {
        font-size: 56px;
    }
}

@media (max-width: 520px) {
    .zao-partners {
        padding: 0 10px 38px;
    }

    .zao-partners__title {
        margin-bottom: 25px;
        font-size: 22px;
    }

    .zao-partners__slider {
        display: block;
    }

    .zao-partners__list {
        padding: 0;
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 18px;
    }

    .zao-partners__item {
        height: 70px;
    }

    .zao-partners__item img {
        max-width: 130px;
        max-height: 70px;
    }

    .zao-partners__arrow {
        display: none;
    }
}
/* =========================
   News Page
========================= */

.zao-news-page {
    padding: 38px 0 72px;
    background: #fff;
}

.zao-news-page__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.zao-news-list {
    margin-top: 36px;
}

.zao-news-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 34px;
}

.zao-news-item__thumb {
    width: 112px;
    height: 70px;
    flex-shrink: 0;
    display: block;
    overflow: hidden;
    background: #f1f1f1;
    text-decoration: none;
}

.zao-news-item__thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.zao-news-item__thumb--empty img {
    object-fit: contain;
    padding: 8px;
}

.zao-news-item__content {
    min-width: 0;
    font-family: Georgia, "Times New Roman", serif;
}

.zao-news-item__date {
    margin-bottom: 4px;
    color: #111;
    font-size: 15px;
    line-height: 1.2;
}

.zao-news-item__title {
    display: block;
    margin-bottom: 6px;
    color: #1b93bd;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 400;
    text-decoration: none;
}

.zao-news-item__title:hover {
    text-decoration: underline;
}

.zao-news-item__excerpt {
    color: #111;
    font-size: 16px;
    line-height: 1.45;
}

.zao-news-empty {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.5;
}

.zao-pagination {
    margin-top: 35px;
    font-family: Georgia, "Times New Roman", serif;
}

.zao-pagination .nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.zao-pagination a,
.zao-pagination span {
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f1f1;
    color: #111;
    font-size: 15px;
    text-decoration: none;
}

.zao-pagination .current,
.zao-pagination a:hover {
    background: #23a3bf;
    color: #fff;
}

/* News responsive */

@media (max-width: 900px) {
    .zao-news-page {
        padding: 30px 15px 55px;
    }

    .zao-news-page__inner {
        max-width: 100%;
    }
}

@media (max-width: 520px) {
    .zao-news-page {
        padding: 24px 10px 45px;
    }

    .zao-news-list {
        margin-top: 28px;
    }

    .zao-news-item {
        gap: 14px;
        margin-bottom: 28px;
    }

    .zao-news-item__thumb {
        width: 92px;
        height: 62px;
    }

    .zao-news-item__date {
        font-size: 14px;
    }

    .zao-news-item__title {
        font-size: 18px;
    }

    .zao-news-item__excerpt {
        font-size: 15px;
        line-height: 1.4;
    }
}
/* =========================
   Single News Page
========================= */

.zao-single-page {
    padding: 38px 0 72px;
    background: #fff;
}

.zao-single-page__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.zao-single-article {
    max-width: 900px;
}

.zao-single-title {
    margin: 0 0 28px;
    color: #1d2c40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 400;
    line-height: 1.25;
}

.zao-single-image {
    max-width: 760px;
    margin: 0 auto 32px;
}

.zao-single-image img {
    display: block;
    width: 100%;
    height: auto;
}

.zao-single-content {
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.65;
}

.zao-single-content p {
    margin: 0 0 22px;
}

.zao-single-content h2,
.zao-single-content h3,
.zao-single-content h4 {
    margin: 32px 0 18px;
    color: #1d2c40;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1.25;
}

.zao-single-content h2 {
    font-size: 28px;
}

.zao-single-content h3 {
    font-size: 24px;
}

.zao-single-content h4 {
    font-size: 21px;
}

.zao-single-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 28px;
}

.zao-single-content figure {
    margin: 0 0 28px;
}

.zao-single-content figure img {
    margin-bottom: 0;
}

.zao-single-content figcaption {
    margin-top: 8px;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.zao-single-content ul,
.zao-single-content ol {
    margin: 0 0 24px 24px;
    padding: 0;
}

.zao-single-content li {
    margin-bottom: 10px;
}

.zao-single-content a {
    color: #1b93bd;
    text-decoration: none;
}

.zao-single-content a:hover {
    text-decoration: underline;
}

.zao-single-content blockquote {
    margin: 26px 0;
    padding: 0 0 0 20px;
    border-left: 4px solid #23a3bf;
    color: #222;
    font-style: italic;
}

/* Single responsive */

@media (max-width: 900px) {
    .zao-single-page {
        padding: 30px 15px 55px;
    }

    .zao-single-page__inner {
        max-width: 100%;
    }

    .zao-single-article {
        max-width: 100%;
    }

    .zao-single-title {
        font-size: 28px;
    }

    .zao-single-image {
        max-width: 100%;
        margin-bottom: 28px;
    }

    .zao-single-content {
        font-size: 17px;
    }
}

@media (max-width: 520px) {
    .zao-single-page {
        padding: 24px 10px 45px;
    }

    .zao-single-title {
        margin-bottom: 22px;
        font-size: 24px;
        line-height: 1.25;
    }

    .zao-single-image {
        margin-bottom: 24px;
    }

    .zao-single-content {
        font-size: 16px;
        line-height: 1.55;
    }

    .zao-single-content p {
        margin-bottom: 20px;
    }

    .zao-single-content h2 {
        font-size: 24px;
    }

    .zao-single-content h3 {
        font-size: 22px;
    }

    .zao-single-content h4 {
        font-size: 20px;
    }
}
/* =========================
   Services Page
========================= */

.zao-services-page {
    padding: 38px 0 72px;
    background: #fff;
}

.zao-services-page__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.zao-services-page__title {
    margin: 0 0 34px;
    color: #1d2c40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
}

.zao-services-list {
    max-width: 900px;
}

.zao-services-list__item {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 28px;
}

.zao-services-list__image {
    width: 190px;
    height: 120px;
    flex-shrink: 0;
    display: block;
    overflow: hidden;
    border: 1px solid #d8d8d8;
    background: #f1f1f1;
    text-decoration: none;
}

.zao-services-list__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.zao-services-list__content {
    padding-top: 2px;
    min-width: 0;
    font-family: Georgia, "Times New Roman", serif;
}

.zao-services-list__title {
    display: block;
    margin-bottom: 7px;
    color: #1b93bd;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 400;
    text-decoration: none;
}

.zao-services-list__title:hover {
    text-decoration: underline;
}

.zao-services-list__content p {
    margin: 0;
    color: #111;
    font-size: 15px;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .zao-services-page {
        padding: 30px 15px 55px;
    }

    .zao-services-page__inner {
        max-width: 100%;
    }

    .zao-services-list {
        max-width: 100%;
    }

    .zao-services-list__item {
        gap: 18px;
    }
}

@media (max-width: 520px) {
    .zao-services-page {
        padding: 24px 10px 45px;
    }

    .zao-services-page__title {
        margin-bottom: 26px;
        font-size: 28px;
    }

    .zao-services-list__item {
        display: block;
        margin-bottom: 32px;
    }

    .zao-services-list__image {
        width: 100%;
        height: 190px;
        margin-bottom: 14px;
    }

    .zao-services-list__title {
        font-size: 18px;
    }

    .zao-services-list__content p {
        font-size: 16px;
        line-height: 1.5;
    }
}
/* =========================
   Objects Page
========================= */

.zao-objects-page {
    padding: 38px 0 72px;
    background: #fff;
}

.zao-objects-page__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.zao-objects-page__title {
    margin: 0 0 34px;
    color: #1d2c40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
}

.zao-objects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    margin-bottom: 56px;
}

.zao-object-card {
    position: relative;
    height: 154px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.zao-object-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 126, 147, 0.62);
    transition: background 0.25s ease;
}

.zao-object-card:hover::before {
    background: rgba(0, 126, 147, 0.78);
}

.zao-object-card span {
    position: relative;
    z-index: 2;
    max-width: 90%;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.08;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

.zao-objects-text {
    max-width: 900px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.55;
}

.zao-objects-text p {
    margin: 0 0 22px;
}

/* Objects responsive */

@media (max-width: 900px) {
    .zao-objects-page {
        padding: 30px 15px 55px;
    }

    .zao-objects-page__inner {
        max-width: 100%;
    }

    .zao-objects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-bottom: 42px;
    }

    .zao-object-card {
        height: 180px;
    }
}

@media (max-width: 520px) {
    .zao-objects-page {
        padding: 24px 10px 45px;
    }

    .zao-objects-page__title {
        margin-bottom: 26px;
        font-size: 28px;
    }

    .zao-objects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
    }

    .zao-object-card {
        height: 190px;
    }

    .zao-object-card span {
        font-size: 18px;
    }

    .zao-objects-text {
        font-size: 16px;
        line-height: 1.5;
    }
}
/* =========================
   Partners Page
========================= */

.zao-partners-page {
    padding: 38px 0 72px;
    background: #fff;
}

.zao-partners-page__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.zao-partners-page__title {
    margin: 0 0 36px;
    color: #1d2c40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
}

.zao-partners-list {
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 58px 72px;
}

.zao-partners-list__item {
    min-width: 0;
}

.zao-partners-list__logo {
    height: 72px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.zao-partners-list__logo img {
    display: block;
    max-width: 150px;
    max-height: 72px;
    width: auto;
    height: auto;
}

.zao-partners-list__text {
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.55;
}

.zao-partners-list__text p {
    margin: 0;
}

/* Partners page responsive */

@media (max-width: 900px) {
    .zao-partners-page {
        padding: 30px 15px 55px;
    }

    .zao-partners-page__inner {
        max-width: 100%;
    }

    .zao-partners-list {
        max-width: 100%;
        gap: 45px 45px;
    }
}

@media (max-width: 520px) {
    .zao-partners-page {
        padding: 24px 10px 45px;
    }

    .zao-partners-page__title {
        margin-bottom: 28px;
        font-size: 28px;
    }

    .zao-partners-list {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .zao-partners-list__logo {
        height: auto;
        margin-bottom: 14px;
    }

    .zao-partners-list__logo img {
        max-width: 150px;
        max-height: 80px;
    }

    .zao-partners-list__text {
        font-size: 16px;
        line-height: 1.5;
    }
}
/* =========================
   Licenses Page
========================= */

.zao-licenses-page {
    padding: 38px 0 72px;
    background: #fff;
}

.zao-licenses-page__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.zao-licenses-page__title {
    margin: 0 0 34px;
    color: #1d2c40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
}

.zao-licenses-grid {
    max-width: 900px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.zao-license-card {
    height: 155px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d8d8d8;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.zao-license-card:hover {
    border-color: #23a3bf;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.zao-license-card img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* License modal */

.zao-modal-open {
    overflow: hidden;
}

.zao-license-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.zao-license-modal.is-open {
    display: flex;
}

.zao-license-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
}

.zao-license-modal__content {
    position: relative;
    z-index: 2;
    max-width: 92vw;
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zao-license-modal__image {
    display: block;
    max-width: 92vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.zao-license-modal__close {
    position: absolute;
    top: -18px;
    right: -18px;
    z-index: 3;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #23a3bf;
    color: #fff;
    font-size: 30px;
    line-height: 36px;
    cursor: pointer;
}

.zao-license-modal__close:hover {
    background: #168ea8;
}

/* Licenses responsive */

@media (max-width: 900px) {
    .zao-licenses-page {
        padding: 30px 15px 55px;
    }

    .zao-licenses-page__inner {
        max-width: 100%;
    }

    .zao-licenses-grid {
        max-width: 100%;
        grid-template-columns: repeat(4, 1fr);
    }

    .zao-license-card {
        height: 165px;
    }
}

@media (max-width: 520px) {
    .zao-licenses-page {
        padding: 24px 10px 45px;
    }

    .zao-licenses-page__title {
        margin-bottom: 26px;
        font-size: 28px;
    }

    .zao-licenses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .zao-license-card {
        height: 185px;
        padding: 5px;
    }

    .zao-license-modal {
        padding: 15px;
    }

    .zao-license-modal__image {
        max-width: 94vw;
        max-height: 88vh;
    }

    .zao-license-modal__close {
        top: -14px;
        right: -10px;
        width: 34px;
        height: 34px;
        font-size: 28px;
        line-height: 32px;
    }
}
/* =========================
   Contacts Page
========================= */

.zao-contacts-page {
    padding: 38px 0 72px;
    background: #fff;
}

.zao-contacts-page__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.zao-contacts-page__title {
    margin: 0 0 28px;
    color: #1d2c40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
}

.zao-contacts-content {
    max-width: 900px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.55;
}

.zao-contacts-content p {
    margin: 0 0 18px;
}

.zao-contacts-content a {
    color: #1b93bd;
    text-decoration: none;
}

.zao-contacts-content a:hover {
    text-decoration: underline;
}

.zao-contacts-spacer {
    height: 22px;
}

.zao-contacts-map {
    width: 800px;
    max-width: 100%;
    height: 400px;
    margin-top: 14px;
    overflow: hidden;
    background: #f1f1f1;
}

.zao-contacts-map iframe {
    display: block;
    width: 100%;
    height: 100%;
}

/* Contacts responsive */

@media (max-width: 900px) {
    .zao-contacts-page {
        padding: 30px 15px 55px;
    }

    .zao-contacts-page__inner {
        max-width: 100%;
    }

    .zao-contacts-content {
        max-width: 100%;
        font-size: 17px;
    }

    .zao-contacts-map {
        width: 100%;
        height: 380px;
    }
}

@media (max-width: 520px) {
    .zao-contacts-page {
        padding: 24px 10px 45px;
    }

    .zao-contacts-page__title {
        margin-bottom: 24px;
        font-size: 28px;
    }

    .zao-contacts-content {
        font-size: 16px;
        line-height: 1.5;
    }

    .zao-contacts-spacer {
        height: 16px;
    }

    .zao-contacts-map {
        height: 320px;
    }
}
/* =========================
   Service Detail Page
========================= */

.zao-service-detail-page {
    padding: 38px 0 72px;
    background: #fff;
}

.zao-service-detail-page__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.zao-service-detail {
    max-width: 1140px;
}

.zao-service-detail__title {
    margin: 0 0 38px;
    color: #1d2c40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.25;
}

.zao-service-detail__content {
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.58;
}

.zao-service-detail__content::after {
    content: "";
    display: block;
    clear: both;
}

/* Первая картинка из "Изображение страницы" */
.zao-service-detail__image {
    width: 300px;
    height: 190px;
    float: left;
    margin: 0 22px 16px 0;
    padding: 10px;
    border: 1px solid #d8d8d8;
    background: #fff;
}

.zao-service-detail__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Обычный текст */
.zao-service-detail__content p {
    margin: 0 0 22px;
}

.zao-service-detail__content h2,
.zao-service-detail__content h3,
.zao-service-detail__content h4 {
    margin: 34px 0 18px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1.25;
}

.zao-service-detail__content h2 {
    font-size: 26px;
}

.zao-service-detail__content h3 {
    font-size: 22px;
}

.zao-service-detail__content h4 {
    font-size: 20px;
}

/* Списки */
.zao-service-detail__content ul,
.zao-service-detail__content ol {
    margin: 0 0 24px 28px;
    padding: 0;
}

.zao-service-detail__content li {
    margin-bottom: 8px;
}

/* Ссылки */
.zao-service-detail__content a {
    color: #1b93bd;
    text-decoration: none;
}

.zao-service-detail__content a:hover {
    text-decoration: underline;
}

/* Картинки внутри текста */
.zao-service-detail__content img {
    max-width: 100%;
    height: auto;
}

/* Картинки WordPress-блоков */
.zao-service-detail__content figure {
    margin: 0 0 24px;
}

.zao-service-detail__content figure img {
    display: block;
}

/* Картинка слева из редактора */
.zao-service-detail__content .alignleft,
.zao-service-detail__content figure.alignleft {
    float: left;
    max-width: 300px;
    margin: 4px 24px 18px 0;
    padding: 10px;
    border: 1px solid #d8d8d8;
    background: #fff;
}

/* Картинка справа из редактора */
.zao-service-detail__content .alignright,
.zao-service-detail__content figure.alignright {
    float: right;
    max-width: 300px;
    margin: 4px 0 18px 24px;
    padding: 10px;
    border: 1px solid #d8d8d8;
    background: #fff;
}

/* Картинка по центру */
.zao-service-detail__content .aligncenter,
.zao-service-detail__content figure.aligncenter {
    display: block;
    max-width: 760px;
    margin: 24px auto;
    padding: 10px;
    border: 1px solid #d8d8d8;
    background: #fff;
}

/* Чтобы картинки внутри figure не получали двойные отступы */
.zao-service-detail__content figure.alignleft img,
.zao-service-detail__content figure.alignright img,
.zao-service-detail__content figure.aligncenter img {
    display: block;
    width: 100%;
    height: auto;
}

.zao-service-detail__content figcaption {
    margin-top: 8px;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

/* Таблицы */
.zao-service-detail__content table {
    width: 100%;
    margin: 28px 0;
    border-collapse: collapse;
    border: 1px solid #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.35;
}

.zao-service-detail__content th,
.zao-service-detail__content td {
    padding: 10px 12px;
    border: 1px solid #222;
    vertical-align: top;
}

.zao-service-detail__content th {
    background: #3e3e3e;
    color: #fff;
    font-weight: 700;
    text-align: center;
}

.zao-service-detail__content td {
    background: #fff;
    color: #111;
}

.zao-service-detail__content blockquote {
    margin: 26px 0;
    padding: 0 0 0 20px;
    border-left: 4px solid #23a3bf;
    color: #222;
    font-style: italic;
}

/* Service detail responsive */

@media (max-width: 900px) {
    .zao-service-detail-page {
        padding: 30px 15px 55px;
    }

    .zao-service-detail-page__inner {
        max-width: 100%;
    }

    .zao-service-detail__title {
        margin-bottom: 30px;
        font-size: 30px;
    }

    .zao-service-detail__content {
        font-size: 17px;
    }

    .zao-service-detail__content .alignleft,
    .zao-service-detail__content figure.alignleft,
    .zao-service-detail__content .alignright,
    .zao-service-detail__content figure.alignright {
        max-width: 280px;
    }
}

@media (max-width: 520px) {
    .zao-service-detail-page {
        padding: 24px 10px 45px;
    }

    .zao-service-detail__title {
        margin-bottom: 24px;
        font-size: 27px;
        line-height: 1.25;
    }

    .zao-service-detail__image {
        width: 100%;
        height: auto;
        float: none;
        margin: 0 0 20px;
        padding: 8px;
    }

    .zao-service-detail__image img {
        height: auto;
        object-fit: contain;
    }

    .zao-service-detail__content {
        font-size: 16px;
        line-height: 1.55;
    }

    .zao-service-detail__content p {
        margin-bottom: 20px;
    }

    .zao-service-detail__content h2 {
        font-size: 24px;
    }

    .zao-service-detail__content h3 {
        font-size: 21px;
    }

    .zao-service-detail__content h4 {
        font-size: 19px;
    }

    .zao-service-detail__content .alignleft,
    .zao-service-detail__content figure.alignleft,
    .zao-service-detail__content .alignright,
    .zao-service-detail__content figure.alignright,
    .zao-service-detail__content .aligncenter,
    .zao-service-detail__content figure.aligncenter {
        float: none;
        max-width: 100%;
        margin: 20px 0;
        padding: 8px;
    }

    .zao-service-detail__content table {
        display: block;
        width: 100%;
        overflow-x: auto;
        font-size: 14px;
    }

    .zao-service-detail__content th,
    .zao-service-detail__content td {
        min-width: 160px;
        padding: 8px 10px;
    }
}
/* =========================
   Objects Page
========================= */

.zao-objects-page {
    padding: 38px 0 72px;
    background: #fff;
}

.zao-objects-page__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.zao-objects-page__title {
    margin: 0 0 34px;
    color: #1d2c40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
}

.zao-objects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 34px;
    margin-bottom: 56px;
}

.zao-object-card {
    position: relative;
    height: 154px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.zao-object-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 126, 147, 0.62);
    transition: background 0.25s ease;
}

.zao-object-card:hover::before {
    background: rgba(0, 126, 147, 0.78);
}

.zao-object-card span {
    position: relative;
    z-index: 2;
    max-width: 90%;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.08;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}

.zao-objects-text {
    max-width: 900px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.55;
}

.zao-objects-text p {
    margin: 0 0 22px;
}

/* =========================
   Object Category Page
========================= */

.zao-object-category-page {
    padding: 38px 0 72px;
    background: #fff;
}

.zao-object-category-page__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.zao-object-category {
    max-width: 1140px;
}

.zao-object-category__title {
    margin: 0 0 34px;
    color: #1d2c40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.25;
}

.zao-object-category__content {
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.55;
}

.zao-object-category__content p {
    margin: 0 0 18px;
}

.zao-object-category__content a {
    color: #1b93bd;
    text-decoration: none;
}

.zao-object-category__content a:hover {
    text-decoration: underline;
}

/* Блок "Медиа и текст" для списка объектов */
.zao-object-category__content .wp-block-media-text {
    margin: 0 0 42px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 54px;
    align-items: start;
}

.zao-object-category__content .wp-block-media-text__media {
    margin: 0;
}

.zao-object-category__content .wp-block-media-text__media img {
    width: 280px;
    height: 174px;
    display: block;
    object-fit: cover;
}

.zao-object-category__content .wp-block-media-text__content {
    padding: 0;
}

.zao-object-category__content .wp-block-media-text__content h2,
.zao-object-category__content .wp-block-media-text__content h3,
.zao-object-category__content .wp-block-media-text__content h4 {
    margin: 0 0 16px;
    color: #1b93bd;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.25;
}

.zao-object-category__content .wp-block-media-text__content ul {
    margin: 0 0 0 24px;
    padding: 0;
}

.zao-object-category__content .wp-block-media-text__content li {
    margin-bottom: 8px;
    color: #111;
    font-size: 18px;
    line-height: 1.45;
}

/* =========================
   Object Detail Page
========================= */

.zao-object-detail-page {
    padding: 38px 0 72px;
    background: #fff;
}

.zao-object-detail-page__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.zao-object-detail {
    max-width: 1140px;
}

.zao-object-detail__title {
    margin: 0 0 28px;
    color: #1d2c40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.18;
}

.zao-object-detail__image {
    max-width: 760px;
    margin: 0 auto 32px;
}

.zao-object-detail__image img {
    display: block;
    width: 100%;
    height: auto;
}

.zao-object-detail__content {
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.6;
}

.zao-object-detail__content p {
    margin: 0 0 22px;
}

.zao-object-detail__content h2,
.zao-object-detail__content h3,
.zao-object-detail__content h4 {
    margin: 34px 0 18px;
    color: #1d2c40;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1.25;
}

.zao-object-detail__content h2 {
    font-size: 28px;
}

.zao-object-detail__content h3 {
    font-size: 24px;
}

.zao-object-detail__content h4 {
    font-size: 21px;
}

.zao-object-detail__content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 28px;
}

.zao-object-detail__content ul,
.zao-object-detail__content ol {
    margin: 0 0 24px 28px;
    padding: 0;
}

.zao-object-detail__content li {
    margin-bottom: 8px;
}

.zao-object-detail__content a {
    color: #1b93bd;
    text-decoration: none;
}

.zao-object-detail__content a:hover {
    text-decoration: underline;
}

/* =========================
   Objects Responsive
========================= */

@media (max-width: 900px) {
    .zao-objects-page,
    .zao-object-category-page,
    .zao-object-detail-page {
        padding: 30px 15px 55px;
    }

    .zao-objects-page__inner,
    .zao-object-category-page__inner,
    .zao-object-detail-page__inner {
        max-width: 100%;
    }

    .zao-objects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        margin-bottom: 42px;
    }

    .zao-object-card {
        height: 180px;
    }

    .zao-object-category__title,
    .zao-object-detail__title {
        font-size: 30px;
    }

    .zao-object-category__content .wp-block-media-text {
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }

    .zao-object-category__content .wp-block-media-text__media img {
        width: 240px;
        height: 155px;
    }

    .zao-object-detail__image {
        max-width: 100%;
        margin-bottom: 28px;
    }

    .zao-object-detail__content {
        font-size: 17px;
    }
}

@media (max-width: 520px) {
    .zao-objects-page,
    .zao-object-category-page,
    .zao-object-detail-page {
        padding: 24px 10px 45px;
    }

    .zao-objects-page__title,
    .zao-object-category__title,
    .zao-object-detail__title {
        margin-bottom: 26px;
        font-size: 28px;
    }

    .zao-objects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 32px;
    }

    .zao-object-card {
        height: 190px;
    }

    .zao-object-category__content,
    .zao-object-detail__content,
    .zao-objects-text {
        font-size: 16px;
        line-height: 1.5;
    }

    .zao-object-category__content .wp-block-media-text {
        display: block;
        margin-bottom: 34px;
    }

    .zao-object-category__content .wp-block-media-text__media {
        margin-bottom: 14px;
    }

    .zao-object-category__content .wp-block-media-text__media img {
        width: 100%;
        height: auto;
    }

    .zao-object-category__content .wp-block-media-text__content h2,
    .zao-object-category__content .wp-block-media-text__content h3,
    .zao-object-category__content .wp-block-media-text__content h4 {
        font-size: 21px;
    }

    .zao-object-category__content .wp-block-media-text__content li {
        font-size: 16px;
    }

    .zao-object-detail__image {
        margin-bottom: 24px;
    }
}
/* =========================
   Search Page
========================= */

.zao-search-page {
    padding: 38px 0 72px;
    background: #fff;
}

.zao-search-page__inner {
    max-width: 1140px;
    margin: 0 auto;
}

.zao-search-page__title {
    margin: 0 0 36px;
    color: #1d2c40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
}

.zao-search-results {
    max-width: 900px;
}

.zao-search-result {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 32px;
}

.zao-search-result__thumb {
    width: 112px;
    height: 70px;
    flex-shrink: 0;
    display: block;
    overflow: hidden;
    background: #f1f1f1;
    text-decoration: none;
}

.zao-search-result__thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.zao-search-result__thumb--empty img {
    object-fit: contain;
    padding: 8px;
}

.zao-search-result__content {
    min-width: 0;
    font-family: Georgia, "Times New Roman", serif;
}

.zao-search-result__title {
    display: block;
    margin-bottom: 7px;
    color: #1b93bd;
    font-size: 21px;
    line-height: 1.25;
    font-weight: 400;
    text-decoration: none;
}

.zao-search-result__title:hover {
    text-decoration: underline;
}

.zao-search-result__excerpt {
    color: #111;
    font-size: 16px;
    line-height: 1.45;
}

.zao-search-empty {
    max-width: 900px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.5;
}

/* Search responsive */

@media (max-width: 900px) {
    .zao-search-page {
        padding: 30px 15px 55px;
    }

    .zao-search-page__inner {
        max-width: 100%;
    }
}

@media (max-width: 520px) {
    .zao-search-page {
        padding: 24px 10px 45px;
    }

    .zao-search-page__title {
        margin-bottom: 28px;
        font-size: 26px;
    }

    .zao-search-result {
        gap: 14px;
        margin-bottom: 28px;
    }

    .zao-search-result__thumb {
        width: 92px;
        height: 62px;
    }

    .zao-search-result__title {
        font-size: 18px;
    }

    .zao-search-result__excerpt {
        font-size: 15px;
        line-height: 1.4;
    }
}
/* =========================
   Auth Links
========================= */

.zao-auth-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.zao-auth-link {
    height: 30px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #23a3bf;
    color: #168ea8;
    background: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.zao-auth-link:hover {
    background: #23a3bf;
    color: #fff;
}

.zao-auth-link--register {
    background: #23a3bf;
    color: #fff;
}

.zao-auth-link--register:hover {
    background: #168ea8;
    color: #fff;
}

.zao-nav-auth {
    display: none;
}

@media (max-width: 768px) {
    .zao-auth-links {
        display: none;
    }

    .zao-nav-auth {
        display: block;
    }

    .zao-nav-auth a {
        color: #168ea8 !important;
    }
}
/* =========================
   News Layout + Categories
========================= */

.zao-news-layout {
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.zao-news-layout__main {
    flex: 1;
    min-width: 0;
}

.zao-news-sidebar {
    width: 260px;
    flex-shrink: 0;
}

.zao-news-categories {
    padding: 22px 24px;
    background: #f1f1f1;
    font-family: Georgia, "Times New Roman", serif;
}

.zao-news-categories__title {
    margin-bottom: 18px;
    color: #1d2c40;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.2;
}

.zao-news-categories__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.zao-news-categories__list li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #dddddd;
}

.zao-news-categories__list li:last-child {
    border-bottom: 0;
}

.zao-news-categories__list a {
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #1b93bd;
    font-size: 17px;
    line-height: 1.25;
    text-decoration: none;
}

.zao-news-categories__list a:hover {
    color: #168ea8;
    text-decoration: underline;
}

.zao-news-categories__list span {
    color: #777;
    font-size: 14px;
}

/* News categories responsive */

@media (max-width: 900px) {
    .zao-news-layout {
        display: block;
    }

    .zao-news-sidebar {
        width: 100%;
        margin-top: 38px;
    }

    .zao-news-categories {
        padding: 20px;
    }
}

@media (max-width: 520px) {
    .zao-news-sidebar {
        margin-top: 32px;
    }

    .zao-news-categories__title {
        font-size: 22px;
    }

    .zao-news-categories__list a {
        font-size: 16px;
    }
}
.zao-news-categories__list li.is-active a {
    color: #111;
    font-weight: 700;
}
/* =========================
   Related Posts
========================= */

.zao-related-posts {
    margin-top: 52px;
    padding-top: 34px;
    border-top: 1px solid #dddddd;
}

.zao-related-posts__title {
    margin: 0 0 26px;
    color: #1d2c40;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.25;
}

.zao-related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.zao-related-post {
    min-width: 0;
}

.zao-related-post__thumb {
    width: 100%;
    height: 145px;
    margin-bottom: 12px;
    display: block;
    overflow: hidden;
    background: #f1f1f1;
    text-decoration: none;
}

.zao-related-post__thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.zao-related-post__date {
    margin-bottom: 6px;
    color: #111;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.25;
}

.zao-related-post__name {
    display: block;
    color: #1b93bd;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.28;
    font-weight: 400;
    text-decoration: none;
}

.zao-related-post__name:hover {
    text-decoration: underline;
}

/* Related posts responsive */

@media (max-width: 900px) {
    .zao-related-posts__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .zao-related-post__thumb {
        height: 160px;
    }
}

@media (max-width: 520px) {
    .zao-related-posts {
        margin-top: 38px;
        padding-top: 28px;
    }

    .zao-related-posts__title {
        margin-bottom: 22px;
        font-size: 24px;
    }

    .zao-related-posts__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .zao-related-post__thumb {
        height: 190px;
    }

    .zao-related-post__name {
        font-size: 17px;
    }
}
/* =========================
   Article Meta + TOC
========================= */

.zao-single-meta {
    margin: -10px 0 26px;
    color: #666;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.4;
}

/* =========================
   Article Meta + TOC
========================= */

.zao-single-meta {
    margin: -10px 0 26px;
    color: #666;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.4;
}

.zao-article-toc {
    max-width: 760px;
    margin: 0 0 34px;
    padding: 22px 24px;
    background: #f1f1f1;
    border-left: 4px solid #23a3bf;
    font-family: Georgia, "Times New Roman", serif;
}

.zao-article-toc__head {
    margin-bottom: 14px;
}

.zao-article-toc__title {
    color: #1d2c40;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.25;
}

.zao-article-toc__body {
    position: relative;
    overflow: hidden;
}

.zao-article-toc.is-collapsed .zao-article-toc__body {
    max-height: 174px;
}

.zao-article-toc:not(.is-collapsed) .zao-article-toc__body {
    max-height: none;
}

.zao-article-toc.is-collapsed .zao-article-toc__body::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 58px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(241, 241, 241, 0), #f1f1f1 85%);
}

.zao-article-toc__list {
    margin: 0;
    padding: 0 0 0 22px;
}

.zao-article-toc__item {
    margin-bottom: 8px;
    color: #111;
    font-size: 16px;
    line-height: 1.35;
}

.zao-article-toc__item--level-3 {
    margin-left: 18px;
    font-size: 15px;
}

.zao-article-toc__item a {
    color: #1b93bd;
    text-decoration: none;
}

.zao-article-toc__item a:hover {
    text-decoration: underline;
}

.zao-article-toc__button {
    margin-top: 14px;
    padding: 7px 14px;
    border: 1px solid #23a3bf;
    background: #23a3bf;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
}

.zao-article-toc__button:hover {
    background: #168ea8;
    border-color: #168ea8;
}

.zao-single-content h2[id],
.zao-single-content h3[id] {
    scroll-margin-top: 90px;
}

@media (max-width: 520px) {
    .zao-single-meta {
        margin-bottom: 22px;
        font-size: 14px;
    }

    .zao-article-toc {
        max-width: 100%;
        margin-bottom: 28px;
        padding: 18px;
    }

    .zao-article-toc__title {
        font-size: 20px;
    }

    .zao-article-toc.is-collapsed .zao-article-toc__body {
        max-height: 170px;
    }

    .zao-article-toc__item {
        font-size: 15px;
    }

    .zao-article-toc__item--level-3 {
        margin-left: 12px;
        font-size: 14px;
    }

    .zao-article-toc__button {
        font-size: 14px;
    }
}
/* =========================
   Single Meta + Share
========================= */

.zao-single-meta {
    margin: -10px 0 26px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: #666;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.4;
}

.zao-single-meta__item {
    display: inline-flex;
    align-items: center;
}

.zao-share-button {
    padding: 6px 13px;
    border: 1px solid #23a3bf;
    background: #23a3bf;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
}

.zao-share-button:hover {
    background: #168ea8;
    border-color: #168ea8;
}

@media (max-width: 520px) {
    .zao-single-meta {
        margin-bottom: 22px;
        gap: 8px 12px;
        font-size: 14px;
    }

    .zao-share-button {
        width: 100%;
        margin-top: 4px;
        padding: 8px 13px;
    }
}