/* JAPAN TRIP 0.5.0 — travel news and planning system. Global tokens live in theme.json. */

:root {
	--jt-display-font: "Noto Sans Thai", sans-serif;
	--jt-body-font: "Noto Sans Thai", sans-serif;
}

/* ------------------------------------------------------------
 * Reference-led article page (v0.5.0)
 * 760px reading column + 300px editorial sidebar.
 * ------------------------------------------------------------ */

.jt-ref-article,
.jt-ref-article .wp-block-group,
.jt-ref-article img,
.jt-ref-article table,
.jt-ref-article a,
.jt-ref-article button {
	border-radius: 0 !important;
	box-shadow: none !important;
}

.jt-ref-article {
	margin-block-start: 0 !important;
	padding-bottom: 48px;
	background: #fff;
	color: #202020;
}

.jt-article-breadcrumb {
	min-height: 46px;
	gap: 0 6px;
	padding-block: 12px;
	border-bottom: 1px solid #e3e3e0;
	color: #777772;
	font-size: 11.5px;
	line-height: 1.8;
}

.jt-article-breadcrumb p,
.jt-article-breadcrumb .wp-block-post-terms {
	margin: 0;
}

.jt-article-breadcrumb span {
	margin-left: 6px;
	color: #aaa9a4;
}

.jt-article-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.jt-article-header {
	width: min(100%, 1200px);
	margin-block: 0 !important;
	padding: 30px 440px 28px 0;
}

.jt-article-category {
	margin: 0 0 8px;
	color: #a52f2f;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.7;
}

.jt-article-header .wp-block-post-title {
	max-width: 760px;
	margin: 0 0 14px;
	font-family: inherit;
	font-size: clamp(27px, 2.5vw, 32px);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.55;
}

.jt-article-deck {
	max-width: 720px;
	margin: 0 0 18px;
	color: #4f4f4b;
	font-size: 15px;
	line-height: 1.9;
}

.jt-article-deck p {
	margin: 0;
}

.jt-article-byline {
	min-height: 56px;
	gap: 8px 14px;
	margin: 0 0 22px;
	padding: 10px 0;
	border-top: 1px solid #d6d6d2;
	border-bottom: 1px solid #d6d6d2;
	color: #777772;
	font-size: 11.5px;
	line-height: 1.7;
}

.jt-article-byline .wp-block-post-author-name {
	color: #202020;
	font-size: 12.5px;
	font-weight: 600;
}

.jt-article-published time::before {
	content: "เผยแพร่ ";
}

.jt-article-updated time::before {
	content: "อัปเดต ";
}

.jt-article-tags {
	margin-left: auto;
}

.jt-article-tags a {
	display: inline-block;
	margin-left: 5px;
	padding: 2px 8px;
	border: 1px solid #d6d6d2;
	color: #40403d;
	text-decoration: none;
}

.jt-article-featured {
	width: 760px;
	max-width: 100%;
	margin: 0;
}

.jt-article-featured img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.jt-ref-article .jt-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 760px) minmax(0, 300px);
	gap: 44px;
	align-items: start;
	margin-block: 0 !important;
	padding-top: 4px;
}

.jt-article-main {
	min-width: 0;
}

.jt-article-main > * + * {
	margin-block-start: 0;
}

.jt-generated-toc {
	margin: 0 0 30px;
	padding: 18px 20px;
	border: 1px solid #cfcfcb;
	background: #f6f6f3;
}

.jt-generated-toc[hidden] {
	display: none;
}

.jt-generated-toc-title {
	margin: 0 0 10px;
	padding-bottom: 8px;
	border-bottom: 1px solid #cfcfcb;
	font-size: 13px;
	font-weight: 700;
}

.jt-generated-toc ol {
	margin: 0;
	padding-left: 20px;
	font-size: 14px;
	line-height: 2.05;
}

.jt-generated-toc li.is-subsection {
	margin-left: 16px;
	color: #62625e;
	font-size: 13.5px;
}

.jt-generated-toc a {
	color: inherit;
	text-decoration: none;
}

.jt-generated-toc a:hover,
.jt-generated-toc a:focus-visible {
	color: #a52f2f;
	text-decoration: underline;
}

.jt-article-main .wp-block-post-content > p,
.jt-article-main .wp-block-post-content > ul,
.jt-article-main .wp-block-post-content > ol,
.jt-article-main .wp-block-post-content > blockquote,
.jt-article-main .wp-block-post-content > figure {
	font-size: 17px;
	line-height: 2.05;
}

.jt-article-main .wp-block-post-content > p {
	margin-block: 0 22px;
}

.jt-article-main .wp-block-post-content > ul,
.jt-article-main .wp-block-post-content > ol {
	margin-block: 0 24px;
	padding-left: 25px;
}

.jt-article-main .wp-block-post-content li + li {
	margin-top: 4px;
}

.jt-article-main .wp-block-post-content h2 {
	margin: 42px 0 18px;
	padding-bottom: 9px;
	border-bottom: 2px solid #202020;
	font-family: inherit;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.6;
}

.jt-article-main .wp-block-post-content h2:first-child {
	margin-top: 0;
}

.jt-article-main .wp-block-post-content h3 {
	margin: 32px 0 14px;
	padding-bottom: 7px;
	border-bottom: 1px solid #cfcfcb;
	font-family: inherit;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.7;
}

.jt-article-main .wp-block-post-content a {
	color: #a52f2f;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.jt-article-main .wp-block-table {
	margin: 0 0 28px;
	overflow-x: auto;
}

.jt-article-main .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.8;
}

.jt-article-main .wp-block-table th,
.jt-article-main .wp-block-table td {
	padding: 9px 12px;
	border: 1px solid #d6d6d2;
	text-align: left;
	vertical-align: top;
}

.jt-article-main .wp-block-table th {
	background: #f1f1ee;
	font-size: 13px;
	font-weight: 600;
}

.jt-article-main .wp-block-image,
.jt-article-main .wp-block-gallery {
	margin-block: 0 28px;
}

.jt-article-main figcaption {
	margin-top: 6px;
	color: #777772;
	font-size: 11.5px;
	line-height: 1.6;
}

.jt-article-method {
	margin-top: 42px !important;
	padding: 16px 0;
	border-top: 1px solid #202020;
	border-bottom: 1px solid #202020;
}

.jt-article-method p {
	margin: 0;
	font-size: 13px;
	line-height: 1.85;
}

.jt-article-method p + p {
	margin-top: 4px;
	color: #62625e;
}

.jt-article-navigation {
	gap: 20px;
	margin-top: 30px !important;
	padding-top: 18px;
	border-top: 1px solid #d6d6d2;
	font-size: 13px;
	line-height: 1.75;
}

.jt-ref-article .jt-article-sidebar {
	position: sticky;
	top: 24px;
	display: block;
	min-width: 0;
}

.jt-sidebar-section {
	margin: 0 0 32px;
}

.jt-sidebar-heading {
	align-items: baseline;
	gap: 9px;
	margin-bottom: 14px;
	padding-bottom: 7px;
	border-bottom: 2px solid #202020;
}

.jt-sidebar-heading h2,
.jt-sidebar-heading p {
	margin: 0;
}

.jt-sidebar-heading h2 {
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.7;
}

.jt-sidebar-heading p {
	color: #92928d;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 9px;
	letter-spacing: 0.14em;
}

.jt-sidebar-popular .wp-block-post-template {
	margin: 0;
	padding: 0;
	counter-reset: sidebar-rank;
	list-style: none;
}

.jt-sidebar-popular .wp-block-post-template > li {
	counter-increment: sidebar-rank;
	margin: 0;
}

.jt-sidebar-story {
	position: relative;
	align-items: flex-start;
	gap: 11px;
	min-height: 72px;
	padding: 10px 0 10px 24px;
	border-bottom: 1px solid #e3e3e0;
}

.jt-sidebar-story::before {
	position: absolute;
	top: 13px;
	left: 0;
	content: counter(sidebar-rank);
	color: #92928d;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 13px;
}

.jt-sidebar-story .wp-block-post-featured-image {
	flex: 0 0 76px;
	width: 76px !important;
	margin: 0;
}

.jt-sidebar-story .wp-block-post-featured-image img {
	display: block;
	width: 76px;
	height: 51px;
	object-fit: cover;
}

.jt-sidebar-story .wp-block-post-title {
	margin: 0;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.65;
}

.jt-sidebar-story .wp-block-post-title a {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	color: #202020;
	text-decoration: none;
}

