/* WMC Card View - Casino Comparison Cards */

.wmc-cards-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px auto;
    max-width: 1200px;
}

/* Card */
.wmc-card {
    background: #fff;
    border: 1px solid #dce0e6;
    border-radius: 10px;
    overflow: hidden;
}

/* Summary row - columns separated by vertical lines */
.wmc-card-summary {
    display: flex;
    align-items: stretch;
    min-height: 130px;
}

/* Each column in the summary */
.wmc-card-logo,
.wmc-card-identity,
.wmc-card-offer,
.wmc-card-actions {
    display: flex;
    align-items: center;
    padding: 18px 20px;
}

/* Vertical separators between columns */
.wmc-card-logo {
    border-right: 1px solid #eaedf1;
    flex: 0 0 180px;
    justify-content: center;
    padding: 14px;
}
.wmc-card-identity {
    border-right: 1px solid #eaedf1;
    flex: 1 1 200px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    min-width: 0;
}
.wmc-card-offer {
    border-right: 1px solid #eaedf1;
    flex: 2.5 1 430px;
    justify-content: center;
    text-align: center;
    padding: 18px 24px;
}
.wmc-card-actions {
    flex: 0 0 180px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

/* Logo */
.wmc-card-logo img {
    width: 150px;
    height: 150px;
    max-width: none;
    object-fit: contain;
    border-radius: 8px;
}

/* Name + rating */
.wmc-card-name {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
}
.wmc-card-name a {
    color: #1a1a2e;
    text-decoration: none;
}
.wmc-card-name a:hover {
    text-decoration: underline;
}
.wmc-card-rating {
    margin: 0;
}
.wmc-card-rating .wmc-site-rating {
    margin: 0;
    text-align: left;
}

/* Show More toggle - below terms row, centred and prominent */
.wmc-card-toggle {
    background: #f0f7f0;
    border: none;
    border-top: 1px solid #eaedf1;
    padding: 8px 0;
    width: 100%;
    font-size: 14px;
    color: #2d6a2e;
    cursor: pointer;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    letter-spacing: 0.3px;
}
.wmc-card-toggle:hover {
    background: #e2f0e2;
    color: #2d6a2e !important;
    text-decoration: underline;
}
.wmc-card-toggle:focus-visible {
    outline: 2px solid #0d6efd;
    outline-offset: 2px;
}
.wmc-card-toggle::after {
    content: "+";
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}
.wmc-card-toggle[aria-expanded="true"]::after {
    content: "\2212";
}

/* Bonus text */
.wmc-card-bonus {
    font-size: 21px;
    color: #1a1a2e;
    font-weight: 700;
    line-height: 1.35;
}

/* Make offer column stack vertically when bonus code is present */
.wmc-card-offer {
    flex-direction: column;
    justify-content: center;
}

/* Bonus code - scissors + dashed coupon style */
.wmc-card-bonus-code {
    margin-top: 10px;
    font-size: 13px;
    text-align: center;
    width: 100%;
}
.wmc-card-bonus-code .wmc-bonus-code-label {
    display: block;
    color: #666;
    font-weight: 600;
    margin-bottom: 4px;
}
.wmc-card-bonus-code .dashed-link {
    display: inline-block;
    margin-left: 4px;
    padding: 3px 10px;
    border: 2px dashed #2d6a2e;
    border-radius: 4px;
    color: #2d6a2e;
    font-weight: 700;
    font-family: monospace;
    font-size: 14px;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: background 0.2s;
}
.wmc-card-bonus-code .dashed-link::before {
    content: "\2702";
    margin-right: 4px;
    font-size: 15px;
}
.wmc-card-bonus-code .dashed-link:hover {
    background: #f0f7f0;
    color: #2d6a2e !important;
}
.wmc-card-bonus-code .confirmation-message {
    margin-left: 6px;
    color: #2d6a2e;
    font-weight: 600;
    font-size: 12px;
}

/* CTA button */
.wmc-card-cta {
    display: block;
    background: #2d6a2e;
    color: #fff !important;
    padding: 13px 24px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    transition: background 0.15s;
}
.wmc-card-cta:hover {
    background: #245523;
}

/* Read Review link */
.wmc-card-review-link {
    font-size: 14px;
    color: #1a1a2e;
    text-decoration: underline;
    font-weight: 500;
}
.wmc-card-review-link:hover {
    color: #2d6a2e;
}

/* Significant terms row */
.wmc-card-terms-row {
    padding: 8px 16px;
    border-top: 1px solid #eaedf1;
    font-size: 11px;
    color: #888;
    line-height: 1.45;
}
.wmc-card-terms-row a {
    color: #666;
    text-decoration: underline;
}

/* Country offers flags row */
.wmc-card-countries {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    border-top: 1px solid #eaedf1;
    font-size: 12px;
    color: #666;
}
.wmc-card-countries-label {
    margin-right: 4px;
    font-weight: 500;
}
.wmc-card-countries .offer-flag {
    vertical-align: middle;
}
.wmc-card-countries-link {
    margin-left: 6px;
    color: #2d6a2e;
    text-decoration: underline;
    font-weight: 500;
}

/* =============== Expanded Details Panel =============== */
.wmc-card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafbfc;
    border-top: 0 solid #eaedf1;
}
.wmc-card-details.wmc-card-open {
    border-top-width: 1px;
}
.wmc-card-details-loading {
    padding: 24px;
    text-align: center;
    color: #888;
    font-size: 13px;
}

