/* ============================================================
   NPO現代座 レポートページ固有スタイル
   共通スタイルは css/common.css を参照
   ============================================================ */

/* ページラッパー幅（レポートは少し狭め） */
.page-wrapper {
    max-width: 900px;
}

/* ----------------------------------------------------------
   1. サイトヘッダー（ページタイトル表示エリア）
   ---------------------------------------------------------- */
.site-header {
    background-color: var(--bg-content);
    padding: 20px;
    border-bottom: 3px solid var(--main-green);
}

.site-header h1 {
    margin: 0;
    font-size: 1.6rem;
    color: var(--main-green-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;       /* common.css の h2 スタイルリセット不要（h1なので） */
    padding: 0;
}

/* ----------------------------------------------------------
   2. メイン
   ---------------------------------------------------------- */
main {
    padding: 20px;
}

@media (min-width: 600px) {
    main {
        padding: 30px 40px;
    }
}

/* ----------------------------------------------------------
   3. 最新号ボックス
   ---------------------------------------------------------- */
.latest-box {
    background: #e8f5e9;
    border: 2px solid var(--main-green);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.latest-box p {
    margin: 0;
    font-size: 0.95rem;
}

.btn-latest {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--main-green);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-latest:hover {
    background-color: var(--main-green-dark);
    color: #fff;
    text-decoration: none;
}

/* ----------------------------------------------------------
   4. 説明文ボックス
   ---------------------------------------------------------- */
.intro {
    background: #f9faf9;
    border-left: 4px solid var(--accent-yellow);
    padding: 12px 15px;
    margin-bottom: 28px;
    font-size: 0.9rem;
    border-radius: 0 6px 6px 0;
}

.intro p {
    margin: 0;
}

/* ----------------------------------------------------------
   5. 年見出し（common.css の h2 をオーバーライド）
   ---------------------------------------------------------- */
h2.year-heading {
    border-left: 8px solid var(--main-green);
    padding-left: 15px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 1.25rem;
    margin: 35px 0 12px;
    background: none;   /* common.css の .section-title 等と干渉しない */
}

/* ----------------------------------------------------------
   6. PDFエントリカード
   ---------------------------------------------------------- */
.pdf-entry {
    background: #f9faf9;
    border: 1px solid #dde;
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 10px;
}

.pdf-entry.newest {
    background: #f0f9f0;
    border: 2px solid var(--main-green);
}

/* common.css の h3 スタイルをリセット */
.pdf-entry h3 {
    margin: 0 0 7px;
    font-size: 1rem;
    border: none;
    color: var(--text-dark);
    display: block;
}

.pdf-link {
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    text-decoration: none;
    color: #0066cc;
    font-weight: bold;
    line-height: 1.4;
}

.pdf-link:hover {
    color: var(--main-green-dark);
    text-decoration: underline;
}

.pdf-link .material-icons {
    color: #d32f2f;
    flex-shrink: 0;
    font-size: 1.2rem;
    margin-top: 2px;
}

.pdf-entry ul {
    margin: 5px 0 0 5px;
    padding-left: 18px;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.7;
}

/* 点線区切り（report ページ内のもの） */
hr.dot {
    border: none;
    border-top: 2px dotted #ccc;
    margin: 8px 0 5px;
}
