/*
Theme Name: Caravan on Tour
Theme URI: https://caravanontour.com/
Author: Garry Purcell
Author URI: https://caravanontour.com/
Description: A comprehensive, colourful Australian Caravan and Camping WordPress theme (and dual-mode companion plugin) built for touring directories, campsite reviews, grey nomads, and outback road-trip guides. Features an 8-State & Territory ribbon (NSW, VIC, QLD, WA, SA, TAS, NT, ACT), sticky top menu bar, Outback Welcome Hero banner, alternating left/right featured post images, toggleable left and right sidebars, pure black (#000000) 1-column reading mode, campsite listing metadata badges, custom widgets, shortcodes, and a complete View Details page.
Version: 1.1.14
Requires at least: 6.0
Tested up to: 6.7
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: gp-caravan-on-tour-theme
Tags: blog, three-columns, two-columns, one-column, left-sidebar, right-sidebar, custom-colors, custom-header, custom-menu, featured-images, sticky-post, theme-options, travel, directory
*/

/* ==========================================================================
   1. CSS Custom Properties (Colourful Australian Outback & Coastal Palette)
   ========================================================================== */
:root {
	--cot-primary: #C84B24;       /* Outback Ochre / Uluru Terracotta */
	--cot-primary-dark: #9B3414;
	--cot-secondary: #1E6B45;     /* Eucalyptus Gum Green */
	--cot-secondary-dark: #144B30;
	--cot-teal: #0E7490;          /* Coral Sea Teal */
	--cot-gold: #D99B16;          /* Golden Wattle */
	--cot-sunset: #E86F2C;        /* Sunset Amber */
	--cot-bg: #FDF8F0;            /* Warm Outback Sand */
	--cot-surface: #FFFFFF;
	--cot-surface-alt: #F6EFE4;
	--cot-border: #E5D6C0;
	--cot-text: #000000;          /* Pure Black for crisp legibility */
	--cot-muted: #4A4A4A;
	--cot-radius: 12px;
	--cot-shadow: 0 6px 18px rgba(45, 28, 14, 0.08);
	--cot-shadow-hover: 0 10px 26px rgba(45, 28, 14, 0.14);
	--cot-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	--cot-font-display: Georgia, "Times New Roman", serif;
}

/* Colour Palette Presets */
body.cot-palette-coastal {
	--cot-primary: #0E7490;
	--cot-primary-dark: #0A5368;
	--cot-secondary: #1E6B45;
	--cot-sunset: #E07A2F;
	--cot-bg: #F2F9FB;
}

body.cot-palette-gumtree {
	--cot-primary: #1E6B45;
	--cot-primary-dark: #13482E;
	--cot-secondary: #C84B24;
	--cot-sunset: #D99B16;
	--cot-bg: #F4F9F5;
}

body.cot-palette-sunset {
	--cot-primary: #D97706;
	--cot-primary-dark: #B45309;
	--cot-secondary: #9F1239;
	--cot-sunset: #C84B24;
	--cot-bg: #FFF9F0;
}

/* ==========================================================================
   2. Base & Typography
   ========================================================================== */
*, *::before, *::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	padding: 0;
	background-color: var(--cot-bg);
	color: var(--cot-text);
	font-family: var(--cot-font-sans);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--cot-primary);
	text-decoration: none;
	transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

a:hover, a:focus {
	color: var(--cot-primary-dark);
	text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
	color: #1A1A1A;
	line-height: 1.25;
	margin-top: 0;
	font-weight: 700;
}

.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;
	width: 1px;
	word-wrap: normal !important;
}

