:root {
	--ktt-primary: #289dcc;
	--ktt-primary-dark: #167ca7;
	--ktt-navy: #10283d;
	--ktt-navy-soft: #183a55;
	--ktt-accent: #f4b41b;
	--ktt-bg: #f4f6f8;
	--ktt-card: #ffffff;
	--ktt-text: #202833;
	--ktt-muted: #6d7782;
	--ktt-border: #e4e9ee;
	--ktt-radius: 12px;
	--ktt-shadow: 0 8px 24px rgba(16, 40, 61, .08);
	--ktt-container: 1220px;
}

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

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--ktt-bg);
	color: var(--ktt-text);
	font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
	text-rendering: optimizeLegibility;
}

body.menu-open {
	overflow: hidden;
}

a {
	color: var(--ktt-navy);
	text-decoration: none;
	transition: color .2s ease, background-color .2s ease, opacity .2s ease, transform .2s ease;
}

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

button,
input,
select,
textarea {
	font: inherit;
}

button,
input[type="submit"] {
	cursor: pointer;
}

img,
svg,
video {
	max-width: 100%;
}

img {
	height: auto;
}

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

.site-main {
	padding: 26px 0 56px;
}

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

.screen-reader-text:focus,
.skip-link:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 10px 16px;
	background: #fff;
	color: var(--ktt-navy);
	border-radius: 6px;
	box-shadow: var(--ktt-shadow);
}

:focus-visible {
	outline: 3px solid rgba(40, 157, 204, .45);
	outline-offset: 3px;
}

/* Header and ticker */
.news-ticker {
	position: relative;
	z-index: 40;
	background: var(--ktt-navy);
	color: #fff;
	font-size: 13px;
}

.ticker-inner {
	display: flex;
	align-items: center;
	min-height: 36px;
	overflow: hidden;
}

.ticker-label {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	align-self: stretch;
	padding: 8px 18px 8px 0;
	background: var(--ktt-navy);
	color: #fff;
	white-space: nowrap;
}

.ticker-label::after {
	content: "";
	position: absolute;
	top: 0;
	right: -16px;
	width: 32px;
	height: 100%;
	background: linear-gradient(90deg, var(--ktt-navy), transparent);
}

.ticker-label span {
	color: #ff5555;
	font-size: 9px;
	animation: tickerPulse 1.4s infinite;
}

.ticker-viewport {
	min-width: 0;
	overflow: hidden;
	margin-left: 18px;
}

.ticker-track {
	display: flex;
	align-items: center;
	gap: 34px;
	width: max-content;
	animation: tickerMove 34s linear infinite;
}

.ticker-track:hover {
	animation-play-state: paused;
}

.ticker-track a {
	position: relative;
	color: rgba(255, 255, 255, .88);
	white-space: nowrap;
}

.ticker-track a::after {
	content: "";
	position: absolute;
	right: -19px;
	top: 50%;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .35);
}

.ticker-track a:hover {
	color: #fff;
}

@keyframes tickerMove {
	to { transform: translateX(-45%); }
}

@keyframes tickerPulse {
	50% { opacity: .35; }
}

.site-header {
	position: relative;
	z-index: 30;
	background: #fff;
	box-shadow: 0 1px 0 var(--ktt-border);
}

.header-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	min-height: 106px;
	padding-block: 14px;
}

.site-branding {
	display: flex;
	align-items: center;
	min-width: 0;
}

.site-branding .custom-logo-link,
.default-brand {
	display: inline-flex;
	align-items: center;
}

.site-branding img {
	display: block;
	width: auto;
	max-width: 300px;
	max-height: 78px;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.search-form {
	display: flex;
	align-items: stretch;
	width: min(100%, 340px);
	height: 44px;
	border: 1px solid var(--ktt-border);
	border-radius: 999px;
	background: #f8fafb;
	overflow: hidden;
}

.search-form label {
	flex: 1;
	min-width: 0;
}

.search-field {
	width: 100%;
	height: 100%;
	padding: 0 4px 0 18px;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--ktt-text);
}

.search-field::placeholder {
	color: #8b949e;
}

