/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
}

/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

    .home-icon:hover {
        color: #B30D2F !important;
    }

/* Main Header Layout */
.main-header {
    display: flex;
    flex-direction: column; /* Stack logo and navigation vertically */
    width: 100%;
    background-color: #fff; /* White background */
    position: sticky;
    top: 0;
    z-index: 999; /* Ensures header stays on top */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: all 0.3s ease;
}

/* Slim Header on Scroll */
.main-header.scrolled {
    padding: 0; /* Remove extra padding on scroll */
}

/* Top Strip */
.main-header .top-strip {
    background-color: #B30D2F;
    color: white;
    padding: 5px 15px;
    display: flex;
    justify-content: flex-end;
    transition: all 0.3s ease;
    
}

.main-header.scrolled .top-strip {
    display: none; /* Hide the top strip when scrolling */
}

.main-header .top-strip a {
    color: white;
    margin: 0 10px;
    font-size: 14px;
}

.main-header .top-strip a:hover {
    color: #ddd;
}

/* Logo Section */
.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Default alignment for desktop */
    padding: 20px 40px;
    width: 100%;
    transition: padding 0.3s ease, width 0.3s ease;
}

.logo img {
    width: 200px;
    height: auto;
    display: block;
    margin: 0;
    transition: width 0.3s ease;
}

.main-header.scrolled .logo img {
    width: 150px; /* Smaller logo on scroll */
    padding: 0; /* Adjust padding on scroll */
}

/* Navigation Menu Section */
nav {
    width: 100%; /* Full width for the navigation strip */
    background-color: #0B2E5B; /* Blue strip */
    position: relative;

}

.nav-menu {
    display: flex;
    justify-content: center; /* Center navigation items */
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    position: relative;
    text-align: center;
    font-size: 16px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s, color 0.3s;
}

.nav-menu a:hover {
    background-color: #efefef; /* White hover background */
    color: #0B2E5B; /* Blue text on hover */
}

