/* INDEX Child v0.3 — CSS Grid, no framework, no external icon fonts.
   Scoped component names preserve WordPress block and plugin styling. */
:root {
  --idx-blue: #1968e8;
  --idx-blue-hover: #0b55c4;
  --idx-ink: #102447;
  --idx-muted: #5e6e86;
  --idx-line: #e3ebf5;
  --idx-card: #fff;
  --idx-soft: #f5f8fc;
  --idx-hero: linear-gradient(105deg, #f9fcff 2%, #ecf6ff 59%, #f8fcff 100%);
  --idx-shadow: 0 9px 30px rgba(38,75,121,.055);
  --idx-shadow-hover: 0 18px 40px rgba(24,77,153,.13);
  --idx-radius: 13px;
  --idx-ease: cubic-bezier(.22, 1, .36, 1);
}
:root[data-index-theme="dark"] {
  --idx-blue: #8ab9ff;
  --idx-blue-hover: #add1ff;
  --idx-ink: #edf4ff;
  --idx-muted: #bac8da;
  --idx-line: #37475e;
  --idx-card: #222d3e;
  --idx-soft: #1d2737;
  --idx-hero: linear-gradient(105deg,#1c293a 5%, #243a56 60%, #202e44 100%);
  --idx-shadow: 0 9px 25px rgba(0,0,0,.1);
  --idx-shadow-hover: 0 14px 35px rgba(0,0,0,.25);
}
.index-child-site { --index-color-primary: var(--idx-blue); --index-color-border: var(--idx-line); font-family: "Noto Sans JP","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,system-ui,sans-serif; line-height: 1.78; -webkit-font-smoothing: antialiased; }
.index-child-site .index-container { width: min(calc(100% - 2.5rem), 1290px); }
.index-child-site :where(h1,h2,h3,h4,h5) { color: var(--idx-ink); letter-spacing: -.035em; }
.index-child-site a,
.index-child-site a:hover,
.index-child-site a:focus,
.index-child-site a:active { text-decoration:none !important; }
.index-child-site .index-icon { flex-shrink: 0; vertical-align: middle; }
.index-visually-hidden { position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important; }

/* Header: precise spacing / functional search / WP menus. */
.index-child-site .index-header { position: relative; z-index: 50; border-bottom: 1px solid var(--idx-line); background: var(--index-color-background); }
.index-child-site .index-header__inner { display: grid; grid-template-columns: max-content minmax(0,1fr) max-content; align-items: center; gap: clamp(1rem,2vw,2rem); min-height: 78px; }
.index-child-site .index-brand { display:flex; align-items:center; gap:.7rem; margin:0; min-width:0; }
.index-child-site .index-brand .custom-logo-link { flex:0 0 auto; }
.index-child-site .index-brand__text { display: inline-flex; align-items: center; font-size: clamp(1.7rem,2.3vw,2rem); line-height: 1.1; font-weight: 880; letter-spacing: -.08em; color: var(--idx-ink); text-decoration:none; }
.index-child-site .index-brand__text:hover { color: var(--idx-blue); }
.index-child-site .index-brand .custom-logo { display:block; width:auto; max-width:96px; max-height:48px; object-fit:contain; }
.index-child-site .index-brand__text { min-width:0; overflow-wrap:anywhere; }
.index-child-site .index-nav { flex-basis:auto; }
.index-child-site .index-nav ul { display:flex; flex-wrap:nowrap; gap: clamp(1rem,2.5vw,2.5rem); }
.index-child-site .index-nav ul ul { gap: 0; }
.index-child-site .index-nav a { position:relative; padding: .35rem .05rem .25rem; border-bottom:3px solid transparent; font-size:.9rem; font-weight:720; color:var(--idx-ink); text-decoration:none; transition: color .25s ease; white-space:nowrap; }
@media (min-width: 1200.01px) {
  .index-child-site .index-nav a::after { content:""; position:absolute; right:0; bottom:-3px; left:0; height:3px; border-radius:999px; background:transparent; pointer-events:none; transition:background-color .25s ease; }
  .index-child-site .index-nav li:has(> ul) > a::after,
  .index-child-site .index-nav ul ul a::after { content:none; }
  .index-child-site .index-nav li>a:hover { color:#1968e8; text-decoration:none; }
  .index-child-site .index-nav li>a:hover::after { background:#1968e8; }
  .index-child-site .index-nav ul ul { display:none; box-sizing:border-box; width:max-content; min-width:100%; }
  .index-child-site .index-nav li:hover > ul,
  .index-child-site .index-nav li:focus-within > ul { display:block; }
}
.index-child-site .index-header__actions { justify-content:flex-end; display:flex; align-items:center; gap:.85rem; min-width:0; }
.index-child-site .index-header__search-panel { width: clamp(160px, 18vw, 240px); }
.index-child-site .index-header__search-panel .search-form { display:grid; grid-template-columns:minmax(0,1fr) 32px; align-items:center; gap:0; min-width:0; margin:0; padding:3px; border:1px solid var(--idx-line); border-radius:999px; background:var(--idx-soft); transition:border-color .2s ease,box-shadow .2s ease; }
.index-child-site .index-header__search-panel .search-form:focus-within { border-color:var(--idx-blue); box-shadow:0 0 0 3px color-mix(in srgb,var(--idx-blue) 14%,transparent); }
.index-child-site .index-header__search-panel .search-field { box-sizing:border-box; width:100%; height:32px; min-width:0; margin:0; border:0; border-radius:999px; background:transparent; padding:0 .65rem 0 .85rem; font:inherit; font-size:.77rem; line-height:normal; color:var(--idx-ink); }
.index-child-site .index-header__search-panel .search-field::placeholder { color:var(--idx-muted); opacity:1; }
.index-child-site .index-header__search-panel .search-field:focus { outline:none; }
.index-child-site .index-header__search-panel .search-submit { position:static; display:grid; place-items:center; box-sizing:border-box; width:32px; height:32px; min-width:0; margin:0; padding:0; border:0; border-radius:50%; background:#1968e8; color:#fff; cursor:pointer; transition:background .2s ease; }
.index-child-site .index-header__search-panel .search-submit:hover { background:#0b55c4; }
.index-child-site .index-header__search-panel .search-submit:focus-visible { outline:2px solid var(--idx-blue); outline-offset:2px; }
.index-child-site .index-header__search-toggle { display:none; align-items:center; justify-content:center; background:transparent; border:0; padding:.42rem; color:var(--idx-ink); cursor:pointer; }
.index-child-site .index-theme-toggle { display:inline-flex; align-items:center; gap:.3rem; padding:.35rem; border-radius:999px; border:1px solid var(--idx-line); background:var(--idx-soft); color:var(--idx-blue); cursor:pointer; min-height:39px; }
.index-child-site .index-theme-toggle__icon { display:grid;place-items:center; width:1.35rem; }
.index-child-site .index-theme-toggle__track { display:flex; align-items:center; height:23px; width:38px; padding:3px; border-radius:999px; background:#cad7e8; transition:background .25s ease; }
.index-child-site .index-theme-toggle__track>span { display:block; width:17px; height:17px; background:#fff; box-shadow:0 1px 5px #1235; border-radius:50%; transition:transform .35s var(--idx-ease); }
:root[data-index-theme="dark"] .index-child-site .index-theme-toggle__track { background:#4e91ef; }
:root[data-index-theme="dark"] .index-child-site .index-theme-toggle__track>span { transform:translateX(15px); }
.index-child-site .index-menu-toggle { display:none; background:transparent; border:0; border-radius:9px; color:var(--idx-ink); padding:.45rem; cursor:pointer; }
.index-menu-toggle__icon { position:relative;display:block;width:22px;height:22px; }
.index-menu-toggle__icon > span { position:absolute;left:0;right:0;height:2px;border-radius:2px;background:currentColor;transition:transform .3s var(--idx-ease),opacity .2s ease; }
.index-menu-toggle__icon > span:nth-child(1) { top:4px; }
.index-menu-toggle__icon > span:nth-child(2) { top:10px; }
.index-menu-toggle__icon > span:nth-child(3) { top:16px; }
.index-menu-toggle[aria-expanded="true"] .index-menu-toggle__icon > span:nth-child(1) { transform:translateY(6px) rotate(45deg); }
.index-menu-toggle[aria-expanded="true"] .index-menu-toggle__icon > span:nth-child(2) { opacity:0;transform:scaleX(0); }
.index-menu-toggle[aria-expanded="true"] .index-menu-toggle__icon > span:nth-child(3) { transform:translateY(-6px) rotate(-45deg); }
.index-nav__mobile-header { display:none; }
html.index-menu-open { overflow:hidden; }
html.index-menu-open body { position:fixed;left:0;right:0;top:var(--index-menu-scroll-offset,0px);width:100%;overflow:hidden; }
html.index-menu-open #wpadminbar { visibility:hidden; }
.index-child-site .index-breadcrumbs { font-size:.77rem; padding-block:.75rem; }
.index-child-site .index-breadcrumbs a { color:var(--idx-muted); }

/* Hero and CTAs */
.index-child-site .index-home-hero { border-bottom:1px solid #e7eff9; background:var(--idx-hero); overflow:hidden; }
.index-home-hero__inner { display:grid; grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr); gap:1rem; min-height:362px; align-items:center; }
.index-home-hero__copy { padding-block:2rem; position:relative; z-index:2; }
.index-home-hero__eyebrow { display:inline-flex; align-items:center; gap:.55rem; max-width:100%; padding:.35rem .85rem; border:1px solid #dfebfa; border-radius:999px; background:#f0f7ff; color:#236dcc; font-weight:720; font-size:.74rem; margin:0 0 1rem; line-height:1.65; }
.index-home-hero__eyebrow>span { width:8px;height:8px;background:#2479f2;border-radius:50%;flex-shrink:0; }
:root[data-index-theme="dark"] .index-home-hero__eyebrow { background:#263e60;border-color:#3e5c85;color:#b3d4ff; }
.index-home-hero h1 { font-size:clamp(1.8rem,3vw,2.85rem); font-weight:850; letter-spacing:-.055em; line-height:1.45; margin:0; color:var(--idx-ink); }
.index-home-hero h1 span { display:inline-block; }
.index-home-hero__description { font-size:clamp(.85rem,1vw,.95rem); color:var(--idx-muted); margin:1.1rem 0 1.25rem; max-width:40rem; line-height:1.95; }
.index-home-hero__actions { display:flex; flex-wrap:wrap; align-items:center; gap:.8rem; }
.index-child-site .index-button { display:inline-flex; align-items:center; justify-content:center; gap:.8rem; min-height:49px; padding:.66rem 1.55rem; border:1px solid transparent; border-radius:999px; font-size:.86rem; font-weight:760; text-decoration:none; transition:transform .38s var(--idx-ease), box-shadow .38s var(--idx-ease), background-color .3s ease; }
.index-child-site .index-button:hover { transform:translateY(-3px); text-decoration:none; }
.index-child-site .index-button .index-icon { transition:transform .3s var(--idx-ease); }
.index-child-site .index-button:hover .index-icon { transform:translateX(4px); }
.index-child-site .index-button--primary { background:#1769eb; color:#fff; box-shadow:0 6px 15px #1668e726; }
.index-child-site .index-button--primary:hover { background:#0759d5; color:#fff; box-shadow:0 12px 20px #1769eb35; }
.index-child-site .index-button--outline { background:var(--idx-card); border-color:#c9defb; color:var(--idx-blue); }
.index-child-site .index-button--outline:hover { box-shadow:var(--idx-shadow-hover); }
.index-home-hero__art { position:relative; height:auto; display:grid;place-items:center; align-self:stretch; min-width:0; }
.index-home-hero__art-image { width:min(100%,660px); max-height:395px; object-fit:contain; display:block; position:relative; filter:drop-shadow(0 12px 20px #174a8120); }
.index-home-hero__image-link { display:grid; place-items:center; width:100%; border-radius:12px; }
.index-home-hero__art:has(.index-home-hero__image-link) .index-hero-float { pointer-events:none; }
.index-hero-float { position:absolute; display:flex; align-items:center; flex-direction:column; justify-content:center; gap:.2rem; width:105px; height:75px; border-radius:15px; background:#ffffffeb; color:#1665d7; border:1px solid #e8f1fc; box-shadow:0 12px 30px #4770a519; font-size:.72rem; font-weight:750; animation:index-float 6s ease-in-out infinite; }
.index-hero-float small { font-size:.66rem; color:#466b9d; white-space:nowrap; }
.index-hero-float--code { left:50%; top:2%; translate:-50% 0; }
.index-hero-float--chart { right:0; top:28%; color:#8760df; animation-delay:-2s; }
.index-hero-float--ai { right:8%; bottom:0; color:#16ad8b; animation-delay:-3.5s; }
.index-hero-float--wordpress { left:0; top:28%; color:#227cce; animation-delay:-1s; }
.index-hero-float--book { left:8%; bottom:0; color:#d18a24; animation-delay:-4.5s; }
:root[data-index-theme="dark"] .index-hero-float { background:#293a50; border-color:#435575; }
:root[data-index-theme="dark"] .index-hero-float small { color:#b3c8e6; }
@keyframes index-float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }

/* Main and section titles */
.index-home-pickup { padding-top:1.5rem; padding-bottom:.5rem; }
.index-pickup__viewport { position:relative; }
.index-pickup__controls { position:absolute; inset:0; pointer-events:none; }
.index-pickup__controls[hidden] { display:none; }
.index-child-site .index-pickup__button { position:absolute; top:calc(50% - .3rem); transform:translateY(-50%); z-index:2; display:grid; place-items:center; width:36px; height:36px; padding:0; border:1px solid var(--idx-line); border-radius:50%; background:var(--idx-card); color:#555; box-shadow:0 2px 10px #10244718; cursor:pointer; pointer-events:auto; }
.index-pickup__button--prev { left:-18px; }
.index-pickup__button--next { right:-18px; }
.index-pickup__button span { width:0; height:0; border-top:6px solid transparent; border-bottom:6px solid transparent; }
.index-pickup__button--prev span { border-right:8px solid currentColor; margin-right:2px; }
.index-pickup__button--next span { border-left:8px solid currentColor; margin-left:2px; }
.index-child-site .index-pickup__button:hover:not(:disabled) { border-color:var(--idx-blue); background:var(--idx-soft); }
.index-child-site .index-pickup__button:disabled { opacity:.35; cursor:default; }
.index-child-site .index-pickup__track { --pickup-slide-width:calc((100% - 2rem)/3); position:relative; display:flex; gap:1rem; overflow-x:auto; scroll-snap-type:x mandatory; overscroll-behavior-x:contain; list-style:none; margin:0; padding:.4rem 0 1rem; scrollbar-width:none; }
.index-pickup__track::-webkit-scrollbar { display:none; }
.index-child-site .index-pickup__track.is-animating { scroll-snap-type:none; }
.index-pickup__slide { flex:0 0 var(--pickup-slide-width); min-width:0; scroll-snap-align:start; }
.index-pickup__dots { display:flex; flex-wrap:wrap; justify-content:center; gap:0; margin:.15rem 0 .5rem; }
.index-pickup__dots[hidden] { display:none; }
.index-child-site .index-pickup__dot { display:grid; place-items:center; width:24px; height:28px; padding:0; border:0; background:transparent; cursor:pointer; }
.index-pickup__dot::before { content:""; width:8px; height:8px; border-radius:50%; background:#d6d6d6; transition:background .2s ease; }
.index-pickup__dot[aria-current="true"]::before { background:#383838; }
.index-pickup__dot:focus-visible { outline:2px solid var(--idx-blue); outline-offset:1px; border-radius:4px; }
.index-pickup__slide .index-card { height:100%; }
.index-pickup__track:focus-visible,
.index-pickup__button:focus-visible { outline:2px solid var(--idx-blue); outline-offset:3px; }
@media (max-width:1100px) {
  .index-child-site .index-pickup__track { --pickup-slide-width:calc((100% - 1rem)/2); }
}
@media (max-width:600px) {
  .index-child-site .index-pickup__track { --pickup-slide-width:88%; }
}
.index-home-columns { --index-home-heading-height:max(27px,1.653rem);--index-home-heading-gap:1rem;display:grid; grid-template-columns:minmax(0,1fr) minmax(240px,280px); gap:1.45rem; align-items:start; padding-top:1.25rem; padding-bottom:3.2rem; }
.index-home-columns__primary { min-width:0; }
.index-home-columns > .index-home-categories-section { grid-column:1 / -1; min-width:0; }
.index-home-section + .index-home-section { margin-top:2.05rem; }
.index-home-section__heading { display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin:0 0 var(--index-home-heading-gap,1rem);min-height:var(--index-home-heading-height,27px); }
.index-home-section__heading h2 { font-size:1.14rem; font-weight:820; margin:0; padding-left:.9rem; color:var(--idx-ink); position:relative; line-height:1.45; }
.index-home-section__heading h2::before { content:""; position:absolute; left:0; top:.14em; width:4px; height:1.16em; border-radius:4px; background:var(--idx-blue); }
.index-home-section__link { display:inline-flex; align-items:center; gap:.6rem; color:var(--idx-blue)!important; text-decoration:none; white-space:nowrap; font-size:.75rem; font-weight:720; }
.index-home-section__link .index-icon { transition:transform .28s ease; }
.index-home-section__link:hover .index-icon { transform:translateX(4px); }
.index-home-categories { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:.65rem; }
.index-home-category { min-width:0; display:flex; align-items:center; gap:.65rem; padding:.85rem .66rem; min-height:83px; background:var(--idx-card); border:1px solid var(--idx-line); border-radius:var(--idx-radius); box-shadow:var(--idx-shadow); text-decoration:none; transition:transform .4s var(--idx-ease),box-shadow .4s ease,border-color .3s ease; }
.index-home-category:hover { text-decoration:none; transform:translateY(-5px); border-color:#bed7fa; box-shadow:var(--idx-shadow-hover); }
.index-home-category__symbol { flex:none; display:grid; place-items:center; width:43px; height:43px; border-radius:50%; background:#eaf3ff; color:#1768d6; }
.index-home-category__symbol > .index-home-category__image { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:center; border-radius:0; }
.index-home-categories[data-category-display="image"] .index-home-category { flex-direction:column; align-items:stretch; gap:0; text-align:left; padding:0; overflow:hidden; }
.index-home-categories[data-category-display="image"] .index-home-category__symbol { position:relative; display:block; width:100%; height:auto; aspect-ratio:16 / 9; overflow:hidden; border-radius:0; }
.index-home-categories[data-category-display="image"] .index-home-category__text { box-sizing:border-box; flex:1; width:100%; padding:.85rem .8rem; }
.index-home-categories[data-category-display="image"] .index-home-category__text strong { margin-bottom:.5rem; white-space:normal; overflow-wrap:anywhere; }
.index-home-category__description { display:block; margin:.35rem 0; color:var(--idx-muted); font-size:.75rem; line-height:1.7; white-space:normal; overflow-wrap:anywhere; }
.index-home-category--chart .index-home-category__symbol { background:#f2edff; color:#8056d9; }
.index-home-category--sparkles .index-home-category__symbol { background:#e6f9f3; color:#13a989; }
.index-home-category--code .index-home-category__symbol { background:#edf5ff; color:#2076e5; }
.index-home-category__text { display:flex; flex-direction:column; min-width:0; line-height:1.45; }
.index-home-category__text strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:var(--idx-ink); font-size:.82rem; font-weight:760; }
.index-home-category__text small { color:var(--idx-muted); font-size:.68rem; }
.index-home-categories[data-category-display="image"] .index-home-category__text small { align-self:center; max-width:100%; margin-top:auto; padding:.15rem .65rem; border-radius:999px; background:var(--idx-soft); color:var(--idx-ink); line-height:1.7; text-align:center; }
.index-home-category__arrow { margin-left:auto; flex:none; display:grid;place-items:center; width:25px;height:25px;border-radius:50%; background:#eef5ff; color:#186be8; transition:transform .3s ease; }
.index-home-category:hover .index-home-category__arrow { transform:translateX(3px); }
.index-home-custom-content { max-width:none; margin:1.4rem 0; padding:1.3rem; background:var(--idx-card); border:1px solid var(--idx-line); border-radius:var(--idx-radius); }
.index-home-recent { margin-top:2.2rem!important; }
.index-home-columns__primary > .index-home-section:first-child { margin-top:0!important; }
/* Align with the recent article cards, including any preceding home content. */
@media (min-width:781px) {
  .index-child-site .index-home-columns { grid-template-rows:auto auto auto minmax(0,1fr) auto;row-gap:0; }
  .index-child-site .index-home-columns > .index-home-categories-section { grid-row:1;margin-bottom:1.45rem; }
  .index-home-columns > .index-home-columns__primary { display:grid;grid-template-rows:subgrid;grid-column:1;grid-row:2 / 6; }
  .index-home-columns__primary > .index-home-custom-content { grid-row:1;min-width:0; }
  .index-home-columns__primary > .index-home-recent { display:grid;grid-template-rows:subgrid;grid-row:2 / 4;min-width:0; }
  .index-home-recent > :is(.index-card-grid,.index-home-empty) { grid-row:2;align-self:start; }
  .index-home-columns__primary > .index-home-featured { grid-row:4;min-width:0; }
  .index-home-columns > .index-home-sidebar { grid-column:2;grid-row:4 / 6;padding-top:0; }
}
.index-child-site .index-home-recent-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.85rem; }

/* Post cards */
.index-child-site .index-card { min-width:0; border:1px solid var(--idx-line); border-radius:12px; background:var(--idx-card); box-shadow:var(--idx-shadow); overflow:hidden; transition:transform .45s var(--idx-ease),box-shadow .45s ease,border-color .3s ease; }
.index-child-site .index-card:hover { transform:translateY(-5px); box-shadow:var(--idx-shadow-hover); border-color:#c8dcf8; }
.index-child-site .index-card__media { display:block; position:relative; overflow:hidden; aspect-ratio:16/9; background:var(--idx-soft); }
.index-child-site .index-card__media img { display:block; width:100%;height:100%;object-fit:cover; transition:transform .7s var(--idx-ease); }
.index-child-site .index-card:hover .index-card__media img { transform:scale(1.055); }
.index-child-site .index-card__categories { display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:.55rem; }
.index-child-site .index-card__category { position:static;align-self:flex-start;max-width:100%;white-space:normal;overflow-wrap:anywhere;background:#196de3;color:#fff;border-radius:5px; padding:.2rem .6rem; font-size:.67rem;font-weight:750; }
.index-child-site .index-card__no-image { position:relative; width:100%;height:100%; display:grid;place-items:center; overflow:hidden; background:linear-gradient(125deg,#daeafb,#f8fbff 65%,#e5f0ff); color:#2070ce; }
.index-card__media--sparkles .index-card__no-image { background:linear-gradient(125deg,#d7f4ed,#f7fdfc);color:#13a78b; }
.index-card__media--chart .index-card__no-image { background:linear-gradient(125deg,#e7ddff,#f9f6ff);color:#8057cf; }
.index-card__no-image-orbit { position:absolute;width:80%;height:130%;border:21px solid #fff9;border-radius:50%;transform:rotate(-25deg);top:-30%;left:-10%; }
.index-card__no-image-icon { display:grid; place-items:center; position:relative; z-index:1; filter:drop-shadow(0 5px 9px #3170aa20); }
.index-card__no-image-label { position:absolute; bottom:14%;font-size:.62rem;letter-spacing:.27em;color:#487caa;font-weight:800; }
/* Per-category palettes shared by navigation cards and all post-card views. */
.index-child-site .index-category-colors .index-home-category__symbol,
.index-child-site .index-category-colors .index-home-category__arrow { color:var(--idx-category-color); background:var(--idx-category-bg); }
.index-child-site .index-category-colors .index-card__category { background:var(--idx-category-color); color:#fff; }
.index-child-site .index-category-colors .index-card__no-image { color:var(--idx-category-color); background:linear-gradient(125deg,var(--idx-category-bg),color-mix(in srgb,var(--idx-category-bg) 25%,white)); }
.index-child-site .index-category-colors .index-card__no-image-label { color:var(--idx-category-color); }
.index-child-site .index-card__body { display:flex; flex-direction:column; flex:1; padding:1rem; }
.index-child-site .index-card__title { margin:0; font-size:clamp(.86rem,1vw,1rem);line-height:1.59;font-weight:790;color:var(--idx-ink); }
.index-child-site .index-card__link { color:inherit!important; text-decoration:none; }
.index-child-site .index-card__link:hover { color:var(--idx-blue)!important; }
.index-child-site .index-card__excerpt { margin:.58rem 0 .8rem; font-size:.78rem;line-height:1.68;color:var(--idx-muted); display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden; }
.index-child-site .index-card__meta { margin:auto 0 0; padding-top:.45rem; display:flex; flex-wrap:wrap; align-items:center; gap:.3rem 1rem; color:var(--idx-muted);font-size:.69rem; }
.index-card__meta>span { display:inline-flex;align-items:center;gap:.35rem; }
.index-card__date { white-space:nowrap; }
.index-home-empty { display:flex; align-items:center; gap:.8rem; background:var(--idx-soft); border:1px dashed var(--idx-line); border-radius:var(--idx-radius); padding:2rem; color:var(--idx-muted); }
.index-home-empty p { margin:0; }

/* Sidebar */
.index-home-sidebar { display:flex; flex-direction:column; gap:.85rem; padding-top:0; }
.index-child-site .index-home-sidebar .index-widget { margin:0; padding:1.1rem; border:1px solid var(--idx-line);border-radius:var(--idx-radius); background:var(--idx-soft); }
.index-child-site .index-widget__title,
.index-child-site .index-sidebar .widget_block .wp-block-heading,
.index-child-site .index-sidebar .wp-block-search__label { display:flex;align-items:center;gap:.5rem; position:relative; font-size:.95rem; line-height:1.45;font-weight:780; margin:0 0 .95rem; padding:0 0 0 .85rem; border:0; color:var(--idx-ink); }
.index-child-site .index-widget__title::before,
.index-child-site .index-sidebar .widget_block .wp-block-heading::before,
.index-child-site .index-sidebar .wp-block-search__label::before { content:"";position:absolute;top:.1em;left:0;width:4px;height:1.22em;background:var(--idx-blue);border-radius:4px; }
.index-child-site .index-home-sidebar .search-form { display:flex;gap:0;flex-wrap:nowrap; border-radius:8px; }
.index-child-site .index-home-sidebar .search-form > label { flex:1; min-width:0; }
.index-child-site .index-home-sidebar .search-field { width:100%;min-width:0;border:1px solid var(--idx-line);border-right:0;border-radius:8px 0 0 8px;background:var(--idx-card);padding:.6rem;font-size:.77rem; }
.index-child-site .index-home-sidebar .search-submit { flex:none; border-radius:0 8px 8px 0;background:#196de8;color:#fff;font-size:.78rem;padding:.55rem .7rem; }
/* Block widgets use different markup from get_search_form() and classic widgets. */
.index-child-site .index-sidebar .wp-block-search { margin:0; min-width:0; }
.index-child-site .index-sidebar .wp-block-search__inside-wrapper { display:flex; align-items:stretch; flex-wrap:nowrap; gap:0; width:100%; max-width:100%; min-width:0; box-sizing:border-box; border-radius:8px; }
.index-child-site .index-sidebar .wp-block-search__input { flex:1 1 0; width:100%; min-width:0; min-height:42px; margin:0; border:1px solid var(--idx-line); border-radius:8px; background:var(--idx-card); color:var(--idx-ink); padding:.6rem; font:inherit; font-size:.77rem; line-height:1.5; }
.index-child-site .index-sidebar .wp-block-search__button-outside .wp-block-search__input { border-right:0; border-radius:8px 0 0 8px; }
.index-child-site .index-sidebar .wp-block-search__button { flex:0 0 auto; min-height:42px; margin:0; border:0; border-radius:0 8px 8px 0; background:#196de8; color:#fff; padding:.55rem .7rem; font:inherit; font-size:.78rem; line-height:1.5; white-space:nowrap; cursor:pointer; }
.index-child-site .index-sidebar .wp-block-search__button:hover { background:var(--idx-blue-hover); }
.index-child-site .index-sidebar .wp-block-search__button-inside .wp-block-search__inside-wrapper { padding:3px; border:1px solid var(--idx-line); border-radius:8px; background:var(--idx-card); }
.index-child-site .index-sidebar .wp-block-search__button-inside .wp-block-search__input { border:0; }
.index-child-site .index-sidebar .wp-block-search__button-inside .wp-block-search__button { border-radius:6px; }
.index-child-site .index-home-sidebar .search-form:focus-within,
.index-child-site .index-sidebar .wp-block-search__inside-wrapper:focus-within { outline:2px solid var(--idx-blue); outline-offset:2px; }
.index-child-site .index-home-sidebar .search-field:focus,
.index-child-site .index-home-sidebar .search-submit:focus,
.index-child-site .index-sidebar .wp-block-search__input:focus,
.index-child-site .index-sidebar .wp-block-search__button:focus { outline:none; box-shadow:none; }
.index-child-site .index-sidebar .wp-block-latest-posts,
.index-child-site .index-sidebar .wp-block-latest-comments { list-style:none; margin:0; padding:0; color:var(--idx-muted); font-size:.77rem; line-height:1.8; }
.index-child-site .index-sidebar .wp-block-latest-posts > li,
.index-child-site .index-sidebar .wp-block-latest-comments__comment { margin:0; overflow-wrap:anywhere; }
.index-child-site .index-sidebar .wp-block-latest-posts > li + li,
.index-child-site .index-sidebar .wp-block-latest-comments__comment + li { margin-top:.65rem; padding-top:.65rem; border-top:1px solid var(--idx-line); }
.index-child-site .index-sidebar .wp-block-latest-posts a,
.index-child-site .index-sidebar .wp-block-latest-comments a { color:var(--idx-muted); text-decoration:none; }
.index-child-site .index-sidebar .wp-block-latest-posts a:hover,
.index-child-site .index-sidebar .wp-block-latest-comments a:hover { color:var(--idx-blue); text-decoration:none; }
.index-widget__profile { display:grid;grid-template-columns:65px minmax(0,1fr);align-items:start;gap:.9rem; }
.index-widget__avatar { display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#e4effd;color:#3677cb;border:1px solid #d7e5f6; }
.index-widget__avatar img { width:100%; height:100%; border-radius:inherit; object-fit:cover; }
.index-widget__profile strong { color:var(--idx-ink);font-size:.84rem; }
.index-widget__profile p { margin:.22rem 0 0;color:var(--idx-muted);font-size:.73rem;line-height:1.75; }
.index-child-site .index-widget__more { display:flex;align-items:center;justify-content:center;gap:.5rem;margin-top:1.1rem;border:1px solid #caddf8;background:var(--idx-card);border-radius:999px;color:var(--idx-blue);text-decoration:none;font-size:.74rem;font-weight:720;padding:.4rem .55rem;transition:transform .35s var(--idx-ease); }
.index-child-site .index-widget__more:hover { transform:translateY(-2px); }
.index-child-site .index-widget--archives ul { list-style:none; padding:0; margin:0; }
.index-child-site .index-widget--archives li { margin:.55rem 0; color:var(--idx-muted);font-size:.77rem; }
.index-child-site .index-widget--archives a { color:var(--idx-muted);text-decoration:none; }
.index-child-site .index-widget--archives a:hover { color:var(--idx-blue); }

/* Single posts and other pages: cohesive with home, not just the front page. */
.index-child-site .index-section { padding-block:clamp(2rem,4vw,3.8rem); }
.index-child-site .index-breadcrumbs + .index-section { padding-top:clamp(.75rem,1.5vw,1.25rem); }
.index-child-site .index-layout--sidebar { gap:2.2rem; }
.index-child-site .index-post-layout,
.index-child-site:is(.blog,.archive,.search) .index-layout--sidebar { grid-template-columns:minmax(0,1fr) minmax(240px,280px);gap:1.45rem;align-items:start; }
@media (min-width:781px) {
  /* Start the sidebar on the card row, below the archive heading and description. */
  .index-child-site:is(.blog,.archive,.search) .index-layout--sidebar:has(> .index-layout__main > .index-card-grid) { grid-template-rows:auto minmax(0,1fr) auto auto;row-gap:0; }
  .index-child-site:is(.blog,.archive,.search) .index-layout--sidebar:has(> .index-layout__main > .index-card-grid) > .index-layout__main { display:grid;grid-template-rows:subgrid;grid-column:1;grid-row:1 / 5; }
  .index-child-site:is(.blog,.archive,.search) .index-layout__main > .index-card-grid { grid-row:2;align-self:start; }
  .index-child-site:is(.blog,.archive,.search) .index-layout__main > .index-load-more { grid-row:3; }
  .index-child-site:is(.blog,.archive,.search) .index-layout__main > .index-load-more-status { grid-row:4; }
  .index-child-site:is(.blog,.archive,.search) .index-layout--sidebar:has(> .index-layout__main > .index-card-grid) > .index-layout__sidebar { grid-column:2;grid-row:2 / 5;padding-top:0; }
}
.index-child-site .index-page-title { font-size:clamp(1.7rem,3vw,2.6rem);line-height:1.42;color:var(--idx-ink); }
.index-child-site .index-single { border-radius:var(--idx-radius); }
.index-child-site .index-single__header { border-bottom:1px solid var(--idx-line);padding-bottom:1.2rem;margin-bottom:1.5rem; }
.index-child-site .index-post-meta { color:var(--idx-muted);font-size:.83rem; }
.index-child-site .index-single-meta { display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem;margin:1rem 0 1.5rem;font-size:.75rem; }
.index-single-meta__terms { display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;min-width:0; }
.index-child-site .index-single-meta__category,
.index-child-site .index-single-meta__tag { display:inline-block;max-width:100%;padding:.15rem .65rem;border-radius:999px;overflow-wrap:anywhere;line-height:1.7; }
.index-child-site .index-single-meta__category { background:var(--idx-category-color);color:#fff; }
.index-child-site .index-single-meta__tag { background:var(--idx-soft);color:var(--idx-ink); }
.index-single-meta__date,
.index-single-meta__author { display:inline-flex;flex-wrap:wrap;align-items:center;gap:.25rem; }
.index-child-site .index-single-meta__author a { color:inherit; }
.index-single-meta__author .avatar { flex:none;width:24px;height:24px;border-radius:50%;object-fit:cover; }
.index-single-meta__author-avatar { display:inline-flex; align-items:center; justify-content:center; flex:none; width:24px; height:24px; border-radius:50%; overflow:hidden; color:var(--idx-blue); }
.index-child-site .index-single-meta a:hover { opacity:.8; }
.index-child-site .index-single > .index-single__thumbnail { margin:0 0 1.5rem; }
.index-child-site .index-single__thumbnail img { width:100%;height:auto;max-height:none;aspect-ratio:16 / 9;object-fit:cover;border-radius:var(--idx-radius); }
@media (min-width:781px) {
  /* Row 1 is always the title area; the sidebar starts immediately below it. */
  .index-child-site:is(.single-post, .page) .index-post-layout { grid-template-rows:auto auto auto minmax(0,1fr) auto auto auto;row-gap:0; }
  .index-child-site:is(.single-post, .page) .index-post-layout > .index-layout__main { display:grid;grid-template-rows:subgrid;grid-column:1;grid-row:1 / 8;align-self:stretch; }
  .index-child-site:is(.single-post, .page) .index-post-layout .index-single { display:grid;grid-template-rows:subgrid;grid-row:1 / 7;min-width:0; }
  .index-child-site:is(.single-post, .page) .index-post-layout .index-single > .index-single__header { grid-row:1;min-width:0; }
  .index-child-site:is(.single-post, .page) .index-post-layout .index-single > .index-single__thumbnail { grid-row:2;min-width:0; }
  .index-child-site:is(.single-post, .page) .index-post-layout .index-single > .index-toc { grid-row:3;min-width:0; }
  .index-child-site:is(.single-post, .page) .index-post-layout .index-single > .index-entry-content { grid-row:4;min-width:0; }
  .index-child-site:is(.single-post, .page) .index-post-layout .index-single > .index-page-links { grid-row:5;min-width:0; }
  .index-child-site:is(.single-post, .page) .index-post-layout .index-single > .index-single__footer { grid-row:6;min-width:0; }
  .index-child-site:is(.single-post, .page) .index-post-layout .index-related { grid-row:7;min-width:0; }
  .index-child-site:is(.single-post, .page) .index-post-layout > .index-home-sidebar { grid-column:2;grid-row:2 / 8;margin-top:0;padding-top:0; }
}
.index-child-site:is(.single-post, .page) .index-single > .index-entry-content { box-sizing:border-box;width:100%;max-width:none;margin-inline:0; }
/* Automatic TOCs and content blocks use the same width on posts and pages. */
.index-child-site:is(.single-post, .page) .index-single .index-toc { box-sizing:border-box;width:100%;max-width:760px;margin-inline:auto; }
/* Without a featured image, the TOC starts at the sidebar profile's top edge. */
.index-child-site:is(.single-post, .page) .index-post-layout .index-single:not(:has(> .index-single__thumbnail)) > .index-toc { margin-block-start:0; }
/* Content and TOC spacing are identical for posts and pages. */
.index-child-site:is(.single-post, .page) .index-post-layout .index-single > .index-entry-content > :first-child,
.index-child-site:is(.single-post, .page) .index-post-layout .index-entry-content .index-toc + * { margin-block-start:0; }
.index-child-site .index-entry-content :where(h2,h3) { scroll-margin-top:7rem; }
.index-child-site .index-entry-content a { color:var(--idx-blue); }
/* Let the responsive image block reach the screen edges on phones. */
@media (max-width:767px) {
  .index-child-site .index-entry-content .wp-block-otaichi-responsive-image.lp-fullwidth-otaichi { width:100vw;max-width:100vw;margin-inline:calc(50% - 50vw);padding-inline:0; }
  .index-child-site .index-entry-content .wp-block-otaichi-responsive-image.lp-fullwidth-otaichi > a,
  .index-child-site .index-entry-content .wp-block-otaichi-responsive-image.lp-fullwidth-otaichi picture { display:block;width:100%;max-width:100%;margin-inline:0;padding-inline:0; }
  .index-child-site .index-entry-content .wp-block-otaichi-responsive-image.lp-fullwidth-otaichi img { display:block;width:100%;max-width:100%;height:auto; }
}
.index-child-site .index-single__footer { border-top:1px solid var(--idx-line);margin-top:2rem;padding-top:1.25rem; }
.index-child-site .index-load-more a { display:inline-flex;align-items:center;padding:.45rem .9rem;border:1px solid var(--idx-line);background:var(--idx-card);border-radius:999px;text-decoration:none;font-size:.83rem;transition:background .25s ease,transform .3s var(--idx-ease); }
.index-child-site .index-load-more a[aria-disabled="true"] { opacity:.65;cursor:wait; }
.index-load-more-status { color:var(--idx-muted);font-size:.85rem;line-height:1.7;text-align:center; }
.index-load-more-status:empty { display:none; }
.index-article-slider { margin-top:2.5rem; }
.index-child-site .index-article-slider .index-pickup__track { --pickup-slide-width:calc((100% - .75rem)/2);gap:.75rem;align-items:stretch; }
.index-child-site .index-article-card { display:flex;flex-direction:column;min-width:0;height:100%;overflow:hidden;border:1px solid var(--idx-line);border-radius:12px;background:var(--idx-card);color:var(--idx-ink);transition:border-color .2s ease,box-shadow .2s ease; }
.index-child-site .index-article-card:hover { border-color:var(--idx-blue);box-shadow:var(--idx-shadow); }
.index-article-card:focus-visible { outline:2px solid var(--idx-blue);outline-offset:-3px; }
.index-article-card__image { position:relative;display:grid;place-items:center;flex:none;width:100%;min-width:0;aspect-ratio:16 / 9;overflow:hidden;background:var(--idx-soft);color:var(--idx-blue); }
.index-article-card__image img { position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover; }
.index-article-card__body { display:flex;flex:1;flex-direction:column;min-width:0;padding:1rem;gap:.75rem; }
.index-article-card__title { display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;-webkit-box-orient:vertical;font-size:.9rem;line-height:1.7;font-weight:700;overflow-wrap:anywhere; }
.index-article-card__meta { display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .85rem;margin-top:auto;color:var(--idx-muted);font-size:.72rem;line-height:1.5; }
.index-article-card__date { display:inline-flex;align-items:center;flex-wrap:wrap;gap:.2rem; }
.index-article-card__author { display:flex;align-items:center;gap:.4rem;flex-basis:100%;min-width:0;overflow-wrap:anywhere; }
.index-article-card__avatar { display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;overflow:hidden;border-radius:50%; }
.index-article-card__avatar img { display:block;width:24px;height:24px;object-fit:cover; }
.index-card__body > .index-article-card__meta { padding-top:.45rem; }
@media (max-width:600px) {
  .index-child-site .index-article-slider .index-pickup__track { --pickup-slide-width:100%;gap:.5rem; }
  .index-child-site .index-article-card { border-radius:9px; }
  .index-article-slider .index-pickup__button--prev { left:-12px; }
  .index-article-slider .index-pickup__button--next { right:-12px; }
  .index-child-site .index-article-slider .index-pickup__button { width:28px;height:28px; }
}
.index-child-site .index-share { align-items:center; justify-content:flex-start; gap:.75rem 1.25rem; margin:0; padding:.35rem 0 .6rem; }
.index-share__label { display:inline-flex; align-items:center; gap:.5rem; color:var(--idx-muted); font-size:.78rem; font-weight:600; letter-spacing:.04em; white-space:nowrap; }
.index-share__buttons { display:flex; flex-wrap:wrap; gap:.65rem; }
.index-child-site .index-share__button { display:inline-flex; align-items:center; justify-content:center; gap:.6rem; box-sizing:border-box; min-height:44px; padding:.65rem 1.2rem; border:1px solid transparent; border-radius:999px; color:#fff; font-size:.8rem; font-weight:600; line-height:1.5; text-decoration:none; box-shadow:0 3px 10px #10244712; transition:background .2s ease, transform .2s ease, box-shadow .2s ease; }
.index-share__button svg { flex:none; }
.index-child-site .index-share__button--x { background:#15191e; border-color:#ffffff26; }
.index-child-site .index-share__button--facebook { background:#0866ff; }
.index-child-site .index-share__button--line { background:#06c755; }
.index-child-site .index-share .index-share__button--instagram { background:#fff0f6; border-color:#f4cddd; color:#9c245b; cursor:pointer; font-family:inherit; }
.index-share__button--instagram svg { box-sizing:border-box; width:24px; height:24px; padding:2px; border-radius:7px; color:#fff; background:radial-gradient(circle at 30% 105%,#feda75 0%,#fa7e1e 26%,#d62976 52%,#962fbf 76%,#4f5bd5 100%); }
.index-child-site .index-share .index-share__button--instagram:hover { background:#fce0ed; color:#84204e; }
.index-share__instagram-help { flex-basis:100%; color:var(--idx-muted); font-size:.73rem; line-height:1.8; }
.index-share__instagram-help p { margin:0; }
.index-share__status:empty { display:none; }
.index-share__status { margin-top:.4rem !important; color:var(--idx-ink); }
.index-share__url { box-sizing:border-box; width:100%; margin-top:.5rem; padding:.5rem; border:1px solid var(--idx-line); border-radius:6px; background:var(--idx-card); color:var(--idx-ink); }
.index-share__instagram-help[hidden], .index-share__url[hidden], .index-child-site .index-share__button[hidden] { display:none; }
.index-child-site .index-share__button--x:hover { background:#303740; }
.index-child-site .index-share__button--facebook:hover { background:#0755d4; }
.index-child-site .index-share__button:hover { color:#fff; transform:translateY(-2px); box-shadow:0 6px 16px #10244724; }
.index-child-site .index-share__button:focus-visible { outline:2px solid var(--idx-blue); outline-offset:4px; }
@media (max-width:560px) { .index-child-site .index-share { flex-direction:column; align-items:flex-start; } .index-share__buttons { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; } .index-child-site .index-share__button { padding:.65rem .75rem; white-space:nowrap; } }
@media (prefers-reduced-motion:reduce) { .index-child-site .index-share__button { transition:none; } .index-child-site .index-share__button:hover { transform:none; } }
.index-child-site .index-sidebar:not(.index-home-sidebar) .index-widget { background:var(--idx-soft);border:1px solid var(--idx-line);border-radius:var(--idx-radius); }
.index-related .index-article-slider { margin-top:0; }
.index-child-site .index-toc { --index-toc-limit:26rem;box-sizing:border-box;width:100%;max-width:760px;margin:2rem auto;padding:.9rem clamp(1rem,3vw,1.3rem) 1.1rem;border:1px solid var(--idx-line);border-radius:1px;background:var(--idx-card); }
.index-toc__heading { padding:.1rem .5rem .8rem;margin-bottom:.9rem;border-bottom:1px dashed var(--idx-line); }
.index-child-site .index-toc__title { display:inline-flex;align-items:center;gap:.65rem;margin:0;color:var(--idx-ink);font-size:1.25rem;font-weight:400;line-height:1.5; }
.index-toc__icon { flex:none;color:var(--idx-ink); }
.index-toc__viewport { position:relative;display:flow-root; }
.index-toc--collapsed .index-toc__viewport { max-height:var(--index-toc-limit);overflow:hidden; }
.index-toc--collapsed .index-toc__viewport::after { content:'';position:absolute;inset-inline:0;bottom:0;height:72px;background:linear-gradient(to bottom,transparent,var(--idx-card));pointer-events:none; }
.index-child-site .index-toc .index-toc__list,
.index-child-site .index-toc .index-toc__list ol { margin:0;padding:0;list-style:none;counter-reset:index-toc; }
.index-child-site .index-toc .index-toc__list li { position:relative;margin:.3rem 0;padding-inline-start:1.8rem;counter-increment:index-toc;line-height:1.8; }
.index-toc__list > li::before { content:counter(index-toc);position:absolute;inset-inline-start:0;top:.1rem;width:1.1rem;text-align:center;color:#2389f5;font-size:.95rem;font-weight:400;font-variant-numeric:tabular-nums; }
.index-toc__list li::after { content:'';position:absolute;inset-inline-start:1.3rem;top:.4rem;width:1px;height:1em;background:#8fc5ff; }
.index-child-site .index-toc .index-toc__list ol { margin-top:.1rem; }
.index-child-site .index-toc .index-toc__list ol li { margin:.1rem 0;padding-inline-start:2.15rem;font-size:.875rem; }
.index-toc__list ol li::before { content:counters(index-toc,'-');position:absolute;inset-inline-start:0;top:.1rem;color:#2389f5;font-size:.875rem;font-variant-numeric:tabular-nums; }
.index-toc__list ol li::after { inset-inline-start:1.7rem; }
.index-child-site .index-toc__list a { display:inline-block;padding:0;color:var(--idx-ink);font-size:.9375rem;text-decoration:none;overflow-wrap:anywhere;transition:color .2s ease; }
.index-child-site .index-toc__list ol a { font-size:inherit; }
.index-child-site .index-toc__list a:hover { color:var(--idx-blue);text-decoration:underline;text-underline-offset:.2em; }
.index-toc__footer { display:flex;align-items:center;justify-content:center;gap:.85rem;padding-top:.8rem; }
.index-toc__footer[hidden] { display:none; }
.index-toc__footer::before,.index-toc__footer::after { content:'';width:24px;border-top:3px dotted var(--idx-line); }
.index-child-site .index-toc__more { min-height:38px;padding:.35rem 1rem;border:1px solid var(--idx-line);border-radius:999px;background:var(--idx-soft);color:var(--idx-ink);font:inherit;font-size:.8rem;cursor:pointer; }
.index-child-site .index-toc__more:hover { border-color:var(--idx-blue); }
.index-child-site .index-toc__more:focus-visible { outline:2px solid var(--idx-blue);outline-offset:3px; }

/* Footer */
.index-child-site .index-footer { background:var(--idx-soft);border-top:1px solid var(--idx-line);padding:1.5rem 0; }
/* Reserve the right edge for the fixed back-to-top button at every viewport width. */
.index-child-site .index-footer__inner { box-sizing:border-box;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:.8rem 1.5rem;align-items:center;padding-inline-end:4.5rem; }
.index-footer__identity { display:flex;align-items:center;gap:1rem;min-width:0; }
.index-footer__logo { text-decoration:none!important;font-size:1.4rem;line-height:1.1;font-weight:850;color:var(--idx-ink)!important;letter-spacing:-.07em; }
.index-footer__identity>span { font-size:.72rem;color:var(--idx-muted); }
.index-child-site .index-footer__menu, .index-footer__default-nav { display:flex;align-items:center;flex-wrap:wrap;gap:.9rem;margin:0;padding:0;list-style:none; }
.index-child-site .index-footer__menu a, .index-footer__default-nav a { font-size:.74rem; color:var(--idx-muted);text-decoration:none; }
.index-child-site .index-footer__menu a:hover, .index-footer__default-nav a:hover { color:var(--idx-blue); }
.index-footer__copyright { min-width:0;color:var(--idx-muted);font-size:.68rem;overflow-wrap:anywhere; }
.index-footer__widgets { grid-column:1/-1; }
.index-back-top { position:fixed;bottom:1.5rem;right:1.5rem;z-index:30;display:grid;place-items:center;width:44px;height:44px;border:1px solid #c5d9f7;border-radius:50%;background:var(--idx-card);color:var(--idx-blue)!important;box-shadow:var(--idx-shadow);transition:transform .35s var(--idx-ease),box-shadow .3s ease; }
.index-back-top:hover { transform:translateY(-4px);box-shadow:var(--idx-shadow-hover); }

/* Progressive intersection animations: invisible state only applied by JS. */
.index-can-reveal { opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .85s var(--idx-ease); }
.index-can-reveal.is-visible { opacity:1;transform:translateY(0); }
.index-home-hero__art.index-can-reveal { transition-delay:.12s; }

@media (max-width: 1200px) {
  .index-child-site .index-header__search-panel { position:absolute;left:0;right:0;top:100%;width:auto;padding:1rem max(1.25rem,calc((100% - 800px)/2));background:var(--idx-card);border-bottom:1px solid var(--idx-line);box-shadow:var(--idx-shadow);display:none; }
  .index-child-site .index-header__search-panel.is-open { display:block; }
  .index-child-site .index-header__search-toggle { display:inline-flex; }
}
@media (max-width: 1100px) {
  .index-home-hero__inner { grid-template-columns:1.1fr .9fr; }
  .index-hero-float { transform:scale(.87); transform-origin:top center; }
  .index-home-columns { grid-template-columns:minmax(0,1fr) minmax(210px,240px);gap:1rem; }
  .index-child-site .index-post-layout,
  .index-child-site:is(.blog,.archive,.search) .index-layout--sidebar { grid-template-columns:minmax(0,1fr) minmax(210px,240px);gap:1rem; }
  .index-home-categories { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .index-child-site .index-home-recent-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 1200px) {
  .index-child-site .index-header__inner { grid-template-columns:minmax(0,1fr) auto;column-gap:.5rem;row-gap:0; }
  html[data-index-js="ready"] .index-child-site .index-menu-toggle { display:inline-flex; }
  .index-child-site .index-nav { grid-column:1/-1;grid-row:2;justify-self:stretch; }
  /* Hide the panel before its deferred controller initializes. */
  html[data-index-js] .index-child-site .index-nav { position:fixed;inset:0;z-index:1000;box-sizing:border-box;display:block;width:100%;height:100vh;height:100dvh;padding:max(1rem,env(safe-area-inset-top)) max(1.25rem,env(safe-area-inset-right)) max(1.5rem,env(safe-area-inset-bottom)) max(1.25rem,env(safe-area-inset-left));background:var(--idx-card);overflow-y:auto;overscroll-behavior:contain;opacity:0;transform:translateY(-12px);visibility:hidden; }
  html[data-index-js="ready"] .index-child-site .index-nav { transition:opacity .25s ease,transform .3s var(--idx-ease),visibility 0s linear .3s; }
  html[data-index-js="ready"] .index-child-site .index-nav.index-nav--open { opacity:1;transform:translateY(0);visibility:visible;transition-delay:0s; }
  .index-child-site .index-nav__panel { width:min(100%,640px);min-height:100%;margin-inline:auto; }
  html[data-index-js="ready"] .index-child-site .index-nav__mobile-header { position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:.25rem 1rem;border-bottom:1px solid var(--idx-line);background:var(--idx-card); }
  .index-nav__mobile-title { color:var(--idx-ink);font-size:1.1rem;font-weight:750; }
  .index-child-site .index-menu-close { display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--idx-line);border-radius:50%;background:var(--idx-soft);color:var(--idx-ink);font-size:2rem;line-height:1;cursor:pointer; }
  .index-child-site .index-nav__panel > ul { padding-block:1rem 1.5rem; }
  .index-child-site .index-nav ul { display:block; }
  .index-child-site .index-nav ul ul { position:static;display:block;width:auto;min-width:0;border:0;background:transparent;box-shadow:none;padding:0 0 0 1rem; }
  .index-child-site .index-nav ul ul a::before { content:""; display:inline-block; width:1em; height:1em; margin-right:.4em; vertical-align:-.12em; background:currentColor; -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 6 6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m9 6 6 6-6 6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; }
  .index-child-site .index-nav a { display:block;padding:.7rem .4rem;border-bottom:1px solid var(--idx-line);white-space:normal;overflow-wrap:anywhere; }
  html[data-index-js="ready"] .index-child-site .index-nav > .index-nav__panel > ul > li > a { padding:1.15rem .5rem;font-size:clamp(1.1rem,4.5vw,1.5rem);white-space:normal;overflow-wrap:anywhere; }
}
@media (max-width: 780px) {
  .index-child-site .index-brand { gap:.5rem; }
  .index-child-site .index-brand .custom-logo { max-width:64px; max-height:40px; }
  .index-child-site .index-brand:has(.custom-logo) .index-brand__text { font-size:clamp(1.1rem,4vw,1.7rem); }
  .index-child-site .index-header__inner { min-height:65px; }
  .index-home-hero__inner { grid-template-columns:1fr;gap:0; }
  .index-home-hero__copy { padding-top:2.5rem;padding-bottom:0; }
  .index-home-hero h1 { font-size:clamp(1.8rem,5vw,2.6rem); }
  .index-home-hero__art { width:min(100%,550px);margin-inline:auto;max-height:290px; }
  .index-home-hero__art-image { max-height:290px; }
  .index-hero-float { width:82px;height:60px; }
  .index-hero-float small { font-size:.54rem; }
  .index-home-columns { grid-template-columns:minmax(0,1fr);gap:2rem; }
  .index-child-site .index-post-layout,
  .index-child-site:is(.blog,.archive,.search) .index-layout--sidebar { grid-template-columns:minmax(0,1fr);gap:2rem; }
  .index-home-sidebar { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem; }
  .index-child-site .index-footer__inner { grid-template-columns:1fr; }
}
@media (max-width: 560px) {
  .index-child-site .index-container { width:min(calc(100% - 2rem),1290px); }
  .index-child-site .index-header__actions { gap:.28rem; }
  .index-child-site .index-theme-toggle { min-height:35px; }
  .index-home-hero__copy { padding-top:2rem; }
  .index-home-hero__eyebrow { font-size:.67rem; }
  .index-home-hero h1 { font-size:clamp(1.52rem,7vw,2.15rem); }
  .index-home-hero__description { font-size:.84rem; }
  .index-child-site .index-button { min-height:44px;padding:.55rem 1.1rem;font-size:.77rem; }
  .index-home-hero__art { max-height:225px; }
  .index-home-hero__art-image { max-height:240px; }
  .index-hero-float { width:69px;height:52px; }
  .index-hero-float .index-icon { width:19px;height:19px; }
  .index-hero-float small { font-size:.45rem; }
  .index-home-categories { gap:.5rem;grid-template-columns:repeat(2,minmax(0,1fr)); }
  .index-home-category { padding:.65rem .45rem;gap:.5rem;min-height:79px; }
  .index-home-category__symbol { width:34px;height:34px; }
  .index-home-category__symbol .index-icon { width:20px;height:20px; }
  .index-home-category__text strong { font-size:.72rem;white-space:normal; }
  .index-home-category__text small { font-size:.64rem; }
  .index-home-category__arrow { display:none; }
  .index-child-site .index-home-recent-grid { grid-template-columns:1fr; }
  .index-child-site .index-card__title { font-size:1rem; }
  .index-home-sidebar { grid-template-columns:1fr; }
  .index-home-section__heading h2 { font-size:1.08rem; }
  .index-home-section__link { font-size:.68rem; }
  .index-footer__identity { flex-wrap:wrap; }
  .index-back-top { bottom:1rem;right:1rem;width:39px;height:39px; }
}
/* Saved homepage article limits follow the card grid breakpoints. */
@media (min-width: 1101px) {
  .index-child-site .index-home-recent-grid > .index-home-post--hidden-desktop { display:none; }
}
@media (min-width: 561px) and (max-width: 1100px) {
  .index-child-site .index-home-recent-grid > .index-home-post--hidden-tablet { display:none; }
}
@media (max-width: 560px) {
  .index-child-site .index-home-recent-grid > .index-home-post--hidden-mobile { display:none; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-index-js="ready"] .index-child-site .index-nav,
  .index-menu-toggle__icon > span { transition:none!important; }
  .index-child-site *, .index-child-site *::before, .index-child-site *::after { animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important; }
  .index-can-reveal { opacity:1!important;transform:none!important; }
}
