/* artist.php page styles */

.js-artist-subtitle { font-size: 1.1rem; color: #4a5d52; margin: 0.25rem 0 0 0; font-style: italic; font-family: Georgia, serif; line-height: 1.4; }
nav.navbar .nav-link, nav.navbar a.nav-link,
nav.navbar.bg-light .nav-link, nav.navbar.bg-light a.nav-link {
    color: #fff !important; font-size: 0.9rem !important;
    letter-spacing: 0.06em; padding: 0.5rem 0.5rem !important;
    transition: color 0.2s; font-weight: 600;
}

/* ─── Artist page layout ─────────────────────────────────────────── */
.js-artist-page { width: 100%; padding: 0 1rem; }
.js-artist-inner { max-width: 960px; margin: 0 auto; padding: 1.5rem 0 2rem; }

/* ─── Artist name heading ────────────────────────────────────────── */
.js-artist-header { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0 1.2rem 0; }
.js-artist-name {
    font-family: Georgia, serif; font-size: 2rem; font-weight: 700;
    color: #1b5e20; margin: 0; padding-left: 0.75rem;
    border-left: 4px solid #4caf50;
}

/* ─── Tab navigation ─────────────────────────────────────────────── */
#tabs { margin-bottom: 0.4rem; }
.tabs-list {
    display: flex !important; gap: 0; border-bottom: 2px solid #e0e0e0;
    padding: 0; margin: 0; list-style: none;
}
.tab {
    padding: 0.6rem 1.5rem; cursor: pointer; font-size: 0.95rem;
    font-weight: 600; color: #666;
    border: none !important; border-bottom: 3px solid transparent !important;
    background: none !important; border-radius: 0 !important;
    margin-bottom: -2px; transition: color 0.2s, border-color 0.2s;
}
.tab:hover { color: #2e7d32; }
.tab.active, .tab[style*="bold"] {
    color: #1b5e20 !important; border-bottom: 3px solid #4caf50 !important;
}

/* ─── About section ──────────────────────────────────────────────── */
.tabs-about {
    display: grid !important;
    grid-template-columns: 280px 1fr !important;
    grid-template-rows: auto 1fr !important;
    gap: 1.5rem !important;
    margin-top: 1rem;
    max-width: 100% !important;
    width: 100% !important;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.07);
    padding: 1.25rem;
    overflow: hidden;
}
.tabs-about-imagediv {
    grid-area: 1 / 1 / 2 / 2 !important;
    align-self: start;
}
.tabs-about-imagediv img {
    width: 100%; max-width: 280px; border-radius: 8px;
    border: 1px solid #e0e0e0; object-fit: cover;
}
.tabs-about-biodiv {
    grid-area: 1 / 2 / 3 / 3 !important;
    font-size: 0.92rem; line-height: 1.7; color: #333;
}
.tabs-about-bio {
    max-height: none;
}
.tabs-about-minidiv {
    grid-area: 2 / 1 / 3 / 2 !important;
    max-width: none !important;
    width: 100% !important;
}
.tabs-about-mini {
    background: #f7f9f7; border: 1px solid #e0e8e0;
    border-radius: 10px; padding: 1rem 1.25rem;
    font-size: 0.88rem; line-height: 1.8; color: #444;
}
.tabs-about-mini b {
    color: #1b5e20; font-weight: 600; margin-right: 0.3rem;
}
.tabs-about-mini a img {
    width: 32px; height: 32px; margin: 0.5rem 0.3rem 0 0;
    opacity: 0.7; transition: opacity 0.2s;
}
.tabs-about-mini a img:hover { opacity: 1; }
.tabs-about-twitterdiv {
    grid-area: 3 / 1 / 4 / -1 !important;
    display: none;
}

/* ─── Content areas ──────────────────────────────────────────────── */
.content {
    display: block !important;
    grid-template-columns: none !important;
    padding: 0.5rem 0;
    width: 100% !important;
    max-width: 100% !important;
}

/* ─── Credits section (card-based) ───────────────────────────────── */
.content-left {
    width: 100% !important;
}
.archive2 {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    width: 100% !important;
    align-items: start;
}
.archive2h-content {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.07);
    overflow: hidden;
    display: flex !important;
    flex-direction: row !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    width: 100% !important;
    box-sizing: border-box !important;
}
.archive2h-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    border-color: #2e7d32;
}
.archive2h-image {
    flex: 0 0 90px;
    overflow: hidden;
}
.archive2h-image img, .archive2h-img {
    width: 90px !important;
    height: 90px !important;
    max-width: 90px !important;
    object-fit: cover;
    border-radius: 0;
    display: block;
}
.archive2h-text {
    flex: 1;
    padding: 0.65rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.archive2h-text h5 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.15rem 0;
    line-height: 1.3;
    color: #111;
}
.archive2h-text h5 a {
    color: #2e7d32;
    text-decoration: none;
}
.archive2h-text h5 a:hover {
    text-decoration: underline;
}
.archive2h-text span {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.4;
}
.archive2h-text span b {
    color: #1b5e20;
    font-weight: 600;
    margin-right: 0.2rem;
}
.archive2h-break {
    display: none !important;
}

