/* Balance the single featured story on desktop without enlarging its image. */
@media (min-width: 900px) {
  body.home .ultp-block-b07927 .ultp-block-content-wrap { display: grid !important; grid-template-columns: 300px minmax(0, 1fr); align-items: center; column-gap: 36px; row-gap: 14px; max-width: 900px; margin: 0 auto; }
  body.home .ultp-block-b07927 .ultp-block-entry-content { display: contents !important; }
  body.home .ultp-block-b07927 .ultp-block-entry-heading { grid-column: 2; grid-row: 1; text-align: left; }
  body.home .ultp-block-b07927 .ultp-block-image { grid-column: 1; grid-row: 1 / span 2; margin: 0 !important; }
  body.home .ultp-block-b07927 .ultp-block-content { grid-column: 2; grid-row: 2; text-align: left; }
}
/* Softer purple for broad surfaces and custom accents. */
html body #colophon, html body #colophon .bottom-footer { background-color: #582677 !important; }
html body.home .ultp-block-3107d5, html body.home .ultp-block-286670 { border-color: #582677 !important; }
html body section[aria-labelledby="royal-circle-heading"] button[type="submit"] { background: #582677 !important; }
html body:not(.site-mode--dark) .wp-block-postx-post-title, html body:not(.site-mode--dark) .wp-block-postx-heading { color: #582677 !important; }
html body .wp-block-postx-read-more a, html body .postx-button, html body .postx-read-more { background-color: #582677 !important; }
html body .wp-block-postx-read-more a:hover, html body .postx-button:hover, html body .postx-read-more:hover { background-color: #70418c !important; }
html body #cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: #582677 !important; }
html body #cmplz-cookiebanner .cmplz-btn.cmplz-deny { color: #582677 !important; }
body.site-mode--dark.home .ultp-block-b07927 .ultp-block-title a { color: #c9aa75 !important; }
/* Deepen gold text on pale homepage cards. */
body.home .ultp-block-5e6daf .ultp-heading-inner span,
body.home .ultp-block-bebeb8 .ultp-heading-inner span,
body.home .ultp-block-b9d6ca .ultp-heading-inner span { color: #805525 !important; }
body.home:not(.site-mode--dark) .ultp-block-b07927 .ultp-block-title a { color: #805525 !important; }
/* Keep the homepage tribute readable in dark mode. */
/* Keep Connect with Us links evenly spaced at every screen width. */
#top-footer .np-footer-widget:last-child { display: flex; flex-direction: column; gap: 4px; }
#top-footer .np-footer-widget:last-child > section { margin: 0 !important; }
#top-footer .footer-contact p, #top-footer #block-31 p { margin: 0 !important; line-height: 25.5px !important; }
#top-footer #block-41 li, #top-footer #block-42 li { margin: 0 !important; line-height: 25.5px !important; }
#top-footer #block-31 a { display: block; padding: 0 !important; margin: 0 0 4px !important; line-height: 25.5px !important; }
#top-footer #block-31 a:last-child { margin-bottom: 0 !important; }

body.site-mode--dark.home .tribute-section .ultp-heading-inner,
body.site-mode--dark.home .tribute-section .ultp-heading-inner span,
body.site-mode--dark.home .tribute-section .uagb-heading-text { color: #eee8f1 !important; }
body.site-mode--dark.home .tribute-section p,
body.site-mode--dark.home .tribute-section p em { color: #ded7e1 !important; }
body.home .tribute-section .ultp-button-text { color: #26153a !important; }
@media (min-width: 1025px) {
  #top-footer .footer-contact h4 { line-height: 34px !important; }
  #top-footer .footer-contact p, #top-footer .footer-contact a { line-height: 25.5px !important; }
}
/* Align footer contact column with Explore on desktop. */
@media (min-width: 1025px) {
  #top-footer .np-footer-widget:last-child { display: flex; flex-direction: column; gap: 4px; }
  #top-footer .np-footer-widget:last-child > section { margin: 0 !important; }
  #top-footer .footer-contact h4 { font-size: 26px; line-height: 34px; }
  #top-footer .footer-contact p, #top-footer #block-31 p { margin: 0 !important; }
  #top-footer .footer-contact p, #top-footer #block-41 li, #top-footer #block-42 li, #top-footer #block-31 a { line-height: 25.5px; }
  #top-footer .footer-contact a, #top-footer #block-31 a { font-size: 17px; }
  #top-footer #block-41 li, #top-footer #block-42 li { margin: 0 !important; }
  #top-footer #block-31 a { padding: 0 !important; margin: 0 0 4px !important; }
  #top-footer #block-31 a:last-child { margin-bottom: 0 !important; }
}
body #colophon .footer-nav-links h3, body #colophon .footer-contact h4 { border-bottom-color: #ad9466 !important; }
body #colophon .bottom-footer { background-color: #400060 !important; }
body.home .ultp-block-3107d5, body.home .ultp-block-286670 { border-color: #400060 !important; }
section[aria-labelledby="royal-circle-heading"] button[type="submit"] { background: #400060 !important; }
/* Royally Inspired logo purple: theme and legacy accents. */
body:not(.site-mode--dark) .wp-block-postx-post-title,
body:not(.site-mode--dark) .wp-block-postx-heading { color: #400060 !important; }
body .wp-block-postx-read-more a, body .postx-button, body .postx-read-more { background-color: #400060 !important; }
body .wp-block-postx-read-more a:hover, body .postx-button:hover, body .postx-read-more:hover { background-color: #582d78 !important; }
body #colophon { background-color: #400060 !important; }
body #cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: #400060 !important; }
body #cmplz-cookiebanner .cmplz-btn.cmplz-deny { color: #400060 !important; }

@media (max-width: 767px) { body.home .site-header .custom-logo { max-height: 165px !important; } }

/* Finish dark mode text that is styled inside nested blocks. */
body.site-mode--dark.home .ultp-block-545250 .ultp-heading-inner span,
body.site-mode--dark.home .ultp-block-excerpt p { color: #eee8f1 !important; }
body.site-mode--dark.single-post .ultp-builder-breadcrumb li,
body.site-mode--dark.single-post .ultp-date-meta,
body.site-mode--dark.single-post .ultp-post-date,
body.site-mode--dark.single-post .ultp-post-date__val { color: #ded7e1 !important; }
body.site-mode--dark.single-post .ultp-auth-name { color: #d5b5ed !important; }

/* Improve contrast when the theme's dark mode is active. */
body.site-mode--dark .np-logo-section-wrapper { background: #fbf8f2 !important; }
body.site-mode--dark.single-post .ultp-builder-title,
body.site-mode--dark.single-post .ultp-builder-content > h2,
body.site-mode--dark.single-post .ultp-builder-content > h3,
body.site-mode--dark.single-post .ultp-builder-content > p,
body.site-mode--dark.single-post .ultp-builder-content > ul,
body.site-mode--dark.single-post .ultp-builder-content > ol,
body.site-mode--dark.single-post .ultp-builder-breadcrumb,
body.site-mode--dark.single-post .ultp-builder-breadcrumb a { color: #eee8f1 !important; }
body.site-mode--dark.single-post .ultp-builder-content > p a,
body.site-mode--dark.single-post .ultp-builder-content > ul a,
body.site-mode--dark.single-post .ultp-builder-content > ol a { color: #d5b5ed !important; text-decoration: underline; }
body.site-mode--dark.single-post div:has(> button[aria-label="Share this story"]) > span { color: #eee8f1 !important; }
body.site-mode--dark.home .entry-content > .wp-block-ultimate-post-heading .ultp-heading-inner,
body.site-mode--dark.home .entry-content > h2,
body.site-mode--dark.home .entry-content > p,
body.site-mode--dark.home .ultp-block-545250 .ultp-heading-inner,
body.site-mode--dark.home .ultp-block-7a0377 .ultp-block-excerpt p { color: #eee8f1 !important; }
body.site-mode--dark.page-id-49040 .entry-content > h2,
body.site-mode--dark.page-id-49040 .entry-content > p,
body.site-mode--dark.page-id-49040 .wp-block-post-title,
body.site-mode--dark.page-id-49040 .wp-block-post-title a,
body.site-mode--dark.page-id-49040 .wp-block-post-excerpt,
body.site-mode--dark.page-id-49040 .wp-block-post-excerpt p { color: #eee8f1 !important; }
body.site-mode--dark.page-id-49040 .entry-content > a { color: #d5b5ed !important; }
/* Bring the mobile introduction onto the first screen. */
.home h1.entry-title { display: block !important; position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
@media (max-width: 767px) {
  .site-header .custom-logo { max-height: 165px !important; }
  .np-logo-section-wrapper { padding: 10px 0 !important; }
  .site-branding { margin-bottom: 8px !important; }
  .np-header-menu-wrapper { margin-bottom: 8px !important; }
  .home .ultp-block-7a0377 .ultp-row-wrapper { padding-top: 28px !important; padding-bottom: 36px !important; }
}

/* Royal News: move the first story choices closer to the entry point. */
.page-id-49040 .ri-royal-pathways { margin-top: 16px !important; padding: clamp(22px, 3vw, 36px) !important; }
.page-id-49040 .ri-royal-pathways__header { margin-bottom: 22px !important; }
/* Retain the page title for screen readers without repeating the visible introduction. */
.page-id-49040 h1.entry-title { display: block !important; position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; text-transform: none !important; }

@media (max-width: 767px) {
  .home .ultp-block-06dbdf .ultp-heading-inner { font-size: 30px !important; line-height: 1.2 !important; }
  .home .uagb-block-55628b8d .uagb-heading-text { font-size: 18px !important; line-height: 1.4 !important; }
}

/* Keep the capitalization entered by the editor. */
main h1, main h2, main h3, main h4, main h5, main h6 { text-transform: none !important; }

/* Show more of the page on the first screen. */
.site-header .custom-logo { max-height: 220px !important; width: auto !important; height: auto !important; }

/* Center featured images on every article */
.single-post .ri-single-featured-image {
    text-align: center !important;
}

.single-post .ri-single-featured-image img.wp-post-image {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.page .entry-title {

display: none;

}

[hbupro_banner id="3099"]
/* Outer post box styling */
.feedzy-rss {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.feedzy-rss .rss_item {
  border-bottom: 1px solid #e1e1e1;
  padding: 20px 0;
}

.feedzy-rss .rss_title {
  font-size: 22px;
  font-weight: 700;
  color: #003366; /* Royal Blue */
  margin-bottom: 10px;
}

.feedzy-rss .rss_title:hover {
  color: #b49a5a; /* Gold on hover */
}

.feedzy-rss .rss_content {
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
}

.feedzy-rss .rss_item a.more-link {
  display: inline-block;
  background-color: #003366; /* Royal Blue */
  color: white;
  padding: 10px 16px;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.feedzy-rss .rss_item a.more-link:hover {
  background-color: #b49a5a; /* Gold hover */
  color: #fff;
}
/* 🎨 Royally Inspired - Global PostX Styles */

/* Post Titles */
.
wp-block-postx-post-title,
.wp-block-postx-heading {
 color: #9562b0;
}

/* Post Meta */
.wp-block-postx-meta,
.wp-block-postx-category,
.wp-block-postx-date {
 color: #ad9466;
}

/* Read More / Button Colors */
.wp-block-postx-read-more a,
.postx-button,
.postx-read-more {
 background-color: #9562b0;
 color: #ffffff;
 border-radius: 4px;
 padding: 8px 16px;
 text-transform: uppercase;
 font-weight: 600;
}

.wp-block-postx-read-more a:hover,
.postx-button:hover,
.postx-read-more:hover {
 background-color: #7b4991;
 color: #ffffff;
}
#colophon {
  background-color: #9562b0 !important;
  color: #ffffff !important;
}
#colophon a {
  color: #ffffff !important;
}

/* Center the site logo */
.site-branding {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

/* Force smaller logo height */
.site-logo img {
  max-height: 80px !important;
  height: auto !important;
  margin: 0 auto;
  display: block;
}

/* Reduce padding around the logo container */
.site-branding {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 auto !important;
}

/* Optional: reduce header container padding */
.site-header {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}
#colophon,
#colophon a {
  color: #ffffff !important;
}

#colophon a:hover {
  color: #bfa46f !important;  /* Royal gold on hover */
}

#colophon .widget-title,
#colophon .footer-menu {
  color: #ffffff !important;
}
/* Center footer logo and CTA vertically */
.footer-logo-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-logo-column img {
  max-width: 250px;
  height: auto;
  margin-bottom: 12px;
}
/* Center and balance footer logo */
.footer .widget_media_image {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

.footer .widget_media_image img {
    max-width: 300px;
    height: auto;
    display: inline-block;
}
/* Center the footer logo */
footer .widget_media_image {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0 auto;
}
/* Add space below the footer logo */
footer .widget_media_image {
  margin-bottom: 30px;
}
/* Adds spacing between social icons and logo */
.footer-widget .widget_media_image {
    margin-top: 30px;
}

/* Center-align the logo and CTA block in the left footer column */
.footer-widget .widget_media_image,
.footer-widget .widget_text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
/* Add spacing above the subscribe button */
.footer-widget .widget_text p:last-of-type {
  margin-bottom: 20px;
}
/* Space between icons */
.wp-block-social-links .wp-social-link {
  margin-right: 24px !important;
}
.wp-block-social-links .wp-social-link:last-child {
  margin-right: 0 !important;
}

/* Icon size */
.wp-block-social-links .wp-social-link a {
  font-size: 26px !important;
}

/* Center the row */
.wp-block-social-links {
  justify-content: center !important;
}

/* Footer heading gold to match 'Explore' */
.footer-contact h4 {
  color: #d6b05b;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}

/* Email link styling */
.footer-contact a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
}

.footer-contact a:hover {
  text-decoration: underline;
}
/* Style footer heading to match others */
.footer-heading {
  font-size: 24px;
  font-weight: 700;
  color: #d4b06a; /* Matches gold color used in Explore and Connect With Us */
  margin-bottom: 12px;
}

@media only screen and (max-width: 768px) {
  footer,
  .footer,
  .wp-block-footer,
  .footer-widgets,
  .widget-area {
    background-color: #8e5da5 !important;
  }
}

/* Mobile adjustments for footer logo */
@media (max-width: 768px) {
  .footer-logo img {
    max-width: 80%;        /* Shrink the logo slightly */
    margin: 0 auto;        /* Center horizontally */
    display: block;
    padding: 0 10px;       /* Add side padding */
  }
}


/* Resize and center header logo */
.site-logo img {
  max-width: 280px;
  height: auto;
  margin: 0 auto;
  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
}

@media only screen and (max-width: 767px) {
  .site-branding img {
    max-height: 90px !important;
    height: auto;
    width: auto;
  }
}


.custom-line-height {
  line-height: 1.5em !important;
}

.loose-lines {
  line-height: 1.6 !important;
}
@keyframes sparkle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 2px gold);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
    filter: drop-shadow(0 0 6px gold);
  }
}

.sparkle-crown {
  animation: sparkle 2.5s infinite ease-in-out;
}
.hero-heading,
.hero-subheading {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3); /* subtle soft shadow */
}
@media (max-width: 767px) {
  .reverse-on-mobile {
    flex-direction: column-reverse !important;
  }
}

.about-image img {
  max-height: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.about-image img {
  max-height: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .about-image img {
    max-height: 200px;
  }
}
/* Input fields */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  max-width: 600px;
  padding: 14px 16px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  background-color: #fff;
  color: #333;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Placeholder text style */
input::placeholder,
textarea::placeholder {
  color: #999;
  font-style: italic;
}

/* Submit button */
input[type="submit"] {
  background: linear-gradient(to right, #7b2cbf, #9d4edd);
  color: white;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Submit button hover */
input[type="submit"]:hover {
  background: linear-gradient(to right, #9d4edd, #c77dff);
}

/* Overall form spacing */
.wpcf7-form {
  margin-top: 30px;
}

/* Error + success messages (optional polish) */
.wpcf7-response-output {
  border: none;
  padding: 15px;
  border-radius: 10px;
  background-color: #f9f3fe;
  color: #7b2cbf;
  font-weight: 500;
}
/* Narrow the contact form container */
.wpcf7 {
  max-width: 700px;
  margin: 0 auto;
  background-color: #f4f2f9; /* Optional: soft lavender instead of gray */
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
/* Target the full Contact Form 7 container */
div.wpcf7 {
  max-width: 700px;
  margin: 0 auto;
  background-color: #f4f2f9; /* soft lavender background */
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Optional: add space above the form */
div.wpcf7 {
  margin-top: 30px;
}

/* 💥 Force uniform image height in PostX Grid #1 */mportant;
  min-height: 250px !important;
  width: 100% !important;
  object-fit: cover !important;
  display: block !important;
  aspect-ratio: auto !important;
}

/* --- Royally Inspired: article spacing --- */
.ri-article p { 
  margin-bottom: 1.15em;            /* space after paragraphs */
}

.ri-article h2,
.ri-article h3,
.ri-article h4,
.ri-article h5,
.ri-article h6 {
  margin-top: 1.9em;                /* space before headings */
  margin-bottom: .6em;              /* small space after heading */
  line-height: 1.25;
}

.ri-article ul,
.ri-article ol,
.ri-article figure {
  margin: 1.2em 0;                  /* breathing room for lists & images */
}

@media (max-width: 640px) {
  .ri-article h2,
  .ri-article h3,
  .ri-article h4,
  .ri-article h5,
  .ri-article h6 {
    margin-top: 1.5em;
  }
}

/* ====== Footer Glow-Up for Royally Inspired ====== */

/* Footer background & text */
.site-footer, #colophon {
  background: #1a1424; /* deep plum */
  color: #fff;
  font-size: 17px;
  line-height: 1.5;
  padding-top: 24px;
  padding-bottom: 24px;
}

/* Links */
.site-footer a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}
.site-footer a:hover {
  color: #ad9466; /* gold hover */
  border-bottom-color: #ad9466;
}

/* Lists (remove bullets) */
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer ul li {
  margin: 4px 0;
}

/* Footer headings */
.site-footer h2,
.site-footer h3,
.site-footer h4 {
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.15);
  padding-bottom: 4px;
}

/* Logo sizing */
.site-footer img {
  max-width: 200px;
  height: auto;
}

/* Newsletter form (generic form styling) */
.site-footer input[type="email"] {
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #ccc;
  margin-right: 8px;
  width: 70%;
  max-width: 260px;
}
.site-footer button,
.site-footer input[type="submit"] {
  background: #ad9466;
  color: #fff;
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.site-footer button:hover,
.site-footer input[type="submit"]:hover {
  background: #8d7953;
}

/* Social icons */
.site-footer .wp-block-social-links .wp-block-social-link a {
  color: #fff !important;
}
.site-footer .wp-block-social-links .wp-block-social-link a:hover {
  color: #ad9466 !important;
}

/* Copyright strip (bottom bar) */
.site-footer .site-info,
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  margin-top: 24px;
  padding-top: 12px;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.site-footer .footer-bottom .right {
  text-align: right;
}

/* Force social icons white with gold hover */
.site-footer .wp-block-social-links .wp-block-social-link a svg {
  fill: #fff !important;
  transition: fill 0.2s ease;
}
.site-footer .wp-block-social-links .wp-block-social-link a:hover svg {
  fill: #ad9466 !important;
}
/* Force social icons to white with gold hover */
.site-footer .wp-block-social-links .wp-block-social-link a {
  color: #fff !important; /* makes icons white */
}
.site-footer .wp-block-social-links .wp-block-social-link a:hover {
  color: #ad9466 !important; /* gold on hover */
}

/* In case icons are SVG fills */
.site-footer .wp-block-social-links .wp-block-social-link svg {
  fill: #fff !important;
  transition: fill 0.2s ease;
}
.site-footer .wp-block-social-links .wp-block-social-link:hover svg {
  fill: #ad9466 !important;
}
/* Make footer social icons monochrome, no colored circles */
.site-footer .wp-block-social-links .wp-block-social-link {
  background: transparent !important;   /* kill the blue/red/pink circles */
  box-shadow: none !important;
}

.site-footer .wp-block-social-links .wp-block-social-link a {
  color: #fff !important;                /* icon color */
}

.site-footer .wp-block-social-links .wp-block-social-link a:hover {
  color: #ad9466 !important;             /* gold hover */
}

/* If the theme uses SVG fills instead of color */
.site-footer .wp-block-social-links .wp-block-social-link svg {
  fill: #fff !important;
  transition: transform .15s ease, fill .15s ease;
}
.site-footer .wp-block-social-links .wp-block-social-link:hover svg {
  fill: #ad9466 !important;
  transform: scale(1.08);                /* tasteful hover pop */
}

/* Optional: tighten size/spacing a touch */
.site-footer .wp-block-social-links {
  gap: 14px;
}
.site-footer .wp-block-social-links .wp-block-social-link a {
  padding: 0 !important;
}
/* === Fix dark text in footer === */

/* Mission blurb */
#colophon .mission,
#colophon .mission p {
  color: #D8D6DF !important; /* soft gray for elegance */
}

/* Headings inside footer (Join Our Royal Circle, Privacy Matters, etc.) */
#colophon h2,
#colophon h3,
#colophon h4 {
  color: #fff !important;
}

/* Subscribe CTA text */
#colophon .wp-block-button__link,
#colophon button,
#colophon input[type="submit"] {
  color: #fff !important;       /* ensure white text */
  background: #ad9466 !important; /* brand gold background */
  border: none !important;
}
#colophon .wp-block-button__link:hover,
#colophon button:hover,
#colophon input[type="submit"]:hover {
  background: #8d7953 !important; /* darker gold hover */
  color: #fff !important;
}
/* Mission blurb softer elegance */
#colophon .mission,
#colophon .mission p {
  color: #E6E2EB !important; /* light lavender-gray for elegance */
  font-style: italic;
  max-width: 420px; /* keeps line length readable */
  margin: 12px auto;
  text-align: center;
}

/* Subscribe CTA heading + text */
#colophon .wp-block-group .wp-block-heading,
#colophon .subscribe-heading,
#colophon .wp-block-group strong {
  color: #fff !important;   /* white heading */
  font-weight: 600;
}

#colophon .wp-block-group p,
#colophon .subscribe-text {
  color: #D8D6DF !important; /* softer gray for description */
  margin-bottom: 12px;
  text-align: center;
}

/* Subscribe button already gold, just reinforce */
#colophon .wp-block-button__link {
  color: #fff !important;
  background: #ad9466 !important;
  font-weight: 600;
  border-radius: 6px;
  padding: 10px 20px;
}
#colophon .wp-block-button__link:hover {
  background: #8d7953 !important;
}
/* Mission blurb — soft, elegant, readable */
#colophon .mission {
  color: #E6E2EB !important;   /* light lavender-gray */
  font-style: italic;
  max-width: 520px;
  margin: 12px auto 6px;
  text-align: center;
}

/* Subscribe CTA heading + copy */
#colophon .subscribe-heading {
  color: #ffffff !important;   /* make heading white */
  font-weight: 700;
  text-align: center;
  margin-top: 12px;
}

#colophon .subscribe-text {
  color: #D8D6DF !important;   /* softer gray for body copy */
  text-align: center;
  margin-bottom: 12px;
}

/* Button (reinforce) */
#colophon .wp-block-button__link {
  background: #ad9466 !important;
  color: #fff !important;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 20px;
}
#colophon .wp-block-button__link:hover {
  background: #8d7953 !important;
}
/* ==== FORCE footer paragraph + CTA colors (News Portal widgets) ==== */

/* Most footer text widgets use .widget_text / .textwidget */
#colophon .widget_text p,
#colophon .textwidget p,
#colophon .footer-widgets p,
#colophon .footer-widget-area p {
  color: #D8D6DF !important;   /* soft light gray for body text (mission + CTA copy) */
}

/* Make any strong/heading-like text inside those widgets white */
#colophon .widget_text p strong,
#colophon .textwidget p strong,
#colophon .footer-widgets p strong {
  color: #FFFFFF !important;    /* e.g., "Join Our Royal Circle" */
}

/* Ensure actual headings in widgets are white */
#colophon .footer-widgets .widget-title,
#colophon .footer-widget-area h1,
#colophon .footer-widget-area h2,
#colophon .footer-widget-area h3,
#colophon .footer-widget-area h4 {
  color: #FFFFFF !important;
}

/* Button (CTA) harden styles */
#colophon .footer-widget-area .wp-block-button__link,
#colophon .footer-widget-area button,
#colophon .footer-widget-area input[type="submit"] {
  background: #ad9466 !important;   /* gold */
  color: #fff !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 20px !important;
}
#colophon .footer-widget-area .wp-block-button__link:hover,
#colophon .footer-widget-area button:hover,
#colophon .footer-widget-area input[type="submit"]:hover {
  background: #8d7953 !important;   /* darker gold on hover */
  color: #fff !important;
}
/* Mission blurb */
#colophon .widget_text p {
  color: #E6E2EB !important;   /* light lavender-gray */
  font-style: italic;
  text-align: center;
  max-width: 500px;
  margin: 0 auto 12px;
}

/* Force the "Join Our Royal Circle" line to white */
#colophon .widget_text p strong {
  color: #FFFFFF !important;
  font-weight: 700 !important;
  text-align: center;
  display: block;   /* makes it behave like a heading */
  margin-bottom: 6px;
}

/* CTA description (the line under Join Our Royal Circle) */
#colophon .widget_text p + p {
  color: #D8D6DF !important;   /* softer gray */
  text-align: center;
}
/* Force "Join Our Royal Circle" (bold inside footer) to white */
#colophon .widget_text p strong {
  color: #ffffff !important;
  font-weight: 700 !important;
  display: block;   /* makes it act like a heading */
  text-align: center;
  margin-bottom: 6px;
}
/* Social icons hover effect */
#colophon .wp-block-social-links .wp-block-social-link a {
  transition: all 0.25s ease;
}

#colophon .wp-block-social-links .wp-block-social-link a:hover {
  color: #ad9466 !important;   /* gold hover */
  transform: scale(1.15);      /* grow a bit more than button */
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3)); /* soft lift shadow */
}
/* Remove bullets and left-align Authors & Contributors + Cookie Preferences */
#colophon .widget_text ul,
#colophon .widget_text ol {
  list-style: none !important;   /* no bullets or numbers */
  padding-left: 0 !important;    /* remove left indentation */
  margin-left: 0 !important;
}

