/*!
Theme Name: ToolStackAILab
Author: Mauricio Arcehelizaga
Version: 1.0.0
Text Domain: toolstackailab
*/

/* ============================================================
   NORMALIZE + BASE FROM UNDERSCORES
   (unchanged, just cleaned)
   ============================================================ */
:root {
  --ts-accent: #96d27b;
  --ts-accent-soft: #a6e1d4;
  --ts-accent-strong: #4ea691;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
}

main {
	display: block;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

a {
	background-color: transparent;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-weight: bolder;
}

code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
}

button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details {
	display: block;
}

summary {
	display: list-item;
}

template {
	display: none;
}

[hidden] {
	display: none;
}

/* Box sizing */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* ============================================================
   BASE TYPOGRAPHY & ELEMENTS
   ============================================================ */


body, button,
select,
optgroup,
textarea {
	color: #d1d4d9;
	font-family: "Archivo", system-ui, -apple-system, BlinkMacSystemFont,
		"Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
		sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}


h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	color: #f9fafb;
	font-family: "Archivo", system-ui, -apple-system, BlinkMacSystemFont,
		"Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
		sans-serif;
	font-weight: 600;
}


p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #111827;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
	color: #e5e7eb;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #e4f3da!important;
	cursor: help;
}

mark,
ins {
	background: #fbbf24;
	text-decoration: none;
	color: #030712;
}

big {
	font-size: 125%;
}

/* Elements */

body {
	background: #050816;
}

hr {
	background-color: #1f2933;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links */

a {
	color: #38bdf8;
}

a:visited {
	color: #818cf8;
}

a:hover,
a:focus,
a:active {
	color: #f97316;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms */

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border-radius: 999px;
	border: 1px solid #4b5563;
	background: #111827;
	color: #e5e7eb;
	line-height: 1;
	padding: 0.5em 1.2em;
	cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #38bdf8;
	background: #020617;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #38bdf8;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #050816!important;
	border: 1px solid #38524c!important;
	border-radius: 8px;
	padding: 6px 10px;
	background: #222e2b !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #f9fafb;
	border-color: #!important;;
	outline: 0;
	background: #ffffff!important;
}

select {
	border: 1px solid #4b5563;
	border-radius: 8px;
	background: #020617;
	color: #e5e7eb;
}

textarea {
	width: 100%;
}

/* ============================================================
   LAYOUT / COMPONENTS
   ============================================================ */

/* Navigation – Underscores base */

.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu toggle support (we will hide toggle later) */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: block;
	}
}

/* Posts & pages */

.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Widgets */

.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Captions */

.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries */

.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/* Accessibility */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #111;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Alignments */

.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}
/* =========================================
   STICKY FOOTER FIX - Keep footer at bottom
   ========================================= */

/* Make the html and body take full height */

/* The main site wrapper needs to be a flex column */
.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* At least full viewport height */
}

/* The main content area should grow to fill space */
.main {
    flex: 1 0 auto; /* Grow to fill available space */
    width: 100%;
}

/* Footer stays at bottom, doesn't shrink */
.site-footer {
    flex-shrink: 0;
    width: 100%;
}


/* ============================================================
   TOOLSTACK CUSTOM STYLES
   ============================================================ */

/* Global layout */
.site {
	min-height: 100vh;
}

.site-content {
	padding: 2rem 1.5rem 3rem;
}

/* ============================
   HEADER & NAV (ALL NON-HOME)
   ============================ */

/* Full-width header bar */
.site-header {
	background: #050816;
	border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

/* Inner wrapper: centers content and aligns logo + nav */
.ts-main-top {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0.75rem 1.75rem;

	display: flex;
	align-items: center;
	gap: 24px;
}

/* Logo / site title */
.ts-main-logo a {
	color: #e5e7eb;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.05rem;
	letter-spacing: 0.03em;
}

/* Push nav to the right */
.ts-main-nav {
	margin-left: auto;
}

/* Horizontal menu (non-home) + reuse for hero menu on home */
.ts-main-menu,
.ts-hero-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1.75rem;
}

/* Remove extra margins from li elements */
.ts-main-menu li,
.ts-hero-menu li {
	margin: 0;
	padding: 0;
}

/* Menu links (shared styles) */
.ts-main-menu a,
.ts-hero-menu a {
	text-decoration: none;
	color: #e5e7eb;
	font-size: 0.95rem;
}

.ts-main-menu a:hover,
.ts-main-menu a:focus,
.ts-hero-menu a:hover,
.ts-hero-menu a:focus {
	color: #38bdf8;
}

