/*
Theme Name: Telugu Jobs Guide
Theme URI: https://telugujobsguide.com/
Author: Telugu Jobs Guide
Description: A fast, AdSense- and affiliate-ready theme for Telugu job and scheme websites. State & Central Govt jobs, Private & IT jobs, Govt and Post Office schemes — with a Job / Scheme details box that builds the notification table, deadline badges, Apply buttons and Google JobPosting data, plus WhatsApp / Telegram join tools, nine ad placements and one-click setup.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: telugu-jobs-guide
Tags: news, blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, translation-ready, threaded-comments
*/

/* ---------- Tokens ---------- */
:root {
	--tjg-primary: #0B5D3B;
	--tjg-primary-dark: color-mix(in srgb, var(--tjg-primary) 78%, #000);
	--tjg-primary-soft: color-mix(in srgb, var(--tjg-primary) 8%, #fff);
	--tjg-accent: #AD5200;
	--tjg-saffron: #F28C1B;
	--tjg-saffron-soft: #FFF4E6;
	--tjg-urgent: #B42318;
	--tjg-wa: #127C3E;
	--tjg-tg: #1B6FAF;
	--tjg-bg: #F5F7F4;
	--tjg-card: #FFFFFF;
	--tjg-text: #17231D;
	--tjg-muted: #52605A;
	--tjg-line: #DFE5E1;
	--tjg-radius: 12px;
	--tjg-shadow: 0 1px 2px rgba(16, 40, 28, .06), 0 2px 8px rgba(16, 40, 28, .05);
	--tjg-font: "Segoe UI", Roboto, system-ui, -apple-system, "Noto Sans Telugu", "Noto Sans Telugu UI", "Nirmala UI", Gautami, "Kohinoor Telugu", "Helvetica Neue", Arial, sans-serif;
	--tjg-head-font: "Poppins", var(--tjg-font);
	--tjg-w: 1200px;
}
@supports not (color: color-mix(in srgb, red 50%, blue)) {
	:root { --tjg-primary-dark: #08452C; --tjg-primary-soft: #EDF4F0; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
	margin: 0;
	background: var(--tjg-bg);
	color: var(--tjg-text);
	font-family: var(--tjg-font);
	font-size: 17px;
	line-height: 1.7;
	overflow-wrap: break-word;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
svg.tjg-icon { flex: none; vertical-align: middle; }
a { color: var(--tjg-primary); text-underline-offset: 2px; }
a:hover { color: var(--tjg-accent); }
h1, h2, h3, h4 { font-family: var(--tjg-head-font); line-height: 1.3; margin: 0 0 .5em; color: var(--tjg-text); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--tjg-saffron); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; left: 8px; top: 8px; z-index: 1000;
	background: #fff; color: var(--tjg-primary); padding: 10px 16px; font-weight: 700; box-shadow: var(--tjg-shadow);
}
.tjg-container { width: 100%; max-width: var(--tjg-w); margin: 0 auto; padding: 0 16px; }
.tjg-narrow { max-width: 820px; }
.tjg-main { display: block; padding: 20px 0 40px; outline: none; }

/* ---------- Buttons ---------- */
.tjg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 0;
	background: var(--tjg-primary); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.2;
	text-decoration: none; cursor: pointer; transition: transform .15s, filter .15s;
}
.tjg-btn:hover { color: #fff; filter: brightness(1.08); transform: translateY(-1px); }
.tjg-btn-wa { background: var(--tjg-wa); }
.tjg-btn-tg { background: var(--tjg-tg); }
.tjg-btn-apply { background: var(--tjg-accent); }
.tjg-btn-pdf { background: var(--tjg-urgent); }
.tjg-btn-site { background: var(--tjg-primary); }
.tjg-btn-buy { background: var(--tjg-accent); }
.tjg-btn-more { background: #fff; color: var(--tjg-primary); border: 2px solid var(--tjg-primary); }
.tjg-btn-more:hover { background: var(--tjg-primary); color: #fff; }

/* ---------- Top bar ---------- */
.tjg-topbar { background: var(--tjg-primary-dark); color: #E3EFE8; font-size: 13px; }
.tjg-topbar .tjg-container { display: flex; align-items: center; justify-content: space-between; min-height: 34px; gap: 12px; }
.tjg-today { display: inline-flex; align-items: center; gap: 6px; }
.tjg-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.tjg-social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: inherit; }
.tjg-social-top a { color: #fff; width: 28px; height: 28px; }
.tjg-social-top a:hover { background: rgba(255, 255, 255, .15); color: #fff; }

/* ---------- Header ---------- */
.tjg-header { background: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 1px 0 var(--tjg-line); }
.admin-bar .tjg-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tjg-header { top: 0; position: relative; } }
.tjg-header-row { display: flex; align-items: center; gap: 12px; min-height: 68px; }
.tjg-brand { flex: 0 1 auto; min-width: 0; }
.tjg-logo, .custom-logo-link { display: block; line-height: 0; }
.tjg-logo img, .custom-logo { width: auto; height: 46px; max-width: 100%; }
.tjg-tagline { display: none; margin: 0; padding-left: 14px; border-left: 2px solid var(--tjg-line); color: var(--tjg-muted); font-size: 14px; line-height: 1.4; max-width: 230px; }
.tjg-header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tjg-hsearch { display: none; }
.tjg-head-join { display: none; }
.tjg-menu-btn, .tjg-search-btn, .tjg-drawer-close {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	background: transparent; border: 0; border-radius: 10px; color: var(--tjg-text); cursor: pointer; padding: 0;
}
.tjg-menu-btn:hover, .tjg-search-btn:hover { background: var(--tjg-primary-soft); }
.tjg-msearch { padding: 0 0 12px; }

/* Nav */
.tjg-nav { display: none; background: var(--tjg-primary); }
.tjg-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.tjg-menu > li { position: relative; }
.tjg-menu a { display: block; padding: 11px 14px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.4; }
.tjg-menu > li > a:hover, .tjg-menu > li:focus-within > a, .tjg-menu > .current-menu-item > a, .tjg-menu > .current-menu-ancestor > a, .tjg-menu > .current-menu-parent > a { background: rgba(0, 0, 0, .18); color: #fff; box-shadow: inset 0 -3px 0 var(--tjg-saffron); }
.tjg-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.tjg-menu .sub-menu { list-style: none; margin: 0; padding: 6px; position: absolute; left: 0; top: 100%; min-width: 220px; background: #fff; border-radius: 0 0 10px 10px; box-shadow: 0 10px 24px rgba(0, 0, 0, .14); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; z-index: 60; }
.tjg-menu li:hover > .sub-menu, .tjg-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tjg-menu .sub-menu a { color: var(--tjg-text); border-radius: 6px; }
.tjg-menu .sub-menu a:hover { background: var(--tjg-primary-soft); color: var(--tjg-primary); }

/* Ticker */
.tjg-ticker { background: var(--tjg-saffron-soft); border-bottom: 1px solid #F6DDBE; font-size: 14px; }
.tjg-ticker .tjg-container { display: flex; align-items: center; gap: 10px; min-height: 38px; }
.tjg-ticker-label { flex: none; display: inline-flex; align-items: center; gap: 5px; background: var(--tjg-accent); color: #fff; padding: 2px 10px; border-radius: 6px; font-size: 13px; }
.tjg-ticker-track { overflow: hidden; flex: 1; min-width: 0; mask-image: linear-gradient(90deg, transparent, #000 2%, #000 96%, transparent); }
.tjg-ticker-track ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; width: max-content; animation: tjg-tick 50s linear infinite; }
.tjg-ticker-track:hover ul, .tjg-ticker-track:focus-within ul { animation-play-state: paused; }
.tjg-ticker-track li { white-space: nowrap; }
.tjg-ticker-track li::before { content: "•"; color: var(--tjg-accent); margin-right: 8px; }
.tjg-ticker a { color: var(--tjg-text); text-decoration: none; font-weight: 500; }
.tjg-ticker a:hover { color: var(--tjg-accent); text-decoration: underline; }
@keyframes tjg-tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.tjg-ticker-track ul { animation: none; }
	.tjg-ticker-track { overflow-x: auto; }
	* { scroll-behavior: auto !important; transition: none !important; }
}

/* Drawer */
.tjg-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(10, 25, 18, .5); }
.tjg-drawer-panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(88vw, 360px); background: #fff; overflow-y: auto; padding: 12px 16px 24px; box-shadow: 4px 0 24px rgba(0, 0, 0, .2); }
.tjg-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--tjg-line); margin-bottom: 8px; }
.tjg-drawer-head .tjg-logo img, .tjg-drawer-head .custom-logo { height: 38px; }
.tjg-dmenu, .tjg-dmenu .sub-menu { list-style: none; margin: 0; padding: 0; }
.tjg-dmenu a { display: block; padding: 11px 6px; border-bottom: 1px solid var(--tjg-line); color: var(--tjg-text); text-decoration: none; font-weight: 600; }
.tjg-dmenu .sub-menu a { padding-left: 22px; font-weight: 500; color: var(--tjg-muted); }
.tjg-drawer .tjg-join { margin: 16px 0; }
.tjg-social-drawer a { background: var(--tjg-primary-soft); color: var(--tjg-primary); width: 42px; height: 42px; }
body.tjg-lock { overflow: hidden; }

/* ---------- Search ---------- */
.tjg-search { display: flex; gap: 0; background: #fff; border: 2px solid var(--tjg-line); border-radius: 12px; overflow: hidden; }
.tjg-search:focus-within { border-color: var(--tjg-primary); }
.tjg-search input { flex: 1; min-width: 0; border: 0; padding: 11px 14px; background: transparent; outline: none; }
.tjg-search button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--tjg-primary); color: #fff; padding: 0 18px; font-weight: 700; cursor: pointer; min-height: 46px; }
.tjg-search button span { display: none; }
@media (min-width: 480px) { .tjg-search button span { display: inline; } }

/* ---------- Ads ---------- */
.tjg-ad { margin: 24px auto; text-align: center; clear: both; }
.tjg-ad-label { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #5E6A64; margin-bottom: 4px; }
.tjg-ad-inner { min-height: 100px; display: flex; align-items: center; justify-content: center; }
.tjg-ad-inner > * { max-width: 100%; }
.tjg-ad-header .tjg-ad-inner { min-height: 100px; }
.tjg-ad-inline { margin: 28px 0; }
.tjg-ad-inline .tjg-ad-inner { min-height: 280px; }
.tjg-ad-grid { grid-column: 1 / -1; margin: 4px 0; }
.tjg-ad-sidebar .tjg-ad-inner { min-height: 250px; }
.tjg-anchor { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; box-shadow: 0 -2px 12px rgba(0, 0, 0, .15); padding: 4px 0 2px; }
.tjg-anchor .tjg-ad { margin: 0; }
.tjg-anchor .tjg-ad-label { display: none; }
.tjg-anchor .tjg-ad-inner { min-height: 50px; }
.tjg-anchor-close { position: absolute; top: -28px; right: 8px; width: 32px; height: 28px; border: 0; border-radius: 8px 8px 0 0; background: #fff; box-shadow: 0 -2px 6px rgba(0, 0, 0, .12); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
@media (min-width: 900px) { .tjg-anchor { display: none !important; } }

/* ---------- Hero ---------- */
.tjg-hero { background: linear-gradient(135deg, var(--tjg-primary) 0%, var(--tjg-primary-dark) 100%); color: #fff; padding: 28px 0 24px; margin: -20px 0 24px; position: relative; overflow: hidden; }
.tjg-hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 140, 27, .35), transparent 70%); pointer-events: none; }
.tjg-hero .tjg-container { position: relative; z-index: 1; }
.tjg-hero-title { color: #fff; font-size: clamp(22px, 5vw, 34px); margin-bottom: 6px; }
.tjg-hero-text { color: #DCEBE3; max-width: 720px; margin-bottom: 16px; font-size: 16px; }
.tjg-hero .tjg-search { border-color: transparent; max-width: 640px; box-shadow: 0 6px 20px rgba(0, 0, 0, .18); }
.tjg-hero .tjg-search button { background: var(--tjg-accent); }
.tjg-quick { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tjg-quick a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #fff; color: var(--tjg-text); text-decoration: none; font-weight: 600; font-size: 14px; line-height: 1.3; min-height: 50px; }
.tjg-quick a svg { color: var(--chip); }
.tjg-quick a:hover { color: var(--chip); box-shadow: inset 0 -3px 0 var(--chip); }
@media (min-width: 640px) { .tjg-quick { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tjg-quick { grid-template-columns: repeat(6, minmax(0, 1fr)); } .tjg-hero { padding: 40px 0 32px; } }

/* ---------- Sections ---------- */
.tjg-section { margin: 0 0 28px; }
.tjg-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 2px solid var(--tjg-line); margin-bottom: 14px; }
.tjg-section-head h2 { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 -2px; padding: 0 0 8px; font-size: 20px; border-bottom: 3px solid var(--chip, var(--tjg-primary)); }
.tjg-section-head h2 svg { color: var(--chip, var(--tjg-primary)); }
.tjg-viewall { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; color: var(--chip, var(--tjg-primary)); }
.tjg-h-line { font-size: 20px; border-left: 4px solid var(--tjg-saffron); padding-left: 10px; }

/* Featured */
.tjg-featured-grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .tjg-featured-grid { grid-template-columns: 1.15fr 1fr; } }
.tjg-lead { background: var(--tjg-card); border-radius: var(--tjg-radius); box-shadow: var(--tjg-shadow); overflow: hidden; border-top: 5px solid var(--chip); display: flex; flex-direction: column; }
.tjg-lead-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tjg-lead-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tjg-lead:not(.has-img) .tjg-lead-body { background: linear-gradient(180deg, color-mix(in srgb, var(--chip) 7%, #fff), #fff 60%); }
.tjg-lead-title { font-size: clamp(20px, 3vw, 26px); margin: 0; }
.tjg-lead-title a, .tjg-card-title a, .tjg-row-title a { color: var(--tjg-text); text-decoration: none; }
.tjg-lead-title a:hover, .tjg-card-title a:hover, .tjg-row-title a:hover { color: var(--tjg-primary); text-decoration: underline; }
.tjg-lead-ex { color: var(--tjg-muted); margin: 0; font-size: 15px; }
.tjg-lead .tjg-card-foot { margin-top: auto; }

/* Rows */
.tjg-rows { display: flex; flex-direction: column; background: var(--tjg-card); border-radius: var(--tjg-radius); box-shadow: var(--tjg-shadow); overflow: hidden; }
.tjg-row { display: flex; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--tjg-line); align-items: flex-start; }
.tjg-row:last-child { border-bottom: 0; }
.tjg-row-img img { width: 80px; height: 60px; object-fit: cover; border-radius: 8px; display: block; }
.tjg-row-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: color-mix(in srgb, var(--chip) 12%, #fff); color: var(--chip); }
.tjg-row > div { min-width: 0; flex: 1; }
.tjg-row-title { font-family: var(--tjg-font); font-size: 16px; font-weight: 600; line-height: 1.45; margin: 0 0 4px; }
.tjg-row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--tjg-muted); }
.tjg-new-inline { font-style: normal; font-size: 11px; font-weight: 700; background: var(--tjg-urgent); color: #fff; padding: 1px 6px; border-radius: 4px; vertical-align: 2px; font-family: var(--tjg-font); }

/* Cards */
.tjg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.tjg-card { background: var(--tjg-card); border-radius: var(--tjg-radius); box-shadow: var(--tjg-shadow); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.tjg-card:hover { box-shadow: 0 6px 20px rgba(16, 40, 28, .12); transform: translateY(-2px); }
.tjg-card-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.tjg-band { display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--chip); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.3; }
.tjg-band span { flex: 1; min-width: 0; }
.tjg-new { font-style: normal; background: #fff; color: var(--chip); padding: 1px 8px; border-radius: 99px; font-size: 11px; font-weight: 800; }
.tjg-card-body { padding: 14px 16px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tjg-card-title { font-family: var(--tjg-font); font-size: 17px; font-weight: 700; line-height: 1.45; margin: 0; }
.tjg-card-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; font-size: 13px; color: var(--tjg-muted); padding-top: 4px; }
.tjg-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tjg-facts li { font-size: 12.5px; background: var(--tjg-primary-soft); color: var(--tjg-primary-dark); padding: 2px 9px; border-radius: 99px; font-weight: 600; line-height: 1.6; }

/* Chips + deadline */
.tjg-chip { align-self: flex-start; display: inline-block; background: var(--chip); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 99px; text-decoration: none; line-height: 1.5; }
.tjg-chip:hover { color: #fff; filter: brightness(1.1); }
.tjg-dl { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--tjg-primary-dark); background: var(--tjg-primary-soft); padding: 2px 8px; border-radius: 6px; line-height: 1.6; }
.tjg-dl.is-soon { color: #8A4300; background: #FFF1DE; }
.tjg-dl.is-urgent { color: #fff; background: var(--tjg-urgent); }
.tjg-dl.is-closed { color: #5E6A64; background: #ECEFED; }

/* Closing soon */
.tjg-closing-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); gap: 10px; }
.tjg-closing-list li { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "d t" "d m"; column-gap: 12px; align-items: center; background: #fff; border-radius: 10px; padding: 10px 12px; box-shadow: var(--tjg-shadow); border-left: 4px solid var(--tjg-saffron); }
.tjg-closing-list li.is-urgent { border-left-color: var(--tjg-urgent); }
.tjg-cl-days { grid-area: d; display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; padding: 4px; border-radius: 8px; background: var(--tjg-saffron-soft); color: #8A4300; font-size: 11px; line-height: 1.2; text-align: center; }
.is-urgent .tjg-cl-days { background: #FDECEA; color: var(--tjg-urgent); }
.tjg-cl-days strong { font-size: 22px; font-family: var(--tjg-head-font); }
.tjg-closing-list a { grid-area: t; color: var(--tjg-text); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.4; }
.tjg-closing-list a:hover { color: var(--tjg-primary); text-decoration: underline; }
.tjg-cl-date { grid-area: m; font-size: 12.5px; color: var(--tjg-muted); }

/* Category blocks */
.tjg-catblocks { display: grid; gap: 0 20px; }
@media (min-width: 900px) { .tjg-catblocks { grid-template-columns: 1fr 1fr; } }
.tjg-catblock .tjg-row-ic { display: none; }

/* Tiles + pills */
.tjg-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 10px; }
.tjg-tiles a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 18px 10px; min-height: 110px; background: #fff; border-radius: var(--tjg-radius); box-shadow: var(--tjg-shadow); color: var(--tjg-text); text-decoration: none; font-weight: 700; font-size: 14.5px; line-height: 1.35; border-bottom: 3px solid var(--tjg-saffron); }
.tjg-tiles svg { color: var(--tjg-primary); width: 30px; height: 30px; }
.tjg-tiles a:hover { color: var(--tjg-primary); border-bottom-color: var(--tjg-primary); }
.tjg-pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tjg-pills a { display: inline-block; padding: 7px 14px; border-radius: 99px; background: #fff; border: 1.5px solid var(--tjg-line); color: var(--tjg-text); text-decoration: none; font-weight: 600; font-size: 14px; line-height: 1.4; }
.tjg-pills a:hover { border-color: var(--tjg-primary); color: var(--tjg-primary); }
.tjg-more-wrap { text-align: center; margin: 18px 0 0; }

/* Join box */
.tjg-join { display: flex; flex-direction: column; gap: 12px; background: linear-gradient(135deg, #E9F5EE, #FFF5E8); border: 1px solid #D5E8DC; border-radius: var(--tjg-radius); padding: 16px 18px; margin: 24px 0; }
.tjg-join-title { display: flex; align-items: center; gap: 8px; font-family: var(--tjg-head-font); font-weight: 700; font-size: 17px; margin: 0 0 4px; color: var(--tjg-primary-dark); }
.tjg-join-title svg { color: var(--tjg-accent); }
.tjg-join-text p:last-child { margin: 0; color: var(--tjg-muted); font-size: 15px; }
.tjg-join-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tjg-join-btns .tjg-btn { flex: 1 1 130px; white-space: nowrap; padding-left: 12px; padding-right: 12px; }
.tjg-join-cta { background: linear-gradient(135deg, var(--tjg-primary), var(--tjg-primary-dark)); border: 0; color: #fff; padding: 22px; }
.tjg-join-cta .tjg-join-title { color: #fff; font-size: 20px; }
.tjg-join-cta .tjg-join-title svg { color: var(--tjg-saffron); }
.tjg-join-cta .tjg-join-text p:last-child { color: #DCEBE3; }
.tjg-join-cta .tjg-btn-wa { background: #fff; color: var(--tjg-wa); }
.tjg-join-cta .tjg-btn-tg { background: #fff; color: var(--tjg-tg); }
@media (min-width: 700px) {
	.tjg-join-post, .tjg-join-cta { flex-direction: row; align-items: center; justify-content: space-between; }
	.tjg-join-post .tjg-join-btns, .tjg-join-cta .tjg-join-btns { flex: none; }
	.tjg-join-post .tjg-join-btns .tjg-btn, .tjg-join-cta .tjg-join-btns .tjg-btn { flex: none; }
}

/* ---------- Layout ---------- */
.tjg-layout { display: grid; gap: 28px; }
.tjg-content { min-width: 0; }
@media (min-width: 1024px) {
	.tjg-layout { grid-template-columns: minmax(0, 1fr) 320px; }
}

/* Sidebar */
.tjg-sidebar { min-width: 0; }
.tjg-sidebar .widget { background: #fff; border-radius: var(--tjg-radius); box-shadow: var(--tjg-shadow); padding: 16px 18px; margin-bottom: 18px; }
.tjg-sidebar .widget:has(> .tjg-join:only-child) { padding: 0; background: transparent; box-shadow: none; }
.tjg-sidebar .widget > .tjg-join { margin: 0; }
.tjg-sidebar .widget-title { font-size: 17px; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--tjg-line); }
.tjg-sidebar .tjg-ad { margin: 0 0 18px; }
@media (min-width: 1024px) { .tjg-sidebar .tjg-ad-sidebar { position: sticky; top: 130px; } }
.tjg-mini { list-style: none; margin: 0; padding: 0; }
.tjg-mini li { padding: 9px 0; border-bottom: 1px dashed var(--tjg-line); display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.tjg-mini li:last-child { border-bottom: 0; }
.tjg-mini a { color: var(--tjg-text); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.45; }
.tjg-mini a:hover { color: var(--tjg-primary); text-decoration: underline; }
.tjg-linklist { list-style: none; margin: 0; padding: 0; }
.tjg-linklist a { display: flex; align-items: center; gap: 10px; padding: 8px 4px; color: var(--tjg-text); text-decoration: none; font-weight: 600; font-size: 15px; border-bottom: 1px solid var(--tjg-line); }
.tjg-linklist li:last-child a { border-bottom: 0; }
.tjg-linklist svg { color: var(--chip, var(--tjg-primary)); }
.tjg-linklist a:hover { color: var(--tjg-primary); }
.tjg-empty { color: var(--tjg-muted); font-size: 15px; margin: 0; }
.tjg-sidebar ul:not([class]) { padding-left: 18px; margin: 0; }

/* ---------- Article ---------- */
.tjg-crumbs ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 13.5px; color: var(--tjg-muted); }
.tjg-crumbs li:not(:last-child)::after { content: "›"; margin: 0 8px; color: #8A968F; }
.tjg-crumbs a { color: var(--tjg-muted); text-decoration: none; }
.tjg-crumbs a:hover { color: var(--tjg-primary); text-decoration: underline; }
.tjg-crumbs li[aria-current] { color: var(--tjg-text); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; }
.tjg-article { background: #fff; border-radius: var(--tjg-radius); box-shadow: var(--tjg-shadow); padding: 18px 16px 22px; }
@media (min-width: 700px) { .tjg-article { padding: 26px 30px 30px; } }
.tjg-article-head { margin-bottom: 14px; }
.tjg-article-head .tjg-chip { margin-bottom: 10px; }
.tjg-title { font-size: clamp(23px, 4.4vw, 32px); margin: 0 0 10px; }
.tjg-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--tjg-muted); }
.tjg-meta span { display: inline-flex; align-items: center; gap: 5px; }
.tjg-meta a { color: inherit; }
.tjg-featured-img { margin: 0 0 18px; }
.tjg-featured-img img { display: block; width: 100%; border-radius: 10px; }

.tjg-deadline { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 10px 14px; border-radius: 10px; font-weight: 700; font-size: 15.5px; background: var(--tjg-primary-soft); color: var(--tjg-primary-dark); }
.tjg-deadline.is-soon { background: #FFF1DE; color: #8A4300; }
.tjg-deadline.is-urgent { background: #FDECEA; color: var(--tjg-urgent); }
.tjg-deadline.is-closed { background: #ECEFED; color: #4A5650; }

.tjg-details { margin: 0 0 18px; border: 1px solid var(--tjg-line); border-radius: var(--tjg-radius); overflow: hidden; }
.tjg-details h2 { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 16px; background: var(--tjg-primary); color: #fff; font-size: 18px; }
.tjg-details h2 svg { color: var(--tjg-saffron); }
.tjg-details table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.tjg-details th, .tjg-details td { text-align: left; vertical-align: top; padding: 10px 16px; border-bottom: 1px solid var(--tjg-line); }
.tjg-details th { width: 38%; background: #F8FAF8; font-weight: 700; color: var(--tjg-primary-dark); }
.tjg-details tr.is-deadline td { color: var(--tjg-urgent); font-weight: 700; }
.tjg-details tr:last-child th, .tjg-details tr:last-child td { border-bottom: 0; }
@media (max-width: 480px) { .tjg-details th, .tjg-details td { padding: 9px 12px; } .tjg-details th { width: 42%; } }
.tjg-howto { padding: 12px 16px 4px; border-top: 1px solid var(--tjg-line); background: var(--tjg-saffron-soft); }
.tjg-howto h3 { font-size: 16px; margin-bottom: 6px; }
.tjg-howto p { font-size: 15.5px; }

.tjg-actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; margin: 0 0 22px; }
.tjg-actions .tjg-btn { min-height: 50px; font-size: 16px; }

/* Entry content */
.tjg-entry { font-size: 17.5px; }
.tjg-entry > * { margin-top: 0; }
.tjg-entry h2 { font-size: 23px; margin: 1.6em 0 .6em; padding-left: 12px; border-left: 4px solid var(--tjg-saffron); }
.tjg-entry h3 { font-size: 19px; margin: 1.4em 0 .5em; }
.tjg-entry ul, .tjg-entry ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.tjg-entry li { margin-bottom: .3em; }
.tjg-entry img { border-radius: 8px; }
.tjg-entry blockquote { margin: 1.4em 0; padding: 12px 18px; border-left: 4px solid var(--tjg-primary); background: var(--tjg-primary-soft); border-radius: 0 10px 10px 0; }
.tjg-entry table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15.5px; display: block; overflow-x: auto; }
.tjg-entry .wp-block-table table { display: table; }
.tjg-entry .wp-block-table { overflow-x: auto; margin: 0 0 1.2em; }
.tjg-entry th, .tjg-entry td { border: 1px solid var(--tjg-line); padding: 9px 12px; text-align: left; vertical-align: top; }
.tjg-entry thead th, .tjg-entry tr:first-child th { background: var(--tjg-primary); color: #fff; }
.tjg-entry tbody tr:nth-child(even) td { background: #F8FAF8; }
.tjg-entry .wp-block-button__link { background: var(--tjg-primary); color: #fff; border-radius: 10px; font-weight: 700; }
.tjg-entry a:not(.tjg-btn):not(.wp-block-button__link) { font-weight: 600; }
.tjg-entry iframe { width: 100%; }
.tjg-entry .alignwide, .tjg-entry .alignfull { margin-left: 0; margin-right: 0; }
.tjg-entry .aligncenter { margin-left: auto; margin-right: auto; display: block; }
.tjg-entry .alignleft { float: left; margin: 0 1em 1em 0; }
.tjg-entry .alignright { float: right; margin: 0 0 1em 1em; }
.wp-caption-text, .wp-element-caption { font-size: 14px; color: var(--tjg-muted); text-align: center; }

.tjg-toc { background: #F8FAF8; border: 1px solid var(--tjg-line); border-radius: 10px; padding: 10px 16px; margin: 0 0 20px; }
.tjg-toc summary { font-weight: 700; cursor: pointer; font-family: var(--tjg-head-font); min-height: 32px; display: flex; align-items: center; }
.tjg-toc ol { margin: 8px 0 4px; padding-left: 1.3em; font-size: 15.5px; }
.tjg-toc .lvl-3 { margin-left: 1em; list-style: circle; }
.tjg-toc a { color: var(--tjg-text); font-weight: 500 !important; text-decoration: none; }
.tjg-toc a:hover { color: var(--tjg-primary); text-decoration: underline; }

.tjg-verify { display: flex; gap: 10px; align-items: flex-start; background: #FFF8EC; border: 1px solid #F3D9B1; color: #5A3A10; border-radius: 10px; padding: 12px 14px; font-size: 14.5px; line-height: 1.6; margin: 18px 0; }
.tjg-verify svg { color: var(--tjg-accent); margin-top: 2px; }
.tjg-sample-note { background: #FDECEA; border: 2px dashed var(--tjg-urgent); color: #7A1A12; padding: 10px 14px; border-radius: 10px; font-size: 15px; }
.tjg-aff-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--tjg-muted); background: #F8FAF8; border-radius: 8px; padding: 8px 12px; line-height: 1.55; }
.tjg-aff-note svg { margin-top: 2px; }

/* Affiliate */
.tjg-recommend { border: 1px solid var(--tjg-line); border-radius: var(--tjg-radius); padding: 14px 16px; margin: 22px 0; background: #fff; }
.tjg-recommend-title { display: flex; align-items: center; gap: 8px; font-family: var(--tjg-head-font); font-weight: 700; font-size: 17px; margin: 0 0 10px; }
.tjg-recommend-title svg { color: var(--tjg-accent); }
.tjg-recommend-note { font-size: 12px; color: #5E6A64; margin: 8px 0 0; }
.tjg-product { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--tjg-line); flex-wrap: wrap; }
.tjg-recommend .tjg-product:first-of-type { border-top: 0; }
.tjg-entry .tjg-product { border: 1px solid var(--tjg-line); border-radius: 10px; padding: 12px; margin: 0 0 1em; }
.tjg-product img { width: 72px; height: 72px; object-fit: contain; border-radius: 6px; background: #F8FAF8; }
.tjg-product-ic { width: 56px; height: 56px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: var(--tjg-saffron-soft); color: var(--tjg-accent); flex: none; }
.tjg-product-body { flex: 1 1 160px; min-width: 0; }
.tjg-product-title { font-weight: 700; margin: 0; line-height: 1.4; font-size: 15.5px; }
.tjg-product-price { margin: 2px 0 0; color: var(--tjg-accent); font-weight: 700; font-size: 15px; }
.tjg-product .tjg-btn { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.tjg-recommend-sidebar { border: 0; padding: 0; margin: 0; }
.tjg-recommend-sidebar .tjg-product { flex-wrap: wrap; }
.tjg-recommend-sidebar .tjg-product .tjg-btn { width: 100%; }

/* Share */
.tjg-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 14px; padding-top: 16px; border-top: 1px solid var(--tjg-line); }
.tjg-share-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-right: 4px; }
.tjg-share a, .tjg-share button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 12px; border-radius: 8px; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; border: 0; cursor: pointer; }
.tjg-share a:hover, .tjg-share button:hover { color: #fff; filter: brightness(1.1); }
.tjg-share-whatsapp { background: var(--tjg-wa); }
.tjg-share-telegram { background: var(--tjg-tg); }
.tjg-share-facebook { background: #1160C9; }
.tjg-share-twitter { background: #14171A; }
.tjg-share-copy { background: #4A5650; }
@media (max-width: 520px) { .tjg-share a span { display: none; } }
.tjg-post-terms { margin: 10px 0 0; }

/* Author, related, nav */
.tjg-author { display: flex; gap: 14px; align-items: flex-start; margin-top: 22px; padding: 16px; background: #F8FAF8; border-radius: var(--tjg-radius); }
.tjg-author img { border-radius: 50%; flex: none; }
.tjg-author p { margin: 0; font-size: 15px; color: var(--tjg-muted); }
.tjg-author .tjg-author-name { color: var(--tjg-text); font-weight: 700; margin-bottom: 4px; }
.tjg-related { margin: 26px 0; }
.post-navigation { margin: 0 0 26px; }
.post-navigation .nav-links { display: grid; gap: 10px; }
@media (min-width: 640px) { .post-navigation .nav-links { grid-template-columns: 1fr 1fr; } .post-navigation .nav-next { text-align: right; } }
.post-navigation a { display: block; background: #fff; border-radius: 10px; box-shadow: var(--tjg-shadow); padding: 12px 16px; text-decoration: none; color: var(--tjg-text); height: 100%; }
.post-navigation a:hover { color: var(--tjg-primary); }
.tjg-pn-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--tjg-muted); }
.tjg-pn-title { font-weight: 600; line-height: 1.45; display: block; }

/* Comments */
.tjg-comments { background: #fff; border-radius: var(--tjg-radius); box-shadow: var(--tjg-shadow); padding: 18px 16px; }
@media (min-width: 700px) { .tjg-comments { padding: 22px 30px; } }
.tjg-comment-list { list-style: none; padding: 0; margin: 0 0 20px; }
.tjg-comment-list .children { list-style: none; padding-left: 18px; }
.tjg-comment-list .comment-body { padding: 12px 0; border-bottom: 1px solid var(--tjg-line); }
.tjg-comment-list .avatar { border-radius: 50%; float: left; margin-right: 10px; }
.comment-meta { font-size: 14px; }
.comment-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; border: 1.5px solid var(--tjg-line); border-radius: 10px; padding: 10px 12px; background: #fff; }
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--tjg-primary); outline: none; }
.comment-form .submit { background: var(--tjg-primary); color: #fff; border: 0; border-radius: 10px; padding: 12px 22px; font-weight: 700; cursor: pointer; min-height: 44px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }

/* Archive */
.tjg-archive-head { background: #fff; border-radius: var(--tjg-radius); box-shadow: var(--tjg-shadow); padding: 18px 18px 16px; margin-bottom: 18px; border-left: 5px solid var(--chip, var(--tjg-primary)); }
.tjg-archive-head .tjg-title { margin-bottom: 6px; }
.tjg-archive-desc { color: var(--tjg-muted); font-size: 15.5px; }
.tjg-archive-desc p:last-child { margin: 0; }
.tjg-archive-head .tjg-pills, .tjg-archive-head .tjg-search { margin-top: 12px; }
.tjg-pagination { margin: 24px 0 0; }
.tjg-pagination ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.tjg-pagination a, .tjg-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 10px; background: #fff; box-shadow: var(--tjg-shadow); text-decoration: none; font-weight: 600; color: var(--tjg-text); }
.tjg-pagination .current { background: var(--tjg-primary); color: #fff; }
.tjg-none { background: #fff; border-radius: var(--tjg-radius); padding: 20px; box-shadow: var(--tjg-shadow); }
.tjg-404 { text-align: center; padding-top: 20px; }
.tjg-404-code { font-family: var(--tjg-head-font); font-weight: 800; font-size: 96px; line-height: 1; margin: 0; color: var(--tjg-accent); }
.tjg-404 .tjg-search { max-width: 520px; margin: 18px auto 22px; }
.tjg-404 .tjg-linklist { max-width: 420px; margin: 0 auto; text-align: left; background: #fff; border-radius: var(--tjg-radius); padding: 6px 14px; box-shadow: var(--tjg-shadow); }
.tjg-hub .tjg-rows { margin-bottom: 4px; }
.tjg-home-intro { background: #fff; border-radius: var(--tjg-radius); padding: 20px; box-shadow: var(--tjg-shadow); }
.tjg-contact { list-style: none; padding: 0 !important; }
.tjg-contact li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--tjg-line); }
.tjg-contact svg { color: var(--tjg-primary); }
.tjg-contact span { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.tjg-footer { background: #0A2E20; color: #C9DDD2; font-size: 15px; margin-top: 10px; }
.tjg-footer a { color: #E6F2EB; text-decoration: none; }
.tjg-footer a:hover { color: var(--tjg-saffron); text-decoration: underline; }
.tjg-footer-grid { display: grid; gap: 26px; padding-top: 36px; padding-bottom: 26px; }
@media (min-width: 640px) { .tjg-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tjg-footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.tjg-fabout .tjg-logo img { height: 44px; margin-bottom: 12px; }
.tjg-fhead { color: #fff; font-size: 16px; margin: 0 0 12px; position: relative; padding-bottom: 8px; }
.tjg-fhead::after { content: ""; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; background: var(--tjg-saffron); border-radius: 2px; }
.tjg-flinks { list-style: none; margin: 0; padding: 0; }
.tjg-flinks li { padding: 4px 0; }
.tjg-flinks a { display: inline-block; padding: 3px 0; }
.tjg-social-foot a { background: rgba(255, 255, 255, .1); color: #fff; width: 40px; height: 40px; }
.tjg-social-foot a:hover { background: var(--tjg-saffron); color: #fff; }
.tjg-footer .tjg-footer-grid .tjg-btn-wa, .tjg-footer .tjg-footer-grid .tjg-btn-tg { color: #fff; }
.tjg-footer .tjg-footer-grid .tjg-btn:hover { text-decoration: none; color: #fff; }
.tjg-footer .widget-title { color: #fff; font-size: 16px; }
.tjg-footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 16px 0 90px; font-size: 13.5px; text-align: center; }
@media (min-width: 900px) { .tjg-footer-bottom { padding-bottom: 20px; } }
.tjg-fmenu { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.tjg-fmenu a { display: inline-block; padding: 4px 0; }
.tjg-fnote { color: #A9C2B5; max-width: 760px; margin: 0 auto 6px; }
.tjg-copy { margin: 0; }

/* ---------- Floating + popup ---------- */
.tjg-float { position: fixed; right: 14px; bottom: 16px; z-index: 80; display: flex; align-items: flex-start; }
.tjg-float-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--tjg-wa); color: #fff; text-decoration: none; font-weight: 700; padding: 0 18px 0 14px; height: 52px; border-radius: 99px; box-shadow: 0 6px 18px rgba(18, 124, 62, .4); font-size: 15px; }
.tjg-float-btn:hover { color: #fff; filter: brightness(1.08); }
.tjg-float-min { position: absolute; top: -8px; right: -6px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: #fff; color: #333; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.tjg-float.is-min .tjg-float-btn span { display: none; }
.tjg-float.is-min .tjg-float-btn { padding: 0; width: 52px; justify-content: center; }
.tjg-float.is-min .tjg-float-min { display: none; }
@media (max-width: 480px) { .tjg-float-btn span { display: none; } .tjg-float-btn { padding: 0; width: 54px; height: 54px; justify-content: center; } }
body.has-anchor .tjg-float, body.has-anchor .tjg-totop { bottom: 120px; }
.tjg-totop { position: fixed; left: 14px; bottom: 16px; z-index: 79; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--tjg-primary); color: #fff; box-shadow: var(--tjg-shadow); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.tjg-popup { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 25, 18, .55); }
.tjg-popup-box { position: relative; width: 100%; max-width: 400px; background: #fff; border-radius: 16px; padding: 28px 22px 18px; text-align: center; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); animation: tjg-pop .25s ease-out; }
@keyframes tjg-pop { from { transform: scale(.94); opacity: 0; } to { transform: none; opacity: 1; } }
.tjg-popup-box img { width: 64px; height: 64px; margin: 0 auto 8px; display: block; }
.tjg-popup-h { font-family: var(--tjg-head-font); font-weight: 700; font-size: 21px; margin: 0 0 6px; color: var(--tjg-primary-dark); }
.tjg-popup-box > p { color: var(--tjg-muted); font-size: 15.5px; }
.tjg-popup-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; color: #444; display: inline-flex; align-items: center; justify-content: center; }
.tjg-popup-close:hover { background: #F0F2F1; }
.tjg-popup-later { margin-top: 10px; background: none; border: 0; color: var(--tjg-muted); text-decoration: underline; cursor: pointer; min-height: 40px; font-size: 14px; }

/* ---------- Responsive header ---------- */
@media (min-width: 640px) {
	.tjg-logo img, .custom-logo { height: 52px; }
	.tjg-head-join { display: inline-flex; }
}
@media (min-width: 1024px) {
	.tjg-menu-btn, .tjg-search-btn { display: none; }
	.tjg-nav { display: block; }
	.tjg-hsearch { display: flex; align-items: center; background: var(--tjg-bg); border: 1.5px solid var(--tjg-line); border-radius: 10px; overflow: hidden; }
	.tjg-hsearch:focus-within { border-color: var(--tjg-primary); }
	.tjg-hsearch input { border: 0; background: transparent; padding: 8px 12px; width: 220px; outline: none; font-size: 15px; }
	.tjg-hsearch button { border: 0; background: transparent; color: var(--tjg-primary); width: 42px; height: 42px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
	.tjg-header-row { min-height: 80px; }
	.tjg-msearch { display: none !important; }
}
@media (min-width: 1180px) { .tjg-tagline { display: block; } }

/* ---------- Print ---------- */
@media print {
	.tjg-topbar, .tjg-nav, .tjg-ticker, .tjg-sidebar, .tjg-ad, .tjg-float, .tjg-popup, .tjg-share, .tjg-join, .tjg-footer, .tjg-totop, .tjg-header-actions, .tjg-menu-btn, .tjg-related, .post-navigation, .tjg-comments, .tjg-anchor { display: none !important; }
	.tjg-header { position: static; box-shadow: none; }
	.tjg-layout { display: block; }
	.tjg-article { box-shadow: none; padding: 0; }
	body { background: #fff; }
}
