/*
 Theme Name:   Vintage Action Figures Child
 Theme URI:    https://www.vintageactionfigures.net
 Description:  GeneratePress child theme for VintageActionFigures.net
 Author:       VintageActionFigures.net
 Template:     generatepress
 Version:      2.1
*/

/* ============================================================
   CSS VARIABLES
   Edit these to retheme the entire site in one place.
   ============================================================ */
:root {
    --color-teal:         #4cc4e0;
    --color-teal-dark:    #2fa8c8;
    --color-teal-light:   #daf5fa;
    --color-red:          #e8453c;
    --color-red-dark:     #c93530;
    --color-purple:       #7b2d8b;
    --color-purple-dark:  #4a0d5c;
    --color-dark:         #2a2a2a;
    --color-text:         #555555;
    --color-text-dark:    #333333;
    --color-text-light:   #777777;
    --color-bg:           #ffffff;
    --color-bg-light:     #fafafa;
    --color-bg-warm:      #f5f0e8;
    --color-bg-teal:      #daf5fa;
    --color-bg-purple:    #EED2FF;
    --color-border:       #dddddd;
    --color-border-warm:  #d6ccb8;
    --font-display:       'Rubik', sans-serif;
    --font-body:          'Roboto Mono', monospace;
    --font-ui:            'Rubik', sans-serif;
    --radius:             8px;
    --radius-sm:          4px;
    --shadow-sm:          1px 3px 8px 2px #eaeaea;
    --shadow-card:        0 2px 10px rgba(0,0,0,0.05);
    --shadow-hover:       0 4px 12px rgba(0,0,0,0.10);
}

/* ============================================================
   BASE
   ============================================================ */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
}

.entry-title,
.widget-title {
    font-family: var(--font-display);
    font-weight: 500;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.content .entry {
    margin-bottom: 3.2rem;
    padding: 3.2rem 1.5rem;
    border-radius: var(--radius);
}

.site-header,
.site-container,
.lifestyle-pro-blue .site-footer,
.lifestyle-pro-blue.lifestyle-pro-home .content .widget-title {
    border-radius: var(--radius);
}

/* ============================================================
   NAVIGATION — PRIMARY (top nav)
   ============================================================ */
.genesis-nav-menu .menu-item {
    font-weight: bold;
}

/* ============================================================
   NAVIGATION — SECONDARY (category pill nav)
   ============================================================ */
.menu-secondary {
    background-color: var(--color-bg);
}

.menu-secondary a {
    color: black !important;
    border: 2px solid var(--color-teal) !important;
    border-radius: var(--radius);
    margin: 10px 5px 5px 0;
    font-size: 1em;
    transition: all 0.2s ease;
}

.menu-secondary a:hover {
    color: var(--color-teal) !important;
    background-color: #efefef !important;
    border: 2px solid var(--color-teal) !important;
}

.menu-secondary .current-menu-item > a {
    color: blue;
    background-color: lightblue;
    border: 2px solid #000 !important;
}

/* A-Z Index nav button — purple */
#menu-item-6232 a {
    background: var(--color-purple) !important;
    color: white !important;
    border: 2px solid var(--color-purple) !important;
}

#menu-item-6232 a:hover {
    background: var(--color-purple-dark) !important;
    color: white !important;
    border: 2px solid var(--color-purple-dark) !important;
}

/* ============================================================
   SOCIAL LINKS MENU
   ============================================================ */
.site-header .widget-area {
    color: #fff;
    float: right;
    width: 200px;
}

#menu-social-links li,
#menu-social-links a {
    list-style-type: none;
    float: right;
    font-size: 45px;
    padding: 10px;
    border-radius: var(--radius);
}

#menu-social-links a:hover {
    background-color: #fff;
    color: var(--color-teal);
}

/* ============================================================
   STICKY / FEATURED POST
   ============================================================ */
.sticky {
    background: var(--color-bg-light) !important;
    border: 1px dotted var(--color-purple) !important;
    color: #111;
}