.search-submit,
.search-toggle,
.menu-toggle {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--ktt-navy);
}

.search-submit {
	flex: 0 0 44px;
	color: var(--ktt-primary);
}

.search-submit svg,
.search-toggle svg,
.back-to-top svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
}

.search-toggle,
.menu-toggle,
.mobile-search {
	display: none;
}

.main-navigation {
	position: sticky;
	top: 0;
	z-index: 45;
	background: var(--ktt-primary);
	box-shadow: 0 5px 14px rgba(16, 40, 61, .12);
}

.nav-inner {
	min-height: 52px;
}

.primary-menu,
.primary-menu ul,
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu {
	display: flex;
	align-items: stretch;
	min-height: 52px;
}

.primary-menu > li {
	position: relative;
	display: flex;
	align-items: stretch;
}

.primary-menu > li > a {
	display: flex;
	align-items: center;
	padding: 0 18px;
	color: #fff;
	font-size: 15px;
	font-weight: 750;
	letter-spacing: -.01em;
}

.primary-menu > li:hover > a,
.primary-menu > li:focus-within > a,
.primary-menu > .current-menu-item > a,
.primary-menu > .current-menu-ancestor > a {
	background: rgba(0, 0, 0, .13);
	color: #fff;
}

.primary-menu .menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-left: 8px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
}

.primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	visibility: hidden;
	min-width: 230px;
	padding: 8px;
	border-radius: 0 0 10px 10px;
	background: #fff;
	box-shadow: 0 16px 28px rgba(16, 40, 61, .16);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
}

.primary-menu .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 6px;
	color: var(--ktt-navy);
	font-size: 14px;
	font-weight: 650;
}

.primary-menu .sub-menu a:hover {
	background: #eef8fc;
	color: var(--ktt-primary-dark);
}

/* Shared content layout */
.content-sidebar-grid {
	display: grid;
	grid-template-columns: minmax(0, 2.12fr) minmax(280px, .88fr);
	align-items: start;
	gap: 28px;
}

.main-column,
.site-sidebar {
	min-width: 0;
}

.has-sticky-sidebar .sidebar-inner {
	position: sticky;
	top: 74px;
}

.breadcrumb {
	margin: 0 0 18px;
	font-size: 13px;
	color: var(--ktt-muted);
}

.breadcrumb ol {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.breadcrumb li {
	display: inline-flex;
	align-items: center;
	min-width: 0;
}

.breadcrumb li:not(:last-child)::after {
	content: "/";
	margin-left: 7px;
	color: #a7afb7;
}

.breadcrumb li:last-child span {
	display: inline-block;
	max-width: 440px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.category-badge {
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(40, 157, 204, .12);
	color: var(--ktt-primary-dark);
	font-size: 11px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: .035em;
}

.post-image {
	position: relative;
	display: block;
	background: #dfeaf0;
	overflow: hidden;
}

.post-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.news-card:hover .post-image img,
.archive-card:hover .post-image img,
.related-card:hover .post-image img {
	transform: scale(1.035);
}

.post-image-placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	min-height: 100px;
	background: linear-gradient(145deg, #dbeaf1, #edf4f7);
	color: rgba(16, 40, 61, .24);
}

.post-image-placeholder svg {
	width: 38%;
	max-width: 92px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
}

/* Homepage */
.home-main {
	padding-top: 28px;
}

.home-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(260px, .95fr);
	gap: 14px;
	margin-bottom: 34px;
}

.hero-primary-wrap,
.hero-primary-wrap > .news-card {
	height: 100%;
}

.news-card {
	position: relative;
	min-width: 0;
}

.news-card-hero {
	min-height: 430px;
	border-radius: var(--ktt-radius);
	background: var(--ktt-navy);
	overflow: hidden;
	box-shadow: var(--ktt-shadow);
}

.news-card-hero .post-image {
	position: absolute;
	inset: 0;
}

.news-card-hero .post-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 34%, rgba(6, 19, 29, .9) 100%);
}

.news-card-hero .news-card-body {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 28px;
	color: #fff;
}

.news-card-hero .category-badge {
	background: var(--ktt-primary);
	color: #fff;
}

