/* Perspectives Section - Report Cover Style */

.perspectives-section {
    background: #f5f7fa;
    padding: 4rem 2rem;
    overflow: hidden;
}

.perspectives-container {
    max-width: 1200px;
    margin: 0 auto;
}

.perspectives-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
}

.perspectives-header-left {
    flex: 0 0 auto;
}

.perspectives-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.perspectives-header-center {
    flex: 1;
    padding: 0 2rem;
}

.perspectives-subtitle {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

.perspectives-header-right {
    flex: 0 0 auto;
}

.perspectives-more-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.perspectives-more-link:hover {
    color: #1d4ed8;
}

/* Grid Layout */
.perspectives-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 500px;
}

/* Report Card Base */
.report-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

/* Blur Background */
.bg-blur {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    filter: blur(22px);
    transform: scale(1.2);
}

/* Center Cover Wrapper */
.cover-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Cover Image (Book/Report Style) */
.cover {
    width: 45%;
    height: 70%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 4px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.45);
}

/* Folded Corner */
.cover::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,0.4) 50%);
}

/* Gradient Overlay for Title */
.report-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent 60%);
    z-index: 3;
    pointer-events: none;
}

/* Category Label */
.card-category {
    position: absolute;
    left: 20px;
    bottom: 65px;
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    z-index: 4;
}

.card-category-orange {
    color: #f97316;
}

/* Title */
.card-title {
    position: absolute;
    left: 20px;
    bottom: 20px;
    right: 20px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    z-index: 4;
    line-height: 1.3;
}

/* Large Card (Featured - Left, spans 2 rows) */
.card-large {
    grid-row: span 2;
}

.card-large .card-title {
    font-size: 1.75rem;
}

/* Medium Card (Right Top) */
.card-medium {
    grid-column: 2;
    grid-row: 1;
}

.card-medium .cover {
    width: 50%;
    height: 70%;
}

.card-medium .card-title {
    font-size: 1.1rem;
}

.card-medium .card-category {
    bottom: 50px;
}

/* Small Card (Right Bottom) */
.card-small {
    grid-column: 2;
    grid-row: 2;
}

.card-small .cover {
    width: 45%;
    height: 65%;
}

.card-small .card-title {
    font-size: 1.15rem;
}

.card-small .card-category {
    bottom: 55px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .perspectives-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .perspectives-header-center {
        padding: 0;
    }

    .perspectives-main-grid {
        grid-template-columns: 1.5fr 1fr;
        grid-template-rows: 1fr 1fr;
        height: 300px;
        gap: 10px;
    }

    .card-large {
        grid-row: 1 / 3;
        grid-column: 1;
    }

    .card-medium {
        grid-column: 2;
        grid-row: 1;
    }

    .card-small {
        grid-column: 2;
        grid-row: 2;
    }
}

@media (max-width: 640px) {
    .perspectives-section {
        padding: 1rem 0.5rem;
    }

    .perspectives-container {
        padding: 0 0.5rem;
    }

    .perspectives-header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
        gap: 0.3rem;
    }

    .perspectives-title {
        font-size: 1.1rem;
    }

    .perspectives-subtitle {
        font-size: 0.7rem;
        margin-bottom: 0.3rem;
    }

    .perspectives-more-link {
        font-size: 0.7rem;
    }

    .perspectives-main-grid {
        grid-template-columns: 1.5fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 6px;
        height: 200px;
    }

    .card-large {
        grid-row: 1 / 3;
        grid-column: 1;
    }

    .card-medium {
        grid-column: 2;
        grid-row: 1;
    }

    .card-small {
        grid-column: 2;
        grid-row: 2;
    }

    .card-large .card-title {
        font-size: 0.7rem;
        left: 8px;
        bottom: 8px;
    }

    .card-title {
        font-size: 0.6rem;
        left: 8px;
        bottom: 8px;
    }

    .cover {
        width: 40%;
        height: 60%;
    }

    .cover::after {
        width: 18px;
        height: 18px;
    }
}
