/* report-style.css */

.report-hero {
    position: relative;
    text-align: left;
    color: #ffffff; /* --white */
    background-color: #1256a9; /* --main-blue */
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    margin-top: 70px;
    overflow: hidden;
    padding: 60px 0 40px; /* Significantly shorter */
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem; /* Slightly smaller for better fit on short hero */
    font-weight: 900;
    margin: 10px 0;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-meta {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 1rem;
    font-weight: 400;
    color: #f5b82e; /* --accent-yellow */
    margin-bottom: 0; /* No extra margin at the bottom */
    letter-spacing: 1px;
}

/* --- Main Content Layout --- */

.report-main-content {
    padding: 80px 0;
}

/* Centered, single-column content area */
.report-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    font-size: 1.1rem;
    line-height: 1.9;
    color: #444;
}

/* --- Gutenberg Block Styles --- */

/* Headings - Using unified typography system */
.report-body h1, .report-body h2, .report-body h3, .report-body h4, .report-body h5, .report-body h6 {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: var(--font-weight-black);
    color: #333;
    line-height: var(--line-height-tight);
    letter-spacing: var(--letter-spacing-tight);
}

.report-body h1 { 
    font-size: var(--font-size-4xl); 
    margin: var(--space-xl) 0 var(--space-md) 0;
}
.report-body h2 { 
    font-size: var(--font-size-3xl); 
    margin: var(--space-xl) 0 var(--space-md) 0;
}
.report-body h3 { 
    font-size: var(--font-size-2xl); 
    font-weight: var(--font-weight-bold);
    margin: var(--space-lg) 0 var(--space-sm) 0;
}
.report-body h4 { 
    font-size: var(--font-size-xl); 
    font-weight: var(--font-weight-bold);
    margin: var(--space-lg) 0 var(--space-sm) 0;
}
.report-body h5 { 
    font-size: var(--font-size-lg); 
    font-weight: var(--font-weight-semibold);
    margin: var(--space-md) 0 var(--space-xs) 0;
}
.report-body h6 { 
    font-size: var(--font-size-md); 
    font-weight: var(--font-weight-semibold);
    margin: var(--space-md) 0 var(--space-xs) 0;
    color: #666;
}

/* Paragraphs and Links - Using unified system */
.report-body p { 
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
    color: #444;
}
.report-body a { 
    color: #1256a9; 
    text-decoration: underline; 
    transition: color 0.3s ease; 
}
.report-body a:hover { color: #f5b82e; }

/* Lists - Using unified system */
.report-body ul, .report-body ol {
    line-height: var(--line-height-relaxed);
    margin-bottom: var(--space-md);
    padding-left: var(--space-md);
}
.report-body ul li, .report-body ol li {
    margin-bottom: var(--space-xs);
}
.report-body ul { list-style: disc; }
.report-body ol { list-style: decimal; }

/* Blockquotes - Using unified system */
.report-body blockquote {
    margin: var(--space-md) 0;
    padding: var(--space-sm) var(--space-md);
    border-left: 4px solid #1256a9;
    background-color: #f8f9fa;
    font-style: italic;
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    color: #555;
}
.report-body blockquote p:last-child {
    margin-bottom: 0;
}

/* Featured Image - Using unified system */
.report-featured-image {
    margin: 0 0 var(--space-lg) 0;
    text-align: center;
}

.report-featured-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Images */
.report-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.report-body .alignleft {
    float: left;
    margin: 0.5em 1.5em 1em 0;
    max-width: 45%;
}
.report-body .alignright {
    float: right;
    margin: 0.5em 0 1em 1.5em;
}
.report-body .aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.report-body .alignwide {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.report-body .alignfull {
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.report-body figure {
    margin: 0 0 1.5em;
}
.report-body figcaption {
    font-size: 0.9rem;
    color: #757575;
    text-align: center;
    margin-top: 0.5em;
}

/* Separators */
.report-body hr {
    border: 0;
    border-top: 1px solid #e0e0e0;
    margin: 3em 0;
}

/* Tables */
.report-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
}
.report-body th, .report-body td {
    border: 1px solid #e0e0e0;
    padding: 0.75em;
    text-align: left;
}
.report-body th {
    background-color: #f8f9fa;
    font-weight: 700;
}

/* --- Back to List Button --- */
.back-to-list-container {
    text-align: center;
    padding: 40px 0;
}

.btn-back-to-list {
    display: inline-block;
    padding: 15px 40px;
    background-color: #1256a9; /* --main-blue */
    color: #ffffff; /* --white */
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-back-to-list:hover {
    background-color: #f5b82e; /* --accent-yellow */
    color: #333;
    transform: translateY(-2px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .report-hero {
        margin-top: 60px;
        padding: 40px 0 30px;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .report-main-content {
        padding: 40px 0;
    }

    .report-body {
        padding: 0 15px;
        font-size: 1rem;
        line-height: 1.8;
    }

    .report-body h1 { font-size: var(--font-size-3xl); }
    .report-body h2 { font-size: var(--font-size-2xl); }
    .report-body h3 { font-size: var(--font-size-xl); }
    .report-body h4 { font-size: var(--font-size-lg); }
    .report-body h5 { font-size: var(--font-size-md); }
    .report-body h6 { font-size: var(--font-size-sm); }

    /* Responsive Images */
    .report-body .alignleft,
    .report-body .alignright {
        float: none;
        display: block;
        margin: 1em auto;
        max-width: 100%;
        text-align: center;
    }

    .report-featured-image {
        margin: 0 0 1.5em 0;
    }

    /* Back to list button */
    .btn-back-to-list {
        font-size: 0.9rem;
        padding: 12px 20px;
    }

    /* Post Navigation */
    .post-navigation {
        flex-direction: column;
        gap: 15px;
    }

    .nav-previous,
    .nav-next {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .report-body {
        padding: 0 10px;
    }

    .report-body h1 { font-size: 1.5rem; }
    .report-body h2 { font-size: 1.3rem; }
    .report-body h3 { font-size: 1.2rem; }
    
    .page-breadcrumb {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
}