@import url('/quote/styles.css?v=20260223T032359Z');

/* photography parity: keep quote shell/components, add minimal media/filter support */
#sourceFilters.view-tabs {
  margin-top: 8px;
  display: inline-flex;
  align-items: stretch;
  align-self: flex-start;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
#sourceFilters .view-tab {
  border: 0;
  border-right: 1px solid var(--border);
  border-radius: 0;
  margin: 0;
  padding: 7px 10px;
  font-size: 12px;
  background: transparent;
}
#sourceFilters .view-tab:last-child {
  border-right: 0;
}
#sourceFilters .view-tab:hover {
  background: rgba(255, 255, 255, 0.05);
}
#sourceFilters .view-tab[data-active="1"] {
  background: rgba(199, 210, 254, 0.14);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(199, 210, 254, 0.2);
}

/* photography card mapped to quote card slots */
.quote-card .quote-main.has-image {
  grid-template-columns: 1fr;
  gap: 10px;
}
.quote-card .quote-media-wrap {
  width: 100%;
  max-width: 320px;
  min-width: 0;
  min-height: 168px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: color-mix(in srgb, var(--panel2, var(--panel)) 88%, #000 12%);
}
.quote-card .quote-media {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
}

.photo-desc {
  margin: 0.45rem 0 0;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.35;
}
.photo-desc-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.photo-meta-lines {
  margin-top: 0.45rem;
  color: var(--dim);
  font-size: 12px;
  line-height: 1.35;
}
.photo-rights-line {
  margin-top: 0.25rem;
}

.photo-copy-btn {
  min-height: 30px;
}

/* keep feed behavior parity with existing photography page */
.more-wrap {
  display: grid;
  place-items: center;
  margin-top: 6px;
}
.btn-see-more {
  min-height: 34px;
  padding-inline: 0.85rem;
}

/* focus modal (photography-specific feature) */
.focus-modal {
  display: none;
}
.focus-modal.open {
  display: block;
}
.focus-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 14, 0.72);
  z-index: 12000;
}
.focus-dialog {
  position: fixed;
  inset: 4vh 4vw;
  z-index: 12001;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  padding: 0.8rem;
  display: grid;
  grid-template-columns: minmax(320px, 1.2fr) minmax(0, 1fr);
  gap: 0.8rem;
  overflow: auto;
}
.focus-close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel2, var(--panel));
  color: var(--text);
  cursor: pointer;
}
.focus-media {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel2, var(--panel));
  min-height: 280px;
  display: grid;
  place-items: center;
}
.focus-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.focus-nav {
  margin-top: 0.7rem;
  display: flex;
  gap: 0.5rem;
}
body.modal-open {
  overflow: hidden;
}

@media (max-width: 960px) {
  .focus-dialog {
    grid-template-columns: 1fr;
  }
}

/* BEGIN PHOTOGRAPHY HOTFIX: toTopBtn class alias */
.to-top-btn {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 20010;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-size: 20px;
  line-height: 1;
  display: none;
  place-items: center;
  cursor: pointer;
}

.to-top-btn.show {
  display: grid;
}

@media (max-width: 640px) {
  .to-top-btn {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
}
/* END PHOTOGRAPHY HOTFIX: toTopBtn class alias */

/* BEGIN PHOTOGRAPHY HOTFIX: place to-top left of floating rail */
@media (min-width: 900px) {
  .to-top-btn {
    right: calc(0.95rem + 248px + 0.65rem) !important;
  }
}
/* END PHOTOGRAPHY HOTFIX: place to-top left of floating rail */


/* BEGIN PHASE3B PHOTOGRAPHY CONTROLS CLEANUP */
.site-header .view-tabs-primary {
  margin-top: .35rem;
}
.site-header .view-tabs-source {
  margin-top: .42rem;
}
.site-header .view-tabs-source .view-tab {
  font-size: 12px;
}
.photo-copy-btn {
  min-width: 122px;
}
/* END PHASE3B PHOTOGRAPHY CONTROLS CLEANUP */