.sticky img,
#featured-post-2 img {
    transform: rotate(-2deg);
    box-shadow: var(--shadow-sm);
    width: 340px;
    float: left;
}

.sticky::before {
    content: "FEATURED ACTION FIGURE: ";
    padding-bottom: 30px;
    font-size: 23px;
    font-weight: 600;
    color: var(--color-purple);
    display: block;
    position: relative;
    text-align: center;
    font-style: italic;
}

.home img {
    box-shadow: var(--shadow-sm);
    float: left;
}

/* ============================================================
   ARCHIVE / TAXONOMY DESCRIPTION
   ============================================================ */
.archive-description,
.author-box,
.sticky {
    background-color: var(--color-bg-teal);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar .widget {
    background: var(--color-bg-purple);
    border-radius: var(--radius);
}

.sidebar .textwidget p {
    text-align: left;
}

.sidebar .widget a {
    color: #000;
}

.sidebar .widget .ebay-marketplace-selector {
    background: var(--color-bg-purple);
}

/* ============================================================
   IMAGES
   ============================================================ */
.wp-block-image {
    margin-bottom: 1.5em !important;
    padding-bottom: 0 !important;
}

.wp-block-image figcaption {
    margin-top: 0.5em;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    font-size: smaller;
    text-align: center;
    font-style: italic;
    color: #888;
}

/* ============================================================
   EBAY PRODUCT CARDS (custom plugin output)
   ============================================================ */
.ebffwp-template-grid.ebffwp-columns-2 {
    width: 50%;
    padding: 10px 30px;
}

.ebayfeed td {
    border-bottom: 2px solid silver;
    border-top: 0;
}

.ebayfeed h4 {
    font-family: 'Open Sans', sans-serif;
    font-size: medium;
    font-weight: bold;
}

.ebayfeed h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: large;
    font-weight: bold;
    font-style: italic;
}

/* New eBay card layout */
.ebay-products-container {
    display: grid;
    gap: 16px;
    padding: 0;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 40px;
}

.ebay-product {
    background: var(--color-bg-warm);
    border: 1px solid var(--color-border-warm);
    border-top: 3px solid var(--color-teal);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease-in-out;
    position: relative;
}

.ebay-product::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 4px 4px;
    pointer-events: none;
}

.ebay-product:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--color-purple);
}

.ebay-product-image {
    background-color: #ede8df;
    padding: 14px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.ebay-product-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: sepia(5%);
    transition: filter 0.2s ease;
}

.ebay-product:hover .ebay-product-image img {
    filter: sepia(0%);
}

.ebay-product-details {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--color-border-warm);
}

.ebay-title {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-dark);
    margin: 0;
    font-family: var(--font-display);
    line-height: 1.3;
}

.ebay-price {
    color: var(--color-dark);
    font-size: 0.88rem;
    font-weight: 600;
    font-family: var(--font-display);
}

.ebay-store,
.ebay-delivery {
    font-size: 0.72rem;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-style: italic;
}

.ebay-buy-button {
    background-color: var(--color-teal);
    color: var(--color-dark) !important;
    text-decoration: none;
    border-radius: var(--radius-sm);
    padding: 8px 14px;
    font-weight: 500;
    font-size: 0.78rem;
    font-family: var(--font-display);
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    margin-top: auto;
}

.ebay-buy-button:hover {
    background-color: var(--color-dark);
    color: var(--color-teal) !important;
}

.check-price-link {
    color: var(--color-teal-dark);
    text-decoration: underline;
    font-weight: bold;
}

.check-price-link:hover {
    color: var(--color-purple);
}

.ebay-marketplace-selector {
    text-align: center;
    background: var(--color-bg-warm);
    border-radius: var(--radius);
    padding: 10px;
}

.ebay-marketplace-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-purple);
    font-family: var(--font-display);
}

.ebay-marketplace-dropdown {
    padding: 7px 12px;
    font-size: 0.88rem;
    font-family: var(--font-body);
    width: auto;
    min-width: 100px;
    max-width: 200px;
    margin: 10px;
    color: var(--color-text-dark);
    border: 1px solid var(--color-border-warm);
    border-left: 3px solid var(--color-teal);
    border-radius: var(--radius-sm);
}

