/*
Theme Name: My Artist Theme
Theme URI: http://underscores.me/
Author: Eiji Umeda
Description: Custom Artist Portfolio Theme
Version: 1.0.1
*/

/*--------------------------------------------------------------
# Generic (Reset & Base)
--------------------------------------------------------------*/
html {
    box-sizing: border-box;
    height: 100%;
}
*, *::before, *::after {
    box-sizing: inherit;
}
body {
    margin: 0;
    height: 100%;
    background: #fff;
    color: #404040;
    /* ベースフォント */
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}
#content {
    flex: 1; 
    width: 100%; 
}

h1, h2, h3, h4, h5, h6 {
    clear: both;
    margin: 0 0 1rem;
}
p {
    margin-bottom: 1.5em;
}
img {
    height: auto;
    max-width: 100%;
}
a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}
a:hover {
    opacity: 0.7;
}

/*--------------------------------------------------------------
# Components (Header, Footer, Buttons, Loading)
--------------------------------------------------------------*/

/* --- Global Header --- */
.site-header {
    padding: 20px 40px;
    position: relative; 
    z-index: 100;
    border-bottom: 1px solid #eee;
    background-color: #fff;
}
.header-inner {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* ★修正: サイトタイトルを細ゴシックに戻しました */
.site-title {
    font-family: "Helvetica Neue", "Helvetica", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif;
    font-weight: 200; /* 細く */
    font-size: 1.6rem;
    letter-spacing: 0.1em; /* 字間を広く */
    margin: 0;
    text-transform: uppercase; 
}
.site-title a {
    color: #333;
}

/* PC Menu */
#site-navigation-pc ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px; 
}
#site-navigation-pc a {
    color: #333;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}
#site-navigation-pc a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: #333;
    position: absolute;
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}
#site-navigation-pc a:hover::after {
    width: 100%;
}

/* Top Page Header Override */
.home .site-header {
    background: none; 
    border-bottom: none;
    position: absolute; 
    width: 100%;
}
.home .site-title a,
.home #site-navigation-pc a {
    color: #fff; 
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}
.home #site-navigation-pc a::after {
    background: #fff;
}

/* Force Text Color on Non-Home Pages */
body:not(.home) .site-header .site-title a,
body:not(.home) .site-header #site-navigation-pc a {
    color: #333;
    text-shadow: none;
}
body:not(.home) .site-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    position: relative;
}

/* Mobile Toggle (Hidden on PC) */
.menu-toggle {
    display: none; 
}
#mobile-overlay-navigation {
    display: none; 
}

/* --- Footer --- */
.site-footer {
    background-color: #2c2c2c;
    color: #fff;
    padding: 40px 0;
    font-size: 0.85rem;
    margin-top: 60px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}
.site-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.8rem;
}
.footer-social {
    margin-bottom: 20px;
}
.footer-social .social-link {
    color: #ccc;
    margin: 0 12px;
    font-size: 1.1rem;
}
.footer-social .social-link:hover {
    color: #fff;
    opacity: 1;
}
.footer-nav {
    margin-bottom: 25px;
}
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}
.footer-nav li {
    padding: 0 10px;
    border-right: 1px solid #444; 
}
.footer-nav li:last-child {
    border-right: none;
}
.footer-nav a {
    color: #ccc;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}
.footer-nav a:hover {
    color: #fff;
}

/* --- Buttons --- */
.btn, a.btn, button.btn {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    padding: 1rem 4rem;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    letter-spacing: 0.1em;
    color: #212529;
    border-radius: 0.5rem;
}

/* Border Button */
a.btn-border {
    margin-bottom: 12px;
    padding: 0;
    transition: all 0.3s;
    border-radius: 0;
}
a.btn-border span {
    position: relative;
    display: block;
    padding: 1rem 2rem; 
    color: #000;
    border: 2px solid #000;
    border-radius: 0.5rem;
    background: #fff;
    z-index: 2;
}
a.btn-border::before {
    position: absolute;
    bottom: -8px;
    left: 0;
    display: block;
    width: 100%;
    height: 14px;
    content: "";
    transition: all 0.3s;
    border: 2px solid #000;
    border-top: 1px solid #000;
    border-radius: 0 0 0.5rem 0.5rem;
    background-image: repeating-linear-gradient(-45deg, #000, #000 1px, transparent 2px, transparent 5px);
    background-size: 7px 7px;
    z-index: 1;
}
a.btn-border:hover {
    transform: translate(0, 3px); 
}
a.btn-border:hover::before {
    bottom: -5px;
}
a.btn-border:active {
    transform: translate(0, 7px);
}
a.btn-border:active::before {
    bottom: -1px;
}

/* Flat Effect Button (Search/Filter) */
.flat-effect-btn {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    position: relative;
    display: inline-block;
    padding: 0.85rem 3rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    letter-spacing: 0.1em;
    color: #fff;
    background: #000;
    border: none;
    appearance: none;
    overflow: hidden;
    z-index: 1; 
}
.flat-effect-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 500%;
    background: #00b7ee;
    transform: translateX(-98%) translateY(-25%) rotate(45deg);
    transition: transform 0.5s ease-in-out;
    pointer-events: none;
    z-index: -1; 
}
.flat-effect-btn:hover::before {
    transform: translateX(-9%) translateY(-25%) rotate(45deg);
}
.flat-effect-btn span {
    position: relative; 
    z-index: 2; 
    color: inherit;
}

/* Shop Button */
.shop-button-area {
    margin: 40px 0;
    text-align: center;
}
.btn-shop {
    display: inline-block;
    background-color: #333;
    color: #fff !important;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    letter-spacing: 0.05em;
}
.btn-shop i {
    margin-right: 10px;
}
.btn-shop:hover {
    background-color: #555;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    color: #fff !important;
}
.btn-shop:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* --- Pagination --- */
.pagination {
    margin: 60px 0;
    padding: 0;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
}
.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    background-color: #fff;
}
a.page-numbers:hover,
.page-numbers.current {
    background-color: #333;
    color: #fff;
    border-color: #333;
}
.page-numbers.dots {
    border: none;
    background: transparent;
}

