/* ===== RESET & VARIABLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f4f7f2;
    color: #1e2a1e;
    line-height: 1.5;
}

/* DEFENCE COLOR PALETTE */
:root {
    --primary: #273227;
    /* deep forest */
    --accent: #d6d18a;
    /* light olive */
    --secondary: #535d45;
    /* muted green */
    --tertiary: #8d945b;
    /* sage */
    --light: #f4f7f2;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, #2f4030 100%);
    --gradient-dark: linear-gradient(145deg, #1f2c1f 0%, #2a3a2a 100%);
    --gradient-accent: linear-gradient(135deg, #d6d18a 0%, #c0b97a 100%);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
    font-weight: 600;
    line-height: 1.2;
}

/* ===== BORDER RADIUS - Subtle 8px on all cards ===== */
.card,
.hero-swiper,
.ticker,
.brief-section,
.timeline,
.voice-card,
.mosaic-card,
.map-section,
.domain-card,
.footer-card,
.search-wrapper,
.nav-menu a,
.date-badge,
.hero-btn,
.section-link,
.ticker-badge,
.marker,
.brief-item,
.timeline-node,
.swiper-button-next,
.swiper-button-prev,
.article-card,
.author-box,
.related-card,
.comment-box,
.tag,
.share-btn,
.breadcrumb,
.pagination a,
.article-content img,
.article-content blockquote,
.you-may-like-card,
.hero-section,
.hero-card,
.stat-card,
.featured-card,
.post-card,
.sidebar-widget,
.nav-link,
.search-box,
.date-chip,
.category-chip,
.author-chip,
.newsletter-box,
.filter-chip,
.tag-pill,
.load-more-btn,
.intel-badge,
.search-card,
.search-header,
.search-input-large,
.search-button-large,
.result-meta,
.filter-checkbox,
.search-result-card,
.filters-card,
.filters-header,
.clear-filters-btn,
.filter-section,
.filter-title,
.filter-options,
.filter-checkbox,
.checkmark,
.date-range,
.date-input-group,
.date-input,
.apply-filters-btn,
.recent-searches,
.recent-title,
.recent-tags,
.recent-tag,
.active-filters,
.filter-chip,
.search-highlight,
.no-results-state,
.suggestions-grid,
.suggestion-tag,
.card-image-wrapper,
.card-category,
.card-meta,
.card-excerpt,
.read-more-link,
.search-hero,
.search-hero-bg,
.breadcrumb-wrapper,
.breadcrumb-list,
.search-header-content,
.search-title,
.search-description,
.search-form-container,
.search-input-group,
.search-button,
.search-stats-badge,
.results-layout,
.mobile-filters-toggle,
.filters-card,
.filters-header,
.clear-filters-btn,
.filter-section,
.filter-title,
.filter-options,
.filter-checkbox,
.checkmark,
.filter-label,
.filter-count,
.date-range,
.date-input-group,
.date-input,
.apply-filters-btn,
.recent-searches,
.recent-title,
.recent-tags,
.recent-tag,
.no-recent,
.active-filters,
.filter-chip,
.search-result-card,
.card-image-wrapper,
.card-category,
.card-meta,
.card-excerpt,
.read-more-link,
.no-results-state,
.no-results-icon,
.no-results-title,
.no-results-text,
.suggestions-grid,
.suggestion-tag,
.search-highlight,
.load-more-container,
.load-more-btn {
    border-radius: 8px;
}

/* Keep swiper pagination circular */
.swiper-pagination-bullet {
    border-radius: 50% !important;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--primary);
    border-bottom: 4px solid var(--accent);
    padding: 16px 0;
}

.header-row,
.header-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    font-size: 2.5rem;
    color: var(--accent);
}

.logo h1 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    display: block;
    font-size: 0.7rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.header-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.date-badge,
.date-chip {
    background: var(--secondary);
    color: white;
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-left: 4px solid var(--accent);
}

.date-badge i,
.date-chip i {
    color: var(--accent);
    margin-right: 8px;
}

.search-wrapper,
.search-box {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--secondary);
    overflow: hidden;
}

.search-wrapper form {
    display: flex;
}

.search-wrapper input,
.search-box input {
    padding: 12px 16px;
    border: none;
    outline: none;
    width: 220px;
    font-size: 0.95rem;
}

.search-wrapper button,
.search-box button {
    background: var(--accent);
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
}

.search-wrapper button:hover,
.search-box button:hover {
    background: #c5bf7a;
}

/* ===== NAVIGATION ===== */
.nav-bar {
    background: var(--secondary);
    padding: 12px 0;
    border-bottom: 3px solid var(--tertiary);
}

.nav-menu,
.nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    list-style: none;
}

.nav-menu a,
.nav-link {
    color: white;
    text-decoration: none;
    padding: 8px 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
    transition: 0.2s;
    font-size: 0.95rem;
}

