﻿/**
 * Anzedu Bootstrap Theme - Custom Styles
 * @package Anzedu_Bootstrap_Theme
 * @since 1.0.0
 */

/* ========================================
   ROOT & GLOBAL VARIABLES
   ======================================== */

:root {
    --white: #ffffff;
    --dark-purple: #34195c;
    --darker-purple: #2a1449;
    --blue-primary: #4a6cf7;
    --text-purple: #2d1b69;
    --gray-light: #f8f9fa;
    --gray-medium: #e9ecef;
    --gray-dark: #6c757d;
    --text-color: #333333;
    --border-color: #dee2e6;
    --transition-speed: 0.3s;
    --border-radius-large: 1.5rem;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
}

/* ========================================
   BASE TYPOGRAPHY & COLORS
   ======================================== */

* {
    margin: 0;
    padding: 0;
}

html,
body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

body {
    font-size: 1rem;
    font-weight: 400;
}

/* ========================================
   HEADINGS
   ======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-purple);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

h5 {
    font-size: 1.25rem;
}

h6 {
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--blue-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--text-purple);
    text-decoration: underline;
}

/* ========================================
   HEADER & NAVBAR
   ======================================== */

.anzedu-navbar {
    padding: 1.25rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
}

.anzedu-navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
}

.navbar-brand,
.navbar-brand-wrapper {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-purple);
    transition: color var(--transition-speed) ease;
}

.navbar-brand:hover {
    color: var(--blue-primary);
    text-decoration: none;
}

.brand-text {
    letter-spacing: 0.5px;
}

.logo-img {
    max-height: 100px;
    width: auto;
    display: block;
}

/* Navigation Menu */
.navbar-nav-wrapper {
    display: flex;
    align-items: center;
}

.navbar-nav {
    gap: 1.5rem !important;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-purple) !important;
    padding: 0.5rem 0 !important;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-speed) ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--blue-primary) !important;
}

/* Fallback Menu Styling (wp_page_menu) */
.page_item {
    list-style: none;
    display: inline-flex;
    margin-right: 1.5rem;
}

.page_item a {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-purple);
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

.page_item a:hover,
.page_item a:focus {
    color: var(--blue-primary);
    border-bottom-color: var(--blue-primary);
}

.page_item.current_page_item a {
    color: var(--blue-primary);
    border-bottom-color: var(--blue-primary);
    border-bottom-color: var(--blue-primary);
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-large);
    padding: 1rem 0;
    animation: fadeIn var(--transition-speed) ease;
}

.dropdown-menu .nav-link {
    padding: 0.5rem 1.5rem !important;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.95rem;
    color: var(--text-color) !important;
}

.dropdown-menu .nav-link:hover {
    background-color: var(--gray-light);
}

/* Search Button */
.search-button-wrapper {
    display: flex;
    align-items: center;
}

.btn-search {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--blue-primary);
    border: 2px solid var(--blue-primary);
    color: white;
    font-size: 1.1rem;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
}

.btn-search:hover {
    background-color: var(--text-purple);
    border-color: var(--text-purple);
    transform: scale(1.05);
}

/* Mobile Hamburger */
.navbar-toggler {
    border: none !important;
    padding: 0.25rem 0.5rem !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232d1b69' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================================
   SEARCH OFFCANVAS
   ======================================== */

.anzedu-search-offcanvas {
    background: linear-gradient(135deg, #f4f1fb 0%, #ffffff 100%);
    padding: 0 !important;
}

.anzedu-search-offcanvas .offcanvas-header {
    padding: 2rem 2rem 1.5rem 2rem;
    border-bottom: 2px solid #e8edff;
}

.anzedu-search-offcanvas .offcanvas-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-purple);
    letter-spacing: -0.5px;
}

.anzedu-search-offcanvas .btn-close {
    width: 2rem;
    height: 2rem;
    opacity: 0.7;
    transition: opacity var(--transition-speed) ease;
}

.anzedu-search-offcanvas .btn-close:hover {
    opacity: 1;
}

