/* =========================================================
    Component: Sidebar Design
    File: assets/css/3_components/sidebar.css
========================================================= */

.p-featureSidebarSection {
    margin-bottom: 40px;
}

.p-featureSidebarSection__title {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #111;
}

.p-featureSidebarSection__date {
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

/* リスト全体の構造 */
.p-featureSidebarList {
    list-style: none;
    padding: 0;
    margin: 0;
}

.p-featureSidebarList__item {
    margin-bottom: 20px;
}

.p-featureSidebarList__link {
    display: flex;
    align-items: center; /* 垂直中央 */
    gap: 16px;
    text-decoration: none !important;
    color: inherit !important;
}

/* 画像エリア */
.p-featureSidebarList__img {
    position: relative;
    flex-shrink: 0;
    width: 100px; /* サイズは適宜調整 */
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    background: #f7f7f7;
}

.p-featureSidebarList__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ランキング数字バッジ */
.p-featureSidebarList__rank {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    background-color: var(--wan-orange);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* テキストエリア */
.p-featureSidebarList__body {
    flex-grow: 1;
}

.p-featureSidebarList__title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 8px 0;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 2行で省略 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* エリア表示 */
.p-featureSidebarList__area {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--wan-orange);
    font-size: 11px;
    font-weight: 700;
}

/* 📍アイコンは stay-card.css のものを流用します */