.cot-container {
	width: 100%;
	max-width: 1380px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ==========================================================================
   3. Top Outback Accent Bar & Sticky Top Menu Bar
   ========================================================================== */
.cot-top-accent {
	height: 6px;
	background: linear-gradient(90deg, #C84B24 0%, #E86F2C 25%, #D99B16 50%, #1E6B45 75%, #0E7490 100%);
}

.cot-site-header {
	background: linear-gradient(135deg, var(--cot-primary) 0%, var(--cot-primary-dark) 100%);
	color: #FFFFFF;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
	z-index: 999;
}

.cot-site-header.is-sticky {
	position: sticky;
	top: 0;
}

body.admin-bar .cot-site-header.is-sticky {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .cot-site-header.is-sticky {
		top: 46px;
	}
}

.cot-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	min-height: 68px;
	padding: 10px 0;
}

.cot-branding {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.cot-brand-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: linear-gradient(135deg, #D99B16, #F59E0B);
	color: #1A1A1A;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 800;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.cot-site-title {
	margin: 0;
	font-size: 1.35rem;
	font-family: var(--cot-font-display);
	letter-spacing: 0.3px;
}

.cot-site-title a {
	color: #FFFFFF;
	text-decoration: none;
}

.cot-site-tagline {
	margin: 2px 0 0;
	font-size: 0.78rem;
	color: #FDE68A;
	font-weight: 500;
}

/* Primary Navigation */
.cot-nav-toggle {
	display: none;
	background: rgba(255, 255, 255, 0.16);
	color: #FFFFFF;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 8px;
	padding: 8px 14px;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
}

.cot-primary-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.cot-primary-nav li {
	position: relative;
}

.cot-primary-nav a {
	display: inline-block;
	padding: 8px 14px;
	color: #FFFFFF;
	font-weight: 600;
	font-size: 0.93rem;
	border-radius: 8px;
	text-decoration: none;
}

.cot-primary-nav a:hover,
.cot-primary-nav .current-menu-item > a {
	background: rgba(255, 255, 255, 0.2);
	color: #FEF3C7;
}

.cot-primary-nav ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: #FFFFFF;
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
	padding: 8px;
	z-index: 1000;
	flex-direction: column;
	align-items: stretch;
}

.cot-primary-nav li:hover > ul,
.cot-primary-nav li:focus-within > ul {
	display: flex;
}

.cot-primary-nav ul ul a {
	color: #1A1A1A;
	padding: 9px 12px;
	border-radius: 6px;
}

.cot-primary-nav ul ul a:hover {
	background: var(--cot-surface-alt);
	color: var(--cot-primary);
}

/* ==========================================================================
   4. 8 Australian States & Territories Ribbon
   ========================================================================== */
.cot-states-ribbon {
	background: #FFFFFF;
	border-bottom: 2px solid var(--cot-border);
	padding: 12px 0;
}

.cot-states-ribbon-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.cot-ribbon-label {
	font-size: 0.85rem;
	font-weight: 700;
	color: #1A1A1A;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-right: 6px;
}

.cot-state-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 0.86rem;
	font-weight: 700;
	color: #FFFFFF !important;
	text-decoration: none !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	transition: transform 0.16s ease, filter 0.16s ease;
}

.cot-state-pill:hover {
	transform: translateY(-2px);
	filter: brightness(1.08);
}

.cot-state-code {
	background: rgba(0, 0, 0, 0.22);
	padding: 2px 6px;
	border-radius: 999px;
	font-size: 0.74rem;
}

/* ==========================================================================
   5. Outback Welcome Hero Banner
   ========================================================================== */
.cot-hero {
	background: linear-gradient(135deg, #1E6B45 0%, #0E7490 52%, #C84B24 100%);
	color: #FFFFFF;
	padding: 46px 0 42px;
	position: relative;
	overflow: hidden;
}

.cot-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 82% 20%, rgba(253, 224, 71, 0.22), transparent 45%);
	pointer-events: none;
}

.cot-hero-inner {
	position: relative;
	z-index: 2;
	max-width: 920px;
	margin: 0 auto;
	text-align: center;
}

.cot-hero-badge {
	display: inline-block;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: #FEF3C7;
	padding: 5px 14px;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	margin-bottom: 14px;
}

.cot-hero h2 {
	color: #FFFFFF;
	font-family: var(--cot-font-display);
	font-size: clamp(1.85rem, 3.6vw, 2.75rem);
	margin-bottom: 12px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.cot-hero p {
	font-size: 1.08rem;
	color: #F8FAFC;
	margin: 0 auto 24px;
	max-width: 720px;
}

.cot-hero-search {
	display: flex;
	max-width: 620px;
	margin: 0 auto 20px;
	background: #FFFFFF;
	border-radius: 999px;
	padding: 6px;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.2);
}

.cot-hero-search input[type="search"] {
	flex: 1;
	border: none;
	outline: none;
	padding: 11px 18px;
	font-size: 0.98rem;
	border-radius: 999px;
	color: #000000;
}

.cot-hero-search button {
	background: var(--cot-primary);
	color: #FFFFFF;
	border: none;
	padding: 11px 24px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	cursor: pointer;
}

