/* YEJapan bilingual release. Strictly scoped: existing Astra theme and global settings unaffected. */
.yejrs-archive,.yejrs-home-highlights{max-width:1160px;margin:0 auto;color:inherit;}
.yejrs-header{padding:1.8rem 0 2rem;border-bottom:1px solid #e4e9ed}
.yejrs-kicker{font-size:.75rem;letter-spacing:.14em;text-transform:uppercase;opacity:.62}
.yejrs-header h1{font-size:clamp(2.1rem,4.8vw,3.7rem);margin:.6rem 0 .85rem}
.yejrs-header>p:last-child{font-size:1rem;max-width:780px;line-height:1.7}
.yejrs-portals{display:grid;grid-template-columns:1fr 1fr;gap:1.1rem;margin:2.1rem 0 3rem}
.yejrs-portals a{display:flex;flex-direction:column;gap:.6rem;border:1px solid #e2e7ea;border-radius:4px;padding:1.5rem;color:inherit;text-decoration:none}
.yejrs-portals a:hover{border-color:#004e69}.yejrs-portals a strong{font-size:1.3rem}.yejrs-portals a span{font-size:.86rem;opacity:.76}
.yejrs-section{margin:3.25rem 0}.yejrs-section-head{display:flex;gap:1rem;justify-content:space-between;align-items:baseline;border-bottom:1px solid #dee5e9;margin-bottom:.4rem}
.yejrs-section-head h2,.yejrs-home-highlights h3{font-size:1.35rem;margin:0 0 1rem}
.yejrs-section-head a{font-size:.87rem;color:#004e69;text-decoration:none}
.yejrs-bg-row{display:grid;grid-template-columns:88px minmax(0,1fr) 17px;gap:1rem;align-items:center;border-bottom:1px solid #e6e9ec;padding:1.35rem 0;color:inherit;text-decoration:none}
.yejrs-bg-row:hover .yejrs-bg-title{color:#004e69}
.yejrs-bg-row time,.yejrs-ce-copy time{font-size:.82rem;white-space:nowrap;opacity:.62}
.yejrs-bg-title{font-weight:600;line-height:1.55}.yejrs-bg-title small{display:block;font-weight:400;font-size:.87rem;opacity:.72;margin-top:.3rem;line-height:1.55}
.yejrs-arrow{font-weight:400;opacity:.55}
.yejrs-ce-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem;margin:1.2rem 0 2rem}
.yejrs-ce-card{display:block;text-decoration:none;color:inherit;min-width:0;overflow:hidden}
.yejrs-ce-card img{display:block;width:100%;height:auto;aspect-ratio:1.5;object-fit:cover;border-radius:3px}
.yejrs-ce-copy{padding:.6rem .1rem}.yejrs-ce-copy h3{margin:.45rem 0;font-size:.97rem;line-height:1.55;overflow-wrap:anywhere}
.yejrs-home-highlights{margin-top:2rem}.yejrs-home-highlights h3{border-bottom:1px solid #e3e8ec;padding-bottom:.7rem;margin:1.8rem 0 .7rem}
.yejrs-home-highlights .yejrs-ce-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:850px){.yejrs-ce-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.yejrs-portals{grid-template-columns:1fr}.yejrs-ce-grid,.yejrs-home-highlights .yejrs-ce-grid{grid-template-columns:1fr}.yejrs-bg-row{grid-template-columns:1fr 18px;gap:.25rem}.yejrs-bg-row time{grid-column:1/-1}.yejrs-section-head{align-items:center}.yejrs-section-head h2{font-size:1.1rem}.yejrs-header{padding:1rem 0}}

.yejrs-empty{font-size:.92rem;line-height:1.7;color:#596b77;padding:1.1rem 0 1.4rem;margin:0;}

/* 1.0.2: Keep portal arrows aligned independently of description wrapping. */
.yejrs-portals a{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 18px;grid-template-rows:auto auto 1fr;column-gap:.5rem;row-gap:.6rem;align-content:start;padding:1.5rem 1.45rem;min-width:0}
.yejrs-portals .yejrs-portal-num,.yejrs-portals a strong,.yejrs-portals .yejrs-portal-desc{grid-column:1}
.yejrs-portals .yejrs-portal-num{font-size:.9rem;font-weight:400;opacity:1}
.yejrs-portals .yejrs-portal-desc{font-size:.86rem;line-height:1.6;opacity:.76;min-width:0}
.yejrs-portals .yejrs-portal-arrow{grid-column:2;grid-row:2/4;align-self:center;justify-self:end;font-size:1rem;opacity:.85}
.yejrs-portals a:hover .yejrs-portal-arrow{transform:translate(2px,-2px)}
/* English category archive: same typography/spacing as English Insights page. */
.yejrs-category-page{width:100%;color:inherit}
.yejrs-category-wrap{max-width:1160px;margin:0 auto;padding:1.5rem 1.5rem 4rem}
.yejrs-category-page .yejrs-header{padding-top:2rem}
.yejrs-category-page .yejrs-portals{margin:1.8rem 0 1.7rem}
.yejrs-category-page .yejrs-portals a[aria-current="page"]{border-color:#004e69}
.yejrs-category-back{margin:1.3rem 0 2rem;font-size:.88rem}
.yejrs-category-back a{color:#004e69;text-decoration:none}
.yejrs-category-page .yejrs-bg-list{margin:1.1rem 0 2rem}
.yejrs-category-page .yejrs-ce-grid{margin:1.4rem 0 2rem}
.yejrs-category-page .yejrs-ce-card h2{margin:.45rem 0;font-size:1rem;line-height:1.5;overflow-wrap:anywhere}
.yejrs-category-page .yejrs-ce-card small{display:block;font-size:.82rem;font-weight:400;opacity:.72;line-height:1.55;margin-top:.2rem}
.yejrs-category-page .yejrs-ce-card .yejrs-blank-photo{aspect-ratio:1.5;display:block;background:#edf3f7;border-radius:3px}
.yejrs-category-page .navigation.pagination{margin:2rem 0;text-align:center}
.yejrs-category-page .page-numbers{display:inline-block;margin:0 .22rem;padding:.35rem .65rem;color:#004e69;text-decoration:none}
.yejrs-category-page .page-numbers.current{border-bottom:2px solid #004e69;font-weight:700}
@media(max-width:600px){.yejrs-category-wrap{padding:1rem 1rem 3rem}.yejrs-portals a{padding:1.15rem}.yejrs-category-page .yejrs-header{padding-top:1rem}}

/* v1.0.3: Filtered topic pages stay inside English INSIGHTS for consistent site navigation. */
.yejrs-topic-page .yejrs-portals a[aria-current="page"] { border-color: #004e69; }
.yejrs-topic-page .yejrs-portals { margin-bottom: 1.4rem; }
.yejrs-topic-page .yejrs-category-back { margin: 1rem 0 1.6rem; font-size: .88rem; }
.yejrs-topic-page .yejrs-category-back a { color: #004e69; text-decoration: none; }
.yejrs-topic-page .yejrs-total { font-size: .84rem; opacity: .6; }
.yejrs-topic-page .yejrs-ce-card small { display: block; font-size: .82rem; line-height: 1.55; opacity: .72; }
.yejrs-topic-page .yejrs-blank-photo { display: block; width: 100%; aspect-ratio: 1.5; background: #edf3f7; border-radius: 3px; }
.yejrs-pages { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; margin: 1.8rem 0 2rem; }
.yejrs-pages a { padding: .4rem .75rem; color: #004e69; text-decoration: none; border-radius: 4px; border: 1px solid #dde5eb; }
.yejrs-pages a[aria-current="page"] { border-color: #004e69; background: #edf4f7; font-weight: 700; }