.news-card-hero .news-card-title {
	margin: 10px 0 8px;
	font-size: clamp(24px, 2.3vw, 35px);
	line-height: 1.18;
	letter-spacing: -.025em;
}

.news-card-hero .news-card-title a {
	color: #fff;
}

.news-card-hero .news-card-excerpt {
	max-width: 650px;
	color: rgba(255, 255, 255, .84);
	font-size: 14px;
	line-height: 1.55;
}

.news-card-excerpt p,
.archive-card-excerpt p {
	margin: 0;
}

.hero-secondary-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.hero-secondary-grid .news-card-compact {
	display: flex;
	flex-direction: column;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(16, 40, 61, .07);
}

.hero-secondary-grid .post-image {
	aspect-ratio: 16 / 9;
}

.hero-secondary-grid .news-card-body {
	padding: 11px 12px 13px;
}

.hero-secondary-grid .category-badge {
	display: none;
}

.news-card-title {
	margin: 0;
	color: var(--ktt-navy);
	font-weight: 800;
	letter-spacing: -.018em;
}

.hero-secondary-grid .news-card-title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.4;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.home-section {
	margin-top: 34px;
	padding: 22px;
	border: 1px solid var(--ktt-border);
	border-radius: var(--ktt-radius);
	background: #fff;
	box-shadow: 0 4px 18px rgba(16, 40, 61, .045);
}

.section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--ktt-border);
}

.section-title {
	position: relative;
	margin: 0;
	color: var(--ktt-navy);
	font-size: 22px;
	line-height: 1.35;
	letter-spacing: -.025em;
}

.section-title span {
	display: inline-block;
	padding-bottom: 11px;
}

.section-title span::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 54px;
	height: 3px;
	border-radius: 4px 4px 0 0;
	background: var(--ktt-primary);
}

.section-more {
	flex: 0 0 auto;
	padding-bottom: 9px;
	color: var(--ktt-muted);
	font-size: 13px;
	font-weight: 700;
}

.home-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.news-card-grid .post-image,
.news-card-featured .post-image,
.related-image {
	aspect-ratio: 16 / 10;
	border-radius: 9px;
}

.news-card-grid .news-card-body,
.news-card-featured .news-card-body {
	padding-top: 12px;
}

.news-card-grid .news-card-title {
	margin-top: 8px;
	font-size: 17px;
	line-height: 1.38;
}

.section-featured-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr);
	gap: 20px;
}

.news-card-featured .news-card-title {
	margin: 9px 0 6px;
	font-size: 21px;
	line-height: 1.32;
}

.news-card-featured .news-card-excerpt {
	color: var(--ktt-muted);
	font-size: 14px;
}

.section-side-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.section-side-list .news-card-compact {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	gap: 11px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--ktt-border);
}

.section-side-list .news-card-compact:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.section-side-list .post-image {
	aspect-ratio: 4 / 3;
	border-radius: 7px;
}

.section-side-list .category-badge {
	display: none;
}

.section-side-list .news-card-title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.45;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.home-list-grid .archive-card:first-child {
	padding-top: 0;
}

.home-list-grid .archive-card:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

/* Sidebar */
.sidebar-inner {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.sidebar-widget {
	padding: 20px;
	border: 1px solid var(--ktt-border);
	border-radius: var(--ktt-radius);
	background: #fff;
	box-shadow: 0 4px 18px rgba(16, 40, 61, .045);
}

.sidebar-title,
.footer-widget-title {
	position: relative;
	margin: 0 0 17px;
	padding: 0 0 10px 14px;
	border-bottom: 1px solid var(--ktt-border);
	color: var(--ktt-navy);
	font-size: 18px;
	line-height: 1.35;
}

.sidebar-title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 4px;
	height: 20px;
	border-radius: 4px;
	background: var(--ktt-primary);
}

.sidebar-post-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-post-list > li {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	align-items: start;
	gap: 11px;
	padding: 12px 0;
	border-bottom: 1px solid var(--ktt-border);
}

.sidebar-post-list > li:first-child {
	padding-top: 0;
}

