/*
Theme Name: Tattoo Expert Child
Theme URI: https://airline-airport.com/
Description: Airline-Airport child theme for Tattoo Expert. Light news design (white / #006CDD), fully responsive, performance optimized.
Author: Airline-Airport
Author URI: https://airline-airport.com/
Template: tattoo-expert
Version: 4.3.1
Text Domain: tattoo-expert-child
*/

/* ==========================================================================
   TABLE OF CONTENTS
   --------------------------------------------------------------------------
   Search for the section number (e.g. "SECTION 10") to jump straight to it.

    1. DESIGN TOKENS ........ colors, gradients, radius, shadows, widths, font
    2. BASE / RESET ......... body, headings, links, images, accessibility
    3. BUTTONS
    4. HEADER
         4.1 Header bar & logo
         4.2 Desktop menu
         4.3 Dropdown sub-menus
         4.4 Icon buttons (search / menu)
         4.5 Header search drop-down
         4.6 Search form (shared: header, homepage, search page)
         4.7 Mobile / tablet header (off-canvas menu)
    5. PAGE BANNER & BREADCRUMBS
    6. LAYOUT & SECTION HEADINGS
    7. AIRPORT PAGES
         7.1 Quick-nav tabs (parent / arrival / departure)
         7.2 Arrivals / departures table
    8. CONTENT (text inside pages and posts)
    9. SIDEBAR WIDGETS
   10. CARDS & LISTS
         10.1 Name cards (airport links - homepage, footer, all-airports)
         10.2 A-Z letters (all-airports page)
         10.3 Post cards (blog)
         10.4 Empty state
         10.5 Pagination
   11. HOMEPAGE
         11.1 Hero banner
         11.2 Airport essentials cards
         11.3 USA airports & aviation (stats panel)
         11.4 Discover Major Airports Across the USA
         11.5 Latest Terminal Guides (blog)
   12. SINGLE POST, BLOG & SEARCH HEADERS
   13. FOOTER, CALL BAR & BACK-TO-TOP
   14. THIRD-PARTY (WooCommerce)
   15. MOTION PREFERENCES
   16. NEWS DESIGN: homepage banner, Latest, category rows, category pages,
       article layout (Trending Now + Recommended)

   EDITING TIPS
   - Change colors/sizes in SECTION 1 first: every other rule uses those
     variables, so one edit updates the whole site.
   - Responsive (@media) rules sit right below the rules they change.
     Breakpoints used: 1100, 1024, 991, 768/767, 640, 600, 480/460, 360px.
   - Keep the section order: some later rules intentionally override
     earlier ones (e.g. .tx-stats-section overrides .tx-section).
   ========================================================================== */


/* ==========================================================================
   SECTION 1. DESIGN TOKENS  (light theme: white background, #006CDD accent)
   --------------------------------------------------------------------------
   Edit here to restyle the whole site.
   ========================================================================== */
:root {
	/* Brand / accent (Simple Flying style blue) */
	--tx-brand: #006CDD;          /* main accent: links, buttons, "View All" */
	--tx-brand-900: #0B0B0B;
	--tx-brand-800: #101010;
	--tx-brand-600: #0058B4;
	--tx-brand-500: #006CDD;
	--tx-brand-400: #006CDD;      /* hover color used across the site */
	--tx-brand-300: #6A9CDA;
	--tx-brand-100: #E7EFFA;      /* soft blue tint (pills, image placeholders) */
	--tx-brand-50:  #F2F6FC;      /* hover background */

	/* Gradients: hero = inner-page title banner, footer = mobile menu panel */
	--tx-grad-hero: linear-gradient(180deg, #101010 0%, #242424 100%);
	--tx-grad-footer: #181818;
	--tx-grad-accent: linear-gradient(135deg, #006CDD 0%, #1E90FF 100%);
	--tx-grad-bar: linear-gradient(90deg, #0058B4 0%, #006CDD 50%, #1E90FF 100%);

	/* Text & surface colors (light theme) */
	--tx-heading: #181818;        /* h1-h6, card titles */
	--tx-text: #2B2B2B;           /* body text */
	--tx-muted: #6D6D6D;          /* secondary text, "6 hours ago" */
	--tx-border: #E2E2E2;         /* dividers, card borders */
	--tx-bg: #FFFFFF;             /* page background */
	--tx-bg-soft: #F5F5F5;        /* footer, alternate sections */
	--tx-surface: #FFFFFF;        /* cards, dropdowns, inputs */

	/* Shape, depth, sizes, font */
	--tx-radius: 10px;
	--tx-radius-sm: 8px;
	--tx-shadow: 0 8px 24px rgba(0, 0, 0, .08);
	--tx-shadow-lg: 0 16px 40px rgba(0, 0, 0, .12);
	--tx-container: 1280px;       /* max content width */
	--tx-header-h: 70px;          /* header height (66px on mobile, see 4.7) */
	--tx-font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--tx-font-head: "Work Sans", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* ==========================================================================
   SECTION 2. BASE / PARENT THEME RESET
   --------------------------------------------------------------------------
   Global defaults + hides parent-theme elements this child theme replaces.
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--tx-bg);
	color: var(--tx-text);
	font-family: var(--tx-font);
	font-size: 16px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body, button, input, select, textarea { font-family: var(--tx-font); }
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, h4, h5, h6 { font-family: var(--tx-font-head); color: var(--tx-heading); line-height: 1.25; letter-spacing: -.01em; }
p { color: inherit; }
a { color: var(--tx-brand-500); text-decoration: none; transition: color .2s ease; }
a:hover, a:focus { color: var(--tx-brand-400); }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
iframe { width: 100%; border: 0; }
.site-content, #content.site-content { padding: 0 !important; }
#inner-pages-header, .airlines_ander_ka_header { display: none !important; }
:focus-visible { outline: 3px solid var(--tx-brand-400); outline-offset: 2px; }

/* Accessibility helpers (hidden text for screen readers, skip link) */
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000;
	top: 8px; left: 8px; padding: 10px 16px; background: #fff; color: var(--tx-brand);
	border-radius: 8px; box-shadow: var(--tx-shadow);
}

/* Centered page-width wrapper (width set by --tx-container) */
.tx-container { width: 100%; max-width: var(--tx-container); margin: 0 auto; padding: 0 20px; }


/* ==========================================================================
   SECTION 3. BUTTONS  (also overrides the parent theme's red)
   ========================================================================== */
button, input[type="button"], input[type="submit"], a.more-link,
.tx-btn {
	background: var(--tx-brand);
	color: #fff;
	border: 0;
	border-radius: var(--tx-radius-sm);
	cursor: pointer;
	transition: background .2s ease, transform .2s ease;
}
button:hover, input[type="submit"]:hover, a.more-link:hover, .tx-btn:hover { background: var(--tx-brand-500); color: #fff; }
.tx-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; font-weight: 700; }

/* ==========================================================================
   SECTION 4. HEADER  (sticky, fully responsive)
   ========================================================================== */

/* ---------- 4.1 Header bar & logo ---------- */
.tx-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--tx-surface);
	box-shadow: 0 4px 20px rgba(10, 49, 97, .06);
}
/* keep header below the WordPress admin bar when logged in */
.admin-bar .tx-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .tx-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .tx-header { top: 0; } }

