html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

:root {
  --ink: #182126;
  --sand: #f4efe7;
  --accent: #c56c3b;
  --muted: #6c757d;
  --panel: #fffdf9;
  --line: rgba(24, 33, 38, 0.12);
}

body {
  margin-bottom: 60px;
  background:
    radial-gradient(circle at top left, rgba(197, 108, 59, 0.18), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #f8f4ec 100%);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration-color: rgba(24, 33, 38, 0.32);
}

a:hover {
  color: inherit;
  text-decoration-color: rgba(197, 108, 59, 0.65);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(197, 108, 59, 0.25);
}

.app-shell {
  padding-top: 1rem;
}

.gallery-page-shell {
  max-width: 100%;
}

.admin-page-shell {
  max-width: 100%;
}

.admin-shell {
  padding-top: 1.2rem;
  padding-bottom: 1.5rem;
}

.admin-main {
  display: grid;
  gap: 1.25rem;
}

.hero-shell,
.page-hero,
.content-split,
.featured-section,
.gallery-grid,
.media-grid,
.gallery-shell {
  margin-bottom: 2rem;
}

.hero-shell {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .hero-shell {
    grid-template-columns: 1.7fr 1fr;
    align-items: stretch;
  }
}

.hero-panel,
.hero-side,
.contact-card,
.gallery-card,
.media-card,
.page-hero,
.empty-state {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(24, 33, 38, 0.06);
}

.hero-panel {
  padding: 2.5rem;
}

.hero-panel h1,
.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 12ch;
}

.hero-copy {
  max-width: 48rem;
  font-size: 1.1rem;
  color: rgba(24, 33, 38, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.hero-side {
  display: grid;
  gap: 0.9rem;
  padding: 1.5rem;
  background:
    linear-gradient(135deg, rgba(197, 108, 59, 0.08), rgba(24, 33, 38, 0.02)),
    var(--panel);
}

.hero-side-content {
  display: grid;
  gap: 0.1rem;
}

.hero-side-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
}

.hero-side-title {
  margin: 0 0 0.08rem 0;
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  line-height: 1.05;
}

.hero-service-list {
  display: grid;
  gap: 0.75rem;
}

.hero-service-card {
  padding: 1rem 1.05rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(24, 33, 38, 0.08);
  border-radius: 1rem;
}

.hero-service-card h3 {
  margin-bottom: 0.4rem;
}

.hero-service-card p:last-child {
  margin-bottom: 0;
}

.compact-empty-state {
  margin-bottom: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

.content-split {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .content-split {
    grid-template-columns: 1.6fr 1fr;
  }
}

.contact-card {
  padding: 1.75rem;
}

.rich-text-block p:last-child {
  margin-bottom: 0;
}

.rich-text-block br + br {
  content: "";
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
}

.gallery-grid,
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.gallery-shell {
  display: grid;
  gap: 0.75rem;
  width: 100%;
  margin: 0 auto 3rem;
  background: rgba(255, 255, 255, 0.98);
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 24px 60px rgba(24, 33, 38, 0.08);
}

.gallery-cover {
  position: relative;
  width: 100%;
  height: clamp(260px, 34vw, 430px);
  overflow: hidden;
  margin-bottom: 0;
}

.gallery-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.94);
}

.gallery-cover-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 2.1rem 1.5rem;
  background: linear-gradient(180deg, rgba(24, 33, 38, 0.04) 18%, rgba(24, 33, 38, 0.52) 100%);
}

.gallery-cover-credit {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  font-weight: 700;
}

