/* =========================================================
   SMK MODULARS - BLOG PAGE CSS
   Primary Color: #006766
========================================================= */


/* =========================================================
   BLOG SECTION
========================================================= */

.blog-section {
    padding: 75px 0 85px;
    background: #ffffff;
}


/* =========================================================
   BLOG SECTION TITLE
========================================================= */

.blog-section-title {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 50px;
}

.blog-subtitle {
    display: inline-block;
    color: #006766;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.blog-section-title h2 {
    color: #006766;
    font-size: 42px;
    line-height: 1.25;
    font-weight: 600;
    margin: 0 0 15px;
}

.blog-section-title p {
    color: #666666;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 auto;
}


/* =========================================================
   BLOG CARD
========================================================= */

.blog-card {
    height: 100%;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 103, 102, 0.25);
    box-shadow: 0 12px 35px rgba(0, 103, 102, 0.12);
}


/* =========================================================
   BLOG IMAGE
========================================================= */

.blog-card-image {
    width: 100%;
    height: auto;
    overflow: hidden;
    background: #f5f5f5;
}

.blog-card-image a {
    display: block;
    width: 100%;
}

.blog-card-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}


/* =========================================================
   BLOG CONTENT
========================================================= */

.blog-card-content {
    padding: 25px 25px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}


/* =========================================================
   BLOG CATEGORY
========================================================= */

.blog-category {
    display: inline-block;
    color: #006766;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 10px;
}


/* =========================================================
   BLOG TITLE
========================================================= */

.blog-card h2 {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 600;
    margin: 0 0 13px;
}

.blog-card h2 a {
    color: #222222;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card h2 a:hover {
    color: #006766;
}


/* =========================================================
   BLOG DESCRIPTION
========================================================= */

.blog-card p {
    color: #666666;
    font-size: 15px;
    line-height: 1.7;
    margin: 0 0 17px;
}


/* =========================================================
   BLOG META
========================================================= */

.blog-meta {
    color: #888888;
    font-size: 13px;
    line-height: 1.5;
    margin-top: auto;
    margin-bottom: 16px;
}

.blog-meta i {
    color: #006766;
    margin-right: 5px;
}


/* =========================================================
   READ MORE
========================================================= */

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #006766;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-read-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.blog-read-more:hover {
    color: #004d4c;
}

.blog-read-more:hover i {
    transform: translateX(5px);
}


/* =========================================================
   PAGE BANNER - BLOG PAGE
   Only blog-specific adjustments
========================================================= */

