/* Kerala Jalakam Custom CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Noto+Serif+Malayalam:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-red: #c91c1c;
    --primary-red-hover: #a81616;
    --nav-dark-blue: #00122e;
    --text-dark: #1a1a1a;
    --text-muted: #626469;
    --bg-light: #f8f9fa;
    --border-color: #e3e6ec;
    --font-malayalam: 'Noto Serif Malayalam', serif;
    --font-english: 'Inter', sans-serif;
}

body {
    font-family: var(--font-malayalam);
    color: var(--text-dark);
    background-color: #ffffff;
    line-height: 1.6;
}

/* Typography & Utility classes */
h1, h2, h3, h4, h5, h6, .nav-link, .category-title {
    font-family: var(--font-malayalam);
    font-weight: 700;
}

.font-english {
    font-family: var(--font-english);
}

.bg-nav-dark {
    background-color: var(--nav-dark-blue) !important;
}

.text-red {
    color: var(--primary-red) !important;
}

.bg-red {
    background-color: var(--primary-red) !important;
}

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

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

/* Top Utility Bar */
.top-bar {
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-family: var(--font-english);
    font-weight: 500;
}
.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.top-bar-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-right: 1.25rem;
}
.top-bar-links a:hover {
    color: var(--primary-red);
}
.top-bar-socials a {
    color: #4a4d52;
    margin-left: 1rem;
    font-size: 0.95rem;
}
.top-bar-socials a:hover {
    color: var(--primary-red);
}

/* Top Bar Special Section */
.top-bar-special {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.top-bar-special .special-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--nav-dark-blue);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    background-color: rgba(0, 18, 46, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease-in-out;
}
.top-bar-special .special-link i {
    font-size: 0.85rem;
}
.top-bar-special .special-link:hover {
    background-color: var(--primary-red);
    color: #ffffff;
    transform: translateY(-1px);
}
.top-bar-special .epaper-link {
    background-color: rgba(201, 28, 28, 0.08);
    color: var(--primary-red);
}
.top-bar-special .epaper-link:hover {
    background-color: var(--primary-red);
    color: #ffffff;
}

/* Header Area */
.header-logo-area {
    padding: 1.5rem 0;
}
.logo-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--nav-dark-blue);
    line-height: 1.2;
    margin-bottom: 0.2rem;
}
.logo-tagline {
    font-size: 0.85rem;
    color: var(--primary-red);
    font-weight: 700;
    letter-spacing: 0.05rem;
}
.ad-banner-970 {
    background-color: #f1f3f5;
    border: 1px solid var(--border-color);
    color: #868e96;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    max-width: 100%;
    width: 970px;
    margin: 0 auto;
    font-size: 0.75rem;
    font-family: var(--font-english);
    text-align: center;
    box-sizing: border-box;
}

/* Navigation Bar */
.custom-navbar {
    padding: 0;
}
.custom-navbar .navbar-nav {
    align-items: stretch;
}
.custom-navbar .nav-item {
    display: flex;
    align-items: stretch;
}
.custom-navbar .nav-link {
    color: #ffffff !important;
    font-size: 0.95rem;
    padding: 0.85rem 1.35rem !important;
    font-weight: 800;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-sizing: border-box;
}
.custom-navbar .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05);
}
.custom-navbar .nav-item.active .nav-link {
    background-color: var(--primary-red);
}
.custom-navbar .nav-item:first-child .nav-link {
    background-color: var(--primary-red);
    font-size: 1.1rem;
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
}
.navbar-toggler {
    border: none;
    color: white;
    font-size: 1.25rem;
    padding: 0.5rem 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.navbar-toggler:focus {
    box-shadow: none;
}

/* Navigation Dropdown Style */
.custom-navbar .dropdown-menu {
    background-color: var(--nav-dark-blue);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 0;
    border-radius: 0 0 4px 4px;
    padding: 0;
}
.custom-navbar .dropdown-item {
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}
.custom-navbar .dropdown-item:last-child {
    border-bottom: none;
}
.custom-navbar .dropdown-item:hover {
    background-color: var(--primary-red) !important;
    color: #ffffff !important;
}
.custom-navbar .dropdown-toggle::after {
    margin-left: 0.35rem;
    vertical-align: middle;
}

/* Breaking News Bar */
.breaking-bar {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}
.breaking-badge {
    background-color: var(--primary-red);
    color: white;
    font-weight: 700;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-english);
    letter-spacing: 0.05rem;
    font-size: 0.85rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}
.live-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
    position: relative;
    margin-right: 8px;
    flex-shrink: 0;
}
.live-dot::after {
    content: '';
    position: absolute;
    top: 2.5px;
    left: 2.5px;
    width: 5px;
    height: 5px;
    background-color: var(--primary-red);
    border-radius: 50%;
}
.breaking-content {
    flex-grow: 1;
    padding: 0.5rem 0;
    min-width: 0;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}
