/* Paksalespoint theme: a light, airy layout (white/near-white surfaces
   throughout) with a single vivid indigo as the brand/interactive color —
   links, buttons, active states, logo — plus a warm amber accent reserved
   for the site's main call-to-action (Sell, Featured, "make featured") so
   it doesn't compete visually with everyday navigation/links. Headings and
   body copy use a neutral dark slate rather than the vivid indigo itself,
   so large blocks of text stay easy to read instead of feeling heavy —
   the indigo is saved for the elements meant to draw the eye. Semantic
   status colors (success/warning/danger) are used consistently for ad
   status badges and action buttons across admin and public pages. */
:root {
  --brand-primary: #560591;
  --brand-primary-dark: #41046d;
  --brand-primary-light: #f7ecfb;
  --brand-primary-border: #ddb3ec;
  --brand-accent: #f59e0b;
  --brand-accent-dark: #d97706;
  --brand-accent-light: #fffbeb;
  --brand-success: #16a34a;
  --brand-success-dark: #15803d;
  --brand-danger: #dc2626;
  --brand-danger-dark: #b91c1c;
  --brand-text: #1f2937;
  --brand-bg: #f2f3f7;
  --brand-admin-bg: #560591;
  --brand-admin-bg-hover: #6d0bb0;
  --brand-font: "Segoe UI", "Inter", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --brand-font-ur: "Noto Nastaliq Urdu", "Segoe UI", sans-serif;
}

/* Self-hosted Urdu font (only downloaded by the browser when actually used,
   i.e. only on ur-culture pages where [dir="rtl"] sets font-family to it). */
