/*
Theme Name: Piccoli Cuori
Theme URI: https://www.piccolicuori.org
Author: Zazi
Description: Tema leggero e senza page builder per l'Associazione Piccoli Cuori O.D.V. Riproduce l'identità visiva del sito precedente (Humani + Elementor).
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: piccolicuori
*/

/* ------------------------------------------------------------ Caratteri -- */
@font-face { font-family: 'Humanii'; src: url('assets/fonts/Humanii-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Humanii'; src: url('assets/fonts/Humanii.woff2') format('woff2'); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('assets/fonts/playfair-display-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('assets/fonts/playfair-display-latin-700-italic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('assets/fonts/playfair-display-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Playfair Display'; src: url('assets/fonts/playfair-display-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* ------------------------------------------------------------- Variabili -- */
:root {
	--primary: #CC516B;
	--primary-hover: #4C6582;
	--secondary: #084a5a;
	--text: #666666;
	--black: #000000;
	--light: #999999;
	--border: #ebebeb;
	--sky: #D2EAF6;
	--mist: #F3F7F9;
	--wrap: 1290px;
	--font: 'Humanii', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	--font-script: 'Playfair Display', Georgia, serif;
}

/* ------------------------------------------------------------------ Base -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0; background: #fff; color: var(--text);
	font-family: var(--font); font-size: 14px; line-height: 1.8; font-weight: 400;
	-webkit-font-smoothing: antialiased;
}
img, video, iframe, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--primary-hover); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font); font-weight: 700; color: var(--black); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -1px; }
p { margin: 0 0 1.4em; }
ul, ol { margin: 0 0 1.4em; padding-left: 1.3em; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.screen-reader-text:focus, .skip-link:focus { clip: auto; width: auto; height: auto; background: #fff; color: #000; padding: 10px 16px; z-index: 100000; top: 8px; left: 8px; }
:focus-visible { outline: 2px solid var(--primary-hover); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 30px; }
.wrap.narrow { max-width: 860px; }

/* -------------------------------------------------------------- Pulsanti -- */
.btn, button.btn, input[type=submit].btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	background: var(--primary); color: #fff; border: 0; border-radius: 50px; cursor: pointer;
	font: 600 12px/16px var(--font); text-transform: uppercase; padding: 16px 30px; text-align: center;
	transition: background .3s;
}
.btn:hover, .btn:focus { background: var(--primary-hover); color: #fff; }
.btn-blue { background: var(--primary-hover); }
.btn-blue:hover { background: var(--primary); }
.btn-lg { font-size: 25px; line-height: 48px; letter-spacing: 2px; text-transform: none; padding: 16px 30px; }
.btn-arrow { width: 28px; height: 28px; flex: none; }

/* ------------------------------------------------------------ Intestazione -- */
.site-header { background: #fff; position: relative; z-index: 50; }
.topbar { padding: 0 30px; }
.topbar-inner {
	max-width: var(--wrap); margin: 0 auto; min-height: 81px;
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
}
.topbar-mail { display: inline-flex; align-items: center; gap: 6px; color: var(--black); font-weight: 700; font-size: 16px; justify-self: start; }
.topbar-mail:hover { color: var(--primary); }
.site-logo img { width: 300px; height: 80px; object-fit: contain; }
.topbar-cta { justify-self: end; }
.nav-bar { padding: 0 30px; }
.primary-nav { display: flex; justify-content: center; align-items: center; min-height: 65px; }
.primary-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; }
.primary-nav .menu-link { display: block; padding: 15px; font-size: 16px; font-weight: 600; line-height: 32px; color: var(--black); position: relative; }
.primary-nav .menu-link:hover { color: var(--black); }
.primary-nav .sub-menu { display: none; }
.btn-mobile-cta { display: none; }
.nav-toggle { display: none; }

/* ---------------------------------------------------- Testata pagine interne -- */
.crumbs-row { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 10px 30px; }
.crumbs-row .wrap { padding: 0; max-width: var(--wrap); }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; font-size: 12px; line-height: 24px; color: var(--black); }
.breadcrumb li + li::before { content: "\203A"; margin: 0 8px; color: var(--light); }
.breadcrumb a { color: var(--light); }
.breadcrumb a:hover { color: var(--primary); }
.banner { background-color: #d9c9c9; background-position: center; background-size: cover; padding: 60px 30px; }
.banner .wrap { padding: 0; }
.banner-title { margin: 0; color: #fff; font-size: 60px; line-height: 60px; letter-spacing: -1px; }

/* ------------------------------------------------------------------- Home -- */
.hero { position: relative; background: var(--sky); min-height: 800px; display: flex; align-items: center; justify-content: center; padding: 0 30px 100px; z-index: 12; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; max-width: 720px; text-align: center; }
.hero-title { font-size: 72px; line-height: 78px; margin: 0 0 25px; color: var(--black); }
.hero-sub { font-size: 16px; font-weight: 600; line-height: 24px; color: var(--black); margin: 0 0 40px; }
.hero-img { position: absolute; z-index: 0; }
.hero-img-left { top: 78px; left: -19px; }
.hero-img-right { top: 54px; right: 0; }

.video-section { position: relative; z-index: 13; margin-top: -120px; padding: 0 30px; }
.video-section .wrap { padding: 0; }
.video { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.video img, .video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; position: absolute; inset: 0; }
.video-play { position: absolute; inset: 0; margin: auto; width: 96px; height: 96px; border: 0; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .25s, background .25s; }
.video-play svg { width: 64px; height: 64px; fill: currentColor; }
.video-play:hover, .video-play:focus-visible { transform: scale(1.1); background: rgba(204,81,107,.8); }
.video-note { position: absolute; left: 0; right: 0; bottom: 8px; margin: 0; text-align: center; font-size: 11px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); }

.script-title { font-family: var(--font-script); font-style: italic; font-weight: 400; font-size: 50px; line-height: 56px; color: var(--primary); text-align: center; letter-spacing: 0; margin: 0 0 45px; }
.support { padding: 120px 30px 120px; }
.support .wrap { padding: 0; }
.support .script-title { margin-bottom: 60px; }
.support-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 30px; }
.icon-box { width: 330px; max-width: 100%; display: flex; align-items: center; gap: 20px; margin-bottom: 30px; }
.icon-box-icon { flex: none; color: var(--primary); display: block; transition: transform .3s; }
.icon-box-icon img { width: 90px; height: 90px; border-radius: 50%; display: block; }
.icon-box:hover .icon-box-icon { transform: scale(1.1); }
.icon-box h3 { font-size: 20px; line-height: 32px; font-weight: 600; letter-spacing: 0; margin: 0 0 6px; }
.icon-box h3 a { color: var(--black); }
.icon-box h3 a:hover { color: var(--primary); }
.icon-box p { margin: 0; }

.cta-band { background: var(--mist); padding: 50px; text-align: center; }
.cta-figures { position: relative; min-height: 220px; padding: 50px 30px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cta-figures .btn { position: relative; z-index: 2; }
.band-img { position: absolute; height: auto; }
.band-img-left { left: 0; bottom: -50px; width: 165px; }
.band-img-right { right: 0; top: 80px; width: 221px; }
.posts-block { padding: 120px 30px 65px; background: #fff; position: relative; z-index: 2; }
.posts-block .wrap { padding: 0; }

/* ---------------------------------------------------------- Carosello card -- */
.carousel { position: relative; overflow: hidden; padding-bottom: 50px; }
.carousel-track { display: flex; transition: transform .6s ease; will-change: transform; }
.carousel-slide { flex: 0 0 33.3333%; padding: 0 15px; min-width: 0; }
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 10px; }
.carousel-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: #d3d3d3; cursor: pointer; transition: background .2s, transform .2s; }
.carousel-dots button[aria-current="true"] { background: var(--black); transform: scale(1.15); }
.card { display: flex; flex-direction: column; height: 100%; }
.card-thumb { display: block; aspect-ratio: 820 / 580; overflow: hidden; background: var(--mist); margin-bottom: 14px; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-thumb img { transform: scale(1.04); }
.cat-labels { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 8px; }
.cat-labels a { background: var(--primary); color: #000; font-size: 10px; line-height: 24px; letter-spacing: 1px; text-transform: uppercase; padding: 0 10px; }
.cat-labels a:hover { background: var(--primary-hover); color: #fff; }
.card-title { font-size: 20px; line-height: 24px; font-weight: 600; margin: 0 0 10px; }
.card-title a { color: var(--black); }
.card-title a:hover { color: var(--primary); }
.card-excerpt { margin: 0 0 8px; }
.card-meta { font-size: 11px; color: var(--text); margin-top: auto; }

/* ----------------------------------------------- Elenco articoli e sidebar -- */
.with-sidebar { display: grid; grid-template-columns: 410px minmax(0, 1fr); gap: 30px; padding-top: 60px; padding-bottom: 40px; max-width: calc(var(--wrap) + 60px); align-items: start; }
.with-sidebar .widget-area { order: -1; }
.widget { border: 1px solid var(--border); padding: 0 30px 30px; margin-bottom: 30px; }
.widget-title { font-size: 12px; line-height: 21.6px; font-weight: 600; text-transform: uppercase; letter-spacing: 3.6px; margin: 0 0 25px; padding-top: 1px; text-align: center; position: relative; top: -11px; background: #fff; width: max-content; max-width: 100%; margin-left: auto; margin-right: auto; padding: 0 12px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.cat-list li { display: flex; justify-content: space-between; border-bottom: 1px solid var(--border); padding: 7px 0; }
.cat-list li:last-child { border-bottom: 0; }
.cat-list a { color: var(--black); font-weight: 600; }
.recent-list li { display: flex; gap: 15px; margin-bottom: 18px; align-items: center; }
.recent-thumb { flex: none; width: 70px; height: 70px; overflow: hidden; background: var(--mist); }
.recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.recent-title { display: block; font-weight: 600; color: var(--black); line-height: 1.4; }
.recent-date { font-size: 11px; color: var(--light); }
.post-row { display: grid; grid-template-columns: 383px minmax(0, 1fr); gap: 0; padding-bottom: 50px; margin-bottom: 50px; border-bottom: 1px solid var(--border); }
.post-row:last-of-type { border-bottom: 0; }
.post-row-thumb { position: relative; padding-right: 30px; }
.post-row-thumb img { width: 100%; aspect-ratio: 383 / 260; object-fit: cover; }
.post-row-thumb .cat-labels { position: absolute; top: 25px; left: 30px; margin: 0; }
.post-row-title { font-size: 20px; line-height: 24px; font-weight: 600; margin: 0 0 10px; }
.post-row-title a { color: var(--black); }
.post-row-title a:hover { color: var(--primary); }
.post-row-excerpt p { margin: 0 0 12px; }
.post-meta { font-size: 11px; color: var(--text); display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
.post-meta .cat-labels { margin: 0; }
.navigation.pagination { margin-top: 15px; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.page-numbers { display: inline-block; min-width: 38px; padding: 6px 12px; text-align: center; border: 1px solid var(--border); color: var(--black); font-weight: 600; }
.page-numbers.current, .page-numbers:hover { background: var(--primary); border-color: var(--primary); color: #fff; }

/* --------------------------------------------------------- Articolo singolo -- */
.single-article .entry-title { font-size: 34px; line-height: 1.2; }
.single-article .post-meta { margin-bottom: 24px; }
.single-thumb { margin-bottom: 28px; }
.entry-content { font-size: 15px; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content img, .entry-content video { height: auto; }
.entry-content a { text-decoration: underline; text-underline-offset: 2px; }
.entry-content .btn, .entry-content .wp-block-button__link { text-decoration: none; }
.entry-content blockquote { border-left: 3px solid var(--primary); margin: 1.6em 0; padding: .4em 0 .4em 1.4em; font-style: italic; color: var(--black); }
.wp-block-image figcaption, figcaption { font-size: 12px; color: var(--light); text-align: center; }
.alignleft { float: left; margin: 0 1.5em 1em 0; } .alignright { float: right; margin: 0 0 1em 1.5em; } .aligncenter { margin-left: auto; margin-right: auto; display: block; }
.wp-block-embed iframe, .entry-content iframe { max-width: 100%; }
.entry-tags { margin-top: 30px; font-size: 12px; }
.entry-tags a { display: inline-block; border: 1px solid var(--border); padding: 0 10px; margin: 0 4px 4px 0; color: var(--text); }
.entry-tags a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); margin-top: 40px; padding-top: 20px; font-weight: 600; }

/* ------------------------------------------------------------ Pagine / blocchi -- */
.page-main { padding: 60px 0 80px; }
.page-article > .entry-content > *:first-child { margin-top: 0; }
.page-article .entry-content > .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 30px; margin-bottom: 1.6em; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
@media (max-width: 781px) { .wp-block-columns { flex-direction: column; } }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.6em; }
.wp-block-button__link { display: inline-block; background: var(--primary); color: #fff; border-radius: 50px; font: 600 12px/16px var(--font); text-transform: uppercase; padding: 16px 30px; }
.wp-block-button__link:hover { background: var(--primary-hover); color: #fff; }
.wp-block-separator { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.has-text-align-center { text-align: center; }
.script-heading, .entry-content .script-heading { font-family: var(--font-script); font-style: italic; font-weight: 400; color: var(--primary); letter-spacing: 0; }
.search-form { display: flex; gap: 10px; max-width: 520px; }
.search-form input[type=search] { flex: 1; min-width: 0; }
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=date], input[type=number], textarea, select {
	width: 100%; font: 400 15px/1.4 var(--font); color: #000; background: #fff; border: 1px solid #d8d8d8; padding: 12px 14px; border-radius: 3px; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--primary-hover); box-shadow: 0 0 0 3px rgba(76,101,130,.18); outline: 0; }

/* ----------------------------------------------------------------- Modulo -- */
.pc-form { max-width: 860px; margin: 0 auto; }
.pc-form fieldset { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.pc-form legend { font-size: 20px; font-weight: 700; color: var(--black); padding: 0 0 12px; margin-bottom: 18px; border-bottom: 2px solid var(--primary); width: 100%; letter-spacing: -.5px; }
.pc-form .grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.pc-form .span-2 { grid-column: 1 / -1; }
.pc-form .field label { display: block; font-weight: 600; color: var(--black); margin-bottom: 6px; font-size: 14px; }
.pc-form .field abbr { color: var(--primary); text-decoration: none; }
.pc-form .opt { font-weight: 400; color: var(--light); }
.pc-form .hint { display: block; margin-top: 5px; font-size: 12px; color: var(--light); }
.pc-form .cf input { text-transform: uppercase; letter-spacing: 1px; }
.pc-form .has-error input { border-color: #c0392b; background: #fff8f7; }
.field-error { margin: 6px 0 0; font-size: 13px; color: #c0392b; font-weight: 600; }
.form-alert { background: #fdecea; border-left: 4px solid #c0392b; padding: 14px 18px; margin-bottom: 26px; color: #7a1f14; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.declaration { background: var(--mist); padding: 24px 28px; margin: 10px 0 30px; border-left: 4px solid var(--sky); }
.declaration ul { margin-bottom: 1em; }
.declaration li { margin-bottom: .4em; }
.declaration p:last-child { margin-bottom: 0; }
.payment-box { border: 2px solid var(--sky); padding: 24px 28px; margin-bottom: 28px; }
.payment-box h3 { font-size: 22px; margin-bottom: 10px; letter-spacing: -.5px; }
.bank-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 16px 0; }
.bank-grid > div { background: var(--mist); padding: 14px 18px; }
.bank-grid strong { display: block; color: var(--black); }
.bank-grid span { font-variant-numeric: tabular-nums; word-break: break-word; }
.payment-box .small { font-size: 13px; margin: 0; }
.pc-form .consent { margin-bottom: 14px; }
.pc-form .check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.pc-form .check input { width: 20px; height: 20px; flex: none; margin-top: 3px; accent-color: var(--primary); }
.form-note { font-size: 12px; color: var(--light); }
.pc-form .btn { font-size: 14px; padding: 18px 36px; }
.form-success { background: #eef8f1; border-left: 4px solid #2e8b57; padding: 28px 32px; max-width: 860px; margin: 0 auto; }
.form-success h2 { font-size: 26px; margin-bottom: 10px; }
.form-success p:last-child { margin-bottom: 0; }

/* ----------------------------------------------------------------- Footer -- */
.site-footer { background: var(--sky); color: var(--text); }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 80px 30px; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.footer-col h2 { font-size: 16px; line-height: 20px; font-weight: 600; color: var(--black); letter-spacing: 0; margin: 5px 0 20px; text-align: center; }
.footer-col p { margin: 0 0 5px; text-align: center; }
.footer-col a { color: var(--text); }
.footer-col a:hover { color: #e63733; }
.footer-brand { border-right: 1px solid var(--border); padding-right: 15px; }
.footer-brand img { width: 300px; max-width: 100%; margin: 0 auto 20px; }
.footer-brand p { margin: 0 0 5px; }
.footer-brand .follow { margin-top: 20px; }
.social { list-style: none; padding: 0; margin: 0 0 5px; display: flex; justify-content: center; gap: 6px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; color: var(--text); }
.social a:hover { color: var(--primary); }
.social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-menu { list-style: none; margin: 0; padding: 0; text-align: center; }
.footer-menu a { display: block; padding: 8px 15px; color: var(--text); }
.footer-col .btn { display: flex; width: max-content; margin: 0 auto; color: #fff; }
.footer-col .btn:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(0,0,0,.08); text-align: center; padding: 22px 30px; }
.footer-bottom p { margin: 0; }

/* -------------------------------------------------------------- Animazioni -- */
[data-anim] { will-change: transform, opacity; }
.js [data-anim="slide-left"] { transform: translate3d(-110%, 0, 0); opacity: 0; }
.js [data-anim="slide-right"] { transform: translate3d(110%, 0, 0); opacity: 0; }
.js [data-anim="move-up"] { transform: translate3d(0, 40px, 0); opacity: 0; }
.js [data-anim].is-in { transform: none; opacity: 1; transition: transform 1.1s cubic-bezier(.22,.8,.3,1), opacity 1.1s ease; }
.js [data-anim^="slide"].is-in { transition-duration: 2s; }
@media (prefers-reduced-motion: reduce) {
	/* Le due figurine decorative scivolano comunque (come sul sito originale); le altre animazioni si fermano. */
	.js [data-anim="move-up"] { transform: none !important; opacity: 1 !important; transition: none !important; }
	.carousel-track { transition: none; }
	html { scroll-behavior: auto; }
}

/* ------------------------------------------------------------ Responsive -- */
@media (max-width: 1200px) {
	.carousel-slide { flex-basis: 33.3333%; }
}
@media (max-width: 1024px) {
	.hero { min-height: 640px; }
	.hero-img-left img, .hero-img-left { max-width: 40%; height: auto; }
	.hero-img-right { max-width: 40%; height: auto; }
	.carousel-slide { flex-basis: 50%; }
	.with-sidebar { grid-template-columns: minmax(0, 1fr); }
	.with-sidebar .widget-area { order: 2; }
	.footer-inner { grid-template-columns: repeat(2, 1fr); }
	.footer-brand { border-right: 0; grid-column: 1 / -1; padding-right: 0; }
	.icon-box { width: calc(50% - 15px); }
}
@media (max-width: 880px) {
	.topbar-inner { grid-template-columns: 1fr; justify-items: center; min-height: 0; padding: 10px 0; }
	.topbar-mail, .topbar-cta { display: none; }
	.site-logo img { width: 200px; height: 53px; }
	.nav-bar { padding: 0 20px; border-bottom: 1px solid var(--border); }
	.nav-toggle { display: flex; align-items: center; justify-content: center; margin: 0 auto; width: 56px; height: 48px; background: none; border: 0; cursor: pointer; }
	.nav-toggle .bars { display: grid; gap: 5px; width: 26px; }
	.nav-toggle .bars i { display: block; height: 3px; background: var(--black); border-radius: 2px; transition: transform .25s, opacity .25s; }
	.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
	.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
	.primary-nav { display: none; flex-direction: column; align-items: stretch; padding-bottom: 20px; }
	.primary-nav.is-open { display: flex; }
	.primary-nav .menu { flex-direction: column; }
	.primary-nav .menu-link { padding: 12px 6px; border-top: 1px solid var(--border); font-size: 16px; }
	.btn-mobile-cta { display: inline-flex; align-self: center; margin-top: 16px; }
	.banner-title { font-size: 42px; line-height: 44px; }
	.hero-title { font-size: 54px; line-height: 60px; }
	.script-title { font-size: 36px; line-height: 42px; }
	.support { padding: 80px 20px; }
	.posts-block { padding: 80px 20px 40px; }
	.video-section { padding: 0 20px; margin-top: -80px; }
	.btn-lg { font-size: 19px; line-height: 30px; letter-spacing: 1px; padding: 14px 24px; }
}
@media (max-width: 767px) {
	.hero { min-height: 470px; padding-bottom: 100px; margin-bottom: 0; }
	.hero-img-left, .hero-img-right { max-width: 34%; opacity: .85; }
	.hero-img-left { top: auto; bottom: 90px; left: -10px; }
	.hero-img-right { top: 20px; }
	.carousel-slide { flex-basis: 100%; }
	.post-row { grid-template-columns: 1fr; }
	.post-row-thumb { padding-right: 0; margin-bottom: 16px; }
	.post-row-thumb .cat-labels { left: 12px; top: 12px; }
	.pc-form .grid, .bank-grid { grid-template-columns: 1fr; }
	.icon-box { width: 100%; }
	.footer-inner { grid-template-columns: 1fr; padding: 50px 20px; }
	.banner { padding: 36px 20px; }
	.crumbs-row { padding: 8px 20px; }
	.wrap { padding: 0 20px; }
	.single-article .entry-title { font-size: 28px; }
}

@media (max-width: 767px) { .band-img-right, .band-img-left { display: none; } .cta-figures { min-height: 0; padding: 50px 20px; } }

.entry-content h3.script-heading { font-weight: 700; font-size: 22.65px; line-height: 1.4; }

.with-sidebar > * { min-width: 0; }
