/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* ==========================================================================
   Design System - CSS Custom Properties
   ========================================================================== */

:root {
    /* Section Spacing - Space between major page sections */
    --section-gap: 30px;
    --section-gap-sm: 20px;
    
    /* Component Spacing - Space within/between components */
    --component-gap: 20px;
    --component-gap-sm: 15px;
    --component-gap-xs: 10px;
    
    /* Inner Element Spacing - Space between elements inside a component */
    --inner-gap: 12px;
    --inner-gap-sm: 8px;
    
    /* Box Styling - Unified appearance for all content boxes */
    --box-bg: #ffffff;
    --box-border-radius: 8px;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --box-border: 1px solid rgba(0, 0, 0, 0.06);
    
    /* Card Styling - For smaller interactive cards */
    --card-border-radius: 6px;
    --card-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    
    /* Container */
    --container-max-width: 1200px;
    --content-max-width: 1100px;
    --container-padding: 20px;
    
    /* Box Headings - Unified styling for section/box titles */
    --box-heading-color: var(--ast-global-color-0, #002E6C);
    --box-heading-size: 1.1rem;
    --box-heading-weight: 700;
    --box-heading-transform: uppercase;
    --box-heading-margin: 0 0 15px 0;
}

@media (max-width: 768px) {
    :root {
        --section-gap: 20px;
        --section-gap-sm: 15px;
        --component-gap: 15px;
        --component-gap-sm: 12px;
        --container-padding: 15px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-gap: 15px;
        --section-gap-sm: 12px;
        --component-gap: 12px;
        --component-gap-sm: 10px;
        --container-padding: 12px;
    }
}

/* ==========================================================================
   Unified Box Heading Styles
   ========================================================================== */

.box-heading,
.standings-title,
.iframe-title,
.sponsors-title {
    /*color: var(--box-heading-color);*/
    color: var(--ast-global-color-2, #1a2a4a);
    /*font-size: var(--box-heading-size);*/
    /*font-weight: var(--box-heading-weight);*/
    /*text-transform: var(--box-heading-transform);*/
    margin: var(--box-heading-margin);
    letter-spacing: 0.3px;
}

/* ==========================================================================
   Custom Header Styles
   ========================================================================== */

.site-header-custom {
    position: relative;
    z-index: 999;
}

/* Header Container */
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Top Bar (Secondary Menu)
   ========================================================================== */

.header-topbar {
    background: var(--header-topbar-bg, #f3f4f6);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.topbar-nav {
    display: flex;
    justify-content: flex-end;
}

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

.topbar-menu li {
    margin: 0;
}

.topbar-menu a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 0;
    color: var(--header-topbar-text, #1a2a4a);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.topbar-menu a::after {
    content: '';
    display: inline-block;
    width: 14px;
    height: 14px;
    background-image: url('../astra-child/images/arrow-forward-outline.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.7;
}

.topbar-menu a:hover {
    opacity: 0.7;
}

/* ==========================================================================
   Main Header
   ========================================================================== */

.header-main {
    background: var(--header-main-bg, #ffffff);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.header-main-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

/* Site Branding */
.site-branding {
    flex-shrink: 0;
}

.site-logo-link {
    display: block;
    text-decoration: none;
}

.site-logo {
    max-height: 60px;
    width: auto;
    display: block;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--header-main-text, #1a2a4a);
}

/* Main Navigation */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

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

.main-menu > li {
    position: relative;
    margin: 0;
}

.main-menu > li > a {
    display: block;
    padding: 6px 4px;
    color: var(--header-main-text, #1a2a4a);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 4px;
    text-transform: uppercase;
    margin: 0 8px;
}

.main-menu > li > a:hover,
.main-menu > li.current-menu-item > a,
.main-menu > li.current-menu-parent > a {
    /*background-color: var(--header-main-text, #1a2a4a);*/
    /*color: #fff;*/
    font-weight: 500;
    border-bottom: 1px solid var(--header-main-text, #1a2a4a);
    border-radius: 0;
}

/* Dropdown Menus */
.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--header-main-bg, #ffffff);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.main-menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-menu .sub-menu li {
    margin: 0;
    position: relative;
}

.main-menu .sub-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    color: var(--header-main-text, #1a2a4a);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.2s ease;
}

.main-menu .sub-menu a:hover {
    font-weight: bold;
}

/* Arrow indicator for items with children */
.main-menu .sub-menu .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-top: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 10px;
    opacity: 0.6;
}

/* Nested submenus (2nd level and beyond) */
.main-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    transform: translateX(10px);
}

.main-menu .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* If submenu would overflow right, show on left instead */
.main-menu .sub-menu .sub-menu.submenu-left {
    left: auto;
    right: 100%;
    transform: translateX(-10px);
}

.main-menu .sub-menu li:hover > .sub-menu.submenu-left {
    transform: translateX(0);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--header-main-text, #1a2a4a);
    transition: all 0.3s ease;
}

/* ==========================================================================
   Homepage Action Buttons Row
   ========================================================================== */

.homepage-action-buttons {
    /*background: #ffffff;*/
}

.homepage-action-buttons .homepage-container {
    padding-top: 15px;
    padding-bottom: 15px;
    margin: var(--section-gap) 0;
}

.homepage-action-buttons .action-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 25px;
    border: 1px solid var(--ast-global-color-0, #1a2a4a);
    color: var(--ast-global-color-0, #1a2a4a);
    background: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}

.action-button:hover {
    opacity: 0.85;
    color: #ffffff;
    background: var(--ast-global-color-0, #1a2a4a);
}

/* Action Button Icon */
.action-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.action-button-icon img,
.action-button-icon svg {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.action-button-icon svg {
    fill: currentColor;
    color: inherit;
}
.action-button-icon svg * {
    stroke: currentColor!important;
}

/* If you want to preserve original icon colors, add this class */
.action-button.preserve-icon-color .action-button-icon img {
    filter: none;
}

.action-button-text {
    white-space: nowrap;
}

/* ==========================================================================
   Mobile Menu Overlay
   ========================================================================== */

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85%;
    height: 100%;
    background: var(--header-main-bg, #ffffff);
    padding: 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--header-main-text, #1a2a4a);
    line-height: 1;
    padding: 0;
}

.mobile-secondary-nav {
    margin-top: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-secondary-nav ul,
.mobile-secondary-nav .mobile-secondary-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-secondary-nav li {
    margin: 0;
}

.mobile-secondary-nav a {
    display: block;
    padding: 12px 0;
    color: var(--header-main-text, #1a2a4a);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.mobile-main-nav {
    padding: 20px 0;
}

.mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu li {
    margin: 0;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-menu > li > a {
    display: block;
    padding: 15px 0;
    color: var(--header-main-text, #1a2a4a);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
}

.mobile-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0 0 10px 15px;
    display: none;
}

.mobile-menu .menu-item-has-children.submenu-open > .sub-menu {
    display: block;
}

/* Arrow indicator for items with children in mobile menu */
.mobile-menu .menu-item-has-children > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-left: 10px;
}

.mobile-menu .menu-item-has-children.submenu-open > a::after {
    transform: rotate(-135deg);
}

.mobile-menu .sub-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
}

/* Nested submenus in mobile */
.mobile-menu .sub-menu .sub-menu {
    padding-left: 15px;
}

/* Body class when mobile menu is open */
body.mobile-menu-open {
    overflow: hidden;
}

/* ==========================================================================
   Header Responsive Styles
   ========================================================================== */

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-topbar {
        display: none;
    }

    .homepage-action-buttons .action-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .action-button {
        padding: 10px 18px;
        font-size: 0.85rem;
        gap: 6px;
    }

    .action-button-icon img {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 768px) {
    .header-main-inner {
        padding: 12px 0;
    }

    .site-logo {
        max-height: 45px;
    }

    .homepage-action-buttons .action-buttons {
        flex-wrap: wrap;
        gap: 8px;
    }

    .action-button {
        padding: 10px 15px;
        font-size: 0.8rem;
        gap: 5px;
    }

    .action-button-icon img {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .mobile-menu-content {
        width: 100%;
        max-width: 100%;
    }
}

/* ==========================================================================
   Homepage News Feed Template Styles
   ========================================================================== */

/* Page background for homepage template */
.page-template-template-homepage {
    /*background-color: inherit;*/
}

.page-template-template-homepage .site-content {
    /*background-color: #f3f4f6;*/
}

.homepage-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    /*padding: var(--section-gap) var(--container-padding);*/
}

/* ==========================================================================
   News Grid Section (5 articles with images)
   ========================================================================== */

.homepage-news-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--component-gap);
    margin-bottom: var(--section-gap);
}

.news-grid-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--component-gap);
}

/* News Item Base Styles */
.news-item {
    background: var(--box-bg);
    overflow: hidden;
    border-radius: var(--box-border-radius);
    box-shadow: var(--box-shadow);
    border: var(--box-border);
}

.news-item-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.news-item-link:hover .news-item-title {
    text-decoration: underline;
}

.news-item-image {
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.news-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.news-item-link:hover .news-item-image img {
    transform: scale(1.05);
}

/* Featured Article (Large, Left Side) */
.news-item-featured {
    grid-row: span 1;
    display: flex;
    flex-direction: column;
}

.news-item-featured .news-item-image {
    height: 380px;
}

.news-item-featured .news-item-content {
    padding: 20px 25px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
}

.news-item-featured .news-item-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #1a2a4a;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

/* Small Articles (2x2 Grid, Right Side) */
.news-item-small {
    display: flex;
    flex-direction: column;
}

.news-item-small .news-item-image {
    height: 130px;
}

.news-item-small .news-item-content {
    padding: 15px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
}

.news-item-small .news-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a2a4a;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

/* News Item Meta */
.news-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 0.85rem;
    margin-top: auto;
}

.news-item-date {
    color: #333;
    font-size: 0.85rem;
}

.news-item-categories a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.8rem;
}

.news-item-categories a:hover {
    color: #1a2a4a;
    text-decoration: underline;
}

/* ==========================================================================
   Info List Section (6 text-only articles)
   ========================================================================== */

.homepage-info-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    /*margin-bottom: var(--section-gap);*/
    padding: 25px 30px;
    background: var(--box-bg);
    box-shadow: var(--box-shadow);
    border-radius: var(--box-border-radius);
    border: var(--box-border);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 15px 20px;
    border-bottom: 1px solid #e5e7eb;
}

/* Remove border from last two items (bottom row) */
.info-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.info-item-content {
    flex: 1;
}

.info-item-link {
    text-decoration: none;
}

.info-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1a2a4a;
    margin: 0 0 5px 0;
    line-height: 1.4;
    transition: text-decoration 0.2s ease;
}

.info-item-link:hover .info-item-title {
    text-decoration: underline;
}

.info-item-date {
    font-size: 0.85rem;
    color: #6b7280;
}

.info-item-categories {
    text-align: right;
    flex-shrink: 0;
    margin-left: 20px;
}

.info-item-categories a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-block;
    margin-left: 5px;
}

.info-item-categories a:hover {
    color: #1a2a4a;
    text-decoration: underline;
}

/* ==========================================================================
   Popular Categories Section
   ========================================================================== */

.homepage-categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--inner-gap);
    padding: var(--component-gap) 0 0 0;
    margin-bottom: var(--section-gap);
}

