/*
 Theme Name:   GeneratePress Child
 Template:     generatepress
*/

@import url('https://fonts.googleapis.com/css2?family=IM+Fell+English:ital@0;1&family=Inter:wght@300;400;500;600&display=swap');

/* --- 1. GLOBAL & HEADER --- */
body, html {
    overflow-x: hidden;
    max-width: 100%;
    color: #111;
    font-family: 'Inter', sans-serif; 
    -webkit-font-smoothing: antialiased;
}

/* Apply IM Fell to all headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'IM Fell English', serif; 
    font-weight: 400;
    color: #000;
}

.site-header {
    border-bottom: 1px solid #e1e1e1;
}

.main-navigation .main-nav ul li a {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    font-size: 16px;
}

/* --- 2. HERO SECTION --- */
.aa-hero-wrapper-full {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%); /* This replaces the negative margin hack */
    background: #111;
    margin-bottom: 0;
}
.aa-hero-section {
    background: transparent;
    color: #fff;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0; 
}

.aa-hero-grid {
    display: flex;
    flex-wrap: wrap;
    min-height: 500px;
}

.aa-hero-visual {
    flex: 1.7;
    min-width: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 500px;
}

.aa-overlay {
    background: rgba(0,0,0,0.3);
    position: absolute;
    top:0; bottom:0; left:0; right:0;
}

.aa-status-tag {
    background: #d32f2f;
    color: #fff;
    padding: 5px 15px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-radius: 2px;
    align-self: flex-start; 
}

.aa-hero-data {
    flex: 1;
    min-width: 350px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #333;
}

.aa-title {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    font-family: 'IM Fell English', serif; 
    color: #fff;
}

.aa-meta-table {
    margin-bottom: 30px;
}
.aa-meta-row {
    display: flex;
    border-top: 1px solid #333;
    padding: 15px 0;
}
.aa-meta-row:last-child {
    border-bottom: 1px solid #333;
}
.aa-label {
    width: 100px;
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.aa-value {
    font-weight: 500;
    color: #fff;
}
.aa-sub-value {
    font-size: 0.85rem;
    color: #aaa;
    display: block;
    margin-top: 4px;
}

.aa-cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.aa-btn {
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    border-radius: 2px;
    transition: all 0.2s;
    display: inline-block;
    text-align: center;
}
.aa-btn-primary {
    background: #fff;
    color: #000;
}
.aa-btn-primary:hover {
    background: #ddd;
    color: #000;
}
.aa-btn-outline {
    border: 1px solid #fff;
    color: #fff;
}
.aa-btn-outline:hover {
    background: #fff;
    color: #000;
}
.aa-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* --- 3. PARTNERS & FEED SECTION --- */
.aa-partners-section {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: #f9f9f9;
    padding: 30px 20px;
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 40px;
}
.aa-feed-section {
    padding-bottom: 30px; 
}
.aa-feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
    margin-top: 40px;
}
.aa-feed-header h2 {
    margin: 0;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.aa-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    width: 100%;
}
.aa-item-card {
    border: 1px solid #eee;
    transition: transform 0.2s;
    background: #fff;
}
.aa-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.aa-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.aa-card-image {
    background: #f4f4f4;
}
.aa-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.aa-card-details {
    padding: 15px;
}
.aa-lot-number {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    display: block;
    margin-bottom: 5px;
}
.aa-card-title {
    font-size: 1rem;
    margin: 0 0 10px 0;
    line-height: 1.3;
    height: 42px;
    overflow: hidden;
    color: #333;
}
.aa-estimate-row {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 8px;
    font-family: sans-serif;
}
.aa-label-small {
    text-transform: uppercase;
    font-size: 0.7rem;
    color: #999;
    margin-right: 4px;
}
.aa-price-row {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    color: #000;
    border-top: 1px solid #eee;
    padding-top: 10px;
}
.aa-price-label {
    font-size: 0.85rem;
    color: #555;
}
.aa-auction-ref {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.aa-divider {
    height: 1px;
    background: #eee;
    margin: 10px 0;
    width: 100%;
}

/* --- 4. ABOUT & TRUST SECTION --- */
.aa-about-section {
    padding: 50px 20px;
    background: #fff;
    text-align: center;
    border-bottom: 1px solid #eee;
}
.aa-container-narrow {
    max-width: 900px;
    margin: 0 auto;
}
.aa-lead-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 40px;
}
.aa-trust-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 30px 0;
}
.aa-trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.aa-badge-icon {
    width: 40px;
    height: auto;
}
.aa-trust-text {
    text-align: left;
    display: flex;
    flex-direction: column;
}

