/*
 * Oryn Pictures — fixed mountain universe experience
 * The legacy hero slider is preserved in index.html but disabled.
 */

:root {
  --oryn-cream: #ffefd5;
  --oryn-cream-soft: #f5dfbd;
  --oryn-ink: #17130f;
  --oryn-glass: rgba(21, 17, 14, 0.68);
  --oryn-glass-strong: rgba(15, 12, 10, 0.82);
  --oryn-line: rgba(255, 239, 213, 0.20);
  --oryn-bg-shift: 0px;
  --oryn-bg-shift-mobile: 0px;
  --oryn-hero-shift: 0px;
  --oryn-hero-opacity: 1;
  --oryn-anchor-offset: 0px;
}

html {
  background: #8e8279;
  scroll-padding-top: var(--oryn-anchor-offset);
}

body {
  position: relative;
  background: #8e8279 !important;
}

/* A real fixed element is used instead of a negative pseudo-element so the
   image also renders reliably when index.html is opened directly from disk. */
.oryn-fixed-background {
  position: fixed;
  inset: -15%;
  z-index: 0;
  pointer-events: none;
  background:
    #8e8279
    url("../pictures/backgrounds/oryn-mountain-universe.webp")
    center center / cover no-repeat;
  transform:
    translate3d(0, var(--oryn-bg-shift), 0)
    scale(1.06);
  will-change: transform;
}

.oryn-fixed-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 22% 18%,
      rgba(255, 245, 228, 0.08),
      transparent 36%
    ),
    linear-gradient(
      180deg,
      rgba(20, 16, 13, 0.34) 0%,
      rgba(20, 16, 13, 0.46) 48%,
      rgba(10, 8, 7, 0.66) 100%
    );
}

/* The disabled slider stays in the source for easy restoration but performs
   no layout or visual work. */
#home .slider[hidden],
#home .slider[data-enabled="false"] {
  display: none !important;
}

/* Fixed-background hero. */
body > #home {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100vw !important;
  min-width: 100% !important;
  max-width: none !important;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

/* The side veil fades out before the bottom, where the hero meets the same
   uniform shade used by all following sections. */
body > #home::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(14, 11, 9, 0.58) 0%,
    rgba(14, 11, 9, 0.30) 48%,
    rgba(14, 11, 9, 0.18) 100%
  );
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
}

body > #home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(17, 14, 12, 0.18) 0%,
    transparent 56%,
    rgba(17, 14, 12, 0.58) 100%
  );
}

body > #home .overlay-text {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transform: translate3d(0, var(--oryn-hero-shift), 0);
  opacity: var(--oryn-hero-opacity);
  will-change: transform, opacity;
}

body > #home .hero-modern {
  padding: clamp(90px, 12vh, 150px) 20px 100px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body > #home .hero-modern h1 {
  text-wrap: balance;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.46);
}

body > #home .hero-badge {
  border-color: rgba(255, 239, 213, 0.28);
  background: rgba(255, 239, 213, 0.12);
  color: #fff7eb;
}

/* Sections share the same picture but use alternating transparent tonal
   layers, which keeps the long page structured without returning to black. */
body > section:not(#home) {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(17, 14, 12, 0.58) !important;
  box-shadow: none !important;
  isolation: isolate;
  scroll-margin-top: var(--oryn-anchor-offset);
}

body > section:not(#home) + section:not(#home) {
  border-top: 0 !important;
}

body > section:not(#home)::after {
  content: none;
}

body > section:not(#home) > h2 {
  display: table;
  max-width: min(92vw, 980px);
  margin-right: auto;
  margin-left: auto;
  padding: 12px 24px;
  border: 1px solid var(--oryn-line);
  border-radius: 999px;
  background: rgba(15, 12, 10, 0.56);
  color: #fff7eb;
  box-shadow:
    0 18px 46px rgba(8, 6, 5, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px) saturate(0.84);
  -webkit-backdrop-filter: blur(12px) saturate(0.84);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.42);
  text-wrap: balance;
}

