/*
Theme Name: msg
Theme URI: https://wordpress.org/themes/ho/
Author: Henry Kweku aMOAH - +233243818256
Email: amoahhenry@gmail.com
Author URI: https://marketplacesimulationsgh.com/
Description: The Official Theme for marketplacesimulationsgh
Version: 2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentyseventeen
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Normalize
2.0 Accessibility
3.0 Alignments
4.0 Clearings
5.0 Typography
6.0 Forms
7.0 Formatting
8.0 Lists
9.0 Tables
10.0 Links
11.0 Featured Image Hover
12.0 Navigation
13.0 Layout
   13.1 Header
   13.2 Front Page
   13.3 Regular Content
   13.4 Posts
   13.5 Pages
   13.6 Footer
14.0 Comments
15.0 Widgets
16.0 Media
   16.1 Galleries
17.0 Customizer
18.0 SVGs Fallbacks
19.0 Media Queries
20.0 Print
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Normalize
Styles based on Normalize v5.0.0 @link https://github.com/necolas/normalize.css
--------------------------------------------------------------*/


/*!
 * jQuery UI CSS Framework 1.8.23
 *
 * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about)
 * Dual licensed under the MIT or GPL Version 2 licenses.
 * http://jquery.org/license
 *
 * http://docs.jquery.com/UI/Theming/API
 */

/* Layout helpers
----------------------------------*/
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a3c6e;
    --primary-dark: #0f2849;
    --accent: #e8542f;
    --accent-hover: #d4431f;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f7f9fc;
    --border: #e0e6ed;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.highlight {
    color: var(--accent);
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.logo {
  font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.logo-icon {
    color: var(--accent);
    font-size: 1.2rem;
}

.logo-highlight {
    color: var(--accent);
}

.logo-gh {
    font-size: 0.8rem;
    background: var(--accent);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
    vertical-align: super;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown > a i {
    font-size: 0.6rem;
    margin-left: 3px;
    transition: var(--transition);
}

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    color: var(--text);
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: var(--light-bg);
    color: var(--accent);
}

.dropdown-menu li a::after {
    display: none;
}

/* Mega Menu */
.mega-menu {
    position: fixed;
    top: 75px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--white);
    width: 960px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.dropdown-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-col h4 {
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 0.3rem;
    padding-bottom: 0.3rem;
    border-bottom: 2px solid var(--accent);
    font-weight: 700;
}

.mega-col > p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.mega-col ul {
    list-style: none;
}

.mega-col ul li a {
    display: block;
    padding: 0.35rem 0.8rem;
    font-size: 0.85rem;
    color: var(--text);
    transition: var(--transition);
}

.mega-col ul li a::after {
    display: none;
}

.mega-col ul li a::before {
    content: '›';
    color: var(--accent);
    font-weight: 700;
    margin-right: 6px;
}

.mega-col ul li a:hover {
    background: var(--light-bg);
    color: var(--accent);
}

.nav-buttons {
    display: flex;
    gap: 0.8rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 84, 47, 0.35);
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 800px;
    display: flex;
    align-items: center;
    padding-top: 75px;
    overflow: hidden;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 40, 73, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 4rem 0;
}

