/* ==========================================================================
   SM Softwares - Premium Blog Stylesheet
   Brand Colors: Deep Teal (#127399), Cyan (#25A4D7), Navy (#0d2b38), Mint (#eef8f8)
   ========================================================================== */

/* Layout & Container */
.layout-blog #layout-content {
    padding-top: 2.5rem !important;
    padding-bottom: 5rem !important;
    background-color: #f8fafc;
}

.blog-main-content {
    min-height: 400px;
}

.blog-sidebar {
    position: sticky;
    top: 95px;
    z-index: 10;
}

/* Category / Search Filter Banner */
.blog-filter-header {
    background: #ffffff;
    border: 1px solid rgba(18, 115, 153, 0.12);
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    box-shadow: 0 4px 16px rgba(18, 115, 153, 0.04);
}

.blog-filter-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #127399;
    background: #eef8f8;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 0.35rem;
}

.blog-filter-title {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0d2b38;
}

.btn-outline-theme {
    color: #127399;
    border: 1.5px solid #127399;
    background: transparent;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-outline-theme:hover {
    color: #ffffff;
    background: #127399;
    border-color: #127399;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(18, 115, 153, 0.2);
}

/* ==========================================================================
   Blog Post Cards
   ========================================================================== */
.card-post {
    border: 1px solid rgba(18, 115, 153, 0.12);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(18, 115, 153, 0.05);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-post:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(18, 115, 153, 0.14);
    border-color: rgba(37, 164, 215, 0.4);
}

.card-post .card-banner-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background-color: #eef8f8;
}