@font-face {
  font-family: "Noto Nastaliq Urdu";
  src: url("/fonts/NotoNastaliqUrdu.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

[dir="rtl"] body {
  font-family: var(--brand-font-ur);
}

html {
  position: relative;
  min-height: 100%;
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  background-color: var(--brand-bg);
  color: #374151;
  font-family: var(--brand-font);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--brand-text);
  font-weight: 600;
}

a {
  color: var(--brand-primary);
}
a:hover {
  color: var(--brand-primary-dark);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem var(--brand-primary-border);
}

/* Brand buttons */
.btn-primary {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: var(--brand-primary-dark) !important;
  border-color: var(--brand-primary-dark) !important;
}
.btn-outline-primary {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn-outline-primary:hover {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn-link {
  color: var(--brand-primary);
}
.bg-primary {
  background-color: var(--brand-primary) !important;
}
.text-primary {
  color: var(--brand-primary) !important;
}

/* ===== OLX-style site header ===== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}
.site-header .navbar-brand {
  color: var(--brand-primary);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}
.site-header .header-search {
  max-width: 640px;
  flex: 1 1 220px;
  min-width: 220px;
  align-items: stretch;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  overflow: hidden;
  background: #fff;
}
.site-header .header-search-location {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.6rem;
  background: #f5f6f8;
  border-right: 1px solid #d1d5db;
  flex: 0 0 auto;
}
.site-header .header-search-location i {
  color: var(--brand-primary);
  font-size: 0.85rem;
}
.site-header .header-search-location-select {
  border: none;
  background: transparent;
  font-size: 0.85rem;
  color: var(--brand-text);
  padding: 0.3rem 0;
  max-width: 110px;
}
.site-header .header-search-location-select:focus {
  outline: none;
  box-shadow: none;
}
.site-header .header-search-input {
  border: none !important;
  box-shadow: none !important;
  min-width: 0;
  flex: 1 1 auto;
  border-radius: 0 !important;
}
.site-header .header-search-btn {
  border: none;
  border-radius: 0 !important;
  background: var(--brand-primary);
  color: #fff;
  flex: 0 0 auto;
  padding: 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}
.site-header .header-search-btn:hover {
  background: var(--brand-primary-dark);
  color: #fff;
}
.site-header .container-fluid {
  row-gap: 0.5rem;
}

/* Category quick-nav strip below the header */
.category-nav-strip {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
}
.category-nav-strip .container-fluid {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.category-nav-all {
  flex: 0 0 auto;
  background: transparent;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--brand-text);
  padding: 0.25rem 0;
  white-space: nowrap;
}
.category-nav-all i {
  color: var(--brand-primary);
  margin-right: 0.3rem;
}
.category-nav-link {
  flex: 0 0 auto;
  font-size: 0.85rem;
  color: #4b5563;
  text-decoration: none;
  white-space: nowrap;
}
.category-nav-link:hover,
.category-nav-link.active {
  color: var(--brand-primary);
}
.site-header .nav-link {
  color: var(--brand-text);
}
.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: var(--brand-primary);
}
.site-header .nav-icon-link {
  text-decoration: none;
  position: relative;
}
.btn-sell {
  background-color: var(--brand-accent);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  border: none;
  white-space: nowrap;
}
.btn-sell:hover {
  background-color: var(--brand-accent-dark);
  color: #fff;
}

/* Category chip strip */
.category-strip {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
}
.category-chip {
  flex: 0 0 auto;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  color: var(--brand-text);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}
.category-chip:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: var(--brand-primary-light);
}
.category-chip.active {
  border-color: var(--brand-primary);
  color: #fff;
  background: var(--brand-primary);
}
.category-chip-sm {
  padding: 0.3rem 0.8rem;
  font-size: 0.8rem;
}
.category-chip i {
  margin-right: 0.4rem;
}

/* Semantic H1 for the homepage (SEO — the page otherwise had no H1 at all).
   Kept visually modest, like a tagline, rather than a huge oversized heading
   competing with the search bar right below it. */
.home-hero-heading {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .home-hero-heading {
    font-size: 1.65rem;
  }
}

/* Homepage hero search bar: two separate pill boxes, full row */
.home-search-bar {
  display: flex;
  gap: 1rem;
  width: 100%;
  flex-wrap: wrap;
}
.home-search-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 260px;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0 0.9rem;
  position: relative;
}
.home-search-location > i.bi-geo-alt-fill {
  color: var(--brand-primary);
}
.home-search-location-select {
  border: none;
  background: transparent;
  flex: 1 1 auto;
  padding: 0.65rem 1.4rem 0.65rem 0;
  font-size: 0.95rem;
  color: var(--brand-text);
  appearance: none;
  -webkit-appearance: none;
}
.home-search-location-select:focus {
  outline: none;
  box-shadow: none;
}
.home-search-location-caret {
  position: absolute;
  right: 0.9rem;
  color: #6b7280;
  pointer-events: none;
  font-size: 0.75rem;
}
.home-search-box {
  display: flex;
  align-items: stretch;
  flex: 1 1 320px;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
}
.home-search-input {
  border: none !important;
  box-shadow: none !important;
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
}
.home-search-btn {
  border: none;
  border-radius: 0 !important;
  background: var(--brand-primary);
  color: #fff;
  flex: 0 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  white-space: nowrap;
}
.home-search-btn:hover {
  background: var(--brand-primary-dark);
  color: #fff;
}
@media (max-width: 575.98px) {
  .home-search-location {
    flex: 1 1 100%;
  }
  .home-search-box {
    flex: 1 1 100%;
  }
}

/* Homepage category tile grid — the grid is always capped at 12 tiles (11
   categories + a "View All" tile, see Home/Index.cshtml), so every column
   count below is a divisor of 12 and no row is ever left with a stray
   2-3 tiles trailing behind a full row. */
