.bp-football-post.post-card,
.bp-football-post.article,
article.bp-football-post {
    background: rgba(240, 253, 244, 0.7) !important;
    border: 2px solid rgba(34, 197, 94, 0.4);
    position: relative;
    overflow: hidden;
}

.bp-football-post.post-card:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future),
.bp-football-post.article:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future),
article.bp-football-post:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future) {
    background: rgba(243, 244, 246, 0.7) !important;
    border: 2px solid rgba(156, 163, 175, 0.4);
    border-left: 4px solid rgba(156, 163, 175, 0.6);
    color: #6b7280;
}

.bp-football-post.post-card:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future) .entry-title a,
.bp-football-post.post-card:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future) .post-card-title a,
.bp-football-post.article:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future) .entry-title a,
.bp-football-post.article:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future) .post-card-title a,
article.bp-football-post:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future) .entry-title a,
article.bp-football-post:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future) .post-card-title a {
    color: #6b7280 !important;
}

.bp-football-post.post-card:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future) .entry-title a:hover,
.bp-football-post.post-card:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future) .post-card-title a:hover,
.bp-football-post.article:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future) .entry-title a:hover,
.bp-football-post.article:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future) .post-card-title a:hover,
article.bp-football-post:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future) .entry-title a:hover,
article.bp-football-post:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future) .post-card-title a:hover {
    color: #9ca3af !important;
}

.bp-football-post.post-card:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future):hover,
.bp-football-post.article:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future):hover,
article.bp-football-post:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future):hover {
    background: rgba(229, 231, 235, 0.8) !important;
    border-color: rgba(156, 163, 175, 0.5);
    box-shadow: 0 4px 12px rgba(156, 163, 175, 0.15);
}

.bp-football-post.bp-match-today.post-card,
.bp-football-post.bp-match-today.article,
article.bp-football-post.bp-match-today {
    border-color: rgba(4, 120, 87, 0.4);
}

.bp-football-post.bp-match-tomorrow.post-card,
.bp-football-post.bp-match-tomorrow.article,
article.bp-football-post.bp-match-tomorrow {
    border-color: rgba(180, 83, 9, 0.4);
}

.bp-football-post.bp-match-weekend.post-card,
.bp-football-post.bp-match-weekend.article,
article.bp-football-post.bp-match-weekend {
    border-color: rgba(30, 58, 138, 0.4);
}

.bp-football-post.bp-match-past.post-card,
.bp-football-post.bp-match-past.article,
article.bp-football-post.bp-match-past {
    border-color: rgba(107, 33, 168, 0.4);
}

.bp-football-post.bp-match-this-week.post-card,
.bp-football-post.bp-match-this-week.article,
article.bp-football-post.bp-match-this-week {
    border-color: rgba(0, 0, 0, 0.4);
}

.bp-football-post.bp-match-future.post-card,
.bp-football-post.bp-match-future.article,
article.bp-football-post.bp-match-future {
    border-color: rgba(30, 58, 138, 0.4);
}

.bp-football-post.post-card::before,
.bp-football-post.article::before,
article.bp-football-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(34, 197, 94, 0.08) 2px,
            rgba(34, 197, 94, 0.08) 3px),
        repeating-linear-gradient(2deg,
            transparent,
            transparent 3px,
            rgba(22, 163, 74, 0.06) 3px,
            rgba(22, 163, 74, 0.06) 4px),
        repeating-linear-gradient(-2deg,
            transparent,
            transparent 4px,
            rgba(21, 128, 61, 0.05) 4px,
            rgba(21, 128, 61, 0.05) 5px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 19px,
            rgba(34, 197, 94, 0.06) 19px,
            rgba(34, 197, 94, 0.06) 20px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

.bp-football-post.post-card::after,
.bp-football-post.article::after,
article.bp-football-post::after {
    content: '';
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    z-index: 2;
    opacity: 0.7;
    transform: rotate(-15deg);
    transition: transform 0.3s ease, opacity 0.3s ease;
    /* animation:
        ballFloat 4s ease-in-out infinite,
        ballPulse 2.5s ease-in-out infinite,
        ballShimmer 3.5s ease-in-out infinite; */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes ballFloat {
    0% {
        transform: rotate(-15deg) translateY(0px) scale(1);
    }

    25% {
        transform: rotate(-5deg) translateY(-12px) scale(1.08);
    }

    50% {
        transform: rotate(5deg) translateY(-15px) scale(1.12);
    }

    75% {
        transform: rotate(-5deg) translateY(-10px) scale(1.06);
    }

    100% {
        transform: rotate(-15deg) translateY(0px) scale(1);
    }
}

@keyframes ballPulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 0.95;
    }
}