.tx-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: var(--tx-header-h);
}
.tx-branding { display: flex; align-items: center; gap: 10px; min-width: 0; }
.tx-branding .custom-logo-link { display: inline-flex; line-height: 0; }
.tx-branding .custom-logo { max-height: 52px; width: auto; }
.tx-site-title { margin: 0; font-size: 1.45rem; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.tx-site-title a { color: var(--tx-brand); }
.tx-site-desc { margin: 2px 0 0; font-size: .8rem; color: var(--tx-muted); }

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

/* ---------- 4.2 Desktop menu ---------- */
.tx-nav ul { list-style: none; margin: 0; padding: 0; }
.tx-nav > div > ul,
.tx-nav > ul { display: flex; align-items: center; gap: 4px; }
.tx-nav li { position: relative; }
.tx-nav a {
	display: block;
	padding: 10px 14px;
	color: var(--tx-heading);
	font-size: .95rem;
	font-weight: 500;
	border-radius: 8px;
	white-space: nowrap;
}
.tx-nav a:hover,
.tx-nav a:focus,
.tx-nav .current-menu-item > a,
.tx-nav .current_page_item > a,
.tx-nav .current-menu-ancestor > a,
.tx-nav .current_page_ancestor > a { color: var(--tx-brand-500); }
.tx-nav .current-menu-item > a,
.tx-nav .current_page_item > a { font-weight: 700; }

/* ---------- 4.3 Dropdown sub-menus (desktop) ---------- */
/* arrow next to items that have a sub-menu */
.tx-nav .menu-item-has-children > a,
.tx-nav .page_item_has_children > a { padding-right: 28px; }
.tx-nav .menu-item-has-children > a::after,
.tx-nav .page_item_has_children > a::after {
	content: '';
	position: absolute;
	right: 12px;
	top: 50%;
	width: 7px; height: 7px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
}
/* the sub-menu box (hidden until hover / keyboard focus) */
.tx-nav ul ul {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	padding: 8px;
	background: var(--tx-surface);
	border: 1px solid var(--tx-border);
	border-radius: 12px;
	box-shadow: var(--tx-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
	display: block;
}
.tx-nav ul ul ul { top: 0; left: 100%; }
.tx-nav li:hover > ul,
.tx-nav li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.tx-nav ul ul a { white-space: normal; padding: 9px 12px; }
.tx-nav ul ul a:hover { background: var(--tx-brand-50); }

/* ---------- 4.4 Icon buttons (search / menu) ---------- */
.tx-icon-btn,
.tx-icon-btn:hover,
.tx-icon-btn:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--tx-heading);
	border: 0;
	box-shadow: none;
}
.tx-icon-btn:hover { background: var(--tx-brand-50); color: var(--tx-brand); }
.tx-icon-btn svg { width: 20px; height: 20px; display: block; }
.tx-menu-toggle { display: none !important; }

/* ---------- 4.5 Header search drop-down (opened by the search icon) ---------- */
.tx-header-search {
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	background: var(--tx-surface);
	border-top: 1px solid var(--tx-border);
	box-shadow: 0 14px 24px rgba(10, 49, 97, .08);
	padding: 16px 0;
	display: none;
}
.tx-header-search.is-open { display: block; animation: txFade .2s ease; }
@keyframes txFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- 4.6 Search form (shared: header, homepage hero, search page) ---------- */
.tx-search-form {
	display: flex;
	align-items: center;
	gap: 6px;
	max-width: 680px;
	margin: 0 auto;
	padding: 6px;
	background: var(--tx-surface);
	border: 1px solid var(--tx-border);
	border-radius: 14px;
	box-shadow: var(--tx-shadow);
}
.tx-search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 48px;
	padding: 0 14px;
	border: 0;
	background: transparent;
	color: var(--tx-text);
	font-size: 1rem;
	outline: none;
	box-shadow: none;
}
.tx-search-form button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 22px;
	border-radius: 10px;
	background: var(--tx-grad-accent);
	font-weight: 700;
	white-space: nowrap;
}
.tx-search-form button:hover { background: var(--tx-brand); }
.tx-search-form button svg { width: 18px; height: 18px; }