.category-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
@media (min-width: 576px) {
  .category-tile-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 992px) {
  .category-tile-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
.category-tile {
  display: block;
  text-align: center;
  text-decoration: none;
  border-radius: 0.75rem;
  transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.category-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}
.category-tile-photo {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #fff;
  border: 1px solid #e5e7eb;
}
.category-tile-photo img {
  width: 100%;
  height: 100%;
  /* Some icon artwork has its own caption baked into the bottom of the image;
     cropping to the top here hides that band consistently so every tile gets
     exactly one label — the real @category.Name text underneath — instead of
     some tiles showing a redundant baked-in caption and others none at all. */
  object-fit: cover;
  object-position: top;
}
.category-tile-name {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--brand-text);
}
.category-tile-viewall-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-primary-light);
  border-color: var(--brand-primary);
}
.category-tile-viewall-photo i {
  font-size: 1.75rem;
  color: var(--brand-primary);
}
.category-tile-viewall:hover .category-tile-viewall-photo {
  background: var(--brand-primary);
}
.category-tile-viewall:hover .category-tile-viewall-photo i {
  color: #fff;
}

/* Admin shell — left sidebar layout (Areas/Admin/Views/Shared/_AdminLayout.cshtml) */
.admin-shell {
  display: flex;
  min-height: 100vh;
  background: var(--brand-bg);
}
.admin-sidebar {
  width: 250px;
  flex-shrink: 0;
  background-color: var(--brand-admin-bg);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-sidebar-brand {
  display: block;
  padding: 1.1rem 1.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.admin-sidebar-nav {
  flex: 1;
  padding: 0.75rem 0.75rem;
}
.admin-sidebar-heading {
  margin: 1rem 0.5rem 0.35rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(224, 231, 255, 0.55);
}
.admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.6rem;
  border-radius: 0.4rem;
  color: #e0e7ff;
  text-decoration: none;
  font-size: 0.9rem;
}
.admin-sidebar-link i {
  width: 1.1rem;
  text-align: center;
}
.admin-sidebar-link:hover {
  background: var(--brand-admin-bg-hover);
  color: #fff;
}
.admin-sidebar-link.active {
  background: var(--brand-accent);
  color: #fff;
}
.admin-sidebar-footer {
  padding: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.admin-sidebar-back {
  color: #c7d2fe;
}
.admin-content {
  flex: 1;
  min-width: 0;
  padding: 1.5rem;
}
.admin-sidebar-toggle {
  display: none;
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1050;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 0.5rem;
  background: var(--brand-admin-bg);
  color: #fff;
  font-size: 1.25rem;
}
.admin-sidebar-backdrop {
  display: none;
}
@media (max-width: 991.98px) {
  .admin-sidebar-toggle {
    display: block;
  }
  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1045;
    transform: translateX(-100%);
    transition: transform 0.2s ease-in-out;
  }
  [dir="rtl"] .admin-sidebar {
    left: auto;
    right: 0;
    transform: translateX(100%);
  }
  .admin-sidebar.open {
    transform: translateX(0);
  }
  .admin-sidebar-backdrop.open {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1040;
  }
  .admin-content {
    padding: 1.5rem 1rem;
    padding-top: 4rem;
  }
  .admin-sidebar-brand {
    padding-left: 3.5rem;
  }
}

/* Cards */
.card {
  border-color: #e5e7eb;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.card {
  transition: box-shadow 0.15s ease-in-out, transform 0.15s ease-in-out;
}

/* ===== OLX-style ad card ===== */
.ad-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.ad-card-link:hover .card {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}
.ad-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f2f3f7;
}
.ad-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ad-card-img-wrap .no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.85rem;
}
.favorite-heart {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #6b7280;
  line-height: 1;
  padding: 0;
}
.favorite-heart:hover {
  color: var(--brand-primary);
}
.ad-card-badges {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.ad-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: 0.15rem;
}
.ad-title {
  font-size: 0.9rem;
  color: #374151;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.35rem;
  min-height: 2.4em;
}
.ad-meta {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* Filter panel (Listings sidebar) */
.filter-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
}

/* Forms */
.form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 0.2rem var(--brand-primary-light);
}

/* Pagination */
.page-link {
  color: var(--brand-primary);
}
.page-item.active .page-link {
  background-color: var(--brand-primary);
  border-color: var(--brand-primary);
}

