:root{
  --site-w: 100%;
  --radius: 18px;
  --shadow-soft: 0 12px 40px rgba(0,0,0,.12);
}

.wp-block-group.alignwide,
.wp-block-columns,
.wp-block-query{
  max-width: var(--site-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(10px, 1.4vw, 18px);
  padding-right: clamp(10px, 1.4vw, 18px);
}

.wp-block-embed iframe{
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  border-radius: var(--radius);
}

.wp-block-embed.wp-embed-aspect-9-16 iframe{
  aspect-ratio: 9 / 16;
}

.wp-block-gallery img{
  border-radius: var(--radius);
}

.wp-block-embed-twitter{
  position: relative;
  z-index: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.wp-block-post-template > li > .wp-block-group{
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.wp-block-button__link{
  border-radius: 999px;
}

@media (max-width: 640px){
  .wp-block-columns{
    gap: 14px;
  }
}

/* Codex UI polish 2026-06-29 start
   Restore: remove this block only.
*/
.home .wp-site-blocks {
  overflow-x: clip;
}

.home .sticky-cover > .wp-block-cover {
  min-height: min(760px, 88vh) !important;
  align-items: center;
}

.home .sticky-cover .wp-block-cover__inner-container {
  box-sizing: border-box;
  width: min(100%, 1240px);
}

.home .sticky-cover header.wp-block-group.alignwide {
  box-sizing: border-box;
  width: min(calc(100% - 48px), 1224px);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(3, 10, 18, .68) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home .sticky-cover .wp-block-site-title {
  max-width: 100%;
  font-size: clamp(2rem, 3.4vw, 2.75rem) !important;
  line-height: 1.12 !important;
  letter-spacing: 0;
}

.home .sticky-cover .wp-block-site-title a {
  text-decoration: none;
}

.home .sticky-cover .wp-block-navigation {
  gap: clamp(12px, 1.6vw, 22px);
}

.home .sticky-cover .wp-block-navigation .wp-block-navigation-item__content {
  padding-block: .25rem;
  text-underline-offset: .22em;
}

.home .sticky-cover h1.wp-block-heading.has-xx-large-font-size {
  max-width: min(100%, 980px) !important;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2.75rem, 6vw, 5rem) !important;
  font-size: clamp(3.2rem, 6.6vw, 5rem) !important;
  line-height: 1.04 !important;
  letter-spacing: 0;
  text-wrap: balance;
}

.home .kodera-recruit-button-main,
.home .kodera-recruit-button-sub {
  box-sizing: border-box;
  max-width: 100%;
}

@media (max-width: 782px) {
  .home .sticky-cover > .wp-block-cover {
    min-height: 86svh !important;
  }

  .home .sticky-cover .wp-block-cover__inner-container {
    padding-inline: 16px !important;
  }

  .home .sticky-cover header.wp-block-group.alignwide {
    width: calc(100vw - 32px);
    margin-inline: auto !important;
    padding: 16px !important;
    border-radius: 10px;
  }

  .home .sticky-cover .wp-block-site-title {
    font-size: clamp(1.65rem, 8vw, 2.4rem) !important;
    line-height: 1.16 !important;
  }

  .home .sticky-cover h1.wp-block-heading.has-xx-large-font-size {
    max-width: min(100%, 22rem) !important;
    padding-bottom: clamp(2rem, 10vw, 3.5rem) !important;
    font-size: clamp(2.25rem, 9.8vw, 2.85rem) !important;
    line-height: 1.04 !important;
  }

  .home .sticky-cover .wp-block-navigation__responsive-container-open {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
  }

  .home .sticky-cover .wp-block-navigation__responsive-container.is-menu-open {
    padding: 28px;
    color: #fff;
    background: #07111b;
  }

  .home .kodera-recruit-button-main,
  .home .kodera-recruit-button-sub {
    width: 100%;
    max-width: calc(100vw - 48px);
    white-space: normal;
  }
}

@media (max-width: 430px) {
  .home .sticky-cover header.wp-block-group.alignwide {
    width: calc(100vw - 28px);
    padding: 14px !important;
  }

  .home .sticky-cover .wp-block-site-title {
    font-size: clamp(1.48rem, 7.5vw, 2rem) !important;
  }

  .home .sticky-cover h1.wp-block-heading.has-xx-large-font-size {
    max-width: 18.5rem !important;
    font-size: clamp(2rem, 9.3vw, 2.35rem) !important;
  }
}

@supports not (overflow: clip) {
  .home .wp-site-blocks {
    overflow-x: hidden;
  }
}
/* Codex UI polish 2026-06-29 end */

/* Codex members polish 2026-06-29 start
   Restore: remove this block only.
*/
body.page-id-49 .wp-site-blocks {
  overflow-x: clip;
  background: #fff;
}

body.page-id-49 header.wp-block-group.alignwide {
  box-sizing: border-box;
}

body.page-id-49 .wp-block-site-title {
  width: auto !important;
  max-width: 100%;
  letter-spacing: 0;
}

body.page-id-49 .wp-block-site-title a {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.page-id-49 main#wp--skip-link--target {
  margin-top: 0 !important;
}

body.page-id-49 .entry-content {
  box-sizing: border-box;
  display: block !important;
  width: min(100%, 920px);
  max-width: 920px !important;
  margin: clamp(44px, 6vw, 72px) auto clamp(56px, 7vw, 88px) !important;
  padding: 0 clamp(18px, 2.5vw, 28px) !important;
}

body.page-id-49 .entry-content::before {
  content: "研究室メンバー";
  display: block;
  margin-bottom: clamp(24px, 3.5vw, 36px);
  padding-bottom: .75rem;
  border-bottom: 1px solid #d7dde6;
  color: #111827;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

body.page-id-49 .entry-content > div:not(.lab-section):empty {
  display: none !important;
}

body.page-id-49 .entry-content > .lab-section {
  display: grid;
  grid-template-columns: minmax(7rem, 10rem) minmax(0, 1fr);
  column-gap: clamp(22px, 4vw, 44px);
  row-gap: .2rem;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 1.35rem 0;
  border-top: 1px solid #e1e6ee;
}

body.page-id-49 .entry-content > .lab-section:first-of-type {
  border-top-color: #9aa6b5;
}

body.page-id-49 .entry-content > .lab-section h3 {
  grid-column: 1;
  margin: .05rem 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #111827;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: 0;
}

body.page-id-49 .lab-member {
  grid-column: 2;
  display: block !important;
  margin: 0 !important;
  padding: .22rem 0;
  color: #1f2937;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

body.page-id-49 .lab-member br {
  display: none;
}

body.page-id-49 .lab-member .name,
body.page-id-49 .lab-member .email {
  display: inline;
  min-width: 0;
  overflow-wrap: anywhere;
}

body.page-id-49 .lab-member strong {
  color: #111827;
  font-weight: 800;
}

body.page-id-49 .lab-member .email {
  color: #475569;
  font-size: .95em;
}

body.page-id-49 .lab-member a {
  color: var(--wp--preset--color--mrclimb-decoration);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
}

body.page-id-49 .lab-member a:hover {
  text-decoration: none;
}

body.page-id-49 .entry-content > blockquote {
  box-sizing: border-box;
  max-width: none !important;
  margin: 1.4rem 0 0 !important;
  padding: 1rem 0 0 1rem;
  border-top: 1px solid #e1e6ee;
  border-left: 3px solid var(--wp--preset--color--mrclimb-decoration);
  color: #4b5563;
  background: transparent;
  font-size: .95rem;
  line-height: 1.75;
}

body.page-id-49 .entry-content > blockquote > div {
  margin: 0;
}

@media (max-width: 782px) {
  body.page-id-49 header.wp-block-group.alignwide {
    width: 100%;
    padding-inline: 24px !important;
  }

  body.page-id-49 .wp-block-site-title {
    width: min(100%, 19rem) !important;
    font-size: clamp(1.55rem, 7vw, 2.2rem) !important;
    line-height: 1.16 !important;
  }

  body.page-id-49 .wp-block-navigation__responsive-container-open {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 999px;
    color: #fff;
    background: rgba(255, 255, 255, .08);
  }

  body.page-id-49 .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 36px 0 56px !important;
    padding-inline: 20px !important;
  }

  body.page-id-49 .entry-content > .lab-section {
    grid-template-columns: 1fr;
    row-gap: .65rem;
    padding: 1.2rem 0;
  }

  body.page-id-49 .entry-content > .lab-section h3,
  body.page-id-49 .lab-member {
    grid-column: 1;
  }

  body.page-id-49 .lab-member {
    padding: .36rem 0;
  }

  body.page-id-49 .lab-member .name,
  body.page-id-49 .lab-member .email {
    display: block;
  }

  body.page-id-49 .lab-member .email {
    margin-top: .08rem;
  }
}

@media (max-width: 430px) {
  body.page-id-49 header.wp-block-group.alignwide {
    padding-inline: 22px !important;
  }

  body.page-id-49 .wp-block-site-title {
    width: min(100%, 17rem) !important;
    font-size: clamp(1.4rem, 6.5vw, 1.75rem) !important;
  }

  body.page-id-49 .entry-content {
    padding-inline: 18px !important;
  }
}

@supports not (overflow: clip) {
  body.page-id-49 .wp-site-blocks {
    overflow-x: hidden;
  }
}
/* Codex members polish 2026-06-29 end */

/* Codex home posts polish 2026-06-29 start
   Restore: remove this block only.
*/
.home .wp-block-query .wp-block-post-template {
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}

.home .wp-block-query .wp-block-post-template > li {
  display: flex;
  min-width: 0;
}

.home .wp-block-query .wp-block-post-template > li > .wp-block-group {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
  min-height: 100%;
  padding: clamp(22px, 2.2vw, 28px) !important;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.home .wp-block-query .wp-block-post-title {
  margin: 0 0 .85rem !important;
  font-size: clamp(1.32rem, 1.7vw, 1.8rem);
  line-height: 1.34;
  letter-spacing: 0;
}

.home .wp-block-query .wp-block-post-title a {
  display: -webkit-box;
  overflow: hidden;
  color: #df6b1f;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home .wp-block-query .wp-block-post-title a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}

.home .wp-block-query .wp-block-post-excerpt {
  margin: 0 !important;
}

.home .wp-block-query .wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #374151;
  font-size: .95rem;
  line-height: 1.72;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.home .wp-block-query .wp-block-post-date {
  margin-top: auto !important;
  padding-top: 1.15rem;
  color: #475569;
  font-size: .92rem;
  line-height: 1.4;
}

@media (max-width: 782px) {
  .home .wp-block-query .wp-block-post-template {
    gap: 14px;
  }

  .home .wp-block-query .wp-block-post-template > li > .wp-block-group {
    padding: 20px !important;
    border-radius: 10px;
  }

  .home .wp-block-query .wp-block-post-title {
    font-size: clamp(1.25rem, 6vw, 1.55rem);
  }

  .home .wp-block-query .wp-block-post-title a {
    -webkit-line-clamp: 4;
  }
}
/* Codex home posts polish 2026-06-29 end */

/* Codex nav, home links, OBOG polish 2026-06-30 start
   Restore: remove this block only.
*/
@media (min-width: 782px) {
  .wp-block-navigation.items-justified-left .wp-block-navigation__container > .wp-block-navigation-submenu:last-child > .wp-block-navigation__submenu-container {
    left: auto !important;
    right: 0 !important;
    min-width: 220px;
    max-width: min(320px, calc(100vw - 32px));
  }

  .wp-block-navigation.items-justified-left .wp-block-navigation__container > .wp-block-navigation-submenu:last-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
    left: auto !important;
    right: 100% !important;
  }
}

.home .sticky-cover + .wp-block-buttons {
  box-sizing: border-box;
  max-width: min(980px, calc(100vw - 32px)) !important;
  margin: clamp(18px, 2.8vw, 30px) auto clamp(24px, 3vw, 36px) !important;
  padding: 0 !important;
  gap: 10px !important;
  transform: none !important;
  justify-content: center;
}

.home .sticky-cover + .wp-block-buttons .wp-block-button {
  flex: 0 1 auto;
}

.home .sticky-cover + .wp-block-buttons .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: clamp(142px, 17vw, 190px);
  min-height: 46px;
  padding: 0 1.22rem !important;
  border: 1px solid rgba(17, 24, 39, .16) !important;
  border-radius: 999px !important;
  color: #111827 !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .06) !important;
  font-size: .96rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home .sticky-cover + .wp-block-buttons .wp-block-button__link::after {
  content: "";
  display: inline-block;
  width: .42rem;
  height: .42rem;
  margin-left: .64rem;
  border-radius: 999px;
  background: var(--wp--preset--color--mrclimb-decoration);
}

.home .sticky-cover + .wp-block-buttons .wp-block-button__link mark,
.home .sticky-cover + .wp-block-buttons .wp-block-button__link strong {
  color: inherit !important;
  background: transparent !important;
}

.home .sticky-cover + .wp-block-buttons .wp-block-button__link:hover {
  transform: translateY(-1px);
  border-color: rgba(252, 132, 40, .52) !important;
  color: #111827 !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .09) !important;
}

.home .sticky-cover > .wp-block-buttons {
  box-sizing: border-box;
  max-width: min(980px, calc(100vw - 32px)) !important;
  margin: clamp(18px, 2.8vw, 30px) auto clamp(24px, 3vw, 36px) !important;
  padding: 0 !important;
  gap: 10px !important;
  transform: none !important;
  justify-content: center;
}

.home .sticky-cover > .wp-block-buttons .wp-block-button {
  flex: 0 1 auto;
}

.home .sticky-cover > .wp-block-buttons .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-width: clamp(142px, 17vw, 190px);
  min-height: 46px;
  padding: 0 1.22rem !important;
  border: 1px solid rgba(17, 24, 39, .16) !important;
  border-radius: 999px !important;
  color: #111827 !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .06) !important;
  font-size: .96rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.home .sticky-cover > .wp-block-buttons .wp-block-button__link::after {
  content: "";
  display: inline-block;
  width: .42rem;
  height: .42rem;
  margin-left: .64rem;
  border-radius: 999px;
  background: var(--wp--preset--color--mrclimb-decoration);
}

.home .sticky-cover > .wp-block-buttons .wp-block-button__link mark,
.home .sticky-cover > .wp-block-buttons .wp-block-button__link strong {
  color: inherit !important;
  background: transparent !important;
}

.home .sticky-cover > .wp-block-buttons .wp-block-button__link:hover {
  transform: translateY(-1px);
  border-color: rgba(252, 132, 40, .52) !important;
  color: #111827 !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .09) !important;
}

body.page-id-59 .wp-site-blocks {
  overflow-x: clip;
  background: #fff;
}

body.page-id-59 main#wp--skip-link--target {
  margin-top: 0 !important;
}

body.page-id-59 .entry-content {
  box-sizing: border-box;
  display: block !important;
  width: min(100%, 980px);
  max-width: 980px !important;
  margin: clamp(44px, 6vw, 72px) auto clamp(60px, 7vw, 92px) !important;
  padding: 0 clamp(18px, 2.8vw, 30px) !important;
}

body.page-id-59 .entry-content::before {
  content: "OB、OGの皆様";
  display: block;
  margin-bottom: clamp(24px, 3.5vw, 36px);
  padding-bottom: .75rem;
  border-bottom: 1px solid #d7dde6;
  color: #111827;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

body.page-id-59 #study_comment {
  box-sizing: border-box;
  margin: 0 0 clamp(26px, 4vw, 38px) !important;
  padding: clamp(18px, 2.8vw, 26px);
  border: 1px solid #e1e6ee;
  border-left: 3px solid var(--wp--preset--color--mrclimb-decoration);
  border-radius: 10px;
  background: #fbfcfd;
}

body.page-id-59 #study_comment ul {
  margin: 0;
  padding-left: 1.25rem;
}

body.page-id-59 #study_comment li {
  margin: .45rem 0;
  color: #1f2937;
  line-height: 1.8;
}

body.page-id-59 #ogob > p {
  margin: 1.35rem 0 .65rem !important;
  color: #334155;
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0;
}

body.page-id-59 #ogob .contents_team-k {
  width: 100%;
  max-width: 100%;
  margin: 0 0 1.55rem !important;
}

