/* Tik nauji pagrindinio puslapio blokai. Svetainės meniu stilių nekeičia. */
.sp-home-seasonal { width: min(1200px, calc(100% - 40px)); max-width: 100%; margin: 0 auto; color: #961f22; background: #fff; font-family: "Rubik", Arial, sans-serif; line-height: 1.5; }
.sp-home-seasonal, .sp-home-seasonal *, .sp-home-seasonal *::before, .sp-home-seasonal *::after { box-sizing: border-box; }
.sp-home-hero { position: relative; width: 100%; aspect-ratio: auto; min-height: 0; overflow: hidden; isolation: isolate; background: #981f1c; }
.sp-home-hero__image { position: relative; inset: auto; display: block; width: 100%; height: auto !important; max-width: 100%; margin: 0; object-fit: contain; }
.sp-home-hero__inner { position: absolute; inset: 0; display: flex; align-items: flex-end; width: 100%; height: 100%; margin: 0; padding: 0 5% 5%; }
.sp-home-hero h1 { max-width: 360px; margin: 0 !important; padding: 0; border: 0 !important; color: #fff; background: none !important; box-shadow: none !important; font: 800 clamp(24px, 2.5vw, 42px)/1.02 "Rubik", Arial, sans-serif; letter-spacing: -.045em; text-align: left !important; text-transform: none; text-decoration: none !important; text-shadow: 0 2px 16px #4b0e152b; }
.sp-home-seasonal h1::before, .sp-home-seasonal h1::after, .sp-home-seasonal h2::before, .sp-home-seasonal h2::after { content: none !important; display: none !important; }
.sp-home-christmas { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; width: min(1200px, calc(100% - 64px)); margin: 0 auto; padding: 48px 0 56px; }
.sp-home-christmas__copy { padding: 0; }
.sp-home-christmas h2 { margin: 0 0 4px !important; padding: 0; border: 0 !important; color: #992225; background: none !important; box-shadow: none !important; font: 800 clamp(36px, 4.1vw, 62px)/.98 "Rubik", Arial, sans-serif; letter-spacing: -.035em; text-align: left !important; text-transform: uppercase; text-decoration: none !important; }
.sp-home-christmas__people { margin: 0 0 30px; font-size: 16px; }
.sp-home-christmas__description { max-width: 440px; margin: 0 0 18px; font-size: 16px; line-height: 1.5; }
.sp-home-christmas__button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; max-width: 100%; padding: 10px 25px; border: 1px solid #992225; border-radius: 999px; color: #992225 !important; background: #fff; font: 700 13px/1.3 "Rubik", Arial, sans-serif; text-align: center; text-decoration: none !important; transition: color .2s, background .2s; }
.sp-home-christmas__button:hover { color: #fff !important; background: #992225; }
.sp-home-christmas__button:focus-visible { outline: 3px solid #bd8a38; outline-offset: 4px; }
.sp-home-christmas__visual { position: relative; aspect-ratio: 1.12; width: 100%; isolation: isolate; }
.sp-home-christmas__visual::before { content: ""; position: absolute; z-index: -1; inset: 0 5% 10% 34%; border-radius: 12px; background: #982223; }
.sp-home-christmas__image { display: block; width: 100%; height: 100%; max-width: none; object-fit: contain; margin: 0; }
@media (max-width: 900px) {
  .sp-home-christmas { width: calc(100% - 40px); }
  .sp-home-christmas { gap: 24px; padding-block: 36px; }
  .sp-home-christmas h2 { font-size: 42px; }
  .sp-home-christmas__people { margin-bottom: 22px; }
  .sp-home-christmas__description { font-size: 15px; }
}
@media (max-width: 640px) {
  .sp-home-seasonal { width: calc(100% - 28px); }
  .sp-home-hero__inner { padding: 0 14px 12px; }
  .sp-home-hero h1 { max-width: 190px; font-size: 18px; }
  .sp-home-christmas { grid-template-columns: 1fr; gap: 26px; padding: 32px 0 36px; }
  .sp-home-christmas h2 { font-size: clamp(36px, 10vw, 48px); }
  .sp-home-christmas__people { margin-bottom: 20px; font-size: 15px; }
  .sp-home-christmas__description { max-width: 440px; font-size: 16px; }
  .sp-home-christmas__visual { max-width: 440px; margin-inline: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-home-seasonal * { transition: none !important; }
}

/* Tik tikro HOME puslapio jau esamas temos viršutinis blokas. */
body.sp7-home-seasonal-live #masthead { position: absolute; inset: 0 0 auto; width: 100%; z-index: 20; margin: 0; background: transparent !important; }
body.sp7-home-seasonal-live.admin-bar #masthead { top: 32px; }
body.sp7-home-seasonal-live > .header-image { position: relative; width: 100%; max-width: none; height: auto !important; min-height: 0 !important; aspect-ratio: 16 / 9; margin: 0 !important; padding: 0 !important; overflow: hidden; background-size: contain !important; background-position: center top !important; background-repeat: no-repeat !important; background-color: #981f1c; }
body.sp7-home-seasonal-live > .header-image > .overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; width: min(1200px, calc(100% - 64px)); height: 100%; margin: 0 auto !important; padding: 0 0 5% !important; background: transparent !important; box-sizing: border-box; text-align: left; }
body.sp7-home-seasonal-live > .header-image > .overlay h1 { max-width: 380px; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; color: #fff !important; font: 800 clamp(24px, 2.5vw, 42px)/1.02 "Rubik", Arial, sans-serif !important; letter-spacing: -.04em; text-align: left !important; text-transform: none; }
body.sp7-home-seasonal-live > .header-image > .overlay h1::before,
body.sp7-home-seasonal-live > .header-image > .overlay h1::after { display: none !important; content: none !important; }
body.sp7-home-seasonal-live > .header-image > .overlay > p { display: none !important; }
@media (max-width: 782px) {
  body.sp7-home-seasonal-live.admin-bar #masthead { top: 46px; }
}
@media (max-width: 640px) {
  body.sp7-home-seasonal-live > .header-image > .overlay { width: calc(100% - 40px); padding-bottom: 14px !important; }
  body.sp7-home-seasonal-live > .header-image > .overlay h1 { max-width: 200px; font-size: 18px !important; }
}

/* Desktop patikros pataisos. Temos mobilus režimas prasideda ties 960 px. */
@media screen and (min-width: 961px) {
  body.home.sp7-home-seasonal-live .sp-home-christmas {
    padding-bottom: 24px;
  }
  body.home.sp7-home-seasonal-live .entry-content > .wp-block-columns:has(.order_timeout) {
    margin-block: 0 !important;
    padding-block: 0 12px !important;
  }
  body.home.sp7-home-seasonal-live .entry-content > .wp-block-columns:has(.order_timeout) + h2 {
    margin-top: 24px !important;
    padding-top: 0 !important;
  }
  body.home.sp7-home-seasonal-live > .header-image {
    height: clamp(540px, calc(100vh - 24px), 700px) !important;
    height: clamp(540px, calc(100svh - 24px), 700px) !important;
    aspect-ratio: auto;
    background-size: cover !important;
    background-position: center center !important;
    background-color: #98201f;
    isolation: isolate;
  }
  body.home.sp7-home-seasonal-live > .header-image::before {
    content: none !important;
    display: none !important;
    background: none !important;
  }
  body.home.sp7-home-seasonal-live > .header-image > .overlay {
    z-index: 1;
    bottom: 0;
    width: calc(100% - 96px);
    max-height: none;
    justify-content: flex-end;
    padding: 128px 0 64px !important;
  }
  body.home.sp7-home-seasonal-live > .header-image > .overlay h1 {
    width: min(400px, 100%);
    max-width: 400px;
    font: 700 clamp(38px, 3vw, 50px)/1.1 "Rubik", Arial, sans-serif !important;
    letter-spacing: -.035em;
    text-align: center !important;
    transform: translateY(-60px);
    text-shadow: none;
  }
  body.home.sp7-home-seasonal-live > .header-image > .overlay > p:last-of-type {
    position: static !important;
    display: block !important;
    width: min(400px, 100%) !important;
    height: 47.5px !important;
    min-height: 0;
    margin: 24px 0 0 !important;
    text-align: center;
    padding: 0 !important;
    transform: none !important;
  }
  body.home.sp7-home-seasonal-live > .header-image > .overlay > p:last-of-type a.button {
    box-sizing: border-box;
    position: static !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 186.2px;
    min-height: 44px !important;
    height: 44px !important;
    max-height: 44px !important;
    margin: 0 !important;
    padding: 10px 24.7px !important;
    border: 1px solid #fff8ec !important;
    border-radius: 999px !important;
    background: #fff8ec !important;
    color: #861d24 !important;
    box-shadow: none;
    font: 600 15px/1.2 "Rubik", Arial, sans-serif !important;
    letter-spacing: 0;
    text-align: center;
    text-transform: none;
    text-decoration: none !important;
    transform: translateY(-40px) !important;
  }
  body.home.sp7-home-seasonal-live > .header-image > .overlay > p:last-of-type a.button:hover {
    background: #ffe3a8 !important;
    border-color: #ffe3a8 !important;
  }
  body.home.sp7-home-seasonal-live > .header-image > .overlay > p:last-of-type a.button:focus-visible {
    outline: 3px solid #ffe3a8;
    outline-offset: 5px;
  }
  /* Baltas ir išorinis laikmačio / užsakymo mygtuko bloko fonas. */
  body.home.sp7-home-seasonal-live .entry-content .wp-block-columns:has(.order_timeout),
  body.home.sp7-home-seasonal-live .entry-content .wp-block-columns:has(.order_timeout_btn) {
    background: #fff !important;
  }
  body.home.sp7-home-seasonal-live .entry-content .order_timeout {
    background: #fff !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 16px 24px 8px !important;
    margin: 0 !important;
    box-sizing: border-box;
  }
  body.home.sp7-home-seasonal-live .entry-content .order_countdown_label {
    margin: 0 !important;
    font: 600 clamp(20px, 1.7vw, 24px)/1.35 "Rubik", Arial, sans-serif !important;
  }
  body.home.sp7-home-seasonal-live .entry-content .order_timer {
    margin: 8px 0 4px !important;
    padding: 0 !important;
    font: 700 clamp(64px, 6vw, 88px)/1.1 "Rubik", Arial, sans-serif !important;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.025em;
  }
}
