/**
 * SEO Service New Orleans - Theme Styles
 *
 * @package SeoServiceNewOrleans
 */

/* ============================
   Base / Reset
   ============================ */
body {
	font-family: 'Inter', sans-serif;
}

.font-headline {
	font-family: 'Manrope', sans-serif;
}

/* ============================
   Mesh Gradient Background
   ============================ */
.mesh-gradient {
	background:
		radial-gradient(at 0% 0%, #5146ce 0px, transparent 50%),
		radial-gradient(at 100% 0%, #4a40e0 0px, transparent 50%),
		radial-gradient(at 100% 100%, #c3b4fc 0px, transparent 50%),
		radial-gradient(at 0% 100%, #5146ce 0px, transparent 50%);
	filter: blur(120px);
	opacity: 0.15;
	position: absolute;
	inset: 0;
	z-index: -1;
}

/* ============================
   Glass Card
   ============================ */
.glass-card {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(20px);
	border-top: 1px solid rgba(255, 255, 255, 0.4);
}

/* ============================
   Material Symbols Base
   ============================ */
.material-symbols-outlined {
	font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ============================
   WordPress Content Styles
   ============================ */
.ssno-page-content h1,
.ssno-page-content h2,
.ssno-page-content h3,
.ssno-page-content h4,
.ssno-page-content h5,
.ssno-page-content h6,
.ssno-post-content h1,
.ssno-post-content h2,
.ssno-post-content h3,
.ssno-post-content h4,
.ssno-post-content h5,
.ssno-post-content h6 {
	font-family: 'Manrope', sans-serif;
	font-weight: 700;
	letter-spacing: -0.025em;
	margin-top: 2em;
	margin-bottom: 0.75em;
	color: #2c2f33;
}

.ssno-page-content h2,
.ssno-post-content h2 {
	font-size: 2rem;
}

.ssno-page-content h3,
.ssno-post-content h3 {
	font-size: 1.5rem;
}

.ssno-page-content p,
.ssno-post-content p {
	margin-bottom: 1.5em;
	line-height: 1.8;
	color: #595b61;
}

.ssno-page-content a,
.ssno-post-content a {
	color: #5146ce;
	text-decoration: underline;
	text-underline-offset: 3px;
	transition: color 0.2s;
}

.ssno-page-content a:hover,
.ssno-post-content a:hover {
	color: #4538c1;
}

.ssno-page-content img,
.ssno-post-content img {
	border-radius: 1rem;
	max-width: 100%;
	height: auto;
}

.ssno-page-content ul,
.ssno-post-content ul {
	list-style: disc;
	padding-left: 1.5em;
	margin-bottom: 1.5em;
}

.ssno-page-content ol,
.ssno-post-content ol {
	list-style: decimal;
	padding-left: 1.5em;
	margin-bottom: 1.5em;
}

.ssno-page-content li,
.ssno-post-content li {
	margin-bottom: 0.5em;
	line-height: 1.7;
	color: #595b61;
}

.ssno-page-content blockquote,
.ssno-post-content blockquote {
	border-left: 4px solid #5146ce;
	padding-left: 1.5em;
	margin: 2em 0;
	font-style: italic;
	color: #74777c;
}

.ssno-page-content table,
.ssno-post-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 2em;
}

.ssno-page-content th,
.ssno-page-content td,
.ssno-post-content th,
.ssno-post-content td {
	padding: 0.75em 1em;
	border: 1px solid #dadde5;
	text-align: left;
}

.ssno-page-content th,
.ssno-post-content th {
	background: #eff0f7;
	font-weight: 600;
}

/* ============================
   WordPress Alignment Classes
   ============================ */
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	margin-right: 1.5em;
	margin-bottom: 1em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
	margin-bottom: 1em;
}

.alignwide {
	max-width: 100%;
	width: 100%;
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text {
	font-size: 0.875rem;
	color: #74777c;
	text-align: center;
	margin-top: 0.5em;
}

/* ============================
   Primary Nav Submenu Dropdown
   ============================ */
.ssno-menu-item-has-children:hover .ssno-sub-menu,
.ssno-menu-item-has-children:focus-within .ssno-sub-menu {
	display: block;
}

.ssno-sub-menu {
	list-style: none;
	margin: 0;
	padding: 0.6rem;
	min-width: 18.5rem;
	background: linear-gradient(180deg, #ffffff 0%, var(--ssno-surface-container-lowest) 100%);
	border: 1px solid color-mix(in srgb, var(--ssno-outline-variant) 45%, #ffffff 55%);
	border-top: 3px solid var(--ssno-primary);
	border-radius: 1rem;
	box-shadow: 0 18px 40px -24px rgba(16, 24, 40, 0.45), 0 8px 18px -12px rgba(81, 70, 206, 0.32);
	backdrop-filter: blur(8px);
	transform: translateY(10px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.ssno-sub-menu li {
	margin: 0;
	padding: 0;
}

.ssno-menu-item-has-children:hover .ssno-sub-menu,
.ssno-menu-item-has-children:focus-within .ssno-sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	display: block;
}

.ssno-sub-menu a {
	display: block;
	padding: 0.75rem 0.9rem;
	border-radius: 0.65rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ssno-on-surface-variant);
	transition: color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.ssno-sub-menu a:hover,
.ssno-sub-menu a:focus-visible {
	background: color-mix(in srgb, var(--ssno-primary-container) 24%, #ffffff 76%);
	color: var(--ssno-primary);
	transform: translateX(2px);
	outline: none;
}

/* ============================
   Mobile Navigation
   ============================ */
@media (max-width: 767px) {
	#ssno-mobile-menu {
		max-height: calc(100vh - 76px);
		overflow-y: auto;
	}

	#ssno-mobile-menu .ssno-mobile-nav-links {
		display: flex;
		flex-direction: column;
		gap: 0.25rem;
	}

	#ssno-mobile-menu .ssno-mobile-nav-links > a,
	#ssno-mobile-menu .ssno-mobile-nav-links > .ssno-menu-item-has-children > a {
		display: block;
		padding: 0.65rem 0.5rem;
		font-size: 0.98rem;
		line-height: 1.35;
		font-weight: 600;
		color: var(--ssno-on-surface);
		border-bottom: 1px solid color-mix(in srgb, var(--ssno-outline-variant) 30%, transparent 70%);
	}

	#ssno-mobile-menu .ssno-menu-item-has-children {
		display: block;
	}

	#ssno-mobile-menu .ssno-sub-menu {
		display: block;
		position: static;
		transform: none;
		opacity: 1;
		visibility: visible;
		min-width: 0;
		margin: 0.35rem 0 0.75rem;
		padding: 0.35rem;
		border-radius: 0.75rem;
		border-top-width: 1px;
		box-shadow: none;
		background: color-mix(in srgb, var(--ssno-surface-container-low) 88%, #ffffff 12%);
	}

	#ssno-mobile-menu .ssno-sub-menu a {
		padding: 0.6rem 0.7rem;
		font-size: 0.92rem;
		font-weight: 500;
	}
}

/* ============================
   FAQ Accordion
   ============================ */
.ssno-faq-item {
	transition: background-color 0.2s;
}

.ssno-faq-item:hover {
	background-color: rgba(0, 0, 0, 0.015);
}

.ssno-faq-icon {
	transition: transform 0.3s ease;
}

.ssno-faq-answer {
	overflow: hidden;
	transition: max-height 0.35s ease, opacity 0.25s ease;
	max-height: 0;
	opacity: 0;
}

.ssno-faq-answer.ssno-faq-open {
	opacity: 1;
}

/* ============================
   Service Page Animations
   ============================ */
.ssno-svc-fade-in {
	opacity: 0;
	transform: translateY(16px);
	animation: ssnoSvcFadeUp 0.6s ease forwards;
}

.ssno-svc-fade-in:nth-child(1) { animation-delay: 0s; }
.ssno-svc-fade-in:nth-child(2) { animation-delay: 0.1s; }
.ssno-svc-fade-in:nth-child(3) { animation-delay: 0.2s; }
.ssno-svc-fade-in:nth-child(4) { animation-delay: 0.3s; }

@keyframes ssnoSvcFadeUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.ssno-svc-card {
	opacity: 0;
	transform: translateY(20px);
}

.ssno-svc-card.ssno-visible {
	animation: ssnoSvcFadeUp 0.5s ease forwards;
}

/* Stagger children */
.ssno-svc-card:nth-child(1) { animation-delay: 0s; }
.ssno-svc-card:nth-child(2) { animation-delay: 0.08s; }
.ssno-svc-card:nth-child(3) { animation-delay: 0.16s; }
.ssno-svc-card:nth-child(4) { animation-delay: 0.24s; }
.ssno-svc-card:nth-child(5) { animation-delay: 0.32s; }
.ssno-svc-card:nth-child(6) { animation-delay: 0.4s; }

/* ============================
   Service Page Hero
   ============================ */
.ssno-svc-hero h1 {
	background: linear-gradient(135deg, #1a1c20 0%, #5146ce 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* ============================
   Pagination Styles
   ============================ */
.nav-links {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	justify-content: center;
}

.nav-links a,
.nav-links span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: 0 0.75rem;
	border-radius: 0.5rem;
	font-weight: 600;
	font-size: 0.875rem;
	transition: all 0.2s;
}

.nav-links a {
	background: rgba(255, 255, 255, 0.7);
	color: #2c2f33;
}

.nav-links a:hover {
	background: #5146ce;
	color: #fff;
}

.nav-links .current {
	background: #5146ce;
	color: #fff;
}

/* ============================
   Comments Styles
   ============================ */
.comment-list {
	list-style: none;
	padding: 0;
}

.comment-list .comment {
	padding: 1.5rem;
	margin-bottom: 1rem;
	background: rgba(255, 255, 255, 0.7);
	border-radius: 1rem;
}

.comment-list .children {
	list-style: none;
	padding-left: 2rem;
	margin-top: 1rem;
}

.comment-author img {
	border-radius: 9999px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	background: #eff0f7;
	border: 0;
	border-radius: 0.5rem;
	padding: 0.75rem 1rem;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	transition: box-shadow 0.2s;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	box-shadow: 0 0 0 2px #5146ce;
}

/* ============================
   WordPress Widget Styles
   ============================ */
.widget ul {
	list-style: none;
	padding: 0;
}

.widget ul li {
	margin-bottom: 0.5rem;
}

.widget ul li a {
	color: #595b61;
	text-decoration: none;
	font-size: 0.875rem;
	transition: color 0.2s;
}

.widget ul li a:hover {
	color: #5146ce;
}

/* ============================
   Tags
   ============================ */
.post-tags a,
.tagcloud a,
a[rel="tag"] {
	display: inline-block;
	background: #eff0f7;
	color: #5146ce;
	padding: 0.25em 0.75em;
	border-radius: 9999px;
	font-size: 0.75rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s;
	margin: 0.125em;
}

.post-tags a:hover,
.tagcloud a:hover,
a[rel="tag"]:hover {
	background: #5146ce;
	color: #fff;
}

/* ============================
   Form Message Styles
   ============================ */
.ssno-form-message.success {
	background: #dcfce7;
	color: #166534;
	padding: 1rem;
	border-radius: 0.5rem;
	font-weight: 500;
	text-align: center;
}

.ssno-form-message.error {
	background: #fef2f2;
	color: #991b1b;
	padding: 1rem;
	border-radius: 0.5rem;
	font-weight: 500;
	text-align: center;
}

/* ============================
   Footer Nav Links
   ============================ */
footer .menu-item a {
	font-size: 0.875rem;
	color: #64748b;
	text-decoration: none;
	transition: color 0.2s;
}

footer .menu-item a:hover {
	color: #5146ce;
	text-decoration: underline;
	text-underline-offset: 4px;
}

/* ============================
   Custom Logo
   ============================ */
.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

.custom-logo {
	max-height: 40px;
	width: auto;
}

/* ============================
   Smooth Scroll
   ============================ */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* ============================
   Screen Reader (Utility)
   ============================ */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	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;
	color: #21759b;
	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;
}

/* ============================
   Slider Dots
   ============================ */
.ssno-slider-dot {
	width: 10px;
	height: 10px;
	border-radius: 9999px;
	background: #dadde5;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: all 0.3s;
}

.ssno-slider-dot.active {
	background: #5146ce;
	width: 28px;
}

/* ============================
   Line Clamp Utilities
   ============================ */
.line-clamp-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.line-clamp-3 {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ============================
   Slider Dragging
   ============================ */
.ssno-grabbing {
	cursor: grabbing !important;
	user-select: none;
}

.ssno-grabbing * {
	pointer-events: none;
}

/* ============================
   Sticky Sidebar (Single Post)
   ============================ */
.ssno-sticky-sidebar {
	position: sticky;
	top: 5rem;
	max-height: calc(100vh - 6rem);
	overflow-y: auto;
}

/* Hide scrollbar on TOC sidebar */
.ssno-sticky-sidebar::-webkit-scrollbar {
	width: 3px;
}
.ssno-sticky-sidebar::-webkit-scrollbar-track {
	background: transparent;
}
.ssno-sticky-sidebar::-webkit-scrollbar-thumb {
	background: #dadde5;
	border-radius: 999px;
}

/* TOC active border indicator */
#ssno-toc-list a[data-ssno-toc-link] {
	border-left: 2px solid transparent;
	padding-left: 0.75rem;
	margin-left: -2px;
	transition: border-color 0.2s, color 0.2s;
}

#ssno-toc-list a[data-ssno-toc-link].text-white {
	border-left-color: #ffffff;
}