.anzedu-search-offcanvas .offcanvas-body {
    padding: 3rem 2rem !important;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.anzedu-search-offcanvas .offcanvas-body .container {
    width: 100%;
    max-width: 700px;
    padding: 0;
}

.search-form {
    width: 100%;
}

.search-form-wrapper {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.search-input {
    border: 2px solid #e8edff;
    border-radius: var(--border-radius-large);
    padding: 1.1rem 1.75rem;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--text-purple);
    background-color: #ffffff;
    transition: all var(--transition-speed) ease;
    flex: 1;
    min-width: 0;
}

.search-input::placeholder {
    color: #9b8bc4;
}

.search-input:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 0.25rem rgba(74, 108, 247, 0.15);
    outline: none;
}

.search-form-wrapper .btn-primary {
    padding: 1.1rem 2.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: var(--border-radius-large);
    transition: all var(--transition-speed) ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.search-form-wrapper .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 108, 247, 0.3);
}

.search-form-wrapper .btn-primary:active {
    transform: translateY(0);
}

/* ========================================
   FOOTER
   ======================================== */

.anzedu-footer {
    margin-top: 5rem;
}

.bg-dark-purple {
    background-color: var(--dark-purple) !important;
}

.bg-darker-purple {
    background-color: var(--darker-purple) !important;
}

/* Newsletter Section */
.newsletter-section {
    display: flex;
    align-items: center;
}

.newsletter-heading {
    font-size: 1.75rem;
    font-weight: 700;
}

.newsletter-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
}

.newsletter-form {
    margin-top: 2rem;
}

.newsletter-input-group {
    overflow: hidden;
    border-radius: var(--border-radius-large);
}

.newsletter-input-group .form-control {
    border: none;
    border-radius: 0;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

.newsletter-input-group .form-control::placeholder {
    color: #999;
}

.newsletter-input-group .form-control:focus {
    box-shadow: none;
    border-color: var(--blue-primary);
}

.btn-rounded {
    border-radius: var(--border-radius-large);
    white-space: nowrap;
    padding: 0.75rem 2rem;
}

/* Footer Navigation */
.footer-navigation {
    margin-top: 1rem;
}

.footer-menu-title {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-menu,
.footer-info-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li,
.footer-info-links li {
    margin-bottom: 0.75rem;
}

.footer-menu a,
.footer-info-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: color var(--transition-speed) ease;
}

.footer-menu a:hover,
.footer-info-links a:hover {
    color: var(--white);
    text-decoration: underline;
}

/* Footer Bottom */
.footer-disclaimer {
    font-size: 0.85rem;
}

.footer-disclaimer a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-disclaimer a:hover {
    color: var(--white);
}

.text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    font-weight: var(--font-weight-semibold);
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    transition: all var(--transition-speed) ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    border: none;
}

.btn-primary {
    background-color: var(--blue-primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--text-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 108, 247, 0.3);
}

.btn-outline-primary {
    color: var(--blue-primary);
    border: 2px solid var(--blue-primary);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--blue-primary);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* ========================================
   CARDS
   ======================================== */

.card {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-large);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) ease;
    overflow: hidden;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.card-img-wrapper {
    overflow: hidden;
    height: 250px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
}

.card-title a {
    color: var(--text-purple);
}

.card-title a:hover {
    color: var(--blue-primary);
    text-decoration: none;
}

.card-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-purple);
    line-height: 1.2;
}

.hero-excerpt {
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-image {
    animation: fadeInRight 0.6s ease;
}

/* ========================================
   SECTIONS
   ======================================== */

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-purple);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-dark);
}

/* Featured Posts Section */
.featured-posts {
    background-color: var(--gray-light);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--blue-primary) 0%, var(--text-purple) 100%);
    color: white;
}

.cta-title {
    font-size: 2.25rem;
    color: white;
    font-weight: 700;
}

.cta-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   POSTS & ARTICLES
   ======================================== */

.post-item {
    transition: all var(--transition-speed) ease;
}

.post-card {
    border: 1px solid var(--border-color);
}

.post-title-link {
    color: var(--text-purple);
    text-decoration: none;
}

.post-title-link:hover {
    color: var(--blue-primary);
}

.entry-meta {
    font-size: 0.85rem;
    color: var(--gray-dark);
}

.entry-meta a {
    color: var(--gray-dark);
    text-decoration: none;
}

.entry-meta a:hover {
    color: var(--blue-primary);
    text-decoration: underline;
}

/* Single Post Article */
.single-post-article {
    background-color: var(--white);
}

.entry-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 2rem;
}

.entry-image {
    border-radius: var(--border-radius-large);
    overflow: hidden;
}

.entry-image img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

