/* ==========================================================================
   CX Skills — home page sections (everything below the hero)
   File:     css/cxskills-home-sections.css   (wp-content/themes/conferpress-child/css/)
   Version:  1.1.0
   Markup:   [cxs_home_sections] in wp-content/mu-plugins/cxskills-home-sections.php
   Loaded:   by that mu-plugin, on the front page only.

   All values from css/cxskills-tokens.css. No hex, no var() fallbacks.
   Everything is scoped to .cxs-hs.

   Gold is not used for buttons here: Gold stays the header's one primary
   action. Section buttons are Indigo (secondary) or white on the Indigo band.

   CHANGELOG
   v1.1.0  (23 Sep 2026) Topic cards: Indigo title bar, Gold icon and rule,
           full-width course buttons, rows aligned with subgrid. Topics band
           is Indigo 50; Ways to train moved to white with outlined cards.
   v1.0.0  (23 Sep 2026) First issue.

   HOVER STATES
   Topic cards: shadow deepens, the circle in the title bar grows.
   Course buttons: fill solid Indigo, arrow brightens and nudges right.
   "All ... courses" / "more" links: arrow nudges right.
   Logos: greyscale, full colour on hover.
   Keyboard focus mirrors hover and adds a visible outline.
   ========================================================================== */

.cxs-hs{ font-family:var(--cxs-ds-font); color:var(--cxs-ds-text); }
.cxs-hs *,.cxs-hs *::before,.cxs-hs *::after{ box-sizing:border-box; }
/* The theme centres copy on small screens with !important and adds its own list
   markers; these sections set their own alignment and lists. */
.cxs-hs,.cxs-hs *{ text-align:left !important; }
.cxs-hs .is-c,.cxs-hs .is-c *,.cxs-hs .cxs-hs-foot,.cxs-hs .cxs-hs-foot *,
.cxs-hs .cxs-hs-cta,.cxs-hs .cxs-hs-cta *,.cxs-hs .cxs-hs-btn{ text-align:center !important; }
/* main.css sets .tribe-events-content ul{list-style-type:disc} (the theme wraps the
   whole page in .tribe-events-content), which put bullets on every list here. */
.cxs-hs ul,.cxs-hs li{ list-style:none !important; }
.cxs-hs ul{ margin:0; padding:0; }
.cxs-hs li{ margin:0; padding:0; }
.cxs-hs li::before{ content:none; }
.cxs-hs a{ text-decoration:none; transition:color .15s, background-color .15s, border-color .15s; }
.cxs-hs p{ margin:0; }
/* The theme letter-spaces body copy; the design system uses Poppins' own spacing. */
.cxs-hs p,.cxs-hs li,.cxs-hs a,.cxs-hs span{ letter-spacing:normal; }
.cxs-hs .cxs-hs-eyebrow,.cxs-hs .cxs-hs-way__tag{ letter-spacing:var(--cxs-ds-tracking-eyebrow); }

.cxs-hs-in{ max-width:var(--cxs-ds-content-max); margin:0 auto; padding:0 var(--cxs-ds-space-lg); }
.cxs-hs-sec{ padding:var(--cxs-ds-space-3xl) 0; }

/* Full bleed from inside the page container (same method as the hero). */
.cxs-hs-sec,.cxs-hs-logos{ position:relative; width:100vw; margin-left:calc(50% - 50vw); margin-right:calc(50% - 50vw); }

/* Headings */
.cxs-hs .cxs-hs-head{ margin-bottom:var(--cxs-ds-space-xl); }
.cxs-hs .cxs-hs-eyebrow{
	margin:0 0 var(--cxs-ds-space-xs); font-size:var(--cxs-ds-text-eyebrow); font-weight:var(--cxs-ds-weight-semibold);
	letter-spacing:var(--cxs-ds-tracking-eyebrow); text-transform:uppercase; line-height:1.4; color:var(--cxs-ds-indigo-600);
}
.cxs-hs .cxs-hs-h2{
	margin:0 0 var(--cxs-ds-space-sm); padding:0; font-family:var(--cxs-ds-font); font-size:var(--cxs-ds-text-h2);
	font-weight:var(--cxs-ds-weight-bold); line-height:1.2; letter-spacing:-.01em; text-transform:none; color:var(--cxs-ds-text);
	scroll-margin-top:var(--cxs-ds-space-lg);
}
.cxs-hs .cxs-hs-h3{
	margin:0; padding:0; font-family:var(--cxs-ds-font); font-size:var(--cxs-ds-text-h4); font-weight:var(--cxs-ds-weight-semibold);
	line-height:1.3; letter-spacing:normal; text-transform:none; color:var(--cxs-ds-text);
}
.cxs-hs .cxs-hs-lead{ max-width:720px; font-size:var(--cxs-ds-text-lead); line-height:1.5; color:var(--cxs-ds-text-muted); }
.cxs-hs .is-c .cxs-hs-lead{ margin:0 auto; }

