.destination-card-page {
  background: #fff;
}

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

.place-detail-head {
  display: grid;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(17,24,39,0.06);
}

.place-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.place-title-row h1 {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.12;
  font-weight: 720;
}

.place-title-row p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.place-action-bar {
  position: relative;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.place-action-bar .ghost-button,
.place-action-bar .primary-button {
  min-height: 36px;
}

.place-more-menu {
  position: relative;
}

.place-more-button {
  width: 38px;
  justify-content: center;
  padding-inline: 0;
  letter-spacing: 1px;
}

.place-more-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 10;
  min-width: 180px;
  display: none;
  gap: 3px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  padding: 8px;
  box-shadow: 0 18px 38px rgba(17,24,39,0.14);
}

.place-more-menu:hover .place-more-dropdown,
.place-more-menu:focus-within .place-more-dropdown {
  display: grid;
}

.place-more-dropdown button,
.place-more-dropdown a {
  width: 100%;
  min-height: 32px;
  display: flex;
  align-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  padding: 7px 9px;
  font: inherit;
  font-size: 13px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.place-more-dropdown button:hover,
.place-more-dropdown a:hover {
  background: rgba(193,18,31,0.06);
  color: #c1121f;
}

.place-detail-page .destination-card-shell {
  display: grid;
  gap: 18px;
}

/* v45.13 agency refinements */
.destination-back-link {
  justify-content: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  border-radius: 999px;
  background: #c1121f;
  color: #fff;
  font-size: 0;
}

.destination-back-link::before {
  width: 9px;
  height: 9px;
  margin-right: 0;
}

.pdf-icon-button {
  width: 38px;
  justify-content: center;
  padding: 0;
}

.pdf-icon-button img {
  width: 22px;
  height: 22px;
  display: block;
}

.gallery-title-button::after,
.gallery-panel.is-open .gallery-title-button::after {
  content: none;
}

.gallery-stage {
  width: 100%;
  padding: 0;
  cursor: zoom-in;
}

.mini-add-button {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 7px;
  border-radius: 999px;
  background: #c1121f;
  color: #fff;
  font-size: 15px;
  line-height: 1;
}

.action-socials {
  justify-content: center;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.complaint-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(193,18,31,0.25);
  border-radius: 8px;
  background: rgba(193,18,31,0.04);
  color: #c1121f;
  font-size: 12px;
  font-weight: 650;
}

.recommendation-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.recommendation-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 9px;
}

.recommendation-controls {
  display: inline-flex;
  gap: 6px;
}

.recommendation-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(193,18,31,0.28);
  border-radius: 999px;
  background: #fff;
  color: #c1121f;
  font-size: 20px;
  line-height: 1;
}

.comment-view-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.comment-view-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfdfd;
  padding: 10px;
}

.comment-view-card div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.comment-view-card strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.comment-view-card span {
  color: var(--muted);
  font-size: 11.5px;
}

.comment-view-card p {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
}

.compact-ghost {
  min-height: 30px;
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(17,24,39,0.76);
  padding: 22px;
}

.lightbox-dialog {
  position: relative;
  width: min(960px, 94vw);
  max-height: 90vh;
  display: grid;
  place-items: center;
}

.lightbox-dialog img {
  max-width: 100%;
  max-height: 84vh;
  display: block;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #c1121f;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.lightbox-close {
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  font-size: 24px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  font-size: 30px;
  line-height: 1;
}

.lightbox-nav.prev { left: -18px; }
.lightbox-nav.next { right: -18px; }

.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 650;
}