.product-banner-part h1 {
    font-weight: 600;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media only screen and (max-width: 991px) {

    .blog-section {
        padding: 60px 0 70px;
    }

    .blog-section-title {
        margin-bottom: 40px;
    }

    .blog-section-title h2 {
        font-size: 36px;
    }

    .blog-card-image {
        height: auto;
    }

    .blog-card h2 {
        font-size: 20px;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media only screen and (max-width: 767px) {

    .blog-section {
        padding: 45px 0 55px;
    }

    .blog-section-title {
        margin-bottom: 32px;
        padding: 0 10px;
    }

    .blog-subtitle {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .blog-section-title h2 {
        font-size: 30px;
        margin-bottom: 12px;
    }

    .blog-section-title p {
        font-size: 15px;
        line-height: 1.6;
    }

    .blog-card-image {
        height: auto;
    }

    .blog-card-content {
        padding: 22px 20px 25px;
    }

    .blog-card h2 {
        font-size: 20px;
    }

    .blog-card p {
        font-size: 14px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media only screen and (max-width: 480px) {

    .blog-section-title h2 {
        font-size: 27px;
    }

    .blog-card-image {
        height: auto;
    }

    .blog-card-content {
        padding: 20px;
    }

}










/* =========================================================
   SINGLE BLOG PAGE
========================================================= */

.single-blog-section {
    padding: 70px 0 80px;
    background: #ffffff;
}

.single-blog {
    max-width: 100%;
}

.single-blog-category {
    display: inline-block;
    color: #006766;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.single-blog h1 {
    color: #222222;
    font-size: 44px;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 18px;
}

.single-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    color: #777777;
    font-size: 14px;
    margin-bottom: 30px;
}

.single-blog-meta i {
    color: #006766;
    margin-right: 6px;
}

.single-blog-featured-image {
    width: 100%;
    margin-bottom: 35px;
    overflow: hidden;
    border-radius: 8px;
}

.single-blog-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-blog-content {
    color: #444444;
    font-size: 17px;
    line-height: 1.85;
}

.single-blog-content p {
    margin-bottom: 20px;
}

.single-blog-content strong {
    color: #333333;
    font-weight: 600;
}

.single-blog-content h2 {
    color: #006766;
    font-size: 30px;
    line-height: 1.35;
    font-weight: 600;
    margin: 42px 0 18px;
}

.single-blog-content h3 {
    color: #333333;
    font-size: 23px;
    line-height: 1.4;
    font-weight: 600;
    margin: 30px 0 12px;
}

.single-blog-content ul {
    margin: 0 0 25px;
    padding-left: 25px;
}

.single-blog-content ul li {
    margin-bottom: 9px;
    padding-left: 5px;
}

.single-blog-content ul li::marker {
    color: #006766;
}


/* =========================================================
   BLOG CTA
========================================================= */

.blog-cta {
    margin-top: 45px;
    padding: 35px;
    background: #f2f8f7;
    border-left: 5px solid #006766;
    border-radius: 6px;
}

.blog-cta h2 {
    color: #006766;
    font-size: 28px;
    line-height: 1.4;
    margin: 0 0 15px;
}

.blog-cta p {
    margin-bottom: 15px;
}

.blog-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #006766;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    margin: 8px 0 15px;
    transition: all 0.3s ease;
}

.blog-cta-button:hover {
    background: #004d4c;
    color: #ffffff !important;
}

.blog-contact-details p {
    margin: 6px 0;
}

.blog-contact-details a {
    color: #006766;
    text-decoration: none;
}

.blog-contact-details a:hover {
    text-decoration: underline;
}


/* =========================================================
   BLOG SIDEBAR
========================================================= */

.blog-sidebar {
    position: sticky;
    top: 30px;
}

.blog-sidebar-box {
    border: 1px solid #e5e5e5;
    padding: 25px;
    margin-bottom: 25px;
    background: #ffffff;
    border-radius: 6px;
}

.blog-sidebar-box h3 {
    color: #006766;
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e5e5;
}

.blog-sidebar-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar-box ul li {
    border-bottom: 1px solid #eeeeee;
    padding: 12px 0;
}

.blog-sidebar-box ul li:last-child {
    border-bottom: none;
}

.blog-sidebar-box ul li a {
    color: #444444;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.blog-sidebar-box ul li a:hover {
    color: #006766;
}

.blog-sidebar-contact {
    background: #f2f8f7;
    border-color: #d9e9e8;
}

.blog-sidebar-contact p {
    color: #666666;
    font-size: 15px;
    line-height: 1.7;
}

.sidebar-contact-button {
    display: inline-block;
    background: #006766;
    color: #ffffff !important;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.sidebar-contact-button:hover {
    background: #004d4c;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media only screen and (max-width: 991px) {

    .single-blog-section {
        padding: 55px 0 65px;
    }

    .single-blog h1 {
        font-size: 38px;
    }

    .single-blog-content {
        font-size: 16px;
    }

    .blog-sidebar {
        position: static;
        margin-top: 45px;
    }

}


/* =========================================================
   RESPONSIVE - MOBILE
========================================================= */

@media only screen and (max-width: 767px) {

    .single-blog-section {
        padding: 40px 0 50px;
    }

    .single-blog h1 {
        font-size: 30px;
        line-height: 1.3;
    }

    .single-blog-category {
        font-size: 12px;
    }

    .single-blog-meta {
        gap: 12px;
        font-size: 13px;
    }

    .single-blog-content {
        font-size: 16px;
        line-height: 1.75;
    }

    .single-blog-content h2 {
        font-size: 25px;
        margin-top: 35px;
    }

    .single-blog-content h3 {
        font-size: 21px;
    }

    .blog-cta {
        padding: 25px 20px;
    }

    .blog-cta h2 {
        font-size: 24px;
    }

    .blog-sidebar-box {
        padding: 20px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media only screen and (max-width: 480px) {

    .single-blog h1 {
        font-size: 27px;
    }

    .single-blog-featured-image {
        border-radius: 5px;
    }

    .single-blog-content h2 {
        font-size: 23px;
    }

}