/* Consistent Oryn glass surfaces for the main content containers. */
body > section:not(#home) .about-card,
body > section:not(#home) .media-box,
body > section:not(#home) .contact-form,
body > section:not(#home) .newsletter-box,
body > section:not(#home) .pricing-card {
  border: 1px solid var(--oryn-line);
  background-color: var(--oryn-glass);
  box-shadow:
    0 24px 70px rgba(7, 5, 4, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px) saturate(0.82);
  -webkit-backdrop-filter: blur(16px) saturate(0.82);
}

body > footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 239, 213, 0.16);
  background: rgba(12, 10, 9, 0.88) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

@media (max-width: 760px) {
  :root {
    --oryn-anchor-offset: 0px;
  }

  .oryn-fixed-background {
    inset: -12%;
    background-position: 61% center;
    transform:
      translate3d(0, var(--oryn-bg-shift-mobile), 0)
      scale(1.08);
  }

  body > #home .hero-modern {
    padding: 90px 16px 90px !important;
  }

  body > section:not(#home) > h2 {
    max-width: calc(100vw - 28px);
    padding: 10px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --oryn-bg-shift: 0px !important;
    --oryn-bg-shift-mobile: 0px !important;
    --oryn-hero-shift: 0px !important;
    --oryn-hero-opacity: 1 !important;
  }

  .oryn-fixed-background,
  body > #home .overlay-text {
    transform: none !important;
    transition: none !important;
  }
}

/* ===== HOMEPAGE CLOSING AREA: NEWSLETTER + IMPRESSUM ===== */
#newsletter.newsletter-section {
  position: relative;
  min-height: auto !important;
  padding: clamp(76px, 8vw, 124px) 22px !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background:
    linear-gradient(180deg, rgba(20, 16, 13, 0.74), rgba(11, 9, 8, 0.88)) !important;
  overflow: hidden;
}

#newsletter.newsletter-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(720px, 76vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #ffefd5, transparent);
  box-shadow: 0 0 34px rgba(255, 239, 213, 0.42);
  pointer-events: none;
}

#newsletter .newsletter-card {
  position: relative;
  width: min(880px, 100%) !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: clamp(40px, 5vw, 66px) clamp(24px, 6vw, 72px) !important;
  border: 1px solid rgba(255, 239, 213, 0.24) !important;
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 239, 213, 0.12), transparent 44%),
    rgba(20, 17, 15, 0.78) !important;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(22px) saturate(0.9);
  -webkit-backdrop-filter: blur(22px) saturate(0.9);
  justify-content: flex-start !important;
}

#newsletter .newsletter-pill {
  margin: 0 auto 20px !important;
  padding: 9px 17px !important;
  border: 1px solid rgba(17, 13, 10, 0.12);
  background: #ffefd5 !important;
  box-shadow: 0 8px 24px rgba(255, 239, 213, 0.12);
  font-size: 0.76rem;
}

#newsletter .newsletter-card h2 {
  margin: 0 0 14px !important;
  color: #fffaf2 !important;
  font-size: clamp(2rem, 4vw, 3.45rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

#newsletter .newsletter-card > p:not(#newsletterMessage) {
  max-width: 650px !important;
  margin: 0 auto 30px !important;
  color: rgba(255, 250, 242, 0.7) !important;
  font-size: clamp(1rem, 1.35vw, 1.1rem) !important;
  line-height: 1.65 !important;
}

#newsletter .newsletter-form {
  width: min(650px, 100%) !important;
  max-width: 650px !important;
  margin: 0 auto !important;
  gap: 12px !important;
}

#newsletter #newsletterEmail,
#newsletter #newsletterBtn {
  height: 56px !important;
}

#newsletter #newsletterEmail {
  border: 1px solid rgba(255, 239, 213, 0.18) !important;
  background: rgba(7, 6, 5, 0.72) !important;
}

#newsletter #newsletterEmail:focus {
  border-color: rgba(255, 239, 213, 0.72) !important;
  box-shadow: 0 0 0 4px rgba(255, 239, 213, 0.09);
}

#newsletter #newsletterBtn {
  background: #ffefd5 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