#colophon .widget_text ul li,
#colophon .widget_text ol li {
  margin: 6px 0;                 /* nice even spacing between items */
  text-align: left !important;   /* force left alignment */
}
/* Footer link hover effects */
#colophon .widget_text a {
  color: #ffffff;              /* default white */
  text-decoration: none;       /* no underline by default */
  transition: all 0.2s ease;
}

#colophon .widget_text a:hover {
  color: #ad9466;              /* gold on hover */
  text-decoration: underline;  /* subtle underline */
}
/* Tribute block: match rounded cards + slightly smaller */
.tribute-section{
  /* size */
  max-width: 1080px;         /* make the whole block a tad narrower */
  margin-inline: auto;       /* center it */
  padding: 24px 28px;        /* a bit tighter than default */
  /* shape & polish */
  border-radius: 18px;        /* match your other rounded sections */
  overflow: hidden;           /* ensures inner edges follow the radius */
  box-shadow: 0 8px 24px rgba(0,0,0,.08); /* soft depth like other cards */
}

/* If the tribute uses Columns, tighten the gap a little */
.tribute-section .wp-block-columns{ gap: 24px; }

/* Make the image corners follow the card’s rounding */
.tribute-section .wp-block-image,
.tribute-section .wp-block-image img{
  border-radius: 16px;
  overflow: hidden;
}

