/*
Theme Name: Varner Equipment v23
Theme URI: https://varnerequipment.com
Author: hwy559.com
Author URI: https://hwy559.com
Description: High-performance, industrial-calm storefront for Varner Equipment. Optimized for v23 OS.
Version: 1.23.271
Requires at least: 5.4
Tested up to: 6.4
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: varner-v23
*/

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Dynamic Accessibility Skip Link */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 20px;
    background: #dc2626;
    color: white;
    padding: 10px 20px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.1em;
    z-index: 99999;
    border-radius: 0 0 12px 12px;
    transition: top 0.2s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-decoration: none;
}
.skip-to-content:focus {
    top: 0;
    outline: none;
}

.hero-gradient {
    background: linear-gradient(to top, #020617 0%, transparent 60%, rgba(2, 6, 23, 0.3) 100%);
}

/* Sticky Header adjustment for Admin Bar */
.admin-bar .sticky {
    top: 32px;
}
@media screen and (max-width: 782px) {
    .admin-bar .sticky {
        top: 46px;
    }
}

/* CINEMATIC REVEAL ANIMATIONS */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for a more organic feel */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* Custom WYSIWYG / description styling since Tailwind Preflight resets defaults */
.prose p {
    margin-bottom: 1rem !important;
    line-height: 1.6;
}
.prose p:last-child {
    margin-bottom: 0 !important;
}
.prose ul {
    list-style-type: disc !important;
    margin-bottom: 1rem !important;
    padding-left: 1.5rem !important;
}
.prose ol {
    list-style-type: decimal !important;
    margin-bottom: 1rem !important;
    padding-left: 1.5rem !important;
}
.prose li {
    margin-bottom: 0.25rem !important;
}

/* Hero subtitle styling overrides */
.hero-subtitle-container {
    color: #ffffff !important;
}
.hero-subtitle-container p,
.hero-subtitle-container a,
.hero-subtitle-container strong,
.hero-subtitle-container em {
    color: #ffffff;
}

/* Modern Pagination Styling */
.varner-pagination ul.page-numbers {
    display: inline-flex !important;
    align-items: center;
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important; /* light gray border */
    border-radius: 0.5rem !important; /* rounded-lg */
    padding: 0 !important;
    margin: 2rem 0 !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    overflow: hidden;
    list-style: none !important;
}

.varner-pagination ul.page-numbers li {
    list-style-type: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
}

.varner-pagination ul.page-numbers li::before {
    content: none !important;
}

/* Individual page number styles */
.varner-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 2.5rem;
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563 !important; /* gray-600 */
    background-color: transparent !important;
    border: 1px solid transparent !important;
    text-decoration: none !important;
    transition: all 0.15s ease-in-out;
    cursor: pointer;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Hover state for page numbers (except active page and dots) */
.varner-pagination a.page-numbers:hover {
    color: #111827 !important; /* gray-900 */
    background-color: #f3f4f6 !important; /* gray-100 */
}

/* Active page (highlighted square inside pagination bar) */
.varner-pagination .page-numbers.current {
    font-weight: 700;
    color: #111827 !important; /* gray-900 */
    background-color: #ffffff !important;
    border: 1px solid #111827 !important; /* dark slate border */
    border-radius: 0.25rem !important; /* small rounded corners for the active square */
    min-width: 2.25rem !important;
    height: 2.25rem !important;
    margin: 0 0.25rem !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    cursor: default !important;
}

/* Prev and Next buttons styling */
.varner-pagination .page-numbers.prev {
    font-weight: 600;
    color: #4b5563 !important;
    padding: 0 1.25rem !important;
    border-right: 1px solid #d1d5db !important;
}

.varner-pagination .page-numbers.next {
    font-weight: 600;
    color: #4b5563 !important;
    padding: 0 1.25rem !important;
    border-left: 1px solid #d1d5db !important;
}

/* Ellipsis / Dots styling */
.varner-pagination .dots {
    color: #9ca3af !important; /* gray-400 */
    cursor: default !important;
    padding: 0 0.75rem !important;
}


