
/* =========================================
   CURA BLOG FOUR - RESPONSIVE STYLING
   Simple design matching the existing blogs
========================================= */

:root {
    --cura-blue: #123f91;
    --cura-red: #d71920;
    --text-color: #333333;
    --muted-color: #666666;
    --border-color: #e5eaf0;
    --footer-bg: #f1f6fd;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    color: var(--text-color);
    font-family: "Inter", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* BLOG TITLE */

.new-blog-section {
    padding: 38px 0 25px;
}

.new-blog-title {
    max-width: 1050px;
    margin: 0 auto;
    text-align: center;
    color: var(--cura-blue);
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 700;
    line-height: 1.35;
}

/* BANNER IMAGE */

.new-blog-banner {
    width: 100%;
    padding: 0 20px;
}

.new-blog-banner .container {
    max-width: 1392px;
}

.new-blog-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: cover;
    object-position: center;
    border-radius: 4px;
    margin: 0 auto;
}

/* ARTICLE */

.new-blog-article {
    padding: 35px 0 55px;
}

.new-blog-content {
    max-width: 900px;
    margin: 0 auto;
}

.new-blog-content h2 {
    margin: 32px 0 15px;
    color: var(--cura-blue);
    font-size: 25px;
    font-weight: 700;
    line-height: 1.4;
}

.new-blog-content h2:first-child {
    margin-top: 0;
}

.new-blog-content p {
    margin: 0 0 20px;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.85;
}

.new-blog-content strong {
    font-weight: 700;
}

/* DISCLAIMER */

.new-blog-note {
    margin: 28px 0;
    padding: 18px 20px;
    background: #f7f8fa;
    border-left: 4px solid var(--cura-blue);
    color: #555555;
    font-size: 14px;
    line-height: 1.8;
}

/* LINKS */

.new-blog-link,
.new-blog-contact a {
    color: var(--cura-blue);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.new-blog-link:hover,
.new-blog-contact a:hover {
    text-decoration: underline;
}

/* HIGHLIGHT */

.new-blog-highlight {
    color: var(--cura-blue) !important;
    font-size: 19px !important;
    font-weight: 700;
}

/* CONTACT SECTION */

.new-blog-contact {
    margin-top: 35px;
    padding: 24px;
    background: #f1f6fd;
    border: 1px solid #dce5f0;
    border-radius: 5px;
}

.new-blog-contact h2 {
    margin: 0 0 18px;
    font-size: 24px;
}

.new-blog-contact p {
    margin-bottom: 10px;
}

/* PAGINATION */

.new-blog-pagination {
    margin: 30px 0 20px;
}

.new-blog-pagination .pagination {
    gap: 0;
    flex-wrap: wrap;
}

.new-blog-pagination .page-link {
    min-width: 42px;
    padding: 10px 13px;
    color: var(--cura-blue);
    background: #ffffff;
    border: 1px solid #dee2e6;
    text-align: center;
    text-decoration: none;
}

.new-blog-pagination .page-item.active .page-link {
    color: #ffffff;
    background: #0d6efd;
    border-color: #0d6efd;
}

.new-blog-pagination .page-item.disabled .page-link {
    color: #999999;
    background: #eeeeee;
}

.new-blog-pagination .page-link:hover {
    background: #edf3ff;
}

.new-blog-pagination .page-item.active .page-link:hover {
    background: #0d6efd;
}

/* FOOTER */

.new-blog-footer {
    width: 100%;
    padding: 24px 15px;
    background: #f5f5f5;
    border-top: 1px solid #eeeeee;
    text-align: center;
}

.new-blog-footer p {
    margin: 0;
    color: var(--muted-color);
    font-size: 14px;
    line-height: 1.6;
}

/* TABLET */

@media (max-width: 991px) {
    .new-blog-title {
        font-size: 34px;
    }

    .new-blog-image {
        height: 350px;
    }

    .new-blog-content {
        padding: 0 15px;
    }
}

/* MOBILE */

@media (max-width: 767px) {
    .new-blog-section {
        padding: 25px 0 20px;
    }

    .new-blog-title {
        padding: 0 18px;
        font-size: 27px;
        line-height: 1.35;
    }

    .new-blog-banner {
        padding: 0 15px;
    }

    .new-blog-image {
        height: auto;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        border-radius: 4px;
    }

    .new-blog-article {
        padding: 28px 0 40px;
    }

    .new-blog-content {
        padding: 0 18px;
    }

    .new-blog-content h2 {
        margin-top: 28px;
        margin-bottom: 12px;
        font-size: 22px;
        line-height: 1.4;
    }

    .new-blog-content p {
        margin-bottom: 18px;
        font-size: 15px;
        line-height: 1.8;
    }

    .new-blog-note {
        padding: 15px;
        font-size: 13px;
    }

    .new-blog-contact {
        padding: 20px 16px;
    }

    .new-blog-contact h2 {
        font-size: 21px;
    }

    .new-blog-highlight {
        font-size: 17px !important;
    }

    .new-blog-footer {
        padding: 20px 12px;
    }

    .new-blog-footer p {
        font-size: 12px;
    }
}

/* SMALL MOBILE */

@media (max-width: 380px) {
    .new-blog-title {
        font-size: 24px;
    }

    .new-blog-content {
        padding: 0 15px;
    }

    .new-blog-content h2 {
        font-size: 20px;
    }

    .new-blog-content p {
        font-size: 14px;
    }
}

/* SUBTLE ANIMATION */

@media (prefers-reduced-motion: no-preference) {
    .new-blog-title {
        animation: blogFadeIn 0.5s ease-out both;
    }

    .new-blog-image {
        animation: blogFadeIn 0.7s ease-out both;
    }

    @keyframes blogFadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* IMAGES AND LINKS */

img {
    max-width: 100%;
}

a {
    -webkit-tap-highlight-color: transparent;
}
