/* ====================================
   SPOTLIGHT ARTIST PAGES
   ==================================== 
   
   Typography (fonts, sizes, weights, line-heights) 
   is inherited from main_css/_typography.css
   
   This file only contains layout, spacing, and 
   component-specific styling.
   ==================================== */

/* Main Container */
.spotlight-artist-page {
    max-width: 950px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

/* Page Title */
.page-title {
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    line-height: 1.1;
    /* Font size inherited from main_css/_typography.css h1 styles */
}

.spotlight-label {
    font-size: 1.5rem;
    color: var(--color-accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
}

/* ====================================
   HERO SECTION - Two Column Layout
   ==================================== */
.hero {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 0;
    align-items: start;
    margin-bottom: 6rem;
    padding-bottom: 0;
}

.hero-left {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 2rem 2rem 3rem;
    border-radius: 0 12px 12px 0;
    margin-left: -12px;
}

/* Fade-in animation for hero-right content */
.hero-right > * {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s forwards;
}

.hero-right > *:nth-child(1) { animation-delay: 0.1s; }
.hero-right > *:nth-child(2) { animation-delay: 0.2s; }
.hero-right > *:nth-child(3) { animation-delay: 0.3s; }
.hero-right > *:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.artist-role {
    margin-bottom: 0.25rem;
    margin-top: 0.75rem;
    color: var(--contrast-2);
    font-weight: 600;
    /* Font size inherited from main_css/_typography.css h3 styles */
}

.artist-genre {
    margin-bottom: 0.25rem;
    margin-top: 0.75rem;
    font-weight: 700;
    /* Font size inherited from main_css/_typography.css h3 styles */
}

.artist-location {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    opacity: 0.75;
    font-weight: 400;
    /* Base size from main_css/_typography.css */
}

.artist-genre-location {
    margin-bottom: 1.25rem;
    font-size: 1rem;
    opacity: 0.75;
    font-weight: 400;
    /* Base size from main_css/_typography.css */
}

/* Social Links - WordPress Block Overrides */
.artist-social-links {
    margin: 0.5rem 0;
}

/* Ensure inline flex layout */
.artist-social-links ul.wp-block-social-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 1rem !important;
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

.artist-social-links .wp-block-social-link {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Style the actual link/button with circular background */
.artist-social-links .wp-block-social-link a.wp-block-social-link-anchor {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.artist-social-links .wp-block-social-link a.wp-block-social-link-anchor:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* SVG Sprite Support */
.artist-social-links .wp-block-social-link a svg {
    display: block !important;
    width: 36px !important;
    height: 36px !important;
    fill: white !important;
}

/* SVG Sprite Icons - Use sprite sheet instead of inline SVGs */
.artist-social-links .wp-block-social-link a svg use {
    fill: white !important;
}

/* Hover effects for sprite icons */
.artist-social-links .wp-block-social-link a:hover svg,
.artist-social-links .wp-block-social-link a:hover svg use {
    fill: white !important;
    transform: scale(1.1);
    transition: transform 0.2s ease;
}

/* Social media brand color backgrounds */
.artist-social-links .wp-social-link-spotify a {
    background-color: #1DB954 !important;
}

.artist-social-links .wp-social-link-youtube a {
    background-color: #FF0000 !important;
}

.artist-social-links .wp-social-link-instagram a {
    background-color: #E4405F !important;
}

.artist-social-links .wp-social-link-facebook a {
    background-color: #1877F2 !important;
}

.artist-social-links .wp-social-link-bandcamp a {
    background-color: #629aa0 !important;
}

.artist-social-links .wp-social-link-x a {
    background-color: #000000 !important;
}

/* Hide text labels completely */
.artist-social-links .wp-block-social-link-label {
    display: none !important;
}

/* Screen reader text - accessibility */
.artist-social-links .screen-reader-text,
.spotlight-artist-page .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border-width: 0 !important;
}

/* Contact Info */
.artist-contact {
    margin-top: 0;
}

.artist-contact p {
    margin: 0.25rem 0;
}

/* ====================================
   NEW SINGLE PROMOTION SECTION
   ==================================== */
.new-single-promo {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    margin-bottom: 0;
    background: #e8f0f4;
    border-top: 1px solid var(--color-section-border);
    border-bottom: 1px solid var(--color-section-border);
    padding: 2rem 1rem 3rem;
}

.new-single-content {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
}

.new-single-grid {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 0;
    align-items: start;
    margin-top: 0;
}

.new-single-left {
    position: relative;
}

.new-single-video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 100%;
    display: block;
}

.new-single-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    border: none;
    border-radius: 12px;
    display: block;
}

.new-single-right {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 2rem 2rem 3rem;
    border-radius: 0 12px 12px 0;
    margin-left: -12px;
}

.single-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    margin-top: 0;
}

