/* =====================================================
   Venues Page + Venue Detail Page
   Optimized for SolaimanLipi
   ===================================================== */

:root {
    --wclh-venue-font: "SolaimanLipi", "Noto Sans Bengali", "Hind Siliguri", Arial, sans-serif;
}

.wclh-venues-page,
.wclh-venue-detail-page {
    width: 100%;
    max-width: 1440px !important;
    margin: 0 auto;
    box-sizing: border-box;
    color: #071426;
    font-family: var(--wclh-venue-font) !important;
    padding: 36px 20px 50px;
}

.wclh-venues-page *,
.wclh-venues-page *::before,
.wclh-venues-page *::after,
.wclh-venue-detail-page *,
.wclh-venue-detail-page *::before,
.wclh-venue-detail-page *::after {
    box-sizing: border-box;
    font-family: var(--wclh-venue-font) !important;
}

/* Header */

.wclh-venues-header-card {
    background:
        radial-gradient(circle at top right, rgba(15, 169, 88, 0.28), transparent 34%),
        linear-gradient(135deg, #071a2f, #0b2d4d);
    color: #ffffff;
    border-radius: 24px;
    padding: 36px;
    margin-bottom: 30px;
    box-shadow: 0 16px 38px rgba(15, 23, 42, 0.16);
}

.wclh-venues-eyebrow,
.wclh-venue-detail-eyebrow {
    display: inline-flex;
    margin-bottom: 10px;
    color: #f5b301;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.wclh-venues-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(36px, 3.8vw, 56px);
    line-height: 1.1;
    font-weight: 800;
}

.wclh-venues-subtitle {
    max-width: 780px;
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 18px;
    line-height: 1.6;
    font-weight: 600;
}

/* Venue grid */

.wclh-venue-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.wclh-venue-card-link {
    display: block;
    color: inherit !important;
    text-decoration: none !important;
}

.wclh-venue-card {
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #d9dee7;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wclh-venue-card-link:hover .wclh-venue-card {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
}

.wclh-venue-image-wrap {
    height: 210px;
    overflow: hidden;
    background: #071a2f;
}

.wclh-venue-image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.28s ease;
}

.wclh-venue-card-link:hover .wclh-venue-image {
    transform: scale(1.05);
}

.wclh-venue-image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #ffffff;
    background:
        radial-gradient(circle at top left, rgba(245, 179, 1, 0.32), transparent 32%),
        linear-gradient(135deg, #071a2f, #0b2d4d);
}

.wclh-venue-image-placeholder span {
    font-size: 22px;
    font-weight: 800;
}

.wclh-venue-content {
    padding: 22px;
}

.wclh-venue-content h3 {
    margin: 0;
    color: #071426;
    font-size: 26px;
    line-height: 1.18;
    font-weight: 800;
}

.wclh-venue-location {
    margin: 10px 0 0;
    color: #53657c;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;
}

.wclh-venue-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.wclh-venue-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #334155;
    font-size: 16px;
    font-weight: 700;
}

.wclh-venue-meta strong {
    color: #071426;
    font-weight: 800;
}

.wclh-venue-view-link {
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0d6efd !important;
    border: 1px solid #cfe7ff;
    font-size: 15px !important;
    font-weight: 800 !important;
}

.wclh-venue-description {
    margin-top: 14px;
    color: #475569;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 500;
}

/* Detail back */

.wclh-venue-back-link {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #d9dee7;
    color: #0d6efd !important;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none !important;
}

/* Detail hero */

.wclh-venue-detail-hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #d9dee7;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.wclh-venue-detail-media {
    min-height: 360px;
    overflow: hidden;
    border-radius: 20px;
    background: #071a2f;
}

.wclh-venue-detail-image {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.wclh-venue-detail-placeholder {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background:
        radial-gradient(circle at top left, rgba(245, 179, 1, 0.32), transparent 32%),
        linear-gradient(135deg, #071a2f, #0b2d4d);
}

.wclh-venue-detail-info {
    padding: 12px 8px;
}

.wclh-venue-detail-info h2 {
    margin: 0;
    color: #071426;
    font-size: clamp(36px, 3.5vw, 54px);
    line-height: 1.1;
    font-weight: 800;
}

.wclh-venue-detail-location {
    margin: 14px 0 0;
    color: #53657c;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
}

.wclh-venue-detail-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.wclh-venue-detail-stats div {
    padding: 16px;
    border-radius: 16px;
    background: #f5f7fa;
    border: 1px solid #e5eaf0;
}

.wclh-venue-detail-stats span {
    display: block;
    color: #64748b;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
}

.wclh-venue-detail-stats strong {
    display: block;
    margin-top: 6px;
    color: #071426;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 900;
}

.wclh-venue-detail-description {
    margin-top: 22px;
    color: #334155;
    font-size: 18px;
    line-height: 1.75;
    font-weight: 500;
}

/* Venue matches */

.wclh-venue-matches-section {
    margin-top: 34px;
}

.wclh-venue-matches-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.wclh-venue-matches-header h3 {
    margin: 0;
    color: #071426;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
}

.wclh-venue-matches-header span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0d6efd;
    border: 1px solid #cfe7ff;
    font-size: 15px;
    font-weight: 800;
}

.wclh-venue-match-list {
    display: grid;
    gap: 16px;
}

.wclh-venue-match-card-link {
    display: block;
    color: inherit !important;
    text-decoration: none !important;
}

.wclh-venue-match-card {
    background: #ffffff;
    border: 1px solid #d9dee7;
    border-radius: 20px;
    padding: 20px 22px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wclh-venue-match-card-link:hover .wclh-venue-match-card {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.13);
}

.wclh-venue-match-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f6;
}