.sidebar-post-list > li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.sidebar-post-image {
	aspect-ratio: 4 / 3;
	border-radius: 7px;
}

.sidebar-post-title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 13.5px;
	font-weight: 760;
	line-height: 1.42;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.sidebar-post-list.is-numbered {
	counter-reset: popular;
}

.sidebar-post-list.is-numbered > li {
	position: relative;
	display: grid;
	grid-template-columns: 38px minmax(0, 1fr);
	counter-increment: popular;
}

.sidebar-post-list.is-numbered > li::before {
	content: counter(popular, decimal-leading-zero);
	color: var(--ktt-primary);
	font-size: 20px;
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: -.04em;
}

.post-views {
	display: block;
	margin-top: 3px;
	color: var(--ktt-muted);
	font-size: 11px;
}

.sidebar-widget ul:not(.sidebar-post-list),
.sidebar-widget ol:not(.sidebar-post-list) {
	padding-left: 20px;
}

/* Archive and search */
.archive-header {
	margin-bottom: 20px;
	padding: 23px 24px;
	border-left: 4px solid var(--ktt-primary);
	border-radius: 0 var(--ktt-radius) var(--ktt-radius) 0;
	background: #fff;
	box-shadow: 0 4px 18px rgba(16, 40, 61, .04);
}

.archive-header h1 {
	margin: 0;
	color: var(--ktt-navy);
	font-size: clamp(26px, 3vw, 36px);
	line-height: 1.25;
	letter-spacing: -.03em;
}

.archive-description {
	margin-top: 10px;
	color: #4d5965;
	font-size: 15px;
}

.archive-description > :first-child,
.archive-description > :last-child {
	margin-top: 0;
	margin-bottom: 0;
}

.archive-post-list,
.home-list-grid {
	padding: 0 22px;
	border: 1px solid var(--ktt-border);
	border-radius: var(--ktt-radius);
	background: #fff;
}

.archive-card {
	display: grid;
	grid-template-columns: 244px minmax(0, 1fr);
	align-items: start;
	gap: 20px;
	padding: 22px 0;
	border-bottom: 1px solid var(--ktt-border);
}

.archive-card:last-child {
	border-bottom: 0;
}

.archive-card-image {
	aspect-ratio: 16 / 10;
	border-radius: 9px;
}

.archive-card-title {
	margin: 8px 0 6px;
	color: var(--ktt-navy);
	font-size: 20px;
	line-height: 1.34;
	letter-spacing: -.018em;
}

.archive-card-excerpt {
	color: var(--ktt-muted);
	font-size: 14px;
	line-height: 1.58;
}

.load-more-wrap {
	padding: 24px 0 0;
	text-align: center;
}

.load-more-button,
.primary-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-width: 160px;
	min-height: 46px;
	padding: 10px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--ktt-primary);
	color: #fff;
	font-weight: 800;
	box-shadow: 0 7px 18px rgba(40, 157, 204, .22);
}

.load-more-button:hover,
.load-more-button:focus-visible,
.primary-button:hover {
	background: var(--ktt-primary-dark);
	color: #fff;
	transform: translateY(-1px);
}

.load-more-button i {
	display: none;
	width: 17px;
	height: 17px;
	border: 2px solid rgba(255,255,255,.4);
	border-top-color: #fff;
	border-radius: 50%;
	animation: spin .7s linear infinite;
}

.load-more-button.is-loading i {
	display: block;
}

.load-more-button:disabled {
	cursor: wait;
	opacity: .72;
	transform: none;
}

.load-more-status {
	min-height: 20px;
	margin: 8px 0 0;
	color: var(--ktt-muted);
	font-size: 13px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
	padding: 48px 28px;
	border-radius: var(--ktt-radius);
	background: #fff;
	text-align: center;
}

.empty-state h2 {
	margin-top: 0;
	color: var(--ktt-navy);
}

/* Single article */
.single-article {
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid var(--ktt-border);
	border-radius: var(--ktt-radius);
	background: #fff;
	box-shadow: 0 5px 20px rgba(16, 40, 61, .05);
}

.article-header {
	margin-bottom: 24px;
}

