
@font-face {
    font-family: 'SpoqaHanSansNeo-Regular';
    src: url('/wp-content/uploads/fonts/SpoqaHanSansNeo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'SpoqaHanSansNeo-Medium';
    src: url('/wp-content/uploads/fonts/SpoqaHanSansNeo-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'SpoqaHanSansNeo-Thin';
    src: url('/wp-content/uploads/fonts/SpoqaHanSansNeo-Thin.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'SpoqaHanSansNeo-Light';
    src: url('/wp-content/uploads/fonts/SpoqaHanSansNeo-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'SpoqaHanSansNeo-Bold';
    src: url('/wp-content/uploads/fonts/SpoqaHanSansNeo-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'SpoqaHanSansNeo-Regular', sans-serif;
}

::-webkit-scrollbar {
    height: 5px;
    width: 5px;
  }
  
  ::-webkit-scrollbar-thumb {
    background-color: rgba(6, 106, 152, 0.3);
    border-radius: 5px;
  }
  
  ::-webkit-scrollbar-thumb:active {
    background-color: rgba(6, 106, 152, 0.4);
  }
  
  ::-webkit-scrollbar-thumb:hover {
    background-color: rgba(6, 106, 152, 0.6);
  }
  
  ::-webkit-scrollbar-track {
    background-color: rgba(6, 106, 152, 0.08);
  }
  

.max-width {
    max-width: 1360px;
    margin: auto;
    width: 100%;
    padding-left: 30px !important;
    padding-right: 30px !important;
}
ol, ul{
    margin-bottom: 3px;
}
.content{
    max-width: 1360px;
    margin: auto;
    width: 100%;
    padding-left: 30px !important;
    padding-right: 30px !important;

}


body {
    
    background-color: #f7f7fc;
}

/* Header styles */
header {
    position: fixed;
    height: 84px;
    /* Fixes the header to the viewport */
    top: 0;
    /* Aligns the header to the top of the viewport */
    left: 0;
    /* Ensures it starts from the left edge */
    width: 100%;
    /* Makes the header full width */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
    background-color: #fafbff;
    z-index: 1000;
    /* Ensures the header stays above other content */
}

header>div {
    padding: 15px 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fafbff;
}
header nav{
    align-self: end;
}

.footlogo{
    height: 100px;
    width: 100%;
}
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    margin-right: 10px;
    margin-top: -7px;
}

.logo span {
    font-weight: 700;
    color: #F58220;
    /* Orange color for ETF */
    font-size: 1.2rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin: auto;
}

nav ul li a,nav ul li a:active,nav ul li a:focus {
    font-size: 14px;
    color: #001b3c;
    padding: 5px 15px;
    text-decoration: none;
    font-family: SpoqaHanSansNeo-Medium;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

nav ul li a:hover:not(.sub-nav ul li a:hover) {
    background: #ffede4;
    border-radius: 50px;
    transition: all .2s ease-in-out;
    text-decoration: none;
    color: #001b3c;
}

.notification {
    background-color: red;
    border-radius: 50%;
    width: 8px;
    height: 8px;
    display: inline-block;
    margin-left: 5px;
}

.search-invest {
    display: flex;
    align-items: center;
}

.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 5px 10px;
}

.search-box input {
    border: none;
    outline: none;
    padding: 5px;
    border-radius: 50px;
}

.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
}
/* invest btn */
.custom-btn-icon {
    font-family: SpoqaHanSansNeo-Regular;
    padding: 0;
    border-radius: 80px;
    background: #f58220;
    display: flex;
    align-items: center;
    border: 0;
    cursor: pointer;
    transition: all .2s ease-in-out;
}
.custom-btn-icon p {
    padding: 9px 30px;
    font-size: 16px;
    color: #fff !important;
    margin-bottom: 0 !important;
    border-right: 3px solid #f58220;
    transition: all .2s ease-in-out;
}
.custom-btn-icon img {
    padding: 10px 19px;
    transition: all .2s ease-in-out;
}
.custom-btn-icon:hover p {
    border-right: 3px solid #fff;
    transition: all .2s ease-in-out;
}
.custom-btn-icon:hover img {
    transform: rotate(45deg);
    transition: all .2s ease-in-out;
}
/* btn over */


/* SubHeadercss */
/* Sub Header */
/* Sub-header styles */
.sub-header {
    display: none;
    position: fixed;
    top: 84px;
    left: 0;
    width: 100%;
    background-color: #f7f7fc;
    padding: 0px;
    transition: opacity 0.1s ease, transform 0.3s ease;
    z-index: 999;
}

/* When .sub-header is visible */
.sub-header.visible {
    display: flex;
    opacity: 1;
    background: linear-gradient(90deg,#043b72 50%,#fff 0);
    transform: translateY(0);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 4px 50px 0px;
}
.background-div{
    background-color: white;
    display: flex;
}
/* Optional: Hide sub-header when not visible */
.sub-header.hidden {
    opacity: 0;
    transform: translateY(-100%);
    display: flex;
}
/*  */

.insights-intro {
    width: calc(100%* 4 / 12 - (12 - 4) * (0px / 12));
    padding: 32px 32px 32px 0;
    border-radius: 0 24px 24px 0;
    background: url(/wp-content/uploads/2025/01/submenu-bg.png) 100% no-repeat;
    background-color: #043b72;
}
.insights-intro h2{
    font-size: 26px;
    color: #fff;
    font-family: SpoqaHanSansNeo-Medium;
    height: 100%;
    display: flex;
    align-items: center;
    margin: 0;
}
.background-div .sub-nav{
    width: calc(100%* 8 / 12 - (12 - 8)*(0px / 12));
    display: flex;
}

/* MYNEW@SUB */



/* sd  */

.sub-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-auto-flow: column;
    margin-left: 54px;
    justify-content: space-between;
    width: -webkit-fill-available;
}

.sub-nav ul li {
    display: flex;
    align-items: center;
}

.sub-nav ul li img {
    width: 40px;
    height: 40px;
    margin-right: 4px;
}

.sub-nav ul li a {
    color: #585e6b;
    padding: 0;
    font-size: 16px;
    letter-spacing: 0.00938em;
    text-decoration: none;
    font-family: 'SpoqaHanSansNeo-Regular';
}

hr {

    width: 1528px;
    /* Sets the width to 80% of the container */
    border: 0.3px;
    margin: 0 auto;
    /* Centers the hr by applying auto margins on the left and right */
    margin-top: 5%;
    margin-bottom: 5%;
    border: 1px solid #ccc;
    /* Adjust the border thickness and color as needed */
}

.sub-nav ul li a:hover {
    color: #F58220;

}

/* FooterCss */

/* General body styles */
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    /* Ensure the body takes up at least the full viewport height */
}

/* Wrapper to ensure footer sticks to the bottom */
body {
    display: flex;
    flex-direction: column;
}

/* Main content styles */
.main-content {
    flex: 1;
    /* Allow main content to take available space */
}

/* Footer styles */
.footer h5 {
    margin-bottom: 10px;
}

.footer ul {
    list-style: none;
}

.footer hr {
    margin: 25px;
}

footer {
    background-color: #e2ecff;
}

.footer {
    background-color: #e2ecff;
    /* Dark blue background color */
    color: #404040;
    /* White text color */
    display: flex;
    justify-content: space-between;
    /* Space out the columns */
    padding: 20px;
    /* Add padding */
    width: 100%;
    position: relative;
    bottom: 0;
}

/* Column styles */
.firstcolumn,
.secondcolumn,
.thirdcolumn,
.fourthcolumn {
    flex: 1;
    /* Each column takes up equal space */
    padding: 0 10px;
    /* Add horizontal padding */
}

/* Ensure content is visible in columns */
.firstcolumn,
.secondcolumn,
.thirdcolumn,
.fourthcolumn {
    display: flex;
    /* align-items: center; Center content vertically */
    justify-content: center;
    /* Center content horizontally */
}


/* Initially hide the sub-header */
#sub-header2 {
    display: none;
    /* Alternatively, you can use visibility or opacity for smooth transition effects */
}

/* Show the sub-header when 'visible' class is added */
#sub-header2.visible {
    display: block;
}