.gallery-showcase,
.gallery-toolbar,
.gallery-group {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.gallery-showcase {
  padding: 0.15rem 0 0.25rem;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
}

.gallery-showcase h1 {
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 0.2rem;
}

.gallery-showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.gallery-action-button {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.gallery-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  box-shadow: none;
}

.gallery-icon-button:hover,
.gallery-icon-button:focus-visible {
  color: var(--accent);
  background: transparent;
}

.gallery-icon-button-dark {
  color: var(--ink);
}

.gallery-action-icon {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.gallery-action-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gallery-action-icon-fill svg {
  fill: currentColor;
  stroke: none;
}

.gallery-toolbar {
  padding: 0;
}

.basket-panel {
  display: grid;
  gap: 1rem;
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
}

.basket-copy {
  max-width: 42rem;
  margin-bottom: 0;
  color: rgba(24, 33, 38, 0.76);
}

.basket-form {
  display: grid;
  gap: 1rem;
}

.basket-selection-list {
  min-height: 3.5rem;
  padding: 0.9rem 1rem;
  background: rgba(244, 239, 231, 0.58);
  border: 1px solid rgba(24, 33, 38, 0.08);
}

.basket-items {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}

.basket-item {
  word-break: break-word;
}

.basket-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: end;
}

.basket-email-field {
  flex: 1 1 320px;
}

.basket-email-field .form-label {
  margin-bottom: 0.4rem;
}

.gallery-folder-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.gallery-folder-tab {
  border: 1px solid rgba(24, 33, 38, 0.14);
  border-radius: 0;
  padding: 0.42rem 0.72rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.gallery-folder-tab:hover {
  background: rgba(197, 108, 59, 0.08);
  border-color: rgba(197, 108, 59, 0.25);
}

.gallery-folder-tab.is-active {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}

.gallery-group {
  padding: 0;
}

.gallery-group-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.editorial-grid {
  --editorial-gap: 3.6rem;
  position: relative;
  min-height: 0;
}

.editorial-chunk-sentinel {
  height: 1px;
}

.editorial-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
  border: 0;
  background: transparent;
  position: absolute;
}

.basket-toggle-button {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 3;
  width: auto;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(24, 33, 38, 0.72);
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 700;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.basket-toggle-button:hover,
.basket-toggle-button:focus-visible {
  background: rgba(197, 108, 59, 0.92);
  border-color: rgba(197, 108, 59, 0.92);
  opacity: 1;
  transform: translateY(0);
}

.basket-toggle-button.is-selected {
  background: rgba(197, 108, 59, 0.96);
  border-color: rgba(197, 108, 59, 0.96);
  color: white;
  opacity: 1;
  transform: translateY(0);
}

.editorial-launch {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
  background: rgba(24, 33, 38, 0.03);
}

.editorial-launch.is-in-basket::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid rgba(197, 108, 59, 0.95);
  pointer-events: none;
}

.editorial-card:hover .basket-toggle-button,
.editorial-card:focus-within .basket-toggle-button {
  opacity: 1;
  transform: translateY(0);
}

.editorial-preview {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: contain;
}

.gallery-shell .btn,
.gallery-shell .btn-light,
.gallery-shell .btn-outline-dark,
.gallery-shell .btn-outline-light,
.gallery-shell .btn-dark {
  border-radius: 0;
}

.gallery-shell .media-preview,
.gallery-shell .lightbox-media {
  border-radius: 0;
  box-shadow: none;
}

.gallery-shell .media-preview {
  min-height: 0;
  max-height: none;
  height: auto;
  object-fit: contain;
}

.editorial-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: end;
  justify-content: start;
  padding: 0.8rem;
  background: linear-gradient(180deg, rgba(24, 33, 38, 0) 48%, rgba(24, 33, 38, 0.54) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.basket-selected-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: none;
  padding: 0.38rem 0.6rem;
  background: rgba(197, 108, 59, 0.95);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(24, 33, 38, 0.18);
}

.editorial-launch.is-in-basket .basket-selected-badge {
  display: inline-flex;
}

.editorial-launch:hover .editorial-overlay,
.editorial-launch:focus-visible .editorial-overlay {
  opacity: 1;
}

.editorial-meta {
  display: inline-flex;
  border-radius: 0.15rem;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 0.35rem 0.55rem;
  font-weight: 700;
  font-size: 0.78rem;
}

.gallery-card,
.media-card,
.empty-state,
.page-hero {
  padding: 1.5rem;
}

.gallery-meta,
.media-path,
.gallery-path {
  color: var(--muted);
}

.gallery-card h2,
.gallery-card h3,
.media-card h2 {
  margin-bottom: 0.6rem;
}

.portfolio-feature-card {
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
}

.portfolio-feature-preview {
  min-height: 320px;
  max-height: none;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0;
}

.portfolio-feature-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem 1.05rem;
}

