/**
 * Press Release Module – Frontend Styles
 *
 * Uses CSS custom properties scoped to .mres-pr-* classes
 * to avoid collision with the Houzez parent theme.
 *
 * @package MRES\Modules\PressRelease
 */

/* =====================================================================
 * 1. CSS Variables
 * ===================================================================== */
:root {
    --mres-pr-primary: #0B6230;
    --mres-pr-primary-hover: #095126;
    --mres-pr-accent: #C2A14A;
    --mres-pr-accent-hover: #A87C09;
    --mres-pr-header-bg: #0F2F1D;
    --mres-pr-body-bg: #F7F8F5;
    --mres-pr-card-bg: #FFFFFF;
    --mres-pr-text-dark: #1F2937;
    --mres-pr-text-muted: #6B7280;
    --mres-pr-text-light: #F8FAF7;
    --mres-pr-border: #E5E7EB;
    --mres-pr-radius: 8px;
    --mres-pr-radius-lg: 12px;
    --mres-pr-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --mres-pr-shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
    --mres-pr-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --mres-pr-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =====================================================================
 * 2. Single Layout
 * ===================================================================== */
.mres-pr-single-wrap {
    background-color: var(--mres-pr-body-bg);
    font-family: var(--mres-pr-font);
    color: var(--mres-pr-text-dark);
}

.mres-pr-single-wrap .container {
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Breadcrumb */
.mres-pr-breadcrumb {
    padding: 16px 0;
    font-size: 13px;
    color: var(--mres-pr-text-muted);
}

.mres-pr-breadcrumb a {
    color: var(--mres-pr-primary);
    text-decoration: underline;
    transition: color var(--mres-pr-transition);
}

.mres-pr-breadcrumb a:hover {
    color: var(--mres-pr-primary-hover);
}

.mres-pr-breadcrumb .separator {
    margin: 0 8px;
    color: var(--mres-pr-text-muted);
}

/* 2-column grid */
.mres-pr-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 48px;
}

@media (min-width: 992px) {
    .mres-pr-grid {
        grid-template-columns: 1fr 380px;
    }
}

/* =====================================================================
 * 3. Type Badge
 * ===================================================================== */
.mres-pr-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background-color: var(--mres-pr-primary);
    margin-bottom: 16px;
    text-decoration: none;
    transition: background-color var(--mres-pr-transition);
}

.mres-pr-badge:hover {
    background-color: var(--mres-pr-primary-hover);
    color: #fff;
    text-decoration: none;
}

