html {
    scroll-behavior: smooth !important;
}

/* Optional: If the scroll is too fast, this ensures the offset 
   is respected even if the JS fails to calculate it */
.entry-content h2, .entry-content h3 {
    scroll-margin-top: 96px; /* Adjust this to match your header height */
}
.custom-blog-v2 {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.8;
}

/* Hero Section */
.blog-v2-hero {
    background-color: #F0EAFF;
    background-image: url(/wp-content/uploads/2026/04/blog-banner-bg.png);
    padding: 75px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}

.blog-v2-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    max-width: 800px;
    margin: 0 auto 20px;
    color: #1a1a1a;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 320" xmlns="http://www.w3.org/2000/svg"><path fill="%23ffffff" d="M0,224L80,213.3C160,203,320,181,480,181.3C640,181,800,203,960,213.3C1120,224,1280,224,1360,224L1440,224L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"></path></svg>');
    background-size: cover;
}

/* Layout */
.blog-v2-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    padding: 50px 0;
}
.single-blog-thumbnail img{
    object-fit: fill;
}

/* Sidebar */
.blog-v2-sidebar {
    position: relative;
}

.sticky-toc {
    position: sticky;
    top: 100px;
}

.sticky-toc ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.sticky-toc ul li:last-child{
    margin-bottom: 40px;
}

.sticky-toc ul li a {
        text-decoration: none;
    color: #0D1B2A;
    display: block;
    padding: 0 0 0 10px;
    transition: color 0.3s;
    border-left: 2px solid #CCCCCC;
    font-family: Gilroy-Medium;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0%;
    opacity: 60%;
}

.sticky-toc ul li a:hover, .sticky-toc ul li a:focus, .sticky-toc ul li a.active {
    color: #0D1B2A;
    opacity: 100%;
    border-color: #1A5AFE;
}
.post-meta-v2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.post-meta-v2 span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Gilroy-Medium;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0%;
    color: #0D1B2A;
    opacity: 60%;
}

/* CTAs */
/* .blog-v2-ctas {
    margin-top: 60px;
} */

.cta-box {
    margin: 35px 0;
    padding: 50px;
    border-radius: 7px;
    text-align: center;
}

.cta-blue {
    background-color: #D2FFFF;
    background-image: url(/wp-content/uploads/2026/04/blog-blue-cta-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.cta-pink {
    background-color: #FFE2F1;
    background-image: url(/wp-content/uploads/2026/04/blog-pink-cta-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.cta-box h3 {
    font-family: Gilroy-SemiBold;
    font-weight: 400;
    font-size: 28px;
    line-height: 36px;
    letter-spacing: 0%;
    color: #0D1B2A;
    opacity: 80%;
}

.cta-box p {
    font-family: Gilroy-Medium;
    font-weight: 400;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0%;
    text-align: center;
    color: #0D1B2A;
    opacity: 60%;
    margin: 0 90px;
}

.cta-box a.btn {
    width: auto;
    height: 48px;
    border-radius: 7px;
    background: #1A5AFE;
    font-family: Gilroy-SemiBold;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: capitalize;
    color: #fff;
    padding: 0 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: fit-content;
    margin: 20px auto 0;
}

.btn-outline {
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid #5061FF;
    color: #5061FF;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
}
.sidebar-newsletter {
    padding: 20px;
    background: #12385F;
    border-radius: 10px;
    margin: 0 0 40px;
}

.sidebar-newsletter h5 {
    font-family: Gilroy-Medium;
    font-weight: 400;
    color: #fff;
    font-size: 16px;
    opacity: 70%;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
}

.sidebar-newsletter p {
    font-family: Gilroy-SemiBold;
    font-weight: 400;
    color: #fff;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0%;
    text-align: center;
}

.sidebar-newsletter span {
    display: block;
    font-family: Gilroy-Medium;
    font-weight: 400;
    color: #fff;
    font-size: 12px;
    line-height: 26px;
    letter-spacing: 0%;
    text-align: center;
    opacity: 80%;
}

.sidebar-newsletter span a {
    color: #fff;
    opacity: 80%;
    text-decoration: underline;
}
.sidebar-newsletter p.we-care-txt {
    display: none;
}

.sidebar-newsletter .signup-style input.wpcf7-form-control {
    height: 48px;
    border: none;
    border-radius: 7px;
    width: 100%;
    font-family: Gilroy-Medium;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0%;
}

.sidebar-newsletter .signup-style span.wpcf7-form-control-wrap {
    opacity: 1;
}

.sidebar-newsletter .signup-style input.wpcf7-form-control.wpcf7-submit {
    display: block;
    background: #1A5AFE;
}
.sidebar-newsletter .wpcf7-spinner {
    top: -35px;
    right: 15px;
    margin: 0 0 0 auto;
}
.sidebar-newsletter .wpcf7 form .wpcf7-response-output{
    color: #fff;
}
.custom-faq-placement {
    margin-bottom: 70px;
}