.nav-menu a:hover,
.nav-link:hover,
.nav-link.active {
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.nav-menu i,
.nav-link i {
    color: var(--accent);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 40px 0 20px;
    border-bottom: 3px solid var(--tertiary);
    padding-bottom: 12px;
}

.section-header h2 {
    font-size: 1.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-header h2 i {
    color: var(--accent);
    animation: anchorWave 3s infinite;
}

@keyframes anchorWave {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

.section-link,
.view-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    padding: 8px 20px;
    background: var(--white);
    border: 2px solid var(--secondary);
    transition: 0.2s;
}

.section-link:hover,
.view-link:hover {
    background: var(--accent);
    border-color: var(--primary);
}

/* ===== TICKER ===== */
.ticker {
    background: var(--primary);
    padding: 16px 24px;
    margin: 30px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    border: 2px solid var(--tertiary);
}

.ticker-badge {
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    padding: 6px 18px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.ticker-content {
    flex: 1;
    overflow: hidden;
    color: white;
}

.ticker-scroll {
    display: inline-block;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-scroll span {
    margin-right: 30px;
}

.ticker-scroll i {
    color: var(--accent);
    margin-right: 8px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    margin: 30px 0;
}

.hero-swiper {
    width: 100%;
    height: 450px;
    border: 4px solid var(--secondary);
    overflow: hidden;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(39, 50, 39, 0.95), transparent);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: white;
    max-width: 800px;
}

.hero-label {
    background: var(--accent);
    color: var(--primary);
    padding: 6px 18px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
    border-radius: 8px;
}

.hero-content h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #fff;
}

.hero-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-meta i {
    color: var(--accent);
    margin-right: 6px;
}

.hero-btn {
    background: var(--accent);
    color: var(--primary);
    border: none;
    padding: 12px 30px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--primary);
    transition: 0.2s;
}

.hero-btn:hover {
    background: #c5bf7a;
}

/* ===== GRID SYSTEMS ===== */
.grid-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
}

@media (min-width: 640px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
}

@media (min-width: 640px) {
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 30px 0;
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

/* ===== CARDS ===== */
.card,
.post-card,
.featured-card,
.search-card,
.you-may-like-card,
.article-main,
.sidebar-widget,
.filters-card,
.search-result-card {
    background: var(--white);
    border: 2px solid var(--secondary);
    overflow: hidden;
    transition: 0.2s;
}

.card:hover,
.post-card:hover,
.featured-card:hover,
.search-card:hover,
.you-may-like-card:hover,
.search-result-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-img,
.post-image,
.featured-image,
.search-image,
.you-may-like-img,
.article-featured-image,
.card-image-wrapper {
    height: 180px;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid var(--tertiary);
    transition: 0.3s;
    position: relative;
}

.featured-card.large .featured-image {
    height: 250px;
}

@media (min-width: 768px) {
    .featured-card.large .featured-image {
        height: 100%;
        min-height: 300px;
    }
}

.card:hover .card-img,
.post-card:hover .post-image,
.featured-card:hover .featured-image,
.search-card:hover .search-image,
.you-may-like-card:hover .you-may-like-img,
.search-result-card:hover .card-image-wrapper img {
    transform: scale(1.02);
}

.card-content,
.post-content,
.featured-content,
.search-content,
.you-may-like-content,
.widget-content,
.article-content {
    padding: 20px;
}

.card-content h3,
.post-title,
.featured-title,
.search-title,
.you-may-like-content h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.featured-card.large .featured-title {
    font-size: 2rem;
}

.card-meta,
.post-meta,
.featured-meta,
.search-meta,
.you-may-like-meta,
.article-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 0px;
    padding-top: 10px;
    border-top: 2px dashed var(--tertiary);
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.post-header,
.featured-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.post-date,
.related-meta,
.hot-meta {
    color: var(--secondary);
    font-size: 0.85rem;
}

.post-date i,
.related-meta i,
.hot-meta i {
    color: var(--accent);
    margin-right: 4px;
}

.post-excerpt,
.featured-excerpt,
.card-excerpt,
.search-excerpt {
    color: #2a3a2a;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.post-footer,
.search-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding-top: 15px;
    border-top: 2px dashed var(--tertiary);
}

.post-author,
.search-author {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary);
    font-size: 0.9rem;
}

.post-author i,
.search-author i {
    color: var(--accent);
}

.post-stats,
.search-stats {
    display: flex;
    gap: 15px;
    color: var(--secondary);
    font-size: 0.85rem;
}

.post-stats i,
.search-stats i {
    color: var(--accent);
    margin-right: 3px;
}

.post-category,
.search-category,
.card-category,
.featured-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--primary);
    padding: 5px 15px;
    font-weight: 700;
    font-size: 0.8rem;
    z-index: 2;
    border-radius: 8px;
}