/* Badge color variants by slug */
.mres-pr-badge--project-launch     { background-color: #0B6230; }
.mres-pr-badge--construction-update { background-color: #2563EB; }
.mres-pr-badge--sales-milestone    { background-color: #059669; }
.mres-pr-badge--developer-announcement { background-color: #7C3AED; }
.mres-pr-badge--company-news       { background-color: #0F2F1D; }
.mres-pr-badge--investment-report   { background-color: #B45309; }
.mres-pr-badge--market-report       { background-color: #DC2626; }
.mres-pr-badge--award              { background-color: #C2A14A; }
.mres-pr-badge--csr                { background-color: #0891B2; }
.mres-pr-badge--partnership        { background-color: #4338CA; }
.mres-pr-badge--office-opening     { background-color: #15803D; }
.mres-pr-badge--policy-update      { background-color: #64748B; }

/* =====================================================================
 * 4. Title & Meta
 * ===================================================================== */
.mres-pr-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--mres-pr-text-dark);
    margin: 0 0 12px;
    font-family: var(--mres-pr-font);
}

@media (min-width: 768px) {
    .mres-pr-title {
        font-size: 38px;
    }
}

.mres-pr-subtitle {
    font-size: 18px;
    line-height: 1.55;
    color: var(--mres-pr-text-muted);
    margin: 0 0 16px;
    font-weight: 400;
}

.mres-pr-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: var(--mres-pr-text-muted);
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--mres-pr-border);
}

.mres-pr-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mres-pr-meta-item i {
    font-size: 14px;
    color: var(--mres-pr-primary);
}

/* =====================================================================
 * 5. Featured Image
 * ===================================================================== */
.mres-pr-featured-img {
    width: 100%;
    border-radius: var(--mres-pr-radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
}

.mres-pr-featured-img img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* =====================================================================
 * 6. Body Content
 * ===================================================================== */
.mres-pr-content {
    font-size: 15px;
    line-height: 1.75;
    color: var(--mres-pr-text-dark);
}

.mres-pr-content p {
    margin-bottom: 16px;
}

.mres-pr-content .mres-pr-dateline {
    font-weight: 700;
}

.mres-pr-section {
    margin-bottom: 32px;
}

.mres-pr-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--mres-pr-text-dark);
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--mres-pr-primary);
    display: inline-block;
}

/* Scannable lists inside press release body + sections */
.mres-pr-content ul,
.mres-pr-section ul {
    list-style: disc outside;
    padding-left: 1.4em;
    margin: 0 0 18px;
}

.mres-pr-content ol,
.mres-pr-section ol {
    list-style: decimal outside;
    padding-left: 1.5em;
    margin: 0 0 18px;
}

.mres-pr-content li,
.mres-pr-section li {
    margin-bottom: 8px;
    line-height: 1.65;
    padding-left: 4px;
}

.mres-pr-content li::marker,
.mres-pr-section li::marker {
    color: var(--mres-pr-primary);
    font-weight: 600;
}

.mres-pr-content li:last-child,
.mres-pr-section li:last-child {
    margin-bottom: 0;
}

.mres-pr-content h2 {
    font-size: 19px;
    font-weight: 700;
    color: var(--mres-pr-text-dark);
    margin: 28px 0 12px;
}

@media (max-width: 768px) {
    .mres-pr-content ul,
    .mres-pr-section ul {
        padding-left: 1.2em;
    }

    .mres-pr-content ol,
    .mres-pr-section ol {
        padding-left: 1.3em;
    }

    .mres-pr-content h2 {
        font-size: 17px;
        margin: 22px 0 10px;
    }
}

/* =====================================================================
 * 7. Executive Quote
 * ===================================================================== */
.mres-pr-quote-block {
    background: linear-gradient(135deg, #f0fdf4 0%, #f8faf7 100%);
    border-left: 4px solid var(--mres-pr-primary);
    border-radius: 0 var(--mres-pr-radius-lg) var(--mres-pr-radius-lg) 0;
    padding: 28px 32px;
    margin: 32px 0;
    position: relative;
}

.mres-pr-quote-icon {
    font-size: 48px;
    line-height: 1;
    color: var(--mres-pr-primary);
    opacity: 0.25;
    font-family: Georgia, serif;
    position: absolute;
    top: 16px;
    left: 24px;
}

.mres-pr-quote-text {
    font-size: 17px;
    font-style: italic;
    line-height: 1.65;
    color: var(--mres-pr-text-dark);
    margin: 0 0 16px;
    padding-left: 8px;
}

.mres-pr-quote-attribution {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 8px;
}

.mres-pr-quote-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--mres-pr-primary);
}

.mres-pr-quote-person-name {
    font-weight: 700;
    font-size: 15px;
    color: var(--mres-pr-text-dark);
    margin: 0;
    line-height: 1.3;
}

.mres-pr-quote-designation {
    font-size: 13px;
    color: var(--mres-pr-text-muted);
    margin: 0;
}

/* =====================================================================
 * 8. Release Details Card (Sidebar)
 * ===================================================================== */
.mres-pr-sidebar {
    position: relative;
}

@media (min-width: 992px) {
    .mres-pr-sidebar {
        position: sticky;
        top: 100px;
        align-self: start;
    }
}

.mres-pr-details-card {
    background: var(--mres-pr-card-bg);
    border-radius: var(--mres-pr-radius-lg);
    box-shadow: var(--mres-pr-shadow);
    border: 1px solid var(--mres-pr-border);
    overflow: hidden;
    margin-bottom: 24px;
}

.mres-pr-details-card-header {
    background: var(--mres-pr-header-bg);
    color: var(--mres-pr-text-light);
    padding: 18px 24px;
    font-size: 17px;
    font-weight: 700;
}

.mres-pr-details-card-body {
    padding: 0;
}

.mres-pr-detail-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--mres-pr-border);
}

.mres-pr-detail-row:last-child {
    border-bottom: none;
}

.mres-pr-detail-icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    color: var(--mres-pr-primary);
    font-size: 16px;
    margin-top: 2px;
}

.mres-pr-detail-content {
    flex: 1;
    min-width: 0;
}

.mres-pr-detail-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--mres-pr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.mres-pr-detail-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--mres-pr-text-dark);
}

