/*
Theme Name: Aboutaball
Theme URI: https://aboutaball.co.uk
Author: Aboutaball
Author URI: https://aboutaball.co.uk
Description: A premium football news and media theme for Aboutaball. Bold monochrome design with dynamic animations, angular layouts, and responsive design across all devices.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aboutaball
Tags: news, magazine, sports, blog, custom-header, custom-menu, featured-images, threaded-comments, translation-ready
*/

:root {
    --ab-black: #0a0a0a;
    --ab-black-soft: #141414;
    --ab-black-card: #1a1a1a;
    --ab-white: #ffffff;
    --ab-off-white: #f5f5f5;
    --ab-grey-100: #e8e8e8;
    --ab-grey-200: #cccccc;
    --ab-grey-400: #888888;
    --ab-grey-600: #555555;
    --ab-accent: #C9A84C;
    --ab-red: #e63946;
    --ab-font-heading: 'Oswald', 'Impact', sans-serif;
    --ab-font-body: 'Inter', 'Helvetica Neue', sans-serif;
    --ab-transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ab-shadow: 0 8px 30px rgba(0,0,0,0.12);
    --ab-shadow-hover: 0 12px 40px rgba(0,0,0,0.2);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--ab-font-body); font-size: 16px; line-height: 1.7; color: var(--ab-black); background: var(--ab-white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: var(--ab-transition); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { font-family: var(--ab-font-heading); font-weight: 700; line-height: 1.15; text-transform: uppercase; letter-spacing: 0.5px; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
::selection { background: var(--ab-black); color: var(--ab-white); }

/* Animations */
@keyframes ab-fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ab-fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes ab-slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes ab-slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes ab-ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes ab-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes ab-slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes ab-heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes ab-shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }

.ab-animate { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.ab-animate.ab-visible { opacity: 1; transform: translateY(0); }
.ab-animate-delay-1 { transition-delay: 0.1s; }
.ab-animate-delay-2 { transition-delay: 0.2s; }
.ab-animate-delay-3 { transition-delay: 0.3s; }

/* Preloader */
.ab-preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--ab-black); z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; transition: opacity 0.6s ease, visibility 0.6s ease; }
.ab-preloader.loaded { opacity: 0; visibility: hidden; }
.ab-preloader-logo { font-family: var(--ab-font-heading); font-size: 32px; font-weight: 700; color: var(--ab-white); text-transform: uppercase; letter-spacing: 4px; opacity: 0; animation: ab-fadeIn 0.6s ease 0.2s forwards; }
.ab-preloader-logo span { color: var(--ab-accent); }
.ab-preloader-bar { width: 120px; height: 2px; background: rgba(255,255,255,0.1); overflow: hidden; }
.ab-preloader-bar::after { content: ''; display: block; width: 40%; height: 100%; background-size: 200% 100%; background-image: linear-gradient(90deg, var(--ab-accent) 0%, var(--ab-white) 50%, var(--ab-accent) 100%); animation: ab-shimmer 1.2s ease-in-out infinite; }