/* --- Loading Animation --- */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loading-logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    color: #333;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}


/*--------------------------------------------------------------
# Pages & Templates
--------------------------------------------------------------*/

/* --- Top Page (Front Page) --- */
.hero-section {
    width: 100%;
    height: 100vh; 
    background-size: cover;
    background-position: center top; 
    background-color: #333; 
    display: flex;
    align-items: center;
    justify-content: center;
}
.artist-name {
    color: #fff;
    font-size: 3rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    letter-spacing: 0.2em;
}

/* Sections */
.section-container {
    max-width: 1000px;
    margin: 80px auto; 
    padding: 0 20px;
}
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    letter-spacing: 0.1em;
    font-weight: normal;
}

/* Profile Section */
.artist-profile-section {
    padding: 0;
    background-color: #f7f7f7;
    margin-top: 0;
}
.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}
.profile-content-wrap-simple {
    display: flex; 
    justify-content: center;
    align-items: flex-start; 
    max-width: 1000px; 
    margin: 0 auto;
    gap: 80px; 
    padding: 30px;
}
.profile-text-col-simple {
    flex-grow: 1; 
    max-width: 600px;
    text-align: left; 
}
.profile-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    letter-spacing: 0.1em;
}
.profile-text-content p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

/* Profile 3D Card */
.profile-card-col {
    flex: 0 0 auto; 
    text-align: center;
    padding-top: 20px;
}
.flip-card-container {
    width: 340px; 
    height: 220px; 
    perspective: 1000px;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}
.card-link-wrapper {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}
.card-link-wrapper:hover .flip-card-inner,
.flip-card-inner.auto-flip {
    transform: rotateY(180deg);
}
.flip-card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover; 
    background-position: center;
    border-radius: 5px;
    backface-visibility: hidden;
}
.flip-card-back {
    transform: rotateY(180deg);
}
.card-caption {
    font-size: 0.8rem;
    color: #888;
    margin-top: 15px;
    margin-bottom: 0;
    letter-spacing: 0.05em;
    font-weight: normal;
}


/* --- News Archive & Lists --- */
.news-archive-page {
    max-width: 900px;
    margin: 80px auto;
    padding: 0 40px;
}
.news-archive-page .archive-title {
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 0.2em;
    padding-bottom: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid #ddd;
}
.news-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.news-list li, .news-item {
    border-bottom: 1px dotted #ccc;
    padding: 15px 0;
}
.news-list li:last-child {
    border-bottom: none;
}
#news .news-list li .date {
    display: inline-block;
    min-width: 100px;
    color: #666;
    margin-right: 20px;
}
.news-link {
    display: flex;
    align-items: center;
    padding: 5px 0;
    text-decoration: none;
    color: #333;
}
.news-meta {
    display: flex;
    align-items: center;
    min-width: 180px;
    margin-right: 20px;
}
.news-date {
    color: #666;
    margin-right: 15px;
}
.news-category {
    background-color: #333;
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 2px;
}


