:root {
  --brand: #1f5f99;
  --brand-dark: #174a78;
  --navy: #0c2340;
  --navy-2: #163a63;
  --accent: #b8913a;
  --ink: #13253a;
  --muted: #5d6b7c;
  --surface: #ffffff;
  --soft: #f2f5f9;
  --line: #e3e8ef;
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --shadow-sm: 0 1px 2px rgba(12, 35, 64, 0.06);
  --shadow: 0 1px 2px rgba(12, 35, 64, 0.04), 0 10px 28px rgba(12, 35, 64, 0.07);
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sticky-nav-offset: 4.75rem;
  --tblr-font-sans-serif: var(--font-sans);
  --bs-body-font-family: var(--font-sans);
}

html {
  font-size: 15px;
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  background: #f6f8fb;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--navy);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.form-control,
.form-select {
  border-color: #d5dce5;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 0.2rem rgba(31, 95, 153, 0.15);
}

.form-label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.table {
  --bs-table-bg: transparent;
}

.table > :not(caption) > * > * {
  padding: 0.8rem 0.75rem;
  border-bottom-color: var(--line);
}

.alert {
  border-radius: var(--radius) !important;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
}

a {
  text-decoration: none;
}

.modern-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 4.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  padding: 0;
  margin-right: 1.5rem;
  color: var(--ink);
}

.brand-logo {
  display: block;
  height: 3.4rem;
  width: auto;
  max-width: min(260px, 60vw);
  object-fit: contain;
  object-position: left center;
}

.brand-mark::before {
  display: none;
}

.modern-navbar .nav-link {
  position: relative;
  padding: 0.6rem 0.8rem !important;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
}

.modern-navbar .nav-link:hover,
.modern-navbar .nav-link.active {
  color: var(--brand);
}

.navbar-nav .nav-item.nav-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.nav-actions form {
  margin: 0;
}

@media (min-width: 992px) {
  .navbar-nav .nav-item.nav-actions {
    flex-wrap: nowrap;
    margin-left: 0.75rem;
    padding-left: 1rem;
    white-space: nowrap;
    border-left: 1px solid var(--line);
  }
}

.site-topbar .site-topbar-list a,
.site-footer .site-footer-links a,
.site-footer .site-footer-contact a {
  color: rgba(255, 255, 255, 0.85);
}

.site-topbar .site-topbar-list a:hover,
.site-footer .site-footer-links a:hover,
.site-footer .site-footer-contact a:hover {
  color: #fff;
}

@media (max-width: 991.98px) {
  .modern-navbar .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.5rem 0 0.75rem;
    border-top: 1px solid var(--line);
  }

  .modern-navbar .nav-link {
    padding: 0.8rem 0.25rem !important;
    border-bottom: 1px solid var(--line);
  }

  .modern-navbar .nav-link.active {
    box-shadow: inset 3px 0 0 var(--accent);
    padding-left: 0.85rem !important;
  }

  .nav-actions {
    padding-top: 1rem;
  }

  .nav-actions > *,
  .nav-actions form,
  .nav-actions .nav-cta {
    flex: 1 1 10rem;
    width: 100%;
  }

  .mega-menu {
    position: static !important;
    width: 100% !important;
    padding: 0.25rem 0 0.5rem !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr !important;
    gap: 0.15rem !important;
  }

  .mega-menu-item {
    padding: 0.6rem 0.85rem !important;
  }

  .mega-menu-text {
    display: none !important;
  }
}

.site-footer {
  flex-shrink: 0;
  margin-top: clamp(2rem, 5vw, 4rem);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy);
  border-top: 3px solid var(--accent);
}

