/**
 * @package     mod_geliunamai_home
 * @author      Marian Tomasevic <info@webdizainas.com>, https://webdizainas.com
 * @copyright   (C) 2026 Marian Tomasevic, webdizainas.com
 * @license     GNU General Public License version 2 or later
 * @note        Developed and tested with AI tools (Claude by Anthropic,
 *              ChatGPT by OpenAI and others).
 *
 * Font family and base size come from the template (Tahoma 14px).
 */
.gn-home {--gn-home-ink:#342e2a;--gn-home-brown:#65483c;--gn-home-line:#e6dcd5;--gn-home-pale:#f7f4f1;--gn-home-muted:#716860}
.gn-home * {box-sizing:border-box}
.gn-home {margin:0;line-height:1.65;color:var(--gn-home-ink);background:#fff}
.gn-home a {color:inherit;text-decoration:none}
.gn-home a:hover {text-decoration:underline;text-underline-offset:4px}
.gn-home button, .gn-home input {font:inherit}
.gn-home button, .gn-home a, .gn-home input, .gn-home summary {-webkit-tap-highlight-color:transparent}
.gn-home :focus-visible {outline:3px solid #ba836a;outline-offset:4px}
.gn-home img {width:100%;height:100%;object-fit:cover;display:block}
.gn-home .gn-home-wrap {width:min(1200px,calc(100% - 48px));margin:auto}
.gn-home .gn-home-eyebrow {display:block;text-transform:uppercase;letter-spacing:.23em;font-size:11px;color:#8c7060;font-weight:bold;margin-bottom:14px}
.gn-home h2, .gn-home h3, .gn-home p {margin:0}
.gn-home h2 {font-size:32px;line-height:1.18;letter-spacing:-.025em}
.gn-home h3 {font-size:23px;line-height:1.3}
.gn-home p {color:var(--gn-home-muted);margin-top:16px}
.gn-home .gn-home-actions {display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin-top:24px}
.gn-home .gn-home-btn {display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:10px 19px;background:var(--gn-home-brown);color:white;font-size:13px;font-weight:bold;border:1px solid var(--gn-home-brown);border-radius:2px;text-align:center}
.gn-home .gn-home-btn:hover {text-decoration:none;background:#493228}
.gn-home .gn-home-btn.gn-home-outline {background:transparent;color:var(--gn-home-brown)}
.gn-home .gn-home-btn.gn-home-light {background:#fff;color:var(--gn-home-ink);border-color:#fff}
.gn-home .gn-home-btn.gn-home-ghost {background:transparent;color:white;border-color:#ad9a90}
.gn-home .gn-home-section {padding-block:80px}
.gn-home .gn-home-pale {background:var(--gn-home-pale)}
.gn-home .gn-home-heading {max-width:720px;margin:0 auto 38px;text-align:center}
.gn-home .gn-home-heading p {font-size:14px}
.gn-home .gn-home-grid4 {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px}
.gn-home .gn-home-tile .gn-home-photo {aspect-ratio:4/5;background:#eae2dc;border-radius:6px;overflow:hidden}
.gn-home .gn-home-tile img {transition:transform .3s}
.gn-home .gn-home-tile:hover img {transform:scale(1.025)}
.gn-home .gn-home-tile-title {display:block;font-size:15px;text-align:center;margin-top:14px}
.gn-home .gn-home-order-note {border:1px solid var(--gn-home-line);padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:36px;font-size:14px}
.gn-home .gn-home-section-head {display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:34px}
.gn-home .gn-home-section-head p {max-width:65ch;font-size:14px}
.gn-home .gn-home-flowers .gn-home-photo {aspect-ratio:1}
.gn-home .gn-home-split {display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.gn-home .gn-home-feature-photo {height:440px;border-radius:6px;overflow:hidden;background:#eae2dc}
.gn-home .gn-home-copy p {font-size:14px}
.gn-home .gn-home-steps {list-style:none;padding:0;margin:24px 0;counter-reset:steps}
.gn-home .gn-home-steps li {counter-increment:steps;display:flex;gap:14px;align-items:center;margin:14px 0;font-size:14px}
.gn-home .gn-home-steps li:before {content:counter(steps);width:28px;height:28px;flex-shrink:0;border-radius:50%;background:var(--gn-home-brown);color:#fff;text-align:center;line-height:28px;font-size:12px}
.gn-home .gn-home-delivery-note {border-top:1px solid var(--gn-home-line);padding-top:17px;font-size:12px;color:var(--gn-home-muted)}
.gn-home .gn-home-contact-list {padding:0;list-style:none;font-size:14px;margin:22px 0}
.gn-home .gn-home-contact-list li {margin:10px 0}
.gn-home .gn-home-map {height:360px;background:#e8dfd7;border:1px solid var(--gn-home-line);border-radius:6px;overflow:hidden}
.gn-home .gn-home-map iframe {width:100%;height:100%;border:0}
.gn-home .gn-home-map-caption {display:block;margin-top:10px;font-size:12px;text-align:right;text-decoration:underline}
.gn-home .gn-home-collage {display:grid;grid-template-columns:1fr 1fr;grid-template-rows:210px 210px;gap:16px}
.gn-home .gn-home-collage > * {display:block;overflow:hidden;border-radius:6px;background:#eae2dc}
.gn-home .gn-home-collage-3 > :first-child {grid-row:span 2}
.gn-home .gn-home-services {padding-left:19px;font-size:14px;margin:20px 0}
.gn-home .gn-home-services li {margin:5px 0}
.gn-home .gn-home-interior-grid {display:grid;grid-template-columns:1fr 1fr;gap:28px}
.gn-home .gn-home-interior-card {background:#fff;border:1px solid #eee8e3;border-radius:6px;overflow:hidden}
.gn-home .gn-home-interior-card .gn-home-photo {height:290px}
.gn-home .gn-home-interior-card .gn-home-body {padding:26px}
.gn-home .gn-home-interior-card p {font-size:14px;margin-top:10px}
.gn-home .gn-home-text-link {display:inline-block;margin-top:18px;color:var(--gn-home-brown);text-decoration:underline}
.gn-home .gn-home-mourning {background:#2e2a28;color:#fff}
.gn-home .gn-home-mourning .gn-home-eyebrow {color:#c9b8aa}
.gn-home .gn-home-mourning p {color:#e2d8d1}
.gn-home .gn-home-mourning .gn-home-grid3 {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.gn-home .gn-home-mourning .gn-home-tile .gn-home-photo {aspect-ratio:3/4}
.gn-home .gn-home-mourning .gn-home-tile-title {font-size:12px}
@media(max-width:850px) {
  .gn-home .gn-home-wrap {width:calc(100% - 36px)}
  .gn-home .gn-home-section {padding-block:55px}
  .gn-home .gn-home-grid4 {gap:15px}
  .gn-home .gn-home-split {gap:28px}
  .gn-home .gn-home-feature-photo {height:390px}
  .gn-home .gn-home-collage {grid-template-rows:170px 170px;gap:12px}
}
@media(max-width:600px) {
  .gn-home h2 {font-size:29px}
  .gn-home .gn-home-section {padding-block:44px}
  .gn-home .gn-home-heading {margin-bottom:28px}
  .gn-home .gn-home-heading .gn-home-eyebrow {margin-bottom:12px}
  .gn-home .gn-home-grid4 {grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 14px}
  .gn-home .gn-home-tile-title {font-size:13px;margin-top:10px}
  .gn-home .gn-home-order-note {padding:18px;display:block;margin-top:27px}
  .gn-home .gn-home-order-note .gn-home-btn {margin-top:14px}
  .gn-home .gn-home-section-head {display:block}
  .gn-home .gn-home-section-head>.gn-home-btn {margin-top:18px}
  .gn-home .gn-home-split {grid-template-columns:1fr;gap:27px}
  .gn-home .gn-home-feature-photo {height:310px}
  .gn-home .gn-home-contact-list {margin-bottom:0}
  .gn-home .gn-home-map {height:290px}
  .gn-home .gn-home-collage {grid-template-rows:155px 155px}
  .gn-home .gn-home-interior-grid {grid-template-columns:1fr;gap:23px}
  .gn-home .gn-home-interior-card .gn-home-photo {height:240px}
  .gn-home .gn-home-interior-card .gn-home-body {padding:23px}
  .gn-home .gn-home-mourning .gn-home-tile-title {font-size:11px}
}
@media(prefers-reduced-motion:reduce) {
  .gn-home .gn-home-tile img {transition:none}
}
.gn-home :is(h2,h3) {font-family:inherit;color:inherit}
.gn-home .gn-home-section {scroll-margin-top:130px}
.gn-home {
  width:100%;
  min-width:0;
  text-align:left;
}
.gn-home .gn-home-btn {line-height:1.4;letter-spacing:normal;text-transform:none;white-space:normal}
.gn-home .gn-home-steps li {border:0;padding:0}
.gn-home .gn-home-services li {border:0;padding:0}
.gn-home .gn-home-contact-list li {border:0;padding:0}
.gn-home .gn-home-delivery .gn-home-feature-photo img {object-position:62% center}

/* Collage with fewer than 3 photos */
.gn-home .gn-home-collage-1 {grid-template-columns:1fr;grid-template-rows:436px}
.gn-home .gn-home-collage-2 {grid-template-rows:436px}
.gn-home .gn-home-tile {display:block}
@media(max-width:850px) {
  .gn-home .gn-home-collage-1, .gn-home .gn-home-collage-2 {grid-template-rows:352px}
}
@media(max-width:600px) {
  .gn-home .gn-home-collage-1, .gn-home .gn-home-collage-2 {grid-template-rows:326px}
}

/* DUK (FAQ) – <details>/<summary>, no JS */
.gn-home .gn-home-faq-list {max-width:820px;margin:0 auto;border-top:1px solid var(--gn-home-line)}
.gn-home .gn-home-faq-item {border-bottom:1px solid var(--gn-home-line)}
.gn-home .gn-home-faq-item summary {list-style:none;cursor:pointer;position:relative;padding:20px 44px 20px 0;font-size:15px;font-weight:bold;line-height:1.5;color:var(--gn-home-ink)}
.gn-home .gn-home-faq-item summary::-webkit-details-marker {display:none}
.gn-home .gn-home-faq-item summary::before,
.gn-home .gn-home-faq-item summary::after {content:"";position:absolute;right:8px;top:50%;width:14px;height:2px;margin-top:-1px;background:var(--gn-home-brown);transition:transform .2s}
.gn-home .gn-home-faq-item summary::after {transform:rotate(90deg)}
.gn-home .gn-home-faq-item[open] summary::after {transform:rotate(0)}
.gn-home .gn-home-faq-item summary:hover {color:var(--gn-home-brown)}
.gn-home .gn-home-faq-answer {padding:0 44px 22px 0}
.gn-home .gn-home-faq-answer p {font-size:14px;margin:0}
.gn-home .gn-home-faq-answer p + p {margin-top:12px}
@media(max-width:600px) {
  .gn-home .gn-home-faq-item summary {padding:17px 36px 17px 0;font-size:14px}
  .gn-home .gn-home-faq-answer {padding-right:0}
}
@media(prefers-reduced-motion:reduce) {
  .gn-home .gn-home-faq-item summary::before, .gn-home .gn-home-faq-item summary::after {transition:none}
}

/* Pristatymas: video instead of photo (vertical 9:16 video, centre crop) */
.gn-home .gn-home-feature-video {position:relative}
.gn-home .gn-home-feature-video video {width:100%;height:100%;object-fit:cover;object-position:50% 40%;display:block}
.gn-home .gn-home-video-toggle {position:absolute;right:14px;bottom:14px;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:rgba(0,0,0,.45);cursor:pointer}
.gn-home .gn-home-video-toggle:hover {background:rgba(0,0,0,.65)}
.gn-home .gn-home-video-toggle::before,
.gn-home .gn-home-video-toggle::after {content:"";position:absolute;top:13px;width:4px;height:14px;background:#fff;border-radius:1px}
.gn-home .gn-home-video-toggle::before {left:14px}
.gn-home .gn-home-video-toggle::after {left:22px}
.gn-home .gn-home-video-toggle.is-paused::after {display:none}
.gn-home .gn-home-video-toggle.is-paused::before {left:16px;top:12px;width:0;height:0;border-radius:0;background:none;border-style:solid;border-width:8px 0 8px 13px;border-color:transparent transparent transparent #fff}

/* Projektas „Gėlės“: mosaic – portrait photo 1 column (2:3), landscape photo 2 columns */
.gn-home .gn-home-mosaic {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.gn-home .gn-home-mosaic-item {display:block;overflow:hidden;border-radius:6px;background:#eae2dc;aspect-ratio:2/3}
.gn-home .gn-home-mosaic-item.is-wide {grid-column:span 2;aspect-ratio:auto}
.gn-home .gn-home-mosaic-item img {transition:transform .3s}
.gn-home a.gn-home-mosaic-item:hover img {transform:scale(1.025)}
.gn-home .gn-home-credits {max-width:820px;margin:24px auto 0;text-align:center;font-size:12px}
.gn-home .gn-home-center .gn-home-actions {justify-content:center}
@media(max-width:850px) {
  .gn-home .gn-home-mosaic {gap:12px}
}
@media(max-width:600px) {
  .gn-home .gn-home-mosaic {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .gn-home .gn-home-mosaic-item.is-wide {aspect-ratio:3/2}
}
@media(prefers-reduced-motion:reduce) {
  .gn-home .gn-home-mosaic-item img {transition:none}
}

/* 1.0.5: Projektas – mosaic half as tall (portrait cell 2:3 → 4:3, rows ~432 → ~216 px on desktop).
   Photos are cropped; the focus is moved up so faces stay in the frame. */
.gn-home .gn-home-mosaic-item {aspect-ratio:4/3}
.gn-home .gn-home-mosaic-item {position:relative}
.gn-home .gn-home-mosaic-item img {position:absolute;inset:0;object-position:50% 25%}
@media(max-width:600px) {
  .gn-home .gn-home-mosaic-item.is-wide {aspect-ratio:3/1}
}

/* 1.0.6: video on tablet / phone – the frame is vertical (9:16); a short, wide box showed
   only the middle third (the car window). Tablet: 3:4, phone: the whole frame 9:16
   (but not taller than 80% of the screen). */
@media(max-width:850px) {
  .gn-home .gn-home-feature-photo.gn-home-feature-video {height:auto;aspect-ratio:3/4}
}
@media(max-width:600px) {
  .gn-home .gn-home-feature-photo.gn-home-feature-video {aspect-ratio:9/16;max-height:80vh}
  .gn-home .gn-home-feature-video video {object-position:50% 50%}
}

/* 1.0.8: first block right after the page text – top padding 20 px instead of 80 / 55 / 44
   (white blocks only; a coloured block keeps its padding so the text does not touch its edge) */
.gn-home > .gn-home-section:first-child:not(.gn-home-pale):not(.gn-home-mourning) {padding-top:20px}