/* ---------- 4.7 Mobile / tablet header (1024px and below) ---------- */
@media (max-width: 1024px) {
	:root { --tx-header-h: 66px; }
	.tx-menu-toggle { display: inline-flex !important; }
	.tx-branding .custom-logo { max-height: 42px; }
	.tx-site-title { font-size: 1.2rem; }
	.tx-site-desc { display: none; }

	/* Off-canvas panel */
	.tx-nav {
		position: fixed;
		top: 0;
		right: 0;
		bottom: 0;
		width: min(320px, 86vw);
		padding: 76px 0 30px;
		background: var(--tx-grad-footer);
		overflow-y: auto;
		z-index: 1002;
		transform: translateX(100%);
		visibility: hidden;
		transition: transform .3s ease, visibility .3s;
	}
	.tx-nav.is-open { transform: translateX(0); visibility: visible; box-shadow: -12px 0 40px rgba(0, 0, 0, .3); }
	.tx-nav::before {
		content: 'Menu';
		position: absolute;
		top: 26px;
		left: 24px;
		color: var(--tx-brand-300);
		font-size: .75rem;
		font-weight: 800;
		letter-spacing: .14em;
		text-transform: uppercase;
	}
	/* menu items stacked vertically */
	.tx-nav > div > ul,
	.tx-nav > ul { display: block; }
	.tx-nav li { border-top: 1px solid rgba(255, 255, 255, .08); }
	.tx-nav li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.tx-nav a { color: #fff; padding: 14px 24px; border-radius: 0; font-size: 1rem; font-weight: 600; white-space: normal; }
	.tx-nav a:hover, .tx-nav a:focus { color: #fff; background: rgba(255, 255, 255, .07); }
	.tx-nav .current-menu-item > a,
	.tx-nav .current_page_item > a { color: #fff; box-shadow: inset 4px 0 0 var(--tx-brand-400); background: rgba(255, 255, 255, .06); }
	.tx-nav .menu-item-has-children > a::after,
	.tx-nav .page_item_has_children > a::after { display: none; }
	/* sub-menus always open, indented */
	.tx-nav ul ul {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		min-width: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		background: rgba(0, 0, 0, .18);
	}
	.tx-nav ul ul a { padding-left: 40px; font-size: .92rem; font-weight: 500; }
	.tx-nav ul ul a:hover { background: rgba(255, 255, 255, .07); }

	/* close (X) button inside the panel */
	.tx-nav-close,
	.tx-nav-close:hover,
	.tx-nav-close:focus {
		position: absolute;
		top: 16px;
		right: 16px;
		width: 42px;
		height: 42px;
		border-radius: 50%;
		background: rgba(255, 255, 255, .1);
		color: #fff;
	}
	.tx-nav-close:hover { background: var(--tx-brand-400); }

	/* dark overlay behind the open panel */
	.tx-nav-overlay {
		position: fixed;
		inset: 0;
		background: rgba(4, 20, 43, .55);
		z-index: 1001;
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s ease, visibility .3s;
	}
	.tx-nav-overlay.is-open { opacity: 1; visibility: visible; }
	body.tx-menu-open { overflow: hidden; }
}
/* desktop: no close button / overlay */
@media (min-width: 1025px) {
	.tx-nav-close, .tx-nav-overlay { display: none !important; }
}
/* small phones: smaller logo, icon-only search button */
@media (max-width: 480px) {
	.tx-header-inner { gap: 10px; }
	.tx-branding .custom-logo { max-height: 36px; }
	.tx-search-form button span { display: none; }
	.tx-search-form button { padding: 0 16px; }
}

/* ==========================================================================
   SECTION 5. PAGE BANNER & BREADCRUMBS
   --------------------------------------------------------------------------
   Navy title banner at the top of inner pages (not the homepage hero,
   which is in SECTION 11.1).
   ========================================================================== */
.tx-banner {
	position: relative;
	overflow: hidden;
	background: var(--tx-grad-hero);
	color: #fff;
	padding: 64px 0 60px;
}
.tx-banner::after {
	/* soft light streaks, pure CSS (no image download) */
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(115deg, transparent 55%, rgba(255, 255, 255, .06) 62%, transparent 70%),
	            linear-gradient(115deg, transparent 68%, rgba(255, 255, 255, .04) 74%, transparent 80%);
	pointer-events: none;
}
.tx-banner .tx-container { position: relative; z-index: 1; }
.tx-banner h1 {
	margin: 0 0 12px;
	color: #fff;
	font-size: clamp(1.75rem, 1.1rem + 2.6vw, 3.1rem);
	font-weight: 800;
	line-height: 1.15;
	overflow-wrap: anywhere;
}
.tx-banner--crumbs-top h1 { margin: 12px 0 0; }

/* Breadcrumbs (Yoast or built-in). Default = white text on banner,
   --dark variant = grey text on white background (single posts). */
.tx-breadcrumbs { font-size: .82rem; color: rgba(255, 255, 255, .72); line-height: 1.5; }
.tx-breadcrumbs a { color: rgba(255, 255, 255, .72); }
.tx-breadcrumbs a:hover { color: #fff; }
.tx-breadcrumbs .breadcrumb_last,
.tx-breadcrumbs [aria-current] { color: #fff; font-weight: 600; }
.tx-breadcrumbs--dark,
.tx-breadcrumbs--dark a { color: var(--tx-muted); }
.tx-breadcrumbs--dark a:hover { color: var(--tx-brand-500); }
.tx-breadcrumbs--dark .breadcrumb_last,
.tx-breadcrumbs--dark [aria-current] { color: var(--tx-heading); }
.tx-breadcrumbs .tx-sep { margin: 0 6px; opacity: .6; }

/* ==========================================================================
   SECTION 6. LAYOUT & SECTION HEADINGS
   ========================================================================== */
/* Vertical spacing of every page section */
.tx-section { padding: 56px 0; }
.tx-section--tight { padding: 36px 0; }

/* Two-column layout: content + sidebar (stacks below 991px) */
.tx-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 40px;
	align-items: start;
}
.tx-layout--wide-side { grid-template-columns: minmax(0, 1fr) 340px; }
@media (max-width: 991px) {
	.tx-layout, .tx-layout--wide-side { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* Section heading row: title (with blue underline bar) + optional "View all" link */
.tx-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.tx-section-title {
	position: relative;
	margin: 0;
	padding-bottom: 14px;
	font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem);
	font-weight: 800;
}
.tx-section-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 4px;
	border-radius: 4px;
	background: var(--tx-grad-accent);
}
.tx-section-link { font-weight: 700; font-size: .95rem; display: inline-flex; align-items: center; gap: 6px; }
.tx-section-link svg { width: 16px; height: 16px; }

/* ==========================================================================
   SECTION 7. AIRPORT PAGES
   ========================================================================== */

/* ---------- 7.1 Quick-nav tabs (parent / arrival / departure) ---------- */
.tx-quicknav-wrap { padding: 40px 0 8px; }
.tx-quicknav {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	background: var(--tx-surface);
	border: 1px solid var(--tx-border);
	border-radius: 22px;
	box-shadow: var(--tx-shadow);
	overflow: hidden;
	margin: 0 auto;
	max-width: 1100px;
}
.tx-quicknav a {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 140px;
	padding: 22px 12px;
	text-align: center;
	color: var(--tx-heading);
	font-size: .92rem;
	font-weight: 600;
	line-height: 1.35;
	border-right: 1px solid var(--tx-border);
	border-bottom: 1px solid var(--tx-border);
	margin: 0 -1px -1px 0;
	transition: background .2s ease, color .2s ease;
}
.tx-quicknav a:hover { background: var(--tx-brand-50); color: var(--tx-brand); }
.tx-quicknav-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--tx-brand-100);
	color: var(--tx-brand-500);
	transition: background .2s ease, color .2s ease, transform .2s ease;
}
.tx-quicknav-icon svg { width: 24px; height: 24px; }
.tx-quicknav a:hover .tx-quicknav-icon { transform: translateY(-2px); }
.tx-quicknav a.is-current { background: var(--tx-brand-100); color: var(--tx-brand); }
.tx-quicknav a.is-current .tx-quicknav-icon { background: var(--tx-grad-accent); color: #fff; box-shadow: 0 8px 18px rgba(29, 95, 176, .35); }
@media (max-width: 600px) {
	.tx-quicknav-wrap { padding-top: 24px; }
	.tx-quicknav { grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 16px; }
	.tx-quicknav a { min-height: 112px; padding: 16px 6px; font-size: .8rem; gap: 8px; }
	.tx-quicknav-icon { width: 42px; height: 42px; border-radius: 12px; }
	.tx-quicknav-icon svg { width: 20px; height: 20px; }
}
@media (max-width: 360px) {
	.tx-quicknav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 7.2 Arrivals / departures table (used when a parent has many child pages) ---------- */
/* On phones (600px and below) each row becomes a stacked card with labels. */
.tx-ad-box { background: var(--tx-surface); border: 1px solid var(--tx-border); border-radius: var(--tx-radius); box-shadow: var(--tx-shadow); overflow: hidden; margin-bottom: 36px; }
.tx-ad-table { width: 100%; border-collapse: collapse; margin: 0; }
.tx-ad-table thead th { background: var(--tx-grad-accent); color: #fff; text-align: left; padding: 16px 20px; font-size: 1rem; width: 50%; }
.tx-ad-table thead th + th { border-left: 1px solid rgba(255, 255, 255, .15); }
.tx-ad-table thead svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: 8px; }
.tx-ad-table td { padding: 14px 20px; border-top: 1px solid var(--tx-border); }
.tx-ad-table td + td { border-left: 1px solid var(--tx-border); }
.tx-ad-table tbody tr:nth-child(even) td { background: var(--tx-bg-soft); }
.tx-ad-table tbody tr:hover td { background: var(--tx-brand-50); }
.tx-ad-table td a { color: var(--tx-heading); font-weight: 600; }
.tx-ad-table td a:hover { color: var(--tx-brand-500); }
.tx-ad-empty { color: #9aa7b8; }
@media (max-width: 600px) {
	.tx-ad-table thead { display: none; }
	.tx-ad-table, .tx-ad-table tbody, .tx-ad-table tr, .tx-ad-table td { display: block; width: 100%; }
	.tx-ad-table tr { border-top: 1px solid var(--tx-border); padding: 6px 0; }
	.tx-ad-table tr:first-child { border-top: 0; }
	.tx-ad-table td { border: 0 !important; padding: 8px 18px; }
	.tx-ad-table td::before { content: attr(data-label); display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--tx-brand-500); }
}

/* ==========================================================================
   SECTION 8. CONTENT  (text written in the editor: pages & posts)
   ========================================================================== */
/* Text, headings, links, lists */
.tx-content { color: var(--tx-text); font-size: 1.02rem; line-height: 1.8; overflow-wrap: anywhere; min-width: 0; }
.tx-content > *:first-child { margin-top: 0; }
.tx-content p { color: var(--tx-text); margin: 0 0 1.1em; }
.tx-content h2 {
	margin: 1.8em 0 .8em;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--tx-border);
	font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
	font-weight: 700;
	scroll-margin-top: calc(var(--tx-header-h) + 24px);
}
.tx-content h3 { margin: 1.5em 0 .6em; font-size: 1.2rem; font-weight: 700; scroll-margin-top: calc(var(--tx-header-h) + 24px); }
.tx-content h4 { margin: 1.3em 0 .5em; font-size: 1.05rem; }
.tx-content a { color: var(--tx-brand-500); text-decoration: underline; text-decoration-color: rgba(29, 95, 176, .35); text-underline-offset: 3px; }
.tx-content a:hover { color: var(--tx-brand-400); text-decoration-color: currentColor; }
.tx-content ul, .tx-content ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.tx-content li { margin-bottom: .4em; }
.tx-content li::marker { color: var(--tx-brand-500); }
/* Images & quotes */
.tx-content img { border-radius: 12px; }
.tx-content blockquote {
	margin: 1.5em 0;
	padding: 18px 22px;
	border-left: 4px solid var(--tx-brand-500);
	background: var(--tx-brand-50);
	border-radius: 0 12px 12px 0;
	color: var(--tx-heading);
}
/* Tables (scroll sideways on small screens) */
.tx-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.tx-content table tbody, .tx-content table thead { display: table; width: 100%; border-collapse: collapse; }
.tx-content th, .tx-content td { padding: 13px 14px; border-bottom: 1px solid var(--tx-border); text-align: left; vertical-align: top; }
.tx-content th { background: var(--tx-brand-50); color: var(--tx-heading); font-weight: 700; }
.tx-content tr:hover td { background: var(--tx-bg-soft); }
.tx-content .wp-block-table { margin: 1.4em 0; }
/* Centered paragraphs become a blue highlight box */
.tx-content p.has-text-align-center {
	padding: 14px 18px;
	border-radius: 12px;
	background: var(--tx-grad-accent);
	color: #fff;
	font-size: 1.2rem;
}
.tx-content p.has-text-align-center,
.tx-content p.has-text-align-center a,
.tx-content p.has-text-align-center strong { color: #fff; }
/* Embeds (maps, flight widgets) */
.tx-content iframe { min-height: 300px; border-radius: 12px; }
.tx-content .avionio-widget { margin-bottom: 40px !important; }

/* Yoast FAQ block */
.tx-content .schema-faq-section { border-bottom: 1px solid var(--tx-border); padding: 4px 0 12px; margin: 0; }
.tx-content .schema-faq-question { display: block; padding: 14px 0 6px; color: var(--tx-heading); font-weight: 700; font-size: 1rem; }
.tx-content .schema-faq-answer { margin: 0; color: var(--tx-heading)!important; }

/* ==========================================================================
   SECTION 9. SIDEBAR WIDGETS
   ========================================================================== */
.tx-sidebar { min-width: 0; }
@media (min-width: 992px) {
	.tx-sidebar--sticky { position: sticky; top: calc(var(--tx-header-h) + 24px); }
}
/* Widget box + title */
.tx-widget {
	background: var(--tx-bg-soft);
	border: 1px solid var(--tx-border);
	border-radius: var(--tx-radius);
	padding: 24px;
	margin-bottom: 24px;
}
.tx-widget--plain { background: transparent; border: 0; padding: 0; }
.tx-widget-title {
	position: relative;
	margin: 0 0 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--tx-border);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--tx-heading);
}
.tx-widget-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 44px;
	height: 3px;
	border-radius: 3px;
	background: var(--tx-grad-accent);
}
/* Link lists inside widgets (latest pages, table of contents) */
.tx-list { list-style: none; margin: 0; padding: 0; }
.tx-list li { border-bottom: 1px solid var(--tx-border); }
.tx-list li:last-child { border-bottom: 0; }
.tx-list a {
	position: relative;
	display: block;
	padding: 11px 0 11px 18px;
	color: var(--tx-text);
	font-size: .92rem;
	line-height: 1.5;
	transition: color .2s ease, padding .2s ease;
}
.tx-list a::before {
	content: '';
	position: absolute;
	left: 2px;
	top: 19px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--tx-brand-300);
	opacity: .55;
}
.tx-list a:hover { color: var(--tx-brand-500); padding-left: 22px; }
.tx-list a.is-current,
.tx-list a.is-active { color: var(--tx-brand); font-weight: 700; }
.tx-list a.is-current::before,
.tx-list a.is-active::before { opacity: 1; background: var(--tx-brand-500); }
.tx-toc { max-height: calc(100vh - 220px); overflow-y: auto; scrollbar-width: thin; }