.jt-sidebar-empty,
.jt-sidebar-guide > p {
	margin: 0;
	color: #62625e;
	font-size: 13px;
	line-height: 1.9;
}

.jt-sidebar-line {
	margin-top: 32px;
	padding: 16px;
	background: #06c755;
	color: #fff;
	text-align: center;
}

.jt-sidebar-line p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
}

.jt-sidebar-line small {
	font-size: 11.5px;
	opacity: 0.9;
}

@media (max-width: 980px) {
	.jt-article-header {
		padding-right: 0;
	}

	.jt-ref-article .jt-article-layout {
		grid-template-columns: minmax(0, 1fr);
		gap: 44px;
	}

	.jt-ref-article .jt-article-sidebar {
		position: static;
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px;
	}

	.jt-sidebar-line {
		grid-column: 1 / -1;
		margin-top: 0;
	}
}

@media (max-width: 600px) {
	.jt-ref-article {
		padding-bottom: 32px;
	}

	.jt-article-breadcrumb {
		min-height: 40px;
		font-size: 10.5px;
	}

	.jt-article-header {
		padding-block: 22px 24px;
	}

	.jt-article-header .wp-block-post-title {
		font-size: 25px;
		line-height: 1.55;
	}

	.jt-article-deck {
		font-size: 14px;
	}

	.jt-article-byline {
		align-items: flex-start;
		gap: 4px 10px;
	}

	.jt-article-tags {
		width: 100%;
		margin-left: 0;
	}

	.jt-generated-toc {
		padding: 16px;
	}

	.jt-generated-toc ol {
		font-size: 13.5px;
	}

	.jt-article-main .wp-block-post-content > p,
	.jt-article-main .wp-block-post-content > ul,
	.jt-article-main .wp-block-post-content > ol,
	.jt-article-main .wp-block-post-content > blockquote,
	.jt-article-main .wp-block-post-content > figure {
		font-size: 16.5px;
	}

	.jt-article-main .wp-block-post-content h2 {
		font-size: 20px;
	}

	.jt-article-main .wp-block-post-content h3 {
		font-size: 17.5px;
	}

	.jt-ref-article .jt-article-sidebar {
		display: block;
	}

	.jt-sidebar-section {
		margin-bottom: 30px;
	}
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	overflow-x: clip;
	background: var(--wp--preset--color--canvas);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
	font-family: var(--jt-body-font);
}

a,
button,
input,
select,
textarea {
	-webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.wp-element-button:focus-visible,
[tabindex]:focus-visible {
	outline: 3px solid var(--wp--preset--color--signal);
	outline-offset: 3px;
}

h1,
h2,
h3,
h4,
.wp-block-post-title {
	font-family: var(--jt-display-font);
}

.wp-site-blocks {
	padding: 0;
}

.wp-site-blocks > * {
	margin-block-start: 0;
}

.jt-section {
	padding-block: clamp(56px, 7vw, 96px);
}

.jt-section-compact {
	padding-block: clamp(40px, 5vw, 64px);
}

.jt-section-surface {
	background: var(--wp--preset--color--surface);
}

.jt-section-ink {
	background: var(--wp--preset--color--ink-blue);
	color: var(--wp--preset--color--surface);
}

.jt-section-ink h1,
.jt-section-ink h2,
.jt-section-ink h3,
.jt-section-ink h4,
.jt-section-ink p {
	color: inherit;
}

.jt-eyebrow,
.jt-badge {
	display: inline-block;
	width: fit-content;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--wp--preset--color--signal);
	font-family: var(--jt-body-font);
	font-size: var(--wp--preset--font-size--meta);
	font-weight: 600;
	letter-spacing: 0.09em;
	line-height: 1.5;
	text-transform: uppercase;
}

.jt-badge-recommended,
.jt-badge-alternative {
	color: var(--wp--preset--color--signal);
}

.jt-badge-warning {
	color: var(--wp--preset--color--warning);
}

/* Masthead */

.jt-site-header {
	position: relative;
	z-index: 100;
	border-bottom: 1px solid var(--wp--preset--color--ink);
	background: var(--wp--preset--color--surface);
}

.jt-masthead-row {
	min-height: 88px;
	gap: 32px;
}

.jt-logo {
	gap: 0;
	line-height: 1;
}

.jt-logo .wp-block-site-title {
	margin: 0;
	font-family: var(--jt-body-font);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.1;
}

.jt-logo .wp-block-site-title a {
	color: var(--wp--preset--color--ink);
}

.jt-logo-subtitle {
	margin: 5px 0 0;
	color: var(--wp--preset--color--signal);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.4;
}

.jt-masthead-deck {
	margin: 0 auto 0 0;
	padding-left: 32px;
	border-left: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--slate);
	font-size: var(--wp--preset--font-size--meta);
	line-height: 1.55;
}

.jt-header-actions {
	gap: 0;
}

.jt-header-search {
	margin: 0;
}

.jt-header-search .wp-block-search__button {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	min-width: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	border-left: 1px solid var(--wp--preset--color--border);
	border-radius: 0;
	background: var(--wp--preset--color--surface);
	color: var(--wp--preset--color--ink);
}

.jt-nav-row {
	min-height: 45px;
	border-top: 1px solid var(--wp--preset--color--border);
}

.jt-primary-nav {
	gap: clamp(18px, 3vw, 38px);
}

.jt-primary-nav .wp-block-navigation-item__content {
	padding-block: 12px;
	color: var(--wp--preset--color--ink);
	font-size: 14px;
	font-weight: 600;
}

.jt-nav-note {
	margin: 0;
	color: var(--wp--preset--color--muted);
	font-size: 11px;
	letter-spacing: 0.12em;
}

/* Photo-led home lead */

/* Home v0.3.1 deliberately follows a familiar travel-news hierarchy:
 * hero search, top stories, category index, guide panels, utility and latest. */

.jt-hero-shell {
	position: relative;
	margin: 0;
}

.jt-hero-shell .jt-site-header {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 20;
	border-bottom: 1px solid rgba(255, 255, 255, 0.42);
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.52), transparent);
	color: #fff;
}

.jt-header-bar {
	min-height: 76px;
	gap: 28px;
}

.jt-hero-shell .jt-logo .wp-block-site-title a,
.jt-hero-shell .jt-logo-subtitle,
.jt-hero-shell .jt-primary-nav .wp-block-navigation-item__content,
.jt-hero-shell .jt-header-search .wp-block-search__button {
	color: #fff;
}

.jt-hero-shell .jt-logo-subtitle {
	color: rgba(255, 255, 255, 0.82);
}

.jt-hero-shell .jt-primary-nav {
	margin-inline: auto;
}

.jt-hero-shell .jt-header-search .wp-block-search__button {
	border-left-color: rgba(255, 255, 255, 0.45);
	background: transparent;
}

.jt-home-hero {
	position: relative;
	min-height: clamp(560px, 72vh, 760px);
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #252525;
}

.jt-home-hero::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.28) 56%, rgba(0, 0, 0, 0.15) 100%);
	content: "";
}

.jt-hero-image,
.jt-hero-image img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}

.jt-hero-content {
	position: relative;
	z-index: 2;
	margin-top: 0 !important;
	padding-top: clamp(160px, 23vh, 230px);
	color: #fff;
}

.jt-hero-content > * {
	margin-block: 0;
}

.jt-hero-content > * + * {
	margin-top: 18px;
}

.jt-hero-kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.13em;
}

.jt-hero-title {
	max-width: 680px;
	color: #fff !important;
	font-family: var(--jt-body-font);
	font-size: clamp(48px, 6vw, 76px);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1.1;
}

.jt-hero-summary {
	max-width: 600px;
	color: rgba(255, 255, 255, 0.9);
	font-size: clamp(17px, 2vw, 21px);
}

.jt-hero-search {
	max-width: 590px;
	margin-top: 30px !important;
}

.jt-hero-search .wp-block-search__inside-wrapper {
	min-height: 58px;
	border: 0;
	border-radius: 0;
	background: #fff;
}

.jt-hero-search .wp-block-search__input {
	padding-inline: 20px;
	border: 0;
	color: var(--wp--preset--color--ink);
	font-size: 16px;
}

.jt-hero-search .wp-block-search__button {
	margin: 0;
	padding-inline: 26px;
	border-radius: 0;
	background: var(--wp--preset--color--signal);
}

.jt-hero-credit {
	position: absolute;
	right: 20px;
	bottom: 14px;
	z-index: 3;
	margin: 0;
	color: rgba(255, 255, 255, 0.74);
	font-size: 11px;
}

