:root {
  --accent: #3b82f6;
  --accent-soft: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.35);
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --bg-dark: #030712;
  --bg-card: rgba(15, 23, 42, 0.8);
  --border: rgba(59, 130, 246, 0.2);
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --blue-800: #1e3a5f;
  --blue-900: #0f172a;
  --blue-950: #020617;
  --blue-300: #93c5fd;
  --blue-500: #2563eb;
  --indigo: #3730a3;
  --slate: #0f172a;
  --gradient-1: #030712;
  --gradient-2: #0f172a;
  --gradient-3: #1e293b;
  --gradient-4: #0c1222;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(59, 130, 246, 0.25) #0a0f1a;
}

body {
  font-family: var(--font-body);
  background: var(--gradient-1);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* scrollbar – dopasowany do tla, mniej widoczny */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0a0f1a;
}

::-webkit-scrollbar-thumb {
  background: rgba(59, 130, 246, 0.25);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(59, 130, 246, 0.4);
}


.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* loader */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #020617 0%, #030712 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  width: 100%;
  max-width: 280px;
}

.loader-text {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 1rem;
}

.loader-bar {
  height: 4px;
  background: var(--blue-800);
  border-radius: 2px;
  overflow: hidden;
}

.loader-progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  animation: load 1.5s ease-in-out forwards;
}

@keyframes load {
  to {
    width: 100%;
  }
}

/* header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.05em;
}

.logo span {
  color: var(--accent);
}

.logo-img {
  display: flex;
  align-items: center;
  height: 50px;
}

.logo-img img {
  height: 100%;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.15em;
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--accent);
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(3, 7, 18, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: flex;
  }
}

/* hero – wzor Project Cracow */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6rem 1.5rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #020617 0%, #030712 50%, #0a0f1a 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(
    ellipse 120% 80% at 85% 50%,
    rgba(59, 130, 246, 0.04) 0%,
    rgba(37, 99, 235, 0.02) 35%,
    transparent 70%
  );
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-left {
  text-align: left;
  position: relative;
  z-index: 2;
}

.hero-text-frame {
  background: rgba(3, 7, 18, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  padding: 1.75rem 2rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: background 0.2s, border-color 0.2s;
}

.hero-pill:hover {
  background: rgba(59, 130, 246, 0.25);
  border-color: rgba(59, 130, 246, 0.5);
}

.hero-pill span {
  color: var(--accent-soft);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  color: var(--text);
  letter-spacing: 0.02em;
}

.hero-title-accent {
  color: var(--accent-soft);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 480px;
  line-height: 1.65;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-link {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.hero-link:hover {
  color: var(--accent-soft);
}

.hero-right {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.hero-graphic-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  max-width: 500px;
  max-height: 500px;
  background: radial-gradient(
    circle at center,
    rgba(59, 130, 246, 0.25) 0%,
    rgba(37, 99, 235, 0.12) 40%,
    transparent 70%
  );
  filter: blur(40px);
  pointer-events: none;
}

.hero-graphic {
  position: relative;
  max-width: 120%;
  max-height: 720px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-right: -15%;
  filter: brightness(0.78);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-left {
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-right {
    min-height: 280px;
  }

  .hero-graphic {
    max-height: 380px;
    max-width: 100%;
    margin-right: 0;
  }
}

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  transition: all 0.25s;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--blue-500) 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 24px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: rotate(45deg) translateY(0);
  }
  50% {
    transform: rotate(45deg) translateY(6px);
  }
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

/* Sekcje – gradienty mniej widoczne, bardziej rozciagniete */
.status.section {
  background: linear-gradient(
    180deg,
    #0a0f1a 0%,
    #0c1222 25%,
    #0d1525 50%,
    #0c1222 75%,
    #0a0f1a 100%
  );
}

.section-diagonal {
  background: linear-gradient(
    180deg,
    #0a0f1a 0%,
    #0f172a 30%,
    #131d30 50%,
    #0f172a 70%,
    #0a0f1a 100%
  );
  position: relative;
}

.section-diagonal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.15), transparent);
  opacity: 0.8;
}

.section-faq {
  background: linear-gradient(
    180deg,
    #0a0f1a 0%,
    #0c1222 20%,
    #0f172a 45%,
    #0c1222 70%,
    #030712 100%
  );
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text);
  letter-spacing: 0.08em;
}

/* status */
.btn-connect {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  margin: 0 auto 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: background 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
  font-family: var(--font-display);
}

.btn-connect:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.status .container {
  text-align: center;
}

.status .btn-connect {
  display: inline-flex;
  width: auto;
}

.status-inline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 16px;
  padding: 2.25rem 3.5rem;
  max-width: 400px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.status-value.online {
  color: #4ade80;
}

.status-value.offline {
  color: var(--text-muted);
}

.status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.status-divider {
  width: 1px;
  height: 44px;
  background: linear-gradient(180deg, transparent, rgba(59, 130, 246, 0.4), transparent);
}

.status-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.status-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

/* dlaczego my */
.why-list {
  max-width: 640px;
  margin: 0 auto;
}

.why-row {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(59, 130, 246, 0.15);
}

.why-row:last-child {
  border-bottom: none;
}

.why-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-soft);
  opacity: 0.9;
  flex-shrink: 0;
}

.why-text h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.why-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* timeline */
.timeline {
  max-width: 640px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 59px;
  top: 2rem;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: 0.5;
}

