/* V22.78 — shared informational hero; existing CMS selectors retained. */
.aaa-unified-band{background:#eaf2e8!important;padding:94px 0 92px!important;overflow:visible!important}
.aaa-unified-public.cms-public-section{padding-top:0!important;background:linear-gradient(#eaf2e8 0 646px,#f7f9f6 646px)!important}
#main .aaa-unified-layout{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;align-items:center!important;gap:30px!important;min-height:460px!important;margin-bottom:0!important;padding-block:0!important}
#main .aaa-unified-public .aaa-unified-layout{min-height:646px!important;padding-block:94px 92px!important;margin-bottom:30px!important}
#main .aaa-unified-layout.aaa-unified-layout .aaa-unified-copy{min-width:0;max-width:none;padding:0!important;text-align:left!important;align-items:flex-start!important}
#main .aaa-unified-layout .aaa-unified-copy h1{font-family:Manrope,'DM Sans',sans-serif;font-size:clamp(3rem,6.2vw,6.7rem)!important;line-height:1.12!important;letter-spacing:-.055em!important;color:#203629!important;margin:24px 0!important;max-width:100%!important;overflow-wrap:break-word;text-wrap:balance}
#main .aaa-unified-copy h1 em,#main .aaa-unified-copy h1 .rental-title-green{color:#336749!important;font-style:normal}
#main .aaa-unified-copy p{font-size:clamp(1rem,1.5vw,1.2rem)!important;line-height:1.6!important;color:#526c60!important;margin:0!important;max-width:700px!important}
#main .aaa-unified-copy :is(.eyebrow,.course-hero-kicker,.cms-gallery-eyebrow,.rental-kicker){font-size:.76rem!important;letter-spacing:.17em!important;font-weight:800!important;color:#336749!important}
#main .aaa-unified-layout .aaa-unified-art{display:block!important;position:relative;width:100%!important;max-width:560px!important;min-width:0;justify-self:end!important;align-self:center!important;grid-column:auto!important;grid-row:auto!important;transform:none!important;filter:none!important;margin:0!important;color:#17643f}
#main .aaa-unified-art>svg{display:block;width:100%;height:auto;aspect-ratio:520/360;filter:none!important;transform:none!important;overflow:visible}
.aaa-unified-caption{display:block;text-align:right;color:#c32432;font-size:clamp(.7rem,1.3vw,1.15rem);font-weight:800;letter-spacing:.10em;margin-top:0;padding-right:5%;line-height:1.4}
@media(max-width:820px){
 .aaa-unified-band{padding:clamp(32px,7vw,56px) 0!important}
 .aaa-unified-public.cms-public-section{background:#f7f9f6!important}
 #main .aaa-unified-public .aaa-unified-layout{background:#eaf2e8;box-shadow:0 0 0 100vmax #eaf2e8;clip-path:inset(0 -100vmax);padding-block:clamp(32px,7vw,56px)!important;margin-bottom:0!important}
 #main .aaa-unified-layout,#main .aaa-unified-public .aaa-unified-layout{grid-template-columns:minmax(0,1fr)!important;min-height:0!important;gap:24px!important;justify-items:center}
 #main .aaa-unified-layout.aaa-unified-layout .aaa-unified-copy{text-align:center!important;align-items:center!important;width:100%!important}
 #main .aaa-unified-layout .aaa-unified-copy h1{font-size:clamp(2.6rem,10vw,4.5rem)!important;margin:16px auto!important;line-height:1.12!important}
 #main .aaa-unified-layout .aaa-unified-copy p{font-size:clamp(1rem,4vw,1.2rem)!important;color:#405e4e!important;margin:0 auto!important}
 #main .aaa-unified-layout .aaa-unified-art{width:min(100%,440px)!important;max-width:440px!important;justify-self:center!important}
 #main .aaa-unified-art>a.aaa-unified-caption{text-align:center;padding-right:0;overflow-wrap:normal;font-size:clamp(1rem,4vw,1.2rem);margin:8px auto 0}
}
@media(max-width:480px){#main .aaa-unified-layout .aaa-unified-art{max-width:330px!important}}

/* V22.79: accessible editable hero links */
#main .aaa-unified-art>a.aaa-unified-caption{display:block!important;color:#c32432!important;text-decoration:none;pointer-events:auto!important;position:relative;z-index:6}
#main .aaa-unified-art>a.aaa-unified-caption:hover{text-decoration:underline;text-underline-offset:5px}
#main .aaa-unified-art>a.aaa-unified-caption:focus-visible{outline:2px solid #17643f;outline-offset:4px;border-radius:4px}

/* V22.80: same-page content navigation, clear sticky header. */
#cenu-saturs,#kursu-saturs,#galerijas-saturs,#nomas-saturs{scroll-margin-top:130px}
@media(max-width:820px){#cenu-saturs,#kursu-saturs,#galerijas-saturs,#nomas-saturs{scroll-margin-top:100px}}
@media(prefers-reduced-motion:no-preference){html:has(.aaa-unified-caption){scroll-behavior:smooth}}

/* V22.81: shared content controls, outside the hero. */
#main .aaa-gallery-controls,#main .rental-section .rental-filter-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px 22px;margin:16px 0 19px;padding:12px 0 16px;border-bottom:1px solid #dce9df}
#main .aaa-gallery-controls .cms-public-gallery-tabs,#main .rental-section .rental-filter-bar .rental-filters{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;width:auto;max-width:100%;margin:0;padding:0;background:transparent;border:0;box-shadow:none}
#main .aaa-gallery-controls .cms-public-gallery-tabs button,#main .rental-section .rental-filter-bar .rental-filters button{min-width:0;min-height:48px;padding:10px 15px;border:1px solid #cbded0;border-radius:10px;background:#fff;color:#175b3a;font:inherit;font-weight:700;box-shadow:none}
#main .aaa-gallery-controls .cms-public-gallery-tabs button.is-active,#main .rental-section .rental-filter-bar .rental-filters button.active{background:#17613e;color:#fff;border-color:#17613e}
#main .aaa-gallery-view-toolbar,#main .rental-section .rental-view-toolbar{display:flex;align-items:center;justify-content:flex-end;gap:7px;margin:0;padding:0;color:#214634;font-weight:650;position:static}
#main .aaa-gallery-view-toolbar>span,#main .rental-section .rental-view-toolbar>span{margin-right:7px;white-space:nowrap}
#main .aaa-gallery-view-btn,#main .rental-section .rental-view-btn{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;flex:0 0 52px;padding:10px;border:1px solid #c8dccd;border-radius:10px;background:#fff;color:#1b5d3d;cursor:pointer}
#main .aaa-gallery-view-btn svg,#main .rental-section .rental-view-btn svg{display:block;width:27px;height:27px;stroke-width:2.4}
#main .aaa-gallery-view-btn[aria-pressed="true"],#main .rental-section .rental-view-btn[aria-pressed="true"]{background:#17613e;color:#fff;border-color:#17613e}
#main .aaa-gallery-view-btn:focus-visible,#main .rental-section .rental-view-btn:focus-visible{outline:3px solid #d6a34a;outline-offset:2px}
#main .cms-public-gallery-grid.aaa-gallery-list{grid-template-columns:minmax(0,1fr)!important}
#main .cms-public-gallery-grid.aaa-gallery-list .cms-card:not([hidden]){display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr);align-items:center}
#main .cms-public-gallery-grid.aaa-gallery-list .cms-card-content{padding:20px;min-width:0}
#main #cenu-saturs .aaa-price-guide{margin-block:32px}
@media(max-width:670px){#main .aaa-gallery-controls,#main .rental-section .rental-filter-bar{display:flex;flex-direction:column;align-items:stretch;gap:14px;margin:16px 0 18px;padding:0 0 17px}#main .aaa-gallery-controls .cms-public-gallery-tabs,#main .rental-section .rental-filter-bar .rental-filters{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%!important;gap:9px}#main .aaa-gallery-controls .cms-public-gallery-tabs button,#main .rental-section .rental-filter-bar .rental-filters button{width:100%!important;min-width:0!important;min-height:48px!important;padding:9px 8px!important;white-space:normal;overflow-wrap:normal;word-break:normal;text-align:center;line-height:1.25;font-size:clamp(.8rem,3.6vw,1rem)}#main .aaa-gallery-controls .cms-public-gallery-tabs button{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}#main .aaa-gallery-view-toolbar,#main .rental-section .rental-view-toolbar{margin-left:auto}#main .cms-public-gallery-grid.aaa-gallery-list .cms-card:not([hidden]){grid-template-columns:minmax(0,1fr)} }
