/*
Theme Name: Auris II
Template: auris
Description: Fotograficzny motyw blokowy dla Auris – budowa domów w Warszawie i okolicach.
Version: 1.1.3
Text Domain: auris-gemini
*/

:root {
    --ag-green: #12d523;
    --ag-link: #166628;
    --ag-pale: #eaf6e9;
    --ag-ink: #202621;
    --ag-copy: #414a43;
    --ag-muted: #59635c;
    --ag-line: #dce1db;
    --ag-paper: #f4f6f2;
    --ag-body: 'Inter', Arial, sans-serif;
    --ag-display: 'Plus Jakarta Sans', 'Inter', Arial, sans-serif;
    --ag-edge: clamp(20px, 4.7vw, 72px);
    --ag-width: 1280px;
    --ag-pad: max(var(--ag-edge), calc((100% - var(--ag-width)) / 2));
    --ag-space: clamp(48px, 5.8vw, 86px);
    --ag-radius: 14px;
    --ag-shadow: 0 8px 24px -12px rgb(22 38 25 / .25);
}

.av.av-1, .editor-styles-wrapper {
    --av-green: var(--ag-green);
    --av-link: var(--ag-link);
    --av-ink: var(--ag-ink);
    --av-text: var(--ag-copy);
    --av-muted: var(--ag-muted);
    --av-rule: var(--ag-line);
    --av-surface: var(--ag-paper);
    --av-body: var(--ag-body);
    --av-display: var(--ag-display);
    --av-edge: var(--ag-edge);
    --av-max: var(--ag-width);
    --av-pad: var(--ag-pad);
    font-family: var(--ag-body);
}

:is(.av-interior, .editor-styles-wrapper, .auris-not-found) {
    --display: var(--ag-display);
    --body: var(--ag-body);
    --ink: var(--ag-ink);
    --muted: var(--ag-muted);
    --line: var(--ag-line);
    --interior-width: var(--ag-width);
    --interior-edge: var(--ag-edge);
    --reading-width: 47rem;
    --interior-space: clamp(36px, 4.4vw, 68px);
}

:is(.av, .editor-styles-wrapper) :is(h1, h2, h3) {
    font-family: var(--ag-display);
    font-weight: 760;
    letter-spacing: -.03em;
    line-height: 1.16;
}

:is(.av, .editor-styles-wrapper) p strong { font-weight: 650; }
.av :is(a, button, summary, input, textarea, select, [tabindex]):focus-visible {
    outline: 3px solid #137d29;
    outline-offset: 4px;
}

.av :is(.av-hero, .av-reviews, .av-footer, .ag-glossary) a:focus-visible {
    outline-color: var(--ag-green);
}

.av :is(main, section, h2, h3, form, [id]) { scroll-margin-top: 90px; }

/* Header and native Gutenberg navigation */
.av .av-head {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0px);
    z-index: 25;
    min-height: 76px;
    padding: 6px var(--ag-pad);
    gap: clamp(14px, 2.2vw, 34px);
    background: rgb(255 255 255 / .98);
    border: 0;
    box-shadow: 0 1px 0 rgb(32 38 33 / .12);
}

.av .av-logo img { width: 94px; height: 46px; object-fit: contain; }
.av .av-nav { margin-inline: auto; font: 600 .875rem/1.25 var(--ag-body); }
.av .av-nav .wp-block-navigation__container { gap: clamp(14px, 2.1vw, 31px); }
.av .av-nav .wp-block-navigation-item > a { color: #343e36; text-transform: uppercase; }
.av .av-nav .wp-block-navigation-item > a:hover { color: var(--ag-link); }

.av .av-actions { gap: clamp(14px, 1.7vw, 26px); }
.av .av-phone a { font: 700 .875rem/1.2 var(--ag-body); }
.av .av-quote .wp-block-button__link {
    min-height: 42px;
    padding: .7rem 1.05rem;
    border-radius: 9px;
    color: #102514;
    background: var(--ag-green);
    font: 760 .86rem/1.3 var(--ag-display);
}

.av .av-nav .wp-block-navigation__responsive-container.is-menu-open {
    background: #fff;
    color: var(--ag-ink);
}

.av .av-nav .is-menu-open .wp-block-navigation-item > a {
    font-family: var(--ag-display);
    font-weight: 700;
}

/* Full-width photograph, title and four entry points */
:is(.av-live-home, .editor-styles-wrapper) .av-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(450px, 40vw, 600px);
    background: #17251d;
    overflow: hidden;
}

:is(.av-live-home, .editor-styles-wrapper) .av-hero .av-photo {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
}