/* "More" links with an arrow that nudges right on hover */
.cxs-hs a.cxs-hs-more{ font-size:var(--cxs-ds-text-small); font-weight:var(--cxs-ds-weight-semibold); color:var(--cxs-ds-link); white-space:nowrap; }
.cxs-hs a.cxs-hs-more:hover,.cxs-hs a.cxs-hs-more:focus-visible{ color:var(--cxs-ds-link-hover); }
.cxs-hs .cxs-hs-arr{ display:inline-block; transition:transform .15s; }
.cxs-hs a.cxs-hs-more:hover .cxs-hs-arr,.cxs-hs a.cxs-hs-more:focus-visible .cxs-hs-arr,
.cxs-hs a.cxs-hs-btn:hover .cxs-hs-arr,.cxs-hs a.cxs-hs-btn:focus-visible .cxs-hs-arr{ transform:translateX(3px); }
.cxs-hs .cxs-hs-foot{ margin-top:var(--cxs-ds-space-xl); font-size:var(--cxs-ds-text-small); color:var(--cxs-ds-text-muted); }

.cxs-hs a:focus-visible{ outline:2px solid var(--cxs-ds-focus); outline-offset:2px; border-radius:var(--cxs-ds-radius-sm); }

/* Icon tile */
.cxs-hs .cxs-hs-ico{
	width:44px; height:44px; flex:none; display:grid; place-items:center;
	border-radius:var(--cxs-ds-radius-lg); background:var(--cxs-ds-indigo-50); transition:background-color .15s;
}
.cxs-hs .cxs-hs-ico svg{ width:22px; height:22px; fill:none; stroke:var(--cxs-ds-indigo-700); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; transition:stroke .15s; }

/* ---------- Logos ---------- */
.cxs-hs-logos{ padding:var(--cxs-ds-space-2xl) 0; border-bottom:1px solid var(--cxs-ds-border); background:var(--cxs-ds-white); }
.cxs-hs-logos__row{ display:flex; align-items:center; gap:var(--cxs-ds-space-xl); }
.cxs-hs .cxs-hs-logos__txt{ flex:none; width:210px; font-size:var(--cxs-ds-text-small); line-height:1.4; color:var(--cxs-ds-text-muted); }
.cxs-hs .cxs-hs-logos__txt b{ display:block; font-size:var(--cxs-ds-text-h4); font-weight:var(--cxs-ds-weight-semibold); color:var(--cxs-ds-text); }
.cxs-hs .cxs-hs-logos__grid{ flex:1; display:grid; grid-template-columns:repeat(6,1fr); gap:var(--cxs-ds-space-xs) var(--cxs-ds-space-lg); align-items:center; }
.cxs-hs .cxs-hs-logos__grid img{
	display:block; width:100%; height:52px; object-fit:contain; margin:0; border:0; box-shadow:none;
	filter:grayscale(1); opacity:.7; mix-blend-mode:multiply; transition:filter .2s, opacity .2s;
}
.cxs-hs .cxs-hs-logos__grid li:hover img{ filter:none; opacity:1; }

/* ---------- Grid ---------- */
.cxs-hs .cxs-hs-g3{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:var(--cxs-ds-space-lg); }

/* ---------- Topics ----------
   Indigo title bar (Gold icon, Gold rule) over a white body. Course links are
   full-width buttons, one per line. Each card is a 4-row subgrid (bar, text,
   links, "All ... courses"), so those rows line up across every row of cards. */
