/* ==================== BRUTALIST DISCOVERY PANEL ==================== */

.header-discovery-panel {
    width: 100%;
    background: #ffffff;
    border-top: 4px solid var(--secondary-950);
}

.header-discovery-panel__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.95fr);
    gap: 2rem;
}

.header-discovery-panel__section {
    min-width: 0;
    border: 4px solid var(--secondary-950);
    border-radius: 0;
    background: #ffffff;
    box-shadow: 8px 8px 0px var(--secondary-950);
}

.header-discovery-panel__section-head {
    padding: 1.5rem 1.5rem 1rem;
}

.header-discovery-panel__eyebrow {
    margin: 0 0 0.5rem 0;
    color: var(--primary-700, #d70000);
    font-size: 0.85rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.header-discovery-panel__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
}

.header-discovery-panel__section--featured .header-discovery-panel__title {
    color: #ffffff;
    text-shadow: 2px 2px 0px var(--primary-600);
}

.header-discovery-panel__section--featured .header-discovery-panel__eyebrow {
    color: var(--primary-600);
    /* Keep this red */
}

.header-discovery-panel__featured-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 0 1.5rem 1.5rem;
}

.header-discovery-panel__featured-item {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem;
    text-align: left;
    border: 3px solid var(--secondary-950);
    border-radius: 0;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 4px 4px 0px var(--secondary-950);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.header-discovery-panel__featured-item:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--primary-600, #ff0000);
}

.header-discovery-panel__featured-item-text {
    min-width: 0;
}

.header-discovery-panel__featured-item-title {
    margin: 0;
    color: var(--secondary-950);
    font-size: 1.1rem;
    font-weight: 900;
}

.header-discovery-panel__featured-item-description {
    margin: 0.5rem 0 0 0;
    color: var(--secondary-700);
    font-size: 0.85rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.header-discovery-panel__featured-item-arrow {
    flex-shrink: 0;
    color: var(--primary-600);
    font-size: 0.85rem;
    font-weight: 900;
}

.header-discovery-panel__section--browse {
    display: flex;
    flex-direction: column;
}

.header-discovery-panel__category-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0 1.5rem 1rem;
}

.header-discovery-panel__category-link {
    min-height: 50px;
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    border: 3px solid var(--secondary-950);
    border-radius: 0;
    background: #ffffff;
    cursor: pointer;
    text-align: left;
    box-shadow: 4px 4px 0px var(--secondary-950);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.header-discovery-panel__category-link:hover {
    background: var(--primary-600);
    color: #ffffff;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--secondary-950);
}

.header-discovery-panel__category-link:hover .header-discovery-panel__category-label {
    color: #ffffff;
}

.header-discovery-panel__category-label {
    color: var(--secondary-950);
    font-size: 1rem;
    font-weight: 800;
}

.header-discovery-panel__footer {
    margin-top: auto;
    padding: 0 1.5rem 1.5rem;
}

.header-discovery-panel__view-all {
    width: 100%;
}

@media (max-width: 1200px) {
    .header-discovery-panel__inner {
        grid-template-columns: 1fr;
    }
}