.portfolio-feature-copy .gallery-meta {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.service-price {
  margin-top: 0.9rem;
  margin-bottom: 0;
  color: var(--ink);
}

.gallery-card-footer,
.media-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.media-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.media-thumb {
  min-height: 180px;
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(197, 108, 59, 0.18), rgba(24, 33, 38, 0.08)),
    #ece5d8;
  display: flex;
  align-items: start;
  justify-content: start;
  padding: 1rem;
}

.media-thumb-link {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  width: 100%;
}

.media-preview {
  width: 100%;
  min-height: 220px;
  max-height: 360px;
  object-fit: cover;
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(197, 108, 59, 0.18), rgba(24, 33, 38, 0.08)),
    #ece5d8;
}

.media-launch {
  cursor: zoom-in;
}

.media-pill {
  display: inline-flex;
  padding: 0.45rem 0.7rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  font-weight: 700;
}

.dashboard-link {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.dashboard-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(24, 33, 38, 0.08);
}

.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1.5rem 1.6rem;
  background:
    linear-gradient(135deg, rgba(197, 108, 59, 0.12), rgba(24, 33, 38, 0.03)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  box-shadow: 0 16px 40px rgba(24, 33, 38, 0.05);
}

.admin-mode .alert {
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  box-shadow: 0 14px 32px rgba(24, 33, 38, 0.05);
}

.admin-mode .card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(24, 33, 38, 0.06);
  overflow: hidden;
}

.admin-mode .card-body {
  padding: 1.5rem;
}

.admin-mode .card-footer {
  padding: 1.15rem 1.5rem 1.4rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 239, 231, 0.82));
  border-top: 1px solid rgba(24, 33, 38, 0.08);
}

.admin-mode .table-responsive {
  border-radius: 1.5rem;
}

.admin-mode .table {
  margin-bottom: 0;
  --bs-table-bg: transparent;
  --bs-table-striped-bg: rgba(244, 239, 231, 0.72);
  --bs-table-hover-bg: rgba(197, 108, 59, 0.06);
}

.admin-mode .table thead th {
  padding: 1rem 1rem 0.95rem;
  font-size: 0.77rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  border-bottom-width: 1px;
  border-bottom-color: rgba(24, 33, 38, 0.08);
}

.admin-mode .table tbody td {
  padding: 1rem;
  border-color: rgba(24, 33, 38, 0.06);
}

.admin-mode .list-group {
  gap: 0.85rem;
}

.admin-mode .list-group-item {
  border: 1px solid rgba(24, 33, 38, 0.08);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.88);
  padding: 1rem 1.05rem;
}

.admin-mode .list-group-item + .list-group-item {
  border-top-width: 1px;
}

.admin-mode .list-group-item-action {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.admin-mode .list-group-item-action:hover,
.admin-mode .list-group-item-action:focus {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(24, 33, 38, 0.06);
  border-color: rgba(197, 108, 59, 0.25);
}

.admin-mode .form-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
}

.admin-mode .form-text {
  color: var(--muted);
}

.admin-mode .form-control,
.admin-mode .form-select {
  min-height: 3rem;
  border-radius: 1rem;
  border-color: rgba(24, 33, 38, 0.12);
  background: rgba(255, 255, 255, 0.94);
  padding-inline: 0.95rem;
}

.admin-mode textarea.form-control {
  min-height: unset;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.admin-mode .form-check {
  padding: 0.95rem 1rem 0.95rem 2.4rem;
  border: 1px solid rgba(24, 33, 38, 0.08);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.74);
}

.admin-mode .form-check-input {
  margin-top: 0.1rem;
}

.admin-mode .btn {
  border-radius: 999px;
  padding-inline: 1rem;
}

.admin-mode .btn-sm {
  border-radius: 999px;
}

.admin-mode .btn-outline-secondary,
.admin-mode .btn-outline-dark,
.admin-mode .btn-outline-danger {
  background: rgba(255, 255, 255, 0.72);
}

.admin-mode .badge {
  border-radius: 999px;
  padding: 0.45rem 0.7rem;
}

