/*
Theme Name: WordPressLift
Theme URI: https://wordpresslift.com/
Author: WordPressLift
Author URI: https://wordpresslift.com/
Description: A fast, lightweight and fully Elementor-ready WordPress theme built for WordPressLift — a boutique WordPress agency. Includes registered Elementor Theme Builder locations (header, footer, single, archive), a clean default header/footer, blog and single-post styling, WooCommerce-friendly markup, and brand-aligned design tokens (WordPress blue + warm orange, Syne / DM Sans). Designed as a blank, conflict-free canvas for Elementor and Elementor Pro.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wordpresslift
Tags: blog, business, portfolio, elementor, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks, block-styles
*/

/* =========================================================
   WordPressLift Theme — Base Stylesheet
   Most page design is intended to be built in Elementor.
   These styles provide a polished default look for the
   header, footer, blog, single posts and archives, plus
   the brand design tokens used across the theme.
   To re-brand: edit the CSS variables under :root below,
   OR set Global Colors / Fonts inside Elementor > Site Settings.
   ========================================================= */

:root {
	/* ---- Brand colours ---- */
	--wpl-blue:        #1b5fcc;   /* primary WordPress blue */
	--wpl-blue-700:    #154ba3;   /* darker blue (hover)    */
	--wpl-ink:         #0b1f33;   /* deep navy (dark areas) */
	--wpl-accent:      #ff6a2b;   /* warm orange CTA        */
	--wpl-accent-600:  #e85518;   /* orange hover           */

	/* ---- Neutrals ---- */
	--wpl-bg:          #ffffff;
	--wpl-surface:     #f4f7fb;   /* cool light section bg  */
	--wpl-text:        #1f2d3d;
	--wpl-muted:       #5a6b7b;
	--wpl-border:      #e2e8f0;
	--wpl-border-soft: #eef2f7;

	/* ---- Typography ---- */
	--wpl-font-head:   "Syne", "Trebuchet MS", sans-serif;
	--wpl-font-body:   "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	/* ---- Layout ---- */
	--wpl-container:   1200px;
	--wpl-content:     760px;
	--wpl-radius:      14px;
	--wpl-radius-sm:   10px;
	--wpl-gap:         32px;
	--wpl-shadow:      0 10px 30px -12px rgba(11, 31, 51, .18);
	--wpl-shadow-lg:   0 24px 60px -20px rgba(11, 31, 51, .28);
	--wpl-header-h:    78px;
	--wpl-transition:  .25s cubic-bezier(.4, 0, .2, 1);
}

/* ---------------------------------------------------------
   Reset / base
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: var(--wpl-font-body);
	font-size: 17px;
	line-height: 1.7;
	color: var(--wpl-text);
	background: var(--wpl-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }

a {
	color: var(--wpl-blue);
	text-decoration: none;
	transition: color var(--wpl-transition);
}
a:hover, a:focus { color: var(--wpl-blue-700); }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--wpl-font-head);
	font-weight: 700;
	line-height: 1.18;
	color: var(--wpl-ink);
	margin: 0 0 .6em;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.25em; }

ul, ol { margin: 0 0 1.25em; padding-left: 1.3em; }
li { margin-bottom: .4em; }

blockquote {
	margin: 1.6em 0;
	padding: 1em 1.4em;
	border-left: 4px solid var(--wpl-accent);
	background: var(--wpl-surface);
	border-radius: 0 var(--wpl-radius-sm) var(--wpl-radius-sm) 0;
	font-size: 1.1rem;
	color: var(--wpl-ink);
}
blockquote p:last-child { margin-bottom: 0; }

code, pre, kbd {
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	font-size: .92em;
}
code { background: var(--wpl-surface); padding: .15em .45em; border-radius: 6px; }
pre {
	background: var(--wpl-ink);
	color: #e6edf5;
	padding: 1.2em 1.4em;
	border-radius: var(--wpl-radius-sm);
	overflow-x: auto;
}
pre code { background: none; padding: 0; color: inherit; }

hr { border: 0; border-top: 1px solid var(--wpl-border); margin: 2.4em 0; }

table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
th, td { padding: .7em .9em; border: 1px solid var(--wpl-border); text-align: left; }
th { background: var(--wpl-surface); font-family: var(--wpl-font-head); }

::selection { background: var(--wpl-accent); color: #fff; }

/* ---------------------------------------------------------
   Layout helpers
   --------------------------------------------------------- */
