/*
Theme Name: Oripario 1.5.1
Theme URI: https://oripario.com/
Author: Oripario
Description: Mobile-first comparison portal theme for Japanese online oripa sales sites.
Version: 1.5.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: oripario
*/

:root {
    --ink: #111817;
    --ink-2: #18312f;
    --muted: #62706d;
    --deep: #062928;
    --teal: #0f7670;
    --mint: #dff5ef;
    --coral: #ee655c;
    --pink: #fff0ed;
    --gold: #d5a84d;
    --cream: #fff7e8;
    --paper: #fffdf8;
    --soft: #edf8f5;
    --line: rgba(17, 24, 23, 0.12);
    --shadow: 0 18px 48px rgba(13, 41, 39, 0.14);
    --radius: 8px;
    --container: 1160px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 0;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover,
a:focus-visible {
    color: var(--coral);
}

:focus-visible {
    outline: 3px solid rgba(238, 101, 92, 0.5);
    outline-offset: 3px;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.16;
    font-weight: 900;
}

h1 {
    font-size: 3.45rem;
}

h2 {
    font-size: 1.92rem;
}

h3 {
    font-size: 1.18rem;
}

p {
    margin: 0;
}

.container {
    width: min(calc(100% - 28px), var(--container));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100;
    transform: translateY(-150%);
    background: var(--ink);
    color: #fff;
    padding: 10px 14px;
    border-radius: var(--radius);
}

.skip-link:focus {
    transform: translateY(0);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    background: rgba(255, 253, 248, 0.95);
    border-bottom: 1px solid rgba(17, 24, 23, 0.08);
    backdrop-filter: blur(18px);
}

body.admin-bar .site-header {
    top: 0;
}

.site-header__inner {
    min-height: 54px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    padding-block: 6px;
}

.site-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
}

.site-brand__logo {
    display: block;
    width: clamp(132px, 38vw, 176px);
    max-width: 100%;
    height: auto;
}

.site-brand__mark {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border-radius: var(--radius);
    color: #fff;
    background: var(--deep);
    border: 2px solid var(--gold);
    font-size: 0.72rem;
    line-height: 1;
}

.site-brand__text {
    font-size: 1.05rem;
}

.custom-logo-link img {
    max-width: 168px;
    height: auto;
}

.site-search-toggle {
    justify-self: end;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 14px;
    border: 1px solid rgba(17, 24, 23, 0.12);
    border-radius: 999px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 6px 18px rgba(13, 41, 39, 0.08);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
}

.site-search-toggle:hover,
.site-search-toggle:focus-visible {
    color: var(--teal);
    border-color: rgba(15, 118, 112, 0.28);
}

.site-search-toggle__icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.site-search-toggle__icon::after {
    content: "";
    position: absolute;
    right: -5px;
    bottom: -4px;
    width: 8px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: rotate(45deg);
}

.site-search-panel[hidden] {
    display: none;
}

.site-search-panel {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    align-items: start;
    padding: 0 14px;
}

.site-search-panel__overlay {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(6, 41, 40, 0.42);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.site-search-panel__box {
    position: relative;
    width: min(100%, 720px);
    margin: 78px auto 0;
    padding: 22px;
    border: 1px solid rgba(17, 24, 23, 0.1);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 24px 80px rgba(6, 41, 40, 0.26);
}

body.admin-bar .site-search-panel__box {
    margin-top: 110px;
}

.site-search-panel__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(17, 24, 23, 0.12);
    border-radius: 50%;
    color: var(--ink);
    background: #fff;
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}

.site-search-panel__close:hover,
.site-search-panel__close:focus-visible {
    color: #fff;
    background: var(--teal);
}

.site-search-form {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.site-search-form input[type="search"] {
    width: 100%;
    min-height: 54px;
    padding: 0 16px;
    border: 1px solid rgba(17, 24, 23, 0.18);
    border-radius: var(--radius);
    color: var(--ink);
    background: #fff;
    font: inherit;
    font-weight: 800;
}

.site-search-form input[type="search"]::placeholder {
    color: #7d8a86;
}

.site-search-panel__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.site-search-panel__links a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border: 1px solid rgba(15, 118, 112, 0.2);
    border-radius: 999px;
    color: var(--teal);
    background: var(--soft);
    font-size: 0.86rem;
    font-weight: 900;
}

.has-site-search {
    overflow: hidden;
}

.site-nav {
    min-width: 0;
    overflow: hidden;
}

.site-nav__menu,
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-nav__menu {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    color: #243432;
    font-size: 0.83rem;
    font-weight: 900;
    white-space: nowrap;
}

.pr-notice {
    background: #fff0ed;
    border-bottom: 1px solid rgba(238, 101, 92, 0.2);
    color: #493331;
    font-size: 0.82rem;
    font-weight: 900;
    line-height: 1.45;
    padding-block: 9px;
}

.site-nav__menu::-webkit-scrollbar {
    display: none;
}

.site-nav__menu a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid rgba(15, 118, 112, 0.18);
    border-radius: 999px;
    background: rgba(223, 245, 239, 0.72);
}

.header-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 15px;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-weight: 900;
    line-height: 1.25;
    text-align: center;
}