/* ==========================================================================
   SECTION 10. CARDS & LISTS
   ========================================================================== */

/* ---------- 10.1 Name cards (airport links) ----------
   Used by: homepage "Discover Major Airports" (11.4), footer related links,
   all-airports page. Columns: 4 desktop / 3 tablet / 2 small tablet / 1 phone. */
.tx-name-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.tx-name-card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 84px;
	padding: 18px 20px;
	background: var(--tx-surface);
	border: 1px solid var(--tx-border);
	border-radius: 14px;
	color: var(--tx-heading);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tx-name-card:hover,
.tx-name-card:focus-visible { transform: translateY(-3px); border-color: var(--tx-brand-300); box-shadow: var(--tx-shadow); color: var(--tx-brand); }
.tx-name-card-text { display: flex; flex-direction: column; min-width: 0; }
.tx-name-card-title { font-size: .95rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.tx-name-card-meta { font-size: .8rem; color: var(--tx-muted); margin-top: 2px; }
.tx-name-card svg { flex: 0 0 auto; width: 16px; height: 16px; color: #9aa7b8; transition: transform .2s ease, color .2s ease; }
.tx-name-card:hover svg { color: var(--tx-brand-500); transform: translateX(3px); }
@media (max-width: 1024px) { .tx-name-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (max-width: 768px)  { .tx-name-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (max-width: 460px)  { .tx-name-grid { grid-template-columns: minmax(0, 1fr); } .tx-name-card { min-height: 64px; } }

/* ---------- 10.2 A-Z letters (all-airports page) ---------- */
.tx-alpha-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.tx-alpha-nav a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--tx-border); font-weight: 700; color: var(--tx-heading); }
.tx-alpha-nav a:hover { background: var(--tx-brand); border-color: var(--tx-brand); color: #fff; }
.tx-alpha-section { margin-bottom: 44px; scroll-margin-top: calc(var(--tx-header-h) + 20px); }
.tx-alpha-letter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin: 0 0 18px;
	border-radius: 14px;
	background: var(--tx-grad-accent);
	color: #fff;
	font-size: 1.5rem;
	font-weight: 800;
}

/* ---------- 10.3 Post cards (blog, homepage latest guides, search) ----------
   Columns: 3 desktop / 2 tablet / 1 phone. */
.tx-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.tx-post-card {
	display: flex;
	flex-direction: column;
	background: var(--tx-surface);
	border: 1px solid var(--tx-border);
	border-radius: var(--tx-radius);
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}
.tx-post-card:hover { transform: translateY(-4px); box-shadow: var(--tx-shadow-lg); }
.tx-post-thumb { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--tx-brand-100); }
.tx-post-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tx-post-card:hover .tx-post-thumb img { transform: scale(1.05); }
.tx-post-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.tx-date-pill {
	align-self: flex-start;
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--tx-brand-100);
	color: var(--tx-brand);
	font-size: .75rem;
	font-weight: 700;
}
.tx-post-title { margin: 0 0 10px; font-size: 1.08rem; font-weight: 700; line-height: 1.4; }
.tx-post-title a { color: var(--tx-heading); }
.tx-post-title a:hover { color: var(--tx-brand-500); }
.tx-post-excerpt { margin: 0 0 16px; color: var(--tx-muted); font-size: .9rem; line-height: 1.65; }
.tx-readmore { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 700; color: var(--tx-brand-500); }
.tx-readmore svg { width: 15px; height: 15px; transition: transform .2s ease; }
.tx-readmore:hover svg { transform: translateX(4px); }
@media (max-width: 1024px) { .tx-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } }
@media (max-width: 640px)  { .tx-post-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 10.4 Empty state ("nothing found" box) ---------- */
.tx-empty { padding: 40px 24px; text-align: center; background: var(--tx-bg-soft); border: 1px dashed var(--tx-border); border-radius: var(--tx-radius); color: var(--tx-muted); }

/* ---------- 10.5 Pagination (page numbers) ---------- */
.tx-pagination { margin-top: 44px; }
.tx-pagination .nav-links,
.tx-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.tx-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border-radius: 10px;
	border: 1px solid var(--tx-border);
	background: var(--tx-surface);
	color: var(--tx-heading);
	font-weight: 700;
}
.tx-pagination a.page-numbers:hover { border-color: var(--tx-brand-500); color: var(--tx-brand-500); }
.tx-pagination .page-numbers.current { background: var(--tx-brand); border-color: var(--tx-brand); color: #fff; }
.tx-pagination .dots { border: 0; background: transparent; }

/* ==========================================================================
   SECTION 11. HOMEPAGE  (template-parts/Homepage-template.php)
   --------------------------------------------------------------------------
   Sections appear here in the same order as on the homepage.
   ========================================================================== */

/* ---------- 11.1 Hero banner (image + navy overlay + search) ---------- */
.tx-home-hero {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: clamp(420px, 62vh, 620px);
	padding: 80px 0;
	background: var(--tx-brand);
	color: #fff;
	isolation: isolate;
}
.tx-home-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
}
/* navy overlay on top of the image (edit the rgba values to make it lighter/darker) */
.tx-home-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(100deg, rgba(5, 26, 54, .94) 0%, rgba(10, 49, 97, .82) 50%, rgba(19, 74, 138, .45) 100%);
}
.tx-home-hero-content { max-width: 760px; }
/* small pill label above headings (also used in 11.3) */
.tx-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .2);
	color: #fff;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .04em;
}
.tx-home-hero h1 {
	margin: 0 0 16px;
	color: #fff;
	font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem);
	font-weight: 800;
	line-height: 1.1;
}
.tx-home-hero h1 span { color: var(--tx-brand-300); }
.tx-home-hero p { margin: 0 0 30px; color: rgba(255, 255, 255, .85); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); max-width: 600px; }
.tx-home-hero .tx-search-form { margin: 0; border: 0; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
@media (max-width: 600px) {
	.tx-home-hero { min-height: 0; padding: 56px 0 60px; }
}
/* extra bottom space so the essentials cards (11.2) can overlap the hero */
@media (max-width: 600px) {
	.tx-home-hero { padding-bottom: 80px; }
}
@media (min-width: 601px) {
	.tx-home-hero { padding-bottom: 110px; }
}

/* ---------- 11.2 Airport essentials cards (below the hero, not clickable) ----------
   Columns: 7 desktop / 4 below 1100px / 2 below 767px. */
.tx-features { position: relative; z-index: 2; margin-top: -56px; }
.tx-feature-grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	background: var(--tx-surface);
	border: 1px solid var(--tx-border);
	border-radius: 24px;
	box-shadow: var(--tx-shadow-lg);
	overflow: hidden;
}
.tx-feature {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 30px 14px 28px;
	text-align: center;
	/* 1px dividers to the right and below; the outer ones are clipped by the rounded box */
	box-shadow: 1px 0 0 var(--tx-border), 0 1px 0 var(--tx-border);
}
.tx-feature-icon {
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	margin-bottom: 16px;
	border-radius: 16px;
	background: var(--tx-brand-100);
	color: var(--tx-brand-500);
}
.tx-feature-icon .tx-svg { width: 26px; height: 26px; }
.tx-feature-title { color: var(--tx-heading); font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
.tx-feature-sub { margin-top: 6px; color: var(--tx-muted); font-size: .88rem; line-height: 1.45; }
@media (max-width: 1100px) {
	.tx-feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.tx-features { margin-top: -36px; }
	.tx-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 18px; }
	.tx-feature { padding: 22px 10px 20px; }
	.tx-feature:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.tx-feature-icon { width: 50px; height: 50px; margin-bottom: 12px; border-radius: 14px; }
	.tx-feature-icon .tx-svg { width: 22px; height: 22px; }
	.tx-feature-title { font-size: .98rem; }
	.tx-feature-sub { font-size: .82rem; }
}