@keyframes ballShimmer {
    0% {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }

    50% {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
    }

    100% {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }
}

@keyframes ballRotate {
    0% {
        transform: rotate(-15deg);
    }

    100% {
        transform: rotate(345deg);
    }
}

.bp-football-post.bp-match-today.post-card::after,
.bp-football-post.bp-match-today.article::after,
article.bp-football-post.bp-match-today::after {
    /* background-image: url('../images/football-green.png'); */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 8px rgba(4, 120, 87, 0.4));
    /* animation:
        ballFloat 4s ease-in-out infinite,
        ballPulse 2.5s ease-in-out infinite,
        ballShimmer 3.5s ease-in-out infinite; */
}

.bp-football-post.bp-match-tomorrow.post-card::after,
.bp-football-post.bp-match-tomorrow.article::after,
article.bp-football-post.bp-match-tomorrow::after {
    /* background-image: url('../images/football-orange.png'); */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 8px rgba(180, 83, 9, 0.4));
    /* animation:
        ballFloat 4s ease-in-out infinite,
        ballPulse 2.5s ease-in-out infinite,
        ballShimmer 3.5s ease-in-out infinite; */
}

.bp-football-post.bp-match-weekend.post-card::after,
.bp-football-post.bp-match-weekend.article::after,
article.bp-football-post.bp-match-weekend::after {
    /* background-image: url('../images/football-blue.png'); */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 8px rgba(30, 58, 138, 0.4));
    /* animation:
        ballFloat 4s ease-in-out infinite,
        ballPulse 2.5s ease-in-out infinite,
        ballShimmer 3.5s ease-in-out infinite; */
}

.bp-football-post.bp-match-past.post-card::after,
.bp-football-post.bp-match-past.article::after,
article.bp-football-post.bp-match-past::after {
    /* background-image: url('../images/football-violate.png'); */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 8px rgba(107, 33, 168, 0.4));
    /* animation:
        ballFloat 4s ease-in-out infinite,
        ballPulse 2.5s ease-in-out infinite,
        ballShimmer 3.5s ease-in-out infinite; */
}

.bp-football-post.bp-match-this-week.post-card::after,
.bp-football-post.bp-match-this-week.article::after,
article.bp-football-post.bp-match-this-week::after {
    /* background-image: url('../images/football-black.png'); */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
    /* animation:
        ballFloat 4s ease-in-out infinite,
        ballPulse 2.5s ease-in-out infinite,
        ballShimmer 3.5s ease-in-out infinite; */
}

.bp-football-post.bp-match-future.post-card::after,
.bp-football-post.bp-match-future.article::after,
article.bp-football-post.bp-match-future::after {
    /* background-image: url('../images/football-blue.png'); */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 8px rgba(30, 58, 138, 0.5));
    /* animation:
        ballFloat 4s ease-in-out infinite,
        ballPulse 2.5s ease-in-out infinite,
        ballShimmer 3.5s ease-in-out infinite; */
}

.bp-football-post.post-card:hover::after,
.bp-football-post.article:hover::after,
article.bp-football-post:hover::after {
    opacity: 0.95;
    /* animation:
        ballBounce 0.8s ease-in-out,
        ballSpin 1.2s linear infinite; */
}