/* Hide the old _s burger toggle (we’re not using it) */
.menu-toggle {
	display: none !important;
}

/* Small screens: stack logo + menu nicely */
@media (max-width: 700px) {
	.ts-main-top {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.5rem;
		padding-inline: 1.25rem;
	}

	.ts-main-menu,
	.ts-hero-menu {
		flex-wrap: wrap;
		gap: 1rem;
	}
}
/* ============================
   TOPIC
   ============================ */
.ts-topic {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    border: none;
    background: #0d1117;
    color: var(--ts-text);
    text-decoration: none;
}
.ts-topic:hover, .ts-tool-card-inner:hover {
    border-color: #77c8b0!important;
}
/* Make the entire tool card clickable */
.tool-card__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;               /* keep same text color */
}

/* Don’t change colors on hover, just border / shadow if you like */
.tool-card__inner:hover .tool-card__title {
    color: #96d27b;               /* your accent */
}
/* ============================
   Topics section + tool search
   ============================ */

.ts-section-topics .ts-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.ts-tool-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ts-tool-search input[type="search"] {
    min-width: 220px;
}

.ts-tool-search button {
    white-space: nowrap;
}

/* Mobile: stack title + search nicely */
@media (max-width: 700px) {
    .ts-section-topics .ts-section-head {
        align-items: flex-start;
    }

    .ts-tool-search {
        width: 100%;
    }

    .ts-tool-search input[type="search"] {
        flex: 1;
        min-width: 0;
    }
}

/* ============================
   TOOLS ARCHIVE LAYOUT
   ============================ */

/* Remove extra top spacing on archive main */
.post-type-archive-tool .site-content {
	padding-top: 0;
}

/* Hero section for /tools */
.tool-archive-hero {
	padding: 3rem 1.5rem 2.25rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.25);
	margin-bottom: 2.25rem;
	background: linear-gradient(1deg, #2b3327 0%, #0b1220 100%);
}

.tool-archive-hero__inner {
	max-width: 1100px;
	margin: 0 auto;
}

.tool-archive-hero__eyebrow {
    display: inline-flex;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #a4d285;
    background: rgb(164 210 133 / 22%);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
}
.tool-archive-hero__title {
	font-size: clamp(2rem, 3vw, 2.6rem);
	margin: 0 0 0.5rem;
	color: #f9fafb;
}

.tool-archive-hero__subtitle {
	max-width: 640px;
	margin: 0;
	color: #e4f3da;
	font-size: 0.98rem;
}

/* Wrapper that limits width to 1440px */
.tool-archive {
	max-width: 1440px;
	margin: 0 auto 3rem;
	padding-inline: 1.5rem;
}

/* Grid of tool cards */
.tool-archive__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 2rem;
}

/* Individual tool card */
.tool-card {
	background: #222e2b !important;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8) !important;
	border: 1px solid #222e2b !important;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	max-width: 520px;      /* prevents super-wide cards */
	margin-inline: auto;   /* center inside grid column */
}



/* Thumbnail */
.tool-card__thumb img {
	width: 100%;
	height: 230px;
	object-fit: cover;
}