.single-description {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.single-links {
    margin: 0 0 1.5rem 0;
}

.single-links p {
    margin: 0.25rem 0;
}

.single-availability {
    color: var(--color-muted);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Responsive styles for new single section */
@media (max-width: 768px) {
    .new-single-promo {
        padding: 2rem 1.25rem;
        border-top: none;
    }

    .new-single-content {
        max-width: 100%;
    }

    .new-single-grid {
        grid-template-columns: 1fr;
        gap: 0;
        display: flex;
        flex-direction: column;
    }

    .new-single-left {
        order: 1;
        width: 100%;
        max-width: 100%;
    }

    .new-single-video-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

    .new-single-right {
        order: 2;
        padding: 2rem;
        margin-left: 0;
        border-radius: 0 0 12px 12px;
        text-align: center;
    }
    
    .single-title {
        font-size: 1.5rem;
    }
    
}

@media (max-width: 480px) {
    .new-single-promo {
        padding: 2rem 1rem;
    }
    
    .new-single-left {
        width: 100%;
        max-width: 100%;
    }

    .new-single-video-container {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .new-single-right {
        padding: 1.5rem 1rem;
    }
    
    .single-title {
        font-size: 1.25rem;
    }
}

/* ====================================
   BIO SECTION
   ==================================== */
.bio {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: 0;
    margin-bottom: 4rem;
    background: var(--color-section-bg);
    border-top: 1px solid var(--color-section-border);
    border-bottom: 1px solid var(--color-section-border);
    padding: 2rem 1rem 3rem;
}

.bio-content {
    max-width: 950px;
    margin: 0 auto;
    position: relative;
}

.section-heading {
    text-align: center;
    margin-bottom: 2rem;
    margin-top: 0;
    color: var(--color-primary);
    position: relative;
    display: inline-block;
    width: 100%;
    padding-bottom: 0.25rem;
    /* Font size inherited from main_css/_typography.css h2/h3 styles */
}

.section-heading::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 2px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    background: var(--color-accent);
}

.bio-content p {
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.bio-intro::first-line {
    font-weight: 600;
    font-size: 1.05em;
}

.bio-image {
    float: right;
    width: 400px;
    height: auto;
    margin: 0 0 1.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    shape-outside: margin-box;
}

/* Featured Videos */
.artist-videos {
    margin: 3rem 0 10rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.video-container:hover {
    transform: scale(1.02);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

/* Promotional CTA */
.artist-promo-cta {
    background: var(--color-accent-light);
    padding: 2.5rem 1rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.artist-promo-cta h3 {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.artist-promo-cta p {
    max-width: 600px;
    margin: 1rem auto 1.5rem;
    line-height: 1.7;
}

.cta-button {
    display: inline-block;
    background: var(--color-accent);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #fff;
}

/* Spotlight Series Footer Note */
.spotlight-footer-note {
    text-align: center;
    margin: 3rem auto 2rem;
    max-width: 700px;
}

.spotlight-divider {
    border: none;
    height: 1px;
    background: var(--color-section-border);
    margin: 2rem auto 1.5rem;
    width: 60%;
}

.spotlight-footer-note p {
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* ====================================
   RESPONSIVE DESIGN
   ==================================== */

/* Tablet */
@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 3rem;
        display: flex;
        flex-direction: column;
    }

    .hero-left {
        order: 1;
    }

    .hero-right {
        order: 2;
        padding: 2rem;
        margin-left: 0;
        border-radius: 0 0 12px 12px;
        text-align: center;
    }

    .artist-social-links ul.wp-block-social-links {
        justify-content: center !important;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .artist-videos {
        text-align: center;
        margin: 0 0 4rem 0;
    }

    .artist-promo-cta h3,
    .artist-promo-cta p {
        text-align: center;
    }

    .bio {
        padding: 2rem 1.25rem;
        border-top: none;
    }

    .bio-content {
        max-width: 100%;
    }

    .section-heading {
        margin-bottom: 1.5rem;
    }

    .bio-image {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 1.5rem 0;
        display: block;
    }

    /* Font sizes inherited from main_css/_typography.css responsive styles */

    .artist-social-links ul.wp-block-social-links {
        gap: 1rem !important;
    }

    .artist-promo-cta {
        padding: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .spotlight-artist-page {
        padding: 1rem 0.5rem;
    }

    .hero {
        gap: 0;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .hero-right {
        padding: 1.5rem 1rem;
    }

    .hero-image {
        border-radius: 12px 12px 0 0;
    }

    .bio {
        padding: 2rem 1rem;
    }

    /* Font sizes inherited from main_css/_typography.css responsive styles */

    .artist-social-links ul.wp-block-social-links {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
        justify-content: center !important;
    }

    .artist-promo-cta {
        padding: 2rem 1rem;
    }

    .artist-promo-cta h3,
    .artist-promo-cta p {
        text-align: center;
    }

    .cta-button {
        width: 80%;
        max-width: 300px;
        padding: 1rem 1.5rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }
}

/* Make the WP Social Links circular background red for Apple */
.wp-social-link-apple .wp-block-social-link-anchor {
    background-color: #FA233B !important; /* red circle */
    border-radius: 50% !important;        /* keep it a circle */
    box-shadow: none !important;          /* kill the gray halo if any */
    color: #fff !important;               /* if any icon uses currentColor */
  }
  
  /* Ensure the SVG shows cleanly inside */
  .wp-social-link-apple .wp-block-social-link-anchor svg {
    display: block;
  }
  
  /* Them Apples specific styling - box shadow on hero image */
  .them-apples-page .hero-image {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  }
  
  /* Wilmington Handbell Ensemble specific styling - name on new line */
  .wilmington-handbell-ensemble-page .page-title {
    text-align: center;
  }
  
  .wilmington-handbell-ensemble-page .page-title .spotlight-label {
    display: block;
    margin-bottom: 0.5rem;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  
  
  

