:root {
    --primary-color: #ffcd00;
    --black: #000000;
    --white: #ffffff;
    --text-color: #333333;
    --font-main: 'Montserrat', sans-serif;
    --font-display: 'Bebas Neue', 'Impact', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
}

a {
    color: var(--black);
    font-weight: 700;
    text-decoration: underline;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background-color: var(--white);
    padding: 18px 0;
    position: relative;
    z-index: 10;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-logo img {
    height: 80px;
    width: auto;
}

.hero-logo {
    margin-bottom: 20px;
}

.hero-logo a {
    text-decoration: none;
}

.hero-logo img {
    height: 120px;
    width: auto;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    color: var(--black);
}

.primary-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.primary-menu li a {
    text-decoration: none;
    color: var(--black);
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.primary-menu li a:hover,
.primary-menu li a.active,
.primary-menu li.current-menu-item > a {
    background-color: var(--black);
    color: var(--white);
}

/* Hero Section */
.hero-section {
    background-image: url('../assets/images/banner-bg.jpg');
    background-size: auto 100%;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    padding: 50px 0 60px;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 400px;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(255, 205, 0, 0.15);
}

.hero-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-waves::before,
.hero-waves::after {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 5;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: 58px;
    font-weight: 400;
    color: var(--black);
    margin-bottom: 30px;
    line-height: 1.0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 0 rgba(255,255,255,0.3);
}

.hero-content a {
    color: var(--black);
}

.hero-content a:hover {
    color: var(--white);
}

.post-meta {
    margin-bottom: 20px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.post-meta-sep {
    margin: 0 10px;
    opacity: 0.5;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 400;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 20px;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #333;
}

.hero-waves {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.wave-top {
    width: 100%;
    height: auto;
}

/* Video Grid */
.content-area {
    padding: 80px 0;
}

/* Single Page Content Width */
.single .content-area,
.page .content-area {
    max-width: 1040px; /* 1000px + 20px padding on each side */
    margin: 0 auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.video-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
    aspect-ratio: 16 / 9;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-info {
    padding: 0;
}

.video-title {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 400;
    margin: 0 0 10px;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.video-title a {
    color: var(--black);
    text-decoration: none;
    font-weight: 400;
}

/* Responsive Embeds */
.post-content iframe,
.post-content object,
.post-content embed {
    max-width: 100%;
    width: 100%;
}

/* Post Tags Styling */
.post-tags {
    margin: 40px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.tags-label {
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--black);
    text-transform: uppercase;
}

.tag-pill {
    display: inline-block;
    background-color: #f1f1f1;
    color: var(--black);
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag-pill:hover {
    background-color: var(--primary-color);
    color: var(--black);
    text-decoration: none;
}

.post-navigation {
    margin: 50px 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.post-nav-btn {
    flex: 1;
    text-align: center;
    font-size: 16px !important;
}

.wp-block-embed-youtube,
.wp-block-embed {
    margin-left: 0;
    margin-right: 0;
    width: 100% !important;
}

.wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
}

.wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-excerpt {
    font-size: 12px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.btn-outline {
    background-color: var(--black);
    color: var(--white);
    padding: 8px 20px;
    font-size: 12px;
}

.btn-black {
    background-color: var(--black);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 30px;
}

.load-more {
    text-align: center;
    margin-top: 50px;
}

/* Footer */
.site-footer {
    background-color: var(--black);
    color: var(--white);
    padding: 60px 0 20px;
    text-align: center;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 30px;
}

.footer-social {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-social a {
    color: var(--white);
    font-size: 20px;
    text-decoration: none;
}

.footer-social a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.copyright {
    font-size: 12px;
    opacity: 0.6;
}

.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;
	width: 1px;
	word-wrap: normal !important;
}

.archive-description {
    font-size: 18px;
    margin-top: 10px;
    opacity: 0.9;
}

.search-hero .page-title span {
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
}

.pagination {
    margin-top: 50px;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }
    .hero-section {
        margin-bottom: 40px;
    }
    .hero-content h1 {
        font-size: 38px;
    }
    .header-content {
        flex-direction: column;
        gap: 15px;
        position: relative;
    }
    .menu-toggle {
        display: block;
        margin-bottom: 5px;
    }
    .main-navigation {
        display: none;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        border-radius: 10px;
        margin-top: 10px;
        overflow: hidden;
    }
    .main-navigation.toggled {
        display: block;
    }
    .primary-menu {
        flex-direction: column;
        gap: 0;
        text-align: center;
        padding: 10px 0;
    }
    .primary-menu li {
        width: 100%;
    }
    .primary-menu li a {
        display: block;
        padding: 15px;
        border-radius: 0;
    }
    .primary-menu li a:hover,
    .primary-menu li a.active,
    .primary-menu li.current-menu-item > a {
        background-color: var(--primary-color);
        color: var(--black);
    }
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}