.ep-affiliate-disclosure {
    font-size: 0.72rem;
    font-style: italic;
    color: var(--color-text-light);
    font-family: var(--font-body);
}

.ep-show-more-button {
    display: block;
    margin: 15px auto;
    padding: 10px 20px;
    background: var(--color-purple);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 500;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--font-display);
    transition: all 0.2s ease;
}

.ep-show-more-button:hover {
    background: var(--color-purple-dark);
}

/* eBay hub section wrapper */
.mego-hub__ebay,
.hub__ebay {
    background: var(--color-bg-teal);
    border: 1px solid #b8e8f2;
    border-left: 4px solid var(--color-teal);
    padding: 28px 28px 24px;
    margin: 48px 0;
    border-radius: var(--radius);
}

.ebay-browse-header h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.ebay-browse-header p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-text-light);
    margin-bottom: 18px;
}

/* ============================================================
   A-Z INDEX — JUMP LINKS & FILTER
   ============================================================ */
/* ============================================================
   A-Z INDEX — FILTER FORM
   ============================================================ */
#manufacturer-filter,
#decade-filter {
    background: var(--color-bg-warm);
    border-top: 4px solid var(--color-teal);
    border-bottom: 1px solid var(--color-border-warm);
    padding: 16px 24px;
    margin: 0 0 32px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    position: relative;
    border-radius: var(--radius-sm);
}

#manufacturer-filter::before,
#decade-filter::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 4px 4px;
    pointer-events: none;
}

#manufacturer-filter label,
#decade-filter label {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-purple);
    position: relative;
}

#manufacturer-filter select,
#decade-filter select {
    font-family: var(--font-body);
    font-size: 0.88rem;
    padding: 7px 12px;
    width: auto;
    min-width: 180px;
    max-width: 240px;
    color: var(--color-text-dark);
    background: #fff;
    border: 1px solid var(--color-border-warm);
    border-left: 3px solid var(--color-teal);
    border-radius: var(--radius-sm);
    cursor: pointer;
    position: relative;
    margin: 0;
}

#manufacturer-filter select:focus,
#decade-filter select:focus {
    outline: none;
    border-left-color: var(--color-purple);
}

.clear-filter-button {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 7px 14px;
    background: transparent;
    color: var(--color-purple);
    border: 1px solid var(--color-purple);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.clear-filter-button:hover {
    background: var(--color-purple);
    color: #fff;
}

.entry-subtitle {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-style: italic;
    color: var(--color-text-light);
    margin-top: -8px;
    margin-bottom: 24px;
}

/* ============================================================
   A-Z INDEX — JUMP LINKS
   ============================================================ */
.jump-links {
    background: var(--color-dark);
    padding: 12px 20px;
    margin-bottom: 32px;
    text-align: center;
    line-height: 2.2;
    position: relative;
    overflow: hidden;
}

.jump-links::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(76,196,224,0.06) 1px, transparent 1px);
    background-size: 4px 4px;
    pointer-events: none;
}

.jump-links a {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: rgba(255,255,255,0.65);
    padding: 3px 7px;
    border-radius: var(--radius-sm);
    margin: 0 1px;
    transition: all 0.15s ease;
    position: relative;
}

.jump-links a:hover {
    background: var(--color-teal);
    color: var(--color-dark);
    text-decoration: none;
}

/* ============================================================
   A-Z INDEX — LETTER HEADINGS & FIGURE GROUPS
   ============================================================ */
.figures-index {
    margin-top: 8px;
}

/* Ensure A-Z and hub page content respects GP content padding */
.page-template-page-az-index .site-main{
    padding: 0 40px 40px;
}

/* Override GP's flex content/sidebar layout on full-width template pages */
.page-template-page-az-index .site-content,
.page-template-page-mego-hub .site-content {
    display: block;
}