@keyframes ballBounce {
    0% {
        transform: rotate(-15deg) scale(1) translateY(0);
        opacity: 0.7;
    }

    20% {
        transform: rotate(10deg) scale(1.25) translateY(-15px);
        opacity: 0.9;
    }

    40% {
        transform: rotate(-5deg) scale(1.15) translateY(-8px);
        opacity: 0.95;
    }

    60% {
        transform: rotate(15deg) scale(1.2) translateY(-12px);
        opacity: 1;
    }

    80% {
        transform: rotate(5deg) scale(1.1) translateY(-4px);
        opacity: 0.95;
    }

    100% {
        transform: rotate(15deg) scale(1.15) translateY(0);
        opacity: 0.9;
    }
}

@keyframes ballSpin {
    0% {
        transform: rotate(15deg) scale(1.15);
    }

    100% {
        transform: rotate(375deg) scale(1.15);
    }
}

.bp-football-post.bp-match-today.post-card:hover::after,
.bp-football-post.bp-match-today.article:hover::after,
article.bp-football-post.bp-match-today:hover::after {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 12px rgba(4, 120, 87, 0.6));
}

.bp-football-post.bp-match-tomorrow.post-card:hover::after,
.bp-football-post.bp-match-tomorrow.article:hover::after,
article.bp-football-post.bp-match-tomorrow:hover::after {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 12px rgba(180, 83, 9, 0.6));
}

.bp-football-post.bp-match-weekend.post-card:hover::after,
.bp-football-post.bp-match-weekend.article:hover::after,
article.bp-football-post.bp-match-weekend:hover::after {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 12px rgba(30, 58, 138, 0.6));
}

.bp-football-post.bp-match-past.post-card:hover::after,
.bp-football-post.bp-match-past.article:hover::after,
article.bp-football-post.bp-match-past:hover::after {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 12px rgba(107, 33, 168, 0.6));
}

.bp-football-post.bp-match-this-week.post-card:hover::after,
.bp-football-post.bp-match-this-week.article:hover::after,
article.bp-football-post.bp-match-this-week:hover::after {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 12px rgba(0, 0, 0, 0.7));
}

.bp-football-post.bp-match-future.post-card:hover::after,
.bp-football-post.bp-match-future.article:hover::after,
article.bp-football-post.bp-match-future:hover::after {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 12px rgba(30, 58, 138, 0.7));
}

.bp-football-post.post-card:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future)::after,
.bp-football-post.article:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future)::after,
article.bp-football-post:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future)::after {
    /* background-image: url('../images/football-gray.png'); */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 8px rgba(107, 114, 128, 0.4));
    /* animation:
        ballFloat 4s ease-in-out infinite,
        ballPulse 2.5s ease-in-out infinite,
        ballShimmer 3.5s ease-in-out infinite; */
}

.bp-football-post.post-card:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future):hover::after,
.bp-football-post.article:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future):hover::after,
article.bp-football-post:not(.bp-match-today):not(.bp-match-tomorrow):not(.bp-match-weekend):not(.bp-match-past):not(.bp-match-this-week):not(.bp-match-future):hover::after {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 12px rgba(107, 114, 128, 0.6));
}

.bp-football-post.post-card,
.bp-football-post.article,
article.bp-football-post {
    border-left: 4px solid rgba(34, 197, 94, 0.6);
}

.bp-football-post.bp-match-today.post-card,
.bp-football-post.bp-match-today.article,
article.bp-football-post.bp-match-today {
    border-left: 4px solid rgba(4, 120, 87, 0.7);
}

.bp-football-post.bp-match-tomorrow.post-card,
.bp-football-post.bp-match-tomorrow.article,
article.bp-football-post.bp-match-tomorrow {
    border-left: 4px solid rgba(180, 83, 9, 0.7);
}