#newsletter .newsletter-small {
  margin-top: 17px !important;
  color: rgba(255, 250, 242, 0.48) !important;
}

#impresum.site-footer {
  position: relative;
  z-index: 1;
  scroll-margin-top: var(--oryn-anchor-offset);
  width: min(1240px, calc(100% - 44px));
  margin: clamp(38px, 5vw, 72px) auto 0 !important;
  padding: clamp(38px, 5vw, 62px) !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px !important;
  border: 1px solid rgba(255, 239, 213, 0.19) !important;
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 239, 213, 0.12), transparent 42%),
    rgba(11, 9, 8, 0.91) !important;
  color: #fff8ed;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-align: left;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

body.news-page #impresum.site-footer {
  margin-top: clamp(42px, 6vw, 78px) !important;
}

/* One continuous shade for the complete news page. The spacing before the
   footer remains, but it reveals the same background instead of a light band. */
body.news-page .oryn-fixed-background::after {
  background: rgba(17, 14, 12, 0.58) !important;
}

body.news-page > section:not(#home) {
  background: transparent !important;
}

/* News content stays clearly separated from the photographic background. */
body.news-page #news .news2-card {
  border: 1px solid rgba(255, 239, 213, 0.18) !important;
  background: rgba(18, 15, 13, 0.94) !important;
  color: #fff8ed !important;
  box-shadow:
    0 22px 54px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
  backdrop-filter: blur(14px) saturate(0.82);
  -webkit-backdrop-filter: blur(14px) saturate(0.82);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease !important;
}

body.news-page #news .news2-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 239, 213, 0.34) !important;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
}

body.news-page #news .news2-body,
body.news-page #news .news2-grid > .news2-card:first-child .news2-body {
  background: rgba(10, 8, 7, 0.2) !important;
}

body.news-page #news .news2-body h3 {
  color: #fffaf2 !important;
}

body.news-page #news .news2-body p {
  color: rgba(255, 248, 237, 0.74) !important;
}

body.news-page #news .news2-filter {
  width: min(920px, calc(100% - 28px)) !important;
  max-width: 920px !important;
  margin: 24px auto 42px !important;
  padding: clamp(20px, 3vw, 30px) !important;
  gap: 18px !important;
  border: 1px solid rgba(255, 239, 213, 0.18) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 239, 213, 0.08), transparent 52%),
    rgba(18, 15, 13, 0.9) !important;
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.36),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.news-page #news .news2-categorybar {
  order: 1;
  width: 100% !important;
  max-width: 780px !important;
  gap: 10px !important;
}

body.news-page #news .news2-filter-break {
  order: 2;
  display: block !important;
  width: min(720px, 90%) !important;
  height: 1px !important;
  margin: 2px auto !important;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 239, 213, 0.2),
    transparent
  );
}

body.news-page #news .news2-datebar {
  order: 3;
  width: 100% !important;
  max-width: 720px !important;
  margin: 0 auto !important;
  padding: 10px !important;
  gap: 9px !important;
  border: 1px solid rgba(255, 239, 213, 0.13) !important;
  border-radius: 999px !important;
  background: rgba(8, 7, 6, 0.34) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025) !important;
  box-sizing: border-box !important;
}

body.news-page #news .news2-date-pills {
  display: flex !important;
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 9px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.news-page #news .news2-chip,
body.news-page #news .news2-date-pill,
body.news-page #news .news2-date-open {
  min-height: 42px !important;
  padding: 9px 17px !important;
  border: 1px solid rgba(255, 239, 213, 0.18) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.055) !important;
  color: rgba(255, 248, 237, 0.86) !important;
  box-shadow: none !important;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease !important;
}

body.news-page #news .news2-chip:hover,
body.news-page #news .news2-date-pill:hover,
body.news-page #news .news2-date-open:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 239, 213, 0.45) !important;
  background: rgba(255, 239, 213, 0.11) !important;
}

