/*
Theme Name: Level509 Punk Rock Dad
Theme URI: https://level509.com
Author: Level509
Author URI: https://level509.com
Description: A 90s punk rock inspired blog theme for tech, music, travel, and dad life
Version: 2.0
License: GNU General Public License v2 or later.
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: level509
*/

/* ========================================
   VARIABLES - VINTAGE POP-PUNK PALETTE
   ======================================== */
:root {
    --bg-primary: #000000;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #0d0d0d;
    --text-primary: #e0e0e0;
    --text-secondary: #999999;

    /* Vintage Screen-Print Gold Palette */
    --steelers-gold: #FDB930;
    --gold-dark: #D4A017;
    --gold-muted: #C9A961;
    --cream: #F5E6D3;

    /* Legacy variable names mapped to gold for compatibility */
    --neon-pink: #FDB930;  /* Now Steelers Gold */
    --neon-green: #D4A017; /* Now Dark Gold */
    --neon-blue: #C9A961;  /* Now Muted Gold */

    --border: #333;
    --shadow: rgba(253, 185, 48, 0.3); /* Gold shadow */
}

/* ========================================
   RESET & BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    position: relative;
}

/* Vintage screen-print grain texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(253, 185, 48, 0.02) 2px,
            rgba(253, 185, 48, 0.02) 4px
        );
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
}

.site-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   HEADER
   ======================================== */
.site-header {
    background-color: var(--bg-secondary);
    border-bottom: 4px solid var(--steelers-gold);
    padding: 20px 0;
    position: relative;

    background-image:
        repeating-radial-gradient(
            circle at 50% 50%,
            transparent 0,
            transparent 15px,
            rgba(212, 160, 23, 0.05) 16px,
            rgba(212, 160, 23, 0.05) 17px,
            transparent 18px,
            transparent 33px,
            rgba(212, 160, 23, 0.04) 34px,
            rgba(212, 160, 23, 0.04) 35px,
            transparent 36px
        );
}

.site-header::before {
    content: '' !important; /* Removed X decoration to fix submenu transparency bug */
    display: none !important;
}

.site-header::after {
    content: '' !important; /* Removed X decoration to fix submenu transparency bug */
    display: none !important;
}

/* Hide header decoration when any submenu is active */
.site-header.submenu-active::after,
.main-navigation .is-open ~ * .site-header::after,
.main-navigation li:hover .sub-menu ~ * ~ * .site-header::after {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none;
}

/* Alternative: Hide decoration whenever any submenu is displayed */
.main-navigation .sub-menu[style*="display: block"] ~ .site-header::after,
.main-navigation ul ul[style*="display: block"] ~ .site-header::after {
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Simplest approach: Just hide both decorations entirely to prevent issues */
.site-header::before,
.site-header::after {
    display: none !important;
}

.site-header .site-container {
    position: relative;
    z-index: 2;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.site-branding {
    flex: 1;
}

/* ========================================
   LOGO
   ======================================== */
.site-title {
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 8px;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
}

.site-title a {
    text-decoration: none;
}

.site-title .level {
    color: var(--steelers-gold);
    display: inline;
    text-shadow:
        3px 3px 0 #000,
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000;
    filter: none; /* Removed glow for flat screen-print look */
}

.site-title .number {
    color: var(--gold-dark);
    display: inline;
    margin-left: 10px;
    text-shadow:
        4px 4px 0 #000,
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000;
    filter: none; /* Removed glow for flat screen-print look */
}

.site-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.1) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.1) 2px,
            rgba(0, 0, 0, 0.1) 4px
        );
    pointer-events: none;
    opacity: 0.3;
}

.site-title::after {
    content: '🤘';
    position: absolute;
    font-size: 2.5rem;
    top: -15px;
    right: -35px;
    transform: rotate(15deg);
    opacity: 0.7;
}

.site-description {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
    border-left: 5px solid var(--gold-dark);
    padding-left: 15px;
    margin-top: 10px;
}

/* ========================================
   SEARCH FORM
   ======================================== */
