/* FLR Captions Engagement — likes, comments, favorites.
   Palette mirrors the gallery (gold/rose/ivory on dark). Self-contained so the
   favorites page works even outside #flr-captions-page. */
.flr-cap-actions,
.flr-cap-comments,
.flr-cap-fav-wrap {
  --fce-gold: #d7b878;
  --fce-gold2: #f1d9a3;
  --fce-rose: #d16f8d;
  --fce-blush: #f2bdc9;
  --fce-ivory: #fff6ee;
  --fce-muted: #d8c7bf;
  --fce-line: rgba(215, 184, 120, .22);
  font-family: 'Inter', Arial, sans-serif;
}

/* action bar under each card */
.flr-cap-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--fce-line);
  flex-wrap: wrap;
}
.flr-cap-actions button {
  background: rgba(255, 246, 238, .04);
  border: 1px solid var(--fce-line);
  color: var(--fce-gold2);
  font: inherit;
  font-size: 13px;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: .2s ease;
}
.flr-cap-actions button:hover { border-color: var(--fce-gold2); color: var(--fce-ivory); }
.flr-cap-actions button:disabled { opacity: .5; cursor: default; }
.flr-cap-like .flr-cap-heart { font-size: 15px; line-height: 1; color: var(--fce-rose); }
.flr-cap-like.is-liked { border-color: var(--fce-rose); }
.flr-cap-like.is-liked .flr-cap-heart { color: var(--fce-blush); }
.flr-cap-signin, .flr-cap-signin-wrap a {
  color: var(--fce-gold2);
  font-size: 12.5px;
  text-decoration: underline;
}
.flr-cap-signin-wrap { margin-left: 4px; }

/* comments panel */
.flr-cap-comments {
  margin-top: 12px;
  border-top: 1px dashed var(--fce-line);
  padding-top: 12px;
}
.flr-cap-c-loading, .flr-cap-c-empty, .flr-cap-c-note {
  font-size: 13px; color: var(--fce-muted); margin: 4px 0;
}
.flr-cap-c-note { color: var(--fce-gold2); }
.flr-cap-c-item { margin: 0 0 12px; }
.flr-cap-c-alias { font-weight: 600; color: var(--fce-blush); font-size: 13px; }
.flr-cap-c-when { color: var(--fce-muted); font-size: 11px; margin-left: 8px; }
.flr-cap-c-body { color: var(--fce-ivory); font-size: 14px; line-height: 1.5; margin: 3px 0 0; }

.flr-cap-c-form { margin-top: 8px; }
.flr-cap-c-aliasline { font-size: 12px; color: var(--fce-muted); margin-bottom: 6px; }
.flr-cap-c-aliasline strong { color: var(--fce-gold2); }
.flr-cap-c-aliaschg {
  background: none; border: none; color: var(--fce-gold2);
  text-decoration: underline; cursor: pointer; font: inherit; font-size: 12px; padding: 0 2px;
}
.flr-cap-c-ta {
  width: 100%; box-sizing: border-box; resize: vertical;
  background: rgba(255, 246, 238, .04);
  border: 1px solid var(--fce-line); border-radius: 6px;
  color: var(--fce-ivory); font: inherit; font-size: 14px; padding: 9px 11px;
}
.flr-cap-c-ta:focus { outline: none; border-color: var(--fce-gold2); }
.flr-cap-c-send {
  margin-top: 8px;
  background: linear-gradient(135deg, #9c2d4d, #721835);
  border: 1px solid var(--fce-line); color: var(--fce-ivory);
  font: inherit; font-size: 13px; border-radius: 999px;
  padding: 7px 16px; cursor: pointer;
}
.flr-cap-c-send:hover { border-color: var(--fce-gold2); }
.flr-cap-c-send:disabled { opacity: .5; cursor: default; }
.flr-cap-c-msg { font-size: 12.5px; color: var(--fce-muted); margin: 6px 0 0; }
.flr-cap-c-msg.ok { color: var(--fce-blush); }
.flr-cap-c-signin { font-size: 13px; margin-top: 6px; }

/* favorites page — self-contained dark panel so it reads on any theme */
.flr-cap-fav-wrap {
  color: var(--fce-ivory);
  background: #11070d;
  padding: 40px clamp(16px, 4vw, 40px);
  border-radius: 8px;
}
.flr-cap-fav-loading, .flr-cap-fav-msg { font-size: 15px; color: var(--fce-muted); }
.flr-cap-fav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(264px, 1fr));
  gap: 20px;
  margin-top: 10px;
}
.flr-cap-fav-card {
  border: 1px solid var(--fce-line);
  background: linear-gradient(180deg, rgba(255, 246, 238, .05), rgba(255, 246, 238, .02));
  border-radius: 6px; overflow: hidden; display: flex; flex-direction: column;
}
.flr-cap-fav-card .flr-cap-figure { margin: 0; aspect-ratio: 4/5; overflow: hidden; }
.flr-cap-fav-card .flr-cap-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.flr-cap-fav-card .flr-cap-body { padding: 16px 18px 18px; }
.flr-cap-fav-card h3 {
  font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 500;
  color: var(--fce-gold2); margin: 0 0 10px;
}
.flr-cap-fav-card .flr-cap-text {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 19px; line-height: 1.5;
  color: var(--fce-ivory); font-style: italic; border-left: 2px solid var(--fce-rose);
  padding-left: 14px; margin: 0;
}
.flr-cap-unsave { font-size: 12.5px; }