.breaking-text {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.95rem;
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 25s linear infinite;
    padding-left: 100%;
}
.breaking-bar:hover .breaking-text {
    animation-play-state: paused;
}
@keyframes scroll-left {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}
.breaking-controls {
    display: flex;
    align-items: center;
    height: 100%;
    padding-right: 0.75rem;
    flex-shrink: 0;
}
.breaking-controls button {
    background: none;
    border: none;
    color: #4a4d52;
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    transition: color 0.2s, border-color 0.2s, background-color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.breaking-controls button:hover {
    color: var(--primary-red);
}
.breaking-controls .prev-btn, .breaking-controls .next-btn {
    border: 1px solid var(--border-color);
    width: 32px;
    height: 32px;
    border-radius: 4px;
    margin-left: 0.25rem;
}
.breaking-controls .prev-btn:hover, .breaking-controls .next-btn:hover {
    border-color: var(--primary-red);
    background-color: #fff5f5;
}
.breaking-controls .bookmark-btn {
    font-size: 1rem;
    color: #4a4d52;
}
.divider-v {
    width: 1px;
    height: 20px;
    background-color: var(--border-color);
    margin: 0 0.5rem;
}

/* General Section Headings */
.section-header {
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.section-title {
    color: var(--text-dark);
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    position: relative;
    padding-bottom: 0.5rem;
    text-transform: uppercase;
    font-family: var(--font-english);
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--primary-red);
}
.section-view-all {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.8rem;
    text-decoration: none;
}
.section-view-all:hover {
    color: var(--primary-red-hover);
    text-decoration: underline;
}

/* Card Styling & Hover Effects */
.news-card {
    border: none;
    background: transparent;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
    height: 275px;
    display: flex;
    flex-direction: column;
}
.news-card .img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background-color: #000;
    height: 160px;
    flex-shrink: 0;
}
.news-card .img-wrapper img {
    transition: transform 0.4s ease, opacity 0.3s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.news-card:hover .img-wrapper img {
    transform: scale(1.04);
    opacity: 0.9;
}
.news-card .card-body {
    padding: 0.75rem 0 0 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.news-card .card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.8em;
}
.news-card:hover .card-title {
    color: var(--nav-dark-blue) !important;
}
.news-card .card-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-malayalam);
}

/* Hero Main Card Overlay Styles */
.hero-section-grid {
    align-items: stretch;
}
.hero-section-grid > [class*="col-"] {
    display: flex;
}
.hero-main-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 314px;
    min-height: 314px;
    width: 100%;
    background-color: #07111a;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.hero-main-card .img-wrapper {
    height: 100%;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-main-card img {
    display: none;
}
.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(3, 8, 16, 0.88) 0%, rgba(3, 8, 16, 0.35) 50%, rgba(3, 8, 16, 0.05) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.35rem 1.45rem;
    color: white;
    z-index: 2;
}
.hero-main-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--primary-red);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 2px;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}
.hero-main-card .card-title {
    font-size: 1.38rem;
    color: white;
    margin-bottom: 0.55rem;
    font-weight: 700;
    line-height: 1.35;
}
.hero-main-card:hover .card-title {
    color: #ffcccc;
}
.hero-main-card .card-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-main-card .card-meta {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Horizontal Compact Cards */
.compact-card {
    display: flex;
    gap: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.75rem;
}
.compact-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.compact-card .img-wrapper {
    width: 90px;
    height: 65px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 3px;
}
.compact-card .img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.compact-card:hover .img-wrapper img {
    transform: scale(1.04);
}
.compact-card .card-body {
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.compact-card .card-title {
    font-size: 0.88rem;
    line-height: 1.35;
    margin-bottom: 0.2rem;
    color: var(--text-dark);
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.7em;
}
.compact-card:hover .card-title {
    color: var(--nav-dark-blue) !important;
}

/* Hero Middle Vertical Cards */
.hero-middle-stack {
    width: 100%;
    height: 314px;
    gap: 0.5rem;
}
.hero-middle-card {
    position: relative;
    display: flex;
    align-items: stretch;
    flex: 1 1 0;
    min-height: 0;
    border-radius: 6px;
    overflow: hidden;
    background-color: #07111a;
    color: #ffffff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.hero-middle-card:last-child {
    margin-bottom: 0;
}
.hero-middle-card .img-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-middle-card .img-wrapper img {
    display: none;
}
.hero-middle-card .card-body {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 0;
    padding: 0.8rem 0.9rem 0.7rem 48%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(90deg, rgba(3, 8, 16, 0.06) 0%, rgba(3, 8, 16, 0.72) 42%, rgba(3, 8, 16, 0.92) 100%);
}
.hero-middle-card .card-title {
    color: #ffffff;
    font-size: 0.92rem;
    line-height: 1.35;
    margin-bottom: 0.2rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-middle-card .bookmark-btn {
    border: none;
    background: none;
    color: rgba(255, 255, 255, 0.86);
    padding: 0;
    font-size: 0.85rem;
    align-self: flex-end;
}
.hero-middle-card .bookmark-btn:hover {
    color: #ffffff;
}
.hero-middle-card .card-meta {
    color: rgba(255, 255, 255, 0.76);
}

/* Latest Updates Section */
.latest-updates-card {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: #ffffff;
    width: 100%;
    height: 314px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}
.latest-updates-title {
    font-family: var(--font-english);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    color: var(--text-dark);
    padding: 0.65rem 0.9rem;
    border-bottom: 2px solid #168a4b;
    margin-bottom: 0;
    text-transform: uppercase;
}
.latest-updates-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.latest-updates-item {
    display: flex;
    padding: 0.4rem 0.9rem;
    border-bottom: 1px dashed var(--border-color);
}
.latest-updates-item:last-child {
    border-bottom: none;
}
.latest-updates-time {
    font-family: var(--font-english);
    font-size: 0.68rem;
    font-weight: 700;
    color: #168a4b;
    width: 62px;
    flex-shrink: 0;
}
.latest-updates-text {
    font-size: 0.76rem;
    line-height: 1.28;
    color: var(--text-dark);
}
.latest-updates-view-all {
    display: block;
    text-align: center;
    padding: 0.44rem 0.9rem;
    border-top: 1px solid var(--border-color);
    font-weight: 700;
    font-size: 0.76rem;
    color: #168a4b;
    background-color: #fffefe;
}
.latest-updates-view-all:hover {
    background-color: #f0fdf4;
    color: #14733e;
}

/* Trending Now List */
.trending-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.trending-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}
.trending-number {
    background-color: #f26419;
    color: white;
    font-family: var(--font-english);
    font-weight: 700;
    font-size: 0.9rem;
    width: 26px;
    height: 26px;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}
.trending-text {
    font-size: 0.92rem;
    line-height: 1.4;
    font-weight: 700;
    margin: 0;
}
.trending-header .section-title::after {
    background-color: #f26419;
}

/* Row 3 and Row 4 Medium Category Layouts */
.category-featured-card {
    border: none;
    background: transparent;
    margin-bottom: 1.25rem;
    height: 260px;
    display: flex;
    flex-direction: column;
}
.category-featured-card .img-wrapper {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background-color: #000;
    height: 180px;
    flex-shrink: 0;
}
.category-featured-card .img-wrapper img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.category-featured-card:hover .img-wrapper img {
    transform: scale(1.04);
}
.category-featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0) 100%);
    padding: 1rem;
    color: white;
}
.category-featured-card .card-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.4rem;
    line-height: 1.35;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.7em;
}
.category-featured-card:hover .card-title {
    color: var(--nav-dark-blue) !important;
}
.category-featured-card .card-meta {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
}

