/* =========================================
   Repository common
========================================= */

.repository-hero{
  background:#dfe8f1;
  border-top:1px solid #cfd9e3;
  border-bottom:1px solid #cfd9e3;
}

.repository-hero-inner{
  padding:38px 0 30px;
}

.journal-title-ja{
  margin:0;
  font-size:clamp(1.9rem, 4vw, 2.8rem);
  line-height:1.22;
  font-weight:700;
  color:#143f69;
}

.journal-title-en{
  margin:10px 0 0;
  font-size:1.08rem;
  line-height:1.6;
  font-weight:600;
  color:#567089;
}

.journal-issn{
  margin:6px 0 0;
  font-size:0.96rem;
  line-height:1.6;
  font-weight:600;
  color:#5c7084;
}

/* =========================================
   Repository index page
========================================= */

.bulletin-archive{
  margin-top:24px;
}

.repository-tools{
  margin:0 0 24px;
}

.policy-link-button{
  display:inline-block;
  padding:9px 15px;
  border:1px solid #143f69;
  border-radius:999px;
  background:#fff;
  color:#143f69;
  text-decoration:none;
  font-size:0.92rem;
  font-weight:700;
  line-height:1.4;
}

.policy-link-button:hover,
.policy-link-button:focus{
  background:#f2f7fb;
  text-decoration:none;
}

.journal-row{
  display:grid;
  grid-template-columns:100px 1fr;
  gap:26px;
  padding:28px 0;
  border-top:1px solid #d8e0e8;
}

.journal-row:first-child{
  border-top:none;
  padding-top:0;
}

.journal-year{
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
}

.journal-year span{
  display:inline-block;
  font-size:2rem;
  line-height:1;
  font-weight:500;
  color:#143f69;
  letter-spacing:0.01em;
}

.journal-detail{
  display:grid;
  grid-template-columns:170px 1fr;
  gap:22px;
  align-items:start;
}

.journal-cover img{
  width:100%;
  max-width:170px;
  height:auto;
  display:block;
  border:1px solid #d8e0e8;
  border-radius:8px;
  background:#fff;
}

.journal-meta{
  padding-top:2px;
  min-width:0;
}

.journal-meta h2{
  margin:0 0 8px;
  font-size:1.42rem;
  line-height:1.4;
  font-weight:700;
  color:#143f69;
}

.journal-meta h2 a{
  color:#143f69;
  text-decoration:none;
}

.journal-meta h2 a:hover,
.journal-meta h2 a:focus{
  text-decoration:underline;
}

.journal-en{
  margin:0 0 6px;
  font-size:0.98rem;
  line-height:1.7;
  font-weight:600;
  color:#5a748d;
}

.journal-issue-issn{
  margin:0 0 4px;
  font-size:0.9rem;
  line-height:1.6;
  font-weight:600;
  color:#617387;
}

.journal-date{
  margin:0 0 12px;
  font-size:0.9rem;
  line-height:1.7;
  color:#304255;
}

.journal-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:6px;
}

.journal-page-link,
.journal-pdf-link{
  display:inline-block;
  padding:7px 13px;
  border-radius:999px;
  text-decoration:none;
  font-size:0.88rem;
  font-weight:700;
  line-height:1.4;
}

.journal-page-link{
  background:#143f69;
  border:1px solid #143f69;
  color:#fff;
}

.journal-page-link:hover,
.journal-page-link:focus{
  background:#0f3152;
  border-color:#0f3152;
  text-decoration:none;
}

.journal-pdf-link{
  background:#fff;
  border:1px solid #d4dce5;
  color:#143f69;
}

.journal-pdf-link:hover,
.journal-pdf-link:focus{
  background:#f2f7fb;
  border-color:#143f69;
  text-decoration:none;
}

/* =========================================
   Detail page hero
========================================= */

.report2025-hero .report-breadcrumb{
  margin-bottom:18px;
}

