body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

    a:hover {
        color: #0085a1;
    }

/*h1, h2, h3, h4, h5, h6 {
    font-family: 'Righteous', sans-serif;
    font-weight: 700;
    margin: 0 0 15px;
}*/

h2 {
    font-size: 24px;
}

h4 {
    font-size: 18px;
    font-weight: 400;
    color: #666;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    margin: 0 auto;
    padding: 10px 0px 0 0px;
    max-width: 1140px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.full-width-header {
    width: 100%;
    background-color: #fff;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    position: relative;
    top: 0;
    z-index: 1000;
    flex-wrap: wrap;
    height: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 10px;
    border-bottom: 1px solid #e9ecef;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0rem 0.5rem;
    background-color: #fff;
    position: relative;
}

    .logo-title a {
        font-size: 20px;
    }

    .logo-title img {
        height: 65px;
    }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

    .hamburger svg {
        width: 24px;
        height: 24px;
    }

.nav-links nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    white-space: nowrap;
    padding: 0.5rem 0;
}

    .nav-links a:hover {
        color: #0066cc;
    }

.active {
    color: #0066cc !important;
    font-weight: 600 !important;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

    .dropdown button.More {
        background: none;
        border: none;
        cursor: pointer;
        color: #333;
        font-weight: 500;
        font-family: inherit;
        font-size: inherit;
        display: flex;
        align-items: center;
        gap: 0.25rem;
        padding: 0.5rem 0;
    }

        .dropdown button.More svg {
            width: 16px;
            height: 16px;
        }

    .dropdown ul {
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 4px;
        list-style: none;
        min-width: 150px;
        padding: 0.5rem 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
        z-index: 100;
    }

    .dropdown:hover ul,
    .dropdown:focus-within ul {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown ul li a {
        display: block;
        padding: 0.5rem 1rem;
        color: #333;
        text-decoration: none;
    }

        .dropdown ul li a:hover {
            background-color: #f5f5f5;
            color: #0066cc;
        }

.page-wrapper {
    padding-bottom: 84px;
}
/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

    .theme-toggle svg {
        width: 20px;
        height: 20px;
    }

/* Search Container */
.search-container {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 0.25rem 0.5rem 0.25rem 1rem;
}

#searchBar {
    border: none;
    outline: none;
    background: transparent;
    min-width: 150px;
}

.search {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
}

    .search svg {
        width: 18px;
        height: 18px;
    }

.mobile-only {
    display: none;
}

@media (max-width: 920px) {
    .hamburger {
        display: block;
    }

    .searchForm {
        width: 100%;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 1rem 2rem;
        display: none;
        z-index: 99;
    }

        .nav-links.active {
            display: block;
        }

        .nav-links nav {
            flex-direction: column;
            align-items: flex-start;
            gap: 1rem;
        }

    .mobile-only {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .search-container {
        width: 100%;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    #searchBar {
        width: 100%;
    }

    .full-width-header {
        padding: 10px;
    }
}


/* Responsive container widths */

/* Navigation
	 ========================================================================== */
.mediumnavigation {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    background: #fff;
    position: relative;
}


.navbar-brand img {
    height: 35px;
}

.navbar-nav {
    display: none; /* Hidden by default on mobile */
    list-style: none;
    padding: 0;
    margin: 0;
    flex-direction: column;
}

.nav-item {
    margin: 5px 0;
}

.nav-link {
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    display: block;
}

    .nav-link:hover {
        color: #0085a1;
    }

.nav-item.active .nav-link {
    color: #0085a1;
}

/* Mobile menu toggle */
.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px 10px;
}


/* Show menu when active */
.nav-active .navbar-nav {
    display: flex;
    margin-top: 15px;
}

/* Desktop navigation */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }

    .navbar-nav {
        display: flex;
        flex-direction: row;
    }

    .nav-item {
        margin-right: 20px;
        margin-bottom: 0;
    }
}

/* Search form
	 ========================================================================== */
form {
    position: relative;
    /*margin: 15px 0;*/
}

input[type="text"] {
    border: 1px solid #ddd;
    /*border-radius: 20px;*/
    /*padding: 8px 15px 8px 35px;*/
    /*font-size: 14px;*/
    width: 100%;
    /*max-width: 180px;*/
    transition: all 0.3s ease;
}


input[type="text"]:focus {
    outline: none;
    border-color: #0085a1;
    max-width: 220px;
}