/* Submenu Styles */
.nav-menu li ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #efefef;
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.nav-menu li:hover > ul {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.nav-menu li ul li {
    text-align: left;
    white-space: nowrap;
    border-bottom: 1px dotted #CD3838;
}

.nav-menu li ul li:last-child {
    border-bottom: none;
}

.nav-menu li ul li a {
    color: #0B2E5B;
    text-decoration: none;
    font-size: 14px;
    display: block;
    padding: 10px 15px;
}

.nav-menu li ul li a:hover {
    background-color: #0B2E5B;
    color: white;
}

/* Third-Level Submenu */
.nav-menu li ul li ul {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #dcdcdc;
    border: 1px solid #bbb;
    border-radius: 4px;
    z-index: 1000;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-menu li ul li:hover > ul {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

/* Hamburger Menu Button */
.hamburger {
    display: none; /* Hidden by default on larger screens */
    width: 100%;
    font-size: 24px;
    color: white;
    cursor: pointer;
    background: #0B2E5B;
    border: none;
    text-align: center;
    padding: 10px 20px;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        align-items: center;
    }

    .logo {
        justify-content: center;
        padding: 10px 20px;
    }

    .nav-menu {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0B2E5B;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

/* Active state (auto expand properly) */
.nav-menu.active {
    max-height: 100vh; /* allows full menu */
    overflow-y: auto;
}

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        padding: 15px;
    }

    .hamburger {
        display: block; /* Show hamburger menu on smaller screens */
    }
}


/* General Styling for Split Layout */
.split-layout {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin: 0;
    background-color: white; /* Overall background color white */
}

.split-left,
.split-right {
    flex: 1;
    padding: 0; /* Removed padding */
}

/* Vertical Separator */
.vertical-separator {
    width: 2px;
    background: linear-gradient(to bottom, #B30D2F, #0B2E5B);
}

/* Section Headings with Gradient Text */
.section-heading {
    font-size: 2rem;
    font-weight: bold;
    color: #0B2E5B;
    text-align: center;
    margin-bottom: 1rem;
    border-bottom: 2px solid #0B2E5B !important;
    padding-bottom: 0.5rem;
}

/* Buttons Container with Flexbox */
.buttons-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping to the next row */
    gap: 1rem; /* Space between buttons */
    justify-content: center; /* Center buttons horizontally */
    width: 100%; /* Match container width */
}


.button-box {
    display: inline-flex !important; /* Force inline-flex for proper alignment */
    align-items: center; /* Vertically align icon and text */
    justify-content: center; /* Center content horizontally */
    padding: 1rem 2rem; /* Increase padding for wider buttons */
    font-size: 1.2rem; /* Adjust font size */
    color: #0B2E5B !important; /* Ensure text color */
    background-color: #fff !important; /* Force blue background */
    border: 2px solid #0B2E5B; /* Blue border */
    border-radius: 4px; /* Rounded corners */
    text-align: center;
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Bold text */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important; /* Add shadow */
    width: 100%; /* Force full width */
    max-width: none !important; /* Disable any maximum width constraints */
    white-space: nowrap; /* Prevent text wrapping */
    margin: 0.5rem 0; /* Adjust spacing between buttons */
}

.buttons-container {
    display: grid; /* Force grid layout */
    grid-template-columns: repeat(2, 1fr); /* Force two equal-width buttons per row */
    gap: 1rem !important; /* Add spacing between rows and columns */
}

.button-box:hover {
    background-color: #DA6969 !important;
    color: #fff !important;
}

.button-box i {
    margin-right: 0.5rem; /* Space between icon and text */
    font-size: 1.2rem; /* Adjust icon size */
    vertical-align: middle; /* Align icon with text */
}

.gradient-strip {
    width: 100% !important; /* Full width */
    text-align: center !important; /* Center the text */
    padding: 0.5rem 1rem !important; /* Adjust padding for better spacing */
    font-size: 1.2rem; /* Adjust font size for better readability */
    background-color: #B30D2F;
    border: none; /* Remove border */
    color: #ffffff; /* Change text color to white for better contrast */
    font-weight: bold; /* Make the text bold */
    border-radius: 8px; /* Add rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    margin-top: 1rem; /* Add some spacing above the strip */
}

.gradient-strip a {
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

/* Hover effect */
.gradient-strip:hover {
    background-color: #0B2E5B; /* Change background to #0B2E5B on hover */
    color: #ffffff; /* Keep text color white */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .split-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .vertical-separator {
        display: none;
    }

    .section-heading {
        font-size: 1.5rem;
    }

        .buttons-container {
        grid-template-columns: 1fr !important; /* Force one button per row on mobile */
    }

    .button-box {
        width: 100% !important; /* Full width on mobile */
        text-align: center !important; /* Center-align text and icon */
    }
}

.banner-ads-section {
    background-color: white; /* Background for the section */
    width: 100%; /* Full width */
    padding: 0; /* Remove extra padding around the section */
}

.banner-ads-container {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    justify-content: space-between; /* Distribute ads evenly */
    gap: 1rem; /* Add space between ads */
    margin: 0 auto;
    max-width: 1200px; /* Optional: Set a max width for the section */
}

/* Banner Ad Styles */
.ad-box {
    flex: 1 1 auto; /* Allow flexible sizing */
    max-width: 200px; /* Slightly larger than ad content for spacing */
    height: 100px; /* Slightly larger than the ad height for spacing */
    background-color: #f4f4f4; /* Light grey background for ads */
    border: 3px solid #0B2E5B; /* Solid blue border */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    color: #666; /* Placeholder text color */
    border-radius: 5px; /* Rounded corners for a polished look */
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    margin: 0.5rem; /* Add spacing between multiple ads */
    overflow: hidden; /* Prevent content overflow */
}

/* Hover Effect */
.ad-box:hover {
    background-color: #ffffff; /* Slightly brighter on hover */
    border-color: #4786b8; /* Change border color on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
    transition: all 0.3s ease-in-out; /* Smooth transition */
}


/* Responsive Adjustments for Mobile Devices */
@media (max-width: 768px) {
    .banner-ads-container {
        flex-wrap: wrap; /* Allow ads to wrap */
        justify-content: center; /* Center-align ads */
        gap: 1rem; /* Keep consistent spacing */
    }

    .ad-box {
        flex: 1 1 100%; /* Full width for each ad on smaller screens */
        max-width: none; /* Remove max-width constraint */
    }
}

/* Latest Articles Section */
.latest-articles {
    padding: 2rem 0;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    font-size: 2.2rem;
    color: #0B2E5B;
    text-align: center;
    margin-bottom: 2rem;
    text-transform: uppercase;
    font-weight: bold;
}

/* Articles Wrapper */
.articles-wrapper {
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    padding: 0 5%; /* Add space on sides for better alignment */
    box-sizing: border-box;
}

/* Column Layout */
.column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Vertical Separator */
.vertical-separator {
    width: 5px;
    background: linear-gradient(to bottom, #B30D2F, #0B2E5B);
    border-radius: 3px;
}

/* Article Cards */
.article {
    background-color: #ffffff;
    border: 2px solid #0B2E5B;
    border-left: 8px solid #B30D2F;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



/* Article Title */
.article-title {
    font-size: 1.2rem;
    color: #0B2E5B;
    margin-bottom: 0.5rem;
    position: relative;
    text-transform: capitalize;
}

.article-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    top: 25px;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, #B30D2F, #0B2E5B);
    border-radius: 1px;
    display:block;
}

/* Media query for mobile screens */
@media (max-width: 767px) {
    .article-title::after {
        display: none; /* Hide the line on mobile (smaller screens) */
    }
}

/* Article Description */
.article-description {
    font-size: 0.95rem;
    color: #000;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Read More Link */
.read-more {
    font-size: 1rem;
    font-weight: bold;
    color: #B30D2F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0B2E5B;
}

/* Full-Width Strip Adjustments */
.full-width-strip {
    margin-top: 2rem;
    margin-left: auto; /* Align with left box */
    margin-right: auto; /* Align with right box */
    padding: 0.2rem; /* Make it thinner */
    background-color: #0B2E5B;
    text-align: center;
    border: 2px solid #B30D2F; /* Adjusted border thickness */
    border-radius: 5px;
    max-width: calc(100% - 10%); /* Align with the article section */
}

.full-width-strip:hover {
    background-color: #B30D2F; /* Change background on hover */
    color: #ffffff; /* Change text color on hover */
    border-color: #0B2E5B; /* Change border color on hover */
}

.explore-link {
    font-size: 1.1rem; /* Slightly smaller for better balance */
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    padding: 0.3rem 1rem; /* Adjusted padding */
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.explore-link:hover {
    color: #ffffff; /* Change text color on hover */
    border-color: #0B2E5B; /* Change border color on hover */
}


/* Responsive Design */
@media (max-width: 767px) {
    .articles-wrapper {
        flex-direction: column;
        padding: 0 1rem;
    }

    .vertical-separator {
        display: none;
    }
}

/* Experts Section */
.experts-section {
    margin: 2rem 0;
    text-align: center;
    width:100%;
    padding-left:3.5%;
    padding-right:3.5%;
}

.experts-section h2 {
    font-size: 2.5rem;
    color: #0B2E5B;
    margin-bottom: 2rem;
}

.experts-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    padding: 0 2rem; /* Add left and right padding to prevent boxes from touching the edges */
}

.experts-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.expert-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: #fff;
    padding: 1rem;
    border: 2px solid #0B2E5B;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.expert-image-container {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #0B2E5B;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure the image stays within the circular container */
    position: relative; /* For smooth transitions */
    
}

.expert-image-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease; /* Smooth zoom effect */
border-width: 1px; /* Set the border width */
    border-style: solid; /* Define solid border */
    border-color: #B30D2F;
    
    
}

.expert-info {
    flex-grow: 1;
    text-align: left;
}

.expert-info h3 {
    font-size: 1.2rem;
    color: #0B2E5B;
    margin-bottom: 0.5rem;
}

.expert-info hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 0.5rem 0;
}

.expert-info p {
    font-size: 1rem;
    color: #000;
    margin-bottom: 0.5rem;
}

.view-profile-button {
    display: block;
    text-align: center;
    background-color: #0B2E5B;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem; /* Thinner button */
    border-radius: 4px;
    margin-top: 0.5rem;
    transition: background-color 0.3s;
    font-size: 0.9rem;
}

.view-profile-button:hover {
    background-color: #4786b8;
}

/* Vertical Separator */
.vertical-separator {
    width: 2px;
    background-color: #ccc;
    height: auto;
    margin: 0 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .experts-wrapper {
        flex-direction: column;
        padding: 0 1rem; /* Adjust padding for smaller screens */
    }

    .vertical-separator {
        display: none;
    }

    .expert-item {
        flex-direction: column;
        align-items: center;
    }

    .expert-info {
        text-align: center;
    }
}

/* Partners Section */
.partners-section {
    padding: 2rem 1rem;
    text-align: center;
    padding-left: 4.5%;
    padding-right: 4.5%;
}

.partners-section h2 {
    font-size: 2rem;
    color: #0B2E5B;
    margin-bottom: 1.5rem;
}

.partners-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.partner-card {
    width: calc(25% - 1rem);
    background-color: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
        border: 2px solid #0B2E5B;

}

.partner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Category Strip */
.category-strip {
    width: 100%;
    padding: 0.8rem 0;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
}

.blue-card .category-strip {
    background-color: #0B2E5B;
}

.red-card .category-strip {
    background-color: #da6969;
}

/* Partner Logo */
.partner-logo img {
    max-width: 120px;
    max-height: 200px;
    height: auto;
    width: 100%;
    margin: 1rem auto;
    display: block;
}

/* Partner Logo */
.partner-logo-hori img {
    padding-top:10px;
    padding-bottom: 10px;
    max-width: 250px;
    max-height: 150px;
    height: auto;
    width: auto;
    margin: 1rem auto;
        margin-top:30px;

    display: block;
}


.partner-logo p {
    font-weight: bold;
    color: #B30D2F;
        text-transform: uppercase;

}

.partner-logo-hori p {
    margin-top: 40px;
    font-weight: bold;
    color: #B30D2F;
    margin-bottom: -5px;
        text-transform: uppercase;

}

/* Partner Info */
.partner-info {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    margin-top: -30px;
}

.partner-info p {
    font-size: 1rem;
    color: #000;
    line-height: 1.5;
    margin: 0;

}

/* Partner Info */
.partner-info-hori {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 15px;
}

.partner-info-hori p {
    font-size: 1rem;
    color: #000;
    line-height: 1.5;
}

/* View Profile Button */
.view-profile-btn {
    width: 100%; /* Force full width */
    padding: 0.8rem 0;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
    text-decoration: none;
    display: block; /* Ensure it spans the container */
    margin: 0; /* Remove any unwanted gaps */
}

.red-strip {
    background-color: #444;
}

.red-strip:hover {
    background-color: #B30D2F;
}

.blue-strip {
    background-color: #87ABC9;
}

.blue-strip:hover {
    background-color: #4786b8;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .partner-card {
        width: calc(33.333% - 1rem);
    }
}