.header-cta {
    min-width: 94px;
    color: #fff;
    background: var(--coral);
    box-shadow: 0 12px 24px rgba(238, 101, 92, 0.25);
    font-size: 0.86rem;
}

.button {
    width: 100%;
    appearance: none;
    cursor: pointer;
    font: inherit;
    letter-spacing: 0;
}

.button--primary {
    color: #fff;
    background: var(--coral);
    box-shadow: 0 14px 30px rgba(238, 101, 92, 0.28);
}

.button--primary:hover,
.button--primary:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
    color: #fff;
    background: #d9554d;
}

.button--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.12);
}

.button--ghost:hover,
.button--ghost:focus-visible {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.82);
}

.button--secondary {
    color: var(--deep);
    background: var(--mint);
    border-color: rgba(15, 118, 112, 0.26);
}

.hero {
    position: relative;
    --hero-mobile-media: clamp(252px, 69vw, 352px);
    min-height: 0;
    display: grid;
    align-items: start;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background: var(--deep);
}

.hero__media {
    position: absolute;
    inset: 0 0 auto;
    height: var(--hero-mobile-media);
    z-index: -2;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(6, 41, 40, 0.02) 0%, rgba(6, 41, 40, 0.3) 38%, rgba(6, 41, 40, 0.96) 100%),
        linear-gradient(90deg, rgba(6, 41, 40, 0.72), rgba(6, 41, 40, 0.1));
}

.hero__content {
    padding-block: calc(var(--hero-mobile-media) + 2px) 34px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--coral);
    font-size: 0.76rem;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: 0;
}

.hero .eyebrow,
.section--ink .eyebrow {
    color: #ffb2ac;
}

.hero__lead {
    max-width: 590px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.05rem;
    font-weight: 700;
}

.hero__actions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.quick-rail {
    padding-block: 14px 16px;
    background: #071c1b;
}

.quick-rail__scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(190px, 72%);
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.quick-rail__scroller::-webkit-scrollbar {
    display: none;
}

.quick-rail article {
    scroll-snap-align: start;
    min-height: 122px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(15, 118, 112, 0.42), rgba(238, 101, 92, 0.18));
    color: #fff;
}

.quick-rail span {
    display: block;
    color: #ffd78b;
    font-weight: 900;
    font-size: 0.78rem;
}

.quick-rail strong {
    display: block;
    margin-top: 5px;
    font-size: 1.08rem;
}

.quick-rail p {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.9rem;
    line-height: 1.55;
}

.section {
    padding-block: 58px;
}

.section--cream {
    background: var(--cream);
}

.section--soft {
    background: var(--soft);
}

.section--ink {
    color: #fff;
    background: var(--deep);
}

.section-heading {
    display: grid;
    gap: 12px;
    max-width: 760px;
    margin-bottom: 24px;
}

.section-heading > p:last-child,
.image-story__copy p,
.safety-story__copy p,
.faq-layout__intro p {
    color: var(--muted);
}

.mode-grid,
.pack-grid,
.archive-grid,
.flow-grid {
    display: grid;
    gap: 14px;
}

.mode-grid article,
.flow-grid article {
    min-height: 188px;
    padding: 20px;
    border: 1px solid rgba(17, 24, 23, 0.1);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 10px 28px rgba(13, 41, 39, 0.08);
}

.mode-grid__num,
.flow-grid span {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    border-radius: 50%;
    color: #fff;
    background: var(--teal);
    font-weight: 900;
}

.mode-grid p,
.flow-grid p,
.pack-card__body p {
    margin-top: 10px;
    color: var(--muted);
    line-height: 1.68;
}

.image-story,
.safety-story {
    background: var(--paper);
}

.image-story__grid,
.safety-story__grid,
.rio-panel,
.faq-layout,
.single-pack-hero__grid,
.site-footer__grid {
    display: grid;
    gap: 26px;
}

.image-story__media,
.safety-story__media,
.single-pack-hero__image {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.image-story__media img,
.safety-story__media img,
.single-pack-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.safety-story__media {
    background: #fff;
}

.safety-story__media img {
    display: block;
    height: auto;
    object-fit: contain;
}

.image-story__copy,
.safety-story__copy {
    display: grid;
    align-content: center;
    gap: 16px;
}

.mini-checks {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}

.mini-checks p {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px;
    border: 1px solid rgba(15, 118, 112, 0.16);
    border-radius: var(--radius);
    background: #fff;
}

.mini-checks strong {
    color: var(--teal);
}

.event-archive {
    overflow: hidden;
    background: var(--paper);
}

.event-archive__heading {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: end;
    margin-bottom: 22px;
}

.event-archive__heading h2 {
    margin-top: 0;
}

.event-archive__controls {
    display: inline-flex;
    gap: 8px;
}

.event-archive__arrow {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(17, 24, 23, 0.12);
    border-radius: 50%;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 10px 22px rgba(13, 41, 39, 0.12);
    cursor: pointer;
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
}

.event-archive__arrow:hover,
.event-archive__arrow:focus-visible {
    color: #fff;
    background: var(--teal);
}

.event-archive__arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.event-archive__rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(250px, 84%);
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    padding: 2px 2px 16px;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
}

.event-archive__rail::-webkit-scrollbar {
    display: none;
}

