

/* block-gap-override: Collapse WordPress default block gap in single posts */
.single main > .wp-block-group,
.single .wp-block-post-content,
.single .entry-content {
  --wp--style--block-gap: 0 !important;
}

/* Tighten the article header area */
.single .wp-block-post-terms + h1,
.single .wp-block-post-terms + .wp-block-post-title {
  margin-top: 0.5rem !important;
}

/* Collapse gap between title/meta and content */  
.single .wp-block-post-date,
.single .wp-block-post-author-name {
  margin-bottom: 0 !important;
}

/* Empty paragraphs in post content */
.wp-block-post-content p:empty,
.entry-content p:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}

/*
 Theme Name:   The Capital Letter
 Theme URI:    https://redefincapital.com/insights
 Description:  Custom child theme for RedeFin Capital's blog â The Capital Letter. Navy/gold branded design matching the main site.
 Author:       RedeFin Capital
 Author URI:   https://redefincapital.com
 Template:     twentytwentyfive
 Version:      2.0.0
 Text Domain:  the-capital-letter
*/

/* ============================================================
   IMPORTS: Google Fonts
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES (RedeFin Brand Tokens)
   ============================================================ */
:root {
  /* Brand Colours */
  --rf-indigo: #0B1121;
  --rf-indigo-light: #1a2842;
  --rf-indigo-mid: #131d33;
  --rf-indigo-dark: #060a14;
  --rf-indigo-card: #111a2e;
  --rf-indigo-card-hover: #162040;
  --rf-gold: #C9A84C;
  --rf-gold-light: #D4C4A0;
  --rf-gold-dark: #A8892E;
  --rf-gold-glow: rgba(201, 168, 76, 0.08);
  --rf-accent: #2A8A8E;
  --rf-accent-light: #3AA7AB;
  --rf-navy: #0d1526;
  --rf-border: rgba(201, 168, 76, 0.1);
  --rf-border-strong: rgba(201, 168, 76, 0.18);
  --rf-border-hover: rgba(201, 168, 76, 0.35);

  /* Text */
  --rf-text: #f1f5f9;
  --rf-text-secondary: rgba(255,255,255,0.72);
  --rf-text-muted: rgba(255,255,255,0.45);
  --rf-text-dark: #0B1121;

  /* Typography */
  --rf-font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --rf-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Spacing */
  --rf-radius-card: 12px;
  --rf-radius-lg: 16px;
  --rf-radius-button: 8px;
  --rf-radius-tag: 20px;
  --rf-space-section: 56px;
  --rf-space-card: 24px;

  /* Shadows */
  --rf-shadow-card: 0 2px 12px rgba(0,0,0,0.2);
  --rf-shadow-card-hover: 0 8px 32px rgba(0,0,0,0.35);
  --rf-shadow-featured: 0 4px 40px rgba(201, 168, 76, 0.06);
}

/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
html {
  scroll-behavior: smooth;
}