body.page-id-59 #ogob table {
  display: block;
  width: 100% !important;
  max-width: 100%;
  margin: 0 0 1.55rem !important;
  border-collapse: collapse;
  border-top: 1px solid #d8dee8;
  color: #111827;
  font-size: clamp(.94rem, 1.05vw, 1rem) !important;
  line-height: 1.65;
}

body.page-id-59 #ogob tbody {
  display: block;
}

body.page-id-59 #ogob tr {
  display: grid;
  grid-template-columns: minmax(3.5rem, 5rem) minmax(0, 1.45fr) minmax(9rem, .85fr);
  column-gap: clamp(10px, 2vw, 18px);
  align-items: start;
  border-bottom: 1px solid #edf1f6;
}

body.page-id-59 #ogob td {
  min-width: 0;
  padding: .72rem .2rem !important;
  border: 0 !important;
  vertical-align: top;
  overflow-wrap: anywhere;
}

body.page-id-59 #ogob td[class^="k-line-l"] {
  color: #64748b;
  font-size: .82rem;
  font-weight: 800;
  text-align: left !important;
  white-space: nowrap;
}

body.page-id-59 #ogob td[class^="k-line-l"]:not(:empty) {
  justify-self: start;
  align-self: center;
  min-width: 2.7rem;
  padding: .18rem .55rem !important;
  border: 1px solid #dde5ef !important;
  border-radius: 999px;
  background: #f8fafc;
  text-align: center !important;
  line-height: 1.4;
}