.wpl-container {
	width: 100%;
	max-width: var(--wpl-container);
	margin-inline: auto;
	padding-inline: 24px;
}

.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;
}
.screen-reader-text:focus {
	background: #fff; color: var(--wpl-blue);
	clip: auto; clip-path: none;
	display: block; height: auto; width: auto;
	left: 6px; top: 6px; padding: 14px 22px;
	font-size: 1rem; z-index: 100000;
	border-radius: var(--wpl-radius-sm);
	box-shadow: var(--wpl-shadow);
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 6px; top: 6px; z-index: 100000; }

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.wpl-btn,
.wp-block-button__link,
button, input[type="submit"], input[type="button"], .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	font-family: var(--wpl-font-head);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1;
	padding: .95em 1.7em;
	border: 0;
	border-radius: 999px;
	background: var(--wpl-accent);
	color: #fff;
	cursor: pointer;
	transition: transform var(--wpl-transition), background var(--wpl-transition), box-shadow var(--wpl-transition);
	box-shadow: 0 8px 20px -8px rgba(255, 106, 43, .6);
}
.wpl-btn:hover,
.wp-block-button__link:hover,
button:hover, input[type="submit"]:hover, .button:hover {
	background: var(--wpl-accent-600);
	color: #fff;
	transform: translateY(-2px);
}
.wpl-btn--ghost {
	background: transparent;
	color: var(--wpl-blue);
	box-shadow: inset 0 0 0 2px var(--wpl-blue);
}
.wpl-btn--ghost:hover { background: var(--wpl-blue); color: #fff; }

/* ---------------------------------------------------------
   Forms
   --------------------------------------------------------- */
input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="tel"], input[type="number"], textarea, select {
	width: 100%;
	padding: .8em 1em;
	font: inherit;
	color: var(--wpl-text);
	background: #fff;
	border: 1px solid var(--wpl-border);
	border-radius: var(--wpl-radius-sm);
	transition: border-color var(--wpl-transition), box-shadow var(--wpl-transition);
}
input:focus, textarea:focus, select:focus {
	outline: none;
	border-color: var(--wpl-blue);
	box-shadow: 0 0 0 3px rgba(27, 95, 204, .15);
}

/* ---------------------------------------------------------
   Site header
   --------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: rgba(255, 255, 255, .9);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--wpl-border-soft);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: var(--wpl-header-h);
}
.site-branding { display: flex; align-items: center; }
.site-branding .custom-logo-link img,
.site-branding img { max-height: 46px; width: auto; }
.site-title {
	font-family: var(--wpl-font-head);
	font-size: 1.5rem;
	font-weight: 800;
	margin: 0;
	letter-spacing: -.02em;
}
.site-title a { color: var(--wpl-ink); }
.site-title .accent { color: var(--wpl-blue); }
.site-description { margin: 0; font-size: .8rem; color: var(--wpl-muted); }

/* Primary nav */
.main-navigation { display: flex; align-items: center; }
.main-navigation ul {
	display: flex;
	align-items: center;
	gap: 4px;
	list-style: none;
	margin: 0; padding: 0;
}
.main-navigation li { margin: 0; position: relative; }
.main-navigation a {
	display: block;
	padding: 10px 16px;
	font-family: var(--wpl-font-head);
	font-weight: 600;
	font-size: .98rem;
	color: var(--wpl-ink);
	border-radius: 999px;
}
.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: var(--wpl-blue);
	background: var(--wpl-surface);
}