body.news-page #news .news2-chip.is-active,
body.news-page #news .news2-chip.active,
body.news-page #news .news2-date-pill.is-active {
  border-color: #ffefd5 !important;
  background: #ffefd5 !important;
  color: #17130f !important;
}

body.news-page #news .news2-date-open {
  flex: 0 0 42px !important;
  width: 42px !important;
  padding: 0 !important;
}

body.news-page #news .news2-datebar > .news2-chip[data-filter="all"] {
  margin-left: auto !important;
}

body.news-page #news .news2-grid {
  gap: clamp(22px, 2.5vw, 32px) !important;
}

body.news-page #news .news2-card {
  border-radius: 22px !important;
}

body.news-page #news .news2-thumb {
  border-radius: 21px 21px 0 0;
}

body.news-page #news .news2-actions {
  width: min(560px, calc(100% - 28px)) !important;
  margin: 38px auto 0 !important;
  gap: 14px !important;
}

body.news-page #news .news2-toggle-btn,
body.news-page #news .back-home-btn {
  min-height: 54px !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  letter-spacing: 0.01em;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease !important;
}

body.news-page #news .news2-toggle-btn {
  border: 1px solid rgba(255, 239, 213, 0.24) !important;
  background: rgba(18, 15, 13, 0.9) !important;
  color: #fff8ed !important;
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.28) !important;
}

body.news-page #news .news2-toggle-btn:hover {
  transform: translateY(-3px);
  background: #ffefd5 !important;
  color: #17130f !important;
}

body.news-page #news .back-home-btn {
  border: 1px solid #ffefd5 !important;
  background: #ffefd5 !important;
  color: #17130f !important;
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.22) !important;
}

body.news-page #news .back-home-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34) !important;
}

body.news-page #newsDatePicker .dp-backdrop {
  background: rgba(7, 6, 5, 0.76) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

body.news-page #newsDatePicker .dp-card {
  border: 1px solid rgba(255, 239, 213, 0.2) !important;
  border-radius: 26px !important;
  background: #181411 !important;
  color: #fff8ed !important;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.55) !important;
}

body.news-page #newsDatePicker .dp-day,
body.news-page #newsDatePicker .dp-nav,
body.news-page #newsDatePicker .dp-btn {
  border-color: rgba(255, 239, 213, 0.16) !important;
  background: #25201c !important;
  color: #fff8ed !important;
}

body.news-page #newsDatePicker .dp-day:hover,
body.news-page #newsDatePicker .dp-nav:hover,
body.news-page #newsDatePicker .dp-btn:hover,
body.news-page #newsDatePicker .dp-day.is-selected,
body.news-page #newsDatePicker .dp-btn.primary {
  background: #ffefd5 !important;
  color: #17130f !important;
}

@media (max-width: 620px) {
  body.news-page #news .news2-filter {
    width: calc(100% - 20px) !important;
    padding: 18px 12px !important;
    border-radius: 22px !important;
  }

  body.news-page #news .news2-datebar {
    justify-content: center !important;
    padding: 10px !important;
    border-radius: 22px !important;
  }

  body.news-page #news .news2-date-pills {
    flex: 1 1 100% !important;
    justify-content: center !important;
    overflow-x: auto !important;
  }

  body.news-page #news .news2-datebar > .news2-chip[data-filter="all"] {
    margin-left: 0 !important;
  }

  body.news-page #news .news2-categorybar {
    max-width: 390px !important;
  }

  body.news-page #news .news2-actions {
    width: calc(100% - 20px) !important;
  }
}

/* Hírek: tableten legfeljebb két kártya egy sorban */
@media (min-width: 621px) and (max-width: 1180px) {
  body.news-page #news .news2-content,
  body.news-page #news .news2-grid {
    width: min(900px, calc(100% - 32px)) !important;
    max-width: 900px !important;
  }

  body.news-page #news .news2-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

}

@media (hover: none) and (pointer: coarse) and (min-width: 621px) {
  body.news-page #news .news2-content,
  body.news-page #news .news2-grid {
    width: min(900px, calc(100% - 32px)) !important;
    max-width: 900px !important;
  }

  body.news-page #news .news2-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

}