.hero-text {
    display: none;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-text.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-slide-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 3;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero-indicator.active {
    background: var(--accent);
    border-color: var(--accent);
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.2rem;
}

.hero-title {
    color: var(--white);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    color: var(--accent);
}

.hero-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* ===== Sections ===== */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header h2 {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Competition Section */
.section-competition {
    background: var(--white);
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Features Section */
.section-features {
    background: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent), #ff7b5a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 1.6rem;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Stats Section */
.section-stats {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    text-align: center;
}

.section-stats h2 {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 3rem;
}

.section-stats .highlight {
    color: var(--accent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Testimonials Section */
.section-testimonials {
    background: var(--white);
}

.testimonials-slider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.testimonials-track-wrapper {
    overflow: hidden;
    flex: 1;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    background: var(--light-bg);
    padding: 3rem 2.5rem;
    border-radius: var(--radius);
    text-align: center;
    box-sizing: border-box;
}

.quote-icon {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.testimonial-text {
    color: var(--text);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.author-avatar i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.testimonial-author strong {
    display: block;
    color: var(--primary);
    font-size: 1rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.85rem;
}

.testimonial-nav {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.testimonial-nav:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.testimonial-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* Game Plan Section */
.section-gameplan {
    background: var(--light-bg);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--accent), #ff7b5a);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

.step-card a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.step-card a:hover {
    text-decoration: underline;
}

.step-note {
    font-size: 0.85rem !important;
    margin-top: 0.8rem;
    font-style: italic;
}

/* Privacy Section */
.section-privacy {
    background: var(--white);
    padding: 5rem 0;
}

.privacy-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.privacy-badge i {
    font-size: 2rem;
    color: var(--white);
}

.section-privacy h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-privacy p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-about {
   font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.65);
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.contact-info li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.contact-info i {
    color: var(--accent);
    font-size: 0.85rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-languages {
    display: flex;
    gap: 1rem;
}

.footer-languages a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-languages a.active,
.footer-languages a:hover {
    color: var(--accent);
}

/* ===== Single Post Page (VCTF-inspired, MSG branding) ===== */

/* --- Hero Banner --- */
.sp-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    padding-top: 75px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.sp-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    z-index: 0;
}

.sp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 40, 73, 0.55) 0%, rgba(15, 40, 73, 0.92) 100%);
    z-index: 1;
}

.sp-hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* --- Breadcrumb --- */
.sp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.sp-breadcrumb a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    font-size: 0.85rem !important;
    font-weight: 500;
    transition: var(--transition);
}

.sp-breadcrumb a:hover {
    color: var(--accent) !important;
}

.sp-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.55rem;
}

.sp-breadcrumb-active {
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.85rem;
    font-weight: 500;
}

/* --- Hero Title & Meta --- */
.sp-hero-title {
    color: var(--white);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    max-width: 820px;
}

.sp-hero-meta {
    display: flex;
    align-items: center;
    gap: 1.8rem;
    flex-wrap: wrap;
}

.sp-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 400;
}

.sp-hero-meta span i {
    color: var(--accent);
    font-size: 0.85rem;
}

/* --- Content Body --- */
.sp-body {
    background: var(--light-bg);
    padding: 4rem 0 5rem;
}

.sp-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    align-items: start;
}

/* --- Article Card --- */
.sp-article {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.sp-featured-img {
    width: 100%;
    overflow: hidden;
}

.sp-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Content Area --- */
.sp-content {
    padding: 2.5rem 2.5rem 2rem;
    font-family: 'Poppins', sans-serif;
}

.sp-content p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 1.3rem;
    text-align: justify;
}

.sp-content h1,
.sp-content h2,
.sp-content h3,
.sp-content h4,
.sp-content h5,
.sp-content h6 {
    color: var(--primary);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.sp-content h2 { font-size: 1.6rem; }
.sp-content h3 { font-size: 1.3rem; }
.sp-content h4 { font-size: 1.15rem; }

.sp-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.sp-content a {
    color: var(--accent) !important;
    font-weight: 500;
    text-decoration: underline !important;
    font-size: inherit !important;
}

.sp-content a:hover {
    color: var(--accent-hover) !important;
}

.sp-content blockquote {
    border-left: 4px solid var(--accent);
    padding: 1.2rem 1.5rem;
    margin: 1.8rem 0;
    background: var(--light-bg);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-light);
}

.sp-content ul,
.sp-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.3rem;
}

.sp-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

/* --- Tags --- */
.sp-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 1.5rem 2.5rem;
    border-top: 1px solid var(--border);
}

.sp-tags > i {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-right: 0.3rem;
}

.sp-tags a {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    background: var(--light-bg);
    color: var(--text) !important;
    font-size: 0.8rem !important;
    font-weight: 500;
    border-radius: 50px;
    text-decoration: none !important;
    transition: var(--transition);
}

.sp-tags a:hover {
    background: var(--accent);
    color: var(--white) !important;
}

