/* Artist About Page Styles */

.artist-about-page {
    min-height: calc(100vh - 200px); /* Account for header and footer */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    padding: 2rem 0;
    overflow-x: hidden;
}

.artist-about-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.25rem;
}


.artist-about-text-grid {
    display: flex;
    gap: 4rem;
    align-items: start;
    height: 100%;
    justify-content: center;
}

.artist-about-page .artist-about-image {
    margin-bottom: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artist-about-page .artist-about-image img {
    max-width: 100%;
    width: auto;
    height: 500px;
    object-fit: contain;
    border-radius: 4px;
}

.artist-about-page .artist-about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
    height: 100%;
    overflow-y: auto;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 600px;
    margin: 0 auto;
}

/* When no image is present */
.artist-about-text-grid:has(.artist-about-image:empty) {
    justify-content: center;
}

.artist-about-text-grid:has(.artist-about-image:empty) .artist-about-text {
    text-align: center;
    padding-right: 0;
}

/* Hide scrollbar but keep functionality */
.artist-about-page .artist-about-text::-webkit-scrollbar {
    width: 6px;
}

.artist-about-page .artist-about-text::-webkit-scrollbar-track {
    background: transparent;
}

.artist-about-page .artist-about-text::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.dark-theme.artist-about-page .artist-about-text::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
}

.artist-about-page .artist-about-text p {
    margin-bottom: 1.5rem;
}

.artist-about-page .artist-about-text h2,
.artist-about-page .artist-about-text h3,
.artist-about-page .artist-about-text h4 {
    margin: 2rem 0 1rem;
}

.artist-about-page .artist-about-text a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s ease;
    position: relative;
    display: inline-block;
}

.artist-about-page .artist-about-text a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #000;
    transition: width 0.3s ease;
    transform-origin: left;
}

.artist-about-page .artist-about-text a:hover {
    opacity: 0.7;
}

.artist-about-page .artist-about-text a:hover::after {
    width: 100%;
}

/* Artist About Posts Grid */
.artist-about-page .artist-about-posts {
    margin-top: 4rem;
}

.artist-about-page .artist-about-posts h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.artist-about-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.artist-about-post-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.artist-about-post-card:hover {
    transform: translateY(-5px);
}

.artist-about-post-thumbnail {
    position: relative;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    overflow: hidden;
}

.artist-about-post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artist-about-post-content {
    padding: 1.5rem;
}

.artist-about-post-title {
    font-size: 1.25rem;
    margin: 0 0 1rem;
}

.artist-about-post-title a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.artist-about-post-title a:hover {
    opacity: 0.7;
}

.artist-about-post-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #666;
}

/* Dark Theme Styles */
.dark-theme.artist-about-page {
    background-color: #1a1a1a;
    color: #ffffff;
}

.dark-theme.artist-about-page .artist-about-text {
    color: #ffffff;
}

.dark-theme.artist-about-page .artist-about-text a {
    color: #ffffff;
}

.dark-theme.artist-about-page .artist-about-text a::after {
    background-color: #ffffff;
}

.dark-theme.artist-about-page .artist-about-post-card {
    background: #2a2a2a;
}

.dark-theme.artist-about-page .artist-about-post-title a {
    color: #ffffff;
}

.dark-theme.artist-about-page .artist-about-post-excerpt {
    color: #ffffff;
}

/* Footer Styles */
.artist-about-footer {
    padding: 1rem 0;
}

.artist-about-footer .footer-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.artist-about-footer .eoc-contact-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.artist-about-footer .eoc-contact-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.artist-about-footer .eoc-contact-link:hover {
    opacity: 0.7;
}

.artist-about-footer .footer-copyright,
.artist-about-footer .site-info {
    font-size: 0.9rem;
    color: inherit;
}

.artist-about-footer .site-info a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.artist-about-footer .site-info a:hover {
    opacity: 0.7;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .artist-about-page .artist-about-header {
        height: auto;
        min-height: 500px;
    }

    .artist-about-text-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .artist-about-page .artist-about-image {
        height: 300px;
    }

    .artist-about-page .artist-about-posts h2 {
        font-size: 1.75rem;
    }

    .artist-about-page .artist-about-text {
        font-size: 1rem;
    }

    .artist-about-footer {
        padding: 0.75rem 0;
    }

    .artist-about-footer .eoc-contact-links {
        gap: 1rem;
    }
}

.artist-about-page .artist-about-text .eoc-contact-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-direction: row;
}

.artist-about-page .artist-about-text .eoc-contact-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
    position: relative;
    display: inline-block;
}

.artist-about-page .artist-about-text .eoc-contact-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
    transform-origin: left;
}

.artist-about-page .artist-about-text .eoc-contact-link:hover {
    opacity: 0.7;
}

.artist-about-page .artist-about-text .eoc-contact-link:hover::after {
    width: 100%;
} 