@media (max-width: 920px) {
  .place-title-row {
    display: grid;
  }

  .place-action-bar {
    justify-content: flex-start;
  }

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

@media (max-width: 520px) {
  .place-detail-head {
    padding: 14px;
  }

  .place-action-bar .ghost-button,
  .place-action-bar .primary-button {
    width: 100%;
    justify-content: center;
  }

  .place-more-menu {
    width: 100%;
  }

  .place-more-button {
    width: 100%;
  }

  .place-more-dropdown {
    left: 0;
    right: 0;
  }

  .recommendation-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-nav.prev { left: 4px; }
  .lightbox-nav.next { right: 4px; }
  .lightbox-close { right: 4px; }
}

/* v45.14B destination gallery and catalog bridge */
.old-gallery-card {
  align-self: start;
  padding: 14px;
}

.old-gallery-head {
  position: relative;
  min-height: 30px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
}

.old-gallery-head .gallery-title-button {
  grid-column: 2;
  justify-self: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  padding: 0;
  font-size: 17px;
  font-weight: 650;
  text-align: center;
}

.gallery-title-line {
  height: 2px;
  margin: 8px 0 12px;
  border-radius: 999px;
  background: var(--green);
}

.gallery-plus-button {
  grid-column: 3;
  justify-self: end;
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: #c1121f;
  padding: 0 2px;
  font-size: 28px;
  font-weight: 520;
  line-height: 1;
}

.gallery-add-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.gallery-add-panel button {
  min-height: 34px;
  border: 1px solid rgba(193,18,31,0.24);
  border-radius: 8px;
  background: rgba(193,18,31,0.04);
  color: #c1121f;
  font-size: 12px;
  font-weight: 650;
}

.old-gallery-stage {
  position: relative;
  min-height: 238px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #f3f6f8;
}

.old-gallery-stage img {
  width: 100%;
  height: 100%;
  min-height: 238px;
  display: block;
  object-fit: cover;
}

.gallery-counter {
  position: absolute;
  right: 10px;
  bottom: 10px;
  border-radius: 999px;
  background: rgba(17,24,39,0.78);
  color: #fff;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 650;
}

.old-photo-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.old-photo-grid .photo-tile {
  aspect-ratio: 1.2 / 1;
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  background: #f8fafc;
}

.old-photo-grid .photo-tile.active {
  border-color: #c1121f;
}

.old-photo-grid img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gallery-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  background: rgba(17,24,39,0.58);
  padding: 22px;
}

.gallery-modal-dialog {
  position: relative;
  width: min(1040px, 96vw);
  max-height: 90vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(16,24,40,0.24);
}

.gallery-modal-dialog header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding: 16px 18px;
}

.gallery-modal-dialog h2 {
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 680;
}

.gallery-modal-dialog header span {
  color: var(--muted);
  font-size: 12px;
}

.gallery-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(193,18,31,0.08);
  color: #c1121f;
  font-size: 23px;
  line-height: 1;
}

.gallery-modal-layout {
  min-height: 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.gallery-modal-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
  border-right: 1px solid var(--border);
  background: #fbfdfd;
  padding: 14px;
}

.gallery-modal-tabs button {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  padding: 0 11px;
  font-size: 12px;
  font-weight: 650;
}

.gallery-modal-tabs button.active {
  border-color: rgba(193,18,31,0.35);
  background: rgba(193,18,31,0.06);
  color: #c1121f;
}

.gallery-modal-tabs small {
  color: var(--muted);
  font-size: 11px;
}

.gallery-modal-content {
  min-height: 0;
  max-height: 72vh;
  overflow: auto;
  padding: 14px;
}

.modal-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.modal-photo-grid > button,
.visitor-photo-card > button:first-child {
  position: relative;
  aspect-ratio: 1.25 / 1;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #f8fafc;
  padding: 0;
}

.modal-photo-grid > button.active {
  border-color: #c1121f;
}

.modal-photo-grid img,
.visitor-photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.modal-photo-grid span {
  position: absolute;
  right: 7px;
  bottom: 7px;
  border-radius: 999px;
  background: rgba(17,24,39,0.72);
  color: #fff;
  padding: 4px 8px;
  font-size: 11px;
}

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

.modal-video-card {
  min-height: 86px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.modal-play-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(193,18,31,0.08);
  color: #c1121f;
}

.modal-video-card strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.modal-video-card small {
  color: var(--muted);
  font-size: 11.5px;
}

.visitor-photo-grid {
  align-items: start;
}

.visitor-photo-card {
  display: grid;
  gap: 7px;
}

