:root {
  --bg: #f5f7f3;
  --surface: #ffffff;
  --ink: #17201c;
  --muted: #657069;
  --line: #dbe2dc;
  --teal: #087f8c;
  --teal-dark: #065e67;
  --coral: #d96c4f;
  --olive: #667f3f;
  --sand: #f4d7a1;
  --charcoal: #101716;
  --shadow: 0 18px 42px rgba(16, 23, 22, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.topbar {
  width: min(1220px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--charcoal);
  box-shadow: inset 0 -5px 0 var(--coral);
  font-size: 0.8rem;
  font-weight: 900;
}

.brand-logo {
  width: 64px;
  height: 48px;
  display: block;
  object-fit: contain;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-links a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.top-links a:hover {
  color: var(--teal-dark);
  background: #eaf4f2;
}

main {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto 48px;
}

.hero {
  min-height: 520px;
  padding: 38px;
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: end;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 23, 22, 0.92), rgba(16, 23, 22, 0.58) 48%, rgba(16, 23, 22, 0.2)),
    var(--hero-image) center / cover no-repeat;
  box-shadow: var(--shadow);
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.5rem, 5.8vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero p {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.06rem;
  line-height: 1.65;
}

.hero-search {
  max-width: 720px;
  margin-top: 26px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
}

label {
  display: grid;
  gap: 8px;
}

label span {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
}

.hero-search label span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.76rem;
  text-transform: uppercase;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #c7d2cb;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
}

input:focus,
select:focus,
button:focus,
a:focus {
  outline: 4px solid rgba(8, 127, 140, 0.2);
  outline-offset: 1px;
}

button,
.filter-actions a,
.gem-actions a {
  min-height: 44px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

button:hover,
.filter-actions a:hover,
.gem-actions a:hover {
  background: var(--teal-dark);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.hero-metrics {
  display: grid;
  gap: 12px;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  font-size: 2.2rem;
  line-height: 1;
}

.hero-metrics span {
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.finder-layout {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.filters-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
}

.filters-panel,
.results-panel,
.emirates-home,
.pipeline-section,
.content-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.filters-panel {
  padding: 18px;
}

.panel-header h2,
.results-head h2,
.pipeline-copy h2,
.content-section h2 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.2;
}

.panel-header.compact h2 {
  font-size: 1.08rem;
}

.filters-form {
  display: grid;
  gap: 14px;
}

.checkbox-row {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.filter-actions a {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.saved-panel {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

#savedList {
  margin: 12px 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

#savedList li {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  background: #fbfcf9;
  line-height: 1.35;
}

#savedList button {
  min-height: 34px;
  padding: 7px 9px;
  color: var(--teal-dark);
  border-color: rgba(8, 127, 140, 0.24);
  background: #eef8f7;
  font-size: 0.78rem;
}

#copySavedButton {
  width: 100%;
}

.results-panel {
  padding: 22px;
}

.emirates-home {
  margin-top: 22px;
  padding: 24px;
}

.results-head {
  margin-bottom: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.results-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.gem-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.emirate-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.emirate-card {
  min-height: 230px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  align-content: start;
  gap: 12px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(8, 127, 140, 0.1), rgba(217, 108, 79, 0.08)),
    #fbfcf9;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.emirate-card:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 127, 140, 0.42);
  box-shadow: 0 18px 36px rgba(16, 23, 22, 0.12);
}

.emirate-card-kicker,
.emirate-card-action {
  width: max-content;
  max-width: 100%;
  padding: 7px 9px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: #e9f6f4;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.emirate-card strong {
  display: block;
  font-size: 1.7rem;
  line-height: 1.08;
}

.emirate-card small,
.emirate-card em {
  color: var(--muted);
  font-style: normal;
  line-height: 1.5;
}

.emirate-card small {
  min-height: 22px;
  font-weight: 850;
}

.emirate-card-action {
  align-self: end;
  margin-top: auto;
  color: #fff;
  background: var(--teal);
}

.emirate-results {
  display: grid;
  gap: 24px;
}

.emirate-section {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.emirate-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.emirate-heading {
  margin-bottom: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.emirate-heading h3 {
  margin: 0;
  font-size: 1.5rem;
}

.emirate-heading span {
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--teal-dark);
  background: #e9f6f4;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.gem-card,
.pipeline-steps article,
.faq-grid details,
.empty-state {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcf9;
}

.gem-card {
  padding: 18px;
  display: grid;
  gap: 13px;
}

.gem-card-top,
.gem-actions,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.gem-card-top {
  justify-content: space-between;
}

.gem-card-top span,
.gem-card-top small,
.tag-row span {
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 900;
}

.gem-card-top span {
  color: var(--teal-dark);
  background: #e9f6f4;
}

.gem-card-top small {
  color: #78351f;
  background: #fde7df;
}

.gem-card h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.2;
}

.gem-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.gem-location {
  color: var(--olive) !important;
  font-weight: 850;
}

.gem-facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.gem-facts div {
  padding: 10px;
  border-radius: 8px;
  background: #fff;
}

.gem-facts dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.gem-facts dd {
  margin: 5px 0 0;
  line-height: 1.35;
  font-weight: 850;
}

.tag-row span {
  color: var(--muted);
  border: 1px solid var(--line);
  background: #fff;
}

.gem-actions {
  margin-top: auto;
}

.gem-actions a,
.gem-actions button {
  min-height: 40px;
  padding: 9px 12px;
}

.gem-actions a:nth-child(2) {
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.save-button {
  margin-left: auto;
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}

.save-button.is-saved {
  color: #fff;
  background: var(--coral);
}

.empty-state {
  padding: 22px;
}

.empty-state h3,
.empty-state p {
  margin: 0;
}

.empty-state p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.55;
}

.pipeline-section,
.content-section {
  margin-top: 22px;
  padding: 28px;
}

.pipeline-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 24px;
}

.pipeline-copy p,
.pipeline-steps p,
.faq-grid p {
  color: var(--muted);
  line-height: 1.62;
}

.pipeline-copy p {
  margin-bottom: 0;
}

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.pipeline-steps article {
  padding: 16px;
}

.pipeline-steps span {
  color: var(--coral);
  font-weight: 950;
}

.pipeline-steps h3 {
  margin: 12px 0 8px;
}

code {
  padding: 2px 5px;
  border-radius: 6px;
  color: var(--teal-dark);
  background: #e9f6f4;
  font-weight: 850;
}

.content-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}

.faq-grid {
  display: grid;
  gap: 10px;
}

.faq-grid details {
  padding: 0 16px;
}

.faq-grid summary {
  padding: 16px 0;
  font-weight: 900;
  cursor: pointer;
}

.faq-grid p {
  margin: 0;
  padding-bottom: 16px;
}

@media (max-width: 980px) {
  .hero,
  .finder-layout,
  .pipeline-section,
  .content-section {
    grid-template-columns: 1fr;
  }

  .filters-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .topbar,
  .top-links,
  .results-head {
    align-items: stretch;
    flex-direction: column;
  }

  main,
  .topbar {
    width: min(100% - 20px, 1220px);
  }

  .hero,
  .results-panel,
  .pipeline-section,
  .content-section {
    padding: 18px;
  }

  .hero {
    min-height: 640px;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-search,
  .gem-grid,
  .emirate-card-grid,
  .pipeline-steps,
  .gem-facts {
    grid-template-columns: 1fr;
  }

  .filter-actions {
    grid-template-columns: 1fr;
  }

  .save-button {
    margin-left: 0;
  }

  .emirate-heading {
    align-items: stretch;
    flex-direction: column;
  }
}

.admin-body {
  background: #eef3ef;
}

.admin-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 24px auto 48px;
}

.admin-header,
.admin-section-head {
  margin-bottom: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-nav a,
.admin-section-head a,
.table-actions a {
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  color: var(--teal-dark);
  background: #fff;
  font-weight: 900;
  text-decoration: none;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 18px;
  align-items: start;
}

.admin-card {
  margin-bottom: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.admin-card h2,
.login-card h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

.admin-card p {
  color: var(--muted);
  line-height: 1.55;
}

.admin-form,
.login-card form {
  display: grid;
  gap: 14px;
}

.admin-form textarea,
.gem-edit-form textarea {
  width: 100%;
  min-height: 110px;
  padding: 12px;
  border: 1px solid #c7d2cb;
  border-radius: 8px;
  color: var(--ink);
  resize: vertical;
}

.gem-edit-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.wide-field {
  grid-column: 1 / -1;
}

.image-upload-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.image-upload-card {
  padding: 14px;
  border: 1px solid #d9d9d9;
  display: grid;
  gap: 12px;
  background: #fafafa;
}

.image-upload-card > div:first-child span {
  display: block;
  color: #111;
  font-weight: 900;
}

.image-upload-card p {
  margin: 4px 0 0;
  color: #6a6f77;
  font-size: 0.86rem;
}

.image-upload-card img,
.image-empty {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid #e1e1e1;
  display: block;
  object-fit: cover;
  background: #eeeeee;
}

.image-empty {
  display: grid;
  place-items: center;
  color: #6a6f77;
  font-weight: 800;
}

.admin-thumb {
  width: 72px;
  height: 50px;
  display: block;
  object-fit: cover;
  background: #eeeeee;
}

.admin-help {
  margin-bottom: 0;
  font-size: 0.92rem;
}

.admin-notice {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 8px;
  white-space: pre-wrap;
  line-height: 1.45;
}

.admin-notice.error {
  color: var(--danger, #a8332a);
  border: 1px solid #fac9c3;
  background: #fff1ef;
}

.admin-notice.success {
  color: #165f32;
  border: 1px solid #bfe8cc;
  background: #effbf2;
}

.login-card {
  max-width: 460px;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.admin-table th,
.admin-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.table-actions {
  display: flex;
  gap: 8px;
}

.table-actions form {
  margin: 0;
}

.table-actions button {
  min-height: 40px;
  color: #fff;
  background: var(--coral);
}

@media (max-width: 900px) {
  .admin-grid,
  .gem-edit-form,
  .image-upload-grid {
    grid-template-columns: 1fr;
  }

  .admin-header,
  .admin-section-head {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Professional news-site theme */
:root {
  --bg: #f4f4f4;
  --surface: #ffffff;
  --ink: #111111;
  --muted: #5f6670;
  --line: #d9d9d9;
  --teal: #c5161d;
  --teal-dark: #981017;
  --coral: #c5161d;
  --olive: #3f4752;
  --sand: #f6f0e6;
  --charcoal: #141923;
  --shadow: none;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #cfcfcf;
}

.news-strip {
  min-height: 36px;
  padding: 0 max(16px, calc((100vw - 1220px) / 2));
  border-bottom: 1px solid #e4e4e4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #5c6470;
  font-size: 0.82rem;
  font-weight: 700;
}

.news-strip span + span {
  margin-right: auto;
}

.news-strip a {
  color: #111;
  text-decoration: none;
}

.masthead {
  width: min(1220px, calc(100% - 32px));
  min-height: 104px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  text-align: center;
}

.brand {
  gap: 14px;
}

.brand-icon {
  width: 54px;
  height: 54px;
  border-radius: 2px;
  background: #c5161d;
  box-shadow: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.masthead .brand-logo {
  width: 72px;
  height: 54px;
}

.brand strong {
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.8vw, 4.35rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.94;
}

.brand small {
  margin-top: 7px;
  color: #6a6f77;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-nav {
  min-height: 46px;
  padding: 0 max(16px, calc((100vw - 1220px) / 2));
  border-top: 3px solid #111;
  border-bottom: 1px solid #dedede;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  white-space: nowrap;
}

.section-nav a {
  min-height: 43px;
  padding: 13px 18px 10px;
  border-right: 1px solid #e5e5e5;
  color: #111;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.section-nav a:first-child {
  color: #fff;
  background: #c5161d;
}

.section-nav a:hover {
  color: #c5161d;
  background: #f6f6f6;
}

main {
  width: min(1220px, calc(100% - 32px));
  margin: 18px auto 52px;
}

.hero {
  position: relative;
  min-height: 230px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.58fr);
  gap: 0;
  align-items: stretch;
  color: var(--ink);
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.hero::after {
  content: "";
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.16)),
    var(--hero-image) center / cover no-repeat;
}

.hero-content {
  max-width: none;
  padding: 22px 28px;
  display: grid;
  align-content: center;
}

.hero .eyebrow {
  margin: 0 0 5px;
}

.eyebrow {
  color: #c5161d;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.hero h1 {
  max-width: 720px;
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  line-height: 1;
}

.hero p {
  max-width: 680px;
  margin: 0 0 13px;
  color: #414852;
  font-size: 0.88rem;
  line-height: 1.45;
}

.hero-search {
  max-width: 720px;
  padding: 0;
  border: 1px solid #d7d7d7;
  border-radius: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  background: #fff;
  backdrop-filter: none;
}

.hero-search label {
  padding: 6px 10px;
}

.hero-search label span {
  color: #5f6670;
  font-size: 0.68rem;
  font-weight: 900;
}

input,
select,
.admin-form textarea,
.gem-edit-form textarea {
  border-radius: 0;
}

.hero-search input {
  min-height: 28px;
  padding: 0;
  border: 0;
}

button,
.filter-actions a,
.gem-actions a {
  border-radius: 0;
  background: #c5161d;
}

button:hover,
.filter-actions a:hover,
.gem-actions a:hover {
  background: #981017;
}

.hero-metrics {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: min(300px, calc(100% - 24px));
  grid-template-columns: repeat(3, 1fr);
  z-index: 1;
}

.hero-metrics div {
  padding: 8px 9px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0;
  background: rgba(17, 17, 17, 0.82);
  backdrop-filter: none;
}

.hero-metrics strong {
  color: #fff;
  font-size: 1.08rem;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.61rem;
  text-transform: uppercase;
}

.emirates-home,
.filters-panel,
.results-panel,
.pipeline-section,
.content-section,
.admin-card {
  border-radius: 0;
  box-shadow: none;
}

.emirates-home,
.results-panel {
  padding: 24px;
}

.results-head {
  padding-bottom: 14px;
  border-bottom: 3px solid #111;
}

.results-head h2,
.pipeline-copy h2,
.content-section h2,
.panel-header h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
}

.results-head p {
  color: #6a6f77;
}

.emirate-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #111;
  border-left: 1px solid #dedede;
}

.emirate-card {
  min-height: 250px;
  padding: 18px;
  border: 0;
  border-right: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
  border-radius: 0;
  background: #fff;
  transition: background 140ms ease, color 140ms ease;
}

.emirate-card:hover {
  transform: none;
  box-shadow: none;
  background: #fafafa;
}

.emirate-card-kicker,
.emirate-card-action {
  padding: 0;
  border-radius: 0;
  color: #c5161d;
  background: transparent;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.emirate-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
}

.emirate-card small {
  color: #111;
  font-weight: 900;
}

.emirate-card em {
  color: #626a74;
  font-size: 0.94rem;
}

.emirate-card-action {
  color: #111;
  border-top: 1px solid #dedede;
  padding-top: 12px;
}

.finder-layout {
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
}

.filters-panel {
  border-color: #d4d4d4;
}

.filters-form {
  gap: 12px;
}

.filter-actions a {
  color: #111;
  border-color: #d7d7d7;
  background: #fff;
}

.gem-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid #dedede;
  border-left: 1px solid #dedede;
}

.gem-card {
  padding: 16px;
  border: 0;
  border-right: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
  border-radius: 0;
  background: #fff;
}

.gem-media {
  aspect-ratio: 16 / 10;
  margin: -16px -16px 14px;
  display: block;
  overflow: hidden;
  background: #e9e9e9;
}

.gem-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 180ms ease;
}

.gem-media:hover img {
  transform: scale(1.035);
}

.gem-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
}

.gem-card h3 a {
  color: inherit;
  text-decoration: none;
}

.gem-card h3 a:hover {
  color: #c5161d;
}

.gem-card p {
  color: #555d67;
  font-size: 0.94rem;
}

.gem-card-top span,
.gem-card-top small,
.tag-row span {
  border-radius: 0;
  color: #c5161d;
  background: transparent;
  padding: 0;
  text-transform: uppercase;
}

.gem-location {
  color: #111 !important;
  font-size: 0.86rem;
}

.gem-facts {
  border-top: 1px solid #ededed;
  padding-top: 10px;
}

.gem-facts div {
  padding: 0;
  background: transparent;
}

.gem-facts dd {
  font-size: 0.84rem;
}

.tag-row span {
  border: 1px solid #e0e0e0;
  padding: 5px 7px;
  color: #5f6670;
}

.gem-actions a,
.gem-actions button {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 0.8rem;
}

.gem-actions a:nth-child(2),
.save-button {
  color: #111;
  border-color: #d9d9d9;
  background: #fff;
}

.save-button.is-saved {
  color: #fff;
  background: #c5161d;
}

.pipeline-section,
.content-section {
  grid-template-columns: 0.72fr 1.28fr;
  border-top: 4px solid #111;
}

.pipeline-steps {
  gap: 0;
  border-left: 1px solid #dedede;
  border-top: 1px solid #dedede;
}

.pipeline-steps article,
.faq-grid details,
.empty-state {
  border-radius: 0;
  background: #fff;
}

.pipeline-steps article {
  border: 0;
  border-right: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
}

.place-page {
  display: grid;
  gap: 14px;
}

.place-hero {
  min-height: 260px;
  border: 1px solid #d9d9d9;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  background: #fff;
}

.place-hero-copy {
  padding: 22px 28px;
  display: grid;
  align-content: center;
}

.place-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.8vw, 3.35rem);
  line-height: 1;
}