:is(.av-live-home, .editor-styles-wrapper) .av-hero .av-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: 58% 44%;
}

:is(.av-live-home, .editor-styles-wrapper) .av-hero::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgb(10 19 14 / .91), rgb(13 24 17 / .87) 24%, rgb(18 28 21 / .57) 48%, rgb(21 28 23 / .08) 76%),
                linear-gradient(0deg, rgb(12 22 16 / .36), transparent 32%);
    pointer-events: none;
}

:is(.av-live-home, .editor-styles-wrapper) .av-hero .av-title {
    width: 100%;
    padding: clamp(32px, 3.2vw, 48px) var(--ag-pad) clamp(76px, 6.1vw, 92px);
    color: #fff;
}

:is(.av-live-home, .editor-styles-wrapper) .av-title :is(h1, h2) {
    max-width: 21ch;
    margin: 0;
    color: #fff;
    font: 820 clamp(2.65rem, 4.25vw, 4.35rem)/1.035 var(--ag-display);
    letter-spacing: -.043em;
    word-spacing: .035em;
    text-wrap: balance;
}

:is(.av-live-home, .editor-styles-wrapper) .av-title :is(h1, h2) :is(mark, .ag-place) {
    background: none;
    color: #71f27e;
}

:is(.av-live-home, .editor-styles-wrapper) .av-title p {
    max-width: 54ch;
    margin: clamp(24px, 3.55vw, 54px) 0 0;
    color: #f5f7f4;
    font-size: clamp(.98rem, 1.2vw, 1.125rem);
    line-height: 1.58;
}

:is(.av-live-home, .editor-styles-wrapper) .av-photo figcaption {
    inset: 15px var(--ag-pad) auto auto;
    max-width: 42%;
    width: fit-content;
    padding: .26rem .58rem;
    border-radius: 4px;
    background: rgb(21 30 23 / .84);
    color: white;
    font: 550 .71rem/1.35 var(--ag-body);
}

.ag-hero-actions.wp-block-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: clamp(24px, 3.55vw, 54px) 0 0;
}

.ag-hero-actions .wp-block-button .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 47px;
    border: 1px solid transparent;
    border-radius: 9px;
    padding: .77rem 1.18rem;
    background: var(--ag-green);
    color: #102414;
    font: 750 .91rem/1.3 var(--ag-display);
    text-decoration: none;
}

.ag-hero-actions .wp-block-button:first-child .wp-block-button__link::after {
    content: "→";
    padding-inline-start: .7rem;
    font-size: 1.12em;
}

.ag-hero-actions .wp-block-button + .wp-block-button .wp-block-button__link {
    background: rgb(27 36 29 / .72);
    color: #fff;
    border-color: rgb(255 255 255 / .65);
}

.ag-hero-actions .wp-block-button .wp-block-button__link:hover { background: #68ea73; }
.ag-hero-actions .wp-block-button + .wp-block-button .wp-block-button__link:hover { background: #39473c; }

.av.av-live-home .wp-block-post-content > .av-shortcuts,
.editor-styles-wrapper .av-shortcuts {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1.3vw, 20px);
    margin-block: -45px 0;
    padding: 0 var(--ag-pad);
    border: none;
    background: transparent;
}

:is(.av-live-home, .editor-styles-wrapper) .av-shortcuts > .av-shortcut,
:is(.av-live-home, .editor-styles-wrapper) .av-more > .av-shortcut {
    position: relative;
    padding: clamp(18px, 1.65vw, 26px);
    margin: 0;
    border: 1px solid var(--ag-line);
    border-radius: var(--ag-radius);
    background: #fff;
    box-shadow: var(--ag-shadow);
}

:is(.av-live-home, .editor-styles-wrapper) .av-shortcuts > .av-shortcut {
    border-color: transparent;
    box-shadow: 0 7px 20px -8px rgb(22 38 25 / .16);
}

:is(.av-live-home, .editor-styles-wrapper) .av-shortcuts .av-shortcut::before {
    content: "";
    display: block;
    width: 38px;
    height: 38px;
    margin-bottom: .95rem;
    border-radius: 9px;
    background: var(--ag-pale) var(--ag-icon) center / 23px 23px no-repeat;
}

.av-shortcuts .av-shortcut:nth-child(1) {
    --ag-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319692c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m2.5 11 9.5-8 9.5 8M5 9.5V21h14V9.5M9.5 21v-7h5v7'/%3E%3C/svg%3E");
}
.av-shortcuts .av-shortcut:nth-child(2) {
    --ag-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319692c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m8.2 14.3-1.5 7 5.3-2.5 5.3 2.5-1.5-7'/%3E%3Ccircle cx='12' cy='9' r='6.5'/%3E%3Cpath d='m9 9 2 2 4-4'/%3E%3C/svg%3E");
}
.av-shortcuts .av-shortcut:nth-child(3) {
    --ag-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319692c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 3 4 .5 2 5L7.6 11a16 16 0 0 0 5.4 5.4l2.5-2.4 5 2 .5 4c-1.2 2.2-4.7 1.6-7.3.4A21.5 21.5 0 0 1 3.6 10.3C2.4 7.7 1.8 4.2 4 3Z'/%3E%3C/svg%3E");
}
.av-shortcuts .av-shortcut:nth-child(4) {
    --ag-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2319692c' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 5.3c-3.5-.8-6.1-.3-8.5 1.3-2.4-1.6-5-2.1-8.5-1.3V19c3.5-.8 6.1-.3 8.5 1.3 2.4-1.6 5-2.1 8.5-1.3V5.3ZM12 6.6v13.7'/%3E%3C/svg%3E");
}

:is(.av-live-home, .editor-styles-wrapper) .av-shortcut :is(h2, h3) {
    margin: 0;
    font-size: clamp(1.06rem, 1.45vw, 1.375rem);
    font-weight: 760;
    line-height: 1.23;
}

.av .av-shortcuts .av-shortcut :is(h2, h3) a::after {
    position: absolute;
    inset: 23px 22px auto auto;
    color: #627565;
    width: 16px;
    height: 16px;
}

.av .av-shortcut :is(h2, h3) a::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--ag-radius);
}