.article-header h1 {
	margin: 12px 0 14px;
	color: var(--ktt-navy);
	font-size: clamp(31px, 4vw, 46px);
	font-weight: 850;
	line-height: 1.18;
	letter-spacing: -.037em;
	overflow-wrap: anywhere;
}

.article-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 9px;
	color: var(--ktt-muted);
	font-size: 13px;
}

.meta-item {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.meta-item svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.article-featured-image {
	margin: 0 0 28px;
	text-align: center;
}

.article-featured-image img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	margin-inline: auto;
	border-radius: 10px;
}

.article-content {
	color: #242b33;
	font-size: 17px;
	line-height: 1.78;
	text-align: justify;
	text-justify: inter-word;
	overflow-wrap: anywhere;
}

.article-content > :first-child {
	margin-top: 0;
}

.article-content p {
	margin: 0 0 1.2em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
	clear: both;
	color: var(--ktt-navy);
	font-weight: 820;
	line-height: 1.32;
	text-align: left;
	letter-spacing: -.025em;
	scroll-margin-top: 82px;
}

.article-content h2 {
	margin: 1.7em 0 .65em;
	font-size: clamp(25px, 3vw, 31px);
}

.article-content h3 {
	margin: 1.45em 0 .6em;
	font-size: clamp(21px, 2.5vw, 25px);
}

.article-content h4 {
	margin: 1.3em 0 .5em;
	font-size: 19px;
}

.article-content ul,
.article-content ol {
	display: block;
	margin: 0 0 1.25em;
	padding-left: 1.65em;
	list-style-position: outside;
}

.article-content ul {
	list-style-type: disc;
}

.article-content ol {
	list-style-type: decimal;
}

.article-content ul ul {
	list-style-type: circle;
}

.article-content ol ol {
	list-style-type: lower-alpha;
}

.article-content li {
	display: list-item;
	margin: .4em 0;
	padding-left: .25em;
	text-align: justify;
}

.article-content li::marker {
	color: var(--ktt-primary-dark);
	font-weight: 750;
}

.article-content li > ul,
.article-content li > ol {
	margin-top: .4em;
	margin-bottom: .5em;
}

.article-content img,
.article-content figure,
.article-content .wp-caption {
	max-width: 100%;
}

.article-content img {
	display: block;
	width: auto;
	height: auto;
	margin: 1.5em auto;
	border-radius: 7px;
}

.article-content figure,
.article-content .wp-caption,
.article-content .aligncenter {
	display: block;
	margin: 1.6em auto;
	text-align: center;
}

.article-content figure img,
.article-content .wp-caption img {
	margin-top: 0;
	margin-bottom: 0;
}

.article-content figcaption,
.article-content .wp-caption-text {
	margin-top: 8px;
	color: var(--ktt-muted);
	font-size: 13px;
	font-style: italic;
	line-height: 1.5;
	text-align: center;
}

.article-content blockquote {
	margin: 1.5em 0;
	padding: 18px 22px;
	border-left: 4px solid var(--ktt-primary);
	border-radius: 0 8px 8px 0;
	background: #eef8fc;
	color: #354452;
	font-style: italic;
}

.article-content blockquote > :last-child {
	margin-bottom: 0;
}

.article-content table {
	width: 100%;
	margin: 1.5em 0;
	border-collapse: collapse;
	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.article-content th,
.article-content td {
	min-width: 120px;
	padding: 10px 12px;
	border: 1px solid #dce3e8;
	text-align: left;
	vertical-align: top;
}

.article-content th {
	background: #eef5f8;
	color: var(--ktt-navy);
}

.article-content iframe,
.article-content video,
.article-content object,
.article-content embed {
	max-width: 100%;
}

.article-content .wp-block-embed__wrapper {
	position: relative;
	width: 100%;
}

.article-content a {
	color: var(--ktt-primary-dark);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.article-toc {
	margin: 0 0 28px;
	border: 1px solid #cfe5ef;
	border-radius: 10px;
	background: #f5fbfd;
	overflow: hidden;
	text-align: left;
}

.toc-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 17px;
	border: 0;
	background: transparent;
	color: var(--ktt-navy);
	font-weight: 800;
	text-align: left;
}

.toc-toggle span:last-child {
	font-size: 19px;
	transition: transform .2s ease;
}

.article-toc.is-collapsed .toc-toggle span:last-child {
	transform: rotate(180deg);
}

.toc-list {
	margin: 0;
	padding: 0 18px 15px 42px;
	font-size: 14px;
	line-height: 1.55;
}

.article-toc.is-collapsed .toc-list {
	display: none;
}

.toc-list li {
	margin: 7px 0;
	text-align: left;
}

.toc-list .toc-level-3 {
	margin-left: 16px;
}

.toc-list a {
	color: #355064;
	text-decoration: none;
}

.article-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--ktt-border);
}

