/**********************************************
 * NAVIGATION HOVER — POP EFFECT, NO SHIFTING
 **********************************************/

.wp-block-navigation a {
  display: inline-block;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  line-height: inherit !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  transition: transform 0.15s ease, opacity 0.15s ease;
  transform-origin: center;
}

.wp-block-navigation a:hover {
  transform: scale(1.06);
  opacity: 0.85;
}


/**********************************************
 * SITE TITLE (“RJ Meza”) — POP EFFECT, NO SHIFTING
 **********************************************/

.wp-block-site-title a {
  display: inline-block;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  border: none !important;
  transition: transform 0.15s ease, opacity 0.15s ease;
  transform-origin: center;
  will-change: transform;
}

.wp-block-site-title a:hover {
  transform: scale(1.06);
  opacity: 0.85;
}


/**********************************************
 * POST TITLES — POP EFFECT, NO SHIFTING
 **********************************************/

.wp-block-post-title a,
.wp-block-post-title__link {
  display: inline-block;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  border: none !important;
  transition: transform 0.15s ease, opacity 0.15s ease;
  transform-origin: center;
  will-change: transform;
}

.wp-block-post-title a:hover,
.wp-block-post-title__link:hover {
  transform: scale(1.06);
  opacity: 0.85;
}


/**********************************************
 * POST CATEGORY LINKS — POP EFFECT, NO SHIFTING
 **********************************************/

.wp-block-post-terms a {
  display: inline-block;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  border: none !important;
  transition: transform 0.15s ease, opacity 0.15s ease;
  transform-origin: center;
  will-change: transform;
}

.wp-block-post-terms a:hover {
  transform: scale(1.06);
  opacity: 0.85;
}


/**********************************************
 * SOCIAL ICONS — POP EFFECT, NO SHIFTING
 **********************************************/

.wp-block-social-links .wp-block-social-link a {
  display: inline-block;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  border: none !important;
  transition: transform 0.15s ease, opacity 0.15s ease;
  transform-origin: center;
  will-change: transform;
}

.wp-block-social-links .wp-block-social-link a:hover {
  transform: scale(1.06);
  opacity: 0.85;
}


/**********************************************
 * READ MORE LINKS — POP EFFECT, NO SHIFTING
 **********************************************/

.wp-block-read-more a,
.more-link {
  display: inline-block;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  border: none !important;
  transition: transform 0.15s ease, opacity 0.15s ease;
  transform-origin: center;
  will-change: transform;
}

.wp-block-read-more a:hover,
.more-link:hover {
  transform: scale(1.06);
  opacity: 0.85;
}


/**********************************************
 * SCROLL FADE‑IN + FADE‑OUT ANIMATION
 **********************************************/

.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-section.is-hidden {
  opacity: 0;
  transform: translateY(20px);
}


/**********************************************
 * BUTTON HOVER — PERFECT INVERSION FOR BOTH TYPES
 **********************************************/

/* Smooth transitions for all buttons */
.wp-block-button__link,
.wp-element-button {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* DARK BUTTONS (Explore Writing, Contact Me) */
.btn-dark .wp-block-button__link,
.btn-dark.wp-block-button__link {
  background-color: var(--wp--preset--color--theme-5) !important;
  color: var(--wp--preset--color--theme-1) !important;
}

.btn-dark .wp-block-button__link:hover,
.btn-dark.wp-block-button__link:hover {
  background-color: var(--wp--preset--color--theme-1) !important;
  color: var(--wp--preset--color--theme-5) !important;
}

/* LIGHT BUTTONS (Letterboxd, Fable) */
.btn-light .wp-block-button__link,
.btn-light.wp-block-button__link {
  background-color: var(--wp--preset--color--theme-1) !important;
  color: var(--wp--preset--color--theme-5) !important;
}

.btn-light .wp-block-button__link:hover,
.btn-light.wp-block-button__link:hover {
  background-color: var(--wp--preset--color--theme-5) !important;
  color: var(--wp--preset--color--theme-1) !important;
}


/**********************************************
 * FOOTER SEPARATORS — PERFECT SYMMETRY FIX
 **********************************************/

footer .wp-block-separator {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}
