/**
 * HashDrip Navigation Fix
 * Targets actual menu structure: .hd-nav__list > li > a
 */

/* Nav list spacing */
.hd-nav__list,
#menu-hashdrip-main-menu {
    display: flex !important;
    align-items: center !important;
    gap: 2rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Nav link styling - target the actual <a> tags */
.hd-nav__list > li > a,
#menu-hashdrip-main-menu > li > a,
.hd-nav__list .menu-item > a {
    display: inline-block !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #9CA3AF !important;
    padding: 1rem 1.5rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

/* Hover state */
.hd-nav__list > li > a:hover,
#menu-hashdrip-main-menu > li > a:hover,
.hd-nav__list .menu-item > a:hover {
    color: #D4A843 !important;
}

/* Active/current page */
.hd-nav__list > li.current-menu-item > a,
#menu-hashdrip-main-menu > li.current-menu-item > a,
.hd-nav__list .current-menu-item > a {
    color: #D4A843 !important;
}

/* Gold underline on hover */
.hd-nav__list > li > a::after,
#menu-hashdrip-main-menu > li > a::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0.5rem !important;
    left: 50% !important;
    transform: translateX(-50%) scaleX(0) !important;
    width: 80% !important;
    height: 2px !important;
    background: linear-gradient(90deg, #D4A843, #F4D03F) !important;
    transition: transform 0.3s ease !important;
}

.hd-nav__list > li > a:hover::after,
#menu-hashdrip-main-menu > li > a:hover::after,
.hd-nav__list .current-menu-item > a::after {
    transform: translateX(-50%) scaleX(1) !important;
}

/* Menu items spacing */
.hd-nav__list > li,
#menu-hashdrip-main-menu > li,
.hd-nav__list .menu-item {
    margin: 0 !important;
    padding: 0 !important;
}

/* ==========================================================================
   FULL-WIDTH BLOG GRID (No Sidebar)
   ========================================================================== */
.hd-content--full-width {
    padding: 4rem 0;
}

.hd-posts-grid--full {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .hd-posts-grid--full {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hd-posts-grid--full {
        grid-template-columns: 1fr;
    }
}

/* Enhanced post cards for full-width layout */
.hd-posts-grid--full .hd-post-card {
    background: #141414;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(212, 168, 67, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hd-posts-grid--full .hd-post-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 168, 67, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
                0 0 30px rgba(212, 168, 67, 0.1);
}

.hd-posts-grid--full .hd-post-card__thumbnail {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.hd-posts-grid--full .hd-post-card__thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hd-posts-grid--full .hd-post-card:hover .hd-post-card__thumbnail img {
    transform: scale(1.08);
}

.hd-posts-grid--full .hd-post-card__content {
    padding: 1.5rem;
}

.hd-posts-grid--full .hd-post-card__meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8125rem;
    color: #9CA3AF;
    margin-bottom: 0.75rem;
}

.hd-posts-grid--full .hd-post-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.hd-posts-grid--full .hd-post-card__title a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hd-posts-grid--full .hd-post-card__title a:hover {
    color: #D4A843;
}

.hd-posts-grid--full .hd-post-card__excerpt {
    color: #9CA3AF;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

/* Hide sidebar completely */
.hd-sidebar {
    display: none !important;
}

.hd-content__grid {
    display: block !important;
}