.article-tags {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px;
	font-size: 13px;
}

.article-tags a {
	padding: 3px 8px;
	border-radius: 5px;
	background: #eef4f7;
	color: #51616f;
}

.share-article {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	flex: 0 0 auto;
	padding: 8px 12px;
	border: 1px solid var(--ktt-border);
	border-radius: 7px;
	background: #fff;
	color: var(--ktt-navy);
	font-size: 13px;
	font-weight: 750;
}

.share-article:hover {
	border-color: var(--ktt-primary);
	color: var(--ktt-primary-dark);
}

.share-article svg {
	width: 18px;
	height: 18px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
}

.related-posts {
	margin-top: 28px;
	padding: 22px;
	border: 1px solid var(--ktt-border);
	border-radius: var(--ktt-radius);
	background: #fff;
}

.related-posts > .section-title {
	margin-bottom: 18px;
	border-bottom: 1px solid var(--ktt-border);
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
}

.related-card h3 {
	margin: 9px 0 0;
	font-size: 16px;
	line-height: 1.42;
}

.reading-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99999;
	height: 3px;
	pointer-events: none;
}

.reading-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: var(--ktt-accent);
	box-shadow: 0 0 8px rgba(244, 180, 27, .45);
}

/* Comments */
.comments-area {
	margin-top: 28px;
	padding: 24px;
	border: 1px solid var(--ktt-border);
	border-radius: var(--ktt-radius);
	background: #fff;
}

.comments-title,
.comment-reply-title {
	margin-top: 0;
	color: var(--ktt-navy);
	font-size: 21px;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment-list .children {
	list-style: none;
	padding-left: 24px;
}

.comment-body {
	padding: 16px 0;
	border-bottom: 1px solid var(--ktt-border);
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d5dde3;
	border-radius: 7px;
}

.comment-form .submit {
	padding: 10px 18px;
	border: 0;
	border-radius: 999px;
	background: var(--ktt-primary);
	color: #fff;
	font-weight: 750;
}

/* Footer */
.site-footer {
	margin-top: 16px;
	background: var(--ktt-navy);
	color: rgba(255,255,255,.72);
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	padding-top: 38px;
}

.footer-widget-title {
	border-bottom-color: rgba(255,255,255,.13);
	color: #fff;
}

.footer-widget a {
	color: rgba(255,255,255,.78);
}

.footer-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 36px;
	padding-block: 38px;
}

.footer-brand img {
	display: block;
	width: auto;
	max-width: 260px;
	max-height: 64px;
}

.footer-brand p {
	margin: 10px 0 0;
	font-size: 13px;
}

.footer-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 9px 20px;
}

.footer-menu a {
	color: rgba(255,255,255,.82);
	font-size: 13px;
	font-weight: 650;
}

.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.1);
	font-size: 12px;
	text-align: center;
}

.footer-bottom p {
	margin: 0;
	padding: 15px 0;
}

.back-to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 25;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--ktt-primary);
	color: #fff;
	box-shadow: 0 7px 18px rgba(16,40,61,.2);
}

.back-to-top[hidden] {
	display: none;
}

.error-card {
	max-width: 680px;
	padding: 70px 30px;
	border-radius: var(--ktt-radius);
	background: #fff;
	text-align: center;
}