/* ===== BRIEF SECTION ===== */
.brief-section {
    background: var(--gradient);
    padding: 40px;
    color: white;
    border: 4px solid var(--accent);
}

.brief-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.brief-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 25px;
}

@media (min-width: 640px) {
    .brief-grid { grid-template-columns: repeat(2, 1fr); }
}

.brief-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-left: 6px solid var(--accent);
}

.brief-item i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 10px;
}

/* ===== TIMELINE ===== */
.timeline {
    background: var(--primary);
    padding: 40px;
    color: white;
    border: 4px solid var(--tertiary);
}

.timeline h2 {
    color: var(--accent);
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.timeline-flex {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

@media (min-width: 768px) {
    .timeline-flex { flex-direction: row; }
}

.timeline-node {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    flex: 1;
    border: 2px solid var(--tertiary);
}

/* ===== VOICE CARD ===== */
.voice-card {
    background: var(--white);
    border: 2px solid var(--secondary);
    overflow: hidden;
}

.voice-img {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.voice-content {
    padding: 20px;
    background: var(--tertiary);
    color: white;
}

.voice-content i {
    color: var(--accent);
    margin-right: 8px;
}

/* ===== MOSAIC ===== */
.mosaic-card {
    background: var(--secondary);
    border: 3px solid var(--accent);
    overflow: hidden;
}

.mosaic-img {
    height: 150px;
    background-size: cover;
}

.mosaic-content {
    padding: 15px;
    color: white;
}

/* ===== MAP SECTION ===== */
.map-section {
    background: var(--gradient);
    padding: 40px;
    color: white;
    border: 4px solid var(--tertiary);
}

.map-markers {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .map-markers { flex-direction: row; }
}

.marker {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    flex: 1;
    border-left: 8px solid var(--accent);
}

/* ===== DOMAIN CARDS ===== */
.domain-card {
    background: var(--secondary);
    padding: 25px;
    color: white;
    border: 3px solid var(--accent);
    text-align: center;
}

.domain-card i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 10px;
}

/* ===== HERO SECTION (Category/Search) ===== */
.hero-section,
.search-hero,
.search-header {
    background: var(--gradient-dark);
    padding: 60px 50px;
    margin: 20px 0 40px;
    border: 4px solid var(--accent);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.hero-section::before,
.search-hero::before,
.search-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: var(--accent);
    opacity: 0.1;
    border-radius: 50%;
    animation: pulse 8s infinite;
}

.hero-section::after,
.search-hero::after,
.search-header::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: var(--tertiary);
    opacity: 0.05;
    border-radius: 50%;
    animation: pulse 12s infinite reverse;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.05; }
    50% { transform: scale(1.2); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.05; }
}

@media (min-width: 992px) {
    .hero-section { grid-template-columns: 1fr 300px; }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-category {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.hero-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    transform: rotate(5deg);
    transition: transform 0.3s;
    border-radius: 8px;
}

.hero-icon:hover {
    transform: rotate(0deg) scale(1.05);
}

.hero-category h1,
.search-title {
    color: white;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.search-title i {
    color: var(--accent);
}

.hero-description,
.search-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-tag {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 6px 18px;
    font-size: 0.9rem;
    border: 2px solid var(--accent);
    cursor: default;
    backdrop-filter: blur(5px);
    transition: 0.3s;
    border-radius: 8px;
}

.hero-tag:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border: 2px solid var(--accent);
    text-align: center;
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-label {
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stat-trend {
    color: var(--accent);
    font-size: 0.9rem;
    margin-top: 5px;
}

/* ===== FEATURED POSTS ===== */
.featured-posts {
    margin: 50px 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 768px) {
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
}

.featured-card.large {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .featured-card.large {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.author-row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.author-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--light);
    padding: 5px 15px 5px 5px;
    border: 2px solid var(--secondary);
    transition: 0.2s;
}

.author-chip:hover {
    border-color: var(--accent);
}

.author-chip img {
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent);
    border-radius: 8px;
}

.read-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: rgba(214, 209, 138, 0.1);
    transition: 0.2s;
    border-radius: 8px;
}

.read-link:hover {
    color: var(--primary);
    background: var(--accent);
    padding: 5px 15px;
}

/* ===== FILTERS ===== */
.filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0;
    padding: 15px 0;
    border-top: 2px solid var(--tertiary);
    border-bottom: 2px solid var(--tertiary);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
}

.filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-chip {
    padding: 8px 22px;
    background: var(--white);
    border: 2px solid var(--secondary);
    color: var(--primary);
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
}

.filter-chip:hover,
.filter-chip.active {
    background: var(--accent);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.sort-select {
    padding: 8px 25px;
    border: 2px solid var(--secondary);
    background: var(--white);
    font-family: inherit;
    font-weight: 500;
    color: var(--primary);
    cursor: pointer;
    border-radius: 8px;
}

/* ===== FILTER SECTION (Search Page) ===== */
.filter-section {
    margin-bottom: 25px;
}

.filter-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #333;
}