/* Top Bar */
.ab-topbar { background: var(--ab-black); color: rgba(255,255,255,0.5); font-size: 11px; padding: 8px 0; letter-spacing: 0.5px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ab-topbar .container { display: flex; justify-content: space-between; align-items: center; }
.ab-topbar-left { display: flex; align-items: center; gap: 16px; }
.ab-topbar .ab-live-badge { background: var(--ab-red); color: #fff; padding: 2px 10px; font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; animation: ab-pulse 2s ease-in-out infinite; }
.ab-topbar-social a { color: rgba(255,255,255,0.4); margin-left: 14px; font-size: 13px; }
.ab-topbar-social a:hover { color: var(--ab-accent); transform: translateY(-1px); }

/* Header — BLACK */
.ab-header { background: var(--ab-black); position: relative; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ab-header.sticky { position: fixed; top: 0; left: 0; right: 0; z-index: 999; animation: ab-slideDown 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); box-shadow: 0 4px 30px rgba(0,0,0,0.4); }
.admin-bar .ab-header.sticky { top: 32px; }
.ab-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }

.ab-logo { display: flex; align-items: center; gap: 10px; }
.ab-logo img, .ab-logo .custom-logo { max-height: 45px; width: auto; filter: brightness(0) invert(1); }
.ab-logo-text { font-family: var(--ab-font-heading); font-size: 26px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; line-height: 1; color: var(--ab-white); }
.ab-logo-text span { color: var(--ab-accent); }

.ab-nav ul { list-style: none; display: flex; }
.ab-nav ul li { position: relative; }
.ab-nav ul li a { display: block; padding: 10px 18px; font-family: var(--ab-font-heading); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: 2px; color: rgba(255,255,255,0.7); position: relative; transition: var(--ab-transition); }
.ab-nav ul li a:hover { color: var(--ab-white); }
.ab-nav ul li a::after { content: ''; position: absolute; bottom: 0; left: 18px; right: 18px; height: 2px; background: var(--ab-accent); transform: scaleX(0); transform-origin: right; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.ab-nav ul li a:hover::after, .ab-nav ul li.current-menu-item a::after, .ab-nav ul li.current_page_item a::after { transform: scaleX(1); transform-origin: left; }
.ab-nav ul li.current-menu-item a, .ab-nav ul li.current_page_item a { color: var(--ab-white); }

.ab-nav ul li ul.sub-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--ab-black-soft); border: 1px solid rgba(255,255,255,0.06); min-width: 220px; z-index: 1000; flex-direction: column; }
.ab-nav ul li:hover > ul.sub-menu { display: flex; animation: ab-fadeInUp 0.3s ease; }
.ab-nav ul li ul.sub-menu li a { padding: 10px 20px; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,0.04); color: rgba(255,255,255,0.6); }
.ab-nav ul li ul.sub-menu li a:hover { color: var(--ab-accent); padding-left: 24px; }

/* Burger — WHITE on black */
.ab-menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; z-index: 1001; }
.ab-menu-toggle span { display: block; width: 26px; height: 2px; background: var(--ab-white); margin: 6px 0; transition: var(--ab-transition); }
.ab-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.ab-menu-toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.ab-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Hero Banner — WHITE bg, image with dark overlays */
.ab-hero { position: relative; width: 100%; overflow: hidden; background: var(--ab-white); }
.ab-hero-slide { position: relative; width: 100%; overflow: hidden; display: none; }
.ab-hero-slide.active { display: block; }
.ab-hero-slide .ab-hero-bg { width: 100%; height: auto; min-height: 400px; max-height: 560px; object-fit: cover; object-position: center; animation: ab-heroZoom 8s ease-out forwards; }
.ab-hero-slide::before { content: ''; position: absolute; top: 0; left: 0; width: 55%; height: 100%; background: linear-gradient(90deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.4) 70%, transparent 100%); z-index: 2; }
.ab-hero-slide::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(transparent, rgba(10,10,10,0.5)); z-index: 2; }

.ab-hero-content { position: absolute; top: 50%; left: 6%; right: 55%; transform: translateY(-50%); z-index: 3; color: var(--ab-white); }
.ab-hero-slide.active .ab-hero-tag { animation: ab-slideInLeft 0.6s ease 0.2s both; }
.ab-hero-slide.active .ab-hero-content h1 { animation: ab-slideInLeft 0.6s ease 0.4s both; }
.ab-hero-slide.active .ab-hero-content p { animation: ab-slideInLeft 0.6s ease 0.6s both; }
.ab-hero-slide.active .ab-hero-btn { animation: ab-fadeInUp 0.6s ease 0.8s both; }

.ab-hero-tag { display: inline-block; background: var(--ab-accent); color: var(--ab-black); padding: 6px 18px; font-family: var(--ab-font-heading); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 16px; }
.ab-hero-content h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.08; color: var(--ab-white); margin-bottom: 14px; text-shadow: 0 2px 20px rgba(0,0,0,0.4); }
.ab-hero-content p { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.65; margin-bottom: 24px; max-width: 380px; }

.ab-hero-btn { display: inline-block; background: var(--ab-white); color: var(--ab-black); padding: 12px 32px; font-family: var(--ab-font-heading); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; transition: var(--ab-transition); position: relative; overflow: hidden; }
.ab-hero-btn::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: var(--ab-accent); transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); z-index: -1; }
.ab-hero-btn:hover { color: var(--ab-black); }
.ab-hero-btn:hover::before { left: 0; }

