.yoast-breadcrumbs {
    color: #ccc;
    font-size: 75%;
}

.yoast-breadcrumbs a {
    color: #ccc;
    text-decoration: none;
}

.yoast-breadcrumbs a:hover {
    color: #aaa;
}

.alignnone,
.aligncenter,
.alignright,
.alignleft {
    display: flex;
    width: 100%;
    height: auto;
    max-width: 700px;
    margin: auto;
}

.size-thumbnail {
    max-width: 100%;
    width: auto;
    height: auto;
}

._overflowY-hidden {
    overflow-y: hidden;
}

.carousel-inner {
    margin-bottom: 25px;
    aspect-ratio: 16/9;
}

.carousel-item {
    height: 100%;
}

.documents {
    margin-bottom: 20px;
}

.documents-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 20px;
}

.documents-item {
    margin-bottom: 15px;
    position: relative;
    padding-left: 40px;
}

.documents-item:before {
    content: '';
    width: 24px;
    height: 24px;
    top: 0;
    display: block;
    position: absolute;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20clip-rule%3D%22evenodd%22%20d%3D%22m11.0118%203.75c.7694%200%201.0319.00482%201.2708.06217.2296.05512.4491.14603.6504.26939.2094.12836.3985.31056.9426.85466l3.1882%203.18822c.5441.5441.7263.73312.8546.94258.1234.20131.2143.42079.2694.65037.0574.23887.0622.50141.0622%201.27081v5.2118c0%20.8525-.0006%201.4467-.0384%201.9093-.0371.4539-.1062.7147-.2068.9122-.2158.4233-.56.7676-.9833.9833-.1975.1006-.4583.1697-.9122.2068-.4626.0378-1.0568.0384-1.9093.0384h-4.4c-.85245%200-1.44669-.0006-1.90932-.0384-.45388-.0371-.71464-.1062-.91216-.2068-.42336-.2157-.76757-.56-.98328-.9833-.10064-.1975-.16977-.4583-.20686-.9122-.0378-.4626-.03838-1.0568-.03838-1.9093v-8.4c0-.85245.00058-1.44669.03838-1.90932.03709-.45387.10622-.71464.20686-.91216.21571-.42336.55992-.76757.98328-.98328.19752-.10064.45828-.16977.91216-.20686.46263-.0378%201.05687-.03838%201.90932-.03838zm1.621-1.39639c-.433-.10394-.884-.10381-1.5356-.10362l-.0854.00001h-1.2118-.0321c-.81284-.00001-1.46846-.00001-1.99937.04337-.54663.04466-1.02678.13902-1.47099.36536-.70561.35952-1.27929.9332-1.63881%201.63881-.22634.44422-.3207.92436-.36537%201.47099-.04337.53091-.04337%201.18653-.04336%201.99937v.0321%208.4.0321c-.00001.8128-.00001%201.4685.04336%201.9994.04467.5466.13903%201.0267.36537%201.471.35952.7056.9332%201.2793%201.63881%201.6388.44421.2263.92436.3207%201.47099.3653.53091.0434%201.18652.0434%201.99935.0434h.03212%204.4.0321c.8129%200%201.4685%200%201.9994-.0434.5466-.0446%201.0267-.139%201.471-.3653.7056-.3595%201.2792-.9332%201.6388-1.6388.2263-.4443.3207-.9244.3653-1.471.0434-.5309.0434-1.1865.0434-1.9994v-.0321-5.2118-.0854c.0002-.6516.0003-1.1026-.1036-1.53558-.0919-.38263-.2434-.74843-.449-1.08395-.2327-.37966-.5517-.69847-1.0125-1.15906l-.0605-.06043-3.1882-3.18822-.0604-.06045c-.4606-.46085-.7794-.77985-1.1591-1.01251-.3355-.20561-.7013-.35712-1.0839-.44899zm-4.6328%207.89639c-.41421%200-.75.3358-.75.75s.33579.75.75.75h8c.4142%200%20.75-.3358.75-.75s-.3358-.75-.75-.75zm-.75%203.75c0-.4142.33579-.75.75-.75h8c.4142%200%20.75.3358.75.75s-.3358.75-.75.75h-8c-.41421%200-.75-.3358-.75-.75zm.75%202.25c-.41421%200-.75.3358-.75.75s.33579.75.75.75h6c.4142%200%20.75-.3358.75-.75s-.3358-.75-.75-.75z%22%20fill%3D%22%232c5697%22%20fill-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
}

