/* Artist Sub Page Styles */

.artist-sub-page .artist-content {
    margin: 0 auto;
    padding: 0 1.25rem;
}

.artist-sub-page .artist-header {
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.artist-text-grid {
    display: grid;
    gap: 4rem;
    align-items: start;
}

.artist-sub-page .artist-image {
    margin-bottom: 0;
}

.artist-sub-page .artist-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.artist-sub-page .artist-title {
    font-size: 2.5rem;
    margin: 0;
    color: #000;
}

.artist-sub-page .parent-artist {
    margin-top: 1rem;
    font-size: 1.1rem;
}

.artist-sub-page .parent-artist a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.artist-sub-page .parent-artist a:hover {
    color: #000;
}

.artist-sub-page .parent-artist a::before {
    content: '←';
    margin-right: 0.5rem;
}

.artist-sub-page .artist-text {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: left;
}

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

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

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

.artist-sub-page .artist-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-sub-page .artist-text a:hover {
    opacity: 0.7;
}

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

/* Contact Links */
.artist-sub-page .eoc-contact-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
}

.artist-sub-page .eoc-contact-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
}

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

/* Dark Theme Contact Links */
.dark-theme .artist-sub-page .eoc-contact-link {
    color: #ffffff;
}

.dark-theme .artist-sub-page .eoc-contact-link::after {
    background-color: #ffffff;
}

.dark-theme .artist-sub-page .eoc-contact-link:hover {
    opacity: 0.7;
}

.dark-theme .artist-sub-page .eoc-contact-link:hover::after {
    width: 100%;
}

/* Light Theme Contact Links */
.light-theme .artist-sub-page .eoc-contact-link {
    color: #333333;
}

.light-theme .artist-sub-page .eoc-contact-link::after {
    background-color: #333333;
}

.light-theme .artist-sub-page .eoc-contact-link:hover {
    opacity: 0.7;
}

.light-theme .artist-sub-page .eoc-contact-link:hover::after {
    width: 100%;
}

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

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

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

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

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

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

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

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

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

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

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

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

.artist-sub-page .read-more {
    display: inline-block;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.artist-sub-page .read-more:hover {
    opacity: 0.7;
}

.artist-sub-post-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .artist-text-grid {
        gap: 2rem;
    }
    
    .artist-sub-page .artist-posts h2 {
        font-size: 1.75rem;
    }
    
    .artist-sub-page .artist-title {
        font-size: 2rem;
    }
}

/* Artist Sub Footer Styles */
.artist-sub-footer {
    padding: 2rem 0;
    margin-top: 2rem;
}

.artist-sub-footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: grid;
    gap: 1.5rem;
    justify-items: center;
}

/* Contact Links */
.artist-sub-footer .eoc-contact-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 0 auto;
}

.artist-sub-footer .eoc-contact-links a,
.artist-sub-footer .eoc-contact-links a.eoc-contact-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 1rem;
    position: relative;
    color: #333333;
}

.artist-sub-footer .eoc-contact-links a::after,
.artist-sub-footer .eoc-contact-links a.eoc-contact-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    transition: width 0.3s ease;
    transform-origin: left;
    background-color: #333333;
}

.artist-sub-footer .eoc-contact-links a:hover,
.artist-sub-footer .eoc-contact-links a.eoc-contact-link:hover {
    opacity: 0.7;
}

.artist-sub-footer .footer-copyright,
.artist-sub-footer .site-info {
    max-width: 800px;
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.4;
}

.artist-sub-footer .footer-copyright p,
.artist-sub-footer .site-info p {
    margin: 0;
}

/* Light Theme Footer */
.light-theme.artist-sub-footer {
    background-color: #ffffff;
    color: #333333;
}

.light-theme.artist-sub-footer a,
.light-theme.artist-sub-footer a:visited,
.light-theme.artist-sub-footer a:hover,
.light-theme.artist-sub-footer a:active {
    color: #333333;
}

.light-theme.artist-sub-footer .footer-copyright,
.light-theme.artist-sub-footer .site-info {
    color: #666666;
}

/* Light Theme Contact Links */
.light-theme.artist-sub-footer .eoc-contact-links a,
.light-theme.artist-sub-footer .eoc-contact-links a:visited,
.light-theme.artist-sub-footer .eoc-contact-links a:hover,
.light-theme.artist-sub-footer .eoc-contact-links a:active,
.light-theme.artist-sub-footer .eoc-contact-links a:focus,
.light-theme.artist-sub-footer .eoc-contact-links a.eoc-contact-link,
.light-theme.artist-sub-footer .eoc-contact-links a.eoc-contact-link:visited,
.light-theme.artist-sub-footer .eoc-contact-links a.eoc-contact-link:hover,
.light-theme.artist-sub-footer .eoc-contact-links a.eoc-contact-link:active,
.light-theme.artist-sub-footer .eoc-contact-links a.eoc-contact-link:focus {
    color: #333333 !important;
}

.light-theme.artist-sub-footer .eoc-contact-links a::after,
.light-theme.artist-sub-footer .eoc-contact-links a.eoc-contact-link::after {
    background-color: #333333;
}

/* Dark Theme Footer */
.dark-theme.artist-sub-footer {
    background-color: #1a1a1a;
    color: #ffffff;
}

.dark-theme.artist-sub-footer a,
.dark-theme.artist-sub-footer a:visited,
.dark-theme.artist-sub-footer a:hover,
.dark-theme.artist-sub-footer a:active {
    color: #ffffff;
}

.dark-theme.artist-sub-footer .footer-copyright,
.dark-theme.artist-sub-footer .site-info {
    color: #ffffff;
}

/* Dark Theme Contact Links */
.dark-theme.artist-sub-footer .eoc-contact-links a,
.dark-theme.artist-sub-footer .eoc-contact-links a:visited,
.dark-theme.artist-sub-footer .eoc-contact-links a:hover,
.dark-theme.artist-sub-footer .eoc-contact-links a:active,
.dark-theme.artist-sub-footer .eoc-contact-links a:focus,
.dark-theme.artist-sub-footer .eoc-contact-links a.eoc-contact-link,
.dark-theme.artist-sub-footer .eoc-contact-links a.eoc-contact-link:visited,
.dark-theme.artist-sub-footer .eoc-contact-links a.eoc-contact-link:hover,
.dark-theme.artist-sub-footer .eoc-contact-links a.eoc-contact-link:active,
.dark-theme.artist-sub-footer .eoc-contact-links a.eoc-contact-link:focus {
    color: #ffffff !important;
}

.dark-theme.artist-sub-footer .eoc-contact-links a::after,
.dark-theme.artist-sub-footer .eoc-contact-links a.eoc-contact-link::after {
    background-color: #ffffff;
} 