.jt-hero-credit a {
	color: inherit;
	text-decoration: underline;
}

.jt-home-hero-grid {
	align-items: flex-start;
	gap: clamp(36px, 5vw, 72px);
}

.jt-home-media {
	margin-top: 32px;
}

.jt-home-lead-image {
	margin: 0;
}

.jt-home-lead-image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	border-radius: 0;
	object-fit: cover;
}

.jt-home-lead-image figcaption {
	margin-top: 8px;
	color: var(--wp--preset--color--muted);
	font-size: 12px;
	line-height: 1.55;
	text-align: left;
}

.jt-home-lead-image figcaption a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.jt-home-hero-copy {
	display: flex;
	flex-direction: column;
	gap: 22px;
	padding-top: 0;
}

.jt-home-hero-copy h1 {
	max-width: 520px;
	margin: 0;
	font-size: clamp(44px, 5.1vw, 64px);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.18;
}

.jt-home-hero-copy > p:not(.jt-eyebrow, .jt-home-hero-link) {
	max-width: 470px;
	margin: 0;
	color: var(--wp--preset--color--slate);
	font-size: clamp(18px, 1.6vw, 20px);
	line-height: 1.8;
}

.jt-home-hero-link {
	margin: 8px 0 0;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
}

.jt-home-hero-link a {
	color: var(--wp--preset--color--teal);
}

.jt-condition-selector {
	margin-top: clamp(48px, 6vw, 80px);
	padding: 28px 0 0;
	border-top: 1px solid var(--wp--preset--color--ink);
	border-bottom: 1px solid var(--wp--preset--color--ink);
	border-radius: 0;
	background: transparent;
}

.jt-condition-intro {
	gap: 24px;
	padding-bottom: 22px;
}

.jt-condition-intro h2,
.jt-condition-intro p {
	margin-block: 0;
}

.jt-condition-intro p {
	color: var(--wp--preset--color--slate);
	font-size: var(--wp--preset--font-size--small);
}

.jt-decision-form {
	margin: 0;
}

.jt-field-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--wp--preset--color--border);
	border-left: 1px solid var(--wp--preset--color--border);
}

.jt-field {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 112px;
	padding: 18px;
	border-right: 1px solid var(--wp--preset--color--border);
	border-radius: 0;
	background: var(--wp--preset--color--surface);
}

.jt-field > * {
	margin: 0;
}

.jt-field-label {
	color: var(--wp--preset--color--slate);
	font-size: var(--wp--preset--font-size--meta);
	font-weight: 600;
}

.jt-field-label strong {
	margin-right: 7px;
	color: var(--wp--preset--color--signal);
	font-size: 12px;
	letter-spacing: 0.08em;
}

.jt-field select {
	width: 100%;
	min-height: 44px;
	padding: 4px 28px 4px 0;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--ink);
	border-radius: 0;
	background: transparent;
	color: var(--wp--preset--color--ink);
	font: inherit;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
}

.jt-decision-action {
	display: flex;
	justify-content: flex-end;
	padding-block: 18px;
}

.jt-decision-submit {
	width: min(100%, 300px);
	min-height: 52px;
	border-radius: 2px;
	cursor: pointer;
}

.jt-decision-result {
	margin: 0 0 28px;
	padding: clamp(24px, 4vw, 40px);
	border-top: 1px solid var(--wp--preset--color--signal);
	border-radius: 0;
	background: var(--wp--preset--color--ink-blue);
	color: var(--wp--preset--color--surface);
}

.jt-decision-result:focus-visible,
.jt-decision-result :focus-visible {
	outline-color: var(--wp--preset--color--surface);
}

.jt-decision-result[hidden] {
	display: none;
}

.jt-decision-result h3,
.jt-decision-result p {
	margin-block: 0;
	color: inherit;
}

.jt-decision-result > * + * {
	margin-top: 12px;
}

.jt-decision-result .jt-badge {
	color: #F39789;
}

.jt-decision-warning {
	padding: 12px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.32);
	border-bottom: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 0;
	background: transparent;
}

.jt-decision-link {
	display: inline-block;
	color: var(--wp--preset--color--surface);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Home news sections */

.jt-home-section {
	padding-block: clamp(54px, 6vw, 84px);
}

.jt-home-section-heading {
	gap: 20px;
	margin-bottom: 28px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--wp--preset--color--ink);
}

.jt-home-section-heading h2,
.jt-home-section-heading p {
	margin: 0;
}

.jt-home-section-heading h2 {
	font-family: var(--jt-body-font);
	font-size: clamp(25px, 3vw, 34px);
	font-weight: 700;
}

.jt-home-section-heading p {
	color: var(--wp--preset--color--signal);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.jt-top-stories {
	background: var(--wp--preset--color--surface);
}

.jt-top-stories-grid {
	display: grid;
	grid-template-columns: 581fr 549fr;
	gap: 40px;
	max-width: 1170px;
}

.jt-top-story-card > *,
.jt-small-story-card > * {
	margin-block: 0;
}

.jt-top-story-card > * + * {
	margin-top: 13px;
}

.jt-top-story-card .wp-block-post-featured-image,
.jt-top-story-card .wp-block-image,
.jt-small-story-card .wp-block-post-featured-image,
.jt-small-story-card .wp-block-image {
	margin: 0 0 13px;
}

.jt-top-story-card img,
.jt-small-story-card img {
	display: block;
	width: 100%;
	border-radius: 0;
	object-fit: cover;
}

.jt-top-story-card img {
	aspect-ratio: 581 / 378;
}

.jt-small-story-card img {
	aspect-ratio: 260 / 158;
}

.jt-top-story-card .wp-block-post-title,
.jt-top-story-card h3 {
	font-family: var(--jt-body-font);
	font-size: clamp(27px, 3vw, 38px);
	font-weight: 700;
	line-height: 1.28;
}

.jt-top-story-card .wp-block-post-excerpt,
.jt-top-story-card > p:not(.jt-story-category, .jt-story-date) {
	color: var(--wp--preset--color--slate);
	font-size: 16px;
}

.jt-top-story-secondary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px 28px;
}

.jt-small-story-card > * + * {
	margin-top: 8px;
}

.jt-small-story-card .wp-block-post-title,
.jt-small-story-card h3 {
	font-family: var(--jt-body-font);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.38;
}

.jt-story-category,
.jt-top-story-card .wp-block-post-terms,
.jt-small-story-card .wp-block-post-terms {
	color: var(--wp--preset--color--signal);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
}

.jt-story-date,
.jt-top-story-card .wp-block-post-date,
.jt-small-story-card .wp-block-post-date {
	color: var(--wp--preset--color--muted);
	font-size: 12px;
}

.jt-story-fallback-main .wp-block-image {
	position: relative;
}

.jt-story-fallback-main .wp-block-image::after {
	position: absolute;
	right: 12px;
	bottom: 9px;
	padding: 3px 6px;
	background: rgba(0, 0, 0, 0.64);
	color: #fff;
	font-size: 9px;
	content: "Nakaharu Line / Unsplash";
}

.jt-category-band {
	padding-block: 0;
	border-top: 1px solid var(--wp--preset--color--border);
	border-bottom: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--canvas);
}

.jt-category-band-grid {
	display: grid;
	grid-template-columns: repeat(8, minmax(0, 1fr));
	gap: 0;
}

.jt-category-link {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 9px;
	min-height: 126px;
	padding: 18px 8px;
	border-left: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--ink);
	font-size: 13px;
	font-weight: 600;
	text-align: center;
}

.jt-category-link:last-child {
	border-right: 1px solid var(--wp--preset--color--border);
}

.jt-category-link:hover {
	background: #fff;
	color: var(--wp--preset--color--signal);
	text-decoration: none;
}

.jt-category-link svg {
	width: 30px;
	height: 30px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
}

.jt-explore-section {
	background: #f3f3f1;
}

.jt-reference-heading {
	display: grid;
	grid-template-columns: minmax(48px, 1fr) auto minmax(48px, 1fr);
	align-items: center;
	gap: clamp(18px, 3vw, 34px);
	margin-bottom: 32px;
}

.jt-reference-heading::before,
.jt-reference-heading::after {
	content: "";
	border-top: 1px solid #d4d2cd;
}

.jt-reference-heading h2 {
	margin: 0;
	font-size: clamp(27px, 3vw, 34px);
	font-weight: 400;
	letter-spacing: -0.02em;
	line-height: 1.25;
	text-align: center;
}