body.page-id-59 #ogob td[class^="k-line-m"] {
  color: #111827;
  font-weight: 700;
}

body.page-id-59 #ogob td[class^="k-line-r"] {
  color: #475569;
  font-size: .94em;
}

@media (max-width: 782px) {
  .home .sticky-cover + .wp-block-buttons {
    width: min(100%, 20rem);
    margin-top: 18px !important;
    margin-bottom: 28px !important;
  }

  .home .sticky-cover + .wp-block-buttons .wp-block-button,
  .home .sticky-cover + .wp-block-buttons .wp-block-button__link {
    width: 100%;
  }

  .home .sticky-cover > .wp-block-buttons {
    width: min(100%, 20rem);
    margin-top: 18px !important;
    margin-bottom: 28px !important;
  }

  .home .sticky-cover > .wp-block-buttons .wp-block-button,
  .home .sticky-cover > .wp-block-buttons .wp-block-button__link {
    width: 100%;
  }

  body.page-id-59 .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 36px 0 58px !important;
    padding-inline: 20px !important;
  }

  body.page-id-59 #study_comment {
    padding: 18px;
    border-radius: 9px;
  }

  body.page-id-59 #study_comment li {
    line-height: 1.74;
  }

  body.page-id-59 #ogob tr {
    grid-template-columns: minmax(2.8rem, auto) minmax(0, 1fr);
    row-gap: .12rem;
    column-gap: .8rem;
    padding: .62rem 0;
  }

  body.page-id-59 #ogob td {
    padding: .16rem 0 !important;
  }

  body.page-id-59 #ogob td[class^="k-line-l"] {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  body.page-id-59 #ogob td[class^="k-line-m"],
  body.page-id-59 #ogob td[class^="k-line-r"] {
    grid-column: 2;
  }

  body.page-id-59 #ogob td[class^="k-line-r"] {
    font-size: .92rem;
  }
}

@media (max-width: 430px) {
  body.page-id-59 .entry-content {
    padding-inline: 18px !important;
  }
}

@supports not (overflow: clip) {
  body.page-id-59 .wp-site-blocks {
    overflow-x: hidden;
  }
}
/* Codex nav, home links, OBOG polish 2026-06-30 end */

/* Codex home media and equipment polish 2026-06-30 start
   Restore: remove this block only.
*/
.home .kodera-video-grid {
  box-sizing: border-box;
  max-width: min(1240px, calc(100vw - 48px)) !important;
  margin: clamp(30px, 4vw, 52px) auto clamp(34px, 4.2vw, 58px) !important;
  padding-inline: clamp(10px, 1.4vw, 18px) !important;
  gap: clamp(14px, 2vw, 22px) !important;
  align-items: flex-start;
}

.home .kodera-video-grid .wp-block-column {
  min-width: 0;
}

.home .kodera-video-grid .wp-block-embed {
  overflow: hidden;
  margin: 0 !important;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 10px;
  background: #0b0f14;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .08);
}

.home .kodera-video-grid .wp-block-embed__wrapper,
.home .kodera-video-grid iframe {
  border-radius: 10px;
}

.home .kodera-social-grid {
  box-sizing: border-box;
  max-width: min(1240px, calc(100vw - 48px)) !important;
  margin: clamp(28px, 4vw, 48px) auto clamp(46px, 6vw, 72px) !important;
  padding-inline: clamp(10px, 1.4vw, 18px) !important;
  gap: clamp(14px, 2vw, 22px) !important;
  align-items: stretch;
}

.home .kodera-social-grid .wp-block-column {
  display: flex;
  min-width: 0;
}

.home .kodera-social-grid .wp-block-embed-twitter,
.home .kodera-x-latest {
  box-sizing: border-box;
  width: 100%;
  min-height: 360px;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
}

.home .kodera-x-latest {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.home .kodera-x-latest > iframe,
.home .kodera-x-latest .twitter-timeline {
  width: 100% !important;
}

.home .kodera-x-latest > iframe {
  display: block !important;
  min-width: 100% !important;
  height: 420px !important;
  min-height: 420px !important;
  border: 0 !important;
}

.home .kodera-x-latest .twitter-timeline-rendered {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
}

.home .kodera-x-latest .twitter-timeline-rendered iframe {
  position: static !important;
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
  min-width: 100% !important;
  height: 420px !important;
  min-height: 420px !important;
  border: 0 !important;
}

.home .kodera-x-latest > a.twitter-timeline {
  display: none !important;
}

.home .kodera-x-link-card {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 360px;
  padding: clamp(24px, 3vw, 34px);
}

.home .kodera-x-link-card .kodera-x-label {
  margin-bottom: .8rem;
  color: #64748b;
  font-size: .86rem;
  font-weight: 800;
  letter-spacing: 0;
}

.home .kodera-x-link-card .kodera-x-title {
  margin: 0 0 .75rem;
  color: #111827;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  font-weight: 800;
  line-height: 1.3;
}

.home .kodera-x-link-card p {
  margin: 0 0 1.35rem;
  color: #374151;
  line-height: 1.8;
}

.home .kodera-x-link-card a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 1rem;
  border: 1px solid rgba(17, 24, 39, .14);
  border-radius: 999px;
  color: #111827;
  background: #fff;
  font-weight: 800;
  text-decoration: none;
}

.home .kodera-x-link-card a::after {
  content: "";
  width: .36rem;
  height: .36rem;
  margin-left: .52rem;
  border-radius: 999px;
  background: var(--wp--preset--color--mrclimb-decoration);
}

.home .kodera-x-link-card a:hover {
  border-color: rgba(252, 132, 40, .5);
}

body.page-id-61 .wp-site-blocks {
  overflow-x: clip;
  background: #fff;
}

body.page-id-61 main#wp--skip-link--target {
  margin-top: 0 !important;
}

body.page-id-61 .entry-content {
  box-sizing: border-box;
  display: block !important;
  width: min(100%, 1080px);
  max-width: 1080px !important;
  margin: clamp(44px, 6vw, 72px) auto clamp(60px, 7vw, 92px) !important;
  padding: 0 clamp(18px, 2.8vw, 30px) !important;
}

body.page-id-61 .entry-content::before {
  content: "研究設備";
  display: block;
  margin-bottom: clamp(22px, 3vw, 34px);
  padding-bottom: .75rem;
  border-bottom: 1px solid #d7dde6;
  color: #111827;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: 0;
}

body.page-id-61 .equipment-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 clamp(24px, 4vw, 36px);
}

body.page-id-61 .equipment-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 .95rem;
  border: 1px solid rgba(17, 24, 39, .14);
  border-radius: 999px;
  color: #111827;
  background: #fff;
  font-size: .94rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, .05);
}

body.page-id-61 .equipment-jump a::after {
  content: "";
  width: .36rem;
  height: .36rem;
  margin-left: .52rem;
  border-radius: 999px;
  background: var(--wp--preset--color--mrclimb-decoration);
}

body.page-id-61 .equipment-jump a:hover {
  border-color: rgba(252, 132, 40, .5);
}

body.page-id-61 .title_sub {
  scroll-margin-top: 96px;
  margin: clamp(28px, 4vw, 42px) 0 1rem !important;
  padding-bottom: .65rem;
  border-bottom: 1px solid #d8dee8;
  color: #111827;
  font-size: clamp(1.18rem, 1.6vw, 1.48rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
}

body.page-id-61 .title_sub:first-of-type {
  margin-top: 0 !important;
}

body.page-id-61 .entry-content ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 10px 14px;
  margin: 0 0 clamp(22px, 3vw, 32px) !important;
  padding: 0 !important;
  list-style: none;
}