.bp-football-post.bp-match-weekend.post-card,
.bp-football-post.bp-match-weekend.article,
article.bp-football-post.bp-match-weekend {
    border-left: 4px solid rgba(30, 58, 138, 0.7);
}

.bp-football-post.bp-match-past.post-card,
.bp-football-post.bp-match-past.article,
article.bp-football-post.bp-match-past {
    border-left: 4px solid rgba(107, 33, 168, 0.7);
}

.bp-football-post.bp-match-this-week.post-card,
.bp-football-post.bp-match-this-week.article,
article.bp-football-post.bp-match-this-week {
    border-left: 4px solid rgba(0, 0, 0, 0.7);
}

.bp-football-post.bp-match-future.post-card,
.bp-football-post.bp-match-future.article,
article.bp-football-post.bp-match-future {
    border-left: 4px solid rgba(30, 58, 138, 0.7);
}

.bp-football-post.post-card>*,
.bp-football-post.article>*,
article.bp-football-post>* {
    position: relative;
    z-index: 1;
}


/* Post Card Redesign */
.bp-card-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    width: 100%;
}

.match-time-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
}

.match-time-display svg {
    color: #b45309;
    /* Bronze/Brown color like screenshot */
    width: 16px;
    height: 16px;
}

.bp-read-preview-btn {
    display: inline-block;
    background-color: #374151;
    /* Dark grey */
    color: #ffffff !important;
    font-size: 11px;
    /* Slightly smaller for stacked text */
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 20px;
    border-radius: 4px;
    text-align: center;
    transition: background-color 0.2s;
    text-decoration: none !important;
    width: auto;
    /* Allow width to fit text */
    min-width: 120px;
    line-height: 1.3;
    letter-spacing: 0.5px;
}

.bp-read-preview-btn:hover {
    background-color: #1e293b;
    color: #ffffff !important;
}

.bp-football-post.post-card:hover,
.bp-football-post.article:hover,
article.bp-football-post:hover {
    background: rgba(240, 253, 244, 0.85) !important;
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
    transform: translateY(-2px);
}


