/* ==========================================================================
   AutoTrend - autoX Inspired Design System Stylesheet
   ========================================================================== */

:root {
    --ax-red: #e31e24;
    --ax-red-dark: #b7151a;
    --ax-red-light: #fff1f1;
    --ax-red-glow: rgba(227, 30, 36, 0.25);
    --ax-dark: #111827;
    --ax-dark-2: #1f2937;
    --ax-dark-card: #1e293b;
    --ax-body-bg: #f8f9fa;
    --ax-white: #ffffff;
    --ax-border: #e5e7eb;
    --ax-border-light: #f1f3f5;
    --ax-text-main: #111827;
    --ax-text-muted: #64748b;
    --ax-text-light: #94a3b8;
    --ax-font: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ax-radius: 8px;
    --ax-radius-lg: 12px;
    --ax-shadow-sm: 0 2px 6px rgba(0,0,0,0.04);
    --ax-shadow: 0 4px 16px rgba(0,0,0,0.06);
    --ax-shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --ax-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: var(--ax-font) !important;
    background-color: var(--ax-body-bg);
    color: var(--ax-text-main);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--ax-transition);
}
a:hover {
    color: var(--ax-red);
    text-decoration: none;
}

/* ==========================================================================
   1. autoX TOP LOGO & HEADER BAR
   ========================================================================== */

.ax-toplogo-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--ax-border);
    padding: 12px 0;
    position: relative;
    z-index: 100;
}

.ax-toplogo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.ax-brand-logo {
    display: flex;
    align-items: center;
}

.ax-brand-logo img {
    height: 44px;
    max-width: 220px;
    object-fit: contain;
}

.ax-search-wrap {
    flex: 1;
    max-width: 540px;
    position: relative;
}

.ax-search-form {
    display: flex;
    align-items: center;
    background: #f1f3f5;
    border: 1px solid transparent;
    border-radius: 50px;
    padding: 3px 5px 3px 18px;
    transition: var(--ax-transition);
}

.ax-search-form:focus-within {
    background: #ffffff;
    border-color: var(--ax-red);
    box-shadow: 0 0 0 3px var(--ax-red-glow);
}

.ax-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    color: var(--ax-text-main);
    outline: none;
    padding: 8px 0;
    font-family: var(--ax-font);
}

.ax-search-input::placeholder {
    color: #8e95a5;
    font-size: 13.5px;
}

.ax-search-btn {
    background: var(--ax-red);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--ax-transition);
}

.ax-search-btn:hover {
    background: var(--ax-red-dark);
    transform: scale(1.05);
}

.ax-top-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ax-location-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ax-text-main);
    background: #f8f9fa;
    padding: 8px 14px;
    border-radius: 30px;
    border: 1px solid var(--ax-border);
    transition: var(--ax-transition);
}

.ax-location-btn i {
    color: var(--ax-red);
    font-size: 15px;
}

.ax-location-btn:hover {
    background: #ffffff;
    border-color: var(--ax-red);
    color: var(--ax-red);
}

.ax-login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: #ffffff;
    background: var(--ax-red);
    padding: 8px 18px;
    border-radius: 30px;
    transition: var(--ax-transition);
    box-shadow: 0 4px 12px var(--ax-red-glow);
}

.ax-login-btn:hover {
    background: var(--ax-red-dark);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(183, 21, 26, 0.4);
    transform: translateY(-1px);
}

/* ==========================================================================
   2. autoX DESKTOP NAVBAR
   ========================================================================== */

.ax-navbar-wrap {
    background: #ffffff;
    border-bottom: 2px solid var(--ax-border);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

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

.ax-nav-list {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    gap: 2px;
}

.ax-nav-item {
    position: relative;
}

.ax-nav-link {
    display: block;
    padding: 13px 15px;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #191b1f;
    position: relative;
    transition: var(--ax-transition);
}

.ax-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 15px;
    right: 15px;
    height: 3px;
    background: var(--ax-red);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.ax-nav-item:hover > .ax-nav-link,
.ax-nav-item.active > .ax-nav-link {
    color: var(--ax-red);
}

.ax-nav-item:hover > .ax-nav-link::after,
.ax-nav-item.active > .ax-nav-link::after {
    transform: scaleX(1);
}

.ax-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #ffffff;
    border-radius: 0 0 var(--ax-radius) var(--ax-radius);
    box-shadow: var(--ax-shadow-lg);
    border: 1px solid var(--ax-border);
    border-top: 2px solid var(--ax-red);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--ax-transition);
    z-index: 1000;
}

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

.ax-dropdown-item {
    display: block;
    padding: 9px 20px;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ax-text-main);
    transition: var(--ax-transition);
}

.ax-dropdown-item:hover {
    background: var(--ax-red-light);
    color: var(--ax-red);
    padding-left: 24px;
}

/* ==========================================================================
   3. UNIVERSAL MODERN BREADCRUMB HEADER (ALL PAGES)
   ========================================================================== */