.promote-visitor {
  min-height: 30px;
  border: 1px solid rgba(0,104,71,0.24);
  border-radius: 8px;
  background: rgba(0,104,71,0.06);
  color: var(--green);
  font-size: 11.5px;
  font-weight: 650;
}

.lightbox-dialog {
  width: min(980px, 94vw);
}

.lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 32px;
}

.lightbox-nav.prev { left: -22px; }
.lightbox-nav.next { right: -22px; }

@media (max-width: 920px) {
  .old-photo-grid,
  .modal-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-modal-layout {
    grid-template-columns: 1fr;
  }

  .gallery-modal-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .modal-video-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .old-photo-grid,
  .modal-photo-grid,
  .gallery-modal-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-modal-backdrop {
    padding: 10px;
  }

  .gallery-modal-dialog {
    max-height: 94vh;
  }

  .gallery-modal-content {
    max-height: 64vh;
  }

  .lightbox-nav {
    width: 38px;
    height: 38px;
  }
}

.destination-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.destination-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 7px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}

.destination-back-link::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

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

.destination-top-actions .ghost-button,
.destination-top-actions .primary-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.destination-card-shell {
  display: grid;
  gap: 14px;
}

.card-hero,
.gallery-panel,
.story-panel,
.visit-panel,
.destination-action-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16,24,40,0.04);
}

.destination-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px;
  align-items: stretch;
}

.card-hero {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
}

.hero-media {
  min-height: 252px;
  border: 1px solid rgba(0,104,71,0.16);
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}

.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-copy {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 11px;
}

.destination-type {
  width: fit-content;
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0,104,71,0.18);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}

.card-hero h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.05;
  font-weight: 650;
  letter-spacing: 0;
}

.card-hero h2::after {
  content: "";
  display: block;
  width: 76px;
  height: 3px;
  margin-top: 11px;
  border-radius: 999px;
  background: var(--green);
}

.hero-location,
.hero-address,
.hero-summary {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.hero-location {
  color: var(--text);
  font-weight: 600;
}

.hero-summary {
  color: var(--text);
}

.hero-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-chip {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fbfdfd;
  color: var(--text);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}

.contact-chip span {
  color: var(--muted);
  font-weight: 500;
}

.destination-action-panel {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
}

.destination-action-panel h2 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 650;
}

.destination-action-panel .primary-button,
.destination-action-panel .ghost-button,
.map-button {
  width: 100%;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 650;
}

.destination-action-panel .is-selected {
  border-color: rgba(0,104,71,0.26);
  background: var(--green);
  color: #fff;
}

.map-button {
  border: 1px solid rgba(0,104,71,0.22);
  background: var(--green-soft);
  color: var(--green);
}

.selection-status {
  min-height: 18px;
  color: var(--muted);
  font-size: 12px;
}

.agency-card-hero .hero-media {
  min-height: 220px;
}

.agency-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-pill {
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(0,104,71,0.18);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 600;
}

.status-pill.is-hidden {
  border-color: rgba(193,18,31,0.24);
  background: rgba(193,18,31,0.06);
  color: #c1121f;
}

.status-pill.muted {
  background: #fff;
  color: var(--muted);
}

.secondary-red-button {
  min-height: 38px;
  border: 1px solid rgba(193,18,31,0.38);
  border-radius: 8px;
  background: #fff;
  color: #c1121f;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 650;
}

.secondary-red-button:hover {
  background: rgba(193,18,31,0.05);
}

.quiet-share-link {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.destination-action-panel .secondary-red-button {
  width: 100%;
}

.destination-action-panel .is-selected {
  background: var(--red);
  border-color: var(--red);
}

.social-icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}

.social-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--green);
}

.social-icon:hover {
  border-color: rgba(193,18,31,0.28);
  color: #c1121f;
  background: rgba(193,18,31,0.04);
}

.social-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sales-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.1fr) minmax(260px, 0.7fr);
  gap: 14px;
  align-items: start;
}