/* FIXED: Stars Styling */
.aa-stars-row {
    display: flex;
    gap: 2px;
    margin: 3px 0;
}
.aa-star-icon {
    width: 16px;
    height: 16px;
    color: #f39c12; /* Gold */
}

.aa-rating-sub {
    font-size: 0.7rem;
    color: #888;
}

.aa-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}
.aa-quote-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 4px;
    font-style: italic;
    color: #555;
    border-left: 3px solid #d32f2f;
}
.aa-quote-card cite {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    font-style: normal;
    color: #111;
    font-size: 0.85rem;
}

/* --- 5. BID LIVE ONLINE SECTION --- */
.aa-bid-live-section {
    padding: 50px 20px;
    background: #f4f6f8; 
}
.aa-bid-options-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.aa-bid-option {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #e1e1e1;
    flex: 1;
    min-width: 280px;
    text-align: center;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.aa-app-btn {
    display: inline-flex;
    align-items: center;
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.aa-app-btn:hover {
    background: #333;
    color: #fff;
}
.aa-phone-bid-box {
    text-align: center;
    margin: 40px auto;
    max-width: 600px;
    border-top: 1px solid #ddd;
    padding-top: 30px;
}
.aa-phone-link {
    font-size: 1.5rem;
    font-weight: bold;
    color: #111;
    text-decoration: none;
}
.aa-partners-footer {
    text-align: center;
    margin-top: 50px;
}
.aa-partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    align-items: center;
}
.aa-partner-link img {
    height: 40px;
    width: auto;
    display: block;
}
.aa-partner-link:hover {
    opacity: 0.8;
}

/* --- 6. SELL SECTION (Dark) --- */
.aa-sell-section {
    background: #111;
    color: #fff;
    padding: 80px 20px;
    overflow: hidden;
}
.aa-sell-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.aa-sell-content {
    flex: 1;
    padding-right: 50px;
}
.aa-sell-visual {
    flex: 1;
    text-align: center;
}
.aa-floating-coin {
    max-width: 320px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6));
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* FIXED: Bullet Points Styling */
.aa-sell-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    font-size: 1.1rem;
    color: #ccc;
}
.aa-sell-features li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 30px; /* Space for the checkmark */
}
/* REMOVED: Old bullet style. 
   ADDED: CSS Border Checkmark Fix to prevent '?' */
.aa-sell-features li::before {
    content: '' !important; 
    display: block;
    width: 7px;       
    height: 14px;     
    border: solid #f39c12; 
    border-width: 0 3px 3px 0; 
    transform: rotate(45deg); 
    position: absolute;
    left: 5px;
    top: 0px;
}

.aa-btn-white {
    background: #fff;
    color: #000;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}
.aa-btn-white:hover {
    background: #ddd;
    color: #000;
}
.text-white { color: #fff; }
.text-white-opacity { color: rgba(255,255,255,0.7); }

/* --- 7. FOOTER STYLES --- */
.site-footer {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    background: #0a0a0a;
    color: #888;
    padding: 80px 0 80px 0;
    font-size: 0.95rem;
    border-top: 3px solid #d32f2f;
    box-sizing: border-box;
}

.footer-widgets-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 60px;
    align-items: start;
}

.footer-logo {
    color: #fff;
    font-family: 'IM Fell English', serif; /* UPDATE: Was Times New Roman */
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.footer-tagline {
    font-style: italic;
    margin-bottom: 30px;
    color: #aaa;
}
.footer-copy {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.6;
}
.footer-heading-serif {
    color: #fff;
    font-family: 'IM Fell English', serif; /* UPDATE: Was Times New Roman */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    display: block;
    width: 100%;
}
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-menu li {
    margin-bottom: 12px;
}
.footer-menu a {
    color: #888;
    text-decoration: none;
    transition: all 0.2s;
}
.footer-menu a:hover {
    color: #fff;
    padding-left: 5px;
}
.contact-data a:hover {
    color: #fff !important;
    text-decoration: underline;
}

/* --- 8. MOBILE & SLIDER FIXES --- */
.aa-slider-container {
    position: relative;
    height: 600px; 
    overflow: hidden;
    background: #111;
}

.aa-hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    background: #111;
    z-index: 1;
}

.aa-hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Ensure content inside slide stretches fully */
.aa-hero-slide .aa-hero-grid {
    height: 100%;
}

.aa-slider-controls {
    position: absolute;
    bottom: 30px;
    right: 40px; 
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0,0,0,0.5);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}

