.elementor-15602 .elementor-element.elementor-element-c780b73{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-15602 .elementor-element.elementor-element-c780b73:not(.elementor-motion-effects-element-type-background), .elementor-15602 .elementor-element.elementor-element-c780b73 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#2D2D2D;}.elementor-15602 .elementor-element.elementor-element-0737ccc .elementor-heading-title{text-transform:uppercase;color:#FFFFFF;}.elementor-15602 .elementor-element.elementor-element-c2bee40{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--align-items:stretch;--gap:48px 48px;--row-gap:48px;--column-gap:48px;--padding-top:40px;--padding-bottom:60px;--padding-left:24px;--padding-right:24px;}.elementor-15602 .elementor-element.elementor-element-c2bee40:not(.elementor-motion-effects-element-type-background), .elementor-15602 .elementor-element.elementor-element-c2bee40 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F7F7F7;}.elementor-15602 .elementor-element.elementor-element-6f2b1b8{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-15602 .elementor-element.elementor-element-6424af0{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-15602 .elementor-element.elementor-element-e4376bc{--display:flex;}@media(min-width:768px){.elementor-15602 .elementor-element.elementor-element-c2bee40{--content-width:1200px;}.elementor-15602 .elementor-element.elementor-element-6424af0{--width:500px;}}/* Start custom CSS *//* ============================================================
   MATCH POST TEMPLATE — STYLES
   File: /wp-content/themes/action-gunner/assets/css/match-post.css
   Or append to existing theme stylesheet
   ============================================================ */

/* --- Hero Breadcrumbs --- */
.ag-match-breadcrumbs {
    font-size: 13px;
    color: #9A9A9A;
    margin-bottom: 16px;
}
.ag-match-breadcrumbs a { color: #9A9A9A; text-decoration: none; }
.ag-match-breadcrumbs a:hover { color: #ccc; }
.ag-match-breadcrumbs .sep { margin: 0 6px; }
.ag-match-breadcrumbs .current { color: #ccc; }

/* --- Hero Badges --- */
.ag-match-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.ag-match-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 4px;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.badge-discipline { background: #E07D3A; color: white; }

.badge-status {
    background: rgba(45, 139, 78, 0.15);
    color: #4CAF50;
    border: 1px solid rgba(45, 139, 78, 0.3);
}
.badge-status.closed {
    background: rgba(192, 57, 43, 0.15);
    color: #e74c3c;
    border-color: rgba(192, 57, 43, 0.3);
}
.badge-status.pending {
    background: rgba(241, 196, 15, 0.15);
    color: #f1c40f;
    border-color: rgba(241, 196, 15, 0.3);
}

.badge-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: ag-pulse-dot 2s infinite;
}

@keyframes ag-pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* --- Hero Meta Line --- */
.ag-match-hero-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    color: #ccc;
    font-size: 15px;
}

.ag-match-hero-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ag-match-hero-meta .meta-sep { color: #555; }

.ag-match-hero-meta [data-meta="date"]::before,
.ag-match-hero-meta [data-meta="location"]::before,
.ag-match-hero-meta [data-meta="stages"]::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.ag-match-hero-meta [data-meta="date"]::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='1' y='3' width='14' height='12' rx='2' stroke='%23ccc' stroke-width='1.5'/%3E%3Cpath d='M1 7h14M5 1v4M11 1v4' stroke='%23ccc' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.ag-match-hero-meta [data-meta="location"]::before {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 1C5.24 1 3 3.24 3 6c0 3.75 5 9 5 9s5-5.25 5-9c0-2.76-2.24-5-5-5z' stroke='%23ccc' stroke-width='1.5'/%3E%3Ccircle cx='8' cy='6' r='1.5' stroke='%23ccc' stroke-width='1.5'/%3E%3C/svg%3E");
}


/* ============================================================
   MATCH INFO CARD
   ============================================================ */
.ag-match-info-card {
    background: #FFFFFF;
    border: 1px solid #E0DDD8;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 32px;
}

.ag-match-info-header {
    background: #2D2D2D;
    color: white;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ag-match-info-header h2 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    border: none !important;
    padding: 0;
    color: white;
}

.ag-match-countdown {
    font-size: 13px;
    font-weight: 600;
    color: #E07D3A;
}

.ag-match-past { color: #9A9A9A; }

.ag-match-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.ag-match-info-item {
    padding: 16px 24px;
    border-bottom: 1px solid #E0DDD8;
}

.ag-match-info-item:nth-child(odd) {
    border-right: 1px solid #E0DDD8;
}

.ag-match-info-item:nth-last-child(-n+2) {
    border-bottom: none;
}

/* Single item in last row — remove bottom border */
.ag-match-info-item:last-child {
    border-bottom: none;
}

.ag-match-info-item.full-width {
    grid-column: 1 / -1;
    border-right: none;
}

.ag-info-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #9A9A9A;
    margin-bottom: 4px;
}

.ag-info-value {
    font-size: 15px;
    font-weight: 600;
    color: #2D2D2D;
    line-height: 1.35;
}

.ag-info-value a {
    color: #E07D3A;
    font-weight: 600;
}

.ag-info-address {
    font-weight: 400;
    font-size: 13px;
    color: #5A5A5A;
}


/* ============================================================
   CTA ROW
   ============================================================ */
.ag-match-cta-row {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.ag-match-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.2s;
}

.ag-cta-primary {
    background: #E07D3A;
    color: white !important;
}
.ag-cta-primary:hover { background: #c96a2e; }

.ag-cta-secondary {
    background: #F0EEEB;
    color: #2D2D2D !important;
    border: 1px solid #E0DDD8;
}
.ag-cta-secondary:hover {
    border-color: #E07D3A;
    color: #E07D3A !important;
}

.ag-cta-disabled {
    background: #E0DDD8;
    color: #9A9A9A !important;
    cursor: default;
    pointer-events: none;
}


/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.ag-match-section {
    margin-bottom: 36px;
}

.ag-match-section h2 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2D2D2D;
    padding-bottom: 10px;
    border-bottom: 2px solid #E0DDD8;
    margin-bottom: 16px;
}

/* Description */
.ag-match-description {
    font-size: 16px;
    line-height: 1.75;
}

.ag-match-description p {
    margin-bottom: 14px;
}

.ag-match-description p:last-child {
    margin-bottom: 0;
}

/* Divisions */
.ag-match-divisions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.ag-division-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #F0EEEB;
    border: 1px solid #E0DDD8;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #3A3A3A;
}

/* Schedule */
.ag-match-schedule {
    margin-top: 12px;
}

.ag-schedule-row {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #E0DDD8;
    align-items: flex-start;
}

.ag-schedule-row:last-child {
    border-bottom: none;
}

.ag-schedule-date {
    flex-shrink: 0;
    width: 110px;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #E07D3A;
    padding-top: 1px;
}

.ag-schedule-detail {
    font-size: 14px;
    color: #3A3A3A;
    line-height: 1.5;
}

/* What's Included */
.ag-match-included-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
    margin-top: 12px;
}

.ag-match-included-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #3A3A3A;
    padding: 6px 0;
}

.ag-match-included-item::before {
    content: '✓';
    color: #2D8B4E;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}

/* Location */
.ag-match-location-box {
    background: #FFFFFF;
    border: 1px solid #E0DDD8;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 12px;
}

.ag-match-map {
    border-bottom: 1px solid #E0DDD8;
}

.ag-match-map iframe {
    display: block;
}

.ag-match-location-detail {
    padding: 16px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.ag-match-address {
    font-size: 14px;
    line-height: 1.6;
    color: #3A3A3A;
}

.ag-match-address strong {
    display: block;
    font-size: 15px;
    color: #2D2D2D;
    margin-bottom: 2px;
}

.ag-match-directions {
    flex-shrink: 0;
    font-size: 13px;
    font-weight: 600;
    color: #E07D3A;
    white-space: nowrap;
    text-decoration: none;
}
.ag-match-directions:hover { text-decoration: underline; }

/* Video */
.ag-match-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    margin-top: 12px;
}

.ag-match-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
}


/* ============================================================
   AG EDITOR NOTES
   ============================================================ */
.ag-match-notes {
    background: #FFFFFF;
    border: 2px solid #E07D3A;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 36px;
}

.ag-match-notes-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.ag-notes-icon {
    width: 32px;
    height: 32px;
    background: #E07D3A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.ag-match-notes-header h3 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2D2D2D;
    margin: 0;
}

.ag-match-notes p {
    font-size: 14px;
    line-height: 1.7;
    color: #3A3A3A;
    margin-bottom: 10px;
}

.ag-match-notes p:last-child {
    margin-bottom: 0;
}


/* ============================================================
   SIDEBAR: REGISTRATION CARD
   ============================================================ */
.ag-sidebar-reg-card {
    background: #FFFFFF;
    border: 2px solid #E07D3A;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
}

.ag-sidebar-reg-header {
    background: #E07D3A;
    padding: 14px 20px;
    text-align: center;
}

.ag-sidebar-reg-header span {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: white;
}

.ag-sidebar-reg-body {
    padding: 20px;
    text-align: center;
}

.ag-sidebar-reg-fee {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #2D2D2D;
    margin-bottom: 4px;
}

.ag-sidebar-reg-note {
    font-size: 12px;
    color: #9A9A9A;
    margin-bottom: 16px;
}

.ag-sidebar-reg-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #E07D3A;
    color: white !important;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background 0.2s;
    margin-bottom: 10px;
}