@media (max-width: 768px) {
    .partner-card {
        width: calc(50% - 1rem);
    }
}

@media (max-width: 480px) {
    .partner-card {
        width: 100%;
    }
}

/* Newsletter Section */
.newsletter-section {
    background-color: #0B2E5B;
    color: #ffffff;
    padding: 3rem 1rem;
    text-align: center;
}

.newsletter-container {
    max-width: 600px;
    margin: 0 auto;
    
}

.newsletter-heading {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-button {
    background-color: #B30D2F;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-button:hover {
    background-color: #da6969;
}

.newsletter-success-message {
    margin-top: 1rem;
    font-size: 1rem;
    color: #87ABC9;
}
/* Inner Page Global Styles */

/* Boxed Layout */
.inner-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Breadcrumb */
.breadcrumb {
    width: 100%;
    font-size: 0.9rem;
    padding: 0.7rem;
    color: #fff;
    margin-bottom: 1rem;
    border-radius: 2px;
    background-color: #B30D2F;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Content Section Layout */
.content-section {
    display: flex;
    flex-wrap: wrap; /* Ensure responsiveness */
    gap: 1.5rem; /* Add space between containers */
    margin-bottom: 2rem; /* Add bottom spacing */
}

/* Image Container */
.image-container {
    flex: 1 1 250px; /* Ensure the image takes up a fixed minimum width */
    max-width: 250px; /* Limit maximum width */
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    width: 100%; /* Ensure the image is responsive */
    height: auto; /* Maintain aspect ratio */
    border-radius: 5px; /* Add slight rounding to corners */
}

/* Text Container */
.text-container {
    flex: 2; /* Allow the text to take up more space */
    line-height: 1.6; /* Improve readability */
    text-align: justify; /* Justify text for a clean layout */
}

.text-container p {
    margin: 0 0 1rem 0; /* Add bottom margin to paragraphs */
}

/* Main Content */
.main-content {
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
}

/* H1 Heading Style */
.main-content h1 {
    color: #0B2E5B; /* Blue color for the heading text */
    font-size: 2.2rem; /* Larger font size for emphasis */
    font-weight: bold; /* Bold for prominence */
    text-align: left; /* Align text to the left */
    margin: 1.5rem 0; /* Add spacing above and below the heading */
    padding-bottom: 0.5rem; /* Space for the underline */
    position: relative; /* For the underline placement */
}

.main-content h1::after {
    content: ""; /* Decorative underline */
    position: absolute;
    left: 0; /* Start at the left edge */
    bottom: 0; /* Position at the bottom of the heading */
    width: 100%; /* Full width underline */
    height: 2px; /* Bold underline for emphasis */
    background-color: #B30D2F; /* Red color for the underline */
    border-radius: 1px; /* Slightly rounded edges for the underline */
}

/* H2 Heading Style */
.main-content h2 {
    color: #0B2E5B; /* Blue color for the heading text */
    font-size: 1.8rem; /* Slightly smaller than H1 */
    font-weight: bold; /* Bold for emphasis */
    text-align: left; /* Align text to the left */
    margin: 1.2rem 0; /* Add spacing above and below */
    padding-bottom: 0.4rem; /* Space for the underline */
    position: relative; /* For the underline placement */
}

.main-content h2::after {
    content: ""; /* Decorative underline */
    position: absolute;
    left: 0; /* Start at the left edge */
    bottom: 0; /* Position at the bottom of the heading */
    width: 100%; /* Full width underline */
    height: 0.8px; /* Thin, subtle underline */
    background-color: #da6969; /* Lighter red for the underline */
    border-radius: 1px; /* Slightly rounded edges for the underline */
}

/* H3 Heading Style */
.main-content h3 {
    color: #0B2E5B; /* Blue color for the heading text */
    font-size: 1.5rem; /* Smaller than H2 */
    font-weight: bold; /* Bold for emphasis */
    text-align: left; /* Align text to the left */
    margin: 1rem 0; /* Add spacing above and below */
    padding-bottom: 0.3rem; /* Space for the underline */
    position: relative; /* For the underline placement */
}

.main-content h3::after {
    content: ""; /* Decorative underline */
    position: absolute;
    left: 0; /* Start at the left edge */
    bottom: 0; /* Position at the bottom of the heading */
    width: 100%; /* Full width underline */
    height: 0.5px; /* Very thin, subtle underline */
    background-color: #da6969; /* Lighter red for the underline */
    border-radius: 1px; /* Slightly rounded edges for the underline */
}

/* Lists */
.main-content ul, .main-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.main-content ul li, .main-content ol li {
    font-size: 18px; /* Increase font size */
    line-height: 1.6; /* Enhance readability */
    margin-bottom: 0.5rem;
}

/* CTA Buttons */
.cta-bottom {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.cta-bottom a {
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-bottom .cta-primary {
    background-color: #0B2E5B;
    color: #ffffff;
}

.cta-bottom .cta-primary:hover {
    background-color: #4786b8;
}

.cta-bottom .cta-secondary {
    background-color: #B30D2F;
    color: #ffffff;
}

.cta-bottom .cta-secondary:hover {
    background-color: #da6969;
}

/* Published Date */
.published-date {
    font-size: 0.85rem;
    color: #888888;
    margin-top: 1rem;
    text-align: left;
}

/* Responsive Adjustments for Inner Pages */
@media (max-width: 768px) {
    .content-section {
        flex-direction: column; /* Stack image and text on smaller screens */
    }

    .image-container {
        max-width: 100%; /* Ensure image is full-width on mobile */
    }

    .text-container {
        flex: 1; /* Text takes up full width on mobile */
    }

    .cta-bottom {
        flex-direction: column;
        gap: 0.5rem;
    }
}


/* Ticker Section */
.ticker {
    background-color: #e4e4e4; /* Light background */
    color: #0B2E5B; /* Blue text */
    overflow: hidden;
    position: relative;
    height: 40px;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1rem;
}

/* Static Label */
.ticker-label {
    flex-shrink: 0; /* Prevent shrinking */
    background-color: #0B2E5B; /* Red background */
    color: #ffffff; /* White text */
    padding: 0 15px; /* Add padding for better appearance */
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0; /* Stick to the left of the screen */
    z-index: 2; /* Ensure label is on top */
}

/* Adjust margin for content to avoid overlapping with the label */
.ticker-content {
    display: inline-flex;
    gap: 2rem; /* Spacing between text items */
    animation: ticker-scroll 30s linear infinite;
    white-space: nowrap;
    flex: 1;
    position: relative;
    padding-left: 120px; /* Matches the width of the label */
    z-index: 1; /* Content below the label */
}

/* Animation for scrolling text from left to right */
@keyframes ticker-scroll {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Pause scrolling on hover */
.ticker-content:hover {
    animation-play-state: paused;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .ticker {
        height: 35px; /* Slightly smaller height for mobile */
        font-size: 0.9rem; /* Smaller font size for readability */
    }

    .ticker-label {
        padding: 0 10px; /* Adjust padding for smaller screens */
    }

    .ticker-content {
     gap: 1rem; /* Reduce spacing between text items */
        animation: ticker-scroll 20s linear infinite; /* Adjusted speed for smaller screens */
        padding-left: 100px; /* Adjusted for label width */
    }
}


/* Contact Form Styling */
.contact-form-section {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form .form-group {
    margin-bottom: 1rem;
}

.contact-form label {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #0B2E5B;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form textarea {
    resize: none;
}

.contact-form .submit-button {
    background-color: #0B2E5B;
    color: #fff;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form .submit-button:hover {
    background-color: #4786b8;
}

/* Contact Information Styling */
.contact-info-section {
    margin-top: 2rem;
}

.contact-info-section h2 {
    font-size: 1.5rem;
    color: #0B2E5B;
    margin-bottom: 1rem;
}

.contact-info-section p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-info-section a {
    color: #B30D2F;
    text-decoration: none;
}

.contact-info-section a:hover {
    text-decoration: underline;
}

/* Mobile-Friendly Adjustments for Contact Page */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 1rem;
    }

    .contact-form input[type="text"],
    .contact-form input[type="email"],
    .contact-form textarea {
        font-size: 0.9rem; /* Slightly smaller font size */
    }

    .contact-form .submit-button {
        font-size: 1rem;
        padding: 0.8rem 1rem;
        width: 100%; /* Full-width button for mobile */
    }

    .contact-info-section {
        text-align: center; /* Center-align the text for better readability */
    }

    .contact-info-section p {
        font-size: 0.95rem;
    }

    .contact-info-section a {
        font-size: 0.95rem;
    }
}

.success-message {
    color: #0B2E5B;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.error-message {
    color: #B30D2F;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.contact-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.contact-info-table th, .contact-info-table td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: left;
}

.contact-info-table th {
    background-color: #0B2E5B;
    color: white;
    font-weight: bold;
}

.contact-info-table td {
    background-color: #f9f9f9;
    color: #333;
}

.contact-info-table a {
    color: #0B2E5B;
    text-decoration: none;
}

.contact-info-table a:hover {
    text-decoration: underline;
}

/* Cookie Consent Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0B2E5B;
    color: white;
    padding: 1rem;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-banner p {
    margin: 0;
    font-size: 1rem;
    flex: 1;
}

.cookie-banner button {
    background-color: white;
    color: #0B2E5B;
    border: none;
    border-radius: 4px;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cookie-banner button:hover {
    background-color: #87ABC9;
}

.cookie-banner button.reject {
    background-color: #B30D2F;
    color: white;
}

.cookie-banner button.reject:hover {
    background-color: #da6969;
}

.cookie-banner button.necessary {
    background-color: #87ABC9;
    color: white;
}

.cookie-banner button.necessary:hover {
    background-color: #0B2E5B;
}

/* Hide banner when not needed */
.cookie-banner.hidden {
    display: none;
}

/* Global Styling for <strong> */
strong {
    color: #0B2E5B; /* cisUK blue color */
}
/* General Styling for Ordered Lists */
ol {
    margin: 1rem 0; /* Add space above and below */
    padding-left: 2rem; /* Indent the list for readability */
    list-style-type: decimal; /* Default numbering */
    font-size: 18px;
    line-height: 1.6; /* Improve readability */
}

/* Styling for Nested Ordered Lists */
ol ol {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
    list-style-type: lower-alpha; /* Change to alphabet for sub-lists */
}

/* Styling for Ordered List Items */
ol li {
    margin-bottom: 0.5rem; /* Add spacing between items */
    
}
p {
    font-size: 18px !important;
    margin-bottom: 1.2rem; /* Add spacing between paragraphs */
}
/* Umbrella Calculator Styling */
.umbrella-container {
    display: flex;
    max-width: 1200px;
    margin: 20px auto;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border-radius: 8px;
    overflow: hidden;
    font-family: Arial, sans-serif;
    flex-wrap: wrap;
}

.umbrella-inputs, .umbrella-results {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
}

.umbrella-inputs {
    background: #f8f9fa;
    border-right: 1px solid #ddd;
}

.umbrella-results {
    display: none;
    background: #fdfdfd;
}

.umbrella-label {
    font-weight: bold;
    margin: 10px 0 5px;
    display: block;
}

.umbrella-input, .umbrella-select, .umbrella-button {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.umbrella-button {
    background-color: #0B2E5B;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.umbrella-button:hover {
    background-color: #B30D2F;
}

.umbrella-results h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.result-row {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.highlight {
    font-weight: bold;
    color: #0B2E5B;
}

@media (max-width: 768px) {
    .umbrella-container {
        flex-direction: column;
    }

    .umbrella-inputs, .umbrella-results {
        flex: none;
        width: 100%;
        border-right: none;
    }

    .result-row {
        font-size: 12px;
    }

    .umbrella-results h3 {
        font-size: 16px;
    }
}



/* Full-Width Contractor Mortgage Calculator */
.mortgage-calculator-container {
    max-width: 1200px;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    background-color: #ffffff;
    border-radius: 8px;
}

.mortgage-flex-container {
    display: flex;
    gap: 20px;
}

.mortgage-input-box, .mortgage-results {
    flex: 1;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f8f9fa;
}

.mortgage-input-box h2, .mortgage-results h2 {
    color: #0B2E5B;
    margin-bottom: 15px;
}

.mortgage-input-box p {
    margin-bottom: 15px;
    color: #666666;
    font-size: 1rem;
    line-height: 1.6;
}

.mortgage-label {
    font-weight: bold;
    display: block;
    margin: 10px 0 5px;
}

.mortgage-input, .mortgage-select {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.mortgage-button {
    width: 100%;
    padding: 12px;
    background-color: #0B2E5B;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mortgage-button:hover {
    background-color: #4786b8;
}

.mortgage-results {
    display: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.mortgage-result-row {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 1rem;
}

.mortgage-result-row span {
    font-weight: bold;
    color: #333333;
}

.mortgage-close-button {
    width: 100%;
    padding: 10px;
    background-color: #cd3838;
    color: #ffffff;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.mortgage-close-button:hover {
    background-color: #da6969;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .mortgage-flex-container {
        flex-direction: column;
    }
}
 /* Callback Form Styles */
    .callback-form {
        margin-top: 20px;
        padding: 20px;
        background-color: #f8f9fa;
        border: 1px solid #ddd;
        border-radius: 8px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group label {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 14px;
        box-sizing: border-box;
    }

    .form-group textarea {
        resize: vertical;
    }

    .callback-button {
        background-color: #007ab5;
        color: #fff;
        border: none;
        padding: 10px 20px;
        font-size: 16px;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .callback-button:hover {
        background-color: #005a8c;
    }
/* Acknowledgment Message Styles */
.acknowledgment {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: opacity 0.5s ease-in-out;
}

.acknowledgment.success {
    background-color: #0B2E5B; /* Green for success */
}

.acknowledgment.error {
    background-color: #B30D2F; /* Red for error */
}
.disclaimer-container {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-left: 4px solid #0B2E5B;
    border-radius: 5px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #444;
}

.disclaimer-container h3 {
    color: #0B2E5B;
    margin-bottom: 10px;
}

.disclaimer-container p {
    margin-bottom: 10px;
}

/* Mortgage Repayment Calculator CSS */

/* General container styling */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Form Section Styling */
.form-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 16px;
    font-weight: bold;
    color: #0B2E5B;
}

.form-group input {
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

button#calculate-btn {
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    color: white;
    background-color: #0B2E5B;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button#calculate-btn:hover {
    background-color: #4786b8;
}

/* Results Section Styling */
.results-section {
    display: none;
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.results-header {
    font-size: 20px;
    font-weight: bold;
    color: #0B2E5B;
    margin-bottom: 20px;
    text-align: center;
}

.results-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.result-box {
    flex: 1 1 calc(50% - 20px); /* Two columns on larger screens */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.result-box h3 {
    font-size: 18px;
    font-weight: bold;
    color: #0B2E5B;
    margin: 0;
}

.value-box p {
    font-size: 16px;
    font-weight: bold;
    color: #444;
}

/* Responsive Styling for Mobile */
@media (max-width: 768px) {
    .form-section {
        padding: 15px;
    }

    button#calculate-btn {
        font-size: 14px;
    }

    .results-wrapper {
        flex-direction: column;
        gap: 10px;
    }

    .result-box {
        flex: 1 1 100%; /* Full width for result boxes on smaller screens */
    }

    .value-box p {
        font-size: 14px;
    }
}

.limited-calculator-container {
    display: flex;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: auto;
    background: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    gap: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Input Section */
.limited-input-section {
    flex: 1;
    width: 100%;
    max-width: 450px;
    padding: 20px;
    background: #0B2E5B; /* cis blue */
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.limited-heading {
    color: white !important;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.limited-form-group {
    margin-bottom: 15px;
}

.limited-form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.limited-form-group input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

/* Calculate Button */
.limited-calculate-button {
    background: #B30D2F;
    color: white;
    padding: 12px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    text-transform: uppercase;
}

.limited-calculate-button:hover {
    background: #cd3838; /* cis red */
}

/* Results Section */
.limited-results-section {
    flex: 2;
    width: 100%;
    padding: 20px;
    background: white;
    border-left: 4px solid #0B2E5B; /* cis blue border */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    overflow-x: auto; /* Prevent table overflow */
}

.limited-results-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}

.limited-results-table th,
.limited-results-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.limited-results-table th {
    background: #0B2E5B; /* cis blue */
    color: white;
    text-align: left;
}

.limited-results-table td {
    font-size: 16px;
    color: #444;
}

.limited-total-expenditure {
    font-weight: bold;
    border-top: 2px solid #cd3838; /* cis red */
}

.limited-final-profits {
    background: #B30D2F; /* cis blue */
    color: #fff !important;
    font-size: 1.2em;
    text-align: right;
    padding: 15px;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
    .limited-calculator-container {
        flex-direction: column;
    }

    .limited-input-section,
    .limited-results-section {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }

    .limited-results-section {
        border-left: none;
        border-top: 4px solid #0B2E5B; /* cis blue border for mobile */
    }
}
.corp-tax-calculator-container {
    max-width: 1200px;
    margin: auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    overflow: hidden;
}

.corp-tax-heading {
    color: #0B2E5B;
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.corp-calculator-card {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.corp-form-section {
    flex: 1;
    min-width: 300px;
    background: #0B2E5B;
    padding: 20px;
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.corp-description {
    margin-bottom: 15px;
    font-size: 16px;
}

.corp-input-group {
    margin-bottom: 15px;
}

.corp-input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.corp-input-group input {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.corp-calculate-btn {
    background: #B30D2F;
    color: white;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
}

.corp-calculate-btn:hover {
    background: #DA6969;
}

.corp-results-section {
    flex: 1;
    min-width: 300px;
    background: #ffffff;
    padding: 20px;
    border-left: 4px solid #0B2E5B;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.corp-results-box {
    font-size: 16px;
}

.corp-results-box p {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.corp-results-box span {
    color: #0B2E5B;
    font-weight: bold;
}

.corp-results-box strong {
    font-size: 16px;
}

@media (max-width: 768px) {
    .corp-calculator-card {
        flex-direction: column;
    }

    .corp-form-section,
    .corp-results-section {
        width: 100%;
        margin: 0;
    }

    .corp-results-section {
        border-left: none;
        border-top: 4px solid #0B2E5B;
    }
}
.cross-link-container {
    display: flex;
    align-items: center;
    background-color: #0B2E5B; /* Primary blue */
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
    text-align: left;
    transition: box-shadow 0.3s ease; /* Subtle shadow change on hover */
}

.cross-link-container:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cross-link-icon {
    flex: 0 0 auto;
    font-size: 2rem;
    margin-right: 15px;
    color: white; /* White calculator icon */
    transition: transform 0.3s ease;
}

.cross-link-container:hover .cross-link-icon i {
    transform: rotate(15deg); /* Rotate icon on hover */
}

.cross-link-content {
    flex: 1;
}

.cross-link-content h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #FFD700; /* Gold for the heading */
}

.cross-link-content p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #FFFFFF; /* White for the text */
}

.cross-link-content .cross-link {
    color: #FFD700; /* Gold for the link */
    font-weight: bold;
    transition: color 0.3s ease;
    text-decoration: none; /* No underline */
}

.cross-link-content .cross-link:hover {
    color: #FFFFFF; /* Change to white on hover */
}

/* Responsive Design */
@media (max-width: 768px) {
    .cross-link-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cross-link-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

.paye-calculator-container {
    background: #fff;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    border: 1px solid #0B2E5B;
}

.paye-heading {
    font-size: 26px;
    color: #B30D2F;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

.paye-input-group {
    margin-bottom: 20px;
}

.paye-input-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #444;
    font-size: 16px;
}

#paye-annual-salary {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}

#paye-annual-salary:focus {
    border-color: #B30D2F;
    outline: none;
    box-shadow: 0 0 4px rgba(163, 48, 48, 0.5);
}

.paye-results-container {
    margin-top: 20px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
}

.paye-result-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: #fff;
    border: 1px solid #e8e8e8;
    margin-bottom: 10px;
    border-radius: 8px;
}

.paye-result-item.highlight {
    background: #fdece6;
    border: 1px solid #da6969;
    font-weight: bold;
}

.paye-result-label {
    font-weight: bold;
    color: #555;
    font-size: 16px;
}

.paye-result-value {
    font-size: 18px;
    color: #0B2E5B;
}

.paye-sub-heading {
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: bold;
    font-size: 18px;
    color: #B30D2F;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
    .paye-calculator-container {
        padding: 15px;
    }

    .paye-heading {
        font-size: 22px;
    }

    #paye-annual-salary {
        font-size: 14px;
    }

    .paye-result-value {
        font-size: 16px;
    }
}
.cis-calculators-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.cis-search-bar {
    width: 100%;
    margin-bottom: 20px;
    position: relative;
}

.cis-search-bar input {
    width: 100%;
    padding: 10px 15px;
    font-size: 1rem;
    border: 2px solid #0B2E5B; /* Blue border */
    border-left: 5px solid #da6969; /* Red side accent */
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.cis-search-bar input:focus {
    border-color: #4786b8; /* Lighter blue on focus */
    box-shadow: 0 0 5px rgba(3, 67, 120, 0.3); /* Subtle shadow effect */
}

/* Page Description */
.cis-page-description {
    font-size: 1.2rem;
    color: #666666;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* Calculator Strips */
.cis-calculator-strip {
    display: flex;
    align-items: center;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 20px;
    background: #ffffff;
    position: relative;
}

.cis-bg-blue {
    background-color: #f0f8ff; /* Light blue */
}

.cis-bg-red {
    background-color: #fff5f5; /* Light red */
}

.cis-calculator-border {
    width: 12px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-radius: 10px 0 0 10px;
}

.cis-border-blue {
    background-color: #0B2E5B;
}

.cis-border-red {
    background-color: #cd3838;
}

.cis-calculator-content {
    flex: 1;
    padding-left: 20px;
}

.cis-calculator-content h2 {
    font-size: 1.5rem;
    color: #0B2E5B;
    margin-bottom: 10px;
}

.cis-calculator-content p {
    font-size: 1rem;
    color: #666666;
    margin-bottom: 15px;
    line-height: 1.4;
}

.cis-calculator-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0B2E5B;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cis-calculator-btn:hover {
    background-color: #4786b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cis-calculator-strip {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .cis-calculator-border {
        width: 100%;
        height: 12px;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        border-radius: 10px 10px 0 0;
    }

    .cis-calculator-content {
        text-align: center;
        padding-left: 0;
    }

    .cis-calculator-btn {
        width: 100%;
        text-align: center;
    }
}

/* Cover Image and Logo */
.cis-cover-image-container {
    position: relative;
    margin: 0;
    padding: 0;
}

.cis-cover-image {
    width: 100%;
    height: 300px; /* Default height for larger screens */
    object-fit: cover;
}

.cis-logo-overlap {
    position: absolute;
    bottom: -75px; /* Default position for larger screens */
    left: 20px;
    z-index: 10;
}

.cis-logo {
max-width: 400px;
border: 1px solid #0B2E5B !important;
    border-radius: 4px;
    max-height: 150px;
}

/* Content Section */
.cis-content-section {
    display: flex;
    margin-top: 100px; /* To account for logo overlap */
    gap: 20px;
    flex-wrap: nowrap; /* Prevent wrapping on larger screens */
}

/* Left Section */
.cis-left-section {
    flex: 1; /* Allow it to grow and take up available space */
    max-width: 350px; /* Restrict the maximum width */
}

/* Right Section */
.cis-right-section {
    flex: 2; /* Allow it to grow and take up more space than the left */
     margin-top: -24px; /* Adjust this value to align the heading exactly */
    padding-top: 0; /* Reset any default padding */

}


/* Contact Details */
.cis-contact-details {
    margin-bottom: 20px;
    padding: 15px;
    width: 100%; /* Allow the contact details to expand */
    box-sizing: border-box; /* Ensure padding is included in the total width */
}

.cis-contact-heading {
    background-color: rgba(218, 105, 105, 0.2);
    font-size: 1.2rem;
    color: #B30D2F;
    margin: 0; /* Remove margin to eliminate white space */
    padding: 8px; /* Add padding for consistent spacing */
    line-height: 1; /* Adjust line-height to ensure compact spacing */
    border-bottom: 2px solid #B30D2F; /* Adds a visual separation */

}

.cis-contact-table {
    width: 100%; /* Ensure the table spans the entire container */
    border-collapse: collapse;
    margin-top: 10px;
}

.cis-contact-table th,
.cis-contact-table td {
    text-align: left;
    padding: 6px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(72, 134, 184, 0.1);
    font-size: 1rem;

}

.cis-contact-table a {
    color: #0B2E5B;
    text-decoration: none;
}

.cis-contact-table a:hover {
    text-decoration: underline;
}

/* Services Offered */
.cis-services-offered {
    border: 2px solid #0B2E5B;
    margin: 0; /* Remove any external margins */
    padding: 0; /* Reset internal padding */
    width: 100%; /* Ensure the services box spans full width */
    box-sizing: border-box;
}

.cis-services-heading {
    background-color: rgba(218, 105, 105, 0.2);
    font-size: 1.2rem;
    color: #B30D2F;
    margin: 0; /* Remove margin to eliminate white space */
    padding: 8px; /* Add padding for consistent spacing */
    line-height: 1; /* Adjust line-height to ensure compact spacing */
    border-bottom: 2px solid #0B2E5B; /* Adds a visual separation */
}

.cis-services-table {
    width: 100%; /* Ensure the table spans the full container */
    border-collapse: collapse; /* Eliminate gaps between table cells */
    margin: 0; /* Remove extra spacing below */
    padding: 0; /* Reset table padding */
}

.cis-services-table td {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(72, 134, 184, 0.1);
    color: #0B2E5B;
}

/* Mobile-Friendly Adjustments */
@media (max-width: 768px) {
    .cis-cover-image {
        height: 200px; /* Reduce height for smaller screens */
    }

    .cis-logo-overlap {
        bottom: -50px; /* Adjust logo position for smaller screens */
        left: 10px; /* Align closer to the edge */
    }

    .cis-logo {
        width: 120px; /* Reduce logo size */
    }

    .cis-content-section {
        display: block; /* Stack content vertically */
        margin-top: 50px; /* Adjust margin for smaller screens */
    }

    .cis-left-section {
        max-width: 100%; /* Allow full-width on mobile */
        margin-bottom: 20px; /* Add spacing between stacked sections */
    }

    .cis-contact-table th,
    .cis-contact-table td {
        padding: 6px; /* Reduce padding for smaller screens */
        color: #0B2E5B;
    }

    .cis-services-heading {
        font-size: 1rem; /* Adjust font size for smaller screens */
        padding: 6px; /* Adjust padding */
    }

    .cis-services-table td {
        padding: 6px; /* Reduce padding for better fit */
        color: #0B2E5B !important;
    }
}
.affiliate-contact-info {
    font-family: Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #0B2E5B; /* Dark blue from your color palette */
    margin-top: 20px;
}

.affiliate-contact-info p {
    margin: 5px 0; /* Add spacing between lines */
}

.affiliate-contact-info a {
    color: #B30D2F; /* Highlight links with a soft red */
    text-decoration: none; /* Remove underlines */
    font-weight: bold; /* Make links stand out */
}

.affiliate-contact-info a:hover {
    text-decoration: underline; /* Add underline on hover */
    color: #0B2E5B; /* Change color on hover */
}
/* Table of Contents */
.cis-toc-container {
    background-color: #f9f9f9; /* Light background for readability */
    border: 1px solid #0B2E5B; /* Border using primary blue */
    border-radius: 5px; /* Rounded corners */
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.cis-toc-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #0B2E5B; /* Primary blue for the title */
    margin-bottom: 1rem;
    text-transform: uppercase;
    border-bottom: 2px solid #0B2E5B; /* Underline for emphasis */
    padding-bottom: 0.5rem;
}

.cis-toc-list {
    list-style: none; /* Remove default bullets */
    padding: 0;
    margin: 0;
}

.cis-toc-list li {
    margin-bottom: 0.5rem;
}

.cis-toc-list li a {
    text-decoration: none;
    color: #4786b8; /* Medium blue for links */
    font-size: 1rem;
    transition: color 0.3s ease;
}

.cis-toc-list li a:hover {
    color: #0B2E5B; /* Darker blue on hover */
    text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cis-toc-container {
        padding: 0.8rem;
    }

    .cis-toc-title {
        font-size: 1rem;
    }

    .cis-toc-list li a {
        font-size: 0.9rem;
    }
}
/* Comparison Table */
.cis-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 1rem;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.cis-comparison-table th,
.cis-comparison-table td {
    border: 1px solid #0B2E5B; /* Border matches primary blue */
    padding: 1rem;
}

.cis-comparison-table th {
    background-color: #0B2E5B; /* Dark blue background for headers */
    color: #ffffff; /* White text for contrast */
    text-transform: uppercase;
    font-weight: bold;
}

.cis-comparison-table td {
    background-color: #f9f9f9; /* Light background for readability */
    color: #444444; /* Neutral text color */
}

.cis-comparison-table tr:nth-child(even) td {
    background-color: #ffffff; /* Alternate row color */
}

.cis-comparison-table tr:hover td {
    background-color: #da6969; /* Soft red hover effect */
    color: #ffffff; /* White text on hover */
}

.cis-comparison-table .highlight {
    background-color: #4786b8; /* Medium blue for highlights */
    color: #ffffff; /* White text for emphasis */
    font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cis-comparison-table th,
    .cis-comparison-table td {
        padding: 0.5rem; /* Reduced padding for smaller screens */
        font-size: 0.9rem;
    }
}
/* Scroll to Top Button */
.cis-scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #0B2E5B; /* cisUK Primary Blue */
    color: #ffffff;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 1000;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    visibility: hidden;
}

.cis-scroll-to-top:hover {
    background-color: #4786b8; /* Lighter Blue for Hover */
}

.cis-scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.cis-scroll-to-top.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
}





/* Search Bar */
.search-bar {
    margin: 1.5rem 0 2.5rem 0;
    text-align: center;
}

.search-input {
    width: 70%;
    max-width: 700px;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    outline: none;
    transition: box-shadow 0.3s, border-color 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-input:focus {
    border-color: #0B2E5B;
    box-shadow: 0 4px 10px rgba(3, 67, 120, 0.2);
}

.search-btn {
    padding: 0.8rem 1.5rem;
    margin-left: 1rem;
    background-color: #0B2E5B;
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.search-btn:hover {
    background-color: #4786b8;
    transform: translateY(-2px);
}

.search-btn:focus {
    outline: none;
}

/* Articles List */
.articles-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.article-item {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.article-item h2 {
    font-size: 1.4rem;
    color: #0B2E5B;
    margin-bottom: 0.8rem;
}

.article-item h2 a {
    text-decoration: none;
    color: #0B2E5B;
    transition: color 0.3s;
}

.article-item h2 a:hover {
    color: #4786b8;
}

.article-item p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: #0B2E5B;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.read-more-btn:hover {
    background-color: #4786b8;
    transform: translateY(-2px);
}

/* Pagination */
.pagination {
    text-align: center;
    margin-top: 2rem;
}

.pagination-btn {
    display: inline-block;
    margin: 0 5px;
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
    text-decoration: none;
    background-color: #0B2E5B;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.pagination-btn:hover {
    background-color: #4786b8;
    transform: translateY(-2px);
}

.pagination-btn.active {
    background-color: #4786b8;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Success Message Styles */
.newsletter-success-message {
    display: none; /* Hidden by default */
    padding: 1rem;
    margin-top: 1rem;
    color: #ffffff; /* White text */
    background-color: #0B2E5B; /* Blue background */
    font-size: 1.2rem;
    text-align: center;
    border-radius: 5px; /* Rounded corners */
    font-weight: bold;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow for emphasis */
}

/* Success Message Animation */
@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
.newsletter-success-message.fade {
    animation: fadeInOut 5s ease-in-out forwards; /* Animates visibility */
}
/* General Styles for the Glossary */

/* Search Results */
#search-results {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start; /* Align items to the left */
    align-items: flex-start; /* Prevent vertical stretching */
    padding: 20px;
}

#search-results > .term-card {
    width: calc(33.333% - 20px); /* 3 cards per row on large screens */
    max-width: 400px; /* Prevent excessive stretching for single results */
    margin: 0 auto; /* Center single card */
    padding: 20px;
}

/* Single Result Alignment */
#search-results.single-result {
    justify-content: center; /* Center-align single results */
    padding: 20px;
}

#search-bar:focus {
    border-color: #0B2E5B;
    box-shadow: 0 0 5px rgba(3, 67, 120, 0.3);
}

/* Alphabetical Navigation */
.alphabetical-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-bottom: 20px;
}

.alphabetical-nav a {
    padding: 5px 10px;
    text-decoration: none;
    color: #0B2E5B;
    font-weight: bold;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.alphabetical-nav a:hover {
    background-color: #0B2E5B;
    color: #fff;
}

/* Terms Container */
.terms-container,
#search-results {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start; /* Align items to the left */
    align-items: flex-start; /* Prevent vertical stretching */
}

/* Term Card */
.term-card {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    background-color: #f9f9f9;
    width: calc(33.333% - 20px); /* 3 cards per row on large screens */
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.term-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.term-card h2 {
    margin-bottom: 10px;
    font-size: 1.5rem;
    color: #0B2E5B;
}

.term-card p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #666;
}

.term-card .learn-more {
    text-decoration: none;
    color: #0B2E5B;
    font-weight: bold;
}

.term-card .learn-more:hover {
    text-decoration: underline;
    color: #4786b8;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.pagination-link {
    margin: 0 5px;
    padding: 10px 15px;
    text-decoration: none;
    color: #0B2E5B;
    border: 1px solid #0B2E5B;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.pagination-link:hover,
.pagination-link.active {
    background-color: #0B2E5B;
    color: #fff;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .term-card {
        width: calc(50% - 20px); /* 2 cards per row on medium screens */
    }

    .alphabetical-nav a {
        font-size: 0.9rem; /* Adjust link size for smaller screens */
    }
}

@media (max-width: 768px) {
    .term-card {
        width: 100%; /* Full width on small screens */
    }

    .alphabetical-nav {
        gap: 2px; /* Reduce spacing between letters */
    }

    .alphabetical-nav a {
        padding: 3px 8px; /* Smaller padding for smaller screens */
    }

    #search-bar {
        font-size: 0.9rem; /* Adjust font size for smaller screens */
    }
}

/* =========================
   CIS Author Box (v3 - Blue Theme)
   Clean, professional, IR35UK-style
   ========================= */

.cis-author-box-v3 {
    border: 1px solid #034378;
    border-radius: 12px;
    padding: 18px 20px;
    margin-top: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
    position: relative;
    overflow: hidden;

    /* subtle elevation */
    box-shadow: 0 6px 18px rgba(10, 37, 64, 0.04);

    /* brand accent (blue, not green) */
    border-left: 4px solid #034378;
}

/* top divider glow */
.cis-author-box-v3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #dbeafe, transparent);
}

/* header row */
.cis-author-header-v3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

/* label */
.cis-author-label-v3 {
    font-size: 12px;
    color: #64748b;
    letter-spacing: 0.4px;
}

/* verified badge (more neutral + authoritative) */
.cis-author-verified-v3 {
    font-size: 11px;
    color: #fff;
    font-weight: 600;
    background: #034378;
    padding: 3px 8px;
    border-radius: 20px;
    border: 1px solid #dbeafe;
}

/* author name */
.cis-author-name-v3 a {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    display: inline-block;
    margin-top: 2px;
}

.cis-author-name-v3 a:hover {
    color: #1d4ed8;
}

/* credentials */
.cis-author-credentials-v3 {
    font-size: 13px;
    color: #475569;
    margin: 6px 0 10px;
}

/* description */
.cis-author-description-v3 {
    font-size: 14px;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* meta (review date etc.) */
.cis-author-meta-v3 {
    font-size: 12px;
    color: #034378;
    margin-bottom: 12px;
}

/* link button (clean, subtle CTA style) */
.cis-author-links-v3 a {
    display: inline-block;
    font-size: 13px;
    color: #1d4ed8;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 12px;
    border: 1px solid #dbeafe;
    border-radius: 6px;
    background: #f8fbff;
    transition: all 0.2s ease;
}

.cis-author-links-v3 a:hover {
    background: #eef4ff;
    border-color: #bfdbfe;
}

/* mobile refinement */
@media (max-width: 600px) {
    .cis-author-box-v3 {
        padding: 16px;
    }

    .cis-author-name-v3 a {
        font-size: 16px;
    }
}

/* ===== CIS FAQ Section Styles START ===== */

/* Wrapper */
.cisfaq_v1_wrap {
  margin-top: 40px;
  border-top: 1px solid #e6ecf0;
  padding-top: 20px;
}

/* Heading */
.cisfaq_v1_heading {
  font-size: 20px;
  color: #0b3c5d;
  margin-bottom: 16px;
}

/* Individual item */
.cisfaq_v1_item {
  border-bottom: 1px solid #e5e7eb;
}

/* Question button */
.cisfaq_v1_question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  cursor: pointer;
  position: relative;
}

/* Add + icon */
.cisfaq_v1_question::after {
  content: '+';
  position: absolute;
  right: 0;
  font-size: 18px;
  transition: transform 0.2s ease;
}

/* Active state icon */
.cisfaq_v1_item.active .cisfaq_v1_question::after {
  content: '−';
}

/* Answer */
.cisfaq_v1_answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

/* Answer text */
.cisfaq_v1_answer p {
  margin: 0 0 14px 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
}

/* Open state */
.cisfaq_v1_item.active .cisfaq_v1_answer {
  max-height: 200px;
}

/* ===== CIS FAQ Section Styles END ===== */