/* Blog styles are scoped so the Elementor landing page stays independent. */
.barisoli-post {
    --bp-ink: #202c2c;
    --bp-muted: #596860;
    --bp-green: #165c57;
    --bp-line: #dce4de;
    --bp-paper: #f5f6f1;
    color: var(--bp-ink);
    background: #fff;
    font-family: "Noto Sans Georgian", sans-serif;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.barisoli-post *, .barisoli-post *::before, .barisoli-post *::after { box-sizing: border-box; }
.barisoli-post a { color: var(--bp-green); }
.barisoli-post a:focus-visible, .barisoli-post summary:focus-visible { outline: 2px solid var(--bp-green); outline-offset: 5px; }
.barisoli-post .bp-shell { max-width: 1208px; padding-inline: 24px; margin-inline: auto; }
.barisoli-post .bp-hero { background: var(--bp-paper); padding: 28px 0 56px; border-bottom: 1px solid var(--bp-line); }
.barisoli-post .bp-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13px; color: var(--bp-muted); }
.barisoli-post .bp-breadcrumb a { text-decoration: none; }
.barisoli-post .bp-breadcrumb a:hover { text-decoration: underline; }
.barisoli-post .bp-heading-wrap { max-width: 920px; padding: 25px 0 0; }
.barisoli-post .bp-eyebrow { display: flex; gap: 10px; align-items: center; color: var(--bp-green); margin: 0 0 20px; font-size: 13px; font-weight: 600; }
.barisoli-post .bp-eyebrow > span { height: 7px; width: 7px; flex-shrink: 0; background: currentColor; border-radius: 50%; }
.barisoli-post .bp-title { font-size: clamp(30px, 4.2vw, 54px); line-height: 1.32; font-weight: 600; letter-spacing: -.035em; margin: 0; color: var(--bp-ink); text-wrap: balance; }
.barisoli-post .bp-intro { max-width: 740px; font-size: 18px; line-height: 1.85; color: var(--bp-muted); margin: 24px 0 0; }
.barisoli-post .bp-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--bp-muted); margin-top: 26px; }
.barisoli-post .bp-meta-dot { width: 3px; height: 3px; background: currentColor; border-radius: 50%; }
.barisoli-post .bp-featured { margin: 42px 0 0; }
.barisoli-post .bp-featured-image { display: block; width: 100%; height: auto; max-height: 680px; object-fit: cover; border-radius: 10px; }
.barisoli-post .bp-featured figcaption { font-size: 13px; line-height: 1.7; color: var(--bp-muted); margin-top: 12px; }
.barisoli-post .bp-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 96px); padding-block: 68px 88px; }
.barisoli-post .bp-main-column, .barisoli-post .bp-sidebar { min-width: 0; }
.barisoli-post .bp-prose { font-size: 17px; line-height: 1.95; }
.barisoli-post .bp-prose > :first-child { margin-top: 0; }
.barisoli-post .bp-prose p { margin: 0 0 1.5em; }
.barisoli-post .bp-prose h2, .barisoli-post .bp-prose h3, .barisoli-post .bp-prose h4 { color: var(--bp-ink); line-height: 1.45; font-weight: 600; scroll-margin-top: calc(var(--barisoli-header-height, 84px) + 42px); }
.barisoli-post .bp-prose h2 { font-size: clamp(24px, 2.5vw, 30px); margin: 2em 0 .8em; }
.barisoli-post .bp-prose h3 { font-size: 23px; margin: 1.75em 0 .7em; }
.barisoli-post .bp-prose h4 { font-size: 19px; margin: 1.5em 0 .7em; }
.barisoli-post .bp-prose a { text-decoration: underline; text-underline-offset: 4px; }
.barisoli-post .bp-prose a:hover { text-decoration-thickness: 2px; }
.barisoli-post .bp-prose ul, .barisoli-post .bp-prose ol { padding-inline-start: 1.5em; margin-block: 1.4em; }
.barisoli-post .bp-prose li { padding-inline-start: .3em; margin-block: .5em; }
.barisoli-post .bp-prose li::marker { color: var(--bp-green); }
.barisoli-post .bp-prose blockquote { margin: 2em 0; border-inline-start: 3px solid var(--bp-green); padding: 24px 28px; background: var(--bp-paper); font-size: 19px; border-radius: 0 8px 8px 0; }
.barisoli-post .bp-prose blockquote p:last-child { margin-bottom: 0; }
.barisoli-post .bp-prose blockquote cite { font-size: 14px; color: var(--bp-muted); }
.barisoli-post .bp-prose img { max-width: 100%; height: auto; border-radius: 8px; }
.barisoli-post .bp-prose figure { max-width: 100%; margin-inline: 0; }
.barisoli-post .bp-prose figcaption { font-size: 13px; line-height: 1.6; color: var(--bp-muted); margin-top: 10px; }
.barisoli-post .bp-prose .alignwide, .barisoli-post .bp-prose .alignfull { width: 100%; max-width: 100%; margin-inline: 0; }
.barisoli-post .bp-prose iframe, .barisoli-post .bp-prose video { max-width: 100%; }
.barisoli-post .bp-prose pre, .barisoli-post .bp-prose .wp-block-table { overflow-x: auto; max-width: 100%; }
.barisoli-post .bp-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.barisoli-post .bp-prose th, .barisoli-post .bp-prose td { padding: 14px; border: 1px solid var(--bp-line); text-align: start; }
.barisoli-post .bp-prose th { background: var(--bp-paper); }
.barisoli-post .bp-prose hr { border: 0; border-top: 1px solid var(--bp-line); margin-block: 2.5em; }
.barisoli-post .bp-sidebar-inner { position: sticky; top: calc(var(--barisoli-header-height, 84px) + var(--barisoli-admin-offset, 0px) + 28px); }
.barisoli-post .bp-toc { margin: 0 0 28px; border: 1px solid var(--bp-line); border-radius: 8px; padding: 22px; background: #fff; }
.barisoli-post .bp-toc[hidden] { display: none; }
.barisoli-post .bp-toc summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; font-size: 15px; font-weight: 600; list-style: none; }
.barisoli-post .bp-toc summary::-webkit-details-marker { display: none; }
.barisoli-post .bp-toc[open] summary > span { transform: rotate(180deg); }
.barisoli-post .bp-toc ol { margin: 18px 0 0; padding: 0; list-style: none; max-height: 30vh; overflow-y: auto; }
.barisoli-post .bp-toc li + li { margin-top: 12px; }
.barisoli-post .bp-toc a { display: block; font-size: 13px; line-height: 1.75; color: var(--bp-muted); text-decoration: none; padding-inline-start: 12px; border-inline-start: 2px solid var(--bp-line); }
.barisoli-post .bp-toc a:hover, .barisoli-post .bp-toc a[aria-current="location"] { color: var(--bp-green); border-color: var(--bp-green); }
.barisoli-post .bp-toc .bp-toc-sub { margin-inline-start: 12px; }
.barisoli-post .bp-consult { background: var(--bp-green); color: #fff; border-radius: 10px; padding: 28px 24px; }
.barisoli-post .bp-consult-icon { display: grid; place-items: center; height: 46px; width: 46px; border: 1px solid #ffffff40; border-radius: 50%; margin-bottom: 26px; }
.barisoli-post .bp-consult h2 { font-size: 24px; font-weight: 500; line-height: 1.5; margin: 0 0 14px; color: #fff; }
.barisoli-post .bp-consult p { font-size: 14px; line-height: 1.9; margin: 0 0 24px; color: #e5eeea; }
.barisoli-post .bp-call { display: flex; align-items: center; justify-content: center; gap: 9px; background: #fff; color: var(--bp-green); padding: 13px 10px; border-radius: 5px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.barisoli-post .bp-call svg { flex-shrink: 0; }
.barisoli-post .bp-call:hover { background: #ecf0ea; }
.barisoli-post .bp-text-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #fff; font-size: 13px; margin-top: 20px; text-decoration: none; }
.barisoli-post .bp-text-link:hover { text-decoration: underline; }
.barisoli-post .bp-consult a:focus-visible { outline-color: #fff; }
.barisoli-post .bp-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 28px; border-top: 1px solid var(--bp-line); margin-top: 40px; }
.barisoli-post .bp-tags a { padding: 5px 12px; border: 1px solid var(--bp-line); border-radius: 4px; font-size: 12px; text-decoration: none; }
.barisoli-post .bp-tags a:hover { background: var(--bp-paper); }
.barisoli-post .bp-back { display: inline-flex; gap: 10px; align-items: center; margin-top: 24px; font-size: 14px; text-decoration: none; }
.barisoli-post .bp-back:hover { text-decoration: underline; }
.barisoli-post .bp-pages { display: flex; gap: 12px; flex-wrap: wrap; padding-block: 20px; }
.barisoli-post .bp-related { background: var(--bp-paper); border-top: 1px solid var(--bp-line); padding: 64px 0 80px; }
.barisoli-post .bp-related h2 { color: var(--bp-ink); font-size: clamp(26px, 3vw, 36px); font-weight: 500; line-height: 1.4; margin: 0 0 32px; }
.barisoli-post .bp-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.barisoli-post .bp-card { min-width: 0; }
.barisoli-post .bp-card-link { display: block; height: 100%; text-decoration: none; color: var(--bp-ink); }
.barisoli-post .bp-card-image, .barisoli-post .bp-card-placeholder { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; }
.barisoli-post .bp-card-placeholder { position: relative; background: #e3e9e0; overflow: hidden; }
.barisoli-post .bp-card-placeholder::before, .barisoli-post .bp-card-placeholder::after, .barisoli-post .bp-card-placeholder > span { content: ""; position: absolute; border: 1px solid #165c5733; inset: 18%; transform: skewY(-12deg); }
.barisoli-post .bp-card-placeholder::after { inset: 26%; }
.barisoli-post .bp-card-placeholder > span { inset: 34%; }
.barisoli-post .bp-card-body { padding: 20px 0 0; }
.barisoli-post .bp-card-body time { font-size: 12px; color: var(--bp-muted); }
.barisoli-post .bp-card h3 { color: var(--bp-ink); font-size: 20px; line-height: 1.6; font-weight: 500; margin: 10px 0 18px; }
.barisoli-post .bp-card-more { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--bp-green); border-top: 1px solid var(--bp-line); padding-top: 14px; }
.barisoli-post .bp-card-link:hover h3 { color: var(--bp-green); }
@media (max-width: 900px) {
    .barisoli-post .bp-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
    .barisoli-post .bp-consult { padding: 24px 18px; }
    .barisoli-post .bp-call { font-size: 14px; }
}
@media (max-width: 767px) {
    .barisoli-post .bp-shell { padding-inline: 20px; }
    .barisoli-post .bp-hero { padding-top: 22px; padding-bottom: 34px; }
    .barisoli-post .bp-heading-wrap { padding-top: 34px; }
    .barisoli-post .bp-eyebrow { margin-bottom: 14px; }
    .barisoli-post .bp-title { font-size: clamp(28px, 7vw, 38px); line-height: 1.4; letter-spacing: -.02em; }
    .barisoli-post .bp-intro { font-size: 16px; margin-top: 20px; }
    .barisoli-post .bp-meta { font-size: 12px; margin-top: 20px; }
    .barisoli-post .bp-featured { margin-top: 28px; }
    .barisoli-post .bp-layout { display: flex; flex-direction: column; gap: 36px; padding-block: 36px 52px; }
    .barisoli-post .bp-prose { font-size: 16px; line-height: 1.9; }
    .barisoli-post .bp-prose h3 { font-size: 21px; }
    .barisoli-post .bp-prose blockquote { padding: 20px; font-size: 17px; }
    .barisoli-post .bp-sidebar-inner { position: static; }
    .barisoli-post .bp-consult { padding: 28px; }
    .barisoli-post .bp-consult-icon { margin-bottom: 18px; }
    .barisoli-post .bp-toc { margin-bottom: 30px; }
    .barisoli-post .bp-toc ol { max-height: none; }
    .barisoli-post .bp-related { padding-block: 40px 52px; }
    .barisoli-post .bp-related-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (prefers-reduced-motion: no-preference) {
    .barisoli-post a { transition: color .18s, background-color .18s; }
}