.timeline-date {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.timeline-content h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.timeline-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .timeline-item:not(:last-child)::before {
    left: 0;
    top: 1.5rem;
  }

  .timeline-date {
    margin-bottom: 0.25rem;
  }
}

/* faq */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.35);
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.25rem;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  padding-top: 1rem;
  margin: 0;
}

/* regulamin */
.regulamin-content {
  max-width: 800px;
  margin: 0 auto;
}

.reg-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.25rem;
}

.reg-block h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.reg-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* stopka */
.footer {
  background: linear-gradient(180deg, #030712 0%, #020617 100%);
  border-top: 1px solid rgba(59, 130, 246, 0.15);
  padding: 3.5rem 0;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 560px;
  margin: 0 auto;
}

/* strony wewnętrzne */
.page-inner main {
  padding-top: 90px;
  min-height: 80vh;
}

.page-header {
  padding: 3rem 0 2rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text);
  letter-spacing: 0.05em;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* changelog – timeline jak na przykładowym zdjęciu */
.page-changelog main {
  background:
    linear-gradient(rgba(59, 130, 246, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  background-color: #0a0f1a;
}

.changelog-wrap {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.changelog-timeline {
  position: absolute;
  left: 2rem;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(59, 130, 246, 0.3) 100%);
  border-radius: 2px;
}

.changelog-list {
  position: relative;
  padding-left: 4rem;
}

.changelog-entry {
  position: relative;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  overflow: visible;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.changelog-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.changelog-header::-webkit-details-marker {
  display: none;
}

.changelog-dot {
  position: absolute;
  left: -2.5rem;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent-glow);
  flex-shrink: 0;
}

.changelog-header-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.changelog-version {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.changelog-date {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.changelog-chevron {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: transform 0.2s;
}

.changelog-entry[open] .changelog-chevron {
  transform: rotate(180deg);
}

.changelog-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(59, 130, 246, 0.15);
}

.changelog-body ul {
  margin: 0.5rem 0 1rem 1.25rem;
  padding: 0;
}

.changelog-body li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.35rem;
}

.changelog-section {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
  color: var(--text);
}

.changelog-new {
  color: #22c55e;
}

.changelog-fix {
  color: var(--accent-soft);
}

@media (max-width: 600px) {
  .changelog-timeline {
    left: 1rem;
  }

  .changelog-list {
    padding-left: 2.5rem;
  }

  .changelog-dot {
    left: -1.75rem;
    width: 12px;
    height: 12px;
  }
}

/* strona regulaminu – layout jak cocorp/rules */
.rules-wrap {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  max-width: 1000px;
  margin: 0 auto;
}

.rules-nav {
  flex-shrink: 0;
  width: 200px;
  position: sticky;
  top: 90px;
}

.rules-nav ul {
  list-style: none;
}

.rules-nav a {
  display: block;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  transition: color 0.2s, border-color 0.2s;
}

.rules-nav a:hover,
.rules-nav a.active {
  color: var(--accent);
  border-left-color: var(--accent);
}

.rules-content {
  flex: 1;
  min-width: 0;
}

.rules-content .reg-block {
  margin-bottom: 2rem;
}

.rules-content .reg-block:target h3 {
  color: var(--text);
}

@media (max-width: 768px) {
  .rules-wrap {
    flex-direction: column;
  }

  .rules-nav {
    position: static;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }

  .rules-nav a {
    border-left: none;
    padding: 0.35rem 0.75rem;
    background: var(--bg-card);
    border-radius: 4px;
    border: 1px solid var(--border);
  }
}

.onas-layout {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto;
}

.onas-gallery {
  flex-shrink: 0;
  width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.onas-gallery-right {
  order: 3;
}

.onas-content {
  flex: 1;
  min-width: 520px;
}

.page-onas .reg-block {
  max-width: 100%;
}

.page-onas .photo-frame {
  border: 3px solid var(--accent);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 0 16px var(--accent-glow);
  width: 100%;
  aspect-ratio: 4/3;
}

.page-onas .photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-frame {
  border: 3px solid var(--accent);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: 0 0 16px var(--accent-glow);
}

.photo-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.photo-tall img {
  aspect-ratio: 4/3;
  object-fit: cover;
}

.photo-tall {
  max-width: 100%;
}

.photo-wide img {
  aspect-ratio: 16/9;
  object-fit: cover;
}

.photo-offset {
  margin-left: 1.5rem;
  transform: rotate(-1.5deg);
}

.photo-offset-r {
  margin-right: 1.5rem;
  margin-left: 0;
  transform: rotate(1.5deg);
}

.photo-wide {
  max-width: 100%;
}


@media (max-width: 1000px) {
  .onas-gallery {
    width: 280px;
  }

  .photo-offset,
  .photo-offset-r {
    margin-left: 0;
    margin-right: 0;
    transform: none;
  }

  .photo-wide {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .onas-layout {
    flex-wrap: wrap;
    justify-content: center;
  }

  .onas-gallery {
    width: 100%;
    max-width: 480px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }

  .onas-gallery-left {
    order: 1;
  }

  .onas-content {
    order: 2;
    width: 100%;
    min-width: 0;
  }

  .onas-gallery-right {
    order: 3;
  }

  .page-onas .photo-frame {
    flex: 1 1 200px;
    max-width: 220px;
    aspect-ratio: 4/3;
  }
}

@media (max-width: 600px) {
  .onas-gallery {
    max-width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .page-onas .photo-frame {
    max-width: 100%;
    width: 100%;
  }
}
