/**
 * Sanctuary API Plugin Styles
 */

/* キャスト一覧 */
.sanctuary-casts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* キャストカード */
.sanctuary-cast-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.sanctuary-cast-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.sanctuary-cast-thumbnail {
    position: relative;
    overflow: hidden;
}

.sanctuary-cast-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.sanctuary-cast-card:hover .sanctuary-cast-thumbnail img {
    transform: scale(1.05);
}

.sanctuary-cast-info {
    padding: 15px;
}

.sanctuary-cast-name {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: bold;
}

.sanctuary-cast-name a {
    color: #333;
    text-decoration: none;
}

.sanctuary-cast-name a:hover {
    color: #e91e63;
}

.sanctuary-cast-age {
    font-size: 14px;
    color: #666;
    font-weight: normal;
}

.sanctuary-cast-size {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.sanctuary-cast-work {
    margin: 10px 0 0 0;
    padding: 5px 10px;
    background-color: #e91e63;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    display: inline-block;
}

/* キャストプロフィール */
.sanctuary-cast-profile {
    max-width: 1000px;
    margin: 0 auto;
}

.sanctuary-cast-profile-header {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.sanctuary-cast-profile-thumbnail {
    flex: 0 0 300px;
}

.sanctuary-cast-profile-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.sanctuary-cast-profile-basic {
    flex: 1;
}

.sanctuary-cast-profile-basic h1 {
    margin: 0 0 20px 0;
    font-size: 32px;
}

.sanctuary-cast-profile-specs {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
    margin: 0;
}

.sanctuary-cast-profile-specs dt {
    font-weight: bold;
    color: #666;
}

.sanctuary-cast-profile-specs dd {
    margin: 0;
}

.sanctuary-cast-profile-content {
    line-height: 1.8;
}

/* ニュース一覧 */
.sanctuary-news-list {
    margin: 20px 0;
}

.sanctuary-news-item {
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.sanctuary-news-item:last-child {
    border-bottom: none;
}

.sanctuary-news-item h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.sanctuary-news-item h3 a {
    color: #333;
    text-decoration: none;
}

.sanctuary-news-item h3 a:hover {
    color: #e91e63;
}

.sanctuary-news-date {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #999;
}

.sanctuary-news-excerpt {
    color: #666;
    line-height: 1.6;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .sanctuary-casts-list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .sanctuary-cast-profile-header {
        flex-direction: column;
    }
    
    .sanctuary-cast-profile-thumbnail {
        flex: 1;
    }
}
