/* ==========================================================================
   Press release shared styles
   ========================================================================== */

/* Inline article image */
.img-full-newsletter {
    width: 100%;
    border-radius: 15px;
    border: 1px solid #a8a8a8;
}

/* Press release pull-quote */
.press-quote {
    position: relative;
    font-family: Georgia, 'Times New Roman', Cambria, serif;
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.75;
    color: #1f2937;
    margin: 3rem auto;
    max-width: 900px;
    padding: 1.5rem 3.5rem 3rem 3.5rem;
    text-align: center;
}

    .press-quote::before {
        content: '\201C';
        position: absolute;
        left: 0.5rem;
        top: -1.25rem;
        font-size: 6rem;
        line-height: 1;
        color: #0d6efd;
        opacity: 0.25;
        font-family: Georgia, serif;
    }

    .press-quote::after {
        content: '\201D';
        position: absolute;
        right: 0.5rem;
        bottom: -1.75rem;
        font-size: 6rem;
        line-height: 1;
        color: #0d6efd;
        opacity: 0.25;
        font-family: Georgia, serif;
    }

    .press-quote .blockquote-footer {
        font-family: var(--bs-body-font-family, sans-serif);
        font-style: normal;
        font-size: 1rem;
        margin-top: 1.5rem;
    }

/* Section sub-heading within the article */
.vdgl-pr-subheading {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0e2444;
    margin: 2.5rem 0 1rem;
}

/* Clean data table */
.vdgl-pr-table-wrap {
    overflow-x: auto;
    border: 1px solid #a3aebd;
    border-radius: 12px;
    margin: 1.75rem 0;
}

.vdgl-pr-table {
    width: 100%;
    min-width: 480px;
    border-collapse: collapse;
    font-size: 0.95rem;
}

    .vdgl-pr-table thead th {
        background: #0e2444;
        color: #ffffff;
        text-align: left;
        padding: 0.85rem 1rem;
        font-weight: 600;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

        .vdgl-pr-table thead th:last-child {
            text-align: right;
        }

    .vdgl-pr-table tbody td {
        padding: 0.85rem 1rem;
        border-bottom: 1px solid #d7dde4;
    }

        .vdgl-pr-table tbody td:last-child {
            text-align: right;
        }

    .vdgl-pr-table tbody tr:nth-child(even) {
        background: #f9fafb;
    }

    .vdgl-pr-table tbody tr:last-child td {
        border-bottom: none;
    }

.vdgl-pr-model {
    font-weight: 700;
    color: #0e2444;
}

.vdgl-pr-increase {
    font-weight: 700;
    color: #0d6efd;
}

/* Mobile: stack the data table into cards */
@media (max-width: 640px) {
    .vdgl-pr-table-wrap {
        overflow-x: visible;
        border: none;
        border-radius: 0;
    }

    .vdgl-pr-table {
        min-width: 0;
    }

        .vdgl-pr-table thead {
            display: none;
        }

        .vdgl-pr-table tbody,
        .vdgl-pr-table tr,
        .vdgl-pr-table td {
            display: block;
            width: 100%;
        }

        .vdgl-pr-table tr {
            border: 1px solid #e5e7eb;
            border-radius: 12px;
            overflow: hidden;
            margin-bottom: 1rem;
            background: #ffffff;
        }

        .vdgl-pr-table tbody tr:nth-child(even) {
            background: #ffffff;
        }
        /* model name becomes the card header */
        .vdgl-pr-table td.vdgl-pr-model {
            background: #0e2444;
            color: #ffffff;
            font-size: 1.05rem;
            padding: 0.75rem 1rem;
            text-align: left;
        }

            .vdgl-pr-table td.vdgl-pr-model::before {
                content: none;
            }
        /* other cells: label left, value right */
        .vdgl-pr-table tbody td {
            display: flex;
            justify-content: space-between;
            align-items: baseline;
            gap: 1rem;
            text-align: right;
            padding: 0.65rem 1rem;
            border-bottom: 1px solid #f1f3f5;
        }

        .vdgl-pr-table tbody tr td:last-child {
            border-bottom: none;
        }

        .vdgl-pr-table tbody td::before {
            content: attr(data-label);
            font-weight: 600;
            color: #6b7280;
            text-transform: uppercase;
            font-size: 0.7rem;
            letter-spacing: 0.03em;
            text-align: left;
            white-space: nowrap;
        }
}

/* Standalone data-source statement (not a numbered card) */
.vdgl-pr-datasource-statement {
    background: #f9fafb;
    border-left: 4px solid #0d6efd;
    border-radius: 8px;
    padding: 1rem 1.25rem;
    color: #374151;
    margin-bottom: 1.75rem;
}

/* Media enquiries contact card */
.vdgl-pr-contact {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    border: 1px solid #e5e7eb;
    border-left: 4px solid #0d6efd;
    border-radius: 16px;
}

.vdgl-pr-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: #ffffff;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

.vdgl-pr-contact-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.vdgl-pr-contact-intro {
    color: #6b7280;
    margin-bottom: 1rem;
}

.vdgl-pr-contact-name {
    display: block;
    font-weight: 700;
    color: #111827;
}

.vdgl-pr-contact-role {
    display: block;
    color: #6b7280;
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
}

.vdgl-pr-contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.vdgl-pr-contact-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.25s ease;
}

    .vdgl-pr-contact-chip:hover {
        background: #0d6efd;
        border-color: #0d6efd;
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
    }