.error-code {
	display: block;
	color: var(--ktt-primary);
	font-size: clamp(70px, 13vw, 130px);
	font-weight: 900;
	line-height: 1;
}

.error-card h1 {
	margin: 12px 0 8px;
	color: var(--ktt-navy);
}

.error-card .search-form {
	margin: 24px auto 16px;
}

/* Tablet */
@media (max-width: 1050px) {
	.site-container {
		width: min(calc(100% - 32px), var(--ktt-container));
	}

	.primary-menu > li > a {
		padding-inline: 13px;
		font-size: 14px;
	}

	.content-sidebar-grid {
		grid-template-columns: minmax(0, 1.8fr) minmax(255px, .8fr);
		gap: 22px;
	}

	.home-hero {
		grid-template-columns: 1fr;
	}

	.news-card-hero {
		min-height: 420px;
	}

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

	.hero-secondary-grid .news-card-title {
		font-size: 13px;
	}

	.archive-card {
		grid-template-columns: 205px minmax(0, 1fr);
	}
}

/* Mobile navigation and one-column content */
@media (max-width: 900px) {
	body.menu-open::after {
		content: "";
		position: fixed;
		inset: 0;
		z-index: 28;
		background: rgba(4, 18, 28, .55);
	}

	.header-main {
		min-height: 76px;
		padding-block: 9px;
	}

	.site-branding img {
		max-width: 230px;
		max-height: 56px;
	}

	.desktop-search {
		display: none;
	}

	.search-toggle,
	.menu-toggle {
		display: inline-grid;
	}

	.menu-toggle-lines {
		display: flex;
		flex-direction: column;
		gap: 5px;
	}

	.menu-toggle-lines i {
		display: block;
		width: 24px;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
		transition: transform .2s ease, opacity .2s ease;
	}

	body.menu-open .menu-toggle-lines i:nth-child(1) {
		transform: translateY(7px) rotate(45deg);
	}

	body.menu-open .menu-toggle-lines i:nth-child(2) {
		opacity: 0;
	}

	body.menu-open .menu-toggle-lines i:nth-child(3) {
		transform: translateY(-7px) rotate(-45deg);
	}

	.mobile-search {
		padding: 10px 0;
		border-top: 1px solid var(--ktt-border);
		background: #fff;
	}

	.mobile-search:not([hidden]) {
		display: block;
	}

	.mobile-search .search-form {
		width: 100%;
		max-width: none;
	}

	.main-navigation {
		position: static;
		box-shadow: none;
	}

	.nav-inner {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		z-index: 50;
		display: block;
		width: min(86vw, 360px);
		min-height: 100vh;
		margin: 0;
		padding: 72px 18px 24px;
		background: var(--ktt-navy);
		overflow-y: auto;
		transform: translateX(-102%);
		transition: transform .25s ease;
	}

	body.menu-open .nav-inner {
		transform: translateX(0);
	}

	.primary-menu {
		display: block;
		min-height: 0;
	}

	.primary-menu > li {
		display: block;
		border-bottom: 1px solid rgba(255,255,255,.1);
	}

	.primary-menu > li > a {
		min-height: 49px;
		padding: 0 8px;
		background: transparent !important;
		font-size: 15px;
	}

	.primary-menu .sub-menu {
		position: static;
		visibility: visible;
		display: block;
		min-width: 0;
		padding: 0 0 9px 14px;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
		opacity: 1;
		transform: none;
	}

	.primary-menu .sub-menu a {
		padding: 8px;
		color: rgba(255,255,255,.72);
		font-size: 13px;
	}

	.primary-menu .sub-menu a:hover {
		background: rgba(255,255,255,.08);
		color: #fff;
	}

	.content-sidebar-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.has-sticky-sidebar .sidebar-inner {
		position: static;
	}

	.site-sidebar {
		width: 100%;
	}

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

	.section-featured-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.section-side-list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
	}

	.section-side-list .news-card-compact {
		grid-template-columns: 130px minmax(0,1fr);
	}

	.sidebar-inner {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sidebar-widget:only-child,
	.sidebar-widget:nth-last-child(1):nth-child(odd) {
		grid-column: 1 / -1;
	}

	.footer-main {
		align-items: flex-start;
	}
}