.event-slide {
    min-height: 380px;
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    scroll-snap-align: start;
    border: 1px solid rgba(17, 24, 23, 0.08);
    border-radius: var(--radius);
    color: var(--ink);
    background: #fff;
    box-shadow: 0 10px 24px rgba(13, 41, 39, 0.08);
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.event-slide:hover,
.event-slide:focus-visible {
    color: var(--ink);
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(13, 41, 39, 0.14);
}

.event-slide__image {
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f4efe4;
}

.event-slide__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.event-slide__placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #f3bd57 0%, #f3bd57 48%, #ffe39d 48%, #ffe39d 100%);
    font-size: 1.45rem;
    font-weight: 900;
    text-align: center;
}

.event-slide__body {
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 10px;
    padding: 14px 16px 16px;
}

.event-slide__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 24px;
}

.event-slide__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 7px;
    border-radius: 999px;
    color: var(--deep);
    background: var(--mint);
    font-size: 0.72rem;
    font-weight: 900;
}

.event-slide h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.event-slide p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.event-slide time {
    justify-self: end;
    color: var(--muted);
    font-size: 0.78rem;
}

.rio-panel__image {
    max-width: 260px;
    margin-inline: auto;
    overflow: hidden;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.rio-panel__copy {
    display: grid;
    align-content: center;
    gap: 16px;
}

.rio-panel__copy p {
    color: rgba(255, 255, 255, 0.8);
}

.rio-steps {
    display: grid;
    gap: 10px;
}

.rio-steps p {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    align-items: center;
    min-height: 54px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-weight: 800;
}

.rio-steps span {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--deep);
    background: #ffd98f;
    font-weight: 900;
}

.section-heading--split {
    max-width: none;
}

.weekly-grid {
    display: grid;
    gap: 14px;
}

.weekly-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    border: 1px solid rgba(17, 24, 23, 0.1);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.weekly-card__label {
    width: max-content;
    max-width: 100%;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--deep);
    background: var(--mint);
    font-size: 0.75rem;
    font-weight: 900;
}

.weekly-card p:not(.weekly-card__label) {
    color: var(--muted);
}

.event-card {
    position: relative;
    overflow: visible;
    padding: 14px;
    border: 2px solid rgba(213, 168, 77, 0.6);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 18px 46px rgba(13, 41, 39, 0.12);
}

.event-card__crown {
    position: absolute;
    top: -20px;
    left: 50%;
    width: 58px;
    height: 36px;
    transform: translateX(-50%);
    background: #f4d63b;
    clip-path: polygon(0 100%, 0 38%, 21% 58%, 32% 0, 50% 54%, 68% 0, 79% 58%, 100% 38%, 100% 100%);
    filter: drop-shadow(0 6px 8px rgba(213, 168, 77, 0.28));
}

.event-card__banner {
    min-height: 188px;
    display: grid;
    align-content: center;
    gap: 10px;
    padding: 22px 18px;
    overflow: hidden;
    border-radius: var(--radius);
    color: #fff;
    background:
        radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.75) 0 4px, transparent 5px),
        radial-gradient(circle at 86% 18%, rgba(255, 255, 255, 0.74) 0 5px, transparent 6px),
        linear-gradient(135deg, #ffd93d 0%, #ff8c42 42%, #ee3f45 100%);
    text-shadow: 0 3px 0 rgba(17, 24, 23, 0.2);
}

.event-card__banner p {
    width: max-content;
    max-width: 100%;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    color: #351f1c;
    background: #fff;
    font-size: 0.8rem;
    font-weight: 900;
    text-shadow: none;
}

.event-card__banner h3 {
    font-size: 2rem;
    line-height: 1.06;
}

.event-card__banner span {
    display: block;
    color: #fffdf8;
    font-weight: 900;
    line-height: 1.4;
}

.event-card__banner small {
    width: max-content;
    max-width: 100%;
    padding: 4px 9px;
    border-radius: 999px;
    color: #351f1c;
    background: rgba(255, 255, 255, 0.82);
    font-size: 0.76rem;
    font-weight: 900;
    text-shadow: none;
}

.event-card__banner--image {
    min-height: auto;
    display: block;
    padding: 0;
    background: #fff;
    text-shadow: none;
}

.event-card__banner--image img {
    width: 100%;
    aspect-ratio: 1.2 / 1;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius);
}

.event-card__body {
    display: grid;
    gap: 16px;
    padding: 16px 2px 2px;
}

.event-card__site {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    align-items: center;
}

.event-card__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    color: #fff;
    background: #e8343e;
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.78);
    font-weight: 900;
}

.event-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
}

.event-card__site h3 {
    font-size: 1.08rem;
}

.event-card__site p {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 800;
}

.event-card__stars {
    color: #f4a000;
    letter-spacing: 0;
}

.event-card__info {
    display: grid;
    gap: 8px;
    color: #37423f;
    font-size: 0.94rem;
}

.event-card__label {
    color: var(--ink);
    font-weight: 900;
}

.event-card__info ul {
    display: grid;
    gap: 5px;
    margin: 2px 0 0;
    padding-left: 1.2em;
}

.event-card__info li::marker {
    color: var(--coral);
}

.event-card__notice {
    padding: 10px 12px;
    border-radius: var(--radius);
    background: var(--pink);
    color: #66413d;
    font-size: 0.84rem;
    line-height: 1.55;
}

