/*
 * WPMozo "Rainbow" colour layer (local design test, 29/11/2026).
 * Neural Forms feel on wpmozo.com: white and warm cream sections, white cards
 * on thin lines, four accents (green, coral, sky, sun) on small marks only.
 * Green is a fill, never text. Emphasis text is navy #000042.
 * Loaded after every other theme stylesheet; remove this file to undo.
 */

:root {
	--rb-navy: #000042;
	--rb-ink: #111114;
	--rb-ink-2: #3a3a46;
	--rb-ink-3: #6e6e7a;
	--rb-green: #3DDA85;
	--rb-green-soft: #E3F8EC;
	--rb-coral: #FF6B4A;
	--rb-coral-soft: #FFE6DF;
	--rb-sky: #22B8F0;
	--rb-sky-soft: #DFF3FC;
	--rb-sun: #FFB020;
	--rb-sun-soft: #FFF0CC;
	--rb-cream: #FFF8F1;
	--rb-line: #ECE7DF;
}

/* ---------- Menu ---------- */

.el-nav__btn[aria-expanded="true"] { background: #F4F2EE; }

/* Column headings: navy capitals led by a colour dot, one colour per column. */
.el-panel__col > h3 {
	display: flex; align-items: center; gap: 10px;
	color: var(--rb-navy);
	font-weight: 800;
	letter-spacing: 0.06em;
}
.el-panel__col > h3::before {
	content: ""; flex: 0 0 auto; width: 9px; height: 9px; border-radius: 50%;
	background: var(--el-col-dot, var(--rb-green));
}
.el-panel__grid > .el-panel__col:nth-child(4n+1) { --el-col-dot: var(--rb-green); }
.el-panel__grid > .el-panel__col:nth-child(4n+2) { --el-col-dot: var(--rb-coral); }
.el-panel__grid > .el-panel__col:nth-child(4n+3) { --el-col-dot: var(--rb-sky); }
.el-panel__grid > .el-panel__col:nth-child(4n+4) { --el-col-dot: var(--rb-sun); }

/* Links: plain, no dot-dash bullet; the column dot carries the colour. */
.el-panel .el-links { gap: 0.7em; }
.el-panel .el-links li { padding-left: 0; }
.el-panel .el-links li::before { display: none; }
.el-panel .el-links a { color: var(--rb-ink); font-weight: 600; }
.el-panel .el-links a:hover { color: var(--rb-navy); text-decoration-color: var(--rb-green); text-underline-offset: 0.2em; }

/* Chips: Free on green, Pro on coral, navy text on both. */
.el-tag { background: var(--rb-green-soft); color: var(--rb-navy); font-weight: 700; }
.el-tag--free { background: var(--rb-green-soft); color: var(--rb-navy); }
.el-tag--pro { background: var(--rb-coral-soft); color: var(--rb-navy); }

/* Side card in the panel: cream with a thin line, not mint. */
.el-panel__card:not(.wsb-card) { background: var(--rb-cream); border: 1px solid var(--rb-line); }
.el-panel__card:not(.wsb-card) .wp-block-button__link { background: var(--rb-navy); color: #fff; }

/* ---------- Homepage ---------- */

/* Bands: one warm cream for every tinted section, no navy band. */
.el-home .el-band-cream,
.el-home .el-band-mint,
.el-home .el-band-sky,
.el-home .el-band-lav { background: var(--rb-cream); }
.el-home .el-h-hero .el-h-collage::before { background: var(--rb-cream); }

.el-home .el-band-navy { background: #fff; color: var(--rb-ink); }
.el-home .el-band-navy :is(h2, h3, h4) { color: var(--rb-navy); }
.el-home .el-band-navy p { color: var(--rb-ink-2); }
.el-home .el-h-num h3 { color: var(--rb-navy); }
.el-home .el-h-num p { color: var(--rb-ink-2); }
.el-home .el-h-gbox { background: var(--rb-cream); border: 1px solid var(--rb-line); }

/* Numbered steps: white numbers on the four colours in turn. */
.el-h-why .el-h-num b, .el-h-why.is-compact .el-h-num b { color: #fff; background: var(--rb-green); }
.el-h-why .el-h-num > div:nth-child(4n+2) b { background: var(--rb-coral); }
.el-h-why .el-h-num > div:nth-child(4n+3) b { background: var(--rb-sky); }
.el-h-why .el-h-num > div:nth-child(4n+4) b { background: var(--rb-sun); }
.el-h-why.is-compact .el-h-num h3, .el-home .el-band-navy .el-h-num h3 { color: var(--rb-navy); }

/* Guarantee seal: green fill, navy text. */
.el-h-gbox .seal { background: var(--rb-green-soft); border-color: var(--rb-green); color: var(--rb-navy); }

/* Hero plugin icons: soft colour tiles, the icon in the full colour. */
.el-h-icons span { border-color: transparent; }
.el-h-icons a:nth-child(4n+1) span { background: var(--rb-green-soft); color: var(--rb-green); }
.el-h-icons a:nth-child(4n+2) span { background: var(--rb-coral-soft); color: var(--rb-coral); }
.el-h-icons a:nth-child(4n+3) span { background: var(--rb-sky-soft); color: var(--rb-sky); }
.el-h-icons a:nth-child(4n+4) span { background: var(--rb-sun-soft); color: var(--rb-sun); }
.el-h-icons a:hover span { border-color: transparent; }

/* Buttons: green with white text (primary), navy outline (secondary). */
.el-home .el-h-hero .wp-block-button__link,
.el-home .el-h-zz .wp-block-button__link,
.el-home .el-h-zz .el-btn--primary,
.el-home .el-btn--green { background: var(--rb-green); color: #fff !important; }
.el-home .el-h-zz .wp-block-button__link:hover,
.el-home .el-h-zz .el-btn--primary:hover,
.el-home .el-h-hero .wp-block-button__link:hover { background: #2fc977; }

/* Stats: the left rule takes the four colours in turn. */
.el-h-stats > div:nth-child(4n+1) { border-left-color: var(--rb-green); }
.el-h-stats > div:nth-child(4n+2) { border-left-color: var(--rb-coral); }
.el-h-stats > div:nth-child(4n+3) { border-left-color: var(--rb-sky); }
.el-h-stats > div:nth-child(4n+4) { border-left-color: var(--rb-sun); }

/* Cards: white on a thin warm line. */
.el-h-card, .el-h-ap { border-color: var(--rb-line); box-shadow: none; }

/* Image panels: the soft tints of the four colours, no purple or pink. */
.bg-rose  { background: var(--rb-coral-soft); }
.bg-lav   { background: var(--rb-sky-soft); }
.bg-sky   { background: var(--rb-sun-soft); }
.bg-peach { background: var(--rb-coral-soft); }
.bg-mint  { background: var(--rb-green-soft); }

/* Ticks: white check on a green disc (was a dark green stroke). */
.el-h-ck li::before {
	background: var(--rb-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* Free tags on plugin cards. */
.el-h-ap em { background: var(--rb-green-soft); color: var(--rb-navy); }

/* ---------- Block editor menu: the plugin as parent, its blocks nested (local 29/11) ---------- */

@media (min-width: 1024px) {
	.el-panel__grid--pop.el-panel__grid--blk { grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr); }
}
.el-prod { padding: 26px 28px 22px; border: 1px solid #E6E8EF; border-radius: var(--el-radius); background: #fff; }
.el-prod__head { display: grid; gap: 6px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid #E6E8EF; }
.el-panel .el-prod__k { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rb-navy); }
.el-panel .el-prod__k::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rb-green); }
.el-panel h3.el-prod__name { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 2px 0 0; font-size: clamp(22px, 1.7vw, 26px); line-height: 1.2; font-weight: 800; letter-spacing: -0.02em; text-transform: none; color: var(--rb-navy); }
.el-prod__name a { color: inherit; text-decoration: none; margin-right: 6px; }
.el-prod__name a:hover { text-decoration: underline; text-decoration-color: var(--rb-green); text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
.el-prod__name .el-tag { margin-left: 0; font-size: 12px; }
.el-prod__line { margin: 0; max-width: 62ch; font-size: var(--wp--preset--font-size--small); color: var(--rb-ink-2); }
.el-prod__more { justify-self: start; font-size: var(--wp--preset--font-size--small); font-weight: 700; color: var(--rb-navy); text-decoration: underline; text-decoration-color: var(--rb-green); text-decoration-thickness: 2px; text-underline-offset: 0.2em; }
.el-panel .el-prod__sub { margin: 0 0 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--rb-ink-3); }
.el-pop--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 20px; }
.el-pop--3 a { padding: 8px; margin-inline: -8px; font-weight: 600; }
.el-pop--3 a:hover { background: #F4F6FA; }
.el-pop--3 img { width: 64px; height: 64px; border-radius: 10px; border: 1px solid var(--rb-line); background: #fff; }
.el-panel__side { display: grid; gap: 18px; align-content: start; }
.el-panel__side > * { margin: 0 !important; }
.el-panel__also { padding: 0 4px; font-size: var(--wp--preset--font-size--small); }
.el-panel__also .el-prod__sub { margin-bottom: 6px; }
.el-panel__also a { color: var(--rb-ink); font-weight: 600; text-decoration: none; }
.el-panel__also a:hover { text-decoration: underline; text-decoration-color: var(--rb-green); text-decoration-thickness: 2px; }
@media (max-width: 1279px) { .el-pop--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1023px) {
	.el-prod { padding: 18px; }
	.el-pop--3 { grid-template-columns: minmax(0, 1fr); }
	.el-pop--3 img { width: 48px; height: 48px; }
}

/* ---------- Elementor side column options + Blog panel (local 29/11) ---------- */

.el-panel .el-more__h { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--rb-navy); }
.el-panel .el-more__h::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rb-coral); }
.el-more__list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 4px; }
.el-more__list a { display: flex; gap: 12px; align-items: flex-start; padding: 8px; margin-inline: -8px; border-radius: var(--el-radius-sm); text-decoration: none; color: var(--rb-ink); }
.el-more__list a:hover { background: #F4F6FA; }
.el-more__list b { font-weight: 700; font-size: var(--wp--preset--font-size--small); }
.el-more__list small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--rb-ink-3); }
.el-more__list .el-tag { margin-left: 4px; }
.el-more--compact .el-more__list a { align-items: center; }
.el-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 10px; }
.el-ic--green { background: var(--rb-green-soft); color: var(--rb-green); }
.el-ic--coral { background: var(--rb-coral-soft); color: var(--rb-coral); }
.el-ic--sky { background: var(--rb-sky-soft); color: var(--rb-sky); }
.el-ic--sun { background: var(--rb-sun-soft); color: var(--rb-sun); }
.el-mini { display: grid; gap: 6px; padding: 20px 22px; border: 1px solid #E6E8EF; border-radius: var(--el-radius); background: #fff; }
.el-panel .el-prod__k--coral::before { background: var(--rb-coral); }
.el-mini__name { font-size: 19px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; color: var(--rb-navy); text-decoration: none; }
.el-mini__line { margin: 0; font-size: 14px; color: var(--rb-ink-2); }

@media (min-width: 1024px) {
	.el-panel__grid--blog { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr) minmax(240px, 1fr); gap: var(--wp--preset--spacing--xl); }
}
.el-panel__grid--blog > * { margin-block: 0 !important; }
.el-dummy span:first-child { color: var(--rb-ink-3); font-style: italic; }
.el-dummy .el-tag { background: #FFF0CC; }

/* One-line "browse all" at the foot of a plugin box (local 29/11). */
.el-panel .el-prod__foot { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid #E6E8EF; font-size: var(--wp--preset--font-size--small); color: var(--rb-ink-2); }
.el-prod__foot b { color: var(--rb-navy); }
.el-prod__foot a { margin-left: 6px; font-weight: 700; color: var(--rb-navy); text-decoration: underline; text-decoration-color: var(--rb-green); text-decoration-thickness: 2px; text-underline-offset: 0.2em; white-space: nowrap; }
.el-mini__row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .el-mini__row .el-tag { margin-left: 0; }