/* ===== ORYN UNIFIED CARD DIALOGS ===== */
body.home-page #scrollTopBtn,
body:not(.news-page) #scrollTopBtn {
  left: clamp(22px, 2.2vw, 34px) !important;
  right: auto !important;
  bottom: clamp(30px, 4vh, 46px) !important;
  width: auto !important;
  min-width: 0 !important;
  height: 42px !important;
  padding: 0 15px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border: 1px solid rgba(255, 239, 213, 0.48) !important;
  border-radius: 999px !important;
  background: rgba(19, 16, 14, 0.92) !important;
  color: #ffefd5 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateY(18px) scale(0.96);
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.18s ease !important;
}

body.home-page #scrollTopBtn.show,
body:not(.news-page) #scrollTopBtn.show {
  transform: translateY(0) scale(1);
}

body.home-page #scrollTopBtn:hover,
body:not(.news-page) #scrollTopBtn:hover {
  background: rgba(38, 31, 25, 0.98) !important;
  transform: translateY(-2px) scale(1.01);
}

body.home-page #scrollTopBtn::before,
body:not(.news-page) #scrollTopBtn::before {
  content: none !important;
}

#scrollTopBtn .scroll-top-label {
  color: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

#scrollTopBtn .scroll-top-arrow {
  display: inline-flex;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  animation: orynScrollTopBounce 1.35s ease-in-out infinite;
}

@keyframes orynScrollTopBounce {
  0%, 100% { transform: translateY(2px); }
  50% { transform: translateY(-2px); }
}

@media (max-width: 620px) {
  body.home-page #scrollTopBtn,
  body:not(.news-page) #scrollTopBtn {
    left: 18px !important;
    right: auto !important;
    bottom: 26px !important;
    height: 38px !important;
    padding-inline: 12px !important;
  }

  #scrollTopBtn .scroll-top-label {
    font-size: 0.64rem;
  }
}

#srModal .sr-modal-backdrop,
#pricingModal .pricing-backdrop,
#lightbox .lightbox-backdrop {
  background: rgba(8, 6, 5, 0.8) !important;
  backdrop-filter: blur(12px) saturate(0.75);
  -webkit-backdrop-filter: blur(12px) saturate(0.75);
}

#srModal .sr-modal-box,
#pricingModal .pricing-window {
  border: 1px solid rgba(255, 239, 213, 0.24) !important;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 239, 213, 0.1), transparent 36%),
    rgba(17, 14, 12, 0.96) !important;
  color: #fff8ed !important;
  box-shadow:
    0 36px 110px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(24px) saturate(0.82);
  -webkit-backdrop-filter: blur(24px) saturate(0.82);
}

#srModal .sr-modal-box {
  width: min(980px, calc(100vw - 36px)) !important;
  max-height: min(86vh, 780px) !important;
  margin: 7vh auto 0 !important;
  padding: clamp(18px, 3vw, 30px) !important;
  grid-template-columns: minmax(240px, 330px) 1fr !important;
  gap: clamp(22px, 4vw, 46px) !important;
  border-radius: 30px !important;
}

#srModal .sr-modal-left {
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #090807;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.42);
}

#srModal .sr-modal-left img,
#srModalImg {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 420px;
  max-height: 650px !important;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: cover !important;
}

#srModal .sr-modal-right {
  align-self: center;
  min-width: 0;
  padding: 20px 12px 20px 0;
  color: #fff8ed !important;
}

#srModal .sr-modal-right h3 {
  margin: 0 54px 18px 0 !important;
  color: #fffaf2 !important;
  font-size: clamp(2rem, 4vw, 3.4rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

#srModal .sr-modal-meta {
  gap: 9px !important;
  margin-bottom: 22px;
  color: rgba(255, 248, 237, 0.72);
  opacity: 1 !important;
}

#srModal .sr-modal-meta > span:not(.sr-dot) {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border: 1px solid rgba(255, 239, 213, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
}

#srModal .sr-dot {
  display: none;
}