.page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #111827 100%) !important;
    border-bottom: 3px solid var(--ax-red) !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 0 !important;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 35%;
    background: radial-gradient(circle at center, rgba(227, 30, 36, 0.12) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
}

.page-header__inner {
    padding: 34px 0 28px 0 !important;
    position: relative !important;
    z-index: 2 !important;
}

.page-header__inner h3 {
    font-size: 28px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.6px !important;
    color: #ffffff !important;
    margin-bottom: 8px !important;
    line-height: 1.2 !important;
}

.thm-breadcrumb__inner {
    display: block !important;
}

.thm-breadcrumb {
    display: inline-flex !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(6px) !important;
    padding: 5px 16px !important;
    border-radius: 30px !important;
    margin: 0 !important;
    gap: 8px !important;
}

.thm-breadcrumb li {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #cbd5e1 !important;
    display: inline-flex !important;
    align-items: center !important;
    text-transform: none !important;
}

.thm-breadcrumb li a {
    color: #f1f5f9 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    transition: var(--ax-transition) !important;
}

.thm-breadcrumb li a:hover {
    color: #ff6b6b !important;
}

.thm-breadcrumb li .fas,
.thm-breadcrumb li .fa {
    font-size: 11px !important;
    color: #94a3b8 !important;
}

.thm-breadcrumb li:last-child {
    color: var(--ax-red) !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   4. HERO SECTION (SLIDER SEGMENT & TRENDING SIDEBAR)
   ========================================================================== */

.ax-hero-section {
    padding: 24px 0 28px 0;
    background: #ffffff;
}

.ax-hero-slider-wrap {
    position: relative;
    border-radius: var(--ax-radius-lg);
    overflow: hidden;
    background: #000;
    height: 460px;
    box-shadow: var(--ax-shadow);
}

.ax-hero-slider {
    width: 100%;
    height: 100%;
}

.ax-hero-slider .swiper-wrapper {
    height: 100%;
}

.ax-hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.ax-hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.92) 100%);
    z-index: 1;
}

.ax-hero-content {
    position: relative;
    z-index: 2;
    padding: 35px;
    color: #ffffff;
    max-width: 90%;
}

.ax-badge {
    display: inline-block;
    background: var(--ax-red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.ax-badge-secondary {
    background: #2563eb;
}

.ax-badge-gold {
    background: #d97706;
}

.ax-hero-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 12px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

.ax-hero-title a {
    color: #ffffff;
}

.ax-hero-title a:hover {
    color: #ff6b6b;
}

.ax-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #d1d5db;
}

.ax-hero-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ax-hero-meta i {
    color: var(--ax-red);
}

/* Slider Controls */
.ax-slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--ax-transition);
    backdrop-filter: blur(4px);
}

.ax-slider-nav-btn:hover {
    background: var(--ax-red);
    transform: translateY(-50%) scale(1.1);
}

.ax-slider-prev {
    left: 16px;
}

.ax-slider-next {
    right: 16px;
}

/* TRENDING STORIES SIDEBAR */
.ax-trending-card {
    background: #ffffff;
    border: 1px solid var(--ax-border);
    border-radius: var(--ax-radius-lg);
    padding: 20px;
    box-shadow: var(--ax-shadow-sm);
    height: 460px;
    display: flex;
    flex-direction: column;
}

.ax-section-header-sm {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--ax-border);
    position: relative;
}

.ax-section-header-sm::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--ax-red);
}

.ax-section-title-sm {
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--ax-text-main);
    margin: 0;
}

.ax-view-all-link {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ax-red);
    display: flex;
    align-items: center;
    gap: 4px;
}

.ax-view-all-link:hover {
    color: var(--ax-red-dark);
    gap: 7px;
}

.ax-trending-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    flex: 1;
    padding-right: 4px;
}

.ax-trending-list::-webkit-scrollbar {
    width: 4px;
}
.ax-trending-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.ax-trending-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ax-border-light);
    transition: var(--ax-transition);
}

.ax-trending-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.ax-trending-thumb {
    width: 90px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #e2e8f0;
}

.ax-trending-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ax-trending-item:hover .ax-trending-thumb img {
    transform: scale(1.08);
}

.ax-trending-info {
    flex: 1;
    min-width: 0;
}

.ax-trending-cat {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--ax-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.ax-trending-heading {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--ax-text-main);
    margin: 0 0 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--ax-transition);
}

.ax-trending-item:hover .ax-trending-heading {
    color: var(--ax-red);
}

.ax-trending-date {
    font-size: 11.5px;
    color: var(--ax-text-muted);
}

/* ==========================================================================
   5. BRAND LOGOS STRIP
   ========================================================================== */

.ax-brand-strip-section {
    padding: 18px 0;
    background: #ffffff;
    border-top: 1px solid var(--ax-border);
    border-bottom: 1px solid var(--ax-border);
}