body.page-id-61 .entry-content li {
  box-sizing: border-box;
  min-width: 0;
  padding: .78rem .9rem .78rem 1rem;
  border: 1px solid #e3e9f1;
  border-left: 3px solid var(--wp--preset--color--mrclimb-decoration);
  border-radius: 8px;
  color: #1f2937;
  background: #fbfcfd;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

body.page-id-61 .entry-content li strong {
  font-weight: 700;
}

body.page-id-61 .entry-content img {
  display: block;
  box-sizing: border-box;
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(17, 24, 39, .1);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .07);
}

body.page-id-61 .entry-content a:has(> img) {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

body.page-id-61 .entry-content a:has(> img):hover img {
  border-color: rgba(252, 132, 40, .45);
  box-shadow: 0 10px 26px rgba(15, 23, 42, .1);
}

body.page-id-61 .entry-content div[style*="width: 320px"],
body.page-id-61 .entry-content > a:has(> img),
body.page-id-61 .entry-content > div:has(> a > img),
body.page-id-61 #team_associate > div:has(> img),
body.page-id-61 #team_associate > div:has(> a > img) {
  display: inline-block;
  box-sizing: border-box;
  width: min(100%, 330px) !important;
  max-width: 100%;
  margin: 0 14px 18px 0 !important;
  vertical-align: top;
}

body.page-id-61 #equipment-map + div {
  display: block !important;
  width: min(100%, 760px) !important;
  max-width: 100%;
}

body.page-id-61 #equipment-map + div img {
  width: 100%;
}

@media (max-width: 900px) {
  .home .kodera-video-grid,
  .home .kodera-social-grid {
    max-width: calc(100vw - 32px) !important;
    padding-inline: 0 !important;
  }
}

@media (max-width: 782px) {
  .home .kodera-video-grid,
  .home .kodera-social-grid {
    gap: 14px !important;
  }

  .home .kodera-social-grid .wp-block-embed-twitter,
  .home .kodera-x-latest {
    min-height: 320px;
  }

  body.page-id-61 .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 36px 0 58px !important;
    padding-inline: 20px !important;
  }

  body.page-id-61 .equipment-jump a {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
  }

  body.page-id-61 .entry-content div[style*="width: 320px"],
  body.page-id-61 .entry-content > a:has(> img),
  body.page-id-61 .entry-content > div:has(> a > img),
  body.page-id-61 #team_associate > div:has(> img),
  body.page-id-61 #team_associate > div:has(> a > img) {
    width: 100% !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 430px) {
  body.page-id-61 .entry-content {
    padding-inline: 18px !important;
  }

  body.page-id-61 .equipment-jump a {
    flex-basis: 100%;
  }
}

@supports not (overflow: clip) {
  body.page-id-61 .wp-site-blocks {
    overflow-x: hidden;
  }
}
/* Codex home media and equipment polish 2026-06-30 end */
/* Codex restrained home and archive refinement 2026-06-30 start */
.home .kodera-social-grid .wp-block-embed-twitter,
.home .kodera-x-latest {
  border-color: #d9dee7;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
}

.home .kodera-x-link-card {
  justify-content: flex-end;
  min-height: 360px;
  padding: clamp(22px, 2.5vw, 30px);
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
}

.home .kodera-x-link-card .kodera-x-label {
  margin-bottom: auto;
  color: #687386;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0;
}

.home .kodera-x-link-card .kodera-x-title {
  color: #1e2121;
  font-size: clamp(1.35rem, 1.05rem + 0.7vw, 1.8rem);
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.home .kodera-x-link-card .kodera-x-title:hover {
  color: #c85f13;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.home .kodera-x-link-card span {
  display: inline-block;
  margin-top: 10px;
  color: #687386;
  font-size: 0.94rem;
}

.home .kodera-video-grid {
  margin-top: clamp(24px, 3vw, 38px);
}

.archive .wp-block-query .wp-block-post-template,
.search .wp-block-query .wp-block-post-template,
.category .wp-block-query .wp-block-post-template {
  gap: 22px;
}

.archive .wp-block-query .wp-block-post-template > li,
.search .wp-block-query .wp-block-post-template > li,
.category .wp-block-query .wp-block-post-template > li {
  height: 100%;
}

.archive .wp-block-query .wp-block-post-template > li > .wp-block-group,
.search .wp-block-query .wp-block-post-template > li > .wp-block-group,
.category .wp-block-query .wp-block-post-template > li > .wp-block-group {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 292px;
  padding: 24px 22px;
  border: 1px solid #dce1e8;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.06);
}

.archive .wp-block-query .wp-block-post-title,
.search .wp-block-query .wp-block-post-title,
.category .wp-block-query .wp-block-post-title {
  min-height: 4.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.05rem, 0.98rem + 0.24vw, 1.22rem) !important;
  line-height: 1.45 !important;
}

.archive .wp-block-query .taxonomy-category,
.search .wp-block-query .taxonomy-category,
.category .wp-block-query .taxonomy-category {
  min-height: 2.7em;
  color: #687386;
  font-size: 0.78rem;
  line-height: 1.45;
}

.archive .wp-block-query .wp-block-post-date,
.search .wp-block-query .wp-block-post-date,
.category .wp-block-query .wp-block-post-date {
  color: #687386;
  font-size: 0.84rem;
}