.cot-hero-search button:hover {
	background: var(--cot-primary-dark);
}

.cot-hero-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.cot-btn {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 20px;
	border-radius: 8px;
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none !important;
	border: none;
	cursor: pointer;
}

.cot-btn-gold {
	background: #F59E0B;
	color: #1A1A1A !important;
}

.cot-btn-gold:hover {
	background: #D97706;
	color: #FFFFFF !important;
}

.cot-btn-outline-light {
	background: rgba(255, 255, 255, 0.14);
	color: #FFFFFF !important;
	border: 1.5px solid rgba(255, 255, 255, 0.65);
}

.cot-btn-outline-light:hover {
	background: #FFFFFF;
	color: var(--cot-primary-dark) !important;
}

.cot-btn-primary {
	background: var(--cot-primary);
	color: #FFFFFF !important;
}

.cot-btn-primary:hover {
	background: var(--cot-primary-dark);
}

/* Touring Tips Ticker */
.cot-tips-ticker {
	background: #1A2E22;
	color: #FDE68A;
	padding: 10px 0;
	font-size: 0.9rem;
	border-bottom: 2px solid #D99B16;
}

.cot-tips-ticker-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}

.cot-tip-badge {
	background: #D99B16;
	color: #1A1A1A;
	font-weight: 800;
	font-size: 0.75rem;
	padding: 3px 10px;
	border-radius: 999px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-right: 8px;
}

.cot-tip-text {
	color: #FFFFFF;
}

.cot-tip-next-btn {
	background: rgba(255, 255, 255, 0.14);
	color: #FDE68A;
	border: 1px solid rgba(253, 230, 138, 0.4);
	border-radius: 6px;
	padding: 4px 10px;
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
}

/* ==========================================================================
   6. 7 Core Camping Category Cards Strip
   ========================================================================== */
.cot-categories-strip {
	padding: 26px 0 8px;
}

.cot-section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 16px;
	gap: 12px;
}

.cot-section-heading h2 {
	font-size: 1.35rem;
	margin: 0;
	color: #1A1A1A;
}

.cot-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 14px;
}

.cot-cat-card {
	background: #FFFFFF;
	border-radius: var(--cot-radius);
	padding: 16px 14px;
	text-align: center;
	border-top: 4px solid var(--cot-primary);
	box-shadow: var(--cot-shadow);
	text-decoration: none !important;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.cot-cat-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--cot-shadow-hover);
}

.cot-cat-icon {
	font-size: 1.75rem;
	line-height: 1;
}

.cot-cat-title {
	font-size: 0.94rem;
	font-weight: 700;
	color: #1A1A1A;
}

.cot-cat-desc {
	font-size: 0.78rem;
	color: var(--cot-muted);
	line-height: 1.35;
}

/* ==========================================================================
   7. Main Grid Layout (3-Column / 2-Column / 1-Column Toggleable Sidebars)
   ========================================================================== */
.cot-main-wrapper {
	padding: 26px 0 46px;
}

.cot-layout-grid {
	display: grid;
	gap: 24px;
	align-items: start;
}

.cot-layout-grid.has-both-sidebars {
	grid-template-columns: 270px minmax(0, 1fr) 280px;
}

.cot-layout-grid.has-left-sidebar {
	grid-template-columns: 280px minmax(0, 1fr);
}

.cot-layout-grid.has-right-sidebar {
	grid-template-columns: minmax(0, 1fr) 290px;
}

.cot-layout-grid.no-sidebars {
	grid-template-columns: minmax(0, 1fr);
}

/* ==========================================================================
   8. Alternating Left / Right Post Listing Cards
   ========================================================================== */