/* Related Posts */
.related-posts {
    background-color: var(--gray-light);
    padding: 2rem;
    border-radius: var(--border-radius-large);
}

.related-posts-title {
    font-size: 1.5rem;
    color: var(--text-purple);
    font-weight: 700;
}

/* ========================================
   SIDEBAR
   ======================================== */

.primary-sidebar {
    margin-top: 0;
}

.widget {
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-large);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.widget-title {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--text-purple);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

/* ========================================
   PAGINATION
   ======================================== */

.pagination {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.page-link {
    color: var(--blue-primary);
    border-color: var(--border-color);
    border-radius: 0.5rem;
    margin: 0 0.25rem;
    transition: all var(--transition-speed) ease;
}

.page-link:hover {
    background-color: var(--blue-primary);
    border-color: var(--blue-primary);
    color: white;
}

.page-link.active {
    background-color: var(--blue-primary);
    border-color: var(--blue-primary);
}

/* ========================================
   BREADCRUMBS
   ======================================== */

.breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.breadcrumb-item {
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--blue-primary);
}

.breadcrumb-item a:hover {
    color: var(--text-purple);
}

.breadcrumb-item.active {
    color: var(--gray-dark);
}

/* ========================================
   COMMENTS
   ======================================== */

.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.comments-title {
    font-size: 1.5rem;
    color: var(--text-purple);
    font-weight: 700;
    margin-bottom: 2rem;
}

.comment {
    border-left: 4px solid var(--border-color);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
    background-color: var(--gray-light);
}

.comment-author {
    font-weight: var(--font-weight-semibold);
}

.comment-meta {
    font-size: 0.9rem;
    color: var(--gray-dark);
    margin-bottom: 0.5rem;
}

/* ========================================
   FORMS
   ======================================== */

.form-control {
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all var(--transition-speed) ease;
}

.form-control:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 0.25rem rgba(74, 108, 247, 0.15);
}

.form-label {
    font-weight: var(--font-weight-semibold);
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* ========================================
   UTILITY CLASSES
   ======================================== */

.text-primary {
    color: var(--blue-primary) !important;
}

.text-purple {
    color: var(--text-purple) !important;
}

.bg-light {
    background-color: var(--gray-light) !important;
}

.rounded-3 {
    border-radius: var(--border-radius-large) !important;
}

/* Spacing Overrides */
.py-7 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

@media (max-width: 768px) {
    .py-7 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 991px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .h1, h1 {
        font-size: 2rem;
    }

    .h2, h2 {
        font-size: 1.5rem;
    }

    .navbar-nav {
        gap: 0.5rem !important;
        flex-direction: column;
        padding: 1rem 0;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .newsletter-input-group .form-control,
    .newsletter-input-group .btn {
        border-radius: 0.5rem !important;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .px-lg-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    .card-img-wrapper {
        height: 200px;
    }

    .hero-section {
        padding: 2rem 0 !important;
    }
}

/* ========================================
   ARTICLE PAGE STYLES
   ======================================== */

/* Hero Section */
.article-hero-section {
    margin-top: 80px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-purple);
}

.hero-image-wrapper {
    display: block;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(52, 25, 92, 0.1);
}

.author-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--dark-purple);
}

.author-role {
    font-size: 0.875rem;
    color: var(--text-purple);
    opacity: 0.8;
}