/* Play Button Visual Overlay */
.video-overlay-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    background-color: rgba(201, 28, 28, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2;
    transition: transform 0.2s, background-color 0.2s;
    pointer-events: none;
}
.news-card:hover .video-overlay-btn, .category-featured-card:hover .video-overlay-btn {
    transform: translate(-50%, -50%) scale(1.1);
    background-color: var(--primary-red);
}

/* Footer Section */
.main-footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    padding-top: 3rem;
    color: var(--text-dark);
}
.footer-logo-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--nav-dark-blue);
    margin-bottom: 0.2rem;
}
.footer-tagline {
    font-size: 0.75rem;
    color: var(--primary-red);
    font-weight: 700;
    letter-spacing: 0.05rem;
    margin-bottom: 1rem;
}
.footer-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.footer-socials a {
    color: #5c626a;
    font-size: 1.1rem;
    margin-right: 1.2rem;
    transition: color 0.2s;
}
.footer-socials a:hover {
    color: var(--primary-red);
}
.footer-column-title {
    font-family: var(--font-english);
    font-size: 0.85rem;
    font-weight: 800;
    color: #00122e;
    letter-spacing: 0.05rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.65rem;
}
.footer-links a {
    font-family: var(--font-english);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}
.footer-links a:hover {
    color: var(--primary-red);
}
.app-badge-btn {
    display: inline-block;
    margin-bottom: 0.75rem;
    border-radius: 4px;
    overflow: hidden;
    transition: opacity 0.2s;
}
.app-badge-btn:hover {
    opacity: 0.9;
}
.app-badge-btn img {
    height: 40px;
    display: block;
}
.sub-footer {
    border-top: 1px solid var(--border-color);
    font-family: var(--font-english);
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Responsiveness overrides */
@media (max-width: 991.98px) {
    .custom-navbar .nav-link {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 0.65rem 1rem !important;
    }
    .custom-navbar .nav-item:first-child .nav-link {
        padding-left: 1rem !important;
    }
    .hero-main-card {
        min-height: 380px;
        margin-bottom: 1.5rem;
    }
    .ad-banner-970 {
        height: auto;
        padding: 1rem;
    }
}

@media (max-width: 767.98px) {
    .header-logo-area {
        text-align: center;
    }
    .logo-title {
        font-size: 1.8rem;
    }
    .top-bar-item {
        justify-content: center;
        margin-bottom: 0.5rem;
    }
    .top-bar-links {
        text-align: center;
        margin-bottom: 0.5rem;
    }
    .top-bar-socials {
        text-align: center;
        justify-content: center;
    }
    .top-bar-special {
        justify-content: center;
        margin-bottom: 0.5rem;
        width: 100%;
    }
    .hero-main-card {
        min-height: 300px;
    }
}

/* Category Page Styling */
.category-header-area {
    margin-bottom: 2rem;
}
.category-breadcrumbs {
    font-family: var(--font-english);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}
.category-breadcrumbs a:hover {
    color: var(--primary-red);
}
.category-page-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Category Featured Card */
.category-featured-card-horizontal {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.category-featured-card-horizontal:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}
.category-featured-card-horizontal .featured-img-col {
    position: relative;
    min-height: 240px;
    background-color: #f1f3f5;
    background-size: cover;
    background-position: center;
}
.category-featured-card-horizontal .featured-img-placeholder {
    height: 100%;
    min-height: 280px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 3rem;
}
.category-featured-card-horizontal .featured-content-col {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.category-featured-card-horizontal .featured-title {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}
.category-featured-card-horizontal .featured-title a:hover {
    color: var(--primary-red);
}
.category-featured-card-horizontal .featured-author-meta {
    font-family: var(--font-english);
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.category-featured-card-horizontal .featured-author-name {
    font-family: var(--font-malayalam);
    font-weight: 700;
    color: var(--text-dark);
}
.category-featured-card-horizontal .featured-excerpt {
    font-size: 0.9rem;
    color: #4a4d52;
    line-height: 1.6;
    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .category-featured-card-horizontal {
        flex-direction: row;
    }
    .category-featured-card-horizontal .featured-img-col {
        flex: 0 0 45%;
        min-height: 280px;
    }
    .category-featured-card-horizontal .featured-content-col {
        flex: 0 0 55%;
        padding: 2rem;
    }
}

/* Category Grid (2 Column layout for items) */
.category-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}
.category-grid-item {
    display: flex;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    padding: 0.85rem;
    gap: 0.85rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.category-grid-item:hover {
    border-color: var(--primary-red);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.category-grid-item .grid-img-col {
    width: 100px;
    height: 75px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    background-color: #f1f3f5;
}
.category-grid-item .grid-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.category-grid-item:hover .grid-img-col img {
    transform: scale(1.05);
}
.category-grid-item .grid-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 1.5rem;
}
.category-grid-item .grid-content-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}
.category-grid-item .grid-title {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.category-grid-item .grid-title a:hover {
    color: var(--primary-red);
}
.category-grid-item .grid-meta {
    font-family: var(--font-english);
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 767.98px) {
    .category-news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Sidebar Custom Widgets */
.sidebar-ad-300-250 {
    width: 300px;
    height: 250px;
    background-color: #f1f3f5;
    border: 1px solid var(--border-color);
    color: #868e96;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-family: var(--font-english);
    text-align: center;
    margin: 0 auto 2rem auto;
    border-radius: 4px;
    box-sizing: border-box;
}
.sidebar-ad-300-250 .ad-title {
    font-weight: 700;
    letter-spacing: 0.05rem;
    margin-bottom: 0.25rem;
}
.sidebar-ad-300-250 .ad-size {
    font-weight: 400;
}

.sidebar-most-read-widget {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}
.sidebar-most-read-widget .widget-title {
    font-family: var(--font-english);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.02rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    text-transform: uppercase;
}
.sidebar-most-read-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 45px;
    height: 2px;
    background-color: var(--primary-red);
}
.sidebar-most-read-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.sidebar-most-read-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed var(--border-color);
}
.sidebar-most-read-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.sidebar-most-read-num {
    font-family: var(--font-english);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-red);
    width: 18px;
    line-height: 1.2;
    flex-shrink: 0;
}
.sidebar-most-read-link {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
}
.sidebar-most-read-link:hover {
    color: var(--primary-red);
}
.sidebar-most-read-more-btn {
    display: block;
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.82rem;
    margin-top: 1rem;
    transition: color 0.2s;
}
.sidebar-most-read-more-btn:hover {
    color: var(--primary-red-hover);
    text-decoration: underline;
}

/* Red / Square themed Pagination */
.category-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    margin: 2.5rem 0 1rem 0;
}
.category-pagination-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    background-color: #ffffff;
    color: var(--text-dark);
    font-family: var(--font-english);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 3px;
    transition: all 0.2s ease;
}
.category-pagination-item.active {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: #ffffff !important;
}
.category-pagination-item:hover:not(.active) {
    border-color: var(--primary-red);
    color: var(--primary-red) !important;
    background-color: #fff5f5;
}
.category-pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* News Detail Page Styling */
.details-category-badge {
    background-color: var(--primary-red);
    color: white;
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 1rem;
}
.details-category-badge:hover {
    background-color: var(--primary-red-hover);
    color: white;
}
.details-headline {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}
.details-subheading {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}
.details-meta-share-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.details-meta-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-family: var(--font-english);
    font-size: 0.85rem;
    color: var(--text-muted);
}
.details-meta-author {
    font-family: var(--font-malayalam);
    font-weight: 700;
    color: var(--text-dark);
}
.details-share-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    font-family: var(--font-english);
}
.details-share-right .share-label {
    font-weight: 700;
    color: var(--text-dark);
}
.details-share-right a {
    color: var(--text-muted);
    font-size: 1rem;
    transition: color 0.2s;
    width: 28px;
    height: 28px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.details-share-right a:hover {
    color: var(--primary-red);
    border-color: var(--primary-red);
    background-color: #fff5f5;
}

/* Images & Captions */
.details-featured-img-container {
    margin-bottom: 1rem;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f1f3f5;
    border: 1px solid var(--border-color);
}
.details-featured-img-container img {
    width: 100%;
    height: auto;
    display: block;
}
.details-img-caption {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.4;
}

/* Article Content Body */
.details-content-body {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-dark);
    margin-bottom: 2rem;
}
.details-content-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
}
.details-inline-image {
    max-width: 480px;
    margin: 2rem auto;
    text-align: center;
}
.details-inline-image img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