.figures-index > h2 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #fff;
    background: var(--color-dark);
    display: inline-block;
    padding: 5px 18px;
    margin: 32px 0 16px;
    border-left: 4px solid var(--color-teal);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.figure-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
    margin-bottom: 8px;
}

/* ============================================================
   FIGURE CARDS — A-Z & hub pages
   ============================================================ */
.figure-card {
    background: var(--color-bg-warm);
    padding: 0;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all 0.2s ease;
    border: 1px solid var(--color-border-warm);
    border-top: 3px solid transparent;
    text-decoration: none;
    display: block;
    overflow: hidden;
}

.figure-card:hover {
    background: var(--color-bg);
    border-top-color: var(--color-teal);
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

.figure-card:hover h3 {
    color: var(--color-purple);
}

.figure-card .figure-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0;
    border-radius: 0;
    filter: sepia(5%);
    transition: filter 0.2s ease;
}

.figure-card:hover .figure-thumbnail {
    filter: sepia(0%);
}

.figure-card h3 {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-dark);
    margin: 0;
    padding: 10px 10px 12px;
    line-height: 1.3;
    transition: color 0.2s ease;
    border-top: 1px solid var(--color-border-warm);margin: 0 0 4px;
}

.figure-card .card-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-width: 0;
}

/* ============================================================
   HUB PAGES — MANUFACTURER HUB (Mego, Kenner etc)
   ============================================================ */
   
   .manufacturer-hub .entry-title {
   display: none;}

/* Line group header */
.line-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    border-bottom: 3px solid var(--color-teal);
    padding-bottom: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.line-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-dark);
    margin: 0;
}

.line-meta {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-style: italic;
    color: var(--color-text-light);
}

.line-desc {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.65;
    margin-bottom: 18px;
    max-width: 760px;
}

.line-group {
    margin-bottom: 48px;
}

.line-divider {
    border: none;
    border-top: 1px solid var(--color-border);
    margin: 0 0 48px;
}

/* Recently added section on hub pages */
.mego-hub__recent h2,
.hub__recent h2 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--color-teal);
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

/* ============================================================
   QUICK FACTS PANEL — Mego hub page
   ============================================================ */
.mego-hub__quick-facts {
    margin: 36px 0 48px;
}

.quick-facts-inner {
    background: var(--color-bg-warm);
    border-top: 4px solid var(--color-teal);
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.quick-facts-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 4px 4px;
    pointer-events: none;
}

.qf-header {
    background: var(--color-dark);
    padding: 14px 24px;
    position: relative;
    z-index: 1;
}

.qf-header h2 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
    letter-spacing: 0.02em;
}

.qf-header h2 span {
    color: var(--color-teal);
}

.qf-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    position: relative;
    z-index: 1;
}

.qf-col {
    padding: 22px 24px;
    border-right: 1px solid var(--color-border-warm);
}

.qf-col:last-child {
    border-right: none;
}

.qf-col-title {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-purple);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border-warm);
}

.qf-list {
    margin: 0;
    padding: 0;
}

.qf-list dt {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
    margin-bottom: 2px;
    margin-top: 12px;
}

.qf-list dt:first-child {
    margin-top: 0;
}

.qf-list dd {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-text);
    line-height: 1.5;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px dotted var(--color-border-warm);
}

.qf-list dd:last-child {
    border-bottom: none;
}

.qf-sizes {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qf-sizes li {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--color-text);
    line-height: 1.45;
    padding: 7px 0;
    border-bottom: 1px dotted var(--color-border-warm);
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.qf-sizes li:last-child {
    border-bottom: none;
}

.size-badge {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    color: #fff;
    background: var(--color-dark);
    padding: 2px 7px;
    flex-shrink: 0;
    border-radius: 3px;
}

.qf-collect {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px dotted var(--color-border-warm);
}

.qf-collect:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.qf-collect h3 {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--color-dark);
    margin: 0 0 4px;
}

.qf-collect p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-style: italic;
    color: var(--color-text-light);
    line-height: 1.5;
    margin: 0;
}

