/**
 * Chapter IV Band - Rock Star Theme Customizations
 * Modern rock-themed design with purple/black color scheme
 */

:root {
    --chapteriv-purple: #8629A5;
    --chapteriv-purple-dark: #6a1f84;
    --chapteriv-purple-light: #a94bd0;
    --chapteriv-purple-glow: rgba(134, 41, 165, 0.5);
    --chapteriv-black: #000000;
    --chapteriv-dark: #0a0a0a;
    --chapteriv-gray: #181818;
    --chapteriv-gray-light: #2a2a2a;
    --chapteriv-white: #ffffff;
    --chapteriv-gold: #ffd700;
    --chapteriv-gold-dark: #ccaa00;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Body background - transparent on home page to show parallax, dark on other pages */
body:not(.home) {
    background: linear-gradient(180deg, var(--chapteriv-black) 0%, var(--chapteriv-dark) 100%);
    color: var(--chapteriv-white);
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

body.home {
    background: transparent;
    color: var(--chapteriv-white);
    font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
}

/* Enhanced body background with subtle pattern - only on non-home pages */
body:not(.home)::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(134, 41, 165, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(134, 41, 165, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body:not(.home) > * {
    position: relative;
    z-index: 1;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Section Titles with Purple Glow */
.band-section h2,
.songs-section h2,
.shows-section h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--chapteriv-purple) 0%, var(--chapteriv-purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--chapteriv-purple-glow);
    position: relative;
    display: inline-block;
}

.band-section h2::after,
.songs-section h2::after,
.shows-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--chapteriv-purple), transparent);
    box-shadow: 0 0 10px var(--chapteriv-purple-glow);
}

/* Enhanced Band Members Section */
.band-section {
    background: linear-gradient(180deg, var(--chapteriv-black) 0%, var(--chapteriv-dark) 50%, var(--chapteriv-black) 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: var(--chapteriv-white);
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Ensure all images in band section are visible */
.band-section img,
.band-section .band-photo,
.band-section .band-member img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    z-index: 2 !important;
}

.band-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, var(--chapteriv-purple-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

.band-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1rem;
    position: relative;
    z-index: 1;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.band-member-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.band-member {
    position: relative;
    overflow: hidden;
    background: var(--chapteriv-gray);
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: block;
    aspect-ratio: 1 / 1;
    width: 100%;
    min-height: 300px;
    text-decoration: none;
    max-width: 100%;
    box-sizing: border-box;
}

.band-member > img,
.band-member img.band-photo {
    position: relative !important;
    z-index: 10 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.band-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--chapteriv-purple-glow) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.band-member img.band-photo {
    position: relative;
    z-index: 2 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.band-member:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--chapteriv-purple);
    box-shadow: 0 20px 40px var(--chapteriv-purple-glow), 0 0 30px var(--chapteriv-purple-glow);
}

.band-member:hover::before {
    opacity: 0.3;
}

.band-photo {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), filter 0.4s ease;
    filter: grayscale(20%) brightness(0.9);
    position: relative !important;
    z-index: 2 !important;
    object-fit: cover !important;
}

.band-member:hover .band-photo {
    transform: scale(1.15);
    filter: grayscale(0%) brightness(1.1);
}

.band-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%);
    color: var(--chapteriv-white);
    text-align: center;
    padding: 1.5rem 1rem;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
}

.band-member:hover .band-overlay {
    opacity: 1;
    transform: translateY(0);
}