/* Card body */
.tool-card__body {
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

/* Title */
.tool-card__title {
	font-size: 1.05rem;
	margin: 0;
	color:#fff!important;
	
}

.tool-card__title a {
	color: #e5e7eb;
	text-decoration: none;
}

.tool-card__title a:hover {
	color: #38bdf8;
}

/* Excerpt */
.tool-card__excerpt {
	margin: 0;
	font-size: 0.9rem;
	color: #e4f3da!important;
}

/* Meta line (date, category, etc) */
.tool-card__meta {
	margin-top: 0.35rem;
	font-size: 0.78rem;
	color: #e4f3da!important;
}

/* Pagination */
.tool-archive__pagination {
	margin-top: 2.5rem;
	text-align: center;
}

.tool-archive__pagination .page-numbers {
	display: inline-block;
	margin: 0 0.35rem;
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	font-size: 0.85rem;
	text-decoration: none;
	border: 1px solid transparent;
	color: #e5e7eb;
}

.tool-archive__pagination .page-numbers.current {
	background: #38bdf8;
	border-color: #38bdf8;
	color: #020617;
}

.tool-archive__pagination .page-numbers:hover {
	border-color: #38bdf8;
}

/* Slightly denser grid on very wide screens */
@media (min-width: 1400px) {
	.tool-archive__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Mobile tweaks for hero */
@media (max-width: 700px) {
	.tool-archive-hero {
		padding-top: 2.25rem;
	}
}
/* ============================================================
   HERO CONTENT
   ============================================================ */
/* =====================================
   HERO HEIGHT + VERTICAL CENTERING
   ===================================== */

.ts-hero {
    /* Make the hero nice and tall */
    min-height: 30vh;              /* tweak: 75–90vh if you want */
    display: flex;
	background: linear-gradient(1deg, #2b3327 0%, #0b1220 100%)!important;
}

.ts-hero > .ts-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Keep logo + menu at the top, but with some breathing room */
.ts-hero-top {
    margin-bottom: 2rem;
}

/* Center main hero content vertically in remaining space */
.ts-hero-inner {
    flex: 1;
    display: flex;
    align-items: center;           /* vertical center */
    gap: 2.5rem;                   /* space between copy and card */
}

.ts-hero-copy h1 {
    color: #f9fafb;
    font-size: 44px;
    line-height: 1.05;
    margin: 0 0 12px;
}
.ts-hero-copy p {
    font-size: 18px;
    color: #e4f3da!important;
    margin: 0 0 20px;
    max-width: 60ch;
}

/* ============================================================
   TOOLS ARCHIVE – 4-COLUMN GRID + 1100PX CONTAINER
   ============================================================ */

/* Make sure the tools archive uses an 1100px-wide container */
.post-type-archive-tool .ts-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
}

/* 4 columns on desktop, tighter gaps */
.post-type-archive-tool .tool-archive__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

/* Remove max-width so cards can shrink to fit 4 per row */
.post-type-archive-tool .tool-card {
    max-width: none;
    margin-inline: 0;
}

/* Slightly smaller thumbs so cards feel lighter */
.post-type-archive-tool .tool-card__thumb img {
    height: 180px;
    object-fit: cover;
}

/* Responsive breakpoints so it doesn’t get cramped */
@media (max-width: 1100px) {
    .post-type-archive-tool .tool-archive__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .post-type-archive-tool .tool-archive__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .post-type-archive-tool .tool-archive__grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================
   LOGO SWAP – FULL LOGO → MONOGRAM ON MOBILE
   ===================================== */

/* Generic logo sizing */
.ts-logo-img {
    display: block;
    height: 28px; /* tweak: 24–32px depending on how it feels */
    width: auto;
}

/* Ensure header logo link aligns nicely */
.ts-main-logo a,
.ts-hero-logo a {
    display: inline-flex;
    align-items: center;
}

/* Default: desktop view */
.ts-logo-full {
    display: block;   /* show full logo */
}

.ts-logo-mark {
    display: none;    /* hide monogram */
}

/* Mobile: swap to monogram */
@media (max-width: 700px) {
    .ts-logo-full {
        display: none;
    }

    .ts-logo-mark {
        display: block;
    }
}

/* =====================================
   FOOTER + MONOGRAM
   ===================================== */

.site-footer {
    background: #020617;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding: 2rem 1.5rem 1.75rem;
}

.ts-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

/* Monogram */
.ts-footer-mark {
    margin-bottom: 0.75rem;
}

.ts-footer-logo {
    display: block;
    height: 32px;   /* tweak: 24–40px depending on how it feels */
    width: auto;
    margin: 0 auto;
    opacity: 0.9;
}

/* Footer text */
.site-footer .site-info {
    font-size: 0.8rem;
    color: #e4f3da!important;
}
/* ============================================================
   COLOR PALETTE UPDATE – PRIMARY TEAL #96d27b
   ============================================================ */

/* Global links */
a,
a:visited {
    color: #96d27b;
}

a:hover,
a:focus,
a:active {
    color: #a6e1d4; /* lighter teal on hover */
}

/* Nav links (top menu + hero menu) */
.ts-main-menu a,
.ts-hero-menu a {
    color: #a4d285!important;
}

.ts-main-menu a:hover,
.ts-main-menu a:focus,
.ts-hero-menu a:hover,
.ts-hero-menu a:focus {
    color: #f3ffeb!important;
}

/* "View all →" / inline CTA links */
.ts-link {
    color: #96d27b!important;
    text-decoration: none;
}

.ts-link:hover,
.ts-link:focus {
    color: #f3ffeb!important;
}

/* Core buttons */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    border-radius: 999px;
    border: 1px solid #96d27b;
    background: #96d27b;
    color: #020617;
    line-height: 1;
    padding: 0.5em 1.2em;
    cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    border-color: #b8daa1; /* slightly darker teal */
    background: #f3ffeb!important;
    color: #0f110d;
}

/* Main CTA button (front page) */
.ts-btn-primary, button#wpforms-submit-74 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.3rem;
    border-radius: 999px;
    border: 1px solid #96d27b;
    background: #96d27b!important;
	color: #0f110d !important;
	font-weight: 600;
    text-decoration: none;
}

.ts-btn-primary:hover,
.ts-btn-primary:focus, button#wpforms-submit-74:hover, button#wpforms-submit-74:focus {
    background: #f3ffeb !important;
    color: #0f110d;
}