.jt-explore-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.jt-explore-tile {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #202020;
	color: #fff;
}

.jt-explore-tile::after {
	position: absolute;
	inset: 0;
	content: "";
	background: rgba(10, 10, 10, 0.62);
}

.jt-explore-tile img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 240ms ease;
}

.jt-explore-tile:hover img {
	transform: scale(1.025);
}

.jt-explore-tile:focus-visible {
	outline-offset: -5px;
}

.jt-explore-copy {
	position: absolute;
	z-index: 1;
	inset: 50% 16px auto;
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 6px;
	transform: translateY(-50%);
	text-align: center;
}

.jt-explore-copy strong {
	color: inherit;
	font-size: clamp(20px, 2.2vw, 28px);
	font-weight: 500;
	line-height: 1.3;
}

.jt-explore-copy small {
	color: rgba(255, 255, 255, 0.88);
	font-size: 13px;
	line-height: 1.5;
}

.jt-decision-section {
	background: #f3f3f1;
}

.jt-decision-intro {
	margin-bottom: 30px;
	text-align: center;
}

.jt-decision-intro h3 {
	margin: 0;
	font-family: var(--jt-body-font);
	font-size: clamp(21px, 2.4vw, 27px);
	font-weight: 600;
}

.jt-decision-intro p {
	margin: 8px 0 0;
	color: var(--wp--preset--color--slate);
	font-size: 16px;
}

.jt-decision-form {
	max-width: var(--wp--style--global--wide-size);
}

.jt-decision-section .jt-field-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border-top: 1px solid var(--wp--preset--color--border);
	border-left: 1px solid var(--wp--preset--color--border);
	background: #fff;
}

.jt-decision-section .jt-field {
	display: grid;
	grid-template-columns: 42px minmax(112px, 0.55fr) minmax(150px, 1fr);
	align-items: center;
	gap: 14px;
	min-height: 88px;
	padding: 14px 18px;
	border-right: 1px solid var(--wp--preset--color--border);
	border-bottom: 1px solid var(--wp--preset--color--border);
	background: #fff;
}

.jt-decision-section .jt-field-number {
	color: var(--wp--preset--color--signal);
	font-size: 20px;
	font-weight: 400;
	font-variant-numeric: tabular-nums;
}

.jt-decision-section .jt-field-label {
	color: var(--wp--preset--color--ink);
	font-size: 15px;
	font-weight: 600;
}

.jt-decision-section .jt-field select {
	min-height: 46px;
	padding-left: 10px;
	border: 1px solid #d4d2cd;
	background: #fff;
	font-size: 15px;
	font-weight: 400;
}

.jt-decision-section .jt-decision-action {
	justify-content: center;
	padding-block: 24px 0;
}

.jt-decision-section .jt-decision-submit {
	width: min(100%, 260px);
	min-height: 50px;
	border-radius: 0;
}

.jt-decision-section .jt-decision-result {
	margin: 32px 0 0;
	padding: clamp(24px, 4vw, 38px) clamp(20px, 5vw, 64px);
	border-top: 1px solid var(--wp--preset--color--ink);
	border-bottom: 1px solid var(--wp--preset--color--ink);
	background: #fff;
	color: var(--wp--preset--color--ink);
}

.jt-decision-section .jt-decision-result:focus-visible,
.jt-decision-section .jt-decision-result :focus-visible {
	outline-color: var(--wp--preset--color--signal);
}

.jt-decision-section .jt-decision-result .jt-badge,
.jt-decision-section .jt-decision-link {
	color: var(--wp--preset--color--signal);
}

.jt-decision-section .jt-decision-warning {
	border-color: var(--wp--preset--color--border);
}

.jt-latest-section {
	background: #fff;
}

.jt-latest-layout {
	align-items: flex-start;
	gap: clamp(38px, 6vw, 76px);
}

.jt-latest-query .wp-block-post-template,
.jt-ranking-query .wp-block-post-template {
	padding: 0;
	list-style: none;
}

.jt-latest-story {
	display: grid;
	grid-template-columns: 210px minmax(0, 1fr);
	gap: 24px;
	padding-block: 22px;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.jt-latest-story .wp-block-post-featured-image {
	margin: 0;
}

.jt-latest-story img {
	display: block;
	width: 100%;
	height: 142px;
	object-fit: cover;
}

.jt-latest-story-copy > * {
	margin-block: 0;
}

.jt-latest-story-copy > * + * {
	margin-top: 8px;
}

.jt-latest-story-copy .wp-block-post-title {
	font-family: var(--jt-body-font);
	font-weight: 700;
}

.jt-latest-story-copy .wp-block-post-excerpt {
	color: var(--wp--preset--color--slate);
	font-size: 14px;
}

.jt-latest-fallback {
	padding: 40px;
	border: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--canvas);
}

.jt-latest-fallback > * {
	margin-block: 0;
}

.jt-latest-fallback > * + * {
	margin-top: 10px;
}

.jt-ranking-column {
	position: sticky;
	top: 24px;
}

.jt-ranking-story {
	gap: 14px;
	padding-block: 16px;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.jt-ranking-story .wp-block-post-title {
	font-family: var(--jt-body-font);
	font-weight: 600;
}

.jt-ranking-number {
	color: var(--wp--preset--color--signal);
	font-size: 8px;
}

.jt-ranking-fallback p {
	margin: 0;
	padding-block: 16px;
	border-bottom: 1px solid var(--wp--preset--color--border);
	font-size: 15px;
}

.jt-ranking-fallback strong {
	margin-right: 10px;
	color: var(--wp--preset--color--signal);
}

.jt-home-trust-bar {
	padding-block: 22px;
	border-top: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--canvas);
}

.jt-home-trust-bar p {
	margin: 0;
	color: var(--wp--preset--color--slate);
	font-size: 13px;
}

.jt-home-trust-bar strong {
	color: var(--wp--preset--color--ink);
}

/* Topic index */

.jt-topic-index {
	border-top: 1px solid var(--wp--preset--color--border);
	border-bottom: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--canvas);
}

.jt-topic-index-inner {
	gap: 0;
	min-height: 58px;
}

.jt-topic-index-inner p {
	margin: 0;
	padding: 5px clamp(14px, 2vw, 24px);
	border-left: 1px solid var(--wp--preset--color--border);
	font-size: 14px;
	font-weight: 600;
}

.jt-topic-index-inner p:first-child {
	padding-left: 0;
	border-left: 0;
}

.jt-topic-index-label {
	color: var(--wp--preset--color--muted);
	font-size: 12px !important;
	letter-spacing: 0.06em;
}

.jt-topic-index-inner a {
	color: var(--wp--preset--color--ink);
}

.jt-section-head {
	gap: 24px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--wp--preset--color--ink);
}

.jt-section-head h2,
.jt-section-head p {
	margin-block: 0;
}

/* Decision and comparison components */

.jt-quick-answer,
.is-style-jt-quick-answer {
	padding: clamp(24px, 4vw, 40px);
	border-top: 1px solid var(--wp--preset--color--signal);
	border-radius: 0;
	background: var(--wp--preset--color--ink-blue);
	color: var(--wp--preset--color--surface);
}

.jt-quick-answer h2,
.jt-quick-answer h3,
.jt-quick-answer p,
.is-style-jt-quick-answer h2,
.is-style-jt-quick-answer h3,
.is-style-jt-quick-answer p {
	color: inherit;
}

.jt-quick-answer > * {
	margin-block: 0;
}

.jt-quick-answer > * + * {
	margin-block-start: 16px;
}

.jt-answer-top,
.jt-answer-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.jt-answer-meta {
	color: rgba(255, 255, 255, 0.68);
	font-size: var(--wp--preset--font-size--meta);
}

.jt-chip-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	padding-block: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.32);
	border-bottom: 1px solid rgba(255, 255, 255, 0.32);
}

.jt-chip {
	display: inline-block;
	min-height: 0;
	margin: 0;
	padding: 0 14px;
	border-left: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 0;
	background: transparent;
	color: inherit;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
}

.jt-chip:first-child {
	padding-left: 0;
	border-left: 0;
}

.jt-answer-price {
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
}

.jt-transport-card,
.is-style-jt-transport-card {
	padding: 28px 0;
	border-top: 1px solid var(--wp--preset--color--ink);
	border-bottom: 1px solid var(--wp--preset--color--ink);
	border-radius: 0;
	background: transparent;
}

.jt-transport-card > * {
	margin-block: 0;
}

