/*
Theme Name: BeachVolleyTour 2026
Theme URI: https://www.beachvolleytour.it/
Author: BeachVolleyTour.it
Description: Tema a blocchi (Full Site Editing) per BeachVolleyTour.it. Homepage, categorie e tag interamente componibili con i blocchi dall'Editor del sito. Richiede il plugin "BVT Suite" per i blocchi notizie.
Version: 1.0.11
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: beachvolleytour
*/

:root {
	--bvt-radius: var(--wp--custom--radius, 14px);
	--bvt-radius-sm: var(--wp--custom--radius-sm, 8px);
	--bvt-shadow: var(--wp--custom--shadow);
	--bvt-ocean: var(--wp--preset--color--ocean);
	--bvt-sea: var(--wp--preset--color--sea);
	--bvt-sunset: var(--wp--preset--color--sunset);
	--bvt-sun: var(--wp--preset--color--sun);
	--bvt-sand: var(--wp--preset--color--sand);
	--bvt-line: var(--wp--preset--color--line);
	--bvt-muted: var(--wp--preset--color--muted);
	--bvt-display: var(--wp--preset--font-family--display);
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { height: auto; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* ---------- Topbar ---------- */
.bvt-topbar { background: var(--bvt-ocean); color: #cfd8e6; font-size: .78rem; }
.bvt-topbar__inner { padding-block: .45rem; gap: 1rem; }
.bvt-topbar__menu { font-family: var(--wp--preset--font-family--body) !important; font-size: .74rem !important; letter-spacing: .06em; gap: 1.25rem; }
.bvt-topbar__menu a { color: #cfd8e6 !important; }
.bvt-topbar__menu a:hover { color: #fff !important; }
.bvt-topbar__social { gap: .6rem !important; }

/* ---------- Header ---------- */
.bvt-header { background: #fff; border-bottom: 1px solid var(--bvt-line); position: sticky; top: 0; z-index: 50; }
.admin-bar .bvt-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .bvt-header { top: 0; } }
.bvt-header__inner { padding-block: .9rem; gap: 1.5rem; align-items: center; }
.bvt-brand { gap: .8rem; align-items: center; flex-shrink: 0; }
.bvt-brand__text { gap: 0 !important; align-items: flex-start !important; }
.bvt-brand__title, .bvt-brand__title a { font-family: var(--bvt-display); font-weight: 900; font-size: clamp(1.15rem, 2.4vw, 1.55rem); letter-spacing: -.02em; color: var(--bvt-ocean); text-transform: uppercase; line-height: 1; margin: 0; }
.bvt-brand__claim { margin: .25rem 0 0 !important; font-size: .72rem; color: var(--bvt-muted); letter-spacing: .04em; }
.bvt-mainnav { gap: 1.4rem !important; }
.bvt-mainnav .wp-block-navigation-item__content { padding-block: .4rem; position: relative; color: var(--bvt-ocean); }
.bvt-mainnav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 3px; background: var(--bvt-sunset); border-radius: 3px; transition: right .25s ease;
}
.bvt-mainnav .wp-block-navigation-item:hover > .wp-block-navigation-item__content::after,
.bvt-mainnav .current-menu-item > .wp-block-navigation-item__content::after { right: 0; }
.bvt-mainnav .wp-block-navigation__submenu-container { border: 1px solid var(--bvt-line) !important; border-radius: var(--bvt-radius-sm); box-shadow: var(--bvt-shadow); padding: .4rem 0; min-width: 230px !important; text-transform: none; letter-spacing: 0; font-family: var(--wp--preset--font-family--body); font-weight: 500; }
.bvt-mainnav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .45rem 1rem !important; }
.bvt-mainnav .wp-block-navigation__responsive-container.is-menu-open { background: var(--bvt-ocean) !important; color: #fff !important; }
.bvt-mainnav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { color: #fff; font-size: 1.3rem; }
.bvt-search .wp-block-search__button { background: var(--bvt-sand) !important; color: var(--bvt-ocean) !important; border-radius: 50% !important; width: 40px; height: 40px; padding: 0 !important; display: grid; place-items: center; }
.bvt-search .wp-block-search__inside-wrapper { border: none; }

/* ---------- Layout ---------- */
.bvt-main { padding-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50); }
.bvt-main > * + * { margin-block-start: var(--wp--preset--spacing--40); }
.bvt-layout { gap: clamp(1.5rem, 3vw, 3rem) !important; }
.bvt-layout__main > * + * { margin-block-start: var(--wp--preset--spacing--40); }
@media (min-width: 782px) { .bvt-layout__side > .wp-block-template-part, .bvt-layout__side > .bvt-sidebar { position: sticky; top: var(--bvt-side-top, 110px); } }

.bvt-kicker { font-family: var(--bvt-display); font-weight: 800; font-size: .74rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--bvt-sunset); margin: 0 0 .4rem !important; }
.bvt-kicker--light { color: var(--bvt-sun); }

/* ---------- Section (bvt/term-section) ---------- */
.bvt-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; border-bottom: 2px solid var(--bvt-ocean); padding-bottom: .55rem; margin-bottom: 1.25rem; }
.bvt-section__title { margin: 0 !important; font-size: clamp(1.4rem, 2.6vw, 1.9rem) !important; text-transform: uppercase; letter-spacing: -.01em; position: relative; padding-left: 1rem; }
.bvt-section__title::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 5px; border-radius: 3px; background: linear-gradient(180deg, var(--bvt-sunset), var(--bvt-sun)); }
.bvt-section__title a { color: inherit; }
.bvt-section__more { font-family: var(--bvt-display); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--bvt-sunset) !important; white-space: nowrap; }
.bvt-section__more:hover { color: var(--bvt-ocean) !important; }
.bvt-section__empty { color: var(--bvt-muted); font-style: italic; }

