/*
Theme Name: ReviewMinds Divi
Theme URI: https://reviewminds.com/
Description: Accessible ReviewMinds child theme for Divi 5.
Author: ReviewMinds
Template: Divi
Version: 2.2.0
Text Domain: reviewminds
*/

:root {
  --rm-navy: #0b1f3a;
  --rm-blue: #1769e0;
  --rm-amber: #f4b223;
  --rm-green: #177245;
  --rm-orange: #b54708;
  --rm-ink: #172033;
  --rm-muted: #5f6b7a;
  --rm-line: #d9e0e8;
  --rm-surface: #f6f8fb;
  --rm-white: #fff;
}

body { margin: 0; }
#page-container, .et_fixed_nav #page-container, .et_non_fixed_nav.et_transparent_nav #page-container { padding-top: 0 !important; margin-top: 0 !important; }
.rm-skip-link { position: fixed; top: .5rem; left: .5rem; z-index: 100000; padding: .65rem 1rem; background: var(--rm-white); color: var(--rm-navy); transform: translateY(-150%); }
.rm-skip-link:focus { transform: translateY(0); }
.rm-site-header { position: relative; z-index: 1000; border-bottom: 1px solid var(--rm-line); background: var(--rm-white); }
.rm-site-header__bar { background: var(--rm-navy); color: var(--rm-white); }
.rm-site-header__bar-inner, .rm-site-header__main, .rm-site-footer__inner { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.rm-site-header__bar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 2.35rem; gap: 1rem; font-size: .8rem; }
.rm-site-header__bar p { margin: 0; }
.rm-site-header__bar a { color: var(--rm-amber); font-weight: 700; }
.rm-site-header__main { display: flex; align-items: center; min-height: 4.75rem; gap: 2rem; }
.rm-brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--rm-navy); font-size: 1.55rem; font-weight: 900; letter-spacing: -.035em; text-decoration: none; white-space: nowrap; }
.rm-brand:hover { color: var(--rm-navy); }
.rm-brand__mark { display: inline-grid; place-items: center; width: 2.15rem; height: 2.15rem; border-radius: .6rem; background: var(--rm-amber); color: var(--rm-navy); font-size: .78rem; letter-spacing: -.04em; }
.rm-brand__minds { color: var(--rm-blue); }
.rm-site-nav { margin-left: auto; }
.rm-site-nav ul { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.55rem); margin: 0; padding: 0; list-style: none; }
.rm-site-nav a { color: var(--rm-ink); font-size: .92rem; font-weight: 750; text-decoration: none; }
.rm-site-nav a:hover, .rm-site-nav .current-menu-item > a { color: var(--rm-blue); }
.rm-site-header__search { display: inline-flex; align-items: center; }
.rm-site-header__search input[type="search"] { width: 9rem; min-height: 2.5rem; border: 1px solid var(--rm-line); border-radius: .5rem 0 0 .5rem; padding: .5rem .7rem; }
.rm-site-header__search button, .rm-site-header__search input[type="submit"] { min-height: 2.5rem; border: 0; border-radius: 0 .5rem .5rem 0; padding: .5rem .75rem; background: var(--rm-blue); color: var(--rm-white); font-weight: 800; }
.rm-nav-toggle { display: none; min-height: 2.75rem; border: 1px solid var(--rm-line); border-radius: .5rem; padding: .5rem .8rem; background: var(--rm-white); color: var(--rm-navy); font-weight: 800; }
.rm-site-footer { background: var(--rm-navy); color: #dce6f2; }
.rm-site-footer__inner { display: grid; grid-template-columns: minmax(0, 1.5fr) 1fr 1fr; gap: 3rem; padding-block: 3.5rem; }
.rm-site-footer .rm-brand { color: var(--rm-white); }
.rm-site-footer h2 { color: var(--rm-white); font-size: 1rem; }
.rm-site-footer p { max-width: 42rem; }
.rm-site-footer ul { margin: 0; padding: 0; list-style: none; }
.rm-site-footer li + li { margin-top: .5rem; }
.rm-site-footer a { color: #dce6f2; }
.rm-site-footer a:hover { color: var(--rm-amber); }
.rm-site-footer__bottom { border-top: 1px solid rgb(255 255 255 / 16%); }
.rm-site-footer__bottom-inner { display: flex; justify-content: space-between; width: min(1180px, calc(100% - 2rem)); margin-inline: auto; padding-block: 1.1rem; gap: 1rem; font-size: .82rem; }
.rm-site-footer__bottom p { margin: 0; }

.rm-review { color: var(--rm-ink); font-size: 16px; line-height: 1.75; }
.rm-review__inner { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.rm-review__header { padding: clamp(2rem, 5vw, 4.5rem) 0; background: var(--rm-navy); color: var(--rm-white); }
.rm-review__eyebrow { color: var(--rm-amber); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.rm-review__title { color: inherit; font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: 1.05; }
.rm-review__meta { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; font-size: .95rem; }
.rm-review__identity { display: flex; align-items: center; gap: .9rem; }
.rm-review__product-logo { width: 3rem; height: 3rem; border-radius: .65rem; object-fit: contain; background: var(--rm-white); }
.rm-breadcrumbs { display: flex; flex-wrap: wrap; gap: .35rem .65rem; margin-bottom: 1.5rem; font-size: .9rem; }
.rm-breadcrumbs a { color: var(--rm-white); }
.rm-score { display: inline-flex; gap: .55rem; color: var(--rm-amber); }
.rm-review__layout { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.75rem; padding-block: 3rem 6rem; }
.rm-review article > section { margin-block: 2.25rem; scroll-margin-top: 2rem; }
.rm-review article h2 { margin-bottom: .65rem; color: var(--rm-ink); font-size: clamp(1.45rem, 2.5vw, 1.85rem); line-height: 1.25; }
.rm-review article p, .rm-review article li { font-size: 1.02rem; }
.rm-review__aside { position: sticky; top: 2rem; align-self: start; }
.rm-card { border: 1px solid var(--rm-line); border-radius: 1rem; padding: 1.25rem; background: var(--rm-white); }
.rm-disclosure { border-left: .35rem solid var(--rm-amber); background: #fff9e8; padding: 1rem 1.25rem; }
.rm-status { display: inline-flex; align-items: center; gap: .45rem; border: 1px solid currentColor; border-radius: 99rem; padding: .25rem .7rem; font-weight: 700; }
.rm-pros { border-left: .35rem solid var(--rm-green); }
.rm-cons { border-left: .35rem solid var(--rm-orange); }
.rm-cta { display: inline-flex; justify-content: center; min-height: 2.75rem; padding: .7rem 1rem; border-radius: .5rem; background: var(--rm-blue); color: var(--rm-white); font-weight: 800; text-decoration: none; }
.rm-cta:hover { color: var(--rm-white); filter: brightness(.9); }
.rm-cta:focus-visible, .rm-review a:focus-visible { outline: .2rem solid var(--rm-amber); outline-offset: .2rem; }
.rm-featured-media img { display: block; width: 100%; height: auto; border-radius: 1rem; }
.rm-evidence-figure { margin: 1.75rem 0; }
.rm-evidence-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--rm-line); border-radius: 1rem; }
.rm-evidence-figure figcaption { margin-top: .55rem; color: var(--rm-muted); font-size: .88rem; line-height: 1.5; }
.rm-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 1rem; background: var(--rm-navy); }
.rm-video iframe { width: 100%; height: 100%; }
.rm-toc { margin-top: 1rem; }
.rm-toc ol { margin: 0; padding-left: 1.25rem; }
.rm-toc a { color: var(--rm-blue); }
.rm-internal-link { color: var(--rm-blue); font-weight: 800; text-decoration-thickness: .12em; text-underline-offset: .16em; }
.rm-table-wrap { max-width: 100%; overflow-x: auto; }
.rm-review table { width: 100%; border-collapse: collapse; }
.rm-review th, .rm-review td { border: 1px solid var(--rm-line); padding: .75rem; text-align: left; vertical-align: top; }
.rm-review th { background: var(--rm-surface); color: var(--rm-navy); }
.rm-mobile-cta { display: none; }
.rm-content-shell { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; padding-block: clamp(2.5rem, 6vw, 5rem); }
.rm-page-header { margin-bottom: 2rem; }
.rm-page-header h1 { color: var(--rm-navy); font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.1; }
.rm-archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.rm-archive-card { border: 1px solid var(--rm-line); border-radius: 1rem; padding: 1.25rem; background: var(--rm-white); }
.rm-archive-card h2 { margin-top: 0; font-size: 1.3rem; }
.rm-archive-card a { color: var(--rm-navy); text-decoration: none; }
.rm-search-form { display: flex; max-width: 30rem; }
.rm-search-form label { flex: 1; }
.rm-search-form input[type="search"] { box-sizing: border-box; width: 100%; min-height: 2.75rem; border: 1px solid var(--rm-line); border-radius: .5rem 0 0 .5rem; padding: .6rem .75rem; }
.rm-search-form button { min-height: 2.75rem; border: 0; border-radius: 0 .5rem .5rem 0; padding: .6rem 1rem; background: var(--rm-blue); color: var(--rm-white); font-weight: 800; }
.rm-draft-notice { border-left: .35rem solid var(--rm-orange); margin-bottom: 1.5rem; padding: 1rem; background: #fff4ed; }
.rm-home-hero { background: linear-gradient(135deg, var(--rm-navy), #123b70); color: var(--rm-white); }
.rm-home-hero__inner { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(17rem, .75fr); align-items: center; gap: clamp(2rem, 6vw, 5rem); width: min(1120px, calc(100% - 2rem)); margin-inline: auto; padding-block: clamp(4rem, 9vw, 7.5rem); }
.rm-home-hero h1 { max-width: 13ch; margin: 0 0 1.25rem; color: var(--rm-white); font-size: clamp(2.6rem, 7vw, 5.2rem); line-height: .98; letter-spacing: -.045em; }
.rm-home-hero__lead { max-width: 43rem; color: #dce6f2; font-size: clamp(1.05rem, 2vw, 1.3rem); line-height: 1.65; }
.rm-home-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.rm-home-hero .rm-cta--secondary { border: 1px solid rgb(255 255 255 / 55%); background: transparent; }
.rm-home-principles { border: 1px solid rgb(255 255 255 / 20%); border-radius: 1rem; padding: 1.4rem; background: rgb(255 255 255 / 7%); }
.rm-home-principles h2 { margin-top: 0; color: var(--rm-white); font-size: 1.15rem; }
.rm-home-principles ul { margin: 0; padding: 0; list-style: none; }
.rm-home-principles li { position: relative; padding-left: 1.6rem; color: #edf4fb; }
.rm-home-principles li + li { margin-top: .8rem; }
.rm-home-principles li::before { position: absolute; left: 0; color: var(--rm-amber); content: '✓'; font-weight: 900; }
.rm-home-section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.rm-home-section--surface { background: var(--rm-surface); }
.rm-home-section__inner { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.rm-home-section__header { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.rm-home-section__header h2 { margin: 0; color: var(--rm-navy); font-size: clamp(1.9rem, 4vw, 2.8rem); }
.rm-home-section__header p { max-width: 40rem; margin-bottom: 0; color: var(--rm-muted); }
.rm-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.rm-category-card { min-height: 7rem; border: 1px solid var(--rm-line); border-radius: 1rem; padding: 1.25rem; background: var(--rm-white); color: var(--rm-navy); font-size: 1.05rem; font-weight: 800; }
.rm-category-grid a.rm-category-card { text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.rm-category-grid a.rm-category-card:hover { color: var(--rm-blue); transform: translateY(-2px); box-shadow: 0 .6rem 1.5rem rgb(11 31 58 / 10%); }
.rm-category-card span { display: block; margin-bottom: .75rem; color: var(--rm-blue); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.rm-home-empty { border: 1px dashed #a8b6c7; border-radius: 1rem; padding: 2rem; background: var(--rm-white); text-align: center; }
.rm-entry { width: min(860px, calc(100% - 2rem)); margin-inline: auto; padding-block: clamp(2.5rem, 6vw, 5.5rem); }
.rm-entry__header { margin-bottom: 2rem; }
.rm-entry__header h1 { margin-bottom: .75rem; color: var(--rm-navy); font-size: clamp(2.25rem, 6vw, 4.25rem); line-height: 1.04; letter-spacing: -.035em; }
.rm-entry__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--rm-muted); font-size: .9rem; }
.rm-entry__content { color: var(--rm-ink); font-size: 1.05rem; line-height: 1.8; }
.rm-entry__content h2, .rm-entry__content h3 { color: var(--rm-navy); scroll-margin-top: 2rem; }
.rm-entry__content img { max-width: 100%; height: auto; border-radius: .75rem; }
.rm-entry__content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; }
.rm-entry__content th, .rm-entry__content td { border: 1px solid var(--rm-line); padding: .7rem; text-align: left; }
.rm-entry__content th { background: var(--rm-surface); }
.rm-directory-hero { background: var(--rm-navy); color: var(--rm-white); }
.rm-directory-hero__inner { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; padding-block: clamp(2.75rem, 7vw, 5rem); }
.rm-directory-hero h1 { max-width: 16ch; margin: 0 0 .75rem; color: var(--rm-white); font-size: clamp(2.4rem, 6vw, 4.4rem); }
.rm-directory-hero p { max-width: 45rem; color: #dce6f2; font-size: 1.1rem; }
.rm-product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 2.5rem; }
.rm-fact-list { margin: 0; }
.rm-fact-list div { padding-block: .75rem; border-bottom: 1px solid var(--rm-line); }
.rm-fact-list dt { color: var(--rm-muted); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.rm-fact-list dd { margin: .2rem 0 0; color: var(--rm-ink); }
.rm-notice { border-left: .35rem solid var(--rm-blue); margin-block: 1.5rem; padding: 1rem 1.2rem; background: #eef6ff; }
.rm-pagination { margin-top: 2rem; }
.rm-pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.rm-pagination a, .rm-pagination span { border: 1px solid var(--rm-line); border-radius: .4rem; padding: .45rem .7rem; }
.rm-tag-list { display: flex; flex-wrap: wrap; gap: .45rem; margin: 1rem 0; padding: 0; list-style: none; }
.rm-tag-list a, .rm-tag-list span { display: inline-flex; border-radius: 99rem; padding: .35rem .7rem; background: #edf3fb; color: var(--rm-navy); font-size: .85rem; font-weight: 700; text-decoration: none; }
.rm-related-research { margin-top: 3rem; border-top: 1px solid var(--rm-line); padding-top: 2rem; }
.rm-related-research h2 { color: var(--rm-navy); }
.rm-related-research a { color: var(--rm-blue); font-weight: 800; }
.rm-source-warning { border: 1px solid #f4d29b; border-radius: .75rem; margin-block: 1.5rem; padding: 1rem; background: #fff9e8; }
.rm-entry__content a { color: var(--rm-blue); }
.rm-author-box { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; margin-top: 3rem; border: 1px solid var(--rm-line); border-radius: 1rem; padding: 1.25rem; }
.rm-author-box img { border-radius: 50%; }
.rm-visually-labeled-icon { display: inline-flex; align-items: center; gap: .5rem; }
.rm-status-dot { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: var(--rm-surface); font-size: .75rem; font-weight: 900; }
.rm-card img { max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: .2rem solid var(--rm-amber); outline-offset: .18rem; }

@media (max-width: 800px) {
	.rm-review { font-size: 15px; }
	.rm-site-header__bar-inner { justify-content: center; text-align: center; }
	.rm-site-header__bar a { display: none; }
	.rm-site-header__main { min-height: 4.25rem; flex-wrap: wrap; gap: .75rem; padding-block: .65rem; }
	.rm-nav-toggle { display: inline-flex; margin-left: auto; }
	.rm-site-nav { display: none; flex-basis: 100%; margin-left: 0; }
	.rm-site-nav.is-open { display: block; }
	.rm-site-nav ul { align-items: stretch; flex-direction: column; gap: 0; padding-block: .5rem; }
	.rm-site-nav a { display: block; padding: .7rem 0; }
	.rm-site-header__search { display: none; }
	.rm-site-footer__inner { grid-template-columns: 1fr; gap: 1.75rem; }
	.rm-site-footer__bottom-inner { align-items: flex-start; flex-direction: column; }
	.rm-review__layout { grid-template-columns: 1fr; }
	.rm-archive-grid { grid-template-columns: 1fr; }
	.rm-home-hero__inner { grid-template-columns: 1fr; }
	.rm-home-section__header { align-items: flex-start; flex-direction: column; gap: .5rem; }
	.rm-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rm-product-layout { grid-template-columns: 1fr; }
  .rm-review__aside { position: static; }
  .rm-mobile-cta { display: flex; position: fixed; inset: auto 0 0; z-index: 999; padding: .65rem 1rem; background: var(--rm-white); box-shadow: 0 -.25rem 1rem rgb(11 31 58 / 14%); }
  .rm-mobile-cta .rm-cta { width: 100%; }
  body.single-rm_review { padding-bottom: 4.5rem; }
}

@media (max-width: 480px) {
	.rm-category-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