.cxs-hs-topics{ background:var(--cxs-ds-indigo-50); }
.cxs-hs .cxs-hs-topics__grid{ grid-auto-rows:auto; row-gap:var(--cxs-ds-space-lg); }
.cxs-hs .cxs-hs-topic{
	display:grid; grid-row:span 4; grid-template-rows:subgrid; gap:0;
	background:var(--cxs-ds-white); border-radius:var(--cxs-ds-radius-lg); overflow:hidden;
	box-shadow:var(--cxs-ds-shadow-md); transition:box-shadow .2s;
}
.cxs-hs .cxs-hs-topic:hover,.cxs-hs .cxs-hs-topic:focus-within{ box-shadow:var(--cxs-ds-shadow-lg); }
.cxs-hs .cxs-hs-topic__bar{
	position:relative; overflow:hidden; display:flex; align-items:center; gap:14px; min-height:84px;
	padding:18px var(--cxs-ds-space-lg); border-bottom:4px solid var(--cxs-ds-gold);
	background:linear-gradient(135deg, var(--cxs-ds-indigo-700), var(--cxs-ds-indigo-600));
}
.cxs-hs .cxs-hs-topic:nth-child(3n+2) .cxs-hs-topic__bar{ background:linear-gradient(135deg, var(--cxs-ds-indigo-800), var(--cxs-ds-indigo-700)); }
.cxs-hs .cxs-hs-topic:nth-child(3n) .cxs-hs-topic__bar{ background:linear-gradient(135deg, var(--cxs-ds-indigo-600), var(--cxs-ds-indigo-500)); }
.cxs-hs .cxs-hs-topic__bar::after{
	content:""; position:absolute; right:-40px; top:-60px; width:150px; height:150px; border-radius:50%;
	background:var(--cxs-ds-indigo-500); opacity:.35; transition:transform .3s; pointer-events:none;
}
.cxs-hs .cxs-hs-topic:hover .cxs-hs-topic__bar::after{ transform:scale(1.15); }
.cxs-hs .cxs-hs-topic .cxs-hs-ico{ position:relative; z-index:1; border-radius:50%; background:var(--cxs-ds-gold); }
.cxs-hs .cxs-hs-topic .cxs-hs-ico svg{ stroke:var(--cxs-ds-ink); }
.cxs-hs .cxs-hs-topic .cxs-hs-h3{ position:relative; z-index:1; }
.cxs-hs .cxs-hs-topic .cxs-hs-h3 a{ color:var(--cxs-ds-white); }
.cxs-hs .cxs-hs-topic .cxs-hs-h3 a:hover{ color:var(--cxs-ds-gold-tint); }
.cxs-hs .cxs-hs-topic__txt{
	padding:var(--cxs-ds-space-lg) var(--cxs-ds-space-lg) var(--cxs-ds-space-md);
	font-size:var(--cxs-ds-text-small); line-height:1.55; color:var(--cxs-ds-text-muted);
}
.cxs-hs .cxs-hs-topic__links{
	display:grid; grid-template-columns:minmax(0,1fr); gap:6px; align-content:start;
	padding:0 var(--cxs-ds-space-lg); margin:0 0 18px;
}
.cxs-hs .cxs-hs-topic__links li{ display:flex; }
.cxs-hs .cxs-hs-topic__links a{
	flex:1; display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:38px;
	padding:8px 14px; border-radius:var(--cxs-ds-radius-md); background:var(--cxs-ds-indigo-50);
	font-size:var(--cxs-ds-text-small); font-weight:var(--cxs-ds-weight-medium); line-height:1.3; color:var(--cxs-ds-indigo-800);
}
.cxs-hs .cxs-hs-topic__links .cxs-hs-arr{ opacity:.45; transition:opacity .15s, transform .15s; }
.cxs-hs .cxs-hs-topic__links a:hover,.cxs-hs .cxs-hs-topic__links a:focus-visible{ background:var(--cxs-ds-indigo-700); color:var(--cxs-ds-white); }
.cxs-hs .cxs-hs-topic__links a:hover .cxs-hs-arr,.cxs-hs .cxs-hs-topic__links a:focus-visible .cxs-hs-arr{ opacity:1; transform:translateX(2px); }
.cxs-hs .cxs-hs-topic > .cxs-hs-more{ align-self:end; padding:0 var(--cxs-ds-space-lg) var(--cxs-ds-space-lg); }

