/* ==========================================================================
   1. MAIN GRID [main-grid]
   ========================================================================== */
.femmetal-main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 5px;
    width: 100%;
}

.grid-item {
    position: relative;
    overflow: hidden;
    background: #000;
    display: flex; /* Added to help with alignment */
    flex-direction: column;
    justify-content: flex-end; /* FORCES CONTENT TO BOTTOM */
}

.grid-secondary { aspect-ratio: 15 / 8; }
.grid-feature { grid-row: span 2; }

.grid-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
    z-index: 1;
}

.grid-item:hover .grid-image { transform: scale(1.08); }

.grid-link-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* FORCES CONTENT TO BOTTOM */
    padding: 20px;
    text-decoration: none !important;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(104, 0, 95, 0.3) 100%);
}

.grid-cat {
    color: #ffffff !important;
    background-color: #68005f !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    padding: 3px 8px !important;
    display: inline-block !important;
    margin-bottom: 10px !important;
    line-height: 1 !important;
    align-self: flex-start;
}

.grid-title {
    color: #ffffff !important;
    margin: 0 0 5px 0 !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    text-transform: none !important;
}

.grid-feature .grid-title { font-size: 28px !important; }
.grid-secondary .grid-title { font-size: 15px !important; }

.grid-meta {
    color: rgba(255,255,255,0.9) !important;
    font-size: 12px;
}

/* ==========================================================================
   INTERVIEWS: #FFFFFF TITLES, 15:8 IMAGES, ROUNDED CORNERS
   ========================================================================== */

/* 1. More Rounded Corners for the Container */
.femmetal-interviews-container {
    background: rgba(77, 27, 62, 0.65) !important; /* THE PURPLE BACKGROUND IS BACK */
    padding: 15px 20px !important;
    border-radius: 12px !important; /* The requested rounded corners */
    position: relative !important;
    z-index: 10 !important;
}

/* 2. Images: 15:8 Aspect Ratio, on the side */
.interview-body {
    display: flex !important;
    align-items: center !important; /* Keeps image beside the text */
    text-decoration: none !important;
}

.interview-inline-thumb {
    width: 90px !important; /* Set width to allow ratio to calculate height */
    height: auto !important; 
    aspect-ratio: 15 / 8 !important; /* EXACTLY 15:8 */
    object-fit: cover !important;
    border-radius: 6px !important; /* Rounded corners for the images too */
    margin-right: 15px !important;
    flex-shrink: 0 !important;
}

/* 3. PURE FUCKING WHITE TITLE: #FFFFFF */
.interview-title,
.interview-title a {
    color: #FFFFFF !important; 
    font-size: 15px !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    text-decoration: none !important;
    margin: 0 !important;
    text-shadow: none !important; /* Stripped out any shadows dulling the white */
}

.interviews-overlap-title {
    color: #FFFFFF !important;
    font-size: 45px !important;
    line-height: 100%;
    font-family: 'SLANT', Helvetica, Arial, Lucida, sans-serif !important;
}

/* Keep the author slightly dimmer so the white title stands out more */
.interview-author {
    color: #CCCCCC !important; 
    font-size: 11px !important;
    text-transform: uppercase;
    margin-top: 4px !important;
    display: block !important;
}

/* ==========================================================================
   INTERVIEWS: ROW SPACING
   ========================================================================== */

.interview-row {
    padding: 20px 0 !important; /* Increases the vertical space between each item */
    border-bottom: none !important; /* Removes the divider line to match your screenshot */
}

/* Keeps the top and bottom items from having too much extra space against the container edges */
.interview-row:first-child {
    padding-top: 5px !important;
}

.interview-row:last-child {
    padding-bottom: 5px !important;
}


/* MOBILE SCALING */
@media (max-width: 800px) {
    .interviews-overlap-title {
        font-size: 30px !important;
    }
}

/* ==========================================================================
   4. MOBILE FIX: SMALL FONTS & BOTTOM ALIGNMENT
   ========================================================================== */
@media (max-width: 800px) {
    .femmetal-main-grid { grid-template-columns: 1fr 1fr; gap: 4px; }
    .grid-feature { grid-column: span 2; aspect-ratio: 15/10; }
    
    .grid-link-overlay {
        padding: 10px !important; /* Tighter padding for mobile */
        justify-content: flex-end !important; /* FORCE TO BOTTOM */
    }

    /* HIDING STUFF */
    .grid-cat { display: none !important; } 
    .grid-secondary .grid-meta { display: none !important; } 
    
    /* FIXING HUGE FONTS */
    .grid-feature .grid-title { 
        font-size: 18px !important; /* Smaller feature title */
        padding-bottom: 0px !important;
    }
    
    .grid-secondary .grid-title { 
        font-size: 11px !important; /* Tiny title for 2x2 grid */
        line-height: 1.1 !important;
        padding-bottom: 0px !important;
    }
}

.interview-author {
    display: none !important;
}

.interviews-grid-archive h2, .interviews-grid-popular h2 {
    color: white !important;
}

/* ==========================================================================
   REVIEWS: TRANSPARENT DARK GREY THEME
   ========================================================================== */

.femmetal-reviews-container {
    background: rgba(40, 40, 40, 0.75) !important; /* Transparent Dark Grey */
    padding: 15px 20px !important;
    border-radius: 12px !important; /* Matches interview rounded corners */
    position: relative !important;
    z-index: 10 !important;
}

/* Reusing the white title style for high contrast on dark grey */
.femmetal-reviews-container .interview-title,
.femmetal-reviews-container .interview-title a {
    color: #FFFFFF !important; 
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* Subtle author text */
.femmetal-reviews-container .interview-author {
    color: #BBBBBB !important; 
    font-size: 11px !important;
    text-transform: uppercase;
}