@font-face {
    font-family: 'CustomLogoFont';
    src: url('/assets/fonts/Unamstered-Regular.otf') format('opentype'),
         url('/assets/fonts/Unamstered-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reserve space globally for content grids to prevent layout shifts on all pages */
#news-grid,
#trackerGrid,
#release-tracker-grid {
    min-height: 600px; 
}

/* ==========================================
   1. CORE RESET & VARIABLES
   ========================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #121212; /* Deep Charcoal */
    color: #e0e0e0;            /* Stark White / Soft Light Gray */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    padding-top: 104px;
}

/* ==========================================
   2. HEADER & NAVIGATION
   ========================================== */

.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background-color: #1a1a1a;
    border-bottom: 2px solid #2a2a2a;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Align the logo image and text horizontally inside the link */
.logo a {
    display: flex;   
    align-items: center;
    font-family: 'CustomLogoFont', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 2px;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Control the size of your logo symbol */
.logo-icon {
    height: 60px;
    padding-right: 15px;
    width: auto;
    display: block;
}

.logo a .accent-letter {
    color: #cc0000;
}

.logo a:hover {
    color: #cc0000;
}

.logo a:hover .accent-letter {
    color: #ffffff;
}

.menu-toggle {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: #cc0000;
}

/* Pop-Out Side Menu */
.side-menu {
    position: fixed;
    top: 0;
    right: -300px; /* Hidden off-screen */
    width: 300px;
    height: 100%;
    background-color: #181818;
    border-left: 2px solid #cc0000;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.8);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 1000;
    padding: 40px 20px;
}

.side-menu.active {
    right: 0; /* Slides into view */
}

.close-menu {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
}

.close-menu:hover {
    color: #cc0000;
}

.side-menu ul {
    list-style: none;
    margin-top: 50px;
}

.side-menu ul li {
    margin-bottom: 20px;
}

.side-menu ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: color 0.2s ease, border-left 0.2s ease, padding-left 0.2s ease;
}

.side-menu ul li a:hover {
    color: #cc0000;
}

/* Active Menu Link Styling */
.side-menu ul li a.active,
.side-menu ul li a.active:hover {
    color: #cc0000;
    border-left: 3px solid #cc0000;
    padding-left: 8px;
}

/* Overlay Backdrop */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Search Wrappers */

.desktop-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: auto; /* Pushes the search and hamburger menu to the right */
    margin-right: 15px; /* Adds a clean gap between the search and the hamburger icon */
}

/* Hide desktop search on mobile screens */
@media (max-width: 768px) {
    .desktop-search-wrapper {
        display: none;
    }
}

.mobile-search-wrapper {
    display: none;
    position: relative;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 10px; /* Adjust spacing inside your side menu as needed */
}

/* Show the mobile search wrapper only on mobile screens (e.g., 768px and below) */
@media (max-width: 768px) {
    .mobile-search-wrapper {
        display: flex;
    }
}

/* The Search Input (Hidden by default, expands on active class) */
.site-search-input {
    width: 0;
    padding: 0;
    opacity: 0;
    border: none;
    background: #1a1a1a;
    color: #fff;
    border-radius: 4px;
    transition: width 0.3s ease, padding 0.3s ease, opacity 0.3s ease, border 0.3s ease;
    outline: none;
}

.site-search-input.active {
    width: 220px; /* Adjust width as needed */
    padding: 8px 12px;
    opacity: 1;
    border: 1px solid #333;
}

/* Mobile search can take full width when active */
.mobile-search-wrapper .site-search-input.active {
    width: 100%;
}

/* Search Icon Trigger Button */
.search-toggle-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-toggle-btn:hover {
    color: #e50914; /* Accent color match */
}

/* Dropdown Results Box */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* For WebKit browsers (Chrome, Safari, Edge) */
.search-results-dropdown::-webkit-scrollbar {
    width: 8px;
}

.search-results-dropdown::-webkit-scrollbar-track {
    background: #121212; /* Matches your dark dropdown background */
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: #333; /* Dark grey thumb */
    border-radius: 4px;
}

.search-results-dropdown::-webkit-scrollbar-thumb:hover {
    background: #551111; /* Accent color on hover (or choose your preferred color) */
}

/* For Firefox */
.search-results-dropdown {
    scrollbar-width: thin;
    scrollbar-color: #333 #121212;
}

/* ==========================================
   3. MAIN LAYOUT & CONTAINERS
   ========================================== */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
}

.featured-story {
    position: relative;
    border-left: 5px solid #cc0000;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 4px;
    cursor: pointer;
}