/* Tools archive pagination highlight */
.tool-archive__pagination .page-numbers.current {
    background: #96d27b;
    border-color: #96d27b;
    color: #020617;
}

.tool-archive__pagination .page-numbers:hover {
    border-color: #96d27b;
}
/* ============================
   SINGLE TOOL LAYOUT
   ============================ */

.ts-single-tool-hero {
    background: linear-gradient(to bottom, #050816, #020617);
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    padding: 2.5rem 0 1.5rem;
}

/* ============================
   SINGLE TOOL – HERO LAYOUT
   (image small, on the left)
   ============================ */

.ts-single-tool-hero-inner {
    display: flex;
    align-items: flex-start;
    gap: 1.75rem;
}

/* Thumbnail column */
.ts-single-tool-thumb {
    flex: 0 0 220px;       /* fixed-ish width */
    max-width: 220px;
}

.ts-single-tool-thumb img {
    width: 100%;
    height: 160px;         /* keep it compact */
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.85);
}

/* Title + meta on the right */
.ts-single-tool-heading {
    flex: 1;
    max-width: 640px;
}

/* Mobile: stack image above title again */
@media (max-width: 700px) {
    .ts-single-tool-hero-inner {
        flex-direction: column;
    }

    .ts-single-tool-thumb {
        max-width: 100%;
        flex: 0 0 auto;
    }

    .ts-single-tool-thumb img {
        height: auto;
    }
}


/* Title + meta */
.ts-single-tool-heading {
    max-width: 640px;
}

.ts-single-tool-title {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    margin: 0 0 0.65rem;
    color: #f9fafb;
}

.ts-single-tool-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: #e4f3da!important;
}

.ts-single-tool-pill {
    padding: 0.15rem 0.7rem;
    border-radius: 999px;
    background: rgba(115, 200, 179, 0.12); /* uses your accent tone */
    color: #96d27b;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

/* Body section */
.ts-single-tool-body {
    padding: 2.5rem 0 3rem;
}

/* Limit text width for readability */
.ts-single-tool-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 0.98rem;
}

/* Tweak headings inside content */
.ts-single-tool-content h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.ts-single-tool-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

/* Lists inside tool content */
.ts-single-tool-content ul,
.ts-single-tool-content ol {
    margin-left: 1.4rem;
    margin-bottom: 1.2rem;
}

.ts-single-tool-content li {
    margin-bottom: 0.35rem;
}

/* Mobile tweaks */
@media (max-width: 700px) {
    .ts-single-tool-hero {
        padding-top: 2rem;
    }

    .ts-single-tool-thumb img {
        max-width: 100%;
    }

    .ts-single-tool-heading {
        max-width: 100%;
    }
}


/* =========================================
   Shared page header (all non-front pages)
   ========================================= */