.header-search {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-form {
    display: flex;
    border: 2px solid var(--gold-muted);
    background-color: var(--bg-primary);
    overflow: hidden;
}

.search-form input[type="search"] {
    background: transparent;
    border: none;
    color: var(--text-primary);
    padding: 10px 15px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    outline: none;
    width: 200px;
}

.search-form input[type="search"]::placeholder {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.search-form button {
    background-color: var(--steelers-gold);
    color: #000;
    border: 2px solid var(--steelers-gold);
    padding: 10px 15px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.2s;
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.search-form button:hover {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translate(-2px, -2px);
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.no-results .search-form {
    max-width: 600px;
    margin: 20px 0;
}

.no-results .search-form input[type="search"] {
    width: 100%;
    flex: 1;
}

/* ========================================
   NAVIGATION - SIMPLE & WORKING
   ======================================== */
.main-navigation {
    margin-top: 30px;
    border-top: 2px dashed var(--border);
    border-bottom: 2px dashed var(--border);
    padding: 20px 0;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation > div > ul,
.main-navigation > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 2px;
    padding: 5px 10px;
    display: block;
    transition: color 0.3s;
}

/* Extra padding on parent links to bridge gap to submenu */
.main-navigation > div > ul > li > a,
.main-navigation > ul > li > a {
    padding-bottom: 15px;
}

.main-navigation a:hover {
    color: var(--steelers-gold);
    text-shadow: none; /* Flat screen-print aesthetic */
}

/* Submenu */
.main-navigation .sub-menu,
.main-navigation ul ul {
    position: absolute;
    top: calc(100% - 10px); /* Overlap with parent link padding */
    left: 0;
    min-width: 220px;
    background-color: #1a1a1a; /* Solid opaque background */
    border: 3px solid var(--steelers-gold);
    box-shadow: 6px 6px 0 var(--shadow); /* Flat, graphic shadow */
    z-index: 10000; /* Higher than header decorations */
    display: none;
    margin-top: 0;
    padding-top: 15px; /* Add padding so first item isn't too close to parent */
}

/* JavaScript will control display, but keep fallback for no-JS */
.no-js .main-navigation li:hover > .sub-menu,
.no-js .main-navigation li:hover > ul {
    display: block;
}

.main-navigation .sub-menu li,
.main-navigation ul ul li {
    width: 100%;
    border-bottom: 1px dashed var(--border);
    background-color: #1a1a1a; /* Ensure opaque background on items */
}

.main-navigation .sub-menu li:last-child,
.main-navigation ul ul li:last-child {
    border-bottom: none;
}

.main-navigation .sub-menu a,
.main-navigation ul ul a {
    padding: 15px 20px;
    padding-left: 40px;
    font-size: 1rem;
    position: relative;
    background-color: #1a1a1a; /* Solid background on links */
}

.main-navigation .sub-menu a::before,
.main-navigation ul ul a::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background-color: var(--steelers-gold);
}

.main-navigation .sub-menu a:hover,
.main-navigation ul ul a:hover {
    background-color: rgba(212, 160, 23, 0.15);
}

.main-navigation .sub-menu a:hover::before,
.main-navigation ul ul a:hover::before {
    background-color: var(--gold-dark);
}

/* ========================================
   CONTENT LAYOUT
   ======================================== */
.site-content {
    margin: 40px 0;
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
}

body.has-left-sidebar .site-content {
    grid-template-columns: 250px 1fr !important;
}

body.has-right-sidebar .site-content {
    grid-template-columns: 1fr 250px !important;
}

body.has-left-sidebar.has-right-sidebar .site-content {
    grid-template-columns: 250px 1fr 250px !important;
}

.site-main {
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

body.has-left-sidebar .site-main,
body.has-right-sidebar .site-main {
    max-width: none;
}

/* ========================================
   POSTS
   ======================================== */
.post {
    background-color: var(--bg-secondary);
    border: 3px solid var(--border);
    padding: 30px;
    margin-bottom: 40px;
    position: relative;
    box-shadow: 6px 6px 0 var(--shadow); /* Flat, graphic shadow */
}

.post::before {
    content: '💿';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 2rem;
    color: var(--steelers-gold);
    opacity: 0.3;
    font-family: Impact, sans-serif;
}

.post::after {
    content: '💿';
    position: absolute;
    bottom: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--gold-dark);
    opacity: 0.2;
    font-family: Impact, sans-serif;
}

.entry-title {
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--steelers-gold);
    text-shadow: 4px 4px 0 rgba(0, 0, 0, 0.9); /* Flat graphic shadow */
    transform: skew(-2deg); /* Slightly reduced skew for cleaner look */
    letter-spacing: -1px;
    line-height: 1.2;
}

.entry-title a {
    color: var(--steelers-gold);
    text-decoration: none;
}

.entry-title a:hover {
    color: var(--gold-dark);
}

.single .entry-title {
    font-size: 3rem;
}

.entry-meta {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px dashed var(--border);
}

.entry-meta span {
    margin-right: 15px;
}

.entry-meta span::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--steelers-gold);
    margin-right: 5px;
}