/* Status/filter pills (Admin moderation tabs, etc.) */
.nav-pills .nav-link {
  color: var(--brand-primary);
}
.nav-pills .nav-link.active {
  background-color: var(--brand-primary);
}

.bg-light {
  background-color: var(--brand-primary-light) !important;
}

/* ===== Admin dashboard analytics ===== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .stat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1200px) {
  .stat-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
.stat-card {
  position: relative;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}
.stat-card-warning {
  border-color: #fbbf24;
  background: #fffbeb;
}
.stat-card-danger {
  border-color: #f87171;
  background: #fef2f2;
}
.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-text);
}
.stat-label {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}
.stat-sublabel {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.15rem;
}

.bar-list-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.bar-list-row:last-child {
  margin-bottom: 0;
}
.bar-list-label {
  flex: 0 0 35%;
  font-size: 0.85rem;
  color: var(--brand-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bar-list-track {
  flex: 1 1 auto;
  background: var(--brand-primary-light);
  border-radius: 999px;
  height: 0.6rem;
  overflow: hidden;
}
.bar-list-fill {
  background: var(--brand-primary);
  height: 100%;
  border-radius: 999px;
}
.bar-list-count {
  flex: 0 0 auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: #6b7280;
  min-width: 1.5rem;
  text-align: right;
}

/* ===== RTL overrides (Urdu) =====
   Bootstrap's own bootstrap.rtl.min.css (swapped in by _Layout/_AdminLayout when the
   current culture is "ur") already mirrors every stock Bootstrap component — grid,
   forms, dropdowns, tables, alerts, badges, pagination. What's below only re-flips the
   custom OLX-style components built for this project that use physical left/right
   values Bootstrap's logical-property RTL build doesn't know about. */
[dir="rtl"] .header-search-location {
  border-right: none;
  border-left: 1px solid #d1d5db;
}
[dir="rtl"] .favorite-heart {
  right: auto;
  left: 0.5rem;
}
[dir="rtl"] .ad-card-badges {
  left: auto;
  right: 0.5rem;
}
[dir="rtl"] .category-nav-all i,
[dir="rtl"] .category-chip i {
  margin-right: 0;
  margin-left: 0.4rem;
}
[dir="rtl"] .home-search-location-caret {
  right: auto;
  left: 0.9rem;
}
[dir="rtl"] .home-search-location-select {
  padding-right: 0;
  padding-left: 1.4rem;
}
[dir="rtl"] .bar-list-count {
  text-align: left;
}
[dir="rtl"] .bar-list-row,
[dir="rtl"] .category-nav-strip .container-fluid,
[dir="rtl"] .home-search-bar {
  flex-direction: row-reverse;
}
[dir="rtl"] .nav-icon-link .badge {
  margin-right: 0.3rem;
  margin-left: 0;
}
[dir="rtl"] .language-switcher {
  margin-left: 0;
  margin-right: 0.75rem;
}

/* ===== Themed tables (brand-indigo restyle of Bootstrap's .table) =====
   This Bootstrap version renders striped/hover row colors via the
   --bs-table-striped-bg / --bs-table-hover-bg custom properties (applied
   through an inset box-shadow on each cell), not a plain background-color —
   override those variables rather than fighting them with our own rules. */