.button--event {
    color: #fff;
    background: #20bf60;
    box-shadow: 0 14px 28px rgba(32, 191, 96, 0.24);
}

.button--event:hover,
.button--event:focus-visible {
    color: #fff;
    background: #149e4b;
}

.diagnosis-section {
    overflow: hidden;
}

.diagnosis-launch__grid {
    display: grid;
    grid-template-columns: clamp(88px, 32vw, 156px) minmax(0, 1fr);
    gap: 12px 14px;
    align-items: start;
}

.diagnosis-launch__rio {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    max-width: 156px;
    margin-inline: 0;
}

.diagnosis-launch__rio img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.2));
}

.diagnosis-launch__intro {
    grid-column: 2;
    grid-row: 1;
    display: grid;
    align-content: start;
    gap: 12px;
    min-width: 0;
}

.diagnosis-launch__intro h2 {
    font-size: 1.28rem;
    line-height: 1.28;
}

.diagnosis-launch__intro p,
.diagnosis-launch__lead,
.diagnosis-launch .diagnosis-note {
    color: rgba(255, 255, 255, 0.8);
}

.diagnosis-launch__lead,
.diagnosis-launch .diagnosis-note,
.diagnosis-launch__button {
    grid-column: 1 / -1;
}

.diagnosis-launch__lead {
    margin-top: 2px;
}

.diagnosis-launch__button {
    justify-self: start;
}

body.has-diagnosis-modal {
    overflow: hidden;
}

.diagnosis-modal[hidden] {
    display: none;
}

.diagnosis-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    align-items: end;
    padding: 12px;
}

.diagnosis-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 22, 21, 0.66);
    backdrop-filter: blur(8px);
}

.diagnosis-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 760px);
    max-height: min(86vh, 880px);
    margin-inline: auto;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.diagnosis-modal__close {
    position: sticky;
    top: 10px;
    left: calc(100% - 52px);
    z-index: 2;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin: 10px 10px -52px auto;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--deep);
    cursor: pointer;
    font: inherit;
    font-size: 1.34rem;
    font-weight: 900;
    line-height: 1;
}

.diagnosis-modal__header {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    align-items: center;
    padding: 18px 18px 14px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(6, 41, 40, 0.94), rgba(15, 118, 112, 0.9)),
        var(--deep);
}

.diagnosis-modal__header img {
    border-radius: var(--radius);
    background: rgba(255, 253, 248, 0.94);
    object-fit: contain;
}

.diagnosis-modal__header h2 {
    font-size: 1.48rem;
}

.diagnosis-modal__header p:last-child {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
    line-height: 1.55;
}

.diagnosis-layout {
    display: grid;
    gap: 26px;
}

.diagnosis-layout__intro {
    display: grid;
    align-content: start;
    gap: 16px;
}

.diagnosis-layout__intro p {
    color: rgba(255, 255, 255, 0.8);
}

.diagnosis-note {
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
}

.diagnosis-panel {
    display: grid;
    gap: 16px;
    padding: 18px;
    border-radius: var(--radius);
    background: #fffdf8;
    color: var(--ink);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.diagnosis-step {
    display: grid;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.diagnosis-step__title {
    color: var(--deep);
    font-weight: 900;
}

.diagnosis-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.diagnosis-options button {
    min-height: 38px;
    padding: 8px 11px;
    border: 1px solid rgba(15, 118, 112, 0.22);
    border-radius: 999px;
    background: #fff;
    color: var(--ink);
    cursor: pointer;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0;
}

.diagnosis-options button.is-selected {
    border-color: var(--coral);
    background: var(--coral);
    color: #fff;
}

.diagnosis-results {
    display: grid;
    gap: 14px;
}

.diagnosis-results h3 {
    font-size: 1.35rem;
}

.diagnosis-result-list {
    display: grid;
    gap: 10px;
}

.diagnosis-empty,
.diagnosis-result {
    padding: 14px;
    border-radius: var(--radius);
    background: var(--soft);
}

.diagnosis-result {
    border: 1px solid rgba(15, 118, 112, 0.16);
}

.diagnosis-result span {
    color: var(--teal);
    font-size: 0.76rem;
    font-weight: 900;
}

.diagnosis-result h4 {
    margin: 4px 0 6px;
    font-size: 1.04rem;
    line-height: 1.25;
}

.diagnosis-result p {
    color: var(--muted);
}

.diagnosis-result--single {
    display: grid;
    gap: 10px;
    background: linear-gradient(180deg, #fff, var(--soft));
}

.diagnosis-result--single .button {
    margin-top: 4px;
}

.diagnosis-result__note {
    padding: 10px;
    border-radius: var(--radius);
    background: #fff;
    font-size: 0.84rem;
}

.latest-articles {
    background: var(--paper);
}

.article-grid {
    display: grid;
    gap: 14px;
}

.article-card {
    display: grid;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 23, 0.1);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 12px 32px rgba(13, 41, 39, 0.08);
}

.article-card__image {
    aspect-ratio: 1.55 / 1;
    overflow: hidden;
    background: var(--deep);
}

.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card__body {
    display: grid;
    gap: 10px;
    padding: 16px;
}

.article-card__date {
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 900;
}

.article-card h3 a:hover,
.article-card h3 a:focus-visible {
    color: var(--teal);
}

.article-card__body > p:not(.article-card__date) {
    color: var(--muted);
}

.article-empty {
    padding: 20px;
    border: 1px dashed rgba(15, 118, 112, 0.32);
    border-radius: var(--radius);
    background: #fff;
}

.article-empty p {
    margin-top: 8px;
    color: var(--muted);
}

.article-more {
    display: grid;
    margin-top: 18px;
}

.match-pages-cta {
    display: grid;
    margin-top: 18px;
}

.site-sort-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: -10px 0 18px;
}

.site-sort-panel label {
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 900;
}

.site-sort-panel select {
    min-height: 42px;
    width: min(100%, 260px);
    padding: 8px 38px 8px 12px;
    border: 1px solid rgba(17, 24, 23, 0.16);
    border-radius: var(--radius);
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 0.92rem;
    font-weight: 900;
}

.section-heading--compact {
    margin-top: 28px;
}

.pack-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(17, 24, 23, 0.1);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.pack-card--site {
    scroll-margin-top: 96px;
}

.pack-card__image,
.pack-card__visual {
    aspect-ratio: 1.32 / 1;
    overflow: hidden;
    background: var(--deep);
}

.pack-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pack-card__visual {
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.pack-card__visual--image {
    background: #fff;
}

.pack-card__visual--image::before {
    display: none;
}

.pack-card__visual--image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pack-card__visual::before {
    content: "";
    position: absolute;
    width: 52%;
    aspect-ratio: 0.72 / 1;
    border: 2px solid rgba(255, 216, 143, 0.9);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(15, 118, 112, 0.95), rgba(238, 101, 92, 0.78)),
        var(--deep);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
    transform: rotate(-7deg);
    z-index: -1;
}

.pack-card__visual span {
    color: #fff;
    font-weight: 900;
}

.pack-card__visual--logo {
    display: grid;
    place-items: center;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(237, 248, 245, 0.96)),
        var(--soft);
}