.bp-football-post.bp-match-today.post-card:hover,
.bp-football-post.bp-match-today.article:hover,
article.bp-football-post.bp-match-today:hover {
    border-color: rgba(4, 120, 87, 0.6);
    border-left-color: rgba(4, 120, 87, 0.9);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.bp-football-post.bp-match-tomorrow.post-card:hover,
.bp-football-post.bp-match-tomorrow.article:hover,
article.bp-football-post.bp-match-tomorrow:hover {
    border-color: rgba(180, 83, 9, 0.6);
    border-left-color: rgba(180, 83, 9, 0.9);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.bp-football-post.bp-match-weekend.post-card:hover,
.bp-football-post.bp-match-weekend.article:hover,
article.bp-football-post.bp-match-weekend:hover {
    border-color: rgba(30, 58, 138, 0.6);
    border-left-color: rgba(30, 58, 138, 0.9);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.bp-football-post.bp-match-past.post-card:hover,
.bp-football-post.bp-match-past.article:hover,
article.bp-football-post.bp-match-past:hover {
    border-color: rgba(107, 33, 168, 0.6);
    border-left-color: rgba(107, 33, 168, 0.9);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.25);
}

.bp-football-post.bp-match-this-week.post-card:hover,
.bp-football-post.bp-match-this-week.article:hover,
article.bp-football-post.bp-match-this-week:hover {
    border-color: rgba(0, 0, 0, 0.6);
    border-left-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.bp-football-post.bp-match-future.post-card:hover,
.bp-football-post.bp-match-future.article:hover,
article.bp-football-post.bp-match-future:hover {
    border-color: rgba(30, 58, 138, 0.6);
    border-left-color: rgba(30, 58, 138, 0.9);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

.bp-football-post .entry-title a,
.bp-football-post .post-card-title a {
    color: #166534;
    font-weight: 600;
}

.bp-football-post .entry-title a:hover,
.bp-football-post .post-card-title a:hover {
    color: #15803d;
}

.bp-football-post.bp-match-today .entry-title a,
.bp-football-post.bp-match-today .post-card-title a {
    color: #065f46;
}

.bp-football-post.bp-match-today .entry-title a:hover,
.bp-football-post.bp-match-today .post-card-title a:hover {
    color: #047857;
}

.bp-football-post.bp-match-tomorrow .entry-title a,
.bp-football-post.bp-match-tomorrow .post-card-title a {
    color: #92400e;
}

.bp-football-post.bp-match-tomorrow .entry-title a:hover,
.bp-football-post.bp-match-tomorrow .post-card-title a:hover {
    color: #b45309;
}

.bp-football-post.bp-match-weekend .entry-title a,
.bp-football-post.bp-match-weekend .post-card-title a {
    color: #1e40af;
}

.bp-football-post.bp-match-weekend .entry-title a:hover,
.bp-football-post.bp-match-weekend .post-card-title a:hover {
    color: #1e3a8a;
}

.bp-football-post.bp-match-past .entry-title a,
.bp-football-post.bp-match-past .post-card-title a {
    color: #6b21a8;
}

.bp-football-post.bp-match-past .entry-title a:hover,
.bp-football-post.bp-match-past .post-card-title a:hover {
    color: #7c3aed;
}

.bp-football-post.bp-match-this-week .entry-title a,
.bp-football-post.bp-match-this-week .post-card-title a {
    color: #000000;
}

.bp-football-post.bp-match-this-week .entry-title a:hover,
.bp-football-post.bp-match-this-week .post-card-title a:hover {
    color: #111827;
}

.bp-football-post.bp-match-future .entry-title a,
.bp-football-post.bp-match-future .post-card-title a {
    color: #1e3a8a;
}

.bp-football-post.bp-match-future .entry-title a:hover,
.bp-football-post.bp-match-future .post-card-title a:hover {
    color: #1e40af;
}

.bp-casino-post.post-card,
.bp-casino-post.article,
article.bp-casino-post {
    background: rgba(254, 242, 242, 0.7) !important;
    border: 2px solid rgba(153, 27, 27, 0.4);
    position: relative;
    overflow: hidden;
}

.bp-casino-post.post-card,
.bp-casino-post.article,
article.bp-casino-post {
    border-left: 4px solid rgba(153, 27, 27, 0.7);
}

.bp-casino-post.post-card::before,
.bp-casino-post.article::before,
article.bp-casino-post::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 20px,
            rgba(153, 27, 27, 0.05) 20px,
            rgba(153, 27, 27, 0.05) 21px),
        repeating-linear-gradient(-45deg,
            transparent,
            transparent 20px,
            rgba(127, 29, 29, 0.05) 20px,
            rgba(127, 29, 29, 0.05) 21px),
        radial-gradient(circle at 10% 20%, rgba(153, 27, 27, 0.08) 0%, transparent 3%),
        radial-gradient(circle at 90% 80%, rgba(153, 27, 27, 0.08) 0%, transparent 3%),
        radial-gradient(circle at 30% 70%, rgba(185, 28, 28, 0.08) 0%, transparent 3%),
        radial-gradient(circle at 70% 30%, rgba(185, 28, 28, 0.08) 0%, transparent 3%);
    background-size: 40px 40px, 40px 40px, 200px 200px, 200px 200px, 200px 200px, 200px 200px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

.bp-casino-post.post-card::after,
.bp-casino-post.article::after,
article.bp-casino-post::after {
    content: '';
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 80px;
    height: 80px;
    z-index: 2;
    opacity: 0.7;
    transform: rotate(-15deg);
    transition: transform 0.3s ease, opacity 0.3s ease;
    background-image: url('../images/casino-img.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 8px rgba(153, 27, 27, 0.4));
    animation:
        casinoFloat 4s ease-in-out infinite,
        casinoGlow 3s ease-in-out infinite;
}

@keyframes casinoFloat {
    0% {
        transform: rotate(-15deg) translateY(0px);
    }

    50% {
        transform: rotate(-15deg) translateY(-8px);
    }

    100% {
        transform: rotate(-15deg) translateY(0px);
    }
}

@keyframes casinoGlow {

    0%,
    100% {
        opacity: 0.7;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 8px rgba(153, 27, 27, 0.4));
    }

    50% {
        opacity: 0.85;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 15px rgba(185, 28, 28, 0.6));
    }
}

.bp-casino-post.post-card:hover::after,
.bp-casino-post.article:hover::after,
article.bp-casino-post:hover::after {
    opacity: 0.95;
    transform: rotate(-15deg) scale(1.1);
    animation:
        casinoHoverGlow 1.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 20px rgba(185, 28, 28, 0.8));
}

@keyframes casinoHoverGlow {

    0%,
    100% {
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 20px rgba(185, 28, 28, 0.8));
    }

    50% {
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 25px rgba(220, 38, 38, 0.9));
    }
}