.av .av-shortcut p a { position: relative; }
.av .av-shortcut :is(h2, h3) a:hover { text-decoration: none; }
.av .av-shortcut:has(a:hover) { border-color: #82a883; }
.av .av-shortcut:has(a:hover) :is(h2,h3) { color: var(--ag-link); }
.av .av-shortcut p { margin-top: .52rem; color: var(--ag-muted); font-size: .875rem; line-height: 1.54; }


/* Editorial sections use the original headings, construction photos and links. */
:is(.av-live-home, .editor-styles-wrapper) .av-prose {
    padding: var(--ag-space) var(--ag-pad);
    border: 0;
}

:is(.av-live-home, .editor-styles-wrapper) :is(.ag-about, .ag-scope, .ag-guide) > * {
    width: auto;
    max-width: none;
    margin-inline: 0;
}

:is(.av-live-home, .editor-styles-wrapper) .ag-about > h1,
:is(.av-live-home, .editor-styles-wrapper) :is(.av-prose, .av-gallery, .av-local) > h2 {
    max-width: 29ch;
    margin: 0;
    color: var(--ag-ink);
    font: 800 clamp(1.9rem, 3.2vw, 3.15rem)/1.13 var(--ag-display);
    letter-spacing: -.037em;
}

:is(.av-live-home, .editor-styles-wrapper) .ag-about-grid,
:is(.av-live-home, .editor-styles-wrapper) .ag-scope-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: start;
    gap: clamp(24px, 4.5vw, 76px);
    margin-top: clamp(24px, 3.3vw, 44px);
}

.ag-about-grid > *, .ag-scope-grid > *, .ag-guide-grid > * { min-width: 0; }

:is(.av-live-home, .editor-styles-wrapper) .ag-about-copy > :first-child,
:is(.av-live-home, .editor-styles-wrapper) .ag-scope-intro > :first-child,
:is(.av-live-home, .editor-styles-wrapper) .ag-guide-item > :first-child { margin-top: 0; }

:is(.av-live-home, .editor-styles-wrapper) .av-prose p {
    color: var(--ag-copy);
    line-height: 1.7;
}

:is(.av-live-home, .editor-styles-wrapper) .ag-about-copy > h2 {
    margin: 1.2em 0 .45em;
    color: var(--ag-ink);
    font: 750 clamp(1.35rem, 2vw, 1.8rem)/1.16 var(--ag-display);
    letter-spacing: -.03em;
}

:is(.av-live-home, .editor-styles-wrapper) .ag-about-copy h3 {
    margin-top: 1.2em;
    padding-left: .8em;
    border-left: 3px solid var(--ag-green);
    font-size: clamp(1.19rem, 1.6vw, 1.55rem);
}

:is(.av-live-home, .editor-styles-wrapper) .ag-about-photo {
    position: relative;
    margin: 0;
    padding: 0;
}

.ag-about-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 1.24;
    object-fit: cover;
    border-radius: var(--ag-radius);
}

.ag-about-photo figcaption { color: var(--ag-muted); font-size: .81rem; }