.filter-title i {
    color: var(--accent);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
}

.filter-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s;
}

.filter-checkbox:hover input ~ .checkmark {
    border-color: var(--accent);
}

.filter-checkbox input:checked ~ .checkmark {
    background-color: var(--accent);
    border-color: var(--accent);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.filter-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.filter-checkbox .checkmark:after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-label {
    flex: 1;
    font-size: 0.95rem;
    color: #444;
}

.filter-count {
    color: #999;
    font-size: 0.85rem;
}

/* Date Range */
.date-range {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.date-input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.date-input-group label {
    font-size: 0.9rem;
    color: #666;
}

.date-input {
    padding: 10px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
}

.date-input:focus {
    border-color: var(--accent);
}

/* Apply Filters Button */
.apply-filters-btn {
    width: 100%;
    padding: 15px;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    margin-top: 20px;
}

.apply-filters-btn:hover {
    background: #c5bf7a;
    transform: translateY(-2px);
}

/* Recent Searches */
.recent-searches {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.recent-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.recent-title i {
    color: var(--accent);
}

.recent-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.recent-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.recent-tag:hover {
    background: var(--accent);
    color: var(--primary);
}

.recent-tag i {
    font-size: 0.8rem;
}

.no-recent {
    color: #999;
    font-style: italic;
    text-align: center;
    padding: 15px;
}

/* Active Filters */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    min-height: 40px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-chip i {
    font-size: 0.8rem;
    color: var(--accent);
}

.filter-chip:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--primary);
}

.filter-chip:hover i {
    color: var(--primary);
}

.filter-chip.clear-all {
    background: var(--accent);
    color: var(--primary);
    border-color: var(--accent);
    font-weight: 600;
}

/* ===== SEARCH PAGE SPECIFIC ===== */
.search-header h1 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.search-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.search-form-large,
.search-form-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 700px;
    margin: 0 auto;
    gap: 10px;
}

.search-input-large {
    flex: 1;
    padding: 18px 25px;
    border: 3px solid var(--accent);
    background: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    outline: none;
    min-width: 250px;
}

.search-input-large:focus {
    background: white;
    box-shadow: 0 0 0 4px rgba(214, 209, 138, 0.3);
}

.search-button-large,
.search-button {
    background: var(--accent);
    border: 3px solid var(--accent);
    padding: 18px 35px;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.2s;
}

.search-button-large:hover,
.search-button:hover {
    background: #c5bf7a;
    transform: scale(1.02);
}

.search-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0 20px;
    padding: 15px 20px;
    background: var(--white);
    border: 2px solid var(--secondary);
}

.results-count {
    font-size: 1.1rem;
    color: var(--primary);
}

.results-count strong {
    color: var(--accent);
    font-size: 1.3rem;
}

.search-suggest {
    color: var(--secondary);
    font-style: italic;
}

.search-suggest span {
    color: var(--accent);
    font-weight: 600;
    font-style: normal;
}

.search-highlight {
    background: rgba(214, 209, 138, 0.2);
    color: var(--primary);
    padding: 2px 4px;
    font-weight: 500;
    border-radius: 4px;
}

.result-meta {
    display: inline-block;
    background: var(--light);
    padding: 3px 10px;
    margin-right: 10px;
    font-size: 0.8rem;
    color: var(--secondary);
    border: 1px solid var(--tertiary);
}

/* ===== ARTICLE PAGE SPECIFIC ===== */
.article-grid,
.search-grid,
.main-grid,
.results-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin: 40px 0;
}

@media (min-width: 992px) {
    .article-grid { grid-template-columns: 2fr 1fr; }
    .search-grid { grid-template-columns: 280px 1fr; }
    .main-grid { grid-template-columns: 1fr 320px; }
    .results-layout { grid-template-columns: 300px 1fr; }
}

.article-header {
    padding: 10px 30px 0px;
}

.article-category {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 5px 15px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
    border-radius: 8px;
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .article-header h1 { font-size: 2rem; }
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 0px;
    padding-bottom: 10px;
    border-bottom: 2px dashed var(--tertiary);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-size: 0.95rem;
}

.meta-item i {
    color: var(--accent);
}

.article-featured-image {
    width: 100%;
    height: 400px;
    background-size: cover;
    background-position: center;
    border-top: 4px solid var(--accent);
    border-bottom: 4px solid var(--accent);
}

@media (max-width: 768px) {
    .article-featured-image { height: 250px; }
}

.article-content {
    padding: 30px;
}

.article-content h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin: 30px 0 15px;
}

.article-content h3 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin: 25px 0 10px;
}

.article-content p {
    margin-bottom: 20px;
    color: #2a3a2a;
}

.article-content strong {
    color: var(--primary);
}

