/* ── Research & Reports — Cinematic Edition ────────────────── */

.rr-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ── Scroll Animations ─────────────────────────────────────── */

.anim-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-fade {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-visible {
    opacity: 1 !important;
    transform: none !important;
}

/* ── Cinematic Hero ────────────────────────────────────────── */

.rr-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #0a0e1a;
}

.rr-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.rr-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.1);
    will-change: transform;
}

.rr-hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10,14,26,0.15) 0%,
        rgba(10,14,26,0.4) 40%,
        rgba(10,14,26,0.92) 100%
    );
    z-index: 1;
}

.rr-hero-body {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem 5rem;
    width: 100%;
}

.rr-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--cisd-yellow);
    margin-bottom: 1.25rem;
}

.rr-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    max-width: 650px;
}

.rr-hero-sub {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
    max-width: 540px;
    margin: 0;
}

.rr-hero-scroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    margin-top: 2.5rem;
    animation: rr-bounce 2s infinite;
    transition: border-color 0.3s;
}

.rr-hero-scroll:hover {
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}

@keyframes rr-bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(8px); }
}

/* ── Ticker strip ──────────────────────────────────────────── */

.rr-ticker {
    background: var(--cisd-blue);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
}

.rr-ticker-track {
    display: flex;
    gap: 2rem;
    white-space: nowrap;
    animation: rr-scroll 25s linear infinite;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

@keyframes rr-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Section Headers ───────────────────────────────────────── */

.rr-section-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--cisd-red);
    margin-bottom: 0.5rem;
}

.rr-section-header {
    margin-bottom: 3rem;
}

.rr-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.rr-section-sub {
    font-size: 1.05rem;
    color: #666;
    max-width: 540px;
    line-height: 1.65;
}

/* ── Featured Case Study ───────────────────────────────────── */

.rr-featured {
    padding: 5rem 0 0;
    background: #f8f9fa;
}

.rr-featured-card {
    display: flex;
    background: #fff;
    box-shadow: 0 2px 24px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: box-shadow 0.5s;
}

.rr-featured-card:hover {
    box-shadow: 0 16px 56px rgba(0,0,0,0.13);
}

.rr-featured-visual {
    position: relative;
    width: 52%;
    flex-shrink: 0;
    overflow: hidden;
}

.rr-featured-img-link {
    display: block;
    height: 100%;
    position: relative;
}

.rr-featured-img {
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.rr-featured-card:hover .rr-featured-img {
    transform: scale(1.04);
}

.rr-featured-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10,14,26,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.4s;
}

.rr-featured-card:hover .rr-featured-img-overlay {
    opacity: 1;
}

.rr-play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cisd-blue);
    font-size: 1.1rem;
}

.rr-play-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.rr-featured-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: var(--cisd-red);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 7px 16px;
    z-index: 2;
}

.rr-featured-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rr-featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: #111;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.rr-featured-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.rr-featured-title a:hover { color: var(--cisd-blue); }

.rr-featured-excerpt {
    font-size: 0.98rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Stats strip */
.rr-featured-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.rr-stat {
    display: flex;
    flex-direction: column;
}

.rr-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--cisd-blue);
    line-height: 1;
}

.rr-stat-label {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    margin-top: 4px;
}

/* Tags */
.rr-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.rr-tag--blue  { color: var(--cisd-blue); }
.rr-tag--red   { color: var(--cisd-red);  }
.rr-tag--green { color: #059669; }

/* Button */
.rr-btn {
    display: inline-block;
    background: var(--cisd-blue);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 14px 32px;
    text-decoration: none;
    margin-top: 1.75rem;
    transition: background 0.3s, transform 0.3s;
}

.rr-btn:hover {
    background: #15306e;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.rr-btn i { margin-left: 8px; font-size: 0.7rem; }

.rr-btn--white {
    background: #fff;
    color: var(--cisd-blue);
}

.rr-btn--white:hover {
    background: #f0f0f0;
    color: var(--cisd-blue);
}

.rr-btn--outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
}

.rr-btn--outline:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255,255,255,0.08);
}