.cot-posts-feed {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.cot-post-card {
	background: var(--cot-surface);
	border: 1px solid var(--cot-border);
	border-radius: var(--cot-radius);
	box-shadow: var(--cot-shadow);
	overflow: hidden;
	display: flex;
	flex-direction: row;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cot-post-card:hover {
	box-shadow: var(--cot-shadow-hover);
}

.cot-post-card.cot-img-right {
	flex-direction: row-reverse;
}

.cot-post-card.cot-no-thumb {
	flex-direction: column;
}

.cot-post-thumb {
	flex: 0 0 38%;
	max-width: 340px;
	position: relative;
	background: var(--cot-surface-alt);
	min-height: 220px;
}

.cot-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cot-post-state-tag {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--cot-secondary);
	color: #FFFFFF;
	font-size: 0.76rem;
	font-weight: 800;
	padding: 4px 10px;
	border-radius: 999px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.cot-post-body {
	flex: 1;
	padding: 20px 22px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.cot-post-meta-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	color: var(--cot-muted);
	margin-bottom: 8px;
}

.cot-post-cat-pill {
	background: #FEF3C7;
	color: #92400E !important;
	padding: 3px 10px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.76rem;
	text-decoration: none !important;
}

.cot-post-title {
	font-size: 1.32rem;
	margin-bottom: 10px;
}

.cot-post-title a {
	color: #000000;
	text-decoration: none;
}

.cot-post-title a:hover {
	color: var(--cot-primary);
}

.cot-post-excerpt {
	color: #000000;
	font-size: 0.96rem;
	margin-bottom: 14px;
}

.cot-amenity-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
}

.cot-amenity-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #ECFDF5;
	color: #065F46;
	border: 1px solid #A7F3D0;
	padding: 3px 9px;
	border-radius: 6px;
	font-size: 0.78rem;
	font-weight: 600;
}

.cot-amenity-badge.price {
	background: #FFF7ED;
	color: #9A3412;
	border-color: #FED7AA;
}

.cot-post-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	padding-top: 12px;
	border-top: 1px solid #F1E6D6;
}

.cot-read-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--cot-primary);
	color: #FFFFFF !important;
	padding: 7px 15px;
	border-radius: 8px;
	font-size: 0.86rem;
	font-weight: 700;
	text-decoration: none !important;
}

.cot-read-more:hover {
	background: var(--cot-primary-dark);
}

.cot-quick-edit-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: #1E6B45;
	color: #FFFFFF !important;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none !important;
}

.cot-quick-edit-btn:hover {
	background: #144B30;
}

/* ==========================================================================
   9. Single Post & Pure Black (#000000) 1-Column Readable Content
   ========================================================================== */
.cot-single-article {
	background: #FFFFFF;
	border: 1px solid var(--cot-border);
	border-radius: var(--cot-radius);
	box-shadow: var(--cot-shadow);
	padding: 32px;
	color: #000000;
}

.cot-single-article.cot-pure-black-mode,
.cot-single-article.cot-pure-black-mode p,
.cot-single-article.cot-pure-black-mode li,
.cot-single-article.cot-pure-black-mode td,
.cot-single-article.cot-pure-black-mode th,
.cot-single-article.cot-pure-black-mode h1,
.cot-single-article.cot-pure-black-mode h2,
.cot-single-article.cot-pure-black-mode h3,
.cot-single-article.cot-pure-black-mode h4 {
	color: #000000;
}

.cot-single-header {
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 2px solid var(--cot-surface-alt);
}

.cot-single-title {
	font-size: clamp(1.7rem, 3vw, 2.35rem);
	font-family: var(--cot-font-display);
	margin-bottom: 12px;
}

.cot-single-featured {
	margin: 0 0 24px;
	border-radius: 10px;
	overflow: hidden;
}

.cot-single-featured img {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
}

.cot-campsite-facts-box {
	background: #FDF8F0;
	border: 2px solid var(--cot-gold);
	border-radius: 10px;
	padding: 18px 20px;
	margin-bottom: 24px;
}

.cot-campsite-facts-box h3 {
	font-size: 1.05rem;
	margin-bottom: 12px;
	color: var(--cot-primary-dark);
}

.cot-facts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 10px 16px;
}

.cot-fact-item {
	font-size: 0.92rem;
	color: #000000;
}

.cot-fact-label {
	font-weight: 700;
	color: #1A1A1A;
}

.cot-entry-content {
	font-size: 1.04rem;
	line-height: 1.75;
	color: #000000;
}

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

.cot-entry-content blockquote {
	margin: 1.5em 0;
	padding: 14px 20px;
	border-left: 4px solid var(--cot-primary);
	background: var(--cot-surface-alt);
	border-radius: 0 8px 8px 0;
}

/* ==========================================================================
   10. Sidebars & Custom Widgets
   ========================================================================== */
.cot-sidebar {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.cot-widget {
	background: #FFFFFF;
	border: 1px solid var(--cot-border);
	border-radius: var(--cot-radius);
	padding: 18px;
	box-shadow: var(--cot-shadow);
}

.cot-widget-title {
	font-size: 1.05rem;
	margin: 0 0 14px;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--cot-primary);
	color: #1A1A1A;
	display: flex;
	align-items: center;
	gap: 8px;
}

