/*
Theme Name: Blocksy Child
Theme URI: https://hisvoiceonline.com
Description: Child theme for Blocksy — customizations for HisVoiceOnline.
Author: Donny Kurien
Author URI: https://hisvoiceonline.com
Template: blocksy
Version: 1.0.0
Text Domain: blocksy-child
*/

/* ==========================================================================
   Your custom styles go below this line.
   Anything you add here overrides Blocksy without touching the parent theme.
   ========================================================================== */

/* deploy-test: ftp-deploy-1785025879 */

/* ==========================================================================
   HISVOICEONLINE CUSTOM HOMEPAGE
   ========================================================================== */
.hvo-home {
	--hvo-accent: var(--theme-palette-color-1, #2b6cb0);
	--hvo-surface: var(--theme-palette-color-7, #ffffff);
	--hvo-soft: var(--theme-palette-color-8, #f5f7fa);
	--hvo-radius: 14px;
}

/* ---- Hero ---- */
.hvo-hero {
	padding: clamp(3rem, 8vw, 6rem) 1.25rem;
	text-align: center;
	background:
		radial-gradient(1100px 480px at 50% -25%, color-mix(in srgb, var(--hvo-accent) 20%, transparent), transparent 70%),
		var(--hvo-soft);
}
.hvo-hero__inner { max-width: 840px; margin: 0 auto; }
.hvo-hero__eyebrow {
	letter-spacing: .18em; text-transform: uppercase;
	font-size: .8rem; font-weight: 700; color: var(--hvo-accent); margin: 0 0 .75rem;
}
.hvo-hero__title {
	font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.1;
	margin: 0 0 .6rem; font-weight: 800;
}
.hvo-hero__sub {
	font-size: clamp(1rem, 2.2vw, 1.18rem); opacity: .8;
	margin: 0 auto 1.75rem; max-width: 42ch;
}
.hvo-hero__search { display: flex; gap: .5rem; max-width: 540px; margin: 0 auto 1.6rem; }
.hvo-hero__search input {
	flex: 1; padding: .85rem 1.15rem; border-radius: 999px; font-size: 1rem;
	border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
	background: var(--hvo-surface); color: inherit;
}
.hvo-hero__search button {
	padding: .85rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
	background: var(--hvo-accent); color: #fff; font-weight: 600; font-size: 1rem;
}
.hvo-hero__search button:hover { filter: brightness(1.08); }

.hvo-hero__chips { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.hvo-chip {
	display: inline-flex; align-items: center; gap: .4rem;
	padding: .4rem .85rem; border-radius: 999px; font-size: .85rem; text-decoration: none;
	color: inherit; background: color-mix(in srgb, var(--hvo-accent) 9%, transparent);
	border: 1px solid color-mix(in srgb, var(--hvo-accent) 22%, transparent);
	transition: background .15s, color .15s;
}
.hvo-chip:hover { background: var(--hvo-accent); color: #fff; }
.hvo-chip__count { font-size: .72rem; opacity: .7; }
.hvo-chip:hover .hvo-chip__count { opacity: .9; }

/* ---- Category section ---- */
/* Section is full-width (so tints/backgrounds bleed edge-to-edge); content stays centered. */
.hvo-cat { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.25rem); }
.hvo-cat > .hvo-cat__head,
.hvo-cat > .hvo-carousel { max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; }
.hvo-cat__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.hvo-cat__title { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0; font-weight: 750; }
.hvo-cat__all { white-space: nowrap; text-decoration: none; font-weight: 600; color: var(--hvo-accent); }
.hvo-cat__all:hover { text-decoration: underline; }

/* ---- Carousel ---- */
.hvo-carousel { position: relative; }
.hvo-carousel__track {
	list-style: none; margin: 0; padding: .5rem .25rem 1.25rem;
	display: flex; gap: 1.1rem; column-gap: 1.1rem;
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none;
}
.hvo-carousel__track::-webkit-scrollbar { display: none; }

.hvo-card { scroll-snap-align: start; flex: 0 0 clamp(240px, 78vw, 300px); }
.hvo-card__link {
	display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit;
	background: var(--hvo-surface); border-radius: var(--hvo-radius); overflow: hidden;
	border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
	transition: transform .18s, box-shadow .18s;
}
.hvo-card__link:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,.14); }
.hvo-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: color-mix(in srgb, var(--hvo-accent) 12%, transparent); }
.hvo-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hvo-card__img--placeholder {
	display: block; height: 100%;
	background: linear-gradient(135deg, color-mix(in srgb, var(--hvo-accent) 28%, transparent), transparent);
}
.hvo-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; }
.hvo-card__title { font-size: 1.05rem; line-height: 1.3; margin: 0; font-weight: 700; }
.hvo-card__date { font-size: .78rem; opacity: .6; margin: 0; }
.hvo-card__excerpt { font-size: .9rem; opacity: .8; margin: .15rem 0 0; }