.site-footer a {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer a:hover {
  color: #fff;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.site-footer-logo {
  display: block;
  height: 3.1rem;
  width: auto;
  margin-bottom: 1rem;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  background: #fff;
}

.site-footer-about p {
  max-width: 26rem;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
}

.site-footer-title {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer-links,
.site-footer-contact {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  list-style: none;
}

.site-footer-contact li {
  line-height: 1.55;
}

.site-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  font-size: 0.84rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 991.98px) {
  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

@media (min-width: 992px) {
  .modern-navbar .nav-link.active::after {
    position: absolute;
    right: 0.8rem;
    bottom: -0.6rem;
    left: 0.8rem;
    height: 2px;
    content: "";
    background: var(--accent);
  }
}

.site-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  margin-left: auto;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.site-menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.site-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-menu-toggle:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(31, 95, 153, 0.2);
}

.site-topbar {
  padding: 0.45rem 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.84rem;
  background: var(--navy);
}

.site-topbar a {
  color: rgba(255, 255, 255, 0.85);
}

.site-topbar a:hover {
  color: #fff;
}

.site-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-topbar-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-topbar-brand strong {
  color: #fff;
  font-weight: 600;
}

.site-topbar-brand span {
  color: var(--accent);
}

.nav-cta {
  min-height: 2.6rem !important;
  padding: 0.5rem 1.1rem !important;
}

@media (min-width: 768px) and (hover: hover) {
  .modern-navbar .dropdown:hover > .dropdown-menu {
    display: block;
  }
}

.modern-navbar .dropdown {
  position: relative;
}

.modern-navbar .dropdown::after {
  position: absolute;
  right: 0;
  bottom: -1rem;
  left: 0;
  height: 1rem;
  content: "";
}

.modern-navbar .dropdown-toggle::after {
  margin-left: 0.45rem;
}

.mega-menu {
  position: absolute !important;
  top: calc(100% + 0.45rem) !important;
  right: auto !important;
  bottom: auto !important;
  left: 50% !important;
  z-index: 1050;
  width: min(720px, calc(100vw - 2rem));
  padding: 1rem;
  margin-top: 0;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow) !important;
  transform: translateX(-50%) !important;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.mega-menu-item {
  display: block;
  padding: 1rem;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: #fff;
}

.mega-menu-item:hover {
  color: var(--ink);
  border-color: rgba(43, 106, 150, 0.35);
  background: var(--soft);
}

.mega-menu-title {
  display: block;
  color: var(--navy);
  font-weight: 700;
}

.mega-menu-text {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.page-body {
  flex: 1 0 auto;
  margin-top: 0;
  padding-top: 1rem;
}

.page .container-xl {
  --site-gutter: clamp(1.15rem, 2.4vw, 2.25rem);
  width: 100%;
  max-width: min(1400px, calc(100% - (var(--site-gutter) * 2)));
  padding-inline: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 0 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0;
  color: var(--brand-dark);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 0;
  background: none;
}

.hero-badge::before {
  width: 1.75rem;
  height: 2px;
  content: "";
  background: var(--accent);
}

.hero-title {
  max-width: 44rem;
  margin: 1rem 0 1rem;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.hero-title span {
  color: var(--brand-dark);
}

.hero-copy {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.guest-notice {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-top: 0.85rem;
  padding: 0.7rem 0.9rem;
  color: #1a4a6e;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  white-space: nowrap;
  border: 1px solid rgba(43, 106, 150, 0.28);
  border-radius: var(--radius-sm);
  background: #e7f1f8;
}

@media (max-width: 991.98px) {
  .guest-notice {
    display: block;
    width: 100%;
    white-space: normal;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-modern-primary,
.btn-modern-outline,
.btn-modern-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.85rem;
  padding: 0.65rem 1.2rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-modern-primary {
  color: #fff;
  border-color: var(--navy);
  background: var(--navy);
}

.btn-modern-primary:hover,
.btn-modern-primary:focus-visible {
  color: #fff;
  border-color: var(--navy-2);
  background: var(--navy-2);
}

.btn-modern-outline {
  color: var(--navy);
  border-color: #cfd7e1;
  background: #fff;
}

.btn-modern-outline:hover,
.btn-modern-outline:focus-visible {
  color: var(--navy);
  border-color: var(--navy);
  background: var(--soft);
}

.btn-modern-accent {
  color: var(--navy);
  border-color: var(--accent);
  background: var(--accent);
}

.btn-modern-accent:hover,
.btn-modern-accent:focus-visible {
  color: var(--navy);
  border-color: #a7822f;
  background: #c9a451;
}

.glass-panel {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.dashboard-preview {
  padding: 1.25rem;
}

.preview-topbar {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.preview-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #d7ddea;
}

.preview-dot:nth-child(1) {
  background: #ff6b6b;
}

.preview-dot:nth-child(2) {
  background: #ffd43b;
}

.preview-dot:nth-child(3) {
  background: #20c997;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.metric-card,
.feature-card,
.market-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.metric-card {
  padding: 1.25rem;
}

.metric-value {
  color: var(--navy);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.metric-label {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-eyebrow::before {
  width: 1.5rem;
  height: 2px;
  content: "";
  background: var(--accent);
}

.section-title {
  margin-top: 0.5rem;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature-card {
  height: 100%;
  padding: 1.5rem;
}

.admin-module-link {
  display: block;
  color: var(--ink);
}

.admin-module-link:hover {
  color: var(--ink);
  transform: translateY(-2px);
  border-color: rgba(43, 106, 150, 0.35);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: #fff;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy), var(--brand));
}

.market-card {
  overflow: hidden;
}

.market-card-header {
  padding: 1rem 1rem 0;
}

.market-card-body {
  padding: 1rem;
}

.listing-excerpt {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.listing-page {
  padding: 0.75rem 0 2.5rem;
}

.listing-stack {
  scroll-margin-top: 5.25rem;
}

.listing-chrome {
  position: sticky;
  top: var(--sticky-nav-offset);
  z-index: 40;
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.85rem;
  background: rgba(255, 255, 255, 0.96);
}

.listing-search-input {
  flex: 1 1 10rem;
  min-width: 8.5rem;
  min-height: 2.35rem;
}

.listing-chrome .member-nav {
  margin: 0 0 0.55rem;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.listing-chrome-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.75rem;
  align-items: center;
}

.listing-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.listing-search {
  display: flex;
  flex: 1 1 14rem;
  min-width: 12rem;
  gap: 0.4rem;
}

.listing-search .form-control,
.listing-search .form-select {
  min-height: 2.35rem;
}

.listing-search .form-select {
  flex: 0 1 12rem;
  min-width: 10.5rem;
  width: auto;
}

.listing-search .btn-modern-outline,
.listing-create,
.listing-chrome .btn-modern-primary,
.listing-chrome .btn-modern-outline,
.listing-toolbar-nested .btn-modern-primary,
.listing-toolbar-nested .btn-modern-outline,
.listing-pager .btn-modern-primary,
.listing-pager .btn-modern-outline {
  min-height: 2.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.listing-toolbar-row,
.listing-size,
.listing-view {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
}

.listing-toolbar-nested {
  display: flex;
  margin: 0;
}

.listing-count {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
}

.listing-size a,
.listing-pager a,
.listing-pager .is-disabled {
  min-width: 2.35rem;
  text-align: center;
}

.listing-pager .is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.listing-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin: 1rem 0 0;
}

.transaction-range-total {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.transaction-range-total strong {
  color: var(--ink);
  font-weight: 600;
}

[id^="arz-"],
[id^="uye-"],
[id^="islem-"],
[id^="talep-"],
[id^="basvuru-"] {
  scroll-margin-top: calc(var(--sticky-nav-offset) + 9rem);
}

.market-card.is-last-viewed,
tr.is-last-viewed {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.listing-results {
  min-height: 8rem;
  position: relative;
  z-index: 1;
}

.listing-results > .row {
  margin-top: 0;
}

.member-nav {
  padding: 0.45rem 0.65rem;
  margin-bottom: 1rem;
}

.member-nav .btn-modern-outline,
.member-nav .btn-modern-primary {
  min-height: 2.2rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.offer-detail-hero {
  min-height: 22rem;
  border-radius: var(--radius);
  background: #dbe4ee center / cover no-repeat;
  cursor: zoom-in;
}

.offer-detail-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.offer-detail-thumb {
  width: 4.5rem;
  height: 4.5rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: #dbe4ee center / cover no-repeat;
  cursor: zoom-in;
}

.offer-detail-meta {
  display: grid;
  gap: 0.85rem;
}

.offer-detail-meta dt {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offer-detail-meta dd {
  margin: 0.15rem 0 0;
  font-weight: 700;
}

.member-nav .btn-modern-outline,
.member-nav .btn-modern-primary {
  min-height: 2.6rem;
  padding: 0.45rem 0.95rem;
}

.market-tag {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  color: #1a4a6e;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 999px;
  background: #e3eef8;
}

.market-price {
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.presence-count {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 700;
  background: rgba(43, 106, 150, 0.12);
}

.presence-count::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  margin-right: 0.45rem;
  border-radius: 50%;
  background: #1f8a4c;
  box-shadow: 0 0 0 0 rgba(31, 138, 76, 0.55);
  animation: presence-pulse 1.8s infinite;
}

@keyframes presence-pulse {
  70% { box-shadow: 0 0 0 0.4rem rgba(31, 138, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 138, 76, 0); }
}

.presence-duration {
  font-weight: 700;
  color: var(--navy);
}

.commission-mode-grid {
  display: grid;
  gap: 0.65rem;
}

.commission-mode-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  margin: 0;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}

.commission-mode-card input {
  margin-top: 0.2rem;
}

.commission-mode-card strong {
  display: block;
  margin-bottom: 0.2rem;
}

.commission-mode-card:has(input:checked) {
  border-color: rgba(43, 106, 150, 0.7);
  background: rgba(43, 106, 150, 0.08);
  box-shadow: 0 0 0 1px rgba(43, 106, 150, 0.18);
}

.commission-preview-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.commission-preview-row:last-child {
  border-bottom: 0;
  font-size: 1.05rem;
}

.trade-step-indicator {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.trade-step-indicator li {
  min-height: 2.4rem;
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  background: #fff;
}

.trade-step-indicator li.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
}

input[type="date"].form-control {
  cursor: pointer;
}

.trade-commission-panel {
  position: sticky;
  top: 1.15rem;
}

@media (max-width: 991.98px) {
  .trade-commission-panel {
    position: static;
  }
}

.admin-offer-cell {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  min-width: 280px;
}

.admin-offer-thumb-link {
  display: block;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
}

.admin-offer-thumb {
  width: 64px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(135deg, rgba(18, 52, 79, 0.12), rgba(43, 106, 150, 0.12)),
    #eef4f8;
  background-position: center;
  background-size: cover;
}

.admin-offer-title-link {
  color: inherit;
  text-decoration: none;
}

.admin-offer-title-link:hover strong,
.admin-offer-title-link:focus-visible strong {
  text-decoration: underline;
}

.admin-image-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.admin-image-preview {
  position: relative;
  min-height: 76px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-position: center;
  background-size: cover;
}

.admin-image-preview[data-lightbox-image] {
  cursor: pointer;
}

.admin-image-remove-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.admin-image-remove-toggle span,
.admin-image-remove {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  padding: 0.25rem 0.5rem;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  background: rgba(16, 38, 63, 0.86);
}

.admin-image-preview.is-removed {
  opacity: 0.45;
  filter: grayscale(1);
}

.admin-image-preview.is-removed .admin-image-remove-toggle span {
  background: #9d2f2f;
}

.admin-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(7, 17, 29, 0.48);
}

.admin-lightbox-panel {
  position: relative;
  display: grid;
  gap: 0.85rem;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.admin-lightbox img {
  max-width: min(760px, 86vw);
  max-height: 68vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.admin-lightbox-close {
  position: absolute;
  top: -0.8rem;
  right: -0.8rem;
  width: 2.75rem;
  height: 2.75rem;
  color: #fff;
  font-size: 1.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
}

.admin-lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  color: #fff;
  font-size: 1.85rem;
  line-height: 1;
  border: 0;
  border-radius: 999px;
  background: var(--navy);
  transform: translateY(-50%);
}

.admin-lightbox-prev {
  left: 0.45rem;
}

.admin-lightbox-next {
  right: 0.45rem;
}

.admin-lightbox-counter {
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.admin-lightbox-remove {
  min-height: 2.8rem;
  color: #fff;
  font-weight: 700;
  border: 0;
  border-radius: var(--radius-sm);
  background: #9d2f2f;
}

.status-pill {
  display: inline-flex;
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  background: #eef2f7;
  color: var(--muted);
}

.status-published {
  color: #1d6d4b;
  background: #e4f7ef;
}

.status-pendingapproval {
  color: #87672f;
  background: #f4e7d0;
}

.status-draft {
  color: #46566a;
  background: #eef2f7;
}

.status-rejected,
.status-archived {
  color: #9d2f2f;
  background: #fde8e8;
}

.status-new,
.status-reviewing {
  color: #87672f;
  background: #f4e7d0;
}

.status-approved,
.status-converted {
  color: #1d6d4b;
  background: #e4f7ef;
}

.status-available {
  color: #1d6d4b;
  background: #e4f7ef;
}

.status-used {
  color: #46566a;
  background: #eef2f7;
}

.status-cancelled {
  color: #9d2f2f;
  background: #fde8e8;
}

.statement-kind-alim {
  color: #1d4f7a;
  background: #e3eef8;
}

.statement-kind-satim {
  color: #1d6d4b;
  background: #e4f7ef;
}

.statement-kind-alim-komisyon,
.statement-kind-satim-komisyon {
  color: #87672f;
  background: #f4e7d0;
}

.statement-kind-nakit,
.statement-kind-diger {
  color: #46566a;
  background: #eef2f7;
}

.statement-row-commission td {
  background: rgba(244, 231, 208, 0.28);
}

.statement-row-commission td:first-child {
  box-shadow: inset 0.28rem 0 0 var(--brand);
}

.amount-negative {
  color: #9d2f2f;
  font-weight: 600;
}

.amount-positive {
  color: #1d6d4b;
  font-weight: 600;
}

.statement {
  display: grid;
  gap: 1.25rem;
}

.statement-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--brand) 100%);
  box-shadow: var(--shadow);
}

.statement-eyebrow {
  display: inline-block;
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.statement-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 2.2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.statement-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.4rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
}

.statement-hero-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.statement-rate {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
}

.statement-rate small {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.72rem;
}

.statement-rate strong {
  font-size: 0.98rem;
  font-variant-numeric: tabular-nums;
}

.statement-rate-code {
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  color: var(--navy);
  background: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.statement-summary {
  display: grid;
  gap: 0.75rem;
}

.statement-summary-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 700;
}

.statement-summary-sub {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.statement-balances {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 0.75rem;
}

.statement-balance {
  padding: 1rem 1.15rem;
  border: 1px solid var(--line);
  border-left: 0.3rem solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.statement-balance small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.statement-balance strong {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.statement-balance strong span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.statement-balance.is-negative {
  border-left-color: #d64545;
}

.statement-balance.is-negative strong {
  color: #b42f2f;
}

.statement-balance.is-positive {
  border-left-color: #2f9a68;
}

.statement-balance.is-positive strong {
  color: #1d6d4b;
}

.statement-balance.is-zero strong {
  color: var(--navy);
}

.statement-totals {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.6rem;
}

.statement-totals div {
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--soft);
}

.statement-totals small {
  display: block;
  color: #f43b3c;
  font-size: 0.75rem;
  font-weight: 700;
}

.statement-totals strong {
  color: var(--ink);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.metric-currency {
  color: var(--muted);
  font-size: 0.55em;
  font-weight: 600;
  letter-spacing: 0;
}

.statement-totals strong span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.statement-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.statement-grid {
  width: 100%;
  min-width: 56rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.statement-grid thead th {
  position: sticky;
  top: 0;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  background: var(--soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.statement-grid tbody td {
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.statement-grid tbody tr:last-child td {
  border-bottom: 0;
}

.statement-grid tbody tr:hover td {
  background: #f7f9fc;
}

.statement-grid td.text-end {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.statement-number {
  color: var(--brand);
  font-weight: 700;
  text-decoration: none;
}

.statement-number:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

.statement-tags {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.3rem;
}

.statement-role,
.statement-currency-pill {
  display: inline-flex;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
}

.statement-role.is-buy {
  color: #1d4f7a;
  background: #e3eef8;
}

.statement-role.is-sell {
  color: #1d6d4b;
  background: #e4f7ef;
}

.statement-currency-pill {
  color: #87672f;
  background: #f4e7d0;
}

.statement-self {
  font-weight: 600;
}

.statement-currency {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.statement-zero {
  color: #b7c0cc;
}

.statement-debit {
  color: #b42f2f;
}

.statement-credit {
  color: #1d6d4b;
}

.statement-commission {
  color: #87672f;
}

.statement-empty {
  padding: 2.5rem 1rem !important;
  color: #e00;
  font-weight: 600;
  text-align: center;
}

.statement-pager {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.statement-pager-info {
  color: var(--muted);
  font-size: 0.85rem;
}

.statement-pager-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.statement-pager-links a,
.statement-pager-links span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--navy);
  background: #fff;
  font-weight: 600;
  text-decoration: none;
}

.statement-pager-links a:hover {
  border-color: var(--navy);
  background: var(--soft);
}

.statement-pager-links .is-current {
  border-color: var(--navy);
  color: #fff;
  background: var(--navy);
}

.statement-pager-links .is-gap {
  border-color: transparent;
  background: transparent;
}

.statement-note {
  margin: 0;
  padding: 0.9rem 1.1rem;
  border-left: 0.3rem solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: #fbf6ec;
  font-size: 1.05rem;
  font-weight: 700;
}

@media print {
  body * {
    visibility: hidden;
  }

  #printDiv,
  #printDiv * {
    visibility: visible;
  }

  #printDiv {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }

  #printDiv .no-print {
    display: none;
  }

  .statement-hero {
    color: #000;
    background: none;
    box-shadow: none;
    border: 1px solid #ccc;
  }

  .statement-title,
  .statement-eyebrow,
  .statement-meta,
  .statement-rate small {
    color: #000;
  }

  .statement-grid {
    min-width: 0;
    font-size: 0.78rem;
  }
}

.empty-state {
  display: grid;
  gap: 0.25rem;
  place-items: center;
  padding: 2rem;
  text-align: center;
}

.cta-panel :is(h1, h2, h3, h4, .h1, .h2, .h3, .h4) {
  color: #fff;
}

.cta-panel {
  padding: clamp(2rem, 5vw, 4rem);
  color: #fff;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(12, 35, 64, 0.97), rgba(22, 58, 99, 0.94)),
    var(--navy);
  border-top: 3px solid var(--accent);
}

.premium-strip {
  padding: 0.85rem 0;
  color: rgba(255, 255, 255, 0.76);
  background: var(--navy);
}

.premium-strip strong {
  color: #fff;
}

.market-board {
  display: grid;
  gap: 1rem;
}

.market-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.market-row-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.market-row-meta {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.offer-slider {
  overflow: hidden;
  position: relative;
  padding: 0.25rem 0;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.offer-slider.is-dragging {
  cursor: grabbing;
}

.offer-slider::before,
.offer-slider::after {
  position: absolute;
  top: 0;
  z-index: 2;
  width: 4.5rem;
  height: 100%;
  content: "";
  pointer-events: none;
}

.offer-slider::before {
  left: 0;
  background: linear-gradient(90deg, #fff, transparent);
}

.offer-slider::after {
  right: 0;
  background: linear-gradient(270deg, #fff, transparent);
}

.offer-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  will-change: transform;
}

.offer-slider-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-sm);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.offer-slider-nav:hover {
  color: #fff;
  background: var(--navy);
}

.offer-slider-prev {
  left: 0.35rem;
}

.offer-slider-next {
  right: 0.35rem;
}

.offer-slide {
  flex: 0 0 310px;
  width: 310px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.offer-image {
  min-height: 170px;
  background-position: center;
  background-size: cover;
}

.offer-photo {
  display: block;
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.public-offer-photo {
  display: block;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
}

.public-offer-thumbs {
  display: flex;
  gap: 0.5rem;
}

.public-offer-thumbs img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  border-radius: 0.6rem;
}

.offer-gallery {
  position: relative;
  overflow: hidden;
}

.offer-thumbs {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  display: flex;
  gap: 0.4rem;
  justify-content: flex-end;
}

.offer-thumb {
  width: 42px;
  height: 34px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 0.55rem;
  background-position: center;
  background-size: cover;
  box-shadow: 0 0.5rem 1rem rgba(16, 38, 63, 0.18);
}

.offer-content {
  padding: 1rem;
}

.offer-title {
  margin: 0.75rem 0 0.4rem;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.weekly-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.weekly-offer-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.weekly-offer-visual {
  min-height: 110px;
  background-position: center;
  background-size: cover;
}

.weekly-offer-body {
  padding: 0.9rem;
}

.weekly-offer-body h3 {
  margin: 0.5rem 0 0.25rem;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}

.selected-offer-panel {
  display: grid;
  gap: 0.85rem;
}

.selected-offer {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.selected-offer-image {
  width: 88px;
  height: 72px;
  border-radius: var(--radius-sm);
  background-position: center;
  background-size: cover;
}

.selected-offer h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}

.selected-offer p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.modern-intro {
  padding: 0 0 1.25rem;
}

.process-section {
  padding-top: 1.5rem;
}

.process-panel {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) 1.35fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(43, 106, 150, 0.14), transparent 20rem),
    #fff;
  box-shadow: var(--shadow);
}

.process-lead .section-title {
  max-width: 16ch;
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
}

.process-lead p {
  max-width: 36rem;
  margin: 0.85rem 0 1.1rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.process-steps {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
}

.process-index {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.75rem;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, var(--navy), var(--brand));
}

.process-steps h3 {
  margin: 0.1rem 0 0.3rem;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
}

.process-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 991px) {
  .process-panel {
    grid-template-columns: 1fr;
  }

  .process-lead .section-title {
    max-width: none;
  }
}

.intro-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.intro-card-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.5rem;
  align-items: stretch;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.intro-copy h1 {
  margin: 0.8rem 0 1rem;
  color: var(--navy);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.intro-copy p {
  max-width: 44rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.intro-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.intro-point {
  padding: 0.9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.intro-point strong {
  display: block;
  color: var(--navy);
}

.intro-visual {
  min-height: 340px;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(16, 38, 63, 0.15), rgba(16, 38, 63, 0.25)),
    url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=900&q=80');
  background-position: center;
  background-size: cover;
}

.weekly-panel {
  height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.weekly-panel-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.weekly-panel-header h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.weekly-feature-grid {
  display: grid;
  gap: 1rem;
}

.weekly-feature-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.weekly-feature-image {
  min-height: 150px;
  background-position: center;
  background-size: cover;
}

.weekly-feature-image img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.weekly-feature-body {
  padding: 1rem;
}

.weekly-feature-body h3 {
  margin: 0.65rem 0 0.35rem;
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 700;
}

.legacy-modern-hero {
  padding: 3.5rem 0 2.5rem;
}

.legacy-hero-title {
  max-width: 780px;
  margin: 1rem 0;
  color: var(--navy);
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legacy-modern-grid {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: 1.5rem;
  align-items: start;
}

.sidebar-stack,
.content-stack {
  display: grid;
  gap: 1rem;
}

.sidebar-card,
.content-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.sidebar-card {
  padding: 1.15rem;
}

.content-card {
  padding: 1.35rem;
}

.module-title {
  margin: 0 0 1rem;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.info-link-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-link-list a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-weight: 700;
}

.info-link-list a::before {
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  border-radius: 999px;
  background: var(--brand);
}

.featured-product {
  min-height: 145px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.88);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(43, 106, 150, 0.55), transparent 8rem),
    linear-gradient(135deg, var(--navy), #294767);
}

.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.compact-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-list li {
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.login-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto 1fr;
  gap: 0.75rem;
  align-items: center;
}

.login-action {
  min-height: 5.5rem;
  display: grid;
  place-items: center;
  padding: 1rem;
  color: var(--navy);
  text-align: center;
  font-weight: 700;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.login-action:hover {
  color: var(--brand-dark);
  border-color: rgba(43, 106, 150, 0.45);
}

.brace-accent {
  color: var(--brand);
  font-size: 4rem;
  line-height: 1;
  font-weight: 300;
}

.rate-panel {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  align-items: start;
}

.rate-box {
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--soft);
}

@media (max-width: 991px) {
  .legacy-modern-grid,
  .split-content,
  .rate-panel,
  .login-panel {
    grid-template-columns: 1fr;
  }

  .brace-accent {
    display: none;
  }

  .mega-menu {
    width: 100%;
    margin-top: 0.25rem;
  }

  .mega-menu-grid {
    grid-template-columns: 1fr;
  }

  .weekly-offers,
  .selected-offer {
    grid-template-columns: 1fr;
  }

  .selected-offer-image {
    width: 100%;
    height: 150px;
  }

  .intro-card-body,
  .intro-points {
    grid-template-columns: 1fr;
  }

  .hero-title {
    letter-spacing: -0.02em;
  }

  .offer-slide {
    flex-basis: min(82vw, 310px);
    width: min(82vw, 310px);
  }
}

.footer {
  flex-shrink: 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75);
}

.validation-summary-valid {
  display: none;
}

.admin-shell-body {
  min-height: 100vh;
  background: #f4f6fa;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  overflow-y: auto;
  padding: 1rem 0.85rem 1.25rem;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
  scrollbar-width: thin;
}

.admin-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.admin-brand {
  display: flex;
  flex: 1;
  align-items: center;
  padding: 0.5rem 0.65rem;
  border-radius: var(--radius-sm);
  background: #fff;
}

.admin-brand-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 2.9rem;
  object-fit: contain;
  object-position: left center;
}

.admin-sidebar-close {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  background: transparent;
}

.admin-nav-label {
  margin: 0.9rem 0.75rem 0.35rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-nav {
  display: grid;
  gap: 0.15rem;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  box-shadow: inset 3px 0 0 transparent;
}

.admin-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.admin-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 3px 0 0 var(--accent);
}

.admin-nav-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-nav-footer a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.admin-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.admin-topbar-copy {
  flex: 1;
  min-width: 0;
}

.admin-topbar h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.admin-topbar-copy p {
  margin: 0.2rem 0 0;
  max-width: 48rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.admin-topbar-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.admin-topbar-actions form {
  margin: 0;
}

.admin-topbar-actions .btn-modern-primary,
.admin-topbar-actions .btn-modern-outline {
  min-height: 2.5rem;
  padding: 0.45rem 0.95rem;
  font-size: 0.9rem;
}

.admin-menu-toggle {
  display: none;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0 0.65rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}

.admin-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
}

.admin-backdrop {
  display: none;
}

.admin-content {
  flex: 1;
  padding: 0 clamp(1rem, 3vw, 2rem) 2rem;
}

.admin-content .section {
  padding-top: 1.5rem;
}

@media (max-width: 991.98px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    width: min(290px, 86vw);
    height: 100%;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
  }

  .admin-shell.is-nav-open .admin-sidebar {
    transform: none;
    box-shadow: 0 0 3rem rgba(0, 0, 0, 0.3);
  }

  .admin-sidebar-close,
  .admin-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .admin-menu-toggle {
    align-items: stretch;
  }

  .admin-shell.is-nav-open .admin-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: block;
    background: rgba(7, 17, 29, 0.45);
  }

  .admin-topbar {
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
  }

  .admin-topbar-copy p {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .admin-topbar {
    flex-wrap: nowrap;
    gap: 0.6rem;
  }

  .admin-topbar h1 {
    overflow: hidden;
    font-size: 1.05rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .admin-topbar-actions > .btn-modern-outline {
    display: none;
  }

  .admin-topbar-actions .btn-modern-primary {
    min-height: 2.25rem;
    padding: 0.35rem 0.8rem;
  }

  .admin-content {
    padding-inline: 0.85rem;
  }
}

@media (max-width: 767px) {
  html {
    font-size: 14px;
  }

  .page .container-xl {
    max-width: calc(100% - 2rem);
    padding-inline: 0;
  }

  .brand-logo {
    height: 2.8rem;
    max-width: min(210px, 62vw);
  }

  .modern-navbar {
    min-height: 4rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-title {
    font-size: clamp(1.7rem, 7.5vw, 2.2rem);
    line-height: 1.18;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.65;
  }

  .modern-intro {
    padding-top: 0;
  }

  .process-panel {
    grid-template-columns: 1fr;
  }

  .intro-card-body {
    padding: 1rem;
  }

  .intro-copy h1,
  .section-title {
    letter-spacing: -0.02em;
  }

  .intro-visual {
    min-height: 240px;
  }

  .section {
    padding: 2.5rem 0;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .admin-content .section {
    padding-top: 1rem;
  }

  .admin-shell .section-title {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
  }

  .table-responsive {
    border-radius: var(--radius);
  }
}

.info-hero {
  position: relative;
  overflow: hidden;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0 0 1.75rem;
  color: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(18, 52, 79, 0.22), rgba(18, 52, 79, 0.78));
}

.info-hero-copy {
  position: relative;
  z-index: 1;
  padding: clamp(2.4rem, 6vw, 4.2rem);
}

.info-hero .hero-badge {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.16);
}

.info-hero h1 {
  max-width: 18ch;
  margin: 0.85rem 0 0.7rem;
  color: #fff;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.info-hero p {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.7;
}

.info-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.info-main {
  display: grid;
  gap: 1.5rem;
}

.info-lead {
  margin: 0 0 1rem;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.75;
}

.info-main p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.info-subtitle {
  margin: 0 0 0.7rem;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 700;
}

.info-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.25rem;
  align-items: start;
}

.info-figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.info-figure img {
  display: block;
  width: 100%;
  height: 16.5rem;
  object-fit: cover;
}

.info-figure figcaption {
  padding: 0.85rem 1rem 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.info-quote {
  margin: 0 0 1.1rem;
  padding: 1.1rem 1.25rem;
  color: var(--navy);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.45;
  border-left: 0.35rem solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--soft);
}

.info-compare,
.info-card-grid,
.info-reason-grid,
.info-ledger-grid,
.info-world-grid {
  display: grid;
  gap: 1rem;
}

.info-compare,
.info-ledger-grid,
.info-world-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card-grid,
.info-reason-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-compare article,
.info-card-grid article,
.info-reason-grid article {
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.info-compare span,
.info-reason-grid span {
  display: inline-flex;
  margin-bottom: 0.65rem;
  color: var(--brand-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.info-compare h2,
.info-card-grid h3,
.info-reason-grid h3,
.info-world-grid h2 {
  margin: 0 0 0.55rem;
  color: var(--navy);
  font-weight: 700;
}

.info-steps {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: info-step;
}

.info-steps li {
  position: relative;
  padding: 1.15rem 1.2rem 1.15rem 4.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.info-steps li::before {
  position: absolute;
  top: 1.05rem;
  left: 1.05rem;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  counter-increment: info-step;
  content: counter(info-step);
  color: #fff;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--navy), var(--brand));
}

.info-steps strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--navy);
  font-size: 1.08rem;
}

.info-steps p,
.info-compare p,
.info-card-grid p,
.info-reason-grid p,
.info-world-grid p,
.info-ledger p {
  margin: 0;
}

.info-ledger {
  padding: 1.2rem;
  color: #e8f1f8;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(43, 106, 150, 0.45), transparent 10rem),
    linear-gradient(160deg, #12344f, #1b4f73);
}

.info-ledger header {
  margin-bottom: 0.55rem;
  color: #fff;
  font-weight: 700;
}

.info-ledger p {
  color: rgba(255, 255, 255, 0.78);
}

.info-ledger pre {
  margin: 0.9rem 0 0;
  padding: 0.9rem 1rem;
  overflow-x: auto;
  color: #d7ecf8;
  font-size: 0.82rem;
  line-height: 1.65;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.22);
}

.info-world-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.info-world-visual {
  height: 12rem;
  background-size: cover;
  background-position: center;
}

.info-world-grid h2,
.info-world-grid p {
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}

.info-world-grid h2 {
  margin-top: 1rem;
}

.info-world-grid p {
  padding-bottom: 1.2rem;
}

.info-side {
  position: sticky;
  top: 7.5rem;
}

.info-side-card {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.info-side-card h2 {
  margin: 0.35rem 0 0.85rem;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 700;
}

.info-side-nav {
  display: grid;
  gap: 0.45rem;
}

.info-side-nav a {
  display: grid;
  gap: 0.15rem;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
}

.info-side-nav a strong {
  font-size: 0.95rem;
}

.info-side-nav a span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.info-side-nav a:hover,
.info-side-nav a.active {
  border-color: rgba(43, 106, 150, 0.28);
  background: var(--soft);
}

.info-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0 0 2rem;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  color: #fff;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, rgba(43, 106, 150, 0.45), transparent 18rem),
    linear-gradient(135deg, #0d2138, #1b4f73);
}

.info-cta h2 {
  margin: 0.35rem 0 0.55rem;
  color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
}

.info-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: 40rem;
}

.info-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.info-home-card {
  color: inherit;
}

.info-home-card:hover {
  color: inherit;
  transform: translateY(-2px);
}

.info-inline-link {
  display: inline-flex;
  margin-top: 0.75rem;
  color: var(--brand-dark);
  font-weight: 600;
}

.info-inline-link:hover {
  color: var(--navy);
}

.about-metrics,
.about-principles,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.about-metrics article,
.about-principles article,
.contact-card {
  padding: 1.25rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.about-metrics strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.about-metrics span,
.contact-card span,
.about-principles span {
  display: block;
  margin-top: 0.35rem;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-principles span {
  margin-bottom: 0.55rem;
}

.about-principles h2,
.contact-card strong {
  margin: 0 0 0.45rem;
  color: var(--navy);
  font-weight: 700;
}

.about-principles p,
.contact-card p,
.about-close {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.about-story {
  margin-bottom: 1.75rem;
}

.about-close {
  max-width: 46rem;
  margin: 0 0 2rem;
  font-size: 1.12rem;
}

.contact-card {
  color: inherit;
}

.contact-card:hover {
  color: inherit;
  border-color: rgba(43, 106, 150, 0.35);
  transform: translateY(-2px);
}

.contact-map-wrap {
  overflow: hidden;
  height: 22rem;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 991.98px) {
  .info-shell,
  .info-split,
  .info-compare,
  .info-card-grid,
  .info-reason-grid,
  .info-ledger-grid,
  .info-world-grid,
  .info-cta,
  .about-metrics,
  .about-principles,
  .contact-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .info-side {
    position: static;
  }

  .info-hero {
    min-height: 16rem;
  }

  .info-cta-actions {
    justify-content: flex-start;
  }
}

.member-profile-card {
  overflow: hidden;
}

.member-profile-head {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.member-profile-logo,
.member-profile-initials {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: var(--radius);
  flex-shrink: 0;
  object-fit: cover;
}

.member-profile-initials {
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--navy), var(--brand));
}

.member-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.member-profile-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  padding: 1.25rem 1.35rem;
}

.member-profile-block h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.member-profile-block dl {
  display: grid;
  grid-template-columns: minmax(8rem, 11rem) 1fr;
  gap: 0.55rem 1rem;
  margin: 0;
}

.member-profile-block dt {
  color: var(--muted, #5b6b7c);
  font-weight: 600;
}

.member-profile-block dd {
  margin: 0;
  word-break: break-word;
}

@media (max-width: 991.98px) {
  .member-profile-grid,
  .member-profile-block dl {
    grid-template-columns: 1fr;
  }
}
/* Home */
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.home-hero-copy .hero-actions {
  margin-top: 1.75rem;
}

.home-hero-visual {
  min-height: clamp(16rem, 34vw, 27rem);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(12, 35, 64, 0) 55%, rgba(12, 35, 64, 0.35)),
    url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1200&q=80') center / cover no-repeat;
  box-shadow: var(--shadow);
}

.home-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.home-pillar {
  display: grid;
  gap: 0.3rem;
  padding: 1.25rem 1.4rem;
  border-left: 1px solid var(--line);
}

.home-pillar:first-child {
  border-left: 0;
}

.home-pillar strong {
  color: var(--navy);
  font-weight: 600;
}

.home-pillar strong::before {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin-bottom: 0.7rem;
  content: "";
  background: var(--accent);
}

.home-pillar span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head .section-title {
  margin-bottom: 0;
}

.home-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: 1.25rem;
}

.home-offer-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.home-offer-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.home-offer-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--soft);
}

.home-offer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-offer-media .market-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}

.home-offer-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.1rem 1.15rem 1.2rem;
}

.home-offer-body h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
}

.home-offer-body h3 a {
  color: var(--navy);
}

.home-offer-body p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.home-offer-actions {
  margin-top: auto;
  padding-top: 0.5rem;
}

.home-offer-actions .btn-modern-outline {
  width: 100%;
}

.home-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.home-info-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.6rem;
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-info-card:hover {
  color: var(--ink);
  border-top-color: var(--accent);
  box-shadow: var(--shadow);
}

.home-info-label {
  color: var(--brand-dark);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-info-card h3 {
  margin: 0;
  font-size: 1.2rem;
}

.home-info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.home-info-card .info-inline-link {
  margin-top: auto;
}

.cta-panel-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}

.cta-panel-inner p {
  max-width: 42rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.cta-eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.cta-title {
  margin: 0.6rem 0 0.6rem;
  color: #fff;
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cta-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: transparent;
}

.cta-outline:hover,
.cta-outline:focus-visible {
  color: var(--navy);
  border-color: #fff;
  background: #fff;
}

@media (max-width: 991.98px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-hero-visual {
    order: -1;
    min-height: 14rem;
  }

  .home-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .home-pillars {
    grid-template-columns: 1fr;
  }

  .home-pillar {
    border-left: 0;
  }

  .home-pillar:nth-child(n + 2) {
    border-top: 1px solid var(--line);
  }

  .home-hero .hero-actions > * {
    flex: 1 1 100%;
  }

  .cta-actions > * {
    flex: 1 1 100%;
  }
}

/* Member area navigation */
.member-nav {
  padding: 0.4rem;
}

.member-nav > div {
  gap: 0.25rem !important;
}

.member-nav .btn-modern-primary,
.member-nav .btn-modern-outline {
  min-height: 2.4rem;
  padding: 0.4rem 0.95rem;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.member-nav .btn-modern-outline {
  border-color: transparent;
  background: transparent;
}

.member-nav .btn-modern-outline:hover {
  border-color: transparent;
  background: var(--soft);
}

@media (max-width: 767.98px) {
  .stat-row .metric-card {
    height: 100%;
    padding: 0.85rem 0.7rem;
  }

  .stat-row .metric-value {
    font-size: 1.2rem;
  }

  .stat-row .metric-label {
    font-size: 0.75rem;
    line-height: 1.3;
  }

  .member-nav > div {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .member-nav > div::-webkit-scrollbar {
    display: none;
  }

  .member-nav .btn-modern-primary,
  .member-nav .btn-modern-outline {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .listing-chrome {
    position: static;
  }

  .listing-title {
    white-space: normal;
  }

  .listing-search {
    flex-wrap: wrap;
  }

  .listing-search .form-select {
    flex: 1 1 100%;
  }

  .offer-detail-hero {
    min-height: 15rem;
  }

  .admin-offer-cell {
    min-width: 220px;
  }

  .admin-offer-thumb {
    width: 88px;
    height: 74px;
  }
}

/* Page-level polish */
.page-body {
  padding-top: 1.25rem;
}

.market-tag {
  color: var(--brand-dark);
  font-weight: 600;
  border-radius: 999px;
  background: #e8f0f8;
}

.status-pill {
  font-weight: 600;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.admin-table td {
  font-size: 0.92rem;
}

.info-inline-link {
  font-weight: 600;
}

.process-panel {
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.process-index {
  background: var(--navy);
}

.info-hero {
  border-radius: var(--radius);
}

.info-hero::after {
  background: linear-gradient(90deg, rgba(12, 35, 64, 0.88) 0%, rgba(12, 35, 64, 0.55) 60%, rgba(12, 35, 64, 0.3) 100%);
}

.info-cta {
  border-top: 3px solid var(--accent);
  background: linear-gradient(120deg, rgba(12, 35, 64, 0.97), rgba(22, 58, 99, 0.94)), var(--navy);
}

.info-cta .btn-modern-primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.info-cta .btn-modern-primary:hover {
  filter: brightness(1.06);
  color: #fff;
}

.feature-icon,
.info-steps li::before,
.member-profile-initials {
  background: var(--navy);
}

.empty-state strong {
  color: var(--navy);
}

.pagination .page-link,
.listing-pager a {
  font-weight: 500;
}

@media (max-width: 575.98px) {
  .glass-panel.p-4,
  .glass-panel.p-md-5 {
    padding: 1.1rem !important;
  }

  .hero-actions > a,
  .hero-actions > button {
    flex: 1 1 100%;
  }

  .info-hero-copy {
    padding: 1.75rem 1.25rem;
  }

  .contact-map-wrap {
    height: 16rem;
  }
}
/* Sign in */
.auth-shell {
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem) 0;
}

.auth-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(100%, 64rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.auth-aside {
  padding: clamp(1.75rem, 4vw, 3rem);
  color: rgba(255, 255, 255, 0.8);
  background:
    linear-gradient(160deg, rgba(12, 35, 64, 0.95), rgba(22, 58, 99, 0.92)),
    url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=900&q=60') center / cover;
}

.auth-badge {
  color: rgba(255, 255, 255, 0.75);
}

.auth-aside h1 {
  margin: 1rem 0 0.85rem;
  color: #fff;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2;
}

.auth-aside p {
  margin: 0;
  line-height: 1.7;
}

.auth-points {
  display: grid;
  gap: 0.7rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.auth-points li {
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
}

.auth-points li::before {
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  content: "";
  border-radius: 50%;
  background: var(--accent);
}

.auth-form {
  padding: clamp(1.75rem, 4vw, 3rem);
}

.auth-form h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
}

.auth-foot {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}

.auth-foot a {
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .auth-card {
    grid-template-columns: 1fr;
  }

  .auth-points {
    display: none;
  }
}
.description-text {
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.hp-field {
    position: absolute;
    left: -9999px;
    height: 0;
    overflow: hidden;
}