.jt-transport-card > * + * {
	margin-block-start: 18px;
}

.jt-transport-top,
.jt-transport-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.jt-transport-type,
.jt-transport-subtitle {
	color: var(--wp--preset--color--muted);
}

.jt-transport-type {
	font-size: var(--wp--preset--font-size--meta);
}

.jt-metric-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--wp--preset--color--border);
	border-left: 1px solid var(--wp--preset--color--border);
}

.jt-metric {
	min-height: 96px;
	padding: 16px;
	border-right: 1px solid var(--wp--preset--color--border);
	border-bottom: 1px solid var(--wp--preset--color--border);
	border-radius: 0;
	background: var(--wp--preset--color--surface);
}

.jt-metric > * {
	margin: 0;
}

.jt-metric-label {
	color: var(--wp--preset--color--slate);
	font-size: var(--wp--preset--font-size--meta);
}

.jt-metric-value {
	margin-top: 4px !important;
	font-size: var(--wp--preset--font-size--heading-small);
	font-weight: 600;
	line-height: 1.45;
}

.jt-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--wp--preset--color--border);
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.jt-detail {
	padding: 16px 18px;
	border-radius: 0;
	background: transparent;
}

.jt-detail + .jt-detail {
	border-left: 1px solid var(--wp--preset--color--border);
}

.jt-detail > * {
	margin: 0;
}

.jt-detail > * + * {
	margin-top: 6px;
}

.jt-detail-good strong {
	color: var(--wp--preset--color--ink);
}

.jt-detail-warning {
	background: var(--wp--preset--color--warning-soft);
}

.jt-detail-warning strong {
	color: var(--wp--preset--color--warning);
}

.jt-official-link {
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
}

/* Callouts, sources, and trust */

.jt-callout,
.is-style-jt-callout {
	position: relative;
	padding: 16px 0;
	border-top: 1px solid var(--wp--preset--color--border);
	border-bottom: 1px solid var(--wp--preset--color--border);
	border-radius: 0;
	background: transparent;
}

.jt-callout::before,
.is-style-jt-callout::before {
	display: block;
	margin-bottom: 8px;
	color: var(--wp--preset--color--muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	content: "NOTE";
}

.jt-callout > * {
	margin: 0;
}

.jt-callout > * + * {
	margin-top: 6px;
}

.jt-callout-warning {
	padding-inline: 16px;
	background: var(--wp--preset--color--warning-soft);
}

.jt-callout-warning::before {
	color: var(--wp--preset--color--warning);
	content: "CAUTION";
}

.jt-callout-trust::before {
	content: "EDITORIAL NOTE";
}

.jt-source-bar {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding: 18px 0;
	border-top: 1px solid var(--wp--preset--color--border);
	border-bottom: 1px solid var(--wp--preset--color--border);
	border-radius: 0;
	background: transparent;
}

.jt-source-copy {
	flex: 1 1 auto;
}

.jt-source-copy > * {
	margin: 0;
}

.jt-source-copy > * + * {
	margin-top: 4px;
}

.jt-source-copy p:last-child {
	color: var(--wp--preset--color--slate);
	font-size: var(--wp--preset--font-size--meta);
}

.jt-trust-section {
	border-top: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--canvas);
}

.jt-trust-intro {
	max-width: 760px;
	margin-left: 0 !important;
}

.jt-trust-intro h2 {
	margin-block: 14px 18px;
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 500;
	line-height: 1.25;
}

.jt-trust-intro p:last-child {
	max-width: 660px;
}

.jt-trust-strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	margin-top: 42px !important;
	border-top: 1px solid var(--wp--preset--color--ink);
	border-bottom: 1px solid var(--wp--preset--color--ink);
}

.jt-trust-item {
	padding: 24px;
}

.jt-trust-item + .jt-trust-item {
	border-left: 1px solid var(--wp--preset--color--border);
}

.jt-trust-item > * {
	margin-block: 0;
}

.jt-trust-item > * + * {
	margin-top: 12px;
}

.jt-trust-number {
	color: var(--wp--preset--color--signal);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.09em;
}

.jt-trust-section > .jt-official-link {
	margin-top: 24px;
}

/* Editorial story list */

.jt-card-grid .wp-block-post-template {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	margin-top: 40px;
	padding: 0;
	list-style: none;
}

.jt-card-grid .wp-block-post-template > li {
	margin: 0;
}

.jt-article-card,
.is-style-jt-card {
	display: grid !important;
	grid-template-columns: minmax(220px, 31%) minmax(0, 1fr);
	gap: clamp(22px, 4vw, 48px);
	height: auto;
	padding-block: 24px;
	overflow: visible;
	border: 0;
	border-top: 1px solid var(--wp--preset--color--border);
	border-radius: 0;
	background: transparent;
}

.jt-article-card .wp-block-post-featured-image {
	width: 100%;
	margin: 0;
	background: var(--wp--preset--color--subtle);
}

.jt-article-card .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 0;
	object-fit: cover;
}

.jt-article-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: 0;
}

.jt-article-card-body > * {
	margin: 0;
}

.jt-article-card .wp-block-post-title {
	font-size: var(--wp--preset--font-size--heading-medium);
	font-weight: 600;
}

.jt-article-card .wp-block-post-excerpt {
	color: var(--wp--preset--color--slate);
	font-size: var(--wp--preset--font-size--small);
}

.jt-card-meta {
	display: flex;
	gap: 12px;
	margin-top: auto;
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--meta);
}

.jt-story-list .wp-block-post-template {
	grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
	column-gap: clamp(32px, 5vw, 64px);
}

.jt-story-list .wp-block-post-template > li:first-child {
	grid-row: span 5;
}

.jt-story-list .wp-block-post-template > li:first-child .jt-article-card {
	display: block !important;
	padding-top: 0;
	border-top: 0;
}

.jt-story-list .wp-block-post-template > li:first-child .wp-block-post-featured-image {
	aspect-ratio: 3 / 2;
}

.jt-story-list .wp-block-post-template > li:first-child .jt-article-card-body {
	padding-top: 20px;
}

.jt-story-list .wp-block-post-template > li:first-child .wp-block-post-title {
	font-size: clamp(28px, 3vw, 40px);
}

.jt-story-list .wp-block-post-template > li:not(:first-child) .jt-article-card {
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 20px;
	padding-block: 18px;
}

.jt-story-list .wp-block-post-template > li:not(:first-child) .wp-block-post-featured-image {
	aspect-ratio: 4 / 3;
}

.jt-story-list .wp-block-post-template > li:not(:first-child) .wp-block-post-title {
	font-size: var(--wp--preset--font-size--heading-small);
}

.jt-story-list .wp-block-post-template > li:not(:first-child) .wp-block-post-excerpt {
	display: none;
}

/* Article, archive, search, FAQ, and 404 */

.jt-article-hero {
	padding-block: clamp(48px, 6vw, 80px);
}

.jt-article-hero-grid {
	align-items: flex-end;
	gap: clamp(32px, 5vw, 64px);
}

.jt-article-hero .wp-block-post-title {
	font-size: clamp(38px, 5vw, 60px);
	font-weight: 500;
}

.jt-article-hero .wp-block-post-featured-image,
.jt-article-hero .wp-block-post-featured-image img {
	border-radius: 0;
}

.jt-post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--muted);
	font-size: var(--wp--preset--font-size--meta);
}

.jt-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 760px) minmax(260px, 340px);
	gap: clamp(36px, 6vw, 80px);
	align-items: start;
}

.jt-article-main > * + * {
	margin-block-start: 28px;
}