.ax-brand-strip {
    display: flex;
    align-items: center;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px;
    scrollbar-width: none;
}
.ax-brand-strip::-webkit-scrollbar {
    display: none;
}

.ax-brand-item {
    flex-shrink: 0;
    background: #f8f9fa;
    border: 1px solid var(--ax-border);
    border-radius: 50px;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ax-text-main);
    transition: var(--ax-transition);
}

.ax-brand-item img {
    height: 18px;
    width: auto;
    object-fit: contain;
}

.ax-brand-item:hover {
    background: #ffffff;
    border-color: var(--ax-red);
    color: var(--ax-red);
    box-shadow: 0 4px 12px var(--ax-red-glow);
    transform: translateY(-2px);
}

/* ==========================================================================
   6. SECTION HEADINGS (autoX STYLE)
   ========================================================================== */

.ax-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    position: relative;
    border-bottom: 2px solid var(--ax-border);
    padding-bottom: 12px;
}

.ax-section-head::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--ax-red);
}

.ax-section-title {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--ax-text-main);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ax-section-title span {
    color: var(--ax-red);
}

/* ==========================================================================
   7. REVIEWS SECTION (autoX MAGAZINE GRID)
   ========================================================================== */

.ax-reviews-section {
    padding: 40px 0;
    background: #ffffff;
}

.ax-review-hero-card {
    background: #ffffff;
    border: 1px solid var(--ax-border);
    border-radius: var(--ax-radius-lg);
    overflow: hidden;
    box-shadow: var(--ax-shadow);
    transition: var(--ax-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ax-review-hero-card:hover {
    box-shadow: var(--ax-shadow-lg);
    transform: translateY(-4px);
    border-color: #cbd5e1;
}

.ax-review-hero-img-wrap {
    position: relative;
    height: 270px;
    overflow: hidden;
    background: #000;
}

.ax-review-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ax-review-hero-card:hover .ax-review-hero-img-wrap img {
    transform: scale(1.06);
}

.ax-rating-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ffffff;
    color: #111;
    font-size: 13px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.ax-rating-badge i {
    color: #f59e0b;
}

.ax-review-hero-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ax-review-hero-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 12px;
    color: var(--ax-text-main);
}

.ax-review-hero-title a:hover {
    color: var(--ax-red);
}

.ax-review-excerpt {
    font-size: 14px;
    color: var(--ax-text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ax-card-footer-btn {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--ax-border-light);
}

.ax-read-more-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--ax-red);
    display: flex;
    align-items: center;
    gap: 6px;
}

.ax-read-more-link:hover {
    color: var(--ax-red-dark);
    gap: 9px;
}

/* Secondary Review Cards */
.ax-review-mini-card {
    background: #ffffff;
    border: 1px solid var(--ax-border);
    border-radius: var(--ax-radius-lg);
    overflow: hidden;
    box-shadow: var(--ax-shadow-sm);
    transition: var(--ax-transition);
    display: flex;
    gap: 16px;
    padding: 14px;
    margin-bottom: 16px;
}

.ax-review-mini-card:last-child {
    margin-bottom: 0;
}

.ax-review-mini-card:hover {
    box-shadow: var(--ax-shadow);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.ax-review-mini-thumb {
    width: 140px;
    height: 95px;
    border-radius: var(--ax-radius);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: #000;
}

.ax-review-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ax-review-mini-card:hover .ax-review-mini-thumb img {
    transform: scale(1.08);
}

.ax-review-mini-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ax-review-mini-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--ax-text-main);
    margin: 4px 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ax-review-mini-title a:hover {
    color: var(--ax-red);
}

/* ==========================================================================
   8. LATEST NEWS GRID (TABS & EDITORIAL CARDS)
   ========================================================================== */

.ax-news-section {
    padding: 44px 0;
    background: var(--ax-body-bg);
}

.ax-nav-tabs {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ax-tab-btn {
    background: #ffffff;
    border: 1px solid var(--ax-border);
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ax-text-muted);
    cursor: pointer;
    transition: var(--ax-transition);
}

.ax-tab-btn:hover {
    color: var(--ax-red);
    border-color: var(--ax-red);
}

.ax-tab-btn.active {
    background: var(--ax-red);
    color: #ffffff;
    border-color: var(--ax-red);
    box-shadow: 0 3px 10px var(--ax-red-glow);
}

.ax-news-card {
    background: #ffffff;
    border: 1px solid var(--ax-border);
    border-radius: var(--ax-radius-lg);
    overflow: hidden;
    box-shadow: var(--ax-shadow-sm);
    transition: var(--ax-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ax-news-card:hover {
    box-shadow: var(--ax-shadow-lg);
    transform: translateY(-5px);
    border-color: #cbd5e1;
}

.ax-news-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #000;
}

.ax-news-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ax-news-card:hover .ax-news-img-wrap img {
    transform: scale(1.08);
}

.ax-news-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ax-news-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ax-text-main);
    margin: 8px 0 10px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ax-news-title a:hover {
    color: var(--ax-red);
}