.cot-widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cot-widget li {
	padding: 7px 0;
	border-bottom: 1px dashed #EADCC8;
	font-size: 0.92rem;
}

.cot-widget li:last-child {
	border-bottom: none;
}

.cot-state-list-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	color: #1A1A1A;
	font-weight: 600;
}

.cot-state-dot {
	display: inline-block;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	margin-right: 8px;
}

.cot-tip-card {
	background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
	border: 1px solid #FCD34D;
	border-radius: 8px;
	padding: 14px;
	color: #000000;
	font-size: 0.92rem;
}

/* ==========================================================================
   11. View Details Showcase (Frontend & Shortcode)
   ========================================================================== */
.cot-vd-wrap {
	background: #FFFFFF;
	border: 1px solid var(--cot-border);
	border-radius: 14px;
	overflow: hidden;
	box-shadow: var(--cot-shadow);
	color: #000000;
}

.cot-vd-hero {
	background: linear-gradient(135deg, #C84B24 0%, #D99B16 55%, #1E6B45 100%);
	color: #FFFFFF;
	padding: 36px 30px;
}

.cot-vd-hero h1,
.cot-vd-hero h2 {
	color: #FFFFFF;
	margin: 0 0 8px;
	font-family: var(--cot-font-display);
}

.cot-vd-meta-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 14px;
}

.cot-vd-meta-pill {
	background: rgba(0, 0, 0, 0.25);
	color: #FFFFFF;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 0.83rem;
	font-weight: 600;
}

.cot-vd-body {
	padding: 28px 30px;
}

.cot-vd-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
	margin: 20px 0 28px;
}

.cot-vd-card {
	background: #FDF8F0;
	border: 1px solid var(--cot-border);
	border-top: 4px solid var(--cot-primary);
	border-radius: 10px;
	padding: 18px;
}

.cot-vd-card h3 {
	font-size: 1.05rem;
	margin-bottom: 8px;
	color: #1A1A1A;
}

.cot-vd-table {
	width: 100%;
	border-collapse: collapse;
	margin: 16px 0 26px;
}

.cot-vd-table th,
.cot-vd-table td {
	text-align: left;
	padding: 10px 14px;
	border: 1px solid var(--cot-border);
	color: #000000;
}

.cot-vd-table th {
	background: #F6EFE4;
	font-weight: 700;
}

/* ==========================================================================
   12. Pagination, Comments & Footer
   ========================================================================== */
.cot-pagination {
	margin-top: 26px;
	display: flex;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.cot-pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	background: #FFFFFF;
	border: 1px solid var(--cot-border);
	border-radius: 8px;
	color: #1A1A1A;
	font-weight: 700;
}

.cot-pagination .page-numbers.current,
.cot-pagination .page-numbers:hover {
	background: var(--cot-primary);
	color: #FFFFFF;
	border-color: var(--cot-primary);
	text-decoration: none;
}

.cot-site-footer {
	background: linear-gradient(135deg, #1E293B 0%, #143627 100%);
	color: #E2E8F0;
	padding: 44px 0 22px;
	border-top: 5px solid var(--cot-gold);
}

.cot-footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 28px;
	margin-bottom: 30px;
}

.cot-site-footer h3 {
	color: #FDE68A;
	font-size: 1.08rem;
	margin-bottom: 12px;
}

.cot-site-footer a {
	color: #F1F5F9;
}

.cot-site-footer a:hover {
	color: #FDE68A;
}

.cot-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.16);
	padding-top: 18px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 0.88rem;
	color: #CBD5E1;
}

.cot-back-to-top {
	position: fixed;
	bottom: 24px;
	right: 24px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--cot-primary);
	color: #FFFFFF;
	border: 2px solid #FFFFFF;
	font-size: 1.2rem;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 950;
}

.cot-back-to-top.is-visible {
	display: flex;
}

/* Interactive Checklist Shortcode */
.cot-checklist-box {
	background: #FFFFFF;
	border: 2px solid var(--cot-secondary);
	border-radius: 12px;
	padding: 20px 22px;
	margin: 20px 0;
}

.cot-checklist-list {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 10px;
}

.cot-checklist-list label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	color: #000000;
	font-size: 0.94rem;
}

