/* Maldives Rating whole-site gradient themes — v2.5.0. */
body.rmv-site-gradient-g01{--rmv-site-gradient:var(--rmv-gradient-g01)}
body.rmv-site-gradient-g02{--rmv-site-gradient:var(--rmv-gradient-g02)}
body.rmv-site-gradient-g03{--rmv-site-gradient:var(--rmv-gradient-g03)}
body.rmv-site-gradient-g04{--rmv-site-gradient:var(--rmv-gradient-g04)}
body.rmv-site-gradient-g05{--rmv-site-gradient:var(--rmv-gradient-g05)}
body.rmv-site-gradient-g06{--rmv-site-gradient:var(--rmv-gradient-g06)}
body.rmv-site-gradient-g07{--rmv-site-gradient:var(--rmv-gradient-g07)}
body.rmv-site-gradient-g08{--rmv-site-gradient:var(--rmv-gradient-g08)}
body.rmv-site-gradient-g09{--rmv-site-gradient:var(--rmv-gradient-g09)}
body.rmv-site-gradient-g10{--rmv-site-gradient:var(--rmv-gradient-g10)}
body.rmv-site-gradient-g11{--rmv-site-gradient:var(--rmv-gradient-g11)}
body.rmv-site-gradient-g12{--rmv-site-gradient:var(--rmv-gradient-g12)}

body.rmv-site-gradient-active{
  --rmv-primary:#1e5bb3;
  --rmv-secondary:#1c7cb4;
  --rmv-accent:#1fd3ed;
  --rmv-gradient-deep:#16357e;
  --rmv-gradient-cyan:#1fd3ed;
}

/* Global controls and brand accents. */
body.rmv-site-gradient-active :is(
  .rmv-header-cta,.rmv-button,.rmv-starter-button,.rmv-read-more,.rmv-back-top,
  .wp-element-button,.elementor-button,.button-primary,button[type="submit"],input[type="submit"],
  .woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt
){
  color:#fff!important;
  background-color:#1e5bb3!important;
  background-image:var(--rmv-site-gradient)!important;
  border-color:transparent!important;
  box-shadow:0 12px 28px rgba(22,53,126,.2);
}
body.rmv-site-gradient-active :is(
  .rmv-header-cta,.rmv-button,.rmv-starter-button,.rmv-read-more,.rmv-back-top,
  .wp-element-button,.elementor-button,button[type="submit"],input[type="submit"]
):hover{filter:saturate(1.08) brightness(1.04);transform:translateY(-1px)}

body.rmv-site-gradient-active :is(a:hover,.rmv-eyebrow,.rmv-kicker,.rmv-review-kicker,.rmv-card-award,.rmv-card-rating){color:#1d69b4}
body.rmv-site-gradient-active :is(input,textarea,select):focus{
  border-color:#1fd3ed!important;
  box-shadow:0 0 0 4px rgba(31,211,237,.17)!important;
  outline:0!important;
}
body.rmv-site-gradient-active .rmv-primary-menu>li.current-menu-item>a,
body.rmv-site-gradient-active .rmv-primary-menu>li.current-menu-ancestor>a{color:#1e5bb3}
body.rmv-site-gradient-active.rmv-menu-hover-line .rmv-primary-menu>li>a:after,
body.rmv-site-gradient-active.rmv-menu-hover-background .rmv-primary-menu>li>a:hover,
body.rmv-site-gradient-active.rmv-menu-hover-pill .rmv-primary-menu>li>a:hover{
  background-color:#1e5bb3!important;
  background-image:var(--rmv-site-gradient)!important;
}
body.rmv-site-gradient-active :is(.rmv-card-score,.rmv-review-score,.rmv-review-hero__rating,.rmv-loader-mark){
  color:#fff!important;
  background-color:#16357e!important;
  background-image:var(--rmv-site-gradient)!important;
  border-color:rgba(255,255,255,.5)!important;
}
body.rmv-site-gradient-active :is(.rmv-image-fallback,.rmv-image-placeholder){background-image:var(--rmv-site-gradient)!important}

/* Balanced: the visual brand changes across major template surfaces while content cards remain readable. */
body.rmv-site-gradient-mode-balanced :is(
  .rmv-banner,.rmv-review-hero,.rmv-starter-hero,.rmv-error-page,
  .rmv-cta,.site-footer
),
body.rmv-site-gradient-mode-bold :is(
  .rmv-banner,.rmv-review-hero,.rmv-starter-hero,.rmv-error-page,
  .rmv-cta,.site-footer
){
  color:#fff!important;
  background-color:#16357e!important;
  background-image:var(--rmv-site-gradient)!important;
}
body.rmv-site-gradient-mode-balanced :is(.rmv-banner,.rmv-review-hero,.rmv-starter-hero,.rmv-error-page,.rmv-cta,.site-footer) :is(h1,h2,h3,h4,h5,h6,p,li,strong,small,label,a,span),
body.rmv-site-gradient-mode-bold :is(.rmv-banner,.rmv-review-hero,.rmv-starter-hero,.rmv-error-page,.rmv-cta,.site-footer) :is(h1,h2,h3,h4,h5,h6,p,li,strong,small,label,a,span){color:#fff!important}
body.rmv-site-gradient-active .site-footer .rmv-footer-bottom{background:rgba(7,26,43,.28)!important;border-top-color:rgba(255,255,255,.18)!important}
body.rmv-site-gradient-active .site-footer :is(input,textarea,select){color:#fff;background:rgba(7,26,43,.28);border-color:rgba(255,255,255,.28)}
body.rmv-site-gradient-active .site-footer :is(input,textarea)::placeholder{color:rgba(255,255,255,.68)}

/* Bold: selected header and major native theme cards also become gradient surfaces. */
body.rmv-site-gradient-mode-bold :is(.site-header,.rmv-header-main){
  --rmv-header-bg:#16357e;
  --rmv-header-text:#fff;
  --rmv-header-hover:#1fd3ed;
  --rmv-header-border:rgba(255,255,255,.17);
  background-color:#16357e!important;
  background-image:var(--rmv-site-gradient)!important;
}
body.rmv-site-gradient-mode-bold :is(.site-header,.rmv-header-main) :is(a,button,span){color:#fff!important}
body.rmv-site-gradient-mode-bold :is(.rmv-card,.rmv-post-card,.rmv-related-card,.rmv-panel,.rmv-author-box,.rmv-page-article){
  color:#fff!important;
  background-color:#16357e!important;
  background-image:var(--rmv-site-gradient)!important;
  border-color:rgba(255,255,255,.22)!important;
}
body.rmv-site-gradient-mode-bold :is(.rmv-card,.rmv-post-card,.rmv-related-card,.rmv-panel,.rmv-author-box,.rmv-page-article) :is(h1,h2,h3,h4,h5,h6,p,li,strong,small,label,a,span){color:#fff!important}

/* Keep form fields readable even inside a bold gradient surface. */
body.rmv-site-gradient-mode-bold :is(.rmv-card,.rmv-panel,.rmv-page-article) :is(input,textarea,select){
  color:#0b1f33!important;background:#fff!important;border-color:rgba(255,255,255,.6)!important
}

/* Dark mode uses identical gradient branding and only changes neutral surfaces. */
[data-theme="dark"] body.rmv-site-gradient-active,
body.rmv-site-gradient-active[data-theme="dark"]{--rmv-primary:#1e5bb3;--rmv-secondary:#1c7cb4;--rmv-accent:#1fd3ed}

@media(max-width:760px){
  body.rmv-site-gradient-active :is(.rmv-header-cta,.rmv-button,.wp-element-button){box-shadow:none}
}