.endfoot {
    display: flex;
    margin: auto;
    padding-top: 29px;
    flex-direction: row;
    justify-content: space-between;
    height: 100px;
    width: 80%;
    background-color: #f58220;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    color: #FFFFFF;
}

.subsec {
    flex-basis: 30%;
}

/* socialmedia */

.social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-icons>li {
    display: inline-block;
}

.social-icons>li>a {
    background: #f5f5f5;
    display: block;
    margin: 0 8px 8px 0;
    text-align: center;
    line-height: 32px;
    font-size: 14px;
    height: 32px;
    width: 32px;
    color: #777777;
}

.social-icons>li>a:hover,
.social-icons>li>a:focus {
    background: #f9af36;
    color: #ffffff;
}

/* --- [ Social Icons Size ] --- */

.social-icons-lg>li>a {
    line-height: 48px;
    font-size: 16px;
    height: 48px;
    width: 48px;
}

.social-icons-md>li>a {
    line-height: 40px;
    height: 40px;
    width: 40px;
}

/* --- [ Social Icons Mode ] --- */

.social-icons-round>li>a {
    border-radius: 2px;
}

.social-icons-circle>li>a {
    border-radius: 100%;
}

/* --- [ Social Icons Colored ] --- */

.social-icons-colored>li>a {
    color: #ffffff;
}