/* ---- Carousel arrows ---- */
.hvo-carousel__nav {
	position: absolute; top: 38%; transform: translateY(-50%); z-index: 2;
	width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--hvo-surface); color: var(--hvo-accent);
	box-shadow: 0 4px 14px rgba(0,0,0,.16); font-size: 1.7rem; line-height: 1;
	display: flex; align-items: center; justify-content: center;
}
.hvo-carousel__nav[hidden] { display: none; }
.hvo-carousel__nav--prev { left: -8px; }
.hvo-carousel__nav--next { right: -8px; }
.hvo-carousel__nav:hover { background: var(--hvo-accent); color: #fff; }
@media (max-width: 720px) { .hvo-carousel__nav { display: none; } }

.hvo-empty { text-align: center; padding: 3rem 1rem; opacity: .7; }

/* ==========================================================================
   WATCH & LISTEN HUB
   ========================================================================== */
.hvo-hub { background: var(--theme-palette-color-8, #f5f7fa); margin-top: clamp(2rem, 5vw, 3.5rem); }
.hvo-hub__inner { max-width: 1200px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) 1.25rem; }
.hvo-hub__title { text-align: center; font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800; margin: 0 0 .4rem; }
.hvo-hub__sub { text-align: center; opacity: .75; margin: 0 auto 2rem; max-width: 48ch; }

.hvo-hub__channels { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-bottom: 2.5rem; }
.hvo-channel {
	display: flex; flex-direction: column; gap: .15rem; text-decoration: none; color: inherit;
	padding: .85rem 1.2rem; border-radius: 12px; min-width: 150px;
	background: var(--theme-palette-color-7, #fff);
	border: 1px solid color-mix(in srgb, currentColor 10%, transparent);
	border-left: 4px solid var(--hvo-accent, #2b6cb0);
	transition: transform .15s, box-shadow .15s;
}
.hvo-channel:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.hvo-channel__name { font-weight: 700; }
.hvo-channel__desc { font-size: .82rem; opacity: .7; }
.hvo-channel--youtube   { border-left-color: #ff0000; }
.hvo-channel--spotify   { border-left-color: #1db954; }
.hvo-channel--facebook  { border-left-color: #1877f2; }
.hvo-channel--instagram { border-left-color: #e1306c; }

.hvo-hub__embeds { display: grid; grid-template-columns: 1.5fr 1fr; gap: 1.5rem; align-items: start; }
@media (max-width: 860px) { .hvo-hub__embeds { grid-template-columns: 1fr; } }
.hvo-embed__h { font-size: 1.05rem; font-weight: 700; margin: 0 0 .75rem; }
.hvo-embed__frame { border-radius: 14px; overflow: hidden; box-shadow: 0 8px 24px rgba(0,0,0,.12); }
.hvo-embed__frame--video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.hvo-embed__frame--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hvo-embed__frame--audio { box-shadow: none; }
.hvo-embed__frame--audio iframe { width: 100%; height: 352px; border: 0; border-radius: 14px; }
.hvo-embed__all { display: inline-block; margin-top: .7rem; font-weight: 600; text-decoration: none; color: var(--hvo-accent, #2b6cb0); }
.hvo-embed__all:hover { text-decoration: underline; }

/* ==========================================================================
   WATCH SLIDER — video cards (reuses the category carousel)
   ========================================================================== */
.hvo-card--video .hvo-card__media,
.hvo-card--audio .hvo-card__media { position: relative; background: #000; }
.hvo-card--audio .hvo-card__media { aspect-ratio: 1 / 1; }  /* square podcast art */
.hvo-card__play {
	position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
	color: #fff; font-size: 2.2rem; opacity: .9; text-shadow: 0 2px 10px rgba(0,0,0,.6);
	transition: transform .2s;
}
.hvo-card--video:hover .hvo-card__play,
.hvo-card--audio:hover .hvo-card__play { transform: scale(1.15); }
.hvo-card__badge {
	position: absolute; right: .5rem; bottom: .5rem;
	background: rgba(0,0,0,.8); color: #fff; font-size: .72rem; font-weight: 600;
	padding: .12rem .45rem; border-radius: 4px;
}
.hvo-card--video .hvo-card__body,
.hvo-card--audio .hvo-card__body { padding: .85rem 1rem 1rem; }

/* Facebook page embed (Social Media section) */
.hvo-social { max-width: 520px; margin: 0 auto; }
.hvo-embed__frame--social { box-shadow: none; border-radius: 14px; overflow: hidden; }
.hvo-embed__frame--social iframe { width: 100%; height: 560px; border: 0; display: block; }

/* "Read" lead-in heading */
.hvo-readhead .hvo-hub__inner { padding-bottom: 0; }

/* ==========================================================================
   LATEST — featured newest video / podcast / post
   ========================================================================== */
.hvo-cat--latest { --sec: #f59e0b; }
.hvo-latest__inner { max-width: 1200px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) 1.25rem 0; }
.hvo-latest__head { margin-bottom: 1.25rem; }
.hvo-latest__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 820px) { .hvo-latest__grid { grid-template-columns: 1fr; } }

.hvo-feat {
	display: flex; flex-direction: column; text-decoration: none; color: inherit;
	background: var(--theme-palette-color-7, #fff); border-radius: 16px; overflow: hidden;
	box-shadow: 0 8px 24px rgba(0,0,0,.10); transition: transform .18s ease, box-shadow .18s ease;
}
.hvo-feat:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0,0,0,.16); }
.hvo-feat__media { position: relative; display: block; aspect-ratio: 16 / 9; background: #000; }
.hvo-feat__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hvo-feat__media--ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--hvo-accent, #2b6cb0), #1e293b); }
.hvo-feat__play {
	position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none;
	color: #fff; font-size: 2.6rem; opacity: .92; text-shadow: 0 2px 12px rgba(0,0,0,.6); transition: transform .2s;
}
.hvo-feat:hover .hvo-feat__play { transform: scale(1.12); }
.hvo-feat__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; }
.hvo-feat__pill {
	align-self: flex-start; font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
	color: #fff; padding: .2rem .6rem; border-radius: 999px;
}
.hvo-feat--video   .hvo-feat__pill { background: #e11d2a; }
.hvo-feat--podcast .hvo-feat__pill { background: #1db954; }
.hvo-feat--post    .hvo-feat__pill { background: #2563eb; }
.hvo-feat__title {
	font-weight: 700; line-height: 1.3; font-size: 1.05rem;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.hvo-feat__meta { font-size: .82rem; opacity: .65; }

/* ==========================================================================
   SECTION COLOURS + SCROLL-REVEAL ANIMATION
   ========================================================================== */
.hvo-cat--watch  { --sec: #e11d2a; }
.hvo-cat--learn  { --sec: #7c3aed; }
.hvo-cat--listen { --sec: #1db954; }
.hvo-cat--read   { --sec: #2563eb; }
.hvo-cat--social { --sec: #1877f2; }
.hvo-cat--follow { --sec: #0ea5e9; }

/* coloured accent bar under each section title (left, for sliders) */
.hvo-cat--watch .hvo-cat__title::after,
.hvo-cat--learn .hvo-cat__title::after,
.hvo-cat--listen .hvo-cat__title::after,
.hvo-cat--social .hvo-cat__title::after,
.hvo-cat--latest .hvo-cat__title::after {
	content: ""; display: block; width: 54px; height: 4px; border-radius: 3px;
	background: var(--sec); margin-top: .45rem;
}
/* centred bar for hub-style sections */
.hvo-cat--read   .hvo-hub__title::after,
.hvo-cat--social .hvo-hub__title::after,
.hvo-cat--follow .hvo-hub__title::after {
	content: ""; display: block; width: 64px; height: 4px; border-radius: 3px;
	background: var(--sec); margin: .55rem auto 0;
}
/* tint the slider arrows with the section colour on hover */
.hvo-cat--watch .hvo-carousel__nav:hover,
.hvo-cat--learn .hvo-carousel__nav:hover,
.hvo-cat--listen .hvo-carousel__nav:hover,
.hvo-cat--social .hvo-carousel__nav:hover { color: var(--sec); border-color: var(--sec); }

/* Facebook post cards (Social Media slider) */
.hvo-card--social .hvo-card__media { aspect-ratio: 16 / 9; background: #0f2d6b; }
.hvo-card--social .hvo-card__img--placeholder { background: linear-gradient(135deg, #1877f2, #0f2d6b); }
.hvo-card__text {
	font-size: .95rem; line-height: 1.4; margin: 0 0 .35rem; font-weight: 500;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* Follow cards — brand colours */
.hvo-channel--youtube   { --brand: #ff0000; }
.hvo-channel--spotify   { --brand: #1db954; }
.hvo-channel--facebook  { --brand: #1877f2; }
.hvo-channel--blog      { --brand: #2563eb; }
.hvo-channel { border-left-color: var(--brand, var(--hvo-accent, #2b6cb0)); }
.hvo-channel__name { color: var(--brand, inherit); }
.hvo-channel:hover { background: color-mix(in srgb, var(--brand, #2b6cb0) 9%, var(--theme-palette-color-7, #fff)); }

/* Scroll reveal (added by JS; degrades gracefully without it) */
.hvo-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.hvo-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.hvo-reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   HERO COPY + CTAs
   ========================================================================== */
.hvo-hero__verse { font-style: italic; opacity: .92; max-width: 48ch; margin: 0 auto 1.1rem; font-size: clamp(1rem, 2.2vw, 1.2rem); line-height: 1.5; }
.hvo-hero__ref { display: block; font-style: normal; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .7rem; opacity: .7; margin-top: .45rem; }
.hvo-hero__title em { font-style: italic; color: var(--hvo-accent, #2b6cb0); }
.hvo-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 1.5rem 0; }
.hvo-btn { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; padding: .8rem 1.5rem; border-radius: 999px; text-decoration: none; cursor: pointer; border: 2px solid transparent; font-size: 1rem; transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.hvo-btn:hover { transform: translateY(-2px); }
.hvo-btn--primary { background: var(--hvo-accent, #2b6cb0); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--hvo-accent, #2b6cb0) 40%, transparent); }
.hvo-btn--ghost { background: transparent; border-color: color-mix(in srgb, currentColor 30%, transparent); color: inherit; }
.hvo-btn--ghost:hover { border-color: var(--hvo-accent, #2b6cb0); color: var(--hvo-accent, #2b6cb0); }
.hvo-btn__ico { font-size: .8em; }

/* ==========================================================================
   GLOBAL SEARCH RESULTS
   ========================================================================== */
.hvo-hero__search { position: relative; }
.hvo-search__results {
	position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + .5rem);
	background: var(--theme-palette-color-7, #fff); color: #1a2230;
	border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.25);
	padding: .5rem; max-height: 70vh; overflow: auto; text-align: left;
}
.hvo-sr__group { padding: .35rem .25rem; }
.hvo-sr__label { font-size: .66rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .55; margin: .25rem .5rem; }
.hvo-sr__item { display: flex; align-items: center; gap: .7rem; padding: .5rem; border-radius: 10px; text-decoration: none; color: inherit; }
.hvo-sr__item:hover, .hvo-sr__item:focus-visible { background: color-mix(in srgb, var(--hvo-accent, #2b6cb0) 12%, transparent); }
.hvo-sr__item img, .hvo-sr__ph { width: 64px; height: 40px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; background: #e5e9f0; }
.hvo-sr__item span { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.hvo-sr__empty { padding: 1rem; text-align: center; opacity: .7; }

/* ==========================================================================
   SECTION SUBTITLE
   ========================================================================== */
.hvo-cat__heading { display: flex; flex-direction: column; gap: .1rem; }
.hvo-cat__sub { margin: .15rem 0 0; opacity: .7; font-size: .92rem; }

/* ==========================================================================
   SCRIPTURE BAND
   ========================================================================== */
.hvo-band { background: linear-gradient(135deg, var(--hvo-accent, #2b6cb0), #0f2038); color: #fff; margin: clamp(2rem, 5vw, 3.5rem) 0; }
.hvo-band__inner { max-width: 900px; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; text-align: center; }
.hvo-band__verse { font-size: clamp(1.4rem, 3.5vw, 2.2rem); font-weight: 700; font-style: italic; line-height: 1.35; margin: 0 0 .8rem; }
.hvo-band__ref { font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .8rem; opacity: .8; margin: 0; }

/* ==========================================================================
   MEDIA LIGHTBOX
   ========================================================================== */
.hvo-lightbox { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 1rem; }
.hvo-lightbox[hidden] { display: none; }
.hvo-lightbox__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.8); }
.hvo-lightbox__dialog { position: relative; width: min(900px, 100%); }
.hvo-lightbox__close { position: absolute; top: -2.6rem; right: 0; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }
.hvo-lightbox__video { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.hvo-lightbox__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hvo-lightbox__audio { background: #fff; color: #1a2230; border-radius: 14px; padding: 1.5rem; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.hvo-lightbox__audio h3 { margin: 0 0 1rem; font-size: 1.1rem; }
.hvo-lightbox__audio audio { width: 100%; }

/* ==========================================================================
   ACCESSIBILITY / CONSISTENCY POLISH
   ========================================================================== */
.hvo-carousel__nav { min-width: 44px; min-height: 44px; }
.hvo-card__link:focus-visible, .hvo-btn:focus-visible, .hvo-chip:focus-visible,
.hvo-channel:focus-visible, .hvo-feat:focus-visible, .hvo-carousel__nav:focus-visible,
.hvo-sr__item:focus-visible { outline: 3px solid var(--hvo-accent, #2b6cb0); outline-offset: 2px; }
/* left-align hub section titles to match the sliders */
.hvo-cat--read .hvo-hub__inner, .hvo-cat--follow .hvo-hub__inner { text-align: left; }
.hvo-cat--read .hvo-hub__sub, .hvo-cat--follow .hvo-hub__sub { margin-left: 0; }
.hvo-cat--read .hvo-hub__title::after, .hvo-cat--follow .hvo-hub__title::after { margin-left: 0; margin-right: auto; }
.hvo-cat--follow .hvo-hub__channels { justify-content: flex-start; }

/* ==========================================================================
   SECTION BACKGROUNDS & EFFECTS
   ========================================================================== */
/* Subtle coloured section backgrounds (Customizer: "Subtle coloured section backgrounds") */
.hvo-tint .hvo-cat--watch,
.hvo-tint .hvo-cat--learn,
.hvo-tint .hvo-cat--listen,
.hvo-tint .hvo-cat--social { background: color-mix(in srgb, var(--sec) 5%, transparent); }
.hvo-tint .hvo-cat--latest { background: color-mix(in srgb, var(--sec) 6%, transparent); }
.hvo-tint .hvo-cat--read,
.hvo-tint .hvo-cat--follow { background: color-mix(in srgb, var(--sec) 4%, transparent); }

/* Hero with a background image */
.hvo-hero--image { position: relative; background-image: var(--hvo-hero-img); background-size: cover; background-position: center; color: #fff; }
.hvo-hero--image::before { content: ""; position: absolute; inset: 0; background: rgba(8, 12, 20, var(--hvo-hero-overlay, .45)); }
.hvo-hero--image .hvo-hero__inner { position: relative; z-index: 1; }
.hvo-hero--image .hvo-hero__title,
.hvo-hero--image .hvo-hero__sub,
.hvo-hero--image .hvo-hero__verse { color: #fff; }
.hvo-hero--image .hvo-hero__title em { color: #ffd27a; }

/* Scripture band with a background image (the gradient becomes the overlay) */
.hvo-band--image { background-image: linear-gradient(135deg, rgba(43, 108, 176, .85), rgba(15, 32, 56, .92)), var(--hvo-band-img); background-size: cover; background-position: center; }

/* Parallax on background images — desktop only (mobile scrolls to avoid jank) */
@media (min-width: 800px) {
	.hvo-parallax .hvo-hero--image,
	.hvo-parallax .hvo-band--image { background-attachment: fixed; }
}

/* ==========================================================================
   PER-SECTION DECORATIVE SVG MOTIFS (masked, tinted with each section colour)
   ========================================================================== */
.hvo-cat--watch, .hvo-cat--learn, .hvo-cat--listen, .hvo-cat--social,
.hvo-cat--latest, .hvo-cat--read, .hvo-cat--follow { position: relative; overflow: hidden; }

.hvo-cat--watch::after, .hvo-cat--learn::after, .hvo-cat--listen::after,
.hvo-cat--social::after, .hvo-cat--latest::after, .hvo-cat--read::after,
.hvo-cat--follow::after {
	content: ""; position: absolute; z-index: 0; pointer-events: none;
	top: 0; right: -30px; width: min(60%, var(--hvo-motif-w, 460px)); height: 100%;
	background: var(--sec, #2b6cb0); opacity: var(--hvo-motif-op, .09);
	-webkit-mask: var(--motif) no-repeat right center / contain;
	mask: var(--motif) no-repeat right center / contain;
}
/* Per-section --motif (and defaults), plus --hvo-motif-w / --hvo-motif-op, are
   emitted from the Customizer via an inline <style> — see hvo_motif_inline_css()
   in functions.php. They default to the bundled SVGs at 460px / 9% opacity. */

/* keep the actual content above the motif */
.hvo-cat__head, .hvo-carousel, .hvo-latest__inner, .hvo-hub__inner { position: relative; z-index: 1; }

@media (max-width: 720px) {
	.hvo-cat--watch::after, .hvo-cat--learn::after, .hvo-cat--listen::after,
	.hvo-cat--social::after, .hvo-cat--latest::after, .hvo-cat--read::after,
	.hvo-cat--follow::after { opacity: .06; width: 62%; }
}

/* ==========================================================================
   CUSTOM SITE FOOTER  (hides Blocksy's default #footer)
   ========================================================================== */
#footer.ct-footer { display: none !important; }

.hvo-footer {
	--hvo-accent: var(--theme-palette-color-1, #2b6cb0);
	margin-top: clamp(3rem, 7vw, 5rem);
	background: var(--theme-palette-color-9, #14181f);
	color: color-mix(in srgb, #ffffff 82%, transparent);
}
.hvo-footer a { color: inherit; text-decoration: none; }
.hvo-footer a:hover { color: #fff; text-decoration: underline; }

.hvo-footer__inner {
	max-width: 1200px; margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) 1.25rem 2rem;
	display: grid; gap: 2rem;
	grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
}
@media (max-width: 900px) { .hvo-footer__inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hvo-footer__inner { grid-template-columns: 1fr; text-align: center; } }

.hvo-footer__logo { font-size: 1.35rem; font-weight: 800; margin: 0 0 .35rem; color: #fff; }
.hvo-footer__tag { font-size: .95rem; font-style: italic; margin: 0 0 .75rem; color: color-mix(in srgb, var(--hvo-accent) 65%, #fff); }
.hvo-footer__blurb { font-size: .9rem; line-height: 1.6; opacity: .75; margin: 0; max-width: 34ch; }
@media (max-width: 560px) { .hvo-footer__blurb { margin: 0 auto; } }

.hvo-footer__h {
	font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
	color: #fff; margin: 0 0 1rem; opacity: .9;
}
.hvo-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.hvo-footer__col li { font-size: .92rem; }

.hvo-footer__social { flex-direction: row !important; flex-wrap: wrap; gap: .5rem !important; margin-bottom: 1.1rem !important; }
@media (max-width: 560px) { .hvo-footer__social { justify-content: center; } }
.hvo-footer__social a {
	display: inline-block; padding: .35rem .8rem; border-radius: 999px; font-size: .82rem;
	background: color-mix(in srgb, #ffffff 10%, transparent);
}
.hvo-footer__social a:hover { background: var(--hvo-accent); text-decoration: none; }

.hvo-footer__search { display: flex; gap: .4rem; max-width: 280px; }
@media (max-width: 560px) { .hvo-footer__search { margin: 0 auto; } }
.hvo-footer__search input {
	flex: 1; padding: .55rem .8rem; border-radius: 999px; font-size: .85rem;
	border: 1px solid color-mix(in srgb, #ffffff 20%, transparent);
	background: color-mix(in srgb, #ffffff 8%, transparent); color: #fff;
}
.hvo-footer__search input::placeholder { color: color-mix(in srgb, #ffffff 55%, transparent); }
.hvo-footer__search button {
	padding: .55rem 1rem; border-radius: 999px; border: 0; cursor: pointer;
	background: var(--hvo-accent); color: #fff; font-weight: 600;
}

.hvo-footer__bar {
	border-top: 1px solid color-mix(in srgb, #ffffff 12%, transparent);
	max-width: 1200px; margin: 0 auto; padding: 1.25rem;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
	font-size: .82rem; opacity: .7;
}
.hvo-footer__bar p { margin: 0; }
@media (max-width: 560px) { .hvo-footer__bar { justify-content: center; text-align: center; } }