.entry-meta a {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: bold;
}

.entry-meta a:hover {
    color: var(--steelers-gold);
}

.entry-meta a:visited {
    color: var(--neon-blue);
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.entry-content p {
    margin-bottom: 15px;
}

.entry-content h2 {
    font-family: Impact, sans-serif;
    font-size: 2rem;
    color: var(--steelers-gold);
    text-transform: uppercase;
    margin: 30px 0 15px 0;
    transform: skew(-1deg);
}

.entry-content h3 {
    font-family: Impact, sans-serif;
    font-size: 1.5rem;
    color: var(--gold-dark);
    text-transform: uppercase;
    margin: 25px 0 12px 0;
}

.entry-content ul,
.entry-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.entry-content li {
    margin-bottom: 10px;
}

.entry-content a {
    color: var(--neon-blue);
    text-decoration: underline;
    font-weight: bold;
}

.entry-content a:hover {
    color: var(--steelers-gold);
}

.entry-content a:visited {
    color: var(--neon-blue);
}

.entry-content code {
    background-color: var(--bg-primary);
    color: var(--steelers-gold);
    padding: 2px 6px;
    border: 1px solid var(--border);
    font-family: 'Courier New', monospace;
}

.entry-content blockquote {
    border-left: 5px solid var(--steelers-gold);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.more-link {
    display: inline-block;
    background-color: var(--steelers-gold);
    color: #000000 !important;
    padding: 10px 24px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    border: 3px solid var(--steelers-gold);
    transition: all 0.2s;
    margin-top: 15px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3); /* Flat patch-like shadow */
}

.more-link:hover {
    transform: translate(-3px, -3px);
    box-shadow: 5px 5px 0 var(--gold-dark);
    background-color: var(--gold-dark);
    color: #000000 !important;
    border-color: var(--gold-dark);
}

.more-link:visited {
    color: #000000 !important;
}

.entry-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed var(--border);
    font-size: 0.9rem;
}

.entry-footer span {
    margin-right: 15px;
}

.entry-footer a {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: bold;
}

.entry-footer a:hover {
    color: var(--steelers-gold);
}

.entry-footer a:visited {
    color: var(--neon-blue);
}

/* ========================================
   SIDEBARS
   ======================================== */
.sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
    min-width: 250px;
    max-width: 250px;
}

.widget {
    background-color: var(--bg-secondary);
    border: 3px solid var(--border);
    padding: 20px;
    margin-bottom: 30px;
    position: relative;
}

.left-sidebar .widget:nth-child(odd) {
    transform: rotate(-2deg);
}

.left-sidebar .widget:nth-child(even) {
    transform: rotate(1deg);
}

.right-sidebar .widget:nth-child(odd) {
    transform: rotate(2deg);
}

.right-sidebar .widget:nth-child(even) {
    transform: rotate(-1deg);
}

.widget::before {
    content: '*';
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--neon-blue);
    font-size: 1.5rem;
    opacity: 0.3;
}

.widget-title {
    font-family: Impact, sans-serif;
    font-size: 1.3rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--steelers-gold);
    border-bottom: 3px solid var(--steelers-gold);
    padding-bottom: 8px;
    letter-spacing: -1px;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px dashed var(--border);
    display: flex;
    align-items: flex-start;
}

.widget li::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--steelers-gold);
    transform: rotate(45deg);
    margin-right: 8px;
    flex-shrink: 0;
    margin-top: 6px;
}