/* clickable image cue (rail / gallery / favorites cards) */
.flr-cap-card .flr-cap-figure { cursor: pointer; }

/* ── "Show all →" link injected into each rail head ─────────────────────── */
.flr-cap-showall {
  --fce-gold2: #f1d9a3;
  --fce-blush: #f2bdc9;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 13px;
  letter-spacing: .3px;
  color: var(--fce-gold2) !important;
  text-decoration: none;
  border: none !important;
  border-bottom: 1px solid rgba(215, 184, 120, .45) !important;
  align-self: flex-end;
  margin: 0 auto 4px 16px;   /* margin-right:auto pushes the arrows to the far right */
  white-space: nowrap;
  transition: color .2s ease, border-color .2s ease;
}
.flr-cap-showall:hover { color: var(--fce-blush) !important; border-bottom-color: var(--fce-blush) !important; }
@media (max-width: 640px) { .flr-cap-showall { margin: 0 0 4px 14px; } }

/* ── Full-screen lightbox ───────────────────────────────────────────────── */
body.flr-cap-lb-lock { overflow: hidden; }
.flr-cap-lb {
  --fce-gold2: #f1d9a3;
  --fce-rose: #d16f8d;
  --fce-blush: #f2bdc9;
  --fce-ivory: #fff6ee;
  --fce-muted: #d8c7bf;
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  font-family: 'Inter', Arial, sans-serif;
}
.flr-cap-lb.is-open { display: flex; }
.flr-cap-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 3, 8, .92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.flr-cap-lb-stage {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(560px, 92vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: flr-cap-lb-in .28s ease;
}
@keyframes flr-cap-lb-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.flr-cap-lb-img {
  display: block;
  max-width: 100%;
  max-height: 72vh;
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  border: 1px solid rgba(215, 184, 120, .25);
}
.flr-cap-lb-cap {
  margin-top: 18px;
  max-width: 520px;
  text-align: center;
}
.flr-cap-lb-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--fce-gold2);
  margin: 0 0 8px;
}
.flr-cap-lb-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 21px;
  line-height: 1.5;
  font-style: italic;
  color: var(--fce-ivory);
  margin: 0;
}
.flr-cap-lb-close,
.flr-cap-lb-nav {
  position: absolute;
  z-index: 2;
  background: rgba(255, 246, 238, .06);
  border: 1px solid rgba(215, 184, 120, .4);
  color: var(--fce-gold2);
  cursor: pointer;
  display: grid;
  place-items: center;
  border-radius: 50%;
  line-height: 1;
  transition: .2s ease;
}
.flr-cap-lb-close:hover,
.flr-cap-lb-nav:hover { border-color: var(--fce-gold2); color: var(--fce-ivory); background: linear-gradient(135deg, #9c2d4d, #721835); }
.flr-cap-lb-close { top: clamp(12px, 3vw, 28px); right: clamp(12px, 3vw, 28px); width: 46px; height: 46px; font-size: 26px; }
.flr-cap-lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; }
.flr-cap-lb-nav:hover { transform: translateY(-50%) scale(1.06); }
.flr-cap-lb-prev { left: clamp(8px, 2.5vw, 32px); }
.flr-cap-lb-next { right: clamp(8px, 2.5vw, 32px); }
@media (max-width: 640px) {
  .flr-cap-lb-img { max-height: 64vh; }
  .flr-cap-lb-nav { width: 44px; height: 44px; font-size: 26px; }
  .flr-cap-lb-prev { left: 8px; }
  .flr-cap-lb-next { right: 8px; }
  .flr-cap-lb-text { font-size: 19px; }
}

/* ── [flr_caption_gallery] per-category grid page ───────────────────────── */
.flr-cap-gallery {
  --fce-ink: #11070d;
  --fce-gold2: #f1d9a3;
  --fce-rose: #d16f8d;
  --fce-blush: #f2bdc9;
  --fce-ivory: #fff6ee;
  --fce-muted: #d8c7bf;
  --fce-line: rgba(215, 184, 120, .22);
  background: var(--fce-ink);
  color: var(--fce-ivory);
  padding: clamp(40px, 6vw, 72px) 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
}
.flr-cap-gallery * { box-sizing: border-box; }
.flr-cap-gallery-inner { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.flr-cap-gallery-eyebrow {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--fce-rose); margin: 0 0 14px;
}
.flr-cap-gallery-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(34px, 6vw, 64px); line-height: 1.04; font-weight: 400;
  color: var(--fce-ivory); margin: 0;
}
.flr-cap-gallery-title em { color: var(--fce-blush); font-style: italic; }
.flr-cap-gallery-blurb {
  font-family: 'Inter', Arial, sans-serif;
  font-size: 15px; line-height: 1.8; color: var(--fce-muted);
  max-width: 680px; margin: 18px 0 0;
}
.flr-cap-gallery-blurb a { color: var(--fce-gold2); }
.flr-cap-back-wrap { margin: 18px 0 0; }
.flr-cap-back {
  font-family: 'Inter', Arial, sans-serif; font-size: 13.5px;
  color: var(--fce-gold2); text-decoration: none;
  border-bottom: 1px solid rgba(215, 184, 120, .4);
}
.flr-cap-back:hover { color: var(--fce-blush); }
.flr-cap-gallery-index {
  list-style: none; margin: 28px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px;
}
.flr-cap-gallery-index a {
  font-family: 'Inter', Arial, sans-serif; font-size: 15px;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; color: var(--fce-ivory); text-decoration: none;
  border: 1px solid var(--fce-line); border-radius: 6px;
  background: linear-gradient(180deg, rgba(255, 246, 238, .05), rgba(255, 246, 238, .02));
  transition: .2s ease;
}
.flr-cap-gallery-index a:hover { border-color: rgba(215, 184, 120, .5); color: var(--fce-blush); }
.flr-cap-gallery-n { color: var(--fce-gold2); font-size: 13px; }
.flr-cap-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(264px, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.flr-cap-gcard {
  border: 1px solid var(--fce-line);
  background: linear-gradient(180deg, rgba(255, 246, 238, .05), rgba(255, 246, 238, .02));
  border-radius: 6px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.flr-cap-gcard:hover { transform: translateY(-6px); border-color: rgba(215, 184, 120, .5); box-shadow: 0 24px 54px rgba(0, 0, 0, .45); }
.flr-cap-gcard .flr-cap-figure { margin: 0; aspect-ratio: 4/5; overflow: hidden; background: linear-gradient(145deg, rgba(156, 45, 77, .5), rgba(24, 9, 17, .95)); }
.flr-cap-gcard .flr-cap-figure img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.flr-cap-gcard:hover .flr-cap-figure img { transform: scale(1.05); }
.flr-cap-gcard .flr-cap-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.flr-cap-gcard h3 {
  font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 500; line-height: 1.3;
  color: var(--fce-gold2); margin: 0 0 10px;
}
.flr-cap-gcard .flr-cap-text {
  font-family: 'Cormorant Garamond', Georgia, serif; font-size: 20px; line-height: 1.5;
  color: var(--fce-ivory); font-style: italic; border-left: 2px solid var(--fce-rose);
  padding-left: 14px; margin: 0;
}