.pack-card__visual--logo::before {
    display: none;
}

.pack-card__visual--logo img {
    width: min(132px, 72%);
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius);
    filter: drop-shadow(0 12px 20px rgba(13, 41, 39, 0.12));
}

.pack-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
}

.pack-card__body p {
    margin-top: 0;
}

.pack-card__label {
    width: max-content;
    max-width: 100%;
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 4px 8px;
    border-radius: 999px;
    color: var(--deep);
    background: var(--mint);
    font-size: 0.75rem;
    font-weight: 900;
}

.pack-card__specs,
.spec-panel {
    display: grid;
    gap: 1px;
    margin: 2px 0 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: rgba(17, 24, 23, 0.1);
}

.pack-card__specs div,
.spec-panel div {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
}

.pack-card__specs dt,
.spec-panel dt {
    color: var(--muted);
    font-size: 0.86rem;
}

.pack-card__specs dd,
.spec-panel dd {
    margin: 0;
    font-weight: 900;
    text-align: right;
}

.pack-card__status {
    width: max-content;
    max-width: 100%;
    margin: -4px 0 0;
    padding: 5px 9px;
    border: 1px solid rgba(238, 101, 92, 0.34);
    border-radius: 999px;
    color: #b5362f;
    background: rgba(238, 101, 92, 0.1);
    font-size: 0.76rem;
    font-weight: 900;
}

.pack-card__specs--detail div {
    grid-template-columns: 92px minmax(0, 1fr);
}

.pack-card__specs--detail dd {
    text-align: left;
    overflow-wrap: anywhere;
}

.pack-card__notes {
    display: grid;
    gap: 8px;
}

.pack-card__notes p {
    margin: 0;
    padding: 10px 12px;
    border: 1px solid rgba(15, 118, 112, 0.14);
    border-radius: var(--radius);
    background: rgba(237, 248, 245, 0.72);
    color: var(--ink);
    font-size: 0.88rem;
    line-height: 1.7;
}

.pack-card__notes span {
    display: block;
    margin-bottom: 2px;
    color: var(--teal);
    font-size: 0.72rem;
    font-weight: 900;
}

.pack-card__payments {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pack-card__payments span {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(17, 24, 23, 0.06);
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 900;
}

.pack-card__spec-row--payments dd {
    text-align: left;
}

.pack-card__spec-row--payments .pack-card__payments {
    margin: 0;
}

.pack-card__payment-empty {
    color: var(--muted);
    font-size: 0.82rem;
}

.text-link {
    margin-top: auto;
    color: var(--teal);
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 5px;
}

.pack-card__cta {
    margin-top: auto;
}

.genre-hub-section {
    background: var(--paper);
}

.genre-hub-grid,
.glossary-grid {
    display: grid;
    gap: 14px;
}

.genre-hub-grid--front {
    margin-top: 18px;
}

.genre-hub-card,
.term-card,
.focus-guide {
    border: 1px solid rgba(17, 24, 23, 0.1);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 12px 30px rgba(13, 41, 39, 0.08);
}

.genre-hub-card {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
}

.genre-hub-card h3,
.term-card h3 {
    margin: 0;
    line-height: 1.38;
}

.genre-hub-card p,
.term-card p,
.focus-guide p,
.glossary-teaser p {
    color: var(--muted);
    line-height: 1.76;
}

.genre-hub-card ul,
.focus-guide ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 1.1em;
    color: #3d4946;
    font-weight: 800;
}