.ax-news-desc {
    font-size: 13.5px;
    color: var(--ax-text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ax-news-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--ax-text-muted);
    padding-top: 12px;
    border-top: 1px solid var(--ax-border-light);
}

/* ==========================================================================
   9. AUTOTREND TV / LATEST VIDEOS (DARK CINEMATIC autoX THEME)
   ========================================================================== */

.ax-video-section {
    padding: 50px 0;
    background: #0f172a;
    color: #ffffff;
}

.ax-video-section .ax-section-head {
    border-bottom-color: rgba(255,255,255,0.12);
}

.ax-video-section .ax-section-title {
    color: #ffffff;
}

.ax-video-main-card {
    position: relative;
    border-radius: var(--ax-radius-lg);
    overflow: hidden;
    height: 380px;
    background: #000;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    display: flex;
    align-items: flex-end;
}

.ax-video-main-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: transform 0.5s ease;
}

.ax-video-main-card:hover img {
    transform: scale(1.05);
}

.ax-video-main-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0.95) 100%);
    z-index: 1;
}

.ax-play-btn-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    background: var(--ax-red);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 2;
    box-shadow: 0 0 0 0 var(--ax-red-glow);
    animation: axPulse 2s infinite;
    cursor: pointer;
    transition: var(--ax-transition);
}

.ax-play-btn-large:hover {
    transform: translate(-50%, -50%) scale(1.15);
    background: #ff2a30;
}

@keyframes axPulse {
    0% { box-shadow: 0 0 0 0 rgba(227, 30, 36, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(227, 30, 36, 0); }
    100% { box-shadow: 0 0 0 0 rgba(227, 30, 36, 0); }
}

.ax-video-main-info {
    position: relative;
    z-index: 2;
    padding: 25px;
    width: 100%;
}

.ax-video-main-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    margin-bottom: 6px;
}

.ax-video-mini-card {
    display: flex;
    gap: 14px;
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--ax-radius);
    padding: 12px;
    margin-bottom: 14px;
    transition: var(--ax-transition);
    align-items: center;
    cursor: pointer;
}

.ax-video-mini-card:last-child {
    margin-bottom: 0;
}

.ax-video-mini-card:hover {
    background: #334155;
    border-color: var(--ax-red);
    transform: translateX(4px);
}

.ax-video-mini-thumb {
    width: 120px;
    height: 75px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    background: #000;
}

.ax-video-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ax-mini-play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    color: #ffffff;
    font-size: 16px;
    transition: var(--ax-transition);
}

.ax-video-mini-card:hover .ax-mini-play-icon {
    background: rgba(227, 30, 36, 0.7);
}

.ax-video-mini-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    color: #f1f5f9;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ax-video-mini-meta {
    font-size: 11.5px;
    color: #94a3b8;
}

/* ==========================================================================
   10. PROFESSIONAL VIDEO GALLERY PAGE GRID & CARDS
   ========================================================================== */

.ax-video-page-section {
    padding: 48px 0;
    background: #f8f9fa;
}

.ax-video-page-card {
    background: #ffffff;
    border: 1px solid var(--ax-border);
    border-radius: var(--ax-radius-lg);
    overflow: hidden;
    box-shadow: var(--ax-shadow-sm);
    transition: var(--ax-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ax-video-page-card:hover {
    box-shadow: var(--ax-shadow-lg);
    transform: translateY(-6px);
    border-color: #cbd5e1;
}

.ax-video-page-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #000;
    display: block;
}

.ax-video-page-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.ax-video-page-card:hover .ax-video-page-thumb img {
    transform: scale(1.08);
}

.ax-video-page-thumb .ax-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.7) 100%);
    transition: var(--ax-transition);
}

.ax-video-page-card:hover .ax-thumb-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.85) 100%);
}

.ax-play-btn-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    background: var(--ax-red);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 18px rgba(227, 30, 36, 0.4);
    transition: var(--ax-transition);
    z-index: 2;
}

.ax-video-page-card:hover .ax-play-btn-circle {
    transform: translate(-50%, -50%) scale(1.15);
    background: #ff2a30;
    box-shadow: 0 6px 24px rgba(227, 30, 36, 0.6);
}

.ax-video-page-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ax-video-page-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--ax-text-main);
    margin: 8px 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ax-video-page-title a:hover {
    color: var(--ax-red);
}

.ax-video-page-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--ax-text-muted);
    padding-top: 14px;
    border-top: 1px solid var(--ax-border-light);
}

/* ==========================================================================
   11. PROFESSIONAL PAGINATION
   ========================================================================== */

.blog-list__pagination,
.ax-pagination-wrap {
    margin-top: 40px;
    width: 100%;
    display: flex;
    justify-content: center;
}

.pg-pagination {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pg-pagination li a,
.pg-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #ffffff;
    border: 1px solid var(--ax-border);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    color: var(--ax-text-main);
    transition: var(--ax-transition);
}