@media (max-width: 680px) {
	.site-container {
		width: min(calc(100% - 24px), var(--ktt-container));
	}

	body {
		font-size: 15px;
	}

	.news-ticker {
		font-size: 12px;
	}

	.ticker-inner {
		min-height: 32px;
	}

	.ticker-label {
		padding-right: 13px;
	}

	.site-branding img {
		max-width: 190px;
		max-height: 50px;
	}

	.header-actions {
		gap: 2px;
	}

	.search-toggle,
	.menu-toggle {
		width: 40px;
		height: 40px;
	}

	.site-main {
		padding: 18px 0 38px;
	}

	.home-main {
		padding-top: 14px;
	}

	.home-hero {
		gap: 10px;
		margin-bottom: 24px;
	}

	.news-card-hero {
		min-height: 340px;
	}

	.news-card-hero .news-card-body {
		padding: 20px;
	}

	.news-card-hero .news-card-title {
		font-size: 25px;
	}

	.news-card-hero .news-card-excerpt {
		display: none;
	}

	.hero-secondary-grid {
		gap: 10px;
	}

	.hero-secondary-grid .news-card-body {
		padding: 9px 10px 11px;
	}

	.home-section {
		margin-top: 20px;
		padding: 16px;
	}

	.section-title {
		font-size: 20px;
	}

	.home-card-grid {
		gap: 17px 12px;
	}

	.news-card-grid .news-card-title {
		font-size: 15px;
	}

	.section-side-list {
		grid-template-columns: 1fr;
	}

	.archive-header {
		padding: 18px;
	}

	.archive-post-list,
	.home-list-grid {
		padding: 0 16px;
	}

	.archive-card {
		grid-template-columns: 145px minmax(0, 1fr);
		gap: 13px;
		padding: 16px 0;
	}

	.archive-card-title {
		display: -webkit-box;
		overflow: hidden;
		margin-top: 6px;
		font-size: 16px;
		line-height: 1.38;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
	}

	.archive-card-excerpt {
		display: none;
	}

	.single-article {
		padding: 22px 18px;
	}

	.article-header h1 {
		font-size: 30px;
	}

	.article-content {
		font-size: 16.5px;
		line-height: 1.75;
	}

	.article-content ul,
	.article-content ol {
		padding-left: 1.4em;
	}

	.article-footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.related-grid,
	.sidebar-inner,
	.footer-widgets {
		grid-template-columns: minmax(0, 1fr);
	}

	.sidebar-widget,
	.sidebar-widget:nth-last-child(1):nth-child(odd) {
		grid-column: auto;
	}

	.footer-main {
		align-items: flex-start;
		flex-direction: column;
		padding-block: 30px;
	}

	.footer-menu {
		justify-content: flex-start;
	}

	.back-to-top {
		right: 14px;
		bottom: 14px;
	}
}

@media (max-width: 440px) {
	.site-branding img {
		max-width: 158px;
	}

	.news-card-hero {
		min-height: 300px;
	}

	.news-card-hero .news-card-title {
		font-size: 22px;
	}

	.hero-secondary-grid,
	.home-card-grid {
		grid-template-columns: 1fr 1fr;
	}

	.hero-secondary-grid .news-card-title {
		font-size: 12.5px;
	}

	.archive-card {
		grid-template-columns: 116px minmax(0, 1fr);
		gap: 11px;
	}

	.archive-card-title {
		font-size: 15px;
		-webkit-line-clamp: 4;
	}

	.archive-card .category-badge {
		display: none;
	}

	.article-header h1 {
		font-size: 27px;
	}

	.meta-separator {
		display: none;
	}

	.article-meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}

	.ticker-track {
		animation: none;
	}
}

@media print {
	.news-ticker,
	.site-header,
	.site-sidebar,
	.site-footer,
	.breadcrumb,
	.article-footer,
	.related-posts,
	.reading-progress,
	.back-to-top {
		display: none !important;
	}

	body,
	.single-article {
		background: #fff;
		box-shadow: none;
	}

	.content-sidebar-grid {
		display: block;
	}
}