/* Detail grid - 2x2 with borders */
.wmc-card-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.wmc-card-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 18px;
    border-bottom: 1px solid #eee;
}
.wmc-card-detail-item:nth-child(odd) {
    border-right: 1px solid #eee;
}
.wmc-card-label {
    font-size: 13px;
    color: #666;
}
.wmc-card-value {
    font-size: 13px;
    color: #1a1a2e;
    font-weight: 600;
    text-align: right;
}

/* Payment / Software pill rows */
.wmc-card-section {
    padding: 12px 18px;
    border-top: 1px solid #eee;
}
.wmc-card-section-label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}
.wmc-card-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.wmc-card-pill {
    display: inline-block;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 4px 9px;
    font-size: 12px;
    color: #333;
    text-decoration: none;
    line-height: 1.3;
}
a.wmc-card-pill:hover {
    border-color: #2d6a2e;
    color: #2d6a2e;
}

/* Features */
.wmc-card-features {
    list-style: none;
    margin: 0;
    padding: 12px 18px 14px;
    border-top: 1px solid #eee;
}
.wmc-card-features li {
    font-size: 13px;
    color: #333;
    padding: 2px 0;
}
.wmc-card-features li:before {
    content: "\2713";
    color: #2d6a2e;
    font-weight: 700;
    margin-right: 6px;
}

/* =============== Tablet =============== */
@media (max-width: 860px) {
    .wmc-card-offer {
        flex: 0 0 180px;
    }
    .wmc-card-actions {
        flex: 0 0 120px;
    }
    .wmc-card-logo {
        flex: 0 0 100px;
    }
    .wmc-card-logo img {
        width: 85px;
        height: 85px;
    }
}

/* =============== Mobile =============== */
@media (max-width: 640px) {
    .wmc-card-summary {
        flex-wrap: wrap;
    }
    .wmc-card-logo {
        flex: 0 0 80px;
        border-right: 1px solid #eaedf1;
        border-bottom: none;
    }
    .wmc-card-logo img {
        width: 65px;
        height: 65px;
    }
    .wmc-card-identity {
        flex: 1 1 0;
        border-right: none;
        border-bottom: 1px solid #eaedf1;
        padding: 10px 12px;
    }
    .wmc-card-offer {
        flex: 1 1 100%;
        border-right: none;
        border-bottom: 1px solid #eaedf1;
        padding: 10px 12px;
        text-align: center;
    }
    .wmc-card-actions {
        flex: 1 1 100%;
        flex-direction: row;
        padding: 10px 12px;
        gap: 10px;
    }
    .wmc-card-cta {
        flex: 1;
    }
    .wmc-card-review-link {
        padding: 10px 0;
    }
    .wmc-card-detail-grid {
        grid-template-columns: 1fr;
    }
    .wmc-card-detail-item:nth-child(odd) {
        border-right: none;
    }
    .wmc-card-section,
    .wmc-card-features {
        padding: 10px 12px;
    }
    .wmc-card-terms-row {
        padding: 8px 12px;
    }
}

/* Load More button - matches CTA style */
.wmc-load-more-wrap {
    text-align: center;
    margin: 24px auto;
    max-width: 1200px;
}
.wmc-load-more-btn {
    display: inline-block;
    background: #2d6a2e;
    color: #fff;
    border: none;
    padding: 13px 48px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
    text-transform: none;
}
.wmc-load-more-btn:hover {
    background: #245523;
}
.wmc-load-more-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}
