/**
 * Shared Issue Page Styles
 * Common styles for all issue detail pages
 */

/* Breadcrumb Navigation */
.issue-breadcrumb {
    background-color: #f5f5f5;
    padding: 1rem 0;
}

.breadcrumb-nav {
    font-size: 0.875rem;
    color: #333;
}

.breadcrumb-nav a {
    color: #333;
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: var(--cisd-red);
}

.breadcrumb-nav .separator {
    margin: 0 0.5rem;
    color: #999;
}

.breadcrumb-nav .current {
    color: #666;
}

/* Hero Section */
.issue-detail-hero {
    background-color: #f5f5f5;
    padding: 0;
    margin-bottom: 0;
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.hero-illustration {
    width: 100%;
    height: auto;
    display: block;
}

.hero-title-overlay {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(218, 41, 28, 0.92);
    padding: 1rem 4rem;
    text-align: center;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.hero-title-overlay h1 {
    color: white;
    font-size: 1.45rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    font-family: 'Montserrat', sans-serif;
    font-style: italic;
}

/* Introduction Section */
.issue-intro-section {
    background-color: white;
    padding: 7rem 0 4rem;
    position: relative;
}

.intro-content {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.intro-icon {
    margin-bottom: 2rem;
}

.intro-icon img {
    width: 56px;
    height: 59px;
}

.intro-lead {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.intro-secondary {
    text-align: left;
    padding-left: 2rem;
    border-left: 2px solid #e0e0e0;
}

.intro-secondary p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.intro-secondary p:last-child {
    margin-bottom: 0;
}

/* Ongoing Initiatives Section */
.ongoing-initiatives-section {
    padding: 4rem 0;
    background-color: white;
}

.initiatives-container {
    border: 4px solid var(--cisd-blue);
    padding: 3rem 2.5rem;
    background: white;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.initiatives-label {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cisd-blue);
    padding: 8px 24px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.initiatives-grid {
    margin-top: 1rem;
}

.initiative-card {
    padding: 1.5rem 1rem;
    height: 100%;
    transition: background-color 300ms ease, box-shadow 300ms ease;
    cursor: default;
}

.initiative-card:hover {
    background-color: #f8faff;
    box-shadow: 0 2px 12px rgba(22, 71, 106, 0.08);
}

.initiative-divider {
    width: 50px;
    height: 4px;
    background-color: var(--cisd-blue);
    margin-bottom: 1.25rem;
    transition: background-color 300ms ease;
}

.initiative-card:hover .initiative-divider {
    background-color: var(--cisd-red, #dc2626);
}

.initiative-title {
    font-family: 'Noto Serif', Georgia, serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.125;
    letter-spacing: -0.5px;
    transition: color 300ms ease;
}

.initiative-card:hover .initiative-title {
    color: var(--cisd-blue, #16476a);
}

.initiative-text {
    font-family: 'Inter', sans-serif;
    color: #444;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.55;
    letter-spacing: 0;
    margin: 0;
}

/* Featured Report Sections */
.featured-report-section {
    overflow: visible;
    margin-top: 3rem;
}

.featured-report-blue {
    background-color: var(--cisd-blue);
}

.featured-report-dark {
    background-color: #0d2137;
}

.report-content {
    padding: 4rem 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.report-title {
    color: white;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.report-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.report-button {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: 2px solid #c9a227;
    padding: 12px 24px;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: fit-content;
}

.report-button:hover {
    background-color: #c9a227;
    color: #1a1a1a;
}

.report-image {
    height: 100%;
    min-height: 400px;
    position: relative;
    margin-top: -3rem;
    z-index: 1;
}

.report-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Featured Campaign Sections */
.featured-campaign-section {
    background-color: #1a1a1a;
    overflow: visible;
    margin-top: 3rem;
}

.campaign-image {
    height: 100%;
    position: relative;
    margin-top: -3rem;
    z-index: 1;
    overflow: hidden;
}

.campaign-image img {
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.campaign-image:hover img {
    transform: scale(1.03);
}

.campaign-content {
    background-color: #1a1a1a;
    padding: 4rem 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.campaign-label {
    display: inline-block;
    background-color: var(--cisd-red);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.campaign-title {
    color: white;
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.campaign-description {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.campaign-link {
    color: var(--cisd-red);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 200ms ease;
}

.campaign-link:hover {
    color: #ff4444;
    text-decoration: underline;}

/* Civic/Toolkit Sections */
.civic-imagination-section {
    background-color: var(--cisd-blue);
    overflow: visible;
    margin-top: 3rem;
}

.civic-content {
    background-color: var(--cisd-blue);
    padding: 4rem 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.civic-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.civic-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.civic-button {
    display: inline-block;
    background-color: transparent;
    color: white;
    border: 2px solid var(--cisd-red);
    padding: 12px 24px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: fit-content;
}

.civic-button:hover {
    background-color: var(--cisd-red);
    color: white;
}

.civic-image {
    height: 100%;
    position: relative;
    margin-top: -3rem;
    z-index: 1;
    overflow: hidden;
}

.civic-image img {
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 500ms ease;
}

.civic-image:hover img {
    transform: scale(1.03);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-title-overlay h1 {
        font-size: 1.5rem;
    }

    .hero-title-overlay {
        padding: 0.85rem 3rem;
    }

    .initiatives-container {
        padding: 2.5rem 1.5rem;
    }

    .report-content,
    .campaign-content,
    .civic-content {
        padding: 3rem 2rem;
    }

    .report-title,
    .campaign-title {
        font-size: 1.75rem;
    }

    .civic-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .issue-intro-section {
        padding: 3rem 0;
    }

    .intro-lead {
        font-size: 1.1rem;
    }

    .intro-secondary {
        padding-left: 1rem;
    }

    .hero-title-overlay h1 {
        font-size: 1.25rem;
    }

    .hero-title-overlay {
        padding: 0.75rem 2.5rem;
    }

    .initiative-card {
        padding: 1rem 0.5rem;
    }

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

    .report-image {
        min-height: 300px;
        margin-top: -2rem;
    }

    .featured-report-section {
        margin-top: 2rem;
    }

    .report-title,
    .campaign-title {
        font-size: 1.5rem;
    }

    .report-content,
    .campaign-content,
    .civic-content {
        padding: 2.5rem 1.5rem;
    }

    .campaign-image img,
    .civic-image img {
        min-height: 300px;
    }

    .campaign-image,
    .civic-image {
        margin-top: -2rem;
    }

    .featured-campaign-section,
    .civic-imagination-section {
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-title-overlay h1 {
        font-size: 1rem;
    }

    .hero-title-overlay {
        padding: 0.6rem 1.75rem;
    }

    .initiatives-container {
        border-width: 3px;
        padding: 2rem 1rem;
    }

    .initiatives-label {
        font-size: 11px;
        padding: 6px 16px;
    }

    .report-title {
        font-size: 1.35rem;
    }

    .report-content {
        padding: 2rem 1.25rem;
    }

    .report-button {
        padding: 10px 20px;
        font-size: 0.7rem;
    }

    .campaign-title {
        font-size: 1.5rem;
    }

    .civic-title {
        font-size: 1.75rem;
    }
}
