/* --------------------------------------------------
   Fioretti 카테고리 전용 스타일
   (style.css에서 분리됨)
-------------------------------------------------- */

/* 1. Fioretti 카테고리 특별 스타일 */
.category-fioretti .entry-content {
    background-color: #fffbf2; /* Fioretti를 위한 특별한 배경색 */
    border: 1px solid #f2e8d5;
}

/* 2. Fioretti 모달 네비게이션 */
.fioretti-nav-trigger {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(139, 69, 19, 0.8);
    color: white;
    border: none;
    padding: 15px 10px;
    border-radius: 8px;
    cursor: pointer;
    z-index: 1000;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s;
}

.fioretti-nav-trigger:hover {
    background-color: rgba(139, 69, 19, 1);
}

.fioretti-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1001;
    display: none;
}

#fioretti-modal {
    position: fixed;
    left: -400px; /* 초기 위치 (화면 밖) */
    top: 0;
    width: 350px;
    height: 100%;
    background-color: #fdfaf2;
    box-shadow: 4px 0 15px rgba(0,0,0,0.2);
    z-index: 1002;
    transition: left 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
}

#fioretti-modal.open {
    left: 0;
}

.fioretti-modal-content {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

.fioretti-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #8B4513;
}

.fioretti-modal-title {
    margin-top: 0;
    color: var(--color-primary);
    font-weight: 500;
    text-align: center;
    margin-bottom: 20px;
}

.fioretti-search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.fioretti-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fioretti-list-item {
    margin-bottom: 5px;
}

.fioretti-link {
    display: block;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.2s, color 0.2s;
}

.fioretti-link:hover {
    background-color: #f2e8d5;
    color: var(--color-primary);
}