/* --- Share Bar --- */
.sp-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 2.5rem;
    border-top: 1px solid var(--border);
}

.sp-share-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sp-share-links {
    display: flex;
    gap: 0.6rem;
}

.sp-share-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: var(--transition);
}

.sp-share-links a:hover {
    background: var(--accent);
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* --- Post Navigation --- */
.sp-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border);
}

.sp-nav-link {
    display: block;
    padding: 1.5rem 2.5rem;
    text-decoration: none !important;
    transition: var(--transition);
}

.sp-nav-link:hover {
    background: var(--light-bg);
}

.sp-nav-prev {
    border-right: 1px solid var(--border);
}

.sp-nav-next {
    text-align: right;
}

.sp-nav-dir {
    display: block;
    font-size: 0.78rem;
    color: var(--accent) !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.sp-nav-title {
    display: block;
    color: var(--primary) !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    line-height: 1.4;
}

/* --- Sidebar --- */
.sp-sidebar {
    position: sticky;
    top: 100px;
}

.sp-sidebar .widget {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.sp-sidebar .widget-title,
.sp-sidebar h2 {
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.7rem;
    border-bottom: 3px solid var(--accent);
}

.sp-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-sidebar ul li {
    margin-bottom: 0.55rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid var(--border);
}

.sp-sidebar ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sp-sidebar ul li a {
    color: var(--text) !important;
    text-decoration: none !important;
    font-size: 0.88rem !important;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
}

.sp-sidebar ul li a:hover {
    color: var(--accent) !important;
    padding-left: 5px;
}

.sp-sidebar img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin-bottom: 1rem;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .sp-grid {
        grid-template-columns: 1fr;
    }

    .sp-hero-title {
        font-size: 2.1rem;
    }

    .sp-hero {
        min-height: 340px;
    }

    .sp-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .sp-hero {
        min-height: 280px;
    }

    .sp-hero-title {
        font-size: 1.6rem;
    }

    .sp-hero-meta {
        gap: 1rem;
    }

    .sp-hero-meta span {
        font-size: 0.8rem;
    }

    .sp-content {
        padding: 1.5rem;
    }

    .sp-content p {
        font-size: 1rem;
    }

    .sp-tags,
    .sp-share {
        padding: 1.2rem 1.5rem;
    }

    .sp-share {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }

    .sp-post-nav {
        grid-template-columns: 1fr;
    }

    .sp-nav-link {
        padding: 1.2rem 1.5rem;
    }

    .sp-nav-prev {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .sp-nav-next {
        text-align: left;
    }

    .sp-body {
        padding: 2rem 0 3rem;
    }
}

@media (max-width: 480px) {
    .sp-hero-title {
        font-size: 1.35rem;
    }

    .sp-hero-inner {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .sp-content p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-header h2,
    .section-stats h2 {
        font-size: 1.9rem;
    }

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

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav {
        display: none;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        text-align: center;
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .nav-buttons .btn {
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        background: var(--light-bg);
        border-radius: 8px;
        margin-top: 0.5rem;
        padding: 0.5rem 0;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .mega-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-radius: 8px;
        padding: 1rem;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        grid-template-columns: 1fr;
        gap: 1rem;
        background: var(--light-bg);
        margin-top: 0.5rem;
    }

    .dropdown-mega.open .mega-menu {
        display: grid;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        display: none;
        position: static;
        transform: none;
        box-shadow: none;
        width: 100%;
    }

    .dropdown.open:hover .dropdown-menu,
    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-mega:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        display: none;
        position: static;
        transform: none;
        box-shadow: none;
        width: 100%;
    }

    .dropdown-mega.open:hover .mega-menu,
    .dropdown-mega.open .mega-menu {
        display: grid;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }

    .features-grid,
    .steps-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-nav {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .section-header h2,
    .section-stats h2 {
        font-size: 1.6rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
    }

    .section {
        padding: 4rem 0;
    }

    .section-header h2,
    .section-stats h2 {
        font-size: 1.4rem;
    }
}
