/* Local SRR Website bridge: align public pages with the SRR portal visual system. */
:root {
  --bg: #efe9dc;
  --surface: rgba(250, 246, 238, 0.94);
  --ink: #2b2116;
  --muted: #7d715f;
  --accent: #a8730d;
  --accent-2: #8a5d08;
  --line: rgba(94, 72, 36, 0.18);
  --portal-panel: linear-gradient(180deg, rgba(250, 246, 238, 0.98), rgba(243, 236, 223, 0.98));
  --portal-field: #fffdf8;
  --portal-shadow: rgba(80, 60, 20, 0.14);
  --content-max: 1280px;
  --radius-xl: 8px;
  --radius-lg: 8px;
}

html[data-theme="light"],
html[data-theme="dark"] {
  --bg: #efe9dc;
  --surface: rgba(250, 246, 238, 0.94);
  --ink: #2b2116;
  --muted: #7d715f;
  --accent: #a8730d;
  --accent-2: #8a5d08;
  --line: rgba(94, 72, 36, 0.18);
  --bg-photo-top: rgba(239, 233, 220, 0.72);
  --bg-photo-mid: rgba(239, 233, 220, 0.82);
  --bg-photo-bottom: rgba(250, 246, 238, 0.92);
  --bg-photo-spot-1: rgba(168, 115, 13, 0.12);
  --bg-photo-spot-2: rgba(255, 253, 248, 0.34);
}

body {
  background:
    radial-gradient(circle at 50% 0, rgba(168, 115, 13, 0.12), transparent 42%),
    var(--bg);
  color: var(--ink);
  letter-spacing: 0;
}

body::before {
  opacity: 0.5;
  filter: saturate(0.88) brightness(1.04);
}

.srr-container {
  width: min(calc(100% - 3rem), var(--content-max));
}

.srr-site-header,
html[data-theme="dark"] .srr-site-header {
  height: 96px;
  min-height: 96px;
  background: rgba(250, 246, 238, 0.92);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 60px rgba(80, 60, 20, 0.1);
  backdrop-filter: blur(14px) saturate(1.1);
}

.srr-site-header__inner,
.srr-site-header.is-scrolled .srr-site-header__inner,
.srr-site-header.shrink .srr-site-header__inner,
body.scrolled .srr-site-header .srr-site-header__inner {
  height: 96px;
  min-height: 96px;
  width: min(calc(100% - 3rem), 1500px);
}

.srr-logo,
.srr-site-header.is-scrolled .srr-logo,
.srr-site-header.shrink .srr-logo,
body.scrolled .srr-site-header .srr-logo {
  width: 210px;
  min-width: 210px;
  max-width: 210px;
  filter: brightness(0) invert(1) sepia(0.22) saturate(0.75);
  filter: brightness(0) saturate(100%);
}

.srr-nav__list {
  gap: 0.35rem;
}

.srr-nav a {
  color: var(--muted);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.58rem 0.66rem;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}

.srr-nav a:hover,
.srr-nav a:focus-visible,
.srr-nav .menu-item-has-children:hover > a {
  color: var(--accent-2);
  background: rgba(168, 115, 13, 0.1);
  border-color: rgba(168, 115, 13, 0.26);
}

.srr-nav .sub-menu {
  min-width: 210px;
  padding: 0.55rem;
  background: var(--portal-panel);
  border-color: var(--line);
  border-radius: 8px;
  box-shadow: 0 22px 55px var(--portal-shadow);
}

.srr-nav .sub-menu a {
  color: var(--ink);
  padding: 0.58rem 0.66rem;
}

.srr-header-account__login,
.srr-member-icon-link,
.srr-theme-toggle {
  background: rgba(255, 253, 248, 0.88);
  border-color: var(--line);
  color: var(--ink);
  border-radius: 8px;
}

.srr-header-account__login {
  color: var(--accent-2);
  padding: 0.58rem 0.78rem;
}

.srr-header-cta,
.srr-btn--primary {
  color: #241a08;
  background: linear-gradient(180deg, #d9a028, #a8730d);
  border: 1px solid rgba(168, 115, 13, 0.32);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(213, 151, 22, 0.18);
}

.srr-header-cta:hover,
.srr-btn--primary:hover {
  filter: brightness(1.08);
}

.srr-btn {
  border-radius: 8px;
  padding: 0.78rem 1.08rem;
}

.srr-btn--ghost,
.srr-home-panel .srr-btn--ghost,
html[data-theme="dark"] .srr-home-panel .srr-btn--ghost {
  color: var(--accent-2);
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(168, 115, 13, 0.28);
  border-radius: 8px;
}

.srr-home-slider {
  margin: 1.35rem 0 1.4rem;
}

.srr-home-slider__viewport {
  height: min(66vh, 640px);
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 28px 90px rgba(80, 60, 20, 0.16);
}

.srr-home-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 15, 8, 0.58), rgba(20, 15, 8, 0.14) 54%, rgba(20, 15, 8, 0.42)),
    linear-gradient(180deg, rgba(20, 15, 8, 0.06), rgba(20, 15, 8, 0.24));
}