/* Bottom Share Bar */
.details-bottom-share-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    margin-bottom: 2.5rem;
}
.details-bottom-share-bar .share-title {
    font-family: var(--font-english);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.05rem;
    color: var(--text-dark);
}
.details-bottom-share-bar a {
    color: var(--text-muted);
    font-size: 1.1rem;
    transition: color 0.2s;
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.details-bottom-share-bar a:hover {
    color: var(--primary-red);
    border-color: var(--primary-red);
    background-color: #fff5f5;
}

/* Next / Prev Story Nav Blocks */
.details-story-navigation {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
.details-nav-box {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.25rem;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-color 0.2s, background-color 0.2s;
    min-width: 0;
}
.details-nav-box:hover {
    border-color: var(--primary-red);
    background-color: #fff5f5;
}
.details-nav-box .nav-label {
    font-family: var(--font-english);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.details-nav-box .nav-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-dark);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
}
.details-nav-box.prev-box {
    align-items: flex-start;
}
.details-nav-box.next-box {
    align-items: flex-end;
    text-align: right;
}

@media (max-width: 767.98px) {
    .details-story-navigation {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Sidebar Custom Details Widgets */
.sidebar-tags-widget {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}
.sidebar-tags-widget .widget-title {
    font-family: var(--font-english);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.02rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    text-transform: uppercase;
}
.sidebar-tags-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 45px;
    height: 2px;
    background-color: var(--primary-red);
}
.sidebar-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-tag-item a {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    font-family: var(--font-english);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.2s ease;
}
.sidebar-tag-item a:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: #ffffff !important;
}

.sidebar-author-widget {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}
.sidebar-author-widget .widget-title {
    font-family: var(--font-english);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.02rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    text-transform: uppercase;
    text-align: start;
}
.sidebar-author-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 45px;
    height: 2px;
    background-color: var(--primary-red);
}
.sidebar-author-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background-color: #f1f3f5;
    border: 1px solid var(--border-color);
    margin: 0 auto 0.75rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 2.2rem;
    overflow: hidden;
}
.sidebar-author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}
.sidebar-author-title {
    font-family: var(--font-english);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-red);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}