/* If a decorative frame is forcing square corners, soften it too */
.tribute-section [class*="frame"],
.tribute-section .has-border,
.tribute-section figure{
  border-radius: 16px !important;
  overflow: hidden;
}

/* Responsive: a touch tighter on phones */
@media (max-width: 782px){
  .tribute-section{
    max-width: 92vw;
    padding: 18px 16px;
  }
  .tribute-section .wp-block-columns{ gap: 16px; }
}
/* Tribute block accent line */
.tribute-section h4 {
  position: relative;
  padding-bottom: 14px;   /* space between text + line */
  margin-bottom: 18px;    /* space before the quote */
}

.tribute-section h4::after {
  content: "";
  display: block;
  width: 60px;            /* length of the line */
  height: 2px;
  background-color: #ad9466;  /* RI gold */
  margin: 12px auto 0;    /* centers the line below text */
  border-radius: 2px;
  opacity: 0.7;           /* subtle, not overpowering */
}
/* Tribute button hover glow */
.tribute-section a.wp-block-button__link,
.tribute-section a {
  transition: all 0.25s ease-in-out;
}

.tribute-section a.wp-block-button__link:hover,
.tribute-section a:hover {
  background-color: #c19d4d !important;   /* deeper gold */
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(173, 148, 102, 0.4); /* warm glow */
  transform: translateY(-2px);            /* subtle lift */
}
/* Tribute button hover glow - force gold */
.tribute-section a.wp-block-button__link,
.tribute-section a {
  transition: all 0.25s ease-in-out !important;
}