.table {
  --bs-table-striped-bg: var(--brand-primary-light);
  --bs-table-hover-bg: #e3e0fb;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.table thead th {
  background-color: var(--brand-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border-bottom: none;
  vertical-align: middle;
  padding: 0.7rem 1rem;
}
.table thead th a {
  color: #fff;
}
.table tbody td,
.table tbody th {
  padding: 0.65rem 1rem;
  vertical-align: middle;
  border-top: 1px solid #eef0f4;
  border-bottom: none;
}
.table-sm td,
.table-sm th {
  padding: 0.4rem 0.75rem;
}
[dir="rtl"] .table thead th {
  text-align: right;
}

/* ===== Static instructional sidebar panels (Register / Post Ad) ===== */
.info-sidebar-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.info-sidebar-card .info-sidebar-icon {
  font-size: 2.25rem;
  color: var(--brand-primary);
  margin-bottom: 0.75rem;
}
.info-sidebar-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}
.info-sidebar-card p {
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0;
}
.info-sidebar-checklist {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.25rem;
}
.info-sidebar-checklist h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--brand-text);
  margin-bottom: 0.9rem;
}
.info-sidebar-checklist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.info-sidebar-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #374151;
  margin-bottom: 0.75rem;
}
.info-sidebar-checklist li:last-child {
  margin-bottom: 0;
}
.info-sidebar-checklist li i {
  color: #16a34a;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
[dir="rtl"] .info-sidebar-checklist li i {
  margin-top: 0.15rem;
}

/* ===== Ad detail page ===== */
/* Desktop: gallery + sidebar side by side (8+4=12), then full-width content below.
   Mobile: stack in gallery -> sidebar (price/seller/contact) -> content order,
   so buyers see the price and "contact seller" actions right after the photos
   instead of having to scroll past the full description first. */
@media (max-width: 991.98px) {
  .ad-detail-row {
    display: flex;
    flex-direction: column;
  }
  .ad-gallery-col {
    order: 1;
  }
  .ad-sidebar-col {
    order: 2;
  }
  .ad-content-col {
    order: 3;
  }
}

.ad-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  overflow: hidden;
  background: #f2f3f7;
  border: 1px solid #e5e7eb;
}
.ad-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ad-gallery-empty {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #9ca3af;
}
.ad-gallery-empty i {
  font-size: 2.5rem;
}
.ad-gallery-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
}
[dir="rtl"] .ad-gallery-badge {
  left: auto;
  right: 0.75rem;
}
.ad-gallery-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  margin-top: 0.6rem;
  padding-bottom: 0.2rem;
}
.ad-gallery-thumb {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 0.5rem;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.75;
}
.ad-gallery-thumb:hover {
  opacity: 1;
}
.ad-gallery-thumb.active {
  border-color: var(--brand-primary);
  opacity: 1;
}

.ad-detail-heading {
  margin-top: 1.25rem;
}
.ad-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: #6b7280;
  font-size: 0.85rem;
}
.ad-detail-meta i {
  color: var(--brand-primary);
  margin-right: 0.3rem;
}

.ad-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0;
}
@media (min-width: 576px) {
  .ad-spec-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.ad-spec-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.75rem;
}
.ad-spec-item i {
  font-size: 1.15rem;
  color: var(--brand-primary);
  flex-shrink: 0;
}
.ad-spec-item div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ad-spec-label {
  font-size: 0.72rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.ad-spec-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ad-detail-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-text);
  margin: 1.75rem 0 0.75rem;
}
.ad-details-table td:first-child {
  color: #6b7280;
  width: 40%;
}
.ad-details-table td:last-child {
  font-weight: 600;
  color: var(--brand-text);
}
.ad-detail-description {
  white-space: pre-wrap;
  line-height: 1.6;
  color: #374151;
}

.safety-tips-box {
  background: var(--brand-primary-light);
  border: 1px solid var(--brand-primary-border);
  border-radius: 0.5rem;
  padding: 1.25rem;
  margin-top: 1.5rem;
}
.safety-tips-box h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: 0.75rem;
}
.safety-tips-box h3 i {
  color: var(--brand-primary);
  margin-right: 0.4rem;
}
.safety-tips-box ul {
  margin: 0;
  padding-left: 1.25rem;
  color: #374151;
  font-size: 0.85rem;
}
.safety-tips-box li {
  margin-bottom: 0.4rem;
}
.safety-tips-box li:last-child {
  margin-bottom: 0;
}

.ad-price-card,
.seller-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.1rem;
  margin-bottom: 1rem;
}
.ad-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.ad-detail-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-text);
}
.ad-detail-fav {
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #e5e7eb;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #6b7280;
  text-decoration: none;
}
.ad-detail-fav:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.ad-detail-fav.active {
  color: #e11d48;
  border-color: #fecdd3;
}