.category-tag {
    display: inline-block;
    padding: 10px 18px;
    background: var(--box-bg);
    color: #1a2a4a;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border: var(--box-border);
    border-radius: var(--card-border-radius);
    box-shadow: var(--card-shadow);
    transition: all 0.2s ease;
}

.category-tag:hover {
    background: #1a2a4a;
    color: #fff;
    border-color: #1a2a4a;
}

/* ==========================================================================
   Link Boxes Section (4 CTA boxes)
   ========================================================================== */

.homepage-link-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--component-gap);
    margin-top: var(--section-gap);
}

.link-box {
    background: var(--ast-global-color-0, #0274be);
    padding: 30px 25px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 140px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    border-radius: var(--box-border-radius);
}

.link-box:hover {
    opacity: 0.85;
}

.link-box-title {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
}

/* ==========================================================================
   Image Link Boxes Section (2 boxes with image + text)
   ========================================================================== */

.homepage-image-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--component-gap);
    margin-top: var(--section-gap);
}

.image-box {
    display: flex;
    align-items: stretch;
    background: var(--box-bg);
    text-decoration: none;
    box-shadow: var(--box-shadow);
    border: var(--box-border);
    border-radius: var(--box-border-radius);
    overflow: hidden;
    transition: opacity 0.2s ease;
}