.place-hero p {
  max-width: 720px;
  margin: 12px 0 14px;
  color: #4f5863;
  font-size: 0.9rem;
  line-height: 1.5;
}

.place-hero img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  max-height: 280px;
  object-fit: cover;
}

.place-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.place-actions a {
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  display: inline-flex;
  align-items: center;
  color: #111;
  background: #fff;
  font-weight: 900;
  font-size: 0.82rem;
  text-decoration: none;
}

.place-actions a:first-child {
  color: #fff;
  border-color: #c5161d;
  background: #c5161d;
}

.place-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.place-gallery img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #e9e9e9;
}

.place-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 20px;
}

.place-story,
.place-facts-panel,
.related-section {
  padding: 24px;
  border: 1px solid #d9d9d9;
  background: #fff;
}

.place-story h2,
.related-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
}

.place-story h3 {
  margin: 24px 0 8px;
  font-family: Georgia, "Times New Roman", serif;
}

.place-story p {
  color: #4f5863;
  line-height: 1.75;
}

.place-facts {
  margin: 0 0 18px;
  display: grid;
  gap: 0;
  border-top: 1px solid #d9d9d9;
}

.place-facts div {
  padding: 12px 0;
  border-bottom: 1px solid #d9d9d9;
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 12px;
}

.place-facts dt {
  color: #6a6f77;
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.place-facts dd {
  margin: 0;
  font-weight: 800;
  line-height: 1.4;
}

.admin-body {
  background: #f4f4f4;
}

.admin-header h1 {
  font-family: Georgia, "Times New Roman", serif;
}

.admin-nav a,
.admin-section-head a,
.table-actions a {
  border-radius: 0;
}

@media (max-width: 1100px) {
  .emirate-card-grid,
  .gem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .news-strip {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .masthead {
    min-height: 86px;
  }

  .brand strong {
    font-size: 2.15rem;
  }

  .section-nav {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hero::after {
    min-height: 130px;
    order: -1;
  }

  .hero-content {
    padding: 16px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .hero-metrics {
    position: static;
    width: auto;
    margin: 0;
    padding: 0 16px 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: #fff;
  }

  .hero-metrics div {
    background: #111;
  }

  .hero-search,
  .emirate-card-grid,
  .gem-grid,
  .pipeline-steps {
    grid-template-columns: 1fr;
  }

  .finder-layout,
  .pipeline-section,
  .content-section,
  .place-hero,
  .place-detail-grid,
  .place-gallery {
    grid-template-columns: 1fr;
  }

  .place-hero img {
    min-height: 180px;
    max-height: 200px;
    order: -1;
  }

  .place-hero h1 {
    font-size: clamp(1.9rem, 10vw, 2.6rem);
  }

  .place-hero-copy,
  .place-story,
  .place-facts-panel,
  .related-section {
    padding: 18px;
  }

  .emirates-home,
  .results-panel,
  .pipeline-section,
  .content-section {
    padding: 16px;
  }
}

/* Clean admin dashboard */
.admin-dashboard-body {
  min-height: 100vh;
  background: #eef2f7;
  color: #071428;
}

.admin-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px 0;
  overflow-y: auto;
  color: #f8fafc;
  background: #111c30;
  box-shadow: 4px 0 18px rgba(15, 23, 42, 0.1);
}

.sidebar-brand {
  padding: 4px 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 5px;
}

.sidebar-brand strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.sidebar-brand span,
.sidebar-user small {
  color: #9fb0c9;
  font-size: 0.82rem;
}

.sidebar-user {
  margin: 18px 8px;
  padding: 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #111c30;
  background: #d9e4f5;
  font-weight: 900;
}

.sidebar-user strong,
.sidebar-user small {
  display: block;
}

.sidebar-menu {
  padding: 0 8px;
  display: grid;
  gap: 8px;
}

.sidebar-menu p {
  margin: 12px 10px 2px;
  color: #91a2bd;
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.sidebar-menu a {
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 18px 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #e7eef9;
  font-weight: 800;
  text-decoration: none;
}

.sidebar-menu a span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #111c30;
  background: #d9e4f5;
  font-size: 0.62rem;
  font-weight: 900;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  color: #ffffff;
  background: #243a61;
}

.admin-content {
  min-width: 0;
  padding: 0 18px 42px;
}

.admin-dashboard-body .admin-header {
  min-height: 64px;
  margin: 0 -18px 18px;
  padding: 12px 18px;
  border-bottom: 1px solid #d9e0ea;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: #ffffff;
}

.admin-dashboard-body .admin-header .eyebrow {
  display: none;
}

.admin-dashboard-body .admin-header h1 {
  margin: 0;
  color: #071428;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  line-height: 1.2;
}

.admin-dashboard-body .admin-header h1::before {
  content: "Menu";
  margin-right: 18px;
  color: #516072;
  font-size: 0.92rem;
  font-weight: 700;
}

.admin-dashboard-body .admin-nav {
  align-items: center;
}

.admin-dashboard-body .admin-nav::before {
  content: "Branch: UAE";
  min-height: 38px;
  padding: 9px 16px;
  border: 1px solid #d8e0ec;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #071428;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  font-size: 0.86rem;
  font-weight: 900;
}

.admin-dashboard-body .admin-nav a,
.admin-dashboard-body .admin-section-head a,
.admin-dashboard-body .table-actions a {
  min-height: 36px;
  border: 1px solid #d8e0ec;
  border-radius: 999px;
  color: #1d4ed8;
  background: #ffffff;
  box-shadow: none;
  font-size: 0.86rem;
}

.admin-dashboard-panel {
  margin-bottom: 12px;
  padding: 18px 20px;
  border: 1px solid #d8e0ec;
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.45fr);
  gap: 18px;
  align-items: center;
  background: #ffffff;
}

.admin-dashboard-panel h2 {
  margin: 0 0 5px;
  font-size: 1.15rem;
}

.admin-dashboard-panel p {
  margin: 0;
  color: #516072;
}

.admin-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.admin-search-bar input {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #d8e0ec;
  border-radius: 999px;
  background: #f8fafc;
}

.admin-search-bar a {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  background: #2563eb;
  font-weight: 900;
  text-decoration: none;
}

.admin-module-pills {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-module-pills a {
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid #d8e0ec;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #26364c;
  background: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.admin-stat-grid {
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.admin-stat-card {
  min-height: 122px;
  padding: 14px;
  border-radius: 8px;
  display: grid;
  align-content: space-between;
  color: #ffffff;
  overflow: hidden;
  position: relative;
}

.admin-stat-card::after {
  content: "";
  width: 88px;
  height: 88px;
  border-radius: 22px;
  position: absolute;
  right: 16px;
  top: 24px;
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(8deg);
}

.admin-stat-card strong,
.admin-stat-card span,
.admin-stat-card p,
.admin-stat-card a {
  position: relative;
  z-index: 1;
}

.admin-stat-card strong {
  font-size: 1.35rem;
}

.admin-stat-card span {
  margin-top: 4px;
  font-weight: 900;
}

.admin-stat-card p {
  margin: 10px 0 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
}

.admin-stat-card a {
  margin: 0 -14px -14px;
  min-height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.12);
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.admin-stat-card.teal {
  background: #149aa7;
}

.admin-stat-card.blue {
  background: #1477e8;
}

.admin-stat-card.slate {
  background: #697783;
}

.admin-stat-card.amber {
  background: #f5b400;
}

.admin-dashboard-body .admin-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
}

.admin-dashboard-body .admin-card {
  margin-bottom: 18px;
  padding: 20px;
  border: 1px solid #d8e0ec;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.admin-dashboard-body .admin-card h2 {
  color: #071428;
  font-size: 1.02rem;
}

.admin-dashboard-body .admin-card p {
  color: #516072;
}

.admin-dashboard-body label span {
  color: #26364c;
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-dashboard-body input,
.admin-dashboard-body textarea,
.admin-dashboard-body select {
  border-color: #d8e0ec;
  border-radius: 6px;
  background: #ffffff;
}

.admin-dashboard-body button {
  border-radius: 6px;
  background: #2563eb;
}

.updater-card {
  border-left: 4px solid #2563eb;
}

.settings-card {
  border-left: 4px solid #149aa7;
}

.admin-card-link {
  min-height: 42px;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  background: #2563eb;
  font-weight: 900;
  text-decoration: none;
}

.admin-filter-form {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.admin-filter-form label,
.settings-form-grid label {
  display: grid;
  gap: 7px;
}

.admin-filter-form select,
.admin-filter-form input {
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid #d8e0ec;
  border-radius: 6px;
  background: #ffffff;
}

.filter-button-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.filter-button-row button,
.settings-action-bar button {
  min-height: 42px;
  padding: 10px 16px;
}

.filter-button-row a,
.settings-action-bar a {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid #d8e0ec;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  color: #26364c;
  background: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.edit-picker {
  margin: -4px 0 18px;
  padding: 14px;
  border: 1px solid #d8e0ec;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  background: #f8fafc;
}

.edit-picker strong {
  color: #26364c;
}

.edit-picker div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.edit-picker a {
  min-height: 34px;
  padding: 8px 11px;
  border: 1px solid #d8e0ec;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #1d4ed8;
  background: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.settings-hero-panel {
  grid-template-columns: minmax(0, 1fr) auto;
}

.settings-page-form {
  display: grid;
  gap: 18px;
}

.settings-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.asset-settings-grid {
  align-items: start;
}

.asset-setting-card {
  padding: 14px;
  border: 1px solid #d8e0ec;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  background: #f8fafc;
}

.asset-setting-card span {
  display: block;
  color: #071428;
  font-weight: 900;
}

.asset-setting-card p {
  margin: 4px 0 0;
  color: #516072;
  font-size: 0.8rem;
}

.settings-logo-preview,
.asset-empty-preview {
  width: 100%;
  height: 110px;
  border: 1px solid #d8e0ec;
  border-radius: 8px;
  display: grid;
  place-items: center;
  object-fit: contain;
  background: #ffffff;
}

.settings-favicon-preview,
.favicon-empty {
  width: 72px;
  height: 72px;
  border: 1px solid #d8e0ec;
  border-radius: 8px;
  display: grid;
  place-items: center;
  object-fit: contain;
  background: #ffffff;
}

.asset-empty-preview {
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-sidebar-logo {
  width: 54px;
  height: 38px;
  display: block;
  object-fit: contain;
}

.settings-action-bar {
  position: sticky;
  bottom: 0;
  z-index: 5;
  padding: 14px 0;
  border-top: 1px solid #d8e0ec;
  display: flex;
  gap: 10px;
  background: #eef2f7;
}

.place-list-card {
  padding: 0;
  overflow: hidden;
}

.place-list-titlebar {
  padding: 18px 20px;
  border-bottom: 1px solid #e6ebf2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.place-list-titlebar h2 {
  margin: 0;
  font-size: 1.45rem;
}

.place-list-titlebar span,
.listing-filter-head span,
.listing-action-row span {
  color: #516072;
  font-size: 0.88rem;
}

.listing-filter-panel {
  border-bottom: 1px solid #e6ebf2;
  background: #ffffff;
}

.listing-filter-head {
  padding: 14px 16px;
  border-bottom: 1px solid #e6ebf2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.listing-filter-head strong {
  color: #071428;
  font-size: 0.94rem;
}

.product-style-filter {
  padding: 16px;
  grid-template-columns: minmax(280px, 1.6fr) repeat(4, minmax(145px, 1fr));
}

.product-style-filter .filter-search-field {
  grid-column: span 2;
}

.product-style-filter .filter-button-row {
  align-self: end;
}

.popular-filter-row {
  padding: 14px 16px;
  border-bottom: 1px solid #e6ebf2;
  display: grid;
  gap: 8px;
}

.popular-filter-row > span {
  color: #3f5b7d;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.popular-filter-row > div {
  padding: 10px;
  border: 1px solid #d8e0ec;
  border-radius: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #fbfdff;
}

.popular-filter-row a {
  min-height: 36px;
  padding: 8px 14px;
  border: 1px solid #d8e0ec;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: #1f3553;
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 900;
  text-decoration: none;
}

.popular-filter-row a.active {
  color: #ffffff;
  border-color: #059669;
  background: #059669;
}

.listing-action-row {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.add-place-button {
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  background: #2563eb;
  font-size: 0.88rem;
  font-weight: 900;
  text-decoration: none;
}

.product-style-table {
  min-width: 1260px;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-dashboard-body .product-style-table th {
  padding: 13px 12px;
  color: #1f3553;
  background: #e9eef5;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.admin-dashboard-body .product-style-table td {
  padding: 14px 12px;
  border-color: rgba(255, 255, 255, 0.65);
  background: #fff0bd;
  vertical-align: middle;
}

.place-table-title {
  min-width: 230px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.place-table-title strong,
.place-table-title small {
  display: block;
}

.place-table-title strong {
  color: #071428;
  font-size: 0.92rem;
}

.place-table-title small {
  margin-top: 3px;
  color: #64748b;
  font-size: 0.76rem;
}

.table-text-link {
  color: #0b57d0;
  font-weight: 900;
  text-decoration: none;
}

.count-pill,
.place-status-pill {
  min-height: 34px;
  min-width: 34px;
  padding: 7px 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.count-pill {
  color: #0b57d0;
  background: #dbeafe;
}

.place-status-pill {
  color: #0f5132;
  background: #dcfce7;
  font-size: 0.78rem;
}

.place-status-pill.event {
  color: #0b57d0;
  background: #dbeafe;
}

.place-table-actions {
  min-width: 150px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-dashboard-body .table-actions .table-primary-action {
  color: #ffffff;
  border-color: #5fbd68;
  background: #5fbd68;
}

.admin-dashboard-body .place-table-actions button {
  min-height: 36px;
  padding: 8px 10px;
  color: #d91f2b;
  border: 1px solid #ff5a65;
  border-radius: 999px;
  background: #fff3f4;
}

.admin-dashboard-body .image-upload-card {
  border-color: #d8e0ec;
  border-radius: 8px;
  background: #f8fafc;
}

.admin-dashboard-body .admin-table {
  border: 1px solid #d8e0ec;
  border-radius: 8px;
  overflow: hidden;
}

.admin-dashboard-body .admin-table th {
  color: #26364c;
  background: #eef2f7;
}

.admin-dashboard-body .admin-table td {
  border-color: #e6ebf2;
}

.admin-dashboard-body .admin-thumb {
  border-radius: 6px;
}

@media (max-width: 1180px) {
  .admin-layout {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .admin-stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .admin-layout {
    display: block;
  }

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .sidebar-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-menu p {
    grid-column: 1 / -1;
  }

  .admin-content {
    padding: 0 12px 32px;
  }

  .admin-dashboard-body .admin-header,
  .admin-dashboard-panel {
    grid-template-columns: 1fr;
  }

  .admin-dashboard-panel,
  .admin-search-bar,
  .admin-dashboard-body .admin-grid,
  .admin-stat-grid,
  .admin-filter-form,
  .product-style-filter,
  .settings-form-grid,
  .settings-hero-panel {
    grid-template-columns: 1fr;
  }

  .product-style-filter .filter-search-field {
    grid-column: auto;
  }

  .place-list-titlebar,
  .listing-filter-head,
  .listing-action-row {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-module-pills {
    justify-content: flex-start;
  }
}

/* Admin density overrides: use the full workspace next to the sidebar. */
.admin-dashboard-body .admin-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 12px 24px;
}

.admin-dashboard-body .admin-header {
  min-height: 54px;
  margin: 0 0 10px;
  padding: 8px 12px;
}

.admin-dashboard-panel {
  margin-bottom: 10px;
  padding: 12px 14px;
  gap: 12px;
}

.admin-dashboard-panel h2 {
  font-size: 1rem;
}

.admin-dashboard-panel p {
  font-size: 0.9rem;
}

.admin-module-pills {
  margin-bottom: 10px;
}

.admin-module-pills a {
  min-height: 32px;
  padding: 6px 12px;
}

.admin-stat-grid {
  margin-bottom: 12px;
  gap: 10px;
}

.admin-stat-card {
  min-height: 96px;
  padding: 12px;
}

.admin-stat-card strong {
  font-size: 1.2rem;
}

.admin-stat-card p {
  margin: 6px 0;
  font-size: 0.82rem;
}

.admin-stat-card a {
  margin: 0 -12px -12px;
  min-height: 28px;
}

.admin-dashboard-body .admin-grid {
  gap: 12px;
}

.admin-dashboard-body .admin-card {
  margin-bottom: 12px;
  padding: 14px;
}

.admin-utility-grid .admin-card {
  min-height: 0;
}

.admin-utility-grid .admin-card p {
  margin: 8px 0 12px;
}

.place-list-titlebar {
  padding: 12px 14px;
}

.listing-filter-head {
  padding: 10px 14px;
}

.product-style-filter {
  padding: 12px 14px;
  gap: 10px;
  grid-template-columns: minmax(260px, 1.45fr) repeat(5, minmax(128px, 1fr));
}

.admin-filter-form select,
.admin-filter-form input,
.admin-search-bar input {
  min-height: 36px;
}

.filter-button-row button,
.filter-button-row a {
  min-height: 36px;
  padding: 8px 12px;
}

.popular-filter-row {
  padding: 10px 14px;
}

.popular-filter-row > div {
  padding: 8px;
  gap: 6px;
}

.popular-filter-row a {
  min-height: 32px;
  padding: 6px 12px;
}

.listing-action-row {
  padding: 10px 14px;
}

.product-style-table {
  min-width: 1120px;
  font-size: 0.84rem;
}

.admin-dashboard-body .product-style-table th {
  padding: 10px 9px;
}

.admin-dashboard-body .product-style-table td {
  padding: 10px 9px;
}

.place-table-title {
  min-width: 190px;
}

.admin-dashboard-body .admin-thumb {
  width: 58px;
  height: 42px;
}

.place-status-pill,
.count-pill {
  min-height: 30px;
  min-width: 30px;
  padding: 5px 8px;
}

.place-table-actions {
  min-width: 128px;
  gap: 6px;
}

.admin-dashboard-body .table-actions a,
.admin-dashboard-body .place-table-actions button {
  min-height: 32px;
  padding: 7px 9px;
  font-size: 0.78rem;
}

#place-editor {
  scroll-margin-top: 12px;
}

/* Compact admin typography */
.admin-dashboard-body {
  font-size: 13px;
}

.admin-dashboard-body .admin-sidebar {
  font-size: 12.5px;
}

.admin-dashboard-body .sidebar-brand strong {
  font-size: 0.9rem;
}

.admin-dashboard-body .sidebar-brand span,
.admin-dashboard-body .sidebar-user small {
  font-size: 0.74rem;
}

.admin-dashboard-body .sidebar-user strong {
  font-size: 0.82rem;
}

.admin-dashboard-body .sidebar-menu p {
  font-size: 0.66rem;
}

.admin-dashboard-body .sidebar-menu a {
  min-height: 34px;
  font-size: 0.8rem;
}

.admin-dashboard-body .admin-header h1,
.admin-dashboard-panel h2,
.place-list-titlebar h2,
.admin-dashboard-body .admin-card h2 {
  font-size: 0.95rem;
}

.admin-dashboard-body .admin-nav::before,
.admin-dashboard-body .admin-nav a,
.admin-module-pills a,
.admin-card-link,
.add-place-button,
.filter-button-row button,
.filter-button-row a,
.admin-search-bar a {
  font-size: 0.78rem;
}

.admin-dashboard-panel p,
.admin-dashboard-body .admin-card p,
.place-list-titlebar span,
.listing-filter-head span,
.listing-action-row span {
  font-size: 0.8rem;
}

.admin-stat-card strong {
  font-size: 1.05rem;
}

.admin-stat-card span {
  font-size: 0.86rem;
}

.admin-stat-card p,
.admin-stat-card a {
  font-size: 0.74rem;
}

.admin-dashboard-body label span {
  font-size: 0.74rem;
}

.admin-dashboard-body input,
.admin-dashboard-body textarea,
.admin-dashboard-body select,
.admin-dashboard-body button {
  font-size: 0.82rem;
}

.popular-filter-row > span {
  font-size: 0.72rem;
}

.popular-filter-row a,
.edit-picker a {
  font-size: 0.76rem;
}

.product-style-table {
  font-size: 0.76rem;
}

.admin-dashboard-body .product-style-table th {
  font-size: 0.68rem;
}

.place-table-title strong {
  font-size: 0.78rem;
}

.place-table-title small {
  font-size: 0.66rem;
}

.place-status-pill,
.count-pill,
.admin-dashboard-body .table-actions a,
.admin-dashboard-body .place-table-actions button {
  font-size: 0.68rem;
}

.gem-edit-form {
  font-size: 0.82rem;
}

.admin-pagination {
  padding: 10px 14px;
  border-top: 1px solid #e6ebf2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #ffffff;
}

.admin-pagination div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.admin-pagination a,
.admin-pagination span {
  min-width: 30px;
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid #d8e0ec;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #26364c;
  background: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
}

.admin-pagination a.active {
  color: #ffffff;
  border-color: #2563eb;
  background: #2563eb;
}

.admin-pagination a.disabled {
  pointer-events: none;
  opacity: 0.45;
}

.admin-pagination span {
  border-color: transparent;
  background: transparent;
}

.managed-header-block,
.managed-footer-block {
  padding: 14px max(16px, calc((100vw - 1220px) / 2));
  border-top: 1px solid #dedede;
  background: #ffffff;
}

.managed-footer-block {
  margin-top: 24px;
  border-top: 3px solid #111;
}

.code-field textarea {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.8rem;
  line-height: 1.45;
}

/* Public news-style front page */
body:not(.admin-body) {
  background: #f7f7f7;
}

body:not(.admin-body) .site-header {
  position: relative;
  z-index: 20;
  border: 0;
  border-bottom: 1px solid #d9dde2;
  background: #ffffff;
  box-shadow: 0 3px 14px rgba(15, 23, 42, 0.06);
}

body:not(.admin-body) .news-strip {
  min-height: 34px;
  padding: 0;
  border: 0;
  color: #d9dee5;
  background: #111820;
  font-size: 0.73rem;
  font-weight: 700;
}

body:not(.admin-body) .news-strip-inner {
  width: min(1220px, calc(100% - 32px));
  min-height: 34px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

body:not(.admin-body) .desk-label {
  margin-right: auto;
  padding-left: 18px;
  border-left: 1px solid #3a424c;
  color: #9da7b3;
}

body:not(.admin-body) .news-strip-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

body:not(.admin-body) .news-strip a {
  color: #ffffff;
  text-decoration: none;
}

body:not(.admin-body) .news-strip a:hover {
  color: #ffb21c;
}

body:not(.admin-body) .masthead {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  text-align: left;
  background: #ffffff;
}

body:not(.admin-body) .brand {
  min-width: 0;
  color: #111820;
}

body:not(.admin-body) .brand-icon {
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: #c5161d;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 950;
}

body:not(.admin-body) .masthead .brand-logo {
  width: 88px;
  height: 58px;
  filter: none;
}

body:not(.admin-body) .brand strong {
  color: #111820;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3.3vw, 3rem);
  letter-spacing: 0;
  line-height: 1;
}

body:not(.admin-body) .brand small {
  margin-top: 7px;
  color: #68727e;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

body:not(.admin-body) .masthead-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

body:not(.admin-body) .public-menu-toggle {
  display: none;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid #cfd5dc;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #111820;
  background: #ffffff;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

body:not(.admin-body) .menu-toggle-icon {
  width: 17px;
  display: grid;
  gap: 3px;
}

body:not(.admin-body) .menu-toggle-icon i {
  width: 17px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

body:not(.admin-body) .public-menu-toggle[aria-expanded="true"] .menu-toggle-icon i:first-child {
  transform: translateY(5px) rotate(45deg);
}

body:not(.admin-body) .public-menu-toggle[aria-expanded="true"] .menu-toggle-icon i:nth-child(2) {
  opacity: 0;
}

body:not(.admin-body) .public-menu-toggle[aria-expanded="true"] .menu-toggle-icon i:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

body:not(.admin-body) .header-search {
  height: 40px;
  display: flex;
  border: 1px solid #cfd5dc;
  background: #ffffff;
}

body:not(.admin-body) .header-search label {
  display: block;
}

body:not(.admin-body) .header-search input {
  width: min(27vw, 270px);
  height: 38px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  color: #111820;
  background: transparent;
  font-size: 0.79rem;
}

body:not(.admin-body) .header-search:focus-within {
  border-color: #c5161d;
  box-shadow: 0 0 0 2px rgba(197, 22, 29, 0.1);
}

body:not(.admin-body) .header-search button,
body:not(.admin-body) .header-action {
  min-height: 40px;
  padding: 0 15px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: #c5161d;
  font-size: 0.75rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

body:not(.admin-body) .header-action {
  background: #111820;
}

body:not(.admin-body) .header-search button:hover,
body:not(.admin-body) .header-action:hover {
  background: #a61117;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body:not(.admin-body) .section-nav {
  min-height: 44px;
  border-top: 1px solid #e2e5e9;
  border-bottom: 3px solid #111820;
  justify-content: flex-start;
  background: #ffffff;
  scrollbar-width: none;
}

body:not(.admin-body) .section-nav::-webkit-scrollbar {
  display: none;
}

body:not(.admin-body) .nav-dropdown {
  position: relative;
  min-height: 41px;
  flex: 0 0 auto;
  align-self: stretch;
}

body:not(.admin-body) .nav-parent-row {
  height: 100%;
  display: flex;
  align-items: stretch;
}

body:not(.admin-body) .nav-parent-row > a {
  color: #ffffff;
  background: #c5161d;
}

body:not(.admin-body) .nav-submenu-toggle,
body:not(.admin-body) [data-emirates-toggle] {
  width: 34px;
  min-height: 41px;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #c5161d;
  cursor: pointer;
}

body:not(.admin-body) .nav-chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

body:not(.admin-body) [data-emirates-toggle][aria-expanded="true"] .nav-chevron {
  transform: translateY(2px) rotate(225deg);
}

body:not(.admin-body) .nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  min-width: 220px;
  padding: 6px 0;
  border: 1px solid #d9dde2;
  border-top: 3px solid #c5161d;
  display: none;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.16);
}

body:not(.admin-body) .nav-dropdown.is-open .nav-submenu {
  display: grid;
}

body:not(.admin-body) .section-nav .nav-submenu a,
body:not(.admin-body) .section-nav .nav-submenu a:first-child {
  min-height: 36px;
  padding: 10px 14px;
  border-bottom: 1px solid #eceff2;
  color: #252d36;
  background: #ffffff;
  font-size: 0.74rem;
  text-transform: none;
}

body:not(.admin-body) .section-nav .nav-submenu a:last-child {
  border-bottom: 0;
}

body:not(.admin-body) .section-nav .nav-submenu a:hover,
body:not(.admin-body) .section-nav .nav-submenu a:focus-visible {
  color: #c5161d;
  background: #f5f6f7;
}

@media (min-width: 901px) {
  body:not(.admin-body) .section-nav {
    overflow: visible;
  }

  body:not(.admin-body) .nav-dropdown:hover .nav-submenu,
  body:not(.admin-body) .nav-dropdown:focus-within .nav-submenu {
    display: grid;
  }
}

body:not(.admin-body) .section-nav a {
  flex: 0 0 auto;
  min-height: 41px;
  padding: 13px 17px 10px;
  border: 0;
  color: #252d36;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

body:not(.admin-body) .section-nav a:first-child,
body:not(.admin-body) .section-nav a:hover {
  color: #ffffff;
  background: #c5161d;
}

.front-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(280px, 380px);
  gap: 24px;
  align-items: start;
}

.front-main {
  display: grid;
  gap: 24px;
}

.latest-stories h1 {
  margin: 0;
  min-height: 52px;
  display: grid;
  place-items: center;
  color: #ff9d00;
  background: #000000;
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  font-weight: 500;
  text-transform: uppercase;
}

.latest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  background: #ffffff;
}

.lead-story {
  min-height: 337px;
  position: relative;
  display: block;
  color: #ffffff;
  overflow: hidden;
  text-decoration: none;
  background: #ddd;
}

.lead-story img {
  width: 100%;
  height: 100%;
  min-height: 337px;
  display: block;
  object-fit: cover;
}

.lead-story::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 48%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.78));
}

.lead-story span,
.lead-story strong {
  position: absolute;
  left: 22px;
  right: 22px;
  z-index: 1;
}

.lead-story span {
  bottom: 82px;
  color: #ff9d00;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lead-story strong {
  bottom: 24px;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.05;
}

.story-stack {
  display: grid;
  align-content: stretch;
  background: #ffffff;
}

.story-stack a {
  min-height: 84px;
  padding: 16px 22px;
  border-bottom: 1px solid #111111;
  display: grid;
  align-content: center;
  color: #000000;
  text-decoration: none;
}

.story-stack a span {
  color: #777777;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.story-stack a strong {
  font-size: 0.95rem;
  line-height: 1.18;
}

.story-stack a.is-hot {
  color: #ffffff;
  background: #ff9d00;
}

.story-stack a.is-hot span {
  color: #ffffff;
}

.front-story-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.front-story-cards article {
  padding: 20px;
  display: grid;
  justify-items: center;
  text-align: center;
  background: #ffffff;
}

.front-story-cards img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  background: #e9e9e9;
}

.front-story-cards h2 {
  margin: 18px 0 8px;
  font-size: 1rem;
  line-height: 1.25;
}

.front-story-cards h2 a {
  color: inherit;
  text-decoration: none;
}

.front-story-cards p {
  color: #555555;
  font-size: 0.88rem;
  line-height: 1.45;
}

.read-more-link {
  margin-top: 10px;
  min-height: 34px;
  padding: 9px 16px;
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  background: #ff9d00;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.front-search-band {
  padding: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  gap: 20px;
  align-items: center;
  color: #ffffff;
  background: #000000;
}

.front-search-band h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.05;
}

.front-search-band p {
  margin: 0;
  color: #dddddd;
}

.front-search-band .hero-search {
  margin: 0;
}

.front-issue-panel {
  display: grid;
  gap: 18px;
}

.issue-title {
  margin: 4px 0 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  color: #ff9d00;
  text-transform: uppercase;
}

.issue-title span {
  height: 1px;
  background: #111111;
}

.issue-title strong {
  font-size: 0.9rem;
}

.issue-card {
  min-height: 300px;
  padding: 26px;
  display: grid;
  justify-items: center;
  text-align: center;
  color: #ffffff;
  background: #333333;
}

.issue-card p {
  margin: 0;
  color: #ff9d00;
  font-weight: 900;
  text-transform: uppercase;
}

.issue-card strong {
  margin: 4px 0;
  font-family: Impact, Arial Black, Arial, Helvetica, sans-serif;
  font-size: 2rem;
  text-transform: uppercase;
}

.issue-card span {
  color: #dddddd;
  font-size: 0.86rem;
}

.issue-card img {
  width: min(220px, 100%);
  aspect-ratio: 4 / 3;
  margin: 18px 0;
  object-fit: cover;
}

.issue-card a {
  color: #ffffff;
  font-weight: 900;
  text-decoration: none;
}

.front-side-box {
  padding: 18px;
  background: #ffffff;
}

.front-side-box h2 {
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 3px solid #000000;
  color: #000000;
  font-size: 1rem;
  text-transform: uppercase;
}

.side-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.side-stat-grid a {
  min-height: 78px;
  padding: 10px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #ffffff;
  background: #000000;
  text-decoration: none;
}

.side-stat-grid strong {
  color: #ff9d00;
  font-size: 1.35rem;
}

.side-stat-grid span {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.side-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.side-chip-list a {
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid #d9d9d9;
  display: inline-flex;
  align-items: center;
  color: #111111;
  background: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
}

.side-chip-list a:hover {
  color: #ffffff;
  border-color: #ff9d00;
  background: #ff9d00;
}

.side-story-list {
  display: grid;
  border-top: 1px solid #d9d9d9;
}

.side-story-list a {
  padding: 12px 0;
  border-bottom: 1px solid #d9d9d9;
  display: grid;
  gap: 4px;
  color: #111111;
  text-decoration: none;
}

.side-story-list span {
  color: #ff9d00;
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.side-story-list strong {
  font-size: 0.88rem;
  line-height: 1.2;
}

.front-quick-browse {
  padding: 18px 20px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: 20px;
  align-items: center;
  color: #ffffff;
  background: #222222;
}

.front-quick-browse p {
  margin: 0 0 4px;
  color: #ff9d00;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.front-quick-browse strong {
  font-size: 1.1rem;
  line-height: 1.15;
}

.front-quick-browse nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.front-quick-browse a {
  min-height: 32px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 900;
  text-decoration: none;
}

.front-quick-browse a:hover {
  color: #000000;
  background: #ff9d00;
}

@media (max-width: 1100px) {
  .front-layout {
    grid-template-columns: 1fr;
  }

  .front-issue-panel {
    padding-top: 0;
  }
}

@media (max-width: 900px) {
  body:not(.admin-body) .masthead {
    gap: 16px;
  }

  body:not(.admin-body) .header-action {
    display: none;
  }

  body:not(.admin-body).public-menu-ready .public-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  body:not(.admin-body).public-menu-ready .section-nav {
    min-height: 0;
    padding: 0 max(16px, calc((100vw - 1220px) / 2));
    border-bottom-width: 0;
    display: none;
    align-items: stretch;
    flex-direction: column;
    overflow: visible;
    white-space: normal;
  }

  body:not(.admin-body).public-menu-ready .section-nav.is-open {
    display: flex;
    border-bottom: 3px solid #111820;
  }

  body:not(.admin-body).public-menu-ready .section-nav a {
    width: 100%;
    min-height: 42px;
    padding: 13px 2px 11px;
    border-bottom: 1px solid #e7eaee;
  }

  body:not(.admin-body).public-menu-ready .section-nav a:last-child {
    border-bottom: 0;
  }

  body:not(.admin-body) .nav-dropdown,
  body:not(.admin-body) .nav-parent-row {
    width: 100%;
  }

  body:not(.admin-body) .nav-parent-row > a {
    flex: 1;
  }

  body:not(.admin-body) [data-emirates-toggle] {
    width: 46px;
  }

  body:not(.admin-body) .nav-submenu {
    position: static;
    min-width: 0;
    padding: 5px 10px 9px;
    border: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: #f4f6f8;
    box-shadow: none;
  }

  body:not(.admin-body) .section-nav .nav-submenu a,
  body:not(.admin-body) .section-nav .nav-submenu a:first-child {
    min-height: 38px;
    padding: 11px 10px 9px;
    border-bottom: 1px solid #dfe4e8;
    background: transparent;
  }
}

@media (max-width: 760px) {
  body:not(.admin-body) .news-strip {
    min-height: 32px;
    padding: 0;
    display: block;
  }

  body:not(.admin-body) .news-strip-inner {
    width: calc(100% - 24px);
    min-height: 32px;
    gap: 12px;
  }

  body:not(.admin-body) .desk-label,
  body:not(.admin-body) .news-strip-links a:first-child {
    display: none;
  }

  body:not(.admin-body) .news-strip-links {
    margin-left: auto;
  }

  body:not(.admin-body) .masthead {
    width: calc(100% - 24px);
    min-height: 0;
    padding: 13px 0;
    flex-wrap: wrap;
    gap: 12px;
  }

  body:not(.admin-body) .brand-icon {
    width: 40px;
    height: 40px;
  }

  body:not(.admin-body) .masthead .brand-logo {
    width: 68px;
    height: 44px;
  }

  body:not(.admin-body) .brand strong {
    font-size: 1.65rem;
  }

  body:not(.admin-body) .brand small {
    margin-top: 4px;
    font-size: 0.6rem;
  }

  body:not(.admin-body) .masthead-tools,
  body:not(.admin-body) .header-search,
  body:not(.admin-body) .header-search label {
    width: 100%;
  }

  body:not(.admin-body) .header-search label {
    flex: 1;
  }

  body:not(.admin-body) .header-search input {
    width: 100%;
  }

  body:not(.admin-body) .header-action {
    display: none;
  }

  .latest-grid,
  .front-story-cards,
  .front-search-band,
  .front-quick-browse {
    grid-template-columns: 1fr;
  }

  .front-quick-browse nav {
    justify-content: flex-start;
  }

  .story-stack a {
    min-height: 72px;
  }
}

@media (max-width: 440px) {
  body:not(.admin-body) .news-strip-inner {
    font-size: 0.66rem;
  }

  body:not(.admin-body) .brand {
    gap: 8px;
  }

  body:not(.admin-body) .brand strong {
    font-size: 1.35rem;
  }

  body:not(.admin-body) .brand small {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body:not(.admin-body) .public-menu-toggle {
    min-height: 36px;
    padding: 0 10px;
  }
}

/* Responsive admin menu and place editor drawer */
.admin-menu-toggle {
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid #d8e0ec;
  border-radius: 8px;
  color: #26364c;
  background: #ffffff;
  font-weight: 900;
}

.admin-dashboard-body .admin-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.admin-dashboard-body .admin-header h1::before {
  content: none;
}

.admin-dashboard-body.menu-collapsed .admin-layout {
  grid-template-columns: 0 minmax(0, 1fr);
}

.admin-dashboard-body.menu-collapsed .admin-sidebar {
  display: none;
  width: 250px;
  transform: translateX(-100%);
}

.admin-sidebar {
  transition: transform 0.22s ease;
}

.admin-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(15, 23, 42, 0.48);
}

.place-editor-drawer {
  width: min(820px, calc(100vw - 34px));
  max-width: 100%;
  height: 100vh;
  margin: 0;
  padding: 16px;
  border-radius: 0;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  overflow-y: auto;
  transform: translateX(105%);
  transition: transform 0.24s ease;
  box-shadow: -18px 0 42px rgba(15, 23, 42, 0.18);
}

.place-drawer-open {
  overflow: hidden;
}

.place-drawer-open .admin-drawer-backdrop {
  display: block;
}

.place-drawer-open .place-editor-drawer,
.place-editor-drawer:target {
  transform: translateX(0);
}

.drawer-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.drawer-close {
  color: #ffffff !important;
  border-color: #26364c !important;
  background: #26364c !important;
}

.place-editor-drawer .gem-edit-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.place-editor-drawer .image-upload-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 860px) {
  .admin-dashboard-body .admin-header {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .admin-dashboard-body .admin-nav {
    grid-column: 1 / -1;
  }

  .admin-sidebar {
    width: 250px;
    max-width: 82vw;
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 90;
    transform: translateX(-100%);
  }

  .admin-dashboard-body.menu-open .admin-sidebar {
    transform: translateX(0);
  }

  .place-editor-drawer {
    width: 100vw;
  }

  .place-editor-drawer .gem-edit-form,
  .place-editor-drawer .image-upload-grid {
    grid-template-columns: 1fr;
  }
}