.seller-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.seller-avatar {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}
.seller-label {
  font-size: 0.75rem;
  color: #9ca3af;
}
.seller-name {
  font-weight: 700;
  color: var(--brand-text);
}
.seller-stats {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #6b7280;
  border-top: 1px solid #eef0f4;
  border-bottom: 1px solid #eef0f4;
  padding: 0.75rem 0;
  margin-bottom: 0.9rem;
}
.seller-stats i {
  color: var(--brand-primary);
  margin-right: 0.4rem;
  width: 1rem;
}
.seller-stats strong {
  color: var(--brand-text);
}

.btn-seller-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.55rem 1rem;
  border-radius: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.btn-seller-solid {
  background: var(--brand-primary);
  color: #fff;
}
.btn-seller-solid:hover {
  background: var(--brand-primary-dark);
  color: #fff;
}
.btn-seller-outline {
  background: #fff;
  border: 1px solid var(--brand-primary);
  color: var(--brand-primary);
}
.btn-seller-outline:hover {
  background: var(--brand-primary-light);
}
.btn-seller-whatsapp {
  background: #25d366;
  color: #fff;
}
.btn-seller-whatsapp:hover {
  background: #1fb855;
  color: #fff;
}

.ad-id-report-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #6b7280;
  padding: 0 0.2rem;
}
.ad-report-link {
  background: none;
  border: none;
  color: #6b7280;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0;
  cursor: pointer;
}
.ad-report-link i {
  color: #ef4444;
}
.ad-report-link:hover {
  color: var(--brand-text);
}

/* ===== Ad card/row contact buttons (Call / Chat / WhatsApp) ===== */
.ad-contact-row {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.ad-contact-form {
  flex: 1 1 0;
  margin: 0;
  min-width: 0;
}
.ad-contact-form .ad-contact-btn {
  width: 100%;
}
.ad-contact-btn {
  position: relative;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.4rem 0.4rem;
  border-radius: 0.35rem;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: var(--brand-text);
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  min-width: 0;
}
.ad-contact-call:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.ad-contact-chat {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
}
.ad-contact-chat:hover {
  background: var(--brand-primary-dark);
  color: #fff;
}
.ad-contact-whatsapp {
  background: #25d366;
  color: #fff;
  border-color: #25d366;
}
.ad-contact-whatsapp:hover {
  background: #1fb855;
  color: #fff;
}
.ad-contact-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ad-contact-compact .ad-contact-label {
  display: none;
}
.ad-contact-compact .ad-contact-btn {
  padding: 0.45rem;
}
.ad-feature-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--brand-accent);
  background: var(--brand-accent-light);
  color: var(--brand-accent-dark);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.ad-feature-btn:hover {
  background: var(--brand-accent);
  color: #fff;
}
.ad-feature-btn-active {
  border-color: var(--brand-primary);
  background: var(--brand-primary-light);
  color: var(--brand-primary-dark);
}
.ad-feature-btn-active:hover {
  background: var(--brand-primary);
  color: #fff;
}
.ad-contact-spinner {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0.85rem;
  height: 0.85rem;
  border: 2px solid rgba(120, 120, 120, 0.3);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: pak-spin 0.6s linear infinite;
}
.ad-contact-btn.loading .ad-contact-icon,
.ad-contact-btn.loading .ad-contact-label {
  visibility: hidden;
}
.ad-contact-btn.loading .ad-contact-spinner {
  display: inline-block;
}
.ad-contact-btn.used {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}
@keyframes pak-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ===== Listings grid/list view toggle ===== */
.view-toggle {
  display: flex;
  gap: 0.3rem;
}
.view-toggle a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.4rem;
  color: #6b7280;
  text-decoration: none;
  background: #fff;
}
.view-toggle a:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.view-toggle a.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