/* ── Video Section ─────────────────────────────────────────── */

.rr-video-section {
    padding: 5rem 0;
    background: #fff;
}

.rr-video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5rem;
}

.rr-video-card--featured {
    grid-row: 1 / 3;
}

.rr-video-card {
    background: #fff;
    overflow: hidden;
    border: 1px solid #eee;
    transition: box-shadow 0.4s, transform 0.4s;
}

.rr-video-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.rr-video-thumb {
    position: relative;
    overflow: hidden;
}

.rr-video-card--featured .rr-video-thumb {
    height: 100%;
    min-height: 320px;
}

.rr-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s;
}

.rr-video-card:hover .rr-video-thumb img {
    transform: scale(1.05);
}

.rr-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cisd-red);
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    z-index: 2;
}

.rr-video-card:hover .rr-video-play {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.rr-video-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--cisd-yellow);
    color: #111;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    z-index: 2;
}

.rr-video-badge--blue {
    background: var(--cisd-blue);
    color: #fff;
}

.rr-video-badge--red {
    background: var(--cisd-red);
    color: #fff;
}

.rr-video-duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 10px;
    z-index: 2;
}

.rr-video-info {
    padding: 1.25rem 1.5rem;
}

.rr-video-card--featured .rr-video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    padding: 3rem 1.5rem 1.5rem;
    z-index: 2;
}

.rr-video-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.rr-video-card--featured .rr-video-info h3 {
    color: #fff;
    font-size: 1.35rem;
}

.rr-video-info p {
    font-size: 0.82rem;
    color: #777;
    margin: 0;
}

.rr-video-card--featured .rr-video-info p {
    color: rgba(255,255,255,0.7);
}

/* ── Video Lightbox ────────────────────────────────────────── */

.rr-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s;
}

.rr-lightbox--open {
    opacity: 1;
}

.rr-lightbox-inner {
    position: relative;
    width: 90vw;
    max-width: 960px;
}

.rr-lightbox-close {
    position: absolute;
    top: -48px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.rr-lightbox-close:hover { opacity: 1; }

.rr-lightbox-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.rr-lightbox-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ── Photo Band ────────────────────────────────────────────── */

.rr-photo-band {
    display: flex;
    height: 280px;
    overflow: hidden;
}

.rr-photo-band-item {
    flex: 1;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: flex 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.rr-photo-band-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10,14,26,0.15);
    transition: background 0.4s;
}

.rr-photo-band:hover .rr-photo-band-item {
    flex: 0.8;
}

.rr-photo-band .rr-photo-band-item:hover {
    flex: 2;
}

.rr-photo-band .rr-photo-band-item:hover::after {
    background: rgba(10,14,26,0);
}

/* ── Card Overlay ──────────────────────────────────────────── */

.rr-card-img-link {
    display: block;
    overflow: hidden;
    position: relative;
}

.rr-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,14,26,0.6) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.4s;
}

.rr-card:hover .rr-card-overlay {
    opacity: 1;
}

.rr-card-overlay-label {
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* ── Initiatives Grid ──────────────────────────────────────── */

.rr-grid-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.rr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.rr-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s;
    display: flex;
    flex-direction: column;
}

.rr-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 56px rgba(0,0,0,0.1);
}

.rr-card-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.rr-card:hover .rr-card-img { transform: scale(1.06); }