.srr-home-slide__inner {
  position: relative;
  z-index: 1;
  justify-content: center;
  padding: clamp(1.6rem, 5vw, 4.2rem);
}

.srr-home-slide h1 {
  max-width: 16ch;
  color: #fff9ef;
  font-size: clamp(2.4rem, 6vw, 5rem);
  letter-spacing: 0;
}

.srr-home-slide p {
  max-width: 50ch;
  color: rgba(255, 249, 239, 0.92);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.srr-home-slider__arrow {
  background: rgba(250, 246, 238, 0.96);
  border: 1px solid rgba(168, 115, 13, 0.28);
  border-radius: 8px;
  color: var(--accent-2);
}

.srr-home-slider__dot {
  background: rgba(43, 33, 22, 0.24);
}

.srr-home-slider__dot.is-active {
  background: var(--accent);
}

.srr-section {
  padding: 1.5rem 0;
}

.srr-section > .srr-container,
.srr-home-panels__grid,
.srr-home-news,
.srr-home-gallery {
  position: relative;
}

.srr-section__head {
  margin-bottom: 0.9rem;
}

.srr-section__head h2,
.srr-home-welcome h2,
.srr-home-panel h3,
.srr-home-news__card h3 {
  color: var(--accent-2);
  letter-spacing: 0;
}

.srr-section__head p,
.srr-home-panel p,
.srr-home-news__card p,
html[data-theme="dark"] .srr-home-panel p,
html[data-theme="dark"] .srr-home-news__card p {
  color: var(--muted);
}

.srr-section:first-of-type .srr-container {
  padding: 1.2rem;
  background: var(--portal-panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(80, 60, 20, 0.12);
}

.srr-eyebrow {
  color: var(--accent);
  background: rgba(213, 151, 22, 0.12);
  border-color: rgba(213, 151, 22, 0.3);
  border-radius: 8px;
}

.srr-home-panel,
.srr-home-news__card,
html[data-theme="dark"] .srr-home-panel,
html[data-theme="dark"] .srr-home-news__card {
  background: var(--portal-panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.srr-home-panel {
  padding: 0;
}

.srr-home-panel img,
.srr-home-news__card img {
  border-radius: 0 !important;
  filter: saturate(0.92) contrast(1.02);
}

.srr-home-news__card h3,
.srr-home-news__card p {
  padding-inline: 1rem;
}

.srr-gallery-slider,
html[data-theme="dark"] .srr-gallery-slider {
  background: var(--portal-panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.srr-gallery-slider__item,
html[data-theme="dark"] .srr-gallery-slider__item {
  border-radius: 8px;
  background: #fffdf8;
}

.srr-site-footer,
html[data-theme="dark"] .srr-site-footer {
  background: #f3ecdf;
  border-top: 1px solid var(--line);
  color: var(--ink);
}

.srr-footer-col span,
.srr-footer-col strong,
.srr-footer-col a {
  color: var(--ink);
}

.srr-footer-logo {
  filter: brightness(0) saturate(100%);
}

.srr-cookie-banner__inner {
  background: var(--portal-panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
}

@media (max-width: 1100px) {
  .srr-site-header,
  html[data-theme="dark"] .srr-site-header,
  .srr-site-header__inner,
  .srr-site-header.is-scrolled .srr-site-header__inner,
  .srr-site-header.shrink .srr-site-header__inner,
  body.scrolled .srr-site-header .srr-site-header__inner {
    height: auto;
    min-height: 84px;
  }

  .srr-nav {
    background: var(--portal-panel);
    border-color: var(--line);
    border-radius: 8px;
  }
}

@media (max-width: 760px) {
  .srr-container,
  .srr-site-header__inner {
    width: min(calc(100% - 1.5rem), var(--content-max));
  }

  .srr-logo {
    width: 170px;
    min-width: 170px;
    max-width: 170px;
  }

  .srr-home-slider__viewport {
    width: min(calc(100% - 1.5rem), var(--content-max));
    height: 470px;
  }
}