.band-name-static {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    color: var(--chapteriv-white);
    text-shadow: 0 0 10px var(--chapteriv-purple-glow);
    text-align: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.band-member-wrapper:hover .band-name-static {
    opacity: 0;
    transform: translateY(-10px);
}

.band-name {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    color: var(--chapteriv-white);
    text-shadow: 0 0 10px var(--chapteriv-purple-glow);
}

.band-role {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    color: var(--chapteriv-purple-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Enhanced Songs Section */
.songs-section {
    background: linear-gradient(180deg, var(--chapteriv-dark) 0%, var(--chapteriv-black) 50%, var(--chapteriv-dark) 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: var(--chapteriv-white);
    position: relative;
    overflow: hidden;
}

/* Ensure all images in songs section are visible */
.songs-section img,
.songs-section .song-cover,
.songs-section .song-card img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    z-index: 2 !important;
}

.songs-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, var(--chapteriv-purple-glow) 0%, transparent 60%);
    opacity: 0.2;
    pointer-events: none;
}

.songs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.song-card {
    background: var(--chapteriv-gray);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.song-card > img,
.song-card img.song-cover {
    position: relative !important;
    z-index: 10 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
}

.song-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--chapteriv-purple-glow) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.song-card img.song-cover {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.song-card:hover {
    transform: translateY(-12px) scale(1.03);
    border-color: var(--chapteriv-purple);
    box-shadow: 0 20px 50px var(--chapteriv-purple-glow), 0 0 40px var(--chapteriv-purple-glow);
}

.song-card:hover::before {
    opacity: 0.3;
}

.song-cover {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95);
    position: relative !important;
    z-index: 2 !important;
    object-fit: cover !important;
}

.song-card:hover .song-cover {
    transform: scale(1.1);
    filter: brightness(1.1);
}

.song-info {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg, transparent 0%, var(--chapteriv-gray) 100%);
}

.song-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0.5rem 0 1rem;
    color: var(--chapteriv-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.song-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.song-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--chapteriv-gray-light);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.song-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.song-btn:hover::before {
    width: 100%;
    height: 100%;
}

.song-btn img {
    width: 22px;
    height: 22px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    display: block;
    opacity: 1;
    visibility: visible;
}

.song-btn:hover img {
    transform: scale(1.1);
}

.song-btn.spotify:hover {
    background: #1DB954;
    border-color: #1DB954;
    box-shadow: 0 0 20px rgba(29, 185, 84, 0.6);
}

.song-btn.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

.song-btn.applemusic:hover {
    background: #FFFFFF;
    border-color: #FFFFFF;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
}

.song-btn.applemusic:hover img {
    filter: brightness(0);
}

/* Enhanced Header */
.site-header {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(10, 10, 10, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(134, 41, 165, 0.3);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.site-header .wrapper {
    position: relative;
}

.site-branding .site-title a {
    color: var(--chapteriv-white);
    text-shadow: 0 0 10px var(--chapteriv-purple-glow);
    transition: all 0.3s ease;
}

.site-branding .site-title a:hover {
    color: var(--chapteriv-purple-light);
    text-shadow: 0 0 20px var(--chapteriv-purple-glow);
}

/* Mobile: Hide title and description, show only logo */
@media (max-width: 768px) {
    .site-branding #site-details,
    .site-branding .site-title,
    .site-branding .site-description {
        display: none !important;
    }
    .site-branding .site-logo img {
        max-height: 40px !important;
    }
}

@media (max-width: 480px) {
    .site-branding #site-details,
    .site-branding .site-title,
    .site-branding .site-description {
        display: none !important;
    }
    .site-branding .site-logo img {
        max-height: 36px !important;
    }
}

/* Enhanced Social Icons in Header */
.header-social-icons .social-icons a {
    background: rgba(134, 41, 165, 0.2);
    border: 2px solid rgba(134, 41, 165, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-social-icons .social-icons a:hover {
    background: var(--chapteriv-purple);
    border-color: var(--chapteriv-purple-light);
    box-shadow: 0 0 20px var(--chapteriv-purple-glow);
    transform: translateY(-3px) scale(1.1);
}

/* Navigation Enhancements */
.main-navigation a {
    color: var(--chapteriv-white);
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--chapteriv-purple), var(--chapteriv-purple-light));
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation a:focus::after {
    width: 100%;
}

.main-navigation a:hover,
.main-navigation a:focus {
    color: var(--chapteriv-purple-light);
    text-shadow: 0 0 10px var(--chapteriv-purple-glow);
}

/* Shows Section Enhancements */
.chapteriv-shows-section,
.shows-section {
    background: linear-gradient(180deg, var(--chapteriv-black) 0%, var(--chapteriv-dark) 50%, var(--chapteriv-black) 100%);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.chapteriv-shows-section::before,
.shows-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 50%, var(--chapteriv-purple-glow) 0%, transparent 60%);
    opacity: 0.2;
    pointer-events: none;
}

.shows-section-title {
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--chapteriv-purple) 0%, var(--chapteriv-purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--chapteriv-purple-glow);
    position: relative;
    display: inline-block;
}

.shows-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--chapteriv-purple), transparent);
    box-shadow: 0 0 10px var(--chapteriv-purple-glow);
}