.featured-story::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease, filter 0.4s ease;
    z-index: -1;
}

.featured-story:hover::before {
    filter: brightness(0.75);
}

.featured-content {
    position: relative;
    z-index: 1;
}

.tag {
    display: inline-block;
    background-color: #cc0000;
    color: #ffffff;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    padding: 4px 10px;
    letter-spacing: 1px;
    border-radius: 2px;
}

.featured-content h1 {
    font-size: 2.2rem;
    margin: 15px 0;
    color: #ffffff;
}

.featured-content p {
    color: #b0b0b0;
    margin-bottom: 20px;
}

.read-more {
    color: #cc0000;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: #ff1a1a;
    text-decoration: underline;
}

/* ==========================================
   4. ARTICLE & CARD GRIDS
   ========================================== */
.article-grid, 
#reviews-grid, 
#interviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    grid-auto-rows: 1fr;
    gap: 20px;
    align-items: stretch;
}

.card-link-wrapper {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Base Card Reset */
.card {
    border-radius: 8px;
    overflow: hidden;
    height: 100% !important; /* Forces row-stretching uniformity */
    display: flex;
    flex-direction: column;
    border: 1px solid #2a2a2a;
    transition: border-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

/* --- 4a. Media Cards (With Featured Image) --- */
.media-card {
    position: relative;
    height: 100%;
    width: 100%;
    background-color: #1a1a1a;
    color: #fff;
    overflow: hidden;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.media-card .card-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.9);
    will-change: transform, filter;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.media-card .card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
    background-color: transparent;
    transition: background-color 0.35s ease;
    height: 100%;
}

.media-card .card-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom, 
        rgba(0, 0, 0, 0.45) 0%, 
        rgba(0, 0, 0, 0.15) 50%, 
        rgba(0, 0, 0, 0.65) 100%
    );
    opacity: 1;
    z-index: 0;
    transition: opacity 0.35s ease;
}

.media-card .card-overlay > * {
    position: relative;
    z-index: 1;
}

.media-card .card-header-group .tag {
    align-self: flex-start;
}

.media-card h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.media-card .card-body-group {
    display: flex;
    flex-direction: column;
    margin-top: 0.5rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease;
}

.media-card .card-preview {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #a0a0a0;
    margin-bottom: 0.4rem;
}

.media-card .card-date {
    display: block;
    font-size: 0.8rem;
    color: #aaa;
    margin-top: auto;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* --- 4b. Standard Cards (Text-Only Fallback) --- */
.standard-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    background-color: #1a1a1a;
    height: 100% !important;
    overflow: hidden;
    flex-grow: 1;
}

.standard-card .tag {
    align-self: flex-start;
    margin-bottom: 0.75rem;
}

.standard-card h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.standard-card p {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: auto;
}

.standard-card small,
.standard-card .card-date {
    display: block;
    color: #888888;
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* ==========================================
   HOVER EFFECTS (DESKTOP & POINTER DEVICES ONLY)
   ========================================== */
@media (hover: hover) and (pointer: fine) {
    .card-link-wrapper:hover .card {
        border-color: #cc0000;
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgba(204, 0, 0, 0.25);
    }

    .card-link-wrapper:hover .media-card .card-bg-image {
        transform: scale(1.06);
        filter: brightness(0.4);
    }

    .card-link-wrapper:hover .media-card .card-overlay::before {
        opacity: 0;
    }

    .card-link-wrapper:hover .media-card .card-overlay {
        background-color: #1a1a1a;
    }

    .card-link-wrapper:hover .media-card .card-body-group {
        opacity: 1;
        max-height: 200px;
        transform: translateY(0);
    }
}

/* ==========================================
   5. SINGLE ARTICLE LAYOUT
   ========================================== */
.article-single {
    max-width: 800px;
    margin: 40px auto;
}

.article-header {
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin: 15px 0;
    color: #ffffff;
}

.article-meta {
    color: #888888;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 5px;
}

.article-meta .article-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-meta .article-score {
    display: inline-block;
    align-self: flex-start;
    background-color: #cc0000;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 2px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.featured-image-placeholder {
    width: 100%;
    height: auto;
    min-height: auto;
    background-color: transparent;
    border: none;
    display: block;
    margin-bottom: 30px;
    overflow: hidden;
}

.featured-image-placeholder img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.article-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #dddddd;
    margin-bottom: 25px;
}

.article-body .article-blockquote {
    font-size: 1.3rem;
    color: #ffffff;
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 4px solid #ff3333;
    padding-left: 15px;
}