/* Sub-menus */
.main-navigation ul ul {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 220px;
	flex-direction: column;
	gap: 0;
	background: #fff;
	border: 1px solid var(--wpl-border-soft);
	border-radius: var(--wpl-radius-sm);
	box-shadow: var(--wpl-shadow);
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: all var(--wpl-transition);
}
.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.main-navigation ul ul a { border-radius: 8px; }
.main-navigation ul ul li { width: 100%; }

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

.site-header.is-scrolled { box-shadow: 0 6px 24px -16px rgba(11, 31, 51, .5); }
.site-content--flush { padding: 0; }
/* Elementor-built pages: remove all theme width/centering so sections render as designed */
.entry-content--elementor,
.entry-content--elementor > * { max-width: none; margin-left: 0; margin-right: 0; }

/* Mobile menu toggle */
.menu-toggle {
	display: none;
	background: var(--wpl-ink);
	color: #fff;
	width: 46px; height: 46px;
	padding: 0;
	border-radius: 12px;
	box-shadow: none;
}
.menu-toggle .bar { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; transition: var(--wpl-transition); }

/* ---------------------------------------------------------
   Page hero (default for non-Elementor pages)
   --------------------------------------------------------- */
.page-hero {
	background:
		radial-gradient(1200px 400px at 80% -10%, rgba(27, 95, 204, .12), transparent 60%),
		radial-gradient(900px 360px at 0% 0%, rgba(255, 106, 43, .10), transparent 55%),
		var(--wpl-surface);
	padding: 64px 0 56px;
	border-bottom: 1px solid var(--wpl-border-soft);
}
.page-hero .eyebrow {
	display: inline-block;
	font-family: var(--wpl-font-head);
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--wpl-accent);
	margin-bottom: 12px;
}
.page-hero h1 { margin: 0; }
.page-hero .archive-description, .page-hero p { color: var(--wpl-muted); max-width: 640px; margin: 14px 0 0; }
.wpl-breadcrumbs { font-size: .85rem; color: var(--wpl-muted); margin-bottom: 14px; }
.wpl-breadcrumbs a { color: var(--wpl-muted); }
.wpl-breadcrumbs a:hover { color: var(--wpl-blue); }

/* ---------------------------------------------------------
   Content layout
   --------------------------------------------------------- */
.site-content { padding: 56px 0 72px; }
.content-area--with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 48px;
	align-items: start;
}
.content-area--full .entry-content { max-width: var(--wpl-content); margin-inline: auto; }

/* ---------------------------------------------------------
   Posts list / cards
   --------------------------------------------------------- */
.posts-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: var(--wpl-gap);
}
.post-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--wpl-border-soft);
	border-radius: var(--wpl-radius);
	overflow: hidden;
	transition: transform var(--wpl-transition), box-shadow var(--wpl-transition);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--wpl-shadow-lg); }
.post-card__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--wpl-surface); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card__thumb img { transform: scale(1.05); }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .82rem; color: var(--wpl-muted); margin-bottom: 10px; display: flex; gap: 14px; flex-wrap: wrap; }
.post-card__title { font-size: 1.3rem; margin: 0 0 10px; }
.post-card__title a { color: var(--wpl-ink); }
.post-card__title a:hover { color: var(--wpl-blue); }
.post-card__excerpt { color: var(--wpl-muted); margin-bottom: 18px; flex: 1; }
.post-card__more { font-family: var(--wpl-font-head); font-weight: 700; color: var(--wpl-blue); align-self: flex-start; }
.post-card__more::after { content: " →"; transition: var(--wpl-transition); }
.post-card__more:hover::after { margin-left: 4px; }

.cat-pill {
	display: inline-block;
	font-family: var(--wpl-font-head);
	font-size: .72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--wpl-blue);
	background: rgba(27, 95, 204, .1);
	padding: 4px 10px;
	border-radius: 999px;
}