/* ==========================================================================
   13. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1120px) {
	.cot-layout-grid.has-both-sidebars {
		grid-template-columns: 250px minmax(0, 1fr);
	}
	.cot-layout-grid.has-both-sidebars .cot-sidebar-right {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	}
}

@media (max-width: 880px) {
	.cot-nav-toggle {
		display: inline-block;
	}
	.cot-primary-nav {
		display: none;
		width: 100%;
		padding-top: 10px;
	}
	.cot-primary-nav.is-open {
		display: block;
	}
	.cot-header-inner {
		flex-wrap: wrap;
	}
	.cot-primary-nav ul {
		flex-direction: column;
		align-items: stretch;
	}
	.cot-layout-grid.has-both-sidebars,
	.cot-layout-grid.has-left-sidebar,
	.cot-layout-grid.has-right-sidebar {
		grid-template-columns: minmax(0, 1fr);
	}
	.cot-post-card,
	.cot-post-card.cot-img-right {
		flex-direction: column;
	}
	.cot-post-thumb {
		max-width: none;
		flex: none;
		height: 220px;
	}
	.cot-single-article {
		padding: 20px;
	}
}

/* Widget Zones & Front-End Edit in Widgets Link (v1.1.2) */
.cot-content-widget-zone {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-bottom: 22px;
}

.cot-banner-widget {
	border-left: 5px solid var(--cot-secondary);
}

.cot-widget-admin-edit {
	margin-top: 12px;
	padding-top: 8px;
	border-top: 1px dashed #E5D6C0;
	text-align: right;
}

.cot-widget-admin-edit a {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 700;
	color: #1E6B45;
	background: #ECFDF5;
	border: 1px solid #A7F3D0;
	padding: 3px 9px;
	border-radius: 6px;
	text-decoration: none;
}

.cot-widget-admin-edit a:hover {
	background: #1E6B45;
	color: #FFFFFF;
}

/* Top Menu Bar Search Box (v1.1.4) */
.cot-header-search {
	display: flex;
	align-items: center;
	background: #FFFFFF;
	border-radius: 999px;
	padding: 3px 4px 3px 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
	flex-shrink: 0;
	width: 230px;
}

.cot-header-search input[type="search"] {
	border: none;
	outline: none;
	background: transparent;
	color: #000000;
	font-size: 0.86rem;
	width: 100%;
	min-width: 0;
	padding: 5px 6px 5px 0;
}

.cot-header-search button {
	background: #F59E0B;
	color: #1A1A1A;
	border: none;
	border-radius: 999px;
	width: 32px;
	height: 32px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	font-size: 0.9rem;
	transition: background-color 0.18s ease;
}

.cot-header-search button:hover {
	background: #D97706;
	color: #FFFFFF;
}

@media (max-width: 880px) {
	.cot-header-search {
		width: 100%;
		margin-top: 8px;
	}
}

/* Active State Pill & Left Sidebar Published Parent/Slave Category Widget (v1.1.14) */
.cot-state-pill.is-active-state {
	box-shadow: 0 0 0 3px #F59E0B, 0 4px 12px rgba(0, 0, 0, 0.24);
	transform: translateY(-2px);
}

.cot-cat-parent-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background: linear-gradient(135deg, var(--cot-secondary), var(--cot-teal));
	color: #FFFFFF;
	padding: 9px 12px;
	border-radius: 8px;
	margin-bottom: 10px;
}

.cot-cat-parent-banner a {
	color: #FFFFFF !important;
	text-decoration: none;
	font-size: 0.94rem;
}

.cot-cat-count-badge {
	background: rgba(0, 0, 0, 0.25);
	color: #FEF3C7;
	font-size: 0.76rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
}

.cot-slave-cat-list li.cot-slave-cat-item {
	padding: 0;
	border-bottom: 1px dashed #EADCC8;
}

.cot-slave-cat-list li.cot-slave-cat-item a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 7px 8px;
	border-radius: 6px;
	color: #000000;
	font-weight: 600;
	text-decoration: none;
}

.cot-slave-cat-list li.cot-slave-cat-item a:hover,
.cot-slave-cat-list li.cot-slave-cat-item.is-active a {
	background: #FEF3C7;
	color: #9B3414;
}

.cot-cat-count-pill {
	background: #F6EFE4;
	color: #1A1A1A;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 999px;
}