.archive .wp-block-query .wp-block-post-excerpt,
.search .wp-block-query .wp-block-post-excerpt,
.category .wp-block-query .wp-block-post-excerpt {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.archive .wp-block-query .wp-block-post-excerpt__excerpt,
.search .wp-block-query .wp-block-post-excerpt__excerpt,
.category .wp-block-query .wp-block-post-excerpt__excerpt {
  color: #3f4652;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.archive .wp-block-query .wp-block-post-excerpt__more-text,
.search .wp-block-query .wp-block-post-excerpt__more-text,
.category .wp-block-query .wp-block-post-excerpt__more-text {
  margin-top: auto;
}

.archive .wp-block-query .wp-block-post-excerpt__more-link,
.search .wp-block-query .wp-block-post-excerpt__more-link,
.category .wp-block-query .wp-block-post-excerpt__more-link {
  color: #bd5b14;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
}

@media (max-width: 720px) {
  .archive .wp-block-query .wp-block-post-title,
  .search .wp-block-query .wp-block-post-title,
  .category .wp-block-query .wp-block-post-title {
    min-height: 0;
  }

  .archive .wp-block-query .taxonomy-category,
  .search .wp-block-query .taxonomy-category,
  .category .wp-block-query .taxonomy-category {
    min-height: 0;
  }
}
/* Codex restrained home and archive refinement 2026-06-30 end */
/* Codex archive alignment tighten 2026-06-30 start */
.archive main.wp-block-group .wp-block-query.alignwide,
.search main.wp-block-group .wp-block-query.alignwide,
.category main.wp-block-group .wp-block-query.alignwide {
  box-sizing: border-box;
  width: min(1180px, calc(100vw - 72px));
  max-width: 100%;
}

.archive .wp-block-query .wp-block-post-template,
.search .wp-block-query .wp-block-post-template,
.category .wp-block-query .wp-block-post-template {
  box-sizing: border-box;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.archive .wp-block-query .wp-block-post-template > li,
.search .wp-block-query .wp-block-post-template > li,
.category .wp-block-query .wp-block-post-template > li {
  min-width: 0;
}

.archive .wp-block-query .wp-block-post-template > li > .wp-block-group,
.search .wp-block-query .wp-block-post-template > li > .wp-block-group,
.category .wp-block-query .wp-block-post-template > li > .wp-block-group {
  box-sizing: border-box;
  height: 356px;
  min-height: 356px;
  overflow: hidden;
}

.archive .wp-block-query .wp-block-post-excerpt__excerpt,
.search .wp-block-query .wp-block-post-excerpt__excerpt,
.category .wp-block-query .wp-block-post-excerpt__excerpt {
  max-height: 5.4em;
}

.archive .wp-block-query .wp-block-post-terms,
.search .wp-block-query .wp-block-post-terms,
.category .wp-block-query .wp-block-post-terms {
  overflow: hidden;
}

@media (max-width: 960px) {
  .archive .wp-block-query .wp-block-post-template,
  .search .wp-block-query .wp-block-post-template,
  .category .wp-block-query .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 720px) {
  .archive main.wp-block-group .wp-block-query.alignwide,
  .search main.wp-block-group .wp-block-query.alignwide,
  .category main.wp-block-group .wp-block-query.alignwide {
    width: min(100%, calc(100vw - 32px));
  }

  .archive .wp-block-query .wp-block-post-template,
  .search .wp-block-query .wp-block-post-template,
  .category .wp-block-query .wp-block-post-template {
    grid-template-columns: 1fr !important;
  }

  .archive .wp-block-query .wp-block-post-template > li > .wp-block-group,
  .search .wp-block-query .wp-block-post-template > li > .wp-block-group,
  .category .wp-block-query .wp-block-post-template > li > .wp-block-group {
    height: auto;
    min-height: 292px;
  }
}
/* Codex archive alignment tighten 2026-06-30 end */
/* Codex home project links and restraint 2026-06-30 start */
.home .kodera-project-links {
  width: min(1120px, calc(100vw - 48px));
  margin: clamp(18px, 3vw, 34px) auto 0;
  padding: 18px 0;
  border-top: 1px solid #d9dee7;
  border-bottom: 1px solid #d9dee7;
}

.home .kodera-project-links > * {
  max-width: none !important;
}

.home .kodera-project-label {
  margin: 0 0 8px;
  color: #687386;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
}

.home .kodera-project-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin: 0;
  font-size: clamp(0.96rem, 0.9rem + 0.18vw, 1.06rem);
  line-height: 1.55;
}

.home .kodera-project-list a {
  color: #1e2121;
  font-weight: 700;
  text-decoration: none;
  text-underline-offset: 0.2em;
}

.home .kodera-project-list a:hover {
  color: #bd5b14;
  text-decoration: underline;
}

.home .kodera-project-list span {
  color: #a0a8b5;
}

.home .sticky-cover + .wp-block-buttons .wp-block-button__link {
  background: rgba(30, 33, 33, 0.82);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.home .sticky-cover + .wp-block-buttons .wp-block-button__link:hover {
  background: #1e2121;
  border-color: #fc8428;
}

.home .sticky-cover + .wp-block-buttons + .wp-block-columns + .wp-block-query .wp-block-post-template > li > .wp-block-group {
  min-height: 276px;
  height: 100%;
}

.home .sticky-cover + .wp-block-buttons + .wp-block-columns + .wp-block-query .wp-block-post-title {
  min-height: 3.8em;
  display: flex;
  align-items: center;
}

.home .sticky-cover + .wp-block-buttons + .wp-block-columns + .wp-block-query .wp-block-post-excerpt__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

@media (max-width: 720px) {
  .home .kodera-project-links {
    width: min(100%, calc(100vw - 32px));
    padding: 16px 0;
  }

  .home .kodera-project-list {
    display: grid;
    gap: 6px;
  }

  .home .kodera-project-list span {
    display: none;
  }
}
/* Codex home project links and restraint 2026-06-30 end */
/* Codex event typography refinement 2026-06-30 start */
.archive .wp-block-query .wp-block-post-title,
.search .wp-block-query .wp-block-post-title,
.category .wp-block-query .wp-block-post-title {
  color: #1e2121;
  font-size: clamp(1.08rem, 1.02rem + 0.2vw, 1.22rem) !important;
  line-height: 1.45 !important;
  font-weight: 700;
  letter-spacing: 0;
}

.archive .wp-block-query .wp-block-post-title *,
.search .wp-block-query .wp-block-post-title *,
.category .wp-block-query .wp-block-post-title * {
  margin: 0 !important;
  padding: 0 !important;
  color: inherit !important;
  font: inherit !important;
  line-height: inherit !important;
  letter-spacing: 0 !important;
  text-decoration: inherit;
}

.archive .wp-block-query .taxonomy-category,
.search .wp-block-query .taxonomy-category,
.category .wp-block-query .taxonomy-category {
  font-size: 0.82rem !important;
  line-height: 1.55 !important;
  letter-spacing: 0;
}

.archive .wp-block-query .wp-block-post-date,
.search .wp-block-query .wp-block-post-date,
.category .wp-block-query .wp-block-post-date {
  font-size: 0.86rem !important;
  line-height: 1.5 !important;
}

.archive .wp-block-query .wp-block-post-excerpt,
.search .wp-block-query .wp-block-post-excerpt,
.category .wp-block-query .wp-block-post-excerpt {
  font-size: 0.94rem;
  line-height: 1.75;
}

.archive .wp-block-query .wp-block-post-excerpt__more-link,
.search .wp-block-query .wp-block-post-excerpt__more-link,
.category .wp-block-query .wp-block-post-excerpt__more-link {
  font-size: 0.82rem !important;
}

.archive .wp-block-categories-list,
.archive .wp-block-latest-posts,
.category .wp-block-categories-list,
.category .wp-block-latest-posts,
.search .wp-block-categories-list,
.search .wp-block-latest-posts {
  font-size: 0.94rem;
  line-height: 1.7;
}

.archive main.wp-block-group h2.wp-block-query-title,
.category main.wp-block-group h2.wp-block-query-title,
.search main.wp-block-group h2.wp-block-query-title {
  font-size: clamp(1.7rem, 1.45rem + 0.7vw, 2.25rem) !important;
  line-height: 1.35 !important;
  letter-spacing: 0;
}

body.single-post .wp-block-post-title,
body.single-post main h1,
body.single-post main h2.wp-block-heading:first-child {
  font-size: clamp(1.9rem, 1.5rem + 1.1vw, 2.65rem) !important;
  line-height: 1.32 !important;
  letter-spacing: 0;
}

body.single-post .wp-block-post-content {
  max-width: 920px;
  font-size: 1.02rem;
  line-height: 1.85;
}

body.single-post .wp-block-post-content p,
body.single-post .wp-block-post-content li {
  font-size: 1.02rem !important;
  line-height: 1.85 !important;
  letter-spacing: 0;
}

body.single-post .wp-block-post-content h2,
body.single-post .wp-block-post-content .is-large-text,
body.single-post .wp-block-post-content .is-larger-text {
  font-size: clamp(1.34rem, 1.16rem + 0.45vw, 1.72rem) !important;
  line-height: 1.45 !important;
  margin-top: 2.2em;
  margin-bottom: 0.75em;
}

body.single-post .wp-block-post-content h3 {
  font-size: clamp(1.15rem, 1.05rem + 0.28vw, 1.38rem) !important;
  line-height: 1.45 !important;
}

body.single-post .wp-block-post-content figcaption,
body.single-post .wp-block-post-content small,
body.single-post .wp-block-post-content .has-small-font-size {
  font-size: 0.9rem !important;
  line-height: 1.6 !important;
}

body.single-post .wp-block-post-content figure {
  margin-top: 1.6rem;
  margin-bottom: 1.6rem;
}

@media (max-width: 720px) {
  .archive .wp-block-query .wp-block-post-title,
  .search .wp-block-query .wp-block-post-title,
  .category .wp-block-query .wp-block-post-title {
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
  }

  body.single-post .wp-block-post-content,
  body.single-post .wp-block-post-content p,
  body.single-post .wp-block-post-content li {
    font-size: 1rem !important;
  }
}
/* Codex event typography refinement 2026-06-30 end */
/* Codex daily page and subtle polish 2026-06-30 start */
.home .kodera-quiet-daily-link {
  width: min(1120px, calc(100vw - 48px));
  margin: 18px auto 0;
  padding-top: 4px;
  color: #7b8492;
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: right;
}

.home .kodera-quiet-daily-link a {
  color: #687386;
  text-decoration: none;
}

.home .kodera-quiet-daily-link a:hover {
  color: #bd5b14;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

body.page-id-2794 {
  --daily-bg: #090a0c;
  --daily-surface: #101215;
  --daily-surface-2: #15171b;
  --daily-border: #2a2d33;
  --daily-text: #e8e4dc;
  --daily-muted: #9f9a91;
  --daily-accent: #c9a968;
  background: var(--daily-bg);
  color: var(--daily-text);
}

body.page-id-2794 .wp-site-blocks {
  background: linear-gradient(180deg, #0b0d10 0%, #090a0c 42%, #08090b 100%);
}

body.page-id-2794 main.wp-block-group {
  background: transparent !important;
  color: var(--daily-text);
}

body.page-id-2794 .wp-block-post-content {
  box-sizing: border-box;
  width: min(1040px, calc(100vw - 48px));
  max-width: 100%;
}

body.page-id-2794 .wp-block-post-content.has-global-padding,
body.page-id-2794 .kodera-daily-page.has-global-padding,
body.page-id-2794 .kodera-daily-notes.has-global-padding,
body.page-id-2794 .kodera-daily-note.has-global-padding {
  padding-left: 0;
  padding-right: 0;
}

body.page-id-2794 .kodera-daily-page {
  width: min(840px, calc(100vw - 56px));
  margin: 0 auto;
  padding: clamp(56px, 7vw, 92px) 0 clamp(72px, 8vw, 116px);
}

body.page-id-2794 .kodera-daily-page > *,
body.page-id-2794 .kodera-daily-notes > *,
body.page-id-2794 .kodera-daily-note > * {
  max-width: none !important;
}

body.page-id-2794 .kodera-daily-page h1 {
  margin: 0 0 clamp(34px, 5vw, 58px);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--daily-border);
  color: var(--daily-text);
  font-family: var(--wp--preset--font-family--manrope);
  font-size: clamp(2.25rem, 1.85rem + 1.2vw, 3.4rem);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: 0;
}

body.page-id-2794 .kodera-daily-notes {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(232, 228, 220, 0.08);
}

body.page-id-2794 .kodera-daily-note {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 10.5rem minmax(0, 1fr);
  gap: clamp(22px, 3.5vw, 42px);
  align-items: start;
  width: 100%;
  padding: clamp(24px, 3vw, 34px) 0;
  border-bottom: 1px solid rgba(232, 228, 220, 0.11);
}

body.page-id-2794 .kodera-daily-date {
  margin: 0.22em 0 0;
  color: var(--daily-accent);
  font-family: var(--wp--preset--font-family--manrope);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.55;
}

body.page-id-2794 .kodera-daily-note h2,
body.page-id-2794 .kodera-daily-note p:not(.kodera-daily-date) {
  grid-column: 2;
}

body.page-id-2794 .kodera-daily-note h2 {
  margin: 0;
  color: var(--daily-text);
  font-size: clamp(1.26rem, 1.12rem + 0.45vw, 1.62rem) !important;
  font-weight: 650;
  line-height: 1.5 !important;
  letter-spacing: 0;
}

body.page-id-2794 .kodera-daily-note p:not(.kodera-daily-date) {
  width: min(62ch, 100%);
  margin-top: 10px;
  margin-bottom: 0;
  color: #c8c1b7;
  font-size: 1rem;
  line-height: 1.9;
}

body.page-id-2794 .kodera-daily-note:hover h2 {
  color: #f3eee6;
}

@media (max-width: 720px) {
  .home .kodera-quiet-daily-link {
    width: min(100%, calc(100vw - 32px));
    text-align: left;
  }

  body.page-id-2794 .wp-block-post-content,
  body.page-id-2794 .kodera-daily-page {
    width: min(100%, calc(100vw - 32px));
  }

  body.page-id-2794 .kodera-daily-page {
    padding-top: 48px;
  }

  body.page-id-2794 .kodera-daily-note {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0 26px;
  }

  body.page-id-2794 .kodera-daily-date,
  body.page-id-2794 .kodera-daily-note h2,
  body.page-id-2794 .kodera-daily-note p:not(.kodera-daily-date) {
    grid-column: 1;
  }

  body.page-id-2794 .kodera-daily-date {
    margin-top: 0;
    font-size: 0.86rem;
  }
}
/* Codex daily page and subtle polish 2026-06-30 end */

/* Codex study results minimal readability 2026-07-01 start */
body.page-id-1344 .entry-content.wp-block-post-content {
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-top: 32px;
  padding-bottom: 56px;
  line-height: 1.7;
}

body.page-id-1344 .entry-content.wp-block-post-content > section[id^="year-"] {
  margin-bottom: 48px;
}

body.page-id-1344 .entry-content.wp-block-post-content section[id^="year-"] > h2 {
  margin: 36px 0 20px !important;
  padding-bottom: 8px !important;
  border-bottom: 1px solid #222 !important;
  color: #111 !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

body.page-id-1344 .entry-content.wp-block-post-content h3 {
  margin: 28px 0 12px !important;
  padding-bottom: 6px !important;
  border-bottom: 1px solid #d6d6d6 !important;
  color: #222 !important;
  font-size: 1.18rem !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
}

body.page-id-1344 .entry-content.wp-block-post-content .overflow-x-auto {
  max-width: 100%;
  overflow-x: visible !important;
  margin-bottom: 24px;
}

body.page-id-1344 .entry-content.wp-block-post-content table {
  width: 100% !important;
  min-width: 0 !important;
  border-collapse: collapse !important;
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  table-layout: auto;
}

body.page-id-1344 .entry-content.wp-block-post-content th,
body.page-id-1344 .entry-content.wp-block-post-content td {
  padding: 8px 10px !important;
  border: 1px solid #dcdcdc !important;
  vertical-align: top !important;
  text-align: left;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: normal;
}

body.page-id-1344 .entry-content.wp-block-post-content th {
  background: #f5f5f5 !important;
  font-weight: 700 !important;
}

@media (max-width: 720px) {
  html:has(body.page-id-1344),
  body.page-id-1344 {
    overflow-x: hidden;
  }

  body.page-id-1344 .entry-content.wp-block-post-content {
    width: calc(100vw - 48px) !important;
    max-width: calc(100vw - 48px) !important;
    box-sizing: border-box;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-top: 24px;
  }

  body.page-id-1344 .entry-content.wp-block-post-content section[id^="year-"] > h2 {
    font-size: 1.65rem !important;
  }

  body.page-id-1344 .entry-content.wp-block-post-content h3 {
    font-size: 1.05rem !important;
  }

  body.page-id-1344 .entry-content.wp-block-post-content table,
  body.page-id-1344 .entry-content.wp-block-post-content thead,
  body.page-id-1344 .entry-content.wp-block-post-content tbody,
  body.page-id-1344 .entry-content.wp-block-post-content tr,
  body.page-id-1344 .entry-content.wp-block-post-content th,
  body.page-id-1344 .entry-content.wp-block-post-content td {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
  }

  body.page-id-1344 .entry-content.wp-block-post-content thead {
    display: none !important;
  }

  body.page-id-1344 .entry-content.wp-block-post-content tr {
    margin: 0 0 10px;
    border: 1px solid #dcdcdc;
    background: #fff;
  }

  body.page-id-1344 .entry-content.wp-block-post-content td,
  body.page-id-1344 .entry-content.wp-block-post-content th {
    border: 0 !important;
    border-bottom: 1px solid #e5e5e5 !important;
    padding: 7px 9px !important;
    font-size: 13px !important;
  }

  body.page-id-1344 .entry-content.wp-block-post-content td:first-child {
    background: #f7f7f7;
    font-weight: 700;
  }

  body.page-id-1344 .entry-content.wp-block-post-content td:last-child {
    border-bottom: 0 !important;
  }

  body.page-id-1344 .entry-content.wp-block-post-content td:empty {
    display: none !important;
  }
}
/* Codex study results minimal readability 2026-07-01 end */


/* Access page: quiet information layout */
.kodera-access{
  max-width:980px;
  margin:0 auto;
  color:#20262f;
  line-height:1.75;
}
.kodera-access *{box-sizing:border-box;}
.kodera-access__lead{
  margin:0 0 1.8rem;
  padding-bottom:1.2rem;
  border-bottom:1px solid #d8dee8;
  color:#657080;
  font-size:.98rem;
}
.kodera-access__grid{
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);
  gap:1.6rem;
  align-items:start;
}
.kodera-access__panel,
.kodera-access__side{
  border:1px solid #d8dee8;
  background:#fff;
  padding:1.35rem;
  border-radius:6px;
}
.kodera-access__panel + .kodera-access__panel{margin-top:1rem;}
.kodera-access__eyebrow{
  margin:0 0 .35rem;
  color:#657080;
  font-size:.78rem;
  letter-spacing:0;
}
.kodera-access h2{
  margin:0 0 .85rem;
  font-size:clamp(1.15rem,1rem + .45vw,1.45rem);
  line-height:1.45;
  font-weight:650;
}
.kodera-access__details{
  display:grid;
  grid-template-columns:5.8em minmax(0,1fr);
  gap:.55rem 1rem;
  margin:0;
}
.kodera-access__details dt{color:#657080;font-weight:600;}
.kodera-access__details dd{margin:0;min-width:0;}
.kodera-access__route{margin:0;padding-left:1.2rem;}
.kodera-access__route li + li{margin-top:.35rem;}
.kodera-access__note{margin:.8rem 0 0;color:#657080;font-size:.92rem;}
.kodera-access__links{display:flex;flex-direction:column;gap:.7rem;}
.kodera-access__links br{display:none;}
.kodera-access__link{
  display:flex;
  align-items:center;
  min-height:2.6rem;
  padding:.6rem .85rem;
  border:1px solid #d8dee8;
  border-radius:4px;
  color:#245c8f;
  background:#fff;
  text-decoration:none;
  font-weight:600;
}
.kodera-access__link:hover{border-color:#9eb2c7;background:#f6f8fb;}
@media (max-width:760px){
  .kodera-access__grid{grid-template-columns:1fr;}
  .kodera-access__panel,.kodera-access__side{padding:1.1rem;}
  .kodera-access__details{grid-template-columns:1fr;gap:.2rem;}
  .kodera-access__details dt{margin-top:.45rem;}
}


.entry-content.wp-block-post-content:has(.kodera-access){
  box-sizing:border-box;
  max-width:100%;
  overflow-x:clip;
}


/* Access page: simplified variant */
.kodera-access--simple{
  max-width:760px;
}
.kodera-access--simple .kodera-access__lead{
  margin-bottom:1.2rem;
  padding-bottom:1rem;
}
.kodera-access--simple .kodera-access__details{
  border-top:1px solid #d8dee8;
  border-bottom:1px solid #d8dee8;
  padding:1rem 0;
}
.kodera-access--simple .kodera-access__links{
  flex-direction:row;
  flex-wrap:wrap;
  margin-top:1.2rem;
}
.kodera-access--simple .kodera-access__link{
  min-height:2.4rem;
}
.kodera-access--simple .kodera-access__map{
  margin-top:1.7rem;
  overflow:hidden;
  border:1px solid #d8dee8;
  border-radius:6px;
  background:#f6f8fb;
}
.kodera-access--simple .kodera-access__map iframe{
  display:block;
  width:100%;
  min-height:340px;
  border:0;
}
.kodera-access--simple .kodera-access__map .wp-block-embed,
.kodera-access--simple .kodera-access__map .wp-block-embed__wrapper{
  margin:0;
}
.kodera-access--simple .kodera-access__map .wp-block-embed__wrapper{
  padding:1rem;
  overflow-wrap:anywhere;
}
@media (max-width:760px){
  .kodera-access--simple .kodera-access__links{flex-direction:column;}
}


.kodera-access--simple .kodera-access__map-object{
  display:block;
  width:100%;
  height:360px;
  border:0;
}
@media (max-width:760px){
  .kodera-access--simple .kodera-access__map-object{height:300px;}
}


/* English pages */
.kodera-en-page{
  max-width:900px;
  margin:0 auto;
  color:#20262f;
  line-height:1.75;
}
.kodera-en-page *{box-sizing:border-box;}
.kodera-lang-switch{
  display:flex;
  gap:.45rem;
  justify-content:flex-end;
  margin:0 0 1.2rem;
  font-size:.9rem;
}
.kodera-lang-switch a,
.kodera-lang-switch span{
  display:inline-flex;
  align-items:center;
  min-height:2rem;
  padding:.25rem .65rem;
  border:1px solid #d8dee8;
  border-radius:4px;
  text-decoration:none;
}
.kodera-lang-switch span{background:#20262f;color:#fff;border-color:#20262f;}
.kodera-en-kicker{
  margin:0 0 .35rem;
  color:#657080;
  font-size:.82rem;
}
.kodera-en-page h1{
  margin:0 0 .9rem;
  font-size:clamp(2rem,1.55rem + 1.6vw,3rem);
  line-height:1.2;
  letter-spacing:0;
}
.kodera-en-lead{
  max-width:720px;
  margin:0 0 1.7rem;
  color:#465261;
  font-size:1.08rem;
}
.kodera-en-section{
  margin-top:1.5rem;
  padding-top:1.2rem;
  border-top:1px solid #d8dee8;
}
.kodera-en-section h2{
  margin:0 0 .65rem;
  font-size:1.28rem;
}
.kodera-en-links br{display:none;}
.kodera-en-links{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.75rem;
  margin:1.4rem 0 1.7rem;
}
.kodera-en-links--compact{grid-template-columns:repeat(3,minmax(0,1fr));}
.kodera-en-links a{
  display:flex;
  align-items:center;
  min-height:3rem;
  padding:.7rem .85rem;
  border:1px solid #d8dee8;
  border-radius:5px;
  color:#245c8f;
  background:#fff;
  text-decoration:none;
  font-weight:600;
}
.kodera-en-links a:hover{background:#f6f8fb;border-color:#9eb2c7;}
.kodera-en-list{padding-left:1.2rem;margin:.4rem 0 0;}
.kodera-en-details{
  display:grid;
  grid-template-columns:9.2rem minmax(0,1fr);
  gap:.65rem 1rem;
  margin:1.2rem 0 1.4rem;
  padding:1.1rem 0;
  border-top:1px solid #d8dee8;
  border-bottom:1px solid #d8dee8;
}
.kodera-en-details dt{font-weight:650;color:#657080;}
.kodera-en-details dd{margin:0;min-width:0;}
@media (max-width:760px){
  .kodera-en-links,.kodera-en-links--compact{grid-template-columns:1fr;}
  .kodera-en-details{grid-template-columns:1fr;gap:.2rem;}
  .kodera-en-details dt{margin-top:.45rem;}
}


.entry-content.wp-block-post-content:has(.kodera-en-page){
  box-sizing:border-box;
  max-width:100%;
  overflow-x:clip;
}


/* Subtle language switch */
.wp-block-navigation .kodera-lang-nav{
  margin-left:.45rem;
  align-self:center;
}
.wp-block-navigation .kodera-lang-nav .wp-block-navigation-item__content{
  min-height:1.75rem;
  padding:.18rem .5rem;
  border:1px solid rgba(216,222,232,.65);
  border-radius:4px;
  color:rgba(255,255,255,.72);
  font-size:.72rem;
  line-height:1;
  letter-spacing:0;
  opacity:.72;
}
.wp-block-navigation .kodera-lang-nav .wp-block-navigation-item__content:hover{
  color:#fff;
  opacity:1;
  border-color:rgba(255,255,255,.48);
  background:rgba(255,255,255,.06);
}
.wp-block-navigation .kodera-lang-nav .wp-block-navigation-item__description{display:none;}
.kodera-en-page{
  max-width:860px;
}
.kodera-en-page h1{
  font-size:clamp(1.8rem,1.45rem + 1.25vw,2.55rem);
}

/* Quiet language switch inside English pages */
.kodera-lang-switch{
  justify-content:flex-end;
  gap:.15rem;
  margin:0 0 .85rem;
  color:#6f7885;
  font-size:.78rem;
}
.kodera-lang-switch a,
.kodera-lang-switch span{
  display:inline-flex;
  align-items:center;
  min-height:auto;
  padding:.08rem .25rem;
  border:0;
  border-radius:0;
  background:transparent;
  color:#6f7885;
  font-size:.78rem;
  font-weight:500;
  line-height:1.4;
}
.kodera-lang-switch a:hover{
  color:#20262f;
  text-decoration:underline;
  text-underline-offset:.18em;
}
.kodera-lang-switch span{
  background:transparent;
  color:#20262f;
  border:0;
  font-weight:600;
}
.kodera-lang-switch a + span::before,
.kodera-lang-switch span + a::before,
.kodera-lang-switch a + a::before{
  content:"/";
  margin-right:.35rem;
  color:#a5adba;
  font-weight:400;
}

/* Footer language switch */
.kodera-footer-lang{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:.35rem;
  width:100%;
  margin:.15rem 0 0;
  color:#7a828d;
  font-size:.78rem;
  line-height:1.5;
}
.kodera-footer-lang a{
  color:#6f7885;
  text-decoration:none;
}
.kodera-footer-lang a:hover{
  color:#20262f;
  text-decoration:underline;
  text-underline-offset:.18em;
}
.kodera-footer-lang span{
  color:#a5adba;
}
.kodera-en-lead{
  font-size:1.02rem;
}
.kodera-en-links{
  gap:.55rem;
  margin:1rem 0 1.4rem;
}
.kodera-en-links a{
  min-height:2.55rem;
  padding:.55rem .75rem;
  border-radius:4px;
  font-size:.95rem;
}
@media (max-width:760px){
  .wp-block-navigation .kodera-lang-nav{margin-left:0;}
  .wp-block-navigation .kodera-lang-nav .wp-block-navigation-item__content{
    color:inherit;
    opacity:.75;
    border-color:#d8dee8;
  }
}

/* Codex site-wide quiet polish 2026-07-02 start */
html{
  scroll-behavior:smooth;
}

body{
  color:#1f252d;
  text-rendering:optimizeLegibility;
}

main.wp-block-group{
  overflow-x:clip;
}

main.wp-block-group :where(p, li){
  letter-spacing:0;
}

:where(.wp-block-button__link){
  border-radius:6px !important;
  box-shadow:none;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease;
}

:where(.wp-block-button__link):hover{
  transform:translateY(-1px);
}

.wp-block-navigation .wp-block-navigation-item__content{
  text-underline-offset:.18em;
}

.wp-block-navigation__submenu-container{
  border:1px solid rgba(255,255,255,.12) !important;
  box-shadow:0 16px 32px rgba(0,0,0,.22);
}

.wp-block-navigation__submenu-container .wp-block-navigation-item__content{
  min-width:12rem;
  padding:.72rem .9rem !important;
  font-size:.92rem;
  line-height:1.45;
}

.archive .wp-block-query .wp-block-post-template,
.search .wp-block-query .wp-block-post-template,
.category .wp-block-query .wp-block-post-template{
  align-items:stretch;
  gap:20px !important;
}

.archive .wp-block-query .wp-block-post-template > li > .wp-block-group,
.search .wp-block-query .wp-block-post-template > li > .wp-block-group,
.category .wp-block-query .wp-block-post-template > li > .wp-block-group{
  height:auto;
  min-height:338px;
  padding:22px 20px;
  border-color:#d8dee8;
  border-radius:6px;
  box-shadow:0 8px 20px rgba(17,24,39,.045);
}

.archive .wp-block-query .wp-block-post-template > li > .wp-block-group:hover,
.search .wp-block-query .wp-block-post-template > li > .wp-block-group:hover,
.category .wp-block-query .wp-block-post-template > li > .wp-block-group:hover{
  border-color:#c5ceda;
  box-shadow:0 12px 26px rgba(17,24,39,.07);
}

.archive .wp-block-query .wp-block-post-title,
.search .wp-block-query .wp-block-post-title,
.category .wp-block-query .wp-block-post-title{
  min-height:4.1em;
  margin-top:1rem !important;
  margin-bottom:.65rem !important;
}

.archive .wp-block-query .wp-block-post-date,
.search .wp-block-query .wp-block-post-date,
.category .wp-block-query .wp-block-post-date{
  margin-top:.35rem !important;
  padding-right:0 !important;
}

.archive .wp-block-query .wp-block-post-excerpt__more-link,
.search .wp-block-query .wp-block-post-excerpt__more-link,
.category .wp-block-query .wp-block-post-excerpt__more-link{
  display:inline-flex;
  align-items:center;
  min-height:1.8rem;
  color:#8c4a18;
  text-decoration:none;
}

.archive .wp-block-query .wp-block-post-excerpt__more-link:hover,
.search .wp-block-query .wp-block-post-excerpt__more-link:hover,
.category .wp-block-query .wp-block-post-excerpt__more-link:hover{
  color:#1f252d;
  text-decoration:underline;
  text-underline-offset:.2em;
}

.wp-block-query-pagination{
  gap:.45rem;
  margin-top:2.4rem;
}

.wp-block-query-pagination :where(a,.page-numbers){
  min-width:2rem;
  min-height:2rem;
  padding:.28rem .62rem;
  border:1px solid #d8dee8;
  border-radius:5px;
  color:#3d4654;
  text-decoration:none !important;
}

.wp-block-query-pagination .current{
  border-color:#1f252d;
  background:#1f252d;
  color:#fff;
}

body.page-id-61 .entry-content{
  max-width:min(1080px,calc(100vw - 40px));
  color:#1f252d;
}

body.page-id-61 .equipment-jump{
  display:flex;
  flex-wrap:wrap;
  gap:.55rem;
  margin:0 0 1.4rem;
  padding:.75rem 0;
  border-top:1px solid #d8dee8;
  border-bottom:1px solid #d8dee8;
}

body.page-id-61 .equipment-jump a{
  display:inline-flex;
  align-items:center;
  min-height:2.25rem;
  padding:.38rem .72rem;
  border:1px solid #d8dee8;
  border-radius:5px;
  color:#334155;
  background:#fff;
  font-size:.92rem;
  font-weight:650;
  text-decoration:none;
}

body.page-id-61 .equipment-jump a:hover{
  border-color:#b8c3d1;
  background:#f6f8fb;
}

body.page-id-61 .title_sub{
  margin:2.2rem 0 .8rem;
  padding-bottom:.45rem;
  border-bottom:1px solid #d8dee8;
  color:#1f252d;
  font-size:clamp(1.18rem,1.05rem + .34vw,1.42rem);
  line-height:1.45;
}

body.page-id-61 .entry-content ul{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.45rem .9rem;
  margin:0 0 1.2rem;
  padding:1rem 1.1rem 1rem 1.35rem;
  border:1px solid #e1e6ee;
  border-radius:6px;
  background:#fbfcfe;
}

body.page-id-61 .entry-content li{
  line-height:1.65;
}

body.page-id-61 .entry-content :where(p,div):has(> img),
body.page-id-61 .entry-content :where(p,div):has(> a > img),
body.page-id-61 .entry-content div[style*="width: 320px"]{
  display:inline-block;
  vertical-align:top;
  width:min(100%,320px) !important;
  margin:.35rem .7rem 1.15rem 0 !important;
}

body.page-id-61 .entry-content img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  border:1px solid #d8dee8;
  border-radius:6px;
  background:#fff;
  box-shadow:0 10px 22px rgba(17,24,39,.06);
}

body.page-id-61 .entry-content a:has(> img){
  display:block;
  text-decoration:none;
}

body.page-id-61 .entry-content a:has(> img):hover img{
  border-color:#b8c3d1;
  box-shadow:0 12px 28px rgba(17,24,39,.09);
}

footer.wp-block-template-part h2.wp-block-heading{
  font-size:clamp(1.15rem,1.05rem + .28vw,1.35rem);
}

footer.wp-block-template-part p{
  font-size:.94rem;
  line-height:1.7;
}

@media (max-width:720px){
  .wp-block-navigation__submenu-container .wp-block-navigation-item__content{
    min-width:0;
    padding:.58rem 0 !important;
  }

  .archive .wp-block-query .wp-block-post-template > li > .wp-block-group,
  .search .wp-block-query .wp-block-post-template > li > .wp-block-group,
  .category .wp-block-query .wp-block-post-template > li > .wp-block-group{
    min-height:0;
    padding:20px 18px;
  }

  body.page-id-61 .entry-content{
    max-width:min(100%,calc(100vw - 32px));
  }

  body.page-id-61 .entry-content ul{
    grid-template-columns:1fr;
    padding:.9rem 1rem .9rem 1.25rem;
  }

  body.page-id-61 .entry-content :where(p,div):has(> img),
  body.page-id-61 .entry-content :where(p,div):has(> a > img),
  body.page-id-61 .entry-content div[style*="width: 320px"]{
    display:block;
    width:100% !important;
    margin:.35rem 0 1rem !important;
  }
}
/* Codex site-wide quiet polish 2026-07-02 end */

/* Codex study section navigation 2026-07-03 start */
.kodera-section-nav{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:.65rem;
  width:min(960px,100%);
  margin:0 auto 1.6rem;
  padding:.85rem 0 1.05rem;
  border-top:1px solid #d8dee8;
  border-bottom:1px solid #d8dee8;
  font-size:0;
}

.kodera-section-nav a{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:2.8rem;
  padding:.55rem .75rem;
  border:1px solid #d8dee8;
  border-radius:6px;
  background:#fff;
  color:#263241;
  font-size:.96rem;
  font-weight:700;
  line-height:1.35;
  text-align:center;
  text-decoration:none;
  transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}

.kodera-section-nav a:hover{
  border-color:#b8c3d1;
  background:#f6f8fb;
  color:#1f252d;
  transform:translateY(-1px);
}

.kodera-section-nav a[aria-current="page"]{
  border-color:#1f252d;
  background:#1f252d;
  color:#fff;
}

body.page-id-1408 #study_comment{
  max-width:min(1040px,calc(100vw - 40px));
  margin-right:auto;
  margin-left:auto;
}

@media (max-width:760px){
  .kodera-section-nav{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:.5rem;
    width:100%;
    margin-bottom:1.3rem;
  }

  .kodera-section-nav a{
    min-height:2.55rem;
    padding:.48rem .55rem;
    font-size:.9rem;
  }

  body.page-id-1408 #study_comment{
    max-width:min(100%,calc(100vw - 32px));
  }
}
/* Codex study section navigation 2026-07-03 end */

/* Codex footer polish 2026-07-14 */
footer.wp-block-template-part > .wp-block-group > p.has-text-align-center:last-of-type {
  display: none;
}

/* Codex footer polish 2026-07-14 v2 */
footer.wp-block-template-part p.has-text-align-center:not(.kodera-footer-lang):last-child {
  display: none !important;
}