.pg-pagination li.active a,
.pg-pagination li.active span,
.pg-pagination li a:hover {
    background: var(--ax-red);
    color: #ffffff;
    border-color: var(--ax-red);
    box-shadow: 0 4px 14px var(--ax-red-glow);
}

/* ==========================================================================
   12. OWNERSHIP EXPERIENCES & GALLERIES
   ========================================================================== */

.ax-gallery-card {
    position: relative;
    border-radius: var(--ax-radius-lg);
    overflow: hidden;
    height: 240px;
    background: #000;
    box-shadow: var(--ax-shadow);
    display: flex;
    align-items: flex-end;
    transition: var(--ax-transition);
}

.ax-gallery-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ax-gallery-card:hover img {
    transform: scale(1.08);
}

.ax-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 40%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

.ax-gallery-count {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.ax-gallery-body {
    position: relative;
    z-index: 2;
    padding: 16px 18px;
    color: #ffffff;
    width: 100%;
}

.ax-gallery-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #ffffff;
    margin: 0;
}

/* Gallery Listing Page (3 Columns) */
.ax-gallery-page-card {
    position: relative;
    border-radius: var(--ax-radius-lg);
    overflow: hidden;
    height: 280px;
    background: #0f172a;
    box-shadow: var(--ax-shadow-sm);
    display: flex;
    align-items: flex-end;
    transition: var(--ax-transition);
    border: 1px solid var(--ax-border);
}

.ax-gallery-page-card:hover {
    box-shadow: var(--ax-shadow-lg);
    transform: translateY(-6px);
    border-color: var(--ax-red);
}

.ax-gallery-page-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ax-gallery-page-card:hover img {
    transform: scale(1.08);
}

.ax-gallery-page-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0.1) 0%, rgba(15,23,42,0.4) 40%, rgba(15,23,42,0.95) 100%);
    z-index: 1;
}

.ax-gallery-page-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--ax-red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}

.ax-gallery-page-count {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    border: 1px solid rgba(255,255,255,0.2);
}

.ax-gallery-page-body {
    position: relative;
    z-index: 2;
    padding: 20px 22px;
    color: #ffffff;
    width: 100%;
}

.ax-gallery-page-title {
    font-size: 16.5px;
    font-weight: 800;
    line-height: 1.35;
    color: #ffffff;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ax-gallery-page-title a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--ax-transition);
}

.ax-gallery-page-title a:hover {
    color: #fca5a5;
}

.ax-gallery-page-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: #cbd5e1;
}

.ax-gallery-view-link {
    color: #f87171;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--ax-transition);
}

.ax-gallery-page-card:hover .ax-gallery-view-link {
    color: #ffffff;
    gap: 7px;
}

/* Individual Gallery Masonry View */
.ax-masonry-gallery-grid {
    column-count: 3;
    column-gap: 20px;
    margin-top: 30px;
}

.ax-masonry-photo-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    border-radius: var(--ax-radius-lg);
    overflow: hidden;
    background: #0f172a;
    box-shadow: var(--ax-shadow-sm);
    transition: var(--ax-transition);
}

.ax-masonry-photo-item:hover {
    box-shadow: var(--ax-shadow-lg);
    transform: translateY(-4px);
}

.ax-masonry-photo-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--ax-radius-lg);
    transition: transform 0.4s ease;
}

.ax-masonry-photo-item:hover img {
    transform: scale(1.04);
}

.ax-photo-zoom-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--ax-transition);
    border-radius: var(--ax-radius-lg);
}

.ax-masonry-photo-item:hover .ax-photo-zoom-overlay {
    opacity: 1;
}

.ax-photo-zoom-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ax-red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 14px var(--ax-red-glow);
    transform: scale(0.8);
    transition: var(--ax-transition);
}

.ax-masonry-photo-item:hover .ax-photo-zoom-btn {
    transform: scale(1);
}

@media (max-width: 991px) {
    .ax-masonry-gallery-grid {
        column-count: 2;
        column-gap: 16px;
    }
}

@media (max-width: 575px) {
    .ax-masonry-gallery-grid {
        column-count: 1;
    }
}

/* ==========================================================================
   13. CONSULTANCY PROMO BANNER
   ========================================================================== */

.ax-consult-banner {
    background: linear-gradient(135deg, #111827 0%, #1f2937 60%, #e31e24 100%);
    border-radius: var(--ax-radius-lg);
    padding: 36px 40px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: var(--ax-shadow-lg);
    margin: 40px 0;
}

.ax-consult-content h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
}

.ax-consult-content p {
    font-size: 14.5px;
    color: #cbd5e1;
    margin: 0;
    max-width: 620px;
}

