    /*

    know you leader Css file 

    */

    body {
        font-family: 'Open Sans', Helvetica, Arial, sans-serif;
        font-size: 13px;
        font-weight: 400;
        overflow-x: auto;
    }

    a, button { transition: all 0.3s ease; }
    a:hover,
    a:focus {
        text-decoration: none;
        outline: none;
    }

    .tm-position-relative { position: relative; }
    .tm-flex-align-center { align-items: center; }
    .tm-fa-6x { font-size: 6em; }
    .tm-margin-b-0 { margin-bottom: 0; }
    .tm-margin-b-20 { margin-bottom: 20px; }
    .tm-p-4 { padding: 2rem!important; }
    .tm-color-white { color: white; }
    .tm-color-primary {	color: #190c96; }
    .tm-bg-primary { background: #190c96; }
    .tm-bg-gray { background: #F4F4F4; }
    .tm-bg-white { background: white; }
    .tm-bg-dark-blue { background: #190c96; }

    .tm-bg-white-shadow {
        -webkit-box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
        -moz-box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
        box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
    }

    .tm-section-pad { padding: 30px 50px; }
    .tm-section-pad-2 { padding: 30px 40px; }
    .tm-article-pad { padding: 28px; }
    .tm-sidebar-pad { padding: 15px 20px; }
    .tm-sidebar-pad-2 { padding: 21px 20px; }
    .tm-pad { padding: 20px; }

    a.tm-color-primary:hover,
    a.tm-color-primary:active {
        color: #190c96;
    }

    .tm-font-light { font-weight: 300; }
    .tm-font-normal { font-weight: 400; }
    .tm-font-semibold { font-weight: 600; }

    p { 
        color: #898989; 
        line-height: 1.9;
    }

    .navbar { 
        width: 100%; 
        padding-top: 0;
        padding-bottom: 0;
    }
    .navbar-brand {
        font-size: 1.9rem;
        font-weight: 700;
    }
    .navbar a { color: black; }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(238, 80, 87, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
    }

    .navbar-toggler { 
        border-color: rgb(19, 13, 135); 
        cursor: pointer;
    }

    .nav-item {
        background: transparent;
        border-left: 1px solid #ccc;
        cursor: pointer;
        font-size: 0.8rem;
        font-weight: 700;
        
        text-transform: uppercase;
        padding: 0;
        transition: all 0.5s ease;
    }

    .nav-item:last-child { border-right: 1px solid #ccc; }

    .nav-link.active,
    .nav-link:hover {
        color: white;
        background: hsl(233, 93%, 26%);	
    }

    .tm-top-bar .navbar-expand-lg .navbar-nav .nav-link { padding: 50px 35px; }

    .tm-top-bar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 0;
        z-index: 10000;
        transition: all 0.2s ease-in-out;
        height: 119px;
        background: white;
    }

    .tm-top-bar.active {
        height: 79px;
        box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
    }

    .tm-top-bar.active .navbar-expand-lg .navbar-nav .nav-link { padding: 30px 35px; }
    .tm-top-bar-bg { height: 119px; }
    .tm-section { min-height: 515px; }

    .tm-section-pad {
        padding-top: 80px;
        padding-bottom: 80px;
    }


    #tm-section-6 {
        background-position: top center;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .tm-bg-img {
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
                justify-content: center
    }

    .qs-datepicker {
        font-family:  'Open Sans', Helvetica, Arial, sans-serif;
        font-size: 0.8rem;
    }

    .form-control {
        border-radius: 0;
        padding: 0.6rem 0.75rem;
    }

    .form-control:focus {
        border-color: #190c96;
        box-shadow: 0 0 0 0.2rem rgba(238,80,87,.25);
    }

    .btn-primary {
        background-color: #190c96;
        border-color: #190c96;
        border-radius: 0;
        cursor: pointer;
        font-size: 0.7rem;
        font-weight: 600;
        padding: 13px 30px;
        text-transform: uppercase;
    }

    .btn-primary:hover,
    .btn-primary:focus,
    .btn-primary:active {
        background-color: #190c96;
        border-color: #190c96;
    }

    .tm-search-form .tm-form-element { padding: 0 5px; }
    .tm-form-element { position: relative; }
    .tm-form-element:last-child { margin-right: 0; }

    .tm-form-element-icon {
        color: #190c96;
        position: absolute;
        top: 10px;
        left: 15px;
    }

    .tm-form-element-icon-small {
        top: 16px;
        left: 18px;
    }

    select.tm-select.form-control:not([size]):not([multiple]) { height: 100%; }

    select:not([multiple]) {
        -webkit-appearance: none;
        -moz-appearance: none;
        background-position: right 50%;
        background-repeat: no-repeat;
        background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAMCAYAAABSgIzaAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDZFNDEwNjlGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDZFNDEwNkFGNzFEMTFFMkJEQ0VDRTM1N0RCMzMyMkIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo0NkU0MTA2N0Y3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo0NkU0MTA2OEY3MUQxMUUyQkRDRUNFMzU3REIzMzIyQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PuGsgwQAAAA5SURBVHjaYvz//z8DOYCJgUxAf42MQIzTk0D/M+KzkRGPoQSdykiKJrBGpOhgJFYTWNEIiEeAAAMAzNENEOH+do8AAAAASUVORK5CYII=);
        padding: .5em;
        padding-right: 1.5em

    }


    /* https://stackoverflow.com/questions/20163079/remove-select-arrow-on-ie */
    select.tm-select::-ms-expand { display: none; }

    .tm-select {
        border-radius: 0;
        color: #858789;
    }

    .tm-search-form .form-control {
        font-size: 0.8rem;	
        padding: 0.75rem 0.75rem 0.75rem 45px;
    }

    .tm-search-form .tm-form-element { width: 33.3333%; }
    .tm-search-form .tm-form-element-2 { width: 25%; }
    .tm-search-form-row { width: 900px; }
    .tm-btn-search { width: 100%; }

    /* https://css-tricks.com/creating-non-rectangular-headers/ */
    .tm-section-down-arrow {
    position: absolute;
    top: -1px;
    width: 100%;
    height: 100px;
    }

    .tm-pt-5 { padding-top: 150px; }
    .tm-pb-4 { padding-bottom: 100px; }

    .tm-section-2 {
        background: #190c96;
        padding-top: 50px;
        position: relative;
    }

    .tm-section-title {
        color: white;
        font-size: 3rem;
    }

    .tm-section-title-2 {
        font-size: 2.2rem;
        font-weight: 600;
    }

    .tm-section-subtitle {
        font-size: 1rem;
        font-weight: 300;
        margin-bottom: 25px;
    }

    .tm-section-subtitle-2 { font-size: 1.8rem; }

    .tm-btn-white-bordered {
        display: inline-block;
        padding: 10px 25px;
        border: 2px solid white;
        background: transparent;
        text-transform: uppercase;
    }

    .tm-btn-white-bordered:hover,
    .tm-btn-white-bordered:focus {
        color: #190c96;
        background: white;	
    }

    .slick-dots { bottom: -35px; }




    .tm-article {
        padding: 40px;
        transition: all 0.3s ease;
    }

    .tm-article:hover {
        -webkit-box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
        -moz-box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
        box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
        transform: scale(1.1);
    }

    .tm-article-title-1 {
        font-size: 1.3rem;
        font-weight: 600;
        margin-bottom: 20px;
    }

    .tm-article-title-2 { 
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 1px;
    }

    .tm-article-title-3 { font-size: 1.1rem; }

    .tm-btn-primary {
        display: block;
        width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.75rem;
    }

    .tm-sidebar-title {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }

    .tm-sidebar-item-title {
        font-size: 1.2rem;
        letter-spacing: 1px;
        margin-bottom: 0;	
    }

    /* FIX: Make all carousel items equal height */
    .tm-carousel-item {
        display: flex !important;
        flex-direction: column;
        height: 380px;              /* you can increase/decrease */
        box-sizing: border-box;
        overflow: hidden;
    }

    /* FIX: Make the image same height for all items */
    .tm-carousel-item img {
        height: 250px;              /* you can adjust */
        width: 150%;
        object-fit: cover;          /* makes all images uniform */
        display: block;
    }

    /* Content area same height */
    .tm-carousel-item .tm-article-pad {
        flex: 1;
        padding: 15px;
        display: flex;
        flex-direction: column;
    }

    .tm-article-pad p {
        flex: 5;                     /* pushes button to bottom */
        font-weight: 700;        /* bold */
        color: #000000;          /* pure black */
    }

    /* Show 2 items at a time (for Slick) */
    .slick-slide {
        margin-right: 15px;
    }

    /* Make sure both items align */
    .tm-article-carousel .slick-track {
        display: flex !important;
    }
    .tm-recommended-item .tm-bg-gray { transition: all 0.3s ease; }
    .tm-recommended-item:hover .tm-bg-gray { background: #DDD; }

    .tm-recommended-item h4 { 
        color: black; 
        transition: all 0.3s ease;
    }

    /* Make the wrapper position relative */
    .img-wrapper {
        position: relative;
        display: inline-block;
        width: 100%;
    }

    .tm-recommended-item:hover h4 { color: #190c96; }
    .tm-media { align-items: stretch; }

    .tm-media,
    .tm-media-1 {
        margin-bottom: 15px;
    }

    .tm-media:last-child,
    .tm-media-1:last-child {
        margin-bottom: 0;
    }

    .tm-media-body,
    .tm-media-body-1 {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
                align-items: center;
        padding-left: 25px;
    }

    .tm-media-body-v-center {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
                justify-content: center;
                align-items: flex-start;
    }

    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 515px;
        z-index: 1;
        background-color: rgba(0,0,0,0.75);
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tm-bg-video { 
        position: relative; 
        padding-top: 515px;
    }

    video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        z-index: -100;
        transform: translateX(-50%) translateY(-50%);
        background-size: cover;
        transition: 1s opacity;
    }

    .tm-btn-pause { display:none; }

    .tm-btn-play,
    .tm-btn-pause {
        color: rgba(255,255,255,0.5);
        cursor: pointer;
    }

    .tm-media-container { max-width: 772px; }

    #google-map {
        height: 479px;
        width: 100%;    
    }

    .contact-form .form-control {
        background-color: #F4F4F4;
        border:none;
        font-size: 0.8rem;
        font-weight: 300;
    }
/* Dark black placeholder for contact form inputs and textarea */
.contact-form ::placeholder {
    color: rgba(0, 0, 0, 0.85);  /* dark black */
    font-weight: 400;             /* bold for visibility */
    opacity: 1;                   /* ensure full visibility */
}

/* Firefox */
.contact-form :-moz-placeholder {
    color: rgba(0, 0, 0, 0.85);
    font-weight: 400;
}

/* Edge */
.contact-form ::-ms-input-placeholder {
    color: rgba(0, 0, 0, 0.85);
    font-weight: 400;
}
/* Add dark border to contact form inputs and textarea */
.contact-form input,
.contact-form textarea {
    border: 2px solid rgba(0, 0, 0, 0.7);  /* dark border */
    border-radius: 25px;                   /* same rounded style as search box */
    padding: 0.75rem 1rem;                 /* proper padding inside fields */
    background: rgba(154, 150, 150, 0.95);   /* keep slightly transparent white */
    color: #000;                           /* text color black */
    font-weight: 600;                      /* bold text */
    outline: none;                         /* remove default outline */
    transition: all 0.3s ease;             /* smooth hover/focus effect */
}

/* Focus effect: highlight border on click */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #190c96;                /* same primary red as button */
    box-shadow: 0 0 5px rgba(238,80,87,0.5);
}

    .clearfix:after {
    content: " "; /* Older browser do not support empty content */
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
    }

    @media screen and (max-width: 767px) {
        .tm-top-bar.active, .tm-top-bar, .tm-top-bar-bg { height: 65px; }
        .tm-top-bar.active .navbar-expand-lg .navbar-nav .nav-link,
        .tm-top-bar .navbar-expand-lg .navbar-nav .nav-link {
            padding: 12px 15px;
        }
        .tm-news-content-bottom {
            display: block;
        }
        .tm-news-img {
            width: 100%;
            height: auto;
            max-height: 300px;  /* adjust as needed */
            object-fit: cover;
        }
        #mainNav {
            width: 180px;
            position: absolute;
            top: 60px;
            right: 15px;

            -webkit-box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
            -moz-box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
            box-shadow: 0px 0px 7px 0px rgba(214,214,214,1);
        }

        .tm-search-form .tm-form-element { 
            width: 33%; 
            max-width: 215px;
        }

        .tm-search-form-row { width: 98%; max-width: 900px; }
        .tm-recommended-container { margin-top: 30px; }

        video {
            top: 25%;
            left: 0;
            min-width: 50%;
            min-height: 50%;
            width: auto;
            height: auto;	 
        }
    }

    @media screen and (max-width: 767px) {
        .tm-search-form .tm-form-element {
            width: 50%;
            max-width: 235px;
        }

        #tm-section-1 {
            padding-left: 15px;
            padding-right: 15px;
        }

        .tm-media-container,
        .tm-media-title-container {
            max-width: 320px;
            margin-right: auto;
        }

        .tm-media-title-container {
            margin-left: auto;
            margin-bottom: 20px;
        }

        .tm-media-1 {
            flex-direction: column;
            max-width: 280px;
            margin-bottom: 30px;
            margin-left: auto;
            margin-right: auto;
        }

        .tm-media-body-1 {
            padding-left: 0;
            margin-left: 0;
            margin-top: 20px;
        }

        .tm-bg-video { padding-top: 255px; }
        .overlay { height: 255px; }
    }

    @media (max-width: 768px) {
        .tm-hot-news-item {
            width: 100%;
            height: auto;
        }
    }

    @media screen and (max-width: 767px) and (min-width: 524px) {
        .tm-search-form .tm-form-element-100 { 
            width: 100%; 
            max-width: none;
        }

        .tm-search-form .tm-form-element-50 { width: 50%; }
    }

    @media screen and (max-width: 524px) {
        .tm-section-pad-2 { padding: 20px 25px; }

        .tm-search-form .tm-form-element {
            width: 100%;
            max-width: 100%;
        }

        .tm-fx-col-xs { flex-direction: column; }
        .tm-section-pad { padding: 25px 15px; }
        #tm-section-1 { height: 600px; }
    }

    /* IE Fixes */
    @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
        /* IE10+ CSS styles go here */
        .ie-h-align-center-fix {
            margin-left: 0;
            margin-right: 0;
        }

        .ie-10-ml-auto { float: right; }
        .tm-media-body, .tm-media-body > * { width: 100%; }
        .tm-media-body-1, .tm-media-body-1 > * { width: 100%; }
        .tm-media-1 > * { flex: 1 1 auto; }
    }

    @media all and (max-width: 1199px) and (-ms-high-contrast: none), (-ms-high-contrast: active) {
        .ie-container-width-fix { width: 960px; }
    }

    @media all and (max-width: 600px) {
        .ie-container-width-fix-2 { width: 100%; }
    }

    @media all and (max-width: 560px)  and (-ms-high-contrast: none), (-ms-high-contrast: active) {
        .ie-container-width-fix {
            max-width: 530px;
            width: 100%;
        }	
    }
    /* ===== Force Small Navbar Always ===== */
    .tm-top-bar {
        height: 70px !important;
        box-shadow: 0 1px 5px rgba(0,0,0,0.25);
    }

    .tm-top-bar-bg {
        height: 70px !important;
    }

    .tm-top-bar .navbar-expand-lg .navbar-nav .nav-link {
        padding: 15px 25px !important;
    }

    .tm-top-bar.active {
        height: 70px !important;
    }

    .tm-top-bar.active .navbar-expand-lg .navbar-nav .nav-link {
        padding: 15px 25px !important;
    }

    .navbar-brand img {
        height: 40px;
    }

    /* ===== Floating Election Search (Glass Effect) ===== */
    .election-search-form {
        position: relative;
        z-index: 5;
        background: rgba(255, 255, 255, 0.35);
        border: 1.5px solid rgba(255, 255, 255, 0.6);
        border-radius: 22px;
        padding: 30px 35px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    }

    /* inputs */
    .election-search-form .form-control,
    .election-search-form select {
        background: rgba(218, 173, 173, 0.9);
        border-radius: 18px;
        border: none;
    }

    /* search button */
    .election-search-form .tm-btn-search {
        border-radius: 18px;
    }
    /* ==================================================
    FINAL – TRANSPARENT ROUND ELECTION SEARCH FORM
    ================================================== */

    /* remove white bg wrapper */
    #tm-section-1 .tm-bg-white {
        background: transparent !important;
    }

    /* floating glass box */
    #tm-section-1 .election-search-form {
        position: relative;
        z-index: 20;
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(12px);
        border: 1.5px solid rgba(255, 255, 255, 0.35);
        border-radius: 22px;
        padding: 30px 35px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    }


    /* inputs */
    #tm-section-1 .election-search-form input,
    #tm-section-1 .election-search-form select {
        background: rgba(255,255,255,0.85);
        border-radius: 30px;
        border: none;
    }

    /* button */
    #tm-section-1 .election-search-form button {
        border-radius: 30px;
    }

    /* ===== Dark & Bold Placeholder Text ===== */
    .election-search-form ::placeholder {
        color: rgba(0, 0, 0, 0.85);   /* darker */
        font-weight: 600;           /* bold */
        opacity: 1;                 /* force visibility */
    }

    /* Firefox */
    .election-search-form :-moz-placeholder {
        color: rgba(0, 0, 0, 0.85);
        font-weight: 600;
    }

    /* Edge */
    .election-search-form ::-ms-input-placeholder {
        color: rgba(0, 0, 0, 0.85);
        font-weight: 600;
    }

    /* SELECT default text (Provision, District) */
    .election-search-form select {
        color: rgba(0, 0, 0, 0.85);
        font-weight: 600;
    }

    /* Optional: lighter color once selected */
    .election-search-form select option {
        font-weight: 500;
    }

    /* =========================================
    Clean Transparent Election Search Form
    ========================================= */

    #tm-section-1 .election-search-form {
        position: relative;
        z-index: 10;
        background: rgba(255, 255, 255, 0.18); /* light transparency */
        border: 1px solid rgba(255, 255, 255, 0.45);
        border-radius: 28px;
        padding: 30px;
        box-shadow: 0 12px 25px rgba(0,0,0,0.25);
    }

    /* inputs */
    #tm-section-1 .election-search-form input,
    #tm-section-1 .election-search-form select {
        background: rgba(255,255,255,0.92);
        border-radius: 22px;
        border: none;
    }

    /* button */
    #tm-section-1 .election-search-form button {
        border-radius: 22px;
    }
    /* ===== Hot Election News Text Slider with Images ===== */
    #tm-hot-news {
        padding: 50px 0;
    }

    .tm-hot-news-slider {
        width: 100%;
    }

    .tm-hot-news-slider .slick-slide {
        padding: 0 12px;
    }


    .tm-hot-news-item {
        background: rgba(255, 255, 255, 0.2);  /* transparent glass */
        border-radius: 25px;                    /* rounded corners */
        padding: 15px;
        text-align: center;
        backdrop-filter: blur(8px);
        box-shadow: 0 12px 30px rgba(0,0,0,0.25);
        height: 450px;       /* fixed height */
        width: 350px;        /* big square-ish box */
        display: flex;
        flex-direction: column;
        justify-content: flex-end;             /* headline + link at bottom */
        overflow: hidden;
    }

    .tm-news-img {
        width: 100%;
        height: auto;                /* image takes top 60% */
        object-fit: cover;          /* cover without stretching */
        border-radius: 20px;
        margin-bottom: 10px;
    }

    .tm-news-content-bottom {
        width: 100%;
        margin-top: auto;       
        padding-bottom: 10px;   
    }

    .tm-news-title {
        font-weight: 500;
        font-size: 1.1rem;
        color: #111;
        margin-bottom: 6px;
    }

    .tm-news-link {
        font-weight: bold;
        color:#190c96;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    .tm-news-link:hover {
        text-decoration: underline;
    }

    @media (max-width: 768px) {
       #tm-section-1 .ie-container-width-fix-2 {
        display: flex;
        justify-content: center;   /* center left-right */
        align-items: center;       /* center top-bottom */
        min-height: 90vh;          /* big height for perfect center */
    }

    #tm-section-1 {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .election-search-form {
        margin: 0 auto;
    }
}

    /* FORCE button to appear on desktop */
    .tm-article-carousel .tm-btn-primary {
        display: inline-block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Make sure the parent does NOT hide bottom content */
    .tm-carousel-item {
        height: auto !important;
        overflow: visible !important;
    }

    /* Fix layout pushing button out of view */
    .tm-carousel-item .tm-article-pad {
        min-height: 200px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .tm-carousel-item .tm-article-pad p {   
        flex: 1 !important;
    }

    /* this is new css */


/* ===== Most Liked Candidate Carousel ===== */
.tm-article-carousel {
    display: flex;
    gap: 20px; /* space between cards */
}

.tm-carousel-item {
    flex: 0 0 300px;      /* card width */
    height: auto;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.tm-carousel-item:hover {
    transform: scale(1.03);
}

.tm-carousel-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.tm-article-pad h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #34495e;
}

.tm-article-pad p {
    font-weight: 500;
    color: #555;
    margin-bottom: 10px;
}

.tm-btn-primary {
    display: inline-block;
    background:#190c96;
    color: #fff;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.tm-btn-primary:hover {
    background: #190c96;
}

/* Slick Slider fix for responsive */
@media (max-width: 992px) {
    .tm-carousel-item {
        flex: 0 0 250px;
    }
}

@media (max-width: 576px) {
    .tm-carousel-item {
        flex: 0 0 200px;
    }
}

.tm-top-bar .navbar-nav .nav-link {
    color: #000 !important;
}

/* Hot news slider item tweaks */
.tm-hot-news-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;  /* push content to bottom */
    height: auto;               /* remove fixed height */
    padding: 10px;              /* reduce padding */
    box-sizing: border-box;
}

.tm-hot-news-item img.tm-news-img {
    max-height: 180px;           /* adjust as needed */
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.tm-news-content-bottom {
    padding: 10px 5px 5px 5px;   /* reduce spacing */
    text-align: left;
}

/* Footer base */
.tm-footer {
    background-color: #0b2c4d;   /* darker blue */
    color: #ffffff;
}

/* Headings */
.tm-footer-title {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Normal text */
.tm-footer-text {
    color: #e3f2fd;  /* very light blue */
    font-size: 14px;
    line-height: 1.7;
}

/* Links */
.tm-footer-links a {
    color: #bbdefb; /* visible on blue */
    font-weight: 500;
    text-decoration: none;
}

.tm-footer-links a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Social icon */
.tm-social-icon {
    background-color: #1877f2;
    color: #ffffff;
    width: 42px;
    height: 42px;
    line-height: 42px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    font-size: 18px;
}

/* Divider */
.tm-footer-divider {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Bottom text */
.tm-footer-bottom {
    color: #e1f5fe;
    font-size: 13px;
}

/* Highlight name */
.tm-footer-highlight {
    color: #4fc3f7;
    font-weight: 600;
}