.tribute-section a.wp-block-button__link:hover,
.tribute-section a:hover {
  background-color: #ad9466 !important;   /* RI gold */
  color: #ffffff !important;
  box-shadow: 0 6px 16px rgba(173, 148, 102, 0.4) !important;
}

/* === Royally Inspired • Global PostX avatar styling === */

/* Catch avatars across PostX grids/lists/sliders */
.postx-post-grid .px-author img,
.postx-post-list .px-author img,
.postx-post-module .px-author img,
.postx-post-slider .px-author img,
.postx .px-post-meta .px-author img,
.postx .post-meta .author img,
.postx .px-meta .px-author img,
.postx .author img.avatar {
  width: 36px !important;              /* tweak to 28–40px if you prefer */
  height: 36px !important;
  border-radius: 50% !important;       /* perfect circle */
  object-fit: cover;                    /* keep logos sharp */
  background: #fff;                     /* clean edge behind logo */
  padding: 2px;                         /* breathing room for the ring */
  border: 2px solid #d4af37 !important; /* RI gold ring */
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
}

/* Keep name + avatar aligned and nicely spaced */
.postx .px-post-meta .px-author,
.postx .px-meta .px-author,
.postx .post-meta .author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Optional: tiny hover polish for the avatar */
.postx .px-post-meta .px-author img:hover {
  transform: scale(1.06);
  transition: transform .15s ease;
}
/* — Global avatar polish (PostX + core blocks + single posts) — */