.ab-hero-nav { position: absolute; bottom: 28px; right: 6%; z-index: 5; display: flex; gap: 4px; }
.ab-hero-nav button { width: 48px; height: 48px; border: 2px solid rgba(255,255,255,0.3); background: rgba(0,0,0,0.4); backdrop-filter: blur(10px); color: var(--ab-white); cursor: pointer; font-size: 16px; font-weight: 700; transition: var(--ab-transition); }
.ab-hero-nav button:hover { background: var(--ab-accent); border-color: var(--ab-accent); color: var(--ab-black); }

.ab-hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 8px; }
.ab-hero-dot { width: 30px; height: 3px; background: rgba(255,255,255,0.3); border: none; cursor: pointer; transition: var(--ab-transition); }
.ab-hero-dot.active { background: var(--ab-accent); width: 50px; }

/* Ticker */
.ab-ticker { background: var(--ab-black); padding: 12px 0; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,0.06); }
.ab-ticker .container { display: flex; align-items: center; gap: 16px; }
.ab-ticker-label { background: var(--ab-red); color: #fff; padding: 4px 14px; font-family: var(--ab-font-heading); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; white-space: nowrap; flex-shrink: 0; animation: ab-pulse 2s ease infinite; }
.ab-ticker-items { overflow: hidden; flex: 1; }
.ab-ticker-track { display: flex; gap: 50px; animation: ab-ticker-scroll 35s linear infinite; white-space: nowrap; }
.ab-ticker-track:hover { animation-play-state: paused; }
.ab-ticker-track a { color: rgba(255,255,255,0.55); font-size: 13px; font-weight: 500; white-space: nowrap; }
.ab-ticker-track a:hover { color: var(--ab-accent); }

/* Sections */
.ab-section { padding: 70px 0; }
.ab-section-dark { background: var(--ab-black); color: var(--ab-white); }
.ab-section-alt { background: var(--ab-off-white); }
.ab-section-header { margin-bottom: 40px; display: flex; align-items: flex-end; justify-content: space-between; }
.ab-section-header h2 { position: relative; padding-left: 16px; }
.ab-section-header h2::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; background: var(--ab-accent); }
.ab-section-header .ab-view-all { font-family: var(--ab-font-heading); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--ab-grey-400); padding-bottom: 4px; border-bottom: 1px solid transparent; }
.ab-section-header .ab-view-all:hover { color: var(--ab-black); border-bottom-color: var(--ab-accent); }

/* Featured Grid */
.ab-featured-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; }
.ab-featured-main { position: relative; overflow: hidden; background: var(--ab-black); }
.ab-featured-main img { width: 100%; height: 100%; object-fit: cover; min-height: 440px; transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease; opacity: 0.85; }
.ab-featured-main:hover img { transform: scale(1.04); opacity: 0.7; }
.ab-featured-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px; background: linear-gradient(transparent, rgba(0,0,0,0.9)); color: var(--ab-white); animation: ab-fadeInUp 0.5s ease 0.3s both; }
.ab-cat-badge { display: inline-block; background: var(--ab-accent); color: var(--ab-black); padding: 4px 12px; font-size: 10px; font-family: var(--ab-font-heading); text-transform: uppercase; letter-spacing: 2px; font-weight: 700; margin-bottom: 12px; }
.ab-featured-overlay h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); line-height: 1.2; margin-bottom: 8px; }
.ab-featured-overlay h3 a { color: var(--ab-white); }
.ab-featured-overlay h3 a:hover { color: var(--ab-accent); }
.ab-featured-side { display: flex; flex-direction: column; gap: 16px; }
.ab-featured-side-item { position: relative; overflow: hidden; background: var(--ab-black); flex: 1; }
.ab-featured-side-item img { width: 100%; height: 100%; object-fit: cover; min-height: 210px; transition: transform 6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease; opacity: 0.8; }
.ab-featured-side-item:hover img { transform: scale(1.05); opacity: 0.65; }
.ab-featured-side-item .ab-featured-overlay { padding: 24px; }
.ab-featured-side-item .ab-featured-overlay h3 { font-size: 1.1rem; }