/* ===== Listings list-view row ===== */
.ad-list-row {
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.ad-list-row:hover {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}
.ad-list-row-media {
  flex: 0 0 200px;
}
.ad-list-row-media-main {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.4rem;
  overflow: hidden;
  background: #f2f3f7;
}
.ad-list-row-media-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ad-list-row-media-main .no-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 0.8rem;
}
.ad-list-row-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ad-list-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.ad-list-row-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--brand-text);
}
.ad-list-row-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-text);
  margin: 0.2rem 0 0.4rem;
  text-decoration: none;
  display: block;
}
.ad-list-row-title:hover {
  color: var(--brand-primary);
}
.ad-list-row-desc {
  font-size: 0.82rem;
  color: #6b7280;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.ad-list-row-specs {
  font-size: 0.8rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 0.4rem;
}
.ad-list-row-meta {
  font-size: 0.78rem;
  color: #9ca3af;
  margin-bottom: 0.6rem;
}
.ad-list-row .ad-contact-row {
  max-width: 380px;
  margin-top: auto;
}
@media (max-width: 575.98px) {
  .ad-list-row {
    flex-direction: column;
  }
  .ad-list-row-media {
    flex: 0 0 auto;
  }
}

/* ===== Site footer ===== */
.site-footer {
  margin-top: 3rem;
  background: #f8f9fb;
  border-top: 1px solid #e5e7eb;
  color: #374151;
}
.footer-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2.5rem 0 2rem;
}
@media (min-width: 768px) {
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 992px) {
  .footer-columns {
    grid-template-columns: repeat(5, 1fr);
  }
}
.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: 0.9rem;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-col li {
  margin-bottom: 0.6rem;
}
.footer-col a {
  color: #4b5563;
  font-size: 0.85rem;
  text-decoration: none;
}
.footer-col a:hover {
  color: var(--brand-primary);
}
.footer-social-icons {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}
.footer-social-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  font-size: 1rem;
}
.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-text);
  cursor: pointer;
}
.footer-back-to-top:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}
.footer-bottom-bar {
  background: var(--brand-text);
  color: #fff;
  padding: 1rem 0;
}
.footer-bottom-bar .container {
  display: flex;
  justify-content: flex-end;
  font-size: 0.85rem;
  font-weight: 600;
}
[dir="rtl"] .footer-bottom-bar .container {
  justify-content: flex-start;
}
.footer-credit-link {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}
.footer-credit-link:hover {
  color: #fff;
  text-decoration-color: #fff;
}

/* ===== Static info pages (About/Contact/Help/Terms/Privacy) ===== */
.static-page {
  max-width: 760px;
  margin: 0 auto;
}
.static-page h1 {
  margin-bottom: 0.5rem;
}
.static-page h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--brand-text);
  margin: 1.75rem 0 0.75rem;
}
.static-page p,
.static-page li {
  color: #374151;
  line-height: 1.6;
}
.contact-info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (min-width: 576px) {
  .contact-info-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
}
.contact-info-item i {
  font-size: 1.3rem;
  color: var(--brand-primary);
  flex-shrink: 0;
}
.contact-info-item div {
  display: flex;
  flex-direction: column;
}
.contact-info-label {
  font-size: 0.72rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* ===== New-message toast notifications ===== */
.pak-toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 340px;
}
[dir="rtl"] .pak-toast-container {
  right: auto;
  left: 1rem;
}
.pak-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--brand-primary);
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
  padding: 0.85rem 0.9rem;
  cursor: pointer;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
[dir="rtl"] .pak-toast {
  border-left: none;
  border-right: 4px solid var(--brand-primary);
  transform: translateX(-20px);
}
.pak-toast.show {
  opacity: 1;
  transform: translateX(0);
}
.pak-toast-icon {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--brand-primary-light);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.pak-toast-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1 1 auto;
}
.pak-toast-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-text);
}
.pak-toast-snippet {
  font-size: 0.8rem;
  color: #4b5563;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 0.15rem;
}
.pak-toast-meta {
  font-size: 0.72rem;
  color: #9ca3af;
  margin-top: 0.2rem;
}
.pak-toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 1.1rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}
.pak-toast-close:hover {
  color: var(--brand-text);
}