.image-box:hover {
    opacity: 0.85;
}

.image-box-image {
    flex: 1;
    overflow: hidden;
}

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

.image-box-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 25px 30px;
    background: #fff;
}

.image-box-title {
    color: #1a2a4a;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

@media (max-width: 992px) {
    .homepage-news-grid {
        grid-template-columns: 1fr;
    }

    .news-grid-right {
        grid-template-columns: 1fr 1fr;
    }

    .news-item-featured .news-item-image {
        height: 300px;
    }

    .homepage-link-boxes {
        grid-template-columns: repeat(2, 1fr);
    }

    .homepage-image-boxes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .homepage-container {
        padding: 15px;
    }

    .news-grid-right {
        grid-template-columns: 1fr;
    }

    .news-item-featured .news-item-image {
        height: 250px;
    }

    .news-item-small .news-item-image {
        height: 180px;
    }

    .news-item-featured .news-item-title {
        font-size: 1.25rem;
    }

    .news-item-featured .news-item-content,
    .news-item-small .news-item-content {
        padding: 15px 18px 18px;
    }

    .homepage-info-list {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 20px;
    }

    .info-item {
        flex-direction: column;
        padding: 15px 10px;
    }

    /* On mobile, only keep border on items except the last one */
    .info-item:nth-last-child(-n+2) {
        border-bottom: 1px solid #e5e7eb;
    }

    .info-item:last-child {
        border-bottom: none;
    }

    .info-item-categories {
        text-align: left;
        margin-left: 0;
        margin-top: 10px;
    }

    .homepage-categories {
        gap: 10px;
    }

    .category-tag {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .homepage-link-boxes {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 25px;
    }

    .link-box {
        padding: 25px 20px;
        min-height: 120px;
    }

    .link-box-title {
        font-size: 1rem;
    }

    .homepage-image-boxes {
        gap: 15px;
        margin-top: 15px;
    }

    .image-box-content {
        padding: 20px 25px;
    }

    .image-box-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .homepage-container {
        padding: 12px;
    }

    .homepage-news-grid,
    .homepage-info-list {
        gap: 12px;
    }

    .news-item-featured .news-item-image {
        height: 200px;
    }

    .news-item-featured .news-item-title {
        font-size: 1.1rem;
    }

    .news-item-small .news-item-title {
        font-size: 0.9rem;
    }

    .news-item-featured .news-item-content,
    .news-item-small .news-item-content {
        padding: 12px 15px 15px;
    }

    .homepage-info-list {
        padding: 15px;
    }

    .info-item {
        padding: 12px 8px;
    }

    .homepage-link-boxes {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .link-box {
        padding: 20px 15px;
        min-height: 100px;
    }

    .link-box-title {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }

    .link-box-link {
        font-size: 0.9rem;
    }

    .homepage-image-boxes {
        gap: 12px;
    }

    .image-box-content {
        padding: 15px 20px;
    }

    .image-box-title {
        font-size: 0.95rem;
    }
}

/* ==========================================================================
   Teams Page Template Styles
   ========================================================================== */

.page-template-template-teams {
    /*background-color: #f3f4f6;*/
}

.page-template-template-teams .site-content {
    /*background-color: #f3f4f6;*/
}

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

/* Teams Hero Section */
.teams-hero {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.teams-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.teams-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 40px 20px;
}

.teams-hero-overlay .teams-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Teams Header (without hero image) */
.teams-header {
    padding: 40px 20px;
    text-align: center;
    margin-top: var(--section-gap, 30px);

    background: var(--box-bg);
    border-radius: var(--box-border-radius);
    box-shadow: var(--box-shadow);
    border: var(--box-border);
}

.teams-header .teams-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a2a4a;
    margin: 0;
}

/* Teams Content */
.teams-content {
    background: var(--box-bg);
    padding: 40px;
    border-radius: var(--box-border-radius);
    box-shadow: var(--box-shadow);
    border: var(--box-border);
    margin-bottom: var(--section-gap);
    margin-left: 0;
    margin-right: 0;
}

.teams-content > *:first-child {
    margin-top: 0;
}

.teams-content > *:last-child {
    margin-bottom: 0;
}

/* Team Standings Section */
.team-standings-wrapper {
    max-width: var(--content-max-width);
    margin: var(--section-gap) auto;
    padding: 0 var(--container-padding);
}

.teams-content-box {
    background: var(--box-bg);
    padding: 30px;
    border-radius: var(--box-border-radius);
    box-shadow: var(--box-shadow);
    border: var(--box-border);
}

/* .standings-title styles are now unified in the design system */

.teams-content-box .standings-widgets {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.teams-content-box .standings-widget {
    min-width: 100%;
}

/* Team Iframe Section */
.team-iframe-wrapper {
    max-width: var(--content-max-width);
    margin: var(--section-gap) auto;
    padding: 0 var(--container-padding);
}

/* .iframe-title styles are now unified in the design system */

.iframe-responsive {
    position: relative;
    width: 100%;
    min-height: 600px;
}

.team-results-iframe {
    width: 100%;
    min-height: 800px;
    border: none;
    border-radius: 8px;
    background: #fff;
}

/* Teams Responsive Styles */
@media (max-width: 992px) {
    .teams-hero {
        height: 250px;
    }

    .teams-hero-overlay .teams-title,
    .teams-header .teams-title {
        font-size: 2rem;
    }

    .teams-content {
        padding: 30px;
    }

    .team-standings-wrapper,
    .team-iframe-wrapper {
        margin: var(--section-gap-sm) auto;
        padding: 0 var(--container-padding);
    }

    .teams-content-box {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .team-results-iframe {
        min-height: 600px;
    }
    .teams-hero {
        height: 200px;
    }

    .teams-hero-overlay {
        padding: 30px 15px;
    }

    .teams-hero-overlay .teams-title,
    .teams-header .teams-title {
        font-size: 1.75rem;
    }

    .teams-header {
        padding: 30px 15px;
    }

    .teams-content {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .teams-hero {
        height: 180px;
    }

    .teams-hero-overlay .teams-title,
    .teams-header .teams-title {
        font-size: 1.5rem;
    }

    .teams-content {
        padding: 20px 15px;
    }
}

/* ==========================================================================
   Custom Footer Styles
   ========================================================================== */

.site-footer-custom {
    margin-top: auto;
}

/* Sponsors Section */
.footer-sponsors {
    background: var(--footer-sponsors-bg-color, #f3f4f6);
    padding: 40px 0;
}

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

.sponsor-tier {
    margin-bottom: 40px;
    text-align: center;
}

.sponsor-tier:last-child {
    margin-bottom: 0;
}

.sponsor-tier-title {
    /*font-size: 0.85rem;*/
    /*color: #6b7280;*/
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px 0;
}

.sponsor-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 15px;
}

.sponsor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--box-bg);
    box-shadow: var(--box-shadow);
    border: var(--box-border);
    border-radius: var(--card-border-radius);
    overflow: hidden;
    transition: opacity 0.2s ease;
    padding: 15px;
    box-sizing: border-box;
}

.sponsor-logo:hover {
    opacity: 0.8;
}

.sponsor-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Sponsor Logo Sizes - Fixed width and height boxes */
.sponsor-tier-xl .sponsor-logo {
    width: 280px;
    height: 140px;
    padding: 20px;
}

.sponsor-tier-l .sponsor-logo {
    width: 220px;
    height: 110px;
    padding: 18px;
}

.sponsor-tier-m .sponsor-logo {
    width: 170px;
    height: 85px;
    padding: 15px;
}

.sponsor-tier-s .sponsor-logo {
    width: 130px;
    height: 65px;
    padding: 12px;
}

.sponsor-tier-xs .sponsor-logo {
    width: 100px;
    height: 50px;
    padding: 10px;
}

/* Main Footer */
.footer-main {
    background: var(--footer-bg-color, #1a2a4a);
    color: var(--footer-text-color, #ffffff);
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: start;
}

.footer-column-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 20px 0;
    color: var(--footer-text-color, #ffffff);
}

/* Contact Column (Left) */
.footer-contact {
    text-align: left;
}

.footer-contact p {
    margin: 0 0 10px 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact a {
    color: var(--footer-link-color, #ffffff);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

/* Logo Column (Middle) */
.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-link {
    display: block;
}

.footer-site-logo {
    max-width: 180px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.footer-site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--footer-text-color, #ffffff);
    text-decoration: none;
}

/* Right Column (Links + Social) */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.footer-right .footer-nav {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: flex-end;
}

.footer-right .footer-nav a {
    color: var(--footer-link-color, #ffffff);
    text-decoration: none;
    font-size: 0.9rem;
    transition: opacity 0.2s ease;
}

.footer-right .footer-nav a:hover {
    opacity: 0.7;
}

.footer-right .social-icons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.footer-contact a:hover {
    opacity: 0.7;
}

/* Links Column */
.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: var(--footer-link-color, #ffffff);
    text-decoration: none;
    font-size: 0.95rem;
    transition: opacity 0.2s ease;
}

.footer-nav a:hover {
    opacity: 0.7;
}

/* Social Column */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--footer-link-color, #ffffff);
    transition: opacity 0.2s ease;
}

.social-icon:hover {
    opacity: 0.7;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Copyright */
.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-logo {
        grid-column: span 2;
        order: -1;
        margin-bottom: 10px;
    }

    .footer-right {
        align-items: flex-end;
    }

    .footer-right .footer-nav {
        align-items: flex-end;
    }

    .footer-right .social-icons {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .footer-sponsors {
        padding: 30px 0;
    }

    .sponsor-tier {
        margin-bottom: 30px;
    }

    .sponsor-logos {
        gap: 12px;
    }

    /* Reduce logo box sizes on tablet */
    .sponsor-tier-xl .sponsor-logo {
        width: 200px;
        height: 100px;
        padding: 15px;
    }

    .sponsor-tier-l .sponsor-logo {
        width: 160px;
        height: 80px;
        padding: 12px;
    }

    .sponsor-tier-m .sponsor-logo {
        width: 130px;
        height: 65px;
        padding: 10px;
    }

    .sponsor-tier-s .sponsor-logo {
        width: 100px;
        height: 50px;
        padding: 8px;
    }

    .sponsor-tier-xs .sponsor-logo {
        width: 80px;
        height: 40px;
        padding: 6px;
    }

    .footer-main {
        padding: 40px 0 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-logo {
        grid-column: auto;
        order: -1;
    }

    .footer-right {
        align-items: center;
    }

    .footer-right .footer-nav {
        align-items: center;
    }

    .footer-right .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-sponsors {
        padding: 25px 0;
    }

    .sponsor-tier {
        margin-bottom: 25px;
    }

    .sponsor-logos {
        gap: 10px;
    }

    /* Further reduce logo box sizes on small mobile */
    .sponsor-tier-xl .sponsor-logo {
        width: 150px;
        height: 75px;
        padding: 12px;
    }

    .sponsor-tier-l .sponsor-logo {
        width: 130px;
        height: 65px;
        padding: 10px;
    }

    .sponsor-tier-m .sponsor-logo {
        width: 110px;
        height: 55px;
        padding: 8px;
    }

    .sponsor-tier-s .sponsor-logo {
        width: 90px;
        height: 45px;
        padding: 6px;
    }

    .sponsor-tier-xs .sponsor-logo {
        width: 70px;
        height: 35px;
        padding: 5px;
    }

    .footer-main {
        padding: 30px 0 20px;
    }

    .footer-content {
        gap: 25px;
    }
}
nav.navigation.post-navigation {
    display: none;
}
header.entry-header .entry-meta {
    font-size: 0;
}
header.entry-header .entry-meta span.posted-on {
    font-size: 14px;
}
