.blog-page {
    padding: 80px 0;
    background: #f8f8f8;
}
.blog-search-box {
    background: var(--white);
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .06);
    margin-bottom: 36px;
}
.blog-search-box form {
    display: flex;
    gap: 12px;
}
.blog-search-box input {
    width: 100%;
    min-height: 52px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0 18px;
    font-family: "Montserrat", sans-serif;
}
.blog-search-box button,
.blog-read-more,
.blog-pagination a,
.blog-pagination span {
    border: 0;
    background: var(--primary);
    color: var(--white);
    border-radius: 6px;
    min-height: 52px;
    padding: 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: .25s ease;
}
.blog-search-box button:hover,
.blog-read-more:hover,
.blog-pagination a:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-1px);
}
.blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--white);
    border: 1px solid #ececec;
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .05);
    transition: .25s ease;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .10);
}
.blog-card-image {
    display: block;
    position: relative;
    height: 245px;
    overflow: hidden;
    background: #ededed;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}
.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 14px;
    color: var(--grey);
    font-size: 13px;
}
.blog-meta i {
    color: var(--primary);
    margin-right: 5px;
}
.blog-card h2 {
    font-size: 22px;
    line-height: 1.35;
    margin-bottom: 14px;
}
.blog-card h2 a {
    color: var(--black);
}
.blog-card h2 a:hover {
    color: var(--primary);
}
.blog-card p {
    color: #555;
    font-size: 15px;
    margin-bottom: 22px;
}
.blog-card .blog-read-more {
    margin-top: auto;
    width: max-content;
    min-height: 44px;
    padding: 0 20px;
}
.blog-empty {
    background: var(--white);
    border-radius: 10px;
    padding: 55px 25px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .05);
}
.blog-empty i {
    color: var(--primary);
    font-size: 42px;
    margin-bottom: 15px;
}
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
}
.blog-pagination a,
.blog-pagination span {
    min-width: 44px;
    min-height: 44px;
    padding: 0 14px;
}
.blog-pagination span {
    background: var(--black);
}
.blog-detail-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 85px 0 55px;
}
.blog-detail-hero:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.35));
}
.blog-detail-hero .container {
    position: relative;
    z-index: 1;
}
.blog-detail-hero h1 {
    max-width: 950px;
    color: var(--white);
    font-size: 48px;
    line-height: 1.15;
    margin: 12px 0 16px;
}
.blog-detail-hero .blog-meta {
    color: rgba(255,255,255,.88);
    margin: 0;
}
.blog-detail-hero .blog-label {
    color: var(--white);
    background: var(--primary);
    border-radius: 50px;
    display: inline-block;
    padding: 7px 16px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .4px;
}
.blog-detail-page {
    padding: 70px 0;
    background: #f8f8f8;
}
.blog-article,
.blog-sidebar-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 12px 35px rgba(0,0,0,.06);
}
.blog-article {
    padding: 36px;
}
.blog-article .featured-image {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px;
}
.blog-article .lead-copy {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.8;
    border-left: 4px solid var(--primary);
    padding-left: 18px;
    margin-bottom: 28px;
}
.blog-content {
    color: #333;
    overflow-wrap: anywhere;
}
.blog-content :is(h1,h2,h3,h4,h5,h6) {
    margin: 30px 0 14px;
    color: var(--black);
}
.blog-content h2 { font-size: 30px; }
.blog-content h3 { font-size: 25px; }
.blog-content p { margin-bottom: 18px; }
.blog-content ul,
.blog-content ol {
    margin: 0 0 20px 22px;
}
.blog-content ul { list-style: disc; }
.blog-content ol { list-style: decimal; }
.blog-content li {
    list-style: inherit;
    margin-bottom: 8px;
    line-height: 1.7;
}
.blog-content img {
    height: auto;
    border-radius: 8px;
    margin: 18px 0;
}
.blog-content blockquote {
    border-left: 4px solid var(--primary);
    background: #fff4f4;
    padding: 18px 22px;
    margin: 25px 0;
}
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.blog-content th,
.blog-content td {
    border: 1px solid #ddd;
    padding: 10px;
}
.blog-sidebar-card {
    padding: 25px;
    margin-bottom: 22px;
}
.blog-sidebar-card h3 {
    font-size: 24px;
    padding-bottom: 13px;
    margin-bottom: 18px;
    border-bottom: 2px solid #ededed;
    position: relative;
}
.blog-sidebar-card h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 65px;
    height: 2px;
    background: var(--primary);
}
.recent-blog {
    display: flex;
    gap: 13px;
    padding: 13px 0;
    border-bottom: 1px solid #ececec;
}
.recent-blog:last-child { border-bottom: 0; }
.recent-blog img {
    width: 88px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
    background: #eee;
}
.recent-blog h4 {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 7px;
}
.recent-blog h4 a { color: var(--black); }
.recent-blog h4 a:hover { color: var(--primary); }
.recent-blog span {
    color: var(--grey);
    font-size: 12px;
}
@media (max-width: 991px) {
    .blog-detail-hero h1 { font-size: 38px; }
    .blog-sidebar { margin-top: 28px; }
}
@media (max-width: 767px) {
    .blog-page, .blog-detail-page { padding: 45px 0; }
    .blog-search-box form { flex-direction: column; }
    .blog-search-box button { width: 100%; }
    .blog-card-image { height: 220px; }
    .blog-detail-hero { min-height: 340px; padding: 70px 0 35px; }
    .blog-detail-hero h1 { font-size: 31px; }
    .blog-article { padding: 22px 18px; }
    .blog-article .lead-copy { font-size: 16px; }
}