body,
.wp-site-blocks {
  background-color: var(--rf-indigo) !important;
  color: var(--rf-text) !important;
  font-family: var(--rf-font-body) !important;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body:not(.admin-bar) {
  margin-top: 0 !important;
}

/* ============================================================
   HEADER / SITE TITLE
   ============================================================ */
.wp-block-site-title,
.wp-block-site-title a {
  font-family: var(--rf-font-heading) !important;
  font-weight: 700 !important;
  font-size: 1.4rem !important;
  letter-spacing: 0.5px;
  color: var(--rf-gold) !important;
  text-decoration: none !important;
}

.wp-block-site-title a:hover {
  color: var(--rf-gold-light) !important;
}

.wp-block-site-tagline {
  color: var(--rf-text-secondary) !important;
  font-family: var(--rf-font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 400;
}

header.wp-block-template-part,
.wp-block-template-part[data-type="header"] {
  background: var(--rf-indigo) !important;
  border-bottom: 1px solid var(--rf-border) !important;
  padding: 0.75rem 0 !important;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.wp-block-navigation a,
.wp-block-navigation .wp-block-navigation-item__content {
  color: var(--rf-text-secondary) !important;
  font-family: var(--rf-font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.wp-block-navigation a:hover,
.wp-block-navigation .wp-block-navigation-item__content:hover {
  color: var(--rf-gold) !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.tcl-hero {
  text-align: center;
  position: relative;
}

/* Subtle gold radial glow behind hero */
.tcl-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.tcl-hero > * {
  position: relative;
  z-index: 1;
}

/* Hide default TT5 archive title */
.home .wp-block-query-title {
  display: none !important;
}

/* ============================================================
   CATEGORY NAVIGATION BAR
   ============================================================ */
.tcl-cat-nav p {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.tcl-cat-link {
  display: inline-block !important;
  padding: 7px 18px !important;
  border-radius: var(--rf-radius-tag) !important;
  background: transparent !important;
  border: 1px solid var(--rf-border-strong) !important;
  color: var(--rf-text-muted) !important;
  text-decoration: none !important;
  font-size: 0.78rem !important;
  font-weight: 500 !important;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.tcl-cat-link:hover {
  background: rgba(201, 168, 76, 0.08) !important;
  border-color: var(--rf-gold) !important;
  color: var(--rf-gold) !important;
}

.tcl-cat-active {
  background: var(--rf-gold) !important;
  color: var(--rf-text-dark) !important;
  border-color: var(--rf-gold) !important;
  font-weight: 600 !important;
}

.tcl-cat-active:hover {
  background: var(--rf-gold-dark) !important;
  color: var(--rf-text-dark) !important;
  border-color: var(--rf-gold-dark) !important;
}

/* ============================================================
   FEATURED POST CARD â full-width, gradient backdrop
   ============================================================ */
.tcl-featured-card .tcl-featured-inner {
  background: linear-gradient(135deg, var(--rf-indigo-card) 0%, rgba(26,40,66,0.9) 50%, rgba(201,168,76,0.04) 100%) !important;
  border: 1px solid var(--rf-border-strong) !important;
  position: relative;
  overflow: hidden;
  box-shadow: var(--rf-shadow-featured);
  transition: all 0.35s ease;
}

/* Decorative corner accent */
.tcl-featured-card .tcl-featured-inner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle at top right, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* Decorative bottom-left accent */
.tcl-featured-card .tcl-featured-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle at bottom left, rgba(42,138,142,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.tcl-featured-card .tcl-featured-inner:hover {
  border-color: var(--rf-border-hover) !important;
  box-shadow: 0 8px 48px rgba(201,168,76,0.08);
  transform: translateY(-2px);
}

.tcl-featured-card .tcl-featured-inner > * {
  position: relative;
  z-index: 1;
}

.tcl-featured-badge {
  background: rgba(201, 168, 76, 0.12) !important;
  padding: 4px 12px !important;
  border-radius: var(--rf-radius-tag) !important;
  display: inline-block !important;
  border: 1px solid rgba(201, 168, 76, 0.2);
}

/* Featured grid â prevent WP from adding list styles */
.tcl-featured-grid {
  list-style: none !important;
  padding: 0 !important;
}

/* ============================================================
   POST CARDS (Article Grid)
   ============================================================ */

/* Card container â EQUAL HEIGHT via flex stretch */
.tcl-post-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: var(--rf-shadow-card) !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.tcl-post-card:hover {
  border-color: var(--rf-border-hover) !important;
  box-shadow: var(--rf-shadow-card-hover) !important;
  transform: translateY(-4px);
}

/* Force grid to stretch all items to same row height */
.wp-block-post-template.is-layout-grid {
  align-items: stretch !important;
}

.wp-block-post-template > li,
.wp-block-post-template > div {
  display: flex !important;
  flex-direction: column !important;
  align-self: stretch !important;
}

.wp-block-post-template > li > .tcl-post-card,
.wp-block-post-template > div > .tcl-post-card {
  flex: 1 !important;
  height: 100% !important;
}

/* Featured image in card â CONSISTENT height */
.tcl-post-card .wp-block-post-featured-image {
  aspect-ratio: 4/1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rf-indigo-light) 0%, var(--rf-indigo-mid) 100%);
  flex-shrink: 0;
}

.tcl-post-card .wp-block-post-featured-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.tcl-post-card:hover .wp-block-post-featured-image img {
  transform: scale(1.04);
}

/* When no image â show consistent-height gradient placeholder */
.tcl-post-card .wp-block-post-featured-image:empty,
.tcl-post-card .wp-block-post-featured-image:not(:has(img)) {
  aspect-ratio: 4/1;
  background: linear-gradient(135deg, var(--rf-indigo-light) 0%, rgba(201,168,76,0.06) 100%);
  position: relative;
}

/* Decorative pattern for no-image cards */
.tcl-post-card .wp-block-post-featured-image:not(:has(img))::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(201,168,76,0.02) 20px,
    rgba(201,168,76,0.02) 40px
  );
}

/* Card content area â flex grow to push footer to bottom */
.tcl-post-card > .wp-block-group {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Excerpt area grows to fill available space */
.tcl-post-card .wp-block-post-excerpt {
  flex: 1 1 auto !important;
}

/* Push the date/read row to the bottom of the card */
.tcl-post-card > .wp-block-group > .wp-block-group:last-child {
  margin-top: auto !important;
}

/* Title â prevent extreme variation */
.tcl-post-card .wp-block-post-title {
  flex-shrink: 0 !important;
}

/* Category badges in cards — single line, compact */
.tcl-post-card .wp-block-post-terms {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 5px !important;
  min-height: 20px !important;
  flex-shrink: 0 !important;
  align-items: center;
  overflow: hidden;
}

.tcl-post-card .wp-block-post-terms a {
  background: rgba(42, 138, 142, 0.12) !important;
  color: var(--rf-accent) !important;
  padding: 2px 8px !important;
  border-radius: var(--rf-radius-tag) !important;
  display: inline-block;
  margin: 0 !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  font-size: 0.58rem !important;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 0.3px;
}

.tcl-post-card .wp-block-post-terms a:hover {
  background: rgba(42, 138, 142, 0.25) !important;
  color: var(--rf-accent-light) !important;
}

/* Post title in card â CLAMP to 2 lines for consistency */
.tcl-post-card .wp-block-post-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 2.8em;
}

.tcl-post-card .wp-block-post-title a {
  text-decoration: none !important;
  transition: color 0.2s ease;
}

/* Excerpt in card â CLAMP to 3 lines */
.tcl-post-card .wp-block-post-excerpt__excerpt {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* ============================================================
   POST GRID (from post-template)
   ============================================================ */
.wp-block-post-template {
  gap: 24px !important;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.wp-block-query-pagination {
  margin-top: 3rem !important;
  justify-content: center !important;
}

.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers {
  background: var(--rf-indigo-card) !important;
  color: var(--rf-text-secondary) !important;
  border: 1px solid var(--rf-border-strong) !important;
  border-radius: var(--rf-radius-button) !important;
  padding: 8px 16px !important;
  text-decoration: none !important;
  font-weight: 500;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.wp-block-query-pagination a:hover,
.wp-block-query-pagination .page-numbers:hover {
  background: var(--rf-gold) !important;
  color: var(--rf-text-dark) !important;
  border-color: var(--rf-gold) !important;
}

.wp-block-query-pagination .page-numbers.current {
  background: var(--rf-gold) !important;
  color: var(--rf-text-dark) !important;
  border-color: var(--rf-gold) !important;
  font-weight: 700;
}

/* ============================================================
   SINGLE POST (Article View)
   ============================================================ */

/* Fix whitespace gap before article content */
.single .wp-block-post-content > *:first-child,
.single .entry-content > *:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
.single .wp-block-post-content > p:first-child:empty,
.single .entry-content > p:first-child:empty {
  display: none !important;
}
.single .wp-block-post-content,
.single .entry-content {
  margin-top: 0 !important;
}

h1.wp-block-post-title,
.single .entry-title {
  font-family: var(--rf-font-heading) !important;
  font-size: clamp(1.8rem, 4vw, 2.6rem) !important;
  font-weight: 700 !important;
  color: var(--rf-gold) !important;
  line-height: 1.25 !important;
  letter-spacing: -0.5px;
  margin-bottom: 1rem !important;
  max-width: 780px;
}

.wp-block-post-author-name,
.wp-block-post-author-name a {
  color: var(--rf-text-secondary) !important;
  font-weight: 500;
  text-decoration: none !important;
}

/* Content typography */
.wp-block-post-content,
.entry-content {
  max-width: 780px !important;
  margin: 0 auto !important;
}

.wp-block-post-content p,
.entry-content p {
  color: var(--rf-text) !important;
  font-size: 1.05rem !important;
  line-height: 1.8 !important;
  margin-bottom: 1.5rem !important;
  text-align: justify !important;
  hyphens: auto;
}

/* Lists also justified */
.wp-block-post-content li,
.entry-content li {
  text-align: justify !important;
}

.wp-block-post-content h2,
.entry-content h2 {
  font-family: var(--rf-font-heading) !important;
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--rf-text) !important;
  margin-top: 2.5rem !important;
  margin-bottom: 1rem !important;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--rf-border);
}

.wp-block-post-content h3,
.entry-content h3 {
  font-family: var(--rf-font-heading) !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: var(--rf-gold-light) !important;
  margin-top: 2rem !important;
  margin-bottom: 0.75rem !important;
}

.wp-block-post-content h4,
.entry-content h4 {
  font-family: var(--rf-font-heading) !important;
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: var(--rf-text) !important;
}

/* Blockquotes — Clean institutional pull-quote */
.wp-block-post-content blockquote,
.entry-content blockquote {
  border: none !important;
  border-left: 2px solid rgba(201, 168, 76, 0.4) !important;
  background: transparent !important;
  padding: 1rem 0 1rem 2rem !important;
  margin: 2.5rem 0 !important;
  border-radius: 0 !important;
}
.wp-block-post-content blockquote p,
.entry-content blockquote p {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 1.08rem !important;
  font-style: italic !important;
  line-height: 1.75 !important;
  text-align: left !important;
}
.wp-block-post-content blockquote cite,
.entry-content blockquote cite,
.wp-block-post-content blockquote span[style*="font-weight"],
.entry-content blockquote span[style*="font-weight"] {
  display: block !important;
  font-size: 0.78rem !important;
  color: #C9A84C !important;
  font-style: normal !important;
  font-weight: 600 !important;
  margin-top: 0.75rem !important;
}

/* Code */
.wp-block-post-content code,
.entry-content code {
  background: rgba(201, 168, 76, 0.08) !important;
  color: var(--rf-gold) !important;
  padding: 2px 8px !important;
  border-radius: 4px !important;
  font-size: 0.9em !important;
}

/* Lists */
.wp-block-post-content ul,
.wp-block-post-content ol,
.entry-content ul,
.entry-content ol {
  color: var(--rf-text) !important;
  padding-left: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

.wp-block-post-content li,
.entry-content li {
  margin-bottom: 0.5rem !important;
  line-height: 1.7 !important;
}

.wp-block-post-content ul li::marker {
  color: var(--rf-gold) !important;
}

/* Links in content — Subtle, professional */
.wp-block-post-content a:not(.wp-block-post-title a):not(.wp-block-button__link),
.entry-content a:not(.wp-block-button__link) {
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: none !important;
  border-bottom: 1px solid rgba(201, 168, 76, 0.35) !important;
  padding-bottom: 1px;
  transition: all 0.2s ease;
}
.wp-block-post-content a:not(.wp-block-post-title a):not(.wp-block-button__link):hover,
.entry-content a:not(.wp-block-button__link):hover {
  color: #C9A84C !important;
  border-bottom-color: #C9A84C !important;
}

/* Images in content */
.wp-block-post-content img,
.entry-content img {
  border-radius: var(--rf-radius-card) !important;
  border: 1px solid var(--rf-border) !important;
}

.wp-block-post-content figure {
  margin: 2rem 0 !important;
}

.wp-block-post-content figcaption {
  color: var(--rf-text-muted) !important;
  font-size: 0.82rem !important;
  text-align: center !important;
  margin-top: 8px !important;
  font-style: italic;
}

.wp-block-post-content em,
.entry-content em {
  color: var(--rf-text-secondary) !important;
}

/* Share bar in single post */
.tcl-share-bar {
  border: 1px solid var(--rf-border) !important;
}

.tcl-share-bar a[title*="LinkedIn"]:hover,
.tcl-share-bar a[title*="X"]:hover,
.tcl-share-bar a[title*="YouTube"]:hover,
.tcl-share-bar a[title*="Instagram"]:hover,
.tcl-share-bar a[title*="Facebook"]:hover {
  background: rgba(201,168,76,0.2) !important;
  border-color: var(--rf-gold) !important;
  transform: translateY(-1px);
}

/* Related cards â no featured images, just text */
.tcl-related-card {
  transition: all 0.25s ease !important;
}

.tcl-related-card:hover {
  border-color: var(--rf-border-hover) !important;
  transform: translateY(-2px);
}

/* ============================================================
   CAPITAL PLAYBOOK CTA
   ============================================================ */
.tcl-playbook-inner {
  background: linear-gradient(135deg, var(--rf-indigo-card) 0%, rgba(201,168,76,0.06) 100%) !important;
  border: 1px solid var(--rf-border-strong) !important;
  position: relative;
  overflow: hidden;
}

.tcl-playbook-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rf-gold), var(--rf-accent), transparent);
}

.tcl-playbook-inner::after {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.tcl-playbook-btn {
  background: var(--rf-gold) !important;
  color: var(--rf-text-dark) !important;
  white-space: nowrap;
  transition: all 0.25s ease !important;
}

.tcl-playbook-btn:hover {
  background: var(--rf-gold-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.2) !important;
}

/* ============================================================
   NEWSLETTER CTA
   ============================================================ */
.tcl-newsletter {
  background: linear-gradient(135deg, var(--rf-indigo-card) 0%, rgba(201, 168, 76, 0.04) 100%) !important;
  border: 1px solid var(--rf-border-strong) !important;
  border-radius: var(--rf-radius-lg) !important;
  position: relative;
  overflow: hidden;
}

.tcl-newsletter::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201,168,76,0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.wp-block-template-part,
.wp-block-template-part[data-type="footer"] {
  background: var(--rf-indigo-dark) !important;
  border-top: 1px solid var(--rf-border) !important;
  padding: 2rem 0 !important;
}

footer p,
footer .wp-block-paragraph {
  color: var(--rf-text-muted) !important;
  font-size: 0.85rem !important;
}

footer a {
  color: var(--rf-gold) !important;
  text-decoration: none !important;
}

footer a:hover {
  color: var(--rf-gold-light) !important;
}

/* ============================================================
   SEARCH & 404
   ============================================================ */
.wp-block-search__input {
  background: var(--rf-indigo-card) !important;
  border: 1px solid var(--rf-border-strong) !important;
  color: var(--rf-text) !important;
  border-radius: var(--rf-radius-button) !important;
  padding: 10px 16px !important;
}

.wp-block-search__button {
  background: var(--rf-gold) !important;
  color: var(--rf-text-dark) !important;
  border: none !important;
  border-radius: var(--rf-radius-button) !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  cursor: pointer;
  transition: background 0.2s ease;
}

.wp-block-search__button:hover {
  background: var(--rf-gold-dark) !important;
}

/* ============================================================
   BUTTONS (General)
   ============================================================ */
.wp-block-button .wp-block-button__link,
.wp-element-button {
  background: var(--rf-gold) !important;
  color: var(--rf-text-dark) !important;
  font-family: var(--rf-font-body) !important;
  font-weight: 600 !important;
  border-radius: var(--rf-radius-button) !important;
  padding: 12px 28px !important;
  text-decoration: none !important;
  transition: all 0.25s ease;
  border: none !important;
  letter-spacing: 0.2px;
}

.wp-block-button .wp-block-button__link:hover,
.wp-element-button:hover {
  background: var(--rf-gold-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201,168,76,0.2);
}

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: var(--rf-gold) !important;
  border: 2px solid var(--rf-gold) !important;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--rf-gold) !important;
  color: var(--rf-text-dark) !important;
}

/* ============================================================
   SEPARATOR / SPACER
   ============================================================ */
.wp-block-separator,
hr {
  border-color: var(--rf-border) !important;
  opacity: 1 !important;
}

/* ============================================================
   RESEARCH REPORTS PAGE
   ============================================================ */
.tcl-report-card {
  background: var(--rf-indigo-card) !important;
  border: 1px solid var(--rf-border-strong) !important;
  border-radius: var(--rf-radius-lg) !important;
  overflow: hidden;
  transition: all 0.3s ease;
}

.tcl-report-card:hover {
  border-color: var(--rf-border-hover) !important;
  box-shadow: var(--rf-shadow-card-hover);
  transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .wp-block-post-template {
    gap: 16px !important;
  }

  h1.wp-block-post-title {
    font-size: 1.5rem !important;
  }

  .wp-block-post-content p {
    font-size: 1rem !important;
  }

  .tcl-featured-card .tcl-featured-inner {
    padding: 1.5rem !important;
  }

  .tcl-cat-nav p {
    gap: 6px;
  }

  .tcl-cat-link {
    padding: 5px 12px !important;
    font-size: 0.72rem !important;
  }
}

@media (max-width: 480px) {
  .tcl-post-card .wp-block-post-title a {
    font-size: 0.95rem !important;
  }
}

/* ============================================================
   SELECTION & SCROLLBAR
   ============================================================ */
::selection {
  background: rgba(201, 168, 76, 0.3);
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--rf-indigo);
}

::-webkit-scrollbar-thumb {
  background: var(--rf-indigo-light);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--rf-gold-dark);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tcl-featured-card,
.tcl-post-card {
  animation: fadeInUp 0.4s ease both;
}

/* Stagger card animations */
.wp-block-post-template > *:nth-child(1) .tcl-post-card { animation-delay: 0.05s; }
.wp-block-post-template > *:nth-child(2) .tcl-post-card { animation-delay: 0.1s; }
.wp-block-post-template > *:nth-child(3) .tcl-post-card { animation-delay: 0.15s; }
.wp-block-post-template > *:nth-child(4) .tcl-post-card { animation-delay: 0.2s; }
.wp-block-post-template > *:nth-child(5) .tcl-post-card { animation-delay: 0.25s; }
.wp-block-post-template > *:nth-child(6) .tcl-post-card { animation-delay: 0.3s; }
.wp-block-post-template > *:nth-child(7) .tcl-post-card { animation-delay: 0.35s; }
.wp-block-post-template > *:nth-child(8) .tcl-post-card { animation-delay: 0.4s; }
.wp-block-post-template > *:nth-child(9) .tcl-post-card { animation-delay: 0.45s; }