/*
Theme Name: World Silat
Theme URI: https://worldpencaksilat.org
Author: Aadil Manzoor
Author URI: https://worldpencaksilat.org
Description: A lightweight, fast-loading WordPress theme designed for the World Pencak Silat Federation. Built with performance and flexibility in mind.
Version: 1.0.24
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: world-silat
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, e-commerce, education, sports

World Silat WordPress Theme, Copyright 2026 Aadil Manzoor
World Silat is distributed under the terms of the GNU GPL.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html,
body,
#page,
.site {
	height: auto !important;
	overflow-x: clip !important;
	/* Force no horizontal scroll */
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

html,
body {
	overflow-x: clip;
	/* Clip horizontal overflow without breaking sticky */
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section {
	display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'Maven Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.6;
}

body {
	overflow-x: hidden;
}

/* ========== PRO FEATURES ========== */

/* 1. Reading Progress Bar */
#reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 0%;
	height: 4px;
	background: linear-gradient(to right, #ed1c24, #ff4757);
	z-index: 99999;
	transition: width 0.1s ease-out;
}

.admin-bar #reading-progress {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar #reading-progress {
		top: 46px;
	}
}

/* 2. Scroll Reveal Animations */
.reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.reveal.active {
	opacity: 1;
	transform: translateY(0);
}

/* 3. Back to Top Button */
#back-to-top {
	position: fixed;
	bottom: -60px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: #2e2d7f;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	cursor: pointer;
	z-index: 1000;
	transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#back-to-top.visible {
	bottom: 30px;
}

#back-to-top:hover {
	background: #ed1c24;
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(237, 28, 36, 0.3);
}

/* 4. Smooth Scrolling */
html {
	scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-weight: 600;
	line-height: 1.2;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.75rem;
}

h4 {
	font-size: 1.5rem;
}

h5 {
	font-size: 1.25rem;
}

h6 {
	font-size: 1rem;
}

p {
	margin-top: 0;
	margin-bottom: 1rem;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
	padding-left: 1em;
	border-left: 4px solid #e0e0e0;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #f4f4f4;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 2em;
	padding: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li>ul,
li>ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Links
--------------------------------------------- */
a {
	color: #0073aa;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:visited {
	color: #005177;
}

a:hover,
a:focus,
a:active {
	color: #00a0d2;
	text-decoration: underline;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #0073aa;
	border-radius: 3px;
	background: #0073aa;
	color: #fff;
	line-height: 1;
	padding: 0.75em 1.5em;
	cursor: pointer;
	transition: background 0.3s ease;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	background: #005177;
	border-color: #005177;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #00a0d2;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 8px;
	width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
	border-color: #0073aa;
	outline: none;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.site {
	margin: 0 auto;
	max-width: 100%;
}

/* Top Bar Styles */
.top-bar {
	color: #fff;
	padding: 0;
	font-size: 13px;
	border-bottom: none;
}

@keyframes gradientShift {
	0% {
		background-position: 0% 50%;
	}

	50% {
		background-position: 100% 50%;
	}

	100% {
		background-position: 0% 50%;
	}
}

.top-bar-container {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 20px;
}

.top-bar-left .institutional-text {
	text-transform: uppercase;
	font-weight: 800;
	/* Increased weight */
	letter-spacing: 1.5px;
	font-size: 16px;
	/* Increased from 14px */
	padding-left: 15px;
}

.top-bar-right {
	display: flex;
	align-items: center;
	gap: 25px;
	background: transparent;
	padding: 0;
	position: relative;
	margin: 0;
	z-index: 1;
	height: 100%;
}

/* Slanted left edge for white section */
.top-bar-right::before {
	display: none;
}

/* Extend white to right edge */
.top-bar-right::after {
	display: none;
}

/* Contact Link Design */
.top-bar-right .contact-link {
	display: inline-block;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	transition: all 0.3s ease;
	padding: 10px 25px;
	border: none;
	border-radius: 30px;
	/* Pill shape */
	position: relative;
	overflow: hidden;
	background: #ed1c24;
	/* Red background for high visibility */
	box-shadow: 0 4px 15px rgba(237, 28, 36, 0.3);
	text-transform: uppercase;
	font-size: 14px;
	letter-spacing: 1px;
}

.top-bar-right .contact-link:hover {
	background: #2e2d7f;
	/* Deep blue on hover */
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(46, 45, 127, 0.4);
	color: #fff;
}



.search-toggle {
	background: transparent;
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 8px;
	font-size: 18px;
	transition: transform 0.3s ease, color 0.3s ease;
}

.header-search-container {
	position: relative;
	width: 180px;
	flex-shrink: 0;
	background: transparent;
	padding: 0;
	border: none;
	margin-right: 20px;
}

.header-inline-search {
	position: relative;
	z-index: 9999;
}

.header-search-container {
	position: relative;
	z-index: 9998;
}




.search-toggle:hover {
	transform: scale(1.2);
	color: #fff;
}


.top-bar-logos {
	display: flex;
	align-items: center;
	gap: 15px;
}

/* Header Wrapper - Remove main gradient since children have their own */
.header-wrapper {
	position: sticky !important;
	top: 0 !important;
	z-index: 1000 !important;
	transition: all 0.3s ease;
	background: transparent;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	overflow: visible;
}

.header-full {
	max-width: 100%;
	margin: 0;
	display: flex;
	align-items: stretch;
	padding: 0;
	min-height: 50px;
}

/* --- LOGO SECTION (Left) --- */
.site-branding-wrap {
	background: #fff;
	/* White background for logo */
	padding: 15px 60px 15px 30px;
	/* Increased right padding for slash */
	position: relative;
	z-index: 10;
	display: flex;
	align-items: center;
	box-shadow: none;
	transition: all 0.3s ease;
	flex-shrink: 0;
	margin-left: 0;
	min-width: 320px;
	justify-content: center;

	/* Create the slash cut on the container itself using clip-path as requested */
	clip-path: polygon(0 0, 100% 0, calc(100% - 40px) 100%, 0 100%);
	margin-right: -40px;
	/* Overlap with next section */
}

/* Logo Slash Border - Restored */
.site-branding-wrap::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 100%;
	/* Full width to calculate slant correctly */
	height: 100%;
	background: transparent;
	/* Use same clip-path as container to match perfectly */
	clip-path: polygon(calc(100% - 5px) 0, 100% 0, calc(100% - 40px) 100%, calc(100% - 45px) 100%);
	background: #ed1c24;
	/* Red color fill */
	z-index: 11;
	pointer-events: none;
	border: none;
	/* Use fill instead of border for better clip-path alignment */
	transform: none;
	/* No skew needed, using clip-path */
}

/* No skew on content */
.site-branding {
	transform: none;
}

/* --- RIGHT HEADER SECTION --- */
.header-right {
	flex: 1;
	display: flex;
	flex-direction: column;
	margin-left: 0;
	position: relative;
	z-index: 5;
	overflow: visible;
}

/* Remove old global background from header-right */
.header-right::before,
.header-right::after {
	display: none;
}

/* --- TOP BAR (Row 1) --- */
.top-bar {
	display: flex;
	align-items: stretch;
	padding: 0;
	min-height: 50px;
	background: transparent !important;
	overflow: visible;
}

/* Top Bar Left: Light Blue Gradient + Slash */
.top-bar-left {
	flex: 1;
	/* Takes available space */
	display: flex;
	align-items: center;
	padding: 10px 40px 10px 60px;
	/* Adjusted padding */
	background: linear-gradient(90deg, #4a49a0 0%, #2e2d7f 100%);
	/* Light blue gradient */
	position: relative;
	color: #fff;

	/* Refactored Slash: Skew Container */
	transform: skewX(-20deg);
	border-right: 5px solid #ed1c24;
	margin-right: -20px;
	/* Overlap for slash effect */
	z-index: 2;
}

.institutional-text {
	margin-left: 0;
	transform: skewX(20deg);
	/* Unskew text */
	display: inline-block;
	/* Required for transform */
	padding-left: 150px;
	/* Greatly increased spacing to clear logo overlap */
}

/* Remove old pseudo-elements for slash */
.top-bar-left::after {
	display: none;
}

/* Top Bar Right: White Background */
.top-bar-right {
	display: flex;
	align-items: center;
	padding: 10px 0 10px 40px;
	background: #fff;
	position: relative;
	z-index: 1;
	overflow: visible;
	min-height: 50px;
}

/* --- NAV BAR (Row 2) --- */
.site-header {
	display: flex;
	align-items: stretch;
	flex: 1;
	padding: 0;
	border: none;
	background: linear-gradient(90deg, #1a1a5e 0%, #0e0e3c 100%) !important;
	/* Deep blue gradient */
	margin: 0;
	position: relative;
	z-index: 1;
}

.main-navigation {
	margin-left: 0;
	width: 100%;
}

.main-navigation ul {
	width: 100%;
	justify-content: flex-start;
	padding-left: 40px;
	/* Align with content above */
}

/* Update Nav Text Colors for Dark Background */
.main-navigation a {
	color: #fff !important;
	/* White text on deep blue */
	font-weight: 600;
}

.main-navigation a:hover {
	color: #ed1c24 !important;
	/* Red hover */
}



/* Site Header - Row 2 (Navigation - Lighter shade) */
.site-header {
	display: flex;
	align-items: stretch;
	flex: 1;
	padding: 0;
	border: none;
	background: transparent;
	margin: 0 -50px 0 -50px;
	padding: 0 50px;
	position: relative;
	overflow: visible !important;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Animated glow line under header */
.header-wrapper::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2), transparent);
	background-size: 200% 100%;
	animation: glowLine 3s linear infinite;
}

@keyframes glowLine {
	0% {
		background-position: -200% 0;
	}

	100% {
		background-position: 200% 0;
	}
}

/* Logo glow effect */
.site-branding .custom-logo-link img {
	max-height: 85px;
	/* Increased from 65px */
	width: auto;
	transition: transform 0.3s ease, filter 0.3s ease;
	filter: drop-shadow(0 2px 8px rgba(46, 45, 127, 0.3));
}

.site-branding .custom-logo-link:hover img {
	transform: scale(1.08);
	filter: drop-shadow(0 4px 15px rgba(237, 28, 36, 0.5));
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 15px;
	transform: none;
}

.site-branding .site-title {
	margin: 0;
	font-size: clamp(1.1rem, 2vw, 1.4rem);
	font-weight: 700;
}

.site-branding .site-title a {
	color: #fff;
	text-decoration: none;
	transition: color 0.3s ease;
}

.site-branding .site-title a:hover {
	color: #ed1c24;
}

.site-content {
	padding: 0 20px 2rem;
	max-width: 1400px;
	margin: 0 auto;
}

/* Hide page title on homepage */
.home .page-title,
.home .entry-header {
	display: none;
}

/* Remove top margin from first element after header on homepage */
.home .site-main {
	margin-top: 0;
}

.home .site-main>* {
	margin-top: 0;
}

/* Make homepage full width */
.home #page {
	max-width: 100%;
}

