/* ========================================================
   MODEL MENU PAGE – Search by Brand & Model
   Design System: Modern / Minimal / Premium
   Shares CSS variables from addpost.css (global)
   ======================================================== */

/* === Page Wrapper === */
.modelmenu-page {
    padding-bottom: 3rem;
}

/* === Hero === */
.modelmenu-hero {
    text-align: center;
    padding: 2.5rem 1rem 2rem;
    margin-bottom: 2rem;
}

.modelmenu-hero .hero-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(99, 102, 241, .25);
}

.modelmenu-hero .hero-icon svg {
    width: 30px;
    height: 30px;
    color: #fff;
}

.modelmenu-hero h1 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--puc-gray-800);
    margin: 0 0 .5rem;
    line-height: 1.3;
}

.modelmenu-hero .hero-sub {
    font-size: .875rem;
    color: var(--puc-gray-400);
    margin: 0;
}

.modelmenu-hero .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .788rem;
    font-weight: 600;
    color: #6366f1;
    background: #eef2ff;
    padding: .3rem .8rem;
    border-radius: 50px;
    margin-top: .75rem;
}

.modelmenu-hero .hero-badge svg {
    width: 14px;
    height: 14px;
}

/* === Grid === */
.modelmenu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
    margin-bottom: 2.5rem;
}

/* === Item Card === */
.modelmenu-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    background: #fff;
    border-radius: var(--puc-radius-sm);
    border: 1.5px solid var(--puc-gray-100);
    text-decoration: none;
    transition: var(--puc-transition);
}

.modelmenu-item:hover {
    border-color: #a5b4fc;
    background: #eef2ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(99, 102, 241, .12);
}

.modelmenu-item .item-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--puc-transition);
}

.modelmenu-item:hover .item-icon {
    background: #6366f1;
}

.modelmenu-item .item-icon svg {
    width: 16px;
    height: 16px;
    color: #6366f1;
    transition: var(--puc-transition);
}

.modelmenu-item:hover .item-icon svg {
    color: #fff;
}

.modelmenu-item .item-text {
    flex: 1;
    min-width: 0;
}

.modelmenu-item .item-name {
    font-size: .838rem;
    font-weight: 600;
    color: var(--puc-gray-700);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.modelmenu-item:hover .item-name {
    color: #6366f1;
}

.modelmenu-item .item-badge {
    font-size: .7rem;
    font-weight: 700;
    color: #6366f1;
    background: #eef2ff;
    padding: .15rem .55rem;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: var(--puc-transition);
}

.modelmenu-item:hover .item-badge {
    background: #6366f1;
    color: #fff;
}

/* === SEO Sections === */
.modelmenu-seo {
    margin-top: 2rem;
}

.modelmenu-seo-card {
    background: #fff;
    border-radius: var(--puc-radius);
    box-shadow: var(--puc-shadow);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
    border-left: 4px solid var(--puc-primary);
}

.modelmenu-seo-card.seo-purple {
    border-left-color: #8b5cf6;
}

.modelmenu-seo-card.seo-green {
    border-left-color: var(--puc-success);
}

.modelmenu-seo-card.seo-amber {
    border-left-color: var(--puc-warning);
}

.modelmenu-seo-card.seo-rose {
    border-left-color: #f43f5e;
}

.modelmenu-seo-card .seo-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 800;
    color: #fff;
    margin-right: .5rem;
    flex-shrink: 0;
    vertical-align: middle;
}

.modelmenu-seo-card .seo-num.num-blue { background: var(--puc-primary); }
.modelmenu-seo-card .seo-num.num-purple { background: #8b5cf6; }
.modelmenu-seo-card .seo-num.num-green { background: var(--puc-success); }
.modelmenu-seo-card .seo-num.num-amber { background: var(--puc-warning); }
.modelmenu-seo-card .seo-num.num-rose { background: #f43f5e; }

.modelmenu-seo-card h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--puc-gray-700);
    margin: 0 0 .65rem;
    line-height: 1.45;
}

.modelmenu-seo-card p {
    font-size: .85rem;
    line-height: 1.75;
    color: var(--puc-gray-500);
    margin: 0;
}

.modelmenu-seo-card a {
    color: var(--puc-primary);
    text-decoration: none;
    font-weight: 600;
}

.modelmenu-seo-card a:hover {
    text-decoration: underline;
}

/* === AdSense === */
.modelmenu-ad {
    margin: 1.5rem 0;
    border-radius: var(--puc-radius);
    overflow: hidden;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 991.98px) {
    .modelmenu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .modelmenu-hero h1 {
        font-size: 1.35rem;
    }
}

@media (max-width: 767.98px) {
    .modelmenu-hero {
        padding: 2rem 1rem 1.5rem;
    }

    .modelmenu-hero .hero-icon {
        width: 56px;
        height: 56px;
    }

    .modelmenu-hero .hero-icon svg {
        width: 26px;
        height: 26px;
    }

    .modelmenu-hero h1 {
        font-size: 1.2rem;
    }

    .modelmenu-seo-card {
        padding: 1.15rem 1.25rem;
    }
}

@media (max-width: 575.98px) {
    .modelmenu-grid {
        grid-template-columns: 1fr;
    }

    .modelmenu-item {
        padding: .65rem .85rem;
    }
}
