:root {
  --tn-red: #173a49;
  --tn-red-dark: #132f3b;
  --tn-ink: #17191d;
  --tn-text: #262a30;
  --tn-muted: #6b7280;
  --tn-line: #e7e9ed;
  --tn-soft: #f5f6f8;
  --tn-paper: #ffffff;
  --tn-link: #2a4c5e;
  --tn-max: 1180px;
  --tn-radius: 8px;
  --tn-shadow: 0 8px 26px rgba(40,72,88,.08);
}

html { scroll-behavior: smooth; }
body.tabikichi-site { margin: 0; color: var(--tn-text); background: var(--tn-soft); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif; line-height: 1.72; -webkit-font-smoothing: antialiased; }
body.tabikichi-site *, body.tabikichi-site *::before, body.tabikichi-site *::after { box-sizing: border-box; }
body.tabikichi-site img { max-width: 100%; height: auto; }
body.tabikichi-site a { color: inherit; text-decoration: none; }
body.tabikichi-site a:hover { color: var(--tn-red); }
body.tabikichi-site button, body.tabikichi-site input { font: inherit; }
body.tabikichi-site .l-container, body.tabikichi-site #content, body.tabikichi-site .c-gnav, body.tabikichi-site .l-header, body.tabikichi-site .l-footer { max-width: none; }