#srModal .sr-badge {
  margin-left: 0 !important;
  border-color: rgba(255, 239, 213, 0.34) !important;
  background: #ffefd5 !important;
  color: #17130f !important;
}

#srModal .sr-modal-desc {
  margin: 0 !important;
  color: rgba(255, 248, 237, 0.78) !important;
  font-size: 1rem;
  line-height: 1.75 !important;
  opacity: 1 !important;
}

#srModal .sr-modal-desc a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 22px;
  padding: 10px 20px;
  border: 1px solid #ffefd5;
  border-radius: 999px;
  background: #ffefd5;
  color: #17130f;
  font-weight: 900;
  text-decoration: none;
}

#srModal .sr-modal-close,
#pricingModal .pricing-close,
#lightbox .lightbox-close {
  display: grid !important;
  place-items: center;
  width: 46px !important;
  height: 46px !important;
  border: 1px solid rgba(23, 19, 15, 0.14) !important;
  border-radius: 50% !important;
  background: #ffefd5 !important;
  color: #17130f !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease !important;
}

#srModal .sr-modal-close {
  top: 16px !important;
  right: 16px !important;
  z-index: 4;
}

#srModal .sr-modal-close:hover,
#pricingModal .pricing-close:hover,
#lightbox .lightbox-close:hover {
  transform: rotate(90deg) scale(1.05) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

#pricingModal .pricing-window {
  width: min(620px, calc(100vw - 32px)) !important;
  max-width: 620px !important;
  max-height: min(84vh, 760px);
  overflow-y: auto;
  padding: clamp(28px, 5vw, 48px) !important;
  border-radius: 28px !important;
}

#pricingModal .pricing-window h3 {
  margin: 0 54px 20px 0 !important;
  color: #fffaf2 !important;
  font-size: clamp(2rem, 4vw, 3rem) !important;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

#pricingModal .pricing-body {
  color: rgba(255, 248, 237, 0.78) !important;
  line-height: 1.7 !important;
}

#pricingModal .pricing-body strong {
  color: #ffefd5;
}

#pricingModal .pricing-body ul {
  margin: 18px 0;
  padding: 0;
  list-style: none;
}

#pricingModal .pricing-body li {
  position: relative;
  margin: 9px 0;
  padding: 12px 14px 12px 34px;
  border: 1px solid rgba(255, 239, 213, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
}

#pricingModal .pricing-body li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffefd5;
}

#pricingModal .pricing-actions {
  margin-top: 24px !important;
}

#pricingModal .contact-mini {
  min-height: 48px;
  padding: 10px 22px;
  border: 1px solid #ffefd5 !important;
  background: #ffefd5 !important;
  color: #17130f !important;
}

#lightbox .lightbox-body {
  padding: clamp(18px, 4vw, 48px) !important;
}

#lightbox .lightbox-frame {
  max-width: min(1180px, 94vw) !important;
  max-height: 88vh !important;
}

#lightbox .lightbox-media {
  max-width: min(1180px, 94vw) !important;
  max-height: 80vh !important;
  overflow: hidden;
  border: 1px solid rgba(255, 239, 213, 0.28) !important;
  border-radius: 24px !important;
  background: #0b0908 !important;
  box-shadow:
    0 36px 110px rgba(0, 0, 0, 0.62),
    0 0 0 8px rgba(255, 239, 213, 0.035) !important;
}

#lightbox .lightbox-media img,
#lightbox .lightbox-media video {
  max-width: min(1180px, 94vw) !important;
  max-height: 80vh !important;
}

#lightbox .lightbox-caption {
  width: fit-content;
  max-width: min(900px, 90vw) !important;
  margin: 14px auto 0 !important;
  padding: 10px 18px !important;
  border: 1px solid rgba(255, 239, 213, 0.14);
  border-radius: 999px !important;
  background: rgba(17, 14, 12, 0.9) !important;
  color: #fff8ed !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
}