/* ─── Filter sections (Credits/Videos tabs) ──────────────────────── */
.filter-header, .filter-title, .filter-subheader {
    cursor: pointer; padding: 0.5rem 0;
    color: #1b5e20; font-weight: 600;
}

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .tabs-about { grid-template-columns: 1fr; }
    .tabs-about-imagediv { grid-row: auto; }
    .js-artist-name { font-size: 1.5rem; }
    .tab { padding: 0.5rem 1rem; font-size: 0.85rem; }
}

/* Credit card badge styles - matching artists2.php */
.js-card-badges { display: flex; flex-wrap: wrap; margin-top: 6px; }
.js-card-role-badges { margin-bottom: 2px; }
.archive2h-text .js-card-badges span.js-artist-badge { display: inline-block; padding: 2px 8px; border-radius: 12px; font-size: 0.7rem; font-weight: 600; margin: 2px 3px 2px 0; line-height: 1.6; }
.archive2h-text span.js-artist-badge-role { background: #5c7a6f; color: #ffffff; }
.archive2h-text span.js-artist-badge-genre { background: #1a3a5c; color: #bbdefb; }

/* Credits member sections */
.credits-member-section {
    margin-bottom: 2rem;
}
.credits-section-header {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2e7d32;
    margin: 0.5rem 0 0.75rem 0;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #2e7d32;
}

/* ─── Videos Section CSS ─── */
.js-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 0.5rem 2rem 0.5rem;
}
.js-section-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}
.js-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 0.25rem 0;
}
.js-section-line {
    height: 3px;
    background: linear-gradient(to right, transparent, #66bb6a, transparent);
    margin-top: 0.25rem;
}
.js-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    padding: 0 0.5rem;
}
.js-video-card {
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    position: relative;
}
.js-video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}
.js-card-thumb {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111;
}
.js-card-thumb img.placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.js-video-card:hover .js-card-thumb img.placeholder {
    transform: scale(1.05);
}
.js-play-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.35);
    opacity: 0; transition: opacity 0.2s;
    pointer-events: none;
}
.js-play-overlay span {
    font-size: 3rem; color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    transition: transform 0.2s;
}
.js-video-card:hover .js-play-overlay span {
    opacity: 1;
}
.js-video-card:hover .js-play-overlay {
    opacity: 1;
}
.js-card-info {
    padding: 0.75rem 0.85rem 0.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.js-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.2rem 0;
    line-height: 1.3;
}
.js-card-title a {
    color: #e0e0e0;
    text-decoration: none;
}
.js-card-title a:hover {
    color: #66bb6a;
}
.js-card-artist {
    font-size: 0.8rem;
    color: #aaa;
    margin: 0 0 0.4rem 0;
    line-height: 1.3;
}
.js-card-artist a {
    color: #aaa;
    text-decoration: none;
}

.js-card-meta {
    display: flex;
    align-items: left;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.35rem;
}
.js-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.4;
}
.js-badge-type {
    background: rgba(102,187,106,0.15);
    color: #66bb6a;
    border: 1px solid rgba(102,187,106,0.3);
}
.js-badge-vq {
    background: rgba(66,165,245,0.12);
    color: #42a5f5;
    border: 1px solid rgba(66,165,245,0.25);
    margin-right: 4px;
}
.js-badge-aq {
    background: rgba(255,183,77,0.12);
    color: #ffb74d;
    border: 1px solid rgba(255,183,77,0.25);
}

.js-video-card .js-card-meta {
    gap: 0.5rem;
}
.js-card-type-row {
    flex-shrink: 0;
}
.js-card-ratings-row {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
}
.js-broken-btn {
    position: absolute;
    bottom: 6px;
    right: 8px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.35);
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0;
}
.js-video-card:hover .js-broken-btn {
    opacity: 1;
}
.js-broken-btn:hover {
    background: rgba(244,67,54,0.15);
    border-color: #f44336;
    color: #f44336;
}

/* Filter bar */
.js-filter-bar { background: #1a1a1a; border-bottom: 2px solid #333; padding: 0; margin-bottom: 1rem; }
.js-filter-inner { max-width: 1400px; margin: 0 auto; padding: 10px 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#videos-content .js-filter-inner,
.content .js-filter-inner { justify-content: flex-start; }
.js-filter-group { display: flex; align-items: center; gap: 4px; }
.js-filter-group label { font-size: 0.75rem; font-weight: 600; color: #aaa; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }
.js-filter-select { padding: 6px 10px; border: 1px solid #444; border-radius: 6px; background: #2a2a2a; color: #e0e0e0; font-size: 0.8rem; cursor: pointer; outline: none; transition: border-color 0.2s; }
.js-filter-select:hover { border-color: #66bb6a; }
.js-filter-select:focus { border-color: #66bb6a; box-shadow: 0 0 0 2px rgba(102,187,106,0.2); }
.js-filter-bar form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; width: 100%; }

@media (max-width: 768px) {
    .js-video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}