.home .site-content {
	max-width: 100%;
	padding: 0;
	width: 100%;
}

.home .content-area {
	max-width: 100%;
	width: 100%;
}

/* Full Width Content (No Sidebar) */
.site-content.full-width-content {
	max-width: 100%;
	padding: 0;
	width: 100%;
}

.site-content.full-width-content .content-area {
	max-width: 100%;
	width: 100%;
	float: none;
	margin: 0 auto;
}

.home .site-main {
	max-width: 100%;
	width: 100%;
}

/* Ensure all child elements don't overflow */
.home * {
	max-width: 100%;
}

.site-footer {
	padding: 4rem 0 2rem;
	background: linear-gradient(135deg, #1a1a5e 0%, #2e2d7f 100%);
	color: #fff;
	border-top: 3px solid #ed1c24;
	margin-top: 3rem;
	position: relative;
}

.footer-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	margin-bottom: 40px;
}

.footer-widget-area h2.widget-title {
	color: #fff;
	font-size: 1.25rem;
	margin-bottom: 1.5rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	position: relative;
	padding-bottom: 15px;
}

.footer-widget-area h2.widget-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 50px;
	height: 3px;
	background: #ed1c24;
}

.site-footer a {
	color: rgba(255, 255, 255, 0.8);
	transition: color 0.3s ease;
}

.site-footer a:hover {
	color: #ed1c24;
	text-decoration: none;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-footer li {
	margin-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	padding-bottom: 10px;
}

.site-footer li:last-child {
	border-bottom: none;
}

.site-info {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

.copyright {
	font-size: 0.9rem;
	opacity: 0.8;
}

#footer-menu {
	display: flex;
	gap: 20px;
}

/* Responsive Footer */
@media screen and (max-width: 768px) {
	.footer-widgets {
		grid-template-columns: 1fr;
		gap: 30px;
		text-align: center;
	}

	.footer-widget-area h2.widget-title::after {
		left: 50%;
		transform: translateX(-50%);
	}

	.site-info {
		flex-direction: column;
		text-align: center;
	}

	#footer-menu {
		justify-content: center;
		flex-wrap: wrap;
	}
}

.content-area {
	width: 100%;
}

@media screen and (min-width: 768px) {
	.site-content {
		display: flex;
		gap: 2rem;
	}

	.content-area {
		flex: 1;
	}

	.widget-area {
		width: 300px;
		flex-shrink: 0;
	}
}