/* ---------- Ways to train ---------- */
.cxs-hs-ways{ background:var(--cxs-ds-white); }
.cxs-hs .cxs-hs-way{
	display:flex; flex-direction:column; gap:var(--cxs-ds-space-sm);
	padding:var(--cxs-ds-space-xl); background:var(--cxs-ds-white);
	border:2px solid var(--cxs-ds-indigo-100); border-radius:var(--cxs-ds-radius-xl); box-shadow:var(--cxs-ds-shadow-sm);
	transition:box-shadow .15s, border-color .15s;
}
.cxs-hs .cxs-hs-way.is-feature{ border-color:var(--cxs-ds-indigo-600); }
.cxs-hs .cxs-hs-way:hover{ box-shadow:var(--cxs-ds-shadow-lg); }
.cxs-hs .cxs-hs-way__tag{ font-size:var(--cxs-ds-text-caption); font-weight:var(--cxs-ds-weight-semibold); letter-spacing:.08em; text-transform:uppercase; color:var(--cxs-ds-indigo-600); }
.cxs-hs .cxs-hs-way .cxs-hs-h3{ font-size:var(--cxs-ds-text-h3); line-height:1.25; }
.cxs-hs .cxs-hs-way__txt{ color:var(--cxs-ds-text-muted); line-height:1.55; }
.cxs-hs .cxs-hs-way__pts{ flex:1; }
.cxs-hs .cxs-hs-way__pts li{ position:relative; padding:6px 0 6px 26px; font-size:var(--cxs-ds-text-small); line-height:1.45; }
.cxs-hs .cxs-hs-way__pts li::before{
	content:""; position:absolute; left:1px; top:10px; width:13px; height:7px;
	border-left:2px solid var(--cxs-ds-indigo-600); border-bottom:2px solid var(--cxs-ds-indigo-600); transform:rotate(-45deg);
}

/* Buttons */
.cxs-hs a.cxs-hs-btn{
	display:inline-flex; align-items:center; justify-content:center; gap:8px; align-self:flex-start;
	padding:14px 22px; border:2px solid transparent; border-radius:var(--cxs-ds-radius-md);
	font-size:var(--cxs-ds-text-body); font-weight:var(--cxs-ds-weight-semibold); line-height:1.2; white-space:nowrap;
	text-transform:none; letter-spacing:normal; transform:none;
}
.cxs-hs a.cxs-hs-btn--solid{ background:var(--cxs-ds-btn-secondary-bg); color:var(--cxs-ds-btn-secondary-text); }
.cxs-hs a.cxs-hs-btn--solid:hover{ background:var(--cxs-ds-btn-secondary-bg-hover); color:var(--cxs-ds-btn-secondary-text); }
.cxs-hs a.cxs-hs-btn--outline{ border-color:var(--cxs-ds-indigo-200); color:var(--cxs-ds-indigo-700); background:transparent; }
.cxs-hs a.cxs-hs-btn--outline:hover{ border-color:var(--cxs-ds-indigo-600); background:var(--cxs-ds-indigo-50); color:var(--cxs-ds-indigo-800); }
.cxs-hs a.cxs-hs-btn--white{ background:var(--cxs-ds-white); color:var(--cxs-ds-indigo-800); }
.cxs-hs a.cxs-hs-btn--white:hover{ background:var(--cxs-ds-indigo-50); color:var(--cxs-ds-indigo-900); }
.cxs-hs a.cxs-hs-btn--ghost{ border-color:var(--cxs-ds-border-on-dark); color:var(--cxs-ds-text-on-dark); background:transparent; }
.cxs-hs a.cxs-hs-btn--ghost:hover{ border-color:var(--cxs-ds-white); background:color-mix(in srgb, var(--cxs-ds-white) 8%, transparent); }
/* main.css (~line 6841) strips border-bottom from links inside .tribe-events-content
   with a 0,4,1 selector. :not(#cxs-x) adds id weight so the outlined buttons keep
   all four borders. Same fix as the hero; remove when main.css is fixed. */
