/*
 * なうとれ検索 | Shared post, home, archive & information shell v1.1.5
 * Namespaced to avoid affecting Lightning's other templates.
 * Breakpoints: wide >= 881px, tablet 641-880px, mobile <= 640px.
 */
:root {
    --th-ink: #171b26;
    --th-text: #343945;
    --th-muted: #7a808c;
    --th-line: #e9eaf0;
    --th-surface: #f7f8fa;
    --th-white: #fff;
    --th-blue: #3286f3;
    --th-purple: #7561f7;
    --th-accent: linear-gradient(116deg, #2c82f0, #8261ed);
    --th-radius: 6px;
    --th-font: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

body:is(.single-post,.home,.th-blog-archive,.th-info-page) {
    margin: 0;
    background: #fff;
    color: var(--th-ink);
    font-family: var(--th-font);
    -webkit-font-smoothing: antialiased;
}
body:is(.single-post,.home,.th-blog-archive,.th-info-page), body:is(.single-post,.home,.th-blog-archive,.th-info-page) button, body:is(.single-post,.home,.th-blog-archive,.th-info-page) input { font-family: var(--th-font); }
body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-header *, body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-page *, body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-footer *,
body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-header *::before, body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-page *::before, body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-footer *::before,
body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-header *::after, body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-page *::after, body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-footer *::after { box-sizing: border-box; }
body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-header svg, body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-page svg, body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-footer svg { width: 20px; height: 20px; flex: none; }
body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-header a, body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-page a, body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-footer a { text-decoration: none; }
body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-header a:hover, body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-page a:hover, body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-footer a:hover { text-decoration: none; }
body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-header button, body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-page button, body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-footer button { cursor: pointer; }
body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-header [hidden], body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-page [hidden], body:is(.single-post,.home,.th-blog-archive,.th-info-page) .th-footer [hidden] { display: none !important; }
body:is(.single-post,.home,.th-blog-archive,.th-info-page) :is(.th-header,.th-page,.th-footer) :focus-visible { outline: 3px solid #3179df; outline-offset: 3px; border-radius: 3px; }
.th-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; clip-path: inset(50%) !important; }
.th-container { width: 100%; max-width: 1280px; margin-inline: auto; padding-left: 40px; padding-right: 40px; }

/* Header: same visual rhythm as the supplied reference. */
.th-header { position: sticky; top: 0; z-index: 200; background: rgba(255,255,255,.97); border-bottom: 1px solid #ececf0; box-shadow: 0 1px 12px rgba(15,23,42,.025); backdrop-filter: blur(12px); }
.admin-bar .th-header { top: 32px; }
.th-header__inner { height: 62px; display: flex; align-items: center; gap: 0; }
.th-header .th-brand { display: inline-flex; align-items: baseline; flex: none; white-space: nowrap; font-family: var(--th-font); font-size: 25px; line-height: 1.18; font-weight: 850; letter-spacing: -.055em; }
.th-brand__primary { color: #1a1e2a; }
.th-brand__accent { margin-left: 2px; color: #7162ec; background: var(--th-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.th-header__tagline { margin: 2px 0 0 17px; white-space: nowrap; font-size: 10px; color: #777b85; letter-spacing: .025em; }
.th-nav { margin-left: auto; min-width: 0; }
.th-nav__list { list-style: none; display: flex; align-items: center; justify-content: flex-end; flex-wrap: nowrap; gap: 0; margin: 0; padding: 0; }
.th-nav__list li { padding: 0; margin: 0; list-style: none; }
.th-nav__list li + li { margin-left: clamp(10px, 1.35vw, 22px); }
.th-nav__list a { display: block; padding: 20px 0; font-size: 11px; color: #171b26; font-weight: 700; white-space: nowrap; transition: color .2s ease; }
.th-nav__list a:hover, .th-nav__list .current-menu-item > a { color: #7059e9; }
.th-header__actions { margin-left: clamp(14px, 2vw, 28px); display: flex; align-items: center; flex: none; gap: 16px; }
.th-icon-button { background: transparent; border: 0; padding: 5px; color: #111722; line-height: 0; border-radius: 4px; }
.th-icon-button svg { width: 24px !important; height: 24px !important; }
.th-menu-toggle { display: none; }
.th-menu-toggle__close { display: none; }
.th-header__search { border-top: 1px solid var(--th-line); background: #fff; box-shadow: 0 14px 25px rgba(19,25,36,.06); }
.th-search-form { display: flex; align-items: center; gap: 10px; padding-top: 14px; padding-bottom: 14px; }
.th-search-form input { width: 100%; min-width: 0; height: 42px; padding: 10px 15px; border: 1px solid #dfe1e8; border-radius: 7px; background: #fff; color: var(--th-ink); font-size: 14px; }
.th-search-form button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; border: 0; background: #232832; color: #fff; padding: 11px 18px; border-radius: 7px; font-weight: 700; font-size: 12px; }
.th-search-form button svg { width: 16px !important; height: 16px !important; }

/* Page + breadcrumb. */
.th-page { padding: 0 0 100px; background: #fff; }
.th-breadcrumb { padding-block: 18px 21px; font-size: 11px; color: #878c96; }
.th-breadcrumb__list { display: flex; align-items: center; min-width: 0; gap: 9px; list-style: none; margin: 0; padding: 0; }
.th-breadcrumb__list li { min-width: 0; white-space: nowrap; }
.th-breadcrumb a { display: inline-flex; align-items: center; gap: 7px; color: #818792; }
.th-breadcrumb a:hover { color: #7162ed; }
.th-breadcrumb__list svg { width: 13px !important; height: 13px !important; }
.th-breadcrumb__divider { display: inline-flex; color: #a4a8b1; }
.th-breadcrumb__current { overflow: hidden; text-overflow: ellipsis; color: #9398a2; }
.th-layout { display: grid; grid-template-columns: minmax(0,1fr) 268px; gap: 26px; align-items: start; }
.th-article-column { min-width: 0; }
.th-article { min-width: 0; }

/* Feature hero. */
.th-hero { display: block; width: 100%; aspect-ratio: 1.82 / 1; border-radius: 5px; margin: 0 0 20px; position: relative; overflow: hidden; isolation: isolate; background: #edf0f3; }
.th-hero__image { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.th-hero__placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: 12%; gap: 16px; background: radial-gradient(circle at 65% 35%, #f5e9d4, transparent 38%), linear-gradient(125deg,#d9e8f0,#e1ebdd 55%,#d8c8b7); color: #283745; }
.th-hero__placeholder span { font-size: clamp(30px, 6vw, 62px); font-weight: 800; letter-spacing: -.06em; }
.th-hero__placeholder small { font-size: 15px; }
.th-hero--overlay::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg,rgba(250,250,251,.9) 0%, rgba(250,250,251,.74) 24%,rgba(250,250,251,.05) 67%); }
.th-hero__copy { position: absolute; z-index: 2; top: 50%; left: 8.8%; max-width: 42%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; color: #111827; }
.th-hero__kicker { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(24px,3.7vw,46px); line-height: 1.15; letter-spacing: -.015em; white-space: pre-line; overflow-wrap: anywhere; }
.th-hero__caption { font-size: clamp(12px,1.4vw,15px); line-height: 1.5; font-weight: 700; white-space: pre-line; }

/* Story heading + sharing controls. */
.th-article__meta { display: flex; align-items: center; gap: 13px; color: #858b96; font-size: 12px; }
.th-category-badge { background: var(--th-accent); color: #fff !important; padding: 4px 10px; border-radius: 4px; line-height: 1.35; font-size: 11px; font-weight: 700; letter-spacing: .015em; }
.th-article__meta time, .th-article__updated { border-left: 1px solid #d7dae0; padding-left: 11px; }
.th-article__title { color: #161b26; margin: 17px 0 16px; padding: 0; font-size: clamp(27px,2.7vw,34px); font-weight: 850; line-height: 1.43; letter-spacing: -.045em; overflow-wrap: anywhere; background: none; border: 0; }
.th-article__lead { margin: 0 0 18px; color: #454a55; font-size: 14px; line-height: 2.05; white-space: pre-line; }
.th-share-row { display: flex; justify-content: flex-end; align-items: center; margin: 18px 0 24px; min-height: 32px; }
.th-share { display: flex; align-items: center; gap: 8px; }
.th-share__label { padding-right: 6px; white-space: nowrap; font-size: 10px; color: #747986; }
.th-share__item { display: inline-flex; align-items: center; justify-content: center; width: 29px; height: 29px; padding: 0; border: none; border-radius: 50%; font-size: 12px; font-weight: 800; line-height: 1; transition: transform .2s ease,box-shadow .2s ease; }
.th-share__item:hover { transform: translateY(-2px); box-shadow: 0 3px 10px rgba(19,23,31,.15); }
.th-share__item--x { background: #0b0b0e; color: #fff !important; font-size: 14px; font-weight: 450; }
.th-share__item--facebook { background: #1779cf; color: #fff !important; font-family: Arial,sans-serif; font-size: 20px; }
.th-share__item--line { background: #27bd56; color: #fff !important; font-family: Arial,sans-serif; font-size: 7px; letter-spacing: -.5px; }
.th-share__item--copy { background: #f1f2f5; color: #222; }
.th-share__item--copy svg { width: 15px !important; height: 15px !important; }

/* Key points editorial callout. */
.th-keypoints { margin: 25px 0 43px; padding: 22px 28px 22px; border: 1px solid #f1f2f5; border-radius: 6px; background: linear-gradient(145deg,#f5f6f8,#f7f7f9); }
.th-keypoints__title { display: flex; align-items: center; gap: 12px; margin: 0 0 15px; font-size: 15px; line-height: 1.3; font-weight: 800; border: 0; background: none; }
.th-keypoints__bulb { display: inline-flex; align-items: center; justify-content: center; color: #2376e7; }
.th-keypoints__bulb svg { width: 25px !important; height: 25px !important; }
.th-keypoints__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.th-keypoints__list li { display: flex; align-items: flex-start; gap: 12px; margin: 0; color: #303641; line-height: 1.65; font-size: 13px; }
.th-keypoints__list svg { margin-top: 2px; width: 17px !important; height: 17px !important; color: #1681ef; }

/* WordPress editor content. */
.th-article__body { color: #3f444e; font-size: 15px; line-height: 2.05; overflow-wrap: anywhere; min-width: 0; }
.th-article__body > * { max-width: 100%; }
.th-article__body > :first-child { margin-top: 0; }
.th-article__body p { margin-top: 0; margin-bottom: 1.55em; font-size: inherit; line-height: inherit; }
.th-article__body :is(h2,h3,h4,h5,h6) { clear: both; color: #1b202a; font-weight: 800; line-height: 1.45; letter-spacing: -.035em; overflow-wrap: anywhere; }
.th-article__body h2 { margin: 48px 0 19px; padding: 2px 0 2px 13px; border: 0; border-left: 5px solid #7064fa; background: none; font-size: clamp(22px,2.4vw,27px); }
.th-article__body h3 { margin: 40px 0 18px; font-size: clamp(19px,2vw,23px); }
.th-article__body h4 { margin: 35px 0 16px; font-size: 18px; }
.th-article__body h5, .th-article__body h6 { margin: 30px 0 12px; font-size: 16px; }
.th-article__body :is(ul,ol) { padding-left: 1.65em; margin: 0 0 1.7em; }
.th-article__body li { margin: .35em 0; }
.th-article__body a { color: #336de4; text-decoration: underline !important; text-underline-offset: .2em; }
.th-article__body a:hover { color: #5d4ad6; }
.th-article__body :is(img,video,iframe) { max-width: 100%; }
.th-article__body img { height: auto; }
.th-article__body figure { margin: 28px 0; }
.th-article__body .wp-block-image img, .th-article__body .wp-block-cover { border-radius: 5px; }
.th-article__body figcaption { margin-top: 9px; text-align: center; color: #858a96; font-size: 12px; line-height: 1.6; }
.th-article__body blockquote { margin: 32px 0; padding: 19px 23px; border-left: 4px solid #7162ea; background: #f7f7fc; border-radius: 2px 6px 6px 2px; }
.th-article__body blockquote p:last-child { margin-bottom: 0; }
.th-article__body :is(pre,code) { overflow-wrap: normal; }
.th-article__body pre { max-width: 100%; overflow-x: auto; padding: 18px; border-radius: 5px; background: #202532; color: #f2f5fc; }
.th-article__body :is(table,.wp-block-table) { max-width: 100%; }
.th-article__body table { display: block; overflow-x: auto; white-space: nowrap; border-collapse: collapse; margin: 24px 0; }
.th-article__body td, .th-article__body th { padding: 12px 15px; border: 1px solid #e3e5ec; }
.th-article__body th { background: #f6f7fa; }
.th-article__body .alignwide, .th-article__body .alignfull { max-width: 100%; width: 100%; margin-inline: 0; }
.th-article__body .wp-block-gallery { max-width: 100%; }
.th-pagination { display: flex; justify-content: center; gap: 9px; margin-block: 35px; }

/* Article tail. */
.th-article__tags { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 38px 0 0; padding-top: 22px; border-top: 1px solid var(--th-line); }
.th-article__tags-title { color: var(--th-muted); font-size: 11px; padding-right: 10px; }
.th-article__tags a { padding: 7px 10px; color: #545b69; background: #f1f2f5; border-radius: 30px; font-size: 11px; }
.th-article__tags a:hover { color: #604bea; background: #ebe7ff; }
.th-related { margin-top: 60px; }
.th-section-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.th-section-heading__line { width: 4px; height: 24px; border-radius: 2px; background: var(--th-accent); }
.th-section-heading h2 { margin: 0; font-size: 22px; line-height: 1.4; font-weight: 800; }
.th-related__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.th-related__card { min-width: 0; color: #202530; }
.th-related__image { display: block; aspect-ratio: 1.6; overflow: hidden; border-radius: 5px; background: #f3f4f6; }
.th-related__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.th-related__card:hover img { transform: scale(1.04); }
.th-related__title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 9px 0 5px; font-size: 12px; line-height: 1.55; font-weight: 800; }
.th-related__card time { color: #858c99; font-size: 10px; }
.th-image-fallback { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: linear-gradient(135deg,#d4e4e8,#e8e2f3); color: #525c75; font-size: 11px; font-weight: 900; letter-spacing: .02em; }
.th-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 45px; padding-top: 26px; border-top: 1px solid var(--th-line); }
.th-post-nav__item { min-width: 0; }
.th-post-nav__item--next { text-align: right; }
.th-post-nav__item a { display: grid; gap: 5px; color: #323945; }
.th-post-nav__item a:hover { color: #6e5be6; }
.th-post-nav__item small { color: #7e8794; font-size: 11px; }
.th-post-nav__item span { font-size: 12px; line-height: 1.65; font-weight: 700; }

/* Sidebar. */
.th-sidebar { display: grid; gap: 24px; min-width: 0; }
.th-sidebar-card { min-width: 0; background: linear-gradient(145deg,#fafafb,#f7f8fa); border: 1px solid #f1f1f4; border-radius: 6px; padding: 17px 14px 18px; box-shadow: 0 2px 10px rgba(17,23,34,.015); }
.th-sidebar-card__title { margin: 0 0 16px; padding: 0; font-size: 16px; font-weight: 800; color: #191e29; line-height: 1.45; border: none; background: none; }
.th-ranking__tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 16px; background: #eff0f4; border-radius: 11px; padding: 2px; }
.th-ranking__tab { display: block; padding: 7px 2px; border-radius: 8px; text-align: center; color: #5d6472; font-size: 11px; font-weight: 700; transition: background .2s,color .2s; }
.th-ranking__tab[aria-selected="true"] { background: #e0e6f8; color: #222a3c; box-shadow: 0 1px 2px rgba(38,45,70,.04); }
.th-ranking__list { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0; }
.th-ranking__list li { margin: 0; padding: 0; }
.th-ranking__link { display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 11px; align-items: center; color: #171b24; }
.th-ranking__thumb { position: relative; display: block; aspect-ratio: 1.25; border-radius: 5px; background: #e7e9ef; }
.th-ranking__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.th-ranking__number { position: absolute; top: 3px; left: 3px; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 4px; background: rgba(19,24,33,.72); color: #fff; font-size: 11px; font-weight: 900; box-shadow: 0 1px 5px rgba(0,0,0,.15); }
.th-ranking__list li:first-child .th-ranking__number { background: #efca0a; color: #202126; }
.th-ranking__list li:nth-child(2) .th-ranking__number { background: #c6ccd6; color: #272d38; }
.th-ranking__list li:nth-child(3) .th-ranking__number { background: #bba48d; color: #1d2229; }
.th-ranking__name { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 12px; line-height: 1.55; font-weight: 750; overflow-wrap: anywhere; }
.th-ranking__link:hover .th-ranking__name { color: #6757ea; }
.th-ranking__empty { margin: 14px 0; color: #767c88; font-size: 12px; line-height: 1.7; }
.th-promo { display: block; position: relative; aspect-ratio: 1.8; width: 100%; overflow: hidden; border-radius: 5px; background: linear-gradient(120deg,#4d9bbe,#1c567e); }
.th-promo > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.th-promo:hover > img { transform: scale(1.05); }
.th-promo__shade { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(4,17,33,.88),rgba(6,21,35,0) 70%); }
.th-promo__caption { position: absolute; left: 15px; right: 48px; bottom: 12px; display: grid; gap: 4px; color: #fff; }
.th-promo__caption small { font-size: 10px; letter-spacing: .1em; opacity: .87; }
.th-promo__caption strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; line-height: 1.42; color: #fff; font-weight: 800; }
.th-promo__arrow { position: absolute; right: 12px; bottom: 12px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #fff; color: #2779f1; }
.th-promo__arrow svg { width: 15px !important; height: 15px !important; }
.th-tags__hash { font-weight: 900; padding-right: 4px; }
.th-tags__list { display: flex; flex-wrap: wrap; gap: 7px; }
.th-tags__list a { display: inline-flex; align-items: center; padding: 8px 10px; border-radius: 24px; background: #eff0f3; color: #454b57; font-size: 11px; white-space: nowrap; }
.th-tags__list a:hover { color: #6755e6; background: #e9e6fa; }
.th-sidebar-related { min-width: 0; }
.th-sidebar-related h2 { position: relative; margin: 0 0 15px; padding: 0 0 0 14px; border: 0; color: #1b1e26; font-weight: 800; font-size: 15px; line-height: 1.45; }
.th-sidebar-related h2::before { position: absolute; left: 0; top: 2px; bottom: 2px; width: 3px; background: #171b25; content: ''; }
.th-sidebar-related__list { display: grid; gap: 12px; }
.th-sidebar-related__link { display: grid; grid-template-columns: 96px minmax(0,1fr); gap: 11px; align-items: start; color: #242934; }
.th-sidebar-related__link:hover strong { color: #6556e7; }
.th-sidebar-related__image { display: block; aspect-ratio: 1.38; border-radius: 5px; overflow: hidden; background: #ebeef1; }
.th-sidebar-related__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.th-sidebar-related__content { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.th-sidebar-related__content strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 11px; line-height: 1.6; font-weight: 700; color: #2c313e; }
.th-sidebar-related__content time { font-size: 10px; color: #9196a0; }
.th-newsletter { padding: 18px 16px; }
.th-newsletter__heading { display: flex; align-items: center; gap: 11px; margin-bottom: 13px; }
.th-newsletter__icon { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #edf3ff; color: #3978f5; }
.th-newsletter__icon svg { width: 23px !important; height: 23px !important; }
.th-newsletter h2 { font-size: 15px; line-height: 1.5; margin: 0; padding: 0; color: #1a1e27; font-weight: 800; border: 0; }
.th-newsletter p { margin: 0 0 15px; font-size: 12px; line-height: 1.8; color: #5d6470; }
.th-newsletter__rss { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 40px; border-radius: 40px; background: #24262b; color: #fff !important; font-size: 11px; font-weight: 800; }
.th-newsletter__rss svg { width: 15px !important; height: 15px !important; }
.th-newsletter__widget input:is([type="email"],[type="text"]) { width: 100%; min-width: 0; padding: 9px 13px; border-radius: 26px; border: 1px solid #d7dae2; background: #fff; font-size: 12px; }
.th-newsletter__widget :is(button,input[type="submit"]) { display: block; width: 100%; padding: 11px 14px; border: 0; border-radius: 26px; background: #25262a; color: #fff; font-size: 12px; font-weight: 700; }
.th-newsletter__widget :is(label,.screen-reader-text) { font-size: 11px; }

/* Subtle magazine footer. */
.th-footer { padding-block: 38px; border-top: 1px solid #edf0f4; background: #f8f9fb; }
.th-footer__inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; }
.th-footer .th-brand { display: inline-flex; align-items: baseline; font-family: var(--th-font); font-size: 24px; font-weight: 850; letter-spacing: -.055em; }
.th-footer p { color: #838995; font-size: 12px; margin: 12px 0 0; }
.th-footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; max-width: 350px; justify-content: flex-end; }
.th-footer__links a { color: #535a68; font-size: 11px; }
.th-footer__links small { color: #8b919d; font-size: 10px; }

.th-footer__identity { flex: 0 0 auto; }
.th-footer__links { max-width: none; }
.th-footer__menu { display: flex; list-style: none; align-items: center; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; }
.th-footer__menu li { padding: 0; margin: 0; list-style: none; }
.th-footer__end { display: flex; gap: 17px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.th-footer__end small { color: #89919e; font-size: 10px; }
.th-footer__socials { display: inline-flex; align-items: center; gap: 13px; }
.th-footer__socials a { display: inline-flex; align-items: center; justify-content: center; color: #222938; }
.th-footer__socials svg { width: 17px !important; height: 17px !important; }


@media (max-width: 990px) {
    .th-header__tagline { display: none; }
    .th-header__actions { margin-left: 17px; }
    .th-nav__list { gap: 14px; }
}
@media (max-width: 880px) {
    .th-container { padding-left: 24px; padding-right: 24px; }
    .th-header__inner { height: 61px; }
    .th-header .th-brand { font-size: 25px; }
    .th-header__actions { margin-left: auto; }
    .th-menu-toggle { display: block; }
    .th-menu-toggle.is-open .th-menu-toggle__open { display: none; }
    .th-menu-toggle.is-open .th-menu-toggle__close { display: inline-flex; }
    .th-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 60px); overflow-y: auto; z-index: 210; margin: 0; padding: 8px 24px 19px; background: #fff; border-bottom: 1px solid var(--th-line); box-shadow: 0 14px 25px rgba(16,22,32,.08); }
    .th-nav.is-open { display: block; }
    .th-nav__list { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .th-nav__list li { border-bottom: 1px solid #f0f1f4; }
    .th-nav__list li + li { margin-left: 0; }
    .th-nav__list a { display: block; font-size: 14px; padding: 14px 6px; }
    .th-layout { grid-template-columns: minmax(0,1fr); gap: 42px; }
    .th-sidebar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 20px; }
    .th-ranking { grid-row: span 2; }
    .th-sidebar-related { grid-column: span 2; }
    .th-sidebar-related__list { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
    .th-sidebar-related__link { display: block; }
    .th-sidebar-related__image { width: 100%; aspect-ratio: 1.7; margin-bottom: 8px; }
    .th-hero { aspect-ratio: 1.75; }
}
@media (max-width: 640px) {
    .th-container { padding-left: 18px; padding-right: 18px; }
    .th-header__inner { height: 58px; }
    .th-header .th-brand { font-size: 23px; }
    .th-header__actions { gap: 10px; }
    .th-nav { padding-left: 18px; padding-right: 18px; }
    .admin-bar .th-header { top: 46px; }
    .th-breadcrumb { padding-block: 13px 15px; font-size: 10px; }
    .th-breadcrumb__list { gap: 5px; }
    .th-breadcrumb__current { display: none; }
    .th-breadcrumb__divider:last-of-type { display: none; }
    .th-page { padding-bottom: 65px; }
    .th-layout { gap: 40px; }
    .th-hero { aspect-ratio: 1.42; margin-bottom: 18px; }
    .th-hero__copy { left: 7%; max-width: 57%; gap: 8px; }
    .th-hero__kicker { font-size: 26px; }
    .th-hero__caption { font-size: 11px; }
    .th-article__meta { gap: 9px; font-size: 11px; flex-wrap: wrap; }
    .th-article__title { font-size: clamp(24px,6vw,30px); line-height: 1.5; margin-block: 16px; }
    .th-article__lead { font-size: 13px; line-height: 1.95; }
    .th-share { margin-left: auto; }
    .th-keypoints { padding: 18px 16px; margin: 20px 0 37px; }
    .th-keypoints__title { font-size: 14px; }
    .th-keypoints__list li { font-size: 12px; }
    .th-article__body { font-size: 14px; line-height: 1.95; }
    .th-article__body h2 { font-size: 22px; margin-top: 40px; }
    .th-article__body h3 { font-size: 19px; }
    .th-related__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .th-related__card:nth-child(n+3) { display: none; }
    .th-sidebar { grid-template-columns: minmax(0,1fr); }
    .th-ranking { grid-row: auto; }
    .th-ranking__link { grid-template-columns: 75px minmax(0,1fr); }
    .th-ranking__name { font-size: 13px; }
    .th-sidebar-related { grid-column: auto; }
    .th-sidebar-related__list { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
    .th-sidebar-related__link { display: grid; grid-template-columns: 92px minmax(0,1fr); }
    .th-sidebar-related__image { margin-bottom: 0; }
    .th-promo { aspect-ratio: 2.2; }
    .th-footer { padding-block: 27px; }
    .th-footer__inner { flex-direction: column; gap: 22px; }
    .th-footer__end { justify-content: flex-start; }
    .th-footer__links { justify-content: flex-start; }
}
@media (max-width: 370px) {
    .th-brand { letter-spacing: -1.4px; }
    .th-search-form { flex-wrap: wrap; }
    .th-search-form button { width: 100%; }
    .th-related__grid { gap: 10px; }
}
/* Fit the default navigation without hiding the site logo at laptop widths. */
@media (min-width: 881px) and (max-width: 1199px) {
    .th-header__tagline { display: none; }
    .th-nav__list { gap: 0; }
    .th-nav__list li + li { margin-left: clamp(8px, 1vw, 14px); }
}
@media (prefers-reduced-motion: reduce) {
    .th-header *, .th-page *, .th-footer * { scroll-behavior: auto !important; transition: none !important; }
}