.wclh-venue-match-tournament {
    display: block;
    color: #071426;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 800;
}

.wclh-venue-match-top p {
    margin: 6px 0 0;
    color: #53657c;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 600;
}

.wclh-venue-match-top time {
    color: #071426;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 800;
    white-space: nowrap;
}

.wclh-venue-match-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px minmax(0, 1fr);
    gap: 20px;
    align-items: center;
    padding: 20px 0;
}

.wclh-venue-match-team {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.wclh-venue-match-team-a {
    justify-content: flex-end;
    text-align: right;
}

.wclh-venue-match-team-b {
    justify-content: flex-start;
    text-align: left;
}

.wclh-venue-match-team-name {
    color: #071426;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.wclh-venue-match-team .wclh-team-flag,
.wclh-venue-match-team .wclh-team-flag-placeholder {
    width: 44px;
    height: 31px;
    min-width: 44px;
    object-fit: cover;
    border: 1px solid #d6dbe3;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #071426;
    font-size: 12px;
    font-weight: 800;
}

.wclh-venue-match-score {
    display: flex;
    justify-content: center;
    text-align: center;
}

.wclh-venue-match-score-text,
.wclh-venue-match-time {
    color: #071426;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 900;
    white-space: nowrap;
}

.wclh-venue-match-time span {
    font-size: 22px;
    font-weight: 800;
}

.wclh-venue-match-time strong {
    font-size: 32px;
    font-weight: 900;
}

.wclh-venue-match-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-top: 14px;
    border-top: 1px solid #eef2f6;
}

.wclh-venue-match-status {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0d6efd;
    border: 1px solid #cfe7ff;
    font-size: 15px;
    font-weight: 800;
}

.wclh-venue-match-status-live {
    background: #fff1f2;
    color: #e63946;
    border-color: #fecdd3;
}

.wclh-venue-match-status-finished,
.wclh-venue-match-status-completed {
    background: #fff8db;
    color: #7c5800;
    border-color: #ffd66b;
}

.wclh-venue-match-footer span:last-child {
    color: #0d6efd;
    font-size: 15px;
    font-weight: 800;
}

/* Empty */

.wclh-venues-empty {
    grid-column: 1 / -1;
    background: #ffffff;
    border: 1px solid #d9dee7;
    border-radius: 16px;
    padding: 22px;
    color: #334155;
    font-size: 17px;
    font-weight: 700;
}

/* Venue detail match time: Bangladesh style + late-night note */
.wclh-venue-match-score {
    display: grid;
    justify-items: center;
    gap: 7px;
    text-align: center;
}

.wclh-venue-match-score-text,
.wclh-venue-match-time-text {
    display: block;
    color: #071426;
    font-size: 30px;
    line-height: 1.12;
    font-weight: 900;
    white-space: nowrap;
}

.wclh-venue-late-night-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #fff8db;
    color: #7c5800;
    border: 1px solid #ffd66b;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}

/* Venue detail default stadium image */
.wclh-venue-detail-default-stadium {
    background: #f5f7fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wclh-venue-detail-default-stadium-image {
    width: 50%;
    height: 100%;
    object-fit: contain !important;
    padding: 34px;
    background: #f5f7fa;
}

@media (max-width: 760px) {
    .wclh-venue-detail-default-stadium-image {
        padding: 24px;
    }
}

@media (max-width: 760px) {
    .wclh-venue-match-score-text,
    .wclh-venue-match-time-text {
        font-size: 22px;
    }

    .wclh-venue-late-night-note {
        font-size: 11px;
        white-space: normal;
        text-align: center;
    }
}

/* Responsive */

@media (max-width: 1100px) {
    .wclh-venue-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wclh-venue-detail-hero {
        grid-template-columns: 1fr;
    }

    .wclh-venue-detail-media {
        min-height: 320px;
    }
}

@media (max-width: 760px) {
    .wclh-venues-page,
    .wclh-venue-detail-page {
        padding: 32px 14px 50px;
    }

    .wclh-venues-header-card {
        padding: 26px 20px;
        border-radius: 20px;
    }

    .wclh-venues-title {
        font-size: 34px;
    }

    .wclh-venues-subtitle {
        font-size: 16px;
    }

    .wclh-venue-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .wclh-venue-image-wrap {
        height: 220px;
    }

    .wclh-venue-content h3 {
        font-size: 24px;
    }

    .wclh-venue-detail-hero {
        padding: 16px;
        border-radius: 20px;
    }

    .wclh-venue-detail-media,
    .wclh-venue-detail-placeholder {
        min-height: 240px;
    }

    .wclh-venue-detail-info h2 {
        font-size: 34px;
    }

    .wclh-venue-detail-location {
        font-size: 18px;
    }

    .wclh-venue-detail-stats {
        grid-template-columns: 1fr 1fr;
    }

    .wclh-venue-detail-description {
        font-size: 16px;
    }

    .wclh-venue-matches-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .wclh-venue-matches-header h3 {
        font-size: 26px;
    }

    .wclh-venue-match-main {
        grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
        gap: 10px;
    }

    .wclh-venue-match-card {
        padding: 18px 14px;
    }

    .wclh-venue-match-team {
        gap: 7px;
    }

    .wclh-venue-match-team-name {
        font-size: 16px;
    }

    .wclh-venue-match-team .wclh-team-flag,
    .wclh-venue-match-team .wclh-team-flag-placeholder {
        width: 32px;
        height: 23px;
        min-width: 32px;
        font-size: 10px;
    }

    .wclh-venue-match-score-text,
    .wclh-venue-match-time {
        font-size: 22px;
    }

    .wclh-venue-match-time span {
        font-size: 15px;
    }

    .wclh-venue-match-time strong {
        font-size: 22px;
    }
}

@media (max-width: 420px) {
    .wclh-venue-match-main {
        grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
    }

    .wclh-venue-match-team-name {
        font-size: 14px;
    }

    .wclh-venue-detail-stats {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Compact Country-wise Venue Cards
   Screenshot-style layout
   Hover: show "ম্যাচ দেখুন"
   ===================================================== */

.wclh-venues-mini-page {
    max-width: 1440px !important;
    margin: 0 auto;
    padding: 36px 20px 64px;
    color: #071426;
    font-family: "SolaimanLipi", "Noto Sans Bengali", "Hind Siliguri", Arial, sans-serif !important;
}

.wclh-venues-mini-page *,
.wclh-venues-mini-page *::before,
.wclh-venues-mini-page *::after {
    box-sizing: border-box;
    font-family: inherit !important;
}

.wclh-venue-mini-country-list {
    display: grid;
    gap: 52px;
}

.wclh-venue-mini-country-section {
    display: grid;
    gap: 12px;
}

.wclh-venue-mini-country-title {
    margin: 0;
    color: #071426;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.wclh-venue-mini-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: stretch;
}

.wclh-venue-mini-card {
    position: relative;
    width: 265px;
    min-height: 200px;
    padding: 14px 14px;
    border-radius: 15px;
    background: var(--wclh-venue-card-bg, #3152f4);
    color: #ffffff !important;
    text-decoration: none !important;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    isolation: isolate;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.wclh-venue-mini-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.06));
    opacity: 0;
    transition: opacity 0.22s ease;
    z-index: -1;
}

.wclh-venue-mini-name {
    color: #ffffff;
    font-size: 24px;
    line-height: 1.12;
    font-weight: 900;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
    transition:
        transform 0.22s ease,
        opacity 0.22s ease;
}

.wclh-venue-mini-hover {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translate(-50%, 18px);
    opacity: 0;
    min-height: 28px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #071426;
    font-size: 18px;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease;
}

.wclh-venue-mini-card:hover,
.wclh-venue-mini-card:focus-visible {
    transform: translateY(-5px) scale(1.03);
    filter: saturate(1.08);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.22);
    outline: none;
}

.wclh-venue-mini-card:hover::before,
.wclh-venue-mini-card:focus-visible::before {
    opacity: 1;
}

.wclh-venue-mini-card:hover .wclh-venue-mini-name,
.wclh-venue-mini-card:focus-visible .wclh-venue-mini-name {
    transform: translateY(-12px);
}

.wclh-venue-mini-card:hover .wclh-venue-mini-hover,
.wclh-venue-mini-card:focus-visible .wclh-venue-mini-hover {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* Keep old venue detail page unchanged */
.wclh-venue-detail-page {
    max-width: 1440px !important;
}

/* Tablet */
@media (max-width: 900px) {
    .wclh-venues-mini-page {
        max-width: 760px !important;
        padding: 32px 16px 54px;
    }

    .wclh-venue-mini-country-list {
        gap: 42px;
    }

    .wclh-venue-mini-card {
        width: 145px;
        min-height: 88px;
    }

    .wclh-venue-mini-name {
        font-size: 17px;
    }
}

/* Mobile */
@media (max-width: 560px) {
    .wclh-venues-mini-page {
        padding: 28px 14px 48px;
    }

    .wclh-venue-mini-country-list {
        gap: 36px;
    }

    .wclh-venue-mini-country-title {
        font-size: 18px;
    }

    .wclh-venue-mini-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .wclh-venue-mini-card {
        width: 100%;
        min-height: 86px;
    }

    .wclh-venue-mini-name {
        font-size: 16px;
    }

    .wclh-venue-mini-hover {
        font-size: 13px;
        min-height: 26px;
        padding: 6px 10px;
    }
}

/* Very small mobile */
@media (max-width: 360px) {
    .wclh-venue-mini-grid {
        grid-template-columns: 1fr;
    }
}