.chapteriv-shows-list {
    position: relative;
    z-index: 1;
}

.chapteriv-show-item {
    background: linear-gradient(135deg, var(--chapteriv-gray) 0%, var(--chapteriv-gray-light) 100%);
    border: 2px solid transparent;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.chapteriv-show-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--chapteriv-purple-glow) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.chapteriv-show-item:hover {
    transform: translateX(10px);
    border-color: var(--chapteriv-purple);
    box-shadow: 0 10px 30px var(--chapteriv-purple-glow), 0 0 20px var(--chapteriv-purple-glow);
}

.chapteriv-show-item:hover::before {
    opacity: 0.2;
}

.chapteriv-show-item .show-date {
    background: linear-gradient(135deg, var(--chapteriv-purple) 0%, var(--chapteriv-purple-dark) 100%);
    color: var(--chapteriv-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 15px var(--chapteriv-purple-glow);
    position: relative;
    z-index: 1;
}

.chapteriv-show-item .show-city {
    color: var(--chapteriv-white);
    font-weight: 600;
    text-shadow: 0 0 5px rgba(134, 41, 165, 0.3);
}

.chapteriv-show-item .show-venue {
    color: var(--chapteriv-purple-light);
}

.chapteriv-show-item .show-tickets .button {
    background: linear-gradient(135deg, var(--chapteriv-purple) 0%, var(--chapteriv-purple-light) 100%);
    border: 2px solid var(--chapteriv-purple);
    box-shadow: 0 0 15px var(--chapteriv-purple-glow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.chapteriv-show-item .show-tickets .button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.chapteriv-show-item .show-tickets .button:hover::before {
    width: 300px;
    height: 300px;
}

.chapteriv-show-item .show-tickets .button:hover {
    background: linear-gradient(135deg, var(--chapteriv-purple-light) 0%, var(--chapteriv-purple) 100%);
    box-shadow: 0 0 25px var(--chapteriv-purple-glow), 0 0 40px var(--chapteriv-purple-glow);
    transform: translateY(-2px);
}

.chapteriv-show-item .show-tickets .button {
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .band-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        padding: 2rem 1rem;
    }
    
    .band-member-wrapper {
        gap: 0.75rem;
    }
    
    .band-name-static {
        font-size: 1.1rem;
    }
    
    .songs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .band-section h2,
    .songs-section h2,
    .shows-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .band-section,
    .songs-section,
    .shows-section {
        padding: 3rem 1.5rem;
    }
    
    .band-grid {
        gap: 1.5rem;
        padding: 2rem 0.75rem;
    }
    
    .band-member-wrapper {
        gap: 0.75rem;
    }
    
    .band-name-static {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    .songs-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .band-section h2,
    .songs-section h2,
    .shows-section h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
        letter-spacing: 2px;
    }
    
    .band-name {
        font-size: 1.2rem;
    }
    
    .song-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .band-section,
    .songs-section,
    .shows-section {
        padding: 2rem 1rem;
    }
    
    .band-section h2,
    .songs-section h2,
    .shows-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .band-grid {
        gap: 1rem;
        padding: 2rem 0.5rem;
    }
    
    .band-member-wrapper {
        gap: 0.5rem;
    }
    
    .band-name-static {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }
    
    .songs-grid {
        gap: 1rem;
    }
    
    .song-btn {
        width: 40px;
        height: 40px;
    }
    
    .song-btn img {
        width: 20px;
        height: 20px;
    }
}

/* Animation for scroll-in effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.band-member,
.song-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.band-member:nth-child(1) { animation-delay: 0.1s; }
.band-member:nth-child(2) { animation-delay: 0.2s; }
.band-member:nth-child(3) { animation-delay: 0.3s; }
.band-member:nth-child(4) { animation-delay: 0.4s; }

.song-card:nth-child(1) { animation-delay: 0.1s; }
.song-card:nth-child(2) { animation-delay: 0.2s; }
.song-card:nth-child(3) { animation-delay: 0.3s; }

/* Force image visibility - Maximum specificity override */
section.band-section img.band-photo,
section.band-section .band-member img.band-photo,
section.band-section a.band-member img,
section.songs-section img.song-cover,
section.songs-section .song-card img.song-cover,
section.songs-section .song-card img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    position: relative !important;
    z-index: 999 !important;
    object-fit: cover !important;
    background: transparent !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.band-member img.band-photo {
    height: 100% !important;
}

/* ============================================
   SITE-WIDE STYLING - Single Posts & Pages
   ============================================ */

/* Home page - transparent background to show parallax */
.home .site-content {
    background: transparent !important;
    padding: 0;
}

/* Break shortcode sections out of entry-content container on home page */
.home .entry-content .band-section,
.home .entry-content .songs-section,
.home .entry-content .shows-section,
.home .entry-content .chapteriv-shows-section {
    width: calc(100% + 4rem);
    position: relative;
    left: -2rem;
    right: -2rem;
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    padding-left: 2rem;
    padding-right: 2rem;
    box-sizing: border-box;
}

/* Ensure parent containers don't cut off content */
.home .site-content,
.home .content-area,
.home .entry-content {
    overflow-x: visible !important;
}

.home .wrapper {
    overflow-x: visible !important;
}

/* Remove entry-content container styling on home page */
.home .entry-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
    border-radius: 0 !important;
}

/* Main Content Area - Only apply to single posts and pages, not home page */
.single .site-content,
.page .site-content {
    background: linear-gradient(180deg, var(--chapteriv-black) 0%, var(--chapteriv-dark) 50%, var(--chapteriv-black) 100%);
    color: var(--chapteriv-white);
    padding: 3rem 0;
    position: relative;
    min-height: 60vh;
}

.single .site-content::before,
.page .site-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(134, 41, 165, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(134, 41, 165, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.single .site-content > *,
.page .site-content > * {
    position: relative;
    z-index: 1;
}

/* Content Area */
.content-area {
    background: transparent;
    color: var(--chapteriv-white);
}

/* Entry Header */
.entry-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    margin-bottom: 2rem;
    position: relative;
}

.entry-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--chapteriv-purple), transparent);
    box-shadow: 0 0 10px var(--chapteriv-purple-glow);
}