.social-icons-colored>li>a:hover,
.social-icons-colored>li>a:focus {
    opacity: 0.85;
}

/* --- [ Social Icons Simple ] --- */

.social-icons-simple>li>a {
    display: inline;
    background: none;
    margin: 0 10px 10px 0;
}

.social-icons-simple>li>a:hover,
.social-icons-simple>li>a:focus {
    background: none;
    color: inherit;
}

.footer ul {
    line-height: 36px;
}

/* parent div alignemnts */
.firstdiv {
    display: flex;
    flex-direction: column;
}

.firstdiv h3,
.social {
    margin-bottom: 20px;
    margin-left: 60px;
    color: #001133;
}

.social {
    margin-bottom: 25px;
}

/* button css get it on googlplay */
/*<![CDATA[*/
@font-face {
    font-family: "fontfutura";
    src: url("https://fonts.googleapis.com/css?family=Open+Sans") format("ttf");
    font-weight: normal;
    font-style: normal;
}

a.btn-google {
    color: #fff
}

.btn {
    padding: 10px 16px;
    margin: 1px 5px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    font-weight: 500;
    text-decoration: none;
    display: inline-block
}

.btn:active:focus,
.btn:focus {
    outline: 0
}

.btn:focus,
.btn:hover {
    color: #333;
    text-decoration: none;
    outline: 0
}

.btn:active {
    outline: 0;
    -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125)
}

.btn-google {
    color: #fff;
    background-color: #111;
    border-color: #000;
    padding: 15px 16px 5px 40px;
    position: relative;
    font-family: fontfutura;
    font-weight: 600
}

.btn-google:focus {
    color: #fff;
    background-color: #555;
    border-color: #000
}

.btn-google:active,
.btn-google:hover {
    color: #fff;
    background-color: #555;
    border-color: #000;
}