.search-icon {
    position: absolute;
    left: 10px;
    top: 8px;
    color: #999;
}


.svgIcon-use {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

@media (min-width: 768px) {
    form {
        margin-inline: 5px;
        margin-top: 0;
        margin-bottom: 0;
    }
}

/* Featured posts
	 ========================================================================== */

    .section-title h2 {
        border-bottom: 1px solid rgba(0, 0, 0, .15);
        margin-bottom: 25px;
        font-weight: 700;
        font-size: 1.4rem;
        margin-bottom: 18px;
    }

    .section-title span {
        border-bottom: 1px solid rgba(0, 0, 0, .44);
        display: inline-block;
        padding-bottom: 10px;
        margin-bottom: -1px;
    }


.section-title h2 span {
    background: #fff;
}

.card-columns {
    column-count: 1;
    column-gap: 20px;
}

.card {
    display: grid;
    width: 100%;
    margin-bottom: 20px;
    background: #fff;
    transition: all 0.3s ease;
    break-inside: avoid;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, .125);
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
}

.card-columns .card {
    margin-bottom: 20px;
    display: grid;
    width: 100%;
}

.listfeaturedtag .card {
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 2px;
    /*height: 260px;*/
    padding-left: 0;
    margin-bottom: 15px;
}

/*.listfeaturedtag .card-block {
    padding-left: 0;
}*/


.card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.wrapthumbnail {
    overflow: hidden;
    height: 100%;
}

.listfeaturedtag .wrapthumbnail {
    height: 258px;
    flex: 0 0 auto;
}

.listfeaturedtag h2.card-title, .listrecent h2.card-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.listfeaturedtag h4.card-text, .listrecent h4.card-text {
    color: rgba(0, 0, 0, .44);
    font-size: 0.95rem;
    font-weight: 400;
}

.thumbnail {
    height: 100%;
    min-height: 180px;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
}

.card:hover .thumbnail {
    transform: scale(1.05);
}

.card-block {
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}

.card-title {
    margin-bottom: .75rem;
}

    .card-title a {
        color: #333;
    }

.card-title a:hover {
    color: #0085a1;
}


@media (min-width: 576px) {
    .card-columns {
        column-count: 2;
    }
}


/* Meta footer (author info)
	 ========================================================================== */
.metafooter {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}


.wrapfooter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.author-thumb {
    width: 35px;
    height: 35px;
    border-radius: 100%;
    margin-right: 10px;
}

.author-meta {
    flex: 1;
    min-width: 0;
}

.post-name {
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: red;
    padding: 5px;
    border-radius: 5px;
}

    .post-name a {
        color: white;
    }


.post-date,
.post-read {
    font-size: 13px;
    color: #999;
}

.dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 100%;
    background: #999;
    margin: 0 5px;
    vertical-align: middle;
}

.post-read-more svg {
    width: 16px;
    height: 16px;
    fill: #999;
    transition: all 0.3s ease;
}

.post-read-more:hover svg {
    fill: #0085a1;
}


/* List posts (All Stories section)
	 ========================================================================== */
.listrecent {
    column-count: 1;
    column-gap: 20px;
}

    .listrecent .card {
        margin-bottom: 20px;
    }

    .listrecent .img-fluid {
        width: 100%;
        height: auto;
        border-radius: 3px 3px 0 0;
    }

@media (min-width: 768px) {
    .listrecent {
        column-count: 2;
    }
}

@media (max-width: 1024px) {

    .container {
        margin-inline: 15%;
    }
}

    @media (min-width: 992px) {

        .listrecent {
            column-count: 3;
        }
    }

    /* Footer
	 ========================================================================== */
.footer {
    font-size: 14px;
    color: #999;
    background-color: #fff;
    padding: 12px;
    /*margin-top: 12px;*/
    margin-top: auto;
}

    .footer .container{

    border-top: 1px solid #eee;
    }

    .clearfix {
        display: flex;
        justify-content: space-between;
    }



@media (max-width: 768px) {
    .container {
            margin-inline: 10%;
        }

        .logo-title img {
            height: 55px;
        }
    }

    @media (max-width: 425px) {

        .container {
            margin-inline: 10px;
        }

        .card-block {
            padding: 0.8rem;
        }

        .logo-title img {
            height: 50px;
        }

        .clearfix {
            display: flex;
            flex-direction: column;
            gap: 5px;
            align-items: center;
        }

        .search-container {
            margin-top: 0px;
            margin-bottom: 0.5rem;
        }
    }