/* Entry Title - Single Posts & Pages */
.single .entry-title,
.page .entry-title,
.content-area .entry-title {
    font-size: 3rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 1rem;
    background: linear-gradient(135deg, var(--chapteriv-purple) 0%, var(--chapteriv-purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--chapteriv-purple-glow);
    line-height: 1.2;
}

.single .entry-title a,
.page .entry-title a,
.content-area .entry-title a {
    background: linear-gradient(135deg, var(--chapteriv-purple) 0%, var(--chapteriv-purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all 0.3s ease;
}

.single .entry-title a:hover,
.page .entry-title a:hover,
.content-area .entry-title a:hover {
    filter: brightness(1.2);
    text-shadow: 0 0 40px var(--chapteriv-purple-glow);
}

/* Entry Meta */
.entry-meta {
    color: var(--chapteriv-purple-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
}

.entry-meta a {
    color: var(--chapteriv-purple-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.entry-meta a:hover {
    color: var(--chapteriv-white);
    text-shadow: 0 0 10px var(--chapteriv-purple-glow);
}

/* Entry Content - Only apply styled container to single posts and pages */
.single .entry-content,
.page .entry-content {
    background: linear-gradient(180deg, rgba(24, 24, 24, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
    padding: 3rem 2rem;
    margin: 2rem auto;
    max-width: 900px;
    border-radius: 12px;
    border: 1px solid rgba(134, 41, 165, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(134, 41, 165, 0.05);
    position: relative;
    overflow: hidden;
}

.single .entry-content::before,
.page .entry-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(134, 41, 165, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.single .entry-content > *,
.page .entry-content > * {
    position: relative;
    z-index: 1;
}

.entry-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--chapteriv-white);
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px var(--chapteriv-purple-glow);
}

.entry-content h2 {
    font-size: 2rem;
    border-bottom: 2px solid rgba(134, 41, 165, 0.3);
    padding-bottom: 0.5rem;
    margin-top: 2.5rem;
}

.entry-content h3 {
    font-size: 1.5rem;
    color: var(--chapteriv-purple-light);
}

/* Links in Content */
.entry-content a {
    color: var(--chapteriv-purple-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(134, 41, 165, 0.3);
    transition: all 0.3s ease;
}

.entry-content a:hover {
    color: var(--chapteriv-white);
    border-bottom-color: var(--chapteriv-purple);
    text-shadow: 0 0 10px var(--chapteriv-purple-glow);
}

/* Lists */
.entry-content ul,
.entry-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.entry-content li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.entry-content ul li::marker {
    color: var(--chapteriv-purple);
}

/* Blockquotes */
.entry-content blockquote {
    border-left: 4px solid var(--chapteriv-purple);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: rgba(134, 41, 165, 0.1);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    position: relative;
    box-shadow: 0 0 20px rgba(134, 41, 165, 0.2);
}

.entry-content blockquote::before {
    content: '"';
    font-size: 4rem;
    color: var(--chapteriv-purple);
    position: absolute;
    top: -10px;
    left: 10px;
    opacity: 0.3;
    font-family: serif;
}

.entry-content blockquote p {
    margin: 0;
    color: rgba(255, 255, 255, 0.95);
}

/* Featured Images */
.featured-image,
.entry-content img,
.entry-content .wp-block-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(134, 41, 165, 0.3);
    margin: 2rem auto;
    display: block;
    max-width: 100%;
    height: auto;
    transition: all 0.3s ease;
}

.featured-image:hover,
.entry-content img:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 30px var(--chapteriv-purple-glow);
    transform: scale(1.02);
}

/* Band Member Bio Pages - Center Title Above Featured Image */
.single .featured-image,
.page .featured-image {
    margin: 0 auto;
    width: 100%;
    max-width: 800px;
    display: block;
    text-align: center;
}

.single .featured-image img,
.page .featured-image img {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(134, 41, 165, 0.3);
    object-fit: cover;
}

/* Position entry container to match image width */
.single .featured-image + .entry-container,
.page .featured-image + .entry-container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

/* Position entry header centered above featured image */
.single .featured-image + .entry-container .entry-header,
.page .featured-image + .entry-container .entry-header {
    text-align: center;
    padding: 3rem 2rem 2rem;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.single .featured-image + .entry-container .entry-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--chapteriv-purple), transparent);
    box-shadow: 0 0 10px var(--chapteriv-purple-glow);
}

/* Enhanced title styling */
.single .featured-image + .entry-container .entry-header .entry-title,
.page .featured-image + .entry-container .entry-header .entry-title {
    font-size: 4rem;
    color: var(--chapteriv-white);
    background: linear-gradient(135deg, var(--chapteriv-purple) 0%, var(--chapteriv-purple-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px var(--chapteriv-purple-glow);
    margin: 0 0 1rem;
    line-height: 1.1;
}

/* Entry meta styling */
.single .featured-image + .entry-container .entry-header .entry-meta,
.page .featured-image + .entry-container .entry-header .entry-meta {
    color: var(--chapteriv-purple-light);
    margin-top: 1rem;
}

.single .featured-image + .entry-container .entry-header .entry-meta a,
.page .featured-image + .entry-container .entry-header .entry-meta a {
    color: var(--chapteriv-purple-light);
}

/* Adjust entry content spacing */
.single .featured-image + .entry-container .entry-content,
.page .featured-image + .entry-container .entry-content {
    margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .single .featured-image,
    .page .featured-image {
        max-width: 100%;
    }
    
    .single .featured-image + .entry-container,
    .page .featured-image + .entry-container {
        max-width: 100%;
    }
    
    .single .featured-image + .entry-container .entry-header .entry-title,
    .page .featured-image + .entry-container .entry-header .entry-title {
        font-size: 3rem;
    }
    
    .single .featured-image + .entry-container .entry-header,
    .page .featured-image + .entry-container .entry-header {
        padding: 2.5rem 1.5rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .single .featured-image,
    .page .featured-image {
        max-width: 100%;
    }
    
    .single .featured-image + .entry-container,
    .page .featured-image + .entry-container {
        max-width: 100%;
    }
    
    .single .featured-image + .entry-container .entry-header .entry-title,
    .page .featured-image + .entry-container .entry-header .entry-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }
    
    .single .featured-image + .entry-container .entry-header,
    .page .featured-image + .entry-container .entry-header {
        padding: 2rem 1rem 1rem;
    }
    
    .single .featured-image img,
    .page .featured-image img {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .single .featured-image,
    .page .featured-image {
        max-width: 100%;
    }
    
    .single .featured-image + .entry-container,
    .page .featured-image + .entry-container {
        max-width: 100%;
    }
    
    .single .featured-image + .entry-container .entry-header .entry-title,
    .page .featured-image + .entry-container .entry-header .entry-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .single .featured-image + .entry-container .entry-header,
    .page .featured-image + .entry-container .entry-header {
        padding: 1.5rem 0.75rem 0.75rem;
    }
}

/* Buttons */
.entry-content .button,
.entry-content .btn,
.entry-content a.button,
.entry-content a.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--chapteriv-purple) 0%, var(--chapteriv-purple-light) 100%);
    color: var(--chapteriv-white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--chapteriv-purple);
    box-shadow: 0 0 15px var(--chapteriv-purple-glow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.entry-content .button::before,
.entry-content .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.entry-content .button:hover::before,
.entry-content .btn:hover::before {
    width: 300px;
    height: 300px;
}

.entry-content .button:hover,
.entry-content .btn:hover {
    background: linear-gradient(135deg, var(--chapteriv-purple-light) 0%, var(--chapteriv-purple) 100%);
    box-shadow: 0 0 25px var(--chapteriv-purple-glow), 0 0 40px var(--chapteriv-purple-glow);
    transform: translateY(-2px);
}

/* Sidebar */
.sidebar-primary {
    background: linear-gradient(180deg, rgba(24, 24, 24, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(134, 41, 165, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.sidebar-primary .widget {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(134, 41, 165, 0.2);
}

.sidebar-primary .widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-primary .widget-title {
    color: var(--chapteriv-white);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--chapteriv-purple);
    text-shadow: 0 0 10px var(--chapteriv-purple-glow);
}

.sidebar-primary a {
    color: var(--chapteriv-purple-light);
    transition: all 0.3s ease;
}

.sidebar-primary a:hover {
    color: var(--chapteriv-white);
    text-shadow: 0 0 10px var(--chapteriv-purple-glow);
}

/* Post Navigation */
.post-navigation {
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(24, 24, 24, 0.6) 0%, rgba(10, 10, 10, 0.8) 100%);
    border-radius: 12px;
    border: 1px solid rgba(134, 41, 165, 0.2);
}

.post-navigation a {
    color: var(--chapteriv-purple-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.post-navigation a:hover {
    color: var(--chapteriv-white);
    text-shadow: 0 0 10px var(--chapteriv-purple-glow);
}

/* Footer */
.site-footer {
    background: linear-gradient(180deg, var(--chapteriv-black) 0%, var(--chapteriv-dark) 100%);
    border-top: 1px solid rgba(134, 41, 165, 0.3);
    padding: 3rem 2rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.site-footer a {
    color: var(--chapteriv-purple-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-footer a:hover {
    color: var(--chapteriv-white);
    text-shadow: 0 0 10px var(--chapteriv-purple-glow);
}

/* Responsive Design for Single Posts/Pages */
@media (max-width: 1024px) {
    .single .entry-title,
    .page .entry-title {
        font-size: 2.5rem;
    }
    
    .entry-content {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .site-content {
        padding: 2rem 0;
    }
    
    .entry-header {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .single .entry-title,
    .page .entry-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .entry-content {
        padding: 2rem 1.5rem;
        margin: 1.5rem 1rem;
    }
    
    .entry-content p {
        font-size: 1rem;
    }
    
    .entry-content h2 {
        font-size: 1.75rem;
    }
    
    .entry-content h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .entry-header {
        padding: 1.5rem 1rem 1rem;
    }
    
    .single .entry-title,
    .page .entry-title {
        font-size: 1.75rem;
        letter-spacing: 1px;
    }
    
    .entry-content {
        padding: 1.5rem 1rem;
        margin: 1rem 0.5rem;
    }
    
    .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .entry-content h3 {
        font-size: 1.2rem;
    }
    
    .entry-content .button,
    .entry-content .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

