/* Local theme adjustments shared by every page. */
.site-contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.site-contacts__phone { font-size: 1.125rem; font-weight: 700; white-space: nowrap; }
.site-contacts__email { font-size: .9375rem; }
.site-contacts a { color: #087da5; }
.site-contacts a:hover, .site-contacts a:focus { color: #05546f; text-decoration: underline; }
.header-html-2 .site-contacts { margin-bottom: 6px; }
.site-footer .site-contacts a { color: #fff; }
.entry-content > .site-contacts { margin-bottom: 28px; }
@media (max-width: 767px) {
    .header-html-2 .site-contacts { align-items: center; }
}
.comment-list .comment-body .comment-reply-link,
.comment-list .comment-body:hover .comment-reply-link {
    opacity: 1;
    color: #087da5;
}
.comment-list .comment-body .comment-reply-link:hover,
.comment-list .comment-body .comment-reply-link:focus {
    opacity: 1;
    color: #05546f;
    text-decoration: underline;
}

.cookie-notice[hidden] { display: none !important; }
.cookie-notice {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9000;
    box-sizing: border-box;
    width: min(620px, calc(100% - 48px));
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 22px 24px;
    border: 1px solid #dceaf0;
    border-top: 4px solid #1ebaf3;
    border-radius: 8px;
    background: #fff;
    color: #424b50;
    box-shadow: 0 8px 32px rgba(26, 64, 81, .2);
    font-size: 1rem;
    line-height: 1.5;
    text-align: left;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .28s ease, transform .28s ease;
}
.cookie-notice.is-visible { opacity: 1; transform: translateY(0); }
.cookie-notice:not(.is-visible) { pointer-events: none; }
.cookie-notice__text strong { display: block; margin-bottom: 6px; color: #343b40; }
.cookie-notice__text p { margin: 0 0 18px; font-size: 1rem; }
.cookie-notice__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-notice__actions button {
    min-height: 44px;
    margin: 0;
    padding: 10px 18px;
    border: 1px solid #087da5;
    border-radius: 4px;
    font: inherit;
    font-weight: 600;
    line-height: 1.3;
    box-shadow: none;
    cursor: pointer;
}
.cookie-notice__accept { color: #fff; background: #087da5; }
.cookie-notice__accept:hover { background: #05546f; }
.cookie-notice__essential { color: #087da5; background: #fff; }
.cookie-notice__essential:hover { background: #eef9fd; }
.cookie-notice button:focus-visible,
.cookie-settings:focus-visible { outline: 3px solid #1ebaf3; outline-offset: 3px; }
.site-footer .cookie-settings {
    display: block;
    margin: 12px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: .875rem;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 3px;
    box-shadow: none;
    cursor: pointer;
}
.privacy-consent { font-size: .875rem; line-height: 1.5; }
.privacy-consent label { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; }
.privacy-consent input[type=checkbox] { flex: 0 0 auto; width: 16px; height: 16px; margin: 3px 0 0; }
.privacy-consent a { color: #087da5; text-decoration: underline; }
#cancel-comment-reply-link { margin-left: .5em; }
.comment-form .comment-form-author,
.comment-form .comment-form-email { width: 49%; }
.site-footer .legal-links { margin-top: 12px; font-size: .875rem; }
.site-footer .legal-links a { color: inherit; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
    .cookie-notice { transition: none; transform: none; }
}
@media (max-width: 600px) {
    .cookie-notice { right: 12px; bottom: 12px; width: calc(100% - 24px); max-height: calc(100vh - 24px); padding: 18px; }
    .cookie-notice__actions button { flex: 1 1 auto; padding: 10px 12px; }
    .comment-form .comment-form-author, .comment-form .comment-form-email { width: 100%; }
}