.sidebar-author-bio {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 1rem;
}
.sidebar-author-socials {
    display: flex;
    justify-content: center;
    gap: 0.85rem;
}
.sidebar-author-socials a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: color 0.2s;
}
.sidebar-author-socials a:hover {
    color: var(--primary-red);
}

.sidebar-related-widget {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}
.sidebar-related-widget .widget-title {
    font-family: var(--font-english);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.02rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    position: relative;
    text-transform: uppercase;
}
.sidebar-related-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 45px;
    height: 2px;
    background-color: var(--primary-red);
}
.sidebar-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.sidebar-related-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed var(--border-color);
}
.sidebar-related-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.sidebar-related-item .related-img {
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
    background-color: #f1f3f5;
}
.sidebar-related-item .related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sidebar-related-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.sidebar-related-link {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.2rem;
}
.sidebar-related-link:hover {
    color: var(--primary-red);
}
.sidebar-related-meta {
    font-family: var(--font-english);
    font-size: 0.72rem;
    color: var(--text-muted);
}
.sidebar-related-more-btn {
    display: block;
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.82rem;
    margin-top: 1rem;
    transition: color 0.2s;
}
.sidebar-related-more-btn:hover {
    color: var(--primary-red-hover);
    text-decoration: underline;
}

/* About Us Page Styling */
.about-intro-row {
    margin-bottom: 3rem;
}
.about-img-container {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: #f1f3f5;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    height: 100%;
    min-height: 280px;
}
.about-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.about-intro-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
.about-intro-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    text-align: justify;
}
.about-intro-text p:last-child {
    margin-bottom: 0;
}

.about-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.about-value-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 2.25rem 1.25rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.about-value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border-color: var(--primary-red);
}
.about-value-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1.5px solid var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
    transition: all 0.2s ease;
}
.about-value-card:hover .about-value-icon {
    border-color: var(--primary-red);
    color: var(--primary-red);
    background-color: #fff5f5;
}
.about-value-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}
.about-value-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
}

@media (max-width: 991.98px) {
    .about-values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}
@media (max-width: 575.98px) {
    .about-values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Search Result Page Styling */
.search-header-info {
    margin-bottom: 2rem;
}
.search-result-count {
    font-family: var(--font-english);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.search-result-list {
    display: flex;
    flex-direction: column;
}
.search-result-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-color);
}
.search-result-item:last-child {
    border-bottom: none;
}
.search-result-img-col {
    width: 140px;
    height: 100px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    background-color: #f1f3f5;
    border: 1px solid var(--border-color);
    position: relative;
}
.search-result-img-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.search-result-item:hover .search-result-img-col img {
    transform: scale(1.05);
}
.search-result-content-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.search-result-title {
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}
.search-result-title a:hover {
    color: var(--primary-red);
}
.search-result-title .highlight {
    color: var(--primary-red);
    font-weight: 700;
}
.search-result-meta {
    font-family: var(--font-english);
    font-size: 0.8rem;
    color: var(--text-muted);
}
.search-result-meta .meta-category {
    font-family: var(--font-malayalam);
    font-weight: 700;
    color: var(--text-dark);
}

