/* CSS Design System for Syandan Patrika Clone */

:root {
    --primary-color: #dd3333;
    --primary-hover: #b81d1d;
    --secondary-color: #4db2ec;
    --bg-dark: #222222;
    --bg-header: #1a1a1a;
    --bg-light: #ffffff;
    --bg-gray: #f9f9f9;
    --text-dark: #111111;
    --text-light: #ffffff;
    --text-gray: #767676;
    --border-color: #ececec;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08);
    --max-width: 1120px;
    --font-heading: 'Roboto', 'BlinkMacSystemFont', -apple-system, sans-serif;
    --font-body: 'Verdana', 'BlinkMacSystemFont', -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Common Layouts */
.container {
    width: 92%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* TOP BAR */
.top-bar {
    background-color: var(--bg-dark);
    color: #ffffff;
    font-size: 11px;
    border-bottom: 1px solid #2d2d2d;
    padding: 8px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 15px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-social a {
    color: #a5a5a5;
    margin-left: 10px;
    font-size: 13px;
}

.top-social a:hover {
    color: var(--text-light);
}

.auth-links a {
    color: var(--text-light);
    font-weight: bold;
}

/* MAIN HEADER */
.main-header {
    background-color: var(--bg-light);
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.logo img {
    max-height: 80px;
    margin: 0 auto;
}

.logo-text {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.logo-text span {
    color: var(--primary-color);
}

/* NAVIGATION */
.navbar-wrap {
    background-color: var(--bg-light);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    border-bottom: 3px solid var(--border-color);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: var(--max-width);
    margin: 0 auto;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-item a {
    display: block;
    padding: 15px 18px;
    color: var(--text-dark);
    font-family: 'Open Sans', 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
}

.nav-item.active a,
.nav-item a:hover {
    color: var(--primary-color);
    background-color: transparent;
    border-bottom-color: var(--secondary-color);
    /* Sky Blue Underline */
}

.nav-right {
    display: flex;
    align-items: center;
    color: var(--text-dark);
}

.search-trigger {
    padding: 15px 18px;
    cursor: pointer;
    font-size: 15px;
    transition: color 0.2s;
}

.search-trigger:hover {
    color: var(--primary-color);
}

.search-bar-dropdown {
    position: absolute;
    top: 100%;
    right: 15px;
    width: 300px;
    background-color: var(--bg-light);
    padding: 10px;
    border-top: 3px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    display: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.search-bar-dropdown.active {
    display: block;
}

.search-bar-dropdown form {
    display: flex;
}

.search-bar-dropdown input {
    flex-grow: 1;
    padding: 8px 12px;
    border: 1px solid var(--border-color);
    background-color: #f9f9f9;
    color: var(--text-dark);
    outline: none;
    font-size: 13px;
}

.search-bar-dropdown button {
    background-color: var(--bg-dark);
    color: var(--text-light);
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-bar-dropdown button:hover {
    background-color: var(--primary-color);
}

/* Hamburguer mobile menu */
.menu-toggle {
    display: none;
    font-size: 20px;
    color: var(--text-dark);
    padding: 12px;
    cursor: pointer;
}

/* BREAKING TICKER */
.breaking-ticker {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    margin: 15px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 40px;
}

.ticker-label {
    background-color: var(--primary-color);
    /* Red Badge background */
    color: var(--text-light);
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 13px;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
}

.ticker-label::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-color);
}

.ticker-content {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.ticker-track {
    display: inline-block;
    padding-left: 20px;
    animation: ticker-scroll 35s linear infinite;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    color: var(--text-dark);
    font-size: 13px;
    margin-right: 40px;
    font-weight: bold;
}

.ticker-item span {
    color: var(--primary-color);
    margin-right: 5px;
}

@keyframes ticker-scroll {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* HERO LAYOUT: SLIDER + GRID COLUMN */
.hero-wrap {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.hero-slider-col {
    width: 66.66%;
    position: relative;
    height: 450px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.slides-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s ease-in-out;
}

.slide-item.active {
    opacity: 1;
    z-index: 2;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    right: 20px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.2s;
}

.slider-dots .dot.active,
.slider-dots .dot:hover {
    background-color: var(--text-light);
}

.hero-grid-col {
    width: 33.33%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 450px;
}

.hero-grid-top {
    height: calc(55% - 5px);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.hero-grid-bottom-row {
    display: flex;
    gap: 10px;
    height: calc(45% - 5px);
}

.hero-grid-bottom-item {
    width: 50%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.grid-item {
    position: relative;
    overflow: hidden;
    color: var(--text-light);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-item:hover img {
    transform: scale(1.05);
}

.grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
}

.grid-cat {
    align-self: flex-start;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.grid-title {
    font-family: var(--font-heading);
    font-weight: bold;
    font-size: 14px;
    line-height: 1.3;
    color: #ffffff !important;
}

.grid-meta {
    font-size: 10px;
    color: #ccc;
    margin-top: 5px;
}

/* MAIN CONTENT SPLIT */
.main-wrapper {
    display: flex;
    gap: 0;
    margin-bottom: 30px;
}

.content-area {
    width: 66.67%;
    padding-right: 24px;
}

.sidebar-area {
    width: 33.33%;
    padding-left: 24px;
    position: sticky;
    top: 80px;
    align-self: flex-start;
}

/* Tag Cloud styles */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 5px 0;
}

.tag-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    border-radius: 20px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.tag-item:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(221, 51, 51, 0.15);
}

.tag-item span {
    font-size: 9px;
    font-weight: 700;
    background-color: #e2e8f0;
    color: #64748b;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 6px;
    transition: all 0.25s ease;
}

.tag-item:hover span {
    background-color: rgba(255, 255, 255, 0.25);
    color: var(--text-light);
}

/* SECTION TITLES */
.section-header {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 6px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: bold;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 6px;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.section-more-link {
    font-size: 11px;
    font-weight: bold;
    color: var(--text-gray);
}

/* ARTICLE BLOCKS */
.block-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.featured-card {
    margin-bottom: 20px;
}

.featured-card .card-img {
    height: 180px;
    overflow: hidden;
    position: relative;
    margin-bottom: 10px;
}

.featured-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-card .card-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.3;
}

.featured-card .card-meta {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.featured-card .card-excerpt {
    font-size: 16px;
    color: #555;
}

.list-item-small {
    display: flex;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.list-item-small:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.list-item-small .thumb {
    width: 90px;
    height: 65px;
    flex-shrink: 0;
    overflow: hidden;
}

.list-item-small .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.list-item-small .details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-item-small .title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 5px;
}

.list-item-small .meta {
    font-size: 10px;
    color: var(--text-gray);
}

/* SIDEBAR WIDGETS */
.widget {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: bold;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 8px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* YouTube Widget */
.youtube-player {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    margin-bottom: 10px;
}

.youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Weather Widget */
.weather-widget {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 5px 0;
}

.weather-icon {
    font-size: 32px;
    color: #f1c40f;
}

.weather-info .temp {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.weather-info .city {
    font-size: 12px;
    font-weight: bold;
}

.weather-info .condition {
    font-size: 11px;
    color: var(--text-gray);
}

/* Category count widget */
.widget-categories {
    list-style: none;
}

.widget-categories li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    font-weight: bold;
}

.widget-categories li:last-child {
    border-bottom: none;
}

.widget-categories li span {
    background-color: #eee;
    color: #666;
    padding: 2px 6px;
    font-size: 10px;
    border-radius: 2px;
}

/* THREE COLUMN ROW */
.three-col-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

/* PAGINATED RECENT POSTS LIST */
.recent-post-row {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.recent-post-row:first-child {
    padding-top: 0;
}

.recent-post-row .post-thumb {
    width: 220px;
    height: 145px;
    flex-shrink: 0;
    overflow: hidden;
}

.recent-post-row .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-post-row .post-details {
    display: flex;
    flex-direction: column;
}

.recent-post-row .post-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.3;
}

.recent-post-row .post-meta {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 10px;
}

.recent-post-row .post-excerpt {
    font-size: 16px;
    color: #555;
}

/* PAGINATION */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin: 30px 0;
}

.pagination-item {
    display: inline-block;
    padding: 8px 14px;
    background-color: #f2f2f2;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid var(--border-color);
}

.pagination-item:hover,
.pagination-item.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

/* ARTICLE DETAIL PAGE */
.article-breadcrumbs {
    font-size: 11px;
    color: var(--text-gray);
    margin: 15px 0;
    font-weight: bold;
}

.article-header {
    margin-bottom: 20px;
}

.article-page-title {
    font-family: 'Roboto', sans-serif;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 400;
    color: #111111;
    margin-bottom: 15px;
}

.article-page-meta {
    font-size: 11px;
    color: var(--text-gray);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
}

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

.article-featured-img {
    margin-bottom: 20px;
    border-radius: 2px;
    overflow: hidden;
}

.article-featured-img img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
}

.article-content {
    font-family: 'Verdana', BlinkMacSystemFont, -apple-system, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    font-size: 15px;
    line-height: 1.74;
    color: #222222;
    margin-bottom: 30px;
}

.article-content p {
    margin-bottom: 26px;
    text-align: justify;
}

/* COMMENTS SECTION */
.comments-container {
    margin-top: 40px;
    border-top: 2px solid var(--border-color);
    padding-top: 20px;
}

.comment-list {
    list-style: none;
    margin-bottom: 30px;
}

.comment-card {
    padding: 15px;
    background-color: var(--bg-gray);
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.comment-card .comment-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.comment-card .comment-author {
    color: var(--primary-color);
}

.comment-card .comment-body {
    font-size: 13px;
    color: #444;
}

.comment-form-box h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: bold;
}

.comment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.comment-form .full-width {
    grid-column: span 2;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    outline: none;
    font-size: 13px;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--primary-color);
}

.comment-form button {
    background-color: var(--bg-dark);
    color: var(--text-light);
    border: none;
    padding: 12px 25px;
    font-weight: bold;
    cursor: pointer;
    font-size: 13px;
    text-transform: uppercase;
    transition: background-color 0.2s;
}

.comment-form button:hover {
    background-color: var(--primary-color);
}

/* SEARCH PAGE */
.search-header-box {
    background-color: var(--bg-gray);
    border: 1px solid var(--border-color);
    padding: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.search-header-box h2 {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 10px;
}

.search-header-box span {
    color: var(--primary-color);
    font-weight: bold;
}

/* FOOTER */
.footer-wrap {
    background-color: var(--bg-dark);
    color: #ccc;
    font-size: 12px;
    padding-top: 40px;
    border-top: 3px solid var(--primary-color);
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.footer-widget .widget-title {
    color: var(--text-light);
    border-bottom-color: #3d3d3d;
}

.footer-widget-list {
    list-style: none;
}

.footer-widget-list li {
    padding: 8px 0;
    border-bottom: 1px solid #2d2d2d;
}

.footer-widget-list li:last-child {
    border-bottom: none;
}

.footer-widget-list a {
    color: #aaa;
}

.footer-widget-list a:hover {
    color: var(--text-light);
}

.footer-divider {
    border-top: 1px solid #2d2d2d;
    margin-bottom: 25px;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.footer-logo {
    font-family: var(--font-heading);
    color: var(--text-light);
    font-size: 24px;
    font-weight: 800;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin-bottom: 5px;
}

.sub-footer {
    background-color: #1a1a1a;
    padding: 15px 0;
    font-size: 11px;
}

.sub-footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sub-footer-links a {
    margin-left: 15px;
    color: #999;
}

.sub-footer-links a:hover {
    color: var(--text-light);
}

/* RESPONSIVE DESIGN */
@media (max-width: 991px) {
    .main-wrapper {
        flex-direction: column;
    }

    .content-area,
    .sidebar-area {
        width: 100%;
    }

    .three-col-row {
        grid-template-columns: 1fr;
    }

    .footer-widgets {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--bg-dark);
        border-top: 1px solid #3d3d3d;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item a {
        padding: 12px 15px;
        border-bottom: 1px solid #2d2d2d;
    }

    .navbar-inner {
        flex-wrap: wrap;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .grid-item.large {
        grid-column: span 1;
        grid-row: span 1;
        height: 250px;
    }

    .grid-item {
        height: 180px;
    }

    .block-row-2 {
        grid-template-columns: 1fr;
    }

    .recent-post-row {
        flex-direction: column;
    }

    .recent-post-row .post-thumb {
        width: 100%;
        height: 200px;
    }

    .comment-form {
        grid-template-columns: 1fr;
    }

    .comment-form .full-width {
        grid-column: span 1;
    }

    .sub-footer-inner {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

/* ==========================================================================
   ARTICLE PAGE FEATURES (AUTHOR INFO, SOCIAL SHARING, RELATED POSTS)
   ========================================================================== */

/* Breadcrumbs Styling */
.tdb-breadcrumbs {
    margin-bottom: 11px;
    font-family: "Open Sans", "Open Sans Regular", sans-serif;
    font-size: 12px;
    line-height: 18px;
    color: #747474;
}

.tdb-breadcrumbs a {
    color: #747474;
}

.tdb-breadcrumbs a:hover {
    color: #000;
}

.tdb-breadcrumbs .tdb-bread-sep {
    display: inline-block;
    font-size: 8px;
    margin: 0 5px;
    color: #747474;
}

.tdb-breadcrumbs .tdb-bred-no-url-last {
    color: #747474;
}

/* Category Badges (Above Title) */
.tdb-category {
    display: block;
    margin-bottom: 10px;
}

.tdb-entry-category {
    display: inline-block;
    position: relative;
    margin: 0px 5px 5px 0px;
    padding: 3px 6px 4px 6px;
    font-family: "Open Sans", "Open Sans Regular", sans-serif;
    font-size: 10px;
    line-height: 10px;
    color: #fff !important;
    background-color: #222;
    border: 1px solid #222;
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

.tdb-entry-category:hover {
    background-color: #444;
    color: #fff !important;
}

/* Metadata Row (Author, Date, Views, Comments) */
.article-page-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 16px;
    font-family: "Open Sans", "Open Sans Regular", sans-serif;
    font-size: 11px;
    font-weight: 400;
    color: #444;
    line-height: 1;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
}

.article-meta-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tdb-author-photo {
    display: inline-block;
}

.tdb-author-photo .avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    vertical-align: middle;
}

.tdb-author-name-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.tdb-author-by {
    color: #747474;
}

.tdb-author-name {
    font-weight: 700;
    color: #000;
}

.tdb-author-name:hover {
    color: var(--primary-color);
}

.td-module-date {
    color: #747474;
    margin-left: 8px;
}

.article-meta-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.tdb-views-count,
.tdb-comments-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #444;
}

.tdb-views-count i {
    font-size: 13px;
    color: #444;
}

.tdb-comments-count i {
    font-size: 11px;
    color: #444;
}

/* Social Share Bar with Caret and Squares */
.td-ps-bg {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 25px;
    margin-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.td-post-sharing-visible {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.td-social-sharing-button {
    display: inline-flex;
    align-items: center;
    height: 40px;
    border-radius: 2px;
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.td-social-network:hover {
    opacity: 0.8 !important;
    color: #fff !important;
}

.td-social-but-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.td-social-share-text {
    position: relative;
    color: #000 !important;
    border: 1.6px solid #e9e9e9;
    background-color: #fff;
    padding: 0 16px 0 12px;
    font-family: "Open Sans", sans-serif;
    font-size: 12px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    margin-right: 18px;
    box-sizing: border-box;
}

.td-social-share-text .td-social-but-icon {
    width: auto;
    height: auto;
    font-size: 13px;
    color: #555;
}

/* Caret pseudo elements */
.td-social-share-text::before,
.td-social-share-text::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 100%;
    width: 0;
    height: 0;
    border-style: solid;
}

.td-social-share-text::before {
    border-width: 9px 0 9px 11px;
    border-color: transparent transparent transparent #e9e9e9;
}

.td-social-share-text::after {
    border-width: 8px 0 8px 10px;
    border-color: transparent transparent transparent #fff;
    margin-left: -1px;
}

/* Social Brand Colors */
.td-social-facebook {
    background-color: #516eab;
}

.td-social-twitter {
    background-color: #000000;
}

.td-social-pinterest {
    background-color: #ca212a;
}

.td-social-whatsapp {
    background-color: #7bbf6a;
}

.td-social-linkedin {
    background-color: #0266a0;
}

.td-social-email {
    background-color: #000000;
}

.td-social-telegram {
    background-color: #179cde;
}

.td-social-print {
    background-color: #333333;
}

/* Bottom Author Bio Box */
.author-box-wrap {
    display: flex;
    gap: 20px;
    background-color: var(--bg-gray);
    border: 1px solid var(--border-color);
    padding: 20px;
    margin: 40px 0;
    border-radius: 4px;
}

.author-box-avatar {
    width: 96px;
    height: 96px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.author-box-content {
    flex-grow: 1;
}

.author-box-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-dark);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-box-website {
    font-size: 11px;
    color: var(--primary-color);
    font-weight: normal;
    text-decoration: underline;
}

.author-box-desc {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 10px;
}

.author-box-social {
    display: flex;
    gap: 10px;
}

.author-box-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #ddd;
    color: #555;
    font-size: 12px;
    transition: all 0.2s ease;
}

.author-box-social a:hover {
    background-color: #3b5998;
    color: #fff;
}

/* Related Posts Section */
.related-posts-wrap {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.related-post-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.related-post-card:hover {
    box-shadow: var(--shadow-sm);
}

.related-post-thumb {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.related-post-card-content {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-post-card-title {
    font-size: 13px;
    font-weight: bold;
    line-height: 1.4;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.6em;
}

.related-post-card-title a:hover {
    color: var(--primary-color);
}

.related-post-card-date {
    font-size: 10px;
    color: var(--text-gray);
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 768px) {
    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .author-box-wrap {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .article-page-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .article-meta-right {
        width: 100%;
        justify-content: flex-end;
    }
}

/* ===== Tags Section (Newspaper Theme) ===== */
.post-tags-wrap {
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.post-tags-label {
    display: inline-block;
    background: #222;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 12px;
    line-height: 1;
}

.post-tag-link {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #111;
    text-transform: capitalize;
    border: 1px solid #ddd;
    padding: 5px 12px;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.post-tag-link:hover {
    color: #fff;
    background: var(--primary-color, #d71920);
    border-color: var(--primary-color, #d71920);
}

/* ===== Prev / Next Navigation (Newspaper Theme) ===== */
.tdb-next-prev-wrap {
    display: flex;
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
    margin: 30px 0;
}

.tdb-post-prev,
.tdb-post-next {
    flex: 1;
    min-width: 0;
}

.tdb-post-prev {
    border-right: 1px solid #e1e1e1;
}

.tdb-np-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 15px;
    text-decoration: none;
    color: #111;
    transition: background 0.2s ease;
}

.tdb-np-link:hover {
    background: #f9f9f9;
}

.tdb-np-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    font-size: 14px;
    color: #aaa;
    transition: color 0.2s ease;
}

.tdb-np-link:hover .tdb-np-arrow {
    color: var(--primary-color, #d71920);
}

.tdb-np-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.tdb-np-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #aaa;
}

.tdb-np-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    color: #111;
    font-family: var(--font-heading, 'Hind Siliguri', sans-serif);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tdb-np-link:hover .tdb-np-title {
    color: var(--primary-color, #d71920);
}

.tdb-post-next .tdb-np-link {
    justify-content: flex-end;
}

.tdb-post-next .tdb-np-text {
    text-align: right;
}

@media (max-width: 767px) {
    .tdb-next-prev-wrap {
        flex-direction: column;
    }

    .tdb-post-prev {
        border-right: none;
        border-bottom: 1px solid #e1e1e1;
    }

    .tdb-post-next .tdb-np-link {
        justify-content: flex-start;
    }

    .tdb-post-next .tdb-np-text {
        text-align: left;
    }
}

/* Calendar and eye icons highlight color */
.fa-calendar,
.fa-calendar-alt,
.fa-eye {
    color: var(--primary-color, #dd3333);
    margin-right: 4px;
}

/* --- Refactored Utility & Layout Classes --- */
.mb-0 {
    margin-bottom: 0 !important;
}

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

.mb-30 {
    margin-bottom: 30px !important;
}

.mt-15 {
    margin-top: 15px !important;
}

.mt-30 {
    margin-top: 30px !important;
}

.my-30 {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
}

.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}

.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

/* Category specific tag badge background colors */
.cat-sirsa-sambad {
    background-color: #4db2ec !important;
}

.cat-rajya {
    background-color: #e67e22 !important;
}

.cat-khela {
    background-color: #2ecc71 !important;
}

.cat-jatiya {
    background-color: #e74c3c !important;
}

.cat-biswa-sambad {
    background-color: #9b59b6 !important;
}

.cat-binodana {
    background-color: #9c27b0 !important;
}

.cat-swasthya {
    background-color: #1abc9c !important;
}

.cat-prayukti {
    background-color: #34495e !important;
}

.cat-tender {
    background-color: #7f8c8d !important;
}

.cat-sreni-bahirbhuta {
    background-color: #95a5a6 !important;
}

/* Card Image Heights */
.card-img-height-140 {
    height: 140px !important;
}

/* Small lists card headers and meta fonts */
.small-list .list-item-small-bordered {
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
}

.small-list-title-11 {
    font-size: 11px !important;
}

.small-list-meta-11 {
    font-size: 11px !important;
    color: var(--text-gray) !important;
    margin-top: 5px !important;
}

.recent-feed-cat {
    font-size: 14px !important;
    color: var(--primary-color) !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}

/* Ad widget, placeholder layouts */
.ad-placeholder {
    background-color: var(--bg-gray) !important;
    border: 1px solid var(--border-color) !important;
    text-align: center !important;
    padding: 25px !important;
    margin: 30px 0 !important;
    color: var(--text-gray) !important;
    font-size: 11px !important;
    font-weight: bold !important;
    font-family: var(--font-heading) !important;
}

.widget-ad-box {
    padding: 10px !important;
    text-align: center !important;
    border: 1px solid var(--border-color) !important;
    background-color: var(--bg-gray) !important;
    margin-bottom: 25px !important;
}

.widget-ad-label {
    font-size: 9px !important;
    color: var(--text-gray) !important;
    text-transform: uppercase !important;
    margin-bottom: 5px !important;
    text-align: left !important;
}

.ad-image-fluid {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border: 0 !important;
}

/* YouTube Player aspect ratio mapping */
.youtube-player-responsive {
    position: relative !important;
    padding-bottom: 56.25% !important;
    height: 0 !important;
    overflow: hidden !important;
    background: #000 !important;
}

.youtube-player-responsive iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

/* Comments Widget */
.widget-comment-card {
    font-size: 11px !important;
    border-bottom: 1px dashed var(--border-color) !important;
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
}

.widget-comment-author {
    font-weight: bold !important;
    color: var(--primary-color) !important;
}

.widget-comment-link-wrap {
    color: var(--text-gray) !important;
    margin: 3px 0 !important;
}

.widget-comment-article-title {
    font-weight: bold !important;
}

.widget-comment-text {
    font-style: italic !important;
    color: #444 !important;
}

/* Article view page comments styling */
.empty-container {
    padding: 100px 0 !important;
    text-align: center !important;
}

.empty-container-title {
    margin-bottom: 15px !important;
}

.empty-container-link {
    color: var(--primary-color) !important;
    font-weight: bold !important;
}

.video-widget-box {
    padding: 10px !important;
    margin-bottom: 20px !important;
}

.video-widget-title {
    font-size: 13px !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
    font-family: var(--font-heading) !important;
}

.video-widget-title i {
    color: red !important;
}

.alert-error-box {
    background-color: #f8d7da !important;
    border: 1px solid #f5c6cb !important;
    color: #721c24 !important;
    padding: 12px !important;
    margin-bottom: 15px !important;
    font-size: 12px !important;
}

.no-comments-msg {
    color: var(--text-gray) !important;
    font-size: 13px !important;
    font-style: italic !important;
    margin-bottom: 25px !important;
}

/* Empty category or search results card */
.empty-results-box {
    background-color: var(--bg-gray) !important;
    text-align: center !important;
    padding: 60px !important;
    border: 1px solid var(--border-color) !important;
    color: var(--text-gray) !important;
}

.empty-results-box i {
    font-size: 32px !important;
    margin-bottom: 15px !important;
    display: block !important;
}

.pagination-item.disabled-dots {
    border: none !important;
    background: none !important;
}

/* Custom pages styling (router.php) */
.custom-page-main {
    min-height: 50vh !important;
}

.custom-page-title {
    font-family: 'Roboto', 'Noto Sans Bengali', sans-serif !important;
    color: #1e293b !important;
}

.custom-page-content-text {
    line-height: 1.8 !important;
}

.error-page-container {
    min-height: 40vh !important;
}

.error-page-title {
    font-family: 'Noto Sans Bengali', sans-serif !important;
}

/* Hero Section specific title sizes */
.hero-slider-col .grid-title {
    font-size: 20px !important;
    margin-bottom: 5px !important;
}

.hero-grid-top .grid-title {
    font-size: 13px !important;
}

.hero-grid-bottom-item .grid-title {
    font-size: 11px !important;
}

/* Trendy and Modern Classic Footer Icon List styling */
.footer-list-icon {
    color: var(--primary-color, #dd3333);
    margin-right: 8px;
    font-size: 10px;
    transition: transform 0.2s ease, color 0.2s ease;
    display: inline-block;
}

.footer-widget-list a {
    display: flex;
    align-items: center;
    width: 100%;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-cat-count {
    margin-left: auto;
    font-size: 10px;
    background: #3d3d3d;
    padding: 2px 6px;
    border-radius: 2px;
    color: #aaa;
}

.footer-widget-list a:hover {
    color: var(--text-light, #fff) !important;
}

.footer-widget-list a:hover .footer-list-icon {
    color: var(--text-light, #fff) !important;
    transform: translateX(3px);
}

/* ============================================
   TENDER PAGE STYLES
   ============================================ */

.tender-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #1e3a5f 0%, #0f2439 100%);
    color: #fff;
    padding: 30px 35px;
    border-radius: 10px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.tender-page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

.tender-page-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #fff !important;
}

.tender-page-title i {
    margin-right: 10px;
    color: #fbbf24;
}

.tender-page-subtitle {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.tender-stats {
    display: flex;
    gap: 15px;
}

.tender-stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 22px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.tender-stat-number {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #fbbf24;
    line-height: 1.1;
}

.tender-stat-label {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Filter Bar */
.tender-filter-bar {
    background: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
    margin-bottom: 20px;
    border: 1px solid #e8ecf1;
}

.tender-filter-group {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.tender-search-input-wrap {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.tender-search-input-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
}

.tender-search-input {
    width: 100%;
    padding: 10px 14px 10px 36px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.tender-search-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.tender-status-select {
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    background: #fff;
    min-width: 140px;
}

.tender-search-btn {
    padding: 10px 20px;
    background: #1e3a5f;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.tender-search-btn:hover {
    background: #15314f;
}

.tender-clear-btn {
    padding: 10px 16px;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.tender-clear-btn:hover {
    background: #e2e8f0;
    color: #334155;
}

/* Tender Table */
.tender-table-wrap {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
    overflow-x: auto;
    border: 1px solid #e8ecf1;
    margin-bottom: 25px;
}

.tender-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}

.tender-table thead {
    background: linear-gradient(135deg, #1e293b, #334155);
}

.tender-table thead th {
    color: #fff;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    border-bottom: 2px solid #475569;
}

.tender-th-sl {
    width: 55px;
    text-align: center;
}

.tender-th-name {
    min-width: 220px;
}

.tender-th-org {
    min-width: 180px;
}

.tender-th-date {
    width: 120px;
    text-align: center;
}

.tender-th-status {
    width: 120px;
    text-align: center;
}

.tender-th-action {
    width: 100px;
    text-align: center;
}

.tender-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}

.tender-table tbody tr:hover {
    background: #f8fafc;
}

.tender-table tbody tr:last-child {
    border-bottom: none;
}

.tender-table td {
    padding: 12px 16px;
    vertical-align: top;
}

.tender-sl {
    text-align: center;
    font-weight: 600;
    color: #64748b;
}

.tender-name {
    font-weight: 600;
    color: #1e293b;
    line-height: 1.5;
}

.tender-org {
    color: #475569;
    font-size: 12.5px;
    line-height: 1.6;
}

.tender-date {
    text-align: center;
    color: #64748b;
    font-size: 13px;
    white-space: nowrap;
}

.tender-status-cell {
    text-align: center;
}

.tender-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.tender-badge i {
    font-size: 10px;
}

.tender-badge-active {
    background: #dcfce7;
    color: #166534;
}

.tender-badge-expired {
    background: #fef2f2;
    color: #991b1b;
}

.tender-row-expired {
    opacity: 0.7;
}

.tender-row-expired:hover {
    opacity: 1;
}

.tender-action {
    text-align: center;
}

.tender-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.tender-download-btn:hover {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(185, 28, 28, 0.3);
    color: #fff;
}

.tender-no-download {
    color: #cbd5e1;
}

.tender-empty {
    text-align: center;
    padding: 60px 20px !important;
    color: #94a3b8;
}

.tender-empty i {
    display: block;
    font-size: 40px;
    margin-bottom: 10px;
    color: #cbd5e1;
}

/* Tender Pagination */
.tender-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tender-page-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    background: #fff;
    color: #475569;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
}

.tender-page-link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #1e293b;
}

.tender-page-link.active {
    background: #1e3a5f;
    color: #fff;
    border-color: #1e3a5f;
}

/* Responsive Tender */
@media (max-width: 768px) {
    .tender-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
    }

    .tender-page-title {
        font-size: 20px;
    }

    .tender-filter-group {
        flex-direction: column;
    }

    .tender-search-input-wrap {
        min-width: 100%;
    }

    .tender-status-select,
    .tender-search-btn,
    .tender-clear-btn {
        width: 100%;
        text-align: center;
    }

    .tender-table {
        font-size: 12px;
    }

    .tender-table thead th {
        padding: 10px 8px;
        font-size: 11px;
    }

    .tender-table td {
        padding: 10px 8px;
    }

    .tender-th-org,
    .tender-org {
        display: none;
    }
}

/* ===========================
   Mobile Hero Layout Fix
=========================== */
/* ==========================================
   MOBILE HERO FIX
========================================== */
@media (max-width:768px) {

    .hero-wrap {
        display: block !important;
        margin-bottom: 20px;
    }

    .hero-slider-col {
        width: 100% !important;
        height: 280px !important;
        margin-bottom: 15px;
    }

    .hero-grid-col {
        width: 100% !important;
        display: block !important;
        height: auto !important;
    }

    .hero-grid-top {
        width: 100%;
        height: 220px;
        margin-bottom: 15px;
    }

    .hero-grid-bottom-row {
        display: block !important;
        height: auto !important;
        margin-top: 0;
    }

    .hero-grid-bottom-item {
        width: 100% !important;
        height: 180px;
        margin-bottom: 15px;
    }

    .slide-item img,
    .hero-grid-top img,
    .hero-grid-bottom-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .grid-title {
        font-size: 18px !important;
        line-height: 1.35;
    }

    .grid-overlay {
        padding: 15px;
    }
}

/* ==========================================
   MOBILE MENU FIX
========================================== */
@media (max-width:768px) {

    .navbar-inner {
        position: relative;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
        padding: 15px;
        color: #222 !important;
        z-index: 1001;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        background: #222;
        margin-top: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item a {
        display: block;
        padding: 15px 18px;
        color: #ffffff !important;
        background: #222;
        border-bottom: 1px solid #333;
        font-size: 15px;
        font-weight: 600;
    }

    .nav-item.active a {
        color: #dd3333 !important;
        border-left: 4px solid #dd3333;
        background: #1b1b1b;
    }

    .nav-item a:hover {
        color: #ffffff !important;
        background: #2d2d2d;
    }

    .search-trigger {
        color: #222 !important;
        padding: 15px;
    }
}