.bp-casino-post.post-card>*,
.bp-casino-post.article>*,
article.bp-casino-post>* {
    position: relative;
    z-index: 1;
}

.bp-casino-post.post-card:hover,
.bp-casino-post.article:hover,
article.bp-casino-post:hover {
    background: rgba(254, 242, 242, 0.85) !important;
    border-color: rgba(153, 27, 27, 0.6);
    border-left-color: rgba(153, 27, 27, 0.9);
    box-shadow: 0 4px 12px rgba(185, 28, 28, 0.25);
    transform: translateY(-2px);
}

.bp-casino-post .entry-title a,
.bp-casino-post .post-card-title a {
    color: #991b1b;
    font-weight: 600;
}

.bp-casino-post .entry-title a:hover,
.bp-casino-post .post-card-title a:hover {
    color: #b91c1c;
}

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

.pagination,
.pagination .nav-links {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    align-items: center;
    gap: 3px;
    width: 100%;
    min-width: 100%;
}

.pagination .page-numbers,
.pagination .prev,
.pagination .next {
    flex-shrink: 0;
    white-space: nowrap;
}

.site-main .pagination {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
}

#primary.content-area {
    min-width: 0;
}

.pagination .nav-links {
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
}

.bp-excerpt,
.bp-read-more-wrapper,
.more-link {
    display: none !important;
}

.bp-usp-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px),
        repeating-linear-gradient(-45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px);
    pointer-events: none;
    z-index: 0;
}

.bp-usp-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 215, 0, 0.4) 20%,
            rgba(255, 215, 0, 0.6) 50%,
            rgba(255, 215, 0, 0.4) 80%,
            transparent 100%);
    pointer-events: none;
    z-index: 1;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

.bp-usp-header>* {
    position: relative;
    z-index: 2;
}

@keyframes highlightPulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    }

    50% {
        box-shadow: 0 4px 20px rgba(102, 126, 234, 0.6);
    }
}

.bp-usp-header strong {
    color: #ffd700;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
}

.bp-usp-header strong::before,
.bp-usp-header strong::after {
    content: '◆';
    color: rgba(255, 215, 0, 0.5);
    font-size: 0.6em;
    margin: 0 8px;
    vertical-align: middle;
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(102, 126, 234, 0.3) 15%,
            rgba(118, 75, 162, 0.4) 30%,
            rgba(102, 126, 234, 0.5) 50%,
            rgba(118, 75, 162, 0.4) 70%,
            rgba(102, 126, 234, 0.3) 85%,
            transparent 100%);
    pointer-events: none;
    z-index: 10;
}

.site-header {
    /* background-image:
        url('../images/header-bg.webp');
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat; */
    overflow: visible !important;
    margin-bottom: 50px !important;
}

/* .site-header .navbar {
    position: relative;
    background: linear-gradient(90deg,
            rgba(220, 205, 185, 0.65) 0%,
            rgba(235, 220, 200, 0.7) 25%,
            rgba(255, 245, 230, 0.8) 50%,
            rgba(235, 220, 200, 0.7) 75%,
            rgba(220, 205, 185, 0.65) 100%);
} */

