/* ============================================================
   Actress Plugin Styles - v2.0
   ============================================================ */

/* アルファベットフィルター */
.actress-alpha-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    padding: 0 15px;
}

.actress-alpha-btn {
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

.actress-alpha-btn img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.actress-alpha-btn:hover img {
    transform: scale(1.05);
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.actress-alpha-btn.active img {
    transform: scale(1.1);
    box-shadow: 0 3px 6px rgba(0,0,0,0.25);
    border: 2px solid #fff;
}

.actress-alpha-btn.all img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

/* タイプフィルター */
.actress-type-filter { margin: 25px 0; }

.actress-type-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.actress-type-btn {
    display: inline-block;
    padding: 6px 12px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 16px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.actress-type-btn:hover {
    background: #e9ecef;
    color: #333;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.actress-type-btn.active {
    background: #007cba;
    color: #fff;
    border-color: #007cba;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,124,186,0.25);
}

.actress-type-btn.all {
    background: #28a745;
    color: #fff;
    border-color: #28a745;
    font-weight: bold;
    padding: 6px 16px;
}

.actress-type-btn.all:hover {
    background: #218838;
    color: #fff;
    border-color: #218838;
}

.actress-type-btn.all.active {
    background: #1e7e34;
    border-color: #1e7e34;
}

.type-count {
    font-size: 11px;
    opacity: 0.8;
    margin-left: 4px;
}

/* 女優名フィルター */
.actress-name-filter { margin: 25px 0; }

.actress-name-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 20px;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
}

.actress-name-btn {
    display: inline-block;
    padding: 4px 8px;
    background: #f0f8ff;
    color: #333;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid #cce7ff;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
}

.actress-name-btn:hover {
    background: #e0f3ff;
    color: #333;
    text-decoration: none;
    transform: translateY(-1px);
}

.actress-name-btn.active {
    background: #0066cc;
    color: #fff;
    border-color: #0066cc;
}

/* カードレイアウト（PC版） */
.actress-card-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
    box-sizing: border-box;
}

.actress-card-container .actress-col-3 {
    width: 33.333%;
    padding: 0 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.actress-card-container .actress-col-4 {
    width: 25%;
    padding: 0 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.actress-card-container .actress-col-2 {
    width: 50%;
    padding: 0 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.actress-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.actress-thumb {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%;
    overflow: hidden;
    background: #f5f5f5;
}

.actress-thumb img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.actress-content {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.actress-title {
    margin: 0 0 0.5em 0;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
}

.actress-title a { color: #333; text-decoration: none; }

.actress-jp-name {
    color: #666;
    font-size: 14px;
    margin: 0 0 0.5em 0;
    line-height: 1.4;
}

.actress-excerpt {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: normal;
    word-wrap: break-word;
    white-space: normal;
}

.actress-excerpt img { display: none !important; }

.actress-excerpt *, .actress-excerpt p, .actress-excerpt div,
.actress-excerpt br, .actress-excerpt span {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

/* カードレイアウト（モバイル版） */
.actress-mobile-container {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -8px;
    box-sizing: border-box;
}

.actress-mobile-col-2 {
    width: 50%;
    padding: 0 8px;
    margin-bottom: 16px;
    box-sizing: border-box;
}

.actress-mobile-card {
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    background-color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.actress-mobile-thumb {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.actress-mobile-thumb img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.actress-mobile-content {
    padding: 10px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.actress-mobile-title {
    margin: 0 0 0.5em 0;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.3;
}

.actress-mobile-title a { color: #333; text-decoration: none; }

.actress-mobile-jp-name {
    color: #666;
    font-size: 11px;
    margin: 0 0 0.5em 0;
    line-height: 1.4;
}

.actress-mobile-excerpt {
    color: #666;
    font-size: 11px;
    line-height: 1.4;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.actress-mobile-excerpt img { display: none !important; }

.actress-mobile-excerpt *, .actress-mobile-excerpt p, .actress-mobile-excerpt div,
.actress-mobile-excerpt br, .actress-mobile-excerpt span {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

/* ページネーション */
.actress-pagination {
    text-align: center;
    margin: 30px 0;
    width: 100%;
}

.actress-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
}

.actress-pagination .current {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

.no-results { text-align: center; color: #666; }

/* レスポンシブ */
@media (max-width: 1024px) {
    .actress-card-container .actress-col-4,
    .actress-card-container .actress-col-3 { width: 50%; }
}

@media (max-width: 768px) {
    .actress-alpha-filter { gap: 6px; }
    .actress-alpha-btn img,
    .actress-alpha-btn.all img { width: 30px; height: 30px; }

    .actress-type-buttons { gap: 6px; }
    .actress-type-btn { padding: 5px 10px; font-size: 12px; }
    .actress-type-btn.all { padding: 5px 12px; }

    .actress-card-container .actress-col-4,
    .actress-card-container .actress-col-3,
    .actress-card-container .actress-col-2 { width: 50%; }

    .actress-thumb { padding-bottom: 85%; }
    .actress-content { padding: 12px; }
    .actress-title { font-size: 14px; }
    .actress-jp-name { font-size: 12px; }
    .actress-excerpt { font-size: 12px; }
}