.card-post .card-banner {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-post:hover .card-banner {
    transform: scale(1.06);
}

.blog-cat-pill {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(18, 115, 153, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease;
}

.blog-cat-pill:hover {
    background: #0d2b38;
    color: #ffffff;
}

.blog-read-time {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(13, 43, 56, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

.card-post .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-post .post-date-meta {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0.5rem;
}

.card-post .post-date-meta i {
    color: #25a4d7;
}

.card-post .card-title {
    font-size: 1.22rem;
    font-weight: 700;
    line-height: 1.42;
    color: #0d2b38;
    margin: 0 0 0.75rem 0;
}

.card-post .card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.card-post:hover .card-title a {
    color: #127399;
}

.card-post .featured-text {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.62;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-post .card-footer {
    background: #ffffff;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.card-post .author-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
}

.card-post .author-badge img,
.card-post .author-badge .avatar-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eef8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #127399;
    font-size: 0.85rem;
}

.card-post .read-more-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #127399;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.25s ease;
}

.card-post:hover .read-more-link {
    gap: 8px;
    color: #25a4d7;
}

/* ==========================================================================
   Featured Hero Card (Top Post on Index)
   ========================================================================== */
.featured-hero-card {
    border: 1px solid rgba(18, 115, 153, 0.15);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(18, 115, 153, 0.08);
    overflow: hidden;
    transition: all 0.35s ease;
    margin-bottom: 2.25rem;
}

.featured-hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(18, 115, 153, 0.15);
    border-color: rgba(37, 164, 215, 0.45);
}

.featured-hero-banner-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 280px;
    background-color: #eef8f8;
    overflow: hidden;
}

.featured-hero-banner {
    width: 100%;
    height: 100%;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
}

.featured-hero-card:hover .featured-hero-banner {
    transform: scale(1.05);
}

.featured-hero-content {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.featured-spotlight-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    background: linear-gradient(135deg, #127399 0%, #25a4d7 100%);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.featured-hero-title {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.32;
    color: #0d2b38;
    margin-bottom: 0.85rem;
}

.featured-hero-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.featured-hero-card:hover .featured-hero-title a {
    color: #127399;
}

.featured-hero-desc {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   Blog Detail Page (post.htm)
   ========================================================================== */
.blog-breadcrumbs {
    margin-bottom: 1.5rem;
}

.blog-breadcrumbs .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.88rem;
    font-weight: 500;
}

.blog-breadcrumbs .breadcrumb-item a {
    color: #127399;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-breadcrumbs .breadcrumb-item a:hover {
    color: #25a4d7;
    text-decoration: underline;
}

.blog-breadcrumbs .breadcrumb-item.active {
    color: #64748b;
    max-width: 320px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-detail-card {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(18, 115, 153, 0.12);
    box-shadow: 0 8px 30px rgba(18, 115, 153, 0.06);
    overflow: hidden;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
}

.blog-post-header {
    margin-bottom: 2rem;
}

.blog-post-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1rem;
}

.blog-post-badges .cat-badge {
    background: #eef8f8;
    color: #127399;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-post-badges .cat-badge:hover {
    background: #127399;
    color: #ffffff;
}

.blog-post-title {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.28;
    color: #0d2b38;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.blog-post-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.blog-author-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.blog-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #127399 0%, #25a4d7 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(18, 115, 153, 0.2);
}

.blog-author-info .author-name {
    font-weight: 700;
    color: #0d2b38;
    font-size: 0.95rem;
    line-height: 1.2;
}

.blog-author-info .author-role {
    font-size: 0.8rem;
    color: #64748b;
}

.blog-post-info-items {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

.blog-post-info-items span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-post-info-items i {
    color: #25a4d7;
}

/* Banner on Detail Page */
.blog-detail-banner-container {
    width: 100%;
    margin: 1.75rem 0 2.25rem 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(18, 115, 153, 0.1);
    background: #eef8f8;
}

.blog-detail-banner-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* Article Typography */
.blog-post-body {
    font-size: 1.125rem;
    line-height: 1.9;
    color: #334155;
}

.blog-post-body p {
    margin-bottom: 1.6rem;
}

.blog-post-body h2 {
    font-size: 1.75rem;
    font-weight: 750;
    color: #0d2b38;
    margin-top: 2.75rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-left: 16px;
    border-left: 4px solid #127399;
    letter-spacing: -0.01em;
}

.blog-post-body h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #127399;
    margin-top: 2rem;
    margin-bottom: 0.85rem;
}

.blog-post-body h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0d2b38;
    margin-top: 1.5rem;
    margin-bottom: 0.65rem;
}

.blog-post-body blockquote {
    background: linear-gradient(135deg, rgba(238, 248, 248, 0.7) 0%, rgba(240, 247, 251, 0.7) 100%);
    border-left: 4px solid #127399;
    border-radius: 0 14px 14px 0;
    padding: 1.5rem 2rem;
    margin: 2.25rem 0;
    font-size: 1.15rem;
    font-style: italic;
    color: #0d2b38;
    position: relative;
}

.blog-post-body blockquote p:last-child {
    margin-bottom: 0;
}

.blog-post-body ul,
.blog-post-body ol {
    margin-bottom: 1.75rem;
    padding-left: 1.75rem;
}

.blog-post-body li {
    margin-bottom: 0.65rem;
    line-height: 1.75;
}

.blog-post-body code:not(pre code) {
    background: #eef8f8;
    color: #127399;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.9em;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.blog-post-body pre {
    background: #0d2b38;
    color: #e2e8f0;
    padding: 1.5rem;
    border-radius: 14px;
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.blog-post-body pre code {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.92rem;
    line-height: 1.6;
}

.blog-post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 2rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* In-Content Consultation Banner */
.blog-cta-box {
    background: linear-gradient(135deg, #0d2b38 0%, #127399 100%);
    border-radius: 18px;
    padding: 2.25rem 2.5rem;
    color: #ffffff;
    margin: 3rem 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(18, 115, 153, 0.2);
}

.blog-cta-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(37, 164, 215, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.blog-cta-box h3 {
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 750;
    margin-bottom: 0.65rem;
}

.blog-cta-box p {
    color: #e2e8f0;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    max-width: 600px;
}

.btn-cta-gold {
    background: linear-gradient(135deg, #25a4d7 0%, #127399 100%);
    color: #ffffff !important;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(37, 164, 215, 0.35);
}

.btn-cta-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 164, 215, 0.5);
    color: #ffffff !important;
}

/* Share & Engagement Section */
.blog-share-section {
    padding-top: 1.75rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.share-links-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.share-pill-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    text-decoration: none !important;
    cursor: pointer;
}

.share-pill-btn:hover {
    transform: translateY(-2px);
}

.share-pill-btn.share-linkedin {
    background: #e8f3fb;
    color: #0a66c2;
    border-color: #c9e1f5;
}
.share-pill-btn.share-linkedin:hover {
    background: #0a66c2;
    color: #ffffff;
    border-color: #0a66c2;
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.35);
}

.share-pill-btn.share-twitter {
    background: #f1f3f5;
    color: #0f1419;
    border-color: #d1d5db;
}
.share-pill-btn.share-twitter:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.share-pill-btn.share-facebook {
    background: #e8f0fe;
    color: #1877f2;
    border-color: #c8daf8;
}
.share-pill-btn.share-facebook:hover {
    background: #1877f2;
    color: #ffffff;
    border-color: #1877f2;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.35);
}

.share-pill-btn.share-whatsapp {
    background: #e7f7ed;
    color: #128c7e;
    border-color: #bbf0ce;
}
.share-pill-btn.share-whatsapp:hover {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
}

.share-pill-btn.share-copy {
    background: #e6f4f8;
    color: #127399;
    border-color: #bde2ed;
}
.share-pill-btn.share-copy:hover {
    background: #127399;
    color: #ffffff;
    border-color: #127399;
    box-shadow: 0 4px 12px rgba(18, 115, 153, 0.35);
}

/* Related Posts Section */
.related-posts-section {
    margin-top: 3.5rem;
}

.related-section-title {
    font-size: 1.55rem;
    font-weight: 750;
    color: #0d2b38;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   Sidebar Widgets (sidebar.htm)
   ========================================================================== */
.sidebar-widget {
    background: #ffffff;
    border: 1px solid rgba(18, 115, 153, 0.12);
    border-radius: 18px;
    padding: 1.75rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 4px 18px rgba(18, 115, 153, 0.04);
}

.sidebar-widget-title {
    font-size: 1.15rem;
    font-weight: 750;
    color: #0d2b38;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid #f1f5f9;
}

.sidebar-widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 36px;
    height: 2px;
    background: #127399;
    border-radius: 2px;
}

/* Search Widget */
.sidebar-search-box .input-group {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 50px;
    overflow: hidden;
    padding: 3px;
    transition: all 0.25s ease;
}

.sidebar-search-box .input-group:focus-within {
    border-color: #127399;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(18, 115, 153, 0.15);
}

.sidebar-search-box input {
    border: none;
    background: transparent;
    padding: 8px 16px;
    font-size: 0.92rem;
    color: #0d2b38;
    box-shadow: none !important;
}

.sidebar-search-box button {
    border: none;
    background: #127399;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.sidebar-search-box button:hover {
    background: #25a4d7;
}

/* Sidebar CTA Card */
.sidebar-cta-card {
    background: linear-gradient(135deg, #0d2b38 0%, #127399 100%);
    border-radius: 18px;
    padding: 1.75rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(18, 115, 153, 0.18);
    margin-bottom: 1.75rem;
}

.sidebar-cta-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(37, 164, 215, 0.35) 0%, transparent 70%);
    border-radius: 50%;
}

.sidebar-cta-card .cta-pill {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.sidebar-cta-card h4 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 750;
    line-height: 1.35;
    margin-bottom: 0.6rem;
}

.sidebar-cta-card p {
    color: #e2e8f0;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.sidebar-cta-card .btn-schedule-sidebar {
    background: #ffffff;
    color: #0d2b38;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 50px;
    padding: 9px 18px;
    display: block;
    text-align: center;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sidebar-cta-card .btn-schedule-sidebar:hover {
    background: #25a4d7;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 164, 215, 0.35);
}

/* Category List */
.sidebar-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-cat-item {
    margin-bottom: 6px;
}

.sidebar-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 10px;
    color: #475569;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-cat-link:hover,
.sidebar-cat-item.active .sidebar-cat-link {
    background: #eef8f8;
    color: #127399;
    font-weight: 600;
    padding-left: 16px;
}

.sidebar-cat-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.sidebar-cat-link:hover .sidebar-cat-count,
.sidebar-cat-item.active .sidebar-cat-count {
    background: #127399;
    color: #ffffff;
}

/* Recent Posts List */
.sidebar-recent-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-recent-item {
    display: flex;
    gap: 12px;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-recent-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-recent-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    background-color: #eef8f8;
}

.sidebar-recent-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sidebar-recent-title {
    font-size: 0.88rem;
    font-weight: 650;
    line-height: 1.35;
    color: #0d2b38;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.sidebar-recent-title:hover {
    color: #127399;
}

.sidebar-recent-date {
    font-size: 0.75rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* About Us Widget */
.sidebar-about-box {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.65;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.blog-pagination {
    margin-top: 3rem;
    display: flex !important;
    justify-content: center;
}

.blog-pagination .pagination {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination .page-item .page-link {
    border-radius: 10px;
    border: 1.5px solid #e2e8f0;
    color: #0d2b38;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 8px 16px;
    background: #ffffff;
    transition: all 0.25s ease;
    text-decoration: none;
}

.blog-pagination .page-item .page-link:hover {
    border-color: #127399;
    color: #127399;
    background: #eef8f8;
}

.blog-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #127399 0%, #25a4d7 100%);
    border-color: #127399;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(18, 115, 153, 0.25);
}

.blog-pagination .page-item.disabled .page-link {
    color: #cbd5e1;
    border-color: #f1f5f9;
    background: #f8fafc;
    cursor: not-allowed;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 991.98px) {
    .blog-post-title {
        font-size: 1.85rem;
    }
    
    .blog-detail-card {
        padding: 1.75rem 1.25rem;
    }
    
    .featured-hero-content {
        padding: 1.75rem 1.25rem;
    }
    
    .featured-hero-title {
        font-size: 1.35rem;
    }
    
    .blog-sidebar {
        margin-top: 2.5rem;
        position: static;
    }
}

@media (max-width: 576px) {
    .blog-post-title {
        font-size: 1.5rem;
    }
    
    .blog-post-meta-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .blog-cta-box {
        padding: 1.75rem 1.25rem;
    }
}