/* Post Cards */
.ab-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ab-post-card { background: var(--ab-white); overflow: hidden; transition: var(--ab-transition); border: 1px solid var(--ab-grey-100); position: relative; }
.ab-post-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: var(--ab-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.ab-post-card:hover { transform: translateY(-6px); box-shadow: var(--ab-shadow-hover); border-color: transparent; }
.ab-post-card:hover::after { transform: scaleX(1); }
.ab-post-card-thumb { position: relative; overflow: hidden; height: 220px; background: var(--ab-black); }
.ab-post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s ease; }
.ab-post-card:hover .ab-post-card-thumb img { transform: scale(1.06); opacity: 0.85; }
.ab-post-card-thumb .ab-cat-badge { position: absolute; top: 14px; left: 14px; z-index: 2; }
.ab-post-card-body { padding: 24px; }
.ab-post-meta { display: flex; gap: 16px; font-size: 11px; color: var(--ab-grey-400); margin-bottom: 10px; }
.ab-post-meta i { margin-right: 4px; color: var(--ab-accent); }
.ab-post-card-body h4 { font-size: 1.05rem; line-height: 1.3; margin-bottom: 12px; text-transform: none; letter-spacing: 0; }
.ab-post-card-body h4 a:hover { color: var(--ab-accent); }
.ab-post-card-body .ab-excerpt { font-size: 14px; color: var(--ab-grey-600); line-height: 1.65; margin-bottom: 18px; }
.ab-read-more { font-family: var(--ab-font-heading); font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--ab-black); font-weight: 600; position: relative; display: inline-block; }
.ab-read-more::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px; background: var(--ab-accent); transition: width 0.3s ease; }
.ab-read-more:hover::after { width: 100%; }
.ab-read-more:hover { color: var(--ab-accent); }

/* Sidebar */
.ab-content-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.ab-sidebar .widget { background: var(--ab-white); padding: 28px; margin-bottom: 24px; border: 1px solid var(--ab-grey-100); }
.ab-sidebar .widget-title { font-family: var(--ab-font-heading); font-size: 15px; text-transform: uppercase; letter-spacing: 2px; padding-bottom: 12px; margin-bottom: 18px; position: relative; }
.ab-sidebar .widget-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--ab-accent); }
.ab-sidebar .widget ul { list-style: none; }
.ab-sidebar .widget ul li { padding: 8px 0; border-bottom: 1px solid var(--ab-grey-100); }
.ab-sidebar .widget ul li:last-child { border-bottom: none; }
.ab-sidebar .widget ul li a { font-size: 14px; color: var(--ab-grey-600); }
.ab-sidebar .widget ul li a:hover { color: var(--ab-black); padding-left: 8px; }

/* Single Post */
.ab-single-header { position: relative; height: 380px; background: var(--ab-black); overflow: hidden; }
.ab-single-header img { width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.ab-single-meta-box { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: var(--ab-white); width: 80%; animation: ab-fadeInUp 0.6s ease; }
.ab-single-meta-box h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 14px; color: var(--ab-white); }
.ab-single-content { background: var(--ab-white); padding: 44px; margin-top: -50px; position: relative; z-index: 2; box-shadow: var(--ab-shadow); animation: ab-fadeInUp 0.5s ease 0.2s both; }
.ab-single-content p { font-size: 16px; line-height: 1.85; margin-bottom: 22px; }
.ab-single-content h2, .ab-single-content h3 { margin: 36px 0 16px; text-transform: none; }
.ab-single-content img { margin: 24px 0; }
.ab-single-content blockquote { border-left: 4px solid var(--ab-accent); padding: 24px 28px; margin: 28px 0; background: var(--ab-off-white); font-style: italic; font-size: 18px; }
.ab-post-tags { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--ab-grey-100); }
.ab-post-tags a { display: inline-block; background: var(--ab-off-white); padding: 5px 14px; font-size: 12px; margin: 4px 4px 4px 0; color: var(--ab-grey-600); transition: var(--ab-transition); }
.ab-post-tags a:hover { background: var(--ab-black); color: var(--ab-white); }
.ab-comments { background: var(--ab-white); padding: 32px; margin-top: 24px; border: 1px solid var(--ab-grey-100); }