.jt-article-sidebar {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.jt-toc {
	padding: 20px 0;
	border-top: 1px solid var(--wp--preset--color--ink);
	border-bottom: 1px solid var(--wp--preset--color--ink);
	border-radius: 0;
	background: transparent;
}

.jt-toc > * {
	margin: 0;
}

.jt-toc > * + * {
	margin-top: 12px;
}

.jt-toc a {
	color: var(--wp--preset--color--slate);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
}

.jt-condition-example {
	padding: 18px 0;
	border-top: 1px solid var(--wp--preset--color--border);
	border-bottom: 1px solid var(--wp--preset--color--border);
	border-radius: 0;
	background: transparent;
}

.jt-condition-example > * {
	margin: 0;
}

.jt-condition-example > * + * {
	margin-top: 8px;
}

.jt-faq details {
	padding-block: 18px;
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.jt-faq summary {
	cursor: pointer;
	font-family: var(--jt-display-font);
	font-size: var(--wp--preset--font-size--heading-small);
	font-weight: 600;
}

.jt-faq details > p {
	color: var(--wp--preset--color--slate);
}

.jt-archive-header,
.jt-search-header {
	padding-block: clamp(48px, 6vw, 80px);
	border-bottom: 1px solid var(--wp--preset--color--border);
}

.jt-archive-header h1,
.jt-search-header h1 {
	font-size: clamp(38px, 5vw, 60px);
	font-weight: 500;
}

.jt-filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.jt-search-form .wp-block-search__inside-wrapper {
	max-width: 720px;
}

.jt-search-form .wp-block-search__input {
	min-height: 56px;
	padding-inline: 16px;
	border: 1px solid var(--wp--preset--color--muted);
	border-radius: 2px 0 0 2px;
	font: inherit;
}

.jt-search-form .wp-block-search__button {
	min-width: 56px;
	margin: 0;
	border-radius: 0 2px 2px 0;
}

.jt-static-content {
	max-width: 720px;
	margin-inline: auto;
}

.jt-static-content > * + * {
	margin-block-start: 28px;
}

.jt-404 {
	min-height: 680px;
	padding-block: 64px;
	text-align: center;
}

.jt-404 > * {
	margin-inline: auto;
}

.jt-404-number {
	margin: 0;
	color: var(--wp--preset--color--signal);
	font-size: clamp(48px, 8vw, 80px);
	font-weight: 600;
	line-height: 1;
}

/* Footer */

.jt-site-footer {
	padding-block: clamp(48px, 6vw, 72px);
	border-top: 1px solid var(--wp--preset--color--ink);
	background: var(--wp--preset--color--ink-blue);
	color: var(--wp--preset--color--surface);
}

.jt-site-footer a,
.jt-site-footer .wp-block-site-title a,
.jt-site-footer p {
	color: inherit;
}

.jt-site-footer .jt-logo {
	max-width: 340px;
}

.jt-footer-inner {
	gap: 40px;
}

.jt-footer-links {
	gap: 24px;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
}

.jt-footer-operation {
	margin: 0;
	color: rgba(255, 255, 255, 0.62) !important;
	font-size: 12px;
	letter-spacing: 0.05em;
}

/* Core block refinements */

.wp-block-button .wp-element-button {
	min-height: 44px;
	border-radius: 2px;
	transition: background-color 160ms ease, color 160ms ease;
}

.wp-block-button .wp-element-button:hover {
	background: var(--wp--preset--color--ink-blue);
	text-decoration: none;
}

.is-style-outline > .wp-element-button {
	border: 1px solid var(--wp--preset--color--ink);
	border-radius: 2px;
	background: transparent;
	color: var(--wp--preset--color--ink);
}

.is-style-outline > .wp-element-button:hover {
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--surface);
}

@media (max-width: 1023px) {
	.jt-masthead-row,
	.jt-nav-row,
	.jt-footer-inner {
		padding-inline: 20px;
	}

	.jt-home-hero-grid,
	.jt-article-hero-grid {
		gap: 32px;
	}

	.jt-field-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jt-field:nth-child(-n + 2) {
		border-bottom: 1px solid var(--wp--preset--color--border);
	}

	.jt-trust-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jt-trust-item:nth-child(3) {
		border-top: 1px solid var(--wp--preset--color--border);
		border-left: 0;
	}

	.jt-trust-item:nth-child(4) {
		border-top: 1px solid var(--wp--preset--color--border);
	}

	.jt-article-layout {
		display: block;
	}

	.jt-article-sidebar {
		position: static;
		margin-top: 48px;
	}

	.jt-story-list .wp-block-post-template {
		grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
		column-gap: 32px;
	}

	.jt-header-bar {
		padding-inline: 20px;
	}

	.jt-hero-shell .jt-primary-nav {
		display: none;
	}

	.jt-top-stories-grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
		gap: 30px;
	}

	.jt-top-story-secondary {
		gap: 24px 18px;
	}

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

	.jt-category-link:nth-child(n + 5) {
		border-top: 1px solid var(--wp--preset--color--border);
	}

	.jt-explore-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.jt-section,
	.jt-section-compact,
	.jt-home-hero,
	.jt-article-hero,
	.jt-archive-header,
	.jt-search-header {
		padding-block: 48px;
	}

	.jt-masthead-row {
		min-height: 64px;
		padding-inline: 16px;
	}

	.jt-masthead-deck,
	.jt-nav-note {
		display: none;
	}

	.jt-header-bar {
		min-height: 64px;
		padding-inline: 16px;
	}

	.jt-hero-shell .jt-header-search {
		display: none;
	}

	.jt-hero-shell .jt-primary-nav {
		display: block;
		margin: 0 0 0 auto;
	}

	.jt-hero-shell .jt-primary-nav .wp-block-navigation__responsive-container-open {
		position: static;
		color: #fff;
	}

	.jt-home-hero {
		min-height: 600px;
	}

	.jt-home-hero::after {
		background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.28));
	}

	.jt-hero-content {
		padding-top: 156px;
	}

	.jt-hero-title {
		font-size: clamp(43px, 12vw, 58px);
	}

	.jt-hero-search {
		width: 100%;
	}

	.jt-hero-search .wp-block-search__inside-wrapper {
		min-height: 54px;
	}

	.jt-hero-search .wp-block-search__button {
		padding-inline: 17px;
	}

	.jt-hero-credit {
		right: 14px;
		bottom: 10px;
		font-size: 9px;
	}

	.jt-home-section {
		padding-block: 48px;
	}

	.jt-home-section-heading {
		margin-bottom: 22px;
	}

	.jt-top-stories-grid {
		grid-template-columns: 1fr;
		gap: 38px;
	}

	.jt-top-story-secondary {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 25px 16px;
	}

	.jt-top-story-card .wp-block-post-title,
	.jt-top-story-card h3 {
		font-size: 27px;
	}

	.jt-small-story-card .wp-block-post-title,
	.jt-small-story-card h3 {
		font-size: 16px;
	}

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

	.jt-category-link {
		min-height: 104px;
		padding: 14px 4px;
		font-size: 11px;
	}

	.jt-category-link svg {
		width: 25px;
		height: 25px;
	}

	.jt-reference-heading {
		gap: 16px;
		margin-bottom: 22px;
	}

	.jt-reference-heading h2 {
		font-size: 24px;
	}

	.jt-explore-grid {
		display: grid;
		grid-template-columns: none;
		grid-auto-columns: min(82vw, 320px);
		grid-auto-flow: column;
		gap: 12px;
		overflow-x: auto;
		padding-bottom: 8px;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.jt-explore-grid::-webkit-scrollbar {
		display: none;
	}

	.jt-explore-tile {
		scroll-snap-align: start;
	}

	.jt-latest-layout {
		flex-direction: column;
	}

	.jt-latest-layout > .wp-block-column {
		flex-basis: auto !important;
		width: 100%;
	}

	.jt-decision-section .jt-field-grid {
		grid-template-columns: 1fr;
	}

	.jt-decision-section .jt-field {
		grid-template-columns: 38px minmax(0, 1fr);
		gap: 4px 12px;
		min-height: 0;
		padding: 16px;
	}

	.jt-decision-section .jt-field select {
		grid-column: 2;
		width: 100%;
	}

	.jt-decision-section .jt-decision-submit {
		width: 100%;
		max-width: none;
	}

	.jt-latest-story {
		grid-template-columns: 112px minmax(0, 1fr);
		gap: 15px;
	}

	.jt-latest-story img {
		height: 82px;
	}

	.jt-latest-story-copy .wp-block-post-excerpt {
		display: none;
	}

	.jt-ranking-column {
		position: static;
		margin-top: 42px;
	}

	.jt-logo .wp-block-site-title {
		font-size: 18px;
	}

	.jt-logo-subtitle {
		font-size: 11px;
	}

	.jt-nav-row {
		min-height: 0;
		padding: 0 16px;
		border-top: 0;
	}

	.jt-primary-nav {
		width: 100%;
		justify-content: flex-end;
	}

	.jt-primary-nav .wp-block-navigation__responsive-container-open {
		position: absolute;
		right: 76px;
		top: 19px;
	}

	.jt-home-hero-grid,
	.jt-article-hero-grid {
		flex-direction: column;
	}

	.jt-home-media {
		margin-top: 0;
	}

	.jt-home-hero-copy h1 {
		font-size: clamp(38px, 11vw, 48px);
		overflow-wrap: anywhere;
	}

	.jt-condition-selector {
		margin-top: 48px;
	}

	.jt-condition-intro {
		align-items: flex-start;
		flex-direction: column;
	}

	.jt-field-grid {
		grid-template-columns: 1fr;
	}

	.jt-field,
	.jt-field:nth-child(-n + 2) {
		min-height: 0;
		border-bottom: 1px solid var(--wp--preset--color--border);
	}

	.jt-decision-action {
		justify-content: stretch;
	}

	.jt-decision-submit {
		width: 100%;
		max-width: none;
	}

	.jt-topic-index-inner {
		padding-block: 10px;
	}

	.jt-topic-index-inner p,
	.jt-topic-index-inner p:first-child {
		padding: 5px 10px;
		border-left: 1px solid var(--wp--preset--color--border);
	}

	.jt-topic-index-inner p:first-child {
		width: 100%;
		border-left: 0;
	}

	.jt-answer-footer,
	.jt-transport-actions,
	.jt-source-bar {
		align-items: flex-start;
		flex-direction: column;
	}

	.jt-metric-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jt-detail-grid {
		grid-template-columns: 1fr;
	}

	.jt-detail + .jt-detail {
		border-top: 1px solid var(--wp--preset--color--border);
		border-left: 0;
	}

	.jt-trust-strip {
		grid-template-columns: 1fr;
	}

	.jt-trust-item + .jt-trust-item,
	.jt-trust-item:nth-child(3),
	.jt-trust-item:nth-child(4) {
		border-top: 1px solid var(--wp--preset--color--border);
		border-left: 0;
	}

	.jt-card-grid .wp-block-post-template,
	.jt-story-list .wp-block-post-template {
		grid-template-columns: 1fr;
	}

	.jt-story-list .wp-block-post-template > li:first-child {
		grid-row: auto;
	}

	.jt-story-list .wp-block-post-template > li:not(:first-child) .jt-article-card,
	.jt-article-card,
	.is-style-jt-card {
		grid-template-columns: 118px minmax(0, 1fr);
		gap: 16px;
	}

	.jt-story-list .wp-block-post-template > li:first-child .jt-article-card {
		display: block !important;
	}

	.jt-story-list .wp-block-post-template > li:first-child .wp-block-post-title {
		font-size: var(--wp--preset--font-size--heading-medium);
	}

	.jt-article-card .wp-block-post-excerpt {
		display: none;
	}

	.jt-site-footer {
		padding-block: 48px;
	}

	.jt-footer-inner,
	.jt-footer-links {
		align-items: flex-start;
		flex-direction: column;
	}

	.jt-footer-links {
		gap: 12px;
	}

	.jt-static-content h1 {
		font-size: var(--wp--preset--font-size--heading-large);
	}

	.jt-404 {
		min-height: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

/* ------------------------------------------------------------
 * Reference-led media home (v0.4.0)
 * Structure follows the approved editorial reference: ranking,
 * destinations, map, seasonal features, latest articles and news.
 * ------------------------------------------------------------ */

.jt-ref-header,
.jt-ref-footer,
.jt-ref-home,
.jt-ref-home .wp-block-group,
.jt-ref-home .wp-block-post-featured-image,
.jt-ref-home img,
.jt-ref-home a,
.jt-ref-home span,
.jt-ref-header input,
.jt-ref-header button {
	border-radius: 0 !important;
	box-shadow: none !important;
}

.jt-ref-header {
	position: relative;
	z-index: 20;
	margin-block: 0 !important;
	background: #fff;
	border-bottom: 1px solid #e3e3e0;
}

.jt-ref-masthead {
	min-height: 82px;
	gap: 20px;
	padding-block: 16px;
}

.jt-ref-logo {
	flex: none;
	color: #1a1a1a;
	font-family: Arial, "Noto Sans Thai", sans-serif;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1;
	text-decoration: none;
}

.jt-ref-logo span {
	color: #bc002d;
}

.jt-ref-logo small {
	display: block;
	margin-top: 5px;
	color: #8b8b86;
	font-family: Arial, sans-serif;
	font-size: 8px;
	font-weight: 400;
	letter-spacing: 0.15em;
	line-height: 1;
}

.jt-ref-search {
	width: 230px;
	margin-left: auto;
}

.jt-ref-search .wp-block-search__inside-wrapper {
	min-height: 36px;
	padding: 0 !important;
	border: 1px solid #cfcfcb;
	background: #fff;
}

.jt-ref-search .wp-block-search__input {
	min-width: 0;
	padding: 6px 10px;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 13px;
}

.jt-ref-search .wp-block-search__button {
	min-width: 52px;
	margin: 0;
	padding: 0 10px;
	border: 0;
	background: #1a1a1a;
	color: #fff;
	font-size: 11px;
}

.jt-ref-social {
	flex: none;
	color: #92928d;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 11px;
	letter-spacing: 0.02em;
}

.jt-ref-nav-row {
	min-height: 54px;
	border-top: 1px solid #e3e3e0;
}

.jt-ref-nav {
	align-self: stretch;
	min-width: 0;
}

.jt-ref-nav .wp-block-navigation__container {
	height: 100%;
	gap: 0 26px;
}

.jt-ref-nav .wp-block-navigation-item {
	height: 100%;
}

.jt-ref-nav .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	height: 100%;
	padding-block: 13px 10px;
	border-bottom: 3px solid transparent;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
	text-decoration: none;
	white-space: nowrap;
}

.jt-ref-nav .wp-block-navigation-item:first-child .wp-block-navigation-item__content,
.jt-ref-nav .wp-block-navigation-item__content:hover,
.jt-ref-nav .wp-block-navigation-item__content:focus-visible {
	border-bottom-color: #bc002d;
}

.jt-ref-deals {
	display: flex;
	align-self: stretch;
	align-items: center;
	justify-content: center;
	min-width: 126px;
	padding: 12px 20px;
	background: #bc002d;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.6;
	text-decoration: none;
	white-space: nowrap;
}

.jt-ref-home {
	margin-block-start: 0 !important;
	background: #fff;
	color: #1a1a1a;
}

.jt-ref-section {
	margin-block: 0 !important;
	padding-block: 36px 4px;
}

.jt-ref-section + .jt-ref-section {
	margin-block-start: 0 !important;
}

.jt-ref-section-head {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-bottom: 20px;
	padding-bottom: 8px;
	border-bottom: 2px solid #1a1a1a;
}

.jt-ref-section-head h2 {
	margin: 0;
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.5;
}

.jt-ref-section-head .jt-ref-kicker {
	margin: 0;
	color: #92928d;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 10px;
	letter-spacing: 0.14em;
	line-height: 1.4;
}

.jt-ref-section-head .jt-ref-more {
	margin: 0 0 0 auto;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.7;
	white-space: nowrap;
}

.jt-ref-section-head .jt-ref-more a {
	padding-bottom: 1px;
	border-bottom: 1px solid #cfcfcb;
	color: #62625e;
	text-decoration: none;
}

.jt-ref-ranking-query .wp-block-post-template,
.jt-ref-rank-fallback,
.jt-ref-latest-query .wp-block-post-template,
.jt-ref-latest-fallback,
.jt-ref-seasonal-query .wp-block-post-template,
.jt-ref-seasonal-fallback {
	display: grid;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jt-ref-ranking-query .wp-block-post-template,
.jt-ref-rank-fallback,
.jt-ref-latest-query .wp-block-post-template,
.jt-ref-latest-fallback {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px 20px;
}

.jt-ref-seasonal-query .wp-block-post-template,
.jt-ref-seasonal-fallback {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px 18px;
}

.jt-ref-card {
	position: relative;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
}

.jt-ref-card .wp-block-post-featured-image,
.jt-ref-card > img,
.jt-ref-thumb {
	position: relative;
	margin: 0 0 9px;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: #f1f1ee;
}

.jt-ref-card .wp-block-post-featured-image img,
.jt-ref-card > img,
.jt-ref-thumb > img,
.jt-ref-thumb .wp-block-post-featured-image,
.jt-ref-thumb .wp-block-post-featured-image a,
.jt-ref-thumb .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
}

.jt-ref-card > img {
	height: auto;
}

.jt-ref-card-title,
.jt-ref-card .wp-block-post-title {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	margin: 0 0 7px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.72;
}

.jt-ref-card-title a,
.jt-ref-card .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

.jt-ref-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	color: #6e6e6a;
	font-size: 11px;
	line-height: 1.5;
}