@media (max-width: 575.98px) {
    .search-result-item {
        flex-direction: column;
        gap: 0.85rem;
    }
    .search-result-img-col {
        width: 100%;
        height: 180px;
    }
}

/* Refine Search Sidebar Widget */
.sidebar-refine-widget {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.25rem;
    margin-bottom: 2rem;
}
.sidebar-refine-widget .widget-title {
    font-family: var(--font-english);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.02rem;
    color: var(--text-dark);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}
.sidebar-refine-widget .widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 45px;
    height: 2px;
    background-color: var(--primary-red);
}
.refine-section {
    margin-bottom: 1.5rem;
}
.refine-section-title {
    font-family: var(--font-english);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.25rem;
}
.refine-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.refine-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-dark);
    cursor: pointer;
    user-select: none;
}
.refine-checkbox-label input {
    cursor: pointer;
}
.refine-apply-btn {
    display: block;
    width: 100%;
    background-color: var(--primary-red);
    border: none;
    color: white;
    padding: 0.55rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    margin-top: 1rem;
    transition: background-color 0.2s;
}
.refine-apply-btn:hover {
    background-color: var(--primary-red-hover);
}

/* ==========================================================================
   FOOTER STYLES (Matching Kerala Jalakam Design Specification)
   ========================================================================== */
.main-footer {
    background-color: #051427;
    color: #cbd5e1;
    font-family: var(--font-malayalam);
}

.footer-top {
    background-color: #04101e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer Logo & Brand Block */
.footer-logo-title {
    color: #ffffff;
    font-size: 1.85rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: var(--font-malayalam);
}

.footer-tagline {
    color: #e51a24;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 2px;
    font-family: var(--font-malayalam);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-top: 1rem;
    max-width: 380px;
    font-family: var(--font-malayalam);
}

/* Social Media Circular Buttons */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    background: transparent;
}