.genre-hub-card li::marker,
.focus-guide li::marker {
    color: var(--coral);
}

.character-tip {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    align-items: end;
    margin-block: 18px 22px;
}

.character-tip__image {
    align-self: end;
}

.character-tip__image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 14px 18px rgba(13, 41, 39, 0.14));
}

.character-tip__bubble {
    position: relative;
    padding: 16px;
    border: 1px solid rgba(15, 118, 112, 0.16);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 12px 30px rgba(13, 41, 39, 0.08);
}

.character-tip__bubble::before {
    content: "";
    position: absolute;
    left: -8px;
    bottom: 22px;
    width: 16px;
    height: 16px;
    border-left: 1px solid rgba(15, 118, 112, 0.16);
    border-bottom: 1px solid rgba(15, 118, 112, 0.16);
    background: #fff;
    transform: rotate(45deg);
}

.character-tip__name {
    margin: 0 0 6px;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 900;
}

.character-tip__bubble h2 {
    margin: 0;
    font-size: 1.08rem;
}

.character-tip__bubble p:last-child {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.7;
}

.character-tip--ripa .character-tip__name {
    color: var(--coral);
}

.focus-guide {
    display: grid;
    gap: 16px;
    margin-top: 18px;
    padding: 18px;
}

.glossary-teaser__grid {
    display: grid;
    gap: 22px;
}

.glossary-chip-row,
.glossary-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0;
}

.glossary-chip-row span,
.glossary-quick a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 10px;
    border: 1px solid rgba(15, 118, 112, 0.16);
    border-radius: 999px;
    color: var(--teal);
    background: #fff;
    font-size: 0.82rem;
    font-weight: 900;
    text-decoration: none;
}

.glossary-groups {
    display: grid;
    gap: 34px;
    margin-top: 28px;
}

.term-card {
    scroll-margin-top: 104px;
    padding: 18px;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-list details {
    border: 1px solid rgba(15, 118, 112, 0.2);
    border-radius: var(--radius);
    background: #fff;
}

.faq-list summary {
    cursor: pointer;
    padding: 16px;
    font-weight: 900;
}

.faq-list p {
    padding: 0 16px 16px;
    color: var(--muted);
}

.page-header {
    padding-block: 54px 34px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(6, 41, 40, 0.95), rgba(15, 118, 112, 0.92)),
        var(--deep);
}

.page-header p:last-child {
    max-width: 760px;
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.78);
}

.content-section {
    padding-block: 52px;
}

.search-page-form {
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid rgba(17, 24, 23, 0.1);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 10px 30px rgba(13, 41, 39, 0.08);
}

.search-results-grid {
    margin-top: 24px;
}

.search-result-section {
    margin-top: 30px;
}

.search-result-section + .search-result-section {
    margin-top: 46px;
}

.pagination-wrap {
    margin-top: 28px;
}

.pagination-wrap .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.pagination-wrap .page-numbers {
    min-width: 38px;
    min-height: 38px;
    display: inline-grid;
    place-items: center;
    padding: 8px 11px;
    border: 1px solid rgba(15, 118, 112, 0.18);
    border-radius: 999px;
    color: var(--teal);
    background: #fff;
    font-weight: 900;
}

.pagination-wrap .page-numbers.current {
    color: #fff;
    background: var(--teal);
}

.content-narrow {
    max-width: 860px;
    margin-inline: auto;
}

.content-narrow > * + * {
    margin-top: 22px;
}

.article-single {
    max-width: 780px;
}

.article-single__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.article-single__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border: 1px solid rgba(15, 118, 112, 0.18);
    border-radius: 999px;
    color: var(--teal);
    background: var(--soft);
    font-size: 0.82rem;
    font-weight: 900;
}

.article-single__body {
    padding: 22px;
    border: 1px solid rgba(17, 24, 23, 0.08);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 251, 0.98)),
        #fff;
    box-shadow: 0 14px 34px rgba(13, 41, 39, 0.08);
}

.single-post .page-header {
    padding-block: 34px 28px;
}

.single-post .page-header h1 {
    max-width: 860px;
    font-size: 1.82rem;
    line-height: 1.28;
}

.wp-content h2 {
    margin-top: 42px;
    font-size: 1.58rem;
}

.article-single h2 {
    padding-left: 12px;
    border-left: 4px solid var(--coral);
    color: var(--deep);
    font-size: 1.36rem;
    line-height: 1.32;
}

.article-single .character-tip__bubble h2 {
    padding-left: 0;
    border-left: 0;
    font-size: 1.08rem;
}

.wp-content h3 {
    margin-top: 28px;
}

.wp-content p,
.wp-content li {
    color: #3d4946;
}

.article-single p,
.article-single li {
    font-size: 1.04rem;
    line-height: 1.95;
}

.article-single__body > p {
    margin-block: 1.15em;
}