.article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
}

.article-quote {
    border-left: 3px solid #ff3333;
    margin: 30px 0;
    padding: 15px 25px;
    font-style: italic;
    font-size: 1.25rem;
    color: #ffffff;
    background-color: #161616;
}

/* List Styling */

.tracklist-container {
    background-color: #141414;
    border: 1px solid #222222;
    border-radius: 8px;
    padding: 25px 30px;
    margin: 40px 0;
}

.tracklist-container h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 2px solid #ff3333;
    padding-bottom: 10px;
}

/* Reset native list styling since flex breaks markers */
.tracklist {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: track-counter;
}

.tracklist li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 6px;
    background-color: #1a1a1a;
    border-radius: 6px;
    color: #dddddd;
    font-size: 1.05rem;
    font-weight: 500;
}

/* Numbered List Styling using a CSS Counter */
.tracklist:not(.bullet-list) li {
    counter-increment: track-counter;
}

.tracklist:not(.bullet-list) li .track-title::before {
    content: counter(track-counter) ". ";
    color: #888888;
    font-weight: 600;
    margin-right: 10px;
}

/* Bullet List Styling */
.tracklist.bullet-list li .track-title::before {
    content: "• ";
    color: #ff3333; /* Matches your accent line */
    font-weight: 700;
    margin-right: 10px;
}

.tracklist .track-duration {
    color: #777777;
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
}

/* ==========================================
   6. RELEASE TRACKER & FILTER BUTTONS
   ========================================== */
.page-header {
    border-bottom: 2px solid #2a2a2a;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.page-header .tag {
    margin-bottom: 10px;
}

.page-header h1 {
    font-size: 2.4rem;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.page-header p {
    color: #a0a0a0;
    font-size: 1.05rem;
}

.page-title {
    font-size: 2.5rem;
    color: #ffffff;
    margin-top: 2rem;
    letter-spacing: 1px;
    border-bottom: 2px solid #8b0000;
    padding-bottom: 0.5rem;
}

.release-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.release-card {
    background-color: #121212;
    border: 1px solid #222;
    padding: 1.5rem;
    position: relative;
    transition: border-color 0.3s ease;
}

.tracker-card {
    height: 220px !important;
    padding: 1.25rem !important;
    justify-content: space-between;
}

.tracker-card h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0.25rem !important;
}

.tracker-card p {
    font-size: 0.9rem !important;
    margin-bottom: 0 !important;
}

.release-card:hover {
    border-color: #8b0000;
}

.release-date-badge {
    background-color: #8b0000;
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    padding: 4px 8px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.release-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
}

.release-card .album-title {
    color: #aaa;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Filters Wrapper Spacing */
.filters-wrapper {
    margin-bottom: 25px;
}

.filter-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.filter-container span {
    font-size: 0.85rem;
    color: #888;
    margin-right: 4px;
    font-weight: bold;
    text-transform: uppercase;
}

.filter-btn {
    background-color: #1a1a1a;
    color: #fff;
    border: 1px solid #333;
    padding: 5px 12px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover, 
.filter-btn.active {
    background-color: #b30000;
    border-color: #b30000;
}

/* Disclaimer Banner Spacing */
.tracker-disclaimer-banner {
    margin-bottom: 25px;
    font-size: 0.85rem;
    color: #888;
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 12px 15px;
}

.tracker-disclaimer-banner strong {
    color: #fff;
}

@media (max-width: 768px) {
    .tracker-layout {
        grid-template-columns: 1fr;
    }
}
/* ==========================================
   7. CONTACT PAGE & FORMS
   ========================================== */
.contact-section {
    max-width: 700px;
    margin: 40px auto;
    padding: 30px;
    background: #121212;
    border: 1px solid #222;
}

.contact-subtitle {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.highlight-email {
    color: #ff3333;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ccc;
    margin-bottom: 8px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    border-radius: 0;
    transition: border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ff3333;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: #ff3333;
    color: #fff;
    border: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.submit-btn:hover {
    background: #e02828;
}

/* ==========================================
   8. SITE FOOTER & SOCIAL ICONS
   ========================================== */
.site-footer {
    border-top: 1px solid #2a2a2a;
    /*margin-top: 40px;*/
    /*padding: 15px 0;*/
    color: #888;
    font-size: 0.85rem;
}

.footer-container-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer p {
    margin: 0;
}

.social-links {
    display: flex;
    gap: 18px;
    align-items: center;
}

.social-links a {
    color: #888;
    display: inline-flex;
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: #e02828;
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}