.rr-card-body {
    padding: 1.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.rr-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.rr-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.rr-card-title a:hover { color: var(--cisd-blue); }

.rr-card-text {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.65;
    margin-bottom: 1rem;
    flex: 1;
}

.rr-card-link {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cisd-blue);
    text-decoration: none;
    margin-top: auto;
    transition: color 0.3s, gap 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.rr-card:hover .rr-card-link { gap: 10px; }

.rr-card-link:hover { color: var(--cisd-red); }

.rr-card-link i { font-size: 0.65rem; transition: transform 0.3s; }

.rr-card:hover .rr-card-link i { transform: translateX(3px); }

/* ── Publications ──────────────────────────────────────────── */

.rr-publications {
    padding: 5rem 0;
    background: #fff;
}

.rr-pub-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.rr-pub-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    border: 1px solid #eee;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.rr-pub-card:hover {
    border-color: var(--cisd-blue);
    box-shadow: 0 8px 24px rgba(30,58,138,0.08);
    color: inherit;
    text-decoration: none;
    transform: translateY(-2px);
}

.rr-pub-icon {
    width: 52px;
    height: 52px;
    background: rgba(220,38,38,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--cisd-red);
    font-size: 1.3rem;
}

.rr-pub-info { flex: 1; }

.rr-pub-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 4px 0;
}

.rr-pub-meta {
    font-size: 0.85rem;
    color: #777;
    margin: 0 0 6px 0;
}

.rr-pub-dl {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--cisd-red);
}

.rr-pub-dl i { margin-right: 4px; }

/* ── CTA ───────────────────────────────────────────────────── */

.rr-cta {
    background: linear-gradient(135deg, var(--cisd-blue) 0%, #0f1d45 100%);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.rr-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30h60M30 0v60' stroke='rgba(255,255,255,0.03)' fill='none'/%3E%3C/svg%3E");
    pointer-events: none;
}

.rr-cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 2;
}

.rr-cta-text {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    max-width: 480px;
    margin: 0 auto 2rem;
    line-height: 1.65;
    position: relative;
    z-index: 2;
}

.rr-cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.rr-cta-actions .rr-btn { margin-top: 0; }

/* ── Responsive ────────────────────────────────────────────── */

@media (max-width: 991px) {
    .rr-hero { min-height: 75vh; }
    .rr-hero-title { font-size: 3rem; }
    .rr-hero-body { padding-bottom: 4rem; }
    .rr-featured-card { flex-direction: column; }
    .rr-featured-visual { width: 100%; }
    .rr-featured-img { min-height: 300px; }
    .rr-featured-content { padding: 2rem; }
    .rr-featured-title { font-size: 1.5rem; }
    .rr-grid { grid-template-columns: 1fr 1fr; }
    .rr-video-grid { grid-template-columns: 1fr; }
    .rr-video-card--featured { grid-row: auto; }
    .rr-video-card--featured .rr-video-thumb { min-height: 240px; }
    .rr-photo-band { height: 200px; }
}

@media (max-width: 767px) {
    .rr-hero { min-height: 65vh; }
    .rr-hero-title { font-size: 2.25rem; }
    .rr-hero-sub { font-size: 1rem; }
    .rr-hero-body { padding-bottom: 3rem; }
    .rr-grid { grid-template-columns: 1fr; }
    .rr-featured-stats { gap: 1.25rem; flex-wrap: wrap; }
    .rr-stat-num { font-size: 1.35rem; }
    .rr-pub-grid { grid-template-columns: 1fr; }
    .rr-section-title { font-size: 1.75rem; }
    .rr-photo-band { height: 160px; }
    .rr-photo-band-item:nth-child(4),
    .rr-photo-band-item:nth-child(5) { display: none; }
}

@media (max-width: 576px) {
    .rr-hero { min-height: 55vh; }
    .rr-hero-title { font-size: 1.85rem; }
    .rr-hero-body { padding-bottom: 2.5rem; }
    .rr-featured-stats { gap: 1rem; }
    .rr-pub-card { flex-direction: column; text-align: center; padding: 1.25rem; }
    .rr-cta-title { font-size: 1.75rem; }
    .rr-cta-actions { flex-direction: column; align-items: center; }
    .rr-photo-band { height: 140px; }
    .rr-photo-band-item:nth-child(3) { display: none; }
}
