/* =============================================
   Blog Page — Ubit Fashion Style
   ============================================= */

/* --- Page Banner --- */
.baudep-blog-banner {
    background-color: #f5f5f5;
    border-bottom: 1px solid #eaeaea;
    padding: 38px 20px 34px;
    text-align: center;
}

.baudep-blog-banner__inner {
    margin: 0 auto;
    max-width: 1200px;
}

.baudep-blog-banner__title {
    color: #333;
    font-family: var(--heading-font-family, Montserrat, sans-serif);
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 6px;
}

.baudep-blog-banner__breadcrumb {
    color: #888;
    font-size: 14px;
    margin: 0;
}

.baudep-blog-banner__breadcrumb a {
    color: #888;
    text-decoration: none;
}

.baudep-blog-banner__breadcrumb a:hover {
    color: #e91e8c;
}

.baudep-blog-banner__sep {
    margin: 0 6px;
    color: #e91e8c;
}

/* --- Blog Page Layout --- */
.baudep-blog-page {
    background: #fff;
    padding: 48px 0 64px;
}

.baudep-blog-page__layout {
    display: grid;
    gap: 50px;
    grid-template-columns: minmax(0, 1fr) 280px;
}

/* --- Blog Card (single post in list) --- */
.baudep-blog-card {
    margin-bottom: 48px;
}

.baudep-blog-card__img-link {
    display: block;
    overflow: hidden;
}

.baudep-blog-card__img {
    display: block;
    height: auto;
    transition: transform 0.4s ease;
    width: 100%;
}

.baudep-blog-card__img-link:hover .baudep-blog-card__img {
    transform: scale(1.03);
}

.baudep-blog-card__body {
    padding-top: 22px;
}

.baudep-blog-card__title {
    font-family: var(--heading-font-family, Montserrat, sans-serif);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 10px;
}

.baudep-blog-card__title a {
    color: #333;
    text-decoration: none;
}

.baudep-blog-card__title a:hover {
    color: #e91e8c;
}

.baudep-blog-card__meta {
    color: #999;
    font-size: 13px;
    line-height: 1.6;
    margin: 0 0 16px;
}

.baudep-blog-card__meta a {
    color: #999;
    text-decoration: none;
}

.baudep-blog-card__meta a:hover {
    color: #e91e8c;
}

.baudep-blog-card__sep {
    color: #ccc;
    margin: 0 6px;
}

.baudep-blog-card__excerpt {
    color: #666;
    font-size: 15px;
    line-height: 1.75;
    margin: 0 0 20px;
}

.baudep-blog-card__excerpt p {
    margin: 0;
}

.baudep-blog-card__readmore {
    background: linear-gradient(135deg, #e91e8c 0%, #f05fa0 100%);
    border: 0;
    border-radius: 3px;
    color: #fff;
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 10px 28px;
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.baudep-blog-card__readmore:hover,
.baudep-blog-card__readmore:focus {
    color: #fff;
    opacity: 0.85;
}

/* --- Sidebar --- */
.baudep-blog-page__sidebar {
    min-width: 0;
}

/* --- Search Widget --- */
.baudep-blog-widget {
    margin-bottom: 30px;
}

.baudep-blog-widget__search-form {
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    display: flex;
    overflow: hidden;
    padding: 0 4px 0 0;
}

.baudep-blog-widget__search-input {
    background: transparent;
    border: 0;
    color: #333;
    flex: 1;
    font-size: 14px;
    min-width: 0;
    outline: none;
    padding: 11px 16px;
}

.baudep-blog-widget__search-input::placeholder {
    color: #aaa;
}

.baudep-blog-widget__search-btn {
    align-items: center;
    background: transparent;
    border: 0;
    color: #888;
    cursor: pointer;
    display: inline-flex;
    flex-shrink: 0;
    justify-content: center;
    padding: 8px 10px;
    transition: color 0.2s ease;
}

.baudep-blog-widget__search-btn:hover {
    color: #e91e8c;
}

/* --- Widget Title --- */
.baudep-blog-widget__title {
    color: #e91e8c;
    font-family: var(--heading-font-family, Montserrat, sans-serif);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 18px;
}

/* --- Recent Posts Widget --- */
.baudep-blog-widget__recent {
    list-style: none;
    margin: 0;
    padding: 0;
}

.baudep-blog-widget__recent-item {
    margin-bottom: 18px;
}

.baudep-blog-widget__recent-item:last-child {
    margin-bottom: 0;
}

.baudep-blog-widget__recent-link {
    align-items: flex-start;
    display: flex;
    gap: 14px;
    text-decoration: none;
}

.baudep-blog-widget__recent-thumb {
    border-radius: 2px;
    flex-shrink: 0;
    height: 75px;
    object-fit: cover;
    width: 75px;
}

.baudep-blog-widget__recent-thumb--placeholder {
    background: linear-gradient(135deg, #eee 0%, #ddd 100%);
    display: block;
}

.baudep-blog-widget__recent-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.baudep-blog-widget__recent-title {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.baudep-blog-widget__recent-link:hover .baudep-blog-widget__recent-title {
    color: #e91e8c;
}

.baudep-blog-widget__recent-date {
    color: #e91e8c;
    font-size: 13px;
    font-style: italic;
}

/* --- Pagination --- */
.baudep-blog-page__pagination {
    margin-top: 12px;
}

.baudep-blog-page__pagination .page-numbers {
    align-items: center;
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.baudep-blog-page__pagination .page-numbers li a,
.baudep-blog-page__pagination .page-numbers li span {
    align-items: center;
    border: 1px solid #ddd;
    color: #555;
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    justify-content: center;
    min-height: 36px;
    min-width: 36px;
    padding: 0 8px;
    text-decoration: none;
}

.baudep-blog-page__pagination .page-numbers li span.current {
    background-color: #e91e8c;
    border-color: #e91e8c;
    color: #fff;
}

.baudep-blog-page__pagination .page-numbers li a:hover {
    border-color: #e91e8c;
    color: #e91e8c;
}

/* --- Responsive --- */
@media (max-width: 991px) {
    .baudep-blog-page__layout {
        grid-template-columns: 1fr;
    }

    .baudep-blog-page {
        padding: 32px 0 48px;
    }
}

@media (max-width: 767px) {
    .baudep-blog-banner {
        padding: 28px 16px 24px;
    }

    .baudep-blog-banner__title {
        font-size: 24px;
    }

    .baudep-blog-card__title {
        font-size: 18px;
    }

    .baudep-blog-card__readmore {
        padding: 8px 22px;
    }
}