/* ---------- 11.3 USA airports & aviation: intro + key figures (stats panel) ---------- */
.tx-stats-section { padding-bottom: 8px; }
.tx-stats-panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
	align-items: center;
	gap: 40px;
	padding: 48px;
	border-radius: 24px;
	background: var(--tx-grad-hero, var(--tx-grad-accent));
	background-color: var(--tx-brand);
	color: #fff;
	overflow: hidden;
	isolation: isolate;
	box-shadow: var(--tx-shadow-lg);
}
.tx-stats-panel::after {
	content: '';
	position: absolute;
	right: -120px;
	bottom: -160px;
	z-index: -1;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(47, 123, 216, .35) 0%, rgba(47, 123, 216, 0) 70%);
}
.tx-stats-intro .tx-eyebrow { margin-bottom: 16px; }
.tx-stats-title {
	margin: 0 0 14px;
	color: #fff;
	font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem);
	font-weight: 800;
	line-height: 1.2;
}
.tx-stats-text { margin: 0; color: rgba(255, 255, 255, .82); font-size: 1rem; line-height: 1.65; max-width: 480px; }
.tx-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tx-stat {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 24px 20px;
	border-radius: 18px;
	background: rgba(255, 255, 255, .08);
	border: 1px solid rgba(255, 255, 255, .16);
}
.tx-stat-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	border-radius: 12px;
	background: rgba(90, 155, 234, .22);
	color: #BBD6F8;
}
.tx-stat-icon .tx-svg { width: 22px; height: 22px; }
.tx-stat-num {
	color: #fff;
	font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.5rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -.02em;
}
.tx-stat-label { margin-top: 8px; color: rgba(255, 255, 255, .78); font-size: .9rem; line-height: 1.45; }
@media (max-width: 991px) {
	.tx-stats-panel { grid-template-columns: 1fr; gap: 32px; padding: 40px 32px; }
	.tx-stats-text { max-width: 640px; }
}
@media (max-width: 600px) {
	.tx-stats-panel { padding: 32px 20px; border-radius: 18px; }
	.tx-stats { grid-template-columns: 1fr; gap: 12px; }
	.tx-stat { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; padding: 16px 18px; }
	.tx-stat-icon { margin-bottom: 0; }
	.tx-stat-num { font-size: 1.75rem; }
	.tx-stat-label { flex-basis: 100%; margin-top: 6px; }
}

/* ---------- 11.4 Discover Major Airports Across the USA ----------
   Lists the direct child pages of page ID 16 (TX_AIRPORTS_PARENT_ID in functions.php).
   Wrapper class: .tx-home-airports. The cards themselves use the
   shared name-card styles in 10.1 - edit there to change the card look,
   or add homepage-only overrides below, e.g.
   .tx-home-airports .tx-name-card { ... } */

/* ---------- 11.5 Latest Terminal Guides (blog) ----------
   Uses .tx-post-grid / .tx-post-card from 10.3. Light grey background is set
   inline in the template (var(--tx-bg-soft)). */


/* ==========================================================================
   SECTION 12. SINGLE POST, BLOG & SEARCH HEADERS
   ========================================================================== */
/* Single post */
.tx-single { padding: 48px 0 64px; }
.tx-single-title { margin: 0 0 14px; font-size: clamp(1.7rem, 1.1rem + 2.3vw, 2.75rem); font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.tx-single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 26px; font-size: .85rem; color: var(--tx-muted); }
.tx-single-thumb { margin: 0 0 30px; border-radius: var(--tx-radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--tx-brand-100); }
.tx-single-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tx-single .tx-sidebar { align-self: stretch; } /* lets the TOC box stick while scrolling */
.tx-single .tx-breadcrumbs { margin-bottom: 26px; }

/* Simple page header (blog listing) */
.tx-page-head { padding: 52px 0 8px; }
.tx-page-head h1 { margin: 0 0 8px; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); font-weight: 800; }
.tx-page-head p { margin: 8px 0 0; color: var(--tx-muted); }

/* Search page hero */
.tx-banner .tx-search-form { margin-top: 24px; margin-left: 0; border: 0; }
.tx-banner h1 span { color: var(--tx-brand-300); }

/* ==========================================================================
   SECTION 13. FOOTER, CALL BAR & BACK-TO-TOP
   ========================================================================== */