.aa-control-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 5px;
    transition: color 0.2s;
}
.aa-control-btn:hover {
    color: #d32f2f;
}

.aa-slide-counter {
    color: #fff;
    font-family: 'IM Fell English', serif; /* UPDATE: Was Times New Roman */
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: bold;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: left;
    }
}
@media (max-width: 768px) {
    .aa-slider-container {
        height: 750px !important;
    }
    .aa-hero-grid {
        flex-direction: column;
    }
    .aa-hero-visual {
        flex: none; 
        height: 250px; 
        min-height: 0; 
        width: 100%;
    }
    .aa-hero-data {
        flex: 1;
        width: 100%;
        padding: 30px 20px 80px 20px; 
        border-left: none; 
        justify-content: flex-start;
    }
    .aa-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    .aa-slider-controls {
        bottom: 20px;
        right: 50%;
        transform: translateX(50%); 
        width: auto;
        white-space: nowrap;
    }
    .aa-feed-header, 
    .aa-section-title,
    .aa-feed-grid {
        padding-left: 20px;
        padding-right: 20px;
    }
    .aa-feed-grid {
        gap: 20px; 
    }
}
.aa-cta-group span { color: #ccc !important; letter-spacing: 1px; }
/* --- PAGE HEADERS --- */
.aa-page-header {
    text-align: center;
    padding: 60px 20px 40px;
}
.aa-page-title {
    font-family: 'IM Fell English', serif; /* UPDATE: Was Times New Roman */
    font-size: 3.2rem; /* IM Fell is visually smaller, so we bump the size up slightly */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #111;
    font-weight: 400; /* IM Fell doesn't need bold */
}.aa-divider-center {
    width: 60px;
    height: 1px;
    background: #ddd;
    margin: 0 auto;
}

/* --- STAFF GRID --- */
.aa-staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 40px;
}
.aa-staff-card {
    text-align: center;
}
.aa-staff-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f4f4f4;
    border-radius: 50%; /* Circle Headshots */
    border: 1px solid #eee;
}
.aa-staff-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.aa-placeholder-headshot {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
}
.aa-staff-name {
    font-family: 'IM Fell English', serif; /* UPDATE: Was Times New Roman */
    font-size: 1.2rem;
    margin: 0 0 5px 0;
    color: #111;
}
.aa-staff-title {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #d32f2f; /* Brand Red */
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 0.5px;
}
.aa-staff-bio {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* --- HISTORY TIMELINE --- */
.aa-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
    border-left: 1px solid #ddd;
}
.aa-timeline-item {
    position: relative;
    margin-bottom: 50px;
    padding-left: 30px;
}
.aa-timeline-marker {
    position: absolute;
    left: -35px;
    top: 5px;
    width: 11px;
    height: 11px;
    background: #fff;
    border: 2px solid #d32f2f;
    border-radius: 50%;
}
.aa-timeline-year {
    display: block;
    font-weight: bold;
    color: #d32f2f;
    margin-bottom: 5px;
}
.aa-timeline-title {
    margin: 0 0 10px 0;
    font-family: 'IM Fell English', serif; /* UPDATE: Was Times New Roman */
    font-size: 1.5rem;
}