.qf-footer {
    background: #e8e0d0;
    padding: 10px 24px;
    border-top: 1px solid var(--color-border-warm);
    position: relative;
    z-index: 1;
}

.qf-footer p {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-style: italic;
    color: #7a6e5e;
    line-height: 1.5;
    margin: 0;
}

/* ============================================================
   HOMEPAGE — HERO
   ============================================================ */
.vaf-hero {
    background: var(--color-dark);
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--color-teal);
    border-radius: 0;
}

.vaf-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(
        circle, rgba(76,196,224,0.07) 1px, transparent 1px
    );
    background-size: 24px 24px;
    pointer-events: none;
}

.vaf-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

.vaf-hero__eyebrow {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-teal);
    margin-bottom: 16px;
    display: block;
}

.vaf-hero__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.vaf-hero__title span {
    color: var(--color-teal);
}

.vaf-hero__sub {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-style: italic;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 32px;
}

.vaf-hero__buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.vaf-btn {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 11px 26px;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    display: inline-block;
    text-decoration: none;
}

.vaf-btn--primary {
    background: var(--color-purple);
    color: #fff;
}

.vaf-btn--primary:hover {
    background: var(--color-purple-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123,45,139,0.4);
}

.vaf-btn--secondary {
    background: transparent;
    color: var(--color-teal);
    border: 2px solid var(--color-teal);
}

.vaf-btn--secondary:hover {
    background: var(--color-teal);
    color: var(--color-dark);
    transform: translateY(-2px);
}

/* ============================================================
   HOMEPAGE — SECTION SHARED STYLES
   ============================================================ */
.vaf-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.vaf-section-header {
    text-align: center;
    margin-bottom: 36px;
}

.vaf-section-eyebrow {
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-purple);
    display: block;
    margin-bottom: 8px;
}

.vaf-section-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-dark);
    margin: 0 0 12px;
}

.vaf-section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--color-teal);
    margin: 10px auto 0;
}

/* ============================================================
   HOMEPAGE — BROWSE BY MANUFACTURER
   ============================================================ */
.vaf-manufacturers {
    padding: 60px 0;
    background: var(--color-bg);
}

.manufacturer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.manufacturer-card {
    background: var(--color-dark);
    border-bottom: 3px solid var(--color-teal);
    border-radius: var(--radius);
    padding: 26px 16px 22px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.manufacturer-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--color-teal);
    transition: height 0.25s ease;
    z-index: 0;
}

.manufacturer-card:hover::before {
    height: 100%;
}

.manufacturer-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.manufacturer-card__name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    position: relative;
    z-index: 1;
    transition: color 0.2s ease;
}

.manufacturer-card:hover .manufacturer-card__name {
    color: var(--color-dark);
}

.manufacturer-card__count {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-style: italic;
    color: rgba(255,255,255,0.45);
    position: relative;
    z-index: 1;
    transition: color 0.2s ease;
}

.manufacturer-card:hover .manufacturer-card__count {
    color: rgba(42,42,42,0.65);
}

/* ============================================================
   HOMEPAGE — BROWSE BY DECADE
   ============================================================ */
.vaf-decades {
    padding: 50px 0;
    background: var(--color-bg-teal);
    border-top: 1px solid #b8e8f2;
    border-bottom: 1px solid #b8e8f2;
}

.decade-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.decade-card {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--color-dark);
    background: #fff;
    border: 2px solid #b8e8f2;
    border-radius: var(--radius);
    padding: 16px 24px;
    text-decoration: none;
    transition: all 0.2s ease;
    min-width: 120px;
    text-align: center;
}

.decade-card span {
    display: block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-style: italic;
    color: var(--color-text-light);
    margin-top: 4px;
}

.decade-card:hover {
    background: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-teal);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.decade-card:hover span {
    color: rgba(255,255,255,0.45);
}

/* ============================================================
   HOMEPAGE — FULL WIDTH WRAP
   ============================================================ */
.vaf-homepage-wrap {
    width: 100%;
}