/* Human-friendly HTML sitemap (Views/Seo/SitemapPage.cshtml) — distinct from
   the machine-readable /sitemap.xml, which stays plain XML for crawlers. */
.sitemap-tabs {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.sitemap-tabs .nav-link {
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  padding: 0.75rem 1rem;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #6b7280;
}
.sitemap-tabs .nav-link:hover {
  color: var(--brand-primary);
}
.sitemap-tabs .nav-link.active {
  color: var(--brand-text);
  border-bottom-color: var(--brand-primary);
  background: transparent;
}
.sitemap-section-title {
  text-align: center;
  font-weight: 700;
  color: var(--brand-text);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.sitemap-section-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 2rem;
}
.sitemap-category-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 2.5rem;
  margin-bottom: 1rem;
}
.sitemap-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 6.5rem;
  text-decoration: none;
  color: var(--brand-text);
}
.sitemap-category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 0.6rem;
  transition: transform 0.15s ease-in-out, background 0.15s ease-in-out;
}
.sitemap-category-item:hover .sitemap-category-icon {
  background: var(--brand-primary-dark);
  transform: translateY(-3px);
}
.sitemap-category-name {
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
}
.sitemap-location-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
}
.sitemap-location-links-center {
  justify-content: center;
}
.sitemap-location-links a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
}
.sitemap-location-links a:hover {
  text-decoration: underline;
}
.sitemap-city-groups {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sitemap-city-group h6 {
  font-weight: 700;
  color: var(--brand-text);
  margin-bottom: 0.6rem;
}

/* Promote-an-ad page (Views/Promotions/Choose.cshtml) */
.promote-ad-page {
  max-width: 640px;
}
.promote-package-list,
.promote-gateway-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.promote-package-option,
.promote-gateway-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 0.15s ease-in-out, background 0.15s ease-in-out;
}
.promote-package-option:has(input:checked),
.promote-gateway-option:has(input:checked) {
  border-color: var(--brand-primary);
  background: var(--brand-primary-light);
}
.promote-package-name {
  font-weight: 600;
  color: var(--brand-text);
}
.promote-package-duration {
  color: #6b7280;
  font-size: 0.85rem;
}
.promote-package-price {
  margin-left: auto;
  font-weight: 700;
  color: var(--brand-primary);
}

/* Profile page (Views/Account/Profile.cshtml) */
.profile-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
}
.profile-summary-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #6b7280;
  margin-bottom: 0.25rem;
}
.profile-summary-value {
  font-weight: 600;
  color: var(--brand-text);
}
.profile-package-card {
  height: 100%;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  background: #fff;
}
.profile-package-name {
  font-weight: 600;
  color: var(--brand-text);
}
.profile-package-duration {
  color: #6b7280;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}
.profile-package-price {
  font-weight: 700;
  color: var(--brand-primary);
  font-size: 1.1rem;
}

/* Google Ad slots (Views/Shared/_GoogleAdSlot.cshtml) — the partial itself
   renders nothing when disabled, so there's never a placeholder box to hide;
   this just gives a rendered slot breathing room and a "Advertisement" label
   so it reads as sponsored content, not part of the page's own layout. */
.google-ad-slot {
  margin: 1.5rem 0;
  text-align: center;
  overflow: hidden;
}
.google-ad-slot::before {
  content: "Advertisement";
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  margin-bottom: 0.35rem;
}

/* Admin Settings hub (Areas/Admin/Views/SettingsHub/Index.cshtml) */
.settings-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.settings-hub-group {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
}
.settings-hub-group h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #6b7280;
  margin-bottom: 0.75rem;
}
.settings-hub-group a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  color: var(--brand-text);
  text-decoration: none;
}
.settings-hub-group a:hover {
  color: var(--brand-primary);
}
.settings-hub-group a i {
  color: var(--brand-primary);
  width: 1.1rem;
}