.ax-consult-btn {
    background: #ffffff;
    color: #111827;
    font-size: 14px;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    transition: var(--ax-transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.ax-consult-btn:hover {
    background: var(--ax-red);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--ax-red-glow);
}

/* ==========================================================================
   14. autoX NEWSLETTER STRIP & FOOTER
   ========================================================================== */

.ax-newsletter-strip {
    background: #111827;
    color: #ffffff;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ax-newsletter-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.ax-newsletter-text h4 {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
}

.ax-newsletter-text p {
    font-size: 13.5px;
    color: #94a3b8;
    margin: 0;
}

.ax-newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 480px;
    width: 100%;
}

.ax-newsletter-input {
    flex: 1;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    padding: 10px 18px;
    color: #ffffff;
    font-size: 13.5px;
    outline: none;
}

.ax-newsletter-input:focus {
    border-color: var(--ax-red);
    background: rgba(255,255,255,0.15);
}

.ax-newsletter-submit {
    background: var(--ax-red);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 10px 24px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--ax-transition);
}

.ax-newsletter-submit:hover {
    background: var(--ax-red-dark);
}

/* ==========================================================================
   15. PROFESSIONAL ARTICLE & BLOG DETAILS PAGE (autoX STYLE)
   ========================================================================== */

.ax-article-section {
    padding: 36px 0 60px 0;
    background: #ffffff;
}

.ax-article-header {
    margin-bottom: 24px;
}

.ax-article-cat {
    display: inline-block;
    background: var(--ax-red);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.ax-article-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.28;
    color: var(--ax-dark);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.ax-byline-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    padding: 14px 0 !important;
    border-top: 1px solid var(--ax-border) !important;
    border-bottom: 1px solid var(--ax-border) !important;
    margin-bottom: 24px !important;
}

.ax-byline-left {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.ax-byline-avatar {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: #fee2e2 !important;
    border: 2px solid #fecaca !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 18px !important;
    color: var(--ax-red) !important;
    flex-shrink: 0 !important;
}

.ax-byline-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.ax-byline-author {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: var(--ax-dark) !important;
    margin: 0 0 2px 0 !important;
}

.ax-byline-meta {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    font-size: 12.5px !important;
    color: var(--ax-text-muted) !important;
}

.ax-byline-meta span {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.ax-share-group {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.ax-share-label {
    font-size: 12.5px !important;
    font-weight: 700 !important;
    color: var(--ax-text-muted) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.ax-share-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    color: #ffffff !important;
    border: none !important;
    text-decoration: none !important;
    transition: var(--ax-transition) !important;
}
.ax-share-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.18) !important;
    color: #ffffff !important;
}

.ax-share-whatsapp { background: #25d366 !important; }
.ax-share-twitter { background: #1da1f2 !important; }
.ax-share-facebook { background: #1877f2 !important; }
.ax-share-linkedin { background: #0a66c2 !important; }
.ax-share-copy { background: #64748b !important; }

.ax-article-featured-img {
    border-radius: var(--ax-radius-lg);
    overflow: hidden;
    margin-bottom: 28px;
    background: #000;
    box-shadow: var(--ax-shadow);
}

.ax-article-featured-img img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.ax-article-quote {
    background: #f8f9fa;
    border-left: 4px solid var(--ax-red);
    border-radius: 0 8px 8px 0;
    padding: 18px 24px;
    margin: 24px 0;
    font-size: 16px;
    font-style: italic;
    color: #334155;
    line-height: 1.6;
    position: relative;
}

.ax-article-quote::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: rgba(227, 30, 36, 0.2);
    font-size: 28px;
    position: absolute;
    top: 10px;
    right: 16px;
}

.ax-article-content {
    font-size: 16.5px;
    line-height: 1.8;
    color: #27272a;
    font-family: var(--ax-font);
}

.ax-article-content p {
    margin-bottom: 20px;
}

.ax-article-content h2,
.ax-article-content h3,
.ax-article-content h4 {
    font-weight: 800;
    color: var(--ax-dark);
    margin-top: 32px;
    margin-bottom: 14px;
    line-height: 1.35;
}

.ax-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--ax-radius);
    margin: 20px 0;
}

.ax-article-content iframe {
    max-width: 100%;
    border-radius: var(--ax-radius);
    margin: 20px 0;
}

/* Tags Strip */
.ax-article-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 20px 0;
    border-top: 1px solid var(--ax-border);
    border-bottom: 1px solid var(--ax-border);
    margin: 32px 0;
}

.ax-tag-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ax-text-main);
    margin-right: 4px;
}

.ax-tag-pill {
    background: #f1f5f9;
    color: #475569;
    font-size: 12.5px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 30px;
    border: 1px solid var(--ax-border);
    transition: var(--ax-transition);
}

.ax-tag-pill:hover {
    background: var(--ax-red);
    color: #ffffff;
    border-color: var(--ax-red);
}

/* Author Box Card */
.ax-author-card {
    background: #f8f9fa;
    border: 1px solid var(--ax-border);
    border-radius: var(--ax-radius-lg);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 32px 0;
}

.ax-author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid var(--ax-red);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ax-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ax-author-info h4 {
    font-size: 16px;
    font-weight: 800;
    color: var(--ax-dark);
    margin-bottom: 4px;
}