.ag-sidebar-reg-btn:hover { background: #c96a2e; }

.ag-sidebar-reg-source {
    font-size: 12px;
    color: #9A9A9A;
}

.ag-sidebar-reg-closed {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #C0392B;
    padding: 14px 0;
}

.ag-sidebar-reg-pending {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9A9A9A;
    padding: 10px 0;
}


/* ============================================================
   SIDEBAR: QUICK LINKS
   ============================================================ */
.ag-sidebar-links {
    background: #FFFFFF;
    border: 1px solid #E0DDD8;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
}

.ag-sidebar-links h3 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #9A9A9A;
    margin-bottom: 12px;
}

.ag-sidebar-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #E0DDD8;
    font-size: 14px;
    font-weight: 600;
    color: #2D2D2D !important;
    text-decoration: none !important;
    transition: color 0.15s;
}

.ag-sidebar-link-item:last-child { border-bottom: none; }
.ag-sidebar-link-item:hover { color: #E07D3A !important; }

.ag-sidebar-link-icon {
    width: 32px;
    height: 32px;
    background: #F0EEEB;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}


/* ============================================================
   SIDEBAR: DISCIPLINE GUIDE CTA
   ============================================================ */
.ag-sidebar-guide-cta {
    background: #2D2D2D;
    border-radius: 8px;
    padding: 24px 20px;
    text-align: center;
    margin-bottom: 24px;
}

.ag-guide-label {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #E07D3A;
    margin-bottom: 8px;
}

.ag-guide-title {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: white;
    line-height: 1.3;
    margin-bottom: 12px;
}

.ag-guide-desc {
    font-size: 13px;
    color: #999;
    line-height: 1.5;
    margin-bottom: 16px;
}

.ag-sidebar-guide-cta a {
    display: inline-block;
    padding: 10px 20px;
    background: #E07D3A;
    color: white !important;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none !important;
    transition: background 0.2s;
}

.ag-sidebar-guide-cta a:hover { background: #c96a2e; }


/* ============================================================
   SIDEBAR: MORE MATCHES
   ============================================================ */
.ag-sidebar-more-matches {
    background: #FFFFFF;
    border: 1px solid #E0DDD8;
    border-radius: 8px;
    overflow: hidden;
}

.ag-sidebar-more-header {
    padding: 14px 20px;
    border-bottom: 1px solid #E0DDD8;
}

.ag-sidebar-more-header h3 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #9A9A9A;
    margin: 0;
}

.ag-sidebar-match-item {
    display: block;
    padding: 14px 20px;
    border-bottom: 1px solid #E0DDD8;
    text-decoration: none !important;
    transition: background 0.15s;
}

.ag-sidebar-match-item:last-of-type { border-bottom: none; }
.ag-sidebar-match-item:hover { background: #F0EEEB; }

.ag-sidebar-match-date {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #E07D3A;
    margin-bottom: 3px;
}

.ag-sidebar-match-name {
    font-size: 14px;
    font-weight: 600;
    color: #2D2D2D;
    line-height: 1.3;
    margin-bottom: 3px;
}

.ag-sidebar-match-loc {
    font-size: 12px;
    color: #9A9A9A;
}

.ag-sidebar-more-footer {
    padding: 12px 20px;
    border-top: 1px solid #E0DDD8;
    text-align: center;
}

.ag-sidebar-more-footer a {
    font-size: 13px;
    font-weight: 600;
    color: #E07D3A;
}


/* ============================================================
   RELATED CONTENT (Full-width)
   ============================================================ */
.ag-match-related-section {
    padding: 0 0 48px;
}

.ag-match-related-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.ag-match-related-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E0DDD8;
}

.ag-match-related-header h2 {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #2D2D2D;
    margin: 0;
    border: none !important;
    padding: 0;
}

.ag-match-related-header a {
    font-size: 13px;
    font-weight: 600;
    color: #E07D3A;
}

.ag-match-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ag-match-related-card {
    background: #FFFFFF;
    border: 1px solid #E0DDD8;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.ag-match-related-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.ag-match-related-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #F0EEEB;
    background-size: cover;
    background-position: center;
}

.ag-match-related-card-body {
    padding: 16px;
    flex: 1;
}

.ag-match-related-card-cat {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #E07D3A;
    margin-bottom: 4px;
}

.ag-match-related-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #2D2D2D;
    line-height: 1.3;
}


/* ============================================================
   POST NAVIGATION
   ============================================================ */
.ag-match-post-nav {
    max-width: 1140px;
    margin: 0 auto;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    border-top: 1px solid #E0DDD8;
}

.ag-match-nav-item {
    text-decoration: none !important;
    padding: 16px;
    border-radius: 6px;
    transition: background 0.15s;
    display: block;
}

a.ag-match-nav-item:hover { background: #F0EEEB; }

.ag-match-nav-label {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #9A9A9A;
    margin-bottom: 4px;
}

.ag-match-nav-title {
    font-size: 15px;
    font-weight: 600;
    color: #2D2D2D;
    line-height: 1.35;
}

.ag-match-nav-next { text-align: right; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .ag-match-info-grid {
        grid-template-columns: 1fr;
    }

    .ag-match-info-item:nth-child(odd) {
        border-right: none;
    }

    .ag-match-related-grid {
        grid-template-columns: 1fr;
    }

    .ag-match-post-nav {
        grid-template-columns: 1fr;
    }

    .ag-match-included-grid {
        grid-template-columns: 1fr;
    }

    .ag-match-location-detail {
        flex-direction: column;
    }

    .ag-schedule-row {
        flex-direction: column;
        gap: 4px;
    }

    .ag-schedule-date {
        width: auto;
    }
}

@media (max-width: 600px) {
    .ag-match-cta-row {
        flex-direction: column;
    }

    .ag-match-cta {
        justify-content: center;
    }
}/* End custom CSS */