/* --- FAQ ACCORDION --- */
.aa-faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid #eee;
}
.aa-faq-item {
    border-bottom: 1px solid #eee;
}
.aa-faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    font-family: inherit;
}
.aa-faq-question:hover {
    color: #d32f2f;
}
.aa-faq-icon {
    font-weight: bold;
    font-size: 1.2rem;
    color: #ccc;
}
.aa-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.aa-faq-inner {
    padding-bottom: 25px;
    color: #666;
    line-height: 1.6;
}

/* --- SELLERS PROCESS --- */
.aa-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.aa-step-card {
    background: #fdfdfd;
    padding: 30px;
    border: 1px solid #eee;
    text-align: center;
}
.aa-step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    font-family: 'IM Fell English', serif; /* UPDATE: Was Times New Roman */
    font-size: 1.2rem;
    margin-bottom: 15px;
}
.aa-step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.aa-step-card p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}
.aa-btn-dark {
    background: #111;
    color: #fff;
    text-decoration: none;
    padding: 15px 30px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: inline-block;
    transition: background 0.2s;
}
.aa-btn-dark:hover {
    background: #333;
    color: #fff;
}
.aa-center-cta { text-align: center; }

/* OPTION 2: Black Background for Trust Section */
.aa-about-section {
    background-color: #111 !important;
    color: #fff !important;
}
.aa-about-header h2, 
.aa-lead-text, 
.aa-trust-text strong,
.aa-quote-card cite {
    color: #fff !important;
}
.aa-quote-card {
    background-color: #222 !important; /* Dark Gray Cards */
    border: 1px solid #333;
    color: #ccc !important;
}
.aa-rating-sub {
    color: #999 !important;
}
/* SURGICAL UPDATE: Standard Page & Auction Titles (Inter + Smaller) */
.aa-page-title,       /* Custom Templates (Contact, Sellers) */
.entry-title,         /* Standard Pages */
.page-title,          /* Auction Archives (Upcoming/Past) */
.archive h1 {         /* Backup for Archive Headers */
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 2.4rem !important; /* Reduced size (down from ~3rem) */
    margin-bottom: 20px;
}
/* SURGICAL UPDATE: Reduce top padding on page headers */
.aa-page-header {
    padding-top: 20px !important;  /* Reduced from 60px */
    padding-bottom: 30px !important; /* Slightly tighter bottom spacing too */
}

/* --- 9. SELLERS PAGE STYLES --- */

/* Intro Grid (Desktop Default) */
.aa-seller-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
    align-items: center;
}

/* Process Section (Desktop Default) */
.aa-process-section {
    background: #f9f9f9;
    padding: 50px 30px;
    border-radius: 4px;
    margin-bottom: 60px;
}

/* Checkmark List */
.aa-check-list {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    margin-left: -5px;
}
.aa-check-list li {
    margin-bottom: 10px;
    padding-left: 35px; /* Increased padding for alignment */
    position: relative;
    color: #444;
    font-family: 'Inter', sans-serif;
}
.aa-check-list li:before {
    content: '';
    display: block;
    width: 6px;
    height: 12px;
    border: solid #d32f2f;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    position: absolute;
    left: 0; /* Move icon to far left */
    top: 6px; /* Vertical alignment */
}

/* Sellers Mobile Optimization */
@media (max-width: 768px) {
    /* Stack grid and reduce spacing */
    .aa-seller-intro-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        margin-bottom: 40px !important;
    }

    /* Process Section Padding Reduction */
    .aa-process-section {
        padding: 30px 20px !important;
    }

    /* Full width button */
    .aa-seller-text .aa-btn {
        display: block;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    /* Center Heading */
    .aa-seller-text h2 {
        text-align: center;
        font-size: 1.8rem; 
    }
}

/* --- 10. NEWSLETTER & ALL LOTS --- */

.aa-newsletter-section {
    background: #f4f4f4;
    padding: 60px 20px;
    border-top: 1px solid #ddd;
}
.aa-newsletter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
.aa-nl-text {
    flex: 1;
    min-width: 300px;
}
.aa-nl-text h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.8rem;
}
.aa-nl-text p {
    margin-bottom: 0;
    color: #666;
}
.aa-nl-form {
    flex: 1.2;
    min-width: 300px;
}
.aa-form-group {
    display: flex;
    gap: 10px;
}
.aa-email-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 1rem;
}
@media (max-width: 768px) {
    .aa-newsletter-wrapper { flex-direction: column; text-align: center; }
    .aa-form-group { flex-direction: column; }
    .aa-email-input { width: 100%; box-sizing: border-box; }
    .aa-nl-form button { width: 100%; }
}

