.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mag-header { position: sticky; top: 0; z-index: 100; background: #fff; }
body.admin-bar .mag-header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .mag-header { top: 46px; }
}
.mag-header .wrap { width: 100%; max-width: none; padding-inline: 24px; }
.mag-header-top { min-height: 100px; display: flex; align-items: center; gap: 24px; }
.mag-logo { font: 700 30px/1 Montserrat, "Noto Sans JP", sans-serif; letter-spacing: .02em; }
.mag-logo-image,
.footer-logo-image { display: block; width: auto; max-width: 220px; height: 44px; object-fit: contain; }
.footer-logo-image { height: 36px; margin-inline: auto; }
.mag-tagline { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.6; }
.mag-header-tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.mag-search-toggle,
.mag-header .menu-toggle {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #000;
  cursor: pointer;
}
.mag-header .menu-toggle { display: none; }
.menu-toggle-icon { position: relative; display: block; width: 18px; height: 12px; }
.menu-toggle-icon span {
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform .35s ease, opacity .2s ease;
}
.menu-toggle-icon span:nth-child(1) { top: 0; }
.menu-toggle-icon span:nth-child(2) { top: 5px; }
.menu-toggle-icon span:nth-child(3) { top: 10px; }
.menu-toggle.is-open .menu-toggle-icon span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle.is-open .menu-toggle-icon span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-toggle-icon span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.mag-search-toggle svg { width: 22px; height: 22px; }
.mag-search-close { display: none; }
.mag-search-toggle.is-open .mag-search-icon { display: none; }
.mag-search-toggle.is-open .mag-search-close { display: block; }
.header-search-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
  display: grid;
  gap: 16px;
  padding: 20px 24px 32px;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity .4s ease, transform .4s ease;
}
.header-search-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.header-search-panel[hidden] { display: none; }
.header-search-card {
  width: min(920px, 100%);
  margin-inline: auto;
  padding: 28px 32px 32px;
  border: 1px solid #e4e4e4;
  border-radius: 28px;
  background: #fff;
}
.header-search-card h2 {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 16px;
  font-weight: 500;
}
.header-search-card h2 span {
  color: #000;
  font: italic 700 34px/1 Montserrat, "Noto Sans JP", sans-serif;
}
.header-search-form { position: relative; }
.header-search-form svg {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 20px;
  height: 20px;
  color: #888;
  transform: translateY(-50%);
}
.header-search-form input {
  width: 100%;
  height: 58px;
  padding: 0 20px 0 50px;
  border: 1.5px solid #d5d5d5;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 16px;
}
.header-search-form input::placeholder { color: #b0b0b0; }
.header-search-form input:focus,
.header-search-form input:focus-visible { outline: none; border-color: #000; box-shadow: none; }
.header-search-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.header-search-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
}
.header-search-tags a:hover { background: #000; border-color: #000; color: #fff; }

.mag-nav { background: #f0f0f0; }
.mag-nav .wrap > ul {
  display: flex;
  align-items: stretch;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mag-nav .wrap > ul > li { position: relative; flex: 1 1 0%; min-width: 0; }
.mag-nav .wrap > ul > li > a {
  display: grid;
  place-items: center;
  width: 100%;
  height: 60px;
  padding: 0 10px;
  border-right: 1px solid #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
}
.mag-nav .wrap > ul > li:first-child > a { border-left: 1px solid #fff; }
.mag-nav .wrap > ul > li > a:hover,
.mag-nav .wrap > ul > li.current-menu-item > a,
.mag-nav .wrap > ul > li.current_page_item > a { background: #000; color: #fff; }
.mag-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  min-width: 240px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #000;
}
.mag-nav li:hover > .sub-menu,
.mag-nav li:focus-within > .sub-menu { display: block; }
.mag-nav .sub-menu a { display: block; padding: 14px 18px; background: #000; color: #fff; font-size: 14px; font-weight: 500; text-align: left; }
.mag-nav .sub-menu a:hover { background: #333; }

.hero-carousel { position: relative; height: auto; max-width: 100%; padding-bottom: 52px; overflow: hidden; background: transparent; contain: inline-size; }
.hero-viewport { height: auto; max-width: 100%; overflow: hidden; touch-action: pan-y; cursor: grab; }
.hero-viewport.is-dragging { cursor: grabbing; user-select: none; }
.hero-track { display: flex; height: auto; align-items: flex-start; }
.hero-slide { position: relative; height: auto; aspect-ratio: 3 / 2; flex: 0 0 50%; min-width: 0; overflow: hidden; }
.hero-link { position: absolute; inset: 0; z-index: 1; display: block; height: 100%; color: #fff; }
.hero-media,
.mag-card-media,
.feature-tile-media,
.side-thumb,
.foot-media { display: block; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img,
.mag-card-media img,
.feature-tile-media img,
.side-thumb img,
.foot-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .7s ease; }
.hero-slide:hover img,
.mag-card:hover img,
.feature-tile:hover img,
.foot-slide:hover img { transform: scale(1.06); }
.hero-overlay {
  position: absolute;
  left: 30px;
  bottom: 30px;
  z-index: 2;
  width: min(420px, calc(100% - 60px));
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  pointer-events: none;
}
.hero-overlay a,
.hero-overlay .story-meta { pointer-events: auto; }
.hero-caption {
  width: 100%;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  background: rgba(0, 0, 0, .5);
}
.hero-title,
.feature-tile-copy strong,
.foot-copy strong,
.mag-card-title,
.side-title {
  display: block;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.hero-title { max-height: 3.4em; color: #fff; font-size: 16px; font-weight: 600; line-height: 1.7; }
.hero-dots,
.carousel-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; }
.hero-dots { bottom: 18px; gap: 12px; }
.carousel-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
}
.hero-carousel .carousel-dot { width: 8px; height: 8px; }
.carousel-dot.is-active,
.carousel-dot:hover { background: #000; }

.cat-badge {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  min-width: 130px;
  height: 40px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  line-height: 1;
}
.story-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: #999; font-size: 12px; line-height: 1.5; }
.story-cat { color: #000; font-weight: 600; }
.story-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.story-tags a,
.story-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #f0f0f0;
  color: #555;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}
.story-tags a:hover { background: #e4e4e4; color: #333; }
.entry-dates { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.story-date { display: inline-flex; align-items: center; gap: 7px; font-family: Arial, sans-serif; font-size: 12px; font-weight: 400; }
.story-date.is-modified span { font-family: "Noto Sans JP", sans-serif; font-size: 11px; }
.story-date::before {
  content: "";
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M7 2h2v2h6V2h2v2h3a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3V2zm12 8H5v10h14V10z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M7 2h2v2h6V2h2v2h3a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1h3V2zm12 8H5v10h14V10z'/></svg>") center / contain no-repeat;
}
.story-date.is-modified::before {
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M17.65 6.35A8 8 0 1 0 19.7 14h-2.1a6 6 0 1 1-1.5-6.1L13 11h7V4l-2.35 2.35z'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M17.65 6.35A8 8 0 1 0 19.7 14h-2.1a6 6 0 1 1-1.5-6.1L13 11h7V4l-2.35 2.35z'/></svg>") center / contain no-repeat;
}
.hero-caption .story-meta,
.feature-tile .story-meta,
.foot-copy .story-meta,
.hero-caption .story-date,
.feature-tile .story-date,
.foot-copy .story-date,
.hero-caption .story-cat,
.feature-tile .story-cat,
.foot-copy .story-cat { color: #fff; }
.hero-caption .story-tags a,
.hero-caption .story-tags span,
.foot-copy .story-tags a,
.foot-copy .story-tags span,
.hero-caption .story-tags a:hover,
.foot-copy .story-tags a:hover {
  background: none;
  border: 1px solid #fff;
  color: #fff;
}

.tone-0 { background: linear-gradient(145deg, #e4e4e4, #8d8d8d); }
.tone-1 { background: linear-gradient(145deg, #dedede, #7a7a7a); }
.tone-2 { background: linear-gradient(160deg, #d4d4d4, #666); }
.tone-3 { background: linear-gradient(150deg, #ececec, #999); }
.tone-4 { background: linear-gradient(155deg, #e8e8e8, #737373); }

.mag-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 40px;
  align-items: start;
  padding: 60px 0 120px;
}
.post-tabs { display: flex; margin: 0 0 36px; }
.post-tab {
  position: relative;
  flex: 1;
  height: 60px;
  margin-right: -1px;
  border: 1px solid #ddd;
  background: #fff;
  color: #000;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.post-tab:hover,
.post-tab.is-active { z-index: 1; border-color: #000; background: #000; color: #fff; }
.post-tab.is-active { pointer-events: none; }
.post-tab::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  border-style: solid;
  border-width: 10px 6px 0;
  border-color: #000 transparent transparent;
  opacity: 0;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity .35s ease, transform .35s ease;
}
.post-tab.is-active::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.tab-stage { position: relative; transition: height .4s ease; }
.tab-stage.is-switching { overflow: hidden; }
.tab-panel { display: none; }
.tab-panel.is-active,
.tab-panel.is-leaving { display: block; }
.tab-panel.is-leaving {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity .4s ease;
}
.tab-stage.is-switching .tab-panel.is-active { animation: tab-panel-in .4s ease; }
@keyframes tab-panel-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.tab-more {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(100%, 320px);
  min-height: 58px;
  margin: 48px auto 0;
  padding: 0 58px 0 30px;
  border: 1px solid #000;
  background: #000;
  box-shadow: 0 4px 0 #cfcfcf;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.tab-more::after {
  content: "";
  position: absolute;
  right: 24px;
  width: 8px;
  height: 8px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}
.tab-more:hover {
  background: #333;
  color: #fff;
  transform: translateY(2px);
  box-shadow: 0 2px 0 #cfcfcf;
}
.tab-more:focus-visible { outline: 3px solid #999; outline-offset: 3px; }
.ranking-empty { margin: 0; color: #767676; font-size: 14px; }
.archive-heading { margin-bottom: 36px; }
.archive-kicker { margin: 0 0 8px; color: #999; font: italic 700 18px/1 Montserrat, "Noto Sans JP", sans-serif; }
.archive-heading h1 { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.5; }
.archive-description { margin: 12px 0 0; color: #767676; font-size: 14px; line-height: 1.8; }
.archive-description p { margin: 0; }
.archive-empty { margin: 0; color: #767676; font-size: 14px; }
.archive-search { display: flex; gap: 8px; max-width: 520px; margin-top: 24px; }
.archive-search input {
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 0 18px;
  border: 1.5px solid #d5d5d5;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 15px;
}
.archive-search input:focus { outline: none; border-color: #000; }
.archive-search button {
  height: 52px;
  padding: 0 22px;
  border: 0;
  background: #000;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.archive-search button:hover { background: #333; }
.archive-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 52px;
  margin-top: 8px;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.archive-back:hover { background: #333; }
.mag-main .pagination { margin-top: 48px; }
.mag-main .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.mag-main .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #ddd;
  border-radius: 0;
  background: #fff;
  font-size: 13px;
}
.mag-main .page-numbers.current,
.mag-main a.page-numbers:hover { border-color: #000; background: #000; color: #fff; }
.mag-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.mag-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; transition: transform .35s ease, box-shadow .35s ease; }
.mag-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0, 0, 0, .12); }
.mag-card-link { position: relative; z-index: 1; display: block; color: inherit; }
.mag-card-media { aspect-ratio: 3 / 2; height: auto; }
.mag-card-title {
  display: block;
  min-height: calc(4.8em + 22px);
  padding: 22px 22px 0;
  border: 1px solid #ddd;
  border-bottom: 0;
  border-top: 0;
  background: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.6;
}
.mag-card-title > span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  max-height: 4.8em;
  overflow: hidden;
}
.mag-card .story-meta { flex: 1 1 auto; padding: 12px 22px 18px; border: 1px solid #ddd; border-top: 0; background: #fff; }

.mag-article { min-width: 0; }
.mag-article .entry-featured {
  position: relative;
  aspect-ratio: 3 / 2;
  margin: 0 0 28px;
  overflow: hidden;
  background: #f3f3f3;
}
.mag-article .entry-featured img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.mag-article .entry-header h1 {
  margin: 0 0 16px;
  font-family: inherit;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.5;
}
.mag-article .entry-header .cat-badge { position: static; margin-bottom: 16px; }
.mag-article .entry-header .story-meta + .story-meta { margin-top: 10px; }
.mag-article {
  --wp--preset--font-size--small: 13px;
  --wp--preset--font-size--medium: 15px;
  --wp--preset--font-size--large: 20px;
  --wp--preset--font-size--x-large: 28px;
}
.mag-article .entry-content { margin-top: 36px; font-size: 16px; line-height: 1.9; }
.mag-article .entry-content p { margin: 0 0 1.4em; }
.mag-article .entry-content .has-large-font-size { font-weight: 500; line-height: 1.9; }
.entry-toc {
  margin: 0 0 2.4em;
  border: 1px solid #e5e5e5;
  background: #fff;
}
.mag-article .entry-content .entry-toc-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  padding: 14px 20px;
  border-bottom: 1px solid #e5e5e5;
  background: #fafafa;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
}
.entry-toc-title span {
  color: #999;
  font: italic 700 18px/1 Montserrat, "Noto Sans JP", sans-serif;
  letter-spacing: 0;
}
.entry-toc > ol {
  counter-reset: toc;
  margin: 0;
  padding: 6px 8px 8px;
  list-style: none;
}
.entry-toc li { margin: 0; padding: 0; }
.entry-toc > ol > li { counter-increment: toc; }
.entry-toc > ol > li + li { border-top: 1px solid #f2f2f2; }
.mag-article .entry-content .entry-toc a {
  color: #111;
  text-decoration: none;
}
.mag-article .entry-content .entry-toc > ol > li > a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 11px 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
.mag-article .entry-content .entry-toc > ol > li > a::before {
  content: counter(toc, decimal-leading-zero);
  flex: 0 0 auto;
  color: #999;
  font-family: Montserrat, "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
}
.mag-article .entry-content .entry-toc > ol > li > a:hover { background: #f6f6f6; }
.entry-toc ol ol {
  margin: 0 12px 8px 44px;
  padding: 0;
  list-style: none;
}
.mag-article .entry-content .entry-toc ol ol a {
  display: block;
  padding: 7px 0;
  border-top: 1px solid #f3f3f3;
  color: #555;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
}
.mag-article .entry-content .entry-toc ol ol a:hover { color: #111; }
.mag-article .entry-content h2,
.mag-article .entry-content h3 { scroll-margin-top: 180px; }
.mag-article .entry-content h2,
.mag-article .entry-content h3,
.mag-article .entry-content h4,
.mag-article .entry-content h5,
.mag-article .entry-content h6 {
  margin: 2em 0 .7em;
  padding: 0;
  border: 0;
  font-family: inherit;
  font-weight: 600;
  line-height: 1.5;
}
.mag-article .entry-content h2 {
  margin-top: 2.4em;
  padding-left: 16px;
  border-left: 4px solid #000;
  font-size: 24px;
}
.mag-article .entry-content h3 {
  padding-bottom: .4em;
  border-bottom: 1px solid #ddd;
  font-size: 18px;
}
.mag-article .entry-content h4 { font-size: 16px; }
.mag-article .entry-content h5 { font-size: 14px; letter-spacing: .04em; }
.mag-article .entry-content h6 { color: #666; font-size: 13px; letter-spacing: .06em; }
.mag-article .entry-content a { color: inherit; text-decoration: underline; }
.mag-article .entry-content mark { padding: 0 .15em; }
.mag-article .entry-content p.has-vivid-red-color {
  padding: 14px 18px;
  border-left: 4px solid currentColor;
  background: #fafafa;
  font-size: 14px;
  line-height: 1.8;
}
.mag-article .entry-content p.has-background {
  padding: 22px 24px;
  background-color: #fafafa;
}
.mag-article .entry-content .wp-block-list { margin: 1.2em 0 1.6em; padding: 0; list-style: none; }
.mag-article .entry-content .wp-block-list > li { position: relative; margin: .4em 0; padding-left: 1.35em; }
.mag-article .entry-content ul.wp-block-list > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  background: #000;
}
.mag-article .entry-content ol.wp-block-list { counter-reset: np; }
.mag-article .entry-content ol.wp-block-list > li { counter-increment: np; padding-left: 1.8em; }
.mag-article .entry-content ol.wp-block-list > li::before {
  content: counter(np) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 14px;
  font-weight: 600;
}
.mag-article .entry-content img { border-radius: 0; }
.mag-article .entry-content figure,
.mag-article .entry-content .wp-block-image { margin: 2em 0; }
.mag-article .entry-content .wp-block-image img { display: block; width: 100%; height: auto; }
.mag-article .entry-content figcaption,
.mag-article .entry-content .wp-element-caption { margin-top: 10px; color: #999; font-size: 12px; line-height: 1.6; }
.mag-article .entry-content blockquote {
  margin: 2em 0;
  padding: 24px 28px;
  border: 0;
  border-left: 4px solid #000;
  background: #fafafa;
  color: #333;
}
.mag-article .entry-content blockquote p { margin: 0; }
.mag-article .entry-content blockquote cite {
  display: block;
  margin-top: 14px;
  color: #999;
  font-size: 12px;
  font-style: normal;
}
.mag-article .entry-content blockquote cite::before { content: "— "; }
.mag-article .entry-content .wp-block-pullquote {
  margin: 2em 0;
  padding: 1.4em 0;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  text-align: center;
}
.mag-article .entry-content hr,
.mag-article .entry-content .wp-block-separator {
  width: 100%;
  height: 1px;
  margin: 2.6em 0;
  border: 0;
  background: #ddd;
  opacity: 1;
}
.mag-article .entry-content .wp-block-table { margin: 2em 0; overflow-x: auto; }
.mag-article .entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.mag-article .entry-content th,
.mag-article .entry-content td { padding: 14px 16px; border: 1px solid #ddd; text-align: left; vertical-align: top; }
.mag-article .entry-content th { background: #000; color: #fff; border-color: #000; font-weight: 600; }
.mag-article .entry-content .wp-block-details { margin: 1.6em 0; border: 1px solid #ddd; background: #fff; }
.mag-article .entry-content .wp-block-details summary {
  position: relative;
  padding: 16px 44px 16px 20px;
  font-weight: 600;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}
.mag-article .entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
.mag-article .entry-content .wp-block-details summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 1.5px solid #000;
  border-bottom: 1.5px solid #000;
  transform: rotate(45deg);
  transition: transform .3s ease;
}
.mag-article .entry-content .wp-block-details[open] summary { border-bottom: 1px solid #ddd; }
.mag-article .entry-content .wp-block-details[open] summary::after { margin-top: -2px; transform: rotate(225deg); }
.mag-article .entry-content .wp-block-details > :not(summary) { margin: 0; padding: 16px 20px 18px; }
.mag-article .entry-content .wp-block-buttons { margin: 1.6em 0; }
.mag-article .entry-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid #000;
  border-radius: 0;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}
.mag-article .entry-content .wp-block-button__link:hover { background: #333; border-color: #333; color: #fff; }
.mag-article .entry-content .is-style-outline .wp-block-button__link { background: #fff; color: #000; }
.mag-article .entry-content .is-style-outline .wp-block-button__link:hover { background: #000; color: #fff; }
.mag-article .entry-content pre,
.mag-article .entry-content .wp-block-code,
.mag-article .entry-content .wp-block-verse {
  margin: 1.6em 0;
  padding: 18px 20px;
  overflow: auto;
  border: 1px solid #ddd;
  background: #fafafa;
  font-size: 13px;
  line-height: 1.7;
}
.mag-article .entry-content :not(pre) > code {
  padding: .1em .35em;
  background: #f3f3f3;
  font-size: .9em;
}
.mag-article .entry-content .wp-block-columns { margin: 1.6em 0; gap: 24px; }
.mag-article .entry-content .wp-block-gallery { margin: 1.6em 0; gap: 12px; }
.entry-share { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 12px; padding: 0; list-style: none; }
.entry-share a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #ddd;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
.entry-share-icon { width: 15px; height: 15px; flex: 0 0 15px; fill: currentColor; }
.entry-share a:hover,
.entry-copy:hover,
.entry-copy.is-copied { background: #000; border-color: #000; color: #fff; }
.entry-copy {
  width: 100%;
  min-height: 48px;
  border: 1px solid #ddd;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.entry-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.entry-nav-item {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
  padding: 12px;
  border: 1px solid #ddd;
  color: inherit;
  text-decoration: none;
}
.entry-nav-item.is-next { grid-column: 2; }
.entry-nav-item:hover { background: #fafafa; }
.entry-nav-thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.entry-nav-thumb img,
.entry-related-thumb img,
.entry-feature-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.entry-nav-title,
.entry-related-card h3 span,
.entry-feature-copy strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.entry-nav-title { -webkit-line-clamp: 2; font-size: 13px; font-weight: 600; line-height: 1.6; }
.entry-nav-label { display: block; margin-top: 6px; color: #999; font-size: 11px; }
.entry-profile {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin-top: 48px;
  padding: 24px;
  border: 1px solid #ddd;
}
.entry-profile .profile-symbol { width: 96px; height: 96px; margin: 0; font-size: 36px; }
.entry-profile h2 { margin: 0 0 8px; font-size: 20px; font-weight: 600; }
.entry-profile p { margin: 0 0 12px; color: #666; font-size: 14px; line-height: 1.8; }
.entry-profile a { color: #000; font-size: 13px; font-weight: 600; border-bottom: 1px solid currentColor; text-decoration: none; }
.entry-block { margin-top: 56px; }
.entry-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 16px; }
.entry-related-card a { display: block; color: inherit; text-decoration: none; }
.entry-related-ad { align-self: start; min-width: 0; }
.entry-related-ad .side-ad-unit,
.entry-related-ad .adsbygoogle {
  width: 100%;
  aspect-ratio: 3 / 2;
  min-height: 0;
}
.entry-related-thumb,
.entry-feature-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.entry-related-card h3 { margin: 10px 0 0; font-size: 13px; font-weight: 600; line-height: 1.6; }
.entry-related-card h3 span { -webkit-line-clamp: 2; }
.entry-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.entry-feature-card { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.entry-feature-link { position: relative; display: block; height: 100%; color: #fff; text-decoration: none; }
.entry-feature-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 68%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .82));
}
.entry-feature-media { position: absolute; inset: 0; }
.entry-feature-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
}
.entry-feature-copy .story-date { color: #fff; }
.entry-feature-copy strong { -webkit-line-clamp: 2; font-size: 14px; font-weight: 600; line-height: 1.6; }
.entry-feature-card .cat-badge { z-index: 4; }

.mag-article .entry-content .wp-block-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin: 1.6em 0;
  padding: 16px 20px;
  border: 1px solid #ddd;
}

.feature-block { margin-top: 72px; }
.mag-headline,
.side-section h2 {
  margin: 0 0 20px;
  padding-left: 18px;
  border-left: 4px solid #000;
  font-size: 18px;
  font-weight: 600;
  line-height: 40px;
}
.feature-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.feature-tile { position: relative; aspect-ratio: 3 / 2; height: auto; }
.feature-tile-link { position: relative; z-index: 1; display: block; height: 100%; color: #fff; }
.feature-tile-media { position: absolute; inset: 0; }
.feature-tile-link::after,
.foot-slide > a:not(.cat-badge)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  height: 68%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .82));
}
.feature-tile-copy,
.foot-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 24px; }
.feature-tile-copy strong { max-height: 3.4em; font-size: 18px; font-weight: 600; line-height: 1.7; }
.feature-tile .story-date { margin-bottom: 6px; }

.profile-box { margin-bottom: 48px; text-align: center; }
.profile-symbol {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font: italic 700 46px/1 Montserrat, "Noto Sans JP", sans-serif;
}
.profile-symbol.profile-photo { overflow: hidden; background: #f3f3f3; }
.profile-symbol.profile-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.profile-box h2 { margin: 0 0 12px; font-size: 22px; font-weight: 600; }
.profile-box p { margin: 0 0 14px; color: #666; font-size: 14px; line-height: 1.9; }
.profile-box > a { color: #000; font-size: 13px; font-weight: 600; border-bottom: 1px solid currentColor; }
.side-ad { margin-bottom: 48px; }
.side-ad-unit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  border: 1px solid #ddd;
  background: #fafafa;
  color: #bbb;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
}
.entry-ad { margin: 2em 0; }
.archive-ad { grid-column: 1 / -1; }
.side-ad .adsbygoogle,
.entry-ad .adsbygoogle,
.archive-ad .adsbygoogle { display: block; min-height: 250px; }
.side-ranking .footer-switch-tabs { margin-bottom: 0; }
.side-ranking .footer-mini.is-rank { grid-template-columns: 120px minmax(0, 1fr); }
.side-ranking .footer-mini.is-rank .footer-mini-thumb { width: 120px; }
.side-section { margin-bottom: 48px; }
.side-recent,
.side-categories,
.side-archives { margin: 0; padding: 0; list-style: none; }
.side-recent a {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  min-height: 0;
  padding: 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-bottom: 0;
}
.side-recent li:last-child a { border-bottom: 1px solid #ddd; }
.side-thumb { position: relative; width: 132px; height: auto; aspect-ratio: 3 / 2; }
.side-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 6px;
  min-width: 0;
  padding: 2px 4px 2px 0;
}
.side-copy .story-meta { font-size: 11px; }
.side-title {
  display: block;
  min-width: 0;
  max-height: 3.4em;
  margin: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}
.side-title > span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: normal;
}
.side-categories { border: 1px solid #ddd; border-bottom: 0; }
.side-categories a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 18px;
  border-bottom: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
}
.side-categories a:hover,
.side-recent a:hover { background: #fafafa; }
.archive-toggle {
  position: relative;
  display: block;
  width: 100%;
  height: 60px;
  padding: 0 44px 0 18px;
  border: 1px solid #ddd;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 60px;
  text-align: left;
  cursor: pointer;
}
.archive-toggle::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -6px;
  border-right: 1.5px solid #000;
  border-bottom: 1.5px solid #000;
  transform: rotate(45deg);
  transition: transform .4s ease;
}
.archive-toggle.is-active::after { transform: rotate(225deg); }
.archive-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s ease;
}
.archive-panel.is-open { grid-template-rows: 1fr; }
.archive-panel > .side-archives { min-height: 0; overflow: hidden; }
.side-archive .side-archives { margin-top: 0; border: 0; }
.side-archive .side-archives a {
  display: block;
  height: 47px;
  margin-top: -1px;
  padding: 0 18px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 14px;
  line-height: 47px;
}
.side-archive .side-archives a:hover { background: #fafafa; }
@media (prefers-reduced-motion: reduce) {
  .archive-panel,
  .archive-toggle::after,
  .post-tab,
  .post-tab::after,
  .tab-stage,
  .tab-panel.is-leaving { transition: none; }
  .header-search-panel,
  .mag-nav.main-nav,
  .mag-nav.main-nav > .wrap,
  .menu-toggle-icon span,
  .wp-block-details summary::after { transition: none; }
}
.side-categories span { color: #999; }
.side-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.side-tags a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
}
.side-tags a:hover { background: #000; border-color: #000; color: #fff; }

.cat-summary { padding: 80px 0 72px; background: var(--cream); }
.cat-summary-head { margin-bottom: 36px; text-align: center; }
.cat-summary-head h2 { margin: 0; font-size: 28px; font-weight: 600; letter-spacing: .12em; }
.cat-summary-head p { margin: 8px 0 0; color: #999; font: italic 18px/1 Montserrat, "Noto Sans JP", sans-serif; }
.cat-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.cat-summary-card { display: flex; flex-direction: column; min-width: 0; }
.cat-summary-card ul { flex: 1 1 auto; }
.cat-summary-media {
  position: relative;
  display: grid;
  place-items: center;
  height: 168px;
  overflow: hidden;
  color: #fff;
}
.cat-summary-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.cat-summary-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .45), rgba(0, 0, 0, .12));
}
.cat-summary-media span { position: relative; z-index: 1; font-size: 22px; font-weight: 600; letter-spacing: .06em; }
.cat-summary-card ul { margin: 0 0 18px; padding: 0; list-style: none; }
.cat-summary-card li { border-bottom: 1px solid #e6e6e6; }
.cat-summary-card li > a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: #000;
  font-size: 14px;
  line-height: 1.6;
}
.cat-summary-card li > a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-summary-card li > a::after {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-top: 1.5px solid #999;
  border-right: 1.5px solid #999;
  transform: rotate(45deg);
}
.cat-summary-card li > a:hover { color: #666; }
.cat-summary-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  min-width: 168px;
  height: 42px;
  margin: auto auto 0;
  padding: 0 18px;
  background: #000;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: background-color .3s ease;
}
.cat-summary-more::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
  transform: rotate(45deg);
}
.cat-summary-more:hover { background: #333; }

.foot-carousel { position: relative; height: auto; max-width: 100%; overflow: hidden; background: #000; contain: inline-size; }
.foot-viewport { width: 100%; height: auto; margin: 0; overflow: hidden; touch-action: pan-y; cursor: grab; }
.foot-viewport.is-dragging { cursor: grabbing; user-select: none; }
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .75);
  background: transparent;
  color: #fff;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, background-color .2s ease;
}
@media (hover: hover) and (pointer: fine) {
  .foot-carousel:hover .carousel-arrow,
  .foot-carousel:focus-within .carousel-arrow {
    opacity: 1;
    pointer-events: auto;
  }
}
.carousel-arrow-prev { left: 16px; }
.carousel-arrow-next { right: 16px; }
.carousel-arrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
}
.carousel-arrow-prev::before { transform: translateX(2px) rotate(-135deg); }
.carousel-arrow-next::before { transform: translateX(-2px) rotate(45deg); }
.carousel-arrow:hover { background: #fff; }
.carousel-arrow:hover::before { border-color: #000; }
.foot-track { display: flex; height: auto; align-items: flex-start; }
.foot-slide { position: relative; height: auto; aspect-ratio: 3 / 2; flex: 0 0 25%; min-width: 0; overflow: hidden; }
.foot-slide > a:not(.cat-badge) { position: relative; display: block; height: 100%; color: #fff; }
.foot-slide .cat-badge { z-index: 4; }
.foot-media { position: absolute; inset: 0; }
.foot-copy { display: flex; flex-direction: column; gap: 6px; padding: 12px 16px; }
.foot-copy strong { max-height: 3.4em; font-size: 14px; font-weight: 600; line-height: 1.7; }
.foot-copy .story-meta { margin: 0; font-size: 11px; gap: 6px; }

.mag-footer { background: #fff; }
.footer-widgets { background: #f3f3f3; }
.footer-showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 48px 0 64px; }
.footer-showcase h2 { margin: 0 0 14px; font-size: 16px; font-weight: 700; line-height: 1.4; }
.footer-rows { border: 1px solid #ddd; background: #fff; }
.footer-switch-tabs { display: flex; }
.footer-switch-tabs button {
  flex: 1;
  height: 48px;
  border: 1px solid #ddd;
  border-bottom: 0;
  background: #fff;
  color: #000;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.footer-switch-tabs button + button { border-left: 0; }
.footer-switch-tabs button.is-active { position: relative; z-index: 1; margin-bottom: -1px; background: #fff; }
.footer-switch-tabs button:not(.is-active) { background: #fafafa; color: #666; }
.footer-switch-panel[hidden] { display: none; }
.footer-mini {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-height: 0;
  padding: 12px;
  border-bottom: 1px solid #e6e6e6;
  color: #000;
  font-size: 13px;
  line-height: 1.6;
}
.footer-rows .footer-mini:last-child { border-bottom: 0; }
.footer-mini:hover { background: #fafafa; }
.footer-mini-thumb { position: relative; display: block; width: 132px; height: auto; aspect-ratio: 3 / 2; overflow: hidden; }
.footer-mini-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.footer-mini-copy { display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; min-width: 0; }
.footer-mini .story-meta { font-size: 11px; }
.footer-mini-title { display: block; min-width: 0; overflow: hidden; }
.footer-mini-title > span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.footer-mini.is-rank { grid-template-columns: 148px minmax(0, 1fr); }
.footer-mini.is-rank .footer-mini-thumb { width: 148px; }
.thumb-cat,
.rank-cat {
  max-width: 100%;
  padding: 3px 8px;
  overflow: hidden;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.thumb-cat {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
}
.rank-cat { align-self: flex-start; }
.footer-rank-num {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  width: 32px;
  height: 32px;
  background: #fff;
  color: #000;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
  text-align: center;
}
.footer-rows .ranking-empty { margin: 0; padding: 24px 16px; }
.footer-bottom { padding: 28px 0 24px; background: #000; color: #fff; text-align: center; }
.footer-logo { display: inline-block; margin-bottom: 16px; color: #fff; font: 700 28px/1 Montserrat, "Noto Sans JP", sans-serif; letter-spacing: .02em; }
.footer-bottom ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; margin: 0; padding: 0; list-style: none; }
.footer-bottom a { color: #fff; font-size: 12px; }
.footer-bottom p { margin: 22px 0 0; color: #aaa; font-size: 11px; }

@media (max-width: 900px) {
  .mag-article .entry-content h2,
  .mag-article .entry-content h3 { scroll-margin-top: 88px; }
  .mag-header-top { min-height: 72px; }
  .mag-tagline { display: none; }
  .header-search-card { padding: 22px 18px 24px; border-radius: 20px; }
  .header-search-card h2 span { font-size: 28px; }
  .mag-header .menu-toggle { display: grid; }
  .mag-nav.main-nav {
    position: absolute;
    display: grid;
    grid-template-rows: 0fr;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 80;
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-bottom: 0;
    box-shadow: none;
    pointer-events: none;
    transition: grid-template-rows .45s cubic-bezier(.22, .61, .36, 1), box-shadow .45s ease;
  }
  .mag-nav.main-nav.is-open {
    display: grid;
    grid-template-rows: 1fr;
    border-bottom: 1px solid #eee;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
    pointer-events: auto;
  }
  .mag-nav.main-nav > .wrap { min-height: 0; overflow: hidden; opacity: 0; transition: opacity .3s ease; }
  .mag-nav.main-nav.is-open > .wrap { opacity: 1; transition-delay: .08s; }
  .mag-nav .wrap > ul { flex-direction: column; gap: 0; padding: 8px 0 12px; }
  .mag-nav .wrap > ul > li > a {
    justify-content: start;
    height: auto;
    min-height: 52px;
    padding: 14px 18px 14px 22px;
    border: 0;
    border-bottom: 1px solid #f2f2f2;
    background: transparent;
    color: #111;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .01em;
  }
  .mag-nav .wrap > ul > li:last-child > a { border-bottom: 0; }
  .mag-nav .wrap > ul > li > a:hover,
  .mag-nav .wrap > ul > li.current-menu-item > a,
  .mag-nav .wrap > ul > li.current_page_item > a { background: #f6f6f6; color: #000; box-shadow: inset 2px 0 0 #111; }
  .mag-nav .sub-menu { position: static; min-width: 0; }
  .mag-layout { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 72px; }
  .mag-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .cat-summary { padding: 56px 0 48px; }
  .cat-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-ad,
  .side-ranking { grid-column: 1 / -1; }
  .profile-box,
  .side-ad,
  .side-section { margin: 0; }
}

@media (max-width: 750px) {
  .foot-slide .cat-badge {
    min-width: 0;
    max-width: calc(100% - 12px);
    height: 26px;
    padding: 0 10px;
    overflow: hidden;
    font-size: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
}

@media (max-width: 620px) {
  .mag-logo { font-size: 26px; }
  .archive-heading h1 { font-size: 24px; }
  .header-search-panel { padding: 12px 14px 20px; }
  .hero-carousel { height: auto; }
  .hero-slide,
  .foot-slide { flex-basis: 100%; }
  .hero-overlay { left: 16px; bottom: 16px; width: calc(100% - 32px); }
  .hero-caption { padding: 12px 16px; }
  .hero-title { font-size: 14px; }
  .post-tabs { flex-wrap: wrap; margin-bottom: 20px; }
  .post-tab { flex: 1 1 50%; min-width: 0; padding: 0 8px; font-size: 14px; }
  .post-tab.is-active::after { display: none; }
  .mag-cards,
  .feature-tiles,
  .entry-nav,
  .entry-related-grid,
  .entry-feature-grid,
  .mag-sidebar,
  .footer-showcase,
  .cat-summary-grid { grid-template-columns: 1fr; }
  .footer-widgets { display: none; }
  .mag-card-title { min-height: 0; }
  .entry-nav-item.is-next { grid-column: auto; }
  .entry-profile { grid-template-columns: 72px minmax(0, 1fr); padding: 18px; }
  .entry-profile .profile-symbol { width: 72px; height: 72px; font-size: 28px; }
}

/* Article readability refinements */
.mag-article .entry-header h1 {
  max-width: 19em;
  font-size: clamp(28px, 3.3vw, 38px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .01em;
}
.mag-article .entry-content { color: #222; }
.mag-article .entry-content h2,
.mag-article .entry-content h3,
.mag-article .entry-content h4,
.mag-article .entry-content h5,
.mag-article .entry-content h6 { color: #111; }
.mag-article .entry-content h2 {
  margin-top: 2.8em;
  padding: 18px 20px;
  border-left: 5px solid #111;
  background: #f4f4f2;
  font-size: clamp(21px, 2.5vw, 26px);
  line-height: 1.55;
}
.mag-article .entry-content h3 {
  margin-top: 2.5em;
  padding: 0 0 12px 14px;
  border-left: 3px solid #111;
  border-bottom: 1px solid #d8d8d8;
  font-size: 20px;
}
.mag-article .entry-content h4 {
  padding-left: 13px;
  border-left: 2px solid #999;
  font-size: 18px;
}
.mag-article .entry-content h5 { font-size: 16px; }
.mag-article .entry-content h5::before { content: "\2014"; margin-right: 8px; color: #999; }
.mag-article .entry-content h6 { font-size: 14px; font-weight: 700; }
.mag-article .entry-content .wp-block-list {
  margin: 1.4em 0 2em;
  padding: 20px 22px;
  border: 1px solid #e0e0e0;
  background: #fafafa;
}
.mag-article .entry-content .wp-block-list > li {
  margin: 0;
  padding: 9px 8px 9px 30px;
  line-height: 1.75;
}
.mag-article .entry-content .wp-block-list > li + li { border-top: 1px solid #e7e7e7; }
.mag-article .entry-content ul.wp-block-list > li::before {
  top: 1.15em;
  left: 8px;
  width: 8px;
  height: 8px;
  background: #111;
  transform: rotate(45deg);
}
.mag-article .entry-content ol.wp-block-list { counter-reset: np; }
.mag-article .entry-content ol.wp-block-list > li { padding-left: 44px; }
.mag-article .entry-content ol.wp-block-list > li::before {
  top: .65em;
  left: 5px;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  content: counter(np);
  font-size: 12px;
  line-height: 1;
}
.mag-article .entry-content .wp-block-button__link {
  min-width: 220px;
  min-height: 54px;
  padding: 0 34px;
  box-shadow: 0 5px 0 #cfcfcf;
  font-size: 15px;
  letter-spacing: .03em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.mag-article .entry-content .wp-block-button__link::after { content: "\2192"; margin-left: 14px; font-size: 18px; }
.mag-article .entry-content .wp-block-button__link:hover {
  transform: translateY(2px);
  box-shadow: 0 3px 0 #cfcfcf;
}
.mag-article .entry-content .wp-block-table tbody tr:nth-child(even) { background: #f7f7f7; }
.mag-article .entry-content .wp-block-table figcaption { text-align: right; }
.mag-article .entry-content .wp-block-details { border-left: 4px solid #111; }
.mag-article .entry-content .wp-block-details summary { background: #fafafa; font-size: 15px; }

@media (max-width: 620px) {
  .mag-article .entry-header h1 { font-size: 27px; line-height: 1.5; }
  .mag-article .entry-content h2 { padding: 15px 16px; font-size: 21px; }
  .mag-article .entry-content h3 { font-size: 18px; }
  .mag-article .entry-content .wp-block-list { padding: 12px 14px; }
  .mag-article .entry-content .wp-block-button,
  .mag-article .entry-content .wp-block-button__link { width: 100%; }
}

/* Navy hierarchy polish */
:root {
  --np-navy: #17243d;
  --np-navy-hover: #24395e;
  --np-navy-pale: #f1f4f8;
  --np-beige: #f5f1e8;
  --np-text: #20242b;
  --np-muted: #6f7682;
}

body { color: var(--np-text); }
.mag-nav .wrap > ul > li > a:hover,
.mag-nav .wrap > ul > li.current-menu-item > a,
.mag-nav .wrap > ul > li.current-menu-ancestor > a { background: var(--np-navy); color: #fff; }
.carousel-dot.is-active,
.carousel-dot:hover { background: var(--np-navy); }
.hero-caption { background: rgba(23, 36, 61, .84); }
.story-cat,
.profile-box > a { color: var(--np-navy); }
.story-tags a:hover { background: var(--np-navy-pale); color: var(--np-navy); }

.mag-layout { gap: 52px; padding-top: 72px; }
.post-tabs { margin-bottom: 28px; }
.post-tab:hover,
.post-tab.is-active { border-color: var(--np-navy); background: var(--np-navy); color: #fff; }
.post-tab.is-active::after { border-top-color: var(--np-navy); }
.tab-panel.is-active {
  padding: 34px;
  border: 1px solid #e1e5eb;
  border-radius: 3px;
}
.tab-panel::before {
  display: block;
  margin-bottom: 24px;
  color: var(--np-navy);
  content: "";
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
}
.tab-panel[data-panel="latest"] { background: #fff; }
.tab-panel[data-panel="latest"]::before { content: "LATEST"; }
.tab-panel[data-panel="recommend"] { background: var(--np-beige); border-color: #e8dfcf; }
.tab-panel[data-panel="recommend"]::before { content: "RECOMMENDED"; }
.tab-panel[data-panel="feature"] { background: var(--np-navy); border-color: var(--np-navy); }
.tab-panel[data-panel="feature"]::before { color: #fff; content: "FEATURE"; }
.tab-panel[data-panel="ranking"] { background: var(--np-navy-pale); border-color: #dce2eb; }
.tab-panel[data-panel="ranking"]::before { content: "POPULAR"; }
.tab-panel[data-panel="feature"] .ranking-empty { color: #d7deea; }

.mag-cards { gap: 34px 28px; }
.mag-card {
  border: 1px solid #e0e3e8;
  background: #fff;
  box-shadow: 0 8px 22px rgba(23, 36, 61, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mag-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(23, 36, 61, .12); }
.mag-card .mag-card-title,
.mag-card .story-meta { border-left: 0; border-right: 0; }
.mag-cards .mag-card:first-child { grid-column: 1 / -1; }
.mag-cards .mag-card:first-child .mag-card-media { aspect-ratio: 16 / 7; }
.mag-cards .mag-card:first-child .mag-card-title { font-size: 22px; line-height: 1.65; }
.tab-more {
  background: var(--np-navy);
  box-shadow: 0 5px 0 #c7ced9;
}
.tab-more:hover { background: var(--np-navy-hover); }
.tab-panel[data-panel="feature"] .tab-more {
  background: #fff;
  color: var(--np-navy);
  box-shadow: 0 5px 0 rgba(0, 0, 0, .24);
}
.tab-panel[data-panel="feature"] .tab-more:hover { background: var(--np-navy-pale); }

.mag-headline,
.side-section h2 { border-left-color: var(--np-navy); color: var(--np-navy); }
.feature-block { margin-top: 84px; }
.profile-symbol { background: var(--np-navy); }
.side-ranking .footer-switch-tab.is-active,
.side-ranking .footer-switch-tab:hover { background: var(--np-navy); color: #fff; }
.footer-rank-num { background: var(--np-navy); color: #fff; }
.footer-bottom { background: var(--np-navy); }

.mag-article .entry-content h2 {
  border-left-color: var(--np-navy);
  background: var(--np-navy-pale);
}
.mag-article .entry-content h3 { border-left-color: var(--np-navy); }
.mag-article .entry-content ul.wp-block-list > li::before,
.mag-article .entry-content ol.wp-block-list > li::before { background: var(--np-navy); }
.mag-article .entry-content .wp-block-button__link { background: var(--np-navy); border-color: var(--np-navy); }
.mag-article .entry-content .wp-block-button__link:hover { background: var(--np-navy-hover); border-color: var(--np-navy-hover); }
.entry-share a:hover,
.entry-copy:hover,
.entry-copy.is-copied { background: var(--np-navy); border-color: var(--np-navy); }
.mag-article .entry-content .wp-block-details { border-left-color: var(--np-navy); }

@media (max-width: 620px) {
  .mag-layout { padding-top: 44px; }
  .tab-panel.is-active { padding: 24px 16px; }
  .tab-panel::before { margin-bottom: 18px; }
  .mag-cards .mag-card:first-child .mag-card-media { aspect-ratio: 3 / 2; }
  .mag-cards .mag-card:first-child .mag-card-title { font-size: 18px; }
}

/* Ranking archive */
.ranking-archive .archive-description {
  margin: 16px 0 0;
  color: var(--np-muted);
  font-size: 14px;
  line-height: 1.8;
}
.ranking-archive-tabs { margin: 36px 0 32px; }
.ranking-archive-tabs button.is-active,
.ranking-archive-tabs button:hover { background: var(--np-navy); color: #fff; }
.ranking-archive-grid { align-items: stretch; }
.ranking-archive-item { position: relative; min-width: 0; }
.ranking-archive-item .mag-card { height: 100%; }
.ranking-archive-item:first-child { grid-column: 1 / -1; }
.ranking-archive-item:first-child .mag-card-media { aspect-ratio: 16 / 7; }
.ranking-archive-number {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--np-navy);
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
}

@media (max-width: 620px) {
  .ranking-archive-tabs { margin: 28px 0 24px; }
  .ranking-archive-item:first-child .mag-card-media { aspect-ratio: 3 / 2; }
}