/* =====================================================================
 * 9. Media Gallery (Sidebar)
 * ===================================================================== */
.mres-pr-gallery-card {
    background: var(--mres-pr-card-bg);
    border-radius: var(--mres-pr-radius-lg);
    box-shadow: var(--mres-pr-shadow);
    border: 1px solid var(--mres-pr-border);
    overflow: hidden;
    margin-bottom: 24px;
}

.mres-pr-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--mres-pr-border);
}

.mres-pr-gallery-header h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--mres-pr-text-dark);
}

.mres-pr-gallery-header a {
    font-size: 13px;
    color: var(--mres-pr-primary);
    text-decoration: none;
    font-weight: 600;
}

.mres-pr-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    padding: 4px;
}

.mres-pr-gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.mres-pr-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--mres-pr-transition);
}

.mres-pr-gallery-item:hover img {
    transform: scale(1.05);
}

.mres-pr-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    transition: background var(--mres-pr-transition);
}

.mres-pr-gallery-item:hover::after {
    background: rgba(0,0,0,0.15);
}

/* =====================================================================
 * 10. Downloads (Sidebar)
 * ===================================================================== */
.mres-pr-downloads-card {
    background: var(--mres-pr-card-bg);
    border-radius: var(--mres-pr-radius-lg);
    box-shadow: var(--mres-pr-shadow);
    border: 1px solid var(--mres-pr-border);
    overflow: hidden;
    margin-bottom: 24px;
}

.mres-pr-downloads-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--mres-pr-border);
}

.mres-pr-downloads-header h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--mres-pr-text-dark);
}

.mres-pr-download-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--mres-pr-border);
    text-decoration: none;
    transition: background-color var(--mres-pr-transition);
}

.mres-pr-download-item:last-child {
    border-bottom: none;
}

.mres-pr-download-item:hover {
    background-color: #f9faf8;
    text-decoration: none;
}

.mres-pr-download-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #fef2f2;
    border-radius: var(--mres-pr-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #DC2626;
    font-size: 18px;
}

.mres-pr-download-info {
    flex: 1;
    min-width: 0;
}

.mres-pr-download-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--mres-pr-text-dark);
    margin: 0;
}

.mres-pr-download-meta {
    font-size: 12px;
    color: var(--mres-pr-text-muted);
    margin: 0;
}

/* =====================================================================
 * 11. Related Links (Sidebar)
 * ===================================================================== */
.mres-pr-related-card {
    background: var(--mres-pr-card-bg);
    border-radius: var(--mres-pr-radius-lg);
    box-shadow: var(--mres-pr-shadow);
    border: 1px solid var(--mres-pr-border);
    overflow: hidden;
    margin-bottom: 24px;
}

.mres-pr-related-card-header {
    padding: 16px 24px;
    border-bottom: 1px solid var(--mres-pr-border);
}

.mres-pr-related-card-header h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--mres-pr-text-dark);
}

.mres-pr-related-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--mres-pr-border);
    text-decoration: none;
    transition: background-color var(--mres-pr-transition);
}

.mres-pr-related-link:last-child {
    border-bottom: none;
}