.ax-author-info p {
    font-size: 13.5px;
    color: var(--ax-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Comments Section */
.ax-comments-section {
    margin-top: 40px;
}

.ax-comment-item {
    background: #f8f9fa;
    border: 1px solid var(--ax-border);
    border-radius: var(--ax-radius);
    padding: 18px 20px;
    margin-bottom: 16px;
}

.ax-comment-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.ax-comment-user {
    font-size: 14px;
    font-weight: 700;
    color: var(--ax-dark);
}

.ax-comment-date {
    font-size: 12px;
    color: var(--ax-text-muted);
}

.ax-comment-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Comment Form */
.ax-comment-form-card {
    background: #ffffff;
    border: 1px solid var(--ax-border);
    border-radius: var(--ax-radius-lg);
    padding: 28px;
    box-shadow: var(--ax-shadow-sm);
    margin-top: 32px;
}

.ax-form-input,
.ax-form-textarea {
    width: 100%;
    background: #f8f9fa;
    border: 1px solid var(--ax-border);
    border-radius: var(--ax-radius);
    padding: 12px 16px;
    font-size: 14px;
    color: var(--ax-text-main);
    outline: none;
    font-family: var(--ax-font);
    transition: var(--ax-transition);
    margin-bottom: 16px;
}

.ax-form-input:focus,
.ax-form-textarea:focus {
    background: #ffffff;
    border-color: var(--ax-red);
    box-shadow: 0 0 0 3px var(--ax-red-glow);
}

.ax-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.ax-submit-btn {
    background: var(--ax-red);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--ax-transition);
    box-shadow: 0 4px 14px var(--ax-red-glow);
}

.ax-submit-btn:hover {
    background: var(--ax-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(183, 21, 26, 0.4);
}

/* Sidebar Widgets */
.ax-sidebar-box {
    background: #ffffff;
    border: 1px solid var(--ax-border);
    border-radius: var(--ax-radius-lg);
    padding: 20px;
    box-shadow: var(--ax-shadow-sm);
    margin-bottom: 24px;
}

.ax-sidebar-box .ax-section-header-sm {
    margin-bottom: 16px;
}

/* Related Stories Section */
.ax-related-section {
    padding: 44px 0;
    background: #f8f9fa;
    border-top: 1px solid var(--ax-border);
}

/* ==========================================================================
   16. DYNAMIC ADVERTISEMENTS & GOOGLE ADS BANNERS
   ========================================================================== */

.ax-ad-banner-wrap {
    margin: 28px auto;
    max-width: 100%;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ax-ad-tag {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--ax-text-light);
    margin-bottom: 4px;
}

.ax-ad-banner-link {
    display: block;
    max-width: 100%;
    border-radius: var(--ax-radius);
    overflow: hidden;
    box-shadow: var(--ax-shadow-sm);
    transition: var(--ax-transition);
    background: #0f172a;
    border: 1px solid var(--ax-border);
}

.ax-ad-banner-link:hover {
    box-shadow: var(--ax-shadow);
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

.ax-ad-banner-img {
    width: 100%;
    max-width: 970px;
    height: auto;
    max-height: 120px;
    object-fit: cover;
    display: block;
}

.ax-ad-code-container {
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
    border-radius: var(--ax-radius);
}

/* ==========================================================================
   17. HOMEPAGE FAQs ACCORDION SECTION (autoX STYLE)
   ========================================================================== */

.ax-faq-section {
    padding: 48px 0;
    background: #ffffff;
    border-top: 1px solid var(--ax-border);
}

.ax-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ax-faq-item {
    background: #f8f9fa;
    border: 1px solid var(--ax-border);
    border-radius: var(--ax-radius-lg);
    overflow: hidden;
    transition: var(--ax-transition);
}

.ax-faq-item:hover,
.ax-faq-item.active {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: var(--ax-shadow-sm);
}

.ax-faq-item.active {
    border-left: 4px solid var(--ax-red);
}

.ax-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 15.5px;
    font-weight: 700;
    color: var(--ax-text-main);
    text-align: left;
    font-family: var(--ax-font);
    gap: 16px;
    transition: var(--ax-transition);
}

.ax-faq-trigger:hover,
.ax-faq-item.active .ax-faq-trigger {
    color: var(--ax-red);
}

.ax-faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    color: var(--ax-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    transition: transform 0.3s ease, background 0.3s ease;
}

.ax-faq-item.active .ax-faq-icon {
    transform: rotate(180deg);
    background: var(--ax-red);
    color: #ffffff;
}

.ax-faq-body {
    padding: 0 24px 20px 24px;
    font-size: 14.5px;
    line-height: 1.7;
    color: #475569;
    display: none;
}

.ax-faq-item.active .ax-faq-body {
    display: block;
}

/* ==========================================================================
   19. AUTH & ACCOUNT PAGES (LOGIN & SIGNUP - autoX STYLE)
   ========================================================================== */

.ax-auth-section {
    padding: 60px 0 80px 0;
    background: #f8f9fa;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.ax-auth-container {
    max-width: 960px;
    margin: 0 auto;
}

.ax-auth-card {
    background: #ffffff;
    border: 1px solid var(--ax-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    display: flex;
    flex-wrap: wrap;
}

.ax-auth-sidebar {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #e31e24 140%);
    color: #ffffff;
    padding: 44px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ax-auth-sidebar-badge {
    display: inline-block;
    background: rgba(227, 30, 36, 0.25);
    border: 1px solid rgba(227, 30, 36, 0.6);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.ax-auth-sidebar-title {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    line-height: 1.3;
}

.ax-auth-sidebar-desc {
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 28px;
}

.ax-auth-perks {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.ax-auth-perks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    color: #e2e8f0;
    margin-bottom: 14px;
    line-height: 1.45;
}

.ax-auth-perks li i {
    color: #f87171;
    font-size: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.ax-auth-form-wrap {
    padding: 44px 40px;
    background: #ffffff;
    flex: 1;
    min-width: 320px;
}

.ax-auth-header {
    margin-bottom: 28px;
}

.ax-auth-heading {
    font-size: 22px;
    font-weight: 800;
    color: var(--ax-dark);
    margin-bottom: 6px;
}

.ax-auth-subheading {
    font-size: 13.5px;
    color: var(--ax-text-muted);
    margin: 0;
}

.ax-form-group {
    margin-bottom: 20px;
    position: relative;
}

.ax-form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--ax-text-main);
    margin-bottom: 6px;
}

.ax-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ax-input-icon {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 15px;
    pointer-events: none;
    transition: var(--ax-transition);
}

.ax-auth-input {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 46px;
    background: #f8f9fa;
    border: 1px solid var(--ax-border);
    border-radius: var(--ax-radius);
    font-size: 14px;
    color: var(--ax-text-main);
    outline: none;
    transition: var(--ax-transition);
    font-family: var(--ax-font);
}

.ax-auth-input:focus {
    background: #ffffff;
    border-color: var(--ax-red);
    box-shadow: 0 0 0 3px var(--ax-red-glow);
}

.ax-auth-input:focus + .ax-input-icon {
    color: var(--ax-red);
}

.ax-password-toggle {
    position: absolute;
    right: 14px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    padding: 6px;
    transition: var(--ax-transition);
}

.ax-password-toggle:hover {
    color: var(--ax-text-main);
}

.ax-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0 24px 0;
    font-size: 13px;
}

.ax-auth-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ax-text-muted);
    cursor: pointer;
    margin: 0;
}

.ax-auth-checkbox input {
    accent-color: var(--ax-red);
    width: 16px;
    height: 16px;
}

.ax-forgot-link {
    color: var(--ax-red);
    font-weight: 600;
    text-decoration: none;
    transition: var(--ax-transition);
}

.ax-forgot-link:hover {
    color: var(--ax-red-dark);
    text-decoration: underline;
}

.ax-auth-btn {
    width: 100%;
    height: 48px;
    background: linear-gradient(135deg, #e31e24 0%, #b7151a 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--ax-radius);
    font-size: 14.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px var(--ax-red-glow);
    transition: var(--ax-transition);
}

.ax-auth-btn:hover {
    box-shadow: 0 6px 20px rgba(227, 30, 36, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
}

.ax-auth-footer-text {
    margin-top: 24px;
    text-align: center;
    font-size: 13.5px;
    color: var(--ax-text-muted);
}

.ax-auth-footer-text a {
    color: var(--ax-red);
    font-weight: 700;
    text-decoration: none;
    transition: var(--ax-transition);
}

.ax-auth-footer-text a:hover {
    color: var(--ax-red-dark);
    text-decoration: underline;
}

/* ==========================================================================
   18. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 991px) {
    .ax-toplogo-container {
        flex-wrap: wrap;
    }
    .ax-search-wrap {
        order: 3;
        max-width: 100%;
        width: 100%;
    }
    .ax-hero-slider-wrap {
        height: 380px;
        margin-bottom: 24px;
    }
    .ax-trending-card {
        height: auto;
    }
    .ax-consult-banner {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
    }
    .ax-newsletter-box {
        flex-direction: column;
        text-align: center;
    }
    .ax-newsletter-form {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .ax-hero-slider-wrap {
        height: 300px;
    }
    .ax-hero-title {
        font-size: 18px;
    }
    .ax-hero-content {
        padding: 18px;
    }
    .ax-review-hero-img-wrap {
        height: 200px;
    }
    .ax-review-mini-thumb {
        width: 100px;
        height: 70px;
    }
    .ax-video-main-card {
        height: 250px;
    }
    .page-header__inner h3 {
        font-size: 22px !important;
    }
    .ax-auth-sidebar {
        padding: 30px 24px;
    }
    .ax-auth-form-wrap {
        padding: 30px 20px;
    }
}
