/* 508 Compass & Dove — Luminous Brushed-Gold Post CTA Buttons
 * Scoped stylesheet upgrading all post-level CTA action buttons
 * (.deep-link-btn, .post-deep-link, .cat-attach-link, .promo-go-btn)
 * from flat dark navy to our luminous brushed-gold sanctuary finish.
 */

.deep-link-row {
  background: linear-gradient(135deg, #FFFDF7 0%, #FBF5E4 100%);
  border: 1px solid #E5CE8F;
  box-shadow: 0 2px 8px rgba(180, 134, 32, 0.08);
}

.deep-link-row > span {
  color: #3A4B6C !important;
  font-weight: 700;
}

.deep-link-btn,
a.deep-link-btn,
.post-deep-link,
a.post-deep-link,
.cat-attach-link,
a.cat-attach-link,
.promo-go-btn,
a.promo-go-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, #F8D474 0%, #E4AE30 100%) !important;
  color: #0F1E3A !important;
  font-size: 13px;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  white-space: nowrap;
  border: 1px solid #C9921A !important;
  box-shadow:
    0 2px 8px rgba(201, 146, 26, 0.28),
    inset 0 1px 0 rgba(255, 250, 224, 0.78) !important;
  transition: transform 0.16s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}

.deep-link-btn:hover,
a.deep-link-btn:hover,
.post-deep-link:hover,
a.post-deep-link:hover,
.cat-attach-link:hover,
a.cat-attach-link:hover,
.promo-go-btn:hover,
a.promo-go-btn:hover {
  background: linear-gradient(180deg, #FCE190 0%, #ECBA3C 100%) !important;
  color: #091326 !important;
  border-color: #B68010 !important;
  transform: translateY(-1px);
  box-shadow:
    0 5px 14px rgba(201, 146, 26, 0.42),
    inset 0 1px 0 rgba(255, 252, 236, 0.90) !important;
}

.deep-link-btn:active,
a.deep-link-btn:active,
.post-deep-link:active,
a.post-deep-link:active,
.cat-attach-link:active,
a.cat-attach-link:active,
.promo-go-btn:active,
a.promo-go-btn:active {
  transform: translateY(0);
  box-shadow:
    0 1px 4px rgba(201, 146, 26, 0.30),
    inset 0 1px 2px rgba(145, 98, 8, 0.22) !important;
}

.deep-link-btn:focus-visible,
a.deep-link-btn:focus-visible,
.post-deep-link:focus-visible,
a.post-deep-link:focus-visible,
.cat-attach-link:focus-visible,
a.cat-attach-link:focus-visible,
.promo-go-btn:focus-visible,
a.promo-go-btn:focus-visible {
  outline: 2px solid #D4A024;
  outline-offset: 2px;
}

/* Dark theme / sanctuary dark card harmonization */
html[data-theme="dark"] .deep-link-row,
[data-theme="dark"] .deep-link-row,
body.dark .deep-link-row {
  background: linear-gradient(135deg, rgba(22, 33, 66, 0.92) 0%, rgba(16, 25, 52, 0.96) 100%);
  border-color: rgba(232, 186, 72, 0.38);
}

html[data-theme="dark"] .deep-link-row > span,
[data-theme="dark"] .deep-link-row > span,
body.dark .deep-link-row > span {
  color: #E7EEF9 !important;
}
