/* ── Blog Listing Styles ── */
.blog-row {
    --bs-gutter-x: 2rem;
    margin-bottom: -40px;
}
.blog-col {
    margin-bottom: 40px;
    display: flex;
}
.blog-box {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    transform: none !important;
    transition: none !important;
    padding: 0 !important;
    width: 100%;
    cursor: pointer;
}
.blog-box:hover {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}
.blog-box .blog-image {
    overflow: hidden;
    border-radius: 12px;
    height: 220px;
    margin-bottom: 16px;
}
.blog-box .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: opacity 0.2s ease;
}
.blog-box:hover .blog-image img {
    transform: none !important;
    opacity: 0.9;
}
.blog-content {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-content .blog-author-date {
    color: #94a3b8;
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}
.blog-content h5 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 700;
    line-height: 26px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}
.blog-box:hover .blog-content h5 {
    color: #f59635;
}
.blog-content p {
    color: #64748b;
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── Expanding Circle to Pill Continue Reading button ── */
.blog-read-more {
    display: inline-flex;
    align-items: center;
    position: relative;
    height: 40px;
    padding-left: 13px;
    padding-right: 22px;
    margin-top: auto;
    text-decoration: none;
    cursor: pointer;
    width: max-content;
}

/* The circle border that expands */
.blog-read-more .cr-circle {
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    border: 1px solid #f59635;
    border-radius: 40px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    z-index: 0;
}

/* On hover, circle expands to full width to become a pill */
.blog-box:hover .blog-read-more .cr-circle {
    width: 100%;
}

/* Arrow icon */
.blog-read-more .cr-arrow {
    position: relative;
    z-index: 1;
    width: 14px;
    height: 14px;
    color: #f59635;
    transition: transform 0.4s ease;
}

/* Arrow slides slightly right on hover */
.blog-box:hover .blog-read-more .cr-arrow {
    transform: translateX(4px);
}

/* Label text */
.blog-read-more .cr-label {
    position: relative;
    z-index: 1;
    color: #f59635;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-left: 20px; /* Spacing between arrow and text */
}

/* ── Load More Button ── */
.load-more-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    width: 100%;
}

.btn-load-more {
    background-color: #f59635;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 36px;
    border-radius: 6px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(245, 150, 53, 0.3);
}

.btn-load-more:hover {
    background-color: #e08424;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(245, 150, 53, 0.4);
    transform: translateY(-2px);
}

.btn-load-more:disabled, .btn-load-more.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Blog category tabs */
.blog-category-tabs-section {
    border-bottom: 1px solid #E5E5E5;
}
.blog-category-tabs-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 20px;
}
.blog-category-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    scroll-behavior: smooth;
    flex: 1 1 auto;
    min-width: 0;
    scrollbar-width: none;
}
.blog-category-tabs::-webkit-scrollbar {
    display: none;
}
.blog-category-tab {
    background: none;
    border: none;
    padding: 0 0 16px 0;
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #565656;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.blog-category-tab:hover {
    color: #f59635;
}
.blog-category-tab.active {
    color: #f59635;
    font-weight: 700;
    border-color: #f59635;
}

/* Left/right scroll arrows for the tab bar */
.blog-tabs-arrow {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
    border: 1px solid #f59635;
    border-radius: 50%;
    background: #fff;
    color: #f59635;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.blog-tabs-arrow svg {
    width: 14px;
    height: 14px;
    pointer-events: none;
}
.blog-tabs-arrow:hover {
    background: #f59635;
    color: #fff;
}
.blog-tabs-arrow.disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