.widget a {
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s;
}

.widget a:hover {
    color: var(--steelers-gold);
    margin-left: 5px;
}

.widget a:visited {
    color: var(--text-primary);
}

/* ========================================
   FOOTER WIDGETS
   ======================================== */
.footer-widgets {
    background-color: var(--bg-tertiary);
    border-top: 4px solid var(--steelers-gold);
    border-bottom: 4px solid var(--steelers-gold);
    padding: 40px 0;
    margin-top: 60px;
    position: relative;
}

.footer-widgets::before {
    content: '' !important; /* Removed X decoration to fix submenu transparency bug */
    display: none !important;
}

.footer-widget-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-widget {
    background-color: var(--bg-secondary);
    border: 2px solid var(--border);
    padding: 25px;
    position: relative;
}

.footer-widget::before {
    content: '*';
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--steelers-gold);
    font-size: 1.2rem;
    opacity: 0.3;
}

.footer-widget .widget-title {
    font-family: Impact, sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: var(--steelers-gold);
    border-bottom: 3px solid var(--steelers-gold);
    padding-bottom: 8px;
}

.footer-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widget li {
    padding: 6px 0;
    border: none;
}

.footer-widget li::before {
    content: '▸';
    color: var(--steelers-gold);
    margin-right: 8px;
    font-size: 0.9rem;
    font-weight: bold;
}

.footer-widget a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.footer-widget a:hover {
    color: var(--steelers-gold);
    margin-left: 5px;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background-color: var(--bg-secondary);
    padding: 25px 0;
    text-align: center;
}

.site-info {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.site-info a {
    color: var(--neon-blue) !important;
    text-decoration: none;
    font-weight: bold;
}

.site-info a:hover {
    color: var(--steelers-gold) !important;
}

.site-info a:visited {
    color: var(--gold-muted) !important;
}

/* ========================================
   POST NAVIGATION
   ======================================== */
.post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.nav-previous,
.nav-next {
    background-color: var(--bg-secondary);
    border: 3px solid var(--border);
    padding: 20px;
    transition: all 0.3s;
}

.nav-previous:hover,
.nav-next:hover {
    border-color: var(--steelers-gold);
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 var(--shadow);
}

.nav-previous a,
.nav-next a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    display: block;
}

.nav-subtitle {
    color: var(--steelers-gold);
    font-size: 0.8rem;
    display: block;
    margin-bottom: 8px;
}

.nav-title {
    color: var(--text-primary);
    font-size: 1.1rem;
}

.nav-previous a:hover .nav-title,
.nav-next a:hover .nav-title {
    color: var(--steelers-gold);
}

/* ========================================
   PAGINATION
   ======================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 40px 0;
}

.pagination a,
.pagination span {
    background-color: var(--bg-secondary);
    border: 2px solid var(--border);
    color: var(--text-primary);
    padding: 10px 15px;
    text-decoration: none;
    font-weight: bold;
}

.pagination a:hover,
.pagination .current {
    background-color: var(--steelers-gold);
    color: #000;
    border-color: var(--steelers-gold);
    box-shadow: 3px 3px 0 var(--gold-dark);
}

/* ========================================
   COMMENTS
   ======================================== */
.comments-area {
    background-color: var(--bg-secondary);
    border: 3px solid var(--border);
    padding: 30px;
    margin-top: 40px;
}