/* --- Works Archive --- */
.archive-work-page {
    max-width: 900px; 
    margin: 80px auto; 
    padding: 0 40px;
}
.work-filter-area {
    padding-bottom: 0;
    border-bottom: none; 
    margin-bottom: 30px; 
    text-align: center; 
}
.work-filter-form {
    display: inline-flex; 
    gap: 15px;
    align-items: center;
    flex-wrap: wrap; 
}
.filter-select, .filter-search-input {
    padding: 10px 15px;
    border: 1px solid #ccc; 
    border-radius: 0; 
    background-color: #fff;
    font-size: 0.95rem; 
}
.filter-select {
    appearance: none; 
    padding-right: 30px;
    background-image: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23333" d="M6 9l4-4H2z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    cursor: pointer;
}
.filter-search-input {
    width: 200px;
    transition: border-color 0.3s;
}
.filter-search-input:focus {
    border-color: #000;
    outline: none;
}

.work-list-grid {
    display: block; 
    margin-top: 0;
}
.work-item {
    border-top: 1px solid #eee;
    overflow: hidden; 
}
.work-item:last-child {
    border-bottom: 1px solid #eee; 
}
.work-item a {
    display: block;
    color: #333;
    padding: 20px 0; 
    transition: background-color 0.3s;
}
.work-item a:hover {
    background-color: #f9f9f9; 
}
.work-meta {
    display: flex;
    flex-wrap: wrap; 
    align-items: center;
    margin: 0;
    line-height: 1.5;
    gap: 10px 20px;
}
.work-meta p, .work-meta div {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.work-title {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin: 0;
    flex-basis: 30%; 
    min-width: 150px;
}
.composer-name {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    flex-basis: 20%; 
    min-width: 100px;
}
.work-tags {
    font-size: 0.8rem;
    margin: 0 !important; 
    list-style: none !important;
    padding: 0 !important;
}
.work-tags .term-text {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 4px 6px;
    border-radius: 3px;
    margin-right: 5px;
}
.work-item a > div:empty,
.work-item a > p:empty {
    display: none;
}
.status-label {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 10px;
    vertical-align: middle;
    font-weight: normal;
}
.status-label.published {
    border: 1px solid #333;
    color: #333;
}
.status-label.unpublished {
    border: 1px solid #999;
    color: #999;
}


/* --- Concert Archive & List --- */
.concert-list-grid, .concert-grid {
    display: grid;
    gap: 40px;
    margin-top: 40px;
    grid-template-columns: repeat(3, 1fr);
}
.concert-item {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: none !important; 
}
.concert-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.concert-item a {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: #333;
    padding: 0 !important; 
    border: none;
}
.concert-thumb {
    width: 100%;
    aspect-ratio: 3 / 4; 
    overflow: hidden;
    background-color: #eee;
}
.concert-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.concert-item:hover .concert-thumb img {
    transform: scale(1.05);
}
.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.9rem;
    background-color: #f0f0f0;
}
.concert-info {
    padding: 20px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.concert-date, .concert-date-home {
    font-size: 0.9rem;
    font-weight: bold;
    color: #cc0000;
    margin-bottom: 8px;
    display: block;
}
.concert-title {
    font-size: 1.1rem;
    line-height: 1.4;
    margin: 0 0 10px 0;
    font-weight: bold;
}
.venue-name, .venue-home {
    font-size: 0.85rem;
    color: #666;
    margin-top: auto;
}


/* --- Single Pages (News, Work, Concert Detail) --- */
.site-main {
    max-width: 1020px;
    margin: 80px auto; 
    padding: 0 40px;
}
.single-news, .single-work, .single-concert {
    padding-top: 20px;
    padding: 0;
}
.entry-header {
    text-align: center;
    margin-bottom: 40px;
}
.single-work .entry-header, 
.single-concert .entry-header {
    text-align: left;
}
.entry-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-top: 0;
    line-height: 1.3;
}
.entry-meta {
    margin-bottom: 15px;
    color: #666;
    font-size: 0.9rem;
}
.entry-content {
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 50px;
}
.post-thumbnail {
    margin: 40px 0;
}
.work-meta-details, .concert-meta-details {
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 40px;
    line-height: 1.8;
}
.meta-label {
    font-weight: bold;
    color: #555;
    display: inline-block;
    width: 90px;
    vertical-align: top;
}
.work-meta-details p, .work-meta-details div,
.concert-meta-details p, .concert-meta-details div {
    margin: 0;
    padding: 10px 0;
    border-bottom: 1px dotted #f0f0f0;
}
.work-meta-details div:last-child,
.concert-meta-details div:last-child {
    border-bottom: none;
}
.concert-date-detail {
    font-weight: bold;
    color: #cc0000 !important;
}
.work-navigation {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 80px;
}
.work-caption {
    font-size: 13px;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}