.report-breadcrumb ol{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  list-style:none;
  margin:0;
  padding:0;
  font-size:0.9rem;
}

.report-breadcrumb li{
  color:#5f7185;
}

.report-breadcrumb li+li::before{
  content:"›";
  margin-right:8px;
  color:#8aa0b5;
}

.report-breadcrumb a{
  color:#143f69;
  text-decoration:none;
}

.report-breadcrumb a:hover,
.report-breadcrumb a:focus{
  text-decoration:underline;
}

.report-kicker{
  margin:0 0 10px;
  color:#d24e3f;
  font-size:0.92rem;
  font-weight:700;
  letter-spacing:0.06em;
}

.report-page-title{
  margin:0;
  font-size:clamp(1.9rem, 4vw, 2.8rem);
  line-height:1.22;
  font-weight:700;
  color:#143f69;
}

.report-page-lead{
  margin:16px 0 0;
  font-size:0.98rem;
  line-height:1.8;
  color:#5b7085;
}

/* =========================================
   Detail page layout
========================================= */

.report-layout{
  display:grid;
  grid-template-columns:220px 1fr;
  gap:32px;
  align-items:start;
}

.report-sidebar{
  position:sticky;
  top:24px;
  align-self:start;
}

.report-main{
  min-width:0;
}

/* =========================================
   Detail sidebar
========================================= */

.sidebar-box{
  background:#fff;
  border:1px solid #d8e0e8;
  border-radius:14px;
  padding:18px 16px;
}

.sidebar-box h2{
  margin:0 0 12px;
  font-size:1.15rem;
  color:#143f69;
}

.sidebar-box ul{
  list-style:none;
  margin:0;
  padding:0;
}

.sidebar-box li{
  border-top:1px solid #e3e8ee;
}

.sidebar-box li:first-child{
  border-top:none;
}

.sidebar-box a{
  display:block;
  padding:10px 0;
  font-size:0.92rem;
  color:#304255;
  text-decoration:none;
}

.sidebar-box a:hover,
.sidebar-box a:focus{
  color:#143f69;
  text-decoration:underline;
}

/* =========================================
   Anchor position
========================================= */

#summary,
#toc,
#contents,
#pdfs{
  scroll-margin-top:28px;
}

/* =========================================
   Detail sections
========================================= */

.report-section{
  background:#fff;
  border:1px solid #d8e0e8;
  border-radius:14px;
  padding:22px 22px 24px;
  margin-bottom:20px;
}

.report-section-title{
  margin:0 0 16px;
  font-size:1.35rem;
  line-height:1.4;
  font-weight:700;
  color:#143f69;
  padding-left:10px;
  border-left:4px solid #143f69;
}

/* =========================================
   Summary block
========================================= */

.report-summary-grid{
  display:grid;
  grid-template-columns:150px 1fr;
  gap:20px;
  align-items:start;
}

.report-summary-cover img{
  width:100%;
  max-width:150px;
  height:auto;
  display:block;
  border:1px solid #d8e0e8;
  background:#fff;
}

.report-year-badge{
  display:inline-block;
  margin:0 0 10px;
  padding:4px 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid #d4dce5;
  color:#143f69;
  font-size:0.82rem;
  font-weight:700;
  line-height:1.2;
}

.report-summary-title{
  margin:0 0 6px;
  font-size:1.22rem;
  line-height:1.45;
  font-weight:700;
  color:#143f69;
}

.report-summary-en{
  margin:0 0 10px;
  font-size:0.92rem;
  line-height:1.6;
  color:#5f7185;
}

.report-summary-body p{
  margin:0 0 10px;
  font-size:0.95rem;
  line-height:1.85;
  color:#304255;
}

/* =========================================
   Meta list
========================================= */

.report-meta-list{
  margin-top:12px;
}

.report-meta-list div{
  display:grid;
  grid-template-columns:100px 1fr;
  gap:8px;
  padding:6px 0;
  border-bottom:1px solid #e3e8ee;
}