:is(.av-live-home, .editor-styles-wrapper) .ag-glossary {
    position: relative;
    margin-inline: var(--ag-pad);
    border-radius: var(--ag-radius);
    background-color: #1d2b22;
    background-image: repeating-linear-gradient(132deg, transparent 0 18px, rgb(255 255 255 / .04) 18px 19px);
    color: #fff;
}

:is(.av-live-home, .editor-styles-wrapper) .ag-glossary h2 {
    margin: 0;
    color: white;
    font-size: clamp(1.13rem, 2.1vw, 1.95rem);
}

.ag-glossary h2 a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: clamp(22px, 3.3vw, 44px);
    color: inherit;
    text-decoration: none;
}

.ag-glossary h2 a::after {
    content: "";
    display: block;
    flex: none;
    width: 1.15em;
    height: 1.15em;
    background: var(--ag-green);
    mask: var(--av-arrow) center/contain no-repeat;
}

.ag-glossary h2 a:hover { text-decoration: underline; text-underline-offset: .2em; }

:is(.av-live-home, .editor-styles-wrapper) .ag-scope {
    margin-top: var(--ag-space);
    background-color: var(--ag-paper);
    background-image: linear-gradient(rgb(49 77 52 / .045) 1px, transparent 1px), linear-gradient(90deg, rgb(49 77 52 / .045) 1px, transparent 1px);
    background-size: 30px 30px;
}

.av.av-live-home .wp-block-post-content > .ag-scope { margin-top: var(--ag-space); }
:is(.av-live-home, .editor-styles-wrapper) .ag-scope-intro { max-width: 74ch; margin-top: 1.25rem; }
:is(.av-live-home, .editor-styles-wrapper) .ag-scope-grid { align-items: stretch; gap: clamp(15px, 2.3vw, 32px); }

.ag-scope-grid > * {
    padding: clamp(19px, 2.5vw, 36px);
    background: #fff;
    border: 1px solid var(--ag-line);
    border-radius: var(--ag-radius);
}

:is(.av-live-home, .editor-styles-wrapper) .ag-scope-works { background: #eaf3e8; border-color: #cadbc8; }
:is(.av-live-home, .editor-styles-wrapper) .ag-scope-grid h3 { margin-top: 0; font-size: clamp(1.21rem, 1.55vw, 1.47rem); }
:is(.av-live-home, .editor-styles-wrapper) .ag-scope-grid ul { margin-block: 0; padding-left: 1.25em; }
:is(.av-live-home, .editor-styles-wrapper) .ag-scope-grid li { padding-block: .22em; }
:is(.av-live-home, .editor-styles-wrapper) .ag-scope > h3:last-child { margin: 1.35em 0 0; font-size: clamp(1.22rem, 1.65vw, 1.55rem); }

:is(.av-live-home, .editor-styles-wrapper) .av-gallery {
    gap: 18px;
    padding-block: var(--ag-space) clamp(32px, 4vw, 56px);
    align-items: end;
}

:is(.av-live-home, .editor-styles-wrapper) .av-gallery > h2 { margin-right: auto; }
.av .av-controls { gap: 7px; }
.av .av-controls button, .av-interior .auris-carousel__actions button { border-radius: 50%; }
.av .av-track { --av-gallery-gap: clamp(15px, 1.7vw, 26px); padding: 3px 2px 14px; }
.av .av-project {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--ag-line);
    border-radius: var(--ag-radius);
    background: white;
    box-shadow: 0 6px 15px -12px rgb(15 29 19 / .25);
}

.av .av-project .av-project-photos { overflow: hidden; border-radius: calc(var(--ag-radius) - 1px) calc(var(--ag-radius) - 1px) 0 0; }
.av .av-project img { aspect-ratio: 1.7; }
.av .av-project h3 {
    margin: 17px 19px 0;
    font-size: clamp(1.12rem, 1.5vw, 1.48rem);
    line-height: 1.26;
}

.av .av-project > p:not(.av-new) { margin: 8px 19px 18px; color: var(--ag-muted); font-size: .9rem; line-height: 1.6; }
.av .av-project .av-new, .av-interior .auris-carousel__badge {
    inset: 12px auto auto 12px;
    width: fit-content;
    padding: .22rem .6rem;
    border-radius: 5px;
    background: var(--ag-green);
    color: #102414;
    font: 750 .73rem/1.35 var(--ag-body);
}