/* --- 11. ANTIQUE & DECORATIVE FLOURISHES --- */

/* "Banknote" Style Section Headings */
/* Replaces the standard headers with a bordered, engraved look */
.aa-section-title, 
.aa-feed-header h2 {
    font-family: 'IM Fell English', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    color: #222;
    font-weight: 400; /* Let the font nuances show */
    font-size: 2.2rem;
}

/* The decorative underline flourish */
.aa-section-title::after,
.aa-feed-header h2::after {
    content: "aaa"; /* Placeholder for shape */
    font-family: sans-serif; /* Hides the text, uses shape below */
    color: transparent; 
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: 
        linear-gradient(to right, transparent, #d32f2f, transparent); /* Faded red line */
    opacity: 0.6;
}

/* Frame Effect for Featured Lots */
/* Adds a double border around the feed grid to look like a display case */
.aa-feed-section {
    position: relative;
    padding: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #e0e0e0;
    outline: 1px solid #e0e0e0; /* Double border */
    outline-offset: -6px;
}
@media (max-width: 768px) {
    .aa-feed-section { padding: 20px; outline: none; border: none; background: transparent; box-shadow: none; }
}

/* Typography Adjustments */
.aa-lead-text {
    font-family: 'IM Fell English', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: #555;
}

/* Gold/Bronze Accents (Numismatic Feel) */
.aa-trust-item strong {
    color: #c5a059; /* Antique Gold */
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Fix for Sell Section Title Color Override */
.aa-sell-section .aa-section-title {
    color: #fff;
}

/* View All Link Styles */
.aa-view-all-wrapper {
    text-align: right;
    margin-top: 30px;
    padding-bottom: 10px;
}
.aa-view-all-link {
    font-family: 'IM Fell English', serif;
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
    padding-bottom: 2px;
    transition: all 0.2s;
}
.aa-view-all-link:hover {
    color: #d32f2f;
    border-bottom-color: #d32f2f;
}

/* --- 12. NAVIGATION & TABLET LAYOUT FIXES --- */

/* Desktop Navigation Layout (> 1366px) */
@media (min-width: 1367px) {
    .site-header .inside-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap; 
    }
    .main-navigation .inside-navigation {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    .main-navigation .main-nav > ul {
        display: flex;
        align-items: center;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    /* Aligns the GeneratePress Search Icon inline with the menu */
    .menu-bar-items {
        display: flex;
        align-items: center;
        padding-left: 15px; 
    }
    .menu-toggle { display: none; }
}

/* Laptop & iPad Layout (769px to 1366px) 
   Stacks Logo on top, Navigation perfectly centered below */
@media (min-width: 769px) and (max-width: 1366px) {
    .site-header .inside-header {
        flex-direction: column !important;
        justify-content: center !important;
        padding-top: 25px !important;
        padding-bottom: 10px !important;
    }
    .site-header .header-image {
        margin-bottom: 20px !important;
        width: 300px !important; 
    }
    .main-navigation { width: 100%; }
    .main-navigation .inside-navigation {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .main-navigation .main-nav > ul {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center;
        margin: 0;
        padding: 0;
    }
    .main-navigation .main-nav > ul > li {
        padding: 5px 12px !important; /* Tighter padding */
    }
    .main-navigation .main-nav ul li a {
        font-size: 14px !important; /* Scales text down slightly */
    }
    /* Ensures search icon sits on the same line as the links */
    .menu-bar-items {
        display: flex;
        align-items: center;
        padding-left: 10px;
    }
}

/* --- 13. HERO SLIDER HEIGHT FIXES (TABLET & MOBILE) --- */

/* iPad Portrait & Large Phones (max 900px) */
@media (max-width: 900px) {
    .aa-slider-container {
        height: 900px !important; 
    }
    .aa-hero-grid {
        flex-direction: column !important;
        flex-wrap: nowrap !important; /* CRITICAL FIX: Stops the text from wrapping off-screen */
    }
    .aa-hero-visual {
        flex: none !important; 
        height: 400px !important; 
        min-height: 400px !important; /* Overrides the desktop min-height */
        width: 100% !important;
    }
    .aa-hero-data {
        flex: none !important;
        height: 500px !important; /* Image (400) + Text (500) = Perfect 900px fit */
        width: 100% !important;
        padding: 40px 30px 100px 30px !important; 
        justify-content: flex-start !important;
        border-left: none !important;
    }
    .aa-slider-controls {
        bottom: 30px !important;
        right: 50% !important;
        transform: translateX(50%) !important; 
        width: auto !important;
        white-space: nowrap !important;
    }
}

/* Small Mobile Phones (< 550px) */
@media (max-width: 550px) {
    .aa-slider-container {
        height: 850px !important; 
    }
    .aa-hero-visual {
        height: 300px !important; 
        min-height: 300px !important;
    }
    .aa-hero-data {
        height: 550px !important;
        padding: 40px 20px 100px 20px !important; 
        min-width: 0 !important;
    }
    .aa-title {
        font-size: 2rem !important; 
        line-height: 1.1;
    }
}

/* --- 14. GLOBAL MOBILE OVERRIDES & EXTRAS --- */
.text-center {
    text-align: center !important;
}

/* --- FINAL MOBILE OVERRIDES (Phones Only) --- */
@media (max-width: 768px) {
    .site-header .header-image {
        width: 280px; 
    }
    /* 1. Fix orphan letters */
    .aa-page-title, 
    .entry-title, 
    .page-title, 
    .archive h1 {
        font-size: 1.8rem !important; 
        word-break: keep-all !important;
    }

    /* 2. Pull the checkmarks back onto the screen */
    .aa-check-list {
        margin-left: 15px !important; 
    }
    
    /* 3. Perfectly center the button */
    .aa-seller-text .aa-btn {
        margin-left: 0 !important;
        width: 100%;
        text-align: center;
        box-sizing: border-box;
    }

    /* 4. Fix Sell Section Coin & Text Squeezing (MOBILE ONLY) */
    .aa-sell-grid {
        flex-direction: column-reverse !important; /* Stacks coin on top ONLY on mobile */
        gap: 40px;
    }
    .aa-sell-content {
        padding-right: 0 !important;
        width: 100%;
    }
    .aa-floating-coin {
        max-width: 200px;
        margin: 0 auto;
    }
}

/* Align evaluation button with checkmarks on desktop */
@media (min-width: 769px) {
    .aa-seller-text .aa-btn {
        margin-left: 35px; /* Indents the button to match the text perfectly */
    }
}

/* --- THE FIRE WATCH BADGE --- */
.aa-firewatch-badge {
    display: inline-block;
    margin-top: 25px; 
}
.aa-firewatch-badge img {
    max-width: 160px; /* Keeps the badge small and tidy */
    height: auto;
    opacity: 0.7; /* Slightly muted so it blends well with the footer text */
    transition: opacity 0.3s ease;
    display: block;
}
.aa-firewatch-badge:hover img {
    opacity: 1; /* Brightens to full white when hovered */
}
/* --- SHARP LOGO FIX --- */
/* This global rule prevents the logo from blowing up at ANY breakpoint */
.site-header .header-image,
.site-logo img, 
.header-image img {
    width: 350px !important; 
    max-width: 100% !important; 
    height: auto !important;
    flex-shrink: 0 !important;
    display: block;
}

/* Optional: Different size for mobile */
@media (max-width: 768px) {
    .site-header .header-image,
    .site-logo img, 
    .header-image img {
        width: 250px !important; 
    }
}
@font-face {
    font-family: 'IM Fell English';
    src: url('https://fonts.wp.com/s/imfellenglish/v14/Ktk1ALSLW8zDe0rthJysWrnLsAzHEKOYd4xI5g.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('https://fonts.wp.com/s/inter/v20/UcC73FwrK3iLTeHuS_nVMrMxCp50SjIa1ZL7W0Q5nw.woff2') format('woff2');
    font-display: swap;
}