.vaf-homepage-content {
    padding: 0 !important;
    max-width: 100% !important;
}

/* ============================================================
   HOMEPAGE — THREE-COLUMN MAIN GRID
   ============================================================ */
.vaf-main-grid {
    width: 100%;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.vaf-main-grid__inner {
    display: grid;
    grid-template-columns: 260px 1fr 280px;
    min-height: 600px;
}

.vaf-col {
    padding: 32px 24px;
}

.vaf-col + .vaf-col {
    border-left: 1px solid var(--color-border);
}

.vaf-col-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-teal);
}

.vaf-col-header .vaf-section-title {
    font-size: 1.1rem;
    margin: 0;
    text-align: left;
}

.vaf-col-header .vaf-section-title::after {
    display: none;
}

.vaf-col-header .vaf-section-eyebrow {
    text-align: left;
}

/* Column 1: Manufacturers */
.vaf-col--manufacturers {
    background: var(--color-dark);
    overflow-y: auto;
}

.vaf-col--manufacturers .vaf-section-title { color: #fff; }
.vaf-col--manufacturers .vaf-section-eyebrow { color: var(--color-teal); }
.vaf-col--manufacturers .vaf-col-header { border-bottom-color: var(--color-teal); }

.vaf-col--manufacturers .manufacturer-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vaf-col--manufacturers .manufacturer-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: none;
    border-left: 3px solid transparent;
    border-radius: var(--radius-sm);
    text-align: left;
}

.vaf-col--manufacturers .manufacturer-card:hover {
    border-left-color: var(--color-teal);
    transform: none;
}

.vaf-col--manufacturers .manufacturer-card__name { font-size: 0.88rem; }
.vaf-col--manufacturers .manufacturer-card__count { font-size: 0.7rem; white-space: nowrap; }

.manufacturer-view-all {
    display: block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-teal);
    text-align: center;
    margin-top: 14px;
    padding: 10px 0;
    border: 2px solid var(--color-teal);
    border-radius: var(--radius);
    transition: all 0.2s ease;
    text-decoration: none;
}

.manufacturer-view-all:hover {
    background: var(--color-teal);
    color: var(--color-dark);
}

/* Column 2: Decades */
.vaf-col--decades {
    background: var(--color-bg-teal);
    display: flex;
    flex-direction: column;
}

.vaf-col--decades .vaf-col-header {
    flex-shrink: 0;
}

.vaf-col--decades .decade-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-content: start;
}

/* Column 3: Recent Reviews */
.vaf-col--recent { background: var(--color-bg); }

.vaf-col--recent .vaf-recent__grid,
.vaf-col--recent .figure-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vaf-col--recent .figure-card {
    display: flex;
    flex-direction: row;
    gap: 12px;
    padding: 10px;
    border-radius: var(--radius-sm);
    text-align: left;
    align-items: flex-start;
}

.vaf-col--recent .figure-card .figure-thumbnail {
    width: 70px;
    height: 88px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 3px;
    margin-bottom: 0;
}

.vaf-col--recent .figure-card h3,
.vaf-col--recent .figure-card .card-name {
    font-size: 0.85rem;
    margin: 0 0 4px;
    line-height: 1.3;
	padding:10px 10px 12px 0px;
}

.vaf-col--recent .figure-card .card-date {
    display: block;
    font-size: 0.72rem;
    font-style: italic;
    color: var(--color-text-light);
}

/* ============================================================
   HOMEPAGE — RECENT REVIEWS (standalone, for shortcode use)
   ============================================================ */
.vaf-recent {
    padding: 60px 0;
    background: var(--color-bg);
}

.vaf-recent__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
#back-to-top {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1001;
    background: var(--color-dark);
    color: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.8;
    transition: background 0.3s, opacity 0.3s;
}

#back-to-top:hover {
    background: #555;
    opacity: 1;
}

/* ============================================================
   MEGO HUB — COLLECTOR'S GUIDE SECTION
   ============================================================ */
