.photographer-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background: #101820;
  overflow: hidden;
  padding-top: 128px;
}
.photographer-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,24,32,.88), rgba(16,24,32,.58), rgba(16,24,32,.28)), var(--photo-hero, url("../assets/img/home/car-club-hero-1600.jpg")) center/cover;
}
.photographer-hero .container { position: relative; padding-top: 24px; padding-bottom: 64px; }
.photographer-hero h1 {
  max-width: 760px;
  margin: 8px 0 14px;
  color: #fff;
  font-size: clamp(2.15rem, 4.4vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,.34);
}
.photographer-hero p { max-width: 720px; color: rgba(255,255,255,.9); font-size: 1.05rem; }
.photographer-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.photographer-actions-inline { display: flex; flex-wrap: wrap; gap: 12px; }
.profile-book-photographer { box-shadow:0 10px 28px rgba(7,94,232,.3); }
.profile-book-photographer:hover,.profile-book-photographer:focus { transform:translateY(-1px); }
#photographerBookingArea { scroll-margin-top:110px; }
.photographer-shell { padding: 52px 0; background: #f6f8fb; }
.photographer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 360px)); gap: 22px; align-items: stretch; }
.photo-competition-ad {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: end;
  min-height: 260px;
  margin-bottom: 28px;
  padding: 28px;
  overflow: hidden;
  border-radius: 8px;
  color: #fff;
  background: #101820;
}
.photo-competition-ad::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,24,32,.92), rgba(16,24,32,.56), rgba(16,24,32,.18)), var(--competition-cover, url("../assets/img/home/car-club-hero-1600.jpg")) center/cover;
}
.photo-competition-ad > * { position: relative; z-index: 1; }
.photo-competition-ad h2 { max-width: 720px; margin: 8px 0; color: #fff; font-size: 2rem; line-height: 1.05; }
.photo-competition-ad p { max-width: 760px; margin: 0 0 10px; color: rgba(255,255,255,.86); }
.photo-competition-ad small { color: rgba(255,255,255,.78); font-weight: 800; }
.photographer-listing-toolbar {
  align-items: center;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(16,24,32,.06);
}
.photographer-listing-toolbar .club-search-fields {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(160px, 210px);
  gap: 10px;
  min-width: min(100%, 460px);
  flex: 1 1 460px;
}
.photographer-listing-toolbar .listing-search,
.photographer-listing-toolbar .club-country-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 44px;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
}
.photographer-listing-toolbar .listing-search i,
.photographer-listing-toolbar .club-country-filter i { color: #1479d4; }
.photographer-listing-toolbar .listing-search .form-control,
.photographer-listing-toolbar .club-country-filter .form-control {
  min-height: 0;
  height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.photographer-listing-toolbar .listing-filter-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  flex: 1 1 360px;
}
.photographer-listing-toolbar .filter-btn {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
}
.photographer-listing-toolbar .listing-view-toggle { flex: 0 0 auto; background: #fff; }
.photographer-refine-bar {
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}
.photographer-refine-bar .event-segmented { max-width: 100%; overflow-x: auto; }
.photographer-refine-bar select.form-control {
  width: auto;
  min-width: 210px;
  margin-left: auto;
}
.photographer-card {
  display: flex;
  min-height: 360px;
  position: relative;
  overflow: hidden;
  color: #fff;
  border-radius: 8px;
  background: #18212b;
  box-shadow: 0 18px 44px rgba(16,24,32,.16);
}
.photographer-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.photographer-card:hover img, .photographer-card:focus img { transform: scale(1.04); }
.photographer-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,24,32,.12), rgba(16,24,32,.9)); }
.photographer-card-body { position: relative; z-index: 1; align-self: flex-end; width: 100%; padding: 22px; }
.photographer-card span, .photo-kicker { display: block; color: #ffcf5a; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.photographer-card h2, .photographer-card h3 { margin: 6px 0; color: #fff; font-size: 1.45rem; }
.photographer-card p { margin: 0; color: rgba(255,255,255,.82); }
.photographer-directory-card { text-decoration: none; }
.photographer-card-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.photographer-card-meta small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
}
.photographer-list-view {
  display: grid;
  grid-template-columns: 1fr;
}
.photographer-list-row {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e3e9f0;
  border-radius: 8px;
  background: #fff;
  color: #18212b;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(16,24,32,.06);
}
.photographer-list-row:hover, .photographer-list-row:focus { color: #18212b; transform: translateY(-1px); }
.photographer-list-row img { width: 130px; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; display: block; }
.photographer-list-row span { color: #667085; font-size: .82rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.photographer-list-row h3 { margin: 4px 0; color: #18212b; font-size: 1.18rem; }
.photographer-list-row p { margin: 0; color: #536171; }
.photographer-list-row strong { display: grid; text-align: right; color: #18212b; font-size: 1.5rem; line-height: 1; }
.photographer-list-row strong small { margin-top: 4px; color: #667085; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.photo-empty, .photo-loading {
  padding: 34px;
  border: 1px dashed #c9d3df;
  border-radius: 8px;
  background: #fff;
  color: #536171;
}
.photographer-profile-head { display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: end; }
.photographer-avatar { width: 120px; height: 120px; border-radius: 8px; object-fit: cover; border: 3px solid rgba(255,255,255,.88); background: #fff; }
.photo-meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.photo-meta-row span { padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font-size: .88rem; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items:start; }
.portfolio-grid .portfolio-card { width:100%; max-width:none; }
.portfolio-card { border-radius: 8px; overflow: hidden; background: #fff; box-shadow: 0 10px 28px rgba(16,24,32,.1); }
.portfolio-card-clickable { cursor: zoom-in; }
.portfolio-card-clickable:focus { outline: 3px solid #1479d4; outline-offset: 3px; }
.portfolio-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.portfolio-card div { padding: 12px; }
.portfolio-card h3 { margin: 0 0 5px; font-size: .94rem; line-height: 1.2; }
.portfolio-card p { margin: 0; color: #536171; font-size: .82rem; line-height: 1.4; }
.photo-rating-summary { display: flex; align-items: center; gap: 6px; margin-top: 10px !important; color: #344054 !important; font-weight: 800; }
.photo-rating-summary i { color: #d99100; }
.photo-rating-note { display: block; margin-top: 10px; color: #667085; font-weight: 800; }
.photographer-dashboard { display: grid; grid-template-columns: minmax(220px, 290px) 1fr; gap: 22px; align-items: start; }
.photo-panel { background: #fff; border-radius: 8px; padding: 22px; box-shadow: 0 12px 34px rgba(16,24,32,.08); }
.photo-panel + .photo-panel { margin-top: 18px; }
.photo-sidebar { position: sticky; top: 92px; }
.photo-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.photo-form-grid .wide { grid-column: 1 / -1; }
.photo-form-grid label { font-weight: 800; color: #18212b; }
.photo-form-grid small { display: block; margin-top: 5px; color: #667085; font-weight: 500; }
.photo-upload-progress {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #d7e5f5;
  border-radius: 8px;
  background: #eef4fb;
}
.photo-upload-progress[hidden] { display: none; }
.photo-upload-progress > div { flex: 1; min-width: 0; }
.photo-upload-progress strong { display: block; margin-bottom: 7px; color: #18212b; }
.photo-upload-progress progress { width: 100%; height: 10px; accent-color: #1479d4; }
.photo-upload-spinner {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border: 3px solid #cfe0f2;
  border-top-color: #1479d4;
  border-radius: 50%;
  animation: photo-spin .8s linear infinite;
}
.photo-warning { padding: 14px; border:1px solid #e8c568; border-radius: 8px; background: #fff4d6 !important; color: #4b3308 !important; font-weight: 700; }
.photo-list { display: grid; gap: 14px; }
.photo-admin-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid #e6ebf1; border-radius: 8px; }
.photo-admin-row img { width: 120px; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; }
.photo-admin-page { background: #f6f8fb; }
.photo-admin-status {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid #b7d7c2;
  border-radius: 8px;
  background: #ecfdf3;
  color: #14532d;
  font-weight: 800;
}
.photo-admin-status.is-error {
  border-color: #f2b8b5;
  background: #fef3f2;
  color: #b42318;
}
.photo-admin-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.photo-admin-summary article {
  padding: 16px;
  border: 1px solid #e3e9f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(16,24,32,.06);
}
.photo-admin-summary span {
  display: block;
  color: #667085;
  font-size: .82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.photo-admin-summary strong { display: block; margin-top: 6px; color: #18212b; font-size: 1.8rem; line-height: 1; }
.photo-admin-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 18px;
  padding-bottom: 4px;
}
.photo-admin-tabs a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #fff;
  color: #344054;
  font-weight: 800;
}
.photo-admin-card { border: 0; border-radius: 8px; box-shadow: 0 12px 34px rgba(16,24,32,.08); overflow: hidden; }
.photo-admin-card-header { gap: 14px; align-items: center; background: #fff; border-bottom: 1px solid #edf1f5; }
.photo-admin-card-header h2 { margin: 0; font-size: 1.15rem; color: #18212b; }
.photo-admin-card-header span { color: #667085; }
.photo-admin-card-header .form-control { max-width: 280px; }
.photo-admin-media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 16px; }
.photo-admin-media-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 210px;
  border: 1px solid #e3e9f0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}
.photo-admin-preview { display: block; min-height: 210px; background: #101820; }
.photo-admin-preview img { width: 100%; height: 100%; min-height: 210px; object-fit: cover; display: block; }
.photo-admin-media-body { display: flex; flex-direction: column; gap: 10px; padding: 14px; min-width: 0; }
.photo-admin-media-title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.photo-admin-media-title h3 { margin: 0; color: #18212b; font-size: 1.05rem; }
.photo-admin-media-body p { margin: 0; color: #536171; }
.photo-admin-media-body dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
.photo-admin-media-body dl div { min-width: 0; padding: 8px; border-radius: 6px; background: #f6f8fb; }
.photo-admin-media-body dt { color: #667085; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.photo-admin-media-body dd { margin: 2px 0 0; color: #18212b; overflow-wrap: anywhere; }
.photo-admin-media-body footer, .photo-admin-profile-card footer, .photo-admin-compact-row footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.photo-admin-cover-preview {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  background: #101820;
}
.photo-admin-cover-preview[hidden] { display: none; }
.photo-admin-cover-preview img { width: 100%; height: 220px; object-fit: cover; display: block; }
.photo-admin-cover-preview span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(16,24,32,.72);
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}
.photo-admin-profile-list, .photo-admin-compact-list, .photo-admin-entry-list { display: grid; gap: 12px; }
.photo-admin-profile-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #e3e9f0;
  border-radius: 8px;
  background: #fff;
}
.photo-admin-avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e8eef5;
  color: #344054;
  font-weight: 900;
  overflow: hidden;
}
.photo-admin-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-admin-profile-card h3, .photo-admin-compact-row h3, .photo-admin-report h3 { margin: 5px 0; color: #18212b; font-size: 1.05rem; }
.photo-admin-profile-card p, .photo-admin-compact-row p, .photo-admin-report p { margin: 0; color: #536171; }
.photo-admin-compact-row {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e3e9f0;
  border-radius: 8px;
  background: #fff;
}
.photo-admin-compact-row img, .photo-admin-image-placeholder { width: 110px; aspect-ratio: 4/3; object-fit: cover; border-radius: 6px; background: #e8eef5; }
.photo-admin-entry-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border: 1px solid #e3e9f0;
  border-radius: 8px;
  background: #fff;
}
.photo-admin-entry-thumb {
  display: block;
  width: 92px;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 6px;
  background: #101820;
}
.photo-admin-entry-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-admin-entry-detail { min-width: 0; }
.photo-admin-entry-detail h3 {
  margin: 5px 0 2px;
  color: #18212b;
  font-size: 1.02rem;
  overflow-wrap: anywhere;
}
.photo-admin-entry-detail small {
  display: block;
  color: #667085;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.photo-admin-entry-row footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.photo-admin-report {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid #e3e9f0;
  border-radius: 8px;
  background: #fff;
}
.photo-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.photo-status-success { background: #dcfce7; color: #166534; }
.photo-status-warning { background: #fff4d6; color: #92400e; }
.photo-status-secondary { background: #eef2f6; color: #475467; }
.photo-status-danger { background: #fee4e2; color: #b42318; }
.competition-layout, .competition-page-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr); gap: 24px; align-items: start; }
.photo-competition-list { display: grid; gap: 18px; }
.competition-card {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e0e6ed;
  box-shadow: 0 5px 18px rgba(17,24,32,.055);
}
.competition-card-hero {
  position: relative;
  min-height: 168px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #fff;
  background: #101820;
}
.competition-card-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,24,32,.92), rgba(16,24,32,.64), rgba(16,24,32,.22)), var(--competition-cover, url("../assets/img/home/car-club-hero-1600.jpg")) center/cover;
}
.competition-card-hero > div { position: relative; z-index: 1; max-width: 760px; }
.competition-card-hero h2 { margin: 5px 0; color: #fff; font-size: 1.35rem; line-height: 1.12; }
.competition-card-hero p {
  display: -webkit-box;
  max-width: 680px;
  overflow: hidden;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: .9rem;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.competition-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 14px 0;
}
.competition-meta-grid span {
  display: block;
  min-width: 0;
  padding: 9px 10px;
  border-radius: 8px;
  background: #f6f8fb;
  color: #344054;
  font-size: .86rem;
  line-height: 1.25;
}
.competition-meta-grid strong {
  display: block;
  margin-bottom: 3px;
  color: #667085;
  font-size: .66rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.competition-note {
  margin: 10px 14px 0;
  color: #536171;
  font-size: .86rem;
  line-height: 1.45;
}
.competition-submit-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin: 12px 14px 0;
  padding: 10px 12px;
  border: 1px solid #dbe6f2;
  border-radius: 8px;
  background: #f6f9fc;
}
.competition-submit-panel.is-muted {
  background: #f6f8fb;
  border-color: #e3e9f0;
}
.competition-submit-panel strong {
  display: block;
  color: #18212b;
  font-size: .9rem;
  line-height: 1.2;
}
.competition-submit-panel p {
  margin: 3px 0 0;
  color: #536171;
  font-size: .82rem;
  line-height: 1.35;
}
.competition-submit-panel .form-control {
  max-width: 320px;
  min-height: 36px;
  margin-top: 8px;
  padding: 6px 10px;
  background: #fff;
  font-size: .86rem;
}
.competition-submit-panel .btn {
  min-height: 36px;
  padding: 7px 10px;
  font-size: .8rem;
  white-space: nowrap;
}
.competition-entry-grid {
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  padding: 16px;
}
.competition-entry-grid .portfolio-card {
  min-width: 0;
  border: 1px solid #e0e6ed;
  box-shadow: 0 5px 18px rgba(17,24,32,.055);
}
.competition-entry-grid .portfolio-card img {
  aspect-ratio: 4/3;
  min-height: 190px;
}
.competition-entry-grid .portfolio-card div {
  min-width: 0;
  padding: 12px;
}
.competition-entry-grid .portfolio-card h3 {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 4px;
  font-size: .92rem;
  line-height: 1.18;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.competition-entry-grid .portfolio-card p {
  display: -webkit-box;
  overflow: hidden;
  font-size: .78rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.competition-entry-grid .photo-rating-summary,
.competition-entry-grid .photo-rating-note {
  margin-top: 7px !important;
  font-size: .76rem;
}
.competition-entry-grid .star-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
  margin-top: 10px;
}
.competition-entry-grid .star-row button {
  width: 100%;
  min-width: 0;
  height: 34px;
  font-size: .78rem;
}
.competition-winner-panel { position: sticky; top: 92px; }
.star-row { display: inline-flex; gap: 5px; }
.star-row button { width: 30px; height: 30px; padding: 0; border: 1px solid #d6dde6; border-radius: 6px; background: #fff; color: #b7791f; font-size: .78rem; font-weight: 900; }
.star-row button:hover, .star-row button:focus, .star-row button.is-selected { border-color: #d99100; background: #fff4d6; color: #7a4a00; }
.photo-star-row { margin-top: 10px; }
.photo-lightbox-open { overflow: hidden; }
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(6, 12, 20, .88);
}
.photo-lightbox[hidden] { display: none; }
.photo-lightbox-frame {
  width: min(1180px, 100%);
  max-height: calc(100vh - 52px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  overflow: hidden;
  border-radius: 8px;
  background: #0d1620;
  box-shadow: 0 22px 70px rgba(0,0,0,.42);
}
.photo-lightbox-frame img {
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 52px);
  object-fit: contain;
  background: #060c14;
}
.photo-lightbox-detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 22px;
  background: #0d1620;
  color: #fff;
}
.photo-lightbox-detail h2 { margin: 0; color: #fff; font-size: 1.35rem; }
.photo-lightbox-detail p { margin: 0; color: #d6e0ea; }
.photo-lightbox-detail small { color: #aebdca; font-weight: 800; }
.photo-lightbox-detail .photo-rating-summary { color: #f1f5f9 !important; }
.photo-lightbox-detail .photo-rating-note { color: #aebdca; }
.photo-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2001;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 8px;
  background: rgba(16,24,32,.78);
  color: #fff;
}
.photo-rating-panel { margin-top: auto; padding-top: 12px; border-top: 1px solid #324252; }
.photo-booking-toggle { display:flex !important; align-items:flex-start; gap:10px; padding:14px; border:1px solid #cbd5e1; border-radius:8px; background:#f7f9fc !important; color:#18212b !important; }
.photo-booking-toggle input { margin-top:5px; }
.photo-booking-toggle span,.photo-booking-toggle small { display:block; }
.photo-booking-toggle strong { color:#18212b !important; }
.photo-booking-toggle small { margin-top:4px; color:#526173 !important; font-weight:600; }
html[data-theme] .photographer-shell .photo-warning { color:#4b3308 !important; }
html[data-theme] .photographer-shell .photo-booking-toggle,
html[data-theme] .photographer-shell .photo-booking-toggle span,
html[data-theme] .photographer-shell .photo-booking-toggle strong { color:#18212b !important; }
html[data-theme] .photographer-shell .photo-booking-toggle small { color:#526173 !important; }
.photographer-booking-public { margin-top:24px; padding:24px; }
.photographer-booking-public > div { margin-bottom:18px; }
.photo-calendar-toolbar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 14px; }
.photo-calendar-toolbar > strong { color:var(--color-text-primary,var(--color-text,#18212b)); font-size:1.05rem; }
.photo-calendar-toolbar .btn { min-width:92px; border:1px solid var(--color-border-default,var(--color-border,#cbd5e1)); background:var(--color-surface-2,var(--color-surface-elevated,#eef2f6)); color:var(--color-text-primary,var(--color-text,#18212b)); font-weight:800; }
.photo-calendar-toolbar .btn:hover,.photo-calendar-toolbar .btn:focus-visible { border-color:var(--color-border-accent,#1684ff); background:var(--color-surface-hover,#e4edf6); color:var(--color-text-primary,var(--color-text,#18212b)); }
.photo-booking-calendar { overflow-x:auto; border:1px solid var(--color-border-default,var(--color-border,#d7e0e8)); border-radius:10px; background:var(--color-surface-2,var(--color-surface-elevated,#f5f7fa)); scrollbar-color:#54708a transparent; }
.photo-calendar-weekdays,.photo-calendar-days { display:grid; grid-template-columns:repeat(7,minmax(76px,1fr)); min-width:560px; }
.photo-calendar-weekdays { border-bottom:1px solid var(--color-border-default,var(--color-border,#d7e0e8)); background:var(--color-surface-3,var(--color-surface-elevated,#e9eff5)); }
.photo-calendar-weekdays strong { padding:10px 6px; text-align:center; color:var(--color-text-secondary,var(--color-text-muted,#526173)); font-size:.72rem; letter-spacing:.05em; text-transform:uppercase; }
.photo-calendar-days > div { min-height:94px; padding:8px; border:1px solid #e2e8f0; background:#fff; }
.photo-calendar-days > div.has-booking { background:#f0f7ff; }
.photo-calendar-days > div > strong { display:block; margin-bottom:6px; }
.photo-calendar-days span { display:block; overflow:hidden; margin-top:4px; padding:4px 6px; border-radius:4px; background:#dbeafe; font-size:.7rem; text-overflow:ellipsis; white-space:nowrap; }
.photo-calendar-days span.status-confirmed { background:#dcfce7; color:#166534; }
.photo-booking-card { border:1px solid #33475b; border-radius:8px; background:#111d2a; color:#e8eef5; overflow:hidden; }
.photo-booking-card summary { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 13px; cursor:pointer; list-style:none; }
.photo-booking-card summary::-webkit-details-marker { display:none; }
.photo-booking-card summary::before { content:"+"; color:#1479d4; font-size:1.1rem; font-weight:900; }
.photo-booking-card[open] summary::before { content:"−"; }
.photo-booking-card summary > span:first-of-type { flex:1; min-width:0; }
.photo-booking-card summary strong,.photo-booking-card summary small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.photo-booking-card summary strong { color:#fff; }
.photo-booking-card summary small { margin-top:2px; color:#aebdca; font-size:.76rem; }
.photo-booking-status { padding:4px 8px; border-radius:999px; background:#26384a; color:#dbe8f3; font-size:.7rem; text-transform:capitalize; }
.photo-booking-detail { padding:0 13px 13px; border-top:1px solid #33475b; color:#d3dee8; }
.photo-booking-detail p,.photo-booking-detail strong { color:inherit; }
.photo-booking-card p { margin:9px 0 0; }
.photo-booking-card footer { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.photo-booking-cancel { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px; margin-top:14px; padding-top:12px; border-top:1px solid #704340; }
.photo-booking-cancel label { display:flex; align-items:center; gap:7px; margin:0; font-size:.82rem; font-weight:700; }
.photo-booking-cancel button:disabled { cursor:not-allowed; opacity:.45; }
.photo-booking-consent { display:flex !important; align-items:flex-start; gap:9px; padding:14px; border:1px solid #334b62; border-radius:8px; background:#0d1a28 !important; color:#f1f5f9 !important; font-size:.86rem; line-height:1.45; }
.photo-booking-consent span { color:#f1f5f9 !important; }
.photo-booking-consent input { flex:0 0 auto; margin-top:4px; }
.photographer-booking-public button[type="submit"]:disabled { cursor:not-allowed; filter:grayscale(.35); opacity:.45; box-shadow:none; }
.photo-public-availability { margin:18px 0 22px; padding:18px; border:1px solid var(--color-border-default,var(--color-border,#dce4ec)); border-radius:12px; background:var(--color-surface-2,var(--color-surface-elevated,#f8fafc)); }
.photo-public-days button { position:relative; min-height:82px; padding:10px; border:0; border-right:1px solid var(--color-border-default,var(--color-border,#dce4ec)); border-bottom:1px solid var(--color-border-default,var(--color-border,#dce4ec)); text-align:left; transition:border-color .18s,background .18s,transform .18s,box-shadow .18s; }
.photo-public-days button strong,.photo-public-days button small { display:block; }
.photo-public-days button strong { margin-bottom:6px; color:inherit; font-size:1rem; }
.photo-public-days button small { color:inherit; font-size:.68rem; font-weight:800; text-transform:uppercase; }
.photo-public-days button.is-available { background:#102f27; color:#8ee7bc; cursor:pointer; }
.photo-public-days button.is-available:hover,.photo-public-days button.is-available:focus-visible { z-index:1; background:#164535; color:#c8f8df; box-shadow:inset 0 0 0 2px #39d98a; transform:translateY(-1px); }
.photo-public-days button.is-available.is-selected { z-index:2; background:#075ee8; color:#fff; box-shadow:inset 0 0 0 2px #8bc4ff,0 5px 16px rgba(7,94,232,.28); }
.photo-public-days button.is-booked { background:#351a24; color:#ffadc0; }
.photo-public-days button.is-past { background:#172331; color:#7f91a3; }
.photo-calendar-legend { display:flex; flex-wrap:wrap; gap:14px; margin-top:13px; color:var(--color-text-secondary,var(--color-text-muted,#526173)); font-size:.75rem; font-weight:750; }
.photo-calendar-legend span { display:inline-flex; align-items:center; gap:7px; }
.photo-calendar-legend span::before { width:10px; height:10px; border-radius:50%; content:""; }
.photo-calendar-legend .is-available::before { background:#39d98a; }
.photo-calendar-legend .is-booked::before { background:#f06b86; }
.photo-calendar-legend .is-past::before { background:#7f91a3; }
html[data-theme="light"] .photo-public-days button.is-available { background:#e7f8ef; color:#145c39; }
html[data-theme="light"] .photo-public-days button.is-available:hover,html[data-theme="light"] .photo-public-days button.is-available:focus-visible { background:#d2f3e0; color:#0c482c; }
html[data-theme="light"] .photo-public-days button.is-available.is-selected { background:#075ee8; color:#fff; }
html[data-theme="light"] .photo-public-days button.is-booked { background:#fff0f3; color:#8f1737; }
html[data-theme="light"] .photo-public-days button.is-past { background:#edf2f6; color:#647688; }
.photographer-shell .disclaimer { margin-top:32px; padding:18px; border:1px solid #334b62; border-radius:8px; background:#0d1a28 !important; color:#f1f5f9 !important; font-weight:600; line-height:1.6; }
@keyframes photo-spin {
  to { transform: rotate(360deg); }
}
@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photographer-dashboard, .competition-layout, .competition-page-layout, .photographer-profile-head { grid-template-columns: 1fr; }
  .photo-sidebar { position: static; }
  .photo-form-grid { grid-template-columns: 1fr; }
  .photo-admin-row { grid-template-columns: 88px 1fr; }
  .photo-admin-row footer { grid-column: 1 / -1; }
  .photographer-hero { min-height: 340px; }
  .photographer-hero { padding-top: 96px; }
  .photographer-hero .container { padding-top: 18px; padding-bottom: 42px; }
  .photographer-hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .photographer-grid { grid-template-columns: 1fr; }
  .photographer-listing-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .photographer-listing-toolbar .club-search-fields {
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
  }
  .photographer-listing-toolbar .listing-filter-group {
    justify-content: flex-start;
  }
  .photographer-listing-toolbar .listing-view-toggle {
    width: 100%;
  }
  .photographer-listing-toolbar .listing-view-toggle button {
    justify-content: center;
    flex: 1;
  }
  .photographer-refine-bar {
    align-items: stretch;
    flex-direction: column;
  }
  .photographer-refine-bar select.form-control {
    width: 100%;
    margin-left: 0;
  }
  .photo-competition-ad { grid-template-columns: 1fr; min-height: 300px; padding: 22px; }
  .photo-competition-ad h2 { font-size: 1.55rem; }
  .competition-card-hero { min-height: 150px; padding: 16px; }
  .competition-card-hero h2 { font-size: 1.22rem; }
  .competition-meta-grid { grid-template-columns: 1fr; }
  .competition-submit-panel { grid-template-columns: 1fr; }
  .competition-submit-panel .form-control { max-width: none; }
  .competition-entry-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; padding: 12px; }
  .competition-entry-grid .portfolio-card img { min-height: 160px; }
  .competition-winner-panel { position: static; }
  .photo-lightbox { padding: 14px; align-items: end; }
  .photo-lightbox-frame { grid-template-columns: 1fr; max-height: calc(100vh - 28px); }
  .photo-lightbox-frame img { max-height: 58vh; }
  .photo-lightbox-detail { max-height: 36vh; padding: 16px; }
  .photo-lightbox-close { top: 10px; right: 10px; }
  .photographer-list-row { grid-template-columns: 96px minmax(0, 1fr); }
  .photographer-list-row img { width: 96px; }
  .photographer-list-row strong { grid-column: 1 / -1; text-align: left; }
  .photo-admin-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-admin-media-grid { grid-template-columns: 1fr; }
  .photo-admin-media-card, .photo-admin-profile-card, .photo-admin-compact-row, .photo-admin-entry-row { grid-template-columns: 1fr; }
  .photo-admin-entry-thumb { width: 100%; max-width: 220px; }
  .photo-admin-entry-row footer { justify-content: flex-start; }
  .photo-admin-preview, .photo-admin-preview img { min-height: 240px; }
  .photo-admin-media-body dl { grid-template-columns: 1fr; }
  .photo-admin-card-header .form-control { max-width: none; }
}
@media (max-width: 560px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .photo-public-availability { padding:12px; }
  .photo-calendar-toolbar { gap:7px; }
  .photo-calendar-toolbar > strong { font-size:.9rem; text-align:center; }
  .photo-calendar-toolbar .btn { min-width:72px; padding:7px 8px; font-size:.72rem; }
}

/* Public photographer directory — aligned with the current home experience. */
.photographer-directory-page {
  background: var(--color-background, #f4f7fb);
  color: var(--color-text, #111820);
  overflow: hidden;
}
.photographer-directory-hero {
  min-height: 720px;
  align-items: center;
  padding: 112px 0 40px;
  background: #03070d;
}
.photographer-directory-hero::before {
  background:
    linear-gradient(90deg, rgba(3,7,13,.98) 2%, rgba(3,7,13,.82) 43%, rgba(3,7,13,.28) 76%),
    linear-gradient(0deg, #03070d 0%, transparent 34%),
    url("../assets/img/home/events-hero.png") center/cover;
  transform: scale(1.01);
}
.photographer-directory-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  width: 100%;
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}
.photographer-directory-hero__copy { max-width: 880px; }
.photographer-directory-hero .photo-kicker,
.photographer-section-heading > span {
  color: #1684ff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.photographer-directory-hero h1 {
  max-width: 900px;
  margin: 20px 0 26px;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(4rem, 7.6vw, 7.4rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .88;
  text-transform: uppercase;
}
.photographer-directory-hero h1 em,
.photographer-section-heading h2 em { color: #1684ff; font-style: normal; }
.photographer-directory-hero p { max-width: 680px; margin: 0; font-size: 1.1rem; line-height: 1.75; }
.photo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.photo-cta:hover, .photo-cta:focus { transform: translateY(-2px); text-decoration: none; }
.photo-cta--primary { background: #076ee8; color: #fff; }
.photo-cta--primary:hover, .photo-cta--primary:focus { background: #1684ff; color: #fff; }
.photo-cta--secondary { border-color: rgba(255,255,255,.34); background: rgba(3,7,13,.38); color: #fff; }
.photo-cta--secondary:hover, .photo-cta--secondary:focus { border-color: #fff; color: #fff; }
.photographer-hero-proof { display: grid; gap: 1px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.12); box-shadow: 0 28px 70px rgba(0,0,0,.34); }
.photographer-hero-proof > * { display: grid; grid-template-columns: 38px 1fr; padding: 20px; background: rgba(3,10,18,.88); color: #fff; text-decoration: none; }
.photographer-hero-proof i { grid-row: 1 / 3; align-self: center; color: #1684ff; font-size: 1.12rem; }
.photographer-hero-proof strong { font-size: .98rem; }
.photographer-hero-proof small { color: rgba(255,255,255,.68); }
.photographer-hero-proof a:hover { background: #0b1724; color: #fff; }
.photographer-intro { padding: 112px 0; background: var(--color-background, #f4f7fb); }
.photographer-section-heading { max-width: 790px; margin-bottom: 50px; }
.photographer-section-heading h2 {
  margin: 14px 0 20px;
  color: var(--color-text, #111820);
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: .92;
  text-transform: uppercase;
}
.photographer-section-heading p { max-width: 640px; color: var(--color-text-muted, #536171); font-size: 1.05rem; line-height: 1.7; }
.photographer-booking-explainer { padding:112px 0; background:#07111c; color:#fff; }
.photographer-booking-explainer__layout { display:grid; grid-template-columns:minmax(0,.85fr) minmax(420px,1.15fr); gap:72px; align-items:start; }
.photographer-booking-explainer .photographer-section-heading { position:sticky; top:105px; margin:0; }
.photographer-booking-explainer .photographer-section-heading h2 { color:#fff; }
.photographer-booking-explainer .photographer-section-heading h2 em { color:#1684ff; font-style:normal; }
.photographer-booking-explainer .photographer-section-heading p { color:#aebdca; }
.photographer-booking-steps { display:grid; gap:12px; margin:0; padding:0; list-style:none; }
.photographer-booking-steps li { display:grid; grid-template-columns:54px minmax(0,1fr); gap:18px; padding:24px; border:1px solid #26394c; border-radius:10px; background:#0d1a28; }
.photographer-booking-steps li > span { display:grid; place-items:center; width:46px; height:46px; border-radius:50%; background:#1479d4; color:#fff; font-weight:900; }
.photographer-booking-steps h3 { margin:0 0 6px; color:#fff; font-size:1.15rem; }
.photographer-booking-steps p { margin:0; color:#aebdca; line-height:1.6; }
.photographer-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photographer-benefits article { position: relative; min-height: 260px; padding: 30px; border: 1px solid var(--color-border, #dbe3ec); background: var(--color-surface, #fff); box-shadow: var(--theme-shadow, 0 15px 40px rgba(16,24,32,.07)); }
.photographer-benefits b { position: absolute; top: 24px; right: 26px; color: var(--color-border, #dbe3ec); font-family: "Barlow Condensed", sans-serif; font-size: 3rem; }
.photographer-benefits i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; background: #076ee8; color: #fff; }
.photographer-benefits h3 { margin: 38px 0 10px; color: var(--color-text, #111820); font-family: "Barlow Condensed", sans-serif; font-size: 1.8rem; text-transform: uppercase; }
.photographer-benefits p { margin: 0; color: var(--color-text-muted, #536171); line-height: 1.65; }
.photographer-directory-page .photographer-shell { padding: 112px 0; background: var(--color-surface, #fff); }
.photographer-section-heading--directory { margin-bottom: 32px; }
.photographer-section-heading--directory h2 { font-size: clamp(2.8rem, 5vw, 4.8rem); }
.photographer-directory-page .photographer-grid:not(.photographer-list-view) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.photographer-directory-page .photographer-card { min-height: 430px; border: 1px solid var(--color-border, #dbe3ec); border-radius: 10px; }
.photographer-directory-page .photographer-card-body { padding: 26px; }
.photographer-directory-page .photographer-card h2 { font-family: "Barlow Condensed", sans-serif; font-size: 1.8rem; text-transform: uppercase; }
.photographer-directory-page .photographer-card span { color: #63adff; }
.photographer-directory-page .photographer-list-row,
.photographer-directory-page .photo-empty,
.photographer-directory-page .photo-loading { background: var(--color-surface, #fff); border-color: var(--color-border, #dbe3ec); color: var(--color-text, #111820); }
.photographer-directory-page .photographer-list-row h3,
.photographer-directory-page .photographer-list-row strong { color: var(--color-text, #111820); }
.photographer-directory-page .photographer-list-row p,
.photographer-directory-page .photographer-list-row span,
.photographer-directory-page .photographer-list-row strong small,
.photographer-directory-page .photo-empty,
.photographer-directory-page .photo-loading { color: var(--color-text-muted, #536171); }
.photographer-directory-page .photographer-listing-toolbar,
.photographer-directory-page .photographer-refine-bar { background: var(--color-surface, #fff) !important; border-color: var(--color-border, #dbe3ec) !important; }
.photographer-directory-page .listing-search,
.photographer-directory-page .club-country-filter,
.photographer-directory-page .form-control { background: var(--color-surface-elevated, #f7f9fc) !important; border-color: var(--color-border, #dbe3ec) !important; color: var(--color-text, #111820) !important; }
.photographer-directory-page .disclaimer { border-color:#334b62; background:#0d1a28 !important; color:#f1f5f9 !important; }
@media (max-width: 991px) {
  .photographer-booking-explainer__layout { grid-template-columns:1fr; gap:40px; }
  .photographer-booking-explainer .photographer-section-heading { position:static; }
  .photographer-directory-hero { min-height: 620px; }
  .photographer-directory-hero__inner { grid-template-columns: 1fr; gap: 34px; }
  .photographer-hero-proof { grid-template-columns: repeat(3, 1fr); }
  .photographer-hero-proof > * { grid-template-columns: 32px 1fr; padding: 16px; }
  .photographer-benefits { grid-template-columns: 1fr; }
  .photographer-benefits article { min-height: 220px; }
  .photographer-directory-page .photographer-grid:not(.photographer-list-view) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .photographer-booking-explainer { padding:72px 0; }
  .photographer-booking-steps li { grid-template-columns:42px minmax(0,1fr); gap:12px; padding:18px; }
  .photographer-booking-steps li > span { width:38px; height:38px; font-size:.78rem; }
  .photographer-directory-hero { min-height: auto; padding-top: 84px; }
  .photographer-directory-hero__inner { padding-top: 45px !important; padding-bottom: 45px !important; }
  .photographer-directory-hero h1 { font-size: clamp(3.1rem, 15vw, 4.5rem); }
  .photographer-directory-hero p { font-size: 1rem; }
  .photo-cta { width: 100%; }
  .photographer-hero-proof { grid-template-columns: 1fr; }
  .photographer-intro, .photographer-directory-page .photographer-shell { padding: 72px 0; }
  .photographer-section-heading { margin-bottom: 32px; }
  .photographer-benefits article { min-height: 0; }
  .photographer-directory-page .photographer-grid:not(.photographer-list-view) { grid-template-columns: 1fr; }
  .photographer-directory-page .photographer-card { min-height: 390px; }
}

.photo-booking-settings-status { margin: 0; min-height: 1.4em; color: #aebed1; font-weight: 700; }
.photo-booking-settings-status.is-success { color: #62d99a; }
.photo-booking-settings-status.is-error { color: #ff9d9d; }

/* Photo competitions: editorial showcase and page-scoped colour correction. */
.competition-hero { min-height:560px; align-items:center; isolation:isolate; }
.competition-hero::before { background:linear-gradient(90deg,rgba(8,15,23,.96) 0%,rgba(8,15,23,.78) 48%,rgba(8,15,23,.22) 100%),var(--photo-hero,url("../assets/img/home/car-club-hero-1600.jpg")) center 58%/cover; transform:scale(1.01); }
.competition-hero::after { content:""; position:absolute; inset:auto 0 0; height:5px; z-index:1; background:linear-gradient(90deg,#ffcf5a 0 18%,#1479d4 18% 52%,rgba(255,255,255,.18) 52%); }
.competition-hero .container { padding-top:74px; padding-bottom:74px; }
.competition-hero h1 { max-width:840px; font-size:clamp(2.8rem,6vw,5.4rem); line-height:.94; letter-spacing:-.045em; }
.competition-hero p { max-width:680px; font-size:clamp(1rem,1.5vw,1.2rem); line-height:1.65; }
.competition-hero .photo-kicker { display:inline-flex; align-items:center; gap:9px; color:#ffda73; }
.competition-hero .photographer-actions .btn { display:inline-flex; align-items:center; gap:8px; min-height:48px; }
.competition-showcase { padding-top:0; background:#f3f6fa; color:#18212b; }
.competition-intro { position:relative; z-index:3; display:grid; grid-template-columns:minmax(0,.9fr) minmax(460px,1.1fr); gap:42px; align-items:center; margin:0 0 58px; padding:36px 40px; border:1px solid rgba(20,121,212,.15); border-top:4px solid #1479d4; background:#fff; box-shadow:0 24px 70px rgba(16,24,32,.11); }
.competition-intro-copy h2 { margin:6px 0 10px; color:#101820; font-size:clamp(1.65rem,3vw,2.5rem); line-height:1.06; letter-spacing:-.025em; }
.competition-intro-copy > p:last-child { margin:0; color:#536171; line-height:1.65; }
.competition-journey { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; margin:0; padding:0; list-style:none; background:#dfe7ef; }
.competition-journey li { min-width:0; padding:20px 18px; background:#f7f9fc; }
.competition-journey li > span { display:block; margin-bottom:18px; color:#1479d4; font-size:.72rem; font-weight:900; letter-spacing:.12em; }
.competition-journey strong { display:block; color:#101820; font-size:1rem; }
.competition-journey small { display:block; margin-top:5px; color:#667085; line-height:1.4; }
.competition-page-layout { grid-template-columns:minmax(0,1.55fr) minmax(290px,.45fr); gap:34px; }
.competition-section-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:20px; }
.competition-section-heading h2 { margin:2px 0 0; color:#101820; font-size:clamp(1.8rem,3vw,2.7rem); }
.competition-section-heading > p { max-width:310px; margin:0 0 5px; color:#667085; text-align:right; }
.competition-showcase .competition-card { border:0; border-radius:12px; box-shadow:0 18px 55px rgba(16,24,32,.1); }
.competition-showcase .competition-card-hero { min-height:300px; padding:30px; }
.competition-showcase .competition-card-hero::before { background:linear-gradient(90deg,rgba(8,15,23,.94),rgba(8,15,23,.58),rgba(8,15,23,.1)),var(--competition-cover,url("../assets/img/home/car-club-hero-1600.jpg")) center/cover; }
.competition-showcase .competition-card-hero h2 { margin:8px 0 10px; font-size:clamp(1.75rem,3.4vw,3rem); letter-spacing:-.025em; }
.competition-showcase .competition-card-hero p { font-size:1rem; line-height:1.55; -webkit-line-clamp:3; }
.competition-showcase .competition-meta-grid { gap:1px; padding:0; background:#dfe7ef; }
.competition-showcase .competition-meta-grid span { min-height:86px; padding:18px 20px; border-radius:0; background:#f8fafc; color:#243447; }
.competition-showcase .competition-meta-grid strong { margin-bottom:7px; color:#1479d4; }
.competition-showcase .competition-note { margin:18px 20px 0; }
.competition-showcase .competition-submit-panel { margin:18px 20px 2px; padding:16px 18px; border-color:#bcd7ee; background:#eef6fd; }
.competition-winner-panel { overflow:hidden; padding:28px; border-top:4px solid #ffcf5a; border-radius:12px; box-shadow:0 18px 50px rgba(16,24,32,.1); }
.competition-winner-panel h2 { margin:4px 0 8px; color:#101820; font-size:1.55rem; }
.competition-winner-icon { display:grid; width:44px; height:44px; margin-bottom:22px; place-items:center; border-radius:50%; background:#fff4d6; color:#a56400; }
.competition-winner-intro { margin:0 0 22px; color:#667085; font-size:.9rem; line-height:1.55; }
.competition-winner-panel .portfolio-card { border:1px solid #e1e7ee; box-shadow:none; }
.competition-showcase .disclaimer { border:1px solid #d6e0ea; background:#e9eff5 !important; color:#475467 !important; font-size:.78rem; font-weight:500; line-height:1.55; }
@media (max-width:900px) {
  .competition-hero { min-height:470px; }
  .competition-hero .container { padding-top:54px; padding-bottom:54px; }
  .competition-intro { grid-template-columns:1fr; gap:26px; margin-bottom:42px; padding:28px; }
  .competition-page-layout { grid-template-columns:1fr; gap:42px; }
  .competition-section-heading { align-items:start; flex-direction:column; gap:8px; }
  .competition-section-heading > p { text-align:left; }
  .competition-showcase .competition-card-hero { min-height:240px; }
}
@media (max-width:560px) {
  .competition-hero h1 { font-size:clamp(2.5rem,13vw,3.8rem); }
  .competition-hero .photographer-actions .btn { width:100%; justify-content:center; }
  .competition-intro { margin-inline:-4px; padding:24px 20px; }
  .competition-journey { grid-template-columns:1fr; }
  .competition-journey li { display:grid; grid-template-columns:38px 1fr; gap:8px; padding:14px 16px; }
  .competition-journey li > span { margin:3px 0 0; }
  .competition-showcase .competition-card-hero { min-height:280px; padding:22px; }
  .competition-showcase .competition-meta-grid span { min-height:auto; }
}

/* Keep the competition experience intentionally dark in either site theme. */
html[data-theme] .competition-showcase { background:#030a12 !important; color:#f4f7fb !important; }
html[data-theme] .competition-intro { border-color:#20384e; border-top-color:#1684ff; background:#0b1723; box-shadow:0 24px 70px rgba(0,0,0,.28); }
html[data-theme] .competition-intro-copy h2,
html[data-theme] .competition-journey strong,
html[data-theme] .competition-section-heading h2 { color:#f7f9fc !important; }
html[data-theme] .competition-intro-copy > p:last-child,
html[data-theme] .competition-journey small,
html[data-theme] .competition-section-heading > p { color:#aebdca !important; }
html[data-theme] .competition-journey { background:#203243; }
html[data-theme] .competition-journey li { background:#101f2d; }
html[data-theme] .competition-journey li > span { color:#62aef5; }
html[data-theme] .competition-showcase .competition-card { background:#091521; box-shadow:0 18px 55px rgba(0,0,0,.3); }
html[data-theme] .competition-showcase .competition-meta-grid { background:#26394b; }
html[data-theme] .competition-showcase .competition-meta-grid span { background:#101e2b; color:#e4ebf2 !important; }
html[data-theme] .competition-showcase .competition-meta-grid strong { color:#72b9fb !important; }
html[data-theme] .competition-showcase .competition-note { color:#b5c3d0 !important; }
html[data-theme] .competition-showcase .competition-submit-panel,
html[data-theme] .competition-showcase .competition-submit-panel.is-muted { border-color:#29455e; background:#102436; }
html[data-theme] .competition-showcase .competition-submit-panel strong { color:#f1f5f9 !important; }
html[data-theme] .competition-showcase .competition-submit-panel p { color:#afbfcd !important; }
html[data-theme] .competition-showcase .photo-empty,
html[data-theme] .competition-showcase .photo-loading { grid-column:1 / -1; width:100%; min-height:96px; display:grid; place-items:center; padding:24px; border-color:#30465a; background:#0e1b28; color:#b9c7d4 !important; text-align:center; }
html[data-theme] .competition-winner-panel { border-color:#2a4155; border-top-color:#ffcf5a; background:#0b1723; color:#f1f5f9; }
html[data-theme] .competition-winner-panel h2,
html[data-theme] .competition-winner-panel .portfolio-card h3 { color:#f7f9fc !important; }
html[data-theme] .competition-winner-intro,
html[data-theme] .competition-winner-panel .portfolio-card p,
html[data-theme] .competition-winner-panel .portfolio-card small { color:#aebdca !important; }
html[data-theme] .competition-winner-panel .portfolio-card { border-color:#294055; background:#101f2d; }
html[data-theme] .competition-showcase .disclaimer { border-color:#243b4f; background:#0b1723 !important; color:#8fa2b4 !important; }
.competition-card-old .competition-winning-entry { display:grid; grid-template-columns:minmax(220px,42%) minmax(0,1fr); margin:20px; border:1px solid #263d51; background:#101f2d; box-shadow:none; }
.competition-card-old .competition-winning-entry img { width:100%; height:260px; aspect-ratio:auto; object-fit:cover; }
.competition-card-old .competition-winning-entry > div { display:flex; flex-direction:column; justify-content:center; padding:28px; }
.competition-card-old .competition-winning-entry h3 { color:#f7f9fc; font-size:1.25rem; }
.competition-card-old .competition-winning-entry p { margin-bottom:14px; color:#aebdca; }
.competition-card-old .competition-winning-entry a { align-self:flex-start; color:#72b9fb; font-weight:800; }
@media (max-width:650px) {
  .competition-card-old .competition-winning-entry { grid-template-columns:1fr; margin:14px; }
  .competition-card-old .competition-winning-entry img { height:230px; }
  .competition-card-old .competition-winning-entry > div { padding:20px; }
}