/* Footer: disclaimer text on top, copyright + footer menu below */
.tx-footer {
	position: relative;
	background: var(--tx-grad-footer);
	color: rgba(255, 255, 255, .72);
	border-top: 3px solid var(--tx-brand-400);
	font-size: .85rem;
}
.tx-footer-disclaimer { padding: 28px 0 20px; line-height: 1.75; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.tx-footer-disclaimer p { margin: 0; color: rgba(255, 255, 255, .72); }
.tx-footer-disclaimer strong { color: #fff; }
.tx-footer a { color: rgba(255, 255, 255, .8); }
.tx-footer a:hover, .tx-footer a:focus { color: #fff; }
.tx-footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 30px; padding: 20px 0; }
.tx-footer-copy { margin: 0; color: #fff; font-size: .92rem; }
.tx-footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; }
.tx-footer-nav li { position: relative; padding-left: 12px; }
.tx-footer-nav li::before { content: ''; position: absolute; left: 0; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%; background: var(--tx-brand-400); }
.tx-footer-nav a { font-size: .85rem; }
@media (max-width: 768px) {
	.tx-footer-bottom { flex-direction: column; text-align: center; }
	.tx-footer-nav ul { justify-content: center; }
	.tx-footer-disclaimer { text-align: center; }
}

/* Bottom call bar (turn on with TX_SHOW_PHONE in functions.php) */
.tx-call-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 990; background: var(--tx-grad-bar); }
.tx-call-bar a { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 16px; color: #fff; font-size: clamp(1rem, .9rem + .6vw, 1.35rem); font-weight: 600; }
.tx-call-bar a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.tx-call-bar svg { width: 22px; height: 22px; }
.tx-has-callbar .tx-footer { padding-bottom: 56px; }

/* Back-to-top button (parent theme toggles .show-back-to-top) */
.back-to-top,
.back-to-top:hover,
.back-to-top:focus {
	background: var(--tx-brand) !important;
	color: #fff !important;
	border: 2px solid var(--tx-brand-400) !important;
}
.back-to-top::after { background: transparent !important; }
.back-to-top:hover::after { background: var(--tx-brand-400) !important; }
.back-to-top .back-to-top-text { color: #fff !important; }
.tx-has-callbar .show-back-to-top { bottom: 80px; }

/* ==========================================================================
   SECTION 14. THIRD-PARTY  (WooCommerce - only applies if used)
   ========================================================================== */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce span.onsale { background: var(--tx-brand) !important; color: #fff !important; }

/* ==========================================================================
   SECTION 15. MOTION PREFERENCES  (turns off animations for users who ask for it)
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}


/* ==========================================================================
   SECTION 16. NEWS DESIGN
   --------------------------------------------------------------------------
   16.1 Dark header, footer & small fixes for the dark theme
   16.2 Image tiles (title on the picture) - homepage
   16.3 Homepage banner + "Latest" timeline
   16.4 Homepage category rows (heading + 5 cards + View All)
   16.5 Category pages (Category Template + /category/ archive)
   16.6 Article layout (image banner, content + Trending Now)
   16.7 Recommended cards
   Breakpoints: 1100, 991, 768, 640, 420px.
   ========================================================================== */

/* ---------- 16.1 Dark header, footer & dark-theme fixes ---------- */
.tx-header { background: var(--tx-bg-soft); box-shadow: none; border-bottom: 1px solid var(--tx-border); }
.tx-site-title a { color: var(--tx-heading); }
.tx-icon-btn:hover { background: var(--tx-surface); color: var(--tx-heading); }
.tx-header-search { background: var(--tx-bg-soft); box-shadow: 0 14px 24px rgba(0, 0, 0, .4); }
.tx-search-form { background: var(--tx-surface); box-shadow: none; }
.tx-footer { border-top: 1px solid var(--tx-border); }
.tx-content { color: var(--tx-text); }
.tx-content a { color: var(--tx-brand-400); text-decoration-color: rgba(30, 144, 255, .4); }
.tx-content blockquote { background: var(--tx-surface); }
.tx-content table, .tx-content th, .tx-content td { border-color: var(--tx-border); }
.tx-content th { background: var(--tx-surface); }
.tx-content tr:hover td { background: var(--tx-bg-soft); }
.tx-banner { border-bottom: 1px solid var(--tx-border); }
.tx-banner::after { display: none; }
a:hover, a:focus { color: var(--tx-brand-400); }

/* ---------- 16.2 Image tiles (title over a dark gradient) ---------- */
.tx-tile { position: relative; min-width: 0; }
.tx-tile-link {
	position: relative;
	display: block;
	height: 100%;
	border-radius: var(--tx-radius);
	overflow: hidden;
	background: var(--tx-surface);
	color: #fff;
	isolation: isolate;
}
.tx-tile-img { position: absolute; inset: 0; z-index: -2; }
.tx-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tx-tile-link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .55) 62%, rgba(0, 0, 0, .92) 100%);
}
.tx-tile-link:hover, .tx-tile-link:focus { color: #fff; }
.tx-tile-link:hover .tx-tile-img img { transform: scale(1.05); }
.tx-tile-body {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px;
}
.tx-tile-title {
	margin: 0;
	color: #fff;
	font-family: var(--tx-font-head);
	font-weight: 800;
	font-size: 1.02rem;
	line-height: 1.3;
	letter-spacing: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
/* no underline on card titles */

/* big banner tile */
.tx-tile--lead .tx-tile-link { aspect-ratio: 16 / 8.5; }
.tx-tile--lead .tx-tile-body { padding: 28px 30px; }
.tx-tile--lead .tx-tile-title { font-size: clamp(1.35rem, .9rem + 1.8vw, 2.35rem); line-height: 1.2; -webkit-line-clamp: 3; }
/* small banner tiles */
.tx-tile--small .tx-tile-link { aspect-ratio: 16 / 10; }
.tx-tile--small .tx-tile-title { font-size: 1rem; }
/* category row tiles */
.tx-tile--row .tx-tile-link { aspect-ratio: 4 / 3.3; }
.tx-tile--row .tx-tile-title { font-size: .98rem; -webkit-line-clamp: 3; }

/* ---------- 16.3 Homepage banner + Latest ---------- */
.tx-home-top { padding: 28px 0 12px; }
.tx-home-top-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 30px; align-items: start; }
.tx-home-top-grid--no-hero { grid-template-columns: minmax(0, 1fr); }
.tx-home-feature { display: grid; gap: 16px; min-width: 0; }
.tx-home-smalls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

.tx-latest-title {
	margin: 0 0 18px;
	font-size: 1.35rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .02em;
	color: var(--tx-heading);
}
.tx-latest-list { list-style: none; margin: 0; padding: 0; position: relative; }
.tx-latest-list::before {          /* timeline line */
	content: "";
	position: absolute;
	left: 5px; top: 8px; bottom: 8px;
	width: 1px;
	background: var(--tx-border);
}
.tx-latest-list li { position: relative; padding: 0 0 14px 30px; margin-bottom: 14px; border-bottom: 1px solid var(--tx-border); }
.tx-latest-list li:last-child { margin-bottom: 0; border-bottom: 0; }
.tx-latest-list li::before {        /* timeline dot */
	content: "";
	position: absolute;
	left: 0; top: 5px;
	width: 11px; height: 11px;
	border-radius: 50%;
	background: #8a8a8a;
	box-shadow: 0 0 0 3px var(--tx-bg);
}
.tx-latest-list time { display: block; margin-bottom: 4px; font-size: .78rem; color: var(--tx-muted); }
.tx-latest-list a {
	color: var(--tx-heading);
	font-family: var(--tx-font-head);
	font-weight: 700;
	font-size: .98rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tx-latest-list a:hover { color: var(--tx-brand-400); }

@media (max-width: 1100px) { .tx-home-top-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 24px; } }
@media (max-width: 991px) {
	.tx-home-top-grid { grid-template-columns: minmax(0, 1fr); }
	.tx-tile--lead .tx-tile-link { aspect-ratio: 16 / 10; }
	.tx-latest-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
	.tx-latest-list::before { display: none; }
	.tx-latest-list li:nth-last-child(2):nth-child(odd) { border-bottom: 0; margin-bottom: 0; }
}
@media (max-width: 640px) {
	.tx-container { padding: 0 16px; }
	.tx-home-top { padding-top: 16px; }
	.tx-tile--lead .tx-tile-link { aspect-ratio: 4 / 3.4; border-radius: var(--tx-radius-sm); }
	.tx-tile--lead .tx-tile-body { padding: 18px; }
	/* small banner tiles become a swipeable row */
	.tx-home-smalls {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: 72%;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		margin: 0 -16px;
		padding: 0 16px;
		scroll-padding: 0 16px;
	}
	.tx-home-smalls::-webkit-scrollbar { display: none; }
	.tx-home-smalls .tx-tile { scroll-snap-align: start; }
	.tx-latest-list { grid-template-columns: minmax(0, 1fr); }
	.tx-latest-list li:nth-last-child(2):nth-child(odd) { border-bottom: 1px solid var(--tx-border); margin-bottom: 14px; }
}

/* ---------- 16.4 Homepage category rows ---------- */
.tx-cat-row { padding: 26px 0 10px; }
.tx-cat-row + .tx-cat-row { border-top: 1px solid var(--tx-border); margin-top: 16px; }
.tx-row-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.tx-row-title { margin: 0; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); font-weight: 800; color: var(--tx-heading); }
.tx-viewall {                         /* always on the far right */
	margin-left: auto;
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 1px solid var(--tx-border);
	border-radius: 999px;
	color: var(--tx-heading);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	transition: background .2s ease, border-color .2s ease;
}
.tx-viewall svg { width: 16px; height: 16px; color: var(--tx-brand-400); transition: transform .2s ease; }
.tx-viewall:hover, .tx-viewall:focus { color: #fff; background: var(--tx-brand); border-color: var(--tx-brand); }
.tx-viewall:hover svg, .tx-viewall:focus svg { color: #fff; transform: translateX(3px); }
.tx-row-cards { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }

/* tablet & mobile: cards slide sideways instead of shrinking */
@media (max-width: 1100px) {
	.tx-row-cards {
		grid-template-columns: none;
		grid-auto-flow: column;
		grid-auto-columns: calc((100% - 32px) / 3);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: thin;
		scrollbar-color: var(--tx-border) transparent;
		padding-bottom: 8px;
	}
	.tx-row-cards .tx-tile { scroll-snap-align: start; }
}
@media (max-width: 768px) { .tx-row-cards { grid-auto-columns: 42%; } }
@media (max-width: 640px) {
	.tx-row-cards { grid-auto-columns: 70%; margin: 0 -16px; padding: 0 16px 8px; scroll-padding: 0 16px; scrollbar-width: none; }
	.tx-row-cards::-webkit-scrollbar { display: none; }
	.tx-viewall { padding: 7px 12px; font-size: .72rem; }
}

/* ---------- 16.5 Category pages ---------- */
.tx-catpage { padding: 30px 0 64px; }
.tx-catpage-head { margin-bottom: 22px; }
.tx-catpage-head .tx-breadcrumbs { margin-bottom: 10px; }
.tx-catpage-title { margin: 0; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.9rem); font-weight: 800; color: var(--tx-heading); }
.tx-catpage-intro { max-width: 900px; margin-bottom: 34px; padding-bottom: 26px; border-bottom: 1px solid var(--tx-border); }
.tx-cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; }
.tx-cat-card a { display: block; color: var(--tx-heading); }
.tx-cat-card-img { display: block; aspect-ratio: 16 / 10; border-radius: var(--tx-radius); overflow: hidden; background: var(--tx-surface); }
.tx-cat-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.tx-cat-card a:hover .tx-cat-card-img img { transform: scale(1.05); }
.tx-cat-card-title {
	margin: 12px 0 0;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--tx-heading);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tx-cat-card a:hover .tx-cat-card-title { color: var(--tx-brand-400); }
@media (max-width: 1100px) { .tx-cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px)  { .tx-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; } .tx-cat-card-title { font-size: .95rem; } }
@media (max-width: 420px)  { .tx-cat-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 16.6 Article layout ---------- */
.tx-article { padding: 24px 0 0; }
.tx-article-hero {
	position: relative;
	overflow: hidden;
	border-radius: var(--tx-radius);
	aspect-ratio: 16 / 8;
	min-height: 300px;
	background: var(--tx-surface);
	isolation: isolate;
}
.tx-article-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tx-article-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .9) 100%);
}
.tx-article-hero-top { position: absolute; top: 0; left: 0; right: 0; padding: 18px 24px; }
.tx-article-hero-top .tx-breadcrumbs { font-size: .82rem; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.tx-article-hero-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 34px; }
.tx-article-title {
	margin: 0;
	max-width: 1000px;
	color: #fff;
	font-size: clamp(1.5rem, .9rem + 2.6vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
	overflow-wrap: anywhere;
}
.tx-article-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px;
	align-items: start;
	padding: 36px 0 20px;
}
.tx-article-main .tx-content { font-size: 1.05rem; line-height: 1.8; }
.tx-article-side { align-self: stretch; }
.tx-article-side-sticky { position: sticky; top: calc(var(--tx-header-h) + 20px); }
.admin-bar .tx-article-side-sticky { top: calc(var(--tx-header-h) + 52px); }