/* PostX meta areas (grids/lists/modules/sliders) */
.postx .px-author img,
.postx .author img.avatar {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  object-fit: cover;
  background: #fff;
  padding: 2px;                        /* breathing room for ring */
  border: 2px solid #d4af37 !important;/* RI gold ring */
  box-shadow: 0 1px 2px rgba(0,0,0,.12);
}

/* Align name + avatar nicely */
.postx .px-post-meta .px-author,
.postx .post-meta .author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Core Gutenberg "Post Author" block (single posts/pages) */
.wp-block-post-author__avatar img,
.wp-block-avatar img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background:#fff;
  padding: 2px;
  border: 2px solid #d4af37;
}

/* Optional: subtle hover lift on avatars */
.postx .px-author img:hover,
.wp-block-post-author__avatar img:hover {
  transform: scale(1.06);
  transition: transform .15s ease;
}
.royal-signup button {
  background-color: #ad9466;
  color: #fff;
  font-weight: bold;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  transition: all 0.25s ease-in-out;
}

.royal-signup button:hover {
  background-color: #8c764f; /* richer gold */
  transform: translateY(-2px); /* subtle lift */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* deeper glow */
}
.tribute-divider {
  border: none;
  border-top: 1px solid rgba(173, 148, 102, 0.4); /* soft gold */
  width: 60%; 
  margin: 25px auto; /* centers it */
}
/* Pin Complianz banner to the bottom and shrink nicely */
#cmplz-cookiebanner{
  position: fixed !important;
  bottom: 0 !important;
  top: auto !important;
  left: 0; right: 0;
  margin: 0 auto;
  max-width: 560px; /* or 100% for full-width bar */
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -6px 18px rgba(0,0,0,.08);
}
/* Gentle delayed fade-in when Complianz shows the banner */
#cmplz-cookiebanner{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease 1.2s, transform .3s ease 1.2s; /* 1.2s delay */
}
#cmplz-cookiebanner.cmplz-show{
  opacity: 1;
  transform: translateY(0);
}
/* Colors to match RI */
#cmplz-cookiebanner .cmplz-message{ color:#4a3f49; }
#cmplz-cookiebanner .cmplz-btn.cmplz-accept{
  background:#9562b0; color:#fff; border-radius:6px;
}
#cmplz-cookiebanner .cmplz-btn.cmplz-accept:hover{ background:#ad9466; }
#cmplz-cookiebanner .cmplz-btn.cmplz-deny{
  background:#f5f5f5; color:#9562b0; border-radius:6px;
}
#cmplz-cookiebanner {
  font-size: 14px;              /* smaller text */
  padding: 10px 14px;           /* less vertical space */
  max-width: 100% !important;   /* stretch across bottom */
  border-radius: 0 !important;  /* flat bar */
  bottom: 0 !important;
  top: auto !important;
}
#cmplz-cookiebanner .cmplz-message {
  margin-right: 12px;           /* more space for buttons */
}
#cmplz-cookiebanner .cmplz-btn {
  font-size: 13px !important;
  padding: 6px 14px !important;
  border-radius: 4px !important;
}
/* Target all possible Complianz banner wrappers */
#cmplz-cookiebanner,
[id^="cmplz-cookiebanner"],
.cmplz-cookiebanner {
  position: fixed !important;
  bottom: 0 !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;

  max-width: 100% !important;   /* full-width bar */
  width: 100% !important;
  padding: 10px 14px !important;/* slimmer vertical height */
  border-radius: 0 !important;  /* flat bar look */
  box-shadow: 0 -6px 18px rgba(0,0,0,.06) !important;
  z-index: 999999 !important;   /* stay above page elements */
  font-size: 14px !important;   /* smaller text */
}