.btn-google:before {
    content: "";
    background-image: url(https://4.bp.blogspot.com/-52U3eP2JDM4/WSkIT1vbUxI/AAAAAAAArQA/iF1BeARv2To-2FGQU7V6UbNPivuv_lccACLcB/s30/nexus2cee_ic_launcher_play_store_new-1.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 30px;
    height: 27px;
    position: relative;
    display: inline-block;
    left: -4px;
    top: 50%;
}

.btn-google:after {
    content: "GET IT ON";
    position: absolute;
    top: 5px;
    left: 40px;
    font-size: 10px;
    font-weight: 400;
}

.bn46 {
    width: 150px;
    height: 49px;
}

.gbtn {
    margin-left: 50px;
    display: flex;
    flex-direction: row;
}

.endsection {
    color: #585E6B;
    display: flex;
    justify-content: space-between;
}

/* Socialmedia ends here*/

/* .content {

    max-width: 1500px;
    padding: 0 40px;
    width: 100%;
    margin: auto;

} */

.content {
    padding-top: 120px !important;
    padding-bottom: 10px;
}

.movetop {
    margin-bottom: 5%;
    font-weight: 700;
    color: #043B72;

}


/* Body Cards */
.headline {
    display: flex;
    justify-content: center;
    color: #001b3c;
    font-size: 36px;
    font-family: SpoqaHanSansNeo-Bold;
    margin-bottom: 4px;
}

.para {
    display: flex;
    justify-content: center;
    color: #585e6b;
    font-size: 16px;
    text-transform: unset;
    text-decoration: none;
    margin-bottom: 44px;
}

.headingandfil {
    /* padding-left: 30px; */
    display: flex;
    padding: 0 30px;
    flex-direction: row;
    margin-top: 45px;
    justify-content: space-between;
}
.headingandfil h1,.articles>h2{
    font-family: SpoqaHanSansNeo-Bold;
    font-size: 32px;
    line-height: 32px;
    color: #002B57;
}

.cards {
    height: 500px;
    border-radius: 4px;
    background: transparent;
    margin-inline: 20px;
    margin-top: 25px;
}

.trending {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 0 30px;
}
.trending .row .col-md-6{
    padding: 0;
}
.thedate{
    font-size: 14px;
    line-height: 20px;
    font-family: 'SpoqaHanSansNeo-Medium';
    color: #001B3C;
}
.trending-headers,.articlescar h2{
    margin-top: 0;
    align-items: start;
}
.trending-headers span,.trending-headers a,.trending-headers a:hover,.trending-headers a:visited,.trending-headers a:active,.articlescar h2 a,.articlescar h2 a:hover,.articlescar h2 a:active,.articlescar h2 a:visited{
    font-family: 'SpoqaHanSansNeo-Bold';
    font-size: 24px;
    line-height: 32px;
    color: #002B57;
    text-decoration: none;
}
span.arrow img{
    width: 10px;
    height: 10px;
}
.cards p:not(.thedate),.articlecard p{
    font-size: 16px;
    line-height: 24px;
    margin-top: 12px;
    color: #667085;
}
.articles>h2{
    padding: 30px 0 30px 30px;
}

/* .section-first {
    height: 1200px;
} */


/*  */
.trending {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.cards img:not(.arrow img) {
    height: 290px;
    width: 100%;
    background-size: cover;
    border-radius: 4px;
}


/* filterbutton */

.filter-button {
    background-color: transparent;
    border: 0.5px solid #001b3c;
    color: #001b3c;
    padding: 12px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    border-radius: 60px;
    width: 186.67px;
    /* This will make the button circular */
}

/* title & tags */
.title-tags {
    margin: 24px;
    font-weight: 700;
    color: #E37500;
}

.tag {
    margin-top: 25px;
}

.tags {
    background-color: transparent;
    border: 0.94px solid #C9C9C9;
    color: #797979;
    padding-top: 6.56px;
    padding-right: 15.94px;
    padding-bottom: 6.56px;
    padding-left: 15.94px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    border-radius: 29.06px;
    /* width: 109.88px; */
    height: 32px;
}

/* incardstags */
.incardtags {
    margin-left: 0;
    margin: 14px 10px;
    /* Add this property */
    height: 24px;
    width: auto;
    font-weight: 500;
    text-align: center;
    color: #001B3C;
    border-radius: 16px;
    padding-top: 2px;
    padding-right: 10px;
    padding-bottom: 2px;
    padding-left: 10px;
    background-color: #FFEDE4;
    border: transparent;
}

.cards h2 {
    margin-top: 20px;
    font-size: 24px;
}

.cards p {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 14px;
}

/* Twocards */
.two-cards {
    display: flex;
    flex-direction: row;
}

.twocards {
    width: 100%;
    height: 270px;
    margin: 0 20px;
    border: transparent;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
}

.imgc img {
    width: 320px;
    height: 264px;
    object-fit: cover;
    border-radius: 4px;
    margin: 0;
}

.textareas {
    width: 60%;
    /* adjust the width to fit your needs */
    padding-left: 18px;
    padding-right: 18px;
    display: flex;
    /* add this property */
    flex-direction: column;
    /* add this property */
}

.textareas h2 {
    font-family: 'SpoqaHanSansNeo-Bold';
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 8px;
    margin-top: 12px;
    color: #002B57;
}

.textareas p {
    font-size: 16px;
    line-height: 24px;
    color: #667085;
}

.articlescar h2,.articlescar h2 span {
    font-family: SpoqaHanSansNeo-Bold;
    font-size: 18px;
    line-height: 27px;
}
.articlescar{
    display: flex;
    flex-wrap: wrap;
    padding: 0 30px;
}

/* articles */
.articlecards {
    padding-top: 10px;
    margin-top: 50px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}

.articlecard {
    background-size: cover;
    width: 100%;
}

.articlecard img {
    width: 100%;
    height: 240px;
    border-radius: 4px;
}

.articlecards h2 {
    font-weight: 700;
    font-size: 18px;
    color: #002B57;
}

.articlecard p {
    font-size: 16px;
    line-height: 24px;
}



h2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h2 span.arrow {
    margin-left: auto;
    /* push the arrow to the right corner */
}


/* dropdwoncss */
.dropdown {
    position: relative;
    display: inline-block;
}

.filter-button {
    background-color: #fafafa;
    /* Green */
    color: black;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    border: #000 1px solid;
}

.filter-button:hover {
    background-color: #c6c7c6;
    /* Darker green on hover */
}

.dropdown-content {
    padding: 10px;
    display: none;
    /* Hidden by default */
    position: absolute;
    background-color: white;
    min-width: 192px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 15px;
}

.dropdown-content a {
    color: black;
    padding: 12px 12px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    /* Light gray on hover */
}

.dropdown:hover .dropdown-content {
    display: block;
    /* Show dropdown on hover */
}

.dropdown-content.show {
    display: block;
    /* Show the dropdown when .show is added */
}


/* TABS CONTAINER */

.tcon {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    /* Make sure it takes full width */
    /* height: 44px; */
}

.tabs-container {
    display: flex;
    border: 1px solid #a2aab8;
    border-radius: 100px;
    padding: 4px;
}


.tab {
    color: #585e6b;
    text-transform: none;
    padding: 8px 20px;
    border-radius: 80px;
    background: transparent;
    transition: all .2s ease-in-out;
    border: none;
    font-size: 16px;
    text-transform: unset;
    text-decoration: none;
    min-width: 90px;
    line-height: 1.25;
    letter-spacing: 0.02857em;
    min-height: 48px;
}

.tab.active {
    color: #fff;
    background: #043b72;
}

.tab:not(.active):hover {
    background: #edf0fe;
    transition: all .2s ease-in-out;
}
.post-title a{
    text-decoration: none !important;
}

.tab:not(:last-child) {
    margin-right: 1px;
}



/*  */
 /* Mobile devices (phones 480px and below) */
@media (max-width: 480px) {
    .tabs-container {
        padding: 0 10px; /* Adjust horizontal padding */
    }

    .tab {
        font-size: 14px; /* Smaller font size for mobile */
        padding: 8px 12px; /* Adjust padding */
        white-space: nowrap; /* Prevent text from wrapping */
    }
}

/* Medium devices (tablets 481px to 768px) */
@media (max-width: 768px) {
    .tabs-container {
        flex-direction: row;
        max-width: 100%; /* Ensure the tabs container stays within its parent width */
        overflow-x: auto; /* Allow horizontal scrolling if tabs overflow */
    }

    .tab {
        font-size: 15px; /* Slightly smaller font size */
        padding: 10px 16px; /* Adjust padding */
        white-space: nowrap; /* Prevent text from wrapping */
    }
}

/* Larger devices (tablets above 768px) */
@media (max-width: 1024px) {
    .tabs-container {
        padding: 0 20px;
    }

    .tab {
        font-size: 16px; /* Standard font size */
        padding: 12px 18px; /* Increase padding */
    }
}

/* MOBILE RESPONSIVE */

/* Mobile responsive styles */
@media (max-width: 768px) {
    /* Header */
    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    

    .logo img {
        margin-left: 15px;
        height: 60px;

    }

    .logo span {
        font-size: 1rem;
    }

    nav ul {
        flex-direction: column;
        margin-top: 10px;
    }

    nav ul li {
        margin: 10px 0;
    }

    .search-invest {
        margin-top: 10px;
        width: 100%;
    }

    .search-box {
        width: 100%;
    }

    /* Sub-header */
    .sub-header {
        top: 84px;
        padding: 10px;
    }

    .sub-header.visible {
        display: block;
    }

    /* Insights intro */
    .insights-intro {
        max-width: 100%;
        margin-right: 0;
        padding: 15px;
        background-attachment: unset;
    }

    /* Sub-nav */
    .sub-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 0px;
    }

    .sub-nav ul li {
        margin: 0;
    }

    /* Footer */
    .footer {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .firstcolumn, .secondcolumn, .thirdcolumn, .fourthcolumn {
        flex-basis: 100%;
        margin-bottom: 20px;
        text-align: center;
    }

    .endfoot {
        flex-direction: column;
        justify-content: center;
        padding: 20px 0;
        height: auto;
        margin-top: 15px;
    }

    /* Articles and cards */
    .articlecards {
        flex-direction: column;
    }

    .articlecard {
        margin: 10px 0;
    }

    /* Two cards layout */
    .two-cards {
        flex-direction: column;
    }

    .twocards {
        flex-direction: column;
        width: 100%;
    }

    .imgc {
        width: 100%;
        height: auto;
    }

    .textareas {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }

    .textareas h2 {
        font-size: 14px;
    }

    /* Filter buttons */
    .filter-button {
        width: 100%;
        margin-top: 10px;
    }

    /* Title and tags */
    .title-tags {
        margin: 10px 0;
        font-size: 18px;
    }

    .tag {
        display: block;
        margin-top: 10px;
    }

    .tags {
        width: 100%;
        text-align: center;
        padding: 8px;
    }

    .incardtags {
        margin: 10px 0;
    }

    /* Dropdowns */
    .dropdown {
        width: 100%;
        margin-top: 10px;
    }

    .dropdown-content {
        min-width: 100%;
        padding: 5px;
    }

    /* Tabs */
    .tabs-container {
        flex-direction: row;
        max-width: 100%;
    }

    
    .tab {
        width: 100%;
        text-align: center;
        padding: 15px;
        font-size: 14px;
    }

    .tab.active {
        background-color: #002366;
        color: white;
    }

    /* Content Padding */
    .content {
        padding-top: 120px;
    }

    /* Cards */
    .cards {
        width: 100%;
        margin-inline: 0;
    }

    .cards img {
        height: 180px;
    }

    .movetop {
        margin-bottom: 3%;
    }

    /* Headline and paragraph in cards */
    .headline {
        font-size: 20px;
        text-align: center;
    }

    .para {
        font-size: 14px;
    }

    .headingandfil {
        font-size: 18px;
        flex-direction: column;
    }

    .trending {
        flex-direction: column;
    }

    .section-first {
        height: auto;
    }

    .social-icons-lg>li>a {
        height: 40px;
        width: 40px;
    }

    .social-icons-md>li>a {
        height: 35px;
        width: 35px;
    }

    .social-icons>li>a {
        height: 30px;
        width: 30px;
    }

    .social-icons-simple>li>a {
        margin: 0 6px 6px 0;
    }
}

@media (max-width: 480px) {
    /* Mobile Styles (Small screens) */
    header {
        padding: 10px;
    }

    .logo img {
        height: 50px;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .search-box {
        width: 100%;
    }

    .sub-header {
        top: 84px;
        padding: 10px;
    }

    .insights-intro {
        margin-right: 0;
        padding: 10px;
        max-width: 100%;
    }

    .footer {
        flex-direction: column;
        padding: 10px;
    }

    .endfoot {
        flex-direction: column;
        justify-content: center;
        padding: 10px;
    }

    .filter-button {
        width: 100%;
    }

    .cards img {
        height: 220px;
    }

    .title-tags {
        font-size: 14px;
    }

    .tag {
        margin-top: 10px;
    }

    .dropdown-content {
        min-width: 100%;
    }

    .tab {
        padding: 12px 15px;
    }
}




/* css for indiviudal blogs page  */
/* General Styling */
.entry-content {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    margin-bottom: 40px;
    padding: 0 20px;
}

.entry-content a {
    color: #007bff;
    text-decoration: none;
}

.entry-content a:hover {
    text-decoration: underline;
}

/* Featured Image */
.featured-image {
    margin-bottom: 20px;
}

.featured-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Post Content */
.entry-content .read-more {
    display: inline-block;
    margin-top: 15px;
    color: #007bff;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.entry-content .read-more:hover {
    color: #0056b3;
}

/* Post Meta */
.post-meta {
    font-size: 0.9rem;
    color: #777;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.post-meta span {
    margin-right: 15px;
}

.post-meta .author {
    font-weight: bold;
}

.post-meta .categories,
.post-meta .tags {
    font-style: italic;
}

.post-meta .comments-count {
    font-weight: 600;
}

/* Pagination */
.page-links {
    margin-top: 20px;
}

.page-links a {
    padding: 5px 10px;
    margin-right: 10px;
    background-color: #f5f5f5;
    border-radius: 5px;
    color: #333;
    text-decoration: none;
}

.page-links a:hover {
    background-color: #007bff;
    color: white;
}

/* Back to Top Button */
.back-to-top {
    display: none;
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: #0056b3;
}

/* Social Share Buttons */
.social-share {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.social-share a {
    color: white;
    background-color: #3b5998; /* Facebook */
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.social-share .twitter-share {
    background-color: #1da1f2;
}

.social-share .linkedin-share {
    background-color: #0077b5;
}

.social-share a:hover {
    opacity: 0.8;
}

/* Related Posts */
.related-posts {
    margin-top: 40px;
}

.related-posts h3 {
    font-size: 1.25rem;
    color: #333;
    margin-bottom: 10px;
}

.related-posts ul {
    list-style: none;
    padding: 0;
}

.related-posts li {
    margin-bottom: 10px;
}

.related-posts a {
    font-size: 1rem;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-posts a:hover {
    color: #0056b3;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .entry-content {
        padding: 0 15px;
    }

    .back-to-top {
        bottom: 15px;
        right: 15px;
        padding: 10px;
    }

    .social-share {
        flex-direction: column;
        gap: 10px;
    }

    .social-share a {
        width: 100%;
        text-align: center;
    }
}


.subsec.footer-links a.MuiTypography-root.MuiTypography-inherit.MuiLink-root.MuiLink-underlineAlways {
    text-decoration: none !important;
}


/* TEMPORARY CSS for BLOG SEACRH */
/* Make sure the layout adjusts when posts are hidden or filtered */
.trending, .articles {
    margin-top: 30px !important;
}

.trending .cards, .trending , .articlescar .articlecard {
    display: block !important;
    transition: opacity 0.3s ease-in-out !important;
}

.trending .cards, .trending  {
    margin-bottom: 20px !important;
}

.articlescar .articlecard {
    margin-bottom: 20px !important;
}

.search-container {
    margin-bottom: 10px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border: 1px solid #585e6b;
    padding: 5px 5px;
    border-radius: 25px;
    height: fit-content;
    align-self: self-end;
}

#trending-search {
    font-size: 14px !important;
    border-radius: 4px !important;
    padding: 0 0 0 10px !important;
    margin: 0;
    line-height: normal;
    border: none;
}

#search-button {
    padding: 8px 15px !important;
    border: none !important;
    background-color: #f58220 !important;
    color: white !important;
    cursor: pointer !important;
    border-radius: 25px !important;
    font-size: 12px !important;
}
#search-button img{
    filter: brightness(0) invert(1);
}
#search-button:hover {
    background-color: #043b72 !important;
}

/* Ensure post titles and content are visible even after filtering */
.trending .cards, .trending, .articlescar .articlecard {
    opacity: 1 !important;
}

.trending .cards[style*="display: none"], .trending [style*="display: none"], .articlescar .articlecard[style*="display: none"] {
    opacity: 0 !important;
}