.ts-page-header {
  padding: 2.5rem 0 1.75rem;
 min-width: 100%!important;
	background: linear-gradient(1deg, #2b3327 0%, #0b1220 100%);
}



.ts-page-eyebrow {
    display: inline-flex;
    gap: 0.35rem;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94be7a;
    background: rgb(148 190 122 / 21%);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
    text-align: center;
}

.ts-page-eyebrow a {
  text-decoration: none;
  color: #a5b4fc;
}

.ts-page-eyebrow a:hover {
  color: #96d27b; /* your accent */
}

.ts-page-separator {
  opacity: 0.7;
}

.ts-page-title {
  margin: 0 0 0.5rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: #f9fafb;
}

.ts-page-subtitle {
  margin: 0;
  max-width: 640px;
  color: #e4f3da!important;
  font-size: 0.98rem;
}

/* Generic page body wrapper */
.ts-page-body {
  padding: 2rem 0 3rem;
}

.ts-page-body .ts-container {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

/* =========================================
   Single tool layout tweaks
   ========================================= */

.single-tool .site-content {
  padding: 0; /* header + section will handle spacing */
}

.tool-single {
  padding: 2rem 0 3rem;
}

.tool-single .ts-container {
  max-width: 1100px;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

.tool-single-layout {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
}

.tool-single-thumb {
  flex: 0 0 140px;
}

.tool-single-thumb img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.tool-single-body {
  flex: 1;
}

.tool-single-body .entry-content {
  font-size: 0.96rem;
  line-height: 1.7;
}

/* Stack on mobile */
@media (max-width: 800px) {
  .tool-single-layout {
    flex-direction: column;
  }

  .tool-single-thumb {
    flex: 0 0 auto;
    max-width: 220px;
  }
}
/* =========================================
   Shared eyebrow pill style
   ========================================= */

/* Tools archive hero eyebrow */
.tool-archive-hero__eyebrow,
 
/* Generic page header eyebrow (About, Contact, etc.) */
.ts-page-header__eyebrow,

/* Single tool header eyebrow "Tools / {Tool}" */
.single-tool-header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94be7a;
    background: rgb(148 190 122 / 21%);
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
    text-align: center;
}
/* =========================================
   Generic page header layout (About, Contact, etc.)
   ========================================= */

.ts-page-header {
    padding: 2.75rem 0 2.25rem!important;
  
}

.ts-page-header__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    text-align: left;
}

.ts-page-header__title {
    margin: 0.75rem 0 0.5rem;
    font-size: clamp(1.9rem, 2.4vw, 2.3rem);
}

.ts-page-header__subtitle {
    margin: 0;
    max-width: 640px;
    color: #e4f3da!important;
    font-size: 0.98rem;
}

/* =========================================
   MOBILE MENU (HAMBURGER) - UPDATED
   ========================================= */

/* Hide menu toggle on desktop by default */
.menu-toggle {
    display: none !important;
}

/* Mobile styles */
@media (max-width: 768px) {
    /* Show hamburger button - with higher specificity */
    .menu-toggle,
    button.menu-toggle,
    .ts-main-nav .menu-toggle,
    .ts-hero-nav .menu-toggle {
        display: block !important;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
        margin-left: auto;
        z-index: 1001;
        position: relative;
        width: 45px;
        height: 45px;
    }
    
    /* Hamburger icon lines */
    .menu-toggle span {
        display: block !important;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background: #e5e7eb;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    /* Container for logo and hamburger */
    .ts-main-top,
    .ts-hero-top {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        position: relative;
    }
    
    /* Logo stays on left */
    .ts-main-logo,
    .ts-hero-logo {
        flex: 0 0 auto;
    }
    
    /* Nav container positioning */
    .ts-main-nav,
    .ts-hero-nav {
        position: static;
        flex: 0 0 auto;
    }
    
    /* Hide menus by default on mobile */
    .ts-main-menu,
    .ts-hero-menu {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #050816;
        padding: 1rem;
        border-radius: 0 0 12px 12px;
        border: 1px solid rgba(148, 163, 184, 0.25);
        border-top: none;
        flex-direction: column !important;
        gap: 0 !important;
        z-index: 1000;
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        width: 100%;
    }
    
    /* Show menu when active */
    .ts-main-menu.active,
    .ts-hero-menu.active {
        display: flex !important;
    }
    
    /* Animation for active state (X) */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    /* Menu items styling */
    .ts-main-menu li,
    .ts-hero-menu li {
        width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none;
    }
    
    .ts-main-menu a,
    .ts-hero-menu a {
        display: block !important;
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        color: #e5e7eb !important;
        text-decoration: none;
    }
    
    .ts-main-menu a:hover,
    .ts-hero-menu a:hover {
        background: rgba(115, 200, 179, 0.1);
        color: #96d27b !important;
    }
    
    .ts-main-menu li:last-child a,
    .ts-hero-menu li:last-child a {
        border-bottom: none;
    }
}


legend.wpforms-field-label, label.wpforms-field-label {
    color: #a4d285!important;
}

.ts-sub, .ts-note {
    color: #d1d4d9!important;
}
.ts-tool-excerpt {
    font-size: 14px;
    color: #d1d4d9 !important;
    margin: 0 0 12px;
}

input#wpforms-74-field_1-last:focus {
    background: antiquewhite;
}
/* =========================================
   FOOTER NAVIGATION MENU
   ========================================= */

.footer-navigation {
    margin-bottom: 1.5rem;
    text-align: center;
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-menu li {
    margin: 0;
    padding: 0;
}

.footer-menu a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-menu a:hover {
    color: #96d27b;
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .footer-menu {
        gap: 1.25rem;
    }
}