.jt-ref-meta > * {
	margin: 0;
}

.jt-ref-meta .wp-block-post-date {
	color: #92928d;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 10px;
}

.jt-ref-area {
	padding: 1px 7px;
	border: 1px solid #cfcfcb;
	color: #1a1a1a;
	font-weight: 500;
}

.jt-ref-area a {
	text-decoration: none;
}

.jt-ref-cat-label {
	position: absolute;
	right: auto;
	bottom: 0;
	left: 0;
	z-index: 2;
	margin: 0;
	padding: 3px 9px;
	background: rgba(26, 26, 26, 0.88);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.55;
}

.jt-ref-cat-label a {
	color: inherit;
	text-decoration: none;
}

.jt-ref-cat-label--red {
	background: #bc002d;
}

.jt-ref-rank-card {
	counter-increment: jt-ranking;
}

.jt-ref-ranking-query .wp-block-post-template,
.jt-ref-rank-fallback {
	counter-reset: jt-ranking;
}

.jt-ref-rank-card::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	background: #1a1a1a;
	color: #fff;
	content: counter(jt-ranking);
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
}

.jt-ref-ranking-query .wp-block-post-template > li:nth-child(-n + 3) .jt-ref-rank-card::before,
.jt-ref-rank-fallback > .jt-ref-rank-card:nth-child(-n + 3)::before {
	background: #bc002d;
}

