/* Office Hunters - Vilnius office rental sections v4.
   Inherit existing Geist / broken-corner theme design; use brand blue, black and theme gray.
   All selectors are isolated from existing Gutenberg and object catalogue blocks. */
.oh-home-seo {
  --oh-black: #121212;
  --oh-blue: #d6eaff;
  --oh-gray: #f7f7f7;
  width: 100vw;
  max-width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Geist', sans-serif;
  overflow: clip;
}
.oh-home-seo *, .oh-home-seo *::before, .oh-home-seo *::after { box-sizing: border-box; }
.oh-home-seo__section { --oh-ink: #121212; --oh-line: rgba(18,18,18,.66); --oh-muted: #343434; background: var(--oh-blue); color: var(--oh-ink); position: relative; padding: 0 13px; margin: 0; }
.oh-home-seo__section--blue { background: var(--oh-blue); }
.oh-home-seo__section--gray { --oh-ink: #121212; --oh-line: rgba(18,18,18,.54); --oh-muted: #414141; background: var(--oh-gray); }
.oh-home-seo__section--dark { --oh-ink: #f2f6fa; --oh-line: rgba(214,234,255,.48); --oh-muted: #c7d3e0; background: var(--oh-black); }
.oh-home-seo__frame { position: relative; max-width: 1440px; margin: 0 auto; padding: clamp(76px,7vw,108px) clamp(40px,5.2vw,76px); isolation: isolate; }
/* Four separated line segments rather than visibly overlapping full rectangles. */
.oh-home-seo__frame::before { content: ''; position: absolute; inset: 13px 0; pointer-events: none; z-index: -1;
  background: linear-gradient(var(--oh-line),var(--oh-line)) top center / calc(100% - 26px) 1px no-repeat,
              linear-gradient(var(--oh-line),var(--oh-line)) bottom center / calc(100% - 26px) 1px no-repeat,
              linear-gradient(var(--oh-line),var(--oh-line)) left center / 1px calc(100% - 26px) no-repeat,
              linear-gradient(var(--oh-line),var(--oh-line)) right center / 1px calc(100% - 26px) no-repeat; }
.oh-home-seo__frame::after { content: none; }
.oh-home-seo .oh-home-seo__frame h2 { margin: 0; color: var(--oh-ink); font: 500 clamp(30px,3.25vw,52px)/1.2 'Geist Mono',monospace; letter-spacing: 0; text-transform: uppercase; overflow-wrap: break-word; }
.oh-home-seo .oh-home-seo__frame h3:not(.object-item-title) { margin: 0; color: var(--oh-ink); font: 500 clamp(24px,2.45vw,36px)/1.27 'Geist Mono',monospace; letter-spacing: 0; text-transform: uppercase; }
.oh-home-seo__split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(30px,5.1vw,76px); align-items: start; }
.oh-home-seo__split > *, .oh-home-seo__body, .oh-home-seo__topline-main { min-width: 0; }
.oh-home-seo__copy { color: var(--oh-ink); max-width: 680px; font: 400 16px/1.62 'Geist',sans-serif; }
.oh-home-seo__copy p {
  margin: 0 0 18px;
  color: inherit; /* Overrides the theme's global p { color: #121212 } on black sections. */
}
.oh-home-seo__copy p + p { margin-top: 0; }
/* WP editor content may carry inline colour spans. Enforce contrast on the dark block only. */
.oh-home-seo__section--dark .oh-home-seo__copy :is(p, div, span, strong, b, em, i, li, ul, ol, blockquote, a) {
  color: var(--oh-ink) !important;
}
.oh-home-seo__copy p:last-child { margin-bottom: 0; }
.oh-home-seo__copy ul, .oh-home-seo__copy ol { padding-left: 20px; margin: 10px 0 18px; }
.oh-home-seo__copy ul { list-style: disc; }
.oh-home-seo__copy ol { list-style: decimal; }
.oh-home-seo__copy a { color: inherit; text-underline-offset: 3px; }
.oh-home-seo__text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; width: fit-content; max-width: 100%; min-height: 38px; padding: 0 0 8px; margin-top: 23px; border-bottom: 1px solid currentColor; color: var(--oh-ink); text-decoration: none; font: 400 13px/1.45 'Geist Mono',monospace; text-transform: uppercase; transition: opacity .25s ease; }
.oh-home-seo__text-link:hover { opacity: .6; }
.oh-home-seo__text-link .oh-home-seo__icon { flex: none; width: 20px; height: 20px; transition: transform .25s ease; }
.oh-home-seo__text-link:hover .oh-home-seo__icon { transform: translateX(4px); }
.oh-home-seo a:focus-visible, .oh-home-seo button:focus-visible, .oh-home-seo summary:focus-visible, .oh-home-seo__slides:focus-visible { outline: 2px solid var(--oh-ink); outline-offset: 4px; }
.oh-home-seo__topline { display: flex; align-items: flex-end; justify-content: space-between; gap: 44px; margin-bottom: 36px; }
.oh-home-seo__topline-main { max-width: 890px; }
.oh-home-seo__topline .oh-home-seo__copy { margin-top: 20px; }
.oh-home-seo__topline > .oh-home-seo__text-link { flex: none; margin-bottom: 3px; }

/* Objects: reuse catalogue card HTML, scaled consistently for the 3-up slider. */
.oh-home-seo__slider-shell { min-width: 0; }
.oh-home-seo__slides { display: flex; gap: 24px; width: 100%; min-width: 0; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -ms-overflow-style: none; padding: 0 0 2px; cursor: grab; }
.oh-home-seo__slides::-webkit-scrollbar { display: none; }
.oh-home-seo__slides.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.oh-home-seo__slides.is-dragging a, .oh-home-seo__slides.is-dragging img { user-select: none; -webkit-user-drag: none; }
.oh-home-seo__slide { flex: 0 0 calc((100% - 48px) / 3); display: flex; min-width: 0; scroll-snap-align: start; }
.oh-home-seo__slide .oh-object-card { display: flex; flex-direction: column; min-width: 0; width: 100%; margin: 0; color: var(--oh-ink); }
.oh-home-seo__slide .object-item-thumbnail { width: 100%; aspect-ratio: 380 / 243; overflow: hidden; margin: 0; background: #303b48; }
.oh-home-seo__slide .object-item-thumbnail > a { display: block; width: 100%; height: 100%; }
.oh-home-seo__slide .object-item-thumbnail img, .oh-home-seo__slide .oh-object-card__placeholder { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.oh-home-seo__slide .oh-object-card:hover .object-item-thumbnail img { transform: scale(1.03); }
.oh-home-seo__slide .object-item-details { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 0 2px 1px; }
.oh-home-seo__slide .oh-object-card__location { margin: 15px 0 7px; color: var(--oh-muted); font: 400 13px/1.4 'Geist',sans-serif; }
.oh-home-seo .oh-home-seo__slide .object-item-title,
.oh-home-seo .oh-home-seo__slide h3.object-item-title { min-height: 0; margin: 0 0 14px; color: var(--oh-ink); font: 500 clamp(19px,1.7vw,24px)/1.28 'Geist Mono',monospace; letter-spacing: 0; text-transform: uppercase; overflow-wrap: anywhere; }
.oh-home-seo .oh-home-seo__slide .object-item-title a { color: var(--oh-ink); text-decoration: none; }
.oh-home-seo .oh-home-seo__slide .object-item-title a:hover { opacity: .68; }
.oh-home-seo__slide .oh-object-card__address { margin: 0 0 12px; color: var(--oh-muted); font: 400 13px/1.5 'Geist',sans-serif; }
.oh-home-seo__slide .object-item-info { margin: auto 0 15px; padding-top: 5px; }
.oh-home-seo__slide .object-item-info p { margin: 0 0 6px; color: var(--oh-muted); font: 400 13px/1.46 'Geist',sans-serif; }
.oh-home-seo__slide .object-item-info strong { color: var(--oh-ink); font-weight: 500; }
.oh-home-seo__slide .entry-link { display: inline-flex; align-self: flex-start; margin-top: auto; color: var(--oh-ink); font: 400 13px/1.5 'Geist Mono',monospace; text-transform: uppercase; }
.oh-home-seo__slide .add-to-wishlist { top: 10px; right: 10px; }
.oh-home-seo__slider-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--oh-line); }
.oh-home-seo__counter { color: var(--oh-ink); font: 400 14px/1.3 'Geist Mono',monospace; font-variant-numeric: tabular-nums; }
.oh-home-seo__slider-buttons { display: flex; gap: 10px; }
.oh-home-seo__nav { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--oh-line); border-radius: 0; color: var(--oh-ink); background: transparent; cursor: pointer; transition: color .25s ease, background .25s ease, opacity .25s ease; }
.oh-home-seo__nav:hover:not(:disabled) { color: #121212; background: var(--oh-blue); }
.oh-home-seo__nav:disabled { opacity: .3; cursor: not-allowed; }

/* Linked districts and rental guide. */
.oh-home-seo__districts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: 24px; margin-top: 45px; }
.oh-home-seo__districts a { display: flex; justify-content: space-between; align-items: center; min-width: 0; min-height: 74px; gap: 15px; padding: 16px 4px; border-top: 1px solid var(--oh-line); color: var(--oh-ink); text-decoration: none; font: 500 19px/1.35 'Geist',sans-serif; transition: opacity .25s ease; }
.oh-home-seo__districts a:hover { opacity: .6; }
.oh-home-seo__districts .oh-home-seo__icon { flex: none; }
.oh-home-seo__subtopic { border-top: 1px solid var(--oh-line); margin-top: 47px; padding-top: 37px; }

