/* RequiemMt2 v2 — Stone Glass Eternal Mist */

:root {
  --panel: rgba(14, 17, 22, 0.78);
  --panel-strong: rgba(10, 12, 16, 0.92);
  --glass-blur: 12px;
  --gold: #c6a75f;
  --gold-light: #ddc17a;
  --gold-dark: #8b6b2e;
  --text: #eceae6;
  --text-muted: #a8a39b;
  --border: rgba(198, 167, 95, 0.35);
  --border-strong: rgba(198, 167, 95, 0.55);
  --radius: 4px;
  --header-h: 72px;
  --font-serif: "Trajan Pro", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-sans: "Segoe UI", Tahoma, sans-serif;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: #07090c url("../img/bg-main.png") center top / cover fixed no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.3) 0%, rgba(5, 7, 10, 0.75) 100%);
  pointer-events: none;
  z-index: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

img.site-logo,
img.hero-logo-full {
  max-width: none;
}

a {
  color: var(--gold-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #fff;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.page-shell {
  flex: 1 0 auto;
  position: relative;
  z-index: 1;
}

.site-logo {
  display: block;
  width: auto;
  max-width: none;
  height: 42px;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  mix-blend-mode: screen;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.hero-logo-full {
  width: min(100%, 920px);
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  mix-blend-mode: screen;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.45));
}

@media (min-width: 768px) {
  .site-logo {
    height: 50px;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 10, 14, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: block;
  line-height: 0;
  flex: 0 0 auto;
  width: fit-content;
  max-width: none;
  margin-right: auto;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--gold);
}

.site-nav {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  right: 0;
  padding: 1rem;
  background: var(--panel-strong);
  backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--border);
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.65rem 0.25rem;
  color: var(--text);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--gold-light);
}

.social-links {
  display: none;
  gap: 0.55rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
  margin-left: 0.35rem;
}

.lang-switch {
  display: flex;
  gap: 0.25rem;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.25);
}

.lang-btn {
  min-width: 36px;
  padding: 0.35rem 0.5rem;
  border: 0;
  border-radius: calc(var(--radius) - 1px);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.lang-btn:hover {
  color: var(--gold-light);
}

.lang-btn.is-active {
  color: var(--gold-light);
  background: rgba(198, 167, 95, 0.15);
}

.social-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--gold-light);
  background: rgba(0, 0, 0, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  color: #fff;
  border-color: var(--border-strong);
  background: rgba(198, 167, 95, 0.12);
}

@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
    flex: 0 0 auto;
    margin-left: 0;
  }

  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.15rem 1.1rem;
  }

  .site-nav a {
    padding: 0.35rem 0;
    border: 0;
    font-size: 0.78rem;
  }

  .social-links {
    display: flex;
  }
}

.page-main {
  padding: 2.5rem 0 4rem;
}

.page-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--gold-light);
}