.cxs-hs a.cxs-hs-btn:not(#cxs-x){ border-bottom:2px solid transparent !important; }
.cxs-hs a.cxs-hs-btn--outline:not(#cxs-x){ border-bottom-color:var(--cxs-ds-indigo-200) !important; }
.cxs-hs a.cxs-hs-btn--outline:not(#cxs-x):hover{ border-bottom-color:var(--cxs-ds-indigo-600) !important; }
.cxs-hs a.cxs-hs-btn--ghost:not(#cxs-x){ border-bottom-color:var(--cxs-ds-border-on-dark) !important; }
.cxs-hs a.cxs-hs-btn--ghost:not(#cxs-x):hover{ border-bottom-color:var(--cxs-ds-white) !important; }

/* ---------- Why ---------- */
.cxs-hs .cxs-hs-why{ display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:var(--cxs-ds-space-2xl); align-items:start; }
.cxs-hs .cxs-hs-why .cxs-hs-head{ margin-bottom:0; }
.cxs-hs .cxs-hs-bens{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--cxs-ds-space-xl) var(--cxs-ds-space-lg); }
.cxs-hs .cxs-hs-ben .cxs-hs-h3{ margin:var(--cxs-ds-space-sm) 0 6px; }
.cxs-hs .cxs-hs-ben p{ font-size:var(--cxs-ds-text-small); line-height:1.6; color:var(--cxs-ds-text-muted); }
.cxs-hs .cxs-hs-ben p a{ color:var(--cxs-ds-link); font-weight:var(--cxs-ds-weight-medium); }
.cxs-hs .cxs-hs-ben p a:hover{ color:var(--cxs-ds-link-hover); text-decoration:underline; }

/* ---------- Reviews (Site Reviews plugin output inside) ---------- */
.cxs-hs-rev{ background:var(--cxs-ds-sand); }
.cxs-hs .cxs-hs-rev__sum{ margin:0 0 var(--cxs-ds-space-xl); font-weight:var(--cxs-ds-weight-semibold); }
.cxs-hs .cxs-hs-rev__sum,.cxs-hs .cxs-hs-rev__sum *{ text-align:center !important; }
/* The carousel is the plugin's own layout and styling (theme 14190); left alone
   apart from alignment, which our section reset would otherwise change. */
.cxs-hs .cxs-hs-rev__list,.cxs-hs .cxs-hs-rev__list *{ text-align:revert !important; }

/* ---------- Closing CTA ---------- */
.cxs-hs-cta{ background:var(--cxs-ds-band); color:var(--cxs-ds-text-on-dark); }
.cxs-hs .cxs-hs-cta .cxs-hs-h2{ color:var(--cxs-ds-text-on-dark); }
.cxs-hs .cxs-hs-cta .cxs-hs-lead{ margin:0 auto var(--cxs-ds-space-lg); color:var(--cxs-ds-text-muted-on-dark); }
.cxs-hs .cxs-hs-cta__btns{ display:flex; flex-wrap:wrap; justify-content:center; gap:var(--cxs-ds-space-sm); }
.cxs-hs .cxs-hs-cta__small{ margin-top:var(--cxs-ds-space-md); font-size:var(--cxs-ds-text-small); color:var(--cxs-ds-text-muted-on-dark); }
.cxs-hs .cxs-hs-cta a:focus-visible{ outline-color:var(--cxs-ds-focus-on-dark); }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion:reduce){
	.cxs-hs *,.cxs-hs *::before,.cxs-hs *::after{ transition:none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width:1100px){
	.cxs-hs .cxs-hs-logos__row{ flex-wrap:wrap; }
	.cxs-hs .cxs-hs-logos__grid{ order:3; flex-basis:100%; }
}
@media (max-width:991px){
	.cxs-hs .cxs-hs-g3,.cxs-hs .cxs-hs-why{ grid-template-columns:minmax(0,1fr); }
	.cxs-hs-sec{ padding:var(--cxs-ds-space-2xl) 0; }
}
@media (max-width:600px){
	.cxs-hs-in{ padding:0 var(--cxs-ds-space-md); }
	.cxs-hs .cxs-hs-h2{ font-size:var(--cxs-ds-text-h3); }
	.cxs-hs .cxs-hs-lead{ font-size:var(--cxs-ds-text-body); }
	.cxs-hs .cxs-hs-logos__txt{ width:auto; }
	.cxs-hs .cxs-hs-logos__grid{ grid-template-columns:repeat(3,minmax(0,1fr)); }
	.cxs-hs .cxs-hs-bens{ grid-template-columns:minmax(0,1fr); }
	.cxs-hs a.cxs-hs-btn{ width:100%; white-space:normal; align-self:stretch; }
}