.gallery-panel,
.story-panel,
.visit-panel {
  padding: 14px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.section-head h2,
.gallery-title-button {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
}

.gallery-title-button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.gallery-title-button::after {
  content: "Aç";
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-left: 9px;
  border: 1px solid rgba(193,18,31,0.26);
  border-radius: 999px;
  color: #c1121f;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 650;
}

.gallery-panel.is-open .gallery-title-button::after {
  content: "Kapat";
}

.gallery-add-actions {
  display: flex;
  gap: 7px;
}

.gallery-add-actions button {
  min-height: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--green);
  padding: 0 9px;
  font-size: 12px;
  font-weight: 600;
}

.gallery-add-actions button:hover {
  border-color: rgba(193,18,31,0.26);
  color: #c1121f;
}

.gallery-drawer {
  display: grid;
  gap: 10px;
}

.gallery-tabs {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 3px;
}

.gallery-tabs button {
  min-height: 30px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 650;
}

.gallery-tabs button.active {
  background: rgba(193,18,31,0.08);
  color: #c1121f;
}

.gallery-stage {
  min-height: 260px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #f8fafc;
}

.gallery-stage img,
.gallery-stage video {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: block;
  object-fit: cover;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 9px;
}

.photo-tile {
  height: 64px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  padding: 0;
}

.photo-tile.active {
  border-color: #c1121f;
  box-shadow: 0 0 0 2px rgba(193,18,31,0.08);
}

.photo-tile img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-list {
  display: grid;
  gap: 8px;
}

.video-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfdfd;
  padding: 10px;
}

.video-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0,104,71,0.09);
  color: var(--green);
  font-size: 11px;
}

.video-card strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.video-card small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
}

.video-card a {
  color: #c1121f;
  font-size: 12px;
  font-weight: 650;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 9px;
}

.gallery-thumb {
  height: 62px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  padding: 0;
}

.gallery-thumb.active {
  border-color: #c1121f;
  box-shadow: 0 0 0 2px rgba(193,18,31,0.08);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.story-content {
  display: grid;
  gap: 12px;
}

.story-block {
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
}

.story-block:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.story-block h3 {
  margin: 0 0 5px;
  color: var(--green);
  font-size: 13px;
  font-weight: 650;
}

.story-block p {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.65;
}

.info-rows {
  display: grid;
  gap: 8px;
}

.info-row {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfdfd;
  padding: 10px;
}

.info-row span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.info-row strong,
.info-row a {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.info-row a:hover {
  color: #c1121f;
}

.agency-work-grid {
  grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.1fr) minmax(280px, 0.82fr);
}

.agency-panel {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16,24,40,0.04);
  padding: 14px;
}

.agency-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 14px;
  align-items: start;
}

.linked-tour-list {
  display: grid;
  gap: 8px;
}

.linked-tour-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfdfd;
  padding: 10px;
}

.linked-tour-card a {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.linked-tour-card a:hover {
  color: #c1121f;
}

.linked-tour-card small,
.linked-tour-card span {
  display: block;
  color: var(--muted);
  font-size: 11.5px;
}

.linked-tour-card span {
  color: var(--green);
  font-weight: 700;
}

.addable-tour-box {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.addable-tour-box span {
  flex: 1 0 100%;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
}

.addable-tour-box strong {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 600;
}

.note-form {
  display: grid;
  gap: 8px;
}

.note-form textarea,
.note-form select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfdfd;
  color: var(--text);
  padding: 9px 10px;
  font-size: 13px;
  resize: vertical;
}

.note-form-actions {
  display: grid;
  grid-template-columns: minmax(180px, 260px) auto;
  gap: 8px;
  justify-content: start;
}

.note-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.note-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.note-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 11.5px;
}

.note-meta strong {
  color: var(--green);
  font-size: 12px;
  font-weight: 650;
}

.note-card p {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
}

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

.recommendation-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfdfd;
  padding: 12px;
}

.recommendation-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
}

.recommendation-card > span {
  display: block;
  margin-top: 4px;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}

.recommendation-card p {
  margin: 8px 0 10px;
  color: var(--text);
  font-size: 12.5px;
  line-height: 1.55;
}