/* Footer */
.ab-footer { background: var(--ab-black); color: rgba(255,255,255,0.6); padding: 70px 0 0; }
.ab-footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; padding-bottom: 50px; }
.ab-footer h3 { color: var(--ab-white); font-size: 14px; margin-bottom: 20px; padding-bottom: 12px; letter-spacing: 2px; position: relative; }
.ab-footer h3::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--ab-accent); }
.ab-footer p { font-size: 14px; line-height: 1.7; }
.ab-footer ul { list-style: none; }
.ab-footer ul li { padding: 5px 0; }
.ab-footer ul li a { font-size: 14px; color: rgba(255,255,255,0.5); }
.ab-footer ul li a:hover { color: var(--ab-accent); padding-left: 6px; }
.ab-footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; text-align: center; font-size: 12px; color: rgba(255,255,255,0.35); }
.ab-footer-bottom a { color: var(--ab-accent); }

/* Scroll Top */
.ab-scroll-top { position: fixed; bottom: 30px; right: 30px; width: 46px; height: 46px; background: var(--ab-black); color: var(--ab-white); border: 1px solid rgba(255,255,255,0.15); font-size: 18px; cursor: pointer; z-index: 999; opacity: 0; visibility: hidden; transform: translateY(20px); transition: var(--ab-transition); display: flex; align-items: center; justify-content: center; }
.ab-scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.ab-scroll-top:hover { background: var(--ab-accent); color: var(--ab-black); border-color: var(--ab-accent); transform: translateY(-4px); }

/* Pagination */
.ab-pagination { display: flex; justify-content: center; gap: 4px; margin: 44px 0; }
.ab-pagination a, .ab-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; font-family: var(--ab-font-heading); font-size: 13px; color: var(--ab-grey-600); background: var(--ab-white); border: 1px solid var(--ab-grey-100); transition: var(--ab-transition); }
.ab-pagination span.current, .ab-pagination a:hover { background: var(--ab-black); color: var(--ab-white); border-color: var(--ab-black); }

/* 404 */
.ab-404 { text-align: center; padding: 100px 20px; }
.ab-404 h1 { font-size: 140px; color: var(--ab-black); line-height: 1; letter-spacing: -4px; }
.ab-404 p { font-size: 16px; color: var(--ab-grey-600); margin: 16px 0 36px; }
.ab-404 a.ab-btn { display: inline-block; background: var(--ab-black); color: var(--ab-white); padding: 14px 40px; font-family: var(--ab-font-heading); font-size: 12px; text-transform: uppercase; letter-spacing: 2px; }
.ab-404 a.ab-btn:hover { background: var(--ab-accent); color: var(--ab-black); }

/* WooCommerce */
.woocommerce a.button, .woocommerce button.button { background: var(--ab-black) !important; color: var(--ab-white) !important; }

/* Responsive */
@media (max-width: 1024px) {
    .ab-featured-grid { grid-template-columns: 1fr; }
    .ab-featured-side { flex-direction: row; }
    .ab-posts-grid { grid-template-columns: repeat(2, 1fr); }
    .ab-content-layout { grid-template-columns: 1fr; }
    .ab-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .ab-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ab-black-soft); z-index: 1000; border-top: 1px solid rgba(255,255,255,0.06); }
    .ab-nav.active { display: block; animation: ab-fadeInUp 0.3s ease; }
    .ab-nav ul { flex-direction: column; }
    .ab-nav ul li a { border-bottom: 1px solid rgba(255,255,255,0.04); padding: 14px 24px; }
    .ab-nav ul li ul.sub-menu { position: static; border: none; }
    .ab-menu-toggle { display: block; }
    .ab-hero-slide .ab-hero-bg { min-height: 300px; }
    .ab-hero-slide::before { width: 100%; background: linear-gradient(180deg, rgba(10,10,10,0.7) 0%, rgba(10,10,10,0.5) 100%); }
    .ab-hero-content { left: 24px; right: 24px; top: auto; bottom: 60px; transform: none; }
    .ab-hero-content h1 { font-size: 1.5rem; }
    .ab-hero-nav { bottom: 12px; right: 16px; }
    .ab-hero-nav button { width: 40px; height: 40px; }
    .ab-posts-grid { grid-template-columns: 1fr; }
    .ab-featured-side { flex-direction: column; }
    .ab-footer-grid { grid-template-columns: 1fr; }
    .ab-topbar { display: none; }
    .ab-single-content { padding: 28px 20px; margin-top: -30px; }
    .ab-section { padding: 50px 0; }
}
@media (max-width: 480px) {
    .ab-hero-content h1 { font-size: 1.3rem; }
    .ab-hero-content p { display: none; }
    .ab-post-card-thumb { height: 180px; }
}