.tx-trending { border-top: 1px solid var(--tx-border); padding-top: 20px; }
.tx-trending-title { margin: 0 0 18px; font-size: 1.4rem; font-weight: 800; color: var(--tx-muted); }
.tx-trending ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.tx-trending a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: center; color: var(--tx-heading); }
.tx-trending-img { display: block; aspect-ratio: 16 / 11; border-radius: 4px; overflow: hidden; background: var(--tx-surface); }
.tx-trending-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tx-trending-text {
	font-family: var(--tx-font-head);
	font-weight: 700;
	font-size: .92rem;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.tx-trending a:hover .tx-trending-text { color: var(--tx-brand-400); }

@media (max-width: 991px) {
	.tx-article-hero { aspect-ratio: 16 / 10; }
	.tx-article-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.tx-article-side-sticky { position: static; }
	.tx-trending ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
}
@media (max-width: 640px) {
	.tx-article { padding-top: 0; }
	.tx-article > .tx-container:first-child { padding: 0; }
	.tx-article-hero { border-radius: 0; aspect-ratio: auto; min-height: 380px; }
	.tx-article-hero-top { padding: 14px 16px; }
	.tx-article-hero-bottom { padding: 20px 16px; }
	.tx-article-grid { padding: 26px 16px 10px; }
	.tx-trending ul { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- 16.7 Recommended ---------- */
.tx-recommended { padding: 34px 0 60px; border-top: 1px solid var(--tx-border); margin-top: 20px; }
.tx-rec-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 20px;
	color: #fff;
	font-size: 1.4rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .01em;
}
.tx-rec-head svg { width: 24px; height: 24px; color: #fff; fill: currentColor; }
.tx-rec-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tx-rec-card a {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	border-radius: var(--tx-radius);
	overflow: hidden;
	background: var(--tx-surface);
	color: #fff;
	isolation: isolate;
}
.tx-rec-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.tx-rec-card a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, .85) 100%);
}
.tx-rec-card a:hover img { transform: scale(1.05); }
.tx-rec-card h3 {
	position: absolute;
	left: 0; right: 0; bottom: 0;
	margin: 0;
	padding: 16px;
	color: #fff;
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
/* no underline on card titles */
@media (max-width: 991px) { .tx-rec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 768px) { .tx-rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .tx-rec-card h3 { font-size: .92rem; padding: 12px; } }

/* ---------- 16.8 Items without a featured image (no fallback image is used) ---------- */
.tx-tile.tx-no-img .tx-tile-link { background: linear-gradient(135deg, #242424 0%, #1F2A38 100%); }
.tx-tile.tx-no-img .tx-tile-link::after { display: none; }
.tx-cat-card.tx-no-img a { padding: 18px; min-height: 100%; background: var(--tx-surface); border-radius: var(--tx-radius); border-top: 3px solid var(--tx-brand); }
.tx-cat-card.tx-no-img .tx-cat-card-title { margin: 0; }
.tx-trending a.tx-no-img { grid-template-columns: minmax(0, 1fr); }
.tx-rec-card.tx-no-img a { background: linear-gradient(135deg, #242424 0%, #1F2A38 100%); }
.tx-rec-card.tx-no-img a::after { display: none; }
.tx-article-hero.tx-no-img { aspect-ratio: auto; min-height: 0; padding: 22px 34px 34px; background: var(--tx-bg-soft); border: 1px solid var(--tx-border); }
.tx-article-hero.tx-no-img::after { display: none; }
.tx-article-hero.tx-no-img .tx-article-hero-top,
.tx-article-hero.tx-no-img .tx-article-hero-bottom { position: static; padding: 0; }
.tx-article-hero.tx-no-img .tx-article-hero-bottom { margin-top: 18px; }
@media (max-width: 640px) {
	.tx-article-hero.tx-no-img { aspect-ratio: auto; min-height: 0; padding: 18px 16px 24px; border-width: 0 0 1px; }
}

/* ---------- 16.9 Homepage: 2 small banner cards fill the width ---------- */
.tx-home-smalls { display: flex; gap: 16px; }
.tx-home-smalls .tx-tile { flex: 1 1 0; min-width: 0; }
.tx-home-smalls .tx-tile--small .tx-tile-link { aspect-ratio: 16 / 8; }
.tx-home-smalls .tx-tile--small .tx-tile-title { font-size: clamp(1rem, .9rem + .4vw, 1.2rem); }
@media (max-width: 640px) {
	.tx-home-smalls { display: flex; flex-direction: column; overflow: visible; margin: 0; padding: 0; }
	.tx-home-smalls .tx-tile--small .tx-tile-link { aspect-ratio: 16 / 9; }
}

/* ---------- 16.10 Homepage section separators ----------
   Every category row starts with a full-width divider, rows alternate background,
   and each heading has a blue accent bar + underline. */
.tx-cat-row,
.tx-cat-row + .tx-cat-row { margin-top: 0; padding: 36px 0 40px; border-top: 1px solid var(--tx-border); }
.tx-home-top + .tx-cat-row { margin-top: 28px; }
.tx-cat-row:nth-of-type(odd) { background: var(--tx-bg-soft); }
.tx-row-head { position: relative; padding-bottom: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--tx-border); }
.tx-row-head::after {
	content: "";
	position: absolute;
	left: 0; bottom: -1px;
	width: 64px; height: 3px;
	background: var(--tx-brand);
}
.tx-row-title { display: flex; align-items: center; gap: 12px; }
.tx-row-title::before { content: ""; width: 5px; height: 1.1em; border-radius: 3px; background: var(--tx-brand); }

/* ---------- 16.11 Footer: logo + text | Explore | About Airline-Airport ---------- */
.tx-footer { background: var(--tx-bg-soft); color: var(--tx-muted); }
.tx-footer-cols {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px 56px;
	padding: 52px 0 40px;
}
.tx-footer-logo { display: inline-block; margin-bottom: 18px; line-height: 0; }
.tx-footer-logo img { width: auto; max-width: 260px; max-height: 90px; display: block; background:#fff; border-radius:10px }
.tx-footer-logo-text { font-family: var(--tx-font-head); font-size: 2rem; font-weight: 800; line-height: 1.1; color: var(--tx-heading); }
.tx-footer-about p { margin: 0; max-width: 460px; font-size: .92rem; line-height: 1.75; color: var(--tx-muted); }
.tx-footer-heading {
	margin: 0 0 18px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--tx-border);
	color: var(--tx-heading);
	font-size: 1rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .06em;
	position: relative;
}
.tx-footer-heading::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 40px; height: 2px; background: var(--tx-brand); }
.tx-footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.tx-footer-menu a { color: var(--tx-text); font-size: .93rem; transition: color .2s ease, padding .2s ease; }
.tx-footer-menu a:hover, .tx-footer-menu a:focus { color: var(--tx-brand-400); padding-left: 4px; }
.tx-footer-bottom { justify-content: center; text-align: center; border-top: 1px solid var(--tx-border); padding: 18px 0; }
.tx-footer-copy { color: var(--tx-muted); font-size: .85rem; }
@media (max-width: 900px) {
	.tx-footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tx-footer-about { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.tx-footer-cols { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 0 28px; }
	.tx-footer-logo img { max-width: 220px; }
}

/* ---------- 16.12 Article sidebar & Recommended headings (same style as homepage rows) ---------- */
.tx-trending { border-top: 0; padding-top: 0; }
.tx-side-head .tx-row-title { font-size: 1.4rem; }
.tx-recommended .tx-row-head { margin-bottom: 22px; }
.tx-rec-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 991px) { .tx-rec-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- 16.13 Category description: full width ---------- */
.tx-catpage-intro { max-width: none; }

/* ---------- 16.14 Light theme fixes ---------- */
.tx-header { background: #fff; }
.tx-header-search { background: #fff; box-shadow: 0 14px 24px rgba(0, 0, 0, .08); }
.tx-search-form { border-color: var(--tx-border); }
.tx-catpage-head .tx-breadcrumbs a:hover { color: var(--tx-brand); }
.tx-latest-list li::before { background: #b6b4b5; }
.tx-cat-card.tx-no-img a { background: var(--tx-bg-soft); }
.tx-trending-img, .tx-cat-card-img { background: var(--tx-bg-soft); }
.tx-footer { background: var(--tx-bg-soft); color: var(--tx-muted); border-top: 1px solid var(--tx-border); }
.tx-footer a { color: var(--tx-text); }
.tx-footer a:hover, .tx-footer a:focus { color: var(--tx-brand); }

/* ---------- 16.15 No underline on card / list titles (any state) ---------- */
.tx-tile-link, .tx-tile-link:hover, .tx-tile-link:focus,
.tx-cat-card a, .tx-cat-card a:hover, .tx-cat-card a:focus,
.tx-trending a, .tx-trending a:hover, .tx-trending a:focus,
.tx-rec-card a, .tx-rec-card a:hover, .tx-rec-card a:focus,
.tx-latest-list a, .tx-latest-list a:hover, .tx-latest-list a:focus,
.tx-viewall, .tx-viewall:hover, .tx-footer-menu a, .tx-footer-menu a:hover,
.tx-social a, .tx-social a:hover { text-decoration: none !important; }
.tx-tile-link:hover .tx-tile-title, .tx-rec-card a:hover h3 { text-decoration: none; }
.tx-tile-link:hover .tx-tile-title, .tx-rec-card a:hover h3 { opacity: .88; }
.tx-cat-card a:hover .tx-cat-card-title, .tx-trending a:hover .tx-trending-text { color: var(--tx-brand); }

/* ---------- 16.16 Footer: Follow Us icons + note ---------- */
.tx-footer-heading--follow { display: inline-block; margin-top: 4px; padding-right: 24px; }
.tx-social { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tx-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #E2E2E2;
	color: var(--tx-heading);
	transition: background .2s ease, color .2s ease, transform .2s ease;
}
.tx-social a:hover, .tx-social a:focus { background: var(--tx-brand); color: #fff; transform: translateY(-2px); }
.tx-social svg { width: 18px; height: 18px; display: block; }
.tx-footer-note { margin: 0; max-width: 460px; font-size: .92rem; line-height: 1.75; color: var(--tx-muted); }
.tx-footer-note a { color: var(--tx-brand); font-weight: 500; }

/* Article banner without a featured image: dark text on the light panel */
.tx-article-hero.tx-no-img .tx-article-title { color: var(--tx-heading); text-shadow: none; }
.tx-article-hero.tx-no-img .tx-breadcrumbs,
.tx-article-hero.tx-no-img .tx-breadcrumbs a { color: var(--tx-muted); text-shadow: none; }
.tx-article-hero.tx-no-img .tx-breadcrumbs [aria-current] { color: var(--tx-heading); }

/* ---------- 16.17 Blue headings + one hover blue (#006CDD) everywhere ---------- */
.tx-catpage-title,
.tx-row-title,
.tx-latest-title,
.tx-content h1, .tx-content h2, .tx-content h3, .tx-content h4, .tx-content h5, .tx-content h6,
.tx-page-head h1, .tx-single-title, .tx-section-title { color: var(--tx-brand); }
.tx-row-title::before { background: var(--tx-brand); }

a:hover, a:focus,
.tx-nav a:hover, .tx-nav a:focus,
.tx-latest-list a:hover,
.tx-cat-card a:hover .tx-cat-card-title,
.tx-trending a:hover .tx-trending-text,
.tx-breadcrumbs--dark a:hover,
.tx-content a:hover { color: #006CDD; }
.tx-icon-btn:hover { color: #006CDD; background: var(--tx-brand-50); }
button:hover, input[type="submit"]:hover, .tx-btn:hover,
.tx-pagination a.page-numbers:hover { border-color: #006CDD; }
.tx-pagination a.page-numbers:hover { color: #006CDD; }

/* ---------- 16.18 Footer: dark background, readable text, spacing in column 1 ---------- */
#colophon.tx-footer { background: #111111; color: #B6B4B5; border-top: 0; }
#colophon .tx-footer-heading { color: #fff; border-bottom-color: #2E2E2E; }
#colophon .tx-footer-menu a { color: #D3D3D3; }
#colophon .tx-footer-menu a:hover, #colophon .tx-footer-menu a:focus { color: #006CDD; }
#colophon .tx-footer-note,
#colophon .tx-footer-copy { color: #B6B4B5; }
#colophon .tx-footer-note a,
#colophon .tx-footer-copy a { color: #fff; }
#colophon .tx-footer-note a:hover,
#colophon .tx-footer-copy a:hover { color: #006CDD; }
#colophon .tx-footer-bottom { border-top-color: #2E2E2E; }
#colophon .tx-footer-logo-text { color: #fff; }
#colophon .tx-social a { background: #2A2A2A; color: #fff; }
#colophon .tx-social a:hover, #colophon .tx-social a:focus { background: #006CDD; color: #fff; }

/* column 1: logo, then Follow Us, then icons, then the note, each on its own line */
.tx-footer-about { display: flex; flex-direction: column; align-items: flex-start; }
.tx-footer-logo { display: block; margin: 0 0 30px; }
.tx-footer-heading--follow { display: block; align-self: stretch; max-width: 320px; margin: 0 0 18px; padding-right: 0; }
.tx-social { margin: 0 0 26px; }

/* ---------- 16.19 Article text sizes (one consistent scale) ----------
   The parent theme sets every <p> to 14px, while lists used the larger
   article size, so bullets looked bigger than paragraphs. Paragraphs,
   lists, quotes and table cells now all use the same body size. */
p { font-size: inherit; }
.tx-content { font-size: 1.0625rem; line-height: 1.75; }          /* 17px */
.tx-article-main .tx-content { font-size: 1.0625rem; line-height: 1.75; }
.tx-content p,
.tx-content li,
.tx-content dd,
.tx-content dt,
.tx-content blockquote p,
.tx-content .wp-block-list li { font-size: inherit; line-height: inherit; }
.tx-content p { margin: 0 0 1.15em; }
.tx-content ul, .tx-content ol { margin: 0 0 1.25em; padding-left: 1.4em; }
.tx-content li { margin-bottom: .45em; padding-left: .15em; }
.tx-content li > ul, .tx-content li > ol { margin: .45em 0 0; }
.tx-content table { font-size: .9375rem; }                         /* 15px */
.tx-content figcaption, .tx-content .wp-element-caption { font-size: .875rem; color: var(--tx-muted); }

/* Headings inside the article */
.tx-content h2, .tx-content h3, .tx-content h4, .tx-content h5, .tx-content h6 { line-height: 1.3; letter-spacing: -.005em; }
.tx-content h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); font-weight: 700; margin: 1.7em 0 .7em; }   /* 22-28px */
.tx-content h3 { font-size: clamp(1.2rem, 1.1rem + .4vw, 1.375rem); font-weight: 700; margin: 1.5em 0 .6em; } /* 19-22px */
.tx-content h4 { font-size: 1.15rem; font-weight: 700; margin: 1.3em 0 .5em; }
.tx-content h5, .tx-content h6 { font-size: 1.0625rem; font-weight: 700; margin: 1.2em 0 .5em; }
.tx-content h2 strong, .tx-content h3 strong, .tx-content h4 strong,
.tx-content h5 strong, .tx-content h6 strong { font-weight: inherit; }

@media (max-width: 640px) {
	.tx-content,
	.tx-article-main .tx-content { font-size: 1rem; line-height: 1.7; }   /* 16px on phones */
	.tx-content table { font-size: .875rem; }
}