.mres-pr-related-link:hover {
    background-color: #f9faf8;
    text-decoration: none;
}

.mres-pr-related-link-icon {
    flex-shrink: 0;
    width: 20px;
    text-align: center;
    color: var(--mres-pr-primary);
    font-size: 16px;
}

.mres-pr-related-link-content {
    flex: 1;
    min-width: 0;
}

.mres-pr-related-link-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--mres-pr-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 1px;
}

.mres-pr-related-link-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--mres-pr-text-dark);
}

.mres-pr-related-link-arrow {
    flex-shrink: 0;
    color: var(--mres-pr-text-muted);
    font-size: 14px;
    transition: transform var(--mres-pr-transition), color var(--mres-pr-transition);
}

.mres-pr-related-link:hover .mres-pr-related-link-arrow {
    transform: translateX(4px);
    color: var(--mres-pr-primary);
}

/* =====================================================================
 * 12. Media Contact Bar
 * ===================================================================== */
.mres-pr-contact-bar {
    background: var(--mres-pr-header-bg);
    border-radius: var(--mres-pr-radius-lg);
    padding: 20px 28px;
    margin: 32px 0;
}

.mres-pr-contact-bar-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--mres-pr-text-light);
    margin: 0 0 12px;
}

.mres-pr-contact-items {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.mres-pr-contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--mres-pr-text-light);
    text-decoration: none;
    opacity: 0.9;
    transition: opacity var(--mres-pr-transition);
}

.mres-pr-contact-item:hover {
    opacity: 1;
    color: var(--mres-pr-accent);
    text-decoration: none;
}

.mres-pr-contact-item i {
    font-size: 14px;
    color: var(--mres-pr-accent);
}

/* =====================================================================
 * 13. Social Share
 * ===================================================================== */
.mres-pr-share {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 0;
    border-top: 1px solid var(--mres-pr-border);
}

.mres-pr-share-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--mres-pr-text-muted);
}

.mres-pr-share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--mres-pr-border);
    background: var(--mres-pr-card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mres-pr-text-muted);
    font-size: 14px;
    cursor: pointer;
    transition: all var(--mres-pr-transition);
    text-decoration: none;
    padding: 0;
}

.mres-pr-share-btn:hover {
    background: var(--mres-pr-primary);
    color: #fff;
    border-color: var(--mres-pr-primary);
    text-decoration: none;
}

/* =====================================================================
 * 14. Related Press Releases
 * ===================================================================== */
.mres-pr-related-releases {
    padding: 48px 0 56px;
    border-top: 1px solid var(--mres-pr-border);
}

.mres-pr-related-releases-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.mres-pr-related-releases-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--mres-pr-text-dark);
}

.mres-pr-related-releases-header a {
    font-size: 14px;
    font-weight: 600;
    color: var(--mres-pr-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--mres-pr-transition);
}

.mres-pr-related-releases-header a:hover {
    color: var(--mres-pr-primary-hover);
}

.mres-pr-releases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 576px) {
    .mres-pr-releases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .mres-pr-releases-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.mres-pr-release-card {
    background: var(--mres-pr-card-bg);
    border-radius: var(--mres-pr-radius-lg);
    overflow: hidden;
    box-shadow: var(--mres-pr-shadow);
    border: 1px solid var(--mres-pr-border);
    transition: box-shadow var(--mres-pr-transition), transform var(--mres-pr-transition);
    text-decoration: none;
    display: block;
}

.mres-pr-release-card:hover {
    box-shadow: var(--mres-pr-shadow-lg);
    transform: translateY(-4px);
    text-decoration: none;
}

.mres-pr-release-card-img {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.mres-pr-release-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--mres-pr-transition);
}

.mres-pr-release-card:hover .mres-pr-release-card-img img {
    transform: scale(1.05);
}

.mres-pr-release-card-img .mres-pr-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    margin: 0;
    font-size: 10px;
    padding: 4px 10px;
}

.mres-pr-release-card-body {
    padding: 16px;
}