/* Shared post bits */
.bvt-post { position: relative; }
.bvt-post__media { position: relative; display: block; overflow: hidden; border-radius: var(--bvt-radius); background: var(--bvt-sand); aspect-ratio: 16/10; }
.bvt-post__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.bvt-post:hover .bvt-post__media img { transform: scale(1.04); }
.bvt-post__media--placeholder { background: linear-gradient(135deg, var(--bvt-sand) 0%, #f7d9b9 60%, #bfe6ea 100%); position: relative; }
.bvt-post__media--placeholder::after { content: ""; position: absolute; inset: 0; margin: auto; width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(11,37,69,.18); }
.bvt-post__cat { display: inline-block; font-family: var(--bvt-display); font-weight: 800; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--bvt-sunset); margin-bottom: .35rem; }
.bvt-post__title { font-family: var(--bvt-display); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; margin: 0; color: var(--bvt-ocean); }
.bvt-post__title a { color: inherit; background-image: linear-gradient(currentColor, currentColor); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .3s ease; }
.bvt-post:hover .bvt-post__title a { background-size: 100% 2px; }
.bvt-post__title a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.bvt-post__cat, .bvt-post__cat a { position: relative; z-index: 2; }
.bvt-post__cat a { color: inherit; }
.bvt-post__meta { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--bvt-muted); margin-top: .45rem; }
.bvt-post__excerpt { color: #3b4455; font-size: .95rem; margin: .5rem 0 0; }
.bvt-badge-video { position: absolute; z-index: 1; left: .75rem; bottom: .75rem; width: 42px; height: 42px; border-radius: 50%; background: var(--bvt-sunset); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.bvt-badge-video::after { content: ""; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }

/* Layout: hero */
.bvt-section--hero .bvt-section__grid { display: grid; gap: 1rem; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, minmax(210px, 1fr)); }
.bvt-section--hero .bvt-post { border-radius: var(--bvt-radius); overflow: hidden; min-height: 210px; isolation: isolate; }
.bvt-section--hero .bvt-post:first-child { grid-column: span 2; grid-row: span 2; }
.bvt-section--hero .bvt-post__media { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; z-index: -1; }
.bvt-section--hero .bvt-post__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,37,69,0) 30%, rgba(11,37,69,.9) 100%); }
.bvt-section--hero .bvt-post__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.1rem 1.2rem; }
.bvt-section--hero .bvt-post__title { color: #fff; font-size: clamp(1rem, 1.4vw, 1.18rem); }
.bvt-section--hero .bvt-post:first-child .bvt-post__title { font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1.05; }
.bvt-section--hero .bvt-post:first-child .bvt-post__body { padding: clamp(1.25rem, 3vw, 2.2rem); }
.bvt-section--hero .bvt-post__cat { background: var(--bvt-sunset); color: #fff; padding: .25rem .55rem; border-radius: 4px; }
.bvt-section--hero .bvt-post__cat a { color: #fff; }
.bvt-section--hero .bvt-post__meta { color: rgba(255,255,255,.75); }
.bvt-section--hero .bvt-post__excerpt { color: rgba(255,255,255,.85); max-width: 60ch; }
.bvt-section--hero .bvt-post:not(:first-child) .bvt-post__excerpt { display: none; }
@media (max-width: 900px) {
	.bvt-section--hero .bvt-section__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
	.bvt-section--hero .bvt-post:first-child { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
}
@media (max-width: 560px) {
	.bvt-section--hero .bvt-section__grid { grid-template-columns: 1fr; }
	.bvt-section--hero .bvt-post { min-height: 230px; }
}

/* Layout: lead-list */
.bvt-section--lead-list .bvt-section__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.5rem; }
.bvt-section--lead-list .bvt-post:first-child { grid-row: span 4; }
.bvt-section--lead-list .bvt-post:first-child .bvt-post__title { font-size: clamp(1.3rem, 2.2vw, 1.65rem); margin-top: .8rem; }
.bvt-section--lead-list .bvt-post:not(:first-child) { display: grid; grid-template-columns: 112px 1fr; gap: .9rem; align-items: start; padding-bottom: 1rem; border-bottom: 1px solid var(--bvt-line); }
.bvt-section--lead-list .bvt-post:last-child { border-bottom: 0; padding-bottom: 0; }
.bvt-section--lead-list .bvt-post:not(:first-child) .bvt-post__media { aspect-ratio: 1/1; border-radius: var(--bvt-radius-sm); }
.bvt-section--lead-list .bvt-post:not(:first-child) .bvt-post__title { font-size: 1rem; }
.bvt-section--lead-list .bvt-post:not(:first-child) .bvt-post__excerpt,
.bvt-section--lead-list .bvt-post:not(:first-child) .bvt-post__cat { display: none; }
@media (max-width: 680px) { .bvt-section--lead-list .bvt-section__grid { grid-template-columns: 1fr; } .bvt-section--lead-list .bvt-post:first-child { grid-row: auto; } }

/* Layout: grid / grid-4 */
.bvt-section--grid .bvt-section__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.bvt-section--grid-4 .bvt-section__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.bvt-section--grid .bvt-post__title, .bvt-section--grid-4 .bvt-post__title { font-size: 1.05rem; margin-top: .75rem; }
.bvt-section--grid-4 .bvt-post__excerpt { display: none; }
@media (max-width: 1000px) { .bvt-section--grid-4 .bvt-section__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .bvt-section--grid .bvt-section__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .bvt-section--grid .bvt-section__grid, .bvt-section--grid-4 .bvt-section__grid { grid-template-columns: 1fr; } }

/* Layout: list */
.bvt-section--list .bvt-section__grid { display: grid; gap: 1.5rem; }
.bvt-section--list .bvt-post { display: grid; grid-template-columns: minmax(160px, 36%) 1fr; gap: 1.25rem; align-items: center; }
.bvt-section--list .bvt-post__title { font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
@media (max-width: 560px) { .bvt-section--list .bvt-post { grid-template-columns: 1fr; } }

/* Layout: compact */
.bvt-section--compact .bvt-section__grid { display: grid; gap: .9rem; }
.bvt-section--compact .bvt-post { display: grid; grid-template-columns: 72px 1fr; gap: .8rem; align-items: center; }
.bvt-section--compact .bvt-post__media { aspect-ratio: 1/1; border-radius: var(--bvt-radius-sm); }
.bvt-section--compact .bvt-post__title { font-size: .93rem; }
.bvt-section--compact .bvt-post__excerpt, .bvt-section--compact .bvt-post__cat { display: none; }
.bvt-section--compact .bvt-post__meta { margin-top: .25rem; }

/* Dark style variant */
.wp-block-bvt-term-section.is-style-dark { background: var(--bvt-ocean); color: #fff; padding-block: var(--wp--preset--spacing--50); padding-inline: clamp(1rem, 4vw, 2rem); }
.wp-block-bvt-term-section.is-style-dark > * { max-width: 1280px; margin-inline: auto; }
.alignfull.wp-block-bvt-term-section.is-style-dark { margin-block: var(--wp--preset--spacing--50) !important; }
.is-style-dark .bvt-section__head { border-color: rgba(255,255,255,.25); }
.is-style-dark .bvt-section__title, .is-style-dark .bvt-post__title { color: #fff; }
.is-style-dark .bvt-post__meta { color: rgba(255,255,255,.6); }
.is-style-dark .bvt-section__more { color: var(--bvt-sun) !important; }
.is-style-dark .bvt-post__media--placeholder { background: linear-gradient(135deg, #13315C, #0EA5B7); }

/* ---------- Ticker ---------- */
.bvt-ticker { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid var(--bvt-line); border-radius: 999px; padding: .35rem .4rem .35rem .35rem; overflow: hidden; }
.bvt-ticker__label { flex-shrink: 0; background: var(--bvt-sunset); color: #fff; font-family: var(--bvt-display); font-weight: 800; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; padding: .4rem .85rem; display: flex; align-items: center; gap: .45rem; }
.bvt-ticker__label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: bvt-pulse 1.4s infinite; }
@keyframes bvt-pulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.bvt-ticker__viewport { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 3%, #000 95%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 95%, transparent); }
.bvt-ticker__track { display: flex; gap: 2.5rem; width: max-content; animation: bvt-marquee var(--bvt-ticker-speed, 60s) linear infinite; list-style: none; margin: 0; padding: 0; }
.bvt-ticker:hover .bvt-ticker__track { animation-play-state: paused; }
.bvt-ticker__item { white-space: nowrap; font-size: .9rem; font-weight: 600; }
.bvt-ticker__item time { color: var(--bvt-muted); font-weight: 500; margin-right: .45rem; font-size: .8rem; }
.bvt-ticker__item a { color: var(--bvt-ocean); }
@keyframes bvt-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .bvt-ticker__track { animation: none; } }

/* ---------- Sidebar ---------- */
.bvt-sidebar > * + * { margin-block-start: 1.5rem; }
.bvt-widget { background: #fff; border: 1px solid var(--bvt-line); border-radius: var(--bvt-radius); padding: 1.25rem 1.25rem 1.4rem; }
.bvt-widget__title { font-size: 1rem !important; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 1rem !important; padding-bottom: .6rem; border-bottom: 2px solid var(--bvt-ocean); }
.bvt-popular { list-style: none; margin: 0; padding: 0; counter-reset: pop; display: grid; gap: .95rem; }
.bvt-popular li { counter-increment: pop; display: grid; grid-template-columns: 2.1rem 1fr; gap: .6rem; align-items: start; }
.bvt-popular li::before { content: counter(pop); font-family: var(--bvt-display); font-weight: 900; font-size: 1.9rem; line-height: .95; color: transparent; -webkit-text-stroke: 1.5px var(--bvt-sunset); }
.bvt-popular a { font-family: var(--bvt-display); font-weight: 700; font-size: .95rem; line-height: 1.25; color: var(--bvt-ocean); }
.bvt-popular a:hover { color: var(--bvt-sunset); }
.bvt-rubrica { background: var(--bvt-sand); border-color: transparent; }
.bvt-rubrica__title { font-size: 1.4rem !important; margin: 0 0 .35rem !important; }
.bvt-rubrica > p { font-size: .92rem; }
.bvt-rubrica .wp-block-bvt-term-section { margin-top: 1rem; }
.wp-block-tag-cloud.is-style-outline a { font-size: .8rem !important; border-radius: 999px !important; padding: .3rem .75rem !important; font-weight: 600; border-color: var(--bvt-line) !important; margin: 0 .3rem .4rem 0 !important; }
.wp-block-tag-cloud.is-style-outline a:hover { border-color: var(--bvt-sunset) !important; color: var(--bvt-sunset); }

/* ---------- Ads ---------- */
.bvt-ad { text-align: center; }
.bvt-ad__label { font-size: .62rem !important; letter-spacing: .18em; text-transform: uppercase; color: var(--bvt-muted); margin: 0 0 .4rem !important; }
.bvt-ad__placeholder { margin: 0 !important; }
.bvt-ad__placeholder a { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .15rem; border: 2px dashed #d7cfbf; border-radius: var(--bvt-radius-sm); color: var(--bvt-muted); font-size: .85rem; background: repeating-linear-gradient(45deg, transparent 0 12px, rgba(243,230,204,.45) 12px 24px); }
.bvt-ad--leaderboard .bvt-ad__placeholder a { min-height: 90px; max-width: 728px; margin-inline: auto; }
.bvt-ad--square .bvt-ad__placeholder a { min-height: 250px; }
.bvt-ad img { border-radius: var(--bvt-radius-sm); margin-inline: auto; }

/* ---------- Archive ---------- */
.bvt-archive-head { padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: calc(var(--bvt-radius) * 1.4); background: var(--bvt-ocean); color: #fff; position: relative; overflow: hidden; }
.bvt-archive-head::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--bvt-sun), var(--bvt-sunset) 60%, transparent 61%); opacity: .9; }
.bvt-archive-head .wp-block-query-title { color: #fff; margin: 0 !important; font-size: var(--wp--preset--font-size--huge); text-transform: uppercase; position: relative; z-index: 1; }
.bvt-archive-head .wp-block-term-description { color: rgba(255,255,255,.8); max-width: 60ch; position: relative; z-index: 1; margin-top: .6rem; }
.bvt-archive-head .wp-block-search { margin-top: 1rem; max-width: 560px; position: relative; z-index: 1; }
.bvt-archive-grid { gap: 1.5rem !important; }
.bvt-archive-grid > li:first-child { grid-column: 1 / -1; }
.bvt-archive-grid > li:first-child .bvt-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; align-items: center; }
.bvt-archive-grid > li:first-child .bvt-card__title { font-size: clamp(1.4rem, 2.6vw, 2rem) !important; }
@media (max-width: 680px) { .bvt-archive-grid { grid-template-columns: 1fr !important; } .bvt-archive-grid > li:first-child .bvt-card { grid-template-columns: 1fr; } }
.bvt-card { height: 100%; position: relative; }
.bvt-card__media { margin: 0 0 .85rem !important; border-radius: var(--bvt-radius); overflow: hidden; background: var(--bvt-sand); }
.bvt-card__media img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.bvt-card:hover .bvt-card__media img { transform: scale(1.04); }
.bvt-card__body > * { margin-block: 0 !important; }
.bvt-card__body > * + * { margin-block-start: .45rem !important; }
.bvt-card__cat { font-family: var(--bvt-display); }
.bvt-card__cat a { color: var(--bvt-sunset) !important; }
.bvt-card__title { font-size: 1.15rem !important; line-height: 1.18 !important; }
.bvt-card__excerpt { color: #3b4455; font-size: .93rem; }
.bvt-card__excerpt .wp-block-post-excerpt__more-text { display: none; }
.bvt-pagination { margin-top: 2.5rem !important; font-family: var(--bvt-display); font-weight: 700; gap: .4rem; }
.bvt-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 2.4rem; height: 2.4rem; border-radius: 999px; background: #fff; border: 1px solid var(--bvt-line); padding: 0 .6rem; }
.bvt-pagination .page-numbers.current { background: var(--bvt-ocean); color: #fff; border-color: var(--bvt-ocean); }
.bvt-pagination a:hover { border-color: var(--bvt-sunset); }

/* ---------- Single ---------- */
.bvt-article__head > * + * { margin-block-start: .9rem; }
.bvt-pill a { display: inline-block; background: var(--bvt-sunset); color: #fff !important; padding: .32rem .7rem; border-radius: 999px; margin-right: .3rem; font-family: var(--bvt-display); }
.bvt-pill .wp-block-post-terms__separator { display: none; }
.bvt-article__title { font-size: clamp(1.9rem, 4.2vw, 3rem) !important; line-height: 1.06 !important; letter-spacing: -.02em; }
.bvt-article__lead { font-size: 1.2rem; color: #3b4455; line-height: 1.5; }
.bvt-article__lead .wp-block-post-excerpt__more-text { display: none; }
.bvt-article__meta { gap: .9rem 1.2rem !important; align-items: center; font-size: .82rem; color: var(--bvt-muted); padding-block: .9rem; border-block: 1px solid var(--bvt-line); }
.bvt-article__meta .wp-block-post-author-name { font-weight: 700; color: var(--bvt-ocean); }
.bvt-article__meta .wp-block-bvt-share { margin-left: auto; }
.bvt-article__media { margin-block: 1.5rem !important; border-radius: var(--bvt-radius); overflow: hidden; }
.bvt-article__content { font-size: 1.1rem; line-height: 1.75; }
.bvt-article__content > * + * { margin-block-start: 1.15em; }
.bvt-article__content > p:first-of-type:not(.bvt-source)::first-letter { font-family: var(--bvt-display); font-weight: 900; float: left; font-size: 3.4em; line-height: .82; margin: .06em .1em 0 0; color: var(--bvt-sunset); }
.bvt-article__content a { color: var(--bvt-sunset); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.bvt-article__content img { border-radius: var(--bvt-radius-sm); }
.bvt-article__content .wp-block-embed iframe, .bvt-article__content iframe { max-width: 100%; border-radius: var(--bvt-radius-sm); }
.bvt-article__content .bvt-source { font-size: .88rem; color: var(--bvt-muted); border-top: 1px dashed var(--bvt-line); padding-top: 1rem; }
.bvt-tags { margin-top: 2rem; font-size: .78rem; }
.bvt-tags a { display: inline-block; border: 1px solid var(--bvt-line); border-radius: 999px; padding: .25rem .7rem; margin: 0 .2rem .35rem 0; background: #fff; }
.bvt-tags .wp-block-post-terms__separator { display: none; }
.bvt-tags .wp-block-post-terms__prefix { color: var(--bvt-muted); margin-right: .4rem; }

/* Share */
.bvt-share { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.bvt-share__label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--bvt-muted); margin-right: .2rem; }
.bvt-share a, .bvt-share button { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--bvt-sand); color: var(--bvt-ocean); border: 0; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.bvt-share a:hover, .bvt-share button:hover { background: var(--bvt-ocean); color: #fff; transform: translateY(-2px); }
.bvt-share svg { width: 16px; height: 16px; fill: currentColor; }
.bvt-share--full { margin-top: 2rem; padding: 1.2rem 1.4rem; border-radius: var(--bvt-radius); background: #fff; border: 1px solid var(--bvt-line); }
.bvt-share--full .bvt-share__label { font-family: var(--bvt-display); font-size: .9rem; color: var(--bvt-ocean); margin-right: auto; }

/* Page */
.bvt-page__title { margin-bottom: 1.5rem; }

/* Special / follow */
.bvt-special { background: radial-gradient(120% 140% at 100% 0%, #13315C 0%, var(--bvt-ocean) 55%); color: #fff; padding-block: var(--wp--preset--spacing--50); margin-block: var(--wp--preset--spacing--50) !important; }
.bvt-special__title { color: #fff !important; text-transform: uppercase; margin: 0 !important; }
.bvt-special__lead { color: rgba(255,255,255,.8); max-width: 55ch; }
.bvt-special .bvt-post__title { color: #fff; }
.bvt-special .bvt-post__meta { color: rgba(255,255,255,.6); }
.bvt-follow { background: linear-gradient(120deg, var(--bvt-sunset) 0%, #ff8a3c 45%, var(--bvt-sea) 100%); color: #fff; padding-block: var(--wp--preset--spacing--40); }
.bvt-follow__title { color: #fff !important; margin: 0 !important; font-size: clamp(1.5rem, 3vw, 2.2rem) !important; }
.bvt-cover { border-radius: calc(var(--bvt-radius) * 1.4); overflow: hidden; }

/* 404 */
.bvt-404 { text-align: center; }
.bvt-404__code { font-family: var(--bvt-display); font-weight: 900; font-size: clamp(6rem, 18vw, 11rem); line-height: .9; margin: 0 !important; background: linear-gradient(120deg, var(--bvt-sunset), var(--bvt-sun) 50%, var(--bvt-sea)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bvt-404 .wp-block-buttons { justify-content: center; }

/* ---------- Footer ---------- */
.bvt-footer { background: var(--bvt-ocean); color: #c6d0df; padding-block: var(--wp--preset--spacing--50) 1.5rem; font-size: .92rem; position: relative; }
.bvt-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--bvt-sunset), var(--bvt-sun), var(--bvt-sea)); }
.bvt-footer a { color: #fff; }
.bvt-footer a:hover { color: var(--bvt-sun); }
.bvt-footer__title a, .bvt-footer__title { font-family: var(--bvt-display); font-weight: 900; text-transform: uppercase; font-size: 1.4rem; color: #fff; margin: 0; }
.bvt-footer__heading { color: #fff !important; font-size: .82rem !important; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem !important; }
.bvt-footer__nav { font-family: var(--wp--preset--font-family--body) !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important; gap: .5rem !important; }
.bvt-footer__about { max-width: 42ch; }
.bvt-footer__bottom { margin-top: var(--wp--preset--spacing--40) !important; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .78rem; gap: .5rem; }
.bvt-footer__bottom p { margin: 0; }

/* ---------- Mobile refinements ---------- */
@media (max-width: 781px) {
	.bvt-topbar__menu { display: none !important; }
	.bvt-topbar__inner { justify-content: flex-end !important; }
}
@media (max-width: 560px) {
	.bvt-section--hero .bvt-section__grid { gap: .9rem; }
	.bvt-section--hero .bvt-post:not(:first-child) { min-height: 0; overflow: visible; border-radius: 0; display: grid; grid-template-columns: 104px 1fr; gap: .85rem; align-items: center; padding-bottom: .9rem; border-bottom: 1px solid var(--bvt-line); }
	.bvt-section--hero .bvt-post:not(:first-child) .bvt-post__media { position: relative; inset: auto; aspect-ratio: 1/1; border-radius: var(--bvt-radius-sm); z-index: 0; }
	.bvt-section--hero .bvt-post:not(:first-child) .bvt-post__media::after { display: none; }
	.bvt-section--hero .bvt-post:not(:first-child) .bvt-post__body { position: static; padding: 0; }
	.bvt-section--hero .bvt-post:not(:first-child) .bvt-post__title { color: var(--bvt-ocean); font-size: 1rem; }
	.bvt-section--hero .bvt-post:not(:first-child) .bvt-post__cat { background: none; color: var(--bvt-sunset); padding: 0; }
	.bvt-section--hero .bvt-post:not(:first-child) .bvt-post__cat a { color: var(--bvt-sunset); }
	.bvt-section--hero .bvt-post:not(:first-child) .bvt-post__meta { color: var(--bvt-muted); }
	.bvt-section--hero .bvt-post:first-child { min-height: 420px; }
	.bvt-article__meta .wp-block-bvt-share { margin-left: 0; }
	.bvt-ticker__label { padding: .4rem .65rem; }
}
.bvt-article__content h2 { font-size: var(--wp--preset--font-size--x-large); margin-top: 1.6em; }
.bvt-article__content h3 { font-size: var(--wp--preset--font-size--large); margin-top: 1.4em; }
.bvt-article__content .wp-block-quote p { margin: 0; }

/* ---------- Logo e header (v1.0.2) ---------- */
.bvt-header__inner { gap: clamp(1.25rem, 3vw, 2.75rem) !important; }
.bvt-logo { flex-shrink: 0; margin: 0; }
.bvt-logo img { width: clamp(160px, 17vw, 230px) !important; height: auto; display: block; }
.bvt-header__inner .bvt-search { margin-left: auto; }
.bvt-footer__logo { margin: 0 0 1rem !important; }
.bvt-footer__logo img { width: 220px; max-width: 100%; height: auto; }
@media (max-width: 1100px) { .bvt-mainnav { gap: 1rem !important; font-size: .85rem !important; } }
@media (max-width: 781px) {
	.bvt-header__inner .bvt-mainnav { margin-left: auto; order: 3; }
	.bvt-header__inner .bvt-search { order: 2; }
}
.bvt-footer__nav ul, .bvt-footer__nav .wp-block-navigation__container { padding-left: 0 !important; margin-left: 0 !important; }

/* ---------- Apertura: leggibilità dei titoli (v1.0.3) ---------- */
/* Notizia principale: velatura più ampia e intensa, ombra sul testo, titolo più compatto */
.bvt-section--hero .bvt-post:first-child .bvt-post__media::after {
	background: linear-gradient(180deg, rgba(11,37,69,.05) 0%, rgba(11,37,69,.30) 25%, rgba(11,37,69,.82) 52%, rgba(11,37,69,.97) 100%);
}
.bvt-section--hero .bvt-post:first-child .bvt-post__title {
	font-size: clamp(1.6rem, 2.6vw, 2.35rem);
	line-height: 1.08;
	text-shadow: 0 2px 14px rgba(0,0,0,.45);
	display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.bvt-section--hero .bvt-post:first-child .bvt-post__excerpt {
	text-shadow: 0 1px 8px rgba(0,0,0,.5);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bvt-section--hero .bvt-post:first-child .bvt-post__meta { color: rgba(255,255,255,.85); }

/* Notizie secondarie: foto sopra, titolo su fascia blu piena (sempre leggibile) */
@media (min-width: 561px) {
	.bvt-section--hero .bvt-section__grid { grid-template-rows: repeat(2, minmax(270px, 1fr)); }
	.bvt-section--hero .bvt-post:not(:first-child) { display: flex; flex-direction: column; background: var(--bvt-ocean); }
	.bvt-section--hero .bvt-post:not(:first-child) .bvt-post__media { position: relative; inset: auto; z-index: 0; flex: 1 1 auto; min-height: 120px; aspect-ratio: auto; }
	.bvt-section--hero .bvt-post:not(:first-child) .bvt-post__media::after { display: none; }
	.bvt-section--hero .bvt-post:not(:first-child) .bvt-post__body { position: relative; padding: .8rem 1rem .9rem; background: var(--bvt-ocean); }
	.bvt-section--hero .bvt-post:not(:first-child) .bvt-post__cat { position: absolute; top: 0; left: 1rem; transform: translateY(-55%); margin: 0; }
	.bvt-section--hero .bvt-post:not(:first-child) .bvt-post__title {
		font-size: clamp(.98rem, 1.15vw, 1.08rem); line-height: 1.22; margin-top: .3rem;
		display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
	}
	.bvt-section--hero .bvt-post:not(:first-child) .bvt-post__meta { margin-top: .35rem; color: rgba(255,255,255,.65); }
}

/* ---------- Menu mobile (v1.0.4) ---------- */
.bvt-mainnav__social { display: none !important; }
.bvt-mainnav .wp-block-navigation__responsive-container-open {
	width: 44px; height: 44px; border-radius: 50%; background: var(--bvt-ocean); color: #fff;
	display: none; align-items: center; justify-content: center; transition: background .2s;
}
.bvt-mainnav .wp-block-navigation__responsive-container-open:hover { background: var(--bvt-sunset); }
.bvt-mainnav .wp-block-navigation__responsive-container-open svg { width: 26px; height: 26px; fill: currentColor; }
@media (max-width: 599px) { .bvt-mainnav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: inline-flex; } }

.bvt-mainnav .wp-block-navigation__responsive-container.is-menu-open {
	background: radial-gradient(130% 80% at 100% 0%, #13315C 0%, var(--bvt-ocean) 60%) !important;
	color: #fff !important; padding: 1.1rem 1.5rem 2rem !important;
	animation: bvt-menu-in .25s ease-out;
}
@keyframes bvt-menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.bvt-mainnav .is-menu-open .wp-block-navigation__responsive-dialog::before {
	content: ""; position: absolute; top: .35rem; left: 0; width: 170px; height: 44px;
	background: url(assets/img/logo-beachvolleytour-light.png) left center / contain no-repeat;
}
.bvt-mainnav .is-menu-open .wp-block-navigation__responsive-container-close {
	top: .35rem !important; right: 0 !important; width: 44px; height: 44px; border-radius: 50%;
	background: rgba(255,255,255,.1); color: #fff; display: flex; align-items: center; justify-content: center;
}
.bvt-mainnav .is-menu-open .wp-block-navigation__responsive-container-close svg { width: 26px; height: 26px; fill: currentColor; }
.bvt-mainnav .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 4.25rem !important; align-items: stretch !important; gap: 0 !important;
}
.bvt-mainnav .is-menu-open .wp-block-navigation__container {
	gap: 0 !important; width: 100%; align-items: stretch !important;
}
.bvt-mainnav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
	width: 100%; flex-wrap: wrap; flex-direction: row !important; align-items: center !important;
	border-bottom: 1px solid rgba(255,255,255,.12);
}
.bvt-mainnav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	flex: 1; padding: .95rem 0 !important; font-size: 1.15rem; color: #fff !important; letter-spacing: .06em;
}
.bvt-mainnav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after { display: none; }
.bvt-mainnav .is-menu-open .current-menu-item > .wp-block-navigation-item__content { color: var(--bvt-sun) !important; }
/* Sottomenu a fisarmonica */
.bvt-mainnav .is-menu-open .wp-block-navigation__submenu-icon {
	display: inline-flex !important; align-items: center; justify-content: center; width: 40px; height: 40px;
	margin: 0 !important; padding: 0 !important; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--bvt-sun);
	transition: transform .25s, background .2s;
}
.bvt-mainnav .is-menu-open .wp-block-navigation__submenu-icon svg { width: 14px; height: 14px; stroke: currentColor; margin: 0; }
.bvt-mainnav .is-menu-open .bvt-sub-open > .wp-block-navigation__submenu-icon { transform: rotate(180deg); background: var(--bvt-sunset); color: #fff; }
.bvt-mainnav .is-menu-open .has-child:not(.bvt-sub-open) > .wp-block-navigation__submenu-container { display: none !important; }
.bvt-mainnav .is-menu-open .wp-block-navigation__submenu-container {
	width: 100% !important; flex: 0 0 100% !important; position: static !important; opacity: 1 !important; visibility: visible !important; height: auto !important; border: 0 !important; background: transparent !important; box-shadow: none !important;
	padding: 0 0 .8rem .9rem !important; margin: 0 !important; min-width: 0 !important; gap: 0 !important;
	border-left: 2px solid var(--bvt-sunset) !important;
}
.bvt-mainnav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	padding: .5rem 0 !important; font-size: 1rem; text-transform: none; letter-spacing: 0; font-weight: 500;
	color: rgba(255,255,255,.82) !important; font-family: var(--wp--preset--font-family--body);
}
/* Social in fondo al menu */
.bvt-mainnav .is-menu-open .bvt-mainnav__social { display: flex !important; gap: 1rem !important; margin-top: 1.75rem !important; padding: 0 !important; }
.bvt-mainnav .is-menu-open .bvt-mainnav__social .wp-social-link { border: 0 !important; width: auto !important; }
.bvt-mainnav .is-menu-open .bvt-mainnav__social a { padding: 0 !important; }
.bvt-mainnav .is-menu-open .bvt-mainnav__social svg { width: 26px; height: 26px; }
.bvt-mainnav .is-menu-open .wp-block-navigation__submenu-icon svg { transform: none !important; }
.bvt-mainnav .is-menu-open .wp-block-navigation__container > :has(> .bvt-mainnav__social),
.bvt-mainnav .is-menu-open .wp-block-navigation__container > .bvt-mainnav__social { border-bottom: 0 !important; }

/* ---------- Menu orizzontale (v1.0.5): font Plus Jakarta Sans, occupa tutto lo spazio ---------- */
.bvt-mainnav { font-family: var(--wp--preset--font-family--nav) !important; }
@media (min-width: 600px) {
	.bvt-header__inner .bvt-mainnav { flex: 1 1 auto; min-width: 0; }
	.bvt-mainnav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__responsive-container-content,
	.bvt-mainnav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container { width: 100%; }
	.bvt-mainnav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container {
		justify-content: space-between !important; gap: .5rem !important; flex-wrap: nowrap;
	}
	.bvt-mainnav > .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		font-size: clamp(.95rem, 1.15vw, 1.08rem); font-weight: 600; letter-spacing: .005em; text-transform: none;
		color: var(--bvt-ocean); padding-block: .55rem;
	}
	.bvt-mainnav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item:hover > .wp-block-navigation-item__content { color: var(--bvt-sunset); }
	.bvt-mainnav .wp-block-navigation__submenu-icon { margin-left: .25rem; }
	.bvt-mainnav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-weight: 500; font-size: .95rem; }
}
/* Menu mobile: stesso font */
.bvt-mainnav .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	text-transform: none !important; letter-spacing: 0 !important; font-weight: 600; font-size: 1.25rem;
}

/* ---------- Header fisso e menu raffinato (v1.0.6) ---------- */
/* L'intero blocco header (barra social + header) resta in alto; la barra social scorre via */
.wp-site-blocks > .wp-block-template-part:first-child,
.wp-site-blocks > header.wp-block-template-part:first-child {
	position: sticky; z-index: 100;
	top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--bvt-topbar-h, 34px));
}
@media (max-width: 600px) { .admin-bar .wp-site-blocks > .wp-block-template-part:first-child { top: calc(0px - var(--bvt-topbar-h, 34px)); } }
.bvt-header { position: relative !important; top: auto !important; transition: box-shadow .25s ease, background .25s ease; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); }
.bvt-header__inner { padding-block: .85rem; transition: padding .25s ease; }
.bvt-logo img { transition: width .25s ease; }
.bvt-is-scrolled .bvt-header { box-shadow: 0 8px 24px -14px rgba(11,37,69,.35); border-bottom-color: transparent; }
.bvt-is-scrolled .bvt-header__inner { padding-block: .45rem; }
.bvt-is-scrolled .bvt-logo img { width: clamp(140px, 13vw, 180px) !important; }

/* Menu orizzontale: voci a "pillola", spaziatura regolare e centrata nello spazio disponibile */
@media (min-width: 600px) {
	.bvt-mainnav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container {
		justify-content: center !important; gap: clamp(.15rem, .8vw, .75rem) !important;
	}
	.bvt-mainnav > .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		font-size: clamp(.95rem, 1.05vw, 1.04rem); font-weight: 600; letter-spacing: .01em;
		padding: .55rem clamp(.6rem, 1vw, .95rem) !important; border-radius: 999px; line-height: 1.2;
		transition: background .2s ease, color .2s ease;
	}
	.bvt-mainnav > .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after { display: none; }
	.bvt-mainnav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item:hover > .wp-block-navigation-item__content { background: var(--bvt-sand); color: var(--bvt-ocean); }
	.bvt-mainnav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content,
	.bvt-mainnav .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .current-menu-ancestor > .wp-block-navigation-item__content { background: var(--bvt-ocean); color: #fff; }
	.bvt-mainnav .wp-block-navigation__container > .has-child { gap: 0; }
	.bvt-mainnav .wp-block-navigation__container > .has-child > .wp-block-navigation-item__content { padding-right: 1.6rem !important; }
	.bvt-mainnav .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-icon { margin-left: -1.35rem; width: 12px; pointer-events: none; color: var(--bvt-ocean); }
	.bvt-mainnav .wp-block-navigation__submenu-container { margin-top: .4rem !important; padding: .5rem !important; border-radius: 14px !important; }
	.bvt-mainnav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { border-radius: 8px; padding: .55rem .8rem !important; font-family: var(--wp--preset--font-family--nav); font-weight: 500; font-size: .95rem; }
	.bvt-mainnav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--bvt-sand-light, #FBF7F0); color: var(--bvt-sunset); }
}
@media (min-width: 600px) {
	.bvt-mainnav .wp-block-navigation__container > .has-child { position: relative; }
	.bvt-mainnav .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-icon {
		position: absolute; right: .7rem; top: 50%; transform: translateY(-50%); margin: 0 !important; width: 10px; height: 10px; z-index: 1;
	}
	.bvt-mainnav .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-icon svg { width: 10px; height: 10px; }
	.bvt-mainnav .wp-block-navigation__container > .has-child > .wp-block-navigation-item__content { padding-right: 1.65rem !important; }
	.bvt-mainnav .wp-block-navigation__responsive-container:not(.is-menu-open) .current-menu-ancestor > .wp-block-navigation__submenu-icon { color: #fff; }
}
@media (min-width: 600px) {
	.bvt-mainnav > .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation__container > .wp-block-navigation-item.has-child > .wp-block-navigation-item__content { padding-right: 1.75rem !important; }
}

/* ---------- Migliorie v1.0.11 ---------- */
/* Homepage: meno vuoto tra header e ticker */
.bvt-home { padding-top: clamp(.9rem, 2vw, 1.4rem) !important; }
/* Mobile: niente barra superiore (i social sono nel menu), header più compatto */
@media (max-width: 781px) {
	.bvt-topbar { display: none !important; }
	.bvt-main { padding-top: 1rem; }
}
/* Sommari delle schede: massimo 3 righe, titoli uniformi */
:where(.bvt-section) .bvt-post__excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bvt-section--grid-4 .bvt-post__excerpt, .bvt-section--compact .bvt-post__excerpt,
.bvt-section--hero .bvt-post:not(:first-child) .bvt-post__excerpt,
.bvt-section--lead-list .bvt-post:not(:first-child) .bvt-post__excerpt { display: none; }
.bvt-section--hero .bvt-post:first-child .bvt-post__excerpt { -webkit-line-clamp: 2; }
/* Anteprime YouTube negli articoli video senza foto */
.bvt-post__media img.bvt-yt-thumb, .bvt-yt-figure img { object-fit: cover; width: 100%; height: 100%; }
.bvt-yt-figure { margin: 0; border-radius: var(--bvt-radius-sm, 12px); overflow: hidden; }
/* Barra di avanzamento della lettura */
.bvt-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 100000; pointer-events: none; transform-origin: 0 50%; transform: scaleX(var(--bvt-read, 0)); background: linear-gradient(90deg, var(--bvt-sunset), var(--bvt-sun, #FFB627)); }
.admin-bar .bvt-progress { top: var(--wp-admin--admin-bar--height, 32px); }
/* Tempo di lettura */
.bvt-readtime { color: var(--bvt-muted); font-size: .85rem; font-weight: 500; white-space: nowrap; }
.bvt-readtime::before { content: "·"; margin: 0 .5rem; }
/* Pulsante "torna su" */
.bvt-totop { position: fixed; right: clamp(.9rem, 2vw, 1.5rem); bottom: clamp(5.2rem, 9vh, 6rem); z-index: 9990; width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--bvt-ocean); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(11,37,69,.28); cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s ease, transform .25s ease, background .2s ease; }
.bvt-totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.bvt-totop:hover, .bvt-totop:focus-visible { background: var(--bvt-sunset); }
.bvt-totop svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { .bvt-totop, .bvt-progress { transition: none; } }
/* Pulsanti social più facili da toccare su mobile */
@media (max-width: 600px) {
	.bvt-share a, .bvt-share__copy { width: 40px !important; height: 40px !important; }
	.bvt-article__meta { row-gap: .6rem; }
	.bvt-share--full { row-gap: .7rem !important; }
	.bvt-share--full .bvt-share__label { flex-basis: 100%; margin-right: 0; }
}