/* Make theme 100% width and remove horizontal scroll */
.site-content,
.content-area,
.site-main,
.site-header,
.header-wrapper,
.header-full,
.site-footer {
	max-width: 100% !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Ensure images and other blocks don't cause overflow */
img,
video,
iframe,
.wp-block-group,
.wp-block-columns,
.wp-block-cover {
	max-width: 100% !important;
	box-sizing: border-box !important;
}

/* ========== AMAZING NAVIGATION ========== */
.main-navigation {
	display: flex;
	align-items: stretch;
	flex: 1;
	margin-left: 20px;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
	align-items: stretch;
}

.main-navigation>ul {
	display: flex;
}

.main-navigation ul li {
	position: relative;
	display: flex;
	align-items: stretch;
}

/* Nav Link Styling */
.main-navigation a {
	display: flex;
	align-items: center;
	text-decoration: none;
	padding: 0 clamp(8px, 1.2vw, 18px);
	color: #2e2d7f;
	/* Changed to Dark Blue for visibility on white bg */
	font-weight: 700;
	text-transform: uppercase;
	font-size: clamp(11px, 1vw, 14px);
	position: relative;
	letter-spacing: 0.5px;
	transition: color 0.3s ease;
	white-space: nowrap;
}

/* Main Navigation Link Hover - No animation/color as requested */
.main-navigation>ul>li>a::after {
	display: none;
}


.main-navigation a:hover {
	color: #ed1c24;
	/* Red on hover */
	text-shadow: none;
}

.main-navigation li.current-menu-item>a,
.main-navigation li.current_page_item>a {
	color: #ed1c24;
	/* Red for current item */
}

/* Dropdown Arrow Indicator */
.main-navigation li.menu-item-has-children>a::after {
	content: '' !important;
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-left: 10px;
	background-color: currentColor;
	/* Matches text color */
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
	transition: transform 0.3s ease;
}

.main-navigation li.menu-item-has-children:hover>a::after {
	transform: rotate(180deg);
}

/* ========== DROPDOWN MENU ========== */
@keyframes dropdownFadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.main-navigation ul ul {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 99999;
	background: linear-gradient(135deg, #2e2d7f 0%, #1a1a5e 100%);
	/* Deep Blue Gradient */
	padding: 15px 0;
	border-radius: 0 0 8px 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
	border-top: 3px solid #ed1c24;
	/* Red Top Border */
	min-width: 260px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
}

.main-navigation ul ul li {
	display: block;
	width: 100%;
	margin: 0;
}

.main-navigation ul ul a {
	display: block;
	padding: 12px 25px;
	color: #fff !important;
	/* White text */
	font-size: 14px;
	font-weight: 600;
	text-transform: capitalize;
	/* Cleaner look for sub-items */
	border-left: 3px solid transparent;
	/* Prepare for hover effect */
	transition: all 0.3s ease;
	background: transparent;
}

.main-navigation ul ul a:hover {
	background: rgba(255, 255, 255, 0.1);
	/* Subtle white overlay */
	color: #fff !important;
	padding-left: 35px;
	/* Slide effect */
	border-left-color: #ed1c24;
	/* Red border indicator */
}

/* Ensure dropdown is visible on hover */
.main-navigation ul li:hover>ul {
	display: block !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: translateY(0) !important;
}

.main-navigation ul ul a::after {
	display: none;
}


/* Third Level Dropdown */
.main-navigation ul ul ul {
	top: 0;
	left: 100%;
	border-radius: 0 8px 8px 0;
}

.main-navigation ul ul li:hover>ul {
	opacity: 1;
	visibility: visible;
}

/* ========== HAMBURGER MENU ========== */
.menu-toggle {
	display: none;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 15px;
	z-index: 100;
}

.hamburger {
	width: 28px;
	height: 20px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.hamburger span {
	display: block;
	width: 100%;
	height: 3px;
	background-color: #fff;
	border-radius: 2px;
	transition: all 0.3s ease;
}



/* Desktop: hide hamburger, show menu */
@media screen and (min-width: 992px) {
	.menu-toggle {
		display: none !important;
	}

	.main-navigation>ul {
		display: flex !important;
	}
}

/* Tablet: smaller nav, prepare for mobile */
@media screen and (min-width: 768px) and (max-width: 991px) {
	.main-navigation a {
		padding: 0 8px;
		font-size: 11px;
	}

	.site-branding .site-title {
		font-size: 1rem;
	}

	.site-branding-wrap {
		padding: 10px 30px 10px 15px;
		margin-right: 15px;
	}

	.site-branding-wrap::after {
		right: -20px;
		width: 40px;
	}
}


/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 3rem;
}

.entry-header {
	margin-bottom: 1.5rem;
}

.entry-title {
	margin-bottom: 0.5rem;
}

.entry-meta {
	font-size: 0.875rem;
	color: #666;
	margin-bottom: 1rem;
}

.entry-content,
.entry-summary {
	margin-bottom: 1.5rem;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 2rem;
}

.widget-title {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.widget li {
	padding: 0.5rem 0;
	border-bottom: 1px solid #e0e0e0;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

embed,
iframe,
object {
	max-width: 100%;
}

.custom-logo-link {
	display: inline-block;
}

img {
	height: auto;
	max-width: 100%;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Search Form */
.search-form,
.header-search-form {
	display: flex !important;
	align-items: center !important;
	width: 180px !important;
	min-width: 180px !important;
	height: 38px !important; /* Force set height matching input */
	margin: 0 !important;
	position: relative !important;
	overflow: visible !important;
	flex-wrap: nowrap !important;
}

.search-field,
.header-search-field {
	flex: 0 0 150px !important;
	max-width: 150px !important;
	min-width: 150px !important;
	border-radius: 50px !important;
	border: none !important;
	padding: 8px 12px 8px 15px !important;
	font-size: 13px !important;
	background: #fff !important;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08) !important;
	width: 150px !important;
	outline: none !important;
	box-sizing: border-box !important;
}

.search-field:focus,
.header-search-field:focus {
	outline: none;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.search-submit {
	position: absolute;
	right: 5px;
	top: 50%;
	transform: translateY(-50%);
	background-color: transparent;
	border: none;
	color: #ed1c24;
	/* Red search icon */
	padding: 8px;
	cursor: pointer;
	transition: transform 0.3s ease;
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
}

.search-submit:hover {
	background-color: transparent;
	border-color: transparent;
	transform: translateY(-50%) scale(1.1);
}

/* ========== MOBILE NAVIGATION ========== */
@media screen and (max-width: 991px) {

	/* Hide top bar on mobile */
	.top-bar {
		display: none !important;
		pointer-events: none !important;
		visibility: hidden !important;
	}

	/* Make header wrapper white */
	.header-wrapper {
		background: #fff;
		border-bottom: 3px solid #ed1c24;
		position: relative;
		z-index: 1000;
	}

	/* Simplify header layout - logo LEFT, hamburger RIGHT */
	.header-full {
		padding: 0;
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	/* Header Right - Hamburger Container */
	.header-right {
		display: flex !important;
		margin: 0;
		padding: 0;
		flex-direction: row;
		align-items: center;
		background: transparent;
		position: relative !important;
		flex: 0 0 30%;
		width: 30%;
		max-width: 30%;
		justify-content: flex-end; /* Align to right */
		padding-right: 15px;
	}

	.main-navigation {
		position: static !important;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	/* Logo container - flush left with white background */
	.site-branding-wrap {
		background: #fff;
		padding: 5px clamp(5px, 2vw, 15px);
		margin: 0;
		box-shadow: none;
		flex: 0 0 70%;
		/* Fixed 70% width */
		width: 70%;
		max-width: 70%;
		position: relative;
		min-width: 0;
	}

	/* Slanted edge on RIGHT side of logo section */
	.site-branding-wrap::after {
		content: '';
		position: absolute;
		top: 0;
		right: -15px;
		width: 30px;
		height: 100%;
		background: #fff;
		transform: skewX(-15deg);
		z-index: 1;
	}

	.site-branding-wrap::before {
		display: none;
	}

	.site-branding .custom-logo-link img {
		max-height: clamp(40px, 12vw, 60px);
		/* Responsive logo size */
	}

	/* Site header - Remove background for nav */
	.site-header {
		display: flex !important;
		align-items: center;
		justify-content: center;
		/* Center content */
		padding: 0;
		margin: 0;
		background: transparent !important;
		/* Removed background */
		border: none;
		position: static;
		z-index: 2;
		height: 100%;
		/* Ensure full height for vertical centering */
		width: 100%;
		/* Fill the 30% container */
	}

	/* Main navigation container */
	.main-navigation {
		margin: 0;
		padding: 0;
		display: flex;
		align-items: center;
		justify-content: center;
		height: 100%;
	}

	/* Hamburger button - Delightful Design */
	.menu-toggle {
		display: flex !important;
		align-items: center;
		justify-content: center;
		padding: 10px;
		margin: 0;
		background: transparent;
		border: none;
		cursor: pointer;
		position: relative;
		z-index: 100000;
		/* Ensure it's above the overlay */
		transition: all 0.3s ease;
		border-radius: 50%;
	}

	.menu-toggle:hover {
		background: rgba(46, 45, 127, 0.1);
	}

	/* Hamburger icon */
	.hamburger {
		display: flex !important;
		flex-direction: column;
		justify-content: space-between;
		width: 30px;
		height: 22px;
		position: relative;
	}

	.hamburger span {
		display: block !important;
		width: 100%;
		height: 3px;
		background-color: #fff !important;
		/* White color */
		border-radius: 3px;
		transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
		/* Bouncy transition */
		transform-origin: center;
		box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
		/* Shadow for visibility on light backgrounds */
	}

	/* Active State (Menu Open) */
	.menu-toggle.active .hamburger span:nth-child(1) {
		transform: translateY(9px) rotate(45deg);
		background-color: #fff !important;
		/* White on Dark Overlay */
	}

	.menu-toggle.active .hamburger span:nth-child(2) {
		opacity: 0;
		transform: scale(0);
	}

	.menu-toggle.active .hamburger span:nth-child(3) {
		transform: translateY(-10px) rotate(-45deg);
		background-color: #fff !important;
		/* White on Dark Overlay */
	}

	/* Pulse animation for the button */
	.menu-toggle:active {
		transform: scale(0.9);
	}

	/* Full screen mobile menu - Premium Design Responsive */
	.main-navigation>ul {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		width: 100vw;
		margin-left: calc(-70vw - 30% + 15px); /* Offset to start from left edge of screen */
		height: auto;
		/* Auto height instead of full screen */
		min-height: 50vh;
		max-height: 80vh;
		/* Prevent it from being too long on small screens */
		background: rgba(14, 14, 60, 0.98);
		/* Deep opaque blue */
		backdrop-filter: blur(15px);
		/* Glassmorphism */
		-webkit-backdrop-filter: blur(15px);
		flex-direction: column;
		justify-content: flex-start;
		align-items: flex-start;
		/* Align left */
		padding: 20px 0;
		/* Remove horizontal padding on container */
		z-index: 99999;
		overflow-y: auto;
		/* Allow scrolling if content is long */
		transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
	}

	.main-navigation.toggled>ul {
		display: flex;
		animation: mobileMenuSlideIn 0.5s cubic-bezier(0.19, 1, 0.22, 1);
	}

	.main-navigation ul li {
		display: block;
		/* Override flex to ensure vertical stacking */
		width: 100%;
		margin: 0;
	}

	/* Responsive Font Sizes for Mobile */
	.main-navigation a {
		padding: 16px 30px;
		/* Increased padding */
		font-size: clamp(14px, 4vw, 16px);
		/* Fluid font size, reduced slightly */
		font-weight: 700;
		color: #fff;
		justify-content: flex-start;
		/* Align text left */
		text-transform: uppercase;
		letter-spacing: 1px;
		border-radius: 0;
		transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
		background: transparent;
		width: 100%;
		display: flex;
		align-items: center;
		/* Ensure vertical center */
		text-align: left;
		border-bottom: 1px solid rgba(255, 255, 255, 0.05);
		/* Separator line */
		min-height: 55px;
		/* Slightly reduced height */
	}

	.main-navigation a:hover {
		background: linear-gradient(90deg, rgba(237, 28, 36, 0.15) 0%, transparent 100%);
		/* Subtle red gradient */
		color: #ed1c24;
		padding-left: 40px;
		/* Slide right effect */
		box-shadow: none;
		border-left: 4px solid #ed1c24;
		/* Red accent line */
	}

	/* Remove border from last item */
	.main-navigation>ul>li:last-child>a {
		border-bottom: none;
	}

	/* Add dropdown indicator for mobile */
	.main-navigation .menu-item-has-children>a::after {
		content: '';
		display: inline-block;
		width: 14px;
		height: 14px;
		margin-left: auto;
		/* Push to right */
		margin-right: 10px;
		background-color: currentColor;
		-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
		mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
		-webkit-mask-repeat: no-repeat;
		mask-repeat: no-repeat;
		-webkit-mask-position: center;
		mask-position: center;
		-webkit-mask-size: contain;
		mask-size: contain;
		transition: transform 0.3s ease;
		opacity: 0.7;
	}

	/* Mobile Submenu - Fix visibility issues */
	.main-navigation ul ul {
		position: static !important;
		width: 100% !important;
		box-shadow: inset 0 10px 20px -10px rgba(0, 0, 0, 0.5);
		/* Inner shadow for depth */
		background-color: rgba(0, 0, 0, 0.2);
		/* Darker background for contrast */
		padding: 10px 0;
		border-top: none;
		border-radius: 0;
		opacity: 1;
		visibility: visible;
		transform: none;
		min-width: auto;
		display: none;
	}

	/* Enable hover opening on mobile - Accordion Style */
	.main-navigation ul li:hover>ul {
		display: block !important;
		position: static !important;
		opacity: 1 !important;
		visibility: visible !important;
		width: 100% !important;
		margin-left: 0 !important;
		left: auto !important;
		top: auto !important;
		animation: mobileSubMenuSlideDown 0.3s ease;
		box-shadow: inset 0 10px 20px -10px rgba(0, 0, 0, 0.5) !important;
		background: rgba(0, 0, 0, 0.2);
	}

	/* Also keep the focus class for click/tap support */
	.main-navigation ul li.focus>ul {
		display: block !important;
		position: static !important;
		opacity: 1 !important;
		visibility: visible !important;
		animation: mobileSubMenuSlideDown 0.3s ease;
		margin-left: 0 !important;
		left: auto !important;
		top: auto !important;
	}

	@keyframes mobileSubMenuSlideDown {
		from {
			opacity: 0;
			transform: translateY(-10px);
		}

		to {
			opacity: 1;
			transform: translateY(0);
		}
	}



	/* Rotate arrow when open */
	.main-navigation .menu-item-has-children.focus>a::after {
		transform: rotate(180deg);
		color: #ed1c24;
	}

	.main-navigation ul ul a {
		color: rgba(255, 255, 255, 0.7) !important;
		padding: 12px 30px 12px 50px;
		/* Deep indentation */
		font-size: 15px;
		border-left: none;
		border-bottom: none;
		font-weight: 500;
		text-transform: none;
		position: relative;
	}

	/* Submenu item bullet point */
	.main-navigation ul ul a::before {
		content: '';
		position: absolute;
		left: 30px;
		top: 50%;
		transform: translateY(-50%);
		width: 6px;
		height: 6px;
		background: rgba(255, 255, 255, 0.3);
		border-radius: 50%;
		transition: all 0.3s ease;
	}

	.main-navigation ul ul a:hover {
		background-color: rgba(255, 255, 255, 0.05);
		color: #fff !important;
		padding-left: 55px;
		/* Slight slide */
		border-left: none;
	}

	.main-navigation ul ul a:hover::before {
		background: #ed1c24;
		transform: translateY(-50%) scale(1.3);
	}
}

/* ==============================================================
# Search Overlay & AJAX Results
============================================================== */
.search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(14, 14, 60, 0.98);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	z-index: 9999999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.4s ease, visibility 0.4s ease;
}

.search-overlay.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.search-overlay-close {
	position: absolute;
	top: 40px;
	right: 40px;
	font-size: 35px;
	color: #fff;
	cursor: pointer;
	transition: all 0.3s ease;
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
}

.search-overlay-close:hover {
	transform: rotate(180deg);
	background: #ed1c24;
	color: #fff;
}

.search-overlay-content {
	width: 100%;
	max-width: 1000px;
	padding: 40px;
	text-align: center;
}

.search-heading {
	margin-bottom: 50px;
}

.search-heading h2 {
	color: #fff;
	font-size: 40px;
	margin-bottom: 15px;
	text-transform: uppercase;
	letter-spacing: 2px;
}

.search-heading p {
	color: rgba(255, 255, 255, 0.6);
	font-size: 18px;
}

.search-form-overlay {
	position: relative;
	margin-bottom: 50px;
}

.search-input-group {
	position: relative;
	border-bottom: 2px solid rgba(255, 255, 255, 0.2);
	transition: border-color 0.3s ease;
}

.search-input-group:focus-within {
	border-color: #ed1c24;
}

.search-field-overlay {
	background: transparent !important;
	border: none !important;
	color: #fff !important;
	font-size: clamp(24px, 5vw, 60px) !important;
	font-weight: 800 !important;
	width: 100% !important;
	padding: 20px 80px 20px 0 !important;
	outline: none !important;
	text-align: left;
}

.search-field-overlay::placeholder {
	color: rgba(255, 255, 255, 0.1);
}

.search-submit-overlay {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	background: transparent !important;
	border: none !important;
	color: #fff !important;
	font-size: 40px !important;
	padding: 0 !important;
	cursor: pointer;
	transition: color 0.3s ease;
}

.search-submit-overlay:hover {
	color: #ed1c24 !important;
}

/* Amazing Search Trigger */
.main-search-toggle {
	background: rgba(255, 255, 255, 0.15);
	border: none;
	color: #fff;
	padding: 10px 20px;
	border-radius: 30px;
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 800;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	border: 2px solid rgba(255, 255, 255, 0.2);
}

.main-search-toggle i {
	font-size: 18px;
	color: #ed1c24;
}

.main-search-toggle:hover {
	transform: translateY(-2px) scale(1.05);
	background: rgba(255, 255, 255, 0.25);
	border-color: #ed1c24;
	box-shadow: 0 5px 15px rgba(237, 28, 36, 0.3);
}

.main-search-toggle span {
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.search-results-ajax {
	margin-top: 30px;
	text-align: left;
	max-height: 50vh;
	overflow-y: auto;
}

.ajax-search-item a {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 20px;
	border-radius: 15px;
	transition: all 0.3s ease;
	text-decoration: none !important;
	background: rgba(255, 255, 255, 0.03);
	margin-bottom: 10px;
}

.ajax-search-item a:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateX(10px);
}

.ajax-search-thumb img {
	width: 70px;
	height: 70px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.ajax-search-info {
	flex: 1;
}

.ajax-search-title {
	color: #fff;
	margin: 0 0 8px 0;
	font-size: 20px;
	font-weight: 700;
}

.ajax-search-meta {
	color: rgba(255, 255, 255, 0.4);
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.ajax-search-view-all {
	display: block;
	text-align: center;
	padding: 20px;
	color: #fff !important;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 2px;
	background: #ed1c24;
	border-radius: 12px;
	margin-top: 20px;
	transition: all 0.3s ease;
}

.ajax-search-view-all:hover {
	background: #c41219;
	transform: translateY(-3px);
	box-shadow: 0 10px 20px rgba(237, 28, 36, 0.3);
}

.ajax-search-no-results {
	color: #fff;
	text-align: center;
	padding: 60px;
	font-size: 20px;
	opacity: 0.7;
}

/* Scrollbar customization */
.search-results-ajax::-webkit-scrollbar {
	width: 8px;
}

.search-results-ajax::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.05);
}

.search-results-ajax::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.2);
	border-radius: 10px;
}

@media screen and (max-width: 768px) {
	.main-search-toggle span {
		display: none;
	}

	.main-search-toggle {
		padding: 10px;
	}

	.search-heading h2 {
		font-size: 24px;
	}

	.search-overlay-close {
		top: 20px;
		right: 20px;
		width: 50px;
		height: 50px;
		font-size: 25px;
	}
}

/* =========================================
   AMAZING FOOTER ENHANCEMENTS (Scoped)
   ========================================= */

/* 1. Main Footer Styling */
.site-footer {
	position: relative;
	background: linear-gradient(135deg, #0f1215 0%, #1e2329 100%) !important;
	color: #a0a6b5;
	overflow: hidden;
	z-index: 1;
}

/* 2. Floating Particles Animation */
.footer-bg-particles {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	z-index: -1;
	/* Behind content */
}

.footer-bg-particles span {
	position: absolute;
	display: block;
	width: 20px;
	height: 20px;
	background: rgba(255, 255, 255, 0.05);
	bottom: -150px;
	animation: animateParticles 25s linear infinite;
}

.footer-bg-particles span:nth-child(1) {
	left: 25%;
	width: 80px;
	height: 80px;
	animation-delay: 0s;
}

.footer-bg-particles span:nth-child(2) {
	left: 10%;
	width: 20px;
	height: 20px;
	animation-delay: 2s;
	animation-duration: 12s;
}

.footer-bg-particles span:nth-child(3) {
	left: 70%;
	width: 20px;
	height: 20px;
	animation-delay: 4s;
}

.footer-bg-particles span:nth-child(4) {
	left: 40%;
	width: 60px;
	height: 60px;
	animation-delay: 0s;
	animation-duration: 18s;
}

.footer-bg-particles span:nth-child(5) {
	left: 65%;
	width: 20px;
	height: 20px;
	animation-delay: 0s;
}

.footer-bg-particles span:nth-child(6) {
	left: 75%;
	width: 110px;
	height: 110px;
	animation-delay: 3s;
}

.footer-bg-particles span:nth-child(7) {
	left: 35%;
	width: 150px;
	height: 150px;
	animation-delay: 7s;
}

.footer-bg-particles span:nth-child(8) {
	left: 50%;
	width: 25px;
	height: 25px;
	animation-delay: 15s;
	animation-duration: 45s;
}

.footer-bg-particles span:nth-child(9) {
	left: 20%;
	width: 15px;
	height: 15px;
	animation-delay: 2s;
	animation-duration: 35s;
}

.footer-bg-particles span:nth-child(10) {
	left: 85%;
	width: 150px;
	height: 150px;
	animation-delay: 0s;
	animation-duration: 11s;
}

@keyframes animateParticles {
	0% {
		transform: translateY(0) rotate(0deg);
		opacity: 1;
		border-radius: 0;
	}

	100% {
		transform: translateY(-1000px) rotate(720deg);
		opacity: 0;
		border-radius: 50%;
	}
}

/* 3. Glassmorphism Widgets */
.site-footer .footer-widget {
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.05);
	padding: 30px;
	border-radius: 15px;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.site-footer .footer-widget:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
	border-color: rgba(212, 175, 55, 0.2);
	/* Gold hint */
}

/* 4. Widget Titles */
.site-footer h2.widget-title {
	color: #fff;
	font-size: 1.2rem;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 25px;
	position: relative;
	padding-bottom: 15px;
	border: none;
	/* Reset */
}

.site-footer h2.widget-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 3px;
	background: #d4af37;
	/* Gold */
	transition: width 0.3s ease;
}

.site-footer .footer-widget:hover h2.widget-title::after {
	width: 80px;
}

/* 5. Scroll Reveal Animation */
.reveal-item {
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

/* Add support for both .visible (legacy) and .active (new JS) */
.reveal-item.visible,
.reveal-item.active {
	opacity: 1 !important;
	transform: translateY(0) !important;
}

/* Fallback: If JS fails, show content */
@media (scripting: none) {
	.reveal-item {
		opacity: 1 !important;
		transform: none !important;
	}
}

/* 6. Magic Mailto Links */
.magic-mailto {
	color: #d4af37 !important;
	font-weight: bold;
	position: relative;
	display: inline-block;
	transition: all 0.3s ease;
}

.magic-mailto:hover {
	color: #f1c40f !important;
	transform: scale(1.1);
	text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* 7. Back to Top Button */
#back-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: #d4af37;
	color: #000;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px);
	transition: all 0.3s ease;
	z-index: 9999;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#back-to-top.show {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

#back-to-top:hover {
	background: #fff;
	transform: translateY(-5px);
}

/* 8. Responsive Fixes */
@media (max-width: 768px) {
	.site-footer .footer-widget {
		margin-bottom: 20px;
	}

	.site-footer h2.widget-title::after {
		left: 50%;
		transform: translateX(-50%);
	}
}

/* =========================================
   MODERN SCROLL TO TOP (Progress Circle)
   ========================================= */
.modern-scroll-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px) scale(0.9);
	transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
	cursor: pointer;
	overflow: hidden;
}

.modern-scroll-top.visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.scroll-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 24px;
	height: 24px;
	color: #1a1a5e;
	/* Deep Blue */
	z-index: 2;
	transition: all 0.3s ease;
}

.modern-scroll-top:hover .scroll-icon {
	color: #ed1c24;
	/* Red on hover */
	transform: translate(-50%, -58%);
	/* Slight lift */
}

/* Progress Ring SVG */
.progress-ring {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
	/* Start from top */
	z-index: 1;
}

.progress-ring__circle {
	transition: stroke-dashoffset 0.1s;
	stroke: #ed1c24;
	/* Red Progress Line */
}

/* Hover Effect - Pulse */
.modern-scroll-top:hover {
	box-shadow: 0 12px 30px rgba(237, 28, 36, 0.3);
}


/* =========================================
   MOBILE MENU FIXES
   ========================================= */
/* Ensure header stays visible when menu is open */
body.mobile-menu-open .header-wrapper {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	z-index: 1000000 !important;
	background: #fff !important;
	/* Force white background so it's not transparent */
}

/* Ensure hamburger is visible */
body.mobile-menu-open .menu-toggle {
	z-index: 1000001 !important;
}


/* =========================================
   PRO LEVEL FEATURES
   ========================================= */




/* 2. Selection Color (Highlight) */
::selection {
	background: #ed1c24;
	/* Brand Red */
	color: #fff;
}

::-moz-selection {
	background: #ed1c24;
	color: #fff;
}

/* 3. Pro Image Hover Effects */
.entry-content img {
	transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.5s ease;
	border-radius: 8px;
	/* Soft corners */
}

.entry-content img:hover {
	transform: scale(1.02);
	/* Subtle zoom */
	filter: brightness(1.1);
	/* Slight brighten */
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 4. Drop Cap for Blog Posts */
.single .entry-content>p:first-of-type::first-letter {
	font-size: 3.5em;
	font-weight: 800;
	float: left;
	margin-right: 12px;
	line-height: 0.8;
	color: #ed1c24;
	/* Red Drop Cap */
}

/* 5. Smooth Anchor Scrolling Offset */
html {
	scroll-padding-top: 100px;
	/* Account for sticky header */
}


/* =========================================
   HOMEPAGE STYLES (FRONT PAGE)
   ========================================= */

/* General Utilities */
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.section-padding {
	padding: 80px 0;
}

.bg-light {
	background-color: #f9f9f9;
}

.text-center {
	text-align: center;
}

/* Section Headers */
.section-title {
	font-size: 2.5rem;
	color: #1a1a5e;
	margin-bottom: 15px;
	text-transform: uppercase;
	font-weight: 800;
}

.section-line {
	width: 60px;
	height: 4px;
	background: #ed1c24;
	margin: 0 auto 50px;
}

/* Hero Section */
.hero-section {
	position: relative;
	height: 90vh;
	/* Full viewport height minus header approx */
	min-height: 600px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: linear-gradient(135deg, #0e0e3c 0%, #2e2d7f 100%);
	color: #fff;
	overflow: hidden;
	margin-top: -20px;
	/* Pull up to overlap any gap */
}

/* Optional: Add a background image if available */
.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url('assets/images/hero-bg.jpg');
	/* Placeholder */
	background-size: cover;
	background-position: center;
	opacity: 0.3;
	z-index: 0;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 800px;
	padding: 20px;
}

.hero-title {
	font-size: clamp(3rem, 6vw, 5rem);
	font-weight: 900;
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 2px;
	text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
	color: #fff;
}

.hero-subtitle {
	font-size: clamp(1.2rem, 2vw, 1.8rem);
	margin-bottom: 40px;
	opacity: 0.9;
	font-weight: 300;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 15px 40px;
	border-radius: 50px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	text-decoration: none;
	transition: all 0.3s ease;
	margin: 0 10px;
}

.btn-primary {
	background: #ed1c24;
	color: #fff;
	box-shadow: 0 5px 15px rgba(237, 28, 36, 0.4);
}

.btn-primary:hover {
	background: #c41219;
	transform: translateY(-3px);
	box-shadow: 0 10px 25px rgba(237, 28, 36, 0.5);
	color: #fff;
}

.btn-secondary {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
	background: #fff;
	color: #1a1a5e;
	border-color: #fff;
	transform: translateY(-3px);
}

/* Scroll Down Animation */
.scroll-down {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}

.scroll-down span {
	display: block;
	width: 20px;
	height: 20px;
	border-bottom: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
	margin: -10px;
	animation: scrollDown 2s infinite;
}

.scroll-down span:nth-child(2) {
	animation-delay: -0.2s;
}

.scroll-down span:nth-child(3) {
	animation-delay: -0.4s;
}

@keyframes scrollDown {
	0% {
		opacity: 0;
		transform: rotate(45deg) translate(-20px, -20px);
	}

	50% {
		opacity: 1;
	}

	100% {
		opacity: 0;
		transform: rotate(45deg) translate(20px, 20px);
	}
}

/* Features Section */
.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.feature-card {
	background: #fff;
	padding: 40px 30px;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	text-align: center;
	transition: all 0.4s ease;
	border: 1px solid #eee;
}

.feature-card:hover {
	transform: translateY(-15px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
	border-color: #ed1c24;
}

.feature-icon {
	color: #ed1c24;
	margin-bottom: 20px;
	display: inline-block;
	padding: 20px;
	background: rgba(237, 28, 36, 0.05);
	border-radius: 50%;
	transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
	background: #ed1c24;
	color: #fff;
	transform: rotateY(180deg);
}

.feature-card h3 {
	font-size: 1.5rem;
	margin-bottom: 15px;
	color: #1a1a5e;
}

/* News Section */
.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.news-card {
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.news-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-thumb {
	height: 200px;
	overflow: hidden;
	background: #ddd;
}

.news-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.news-card:hover .news-thumb img {
	transform: scale(1.1);
}

.news-content {
	padding: 25px;
}

.news-meta {
	font-size: 0.85rem;
	color: #999;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.news-title {
	font-size: 1.25rem;
	margin-bottom: 15px;
	line-height: 1.4;
}

.news-title a {
	color: #1a1a5e;
	text-decoration: none;
}

.news-title a:hover {
	color: #ed1c24;
}

.read-more {
	color: #ed1c24;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.9rem;
	display: inline-block;
	margin-top: 10px;
}

.read-more:hover {
	text-decoration: none;
	letter-spacing: 1px;
}


/* =========================================
   HOMEPAGE NEWS SLIDER
   ========================================= */
.news-slider-section {
	position: relative;
	width: 100%;
	height: 600px;
	/* Adjust height as needed */
	overflow: hidden;
	background: #000;
}

.news-slider-container {
	width: 100%;
	height: 100%;
	position: relative;
}

.news-slider-wrapper {
	display: flex;
	width: 100%;
	height: 100%;
	transition: transform 0.5s ease-in-out;
}

.news-slide {
	min-width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	position: relative;
	display: flex;
	align-items: flex-end;
	/* Text at bottom */
	justify-content: flex-start;
}

.news-slide-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
	z-index: 1;
}

.news-slide-content {
	position: relative;
	z-index: 2;
	padding: 60px 5%;
	max-width: 900px;
	width: 100%;
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.5s ease 0.3s;
	/* Delay for slide animation */
}

/* Active Slide Animation */
.news-slide.active .news-slide-content {
	opacity: 1;
	transform: translateY(0);
}

.news-badge {
	display: inline-block;
	background: #ed1c24;
	color: #fff;
	padding: 5px 15px;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 700;
	border-radius: 4px;
	margin-bottom: 15px;
}

.news-slide-title {
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1.2;
	margin-bottom: 20px;
	font-weight: 800;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.news-slide-title a {
	color: #fff;
	text-decoration: none;
	transition: color 0.3s ease;
}

.news-slide-title a:hover {
	color: #ed1c24;
}

.news-slide-meta {
	display: flex;
	align-items: center;
	gap: 20px;
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
}

.news-btn {
	display: inline-block;
	padding: 10px 25px;
	border: 2px solid #fff;
	color: #fff;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 12px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.news-btn:hover {
	background: #ed1c24;
	border-color: #ed1c24;
	color: #fff;
}

/* Controls */
.slider-controls button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 0, 0, 0.3);
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.3);
	width: 50px;
	height: 50px;
	border-radius: 50%;
	font-size: 20px;
	cursor: pointer;
	z-index: 10;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	outline: none;
}

.slider-controls button:hover {
	background: #ed1c24;
	border-color: #ed1c24;
}

.slider-prev {
	left: 20px;
}

.slider-next {
	right: 20px;
}

/* Dots */
.slider-dots {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 10;
}

.slider-dot {
	width: 12px;
	height: 12px;
	background: rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.3s ease;
}

.slider-dot.active {
	background: #ed1c24;
	transform: scale(1.2);
}

@media (max-width: 768px) {
	.news-slider-section {
		height: 500px;
	}

	.news-slide-content {
		padding: 40px 20px;
	}

	.slider-controls button {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}
}


/* =========================================
   HOCKEY INDIA STYLE HOME BANNER
   ========================================= */
.home-banner-section {
	padding-top: clamp(10px, 3vw, 30px);
	/* Responsive padding */
	padding-bottom: 40px;
	/* background: #f4f4f4; */
	/* Removed to allow background image */
}

.home-banner-section .container {
	max-width: 1400px;
	/* Wider container for banner */
}

.banner-layout {
	display: flex;
	gap: 30px;
	height: 450px;
	/* Reduced height further */
}

/* --- LEFT COLUMN: SLIDER (Flexible) --- */
.banner-slider-col {
	flex: 1;
	/* Takes up remaining space */
	position: relative;
	background: #fff;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
	border-radius: 8px;
	overflow: hidden;
}

.news-slider-container {
	width: 100%;
	height: 100%;
	position: relative;
}

.news-slider-wrapper {
	display: flex;
	width: 100%;
	height: 100%;
	transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.banner-slide {
	min-width: 100%;
	height: 100%;
	background: #fff;
}

.slide-inner {
	display: flex;
	height: 100%;
}

/* Title Column (25% inside slide) */
.slide-title-col {
	flex: 0 0 25%;
	/* Reduced width */
	max-width: 25%;
	background: #fff;
	padding: 20px;
	/* Reduced padding */
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 2;
}

.slide-link-wrap {
	text-decoration: none !important;
	color: inherit;
	display: block;
	height: 100%;
	width: 100%;
}

.slide-link-wrap:hover {
	text-decoration: none !important;
}

.slide-title-box {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.slide-title-box h3 {
	font-size: clamp(1rem, 1.5vw, 1.6rem);
	/* Further reduced font size */
	font-weight: 800;
	color: #1a1a5e;
	/* Deep Blue */
	line-height: 1.3;
	margin-bottom: 20px;
	transition: color 0.3s ease;
	display: -webkit-box;
	-webkit-line-clamp: 7;
	line-clamp: 7;
	/* Increased lines to show full text */
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.slide-link-wrap:hover h3 {
	color: #ed1c24;
	/* Red on hover */
}

.slide-counter {
	margin-top: auto;
	/* Push to bottom */
	padding-top: 10px;
	border-top: 2px solid #f0f0f0;
	/* Nice separator */
	font-family: 'Maven Pro', sans-serif;
	color: #ccc;
	font-size: 1.2rem;
	font-weight: 700;
	display: flex;
	align-items: baseline;
}

.current-slide {
	color: #ed1c24;
	font-size: 2rem;
	line-height: 1;
}

.total-slides {
	font-size: 1.2rem;
	color: #999;
}

.divider {
	font-size: 1.2rem;
	margin: 0 5px;
	color: #ccc;
}

/* Image Column (75% inside slide) */
.slide-image-col {
	flex: 0 0 75%;
	max-width: 75%;
	height: 100%;
	position: relative;
	overflow: hidden;
}

.slide-image-col a {
	display: block;
	height: 100%;
	width: 100%;
}

.slide-img-wrap {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: transform 0.5s ease;
}

.banner-slide:hover .slide-img-wrap {
	transform: scale(1.05);
}

/* Controls */
.banner-controls {
	position: absolute;
	bottom: 0;
	right: 0;
	/* Align with image edge or right corner */
	display: flex;
	z-index: 10;
}

.banner-controls button {
	width: 40px;
	height: 40px;
	background: #1a1a5e;
	color: #fff;
	border: none;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 0;
	/* Square buttons like Hockey India */
}

.banner-controls button:hover {
	background: #ed1c24;
}

/* --- RIGHT COLUMN: STATIC BANNERS (25%) --- */
.banner-static-col {
	flex: 0 0 25%;
	max-width: 25%;
	display: flex;
	flex-direction: column;
	gap: 20px;
	/* Margin removed to ensure full width alignment */
}

.right-banner-item {
	flex: 1;
	border-radius: 8px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.right-banner-item a {
	display: block;
	height: 100%;
	text-decoration: none;
}

.static-banner-content {
	height: 100%;
	padding: 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	transition: transform 0.3s ease;
}

.right-banner-item:hover .static-banner-content {
	transform: translateY(-5px);
}

.static-icon {
	margin-bottom: 15px;
	opacity: 0.9;
}

.static-banner-content h3 {
	font-size: 1.4rem;
	font-weight: 800;
	margin-bottom: 10px;
	text-transform: uppercase;
	line-height: 1.2;
}

.static-banner-content p {
	font-size: 0.9rem;
	opacity: 0.8;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.5);
	padding-bottom: 3px;
}

/* Responsive */
@media (max-width: 1199px) {
	.banner-layout {
		flex-direction: column;
		height: auto;
	}

	.banner-slider-col,
	.banner-static-col {
		flex: 0 0 100%;
		max-width: 100%;
		margin-right: 0;
		/* Reset margin on mobile/tablet */
	}

	.banner-slider-col {
		height: auto !important;
		/* Allow auto height */
		min-height: 450px;
	}

	.banner-slide {
		height: auto !important;
	}

	/* Force Stacked Layout for Tablet/Laptop (<1200px) */
	.slide-inner {
		flex-direction: column-reverse !important;
		/* Text bottom, Image top */
		height: auto !important;
	}

	.slide-title-col {
		flex: 0 0 auto !important;
		/* Auto height based on content */
		max-width: 100% !important;
		width: 100% !important;
		height: auto !important;
		padding: 30px 20px;
	}

	.slide-image-col {
		flex: 0 0 auto !important;
		max-width: 100% !important;
		width: 100% !important;
		height: 300px !important;
		/* Fixed height for image visibility */
		display: block !important;
		visibility: visible !important;
		overflow: hidden;
	}

	.slide-img-wrap {
		height: 100% !important;
		width: 100% !important;
		min-height: 300px;
	}

	.banner-static-col {
		flex-direction: row;
		height: 180px;
		/* Reduced from 200px */
		margin-top: 20px;
	}
}

@media (max-width: 768px) {
	.slide-inner {
		flex-direction: column-reverse !important;
		/* Text bottom, Image top */
		height: auto !important;
	}

	.slide-title-col {
		flex: 0 0 auto !important;
		/* Auto height */
		max-width: 100% !important;
		width: 100% !important;
		height: auto !important;
		padding: 20px 15px;
		/* Reduced padding */
	}

	.slide-image-col {
		flex: 0 0 auto !important;
		max-width: 100% !important;
		width: 100% !important;
		height: 250px !important;
		/* Fixed image height for mobile */
		display: block !important;
		/* Ensure visibility */
		visibility: visible !important;
		overflow: hidden;
	}

	.slide-img-wrap {
		width: 100% !important;
		height: 100% !important;
		min-height: 250px;
	}

	.banner-slider-col {
		height: auto !important;
		min-height: 400px;
	}

	.banner-static-col {
		flex-direction: column;
		height: auto;
		gap: 15px;
	}

	.right-banner-item {
		height: 200px;
	}
}


/* Force Slider Visibility Fix - Cleaned up */
.banner-slide {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Ensure wrapper is flex for horizontal sliding */
.news-slider-wrapper {
	display: flex !important;
	flex-wrap: nowrap !important;
	width: 100%;
	height: 100%;
}

/* Ensure controls are on top */
.banner-controls {
	z-index: 50 !important;
}

/* =========================================
   NEWS HUB SECTION - HOCKEY INDIA STYLE
   ========================================= */
.news-hub-section {
	background-color: #fff;
	padding-bottom: 60px;
}

.hi-article {
	position: relative;
	overflow: hidden;
	height: 100%;
}

.hi-article a {
	text-decoration: none;
}

.hi-article .image-wrapper {
	position: relative;
	overflow: hidden;
	border-radius: 8px;
}

.hi-article .image-wrapper img {
	transition: transform 0.5s ease;
}

.hi-article:hover .image-wrapper img {
	transform: scale(1.05);
}

.item-type-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	padding: 8px;
	border-top-left-radius: 8px;
	box-shadow: -2px -2px 10px rgba(0, 0, 0, 0.1);
}

.item-type-icon i {
	font-size: 1.2rem;
}

.article-title.min {
	font-size: 1.1rem;
	line-height: 1.4;
}

.article-title a {
	color: #000;
	transition: color 0.3s ease;
}

.article-title a:hover,
.hover-red:hover {
	color: #ed1c24 !important;
}

/* Vertical Cards */
.hi-article.vert .info {
	border: 1px solid #eee;
	border-top: none;
	border-radius: 0 0 8px 8px;
}

.hi-article.vert .image-wrapper {
	border-radius: 8px 8px 0 0;
}

.hover-shadow:hover {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.transition {
	transition: all 0.3s ease;
}

/* =========================================
   MEMBER DIRECTORY STYLES (Countries & Federation)
   ========================================= */
.ws-member-grid {
	display: grid;
	gap: 30px;
	margin-bottom: 40px;
}

.ws-member-grid.cols-3 {
	grid-template-columns: repeat(3, 1fr);
}

.ws-member-grid.cols-4 {
	grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 991px) {

	.ws-member-grid.cols-3,
	.ws-member-grid.cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 576px) {

	.ws-member-grid.cols-3,
	.ws-member-grid.cols-4 {
		grid-template-columns: 1fr;
	}
}

.ws-member-card {
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	text-align: center;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	border: 1px solid #eef0f6;
	position: relative;
	overflow: hidden;
}

.ws-member-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
	border-color: #e4e6ee;
}

.ws-member-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(135deg, #ed1c24 0%, #1a1a5e 100%);
	opacity: 0.85;
}

.ws-member-thumb {
	width: 100%;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 15px;
	overflow: hidden;
	border-radius: 5px;
}

.ws-member-thumb.circle {
	width: 150px;
	height: 150px;
	border-radius: 50%;
	margin: 0 auto 16px;
	background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #ed1c24, #1a1a5e) border-box;
	border: 3px solid transparent;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.ws-member-thumb img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.ws-member-thumb.circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.ws-member-card:hover .ws-member-thumb.circle img {
	transform: scale(1.02);
}

.ws-member-title {
	font-size: 1.1rem;
	font-weight: 800;
	margin-bottom: 6px;
	color: #0e0e3c;
	letter-spacing: 0.2px;
}

.ws-member-role {
	font-size: 0.9rem;
	color: #ed1c24;
	font-weight: 700;
	margin-bottom: 12px;
	text-transform: uppercase;
	letter-spacing: 0.6px;
}

.ws-member-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	font-size: 0.86rem;
	color: #0e0e3c;
	text-decoration: none;
	padding: 8px 14px;
	border-radius: 9999px;
	background: #f7f9ff;
	border: 1px solid #e3e8ff;
	transition: all 0.2s ease;
}

.ws-member-link:hover {
	color: #0e0e3c;
	background: #eef2ff;
	border-color: #d6ddff;
	transform: translateY(-1px);
}

/* =========================================
   COUNTRY MEMBERS PAGE
   ========================================= */
.page-hero-header {
	position: relative;
	background: linear-gradient(135deg, #0e0e3c 0%, #2e2d7f 100%);
	padding: 100px 0 60px;
	text-align: center;
	color: #fff;
	margin-bottom: 60px;
}

.page-hero-header .page-title {
	font-size: 3rem;
	font-weight: 800;
	text-transform: uppercase;
	margin-bottom: 10px;
	position: relative;
	z-index: 2;
}

.page-breadcrumb {
	font-size: 1rem;
	opacity: 0.8;
	position: relative;
	z-index: 2;
}

.page-breadcrumb a {
	color: #fff;
	text-decoration: none;
}

/* Filters */
.members-filter-wrap {
	text-align: center;
	margin-bottom: 50px;
}

.filter-btn {
	background: #fff;
	border: 1px solid #ddd;
	padding: 10px 25px;
	border-radius: 30px;
	margin: 5px;
	font-weight: 600;
	color: #555;
	cursor: pointer;
	transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
	background: #ed1c24;
	color: #fff;
	border-color: #ed1c24;
	box-shadow: 0 5px 15px rgba(237, 28, 36, 0.3);
}

/* Country Card */
.country-card {
	background: #fff;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease;
	height: 100%;
	border: 1px solid #f0f0f0;
}

.country-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.flag-wrapper {
	position: relative;
	height: 160px;
	overflow: hidden;
	background: #f9f9f9;
	display: flex;
	align-items: center;
	justify-content: center;
}

.flag-inner {
	width: 80%;
	height: 80%;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.5s ease;
}

.country-card:hover .flag-inner {
	transform: scale(1.1);
}

.flag-inner img {
	max-width: 100%;
	max-height: 100%;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Card Overlay Updated */
.card-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(14, 14, 60, 0.95);
	/* Darker background for text readability */
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.3s ease;
	padding: 20px;
	text-align: center;
}

.overlay-content {
	color: #fff;
	width: 100%;
}

.overlay-content p {
	margin-bottom: 5px;
	font-size: 0.85rem;
	line-height: 1.3;
}

.overlay-content small {
	color: #ccc;
	text-transform: uppercase;
	font-size: 0.7rem;
	margin-right: 5px;
}

.view-details-btn {
	background: transparent;
	border: 1px solid #fff;
	color: #fff;
	padding: 6px 15px;
	border-radius: 20px;
	font-size: 0.8rem;
	cursor: pointer;
	margin-top: 10px;
	transition: all 0.3s ease;
}

.view-details-btn:hover {
	background: #fff;
	color: #1a1a5e;
}

.visit-btn {
	display: inline-block;
	background: #ed1c24;
	color: #fff;
	padding: 6px 15px;
	border-radius: 20px;
	font-weight: 600;
	text-decoration: none;
	font-size: 0.8rem;
	margin-bottom: 5px;
}


.country-info {
	padding: 20px;
	text-align: center;
	border-top: 1px solid #f0f0f0;
}

.country-name {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 5px;
	color: #1a1a5e;
}

.continent-badge {
	display: inline-block;
	background: #eef0f5;
	color: #666;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 0.75rem;
}

/* =========================================
   COMPLIANCE & SAFE SPORT PAGES
   ========================================= */

/* Sidebar Navigation */
.compliance-sidebar {
	z-index: 900 !important;
	/* Fix overlap with header (z-index 1000) */
}

.compliance-sidebar .list-group-item {
	border: none;
	border-bottom: 1px solid #f0f0f0;
	transition: all 0.3s ease;
	font-weight: 500;
	color: #555;
	margin-bottom: 2px;
}

.compliance-sidebar .list-group-item:last-child {
	border-bottom: none;
}

.compliance-sidebar .list-group-item:hover {
	background-color: #f8f9fa;
	color: #1a1a5e;
	padding-left: 20px !important;
	/* Slide effect */
}

.compliance-sidebar .list-group-item.active {
	background-color: #1a1a5e;
	/* Primary Dark Blue */
	color: #fff;
	border-color: #1a1a5e;
	box-shadow: 0 4px 10px rgba(26, 26, 94, 0.3);
}

.compliance-sidebar .dashicons {
	font-size: 20px;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* WADA Widget */
.wada-widget {
	background: #f8f9fa;
	border-top: 1px solid #eee;
}

/* Content Typography - Premium Document Style */
.typography-premium {
	font-family: 'Open Sans', 'Helvetica Neue', sans-serif;
	/* Clean, readable font */
	color: #333;
	line-height: 1.8;
	font-size: 1.05rem;
}

.typography-premium h2 {
	color: #1a1a5e;
	font-weight: 700;
	margin-top: 2rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #f0f0f0;
	font-size: 1.75rem;
}

.typography-premium h3 {
	color: #333;
	font-weight: 600;
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
	font-size: 1.4rem;
}

.typography-premium h4 {
	color: #555;
	font-weight: 600;
	font-size: 1.2rem;
	margin-top: 1.2rem;
}

.typography-premium p {
	margin-bottom: 1.5rem;
	text-align: justify;
	/* Formal document alignment */
}

.typography-premium ul,
.typography-premium ol {
	margin-bottom: 1.5rem;
	padding-left: 1.5rem;
}

.typography-premium li {
	margin-bottom: 0.5rem;
}

.typography-premium a {
	color: #007bff;
	text-decoration: none;
	font-weight: 500;
	border-bottom: 1px dashed #007bff;
}

.typography-premium a:hover {
	color: #0056b3;
	border-bottom-style: solid;
}

.typography-premium blockquote {
	background: #fdfdfd;
	border-left: 4px solid #1a1a5e;
	font-style: italic;
	padding: 1rem 1.5rem;
	margin: 1.5rem 0;
	color: #555;
	border-radius: 0 4px 4px 0;
}

/* Responsive adjustments */
@media (max-width: 991px) {
	.compliance-sidebar {
		position: static !important;
		margin-bottom: 30px;
	}

	.compliance-hero {
		min-height: 200px !important;
		padding: 60px 20px !important;
	}

	.compliance-hero h1 {
		font-size: 1.8rem;
	}
}

/* =========================================
   RESPONSIVE FIXES (Comprehensive Audit)
   ========================================= */

/* Tablet & Mobile (max-width: 991px) */
@media screen and (max-width: 991px) {

	/* --- Inside Persilat Fixes --- */
	/* Remove floating overlap on mobile */
	.compliance-container[style*="margin-top: -100px"] {
		margin-top: -30px !important;
		/* Reduce overlap */
	}

	/* --- Typography Scaling --- */
	h1,
	.typography-premium h1 {
		font-size: 2rem !important;
	}

	h2,
	.typography-premium h2 {
		font-size: 1.75rem !important;
	}

	h3,
	.typography-premium h3 {
		font-size: 1.5rem !important;
	}

	.typography-premium p {
		font-size: 1rem !important;
	}

	/* --- HOME BANNER FIXES --- */
	.banner-layout {
		flex-direction: column;
		height: auto !important;
	}

	.banner-static-col {
		flex: 0 0 100% !important;
		max-width: 100% !important;
		flex-direction: row;
		/* Keep side-by-side on tablet if desired, or column */
		gap: 15px;
	}

	.right-banner-item {
		min-height: 200px;
		/* Ensure visibility */
	}
}

/* Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {

	/* Header items stack tighter */
	.top-bar-right {
		flex-direction: column;
	}

	/* Compliance/Inside Persilat Container */
	.compliance-container {
		margin-top: 0 !important;
		/* No overlap on small screens for safety */
		padding-left: 15px !important;
		padding-right: 15px !important;
	}

	.compliance-content {
		padding: 1.5rem !important;
		/* Reduce padding inside card */
	}

	/* Hero Text */
	.compliance-hero h1,
	.display-4 {
		font-size: 1.8rem !important;
	}

	/* Photo Grid Fix (Inside Persilat) */
	.typography-premium img {
		width: 100% !important;
		/* Stack images on mobile */
		height: auto !important;
		margin: 0 0 15px 0 !important;
		display: block !important;
	}

	/* Values Grid */
	.value-card {
		margin-bottom: 20px;
	}

	/* General Tables */
	table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	/* Footer */
	.site-footer .row>div {
		margin-bottom: 30px;
		text-align: center;
		/* Center footer on mobile */
	}

	/* --- HOME BANNER MOBILE --- */
	.banner-static-col {
		flex-direction: column;
		/* Stack event and gallery on mobile */
	}

	.slide-inner {
		flex-direction: column-reverse;
		/* Image top, text bottom */
	}

	.slide-title-col,
	.slide-image-col {
		flex: 0 0 100% !important;
		max-width: 100% !important;
	}

	.slide-image-col {
		height: 200px;
	}

	.slide-title-col {
		height: auto;
	}
}

.home-video-about {
	background: linear-gradient(135deg, #f7f8ff 0%, #f1f5ff 45%, #fdf2f2 100%);
	position: relative;
	overflow: hidden;
}

.home-video-about::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(600px 260px at 10% 20%, rgba(26, 26, 94, 0.08), transparent 60%),
		radial-gradient(520px 240px at 90% 25%, rgba(237, 28, 36, 0.10), transparent 60%),
		radial-gradient(520px 240px at 50% 100%, rgba(26, 26, 94, 0.06), transparent 60%);
	pointer-events: none;
}

.home-video-about .container {
	position: relative;
	z-index: 1;
}

.home-video-about .video-card {
	background: linear-gradient(135deg, rgba(26, 26, 94, 0.12), rgba(237, 28, 36, 0.12));
	border-radius: 18px;
	padding: 10px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
	border: 1px solid rgba(255, 255, 255, 0.6);
	position: relative;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-video-about .video-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
}

.home-video-about .video-card .ratio {
	border-radius: 14px;
	overflow: hidden;
	background: #0e0e3c;
}

.home-video-about .about-card {
	background: #fff;
	border-radius: 16px;
	padding: 28px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	border: 1px solid rgba(0, 0, 0, 0.05);
	position: relative;
}

.home-video-about .section-title {
	color: #1a1a5e;
	font-weight: 800;
}

.home-video-about .lead {
	color: #0e0e3c;
	font-weight: 600;
}

.home-video-about .section-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 9999px;
	background: rgba(26, 26, 94, 0.08);
	color: #1a1a5e;
	font-weight: 700;
	font-size: 0.8rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-bottom: 10px;
}

.home-video-about .about-highlights {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}

.home-video-about .about-highlights li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 600;
	color: #0e0e3c;
}

.home-video-about .about-highlights i {
	color: #ed1c24;
}