.av .av-project .av-new a { text-decoration: none; }
.av .av-project .ag-project-link { margin: auto 19px 18px; padding-top: 8px; }
.av .ag-project-link .wp-block-button__link, .av .av-gallerylink a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 2px 0;
    border: 0;
    background: transparent;
    color: var(--ag-link);
    font: 740 .88rem/1.3 var(--ag-display);
    text-decoration: underline;
    text-underline-offset: .2em;
}
.av .ag-project-link .wp-block-button__link::after, .av .av-gallerylink a::after { content: "→"; margin-left: .4em; }
.av .av-gallerylink { width: 100%; margin: 0; text-align: center; }
.av .av-album { width: 100%; border-block-color: var(--ag-line); }
.av .av-album summary { font-family: var(--ag-display); }
.av .av-thumbs img { border-radius: 6px; }

:is(.av-live-home, .editor-styles-wrapper) .av-more {
    gap: clamp(12px, 1.6vw, 22px);
    padding-block: 0 var(--ag-space);
    background: #fff;
    border: none;
}

:is(.av-live-home, .editor-styles-wrapper) .av-more .av-shortcut {
    border-left: 3px solid #92b58f;
    box-shadow: none;
    background: var(--ag-paper);
}

:is(.av-live-home, .editor-styles-wrapper) .av-reviews {
    padding-block: clamp(40px, 5vw, 76px);
    color: #fff;
    background: #202923;
}

.av .av-reviews :is(h2,h3,p,a) { color: inherit; }
.av .av-reviews .auris-google {
    --muted: #c5d1c7;
    display: grid;
    grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
    background: transparent;
    color: #fff;
    gap: var(--ag-edge);
    align-items: center;
}