.comments-title {
    font-family: Impact, 'Arial Black', sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--steelers-gold);
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    border-left: 5px solid var(--steelers-gold);
    padding-left: 20px;
    margin-bottom: 20px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    body.has-left-sidebar .site-content,
    body.has-right-sidebar .site-content,
    body.has-left-sidebar.has-right-sidebar .site-content {
        grid-template-columns: 1fr !important;
    }
    
    .sidebar {
        position: static;
        max-width: 100%;
    }
    
    .left-sidebar, .right-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }

    .footer-widget-area {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .left-sidebar .widget,
    .right-sidebar .widget {
        transform: none !important;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .site-container {
        padding: 0 15px;
    }

    /* MOBILE HEADER FIXES */
    .site-header {
        padding: 15px 0;
        padding-bottom: 20px; /* Extra space to prevent overlap */
    }

    /* Hide large decorative X pattern on mobile */
    .site-header::before {
        display: none;
    }

    /* Hide bottom X pattern on mobile to prevent menu overlap */
    .site-header::after {
        display: none;
    }

    .site-title {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

    /* Show skull on mobile but smaller */
    .site-title::after {
        font-size: 1.5rem;
        right: -25px;
        top: -8px;
    }

    .site-description {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .header-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
    }

    .site-branding {
        width: 100%;
    }

    .header-search {
        width: 100%;
    }

    .search-form {
        width: 100%;
    }

    .search-form input[type="search"] {
        width: 100%;
        flex: 1;
    }

    /* MOBILE MENU FIXES */
    .main-navigation {
        margin-top: 20px;
        padding: 15px 0;
        width: 100%;
        position: relative;
        z-index: 10; /* Ensure menu stays above decorative elements */
    }

    .main-navigation > div > ul,
    .main-navigation > ul {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .main-navigation li {
        width: 100%;
    }

    .main-navigation a {
        font-size: 1rem;
        display: flex;
        align-items: center;
        padding: 12px 15px;
        background-color: var(--bg-secondary);
        border: 2px solid var(--border);
        width: 100%;
        line-height: 1.4;
    }

    /* Remove desktop hover bridge on mobile */
    .main-navigation > div > ul > li > a,
    .main-navigation > ul > li > a {
        padding: 12px 15px;
    }

    /* FIX: Properly aligned bullet for mobile menu */
    .main-navigation > div > ul > li > a::before,
    .main-navigation > ul > li > a::before {
        content: '';
        display: inline-block;
        width: 10px;
        height: 10px;
        background-color: var(--steelers-gold);
        transform: rotate(45deg);
        margin-right: 12px;
        flex-shrink: 0;
    }

    .main-navigation .sub-menu,
    .main-navigation ul ul {
        position: static;
        display: none;
        border: none;
        border-left: 3px solid var(--steelers-gold);
        margin: 10px 0 0 20px;
        padding: 0;
        padding-top: 0; /* Remove desktop padding-top */
        width: calc(100% - 20px);
        top: auto; /* Reset desktop positioning */
    }

    .main-navigation li:hover > .sub-menu,
    .main-navigation li:hover > ul {
        display: flex;
        flex-direction: column;
    }

    .main-navigation .sub-menu a,
    .main-navigation ul ul a {
        padding: 10px 15px;
        font-size: 0.9rem;
        padding-left: 15px;
    }

    /* Remove the desktop submenu bullet on mobile */
    .main-navigation .sub-menu a::before,
    .main-navigation ul ul a::before {
        display: none;
    }

    /* Add new mobile-friendly submenu bullet */
    .main-navigation .sub-menu a::before,
    .main-navigation ul ul a::before {
        content: '→';
        position: static;
        transform: none;
        width: auto;
        height: auto;
        background-color: transparent;
        color: var(--steelers-gold);
        margin-right: 8px;
        font-size: 0.9rem;
        display: inline;
    }

    .site-main {
        max-width: 100%;
    }

    .post {
        padding: 20px;
        margin-bottom: 30px;
        box-shadow: 3px 3px 0 var(--shadow);
    }

    .post::before {
        font-size: 1.5rem;
        top: 10px;
        right: 10px;
    }

    .post::after {
        font-size: 1.2rem;
        bottom: 10px;
        right: 10px;
    }

    .entry-title {
        font-size: 1.8rem;
        letter-spacing: 0;
    }

    .single .entry-title {
        font-size: 2rem;
    }

    .entry-meta {
        font-size: 0.75rem;
    }

    .entry-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .more-link {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .widget {
        padding: 15px;
        margin-bottom: 20px;
    }

    .widget-title {
        font-size: 1.1rem;
    }

    .footer-widget-area {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-widgets {
        padding: 30px 0;
    }

    .footer-widget {
        padding: 20px;
    }

    .site-info {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .site-title::after {
        font-size: 1.2rem;
        right: -20px;
        top: -5px;
    }

    .entry-title {
        font-size: 1.5rem;
    }

    .single .entry-title {
        font-size: 1.8rem;
    }

    .post {
        padding: 15px;
    }
}