/* MYLIFE: daylight, slate blue, quiet Japanese typography. Legacy detail CSS remains intact. */
.portal-site {
  --portal-ink:#173b4b;
  --portal-muted:#5b6c74;
  --portal-light:#edf3f6;
  --portal-line:#d5e0e5;
  --portal-serif:'Noto Serif JP','Yu Mincho',serif;
  color:#253a44;
  background:#fff;
}
.portal-site * {
  box-sizing:border-box;
}
.portal-site a {
  color:var(--portal-ink);
}
.portal-site a:hover {
  opacity:1;
  text-decoration:underline;
  text-underline-offset:4px;
}
.portal-site :focus-visible {
  outline:3px solid #27789e;
  outline-offset:4px;
}
.portal-site .main-contents {
  padding-top:0;
}
.portal-site img {
  max-width:100%;
  height:auto;
}
.portal-wrap {
  width:min(1200px,calc(100% - 80px));
  margin-inline:auto;
}
.portal-skip-link {
  position:fixed;
  top:-100px;
  left:12px;
  padding:12px;
  background:white;
  z-index:2000;
}
.portal-skip-link:focus {
  top:8px;
}
.portal-header {
  background:#fff;
  position:relative;
  z-index:100;
  border-bottom:1px solid var(--portal-line);
}
.portal-masthead {
  min-height:101px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.portal-brand {
  font-family:Georgia,'Times New Roman',serif;
  font-size:44px;
  letter-spacing:.035em;
  font-weight:400;
  line-height:1.1;
  text-decoration:none!important;
  color:var(--portal-ink);
}
.portal-brand span {
  font-family:'Noto Sans JP',sans-serif;
  display:block;
  font-size:10px;
  font-weight:400;
  letter-spacing:.04em;
  margin-top:9px;
}
.portal-header-links {
  display:flex;
  gap:28px;
  font-size:12px;
}
.portal-navigation {
  border-top:1px solid var(--portal-line);
}
.portal-navigation ul {
  display:flex;
  justify-content:space-between;
  gap:16px;
  list-style:none;
  margin:0;
  padding:17px 0;
  flex-wrap:wrap;
}
.portal-navigation a {
  font-size:13px;
  white-space:nowrap;
}
.portal-menu-toggle {
  display:none;
}
.portal-hero {
  display:grid;
  grid-template-columns:43% 57%;
  align-items:center;
  padding-top:54px;
  padding-bottom:60px;
}
.portal-hero-copy {
  padding:12px 48px 12px 0;
}
.portal-kicker {
  font-size:12px;
  color:var(--portal-muted);
  margin:0 0 24px;
  line-height:1.8;
}
.portal-hero h1 {
  font-family:var(--portal-serif);
  font-weight:500;
  font-size:clamp(32px,3.4vw,47px);
  line-height:1.8;
  letter-spacing:.025em;
  margin:0 0 25px;
}
.portal-lead {
  font-size:14px;
  line-height:2.15;
  color:var(--portal-muted);
}
.portal-hero-photo {
  position:relative;
  margin:0;
  height:445px;
  align-self:stretch;
  background:var(--portal-light);
  border-radius:2px 2px 90px 2px;
  overflow:hidden;
}
.portal-hero-photo img {
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:61% center;
}
.portal-hero-photo figcaption {
  position:absolute;
  left:24px;
  bottom:24px;
  color:#fff;
  font-size:12px;
  text-shadow:0 1px 10px #071d2e;
}
.portal-search {
  display:flex;
  border:1px solid var(--portal-line);
  border-radius:3px;
  margin:28px 0 21px;
  max-width:400px;
  background:white;
}
.portal-search input {
  font:inherit;
  font-size:12px;
  padding:16px 12px;
  width:100%;
  min-width:0;
  border:0;
  background:transparent;
}
.portal-search button {
  border:0;
  background:transparent;
  color:var(--portal-ink);
  padding:10px 12px;
  cursor:pointer;
}
.portal-text-link {
  font-size:12px;
  border-bottom:1px solid var(--portal-ink);
  padding-bottom:6px;
}
.portal-text-link:hover {
  text-decoration:none!important;
}
.portal-section {
  padding-top:55px;
  padding-bottom:65px;
}
.portal-section-heading {
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:25px;
  margin-bottom:30px;
}
.portal-section-heading h2,.portal-section>h2 {
  font-family:var(--portal-serif);
  font-size:26px;
  font-weight:500;
  margin:0;
}
.portal-section-heading p {
  font-size:12px;
  color:var(--portal-muted);
  margin:0;
}
.portal-topics {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:0 32px;
  border-top:1px solid var(--portal-line);
}
.portal-topic {
  position:relative;
  padding:24px 2px;
  border-bottom:1px solid var(--portal-line);
}
.portal-topic h3 {
  font-size:16px;
  font-weight:500;
  margin:0 0 11px;
}
.portal-topic p {
  font-size:11px;
  line-height:1.9;
  color:var(--portal-muted);
  margin:0 0 14px;
}
.portal-topic span {
  font-size:10px;
  color:var(--portal-muted);
}
.portal-topic:hover {
  background:var(--portal-light);
  text-decoration:none!important;
}
.portal-guide-section {
  background:var(--portal-light);
}
.portal-cards {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:42px 30px;
}
.portal-card {
  min-width:0;
}
.portal-card-image {
  display:block;
  aspect-ratio:1.6;
  overflow:hidden;
  border-radius:3px;
}
.portal-card-image img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .25s;
}
.portal-card-image:hover img {
  transform:scale(1.025);
}
.portal-image-placeholder {
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  background:#dbe6eb;
  color:#406271;
  font-family:var(--portal-serif);
  font-size:23px;
}
.portal-card-meta {
  font-size:10px;
  color:#557184;
  margin-top:20px;
}
.portal-card h3 {
  font-size:16px;
  line-height:1.9;
  font-weight:500;
  margin:8px 0 13px;
}
.portal-card-bottom {
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  color:var(--portal-muted);
  font-size:10px;
}
.portal-about {
  display:grid;
  grid-template-columns:1fr 1fr;
  border-top:1px solid var(--portal-line);
  padding:65px 0 80px;
  gap:60px;
}
.portal-about h2 {
  font:500 32px/1.8 var(--portal-serif);
  margin:0;
}
.portal-about p {
  font-size:14px;
  line-height:2.3;
  margin-top:0;
  margin-bottom:25px;
}
.portal-footer {
  background:#e8f0f4;
  color:var(--portal-ink);
  padding-top:58px;
}
.footer-layout {
  display:grid;
  grid-template-columns:1.8fr 1fr 1fr;
  gap:40px;
  padding-bottom:50px;
}
.footer-layout p {
  font-size:12px;
  line-height:2.1;
  margin-top:24px;
}
.footer-layout h2 {
  font-size:13px;
  font-weight:500;
  margin:0 0 24px;
}
.footer-layout>div>a:not(.portal-brand) {
  display:block;
  font-size:12px;
  margin-bottom:17px;
}
.footer-bottom {
  display:flex;
  justify-content:space-between;
  border-top:1px solid #c7d7df;
  padding:24px 0;
  gap:15px;
  font-size:10px;
}
.portal-footer .portal-brand {
  font-size:36px;
}
.editorial-byline {
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:12px;
  font-size:12px;
  line-height:1.9;
  padding:20px 0;
  color:var(--portal-muted);
}
.editorial-byline>div {
  display:flex;
  flex-wrap:wrap;
  gap:0 9px;
}
.byline-label {
  color:var(--portal-muted);
  font-size:11px;
}
.editorial-disclosure {
  font-size:12px;
  line-height:1.8;
  background:var(--portal-light);
  padding:14px 18px;
  margin:0 0 24px;
}
.byline-container {
  padding-inline:0;
}
.portal-site .single-header {
  background-color:#20495e;
}
.portal-site .single-header .post-title {
  font-family:var(--portal-serif);
}
.guide-article {
  padding-top:38px;
}
.guide-article .single-header {
  background-image:none!important;
  color:var(--portal-ink);
  background:transparent;
  min-height:0;
  height:auto;
}
.guide-article .single-header-overlay {
  background:none;
  position:static;
  padding:10px 0;
}
.guide-article .single-header .container {
  padding:0;
}
.guide-article .single-header .post-title {
  color:var(--portal-ink);
  font-size:36px;
  line-height:1.65;
  margin:15px 0 25px;
  text-shadow:none;
}
.guide-article .single-header .post-meta {
  color:var(--portal-muted);
  font-size:12px;
}
.guide-article .breadcrumbs {
  padding:18px 0;
  margin:0;
  border-bottom:1px solid var(--portal-line);
  font-size:11px;
}
.guide-summary {
  max-width:800px;
  font-size:17px;
  line-height:2;
}
.guide-layout {
  display:grid;
  grid-template-columns:minmax(0,800px) 1fr;
  gap:65px;
  padding-top:28px;
}
.guide-content {
  font-size:16px;
  line-height:2.1;
  overflow-wrap:anywhere;
}
.guide-content h2 {
  font:500 26px/1.7 var(--portal-serif);
  margin:50px 0 22px;
}
.guide-content h3 {
  font-size:20px;
  line-height:1.6;
  margin-top:35px;
}
.guide-content p {
  margin-bottom:24px;
}
.guide-content table {
  border-collapse:collapse;
  display:block;
  overflow-x:auto;
  width:100%;
  font-size:13px;
  margin:26px 0;
}
.guide-content td,.guide-content th {
  border:1px solid var(--portal-line);
  padding:13px;
  min-width:100px;
}
.guide-content th {
  background:var(--portal-light);
}
.guide-content img {
  border-radius:3px;
}
.guide-aside {
  font-size:12px;
  padding-top:15px;
}
.guide-aside p {
  border-top:2px solid var(--portal-ink);
  padding-top:16px;
}
.guide-article .portal-section {
  margin-top:25px;
  border-top:1px solid var(--portal-line);
}
.profile-page,.writers-page,.policy-page {
  padding-top:65px;
  padding-bottom:90px;
}
.profile-intro {
  display:grid;
  grid-template-columns:auto 1fr;
  gap:48px;
  max-width:850px;
}
.profile-portrait {
  width:160px;
  height:160px!important;
  object-fit:cover;
  border-radius:50%;
}
.profile-intro h1,.writers-page h1 {
  font:500 36px/1.6 var(--portal-serif);
  margin:0 0 14px;
}
.profile-expertise {
  font-size:13px;
  color:var(--portal-muted);
}
.profile-intro .entry-content {
  font-size:15px;
  line-height:2;
}
.writer-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
  margin-top:45px;
}
.writer-grid article {
  border-top:1px solid var(--portal-line);
  padding-top:25px;
}
.writer-grid h2 {
  font-size:18px;
}
.writer-grid p,.writer-invitation {
  font-size:13px;
  line-height:1.9;
}
.writer-invitation {
  margin-top:65px;
}
.policy-page {
  max-width:800px;
}
.policy-page h1 {
  font:500 36px/1.9 var(--portal-serif);
}
.policy-page section {
  margin-top:46px;
}
.policy-page h2 {
  font:500 23px/1.7 var(--portal-serif);
}
.policy-page section p {
  font-size:15px;
  line-height:2.1;
}
@media(max-width:1100px) {
  .portal-wrap {
    width:calc(100% - 48px);
  }
  .portal-hero-copy {
    padding-right:28px;
  }
  .portal-hero-photo {
    height:420px;
  }
  .portal-navigation ul {
    gap:12px;
  }
  .portal-navigation a {
    font-size:11px;
  }
}
@media(max-width:900px) {
  .portal-header-links {
    display:none;
  }
  .portal-masthead {
    min-height:85px;
  }
  .portal-brand {
    font-size:35px;
  }
  .portal-menu-toggle {
    display:flex;
    align-items:center;
    gap:13px;
    border:0;
    background:transparent;
    font-size:11px;
    padding:12px 0;
    cursor:pointer;
    color:var(--portal-ink);
  }
  .portal-menu-toggle span {
    font-size:22px;
  }
  .navigation-ready .portal-navigation[data-open=false] {
    display:none;
  }
  .portal-navigation ul {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:0;
    padding:10px 0;
  }
  .portal-navigation a {
    display:block;
    padding:12px 0;
    font-size:13px;
  }
  .portal-hero {
    grid-template-columns:1fr 1fr;
    padding-top:35px;
    padding-bottom:30px;
  }
  .portal-hero h1 {
    font-size:32px;
  }
  .portal-hero-photo {
    height:400px;
    border-bottom-right-radius:65px;
  }
  .portal-kicker {
    font-size:10px;
  }
  .portal-lead {
    font-size:12px;
  }
  .portal-section-heading {
    display:block;
  }
  .portal-section-heading p {
    margin-top:12px;
  }
  .portal-topics {
    grid-template-columns:repeat(2,1fr);
  }
  .portal-cards {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .guide-layout {
    grid-template-columns:1fr;
  }
  .guide-aside {
    display:none;
  }
  .portal-about h2 {
    font-size:27px;
  }
  .footer-layout {
    grid-template-columns:1.4fr 1fr 1fr;
    gap:25px;
  }
}
@media(max-width:600px) {
  .portal-wrap {
    width:calc(100% - 36px);
  }
  .portal-hero {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    padding-top:34px;
  }
  .portal-hero-copy {
    padding:0;
  }
  .portal-kicker {
    font-size:11px;
    margin-bottom:16px;
  }
  .portal-hero h1 {
    font-size:35px;
    line-height:1.7;
    margin-bottom:18px;
  }
  .portal-lead {
    font-size:13px;
    line-height:2;
  }
  .portal-search {
    max-width:none;
    margin:23px 0 20px;
  }
  .portal-hero-photo {
    height:240px;
    margin-top:33px;
    border-bottom-right-radius:55px;
  }
  .portal-hero-photo figcaption {
    font-size:10px;
    bottom:18px;
    left:17px;
  }
  .portal-section {
    padding:35px 0 43px;
  }
  .portal-section-heading {
    margin-bottom:24px;
  }
  .portal-section-heading h2,.portal-section>h2 {
    font-size:22px;
  }
  .portal-section-heading p {
    font-size:11px;
  }
  .portal-topics {
    gap:0 18px;
  }
  .portal-topic {
    padding:20px 0;
  }
  .portal-topic h3 {
    font-size:14px;
  }
  .portal-topic p {
    font-size:10px;
    line-height:1.9;
    min-height:38px;
  }
  .portal-card h3 {
    font-size:14px;
    line-height:1.8;
  }
  .portal-cards {
    gap:30px 16px;
  }
  .portal-card-meta {
    margin-top:12px;
  }
  .portal-card-bottom {
    font-size:9px;
  }
  .portal-image-placeholder {
    font-size:16px;
  }
  .portal-about {
    grid-template-columns:1fr;
    gap:25px;
    padding:38px 0 50px;
  }
  .portal-about h2 {
    font-size:27px;
  }
  .portal-about p {
    font-size:13px;
  }
  .footer-layout {
    grid-template-columns:1fr 1fr;
    gap:32px 20px;
  }
  .footer-layout>div:first-child {
    grid-column:1/-1;
  }
  .portal-footer {
    padding-top:37px;
  }
  .footer-bottom>span {
    display:none;
  }
  .editorial-byline {
    font-size:11px;
  }
  .guide-article {
    padding-top:15px;
  }
  .guide-article .single-header .post-title {
    font-size:27px;
  }
  .guide-content {
    font-size:15px;
  }
  .guide-content h2 {
    font-size:23px;
  }
  .profile-intro {
    display:block;
  }
  .profile-portrait {
    width:110px;
    height:110px!important;
    margin-bottom:25px;
  }
  .writer-grid {
    grid-template-columns:1fr 1fr;
  }
  .policy-page h1 {
    font-size:29px;
  }
  .policy-page section p {
    font-size:14px;
  }
  .profile-page,.writers-page,.policy-page {
    padding-top:40px;
    padding-bottom:50px;
  }
}
.guide-article .single-header .container,.guide-article .byline-container,.guide-article .breadcrumbs {
  width:100%;
  max-width:none;
  margin-inline:0;
}
.profile-intro>div:only-child {
  grid-column:1/-1;
}
.category-hub {
  padding-top:48px;
  padding-bottom:50px;
}
.category-hub h1 {
  font:500 36px/1.6 var(--portal-serif);
  margin:0 0 20px;
}
.category-hub .portal-section>h2 {
  margin-bottom:28px;
}
.category-subtopics {
  display:flex;
  flex-wrap:wrap;
  gap:12px 24px;
  font-size:13px;
  margin-top:30px;
}
.card-editorial {
  font-size:11px;
  color:var(--portal-muted);
  line-height:1.9;
  margin:10px 0;
}
.portal-site .pagination,.portal-site .navigation.pagination {
  margin-top:35px;
}
@media(prefers-reduced-motion:reduce) {
  .portal-card-image img {
    transition:none;
  }
  .portal-card-image:hover img {
    transform:none;
  }
}