.site-header .navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 2px 2px, rgba(102, 126, 234, 0.08) 1px, transparent 0);
    background-size: 20px 20px;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
}

.site-header .navbar>*,
.site-header .navbar-wrapper {
    position: relative;
    z-index: 1;
}

.main-navigation a,
.primary-menu a {
    position: relative;
    transition: all 0.3s ease;
}

.main-navigation a::after,
.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-50%);
    transition: width 0.3s ease;
    z-index: 1;
}

.main-navigation a:hover::after,
.primary-menu a:hover::after {
    width: 80%;
}

.main-navigation a:hover,
.primary-menu a:hover {
    background: linear-gradient(135deg,
            rgba(102, 126, 234, 0.05) 0%,
            rgba(118, 75, 162, 0.05) 100%);
}

.main-navigation .current-menu-item>a,
.primary-menu .current-menu-item>a {
    position: relative;
}

.main-navigation .current-menu-item>a::before,
.primary-menu .current-menu-item>a::before {
    content: '▸';
    position: absolute;
    left: -15px;
    color: #667eea;
    font-size: 0.8em;
}

.main-navigation a[href*="about"],
.primary-menu a[href*="about"] {
    position: relative;
    overflow: hidden;
}

.main-navigation a[href*="about"]::before,
.primary-menu a[href*="about"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.2),
            transparent);
    transition: left 0.5s ease;
}

.main-navigation a[href*="about"]:hover::before,
.primary-menu a[href*="about"]:hover::before {
    left: 100%;
}

.bp-retention-box {
    margin-top: 40px;
    padding: 20px;
    background: #f7f7f7;
    border-left: 4px solid #111;
    font-size: 15px;
}

.bp-retention-box strong {
    font-size: 16px;
}

.bp-match {
    margin-bottom: 20px;
    border-radius: 4px;
}

.match-status {
    font-weight: 600;
    margin-right: auto;
    text-align: left;
}

.bp-match-future .match-status,
article.bp-match-future .match-status,
.post-card.bp-match-future .match-status {
    color: #1e3a8a !important;
}

.bp-match-future .match-status-text,
article.bp-match-future .match-status-text,
.post-card.bp-match-future .match-status-text {
    color: #1e3a8a !important;
}

.bp-match-future .match-status svg circle,
article.bp-match-future .match-status svg circle,
.post-card.bp-match-future .match-status svg circle {
    fill: #1e3a8a !important;
}

.post-card-header-meta,
.entry-header-meta {
    display: flex !important;
    flex-direction: column;
    /* justify-content: space-between; */
    align-items: center;
    margin-top: 8px;
    margin-bottom: 0px;
}

.match-date-label {
    font-weight: 600;
    margin-right: 4px;
}

.post-card-header-meta .cat-links,
.post-card .post-card-header-meta .cat-links,
.entry-header-meta .cat-links,
.entry-header .entry-header-meta .cat-links {
    display: none !important;
}

.entry-header {
    margin-bottom: 0;
}

.post-thumbnail {
    margin-bottom: 15px !important;
}

.post-card-thumbnail,
.post-card-media {
    margin-bottom: 15px !important;
}

.bp-match .match-status {
    display: none;
}

.post-card-header-meta>span:not(.match-status),
.entry-header-meta>span:not(.match-status) {
    margin-left: auto;
}