.tn-shell { width: min(calc(100% - 32px), var(--tn-max)); margin-inline: auto; }
.tn-skip-link { position: fixed; left: 12px; top: -60px; z-index: 99999; padding: 10px 14px; background: #111111; color: #ffffff !important; border-radius: 6px; }
.tn-skip-link:focus { top: 12px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.tn-header { position: relative; z-index: 100; background: var(--tn-paper); border-bottom: 1px solid var(--tn-line); }
.tn-utility { background: #202328; color: #d9dde4; font-size: 12px; }
.tn-utility__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.tn-utility p { margin: 0; }
.tn-utility__links { display: flex; gap: 16px; }
.tn-utility a:hover { color: #ffffff; }

.tn-brandbar__inner { min-height: 88px; display: grid; grid-template-columns: minmax(220px, 1fr) minmax(360px, 520px) auto; gap: 24px; align-items: center; }
.tn-brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; }
.tn-brand__mark { display: grid; place-items: center; width: 43px; height: 43px; border-radius: 11px 3px 11px 3px; color: #ffffff; background: linear-gradient(145deg, var(--tn-red), #205065); font-size: 28px; font-weight: 900; line-height: 1; transform: skew(-5deg); box-shadow: 0 6px 14px rgba(23,58,73,.2); }
.tn-brand__text { display: grid; line-height: 1; gap: 5px; }
.tn-brand__text strong { color: #121419; font-size: clamp(26px, 3vw, 36px); font-weight: 900; letter-spacing: -.055em; }
.tn-brand__text small { color: #89909a; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.tn-brand__logo .custom-logo-link { display: block; }
.tn-brand__logo img { display: block; max-width: 260px; max-height: 64px; width: auto; height: auto; }

.tn-search { display: flex; min-width: 0; height: 46px; border: 2px solid #252a30; border-radius: 7px; overflow: hidden; background: #ffffff; }
.tn-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 15px; color: var(--tn-text); background: #ffffff; }
.tn-search input::placeholder { color: #9aa0aa; }
.tn-search button { display: flex; align-items: center; justify-content: center; gap: 6px; width: 92px; border: 0; color: #ffffff; background: #252a30; cursor: pointer; font-size: 13px; font-weight: 700; }
.tn-search button:hover { background: #111318; }
.tn-menu-button { display: none; }

.tn-nav { border-top: 1px solid var(--tn-line); background: #ffffff; box-shadow: 0 3px 10px rgba(0,0,0,.025); }
.tn-nav__scroll { overflow-x: auto; scrollbar-width: none; }
.tn-nav__scroll::-webkit-scrollbar { display: none; }
.tn-nav__list { display: flex; align-items: stretch; gap: 0; min-width: max-content; margin: 0; padding: 0; list-style: none; }
.tn-nav__list > li { margin: 0; }
.tn-nav__list a { position: relative; display: flex; align-items: center; min-height: 48px; padding: 0 19px; color: #363b42; font-size: 14px; font-weight: 800; }
.tn-nav__list a::after { content: ""; position: absolute; left: 19px; right: 19px; bottom: -1px; height: 3px; background: var(--tn-red); transform: scaleX(0); transition: transform .2s ease; }
.tn-nav__list a:hover::after, .tn-nav__list .current-menu-item > a::after { transform: scaleX(1); }
.tn-mobile-panel { display: none; }

.tn-main { min-height: 70vh; padding: 24px 0 60px; }
.tn-page-intro { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin: 0 0 18px; padding: 24px 28px; border: 1px solid var(--tn-line); background: #ffffff; border-radius: var(--tn-radius); }
.tn-eyebrow { margin: 0 0 7px; color: var(--tn-red); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.tn-page-intro h1 { margin: 0; color: #15171b; font-size: clamp(28px, 4vw, 42px); line-height: 1.2; letter-spacing: -.04em; }
.tn-page-intro p:not(.tn-eyebrow) { max-width: 780px; margin: 8px 0 0; color: var(--tn-muted); font-size: 14px; }
.tn-live-pill { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid #f5f0e6; background: #fcfaf7; color: #163745; border-radius: 999px; font-size: 11px; font-weight: 800; }
.tn-live-pill span { width: 7px; height: 7px; border-radius: 50%; background: var(--tn-red); box-shadow: 0 0 0 4px rgba(23,58,73,.1); }

.tn-hero-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .75fr) minmax(0, .75fr); gap: 12px; }
.tn-hero-card, .tn-mini-card { overflow: hidden; background: #ffffff; border: 1px solid var(--tn-line); border-radius: var(--tn-radius); }
.tn-hero-card--lead { grid-row: span 2; display: flex; flex-direction: column; }
.tn-hero-card__media, .tn-mini-card__media { display: block; overflow: hidden; background: #e8eaed; }
.tn-hero-card__media { aspect-ratio: 16 / 9; }
.tn-mini-card__media { aspect-ratio: 16 / 8.4; }
.tn-media__image, .tn-hero-card__media img, .tn-mini-card__media img, .tn-category-lead__media img, .tn-link-card__thumb img, .tn-archive-card__media img, .tn-related-card__media img, .tn-rank-item__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.tn-hero-card__media:hover img, .tn-mini-card__media:hover img, .tn-category-lead__media:hover img, .tn-archive-card__media:hover img, .tn-related-card__media:hover img { transform: scale(1.025); }
.tn-noimage { display: grid; place-items: center; width: 100%; height: 100%; min-height: 100px; color: #aab0b9; background: linear-gradient(135deg,#f0f1f3,#e4e7eb); font-size: 18px; font-weight: 900; letter-spacing: .12em; }
.tn-hero-card__body { padding: 17px 19px 20px; }
.tn-hero-card__body h2 { margin: 8px 0 8px; color: #17191d; font-size: clamp(21px, 2.3vw, 28px); line-height: 1.42; letter-spacing: -.025em; }
.tn-hero-card__body p { margin: 0; color: var(--tn-muted); font-size: 13px; line-height: 1.75; }
.tn-mini-card { display: flex; flex-direction: column; }
.tn-mini-card__body { padding: 11px 12px 13px; }
.tn-mini-card__body h3 { margin: 7px 0 0; font-size: 15px; line-height: 1.48; letter-spacing: -.015em; }
.tn-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; color: #8a9099; font-size: 11px; }
.tn-badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 3px; color: #ffffff !important; background: var(--tn-red); font-size: 10px; line-height: 1; font-weight: 800; }
.tn-badge:hover { background: var(--tn-red-dark); }

.tn-empty-hero { padding: 52px 34px; border: 1px solid var(--tn-line); background: #ffffff; border-radius: var(--tn-radius); text-align: center; }
.tn-empty-hero h2 { margin: 4px 0 8px; font-size: 28px; }
.tn-empty-hero p { margin: 0 auto 20px; max-width: 650px; color: var(--tn-muted); }
.tn-empty-hero a, .tn-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 5px; background: var(--tn-red); color: #ffffff !important; font-weight: 800; }

.tn-quicknav-wrap { display: flex; align-items: stretch; margin: 18px 0 22px; border: 1px solid #d9dde3; background: #ffffff; border-radius: var(--tn-radius); overflow: hidden; }
.tn-quicknav__label { flex: 0 0 auto; display: flex; align-items: center; margin: 0; padding: 0 16px; color: #ffffff; background: #262a30; font-size: 12px; font-weight: 800; }
.tn-quicknav { display: flex; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.tn-quicknav::-webkit-scrollbar { display: none; }
.tn-quicknav a { flex: 0 0 auto; display: flex; align-items: center; min-height: 46px; padding: 0 17px; border-right: 1px solid var(--tn-line); color: #3f444b; font-size: 12px; font-weight: 700; }
.tn-quicknav a:hover { color: var(--tn-red); background: #fdfcf9; }

.tn-content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 22px; align-items: start; }
.tn-content-main { min-width: 0; }
.tn-section { scroll-margin-top: 70px; margin-bottom: 22px; padding: 22px; border: 1px solid var(--tn-line); background: #ffffff; border-radius: var(--tn-radius); }
.tn-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: -2px 0 16px; padding-bottom: 12px; border-bottom: 3px solid #2c3036; }
.tn-section-heading > div { min-width: 0; }
.tn-section-heading h2 { position: relative; margin: 0; color: #17191d; font-size: 22px; line-height: 1.35; letter-spacing: -.025em; }
.tn-section-heading h2::after { content: ""; position: absolute; left: 0; bottom: -15px; width: 68px; height: 3px; background: var(--tn-red); }
.tn-section-heading p { margin: 4px 0 0; color: var(--tn-muted); font-size: 11px; }
.tn-section-more { flex: 0 0 auto; color: #5b616a; font-size: 11px; font-weight: 800; }
.tn-section-more span { color: var(--tn-red); }

.tn-update-list { border: 1px solid var(--tn-line); border-radius: 5px; overflow: hidden; }
.tn-update-item { display: grid; grid-template-columns: 86px 80px minmax(0, 1fr); align-items: center; min-height: 48px; border-bottom: 1px solid var(--tn-line); }
.tn-update-item:last-child { border-bottom: 0; }
.tn-update-item > time { padding: 0 10px; color: #777e88; font-size: 11px; }
.tn-update-item .tn-badge { justify-self: start; }
.tn-update-item h3 { min-width: 0; margin: 0; padding: 10px 12px 10px 0; font-size: 13px; line-height: 1.45; }
.tn-update-item h3 a::before { content: "›"; margin-right: 6px; color: var(--tn-red); font-weight: 900; }

.tn-category-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 14px 18px; }
.tn-category-lead { grid-row: span 4; padding-right: 18px; border-right: 1px solid var(--tn-line); }
.tn-category-lead__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 5px; background: #e9ebef; }
.tn-category-lead__body { padding-top: 11px; }
.tn-category-lead__body h3 { margin: 6px 0; font-size: 19px; line-height: 1.45; }
.tn-category-lead__body p { margin: 0; color: var(--tn-muted); font-size: 12px; }
.tn-link-card { display: grid; grid-template-columns: 106px minmax(0, 1fr); gap: 11px; align-items: center; min-height: 76px; padding-bottom: 12px; border-bottom: 1px solid var(--tn-line); }
.tn-link-card:last-child { border-bottom: 0; padding-bottom: 0; }
.tn-link-card__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: #e9ebef; }
.tn-link-card time { color: #90959d; font-size: 10px; }
.tn-link-card h3 { margin: 3px 0 0; font-size: 13px; line-height: 1.42; }

.tn-sidebar { min-width: 0; }
.tn-sidebar__sticky { position: sticky; top: 18px; display: grid; gap: 16px; }
.tn-widget { overflow: hidden; margin: 0; border: 1px solid var(--tn-line); background: #ffffff; border-radius: var(--tn-radius); }
.tn-widget__title { margin: 0; padding: 13px 15px; border-top: 3px solid #252a30; border-bottom: 1px solid var(--tn-line); color: #202328; background: #fbfbfc; font-size: 15px; line-height: 1.3; }
.tn-widget__title::before { content: ""; display: inline-block; width: 4px; height: 14px; margin-right: 8px; vertical-align: -2px; border-radius: 99px; background: var(--tn-red); }
.tn-rank-list { margin: 0; padding: 4px 14px 7px; list-style: none; counter-reset: rank; }
.tn-rank-item { position: relative; padding: 10px 0; border-bottom: 1px solid var(--tn-line); display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 10px; align-items: center; }
.tn-rank-item:last-child { border-bottom: 0; }
.tn-rank-item > a { display: block; }
.tn-rank-item__number { position: absolute; z-index: 2; left: -4px; top: 6px; display: grid; place-items: center; width: 23px; height: 23px; color: #ffffff; background: #22262c; border: 2px solid #ffffff; border-radius: 50%; font-size: 10px; font-weight: 900; }
.tn-rank-item:nth-child(1) .tn-rank-item__number { background: var(--tn-red); }
.tn-rank-item__thumb { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #e9ebef; border-radius: 4px; }
.tn-rank-item__title { font-size: 12px; font-weight: 700; line-height: 1.45; }
.tn-category-links { display: grid; grid-template-columns: 1fr 1fr; padding: 8px 14px 12px; }
.tn-category-links a { display: flex; justify-content: space-between; gap: 5px; padding: 8px 4px; border-bottom: 1px dotted #d7dbe1; font-size: 11px; }
.tn-category-links b { color: #a1a6ad; font-size: 10px; }
.tn-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 13px 14px 15px; }
.tn-tags a { padding: 5px 7px; border: 1px solid #e0e3e7; background: #fdfcf9; border-radius: 3px; color: #656b74; font-size: 10px; }

.tn-breadcrumb { margin: 0 0 14px; color: #8a9098; font-size: 10px; }
.tn-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0; margin: 0; padding: 0; list-style: none; }
.tn-breadcrumb li:not(:last-child)::after { content: ">"; margin: 0 8px; color: #b3b7bd; }
.tn-breadcrumb li[aria-current="page"] { color: #676d75; }

.tn-content-grid--article { grid-template-columns: minmax(0, 1fr) 300px; }
.tn-article { overflow: hidden; border: 1px solid var(--tn-line); background: #ffffff; border-radius: var(--tn-radius); }
.tn-article__header { padding: 26px 30px 0; }
.tn-article__header > .tn-badge { margin-bottom: 10px; }
.tn-article__header h1 { margin: 0; color: #17191d; font-size: clamp(25px, 3.5vw, 36px); line-height: 1.42; letter-spacing: -.035em; }
.tn-article__meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 11px 0 20px; color: #858b94; font-size: 10px; }
.tn-article__hero { overflow: hidden; margin: 0 -30px; background: #eceef1; }
.tn-article__hero img { display: block; width: 100%; max-height: 590px; object-fit: cover; }
.tn-article__content { padding: 28px 34px 40px; font-size: 16px; line-height: 1.92; }
.tn-article__content > *:first-child { margin-top: 0; }
.tn-article__content p { margin: 0 0 1.6em; }
.tn-article__content h2 { position: relative; margin: 2.3em 0 .9em; padding: 14px 16px 14px 19px; border-left: 5px solid var(--tn-red); background: #f2f3f5; color: #181b20; font-size: 24px; line-height: 1.45; }
.tn-article__content h3 { margin: 2em 0 .8em; padding-bottom: 9px; border-bottom: 2px solid #333840; color: #1c1f24; font-size: 20px; line-height: 1.45; }
.tn-article__content h3::after { content: ""; display: block; width: 54px; height: 2px; margin-bottom: -11px; background: var(--tn-red); transform: translateY(9px); }
.tn-article__content h4 { margin: 1.8em 0 .7em; font-size: 17px; }
.tn-article__content a { color: var(--tn-link); text-decoration: underline; text-underline-offset: 3px; }
.tn-article__content table { width: 100%; margin: 1.5em 0; border-collapse: collapse; font-size: 14px; }
.tn-article__content th, .tn-article__content td { padding: 10px 12px; border: 1px solid #dfe2e6; vertical-align: top; }
.tn-article__content th { background: #f3f4f6; text-align: left; }
.tn-article__content blockquote { margin: 1.6em 0; padding: 16px 18px; border-left: 4px solid #aeb4bc; background: #f7f8f9; color: #555c65; }
.tn-article__content ul, .tn-article__content ol { padding-left: 1.5em; }
.tn-article__content .wp-block-image img { border-radius: 5px; }
.tn-article__tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 34px 32px; padding-top: 18px; border-top: 1px solid var(--tn-line); }
.tn-article__tags span { margin-right: 4px; color: #6f757d; font-size: 11px; font-weight: 800; }
.tn-article__tags a { padding: 4px 7px; border: 1px solid var(--tn-line); border-radius: 3px; color: #6e747c; font-size: 10px; }

.tn-related { margin-top: 22px; }
.tn-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.tn-related-card { overflow: hidden; border: 1px solid var(--tn-line); border-radius: 5px; }
.tn-related-card__media { display: block; aspect-ratio: 16/9; overflow: hidden; background: #e9ebef; }
.tn-related-card > div { padding: 10px 11px 12px; }
.tn-related-card h3 { margin: 6px 0 0; font-size: 13px; line-height: 1.45; }

.tn-archive-header { margin-bottom: 18px; padding: 22px 24px; border: 1px solid var(--tn-line); background: #ffffff; border-radius: var(--tn-radius); }
.tn-archive-header h1 { margin: 0; color: #17191d; font-size: clamp(27px, 4vw, 38px); line-height: 1.3; }
.tn-archive-header p, .tn-archive-description { margin: 7px 0 0; color: var(--tn-muted); font-size: 13px; }
.tn-archive-list { display: grid; gap: 12px; }
.tn-archive-card { display: grid; grid-template-columns: 250px minmax(0,1fr); min-height: 150px; overflow: hidden; border: 1px solid var(--tn-line); background: #ffffff; border-radius: var(--tn-radius); }
.tn-archive-card__media { display: block; min-height: 100%; overflow: hidden; background: #e9ebef; }
.tn-archive-card__body { padding: 17px 19px; }
.tn-archive-card__body h2 { margin: 7px 0; font-size: 19px; line-height: 1.45; }
.tn-archive-card__body p { margin: 0; color: var(--tn-muted); font-size: 12px; }
.tn-pagination { margin-top: 20px; }
.tn-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.tn-pagination .page-numbers { display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid #dadde2; background: #ffffff; border-radius: 4px; font-size: 12px; }
.tn-pagination .current { color: #ffffff; border-color: var(--tn-red); background: var(--tn-red); }
.tn-empty-note { padding: 22px; border: 1px dashed #d4d8de; background: #fbfbfc; color: var(--tn-muted); border-radius: 5px; font-size: 13px; }

.tn-page-body { max-width: 920px; margin-inline: auto; }
.tn-page-article .tn-article__header { padding-bottom: 20px; border-bottom: 1px solid var(--tn-line); }
.tn-comments { margin-top: 22px; padding: 22px; border: 1px solid var(--tn-line); background: #ffffff; border-radius: var(--tn-radius); }
.tn-comments h2 { margin-top: 0; font-size: 18px; }
.tn-comments .comment-list { padding-left: 0; list-style: none; }
.tn-comments .comment-body { margin-bottom: 12px; padding: 14px; background: #fbf9f6; border-radius: 5px; }

.tn-notfound { max-width: 720px; margin: 70px auto; padding: 48px 34px; border: 1px solid var(--tn-line); background: #ffffff; border-radius: var(--tn-radius); text-align: center; }
.tn-notfound__code { margin: 0; color: var(--tn-red); font-size: 72px; font-weight: 900; line-height: 1; }
.tn-notfound h1 { margin: 10px 0; }
.tn-notfound form { display: flex; gap: 8px; max-width: 480px; margin: 22px auto 15px; }
.tn-notfound input[type="search"] { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid #cfd3d8; border-radius: 4px; }
.tn-notfound input[type="submit"], .tn-notfound button { padding: 0 15px; border: 0; background: #24282e; color: #ffffff; border-radius: 4px; }

.tn-footer { margin-top: 0; padding: 36px 0 20px; color: #cfd3d8; background: #202328; }
.tn-footer__top { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: start; padding-bottom: 26px; }
.tn-brand--footer .tn-brand__text strong { color: #ffffff; }
.tn-brand--footer .tn-brand__text small { color: #8f969f; }
.tn-footer__description { max-width: 560px; margin: 12px 0 0; color: #aeb4bc; font-size: 12px; }
.tn-footer__nav ul { display: flex; flex-wrap: wrap; gap: 16px; margin: 8px 0 0; padding: 0; list-style: none; }
.tn-footer__nav a { color: #d8dce2; font-size: 11px; }
.tn-footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 17px; border-top: 1px solid #34383e; color: #858c95; font-size: 10px; }
.tn-footer__bottom a { color: #b5bbc3; }

@media (max-width: 980px) {
  .tn-brandbar__inner { grid-template-columns: 1fr minmax(280px, 430px); }
  .tn-menu-button { display: none; }
  .tn-hero-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .tn-hero-card--lead { grid-row: span 2; }
  .tn-mini-card:nth-of-type(n+4) { display: none; }
  .tn-content-grid, .tn-content-grid--article { grid-template-columns: minmax(0, 1fr) 270px; gap: 16px; }
  .tn-category-grid { grid-template-columns: minmax(0, 1fr); }
  .tn-category-lead { grid-row: auto; padding-right: 0; padding-bottom: 15px; border-right: 0; border-bottom: 1px solid var(--tn-line); }
}

@media (max-width: 760px) {
  .tn-shell { width: min(calc(100% - 20px), var(--tn-max)); }
  .tn-utility { display: none; }
  /* Smartphone header: hide the desktop horizontal global navigation.
     The same links are available from the hamburger panel instead. */
  .tn-nav { display: none; }
  .tn-brandbar__inner { min-height: 66px; grid-template-columns: 1fr auto; gap: 12px; }
  .tn-brand__mark { width: 36px; height: 36px; font-size: 23px; }
  .tn-brand__text strong { font-size: 25px; }
  .tn-brand__text small { font-size: 7px; }
  .tn-brand__logo img { max-width: 190px; max-height: 46px; }
  .tn-search { display: none; }
  .tn-menu-button { display: grid; width: 42px; height: 44px; padding: 7px 8px 5px; border: 0; background: transparent; cursor: pointer; }
  .tn-menu-button span { display: block; width: 24px; height: 2px; margin: 2px auto; background: #252a30; transition: .2s; }
  .tn-menu-button b { color: #60666e; font-size: 7px; letter-spacing: .08em; }
  .tn-nav__list a { min-height: 43px; padding: 0 13px; font-size: 12px; }
  .tn-nav__list a::after { left: 13px; right: 13px; }
  .tn-mobile-panel { display: block; position: absolute; inset: auto 0 0; transform: translateY(100%); border-top: 1px solid var(--tn-line); background: #ffffff; box-shadow: 0 16px 25px rgba(0,0,0,.12); }
  .tn-mobile-panel[hidden] { display: none; }
  .tn-mobile-panel__inner { width: min(calc(100% - 24px), 720px); margin: 0 auto; padding: 14px 0 18px; }
  .tn-mobile-search { display: flex; margin-bottom: 12px; border: 1px solid #cfd4da; border-radius: 5px; overflow: hidden; }
  .tn-mobile-search input { flex: 1; min-width: 0; padding: 10px 11px; border: 0; outline: 0; }
  .tn-mobile-search button { width: 60px; border: 0; background: #24282e; color: #ffffff; font-size: 11px; font-weight: 800; }
  .tn-mobile-panel__nav, .tn-mobile-panel .tn-nav__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; padding: 0; background: var(--tn-line); list-style: none; }
  .tn-mobile-panel__nav a, .tn-mobile-panel .tn-nav__list a { display: flex; align-items: center; min-height: 42px; padding: 8px 11px; background: #ffffff; font-size: 12px; font-weight: 700; }

  .tn-main { padding: 13px 0 40px; }
  .tn-page-intro { align-items: flex-start; margin-bottom: 10px; padding: 17px 16px; }
  .tn-page-intro h1 { font-size: 27px; }
  .tn-page-intro p:not(.tn-eyebrow) { font-size: 12px; line-height: 1.65; }
  .tn-live-pill { display: none; }
  .tn-hero-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tn-hero-card--lead { grid-column: 1 / -1; grid-row: auto; }
  .tn-hero-card__body { padding: 13px 14px 15px; }
  .tn-hero-card__body h2 { font-size: 21px; }
  .tn-hero-card__body p { display: none; }
  .tn-mini-card:nth-of-type(n+4) { display: flex; }
  .tn-mini-card__body { padding: 8px 9px 10px; }
  .tn-mini-card__body h3 { font-size: 12px; }
  .tn-mini-card .tn-meta-row time { display: none; }
  .tn-badge { min-height: 20px; padding: 0 6px; font-size: 9px; }
  .tn-quicknav-wrap { margin: 10px 0 14px; }
  .tn-quicknav__label { display: none; }
  .tn-quicknav a { min-height: 42px; padding: 0 13px; font-size: 11px; }
  .tn-content-grid, .tn-content-grid--article { grid-template-columns: 1fr; }
  .tn-sidebar { display: block; }
  .tn-sidebar__sticky { position: static; }
  .tn-section { margin-bottom: 14px; padding: 15px 13px; }
  .tn-section-heading { align-items: center; margin-bottom: 12px; padding-bottom: 10px; }
  .tn-section-heading h2 { font-size: 19px; }
  .tn-section-heading h2::after { bottom: -13px; width: 52px; }
  .tn-section-heading p { display: none; }
  .tn-update-item { grid-template-columns: 67px minmax(0,1fr); padding: 8px 0; }
  .tn-update-item > time { grid-column: 1; grid-row: 1; padding-left: 8px; }
  .tn-update-item .tn-badge { grid-column: 1; grid-row: 2; justify-self: start; margin-left: 8px; }
  .tn-update-item h3 { grid-column: 2; grid-row: 1 / span 2; padding: 6px 10px 6px 0; font-size: 12px; }
  .tn-category-grid { gap: 11px; }
  .tn-category-lead__body h3 { font-size: 17px; }
  .tn-link-card { grid-template-columns: 94px minmax(0,1fr); }
  .tn-widget { border-radius: 6px; }
  .tn-category-links { grid-template-columns: 1fr 1fr; }
  .tn-breadcrumb { margin-bottom: 9px; overflow: hidden; white-space: nowrap; }
  .tn-article__header { padding: 20px 17px 0; }
  .tn-article__header h1 { font-size: 24px; }
  .tn-article__meta { gap: 8px; }
  .tn-article__hero { margin: 0 -17px; }
  .tn-article__content { padding: 22px 18px 30px; font-size: 15px; line-height: 1.9; }
  .tn-article__content h2 { margin-top: 2em; padding: 12px 12px 12px 14px; font-size: 20px; }
  .tn-article__content h3 { font-size: 18px; }
  .tn-article__tags { margin: 0 18px 25px; }
  .tn-related-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .tn-archive-card { grid-template-columns: 122px minmax(0,1fr); min-height: 102px; }
  .tn-archive-card__body { padding: 10px 11px; }
  .tn-archive-card__body h2 { margin: 5px 0 0; font-size: 14px; }
  .tn-archive-card__body p { display: none; }
  .tn-archive-card .tn-meta-row { gap: 5px; }
  .tn-archive-card .tn-badge { font-size: 8px; }
  .tn-footer { padding-top: 28px; }
  .tn-footer__top { grid-template-columns: 1fr; gap: 16px; }
  .tn-footer__nav ul { gap: 10px 14px; }
  .tn-footer__bottom { align-items: center; }
}

@media (max-width: 420px) {
  .tn-hero-grid { grid-template-columns: 1fr 1fr; }
  .tn-mini-card__media { aspect-ratio: 16 / 9; }
  .tn-mini-card__body h3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .tn-related-grid { grid-template-columns: 1fr; }
  .tn-category-links { grid-template-columns: 1fr; }
}

/* v1.1.0: editorial transparency / AdSense review readiness */
.tn-sources { margin: 0 34px 24px; padding: 20px 22px; border: 1px solid var(--tn-line); border-radius: 6px; background: #f8f9fa; }
.tn-sources h2 { margin: 0 0 6px; color: #20242a; font-size: 17px; }
.tn-sources p { margin: 0 0 10px; color: #6a717a; font-size: 12px; }
.tn-sources ul { margin: 0; padding-left: 1.3em; }
.tn-sources li { margin: 6px 0; font-size: 13px; line-height: 1.6; }
.tn-sources a { color: var(--tn-link); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.tn-author-box { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 15px; align-items: start; margin: 0 34px 24px; padding: 18px 20px; border-top: 3px solid #2b3036; background: #f5f6f7; }
.tn-author-box__avatar img { display: block; width: 64px; height: 64px; border-radius: 50%; }
.tn-author-box__label { margin: 0 0 2px; color: #777e87; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.tn-author-box__name { margin: 0; color: #20242a; font-size: 15px; font-weight: 800; }
.tn-author-box__bio { margin: 7px 0 0; color: #555c65; font-size: 12px; line-height: 1.75; }
.tn-author-box__links { margin: 7px 0 0; font-size: 11px; }
.tn-author-box__links a { color: var(--tn-link); text-decoration: underline; text-underline-offset: 3px; }
.tn-contact-card { margin: 18px 0; padding: 18px 20px; border: 1px solid var(--tn-line); border-radius: 6px; background: #f7f8f9; }
.tn-contact-card p { margin: 0 0 6px; }
.tn-contact-card p:last-child { margin-bottom: 0; }

@media (max-width: 760px) {
  .tn-sources { margin: 0 18px 20px; padding: 16px; }
  .tn-author-box { grid-template-columns: 50px minmax(0,1fr); gap: 12px; margin: 0 18px 22px; padding: 15px; }
  .tn-author-box__avatar img { width: 50px; height: 50px; }
}


/* =========================================================
   v1.2.0 — Bright / colorful visual refresh
   ========================================================= */
:root {
  --tn-red: #1f4d61;
  --tn-red-dark: #194050;
  --tn-pink: #23586f;
  --tn-orange: #caab72;
  --tn-yellow: #caab72;
  --tn-purple: #357b82;
  --tn-blue: #447b97;
  --tn-cyan: #4c877f;
  --tn-green: #4d8880;
  --tn-ink: #284858;
  --tn-text: #284858;
  --tn-muted: #68748a;
  --tn-line: #f5f0e6;
  --tn-soft: #fdfcf9;
  --tn-paper: #ffffff;
  --tn-link: #366279;
  --tn-radius: 14px;
  --tn-shadow: 0 12px 34px rgba(30,68,73,.10);
}

body.tabikichi-site {
  background:
    radial-gradient(circle at 8% 2%, rgba(35,88,111,.11), transparent 23rem),
    radial-gradient(circle at 92% 5%, rgba(68,123,151,.11), transparent 24rem),
    linear-gradient(180deg, #ffffff 0, #faf9ff 220px, #fdfcf9 100%);
  color: var(--tn-text);
}

.tn-header {
  border-bottom-color: #f6f2e9;
  box-shadow: 0 4px 22px rgba(30,68,72,.06);
}
.tn-utility {
  color: #ffffff;
  background: linear-gradient(100deg, #1f4d61 0%, #22556c 31%, #357b82 67%, #447b97 100%);
}
.tn-utility a { color: rgba(255,255,255,.93); }
.tn-utility a:hover { color: #eae3d4; }
.tn-brandbar { background: rgba(255,255,255,.94); }
.tn-brand__mark {
  border-radius: 14px 5px 14px 5px;
  background: linear-gradient(145deg, #1f4d61 0%, #23586f 45%, #357b82 100%);
  box-shadow: 0 8px 18px rgba(31,77,97,.28);
}
.tn-brand__text strong { color: #284858; }
.tn-brand__text small {
  color: #357b82;
  background: linear-gradient(90deg, #1f4d61, #357b82, #447b97);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.tn-search {
  border-color: #47819e;
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(53,123,130,.10);
}
.tn-search:focus-within { box-shadow: 0 0 0 4px rgba(53,123,130,.12), 0 8px 20px rgba(53,123,130,.12); }
.tn-search button {
  background: linear-gradient(135deg, #357b82, #47819e 55%, #447b97);
}
.tn-search button:hover { background: linear-gradient(135deg, #32747b, #47819e 55%, #3b6b83); }
.tn-nav { border-top-color: #f8f4ed; }
.tn-nav__list a { color: #284858; }
.tn-nav__list > li:nth-child(5n+1) a::after { background: #1f4d61; }
.tn-nav__list > li:nth-child(5n+2) a::after { background: #caab72; }
.tn-nav__list > li:nth-child(5n+3) a::after { background: #4d8880; }
.tn-nav__list > li:nth-child(5n+4) a::after { background: #447b97; }
.tn-nav__list > li:nth-child(5n+5) a::after { background: #357b82; }

.tn-main { padding-top: 28px; }
.tn-page-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(53,123,130,.13);
  background:
    linear-gradient(112deg, rgba(249,247,242,.98) 0%, rgba(246,242,234,.98) 37%, rgba(250,248,244,.98) 72%, rgba(249,247,242,.98) 100%);
  box-shadow: var(--tn-shadow);
}
.tn-page-intro::before,
.tn-page-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(1px);
  opacity: .65;
}
.tn-page-intro::before { width: 190px; height: 190px; right: 14%; top: -118px; background: rgba(35,88,111,.18); }
.tn-page-intro::after { width: 150px; height: 150px; right: -35px; bottom: -86px; background: rgba(68,123,151,.18); }
.tn-eyebrow {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, #1f4d61, #caab72, #357b82);
  letter-spacing: .12em;
}
.tn-page-intro h1 {
  color: #284858;
  text-shadow: 0 1px 0 #ffffff;
}
.tn-live-pill {
  border-color: rgba(31,77,97,.18);
  color: #183d4c;
  background: rgba(255,255,255,.78);
  box-shadow: 0 5px 16px rgba(31,77,97,.10);
}

.tn-hero-card, .tn-mini-card {
  border-color: rgba(53,123,130,.12);
  border-radius: 15px;
  box-shadow: 0 10px 28px rgba(30,68,72,.09);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tn-hero-card:hover, .tn-mini-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 34px rgba(30,68,72,.14);
}
.tn-hero-card--lead { position: relative; }
.tn-hero-card--lead::before {
  content: "";
  position: absolute;
  z-index: 4;
  left: 0;
  right: 0;
  top: 0;
  height: 5px;
  background: linear-gradient(90deg, #1f4d61, #caab72, #caab72, #4d8880, #447b97, #357b82);
}
.tn-noimage {
  color: rgba(255,255,255,.94);
  background:
    radial-gradient(circle at 22% 28%, rgba(255,255,255,.24), transparent 20%),
    radial-gradient(circle at 76% 70%, rgba(255,255,255,.18), transparent 22%),
    linear-gradient(135deg, #235970 0%, #caab72 30%, #caab72 52%, #47819e 74%, #357b82 100%);
  text-shadow: 0 2px 8px rgba(30,68,72,.22);
  letter-spacing: .16em;
}
.tn-badge {
  border-radius: 999px;
  background: linear-gradient(135deg, #1f4d61, #23586f);
  box-shadow: 0 4px 10px rgba(31,77,97,.16);
}
.tn-badge:hover { background: linear-gradient(135deg, #194050, #1f4d61); }

/* Make sparse new sites look intentional instead of leaving a large blank grid. */
.tn-hero-grid--count-1 { grid-template-columns: 1fr; }
.tn-hero-grid--count-1 .tn-hero-card--lead {
  grid-column: 1 / -1;
  grid-row: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, .75fr);
  min-height: 320px;
}
.tn-hero-grid--count-1 .tn-hero-card__media { aspect-ratio: auto; min-height: 320px; }
.tn-hero-grid--count-1 .tn-hero-card__body { display: flex; flex-direction: column; justify-content: center; padding: 28px 30px; }
.tn-hero-grid--count-2 { grid-template-columns: minmax(0,1.55fr) minmax(280px,.75fr); }
.tn-hero-grid--count-2 .tn-hero-card--lead { grid-row: auto; }
.tn-hero-grid--count-3 { grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); }

.tn-quicknav-wrap {
  border-color: rgba(53,123,130,.13);
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(30,68,72,.06);
}
.tn-quicknav__label { background: linear-gradient(135deg, #1f4d61, #357b82); }
.tn-quicknav a { border-right-color: #f7f3ec; }
.tn-quicknav a:nth-child(6n+1):hover { color: #193e4f; background: #fbf9f4; }
.tn-quicknav a:nth-child(6n+2):hover { color: #b99146; background: #f9f6ef; }
.tn-quicknav a:nth-child(6n+3):hover { color: #335b56; background: #faf7f2; }
.tn-quicknav a:nth-child(6n+4):hover { color: #315a6e; background: #faf7f2; }
.tn-quicknav a:nth-child(6n+5):hover { color: #2d696f; background: #faf8f4; }
.tn-quicknav a:nth-child(6n+6):hover { color: #1b4456; background: #fbf9f4; }

.tn-section {
  position: relative;
  overflow: hidden;
  border-color: rgba(53,123,130,.12);
  border-radius: 15px;
  box-shadow: 0 10px 28px rgba(40,72,88,.075);
}
.tn-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1f4d61, #caab72, #357b82, #447b97);
}
.tn-content-main > .tn-section:nth-of-type(3n+2)::before { background: linear-gradient(90deg, #447b97, #4c877f, #4d8880); }
.tn-content-main > .tn-section:nth-of-type(3n+3)::before { background: linear-gradient(90deg, #357b82, #357b82, #23586f); }
.tn-section-heading { border-bottom-color: #f6f2ea; }
.tn-section-heading h2 { color: #284858; }
.tn-section-heading h2::after { border-radius: 99px; background: linear-gradient(90deg, #1f4d61, #caab72); }
.tn-section-more {
  padding: 5px 9px;
  border-radius: 999px;
  color: #447b97;
  background: #fbf9f4;
}
.tn-section-more span { color: #1f4d61; }

.tn-update-list { border-color: #f6f2ea; border-radius: 10px; }
.tn-update-item { transition: background .15s ease; }
.tn-update-item:hover { background: linear-gradient(90deg, #f9f7f2 0%, #ffffff 50%, #fbf9f6 100%); }
.tn-update-item h3 a::before { color: #357b82; }

.tn-category-lead__media, .tn-link-card__thumb, .tn-rank-item__thumb { border-radius: 9px; }
.tn-category-lead__media, .tn-link-card__thumb { box-shadow: 0 5px 14px rgba(30,68,72,.08); }

.tn-widget {
  border-color: rgba(53,123,130,.12);
  border-radius: 15px;
  box-shadow: 0 9px 26px rgba(40,72,88,.075);
}
.tn-widget__title {
  position: relative;
  border-top: 0;
  border-bottom-color: #f6f2ea;
  color: #284858;
  background: linear-gradient(100deg, #fbf9f5 0%, #f8f5ef 48%, #fbf9f5 100%);
}
.tn-widget__title::before { background: linear-gradient(180deg, #1f4d61, #357b82); }
.tn-rank-item__number { box-shadow: 0 3px 8px rgba(40,72,88,.18); }
.tn-rank-item:nth-child(1) .tn-rank-item__number { background: linear-gradient(135deg, #bf9b58, #c4a365); }
.tn-rank-item:nth-child(2) .tn-rank-item__number { background: linear-gradient(135deg, #47819e, #667085); }
.tn-rank-item:nth-child(3) .tn-rank-item__number { background: linear-gradient(135deg, #c19e5d, #b99146); }
.tn-rank-item:nth-child(4) .tn-rank-item__number { background: linear-gradient(135deg, #357b82, #357b82); }
.tn-rank-item:nth-child(5) .tn-rank-item__number { background: linear-gradient(135deg, #447b97, #3f738d); }
.tn-category-links a:hover { color: #317178; background: #fcfbf9; }
.tn-category-links b {
  min-width: 22px;
  padding: 1px 6px;
  border-radius: 999px;
  color: #306f76;
  background: #faf7f2;
  text-align: center;
}
.tn-tags a {
  border-color: transparent;
  border-radius: 999px;
  color: #417690;
  background: #fbf9f4;
}
.tn-tags a:nth-child(4n+2) { color: #1b4456; background: #fbf9f4; }
.tn-tags a:nth-child(4n+3) { color: #335b56; background: #faf7f2; }
.tn-tags a:nth-child(4n+4) { color: #31586c; background: #faf7f2; }

.tn-article, .tn-archive-card, .tn-archive-header, .tn-comments, .tn-notfound {
  border-color: rgba(53,123,130,.12);
  border-radius: 15px;
  box-shadow: 0 10px 28px rgba(40,72,88,.075);
}
.tn-article__content h2 {
  border-left-color: #1f4d61;
  background: linear-gradient(100deg, #fbf9f4, #f9f6f0 55%, #fbf9f5);
}
.tn-article__content h3 { border-bottom-color: #f5f0e6; }
.tn-article__content h3::after { background: linear-gradient(90deg, #357b82, #447b97); }
.tn-pagination .current { border-color: transparent; background: linear-gradient(135deg, #1f4d61, #357b82); }
.tn-empty-note { border-color: #f5f0e6; background: linear-gradient(100deg, #fcfaf7, #fcfbf9); }

.tn-sources { border-color: #f5f0e6; background: linear-gradient(105deg, #faf9ff, #fcfaf7); }
.tn-author-box { border-top-color: #357b82; background: linear-gradient(105deg, #fcfbf8, #fcfaf7); }
.tn-contact-card { border-color: #f5f0e6; background: linear-gradient(105deg, #fcfaf7, #fcfaf7); }

.tn-footer {
  color: #f5f0e6;
  background:
    radial-gradient(circle at 15% 10%, rgba(35,88,111,.14), transparent 26rem),
    radial-gradient(circle at 90% 20%, rgba(68,123,151,.15), transparent 24rem),
    linear-gradient(115deg, #284858 0%, #1e4448 55%, #284858 100%);
}
.tn-footer__description { color: #47819e; }
.tn-footer__bottom { border-top-color: rgba(255,255,255,.12); color: #47819e; }
.tn-footer__bottom a, .tn-footer__nav a { color: #f5f0e6; }

@media (max-width: 980px) and (min-width: 761px) {
  .tn-hero-grid--count-1 .tn-hero-card--lead { grid-template-columns: minmax(0,1.25fr) minmax(280px,.75fr); }
}

@media (max-width: 760px) {
  body.tabikichi-site {
    background:
      radial-gradient(circle at 0 0, rgba(35,88,111,.10), transparent 13rem),
      radial-gradient(circle at 100% 5%, rgba(68,123,151,.10), transparent 14rem),
      #f8f9ff;
  }
  .tn-brandbar { background: #ffffff; }
  .tn-menu-button { border-radius: 10px; background: #fbf9f5; }
  .tn-menu-button span { background: #306e75; }
  .tn-mobile-panel { border-top-color: #f7f3ea; background: #ffffff; }
  .tn-mobile-search { border-color: #eae2d2; }
  .tn-mobile-search button { background: linear-gradient(135deg, #357b82, #447b97); }
  .tn-page-intro { border-radius: 13px; }
  .tn-page-intro::before { width: 120px; height: 120px; top: -80px; right: 5%; }
  .tn-page-intro::after { width: 100px; height: 100px; right: -40px; bottom: -55px; }
  .tn-eyebrow { padding: 3px 8px; }
  .tn-hero-grid--count-1 .tn-hero-card--lead,
  .tn-hero-grid--count-2 .tn-hero-card--lead,
  .tn-hero-grid--count-3 .tn-hero-card--lead {
    display: flex;
    grid-column: 1 / -1;
    min-height: 0;
  }
  .tn-hero-grid--count-1 .tn-hero-card__media { min-height: 0; aspect-ratio: 16 / 9; }
  .tn-hero-grid--count-1 .tn-hero-card__body { display: block; padding: 13px 14px 15px; }
  .tn-quicknav-wrap, .tn-section, .tn-widget, .tn-article, .tn-archive-card, .tn-archive-header { border-radius: 12px; }
  .tn-widget__title { background: linear-gradient(100deg, #fbf9f6, #fbf9f6); }
}

/* =========================================================
   v1.3.0 — Dedicated single-article experience
   ========================================================= */
body.single-post.tabikichi-site { --tn-article-width: 820px; }
.tn-single-main { padding-top: 18px; }
.tn-reading-progress { position: fixed; z-index: 9998; left: 0; right: 0; top: 0; height: 4px; pointer-events: none; background: transparent; }
.tn-reading-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg,#1f4d61,#caab72,#caab72,#4d8880,#447b97,#357b82); box-shadow: 0 1px 7px rgba(53,123,130,.24); }

.single-post .tn-content-grid--article { grid-template-columns: minmax(0, 1fr) 310px; gap: 24px; }
.single-post .tn-article--news { position: relative; overflow: hidden; border: 1px solid rgba(53,123,130,.13); background: #ffffff; box-shadow: 0 16px 42px rgba(30,68,72,.10); }
.single-post .tn-article--news::before { content:""; position:absolute; inset:0 0 auto; height:6px; z-index:2; background:linear-gradient(90deg,#1f4d61,#caab72,#caab72,#4d8880,#447b97,#357b82); }
.single-post .tn-article__header { padding: 34px 40px 0; background: radial-gradient(circle at 100% 0,rgba(53,123,130,.09),transparent 23rem),linear-gradient(180deg,#ffffff 0,#fffdfd 100%); }
.single-post .tn-article__kicker { display:flex; align-items:center; flex-wrap:wrap; gap:9px; margin-bottom:13px; }
.single-post .tn-article__kicker .tn-badge { min-height:25px; padding:0 11px; font-size:10px; }
.single-post .tn-article__type { color:#2c656b; font-size:10px; font-weight:900; letter-spacing:.13em; }
.single-post .tn-article__header h1 { max-width: 920px; color:#284858; font-size:clamp(30px,3.5vw,44px); line-height:1.38; letter-spacing:-.045em; }
.single-post .tn-article__lead { max-width:850px; margin:15px 0 0; padding:0; color:#5b6680; font-size:15px; line-height:1.85; font-weight:500; }
.single-post .tn-article__meta { gap:8px; margin:18px 0 24px; }
.single-post .tn-meta-chip { display:inline-flex; align-items:center; gap:5px; min-height:28px; padding:4px 9px; border:1px solid #f5f1e8; border-radius:999px; color:#68748a; background:#fafafe; font-size:10px; }
.single-post .tn-meta-chip b { color:#284858; font-size:9px; letter-spacing:.04em; }
.single-post .tn-meta-chip--updated { border-color:#f5f0e6; background:#fcfaf6; }
.single-post .tn-meta-chip--updated b { color:#307077; }
.single-post .tn-meta-chip--read { border-color:#f5f0e6; background:#fbf9f5; }
.single-post .tn-meta-chip--read b { color:#335b56; }
.single-post .tn-article__hero { position:relative; margin:0 -40px; background:#f6f2e9; }
.single-post .tn-article__hero img { width:100%; max-height:620px; object-fit:cover; }
.single-post .tn-article__hero figcaption { position:absolute; left:0; right:0; bottom:0; margin:0; padding:24px 18px 8px; color:rgba(255,255,255,.92); background:linear-gradient(transparent,rgba(40,72,88,.72)); font-size:10px; text-shadow:0 1px 3px rgba(0,0,0,.3); }
.single-post .tn-article__hero figcaption a { color:inherit; text-decoration:underline; text-underline-offset:2px; }

.tn-article-tools { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px; align-items:start; margin:0; padding:26px 34px 6px; }
.tn-article-toc { border:1px solid #f5f0e6; border-radius:14px; background:linear-gradient(115deg,#faf7f2 0,#ffffff 48%,#fbf9f6 100%); overflow:hidden; }
.tn-article-toc__head { display:flex; align-items:center; gap:11px; padding:14px 16px 11px; border-bottom:1px solid #f6f2ea; }
.tn-article-toc__icon { display:grid; place-items:center; width:34px; height:34px; border-radius:10px; color:#ffffff; background:linear-gradient(135deg,#23586f,#357b82); font-size:14px; font-weight:900; box-shadow:0 5px 13px rgba(53,123,130,.18); }
.tn-article-toc__head b { display:block; color:#284858; font-size:15px; }
.tn-article-toc__head small { display:block; margin-top:1px; color:#8790a2; font-size:9px; }
.tn-article-toc ol { margin:0; padding:10px 15px 13px 38px; }
.tn-article-toc li { margin:5px 0; color:#5a6478; font-size:12px; line-height:1.55; }
.tn-article-toc li::marker { color:#22546a; font-weight:800; }
.tn-article-toc li.tn-toc-h3 { margin-left:15px; list-style-type:circle; font-size:11px; }
.tn-article-toc a { color:#284858; }
.tn-article-toc a:hover { color:#317178; }

.tn-share { display:flex; align-items:center; flex-wrap:wrap; justify-content:flex-end; gap:6px; max-width:250px; }
.tn-share__label { width:100%; color:#9b93ad; font-size:9px; font-weight:900; letter-spacing:.16em; text-align:right; }
.tn-share a, .tn-share button { display:inline-flex; align-items:center; justify-content:center; min-height:31px; padding:0 10px; border:0; border-radius:999px; color:#ffffff!important; font-size:9px; font-weight:800; cursor:pointer; text-decoration:none!important; transition:transform .15s ease,opacity .15s ease; }
.tn-share a:hover, .tn-share button:hover { transform:translateY(-1px); opacity:.9; }
.tn-share__x { background:#17191d; }
.tn-share__fb { background:#3f738d; }
.tn-share__line { background:#447871; }
.tn-share__copy { background:linear-gradient(135deg,#357b82,#357b82); }
.tn-share__copy.is-copied { background:linear-gradient(135deg,#42766f,#4d8880); }

.single-post .tn-article__content { max-width:var(--tn-article-width); margin-inline:auto; padding:32px 34px 44px; color:#284858; font-size:16px; line-height:2; }
.single-post .tn-article__content p { margin-bottom:1.75em; }
.single-post .tn-article__content > p:first-child { font-size:17px; color:#284858; }
.single-post .tn-article__content h2 { scroll-margin-top:85px; position:relative; margin:2.7em 0 1em; padding:18px 20px 18px 22px; border:0; border-radius:12px; color:#284858; background:linear-gradient(100deg,#fbf9f4 0,#f8f5ef 50%,#fbf9f4 100%); font-size:25px; line-height:1.5; box-shadow:inset 0 0 0 1px rgba(53,123,130,.08); }
.single-post .tn-article__content h2::before { content:""; position:absolute; left:0; top:10px; bottom:10px; width:5px; border-radius:0 8px 8px 0; background:linear-gradient(180deg,#1f4d61,#caab72,#357b82); }
.single-post .tn-article__content h3 { scroll-margin-top:85px; position:relative; margin:2.2em 0 .9em; padding:0 0 10px 15px; border-bottom:2px solid #f6f2ea; color:#284858; font-size:21px; line-height:1.55; }
.single-post .tn-article__content h3::before { content:""; position:absolute; left:0; top:.25em; width:5px; height:1.15em; border-radius:99px; background:linear-gradient(180deg,#357b82,#447b97); }
.single-post .tn-article__content h3::after { width:70px; height:2px; background:linear-gradient(90deg,#357b82,#447b97,#4c877f); }
.single-post .tn-article__content h4 { margin-top:1.9em; color:#284858; font-size:18px; }
.single-post .tn-article__content a { color:#366279; text-decoration-thickness:1px; text-decoration-color:#47819e; }
.single-post .tn-article__content a:hover { color:#317279; text-decoration-color:#e2d8c4; }
.single-post .tn-article__content strong { color:#284858; background:linear-gradient(transparent 68%,rgba(202,171,114,.38) 68%); }
.single-post .tn-article__content blockquote { position:relative; margin:1.8em 0; padding:20px 22px 20px 48px; border:1px solid #f5f0e6; border-left:0; border-radius:12px; color:#59657a; background:linear-gradient(110deg,#fdfcf9,#fcfaf7); }
.single-post .tn-article__content blockquote::before { content:"“"; position:absolute; left:17px; top:4px; color:#357b82; font:900 42px/1 Georgia,serif; opacity:.65; }
.single-post .tn-article__content ul:not(.wp-block-gallery), .single-post .tn-article__content ol { margin:1.5em 0; padding:16px 20px 16px 42px; border-radius:11px; background:#fafbff; box-shadow:inset 0 0 0 1px #f7f4ed; }
.single-post .tn-article__content li { margin:.35em 0; }
.single-post .tn-article__content li::marker { color:#357b82; font-weight:800; }
.single-post .tn-article__content table { overflow:hidden; border-radius:10px; box-shadow:0 7px 20px rgba(40,72,88,.06); }
.single-post .tn-article__content th { color:#284858; background:linear-gradient(100deg,#fbf9f6,#fbf9f5); }
.single-post .tn-article__content th, .single-post .tn-article__content td { border-color:#f5f0e6; }
.single-post .tn-article__content figure { margin-top:2em; margin-bottom:2em; }
.single-post .tn-article__content .wp-block-image img, .single-post .tn-article__content figure img { border-radius:12px; box-shadow:0 8px 24px rgba(40,72,88,.10); }
.single-post .tn-article__content figcaption { margin-top:7px; color:#8a92a2; font-size:10px; line-height:1.55; text-align:center; }
.single-post .tn-article__content .wp-block-button__link { border-radius:999px; color:#ffffff!important; background:linear-gradient(135deg,#1f4d61,#357b82,#447b97); box-shadow:0 8px 18px rgba(53,123,130,.19); text-decoration:none; }

.tn-article__after-content { max-width:var(--tn-article-width); margin:0 auto; padding:0 34px 26px; }
.tn-article__updated-note { display:grid; grid-template-columns:34px minmax(0,1fr); gap:12px; align-items:start; padding:15px 16px; border:1px solid #f5f0e6; border-radius:12px; background:linear-gradient(100deg,#fbf9f4,#fbfffd); }
.tn-article__updated-note > span { display:grid; place-items:center; width:34px; height:34px; border-radius:50%; color:#ffffff; background:linear-gradient(135deg,#437770,#4d8880); font-weight:900; }
.tn-article__updated-note p { margin:0; color:#557065; font-size:11px; line-height:1.7; }
.tn-article__updated-note strong { color:#335b56; font-size:12px; }

.single-post .tn-sources, .single-post .tn-author-box, .single-post .tn-article__tags { max-width:calc(var(--tn-article-width) - 68px); margin-left:auto; margin-right:auto; }
.single-post .tn-sources { border-radius:12px; }
.single-post .tn-sources h2 { color:#284858; }
.single-post .tn-author-box { border:1px solid #f5f0e6; border-top:4px solid #357b82; border-radius:12px; }
.single-post .tn-article__tags { padding-bottom:2px; }
.single-post .tn-article__tags a { border-color:transparent; border-radius:999px; color:#417690; background:#fbf9f4; }
.single-post .tn-article__tags a:nth-of-type(3n+2) { color:#1b4456; background:#fbf9f4; }
.single-post .tn-article__tags a:nth-of-type(3n+3) { color:#31586c; background:#faf7f2; }

.tn-post-nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:18px 0 22px; }
.tn-post-nav__item { min-height:92px; padding:15px 17px; border:1px solid rgba(53,123,130,.12); border-radius:13px; background:#ffffff; box-shadow:0 8px 22px rgba(40,72,88,.06); transition:transform .18s ease,box-shadow .18s ease; }
.tn-post-nav__item:hover { transform:translateY(-2px); box-shadow:0 12px 27px rgba(40,72,88,.11); }
.tn-post-nav__item small { display:block; margin-bottom:5px; color:#8a91a1; font-size:9px; font-weight:800; }
.tn-post-nav__item strong { display:-webkit-box; overflow:hidden; color:#284858; font-size:12px; line-height:1.6; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.tn-post-nav__next { text-align:right; }

.single-post .tn-related { background:linear-gradient(180deg,#ffffff,#fdfcff); }
.single-post .tn-related-card { border-color:#f5f0e6; border-radius:12px; background:#ffffff; box-shadow:0 6px 18px rgba(30,68,72,.06); }
.single-post .tn-related-card > div { padding:12px 13px 14px; }
.single-post .tn-related-card h3 { margin-top:7px; color:#284858; font-size:14px; }
.single-post .tn-related-card time { display:block; margin-top:7px; color:#9aa1af; font-size:9px; }

@media (max-width: 980px) and (min-width: 761px) {
  .single-post .tn-content-grid--article { grid-template-columns:minmax(0,1fr) 270px; gap:16px; }
  .single-post .tn-article__header { padding-left:28px; padding-right:28px; }
  .single-post .tn-article__hero { margin-left:-28px; margin-right:-28px; }
  .tn-article-tools { padding-left:26px; padding-right:26px; }
}

@media (max-width: 760px) {
  .tn-reading-progress { height:3px; }
  .single-post .tn-content-grid--article { display:block; }
  .single-post .tn-article--news { border-radius:13px; }
  .single-post .tn-article__header { padding:25px 17px 0; }
  .single-post .tn-article__kicker { margin-bottom:10px; }
  .single-post .tn-article__type { font-size:8px; }
  .single-post .tn-article__header h1 { font-size:25px; line-height:1.46; letter-spacing:-.03em; }
  .single-post .tn-article__lead { margin-top:11px; font-size:13px; line-height:1.8; }
  .single-post .tn-article__meta { gap:6px; margin:13px 0 17px; }
  .single-post .tn-meta-chip { min-height:25px; padding:3px 7px; font-size:9px; }
  .single-post .tn-meta-chip b { font-size:8px; }
  .single-post .tn-article__hero { margin:0 -17px; }
  .single-post .tn-article__hero figcaption { padding:20px 11px 6px; font-size:8px; }
  .tn-article-tools { display:block; padding:18px 14px 0; }
  .tn-article-toc { border-radius:11px; }
  .tn-article-toc__head { padding:12px 13px 9px; }
  .tn-article-toc__icon { width:30px; height:30px; border-radius:9px; }
  .tn-article-toc ol { padding:8px 12px 11px 34px; }
  .tn-article-toc li { font-size:11px; }
  .tn-share { justify-content:flex-start; max-width:none; margin-top:12px; }
  .tn-share__label { width:auto; margin-right:2px; text-align:left; }
  .tn-share a, .tn-share button { min-height:29px; padding:0 9px; font-size:8px; }
  .single-post .tn-article__content { padding:25px 18px 34px; font-size:15px; line-height:1.94; }
  .single-post .tn-article__content > p:first-child { font-size:15px; }
  .single-post .tn-article__content h2 { margin-top:2.35em; padding:14px 14px 14px 17px; border-radius:10px; font-size:20px; }
  .single-post .tn-article__content h2::before { top:8px; bottom:8px; width:4px; }
  .single-post .tn-article__content h3 { margin-top:2em; padding-left:12px; font-size:18px; }
  .single-post .tn-article__content h3::before { width:4px; }
  .single-post .tn-article__content h4 { font-size:16px; }
  .single-post .tn-article__content blockquote { padding:16px 15px 16px 39px; }
  .single-post .tn-article__content blockquote::before { left:12px; font-size:35px; }
  .single-post .tn-article__content ul:not(.wp-block-gallery), .single-post .tn-article__content ol { padding:13px 14px 13px 34px; }
  .tn-article__after-content { padding:0 18px 20px; }
  .tn-article__updated-note { grid-template-columns:30px minmax(0,1fr); gap:10px; padding:13px; }
  .tn-article__updated-note > span { width:30px; height:30px; }
  .single-post .tn-sources, .single-post .tn-author-box, .single-post .tn-article__tags { max-width:none; margin-left:18px; margin-right:18px; }
  .tn-post-nav { grid-template-columns:1fr; gap:8px; margin:13px 0 15px; }
  .tn-post-nav__item { min-height:0; padding:12px 14px; }
  .tn-post-nav__next { text-align:left; }
  .single-post .tn-related-grid { grid-template-columns:1fr 1fr; }
  .single-post .tn-sidebar { margin-top:15px; }
}

@media (max-width: 420px) {
  .single-post .tn-related-grid { grid-template-columns:1fr; }
  .tn-share__fb { display:none!important; }
}

/* =========================================================
   v1.4.1 — SWELL display defaults / PR disclosure refinements
   ========================================================= */
.single-post .tn-content-grid--article.tn-content-grid--no-sidebar {
  grid-template-columns: minmax(0, 1fr);
}
.single-post .tn-content-grid--no-sidebar .tn-content-main {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
}
.single-post .tn-pr-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: -5px 0 22px;
  padding: 9px 12px;
  border: 1px solid #f6f2e9;
  border-radius: 10px;
  color: #687086;
  background: #fdfcf9;
  font-size: 10px;
  line-height: 1.55;
}
.single-post .tn-pr-note > span {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  min-width: 32px;
  min-height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  color: #ffffff;
  background: #417791;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
}
.single-post .tn-pr-note p { margin: 0; }
.tn-article-tools--share-only { grid-template-columns: 1fr; }
.tn-article-tools--share-only .tn-share { justify-self: end; }
.tn-article-toc li.tn-toc-h4 {
  margin-left: 28px;
  list-style-type: square;
  font-size: 10px;
}

@media (max-width: 760px) {
  /* Smartphone: remove the long right-rail widgets and keep article reading first. */
  .single-post .tn-sidebar { display: none !important; }
  .single-post .tn-pr-note {
    gap: 7px;
    margin: -2px 0 16px;
    padding: 8px 10px;
    border-radius: 9px;
    font-size: 9px;
  }
  .single-post .tn-pr-note > span { min-width: 29px; min-height: 20px; font-size: 8px; }
  .tn-article-tools--share-only .tn-share { justify-self: stretch; }
}

/* =========================================================
   v1.6.0 — stronger automatic affiliate cards / no-repeat pool
   ========================================================= */
.tn-affiliate-slot {
  position: relative;
  clear: both;
  overflow: hidden;
  width: 100%;
  margin: 34px 0;
  padding: 16px;
  border: 2px solid #caab72;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0,rgba(202,171,114,.28),transparent 34%),
    linear-gradient(135deg,#fdfcf9 0,#ffffff 48%,#fcfaf7 100%);
  box-shadow: 0 12px 32px rgba(30,68,72,.12), 0 2px 7px rgba(40,72,88,.05);
}
.tn-affiliate-slot::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg,#b99146,#357b82);
}
.tn-affiliate-slot__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding-left: 3px;
  color: #646978;
  font-size: 11px;
  line-height: 1.45;
}
.tn-affiliate-slot__head > span {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg,#427892,#357b82);
  box-shadow: 0 4px 10px rgba(66,120,146,.24);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
}
.tn-affiliate-slot__head > strong {
  color: #284858;
  font-size: 13px;
  font-weight: 900;
}
.tn-affiliate-slot__head > small {
  color: #747988;
  font-size: 10px;
  font-weight: 700;
}
.tn-affiliate-slot__body {
  overflow: hidden;
  width: 100%;
  min-height: 60px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(255,255,255,.86);
  text-align: center;
}
.tn-affiliate-slot__body > * { max-width: 100%; }
.tn-affiliate-slot__body img { display: inline-block; max-width: 100%; height: auto; vertical-align: middle; }
.tn-affiliate-slot__body iframe { max-width: 100%; }
.tn-affiliate-slot__body a { display: inline-block; max-width: 100%; transition: transform .18s ease, filter .18s ease; }
.tn-affiliate-slot__body a:hover { transform: translateY(-2px); filter: brightness(1.03); }
.tn-affiliate-slot__body p { margin: 0; }
.tn-affiliate-slot__body strong { background: none!important; }
.single-post .tn-article__content .tn-affiliate-slot a { text-decoration: none; }
.single-post .tn-article__content .tn-affiliate-slot img { box-shadow: 0 8px 22px rgba(40,72,88,.11); border-radius: 10px; }
.tn-affiliate-slot--lead {
  margin-top: 22px;
  border-color: #c6a567;
  box-shadow: 0 15px 38px rgba(185,145,70,.14), 0 5px 20px rgba(30,68,72,.10);
}
.tn-affiliate-slot--bottom {
  margin-top: 40px;
  border-color: #47819e;
  background: linear-gradient(135deg,#faf8ff 0,#ffffff 52%,#f9f7f2 100%);
}
.tn-affiliate-slot--sidebar {
  position: sticky;
  top: 88px;
  margin: 0;
  padding: 12px;
  border-color: #f5f0e6;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(40,72,88,.11);
}
.tn-affiliate-slot--sidebar .tn-affiliate-slot__head { justify-content: center; }
.tn-affiliate-slot--sidebar .tn-affiliate-slot__head > small { flex-basis: 100%; text-align: center; }
.tn-affiliate-slot--sidebar .tn-affiliate-slot__body { font-size: 0; }

@media (max-width: 760px) {
  .tn-affiliate-slot { margin: 27px 0; padding: 12px; border-radius: 14px; }
  .tn-affiliate-slot::before { width: 4px; }
  .tn-affiliate-slot__head { gap: 6px; margin-bottom: 9px; }
  .tn-affiliate-slot__head > span { min-width: 32px; min-height: 22px; font-size: 8px; }
  .tn-affiliate-slot__head > strong { font-size: 12px; }
  .tn-affiliate-slot__head > small { flex-basis: 100%; padding-left: 1px; font-size: 9px; }
  .tn-affiliate-slot__body { min-height: 48px; padding: 6px; }
}



/* =========================================================
   v1.6.5 — outer-margin affiliate rails, distributed down article
   ========================================================= */
.tn-affiliate-rails { display: none; }

/*
 * Do not cram a full ad wall into the first viewport. On genuinely wide
 * desktop screens the same large inventory is spread down the entire article.
 * This keeps the centre layout untouched and lets full creatives breathe.
 */
@media (min-width: 1680px) {
  .single-post .tn-single-main > .tn-shell {
    position: relative;
  }
  .single-post .tn-affiliate-rails {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
  }
  .single-post .tn-affiliate-rail {
    position: absolute;
    top: 28px;
    bottom: 40px;
    width: clamp(190px, calc((100vw - var(--tn-max)) / 2 - 28px), 260px);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 120px;
    overflow: visible;
    padding: 0;
    pointer-events: none;
  }
  .single-post .tn-affiliate-rail--left {
    right: calc(100% + 18px);
  }
  .single-post .tn-affiliate-rail--right {
    left: calc(100% + 18px);
  }
  .single-post .tn-affiliate-slot--rail-left,
  .single-post .tn-affiliate-slot--rail-right {
    flex: 0 0 auto;
    margin: 0;
    padding: 6px;
    border: 1px solid rgba(53,123,130,.18);
    border-radius: 12px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 8px 22px rgba(40,72,88,.10);
    pointer-events: auto;
  }
  .single-post .tn-affiliate-slot--rail-left::before,
  .single-post .tn-affiliate-slot--rail-right::before {
    width: 3px;
    background: linear-gradient(180deg,#1f4d61,#b99146,#357b82,#447b97);
  }
  .single-post .tn-affiliate-slot--rail-left .tn-affiliate-slot__head,
  .single-post .tn-affiliate-slot--rail-right .tn-affiliate-slot__head {
    justify-content: flex-start;
    gap: 0;
    margin: 0 0 5px;
    padding: 0 0 0 2px;
  }
  .single-post .tn-affiliate-slot--rail-left .tn-affiliate-slot__head > span,
  .single-post .tn-affiliate-slot--rail-right .tn-affiliate-slot__head > span {
    min-width: 26px;
    min-height: 18px;
    padding: 0 6px;
    font-size: 7px;
  }
  .single-post .tn-affiliate-slot--rail-left .tn-affiliate-slot__head > strong,
  .single-post .tn-affiliate-slot--rail-right .tn-affiliate-slot__head > strong,
  .single-post .tn-affiliate-slot--rail-left .tn-affiliate-slot__head > small,
  .single-post .tn-affiliate-slot--rail-right .tn-affiliate-slot__head > small {
    display: none;
  }
  .single-post .tn-affiliate-slot--rail-left .tn-affiliate-slot__body,
  .single-post .tn-affiliate-slot--rail-right .tn-affiliate-slot__body {
    overflow: hidden;
    min-height: 0;
    padding: 0;
    border-radius: 8px;
    background: transparent;
    font-size: 0;
  }
  .single-post .tn-affiliate-slot--rail-left .tn-affiliate-slot__body > a,
  .single-post .tn-affiliate-slot--rail-right .tn-affiliate-slot__body > a {
    display: block;
    width: 100%;
    max-width: 100%;
  }
  .single-post .tn-affiliate-slot--rail-left .tn-affiliate-slot__body img,
  .single-post .tn-affiliate-slot--rail-right .tn-affiliate-slot__body img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    height: auto !important;
    margin: 0 auto;
    object-fit: contain;
  }
  .single-post .tn-affiliate-slot--rail-left .tn-affiliate-slot__body iframe,
  .single-post .tn-affiliate-slot--rail-right .tn-affiliate-slot__body iframe {
    display: block;
    max-width: 100% !important;
    margin: 0 auto;
    border: 0;
  }
}

/* At narrower desktop widths there is not enough real side space for a proper ad. */
@media (max-width: 1679px) {
  .single-post .tn-affiliate-rails { display: none !important; }
}

/* v1.6.4: Contact Form 7 on /contact/ + no public e-mail fallback */
.tn-contact-form {
    margin: 22px 0;
    padding: clamp(18px, 2.5vw, 30px);
    border: 1px solid #f5f0e7;
    border-radius: 18px;
    background: linear-gradient(145deg, #ffffff 0%, #fbf9ff 55%, #fcfaf7 100%);
    box-shadow: 0 12px 34px rgba(30,68,72,.08);
}
.tn-contact-form .wpcf7 p { margin: 0 0 18px; }
.tn-contact-form .wpcf7 p:last-child { margin-bottom: 0; }
.tn-contact-form .wpcf7 label {
    display: block;
    color: #284858;
    font-weight: 800;
    line-height: 1.7;
}
.tn-contact-form .wpcf7 input[type="text"],
.tn-contact-form .wpcf7 input[type="email"],
.tn-contact-form .wpcf7 input[type="tel"],
.tn-contact-form .wpcf7 input[type="url"],
.tn-contact-form .wpcf7 textarea,
.tn-contact-form .wpcf7 select {
    width: 100%;
    margin-top: 7px;
    padding: 12px 14px;
    border: 1px solid #f5f0e6;
    border-radius: 10px;
    background: #ffffff;
    color: #284858;
    font: inherit;
    box-sizing: border-box;
}
.tn-contact-form .wpcf7 textarea { min-height: 180px; resize: vertical; }
.tn-contact-form .wpcf7 input:focus,
.tn-contact-form .wpcf7 textarea:focus,
.tn-contact-form .wpcf7 select:focus {
    outline: none;
    border-color: #357b82;
    box-shadow: 0 0 0 3px rgba(53,123,130,.12);
}
.tn-contact-form .wpcf7 input[type="submit"] {
    width: min(100%, 360px);
    min-height: 50px;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #1f4d61, #357b82 55%, #3e7089);
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(68,124,152,.20);
}
.tn-contact-form .wpcf7 input[type="submit"]:hover { filter: brightness(1.04); }
.tn-contact-form .wpcf7-spinner { vertical-align: middle; }
.tn-contact-form .wpcf7-not-valid-tip { margin-top: 5px; font-size: .9em; }
.tn-contact-form .wpcf7-response-output { margin: 16px 0 0 !important; border-radius: 10px; padding: 10px 14px !important; }
.tn-contact-note {
    margin-top: 18px !important;
    padding: 14px 16px;
    border-radius: 10px;
    background: #fcfaf6;
    color: #5a6170;
    font-size: .92em;
    line-height: 1.85;
}
.tn-contact-card__help { color: #687080; font-size: .9em; }
@media (max-width: 600px) {
    .tn-contact-form { padding: 16px; border-radius: 14px; }
    .tn-contact-form .wpcf7 input[type="submit"] { width: 100%; }
}


/* =========================================================
   v1.6.7 — one PR disclosure per article, creative-only ad slots
   ========================================================= */
.single-post .tn-affiliate-slot__head { display: none !important; }
.single-post .tn-affiliate-slot { padding-top: 10px; padding-bottom: 10px; }
.single-post .tn-affiliate-slot--sidebar { padding: 8px; }
@media (min-width: 1680px) {
  .single-post .tn-affiliate-slot--rail-left,
  .single-post .tn-affiliate-slot--rail-right { padding: 5px; }
}
@media (max-width: 760px) {
  .single-post .tn-affiliate-slot { padding-top: 9px; padding-bottom: 9px; }
}

/* =========================================================
   v1.6.7 — rail creatives keep their real aspect ratio / no giant blank cards
   ========================================================= */
@media (min-width: 1680px) {
  .single-post .tn-affiliate-rail {
    width: clamp(190px, calc((100vw - var(--tn-max)) / 2 - 18px), 260px);
    align-items: center;
  }

  /* Outer-margin ads are creatives, not cards. Do not stretch a 250x250 or
     300x250 banner into a tall white panel. */
  .single-post .tn-affiliate-slot--rail-left,
  .single-post .tn-affiliate-slot--rail-right {
    display: block;
    align-self: center;
    width: fit-content;
    max-width: 100%;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto;
    padding: 0 !important;
    overflow: visible;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
  }
  .single-post .tn-affiliate-slot--rail-left::before,
  .single-post .tn-affiliate-slot--rail-right::before {
    display: none !important;
  }
  .single-post .tn-affiliate-slot--rail-left .tn-affiliate-slot__body,
  .single-post .tn-affiliate-slot--rail-right .tn-affiliate-slot__body {
    display: block;
    width: fit-content;
    max-width: 100%;
    height: auto;
    min-height: 0 !important;
    margin: 0 auto;
    padding: 0 !important;
    overflow: hidden;
    border-radius: 0;
    background: transparent !important;
    line-height: 0;
  }
  .single-post .tn-affiliate-slot--rail-left .tn-affiliate-slot__body > *,
  .single-post .tn-affiliate-slot--rail-right .tn-affiliate-slot__body > * {
    max-width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .single-post .tn-affiliate-slot--rail-left .tn-affiliate-slot__body a,
  .single-post .tn-affiliate-slot--rail-right .tn-affiliate-slot__body a {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    line-height: 0;
  }
  .single-post .tn-affiliate-slot--rail-left .tn-affiliate-slot__body img,
  .single-post .tn-affiliate-slot--rail-right .tn-affiliate-slot__body img {
    display: block;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto !important;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    object-fit: contain;
  }
  .single-post .tn-affiliate-slot--rail-left .tn-affiliate-slot__body iframe,
  .single-post .tn-affiliate-slot--rail-right .tn-affiliate-slot__body iframe {
    display: block;
    max-width: 100% !important;
    margin: 0 auto !important;
    border: 0 !important;
  }
}

/* =========================================================
   v1.7.0 — automatic internal links / related articles
   ========================================================= */
.single-post .tn-auto-related {
  margin: 2.1em 0;
  padding: 16px;
  border: 1px solid #f5f0e6;
  border-radius: 12px;
  background: linear-gradient(110deg, #fbfaff 0%, #fdfcf9 100%);
  box-shadow: 0 8px 24px rgba(41,74,91,.06);
}
.single-post .tn-auto-related__head {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 11px;
  color: #1e4448;
  font-size: 13px;
  line-height: 1.4;
}
.single-post .tn-auto-related__head > span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #357b82, #447b97);
  font-size: 12px;
}
.single-post .tn-auto-related__links {
  display: grid;
  gap: 8px;
}
.single-post .tn-auto-related__item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 8px;
  border: 1px solid #f6f2e9;
  border-radius: 9px;
  background: #ffffff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.single-post .tn-auto-related__item:hover {
  transform: translateY(-1px);
  border-color: #f5f0e6;
  box-shadow: 0 7px 18px rgba(44,79,97,.08);
}
.single-post .tn-article__content .tn-auto-related__link {
  color: #284858;
  text-decoration: none;
}
.single-post .tn-article__content .tn-auto-related__link:hover { color: #2b646a; }
.single-post .tn-auto-related__thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: #f7f3ec;
}
.single-post .tn-auto-related__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.single-post .tn-auto-related__text {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.55;
}
.single-post .tn-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 960px) {
  .single-post .tn-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .single-post .tn-auto-related { margin: 1.7em 0; padding: 12px; }
  .single-post .tn-auto-related__item {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 9px;
    min-height: 58px;
    padding: 7px;
  }
  .single-post .tn-auto-related__text { font-size: 12px; }
  .single-post .tn-related-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   v1.7.1 — related heading accent overlap fix
   ========================================================= */
.single-post .tn-related .tn-section-heading h2::after {
  display: none;
}


/* v1.9.0: automatically imported body images with mandatory source attribution. */
.single-post .tn-article__content .tn-source-body-image {
  width: 100%;
  margin: 1.45em 0 2.1em;
}
.single-post .tn-article__content .tn-source-body-image__link {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
}
.single-post .tn-article__content .tn-source-body-image__link img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}
.single-post .tn-article__content .tn-source-body-image figcaption {
  margin-top: 8px;
  color: #687389;
  font-size: 11px;
  line-height: 1.6;
  text-align: left;
}
.single-post .tn-article__content .tn-source-body-image figcaption span {
  font-weight: 700;
}
.single-post .tn-article__content .tn-source-body-image figcaption a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* =========================================================
   v1.9.6 — article body display fail-safe + semantic headings
   ========================================================= */
.single-post .tn-article__content[data-tabikichi-article-content] {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  min-height: 1px;
  max-height: none !important;
  overflow: visible !important;
}
.single-post .tn-article__content[data-tabikichi-article-content] h2 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.single-post .tn-article__content[data-tabikichi-article-content] h3 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* v3.1 Reader Intelligence UI */
.tn-reading-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:99999;pointer-events:none;background:transparent}.tn-reading-progress>span{display:block;width:0;height:100%;background:currentColor;opacity:.55;transition:width .12s linear}.tn-key-facts{margin:1.2em 0 1.6em;padding:16px 18px;border:1px solid rgba(0,0,0,.10);border-radius:12px;background:rgba(255,255,255,.82)}.tn-key-facts__title{font-weight:700;margin-bottom:8px}.tn-key-facts ul{margin:.25em 0 0 1.2em}.tn-key-facts li+li{margin-top:.35em}.tn-reader-feedback{margin:2em 0 1em;padding:18px;border:1px solid rgba(0,0,0,.10);border-radius:12px;text-align:center}.tn-reader-feedback>div{display:flex;justify-content:center;gap:10px;margin-top:12px}.tn-reader-feedback button{appearance:none;border:1px solid currentColor;background:transparent;border-radius:999px;padding:7px 18px;font:inherit;cursor:pointer}.tn-reader-feedback button:disabled{opacity:.45;cursor:default}.tn-reader-feedback__thanks{display:block;margin-top:10px;font-size:.9em;opacity:.75}@media(max-width:782px){.tn-key-facts{padding:14px}.tn-reader-feedback{padding:15px}}

/* v3.4 Reader Intelligence feedback details */
.tn-reader-feedback__reasons{margin-top:10px;display:flex;gap:8px;flex-wrap:wrap;align-items:center}.tn-reader-feedback__reasons[hidden]{display:none}.tn-reader-feedback__reasons span{font-size:.9em}.tn-reader-feedback__reasons button{font-size:.9em;padding:.35em .7em}.tn-reader-feedback__thanks{display:inline-block;margin-top:8px}.tn-reader-feedback__thanks[hidden]{display:none}

/* =========================================================
   v3.7 Reader Experience / accessibility
   ========================================================= */
.tn-skip-link{position:fixed;left:12px;top:8px;z-index:100000;transform:translateY(-160%);padding:9px 14px;border-radius:8px;background:#111111;color:#ffffff;text-decoration:none;font-weight:700}.tn-skip-link:focus{transform:translateY(0)}
.tn-resume-reading{position:fixed;right:18px;bottom:20px;z-index:9998;opacity:0;transform:translateY(12px);pointer-events:none;border:0;border-radius:999px;padding:10px 15px;background:#111111;color:#ffffff;font:inherit;font-weight:700;box-shadow:0 8px 28px rgba(0,0,0,.22);cursor:pointer;transition:opacity .2s,transform .2s}.tn-resume-reading.is-visible{opacity:1;transform:none;pointer-events:auto}
.tn-updated-since-visit{margin:0 auto 18px;max-width:100%;padding:10px 14px;border:1px solid #caab72;border-radius:10px;background:#f6f1e8;color:#b99146;font-size:.92em;font-weight:700}
.tn-reader-bookmark{appearance:none;border:1px solid currentColor;border-radius:999px;background:transparent;padding:7px 12px;font:inherit;cursor:pointer}.tn-reader-bookmark[aria-pressed="true"]{font-weight:800}
.tn-recently-read{margin:1.2em 0 2em;padding:16px 18px;border:1px solid rgba(0,0,0,.10);border-radius:12px;background:#ffffff}.tn-recently-read ul{margin:.65em 0 0 1.25em}.tn-recently-read li+li{margin-top:.45em}.tn-recently-read a{text-underline-offset:3px}
.tn-mobile-reader-actions{display:none}
:where(a,button,input,select,textarea):focus-visible{outline:3px solid currentColor;outline-offset:3px}
@media(max-width:782px){.tn-resume-reading{right:12px;bottom:14px;max-width:calc(100vw - 24px)}.tn-recently-read{padding:14px}.tn-mobile-reader-actions{position:fixed;left:50%;bottom:max(8px,env(safe-area-inset-bottom));z-index:9997;transform:translateX(-50%);display:flex;gap:6px;padding:6px;border:1px solid rgba(0,0,0,.12);border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 8px 26px rgba(0,0,0,.16);backdrop-filter:blur(8px)}.tn-mobile-reader-actions button{border:0;border-radius:999px;padding:8px 10px;background:transparent;font:inherit;font-size:12px;font-weight:700;cursor:pointer}}
@media(prefers-reduced-motion:reduce){.tn-resume-reading{transition:none}.tn-reading-progress>span{transition:none!important}html:focus-within{scroll-behavior:auto!important}}

/* Public operator profile (v4.2.54): scoped to /about/ shortcode. */
.tn-operator-profile { margin: 1.5rem 0; }
.tn-operator-profile__facts { margin: 1.2rem 0 1.8rem; border: 1px solid #e2e5e9; border-radius: 8px; overflow: hidden; }
.tn-operator-profile__facts > div { display: grid; grid-template-columns: minmax(120px, 28%) 1fr; border-bottom: 1px solid #e2e5e9; }
.tn-operator-profile__facts > div:last-child { border-bottom: 0; }
.tn-operator-profile__facts dt, .tn-operator-profile__facts dd { margin: 0; padding: 13px 16px; line-height: 1.7; overflow-wrap: anywhere; }
.tn-operator-profile__facts dt { background: #fbf9f6; font-weight: 700; }
.tn-operator-profile__links { padding-top: 12px; border-top: 1px solid #e2e5e9; }
@media (max-width: 560px) {
  .tn-operator-profile__facts > div { grid-template-columns: 1fr; }
  .tn-operator-profile__facts dt { padding-bottom: 5px; }
  .tn-operator-profile__facts dd { padding-top: 6px; }
}

/* ==========================================================================
   旅吉 TRAVEL JOURNAL 仕上げ（v10.9.0）
   トピネタの記事レイアウトを、旅吉の濃紺・金・生成りの配色と明朝見出しへ。
   ========================================================================== */
:root {
  --tn-red: #173a4a;
  --tn-red-dark: #0f2b37;
  --tn-gold: #c7a86a;
  --tn-ink: #17262e;
  --tn-text: #2a3a42;
  --tn-line: #e7dfcf;
  --tn-soft: #f7f2e8;
  --tn-serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
}
body.tabikichi-site { background: var(--tn-soft); }
body.tabikichi-site .tn-article__header h1,
body.tabikichi-site .tn-archive-header h1,
body.tabikichi-site .tn-section-heading h2,
body.tabikichi-site .tn-article__content h2,
body.tabikichi-site .tn-related-card h3,
body.tabikichi-site .tn-archive-card h2,
body.tabikichi-site .tn-brand__text strong { font-family: var(--tn-serif); letter-spacing: .02em; }
body.tabikichi-site .tn-utility { background: #173a4a; }
body.tabikichi-site .tn-brand__mark { background: #173a4a; color: #f3e6c8; font-family: var(--tn-serif); transform: none; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--tn-gold); }
body.tabikichi-site .tn-brand__text small { background: none; -webkit-text-fill-color: var(--tn-gold); color: var(--tn-gold); letter-spacing: .2em; }
body.tabikichi-site .tn-badge { background: #173a4a; color: #fff; }
body.tabikichi-site .tn-badge:hover { background: #a8843f; }
body.tabikichi-site .tn-article__type { color: var(--tn-gold); letter-spacing: .2em; }
body.tabikichi-site .tn-article__content h2 { border-left: 4px solid var(--tn-gold); background: #fff; }
body.tabikichi-site .tn-reading-progress span { background: linear-gradient(90deg, #c7a86a, #d6a64b); }
body.tabikichi-site .tn-noimage { background: linear-gradient(135deg, #efe6d3, #e2d5b8); color: #a8843f; }
body.tabikichi-site a.tn-related-card__media, body.tabikichi-site .tn-archive-card__media { background: #efe6d3; }
body.tabikichi-site .tn-footer__description { color: rgba(255,255,255,.72); }
body.tabikichi-site .tn-footer__bottom, body.tabikichi-site .tn-footer__bottom a { color: rgba(255,255,255,.6); }
body.tabikichi-site .tn-eyebrow { background: none; color: #a8843f; -webkit-text-fill-color: #a8843f; padding: 0; letter-spacing: .2em; }
body.tabikichi-site .tn-archive-card__body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
body.tabikichi-site .tn-noimage { font-family: var(--tn-serif); letter-spacing: .3em; font-size: 22px; }
body.tabikichi-site .tn-rank-item .tn-noimage, body.tabikichi-site .tn-sidebar .tn-noimage { font-size: 12px; min-height: 0; letter-spacing: .15em; }
