/* ============================================================
   GREMI - Creative Newspaper & Press Coverage Showcase Section
   ============================================================ */

/* Section Header */
.rt-press-section-header {
    margin-top: 3.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.rt-press-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(157, 27, 48, 0.08);
    color: #9d1b30;
    border: 1px solid rgba(157, 27, 48, 0.22);
    padding: 6px 16px;
    border-radius: 30px;
    font-family: Montserrat, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.rt-press-section-badge .rt-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9d1b30;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(157, 27, 48, 0.25);
}

.rt-press-section-title {
    font-family: Montserrat, sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #002555;
    margin: 0;
    letter-spacing: -0.01em;
}

/* 3-Card Grid */
.rt-press-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
    perspective: 1200px;
}

/* Creative Clipping Card */
.rt-press-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgb(0 37 85 / 43%);
    position: relative;
    padding: 16px;
    /* box-shadow: 0 10px 28px -6px rgba(0, 37, 85, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03); */
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    overflow: visible;
    isolation: isolate;
}

/* Subtle Organic Angle & Lift on Desktop */
@media (min-width: 992px) {
    .rt-press-card:hover {
        transform: rotate(0deg) translateY(-12px) scale(1.02) !important;
        z-index: 10;
    }
}

/* Individual Publication Theme Borders & Shadows on Hover */
.theme-gs:hover {
    border-color: rgba(157, 27, 48, 0.38);
    box-shadow: 0 28px 56px -14px rgba(157, 27, 48, 0.22), 0 0 0 1.5px rgba(157, 27, 48, 0.28);
}

.theme-db:hover {
    border-color: rgba(157, 27, 48, 0.38);
    box-shadow: 0 28px 56px -14px rgba(157, 27, 48, 0.22), 0 0 0 1.5px rgba(157, 27, 48, 0.28);
}

.theme-dg:hover {
    border-color: rgba(157, 27, 48, 0.38);
    box-shadow: 0 28px 56px -14px rgba(157, 27, 48, 0.22), 0 0 0 1.5px rgba(157, 27, 48, 0.28);
}

/* Translucent Tape Accent at the Top Center */
/* .rt-press-tape {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    width: 76px;
    height: 22px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 37, 85, 0.12);
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    z-index: 5;
    pointer-events: none;
    transition: opacity 0.3s ease;
} */

/* .rt-press-card:hover .rt-press-tape {
    background: rgba(255, 255, 255, 0.9);
} */

/* Card Top Masthead Strip */
.rt-press-card-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 4px 12px;
    border-bottom: 1px solid rgba(0, 37, 85, 0.06);
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.rt-press-pub-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.rt-pub-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    transition: transform 0.3s ease;
}

.theme-gs .rt-pub-indicator {
    background: #9d1b30;
    box-shadow: 0 0 0 3px rgba(157, 27, 48, 0.18);
}

.theme-db .rt-pub-indicator {
    background: #9d1b30;
    box-shadow: 0 0 0 3px rgba(157, 27, 48, 0.18);
}

.theme-dg .rt-pub-indicator {
    background: #9d1b30;
    box-shadow: 0 0 0 3px rgba(157, 27, 48, 0.18);
}

.rt-press-card:hover .rt-pub-indicator {
    transform: scale(1.3);
}

.rt-pub-name {
    font-family: Montserrat, sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #002555;
    transition: color 0.3s ease;
}

.theme-gs:hover .rt-pub-name {
    color: #9d1b30;
}

.theme-db:hover .rt-pub-name {
    color: #9d1b30;
}

.theme-dg:hover .rt-pub-name {
    color: #9d1b30;
}

.rt-press-clipping-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: Montserrat, sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    padding: 3px 9px;
    border-radius: 20px;
    border: 1px solid rgba(0, 37, 85, 0.06);
    transition: all 0.3s ease;
}

.theme-gs:hover .rt-press-clipping-badge {
    background: rgba(157, 27, 48, 0.08);
    color: #9d1b30;
    border-color: rgba(157, 27, 48, 0.2);
}

/* Image Viewport Frame */
.rt-press-viewport {
    position: relative;
    width: 100%;
    height: 240px;
    background: #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 37, 85, 0.07);
}

.rt-press-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.rt-press-card:hover .rt-press-img {
    transform: scale(1.08);
}

/* Interactive Magnifying Loupe Overlay with Pulse */
.rt-press-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 37, 85, 0.2) 0%, rgba(0, 37, 85, 0.75) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 3;
}

.rt-press-card:hover .rt-press-overlay {
    opacity: 1;
}

.rt-press-zoom-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 30px;
    font-family: Montserrat, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.25);
    transform: translateY(12px) scale(0.95);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-gs .rt-press-zoom-pill {
    background: rgba(157, 27, 48, 0.95);
}

.rt-press-card:hover .rt-press-zoom-pill {
    transform: translateY(0) scale(1);
}

/* Card Content Area (NO duplicate headline!) */
.rt-press-content {
    padding: 1.35rem 0.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

/* Watermark SVG Quote */
.rt-press-watermark {
    position: absolute;
    top: 0.5rem;
    right: 0.25rem;
    color: #002555;
    opacity: 0.05;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease, color 0.35s ease;
}

.theme-gs:hover .rt-press-watermark {
    opacity: 0.12;
    color: #9d1b30;
    transform: scale(1.1) rotate(5deg);
}

/* Body Text with Left Accent Line */
.rt-press-body {
    position: relative;
    z-index: 2;
}

.rt-press-text {
    font-family: Jost, sans-serif;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #334155;
    margin: 0 0 1.25rem 0;
    transition: border-color 0.3s ease;
}

.theme-gs:hover .rt-press-text {
    border-left-color: #9d1b30;
}



/* Creative Interactive Action Button */
.rt-press-action {
    margin-top: auto;
    position: relative;
    z-index: 2;
    padding-top: 0.5rem;
}

.rt-press-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    font-family: Montserrat, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #f8fafc;
    border: 1px solid rgba(0, 37, 85, 0.08);
    color: #002555;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rt-press-btn svg {
    transition: transform 0.3s ease;
}

.theme-gs:hover .rt-press-btn {
    background: #9d1b30;
    color: #ffffff;
    border-color: #9d1b30;
    box-shadow: 0 4px 14px rgba(157, 27, 48, 0.3);
}


.rt-press-card:hover .rt-press-btn svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 991px) {
    .rt-press-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .rt-press-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 1.5rem;
        margin-bottom: 2rem;
    }

    .rt-press-card {
        padding: 14px;
    }

    .rt-press-viewport {
        height: 220px;
    }

    .rt-press-section-title {
        font-size: 1.35rem;
    }
}