.hub__guide {
    background: var(--color-bg-warm);
    border-left: 4px solid var(--color-purple);
    border-bottom: 1px solid var(--color-border-warm);
    padding: 32px 36px;
    margin: 0 0 48px;
    position: relative;
    overflow: hidden;
}

.hub__guide::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 4px 4px;
    pointer-events: none;
}

.hub__guide > * {
    position: relative;
    z-index: 1;
}

.hub__guide h2 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-purple);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-border-warm);
}

.hub__guide h3 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-dark);
    margin: 20px 0 6px;
}

.hub__guide p {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 0.8em;
}

.hub__guide strong {
    font-weight: 600;
    color: var(--color-text-dark);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media all and (max-width: 760px) {
    .wp-block-gallery .wp-block-image {
        width: 100% !important;
    }
}

@media (max-width: 1024px) {
    .vaf-main-grid__inner {
        grid-template-columns: 220px 1fr 240px;
    }
}

@media (max-width: 900px) {
    .qf-grid {
        grid-template-columns: 1fr 1fr;
    }
    .qf-col:nth-child(2) {
        border-right: none;
    }
    .qf-col:nth-child(3) {
        grid-column: 1 / -1;
        border-right: none;
        border-top: 1px solid var(--color-border-warm);
    }
	.ebay-products-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.ebay-title { font-size: 0.75rem; }
.ebay-price { font-size: 0.82rem; }

}

@media (max-width: 768px) {
    .wp-block-group {
        grid-template-columns: 1fr;
    }
    .content .entry {
        border: 0;
    }
    .qf-grid {
        grid-template-columns: 1fr;
    }
    .qf-col {
        border-right: none;
        border-bottom: 1px solid var(--color-border-warm);
    }
    .qf-col:last-child {
        border-bottom: none;
    }
    .manufacturer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .decade-strip {
        gap: 8px;
    }
    .decade-card {
        padding: 12px 16px;
        font-size: 1.1rem;
        min-width: 100px;
    }
    .line-header {
        flex-direction: column;
        gap: 4px;
    }
    .vaf-hero {
        padding: 40px 0 32px;
    }
    /* Stack homepage columns — decades first, then manufacturers, then recent */
    .vaf-main-grid__inner {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }
    .vaf-col--decades        { order: 1; }
    .vaf-col--manufacturers  { order: 2; }
    .vaf-col--recent         { order: 3; }
    .vaf-col + .vaf-col {
        border-left: none;
        border-top: 1px solid var(--color-border);
    }
    .vaf-col--manufacturers .manufacturer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .vaf-col--decades .decade-strip {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .vaf-col--recent .figure-card {
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .ebay-products-container {
        padding: 0 !important;
        grid-template-columns: 1fr;
    }
    .figure-group {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
    .manufacturer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .sticky img,
    #featured-post-2 img {
        max-width: 100%;
        float: none !important;
    }
	.ebay-products-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.ebay-title { font-size: 0.70rem; }
.ebay-price { font-size: 0.78rem; }
.ebay-store,
.ebay-delivery { display: none; }
.ebay-product-details { padding: 8px 10px; gap: 4px; }
.ebay-buy-button { padding: 6px 10px; font-size: 0.72rem; }
}

@media only screen and (max-width: 767px) {
    #featured-post-2 img {
        max-width: 100%;
        float: none !important;
    }
    .responsive-menu-icon {
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        font-size: 1.2em;
        padding: 10px;
        gap: 0.5em;
        background-color: white !important;
    }
    .genesis-nav-menu.responsive-menu .menu-item {
        display: grid;
    }
    .genesis-nav-menu.responsive-menu li.current-menu-item > a {
        color: blue;
        background-color: lightblue;
        border: 2px solid #000 !important;
    }
    .responsive-menu-icon::before {
        content: "\f333";
        font: 30px/1 dashicons;
        display: inline-block;
        padding: 0;
        margin: 0;
    }
    .menu-label {
        font-weight: bold;
        font-size: 2rem;
    }
}

@media only screen and (max-width: 1023px) {
    .site-header .widget-area {
        width: 100% !important;
    }
}