@media (max-width: 720px) {
  #srModal .sr-modal-box {
    width: calc(100vw - 20px) !important;
    max-height: 92vh !important;
    margin: 4vh auto 0 !important;
    padding: 12px !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    border-radius: 24px !important;
  }

  #srModal .sr-modal-left {
    max-height: 42vh;
    border-radius: 18px;
  }

  #srModal .sr-modal-left img,
  #srModalImg {
    min-height: 280px;
    max-height: 42vh !important;
    object-position: center 24%;
  }

  #srModal .sr-modal-right {
    padding: 24px 10px 16px;
  }

  #srModal .sr-modal-right h3 {
    margin-right: 0 !important;
    font-size: clamp(1.8rem, 9vw, 2.6rem) !important;
  }

  #pricingModal .pricing-window {
    padding: 28px 18px 22px !important;
    border-radius: 24px !important;
  }

  #lightbox .lightbox-media {
    border-radius: 18px !important;
  }

  #lightbox .lightbox-caption {
    border-radius: 16px !important;
  }
}

#impresum.site-footer::before {
  content: "ORYN PICTURES";
  position: absolute;
  top: 24px;
  right: clamp(30px, 5vw, 62px);
  color: rgba(255, 239, 213, 0.38);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.22em;
}

#impresum.site-footer > h2 {
  grid-column: 1 / -1;
  margin: 0 0 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 239, 213, 0.16);
  color: #fff8ed;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  letter-spacing: -0.025em;
  text-align: left;
}

#impresum .footer-block {
  min-width: 0;
  padding: 20px 22px;
  border: 1px solid rgba(255, 239, 213, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 248, 237, 0.72);
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 1;
  text-align: left;
}

#impresum .footer-block:first-of-type,
#impresum .footer-docs {
  grid-column: 1 / -1;
}

#impresum .footer-block:first-of-type {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: 16px;
}

#impresum .footer-block:first-of-type .footer-icon {
  grid-row: 1 / span 2;
}

#impresum .footer-block p {
  margin: 3px 0;
}

#impresum .footer-icon {
  width: 74px;
  height: 74px;
  margin: 0;
  padding: 8px;
  border: 1px solid rgba(255, 239, 213, 0.2);
  border-radius: 18px;
  background: #050505;
  object-fit: contain;
}

#impresum .footer-docs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

#impresum .footer-docs p {
  margin-right: auto;
  color: #fff8ed;
}

#impresum .footer-doc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 17px;
  border: 1px solid rgba(255, 239, 213, 0.28);
  border-radius: 999px;
  color: #ffefd5;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

#impresum .footer-doc-link:hover {
  transform: translateY(-2px);
  background: #ffefd5;
  color: #15110e;
}

@media (max-width: 700px) {
  #newsletter.newsletter-section {
    min-height: auto !important;
    padding: 66px 14px !important;
  }

  #newsletter .newsletter-card {
    min-height: 0 !important;
    padding: 38px 20px !important;
    border-radius: 24px !important;
  }

  #newsletter .newsletter-card h2 {
    font-size: clamp(2rem, 10vw, 2.75rem) !important;
  }

  #newsletter .newsletter-form {
    flex-direction: column !important;
  }

  #newsletter #newsletterEmail,
  #newsletter #newsletterBtn {
    width: 100% !important;
    height: 56px !important;
  }

  #impresum.site-footer {
    width: calc(100% - 28px);
    margin: 28px auto 0 !important;
    padding: 34px 16px 16px !important;
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  #impresum.site-footer::before {
    top: 17px;
    right: 22px;
    font-size: 0.62rem;
  }

  #impresum.site-footer > h2,
  #impresum .footer-block:first-of-type,
  #impresum .footer-docs {
    grid-column: 1;
  }

  #impresum.site-footer > h2 {
    margin-bottom: 5px;
  }

  #impresum .footer-block {
    padding: 17px;
  }

  #impresum .footer-block:first-of-type {
    grid-template-columns: 1fr;
    text-align: center;
  }

  #impresum .footer-block:first-of-type .footer-icon {
    grid-row: auto;
    margin: 0 auto 8px;
  }

  #impresum .footer-docs {
    align-items: stretch;
    flex-direction: column;
  }

  #impresum .footer-docs p {
    margin-right: 0;
  }
}