/* Resource / coverage cards (v2) */
.vdgl-newsletter-resources-section-v2 {
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
}

.vdgl-newsletter-resources-title-v2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 1rem;
}

    .vdgl-newsletter-resources-title-v2::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 70%;
        background: linear-gradient(180deg, #0d6efd 0%, #0a58ca 100%);
        border-radius: 2px;
    }

/* Numbered resource / coverage cards */
.vdgl-newsletter-resources-list-v2 {
    display: grid;
    gap: 1rem;
}

.vdgl-newsletter-resource-card-v2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

    .vdgl-newsletter-resource-card-v2:hover {
        background: #ffffff;
        border-color: #0d6efd;
        box-shadow: 0 4px 12px rgba(13, 110, 253, 0.1);
        transform: translateY(-2px);
    }

.vdgl-newsletter-resource-number-badge-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.25);
}

.vdgl-newsletter-resource-link-v2 {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #374151;
    flex: 1;
    min-width: 0;
    transition: color 0.2s ease;
}

    .vdgl-newsletter-resource-link-v2:hover {
        color: #0d6efd;
        text-decoration: none;
    }

.vdgl-newsletter-resource-content-v2 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.15rem;
    min-width: 0;
}

.vdgl-newsletter-resource-text-v2 {
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 600;
    color: #111827;
}

.vdgl-newsletter-resource-desc-v2 {
    font-size: 0.8125rem;
    line-height: 1.4;
    font-weight: 600;
    color: #374151;
    overflow-wrap: anywhere;
}

.vdgl-newsletter-resource-arrow-v2 {
    font-size: 1.5rem;
    color: #9ca3af;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.vdgl-newsletter-resource-link-v2:hover .vdgl-newsletter-resource-arrow-v2 {
    color: #0d6efd;
    transform: translateX(4px) scale(1.1);
}

/* URL line shown under a card's description (used where a resource has a source URL) */
.vdgl-newsletter-resource-url-v2 {
    font-size: 0.75rem;
    line-height: 1.4;
    color: #9ca3af;
    word-break: break-all;
    margin-top: 0.15rem;
}

@media (max-width: 768px) {
    .vdgl-newsletter-resources-section-v2 {
        padding: 1.5rem;
    }

    .vdgl-newsletter-resources-title-v2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .vdgl-pr-contact {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .vdgl-pr-contact-links {
        flex-direction: column;
        align-items: stretch;
    }

    .vdgl-pr-contact-chip {
        justify-content: center;
    }

    .press-quote {
        font-size: 1.25rem;
        padding: 1.25rem 2rem 2.5rem 2rem;
    }

        .press-quote::before,
        .press-quote::after {
            font-size: 4.5rem;
        }
}