/* FAQ uses the same .oh-services-seo__faq component, borders and animation as the services page.
   Only the homepage container spacing and SVG icon need local adjustments. */
.oh-home-seo__section--faq { --oh-line: #858585; --oh-text: #121212; }
.oh-home-seo__section--faq .oh-home-seo__frame { padding: 15px 13px 90px; }
.oh-home-seo__section--faq .oh-home-seo__frame::before { content: none; }
.oh-home-seo__section--faq .oh-services-seo__faq { margin-top: 0; }
.oh-home-seo .oh-home-seo__section--faq .oh-services-seo__faq-heading h2 {
  max-width: 540px;
  margin: 0;
  color: var(--oh-text);
  font: 500 clamp(29px, 3vw, 46px)/1.23 'Geist Mono',monospace;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
/* Plus rendered as a real SVG, instead of a font character or image. */
.oh-home-seo__section--faq .oh-services-seo__faq-item summary::after { display: none; }
.oh-home-seo__faq-plus { flex: 0 0 20px; width: 20px; height: 20px; color: var(--oh-text); }
.oh-home-seo__faq-plus-vertical { transform-box: fill-box; transform-origin: center; transition: transform .28s ease; }
.oh-services-seo__faq-item[open] .oh-home-seo__faq-plus-vertical { transform: scaleY(0); }
.oh-services-seo__faq-item.is-closing .oh-home-seo__faq-plus-vertical { transform: scaleY(1); }
.oh-home-seo__section--faq .oh-services-seo__faq-answer p { color: var(--oh-text); }

@media (max-width: 1099px) {
  .oh-home-seo__frame { padding: 75px 44px; }
  .oh-home-seo__slide { flex-basis: calc((100% - 24px) / 2); }
  .oh-home-seo__districts { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .oh-home-seo .oh-home-seo__section--faq .oh-services-seo__faq-heading h2 { font-size: 33px; }
}
@media (max-width: 767px) {
  .oh-home-seo__section { padding: 0 12px; }
  .oh-home-seo__frame { padding: 58px 29px 67px; }
  .oh-home-seo__split, .oh-home-seo__split--faq { grid-template-columns: 1fr; gap: 22px; }
  .oh-home-seo .oh-home-seo__frame h2 { font-size: clamp(27px,6.2vw,38px); }
  .oh-home-seo .oh-home-seo__frame h3:not(.object-item-title) { font-size: clamp(23px,5.4vw,30px); }
  .oh-home-seo__copy { font-size: 15px; line-height: 1.58; }
  .oh-home-seo__topline { display: block; margin-bottom: 28px; }
  .oh-home-seo__topline > .oh-home-seo__text-link { margin-top: 18px; }
  .oh-home-seo__slides { gap: 16px; }
  .oh-home-seo__slide { flex-basis: min(87%,370px); }
  .oh-home-seo__slide .object-item-title { font-size: 19px; }
  .oh-home-seo__districts { grid-template-columns: 1fr; margin-top: 29px; }
  .oh-home-seo__districts a { min-height: 63px; }
  .oh-home-seo__subtopic { margin-top: 32px; padding-top: 28px; }
  .oh-home-seo__section--faq .oh-home-seo__frame { padding: 13px 0 65px; }
  .oh-home-seo .oh-home-seo__section--faq .oh-services-seo__faq-heading h2 { font-size: clamp(28px,7vw,36px); }
}
@media (prefers-reduced-motion: reduce) {
  .oh-home-seo__slides { scroll-behavior: auto; }
  .oh-home-seo .oh-home-seo__slide .object-item-thumbnail img,
  .oh-home-seo__text-link .oh-home-seo__icon,
  .oh-home-seo__faq-plus-vertical { transition: none !important; }
}
