:root {
	--skct-primary: #0f766e;
	--skct-primary-700: #115e59;
	--skct-primary-100: #99f6e4;
	--skct-primary-50: #ecfdf8;
	--skct-accent: #e76f51;
	--skct-text: #1f2937;
	--skct-muted: #5b6676;
	--skct-border: #e2e8f0;
	--skct-bg: #f7faf9;
	--radius: 16px;
	--shadow: 0 6px 24px rgba(15, 23, 42, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0; background: var(--skct-bg); color: var(--skct-text);
	font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--skct-primary); }
a:hover { color: var(--skct-primary-700); }
h1, h2, h3 { line-height: 1.3; }
:focus-visible { outline: 3px solid var(--skct-accent); outline-offset: 2px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--skct-border); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--skct-text); margin-right: auto; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-weight: 700; font-size: 1.2rem; color: var(--skct-primary); }
.brand-tagline { font-size: .8rem; color: var(--skct-muted); max-width: 380px; line-height: 1.35; }
.primary-nav { display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; white-space: nowrap; }
.primary-nav > a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--skct-text); font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.primary-nav > a:hover, .primary-nav > a[aria-current] { background: var(--skct-primary-50); color: var(--skct-primary); }
.primary-nav .nav-cta { background: var(--skct-primary); color: #fff; }
.primary-nav .nav-cta:hover { background: var(--skct-primary-700); color: #fff; }
.primary-nav .nav-user img { border-radius: 50%; width: 28px; height: 28px; }
.primary-nav .skct-lang { margin-left: 6px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--skct-border); border-radius: 10px; padding: 8px; cursor: pointer; color: var(--skct-text); }

/* Hero */
.hero { background: linear-gradient(135deg, var(--skct-primary-50) 0%, #fff7ed 100%); border-bottom: 1px solid var(--skct-border); }
.hero-inner { padding: 56px 20px; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 12px; max-width: 760px; }
.hero p { font-size: 1.1rem; color: var(--skct-muted); max-width: 680px; margin: 0 0 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Filter bar */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; background: #fff; border: 1px solid var(--skct-border); border-radius: var(--radius); padding: 12px; margin: 28px 0; box-shadow: var(--shadow); }
.filter-bar label { margin: 0; }
.filter-search { flex: 1 1 280px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--skct-border); border-radius: 999px; padding: 0 14px; color: var(--skct-muted); height: 48px; box-sizing: border-box; }
.filter-search input { flex: 1; border: 0; outline: 0; font: inherit; padding: 0; background: transparent; min-width: 0; }
.filter-select select { font: inherit; height: 48px; padding: 0 14px; border: 1px solid var(--skct-border); border-radius: 999px; background: #fff; max-width: 260px; box-sizing: border-box; }
.filter-bar .skct-btn { height: 48px; padding: 0 22px; box-sizing: border-box; }

/* Layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 32px; padding-bottom: 56px; }
.listing-header { margin-bottom: 18px; }
.listing-title { font-size: 1.5rem; margin: 0; }
.listing-desc { color: var(--skct-muted); }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.card-grid--wide { margin: 28px 0 56px; }
.card { background: #fff; border: 1px solid var(--skct-border); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(15, 23, 42, .1); }
.card-thumb { text-decoration: none; }
.card-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-thumb--ph { display: block; }
.skct-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: 100%; aspect-ratio: 16 / 9; color: #fff; text-align: center; padding: 16px; box-sizing: border-box; }
.skct-ph__icon { line-height: 0; opacity: .95; }
.skct-ph__label { font-weight: 600; font-size: .95rem; letter-spacing: .2px; opacity: .97; text-shadow: 0 1px 3px rgba(0,0,0,.18); }
.skct-ph--0 { background: linear-gradient(135deg, #0f766e, #2dd4bf); }
.skct-ph--1 { background: linear-gradient(135deg, #e76f51, #f4a261); }
.skct-ph--2 { background: linear-gradient(135deg, #115e59, #5eead4); }
.skct-ph--3 { background: linear-gradient(135deg, #1e6f6a, #f4a261); }
.skct-ph--4 { background: linear-gradient(135deg, #0d9488, #fbbf24); }
.card-body { padding: 18px 20px 16px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.15rem; margin: 8px 0; }
.card-title a { color: var(--skct-text); text-decoration: none; }
.card-title a:hover { color: var(--skct-primary); }
.card-excerpt { color: var(--skct-muted); margin: 0 0 14px; font-size: .95rem; flex: 1; }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--skct-border); padding-top: 12px; }

.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: .78rem; font-weight: 600; background: var(--skct-primary-50); color: var(--skct-primary); padding: 3px 10px; border-radius: 999px; text-decoration: none; }
.author-chip { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--skct-text); font-size: .85rem; line-height: 1.3; }
.author-chip img { border-radius: 50%; }
.author-chip > span { display: flex; flex-direction: column; }
.author-chip time { color: var(--skct-muted); font-size: .8rem; }
.author-name { font-weight: 600; }
.stats { display: flex; gap: 12px; color: var(--skct-muted); font-size: .85rem; }
.stat { display: inline-flex; align-items: center; gap: 4px; }
.stat .icon-heart { color: var(--skct-accent); }

/* Sidebar */
.layout-side { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 100px; }
.side-box { background: #fff; border: 1px solid var(--skct-border); border-radius: var(--radius); padding: 20px; }
.side-box h2 { font-size: 1.05rem; margin: 0 0 12px; }
.side-box p { color: var(--skct-muted); font-size: .95rem; }
.side-box--cta { background: linear-gradient(135deg, var(--skct-primary-50), #fff); }
.topic-list { list-style: none; margin: 0; padding: 0; }
.topic-list a { display: flex; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 10px; text-decoration: none; color: var(--skct-text); font-size: .95rem; }
.topic-list a:hover, .topic-list a[aria-current] { background: var(--skct-primary-50); color: var(--skct-primary); }
.topic-list .count { color: var(--skct-muted); font-size: .85rem; }

/* Pagination */
.pagination { margin-top: 32px; }
.pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 8px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--skct-border); text-decoration: none; }
.pagination .page-numbers.current { background: var(--skct-primary); color: #fff; border-color: var(--skct-primary); }

.empty-state { background: #fff; border: 1px dashed var(--skct-border); border-radius: var(--radius); padding: 40px; text-align: center; color: var(--skct-muted); }
.empty-state--big { margin: 56px 0; }

/* Single */
.single-post, .single-page { background: #fff; border: 1px solid var(--skct-border); border-radius: var(--radius); padding: clamp(20px, 4vw, 44px); margin: 32px 0 56px; box-shadow: var(--shadow); }
.post-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 10px 0 16px; }
.post-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--skct-border); }
.post-cover { margin: 24px 0 0; }
.post-cover img { border-radius: 12px; display: block; width: 100%; }
.post-content { font-size: 1.08rem; margin-top: 24px; overflow-wrap: anywhere; }
.post-content p:empty { display: none; }
.post-content blockquote { border-left: 4px solid var(--skct-primary); margin: 1.5em 0; padding: .5em 1.2em; background: var(--skct-primary-50); border-radius: 0 10px 10px 0; }
.post-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-top: 24px; }
.post-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; display: block; }
.post-footer { margin-top: 28px; display: flex; gap: 12px; }
.author-box { display: flex; gap: 16px; align-items: center; margin-top: 32px; padding: 20px; background: var(--skct-bg); border-radius: 12px; }
.author-box img { border-radius: 50%; }
.author-box h2 { font-size: 1.1rem; margin: 0; }
.author-box h2 a { text-decoration: none; }
.author-box p { margin: 4px 0 0; color: var(--skct-muted); }
.post-navigation { margin-top: 32px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.post-navigation a { display: flex; flex-direction: column; padding: 14px; border: 1px solid var(--skct-border); border-radius: 12px; text-decoration: none; }
.post-navigation .nav-next { text-align: right; }
.post-navigation .nav-label { font-size: .8rem; color: var(--skct-muted); }
.post-navigation .nav-title { color: var(--skct-text); font-weight: 600; }

/* Comments */
.comments { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--skct-border); }
.comments-title { font-size: 1.3rem; }
.comment-list, .comment-list .children { list-style: none; padding: 0; margin: 0; }
.comment-list .children { margin-left: clamp(16px, 5vw, 48px); border-left: 2px solid var(--skct-primary-50); padding-left: 16px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--skct-border); }
.comment-author { display: flex; align-items: center; gap: 10px; }
.comment-author img { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-author .fn { font-style: normal; font-weight: 600; }
.comment-author .fn a { color: var(--skct-text); text-decoration: none; }
.comment-metadata { font-size: .8rem; margin-left: 54px; margin-top: -8px; }
.comment-metadata a { color: var(--skct-muted); text-decoration: none; }
.comment-content { margin-left: 54px; }
.comment-content p { margin: .5em 0; }
.reply { margin-left: 54px; }
.comment-reply-link { font-size: .85rem; font-weight: 600; text-decoration: none; }
.comment-respond { margin-top: 24px; background: var(--skct-bg); padding: 20px; border-radius: 12px; }
.comment-reply-title { margin-top: 0; font-size: 1.15rem; }
.comment-reply-title small { margin-left: 10px; font-size: .8rem; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.comment-form textarea { width: 100%; font: inherit; padding: 12px; border: 1px solid var(--skct-border); border-radius: 10px; }
.comment-form .submit { background: var(--skct-primary); color: #fff; border: 0; border-radius: 999px; padding: 12px 24px; font: inherit; font-weight: 600; cursor: pointer; }
.comment-form .submit:hover { background: var(--skct-primary-700); }
.must-log-in { margin: 0; }

/* Author archive */
.profile-hero { display: flex; gap: 24px; align-items: center; background: #fff; border: 1px solid var(--skct-border); border-radius: var(--radius); padding: 28px; margin-top: 32px; }
.profile-hero img { border-radius: 50%; }
.profile-hero h1 { margin: 0; }
.profile-bio { margin: 6px 0; }
.profile-meta { color: var(--skct-muted); font-size: .9rem; margin: 0 0 10px; }

/* Footer */
.site-footer { background: #0b3b37; color: #d1fae5; padding: 40px 0 24px; }
.site-footer a { color: #fff; }
.footer-inner { display: grid; gap: 16px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand p { margin: 0; color: #a7f3d0; font-size: .9rem; }
.footer-disclaimer { font-size: .88rem; color: #a7f3d0; max-width: 820px; margin: 0; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-copy { font-size: .8rem; color: #6ee7b7; margin: 0; }

/* Responsive */
@media (max-width: 1240px) {
	.brand-tagline { display: none; }
}
@media (max-width: 960px) {
	.layout { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
	.nav-toggle { display: inline-flex; }
	.primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; border-bottom: 1px solid var(--skct-border); box-shadow: var(--shadow); }
	.primary-nav.is-open { display: flex; }
	.primary-nav .skct-lang { align-self: flex-start; margin: 8px 0 0; }
	.header-inner { position: relative; }
	.profile-hero { flex-direction: column; text-align: center; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.admin-bar .site-header { top: 0; }
	.filter-select, .filter-select select { width: 100%; max-width: none; }
}