.mres-pr-release-card-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--mres-pr-text-dark);
    margin: 0 0 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mres-pr-release-card-date {
    font-size: 13px;
    color: var(--mres-pr-text-muted);
    margin: 0;
}

/* =====================================================================
 * 15. Boilerplate
 * ===================================================================== */
.mres-pr-boilerplate {
    background: var(--mres-pr-card-bg);
    border: 1px solid var(--mres-pr-border);
    border-radius: var(--mres-pr-radius-lg);
    padding: 28px 32px;
    margin-bottom: 32px;
}

.mres-pr-boilerplate h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--mres-pr-text-dark);
}

.mres-pr-boilerplate h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 20px 0 6px;
    color: var(--mres-pr-text-dark);
}

.mres-pr-boilerplate p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--mres-pr-text-muted);
    margin: 0 0 12px;
}

.mres-pr-boilerplate p:last-child {
    margin-bottom: 0;
}

/* =====================================================================
 * 16. Project Highlights & View All
 * ===================================================================== */
.mres-pr-highlights {
    margin: 32px 0;
}

.mres-pr-highlights-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--mres-pr-text-dark);
    margin: 0 0 20px;
}

.mres-pr-highlights-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 576px) {
    .mres-pr-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.mres-pr-highlight-card {
    background: var(--mres-pr-card-bg);
    border: 1px solid var(--mres-pr-border);
    border-radius: var(--mres-pr-radius);
    padding: 20px;
    box-shadow: var(--mres-pr-shadow);
    transition: transform var(--mres-pr-transition), box-shadow var(--mres-pr-transition);
}

.mres-pr-highlight-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--mres-pr-shadow-lg);
}

.mres-pr-highlight-icon {
    width: 48px;
    height: 48px;
    background: rgba(11, 98, 48, 0.08); /* Light primary */
    color: var(--mres-pr-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.mres-pr-highlight-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--mres-pr-text-dark);
    margin: 0 0 8px;
}

.mres-pr-highlight-desc {
    font-size: 13px;
    color: var(--mres-pr-text-muted);
    margin: 0;
    line-height: 1.5;
}

.mres-pr-view-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--mres-pr-primary);
    text-decoration: none;
    transition: color var(--mres-pr-transition);
}

.mres-pr-view-all:hover {
    color: var(--mres-pr-primary-hover);
    text-decoration: underline;
}

/* =====================================================================
 * 17. Archive Layout
 * ===================================================================== */
.mres-pr-archive-wrap {
    background-color: var(--mres-pr-body-bg);
    font-family: var(--mres-pr-font);
    color: var(--mres-pr-text-dark);
    min-height: 60vh;
}

/* Archive Hero */
.mres-pr-archive-hero {
    background: linear-gradient(135deg, var(--mres-pr-header-bg) 0%, #1a4a2e 100%);
    padding: 48px 0 40px;
    text-align: center;
}

.mres-pr-archive-hero h1 {
    font-size: 36px;
    font-weight: 800;
    color: var(--mres-pr-text-light);
    margin: 0 0 10px;
}

@media (min-width: 768px) {
    .mres-pr-archive-hero h1 {
        font-size: 42px;
    }
}

.mres-pr-archive-hero p {
    font-size: 16px;
    color: rgba(248, 250, 247, 0.75);
    margin: 0 0 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Filter Pills */
.mres-pr-filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0 15px;
}

.mres-pr-filter-pill {
    display: inline-block;
    padding: 7px 18px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(248, 250, 247, 0.8);
    background: rgba(255,255,255,0.08);
    transition: all var(--mres-pr-transition);
}

.mres-pr-filter-pill:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
}

.mres-pr-filter-pill--active {
    background: var(--mres-pr-accent);
    color: #fff;
    border-color: var(--mres-pr-accent);
}

.mres-pr-filter-pill--active:hover {
    background: var(--mres-pr-accent-hover);
    border-color: var(--mres-pr-accent-hover);
}