/* TABLET + DESKTOP MODALS
   Every dialog stays inside the viewport. Long content remains accessible,
   but native scrollbars are visually hidden. */
@media (min-width: 621px) {
  .lightbox,
  .pricing-modal,
  .sr-modal,
  .news-modal,
  .title-modal {
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  #srModal .sr-modal-box {
    width: min(980px, calc(100vw - 32px)) !important;
    max-height: calc(100vh - 32px) !important;
    max-height: calc(100dvh - 32px) !important;
    margin: 16px auto 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  #srModal .sr-modal-left,
  #srModal .sr-modal-left img,
  #srModalImg {
    min-height: 0 !important;
    max-height: calc(100vh - 92px) !important;
    max-height: calc(100dvh - 92px) !important;
  }

  #srModal .sr-modal-right {
    min-height: 0 !important;
    max-height: calc(100vh - 92px) !important;
    max-height: calc(100dvh - 92px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: none !important;
  }

  #pricingModal .pricing-window {
    max-height: calc(100vh - 32px) !important;
    max-height: calc(100dvh - 32px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    box-sizing: border-box !important;
    scrollbar-width: none !important;
  }

  #lightbox .lightbox-body {
    height: 100vh !important;
    height: 100dvh !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  #lightbox .lightbox-frame {
    max-height: calc(100vh - 32px) !important;
    max-height: calc(100dvh - 32px) !important;
  }

  #lightbox .lightbox-media,
  #lightbox .lightbox-media img,
  #lightbox .lightbox-media video {
    max-height: calc(100vh - 104px) !important;
    max-height: calc(100dvh - 104px) !important;
  }

  .title-modal-window,
  .news-window,
  .nm-window {
    max-height: calc(100vh - 32px) !important;
    max-height: calc(100dvh - 32px) !important;
    box-sizing: border-box !important;
  }

  .title-modal-window,
  .news-window {
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: none !important;
  }

  .tm-left,
  .tm-left img,
  .nm-media,
  .nm-media img {
    min-height: 0 !important;
    max-height: calc(100vh - 32px) !important;
    max-height: calc(100dvh - 32px) !important;
  }

  .tm-right,
  .nm-content {
    min-height: 0 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: none !important;
  }

  #srModal .sr-modal-right::-webkit-scrollbar,
  #pricingModal .pricing-window::-webkit-scrollbar,
  .title-modal-window::-webkit-scrollbar,
  .news-window::-webkit-scrollbar,
  .tm-right::-webkit-scrollbar,
  .nm-content::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
  }
}

/* CARD HOVER SEAM FIX
   Prevent 1px inner highlights and sub-pixel gaps while cards are moving. */
#concertReel .sr-card,
#filmReel .sr-card,
#news .news2-card {
  isolation: isolate !important;
  contain: paint;
  background-clip: padding-box !important;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

#pricing .price-card {
  box-sizing: border-box !important;
  border: 1px solid transparent !important;
  background: rgba(38, 34, 31, 0.96) !important;
  background-clip: border-box !important;
  opacity: 1 !important;
  transform: none !important;
  contain: none !important;
  will-change: auto !important;
  filter: none !important;
  perspective: none !important;
  -webkit-backface-visibility: visible !important;
  backface-visibility: visible !important;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease !important;
}

#pricing .price-card.reveal,
#pricing .price-card.reveal.visible,
#pricing .price-card.is-visible {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

#pricing .price-card:hover {
  transform: none !important;
  border-color: rgba(255, 239, 213, 0.26) !important;
  background: rgb(48, 43, 39) !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.42) !important;
}

body.news-page #news .news2-card {
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.38) !important;
}

body.news-page #news .news2-card:hover {
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.48) !important;
}

#news .news2-thumb {
  position: relative;
  z-index: 1;
  margin-bottom: -1px !important;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

#news .news2-body {
  position: relative;
  z-index: 2;
  background-clip: padding-box !important;
}

#concertReel .sr-card img,
#filmReel .sr-card img {
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