.recommendation-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.recommendation-card small {
  color: var(--muted);
  font-size: 11.5px;
}

.recommendation-card a {
  color: #c1121f;
  font-size: 12px;
  font-weight: 650;
}

.empty-state {
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 12px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1180px) {
  .destination-top-grid,
  .sales-grid,
  .agency-bottom-grid {
    grid-template-columns: 1fr;
  }

  .destination-action-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
  }

  .destination-action-panel h2,
  .destination-action-panel .social-icon-row,
  .destination-action-panel .selection-status {
    grid-column: 1 / -1;
  }
}

@media (max-width: 920px) {
  .recommendation-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .destination-page-head,
  .card-hero {
    grid-template-columns: 1fr;
  }

  .destination-page-head {
    display: grid;
  }

  .destination-top-actions {
    justify-content: flex-start;
  }

  .destination-top-actions .ghost-button,
  .destination-top-actions .primary-button {
    flex: 1 1 134px;
    justify-content: center;
  }

  .destination-action-panel {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .gallery-stage,
  .gallery-stage img,
  .gallery-stage video {
    min-height: 220px;
  }
}

@media (max-width: 520px) {
  .gallery-thumbs,
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .video-card,
  .linked-tour-card {
    grid-template-columns: 1fr;
  }
}

/* v45.13 final overrides */
.destination-back-link {
  justify-content: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  border-radius: 999px;
  background: #c1121f;
  color: #fff;
  font-size: 0;
}

.destination-back-link::before {
  width: 9px;
  height: 9px;
  margin-right: 0;
}

.pdf-icon-button {
  width: 38px;
  justify-content: center;
  padding: 0;
}

.pdf-icon-button img {
  width: 22px;
  height: 22px;
  display: block;
}

.gallery-title-button::after,
.gallery-panel.is-open .gallery-title-button::after {
  content: none;
}

.gallery-stage {
  width: 100%;
  padding: 0;
  cursor: zoom-in;
}

.mini-add-button {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 7px;
  border-radius: 999px;
  background: #c1121f;
  color: #fff;
  font-size: 15px;
  line-height: 1;
}

.action-socials {
  justify-content: center;
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.complaint-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(193,18,31,0.25);
  border-radius: 8px;
  background: rgba(193,18,31,0.04);
  color: #c1121f;
  font-size: 12px;
  font-weight: 650;
}

.recommendation-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.recommendation-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 9px;
}

.recommendation-controls {
  display: inline-flex;
  gap: 6px;
}

.recommendation-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(193,18,31,0.28);
  border-radius: 999px;
  background: #fff;
  color: #c1121f;
  font-size: 20px;
  line-height: 1;
}

.comment-view-list {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.comment-view-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfdfd;
  padding: 10px;
}

.comment-view-card div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

.comment-view-card strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.comment-view-card span {
  color: var(--muted);
  font-size: 11.5px;
}

.comment-view-card p {
  margin: 8px 0 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.55;
}

.compact-ghost {
  min-height: 30px;
}

.lightbox-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(17,24,39,0.76);
  padding: 22px;
}

.lightbox-dialog {
  position: relative;
  width: min(960px, 94vw);
  max-height: 90vh;
  display: grid;
  place-items: center;
}

.lightbox-dialog img {
  max-width: 100%;
  max-height: 84vh;
  display: block;
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #c1121f;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

.lightbox-close {
  top: -14px;
  right: -14px;
  width: 34px;
  height: 34px;
  font-size: 24px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  width: 40px;
  height: 40px;
  transform: translateY(-50%);
  font-size: 30px;
  line-height: 1;
}

.lightbox-nav.prev { left: -18px; }
.lightbox-nav.next { right: -18px; }

.lightbox-counter {
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 650;
}

@media (max-width: 920px) {
  .recommendation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .recommendation-grid {
    grid-template-columns: 1fr;
  }

  .lightbox-nav.prev { left: 4px; }
  .lightbox-nav.next { right: 4px; }
  .lightbox-close { right: 4px; }
}
