/**
 * Focus CT — homepage polish (gSlider pagination, cover/image motion helpers).
 */

/* Tournament gSlider: bullets inside the slide, not below the card */
.gslider-image-slider-focus-tournament.gslider-image-slider-wrapper.inside.has-pagination {
	margin-bottom: 0 !important;
}

.gslider-image-slider-focus-tournament.inside .swiper-pagination-image-slider,
.gslider-image-slider-focus-tournament.inside .swiper-horizontal > .swiper-pagination-bullets,
.gslider-image-slider-focus-tournament.inside .swiper-pagination-bullets.swiper-pagination-horizontal {
	bottom: 14px !important;
	top: auto !important;
	position: absolute !important;
}

.gslider-image-slider-focus-tournament.inside .swiper-pagination-bullet {
	opacity: 0.55;
}

.gslider-image-slider-focus-tournament.inside .swiper-pagination-bullet-active {
	opacity: 1;
}

/* Hero / milestone: subtle image reveal when AOS fires */
.focusct-home-fade-image img {
	will-change: opacity, transform;
}

.focusct-home-hero-cover .wp-block-cover__video-background,
.focusct-home-hero-cover .wp-block-cover__image-background {
	transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-reduced-motion: reduce) {
	.focusct-home-hero-cover .wp-block-cover__video-background,
	.focusct-home-hero-cover .wp-block-cover__image-background,
	.focusct-home-fade-image img {
		transition: none;
	}
}

/* Tournament band: add-to-calendar centered with breathing room below CTAs */
.focusct-tournament-calendar {
	display: flex !important;
	justify-content: center !important;
	width: 100%;
	margin-top: 1.25rem !important;
}

.focusct-tournament-calendar add-to-calendar-button {
	margin-inline: auto;
}

/* Tournament band: corner borders on mission panel only (not whole column) */
.focusct-mission-panel.partial-border.razor {
	position: relative;
}

.focusct-mission-panel.partial-border.razor::before {
	border-left-color: var(--wp--preset--color--accent-2);
	border-top-color: var(--wp--preset--color--accent-2);
}

.focusct-mission-panel.partial-border.razor::after {
	border-right-color: var(--wp--preset--color--accent-2);
	border-bottom-color: var(--wp--preset--color--accent-2);
}

.focusct-mission-panel + .focusct-giveaway-feature {
	margin-top: 1rem !important;
}

.focusct-giveaway-feature .wp-block-image {
	margin-bottom: 0.5rem;
}

.focusct-giveaway-feature .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
}

/* Header site logo — mobile: ~25% smaller than prior pass; left align via header block layout */
@media (max-width: 782px) {
	header .wp-block-site-logo img,
	header .wp-block-site-logo .custom-logo {
		width: 90px !important;
		max-width: 29vw !important;
		height: auto !important;
	}

	header .wp-block-site-tagline {
		text-align: left;
	}
}

/* Homepage hero only — transparent header overlays cover on narrow phones */
@media (max-width: 782px) {
	body.home .focusct-home-hero-cover .wp-block-cover__inner-container {
		padding-top: clamp(5rem, 22vw, 7rem);
	}
}

/* Gallery hero: cover block (first pass; gSlider variant later) */
.focusct-gallery-hero-cover .wp-block-cover__inner-container {
	max-width: 720px;
	margin-inline: auto;
	text-align: center;
}