.article-lead {
    margin-bottom: 28px;
    padding: 18px;
    border: 1px solid rgba(15, 118, 112, 0.2);
    border-radius: var(--radius);
    color: var(--deep);
    background:
        linear-gradient(135deg, rgba(223, 245, 239, 0.96), rgba(255, 247, 234, 0.95)),
        var(--soft);
    font-size: 1.1rem;
    font-weight: 850;
    line-height: 1.9;
}

.article-emphasis {
    color: #d74f45;
    font-size: 1.06em;
    font-weight: 900;
}

.article-highlight {
    display: inline;
    padding: 0 0.12em;
    border-radius: 0.2em;
    color: var(--deep);
    background: linear-gradient(transparent 58%, rgba(255, 216, 143, 0.78) 58%);
    font-weight: 900;
}

.article-check-list {
    margin: 24px 0;
    padding: 16px 16px 16px 2.15em;
    border: 1px solid rgba(15, 118, 112, 0.16);
    border-radius: var(--radius);
    background: #f4fbf8;
}

.article-check-list li {
    color: #233331;
    font-weight: 750;
}

.article-check-list li::marker {
    color: var(--coral);
    font-weight: 900;
}

.wp-content ul:not(.article-check-list),
.wp-content ol:not(.article-check-list) {
    padding-left: 1.25em;
}

.wp-content li + li {
    margin-top: 8px;
}

.wp-content a {
    color: var(--teal);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.18em;
}

.article-link-box {
    margin-top: 44px;
    padding: 18px;
    border: 1px solid rgba(15, 118, 112, 0.18);
    border-radius: var(--radius);
    background: var(--soft);
}

.article-link-box h2 {
    margin-top: 0;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
}

.info-table,
.info-table tbody,
.info-table tr,
.info-table th,
.info-table td {
    display: block;
    width: 100%;
}

.info-table th,
.info-table td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.info-table th {
    color: var(--deep);
    background: #eff9f6;
    font-weight: 900;
}

.notice-box {
    padding: 18px;
    border: 1px solid rgba(238, 101, 92, 0.22);
    border-radius: var(--radius);
    background: var(--pink);
}

.single-pack-hero {
    padding-block: 52px;
    color: #fff;
    background: var(--deep);
}

.single-pack-hero__copy {
    display: grid;
    gap: 16px;
}

.single-pack-hero__copy p {
    color: rgba(255, 255, 255, 0.78);
}

.spec-panel {
    background: rgba(255, 255, 255, 0.18);
}

.spec-panel div {
    background: rgba(255, 255, 255, 0.08);
}

.spec-panel dt {
    color: rgba(255, 255, 255, 0.72);
}

.site-footer {
    color: rgba(255, 255, 255, 0.76);
    background: #071817;
}

.site-footer__grid {
    padding-block: 44px;
}

.site-footer__brand {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.site-footer h2 {
    color: #fff;
    font-size: 1rem;
}

.site-brand--footer {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    color: #fff;
}

.site-brand--footer .site-brand__logo {
    width: 100%;
    height: 100%;
    padding: 7px;
    object-fit: contain;
}

.site-footer__brand p {
    margin-top: 14px;
}

.site-footer__brand p {
    margin-top: 0;
}

.footer-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    margin-top: 14px;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer__bottom {
    padding-block: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 700px) {
    h1 {
        font-size: 4.7rem;
    }

    h2 {
        font-size: 2.32rem;
    }

    .container {
        width: min(calc(100% - 48px), var(--container));
    }

    body.admin-bar .site-header {
        top: 0;
    }

    .site-header__inner {
        min-height: 62px;
        gap: 16px;
        padding-block: 7px;
    }

    .site-brand__mark {
        width: 42px;
        height: 42px;
    }

    .site-brand__text {
        font-size: 1.2rem;
    }

    .site-brand__logo {
        width: 190px;
    }

    .site-search-toggle {
        min-height: 46px;
        padding-inline: 18px;
    }

    .site-search-panel {
        padding-inline: 24px;
    }

    .site-search-panel__box {
        margin-top: 96px;
        padding: 30px;
    }

    body.admin-bar .site-search-panel__box {
        margin-top: 128px;
    }

    .site-search-form {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 12px;
    }

    .site-nav__menu {
        justify-content: center;
        gap: 12px;
        overflow: visible;
        font-size: 0.92rem;
    }

    .header-cta {
        min-width: 132px;
        font-size: 0.94rem;
    }

    .button {
        width: auto;
        padding-inline: 20px;
    }

    .hero {
        min-height: 720px;
        align-items: center;
    }

    .hero__media {
        inset: 0;
        height: auto;
    }

    .hero__media img {
        object-fit: cover;
        object-position: center center;
    }

    .hero::after {
        background:
            linear-gradient(90deg, rgba(6, 41, 40, 0.94) 0%, rgba(6, 41, 40, 0.68) 42%, rgba(6, 41, 40, 0.12) 100%),
            linear-gradient(0deg, rgba(6, 41, 40, 0.26), rgba(6, 41, 40, 0));
    }

    .hero__content {
        max-width: 680px;
        padding-block: 86px;
    }

    .hero__lead {
        font-size: 1.2rem;
    }

    .hero__actions {
        display: flex;
        flex-wrap: wrap;
    }

    .quick-rail__scroller {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-flow: initial;
        overflow: visible;
    }

    .section {
        padding-block: 86px;
    }

    .section-heading {
        margin-bottom: 34px;
    }

    .section-heading--split {
        grid-template-columns: 0.9fr 0.85fr;
        align-items: end;
    }

    .mode-grid,
    .pack-grid,
    .genre-hub-grid,
    .glossary-grid,
    .archive-grid,
    .flow-grid,
    .weekly-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .weekly-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .event-archive__heading {
        margin-bottom: 30px;
    }

    .event-archive__rail {
        grid-auto-columns: minmax(260px, calc((100% - 44px) / 3));
        gap: 22px;
    }

    .event-slide {
        min-height: 420px;
    }

    .image-story__grid,
    .safety-story__grid,
    .rio-panel,
    .single-pack-hero__grid {
        grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
        gap: 48px;
        align-items: center;
    }

    .safety-story__grid {
        grid-template-columns: minmax(0, 920px);
        justify-content: center;
    }

    .rio-panel {
        grid-template-columns: minmax(240px, 0.52fr) minmax(0, 1fr);
    }

    .character-tip {
        grid-template-columns: 118px 1fr;
        gap: 18px;
    }

    .focus-guide,
    .glossary-teaser__grid {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
        align-items: center;
    }

    .rio-panel__image {
        max-width: 360px;
    }

    .faq-layout,
    .site-footer__grid {
        grid-template-columns: 0.72fr 1fr;
        gap: 44px;
        align-items: start;
    }

    .diagnosis-layout {
        grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1fr);
        gap: 48px;
        align-items: start;
    }

    .diagnosis-panel {
        padding: 24px;
    }

    .site-footer__grid {
        grid-template-columns: minmax(0, 1fr) minmax(220px, 0.72fr);
    }

    .site-footer__brand {
        grid-template-columns: 112px minmax(0, 1fr);
        gap: 18px;
    }

    .site-brand--footer {
        width: 112px;
        height: 112px;
    }

    .site-footer__brand p {
        margin-top: 0;
    }

    .single-post .page-header {
        padding-block: 44px 34px;
    }

    .single-post .page-header h1 {
        font-size: 2.36rem;
    }

    .article-single__body {
        padding: 34px;
    }

    .article-single h2 {
        font-size: 1.68rem;
    }

    .info-table {
        display: table;
        border-collapse: collapse;
    }

    .info-table tbody {
        display: table-row-group;
    }

    .info-table tr {
        display: table-row;
    }

    .info-table th,
    .info-table td {
        display: table-cell;
        width: auto;
        padding: 16px;
    }

    .info-table th {
        width: 30%;
    }
}