/* Tighten message spacing so buttons fit */
#cmplz-cookiebanner .cmplz-message,
[id^="cmplz-cookiebanner"] .cmplz-message,
.cmplz-cookiebanner .cmplz-message {
  margin: 0 12px 0 0 !important;
  line-height: 1.4 !important;
}

/* Make buttons compact */
#cmplz-cookiebanner .cmplz-btn,
[id^="cmplz-cookiebanner"] .cmplz-btn,
.cmplz-cookiebanner .cmplz-btn {
  font-size: 13px !important;
  padding: 6px 12px !important;
  border-radius: 4px !important;
}

/* If there's a title/header, make it compact too */
#cmplz-cookiebanner h5,
[id^="cmplz-cookiebanner"] h5,
.cmplz-cookiebanner h5 {
  margin: 0 10px 0 0 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
}

/* Optional: align content nicely on one line on wide screens */
@media (min-width: 640px) {
  #cmplz-cookiebanner .cmplz-cookiebanner-container,
  [id^="cmplz-cookiebanner"] .cmplz-cookiebanner-container,
  .cmplz-cookiebanner .cmplz-cookiebanner-container {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }
}
#cmplz-cookiebanner,
[id^="cmplz-cookiebanner"] {
  padding: 8px 12px !important;
  font-size: 13px !important;
}
#cmplz-cookiebanner .cmplz-btn,
[id^="cmplz-cookiebanner"] .cmplz-btn {
  font-size: 12px !important;
  padding: 5px 10px !important;
}
/* Shrink cookie banner padding */
.wpconsent-banner {
  padding: 6px 10px !important;  /* top/bottom, left/right */
}
.wpconsent-banner p {
  margin: 0 !important;  /* remove extra space under text */
  line-height: 1.3 !important; /* tighter line spacing */
}
/* Quick Takeaways Box Styling */
.quick-takeaways {
  background-color: #E6E0F8; /* soft lavender */
  border: 2px solid #5A2A83; /* royal purple border */
  border-radius: 8px; /* softly rounded corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* gentle shadow */
  padding: 20px;
  margin: 20px 0;
}

.quick-takeaways h4 {
  color: #5A2A83; /* royal purple heading */
  font-weight: 600;
  margin-bottom: 12px;
}

.quick-takeaways ul {
  margin: 0;
  padding-left: 20px;
  color: #333; /* dark gray text */
  line-height: 1.6;
}