/* --- Contact Form 7 --- */
.contact-page {
    max-width: 700px;
    margin: 80px auto;
    padding: 0;
}
.wpcf7 {
    width: 100%;
}
.wpcf7 p {
    margin-bottom: 20px;
}
.wpcf7 label {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
}
.wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
}
.wpcf7 input[type="submit"] {
    background: none;
    color: inherit;
    width: auto;
    padding: 0;
    margin: 0;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
}
.wpcf7 input.btn.btn-border {
    display: block;
    width: 200px;
    margin: 30px auto 0;
    padding: 10px 30px;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    color: #333;
    background-color: transparent;
    border: 2px solid #333;
    transition: all 0.3s ease;
}
.wpcf7 input.btn.btn-border:hover {
    color: #fff;
    background-color: #333;
}


/* ========================================= */
/* ★ Media Queries (Responsive) */
/* ========================================= */

/* Tablet & Small PC (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .section-container,
    .profile-container,
    .footer-container,
    .site-main {
        padding: 0 30px;
    }
    .site-header {
        padding: 20px;
    }
    #site-navigation-pc a {
        font-size: 0.9rem;
    }
    #site-navigation-pc ul {
        gap: 20px;
    }
    
    .concert-grid, .concert-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .work-filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-select, .filter-search-input, .flat-effect-btn {
        width: 100% !important;
        margin: 5px 0 !important;
    }
    
    .work-meta {
        flex-direction: column; 
        align-items: flex-start;
        gap: 5px;
    }
    .work-title, .composer-name {
        flex-basis: auto;
        min-width: 0;
        margin: 0 !important;
        width: 100%;
    }
    .status-label {
        margin: 0;
    }
}

/* Mobile (Max 768px) */
@media (max-width: 768px) {

    /* --- Mobile Header & Menu --- */
    #site-navigation-pc {
        display: none !important;
    }
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 32px;
        height: 32px;
        background: none;
        border: none;
        z-index: 110;
        cursor: pointer;
        padding: 0;
    }
    .menu-toggle .bar {
        width: 100%;
        height: 3px;
        background: #333;
        transition: .3s;
    }
    .home .menu-toggle .bar {
        background: #fff;
    }
    
    .menu-toggle.menu-open .bar-top { transform: translateY(9px) rotate(45deg); background: #333; }
    .menu-toggle.menu-open .bar-mid { opacity: 0; }
    .menu-toggle.menu-open .bar-bottom { transform: translateY(-9px) rotate(-45deg); background: #333; }

    #mobile-overlay-navigation {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(250, 250, 250, 0.97);
        backdrop-filter: blur(5px);
        z-index: 105;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
        padding-top: 80px;
        overflow-y: auto;
    }
    #mobile-overlay-navigation.menu-open {
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
    }
    body.scroll-lock {
        overflow: hidden;
    }

    #mobile-overlay-navigation ul {
        list-style: none !important;
        padding: 0 40px !important;
        margin: 0 !important;
        width: 100%;
    }
    #mobile-overlay-navigation li {
        display: block;
        padding: 0;
    }
    #mobile-overlay-navigation a {
        color: #333;
        font-size: 1.5rem;
        font-weight: 300;
        letter-spacing: 0.1em;
        padding: 15px 0;
        display: block;
        text-decoration: none;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }
    #mobile-overlay-navigation li:last-child a {
        border-bottom: none;
    }

    /* --- Mobile Profile --- */
    .profile-content-wrap-simple {
        flex-direction: column; 
        gap: 40px; 
        padding: 0 20px;
    }
    .profile-card-col {
        order: -1; 
        padding-top: 0;
        width: 100%;
        margin-top: 20px;
    }
    .flip-card-container {
        width: 280px;
        height: 181px; 
    }
    .profile-text-col-simple {
        max-width: 100%;
        text-align: center; 
    }
    .profile-text-content p {
        text-align: center; 
    }
    .card-caption {
        margin-top: 10px;
        margin-bottom: 20px; 
    }

    /* --- Mobile Lists --- */
    .site-main {
        margin-top: 40px;
    }
    .news-link {
        flex-direction: column;
        align-items: flex-start;
    }
    .news-meta {
        margin-bottom: 8px;
    }
    
    .work-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    .work-title, .composer-name, .work-tags {
        flex-basis: 100%; 
        margin: 5px 0 !important;
        width: 100%;
    }
    .work-title {
        font-size: 1.4rem;
        margin-top: 0 !important;
    }
    .composer-name {
        margin-bottom: 8px !important;
    }
    .work-tags.genre-tags {
        margin-left: 0; 
    }
    .status-label {
        margin: 0;
    }
    
    .work-filter-form {
        flex-direction: column;
        width: 100%;
    }
    .filter-select, .filter-search-input, .flat-effect-btn {
        width: 100% !important;
        margin: 5px 0;
        box-sizing: border-box;
    }
    
    .concert-list-grid, .concert-grid {
        grid-template-columns: 1fr;
    }
    
    /* Mobile Pagination */
    .page-numbers {
        min-width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}