.partnership-line {
    border-top: 1px solid rgba(52, 25, 92, 0.1);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Article Body */
.article-body-section {
    margin: 0;
    padding: 0;
}

.article-content {
    line-height: 1.8;
    color: var(--text-color);
}

.article-content h2 {
    color: var(--dark-purple);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    padding-top: 1rem;
}

.article-content h3 {
    color: var(--text-purple);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.article-content a {
    color: var(--blue-primary);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.article-content a:hover {
    color: var(--dark-purple);
    text-decoration: underline;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 2rem 0;
    box-shadow: 0 8px 30px rgba(52, 25, 92, 0.1);
    display: block;
}

.article-content blockquote {
    border-left: 4px solid var(--blue-primary);
    padding: 1.5rem;
    margin: 2rem 0;
    background: rgba(74, 108, 247, 0.05);
    border-radius: 0.5rem;
    font-style: italic;
    color: var(--text-purple);
}

/* Sticky Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 100px;
    z-index: 99;
}

.toc-card {
    background: #f4f1fb;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 2px solid rgba(74, 108, 247, 0.1);
    margin-bottom: 1.5rem;
}

.toc-title {
    color: var(--dark-purple);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.toc-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-nav li {
    margin-bottom: 0.75rem;
}

.toc-nav a {
    color: var(--blue-primary);
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    padding: 0.5rem 0.75rem;
    border-left: 3px solid transparent;
    transition: all var(--transition-speed);
}

.toc-nav a:hover {
    color: var(--dark-purple);
    border-left-color: var(--blue-primary);
    padding-left: 1rem;
}

/* Product Card */
.product-card {
    background: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(52, 25, 92, 0.12);
    border: 1px solid rgba(74, 108, 247, 0.1);
    margin-bottom: 1.5rem;
}

.discount-badge {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-image {
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1rem;
    aspect-ratio: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-name {
    color: var(--dark-purple);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.product-description {
    color: var(--text-purple);
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.product-rating {
    color: #f39c12;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.product-rating small {
    display: block;
    color: var(--text-purple);
    opacity: 0.6;
    margin-top: 0.5rem;
}

.product-pricing {
    background: rgba(74, 108, 247, 0.05);
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.5rem;
}

.price-row:not(:last-child) {
    border-bottom: 1px solid rgba(52, 25, 92, 0.1);
}

.product-cta {
    transition: all var(--transition-speed);
}

.product-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 108, 247, 0.3);
}

.newsletter-card {
    background: linear-gradient(135deg, var(--blue-primary) 0%, #3855d8 100%);
    color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.newsletter-card h6 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.newsletter-card p {
    font-size: 0.9rem;
    opacity: 0.95;
    margin-bottom: 1rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-form input {
    padding: 0.65rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.9rem;
}

.newsletter-form button {
    padding: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* Comparison Table */
.comparison-table-section {
    margin-bottom: 3rem;
}

.table-responsive {
    overflow-x: auto;
    border-radius: 1rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 1rem;
    overflow: hidden;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--blue-primary) 100%);
    color: white;
}

.comparison-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 700;
    border: 1px solid rgba(52, 25, 92, 0.2);
}

.comparison-table td {
    padding: 1rem;
    border: 1px solid rgba(52, 25, 92, 0.1);
    color: var(--text-color);
}

.comparison-table tbody tr:nth-child(even) {
    background-color: #f4f1fb;
}

.comparison-table tbody tr:nth-child(odd) {
    background-color: white;
}

.comparison-table tbody tr:hover {
    background-color: rgba(74, 108, 247, 0.08);
}

.table-note {
    color: var(--text-purple);
    opacity: 0.7;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Newsletter CTA Section */
.newsletter-cta-section {
    margin: 3rem 0;
}

.newsletter-cta-section form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-cta-section input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.95rem;
}

.newsletter-cta-section button {
    background: white;
    color: var(--blue-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.newsletter-cta-section button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Author Box */
.author-box {
    background: #f4f1fb;
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    display: flex;
    gap: 1.5rem;
}

.author-box-avatar {
    flex-shrink: 0;
}

.author-box-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-box h5 {
    color: var(--dark-purple);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.author-box p {
    color: var(--text-purple);
    opacity: 0.8;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Social Share Section */
.social-share-section {
    margin: 2rem 0;
    padding: 2rem 0;
    border-top: 1px solid rgba(52, 25, 92, 0.1);
    border-bottom: 1px solid rgba(52, 25, 92, 0.1);
}

.social-share-section h5 {
    color: var(--dark-purple);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.social-share-section .btn {
    border-color: var(--blue-primary);
    color: var(--blue-primary);
    transition: all var(--transition-speed);
}

.social-share-section .btn:hover {
    background-color: var(--blue-primary);
    color: white;
}

/* Related Posts Section */
.related-posts-section {
    margin-top: 4rem;
    padding-top: 2rem;
}

.related-posts-title {
    color: var(--dark-purple);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.related-post-card {
    display: flex;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(52, 25, 92, 0.08);
    transition: all var(--transition-speed);
    border: 1px solid rgba(74, 108, 247, 0.1);
}

.related-post-card:hover {
    box-shadow: 0 8px 25px rgba(52, 25, 92, 0.15);
    transform: translateY(-4px);
}

.related-post-image {
    flex: 0 0 40%;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.related-post-card:hover .related-post-image img {
    transform: scale(1.05);
}

.related-post-content {
    flex: 1;
    padding: 1.5rem;
    background: white;
    display: flex;
    flex-direction: column;
}

.related-post-title {
    color: var(--dark-purple);
    font-weight: 600;
    line-height: 1.4;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.related-post-title a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-speed);
}

.related-post-title a:hover {
    color: var(--blue-primary);
}

.related-post-excerpt {
    color: var(--text-purple);
    opacity: 0.8;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Comments Section */
.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
}

.comments-area-section {
    background: white;
}

.comments-title {
    color: var(--dark-purple);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.comments-list {
    margin-bottom: 2rem;
}

.comment {
    background: #f9f8fc;
    border-left: 4px solid var(--blue-primary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.comment:hover {
    box-shadow: 0 4px 12px rgba(52, 25, 92, 0.08);
}

.comment-author-info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.comment-author-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-author {
    color: var(--dark-purple);
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.comment-meta {
    color: var(--text-purple);
    opacity: 0.6;
    font-size: 0.85rem;
}

.comment-content {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comment-reply-link {
    margin-top: 1rem;
}

.comment-form {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(74, 108, 247, 0.1);
}

.comment-form h3 {
    color: var(--dark-purple);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    color: var(--dark-purple);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.form-control,
.form-select {
    border-color: rgba(52, 25, 92, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem;
    font-family: inherit;
    transition: border-color var(--transition-speed);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 0.2rem rgba(74, 108, 247, 0.25);
}

/* Responsive */
@media (max-width: 992px) {
    .article-sidebar {
        position: static;
        top: auto;
    }

    .related-post-card {
        flex-direction: column;
    }

    .related-post-image {
        flex: 1;
        height: 250px;
    }

    .hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .article-hero-section {
        margin-top: 60px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .article-sidebar {
        margin-top: 2rem;
        order: 3;
    }

    .comparison-table {
        font-size: 0.85rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }

    .table-responsive {
        border-radius: 0.5rem;
    }

    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .related-post-card {
        flex-direction: column;
    }

    .related-post-image {
        flex: 1;
        height: 200px;
    }

    .newsletter-cta-section form {
        flex-direction: column;
    }

    .newsletter-cta-section input,
    .newsletter-cta-section button {
        width: 100%;
    }

    .social-share-section .row > div {
        margin-bottom: 0.75rem;
    }

    .article-content h2 {
        font-size: 1.5rem;
    }

    .article-content h3 {
        font-size: 1.1rem;
    }
}

    .hero-title {
        font-size: 1.75rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .search-form-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }

    .search-input {
        border-radius: 0.5rem;
        padding: 0.95rem 1.25rem;
        font-size: 1rem;
    }

    .search-form-wrapper .btn-primary {
        padding: 0.95rem 1.5rem;
        font-size: 0.9rem;
    }

    .anzedu-search-offcanvas {
        padding: 2rem 0 !important;
    }

    .anzedu-search-offcanvas .offcanvas-header {
        padding: 1.5rem 0 1rem 0;
    }

    .anzedu-search-offcanvas .offcanvas-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .card-img-wrapper {
        height: 150px;
    }

    .newsletter-heading {
        font-size: 1.25rem;
    }

    .navbar {
        padding: 1rem 0;
    }

    .nav-link {
        font-size: 0.85rem;
    }

    .search-form-wrapper {
        flex-direction: column;
        gap: 0.75rem;
    }

    .search-input {
        padding: 0.95rem 1.25rem;
        font-size: 1rem;
        border-radius: 0.5rem;
    }

    .search-form-wrapper .btn-primary {
        padding: 0.95rem 1.5rem;
        font-size: 0.9rem;
        border-radius: 0.5rem;
    }

    .anzedu-search-offcanvas .offcanvas-body {
        padding: 2rem 1rem !important;
    }

    .anzedu-search-offcanvas .offcanvas-header {
        padding: 1.5rem 1rem 1rem 1rem;
    }

    .anzedu-search-offcanvas .offcanvas-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

.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: var(--blue-primary);
    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;
}

/* Focus Styles */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--blue-primary);
    outline-offset: 2px;
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .anzedu-navbar,
    .anzedu-footer,
    .sidebar {
        display: none;
    }

    .entry-content {
        font-size: 1rem;
        line-height: 1.6;
    }
}

/* ========================================
   WORDPRESS SPECIFIC
   ======================================== */

.wp-caption {
    border-radius: var(--border-radius-large);
    overflow: hidden;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