.admin-mode code {
  padding: 0.18rem 0.45rem;
  border-radius: 0.55rem;
  background: rgba(24, 33, 38, 0.06);
  color: var(--ink);
}

.admin-mode .text-danger {
  color: #a63b2b !important;
}

.admin-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.admin-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.admin-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.admin-dashboard-shell {
  display: grid;
  gap: 1.6rem;
}

.admin-dashboard-hero,
.dashboard-panel,
.admin-dashboard-steps {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 20px 50px rgba(24, 33, 38, 0.06);
}

.admin-dashboard-hero {
  padding: 2rem 2.1rem;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 1.25rem;
  align-items: stretch;
  background:
    radial-gradient(circle at top right, rgba(197, 108, 59, 0.18), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 239, 231, 0.98));
}

.admin-dashboard-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.admin-dashboard-title {
  margin: 0.25rem 0 0.85rem;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.admin-dashboard-lead {
  max-width: 46rem;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--muted);
}

.admin-dashboard-spotlight {
  position: relative;
  overflow: hidden;
  padding: 1.4rem 1.45rem;
  border-radius: 1.2rem;
  background:
    linear-gradient(150deg, rgba(24, 33, 38, 0.97), rgba(40, 50, 56, 0.92));
  color: #f9f4ed;
}

.admin-dashboard-spotlight::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(197, 108, 59, 0.22);
}

.admin-dashboard-spotlight-copy {
  position: relative;
  margin: 0 0 1.2rem;
  line-height: 1.65;
  color: rgba(249, 244, 237, 0.82);
}

.admin-dashboard-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  position: relative;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.15rem;
}

.dashboard-panel {
  padding: 1.45rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.dashboard-panel::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: rgba(197, 108, 59, 0.11);
}

.dashboard-panel > * {
  position: relative;
  z-index: 1;
}

.dashboard-card-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: auto;
  border-radius: 999px;
  border: 1px solid rgba(24, 33, 38, 0.1);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.dashboard-kicker {
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent);
}

.dashboard-card-copy {
  color: var(--muted);
  line-height: 1.65;
}

.admin-dashboard-steps {
  padding: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(197, 108, 59, 0.08), transparent 22%),
    var(--panel);
}

.admin-dashboard-steps .dashboard-kicker {
  margin-bottom: 0.35rem;
}

.admin-dashboard-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.admin-step-card {
  padding: 1.2rem 1.15rem;
  border-radius: 1.15rem;
  border: 1px solid rgba(24, 33, 38, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

.admin-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: rgba(197, 108, 59, 0.13);
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 768px) {
  .admin-page-header,
  .admin-dashboard-hero {
    grid-template-columns: 1fr;
  }
}

.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 18, 20, 0.92);
  z-index: 1055;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.lightbox-stage {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-media {
  max-width: 100%;
  max-height: 100%;
  border-radius: 1rem;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  background: #11181c;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.12);
  color: white;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.lightbox-toolbar {
  position: absolute;
  left: 1rem;
  right: 5.75rem;
  top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-start;
}

.lightbox-toolbar .btn {
  border-radius: 999px;
  padding-inline: 1rem;
}

@media (min-width: 640px) {
  .editorial-grid {
    --editorial-gap: 4.2rem;
  }
}

@media (min-width: 960px) {
  .editorial-grid {
    --editorial-gap: 4.8rem;
  }
}

@media (min-width: 1280px) {
  .editorial-grid {
    --editorial-gap: 5.1rem;
  }
}

@media (min-width: 1600px) {
  .editorial-grid {
    --editorial-gap: 5.4rem;
  }
}

@media (max-width: 640px) {
  .gallery-shell {
    padding: 0.8rem 0.8rem 1rem;
  }

  .gallery-showcase,
  .gallery-group-header {
    flex-direction: column;
    align-items: stretch;
  }

  .gallery-cover {
    height: 220px;
  }

  .lightbox {
    padding: 0.75rem;
  }

  .lightbox-toolbar {
    top: auto;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    justify-content: stretch;
  }

  .lightbox-toolbar .btn {
    flex: 1 1 0;
  }

  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
  }
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}