/* ---------------------------------------------------------
   Single post / page
   --------------------------------------------------------- */
.entry-header { margin-bottom: 28px; }
.entry-title { margin: 0 0 14px; }
.entry-meta { font-size: .9rem; color: var(--wpl-muted); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.entry-meta .author-avatar { border-radius: 50%; width: 30px; height: 30px; }
.featured-media { margin: 0 0 32px; border-radius: var(--wpl-radius); overflow: hidden; box-shadow: var(--wpl-shadow); }
.entry-content { font-size: 1.06rem; }
.entry-content > * { margin-left: auto; margin-right: auto; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-content img { border-radius: var(--wpl-radius-sm); }
.entry-footer { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--wpl-border); display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; }
.tag-links a {
	display: inline-block; font-size: .82rem; padding: 4px 12px;
	background: var(--wpl-surface); border-radius: 999px; margin: 0 6px 6px 0; color: var(--wpl-muted);
}
.tag-links a:hover { background: var(--wpl-blue); color: #fff; }

.post-navigation { margin: 48px 0; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.post-navigation .nav-previous a,
.post-navigation .nav-next a { display: block; padding: 20px 24px; border: 1px solid var(--wpl-border-soft); border-radius: var(--wpl-radius); transition: var(--wpl-transition); height: 100%; }
.post-navigation .nav-previous a:hover,
.post-navigation .nav-next a:hover { box-shadow: var(--wpl-shadow); transform: translateY(-2px); }
.post-navigation .nav-subtitle { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--wpl-muted); margin-bottom: 6px; }
.post-navigation .nav-title { font-family: var(--wpl-font-head); font-weight: 700; color: var(--wpl-ink); }
.post-navigation .nav-next { text-align: right; }

/* Author box */
.author-box { display: flex; gap: 20px; align-items: flex-start; background: var(--wpl-surface); padding: 26px; border-radius: var(--wpl-radius); margin: 40px 0; }
.author-box img { border-radius: 50%; width: 64px; height: 64px; }
.author-box h4 { margin: 0 0 6px; }
.author-box p { margin: 0; color: var(--wpl-muted); }

/* ---------------------------------------------------------
   Comments
   --------------------------------------------------------- */
.comments-area { margin-top: 48px; }
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .children { list-style: none; margin-left: 28px; padding: 0; }
.comment-body { padding: 20px 0; border-bottom: 1px solid var(--wpl-border-soft); }
.comment-author { display: flex; align-items: center; gap: 12px; font-family: var(--wpl-font-head); font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: .8rem; color: var(--wpl-muted); margin: 4px 0 10px; }
.comment-respond { margin-top: 36px; background: var(--wpl-surface); padding: 30px; border-radius: var(--wpl-radius); }

/* ---------------------------------------------------------
   Sidebar / widgets
   --------------------------------------------------------- */
.widget-area .widget { margin-bottom: 36px; }
.widget-title { font-size: 1.15rem; margin-bottom: 18px; position: relative; padding-bottom: 12px; }
.widget-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 42px; height: 3px; background: var(--wpl-accent); border-radius: 3px; }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget ul li { padding: 9px 0; border-bottom: 1px solid var(--wpl-border-soft); }
.widget ul li a { color: var(--wpl-text); }
.widget ul li a:hover { color: var(--wpl-blue); }
.widget--cta { background: var(--wpl-ink); color: #cdd9e6; padding: 30px; border-radius: var(--wpl-radius); }
.widget--cta .widget-title { color: #fff; }
.widget--cta .widget-title::after { background: var(--wpl-accent); }

/* ---------------------------------------------------------
   Pagination
   --------------------------------------------------------- */
.wpl-pagination { margin-top: 48px; }
.wpl-pagination .nav-links,
.navigation.pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.wpl-pagination .page-numbers,
.navigation.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; height: 44px; padding: 0 12px;
	border-radius: 12px; border: 1px solid var(--wpl-border);
	font-family: var(--wpl-font-head); font-weight: 700; color: var(--wpl-ink);
}
.wpl-pagination .page-numbers.current,
.wpl-pagination .page-numbers:hover,
.navigation.pagination .page-numbers.current,
.navigation.pagination .page-numbers:hover { background: var(--wpl-blue); border-color: var(--wpl-blue); color: #fff; }
.navigation.pagination { margin-top: 48px; }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer { background: var(--wpl-ink); color: #aebccb; padding: 64px 0 0; }
.site-footer a { color: #cdd9e6; }
.site-footer a:hover { color: #fff; }
.footer-widgets {
	display: grid;
	grid-template-columns: 1.4fr repeat(3, 1fr);
	gap: 40px;
	padding-bottom: 48px;
}
.site-footer .widget-title { color: #fff; }
.site-footer .widget-title::after { background: var(--wpl-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 6px 0; border: 0; }
.footer-brand img { max-height: 42px; margin-bottom: 18px; }
.footer-brand p { color: #8fa0b3; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 50%;
	background: rgba(255, 255, 255, .08); color: #cdd9e6;
	transition: var(--wpl-transition);
}
.footer-social a:hover { background: var(--wpl-accent); color: #fff; transform: translateY(-2px); }
.site-info {
	border-top: 1px solid rgba(255, 255, 255, .1);
	padding: 24px 0;
	display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
	font-size: .88rem; color: #8fa0b3;
}

/* ---------------------------------------------------------
   404 / no results
   --------------------------------------------------------- */
.wpl-empty { text-align: center; padding: 60px 0; }
.wpl-empty .big-404 { font-family: var(--wpl-font-head); font-size: clamp(5rem, 18vw, 11rem); font-weight: 800; line-height: 1; color: var(--wpl-surface); -webkit-text-stroke: 2px var(--wpl-blue); }
.wpl-empty .search-form { max-width: 480px; margin: 28px auto 0; display: flex; gap: 10px; }

/* ---------------------------------------------------------
   WP core alignment / captions
   --------------------------------------------------------- */
.alignleft { float: left; margin: .5em 1.5em 1em 0; }
.alignright { float: right; margin: .5em 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .wp-block-image figcaption { font-size: .85rem; color: var(--wpl-muted); text-align: center; margin-top: 8px; }
.sticky .entry-title::before { content: "★ "; color: var(--wpl-accent); }
.bypostauthor { display: block; }

/* ---------------------------------------------------------
   Responsive
   --------------------------------------------------------- */
@media (max-width: 1024px) {
	.footer-widgets { grid-template-columns: 1fr 1fr; }
	.content-area--with-sidebar { grid-template-columns: 1fr; }
	.widget-area { margin-top: 48px; }
}

@media (max-width: 820px) {
	.menu-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
	.main-navigation {
		position: fixed;
		inset: var(--wpl-header-h) 0 auto 0;
		background: #fff;
		border-bottom: 1px solid var(--wpl-border);
		box-shadow: var(--wpl-shadow);
		padding: 16px 24px 24px;
		transform: translateY(-130%);
		transition: transform var(--wpl-transition);
		max-height: calc(100vh - var(--wpl-header-h));
		overflow-y: auto;
	}
	.main-navigation.is-open { transform: translateY(0); }
	.main-navigation ul { flex-direction: column; align-items: stretch; gap: 2px; }
	.main-navigation ul ul {
		position: static; opacity: 1; visibility: visible; transform: none;
		box-shadow: none; border: 0; padding: 0 0 0 16px; background: transparent;
	}
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.entry-footer { flex-direction: column; }
}

@media (max-width: 560px) {
	body { font-size: 16px; }
	.footer-widgets { grid-template-columns: 1fr; gap: 32px; }
	.site-content { padding: 36px 0 48px; }
	.page-hero { padding: 44px 0 38px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