/* Archive Featured Card */
.mres-pr-archive-featured {
    padding: 40px 0 0;
}

.mres-pr-featured-card {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--mres-pr-card-bg);
    border-radius: var(--mres-pr-radius-lg);
    overflow: hidden;
    box-shadow: var(--mres-pr-shadow-lg);
    border: 1px solid var(--mres-pr-border);
}

@media (min-width: 768px) {
    .mres-pr-featured-card {
        grid-template-columns: 1fr 1fr;
    }
}

.mres-pr-featured-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.mres-pr-featured-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mres-pr-featured-card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mres-pr-featured-card-body .mres-pr-badge {
    align-self: flex-start;
}

.mres-pr-featured-card-body h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--mres-pr-text-dark);
    line-height: 1.3;
}

@media (min-width: 768px) {
    .mres-pr-featured-card-body h2 {
        font-size: 28px;
    }
}

.mres-pr-featured-card-body .mres-pr-excerpt {
    font-size: 15px;
    color: var(--mres-pr-text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mres-pr-featured-card-meta {
    font-size: 13px;
    color: var(--mres-pr-text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.mres-pr-featured-card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.mres-pr-read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 24px;
    background: var(--mres-pr-primary);
    color: #fff;
    border-radius: var(--mres-pr-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color var(--mres-pr-transition);
    align-self: flex-start;
}

.mres-pr-read-more:hover {
    background: var(--mres-pr-primary-hover);
    color: #fff;
    text-decoration: none;
}

/* Archive Grid */
.mres-pr-archive-grid {
    padding: 40px 0 48px;
}

.mres-pr-archive-grid .mres-pr-releases-grid {
    grid-template-columns: 1fr;
}

@media (min-width: 576px) {
    .mres-pr-archive-grid .mres-pr-releases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .mres-pr-archive-grid .mres-pr-releases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Pagination */
.mres-pr-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 32px 0;
}

.mres-pr-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--mres-pr-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--mres-pr-border);
    color: var(--mres-pr-text-dark);
    background: var(--mres-pr-card-bg);
    transition: all var(--mres-pr-transition);
}

.mres-pr-pagination .page-numbers:hover {
    background: var(--mres-pr-primary);
    color: #fff;
    border-color: var(--mres-pr-primary);
}

.mres-pr-pagination .page-numbers.current {
    background: var(--mres-pr-primary);
    color: #fff;
    border-color: var(--mres-pr-primary);
}

.mres-pr-pagination .page-numbers.dots {
    border: none;
    background: transparent;
}

/* Empty State */
.mres-pr-empty {
    text-align: center;
    padding: 60px 20px;
}

.mres-pr-empty-icon {
    font-size: 48px;
    color: var(--mres-pr-text-muted);
    opacity: 0.4;
    margin-bottom: 16px;
}

.mres-pr-empty h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--mres-pr-text-dark);
    margin: 0 0 8px;
}

.mres-pr-empty p {
    font-size: 14px;
    color: var(--mres-pr-text-muted);
    margin: 0;
}

/* =====================================================================
 * 17. Animations
 * ===================================================================== */
@keyframes mresPrFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mres-pr-animate {
    animation: mresPrFadeInUp 0.5s ease-out forwards;
    opacity: 0;
}

.mres-pr-animate--delay-1 { animation-delay: 0.1s; }
.mres-pr-animate--delay-2 { animation-delay: 0.2s; }
.mres-pr-animate--delay-3 { animation-delay: 0.3s; }

/* =====================================================================
 * 18. Gallery Lightbox
 * ===================================================================== */
.mres-pr-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mres-pr-lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mres-pr-lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    position: relative;
}

.mres-pr-lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--mres-pr-radius);
    object-fit: contain;
}

.mres-pr-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.mres-pr-lightbox-close:hover {
    background: rgba(255,255,255,0.3);
}

/* =====================================================================
 * 19. Responsive Adjustments
 * ===================================================================== */