/* Align custom accents with the logo purple. */
.wp-block-postx-post-title, .wp-block-postx-heading { color: #400060; }
.wp-block-postx-read-more a, .postx-button, .postx-read-more { background-color: #400060; }
.wp-block-postx-read-more a:hover, .postx-button:hover, .postx-read-more:hover { background-color: #582d78; }
#colophon { background-color: #400060 !important; }
#cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: #400060; }
#cmplz-cookiebanner .cmplz-btn.cmplz-deny { color: #400060; }

/* September 25: consistent navigation and readable News links. */
.np-header-menu-wrapper a[aria-current="page"] { background: #582677 !important; box-shadow: inset 0 -3px #ad9466; }
body.page-id-49040:not(.site-mode--dark) .wp-block-post-title, body.page-id-49040:not(.site-mode--dark) .ri-royal-pathways h2 { color: #582677 !important; }
body.page-id-49040.site-mode--dark .wp-block-post-title a, body.page-id-49040.site-mode--dark .wp-block-post-excerpt__more-link { color: #e8d5ac !important; }
body.page-id-49040.site-mode--dark .wp-block-post-title a:hover, body.page-id-49040.site-mode--dark .wp-block-post-excerpt__more-link:hover { color: #fff !important; text-decoration: underline; }
body.page-id-49040.site-mode--dark .ri-royal-pathways h2 { color: #582677 !important; }

/* September 25: dark-mode reading contrast in existing page sections. */
body.site-mode--dark.page-id-950 .entry-content h2, body.site-mode--dark.page-id-950 .entry-content h3, body.site-mode--dark.page-id-950 .entry-content h2 span, body.site-mode--dark.page-id-950 .entry-content p, body.site-mode--dark.page-id-950 .entry-content li { color: #eee8f1 !important; }
body.site-mode--dark.page-id-950 .entry-content a:not(.wp-block-button__link) { color: #e8d5ac !important; }
body.site-mode--dark.page-id-46442 .wp-block-columns[style*="background-color:#e3d3f033"] { background-color: #eee5f3 !important; }
body.site-mode--dark.page-id-46442 .ultp-block-d91392 h2 span, body.site-mode--dark.page-id-46442 .ultp-block-ad38e7 h2 span, body.site-mode--dark.page-id-46442 .ultp-block-51908a h2 span, body.site-mode--dark.page-id-46442 .ultp-block-1ffcd8 h2 span, body.site-mode--dark.page-id-46442 .ultp-block-4f1b80 h2 span { color: #e8d5ac !important; }
body.page-id-51863 .royal-signup h2, body.page-id-51863 .royal-signup a { color: #582677 !important; }
body.page-id-51863 .royal-signup button { background: #582677 !important; color: #fff !important; }
body.page-id-51863 .royal-signup button:hover, body.page-id-51863 .royal-signup button:focus-visible { background: #70418c !important; }
body.page-id-51863 .royal-signup button:focus-visible, body.page-id-51863 .royal-signup a:focus-visible { outline: 3px solid #ad9466 !important; outline-offset: 3px; }
body.site-mode--dark.page-id-51863 .royal-signup h2, body.site-mode--dark.page-id-51863 .royal-signup a { color: #e8d5ac !important; }
body.site-mode--dark.page-id-51863 .royal-signup p { color: #eee8f1 !important; }
body.site-mode--dark.single-post .jp-relatedposts-headline, body.site-mode--dark.single-post .jp-relatedposts p, body.site-mode--dark.single-post .jp-relatedposts span { color: #eee8f1 !important; }
body.site-mode--dark.single-post .jp-relatedposts a { color: #e8d5ac !important; }
body.single-post .ultp-block-b38227 h2 { color: #582677 !important; }

/* September 25: finish visible accents and keyboard focus. */
body.page-id-49040:not(.site-mode--dark) .entry-content > h2[style*="#4F2A6D"], body.page-id-49040:not(.site-mode--dark) #ri-wires-next-title, body.page-id-49040:not(.site-mode--dark) .ri-royal-pathways strong, body.page-id-49040:not(.site-mode--dark) .wp-block-post-title a { color: #582677 !important; }
body.page-id-46442:not(.site-mode--dark) :is(.ultp-block-d91392,.ultp-block-ad38e7,.ultp-block-51908a,.ultp-block-1ffcd8,.ultp-block-4f1b80) h2 :is(span,em) { color: #582677 !important; }
body.page-id-46442.site-mode--dark :is(.ultp-block-d91392,.ultp-block-ad38e7,.ultp-block-51908a,.ultp-block-1ffcd8,.ultp-block-4f1b80) h2 :is(span,em) { color: #e8d5ac !important; }
.quick-takeaways { border-color: #582677 !important; }
.quick-takeaways h4 { color: #582677 !important; }
:where(a,button,input,select,textarea):focus-visible { outline: 3px solid #582677 !important; outline-offset: 3px; }
body.site-mode--dark :where(a,button,input,select,textarea):focus-visible, #masthead :where(a,button):focus-visible, #colophon :where(a,button):focus-visible { outline-color: #e8d5ac !important; }

/* September 25: readable buttons in the established purple and gold palette. */
body.home :is(.ultp-block-a2af9e,.ultp-block-e14112,.ultp-block-85d1fa,.ultp-block-3107d5,.ultp-block-286670), body.page-id-46442 :is(.ultp-block-a496df,.ultp-block-340db3,.ultp-block-e659b6,.ultp-block-f37b1e) { background: #582677 !important; color: #fff !important; }
body.home :is(.ultp-block-a2af9e,.ultp-block-e14112,.ultp-block-85d1fa,.ultp-block-3107d5,.ultp-block-286670):hover, body.page-id-46442 :is(.ultp-block-a496df,.ultp-block-340db3,.ultp-block-e659b6,.ultp-block-f37b1e):hover { background: #70418c !important; }
body.home :is(.ultp-block-b0bbab,.ultp-block-d960be), body.page-id-46442 .ultp-block-95ac10, body.home :is(.ultp-block-b0bbab,.ultp-block-d960be) *, body.page-id-46442 .ultp-block-95ac10 * { color: #3d2254 !important; }

/* September 25: readable text on standard pages in dark mode. */
body.site-mode--dark.page:not(.home):not(.page-id-49040):not(.page-id-46442):not(.page-id-950):not(.page-id-51863) .entry-content > :is(p,h1,h2,h3,h4,ul,ol,blockquote), body.site-mode--dark.page:not(.home):not(.page-id-49040):not(.page-id-46442):not(.page-id-950):not(.page-id-51863) .entry-content > :is(ul,ol) li { color: #eee8f1 !important; }
body.site-mode--dark.page:not(.home):not(.page-id-49040):not(.page-id-46442):not(.page-id-950):not(.page-id-51863) .entry-content > :is(p,ul,ol,blockquote) a { color: #e8d5ac !important; }

body.site-mode--dark.page-id-51839 .entry-content :is(h1,h2,h3) :is(span,em), body.site-mode--dark.page-id-51839 .entry-content :is(h1,h2,h3) { color: #eee8f1 !important; }

/* September 25: forum breadcrumb and FAQ closing accents. */
body.site-mode--dark.page-id-6310 .bbp-breadcrumb :is(p,span) { color: #eee8f1 !important; }
body.site-mode--dark.page-id-6310 .bbp-breadcrumb a { color: #e8d5ac !important; }
body.page-id-4015 .entry-content .wp-block-group.has-background h2 { color: #582677 !important; }
body.site-mode--dark.page-id-4015 .entry-content h2.wp-block-heading:not(.has-text-color) { color: #eee8f1 !important; }



/* Keep logo proportions consistent on every mobile page. */
@media (max-width: 767px) { body .site-header .custom-logo { max-height: 165px !important; } }


/* Keep the About introduction readable in its narrow mobile column. */
@media (max-width: 767px) { body.page-id-46442 .ultp-block-959172 h2 { font-size: 28px !important; line-height: 1.18 !important; } }



/* Keep legal page headings readable on narrow screens and in dark mode. */
body.site-mode--dark.page-id-3 .entry-content h2, body.site-mode--dark.page-id-3 .entry-content h2 span { color: #eee8f1 !important; }
@media (max-width: 767px) { body.page-id-3 .entry-content .ultp-heading-inner, body.page-id-3 .entry-content .ultp-heading-inner span { font-size: 28px !important; line-height: 1.2 !important; } }

/* Keep Royal News story dates legible in dark mode. */
body.site-mode--dark.page-id-49040 .wp-block-post-date { color: #ded7e1 !important; font-size: 14px !important; }

/* Make newsletter privacy text comfortable to read. */
body.page-id-51863 .royal-signup p[style*="font-size:12px"] { font-size: 14px !important; line-height: 1.5 !important; }

/* Preserve editorial capitalization in article titles. */
body.single-post .ultp-builder-title { text-transform: none !important; }

/* September 25: compact landing pages for Lifestyle and Community. */
body:is(.page-id-966,.page-id-967,.page-id-46442,.page-id-950,.page-id-51839) .ri-landing {
  max-width: 1000px;
  margin: 48px auto 70px;
  padding: clamp(26px, 4vw, 48px);
  background: #fbf8f2 !important;
  color: #35243c !important;
  border: 1px solid #d8c39a;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(30,15,40,.10);
}
body:is(.page-id-966,.page-id-967,.page-id-46442,.page-id-950,.page-id-51839) .ri-landing :is(h1,h2) {
  color: #582677 !important;
  text-transform: none !important;
}
body:is(.page-id-966,.page-id-967,.page-id-46442,.page-id-950,.page-id-51839) .ri-landing h1 {
  font-size: clamp(32px, 3.5vw, 46px);
  line-height: 1.18;
  margin: 0 0 18px;
}
body:is(.page-id-966,.page-id-967,.page-id-46442,.page-id-950,.page-id-51839) .ri-landing p {
  color: #35243c !important;
  font-size: 17px;
  line-height: 1.6;
}
body:is(.page-id-966,.page-id-967,.page-id-46442,.page-id-950,.page-id-51839) .ri-landing .wp-block-columns {
  gap: 20px;
  margin: 30px 0 25px;
}
body:is(.page-id-966,.page-id-967,.page-id-46442,.page-id-950,.page-id-51839) .ri-landing .ri-landing-card {
  padding: 24px;
  background: #f1e8f5 !important;
  border-top: 3px solid #ad9466;
  border-radius: 14px;
}
body:is(.page-id-966,.page-id-967,.page-id-46442,.page-id-950,.page-id-51839) .ri-landing .ri-landing-card h2 {
  margin-top: 0;
  font-size: clamp(23px, 2.2vw, 29px);
}
body:is(.page-id-966,.page-id-967,.page-id-46442,.page-id-950,.page-id-51839) .ri-landing .wp-block-button__link {
  background: #582677 !important;
  color: #fff !important;
  border-radius: 999px;
  text-decoration: none;
}
body:is(.page-id-966,.page-id-967,.page-id-46442,.page-id-950,.page-id-51839) .ri-landing .wp-block-button__link:hover {
  background: #70418c !important;
}
body:is(.page-id-966,.page-id-967,.page-id-46442,.page-id-950,.page-id-51839) .ri-landing p a {
  color: #582677 !important;
  text-decoration: underline;
}
body:is(.page-id-966,.page-id-967,.page-id-46442,.page-id-950,.page-id-51839) .ri-landing a:focus-visible {
  outline: 3px solid #ad9466 !important;
  outline-offset: 3px;
}
@media (max-width: 700px) {
  body:is(.page-id-966,.page-id-967,.page-id-46442,.page-id-950,.page-id-51839) .ri-landing {
    margin: 24px 16px 40px;
    padding: 24px 20px;
  }
  body:is(.page-id-966,.page-id-967,.page-id-46442,.page-id-950,.page-id-51839) .ri-landing .ri-landing-card {
    padding: 20px;
  }
}

/* September 25: Contact form and long email links. */
body.page-id-950 .ri-contact .wp-block-jetpack-contact-form {
  margin-top: 20px;
  padding: 24px !important;
  background: #f1e8f5 !important;
  border: 1px solid #d8c39a;
  border-radius: 14px;
}
body.page-id-950 .ri-contact .wp-block-jetpack-contact-form :is(label, .wp-block-jetpack-label) {
  color: #35243c !important;
  font-weight: 700;
}
body.page-id-950 .ri-contact .wp-block-jetpack-contact-form :is(input, textarea) {
  background: #fff !important;
  color: #35243c !important;
  border: 1px solid #8d7f90 !important;
  border-radius: 8px;
}
body.page-id-950 .ri-contact .wp-block-jetpack-contact-form button {
  background: #582677 !important;
  color: #fff !important;
  border-radius: 999px;
}
body.page-id-950 .ri-contact .ri-landing-card a {
  overflow-wrap: anywhere;
}

/* September 25: editorial masthead spacing. */
body.page-id-51839 .ri-authors .ri-author-profile {
  margin: 30px 0;
}
body.page-id-51839 .ri-authors > .wp-block-buttons {
  margin-bottom: 30px;
}