.social-circle:hover {
    background-color: #e51a24;
    border-color: #e51a24;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Vertical Separator for Column Area */
@media (min-width: 992px) {
    .footer-links-wrapper {
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 2.5rem !important;
    }
}

/* Footer Link Columns */
.footer-column-title {
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
    font-family: var(--font-english);
}

.title-underline {
    width: 35px;
    height: 2px;
    background-color: #e51a24;
    margin-bottom: 1.25rem;
    border-radius: 2px;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.88rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    font-family: var(--font-english);
}

.footer-links a i {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-links a:hover i {
    color: #e51a24;
    transform: translateX(2px);
}

/* Newsletter Section */
.footer-newsletter {
    background-color: #030b15;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.newsletter-icon-ring {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 50%;
    border: 1px solid rgba(229, 26, 36, 0.4);
    background-color: rgba(229, 26, 36, 0.06);
    color: #e51a24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.newsletter-heading {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
}

.newsletter-subm {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.84rem;
}

.newsletter-form .input-group {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    overflow: hidden;
}

.newsletter-form .form-control {
    font-size: 0.88rem;
    color: #ffffff !important;
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.newsletter-form .btn-subscribe {
    background-color: #e51a24;
    border-color: #e51a24;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background-color 0.2s ease;
}

.newsletter-form .btn-subscribe:hover {
    background-color: #c8131c;
    border-color: #c8131c;
}

@media (min-width: 992px) {
    .border-start-lg {
        border-left: 1px solid rgba(255, 255, 255, 0.12);
    }
}

.newsletter-privacy {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    line-height: 1.35;
}

/* Sub-Footer (Light Off-White Background & Blended Artwork) */
.sub-footer {
    background-color: #f5f5f7 !important;
    color: #334155 !important;
    font-size: 0.88rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    overflow: hidden;
}

.copyright-text {
    font-size: 0.88rem;
    color: #475569;
    letter-spacing: -0.1px;
}

.copyright-text strong {
    color: #0f172a;
}

.made-with-text {
    font-size: 0.85rem;
    color: #64748b;
}

.sub-footer-divider {
    width: 1px;
    height: 40px;
    background-color: #cbd5e1;
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.footer-kerala-art {
    max-height: 125px;
    width: 100%;
    max-width: 850px;
    object-fit: contain;
    object-position: right center;
    margin-left: auto;
    display: block;
    mix-blend-mode: multiply;
    opacity: 0.98;
}

/* Logo Image Styling */
.header-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

/* ==========================================================================
   ABOUT US PAGE STYLES (Matching Target Design Specification)
   ========================================================================== */

/* Breadcrumbs */
.about-breadcrumbs {
    font-size: 0.88rem;
    color: #64748b;
}

.about-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
}

.about-breadcrumbs a:hover {
    color: #c91c1c;
}

/* Hero Section */
.about-tag-label {
    color: #c91c1c;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.about-hero-title {
    font-family: var(--font-english);
    font-size: 2.75rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.about-hero-malayalam {
    font-family: var(--font-malayalam);
    font-size: 1.45rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.5;
}

.about-red-line {
    width: 45px;
    height: 3px;
    background-color: #c91c1c;
    border-radius: 2px;
}

.about-hero-subtitle {
    font-size: 0.95rem;
    color: #475569;
    font-weight: 500;
    max-width: 480px;
    line-height: 1.6;
}

.about-hero-img-wrap {
    position: relative;
    width: 100%;
    max-width: 680px;
}

.about-hero-top-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Section Common Titles */
.about-section-title {
    font-family: var(--font-english);
    font-size: 1.75rem;
    font-weight: 800;
    color: #0f172a;
    position: relative;
    display: inline-block;
}

.about-section-title-wrapper {
    text-align: center;
    margin-bottom: 2.5rem;
}

.about-section-title-wrapper .title-underline-center {
    width: 40px;
    height: 3px;
    background-color: #c91c1c;
    margin: 0.5rem auto 0 auto;
    border-radius: 2px;
}

/* Who We Are */
.about-who-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.about-who-text p {
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.7;
    margin-bottom: 1.1rem;
}

/* Key Metrics Row */
.about-stats-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.stat-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
}

.stat-icon-raw {
    font-size: 2.35rem;
    color: #d92323;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

@media (min-width: 768px) {
    .stat-col-divider {
        border-right: 1px solid #e2e8f0;
    }
}

.stat-label {
    font-size: 0.8rem;
    color: #475569;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 2px;
}

.stat-value {
    font-family: var(--font-english);
    font-size: 1.65rem;
    font-weight: 800;
    color: #0b1329;
    line-height: 1.1;
}

/* Our Mission & Values */
.about-value-card-target {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    transition: all 0.25s ease;
}

.about-value-card-target:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.value-icon-box {
    font-size: 2.25rem;
    color: #d92323;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 1.1rem;
    background: transparent;
    border: none;
    width: auto;
    height: auto;
}

.value-card-title {
    font-family: var(--font-english);
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.65rem;
}

.value-card-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Our Journey Stepper Timeline */
.timeline-wrapper {
    position: relative;
    padding: 2rem 0 1rem 0;
}

.timeline-line {
    position: absolute;
    top: 52px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #334155;
    z-index: 1;
}

.timeline-step {
    position: relative;
    z-index: 2;
    text-align: center;
}

.timeline-node {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.timeline-node-red {
    color: #d92323;
}

.timeline-step:hover .timeline-node {
    border-color: #d92323;
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(217, 35, 35, 0.12);
}

.timeline-year {
    font-family: var(--font-english);
    font-size: 1.15rem;
    font-weight: 800;
    color: #d92323;
    margin-bottom: 0.35rem;
}

.timeline-desc {
    font-size: 0.82rem;
    color: #334155;
    font-weight: 600;
    line-height: 1.35;
    max-width: 145px;
    margin: 0 auto;
}

/* Leadership Team */
.team-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.4rem 1.25rem;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    transition: all 0.25s ease;
}

.team-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.team-avatar {
    width: 120px;
    height: 135px;
    min-width: 120px;
    border-radius: 12px;
    object-fit: cover;
}

.team-name {
    font-family: var(--font-english);
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2px;
}

.team-role {
    color: #d92323;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.team-bio {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.team-socials a {
    color: #334155;
    font-size: 0.95rem;
    margin-right: 0.85rem;
    transition: color 0.2s ease;
}

.team-socials a:hover {
    color: #d92323;
}

/* Bottom Action Callout Grid */
.action-cards-grid {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.6rem 1.25rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.action-card-item {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 0.5rem 0.5rem;
}

@media (min-width: 768px) {
    .action-col-divider {
        border-right: 1px solid #e2e8f0;
    }
}

.action-icon-raw {
    font-size: 2.35rem;
    color: #d92323;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.action-title {
    font-family: var(--font-english);
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2px;
}

.action-subtitle {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 0.45rem;
}

.action-link {
    color: #d92323;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.action-link:hover {
    color: #b91c1c;
}

/* Editorial Policy Page Styles */
.editorial-hero-title {
    font-family: var(--font-english);
    font-weight: 800;
    font-size: 2.4rem;
    color: #0f172a;
    line-height: 1.2;
}

.editorial-red-bar {
    width: 55px;
    height: 4px;
    background-color: var(--primary-red);
    border-radius: 2px;
    margin-top: 10px;
    margin-bottom: 14px;
}

.editorial-hero-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    font-family: var(--font-english);
    margin-bottom: 0;
}

.editorial-commitment-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.commitment-icon-box {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 8px;
    background-color: rgba(201, 28, 28, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
}

.editorial-section-item {
    padding-bottom: 1.75rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid #f1f5f9;
    scroll-margin-top: 90px;
}

.editorial-section-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.section-number-badge {
    background-color: var(--primary-red);
    color: #ffffff;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-english);
    margin-right: 12px;
}

.section-heading-title {
    font-family: var(--font-english);
    font-weight: 800;
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 0;
}

.section-text-content {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.65;
    font-family: var(--font-english);
    padding-left: 36px;
    margin-top: 8px;
}

.section-text-content p {
    margin-bottom: 0.4rem;
}

.section-text-content p:last-child {
    margin-bottom: 0;
}

.editorial-feedback-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feedback-icon-square {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border: 1.5px solid var(--primary-red);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1.2rem;
    background-color: #ffffff;
}

.sidebar-policy-widget {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.35rem 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.sidebar-widget-title {
    font-family: var(--font-english);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: #0f172a;
    text-transform: uppercase;
    margin-bottom: 0.35rem;
}

.sidebar-red-line {
    width: 32px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 2px;
    margin-bottom: 1.1rem;
}

.sidebar-nav-list li {
    margin-bottom: 0.65rem;
}

.sidebar-nav-list li a {
    color: #475569;
    font-family: var(--font-english);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sidebar-nav-list li a:hover {
    color: var(--primary-red);
    padding-left: 3px;
}

.sidebar-related-list li {
    margin-bottom: 0.85rem;
}

.sidebar-related-list li:last-child {
    margin-bottom: 0;
}

.sidebar-related-list li a {
    color: #475569;
    font-family: var(--font-english);
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.2s ease;
}

.sidebar-related-list li a:hover {
    color: var(--primary-red);
}

.sidebar-tip-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.75rem 1.25rem;
    text-align: center;
}

.tip-title {
    font-family: var(--font-malayalam);
    font-weight: 800;
    color: #b91c1c;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.tip-btn {
    background-color: var(--primary-red);
    color: #ffffff;
    font-family: var(--font-english);
    font-weight: 700;
    font-size: 0.88rem;
    border: none;
    border-radius: 6px;
    padding: 0.65rem 1rem;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
}

.tip-btn:hover {
    background-color: var(--primary-red-hover);
    color: #ffffff;
}

/* Search Page Styles */
.search-header-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.search-icon-circle {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background-color: var(--primary-red);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.search-query-title {
    font-family: var(--font-malayalam);
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin-bottom: 2px;
}

.search-input-box {
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    padding: 0.55rem 0.85rem;
    font-size: 0.9rem;
    font-family: var(--font-english);
}

.search-btn-red {
    background-color: var(--primary-red);
    color: #ffffff;
    font-weight: 700;
    font-family: var(--font-english);
    font-size: 0.9rem;
    border-radius: 6px;
    padding: 0.55rem 1.35rem;
    border: none;
    transition: background-color 0.2s ease;
}

.search-btn-red:hover {
    background-color: var(--primary-red-hover);
    color: #ffffff;
}

.did-you-mean-pill {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-malayalam);
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.did-you-mean-pill:hover {
    background-color: #e2e8f0;
    color: var(--primary-red);
}

.sort-btn-pill {
    font-size: 0.84rem;
    font-weight: 600;
    font-family: var(--font-english);
    padding: 0.35rem 0.85rem;
    border-radius: 6px;
    border: 1px solid transparent;
    color: #64748b;
    background-color: #f1f5f9;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.sort-btn-pill.active {
    background-color: var(--primary-red);
    color: #ffffff;
}

.sort-btn-pill:hover:not(.active) {
    background-color: #e2e8f0;
    color: #0f172a;
}

.search-result-card {
    display: flex;
    gap: 1.25rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    align-items: flex-start;
}

.search-result-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.search-thumb-img {
    width: 220px;
    min-width: 220px;
    height: 135px;
    object-fit: cover;
    border-radius: 8px;
}

.search-category-tag {
    color: var(--primary-red);
    font-size: 0.82rem;
    font-weight: 700;
    font-family: var(--font-malayalam);
    margin-bottom: 0.25rem;
    display: block;
}

.search-title-text {
    font-family: var(--font-malayalam);
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.4;
    margin-bottom: 0.4rem;
}

.search-title-text a {
    color: #0f172a;
    text-decoration: none;
}

.search-title-text a:hover {
    color: var(--primary-red);
}

.search-snippet-text {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
    font-family: var(--font-malayalam);
    margin-bottom: 0.6rem;
}

.search-meta-row {
    font-size: 0.82rem;
    color: #64748b;
    font-family: var(--font-english);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-author-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.search-pagination {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 2rem;
}

.search-page-link {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-family: var(--font-english);
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.search-page-link.active {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: #ffffff;
}

.search-page-link:hover:not(.active) {
    border-color: #cbd5e1;
    color: var(--primary-red);
}

.refine-filter-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.35rem 1.25rem;
}

.refine-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
}

.refine-filter-title {
    font-family: var(--font-english);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: #0f172a;
    text-transform: uppercase;
    margin-bottom: 0;
}

.refine-accordion-item {
    border-bottom: 1px solid #f1f5f9;
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
}

.refine-accordion-item:last-of-type {
    border-bottom: none;
}

.refine-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-english);
    font-weight: 800;
    font-size: 0.82rem;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
}

.refine-checkbox-custom {
    accent-color: var(--primary-red);
    width: 16px;
    height: 16px;
    border-radius: 3px;
    cursor: pointer;
}

.refine-label-text {
    font-family: var(--font-english);
    font-size: 0.86rem;
    color: #334155;
    font-weight: 500;
}

.refine-date-input {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    color: #64748b;
    font-family: var(--font-english);
    background-color: #ffffff;
}