.panel {
  background: var(--panel);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.panel-narrow {
  width: min(100%, 420px);
  margin-inline: auto;
  padding: 1.75rem 1.5rem;
}

.panel-wide {
  padding: 1.5rem;
}

.hero {
  text-align: center;
  padding: 3rem 0 4rem;
}

.hero-tagline {
  margin: 1rem 0 2rem;
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: center;
}

@media (min-width: 540px) {
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  font-family: var(--font-serif);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(180deg, #d9c384 0%, #a88445 100%);
  color: #1a1408;
  box-shadow: 0 4px 18px rgba(198, 167, 95, 0.25);
}

.btn-primary:hover {
  color: #000;
  box-shadow: 0 6px 22px rgba(198, 167, 95, 0.35);
}

.btn-secondary {
  background: rgba(0, 0, 0, 0.35);
  color: var(--gold-light);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

.btn-block {
  width: 100%;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(198, 167, 95, 0.15);
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1rem 0;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-intro {
  margin: 0 0 1.25rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.tab-btn.is-active,
.tab-btn:hover {
  color: var(--gold-light);
  border-color: var(--border-strong);
  background: rgba(198, 167, 95, 0.08);
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.data-table th,
.data-table td {
  padding: 0.7rem 0.65rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.data-table th {
  font-family: var(--font-serif);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.25);
}

.data-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.data-table .rank {
  color: var(--gold-light);
  font-weight: 600;
}

.table-scroll {
  overflow-x: auto;
}

@media (max-width: 640px) {
  .data-table .hide-mobile {
    display: none;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--gold-light);
}

.faq-icon {
  color: var(--gold);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item.is-open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1rem 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.rules-list h2 {
  margin: 1.5rem 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.rules-list h2:first-child {
  margin-top: 0;
}

.rules-list p,
.rules-list li {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.rules-list ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.presentation-layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .presentation-layout {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }
}

.presentation-nav {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

@media (min-width: 900px) {
  .presentation-nav {
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
    align-self: start;
    max-height: calc(100vh - var(--header-h) - 2.5rem);
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

.presentation-nav a {
  display: block;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.presentation-nav a:hover,
.presentation-nav a.is-active,
.presentation-nav-parent.is-active {
  color: var(--gold-light);
  border-color: var(--border-strong);
  background: rgba(198, 167, 95, 0.08);
}

.presentation-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.presentation-nav-row {
  display: flex;
  gap: 0.35rem;
}

.presentation-nav-parent {
  flex: 1 1 auto;
  display: block;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.presentation-nav-toggle {
  flex: 0 0 auto;
  width: 42px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  color: var(--gold-light);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.presentation-nav-toggle:hover {
  border-color: var(--border-strong);
  background: rgba(198, 167, 95, 0.08);
}

.presentation-nav-chevron {
  display: block;
  width: 8px;
  height: 8px;
  margin: 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform 0.2s ease;
}

.presentation-nav-group.is-open .presentation-nav-chevron {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.presentation-nav-sub {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding-left: 0.35rem;
}

.presentation-nav-group.is-open .presentation-nav-sub {
  display: flex;
}

.presentation-nav-sub a {
  display: block;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(198, 167, 95, 0.22);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text-muted);
  font-size: 0.68rem;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: none;
}

.presentation-nav-sub a:hover,
.presentation-nav-sub a.is-active {
  color: var(--gold-light);
  border-color: var(--border-strong);
  background: rgba(198, 167, 95, 0.08);
}

.presentation-section {
  scroll-margin-top: calc(var(--header-h) + 1rem);
  margin-bottom: 2rem;
}

.presentation-section:last-child {
  margin-bottom: 0;
}

.presentation-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.presentation-section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--gold-light);
  letter-spacing: 0.05em;
}

.presentation-section p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
}

.presentation-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.presentation-list li + li {
  margin-top: 0.35rem;
}

.systems-list {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.systems-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(198, 167, 95, 0.12);
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.systems-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.systems-list strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.03em;
}

.system-item {
  padding: 1.1rem 1.25rem;
}

.system-item-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--gold-light);
  letter-spacing: 0.04em;
}

.system-item-text {
  margin: 0 0 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.system-item-block + .system-item-block {
  margin-top: 1.35rem;
  padding-top: 0.15rem;
}

.system-item-block .system-item-text {
  margin-bottom: 0.85rem;
}

.system-item-block .news-photos {
  margin-bottom: 0;
}

.system-item-block .news-photos + .news-photos {
  margin-top: 0.75rem;
}

.system-item-text .itemshop-list {
  margin: 0;
  padding-left: 1.2rem;
  list-style: disc;
}

.system-item-text .itemshop-list li {
  margin-bottom: 0.5rem;
}

.system-item-text .itemshop-list li:last-child {
  margin-bottom: 0;
}

.system-item-text .itemshop-list strong {
  color: var(--gold-light);
  font-weight: 600;
}

.alignment-ranks-table {
  width: 100%;
  max-width: 480px;
  margin-top: 0.25rem;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.alignment-ranks-table th,
.alignment-ranks-table td {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(198, 167, 95, 0.22);
  text-align: left;
  vertical-align: middle;
}

.alignment-ranks-table th {
  color: var(--gold-light);
  font-weight: 600;
  background: rgba(198, 167, 95, 0.08);
}

.alignment-ranks-table td:first-child {
  width: 50%;
}

.alignment-ranks-table td:last-child {
  width: 50%;
}

.presentation-closing-text {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.closing-social-links {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 5%;
  margin-top: 0.25rem;
}

.closing-social-link {
  flex: 0 0 40%;
  max-width: 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1.1rem 0.75rem;
  border: 1px solid rgba(198, 167, 95, 0.28);
  border-radius: 6px;
  background: rgba(8, 14, 24, 0.45);
  color: var(--gold-light);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.closing-social-link svg {
  width: 2.5rem;
  height: 2.5rem;
}

.closing-social-link:hover {
  border-color: rgba(198, 167, 95, 0.55);
  background: rgba(198, 167, 95, 0.08);
  color: #fff;
}

.info-highlights {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.info-highlights li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(198, 167, 95, 0.12);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.info-highlights li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-highlights strong {
  color: var(--gold-light);
  font-weight: 600;
}

.system-section {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.news-photos {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}

.news-photos--single {
  grid-template-columns: 1fr;
  max-width: 480px;
}

.news-media--video {
  max-width: 480px;
}

.news-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(198, 167, 95, 0.28);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.35);
}

.news-media--video-quick-eq {
  max-width: 320px;
}

.news-video--quick-eq {
  aspect-ratio: 522 / 634;
  object-fit: contain;
  background: #000;
}

.news-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(198, 167, 95, 0.06), rgba(0, 0, 0, 0.35)),
    rgba(0, 0, 0, 0.25);
  color: var(--text-muted);
  font-size: 0.75rem;
}

.news-photos--contain {
  grid-template-columns: repeat(2, minmax(0, 260px));
  justify-content: center;
  max-width: 100%;
}

.news-photos--contain.news-photos--single {
  max-width: 320px;
}

.news-photo--contain {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-style: solid;
  background: rgba(0, 0, 0, 0.35);
}

.news-photos--dozorca-tabs-refine {
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: 1rem;
}

.news-photos--socket-limit {
  grid-template-columns: repeat(2, minmax(0, 200px));
  gap: 1rem;
}

.news-photos--contain.news-photos--gem-system {
  max-width: 640px;
  grid-template-columns: 1fr;
}

.news-photos--contain.news-photos--global-marketplace {
  max-width: 680px;
  grid-template-columns: 1fr;
}

.news-photos--contain.news-photos--collector {
  max-width: 680px;
  grid-template-columns: 1fr;
}

.news-photos--contain.news-photos--mini-bosses {
  max-width: 400px;
  grid-template-columns: 1fr;
}

.news-photos--contain.news-photos--belt-item {
  max-width: 200px;
  grid-template-columns: 1fr;
}

.news-photos--contain.news-photos--eq-lock {
  max-width: 160px;
  grid-template-columns: 1fr;
}

.news-photos--contain.news-photos--character-box {
  max-width: 360px;
  grid-template-columns: 1fr;
}

.news-photos--contain.news-photos--refine-signatures {
  grid-template-columns: repeat(2, minmax(0, 220px));
  max-width: 460px;
  justify-content: center;
}

.news-photos--contain.news-photos--streamer-icons {
  max-width: 420px;
  grid-template-columns: 1fr;
}

.news-photos--contain.news-photos--wikipedia {
  max-width: 680px;
  grid-template-columns: 1fr;
}

.news-photos--contain.news-photos--antibot {
  max-width: 320px;
  grid-template-columns: 1fr;
}

.news-photos--contain.news-photos--offline-shops {
  grid-template-columns: repeat(2, minmax(0, 320px));
  justify-content: center;
  max-width: 680px;
}

.news-photos--contain.news-photos--offline-shops.news-photos--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 100%;
  gap: 0.75rem;
}

#system-offline-shops .system-item-block:first-of-type .news-photos--offline-shops {
  max-width: 236px;
}

#system-offline-shops .system-item-block:nth-of-type(2) .news-photos:first-of-type {
  grid-template-columns: repeat(2, minmax(0, 384px));
  max-width: 816px;
}

.news-photos--contain.news-photos--offline-shops.news-photos--single {
  max-width: 720px;
  grid-template-columns: 1fr;
}

@media (max-width: 760px) {
  .news-photos--contain.news-photos--offline-shops.news-photos--triple {
    grid-template-columns: 1fr;
    max-width: 680px;
  }
}

.feature-row {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 700px) {
  .feature-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  text-align: center;
  padding: 1.25rem 1rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: min(100%, 160px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-content: center;
  background: rgba(0, 0, 0, 0.25);
}

.feature-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--gold-light);
  line-height: 1.35;
}

.gallery-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.gallery-grid img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* Footer */
.site-footer {
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  margin-top: auto;
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.55) 0%, rgba(5, 7, 10, 0.92) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-ornament-wrap {
  padding: 1.25rem 0 0.5rem;
}

.footer-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 920px);
  margin-inline: auto;
}

.footer-ornament-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(198, 167, 95, 0.15) 12%,
    rgba(221, 193, 122, 0.85) 50%,
    rgba(198, 167, 95, 0.15) 88%,
    transparent 100%
  );
}

.footer-ornament-gem {
  position: relative;
  width: 11px;
  height: 11px;
  margin: 0 14px;
  transform: rotate(45deg);
  border: 1px solid var(--gold-light);
  background: linear-gradient(135deg, #ead59a 0%, #a88445 100%);
  box-shadow: 0 0 10px rgba(198, 167, 95, 0.45);
}

.footer-ornament-gem::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.footer-body {
  padding: 1rem 0 1.75rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bar {
  height: 6px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.35));
}
