/* ── Prev / Next arrows ──────────────────────────────────────────── */
.go_to_prev,
.go_to_next {
    float: left;
    width: 40px;
    height: 40px;
    top: calc(50% - 20px);
    position: fixed;
    opacity: 0.7;
    cursor: pointer;
    z-index: 9999;
    display: block;
    background: url('../../images/arrow.png') no-repeat center center / cover;
}
.go_to_prev:hover,
.go_to_next:hover { opacity: 1; }
.go_to_next { right: 20px; transform: rotate(90deg); }
.go_to_prev { left: 20px;  transform: rotate(-90deg); }

/* ── Monthly Archives block ──────────────────────────────────────── */
.bccmsblog-archives-block {
    margin-bottom: 30px;
}
.bccmsblog-archives-title {
    font-weight: 700;
    margin-bottom: 12px;
}
.bccmsblog-archives-list {
    column-count: 2;
    column-gap: 20px;
}
.bccmsblog-archives-list li {
    padding: 3px 0;
    break-inside: avoid;
}
.bccmsblog-archives-list a {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    gap: 6px;
}
.bccmsblog-archives-list a:hover { color: #000; text-decoration: underline; }
.bccmsblog-archives-list li.active a { font-weight: 700; color: #000; }
.bccmsblog-count { color: #999; font-size: 0.8rem; flex-shrink: 0; }

.bccmsblog-month-pages {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}
.bccmsblog-month-pages li { padding: 4px 0; }
.bccmsblog-month-pages a { font-size: 0.9rem; color: #444; text-decoration: none; }
.bccmsblog-month-pages a:hover { text-decoration: underline; }
.bccmsblog-no-results { font-size: 0.85rem; color: #888; font-style: italic; margin-top: 8px; }

/* ── Archive results page ─────────────────────────────────────────── */
.bccmsblog-archive-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 4px 0;
}
.bccmsblog-archive-date {
    white-space: nowrap;
    flex-shrink: 0;
    width: 100px;
}

/* ── Right-column Archive widget ──────────────────────────────────── */
.bccmsblog-archive-widget {
    margin-bottom: 24px;
}
.bccmsblog-archive-widget .block-title {
    font-weight: 700;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e0e0e0;
}
.bccmsblog-archive-list li {
    padding: 4px 0;
    border-bottom: 1px dotted #eee;
}
.bccmsblog-archive-list li:last-child { border-bottom: none; }
.bccmsblog-archive-list a {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    gap: 6px;
}
.bccmsblog-archive-list a:hover { color: #000; text-decoration: underline; }
.bccmsblog-archive-count { color: #999; font-size: 0.8rem; flex-shrink: 0; }

/* ── "Other pages" compact list (thumbnail + date + title) ───────────
   Shared by the bottom wrapper and the right/left column widget —
   follows whichever position the archives widget is configured to. */
.bccmsblog-other-pages {
    margin-top: 16px;
    margin-bottom: 24px;
}
.bccmsblog-other-pages-title {
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-bottom: 12px;
}
.bccmsblog-other-pages-list li {
    padding: 14px 0;
}
.bccmsblog-other-pages-list li.active .bccmsblog-other-title { text-decoration: underline; }
.bccmsblog-other-link {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}
.bccmsblog-other-link:hover .bccmsblog-other-title { text-decoration: underline; }
.bccmsblog-other-thumb {
    flex-shrink: 0;
    width: 70px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #eaeaea;
    display: block;
}
.bccmsblog-other-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.bccmsblog-other-thumb-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: #e0e0e0;
}
.bccmsblog-other-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding-top: 2px;
}
.bccmsblog-other-date {
    font-size: 0.78rem;
    color: #8a8a8a;
}
.bccmsblog-other-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #222;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