@media (min-width: 1080px) {
    .hero__media img {
        object-position: center right;
    }

    .event-archive__rail {
        grid-auto-columns: minmax(250px, calc((100% - 66px) / 4));
    }

    .image-story__media,
    .safety-story__media {
        max-height: 660px;
    }
}

@media (max-width: 390px) {
    h1 {
        font-size: 3.05rem;
    }

    h2 {
        font-size: 1.72rem;
    }

    .site-header__inner {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (min-width: 700px) {
    .event-card {
        padding: 18px;
    }

    .event-card__banner {
        min-height: 280px;
        padding: 34px;
    }

    .event-card__banner--image {
        min-height: auto;
        padding: 0;
    }

    .event-card__banner h3 {
        max-width: 780px;
        font-size: 3.2rem;
    }

    .event-card__body {
        padding: 18px 4px 4px;
    }

    .event-card__site {
        grid-template-columns: 72px 1fr;
    }

    .event-card__icon {
        width: 72px;
        height: 72px;
        font-size: 1.1rem;
    }

    .button--event {
        width: 100%;
        min-height: 60px;
        border-radius: 999px;
        font-size: 1.08rem;
    }

    .diagnosis-launch__grid {
        grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr);
        gap: 18px 34px;
        align-items: start;
    }

    .diagnosis-launch__rio {
        max-width: 360px;
    }

    .diagnosis-launch__intro h2 {
        font-size: 2.24rem;
    }

    .diagnosis-modal {
        align-items: center;
        padding: 24px;
    }

    .diagnosis-modal__header {
        grid-template-columns: 112px 1fr;
        gap: 20px;
        padding: 24px 64px 22px 24px;
    }

    .diagnosis-modal__header h2 {
        font-size: 2rem;
    }

    .diagnosis-modal .diagnosis-panel {
        border-radius: 0 0 var(--radius) var(--radius);
        box-shadow: none;
    }

    .article-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .article-more {
        justify-content: center;
        margin-top: 28px;
    }

    .match-pages-cta {
        justify-content: center;
        margin-top: 30px;
    }

    .article-empty {
        grid-column: 1 / -1;
    }
}

@media (max-width: 390px) {
    .event-card__banner {
        min-height: 168px;
        padding: 18px 14px;
    }

    .event-card__banner--image {
        min-height: auto;
        padding: 0;
    }

    .event-card__banner h3 {
        font-size: 1.68rem;
    }

    .diagnosis-modal {
        padding: 8px;
    }

    .diagnosis-modal__header {
        grid-template-columns: 92px 1fr;
        padding-inline: 14px;
    }

    .diagnosis-modal__header h2 {
        font-size: 1.28rem;
    }
}