.documents-item span {
    font-weight: 500;
}

.documents-item:last-child {
    margin-bottom: 0;
}

.documents-item-meta {
    color: #999;
    font-size: 13px;
}

.documents-list {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .05);
    border-top: 1px solid rgba(0, 0, 0, .05);
}

blockquote {
	border-left: 3px solid #eee;
	padding: 15px 25px;
	margin-bottom: 25px;
	font-weight: 500;
	font-size: 18px;
}

blockquote p:last-child {
	padding-bottom: 0;
}

/* ---------- Редизайн: скругления и мягкие тени ---------- */
.yoast-breadcrumbs,
.yoast-breadcrumbs a {
    color: var(--muted);
}

.yoast-breadcrumbs a:hover {
    color: var(--brand);
}

.alignnone,
.aligncenter,
.alignright,
.alignleft {
    display: block;
    max-width: min(100%, 760px);
    width: auto;
    max-height: 560px;
    object-fit: contain;
}

.aligncenter {
    margin: 0 auto 1.2em;
}

.carousel {
    border-radius: var(--radius);
    overflow: hidden;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    cursor: zoom-in;
}

.documents-title {
    font-weight: 800;
}

blockquote {
    border-left: 4px solid var(--brand);
    background: var(--bg-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ---------- Cookie-баннер ---------- */
.cookie-banner {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 1100;
    max-width: 560px;
    display: none;
    align-items: center;
    gap: 18px;
    padding: 18px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    font-size: .88rem;
    line-height: 1.5;
    animation: cookie-in .4s ease both;
}

.cookie-banner.is-visible {
    display: flex;
}

.cookie-banner p {
    margin: 0;
}

.cookie-banner a {
    font-weight: 700;
    text-decoration: underline;
}

.cookie-banner__btn {
    flex: none;
    border: 0;
    cursor: pointer;
    font-family: inherit;
}

@keyframes cookie-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: none; }
}

/* ---------- Просмотр изображений (lightbox) ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10, 16, 30, .92);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.lightbox.is-open {
    display: flex;
    animation: lb-in .25s ease both;
}

@keyframes lb-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox__img {
    max-width: min(94vw, 1400px);
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
    background: #fff;
    object-fit: contain;
    touch-action: pan-y;
}

.lightbox__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    text-align: center;
    color: #dfe5f1;
    font-size: .85rem;
    padding: 0 70px;
    pointer-events: none;
}

.lightbox__btn,
.lightbox__nav {
    position: absolute;
    border: 0;
    cursor: pointer;
    color: #fff;
    background: rgba(255, 255, 255, .14);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.lightbox__btn:hover,
.lightbox__nav:hover {
    background: rgba(255, 255, 255, .28);
}

.lightbox__btn {
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    font-size: 26px;
    line-height: 1;
}

.lightbox__nav {
    top: 50%;
    width: 52px;
    height: 52px;
    margin-top: -26px;
    font-size: 26px;
}

.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox.is-single .lightbox__nav { display: none; }
/* ---------- FAQ ---------- */
.faq {
    margin: 2.5em 0 1em;
}

.faq__item {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fff;
    margin-bottom: 10px;
    transition: box-shadow .2s;
}

.faq__item[open] {
    box-shadow: var(--shadow);
}

.faq__item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 52px 16px 20px;
    font-weight: 700;
    position: relative;
}

.faq__item summary::-webkit-details-marker {
    display: none;
}

.faq__item summary::after {
    content: "";
    position: absolute;
    right: 22px;
    top: 50%;
    width: 9px;
    height: 9px;
    margin-top: -7px;
    border-right: 2px solid var(--brand);
    border-bottom: 2px solid var(--brand);
    transform: rotate(45deg);
    transition: transform .25s;
}

.faq__item[open] summary::after {
    transform: rotate(-135deg);
    margin-top: -3px;
}

.faq__answer {
    padding: 0 20px 6px;
    color: var(--muted);
}

/* Карта сайта */
.sitemap,
.sitemap ul {
    list-style: none;
    padding-left: 1.2em;
}

.sitemap > li {
    margin-bottom: .4em;
}

.sitemap ul {
    margin-top: .4em;
}