.av .av-reviews .auris-google__text { padding: 0; }
.av .av-reviews .auris-google__text h2 { font-size: clamp(1.85rem, 3.1vw, 3.12rem); }
.av .av-reviews .auris-google__rating strong { color: #81f38a; }
.av .av-reviews .auris-google__date { color: #c5d1c7; }
.av .av-reviews .auris-google__map { min-height: 240px; max-height: 320px; border-radius: var(--ag-radius); background: #fff; }
.av .av-reviews > :is(p, .wp-block-buttons) { margin-top: 16px; }
.av .av-reviews .wp-block-button__link { border: 1px solid #86ab8b; border-radius: 8px; background: transparent; color: white; }
.av .av-reviews .wp-block-button__link:hover { background: #344a39; }
.av .av-reviews a:not(.wp-block-button__link) { text-decoration-color: #86cb8b; }

:is(.av-live-home, .editor-styles-wrapper) .ag-guide { background: #f7f8f5; }
:is(.av-live-home, .editor-styles-wrapper) .ag-guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 28px);
    margin-block: clamp(24px, 2.8vw, 40px);
}

.ag-guide-item {
    min-width: 0;
    padding: clamp(16px, 2vw, 28px);
    background: white;
    border: 1px solid var(--ag-line);
    border-top: 3px solid #8eb58a;
    border-radius: 0 0 var(--ag-radius) var(--ag-radius);
}

:is(.av-live-home, .editor-styles-wrapper) .ag-guide-item h3 { font-size: clamp(1.17rem, 1.55vw, 1.52rem); }
:is(.av-live-home, .editor-styles-wrapper) .ag-guide-item p { font-size: .925rem; line-height: 1.63; }
:is(.av-live-home, .editor-styles-wrapper) .ag-guide > p { max-width: 70ch; }
:is(.av-live-home, .editor-styles-wrapper) .ag-guide .wp-block-button__link {
    border-radius: 8px;
    background: var(--ag-green);
    color: #142517;
    font-weight: 700;
}

.av .av-local { background: white; border-top: 1px solid var(--ag-line); padding-block: clamp(34px, 4vw, 66px); }
.av .av-local > h2 { font-size: clamp(1.55rem, 2.4vw, 2.2rem); }
.av .av-local li { padding-block: .32em; }
.av .av-footer {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: start;
    gap: 15px 32px;
    padding: clamp(30px, 4.2vw, 62px) var(--ag-pad) clamp(22px, 2.7vw, 40px);
    background: #1c241f;
    color: #ecf1ed;
}
.av .av-footer h3 { font-size: clamp(1.2rem, 1.7vw, 1.66rem); line-height: 1.3; }
.av .av-footer p { margin: 0; color: #d6dfd7; line-height: 1.65; }
.av .av-footer a { text-decoration-color: #829785; }
.av .av-footer a:hover { color: #8df297; text-decoration-color: currentColor; }
.av .av-footer > p:last-child {
    grid-column: 1 / -1;
    margin-top: 7px;
    padding-top: 18px;
    border-top: 1px solid #455148;
    color: #c3cec5;
    font-size: .79rem;
}


/* All legacy routes render Gutenberg blocks inside the same interior template. */
:is(.av-interior, .editor-styles-wrapper) .auris-page-intro {
    position: relative;
    isolation: isolate;
    padding-block: clamp(36px, 4.7vw, 74px);
    background-color: #202b23;
    background-image: linear-gradient(90deg, #202b23 8%, rgb(32 43 35 / .9) 43%, rgb(32 43 35 / .08) 100%),
        repeating-linear-gradient(135deg, transparent 0 23px, rgb(180 212 182 / .12) 23px 24px),
        repeating-linear-gradient(45deg, transparent 0 94px, rgb(180 212 182 / .1) 94px 95px);
    color: white;
}

:is(.av-interior, .editor-styles-wrapper) .auris-page-intro h1 {
    max-width: 32ch;
    font: 800 clamp(2.12rem, 3.8vw, 3.9rem)/1.09 var(--ag-display);
    letter-spacing: -.038em;
}

:is(.av-interior, .editor-styles-wrapper) .auris-page-intro p {
    margin-top: .85rem;
    color: #dae4dc;
}

:is(.av-interior, .editor-styles-wrapper) .auris-page-body :is(h2, h3, h4, h5) {
    font-family: var(--ag-display);
    font-weight: 760;
    line-height: 1.22;
    letter-spacing: -.035em;
}

:is(.av-interior, .editor-styles-wrapper) .auris-page-body h2 { font-size: clamp(1.61rem, 2.4vw, 2.45rem); }
:is(.av-interior, .editor-styles-wrapper) .auris-page-body :is(h3, h4, h5) { font-size: clamp(1.22rem, 1.66vw, 1.64rem); }
:is(.av-interior, .editor-styles-wrapper) .auris-prose :is(p,li) { color: var(--ag-copy); line-height: 1.72; }
:is(.av-interior, .editor-styles-wrapper) .auris-prose a { color: var(--ag-link); }
:is(.av-interior, .editor-styles-wrapper) .auris-prose .wp-block-image img { border-radius: 9px; }
:is(.av-interior, .editor-styles-wrapper) .auris-prose th { background: var(--ag-pale); color: var(--ag-ink); }
:is(.av-interior, .editor-styles-wrapper) .auris-prose tr:nth-child(even) td { background: #f7f8f6; }
:is(.av-interior, .editor-styles-wrapper) .auris-terms li { padding-block: .32em; }
:is(.av-interior, .editor-styles-wrapper) .av-related {
    padding: clamp(17px, 2vw, 30px);
    border: 1px solid var(--ag-line);
    border-radius: var(--ag-radius);
    background: var(--ag-paper);
}

:is(.av-interior, .editor-styles-wrapper) .av-related img { border-radius: 8px; }
:is(.av-interior, .editor-styles-wrapper) .av-related-item + .av-related-item {
    margin-top: .95rem;
    border-top: 1px solid #d5ddd4;
}
:is(.av-interior, .editor-styles-wrapper) .av-related a { color: var(--ag-link); }
:is(.av-interior, .editor-styles-wrapper) .av-related :is(h2,h3) { font-size: clamp(1.1rem, 1.37vw, 1.32rem); }

:is(.av-interior, .editor-styles-wrapper) .auris-carousel__tools { border-bottom: 0; margin-block: 0 10px; }
:is(.av-interior, .editor-styles-wrapper) .auris-carousel__card {
    height: 100%;
    gap: 0;
    padding-bottom: 16px;
    overflow: hidden;
    border-radius: var(--ag-radius);
    border: 1px solid var(--ag-line);
    box-shadow: 0 5px 15px -12px rgb(15 29 19 / .28);
    background: white;
}
:is(.av-interior, .editor-styles-wrapper) .auris-carousel__card:hover { border-color: #94b399; }
:is(.av-interior, .editor-styles-wrapper) .auris-carousel__item-title {
    margin: 14px 17px 0;
    color: var(--ag-ink);
    font: 760 clamp(1.1rem, 1.5vw, 1.45rem)/1.27 var(--ag-display);
    letter-spacing: -.035em;
}
:is(.av-interior, .editor-styles-wrapper) .auris-carousel__summary {
    margin: 8px 17px 0;
    color: var(--ag-muted);
    font-size: .9rem;
}
:is(.av-interior, .editor-styles-wrapper) .auris-carousel__item-link { margin: 11px 17px 0; color: var(--ag-link); }
:is(.av-interior, .editor-styles-wrapper) .auris-carousel__actions button { border-radius: 50%; }
:is(.av-interior, .editor-styles-wrapper) .auris-carousel--references .auris-carousel__art {
    background: #edf1eb;
    border: 0;
    border-bottom: 1px solid var(--ag-line);
}
:is(.av-interior, .editor-styles-wrapper) .auris-project-gallery.wp-block-gallery > figure.wp-block-image { border-radius: 10px; overflow: hidden; }
:is(.av-interior, .editor-styles-wrapper) .auris-google {
    border-radius: var(--ag-radius);
    border: 1px solid var(--ag-line);
    background: var(--ag-paper);
    overflow: hidden;
}
:is(.av-interior, .editor-styles-wrapper) .auris-google__rating strong { color: var(--ag-link); }
:is(.av-interior, .editor-styles-wrapper) .auris-contact-card {
    border: 1px solid var(--ag-line);
    border-top: 3px solid var(--ag-green);
    border-radius: 0 0 var(--ag-radius) var(--ag-radius);
    background: var(--ag-paper);
}
:is(.av-interior, .editor-styles-wrapper) .estimate-form {
    border-radius: var(--ag-radius);
    background: #f5f7f3;
    accent-color: var(--ag-link);
}
:is(.av-interior, .editor-styles-wrapper) .estimate-form :is(textarea, input:not([type="radio"]):not([type="checkbox"])) {
    border-color: #949f94;
    border-radius: 7px;
    font-family: var(--ag-body);
}
:is(.av-interior, .editor-styles-wrapper) .estimate-form input::file-selector-button { border-radius: 5px; }
:is(.av-interior, .editor-styles-wrapper) .estimate-form summary { color: var(--ag-link); }

:is(.av-interior, .editor-styles-wrapper) .estimate-form button.estimate-form__submit,
:is(.av-interior, .editor-styles-wrapper) .auris-page-body .wp-block-button__link,
.av-site .auris-not-found .wp-block-button__link {
    border-radius: 8px;
    font-family: var(--ag-display);
}

.av-site .auris-not-found { width: min(calc(100% - 2 * var(--ag-edge)), 66ch); }
.av-site .av-site-areas { background: var(--ag-paper); border-color: var(--ag-line); }
.av-site .av-site-areas summary { font-size: clamp(1.1rem, 1.6vw, 1.45rem); }
.av-site .av-site-areas a { color: var(--ag-link); }

.av .ag-social.wp-block-social-links { margin: 0; gap: 0; }
.av .ag-social.wp-block-social-links a { display: grid; place-items: center; min-width: 33px; min-height: 44px; }
.av .av-actions .ag-social.is-style-logos-only .wp-social-link-facebook a { color: #080808; }
.av .ag-social.wp-block-social-links svg { width: 20px; height: 20px; }

@media (min-width: 901px) {
    :is(.av-live-home, .editor-styles-wrapper) .av-hero::before,
    :is(.av-live-home, .editor-styles-wrapper) .av-hero .av-photo img { transform: scale(1.25); }
    :is(.av-live-home, .editor-styles-wrapper) .av-hero .av-photo img {
        object-position: center 41.6%;
    }
}

@media (max-width: 1279px) {
    .av .av-nav { margin-inline: auto 0; }
    .av .av-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
    .av .av-nav .wp-block-navigation__responsive-container:not(.is-menu-open):not(.hidden-by-default) { display: none; }
}

@media (max-width: 900px) {
    .av.av-live-home .wp-block-post-content > .av-shortcuts, .editor-styles-wrapper .av-shortcuts {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 12px;
    }

    :is(.av-live-home, .editor-styles-wrapper) .ag-about-grid { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 24px; }
    :is(.av-live-home, .editor-styles-wrapper) .ag-guide-grid { grid-template-columns: minmax(0,1fr); gap: 15px; }
    .av .av-reviews .auris-google { gap: 26px; }
}

@media (max-width: 720px) {
    :root { --ag-edge: clamp(17px, 4.6vw, 28px); --ag-space: 42px; --ag-radius: 11px; }

    .av .av-head { min-height: 61px; padding-block: 4px; gap: 4px; }
    .av .av-logo img { width: 83px; height: 47px; }
    .av .av-actions { gap: 4px; }
    .av .av-actions .ag-social { display: none; }
    .av .av-phone a { min-width: 38px; width: 38px; font-size: 0; }
    .av .av-quote .wp-block-button__link { min-height: 40px; padding: .55rem .65rem; gap: .3rem; font-size: .76rem; }
    .av .av-quote .wp-block-button__link::after { width: 11px; height: 11px; }
    .av :is(main, section, h2, h3, form, [id]) { scroll-margin-top: 76px; }

    :is(.av-live-home, .editor-styles-wrapper) .av-hero { min-height: 0; }
    :is(.av-live-home, .editor-styles-wrapper) .av-hero .av-title {
        padding-block: clamp(44px, 12vw, 76px) 70px;
    }
    :is(.av-live-home, .editor-styles-wrapper) .av-hero::before {
        background: linear-gradient(90deg, rgb(9 21 13 / .73), rgb(12 24 17 / .3) 85%),
                    linear-gradient(0deg, rgb(9 17 13 / .92), rgb(10 21 15 / .63) 44%, transparent 100%);
    }
    :is(.av-live-home, .editor-styles-wrapper) .av-hero .av-photo img { object-position: 63% 40%; }
    :is(.av-live-home, .editor-styles-wrapper) .av-photo figcaption { inset: 10px var(--ag-edge) auto auto; max-width: calc(100% - 2 * var(--ag-edge)); font-size: .67rem; }
    :is(.av-live-home, .editor-styles-wrapper) .av-title :is(h1, h2) { max-width: 20ch; font-size: clamp(2rem, 7.25vw, 2.9rem); }
    :is(.av-live-home, .editor-styles-wrapper) .av-title p { max-width: 45ch; margin-top: 22px; font-size: .945rem; }
    .ag-hero-actions.wp-block-buttons { gap: 8px; margin-top: 18px; }
    .ag-hero-actions .wp-block-button .wp-block-button__link { min-height: 43px; font-size: .82rem; padding: .65rem .82rem; }
    .av.av-live-home .wp-block-post-content > .av-shortcuts, .editor-styles-wrapper .av-shortcuts { margin-top: -30px; }
    :is(.av-live-home, .editor-styles-wrapper) .av-shortcuts > .av-shortcut,
    :is(.av-live-home, .editor-styles-wrapper) .av-more > .av-shortcut {
        padding: 16px;
        border: 1px solid var(--ag-line);
    }
    :is(.av-live-home, .editor-styles-wrapper) .av-shortcuts > .av-shortcut:nth-child(n+3),
    :is(.av-live-home, .editor-styles-wrapper) .av-shortcuts > .av-shortcut:last-child,
    :is(.av-live-home, .editor-styles-wrapper) .av-more > .av-shortcut:last-child { border: 1px solid var(--ag-line); }
    :is(.av-live-home, .editor-styles-wrapper) .av-shortcuts .av-shortcut::before { width: 32px; height: 32px; margin-bottom: 9px; background-size: 20px 20px; }
    .av .av-shortcuts .av-shortcut :is(h2,h3) a::after { inset: 20px 15px auto auto; width: 13px; height: 13px; }
    .av .av-shortcut p { font-size: .84rem; line-height: 1.5; }
    :is(.av-live-home, .editor-styles-wrapper) .av-prose p,
    :is(.av-live-home, .editor-styles-wrapper) .av-prose li { font-size: .955rem; }
    :is(.av-live-home, .editor-styles-wrapper) :is(.ag-about-grid, .ag-scope-grid) { grid-template-columns: minmax(0,1fr); gap: 18px; }
    .ag-about-photo img { aspect-ratio: 1.65; }
    .av .av-reviews .auris-google { grid-template-columns: minmax(0,1fr); gap: 19px; }
    .av .av-reviews .auris-google__map { min-height: 200px; }
    :is(.av-live-home, .editor-styles-wrapper) .av-more { grid-template-columns: minmax(0, 1fr); gap: 9px; }
    .av .av-footer { grid-template-columns: minmax(0,1fr); gap: 11px; }
}

@media (max-width: 445px) {
    .av.av-live-home .wp-block-post-content > .av-shortcuts, .editor-styles-wrapper .av-shortcuts { grid-template-columns: minmax(0, 1fr); gap: 7px; }
    :is(.av-live-home, .editor-styles-wrapper) .av-shortcuts > .av-shortcut { padding: 13px 32px 13px 55px; }
    :is(.av-live-home, .editor-styles-wrapper) .av-shortcuts .av-shortcut::before { position: absolute; top: 13px; left: 12px; margin: 0; }
    .av .av-shortcuts .av-shortcut :is(h2,h3) a::after { top: 17px; right: 12px; }
    .av .av-shortcuts .av-shortcut p { margin-top: 4px; }
}

@media (max-width: 350px) {
    :root { --ag-edge: 13px; }
    .av .av-logo img { width: 65px; }
    .av .av-actions, .av .av-head { gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .av *, .av *::before, .av *::after { scroll-behavior: auto; transition-duration: 0s; }
}