.jt-ref-empty-note {
	margin: 0;
	color: #797975;
	font-size: 11px;
	line-height: 1.7;
}

.jt-ref-region-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 1px;
	overflow: hidden;
	background: #e3e3e0;
	border: 1px solid #e3e3e0;
}

.jt-ref-region {
	display: block;
	background: #fff;
	color: #1a1a1a;
	text-decoration: none;
}

.jt-ref-region img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.jt-ref-region > span {
	display: block;
	padding: 8px 6px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-align: center;
}

.jt-ref-region small {
	display: block;
	margin-top: 2px;
	color: #92928d;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 9px;
	font-weight: 400;
	letter-spacing: 0.05em;
}

.jt-ref-map-wrap,
.jt-ref-map-wrap > * {
	width: 100%;
	max-width: none;
}

.jt-ref-map-wrap .jtm-wrap {
	margin: 0;
}

.jt-ref-news-query .wp-block-post-template,
.jt-ref-news-fallback {
	margin: 0;
	padding: 0;
	border-top: 1px solid #e3e3e0;
	list-style: none;
}

.jt-ref-news-row {
	display: grid;
	grid-template-columns: 86px 112px minmax(0, 1fr);
	align-items: start;
	gap: 14px;
	margin: 0;
	padding: 12px 0;
	border-bottom: 1px solid #e3e3e0;
}

.jt-ref-news-row > * {
	margin: 0;
}

.jt-ref-news-date {
	padding-top: 4px;
	color: #92928d;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 11px;
	line-height: 1.5;
	white-space: nowrap;
}

.jt-ref-news-cat {
	justify-self: start;
	margin-top: 3px;
	padding: 1px 7px;
	background: #f6f6f3;
	border: 1px solid #e3e3e0;
	font-size: 10px;
	line-height: 1.65;
	white-space: nowrap;
}

.jt-ref-news-cat a {
	color: inherit;
	text-decoration: none;
}

.jt-ref-news-title,
.jt-ref-news-row .wp-block-post-title {
	margin: 0;
	font-family: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
}

.jt-ref-news-title a {
	color: inherit;
	text-decoration: none;
}

.jt-ref-footer {
	margin-block: 56px 0 !important;
	padding-block: 38px 30px;
	background: #1a1a1a;
	color: #b8b8b2;
	font-size: 13px;
}

.jt-ref-footer-cols {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 32px;
	padding-bottom: 26px;
	border-bottom: 1px solid #333330;
}

.jt-ref-footer h4 {
	margin: 0 0 12px;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.6;
}

.jt-ref-footer a:not(.jt-ref-logo) {
	display: block;
	padding: 3px 0;
	color: inherit;
	font-size: 12px;
	line-height: 1.7;
	text-decoration: none;
}

.jt-ref-logo--footer {
	display: inline-block;
	margin-bottom: 10px;
	color: #fff;
}

.jt-ref-logo--footer span {
	color: #ff5c7a;
}

.jt-ref-footer-brand p {
	max-width: 300px;
	margin: 0;
	font-size: 12px;
	line-height: 2.05;
}

.jt-ref-copyright {
	padding-top: 18px;
}

.jt-ref-copyright p {
	margin: 0;
	color: #77776f;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 10px;
	line-height: 1.7;
}

@media (max-width: 900px) {
	.jt-ref-masthead,
	.jt-ref-nav-row,
	.jt-ref-section-head,
	.jt-ref-query,
	.jt-ref-region-grid,
	.jt-ref-map-wrap,
	.jt-ref-footer-cols,
	.jt-ref-copyright {
		margin-inline: 20px !important;
	}

	.jt-ref-social {
		display: none;
	}

	.jt-ref-search {
		width: 210px;
	}

	.jt-ref-nav-row {
		min-height: 50px;
	}

	.jt-ref-nav .wp-block-navigation__responsive-container-open {
		display: flex;
		align-items: center;
		min-height: 50px;
		padding: 0;
	}

	.jt-ref-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.jt-ref-deals {
		min-width: 118px;
	}

	.jt-ref-ranking-query .wp-block-post-template,
	.jt-ref-rank-fallback,
	.jt-ref-latest-query .wp-block-post-template,
	.jt-ref-latest-fallback,
	.jt-ref-seasonal-query .wp-block-post-template,
	.jt-ref-seasonal-fallback {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jt-ref-region-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.jt-ref-footer-cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.jt-ref-masthead,
	.jt-ref-nav-row,
	.jt-ref-section-head,
	.jt-ref-query,
	.jt-ref-region-grid,
	.jt-ref-map-wrap,
	.jt-ref-footer-cols,
	.jt-ref-copyright {
		margin-inline: 14px !important;
	}

	.jt-ref-masthead {
		min-height: 70px;
		gap: 10px;
		padding-block: 12px;
	}

	.jt-ref-logo {
		font-size: 19px;
	}

	.jt-ref-logo small {
		font-size: 6.5px;
	}

	.jt-ref-search {
		width: min(46vw, 170px);
	}

	.jt-ref-search .wp-block-search__input {
		font-size: 12px;
	}

	.jt-ref-search .wp-block-search__button {
		min-width: 42px;
		padding-inline: 6px;
		font-size: 10px;
	}

	.jt-ref-deals {
		min-width: 108px;
		padding-inline: 14px;
		font-size: 13px;
	}

	.jt-ref-section {
		padding-top: 30px;
	}

	.jt-ref-section-head {
		align-items: flex-end;
		gap: 7px;
		margin-bottom: 16px;
	}

	.jt-ref-section-head h2 {
		font-size: 17px;
		line-height: 1.55;
	}

	.jt-ref-section-head .jt-ref-kicker {
		display: none;
	}

	.jt-ref-section-head .jt-ref-more {
		font-size: 10px;
	}

	.jt-ref-ranking-query .wp-block-post-template,
	.jt-ref-rank-fallback,
	.jt-ref-latest-query .wp-block-post-template,
	.jt-ref-latest-fallback,
	.jt-ref-seasonal-query .wp-block-post-template,
	.jt-ref-seasonal-fallback {
		gap: 20px 12px;
	}

	.jt-ref-card-title,
	.jt-ref-card .wp-block-post-title {
		font-size: 13.5px;
		line-height: 1.72;
	}

	.jt-ref-meta {
		gap: 5px;
		font-size: 10px;
	}

	.jt-ref-meta .wp-block-post-author-name {
		display: none;
	}

	.jt-ref-area {
		padding-inline: 5px;
	}

	.jt-ref-region > span {
		font-size: 12px;
	}

	.jt-ref-news-row {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 5px 10px;
	}

	.jt-ref-news-date {
		grid-column: 1;
	}

	.jt-ref-news-cat {
		grid-column: 2;
	}

	.jt-ref-news-title,
	.jt-ref-news-row .wp-block-post-title {
		grid-column: 1 / -1;
		font-size: 13px;
	}

	.jt-ref-footer {
		margin-top: 44px !important;
		padding-block: 32px 24px;
	}

	.jt-ref-footer-cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 20px;
	}

	.jt-ref-footer-brand {
		grid-column: 1 / -1;
	}
}