/* Home page card styles */
.bp-home-page-card .post-thumbnail,
.bp-home-page-card .post-card-thumbnail,
.bp-home-page-card .post-card-media {
    height: 140px;
    overflow: hidden;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

/* Responsive thumbnail heights */
@media (max-width: 992px) {

    .bp-home-page-card .post-thumbnail,
    .bp-home-page-card .post-card-thumbnail,
    .bp-home-page-card .post-card-media {
        height: 180px;
    }
}

.bp-home-page-card .post-thumbnail img,
.bp-home-page-card .post-card-thumbnail img,
.bp-home-page-card .post-card-media img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Card Title Styling */
.bp-home-page-card .post-card-title,
.bp-home-page-card .entry-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    text-align: center !important;
    margin: 8px 10px 4px !important;
    padding-bottom: 0 !important;
    border-bottom: none !important;
    line-height: 1.2 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 44px;
    /* Ensure alignment */
}

.bp-home-page-card .post-card-title a,
.bp-home-page-card .entry-title a {
    color: #1f2937 !important;
    text-decoration: none !important;
}

/* Match Date/Time Styling */
.bp-home-page-card .entry-header-meta,
.bp-home-page-card .post-card-header-meta {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 0px !important;
    color: #64748b !important;
    font-size: 14px !important;
}

.bp-home-page-card .match-status {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-weight: 500 !important;
}

.bp-home-page-card .posted-on {
    display: inline-flex !important;
    align-items: center !important;
    font-weight: 500 !important;
}

.bp-home-page-card .match-time-display {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

.bp-match-icon {
    width: 14px !important;
    height: 14px !important;
    object-fit: contain !important;
    opacity: 0.7 !important;
}

.bp-home-page-card .match-date-label {
    display: none !important;
}

.bp-card-meta {
    gap: 6px !important;
    margin-top: 4px !important;
    width: 100%;
}

/* READ PREVIEW Button Styling */
.bp-home-page-card .bp-read-preview-btn,
.bp-grid-layout .bp-home-page-card .bp-read-preview-btn {
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin-top: 5px !important;
    padding: 10px 0 !important;
    background: #334155 !important;
    /* Dark Slate */
    color: #fef3c7 !important;
    /* Amber 100 / Bone */
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bp-home-page-card .bp-read-preview-btn:hover {
    background: #1e293b !important;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

/* Hide Excerpt Link */
.bp-home-page-card .more-link,
.bp-home-page-card .read-more {
    display: none !important;
}

/* Cleanup for standard grid layouts */
.bp-grid-layout .post-card-title,
.bp-grid-layout .entry-title {
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

/* Hide excerpt text and comments for clean look like reference */
.bp-home-page-card .post-card-content,
.bp-home-page-card .entry-summary p,
.bp-home-page-card .entry-footer,
.bp-home-page-card .post-card-footer {
    display: none !important;
}

/* Fix Bottom Spacing */
.bp-home-page-card .entry-summary {
    display: block !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.bp-home-page-card .post-card-caption {
    padding-bottom: 15px !important;
}

/* Remove match-specific background gradients from grid.css */
.bp-grid-layout .post-card.bp-match-today,
.bp-grid-layout .post-card.bp-match-tomorrow,
.bp-grid-layout .post-card.bp-match-weekend,
.bp-grid-layout .post-card.bp-match-past,
.bp-grid-layout .post-card.bp-match-future,
.bp-grid-layout article.bp-match-today,
.bp-grid-layout article.bp-match-tomorrow,
.bp-grid-layout article.bp-match-weekend,
.bp-grid-layout article.bp-match-past,
.bp-grid-layout article.bp-match-future {
    background: #ffffff !important;
    color: #1f2937 !important;
    backdrop-filter: none !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Match Labels in Cards */
.bp-home-page-card .match-status {
    color: #64748b !important;
    /* Neutral gray */
    font-size: 14px !important;
    font-weight: 500 !important;
}

.bp-home-page-card .posted-on {
    color: #64748b !important;
}

.bp-home-page-card .posted-on a {
    color: #64748b !important;
    text-decoration: none !important;
    pointer-events: none;
    /* Make date not clickable to focus on button */
}

/* Ensure icons/emojis are styled like the reference (subtle) */
.bp-home-page-card .match-status svg,
.bp-home-page-card .match-status span.bp-timeline-emoji {
    opacity: 0.8;
}