@media (max-width: 767.98px) {
    .mres-pr-title {
        font-size: 26px;
    }

    .mres-pr-meta-row {
        gap: 12px;
    }

    .mres-pr-quote-block {
        padding: 20px 20px;
    }

    .mres-pr-contact-items {
        flex-direction: column;
        gap: 10px;
    }

    .mres-pr-related-releases-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .mres-pr-archive-hero {
        padding: 32px 0 28px;
    }

    .mres-pr-archive-hero h1 {
        font-size: 28px;
    }

    .mres-pr-featured-card-body {
        padding: 20px;
    }

    .mres-pr-featured-card-body h2 {
        font-size: 20px;
    }
}

/* Print */
@media print {
    .mres-pr-share,
    .mres-pr-lightbox-overlay,
    .mres-pr-progress {
        display: none !important;
    }

    .mres-pr-single-wrap {
        background: #fff;
    }

    .mres-pr-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================================
 * 13. Reading Progress Bar
 * ===================================================================== */
.mres-pr-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    z-index: 99999;
    background: transparent;
    pointer-events: none;
}

.mres-pr-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--mres-pr-primary), var(--mres-pr-accent));
    transition: width 0.1s linear;
}

/* =====================================================================
 * 14. Lead Summary (under headline)
 * ===================================================================== */
.mres-pr-lead {
    font-size: 19px;
    line-height: 1.6;
    color: var(--mres-pr-text-dark);
    border-left: 3px solid var(--mres-pr-accent);
    padding: 4px 0 4px 16px;
    margin: 18px 0 0;
    font-weight: 500;
}

/* =====================================================================
 * 15. Key Facts Box
 * ===================================================================== */
.mres-pr-keyfacts {
    background: var(--mres-pr-card-bg);
    border: 1px solid var(--mres-pr-border);
    border-top: 3px solid var(--mres-pr-primary);
    border-radius: var(--mres-pr-radius-lg);
    box-shadow: var(--mres-pr-shadow);
    padding: 24px 28px;
    margin: 0 0 36px;
}

.mres-pr-keyfacts-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mres-pr-primary);
    margin: 0 0 18px;
}

.mres-pr-keyfacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 32px;
    margin: 0;
}

.mres-pr-keyfact dt {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mres-pr-text-muted);
    margin: 0 0 3px;
}

.mres-pr-keyfact dd {
    font-size: 15px;
    font-weight: 600;
    color: var(--mres-pr-text-dark);
    margin: 0;
    line-height: 1.45;
}

/* =====================================================================
 * 16. Pull Quote (Forbes-style visual centerpiece)
 * ===================================================================== */
.mres-pr-quote-block--pull {
    background: var(--mres-pr-header-bg);
    border: none;
    border-radius: var(--mres-pr-radius-lg);
    padding: 36px 44px 30px;
    margin: 34px 0;
    text-align: center;
    overflow: hidden;
}

.mres-pr-quote-block--pull .mres-pr-quote-icon {
    position: static;
    display: block;
    font-size: 72px;
    color: var(--mres-pr-accent);
    opacity: 0.9;
    line-height: 0.6;
    margin-bottom: 14px;
}

.mres-pr-quote-block--pull .mres-pr-quote-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(22px, 3vw, 30px);
    font-style: normal;
    font-weight: 600;
    line-height: 1.4;
    color: var(--mres-pr-text-light);
    padding: 0;
    margin: 0 auto 24px;
    max-width: 760px;
}

.mres-pr-quote-block--pull .mres-pr-quote-attribution {
    justify-content: center;
    padding: 0;
}

.mres-pr-quote-block--pull .mres-pr-quote-person-name {
    color: #fff;
}

.mres-pr-quote-block--pull .mres-pr-quote-designation {
    color: rgba(248, 250, 247, 0.75);
}

@media (max-width: 767px) {
    .mres-pr-keyfacts-grid {
        grid-template-columns: 1fr;
    }

    .mres-pr-quote-block--pull {
        padding: 28px 24px 24px;
    }
}
