/*
Theme Name: BlankSlate Child
Template: blankslate
*/

/* ==================================== */
/* 1. プロフィールセクションのスタイル */
/* ==================================== */

.actress-profile {
    margin-bottom: 30px;
}

/* プロフィール詳細（画像と情報の横並び） */
.profile-details-wrapper {
    display: flex;
    gap: 20px;
    align-items: flex-start; /* 上揃え */
}

.profile-image-col {
    /* 画像の最大幅を固定 */
    flex: 0 0 200px;
}

.profile-image {
    max-width: 100%;
    height: auto;
}

.profile-info-col {
    /* 残りのスペースを占有 */
    flex-grow: 1;
}

/* ==================================== */
/* 2. 作品一覧セクションのスタイル */
/* ==================================== */

.work-list-section {
    margin-top: 30px;
}

/* 🔴 グリッドレイアウトの設定 */
.work-thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px; 
    margin-top: 15px;
}

.work-item {
    /* グリッドアイテム内の要素 */
    text-align: left;
}

.work-thumbnail-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 🔴 作品タイトル（2行省略）のCSS設定 */
.work-item .work-title {
    /* PHPのインラインスタイルから移行 */
    margin-top: 5px; 
    font-weight: bold;
    font-size: 14px; 
    
    /* 複数行省略のコアロジック */
    overflow: hidden; 
    text-overflow: ellipsis; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; /* 🔴 2行で固定し、省略する */
    -webkit-box-orient: vertical;
    line-height: 1.4;
    max-height: calc(1.4em * 2); /* 2行分の高さを固定 */
}





/* ------------------------------
   Global Reset (現代向けミニマル版)
------------------------------ */
html {
    box-sizing: border-box;
    font-size: 16px;
    scroll-behavior: smooth;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
                 sans-serif;
    line-height: 1.6;
    color: #222;
    background: #fafafa;
}

/* ------------------------------
   Layout Helpers
------------------------------ */
.container {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 1rem 0;
}

/* ------------------------------
   Headings
------------------------------ */
h1, h2, h3, h4, h5, h6 {
    margin: 1.2em 0 0.6em;
    font-weight: 600;
    color: #111;
}

h1 { font-size: 1.8rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.4rem; }

/* ------------------------------
   Links
------------------------------ */
a {
    color: #0066cc;
    text-decoration: none;
    transition: opacity .2s ease;
}

a:hover {
    opacity: 0.7;
}

/* ------------------------------
   Images & Videos
------------------------------ */
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ------------------------------
   Buttons
------------------------------ */
button, .btn {
    display: inline-block;
    background: #0066cc;
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    border: none;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

button:hover, .btn:hover {
    background: #004999;
}

/* ------------------------------
   Card
------------------------------ */
.card {
    background: #fff;
    border-radius: 10px;
    padding: 1.2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* ------------------------------
   Header / Footer
------------------------------ */
header, footer {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

footer {
    margin-top: 2rem;
    border-top: 1px solid #eee;
    border-bottom: none;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

/* ------------------------------
   Navigation（最低限）
------------------------------ */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem;
}

nav a {
    font-weight: 500;
}

/* ------------------------------
   Form Inputs
------------------------------ */
input, select, textarea {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0,102,204,.15);
}