:root {
    --primary: var(--e-global-color-primary, #4f46e5);
    --primary-hover: var(--e-global-color-primary, #4338ca);
    --secondary: var(--e-global-color-secondary, #1e293b);
    --text: var(--e-global-color-text, #0f172a);
    --muted: #64748b;
    --bg: #f8fafc;
    --surface: #ffffff;
    --border: #e2e8f0;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    
    /* Advanced Premium Variables */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-blur: blur(12px);
    --glass-border: rgba(255, 255, 255, 0.4);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--e-global-typography-text-font-family, 'Inter', system-ui, -apple-system, sans-serif);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
}

.pl-container {
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px;
}

.pl-section {
    margin-bottom: 100px;
}

.pl-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.pl-subtitle {
    font-size: 1.125rem;
    color: var(--muted);
    /* max-width: 600px; */
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Advanced Text Utilities */
.pl-text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pl-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.pl-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(79, 70, 229, 0.2);
}

.pl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--gradient-primary);
    color: #ffffff;
    font-weight: 700;
    border-radius: 50px; /* Modern Pill Shape */
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.pl-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
}

/* Premium Theme Default Header */
.site-header {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.site-header .pl-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

/* --- Single Post Styles --- */
.pl-single-hero {
    position: relative;
    overflow: hidden;
}

.pl-single-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pl-single-category a {
    color: var(--primary);
    text-decoration: none;
}

.pl-single-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 800;
}

/* Style 1: Modern Hero */
.pl-single-style-1 .pl-single-hero {
    padding: 80px 0;
    background: #f8fafc;
}

.pl-single-style-1 .pl-single-header {
    max-width: 800px;
    margin-bottom: 50px;
}

.pl-single-style-1 .pl-single-hero-image {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.pl-single-style-1 .pl-single-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Style 2: Glass Overlay */
.pl-single-style-2 .pl-single-hero {
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: #fff;
}

.pl-single-style-2 .pl-single-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.pl-single-style-2 .pl-single-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
}

.pl-single-style-2 .pl-single-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pl-glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 50px;
    border-radius: 24px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.pl-single-style-2 .pl-single-meta {
    justify-content: center;
}

.pl-single-style-2 .pl-single-title {
    color: #fff;
}

/* Style 3: Clean Focus */
.pl-single-style-3 .pl-single-header {
    max-width: 800px;
    margin: 80px auto 40px;
    text-align: center;
}

.pl-single-style-3 .pl-single-meta {
    justify-content: center;
}

.pl-single-style-3 .pl-single-featured-image {
    max-width: 900px;
    margin: 0 auto 60px;
    border-radius: 16px;
    overflow: hidden;
}

/* Content Layout */
.pl-single-content-wrapper {
    max-width: 800px;
    margin: 60px auto 100px;
}

.pl-single-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #334155;
}

.pl-single-content p {
    margin-bottom: 30px;
}

.pl-single-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pl-single-share {
    display: flex;
    gap: 15px;
    align-items: center;
    font-weight: 700;
}

.pl-single-share a {
    color: #64748b;
    font-size: 1.2rem;
    transition: var(--transition);
}

.pl-single-share a:hover {
    color: var(--primary);
}

/* Premium Theme Default Footer */
.pl-footer {
    background: var(--secondary);
    color: #cbd5e1;
    padding: 80px 0 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.pl-footer-widgets {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.pl-footer-col h2.widget-title,
.pl-footer-col .pl-footer-logo-text {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.pl-footer-logo-img {
    max-height: 45px;
    margin-bottom: 20px;
}

.pl-footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.pl-footer-social {
    display: flex;
    gap: 12px;
}

.pl-footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.pl-footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.pl-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pl-footer-col ul li {
    margin-bottom: 12px;
}

.pl-footer-col ul li a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.pl-footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.pl-footer-contact li {
    display: flex;
    gap: 12px;
    align-items: center;
}

.pl-footer-contact i {
    color: var(--primary);
}

.pl-footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.pl-footer-bottom-links {
    display: flex;
    gap: 24px;
}

.pl-footer-bottom-links a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.pl-footer-bottom-links a:hover {
    color: #fff;
}

@media (max-width: 1024px) {
    .pl-footer-widgets {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pl-footer-widgets {
        grid-template-columns: 1fr;
    }
    .pl-footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


.pl-offcanvas-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--muted);
    transition: var(--transition);
}

.pl-offcanvas-close:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

.pl-offcanvas ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pl-offcanvas li {
    margin-bottom: 20px;
}

.pl-offcanvas a {
    text-decoration: none;
    color: var(--secondary);
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}

.pl-offcanvas a:hover {
    color: var(--primary);
    padding-left: 5px;
}

/* Overlay & Toggle */
.pl-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pl-overlay.active {
    display: block;
    opacity: 1;
}

.pl-offcanvas-toggle {
    font-size: 24px;
    cursor: pointer;
    color: var(--secondary);
    transition: var(--transition);
}

.pl-offcanvas-toggle:hover {
    color: var(--primary);
}

/* Mega Menu Basic */
.menu-item-has-mega>ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 600px;
    background: #fff;
    display: none;
    padding: 20px;
    grid-template-columns: repeat(3, 1fr);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.menu-item-has-mega:hover>ul {
    display: grid;
}

/* Mobile Adjustments */
@media (max-width: 768px) {

    .pl-nav,
    .pl-cta {
        display: none;
    }
}

/* Titles Widget Styles */
.pl-titles-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.pl-subtitle {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.pl-title {
    margin: 0 0 15px;
}

.pl-page-banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(15, 23, 42, 0.08));
    border-bottom: 1px solid var(--border);
}

.pl-page-banner.has-banner-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #ffffff;
}

.pl-page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.76), rgba(79, 70, 229, 0.5));
    opacity: 0;
}

.pl-page-banner.has-banner-image .pl-page-banner-overlay {
    opacity: 1;
}

.pl-page-banner-inner {
    position: relative;
    z-index: 1;
    padding-top: 64px;
    padding-bottom: 64px;
}

.pl-page-banner .pl-breadcrumbs {
    margin-bottom: 18px;
}

.pl-page-banner .pl-breadcrumbs,
.pl-page-banner .pl-breadcrumbs a,
.pl-page-banner .pl-breadcrumb-current {
    color: inherit;
}

.pl-page-banner-title {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: inherit;
}

.pl-page-banner-subtitle {
    max-width: 760px;
    margin: 16px 0 0;
    font-size: 1.05rem;
    line-height: 1.8;
    color: inherit;
    opacity: 0.92;
}

.pl-page-content {
    /* padding-top: 56px;
    padding-bottom: 56px; */
}

.pl-breadcrumbs {
    font-size: 0.92rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.pl-breadcrumbs a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.pl-bread-sep {
    color: rgba(100, 116, 139, 0.6);
}

.pl-single-banner-image {
    margin-top: 56px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.pl-single-banner-image img {
    width: 100%;
    height: auto;
    display: block;
}

.pl-title-accent {
    color: var(--primary);
}

.pl-description {
    font-size: 1.125rem;
    color: var(--muted);
    line-height: 1.7;
    margin-top: 10px;
}