.article-content blockquote {
    background: var(--light);
    border-left: 6px solid var(--accent);
    padding: 20px 25px;
    margin: 25px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--primary);
}

.article-content ul,
.article-content ol {
    margin: 20px 0 20px 30px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border: 4px solid var(--tertiary);
    margin: 20px 0;
}

.article-content .caption {
    text-align: center;
    font-size: 0.9rem;
    color: var(--secondary);
    margin-top: -15px;
    margin-bottom: 20px;
}

/* ===== ARTICLE FOOTER ===== */
.article-footer {
    padding: 20px 30px 30px;
    border-top: 2px solid var(--tertiary);
}

.tag-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.tag-label {
    font-weight: 700;
    color: var(--primary);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag,
.tag-pill,
.suggestion-tag {
    background: var(--light);
    color: var(--primary);
    padding: 6px 15px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid var(--secondary);
    transition: 0.2s;
}

.tag:hover,
.tag-pill:hover,
.suggestion-tag:hover {
    background: var(--accent);
    border-color: var(--primary);
}

.share-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-btn {
    background: var(--secondary);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    border: 2px solid transparent;
}

.share-btn:hover {
    background: var(--primary);
    border-color: var(--accent);
}

.share-btn i {
    color: var(--accent);
}

/* ===== AUTHOR BOX ===== */
.author-box {
    background: var(--light);
    border: 2px solid var(--secondary);
    padding: 25px;
    margin: 0 30px 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    border: 4px solid var(--accent);
}

.author-info {
    flex: 1;
}

.author-info h4 {
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.author-info .title {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.author-info p {
    color: #2a3a2a;
}

/* ===== SIDEBAR ===== */
.article-sidebar,
.sidebar,
.filter-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget,
.filter-widget,
.filters-card {
    background: var(--white);
    border: 2px solid var(--secondary);
    overflow: hidden;
}

.widget-header,
.filter-widget-header,
.filters-header {
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    border-bottom: 4px solid var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
}

.filters-header {
    justify-content: space-between;
}

.widget-header h3,
.filter-widget-header h3,
.filters-header h3 {
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-header i,
.filter-widget-header i,
.filters-header i {
    color: var(--accent);
}

.clear-filters-btn {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.clear-filters-btn:hover {
    background: #f0f0f0;
    color: #333;
}

.widget-content,
.filter-widget-content {
    padding: 20px;
}

/* Category List */
.category-list,
.category-chips {
    list-style: none;
}

.category-list li {
    margin-bottom: 12px;
    border-bottom: 2px dashed var(--tertiary);
    padding-bottom: 12px;
}

.category-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.category-list a,
.category-chip {
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.category-chip {
    padding: 12px 18px;
    background: var(--light);
    border: 2px solid var(--secondary);
    justify-content: space-between;
}

.category-chip:hover,
.category-chip.active {
    background: var(--accent);
    border-color: var(--primary);
    transform: translateX(5px);
}

.category-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-left i {
    color: var(--accent);
    width: 20px;
}

.category-chip:hover .category-left i {
    color: var(--primary);
}

.category-count {
    background: var(--white);
    color: var(--primary);
    padding: 3px 10px;
    font-weight: 600;
    border: 2px solid var(--secondary);
}

/* Related Articles */
.related-card {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px dashed var(--tertiary);
}

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

.related-img {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    border: 3px solid var(--accent);
}

.related-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.related-content h4 a {
    color: var(--primary);
    text-decoration: none;
}

.related-content h4 a:hover {
    color: var(--accent);
}

.related-meta {
    font-size: 0.85rem;
    color: var(--secondary);
}

.related-meta i {
    color: var(--accent);
    margin-right: 4px;
}

/* Hot Topics */
.hot-topic {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 2px dashed var(--tertiary);
    transition: 0.2s;
}

.hot-topic:hover {
    transform: translateX(5px);
}

.hot-topic:last-child {
    border-bottom: none;
}

.hot-topic i {
    color: var(--accent);
    font-size: 1.3rem;
    width: 25px;
}

.hot-topic-content h4 {
    font-size: 1rem;
    margin-bottom: 3px;
}

.hot-topic-content a {
    color: var(--primary);
    text-decoration: none;
}

.hot-topic-content a:hover {
    color: var(--accent);
}

.hot-meta {
    font-size: 0.8rem;
    color: var(--secondary);
}

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

/* Table of Contents */
.toc-list {
    list-style: none;
}

.toc-list li {
    margin-bottom: 10px;
}

.toc-list a {
    color: var(--primary);
    text-decoration: none;
    display: block;
    padding: 8px 12px;
    background: var(--light);
    border-left: 4px solid var(--accent);
}

.toc-list a:hover {
    background: var(--accent);
    color: var(--primary);
}

/* Intel Brief Widget */
.intel-badge {
    background: var(--light);
    padding: 15px;
    margin-bottom: 10px;
    border-left: 6px solid var(--accent);
}

/* ===== YOU MAY ALSO LIKE SECTION ===== */
.you-may-like-section {
    margin: 50px 0 40px;
}

.you-may-like-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    border-bottom: 3px solid var(--tertiary);
    padding-bottom: 12px;
}

.you-may-like-header h2 {
    font-size: 2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.you-may-like-header h2 i {
    color: var(--accent);
}

.you-may-like-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

@media (min-width: 640px) {
    .you-may-like-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .you-may-like-grid { grid-template-columns: repeat(3, 1fr); }
}

.you-may-like-content p {
    color: #2a3a2a;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

/* ===== LOAD MORE / PAGINATION ===== */
.load-more-container,
.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 50px 0;
}

.load-more-btn {
    background: var(--primary);
    color: white;
    border: 3px solid var(--accent);
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: 0.3s;
}

.load-more-btn:hover {
    background: var(--accent);
    color: var(--primary);
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(214, 209, 138, 0.3);
}

.load-more-btn i {
    transition: 0.3s;
}

.load-more-btn:hover i {
    transform: rotate(90deg);
}

.pagination a {
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    padding: 10px 18px;
    border: 2px solid var(--secondary);
    font-weight: 600;
    transition: 0.2s;
}

.pagination a:hover {
    background: var(--accent);
    border-color: var(--primary);
}

.pagination .active {
    background: var(--primary);
    color: white;
    border-color: var(--accent);
}

/* ===== NO RESULTS ===== */
.no-results,
.no-results-state {
    background: var(--white);
    border: 2px solid var(--secondary);
    padding: 60px 40px;
    text-align: center;
}

.no-results i,
.no-results-icon {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.no-results h3,
.no-results-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.no-results p,
.no-results-text {
    color: var(--secondary);
    margin-bottom: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.no-results-suggestions,
.suggestions-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.no-results-title span {
    color: var(--accent);
}

/* ===== BREADCRUMB LIST (Tag Page) ===== */
.breadcrumb-wrapper {
    margin-bottom: 30px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-list li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.breadcrumb-list li a:hover {
    color: var(--accent);
}

.breadcrumb-list li.current {
    color: var(--accent);
    font-weight: 600;
}

.breadcrumb-list i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== SEARCH STATS BADGE ===== */
.search-stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-stats-badge i {
    color: var(--accent);
}

/* ===== MOBILE FILTERS TOGGLE ===== */
.mobile-filters-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
}

/* ===== DATE FILTER ===== */
.date-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
}

.date-radio input[type="radio"] {
    accent-color: var(--accent);
}

/* ===== FILTER ACTIONS ===== */
.filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed var(--tertiary);
}

.filter-clear {
    background: none;
    border: 2px solid var(--secondary);
    padding: 10px 25px;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    border-radius: 8px;
}

.filter-clear:hover {
    background: var(--secondary);
    color: white;
}

.filter-apply {
    background: var(--accent);
    border: 2px solid var(--accent);
    padding: 10px 30px;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
    border-radius: 8px;
}

.filter-apply:hover {
    background: #c5bf7a;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary);
    color: white;
    padding: 50px 0 20px;
    margin-top: 60px;
    border-top: 6px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-card {
    background: var(--secondary);
    padding: 25px;
    transition: 0.2s;
    border-left: 6px solid var(--accent);
}

.footer-card:hover {
    transform: translateY(-5px);
    border-left: 6px solid var(--accent);
}

.footer-card i {
    color: var(--accent);
    font-size: 2rem;
    margin-bottom: 10px;
}

.footer-card h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid var(--tertiary);
    color: var(--accent);
}

/* ===== UTILITIES ===== */
.mt-2 { margin-top: 20px; }
.mb-2 { margin-bottom: 20px; }
.text-center { text-align: center; }

/* ===== SWIPER CUSTOM ===== */
.swiper-pagination-bullet {
    background: var(--accent);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--accent);
    background: rgba(39, 50, 39, 0.7);
    width: 40px;
    height: 40px;
}

@media (min-width: 768px) {
    .swiper-button-next,
    .swiper-button-prev {
        width: 50px;
        height: 50px;
    }
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 992px) {
    .results-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
    
    .sidebar.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        background: rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        padding: 20px;
    }
    
    .sidebar.active .filters-card {
        max-width: 500px;
        margin: 0 auto;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .search-title {
        font-size: 2rem;
    }
    
    .search-input-group {
        flex-direction: column;
        background: none;
        box-shadow: none;
    }
    
    .search-input {
        border-radius: 30px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .search-button {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-section,
    .search-hero,
    .search-header {
        padding: 40px 30px;
    }
    
    .hero-category h1,
    .search-title {
        font-size: 2rem;
    }
    
    .hero-icon {
        width: 60px;
        height: 60px;
        font-size: 2.2rem;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .author-box,
    .related-card {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin: 0 auto;
    }
    
    .related-img {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .you-may-like-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .search-form-large,
    .search-input-group {
        flex-direction: column;
    }
    
    .search-button-large,
    .load-more-btn {
        width: 100%;
        justify-content: center;
    }
    
    .search-stats {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .card-meta,
    .search-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .article-header h1 {
        font-size: 2rem;
    }
    
    .article-featured-image {
        height: 250px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .mobile-filters-toggle {
        display: flex;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .logo i {
        font-size: 2rem;
    }
    
    .header-right {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .search-wrapper,
    .search-box {
        width: 100%;
    }
    
    .search-wrapper input,
    .search-box input {
        width: 100%;
    }
    
    .nav-menu,
    .nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-menu a,
    .nav-link {
        width: 100%;
        justify-content: center;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .hero-content h3 {
        font-size: 1.5rem;
    }
    
    .brief-section,
    .timeline,
    .map-section {
        padding: 20px;
    }
    
    .brief-section h2 {
        font-size: 2rem;
    }
}
/* tag page */
/* ===== SEARCH HERO SECTION ===== */
.search-hero {
    position: relative;
    background: var(--gradient-dark, linear-gradient(145deg, #1f2c1f 0%, #2a3a2a 100%));
    padding: 60px 0;
    margin-bottom: 40px;
    color: white;
    overflow: hidden;
    border-bottom: 4px solid var(--accent, #d6d18a);
}

.search-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><path d="M30 5L55 20V40L30 55L5 40V20L30 5z" fill="rgba(255,255,255,0.03)"/></svg>');
    opacity: 0.1;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-wrapper {
    margin-bottom: 30px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-list li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.breadcrumb-list li a:hover {
    color: var(--accent, #d6d18a);
}

.breadcrumb-list li.current {
    color: var(--accent, #d6d18a);
    font-weight: 600;
}

.breadcrumb-list i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* ===== SEARCH HEADER CONTENT ===== */
.search-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.search-title {
    font-size: 3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: white;
}

.search-title i {
    color: var(--accent, #d6d18a);
}

.search-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

/* ===== SEARCH STATS BADGE ===== */
.search-stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 25px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.search-stats-badge i {
    color: var(--accent, #d6d18a);
}

/* ===== RESULTS LAYOUT ===== */
.results-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    margin-top: 30px;
}

/* ===== MOBILE FILTERS TOGGLE ===== */
.mobile-filters-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    background: var(--primary, #273227);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    border: 2px solid var(--accent, #d6d18a);
}

.mobile-filters-toggle:hover {
    background: var(--secondary, #535d45);
}

/* ===== FILTERS CARD ===== */
.filters-card {
    background: var(--white, #ffffff);
    border: 2px solid var(--secondary, #535d45);
    border-radius: 8px;
    padding: 0;
    margin-bottom: 25px;
    overflow: hidden;
}

.filters-header {
    background: var(--primary, #273227);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 4px solid var(--accent, #d6d18a);
}

.filters-header h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.2rem;
}

.filters-header i {
    color: var(--accent, #d6d18a);
}

.clear-filters-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    padding: 5px 12px;
    border-radius: 8px;
    transition: all 0.3s;
}

.clear-filters-btn:hover {
    background: var(--accent, #d6d18a);
    color: var(--primary, #273227);
    border-color: var(--primary, #273227);
}

/* ===== FILTER SECTION ===== */
.filter-section {
    margin-bottom: 25px;
    padding: 0 20px;
}

.filter-section:first-of-type {
    padding-top: 20px;
}

.filter-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--primary, #273227);
}

.filter-title i {
    color: var(--accent, #d6d18a);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ===== FILTER CHECKBOX ===== */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
    color: var(--primary, #273227);
}

.filter-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 2px solid var(--secondary, #535d45);
    border-radius: 4px;
    transition: all 0.3s;
}

.filter-checkbox:hover input ~ .checkmark {
    border-color: var(--accent, #d6d18a);
}

.filter-checkbox input:checked ~ .checkmark {
    background-color: var(--accent, #d6d18a);
    border-color: var(--accent, #d6d18a);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.filter-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.filter-checkbox .checkmark:after {
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid var(--primary, #273227);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.filter-label {
    flex: 1;
    font-size: 0.95rem;
}

.filter-count {
    color: var(--secondary, #535d45);
    font-size: 0.85rem;
}

/* ===== DATE RANGE ===== */
.date-range {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.date-input-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.date-input-group label {
    font-size: 0.9rem;
    color: var(--secondary, #535d45);
}

.date-input {
    padding: 10px;
    border: 2px solid var(--secondary, #535d45);
    border-radius: 8px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s;
    background: var(--white, #ffffff);
}

.date-input:focus {
    border-color: var(--accent, #d6d18a);
}

/* ===== APPLY FILTERS BUTTON ===== */
.apply-filters-btn {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 15px;
    background: var(--accent, #d6d18a);
    border: 2px solid var(--primary, #273227);
    border-radius: 8px;
    color: var(--primary, #273227);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
}

.apply-filters-btn:hover {
    background: #c5bf7a;
    transform: translateY(-2px);
}



/* ===== ACTIVE FILTERS ===== */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    min-height: 40px;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: var(--light, #f4f7f2);
    border: 2px solid var(--secondary, #535d45);
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--primary, #273227);
}

.filter-chip i {
    font-size: 0.8rem;
    color: var(--accent, #d6d18a);
}

.filter-chip:hover {
    background: var(--accent, #d6d18a);
    border-color: var(--primary, #273227);
    transform: translateY(-2px);
}

.filter-chip:hover i {
    color: var(--primary, #273227);
}

.filter-chip.clear-all {
    background: var(--accent, #d6d18a);
    color: var(--primary, #273227);
    border-color: var(--primary, #273227);
    font-weight: 600;
}

/* ===== SEARCH RESULT CARDS ===== */
.results-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.search-result-card {
    display: flex;
    background: var(--white, #ffffff);
    border: 2px solid var(--secondary, #535d45);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .search-result-card {
        flex-direction: row;
    }
}

.search-result-card:hover {
    border-color: var(--accent, #d6d18a);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .card-image-wrapper {
        width: 220px;
        height: auto;
        min-height: 200px;
    }
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.search-result-card:hover .card-image-wrapper img {
    transform: scale(1.1);
}

.card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent, #d6d18a);
    color: var(--primary, #273227);
    padding: 5px 15px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.search-card-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--secondary, #535d45);
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-meta i {
    color: var(--accent, #d6d18a);
}

.search-card-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--primary, #273227);
}

.search-card-title a {
    color: var(--primary, #273227);
    text-decoration: none;
}

.search-card-title a:hover {
    color: var(--accent, #d6d18a);
}

.card-excerpt {
    color: #2a3a2a;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.search-card-footer {
    margin-top: auto;
}

.read-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent, #d6d18a);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s;
    padding: 8px 0;
}

.read-more-link:hover {
    gap: 12px;
    color: var(--primary, #273227);
}

/* ===== NO RESULTS STATE ===== */
.no-results-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 40px;
    background: var(--white, #ffffff);
    border: 2px solid var(--secondary, #535d45);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.no-results-icon {
    font-size: 4rem;
    color: var(--accent, #d6d18a);
    margin-bottom: 20px;
}

.no-results-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary, #273227);
}

.no-results-title span {
    color: var(--accent, #d6d18a);
}

.no-results-text {
    color: var(--secondary, #535d45);
    margin-bottom: 25px;
}

.suggestions-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.suggestion-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--light, #f4f7f2);
    border: 2px solid var(--secondary, #535d45);
    border-radius: 8px;
    color: var(--primary, #273227);
    text-decoration: none;
    transition: all 0.3s;
}

.suggestion-tag:hover {
    background: var(--accent, #d6d18a);
    border-color: var(--primary, #273227);
    transform: translateY(-2px);
}

.suggestion-tag i {
    color: var(--accent, #d6d18a);
}

.suggestion-tag:hover i {
    color: var(--primary, #273227);
}

/* ===== LOAD MORE BUTTON ===== */
.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--primary, #273227);
    color: white;
    border: 3px solid var(--accent, #d6d18a);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.load-more-btn:hover {
    background: var(--accent, #d6d18a);
    color: var(--primary, #273227);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(214, 209, 138, 0.3);
}

.load-more-btn i {
    transition: transform 0.3s;
}

.load-more-btn:hover i {
    transform: rotate(90deg);
}

/* ===== SEARCH HIGHLIGHT ===== */
.search-highlight {
    background: rgba(214, 209, 138, 0.2);
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--primary, #273227);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .results-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        display: none;
    }
    
    .sidebar.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        background: rgba(0, 0, 0, 0.5);
        overflow-y: auto;
        padding: 20px;
    }
    
    .sidebar.active .filters-card {
        max-width: 500px;
        margin: 0 auto;
        position: relative;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .search-title {
        font-size: 2rem;
    }
    
    .mobile-filters-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .search-hero {
        padding: 40px 0;
    }
    
    .search-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .search-description {
        font-size: 1rem;
    }
    
    .search-result-card {
        flex-direction: column;
    }
    
    .card-image-wrapper {
        height: 180px;
    }
    
    .search-card-title {
        font-size: 1.3rem;
    }
    
    .card-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .breadcrumb-list {
        font-size: 0.85rem;
    }
    
    .no-results-title {
        font-size: 1.5rem;
    }
    
    .suggestions-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .suggestion-tag {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .search-stats-badge {
        flex-direction: column;
        padding: 15px;
    }
    
    .filter-chip {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .load-more-btn {
        width: 100%;
        justify-content: center;
    }
}