.report-meta-list dt{
  font-size:0.88rem;
  font-weight:700;
  color:#143f69;
}

.report-meta-list dd{
  margin:0;
  font-size:0.9rem;
  color:#304255;
}

/* =========================================
   TOC
========================================= */

.toc-block{
  margin-bottom:20px;
}

.toc-block:last-child{
  margin-bottom:0;
}

.toc-block h3{
  margin:0 0 8px;
  font-size:1rem;
  color:#143f69;
}

.toc-block ol{
  margin:0;
  padding-left:1.35em;
}

.toc-block li{
  font-size:0.92rem;
  line-height:1.8;
  color:#304255;
}

/* =========================================
   Detail entries
========================================= */

.detail-entry{
  padding:0 0 20px;
  margin:0 0 20px;
  border-bottom:1px solid #e3e8ee;
}

.detail-entry:last-child{
  margin-bottom:0;
  padding-bottom:0;
  border-bottom:none;
}

.detail-entry-type{
  display:inline-block;
  margin:0 0 10px;
  padding:3px 8px;
  border:1px solid #d4dce5;
  border-radius:999px;
  color:#143f69;
  background:#fff;
  font-size:0.75rem;
  font-weight:700;
  line-height:1.2;
}

.detail-entry-title{
  margin:0 0 6px;
  font-size:1.1rem;
  line-height:1.6;
  color:#143f69;
}

.detail-entry-en{
  margin:0 0 8px;
  font-size:0.9rem;
  line-height:1.7;
  color:#5f7185;
}

.detail-entry-author{
  margin:0 0 10px;
  font-size:0.9rem;
  font-weight:700;
  color:#304255;
}

.detail-entry-body h4{
  margin:16px 0 8px;
  font-size:0.96rem;
  color:#143f69;
}

.detail-entry-body p{
  margin:0 0 10px;
  font-size:0.95rem;
  line-height:1.85;
  color:#304255;
}

.detail-entry-links{
  margin-top:10px;
}

.detail-entry-links a{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid #d4dce5;
  color:#143f69;
  text-decoration:none;
  font-size:0.85rem;
  font-weight:600;
  line-height:1.4;
}

.detail-entry-links a:hover,
.detail-entry-links a:focus{
  background:#f2f7fb;
  border-color:#143f69;
  text-decoration:none;
}

/* =========================================
   PDF block
========================================= */

.pdf-intro,
.pdf-note{
  font-size:0.95rem;
  line-height:1.85;
  color:#304255;
}

.pdf-link-list{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:14px 0;
}

.pdf-link-list a{
  display:block;
  font-size:0.95rem;
  font-weight:700;
  color:#143f69;
  text-decoration:none;
}

.pdf-link-list a:hover,
.pdf-link-list a:focus{
  text-decoration:underline;
}

/* =========================================
   Responsive
========================================= */

@media (max-width: 900px){
  .journal-detail{
    grid-template-columns:150px 1fr;
  }

  .journal-cover img{
    max-width:150px;
  }

  .report-layout{
    grid-template-columns:1fr;
  }

  .report-sidebar{
    position:static;
  }
}

@media (max-width: 768px){
  .repository-hero-inner{
    padding:34px 0 28px;
  }

  .journal-row{
    grid-template-columns:1fr;
    gap:14px;
    padding:24px 0;
  }

  .journal-year span{
    font-size:1.6rem;
  }

  .journal-detail{
    grid-template-columns:1fr;
    gap:16px;
  }

  .journal-cover img{
    max-width:170px;
  }

  .journal-buttons{
    gap:8px;
  }

  .report-summary-grid{
    grid-template-columns:1fr;
  }

  .report-section{
    padding:18px 16px;
  }

  .report-section-title{
    font-size:1.2rem;
  }

  .report-page-title{
    font-size:2.1rem;
  }

  .report-meta-list div{
    grid-template-columns:1fr;
    gap:4px;
  }
}