/* ============================================
   KCDK-E — Stylesheet v2
   Colors: Red (#c8102e), Green (#1a6b3c), Yellow (#f3c300)
   Header: Red | Footer: Dark (#1a1a2e) | Accents: tri-color
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Sen', sans-serif; font-size: 16px; line-height: 1.9; color: #333; background: #fff; }
h1,h2,h3,h4,h5,h6 { font-family: 'Roboto', sans-serif; font-weight: 700; line-height: 1.3; color: #1a1a1a; }
a { color: #c8102e; text-decoration: none; transition: color 0.2s; }
a:hover { color: #1a6b3c; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }

/* --- Buttons --- */
.btn { display: inline-block; padding: 12px 28px; font-family: 'Roboto', sans-serif; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border: none; border-radius: 3px; cursor: pointer; transition: all 0.3s; text-align: center; }
.btn-primary { background: #c8102e; color: #fff; }
.btn-primary:hover { background: #1a6b3c; color: #fff; }
.btn-outline { background: transparent; color: #1a6b3c; border: 2px solid #1a6b3c; }
.btn-outline:hover { background: #1a6b3c; color: #fff; }

/* ============================================
   HEADER — Red
   ============================================ */
.main-header {
    background: #c8102e;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: transform 0.3s;
}
.main-header.header-hidden { transform: translateY(-100%); }
.header-inner {
    display: flex;
    align-items: center;
    height: 70px;
    gap: 20px;
}

/* Logo + site name */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-img { height: 55px; width: auto; }
.logo-text {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #edf0f2;
    line-height: 1.3;
    max-width: 200px;
}

/* Navigation */
.main-nav { display: flex; }
.nav-list { display: flex; align-items: center; gap: 0; }
.nav-item > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 13px;
    color: #edf0f2;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 70px;
    transition: color 0.2s;
    white-space: nowrap;
}
.nav-item > a:hover { color: #f3c300; }
.nav-item.nav-home > a { color: #f3c300; }
.nav-arrow { width: 9px; height: 9px; flex-shrink: 0; opacity: 0.7; }

/* Dropdown */
.nav-item.has-children { position: relative; }
.sub-menu {
    position: absolute; top: 100%; left: 0; min-width: 230px;
    background: #fff; border-top: 3px solid #1a6b3c;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all 0.2s ease; z-index: 1001;
}
.nav-item.has-children:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sub-menu li a {
    display: block; padding: 11px 22px; color: #333; font-size: 13px;
    font-weight: 500; border-bottom: 1px solid #f0f0f0; transition: background 0.2s, color 0.2s;
}
.sub-menu li a:hover { background: #f9f9f9; color: #c8102e; }
.sub-menu li:last-child a { border-bottom: none; }

/* 3rd level dropdown */
.sub-menu li.has-sub { position: relative; }
.sub-menu li.has-sub > a::after { content: '\25B6'; float: right; font-size: 8px; color: #bbb; margin-top: 2px; }
.sub-sub-menu {
    position: absolute; top: 0; left: 100%; min-width: 210px;
    background: #fff; border-top: 3px solid #1a6b3c;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    opacity: 0; visibility: hidden; transform: translateX(8px); transition: all 0.2s ease; z-index: 1002;
}
.sub-menu li.has-sub:hover > .sub-sub-menu { opacity: 1; visibility: visible; transform: translateX(0); }
.sub-sub-menu li a { display: block; padding: 11px 22px; color: #333; font-size: 13px; font-weight: 500; border-bottom: 1px solid #f0f0f0; }
.sub-sub-menu li a:hover { background: #f9f9f9; color: #c8102e; }
.sub-sub-menu li:last-child a { border-bottom: none; }

/* Header right: langs + search + hamburger */
.header-right { display: flex; align-items: center; gap: 15px; flex-shrink: 0; margin-left: auto; }
.header-langs { display: flex; align-items: center; gap: 6px; }
.header-lang-link {
    color: #edf0f2;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 3px 10px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 3px;
    transition: all 0.2s;
    white-space: nowrap;
}
.header-lang-link:hover { background: rgba(255,255,255,0.15); color: #f3c300; border-color: #f3c300; }
.search-toggle { color: #edf0f2; display: flex; align-items: center; }
.search-toggle svg { width: 18px; height: 18px; }
.search-toggle:hover { color: #f3c300; }

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 10px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #edf0f2; margin: 5px 0; transition: all 0.3s; }

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu-overlay { display: none; position: fixed; top:0;left:0;right:0;bottom:0; background: rgba(0,0,0,0.5); z-index: 2000; }
.mobile-menu-overlay.active { display: block; }
.mobile-menu {
    position: fixed; top: 0; left: -300px; width: 300px; height: 100vh;
    background: #fff; z-index: 2001; overflow-y: auto; transition: left 0.3s;
    box-shadow: 2px 0 20px rgba(0,0,0,0.2);
}
.mobile-menu.active { left: 0; }
.mobile-menu-header { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; background: #c8102e; }
.mobile-menu-header .logo-img { height: 40px; }
.mobile-close { background: none; border: none; color: #fff; font-size: 28px; cursor: pointer; }
.mobile-nav-list { padding: 10px 0; }
.mobile-nav-item { position: relative; }
.mobile-nav-item > a { display: block; padding: 12px 20px; color: #333; font-size: 14px; font-weight: 500; border-bottom: 1px solid #eee; }
.mobile-submenu-toggle { position: absolute; top: 8px; right: 10px; background: none; border: 1px solid #ddd; width: 30px; height: 30px; font-size: 18px; cursor: pointer; border-radius: 3px; color: #666; display: flex; align-items: center; justify-content: center; }
.mobile-sub-menu { display: none; background: #f9f9f9; padding-left: 15px; }
.mobile-sub-menu.active { display: block; }
.mobile-sub-menu li a { display: block; padding: 10px 20px; color: #555; font-size: 13px; border-bottom: 1px solid #eee; }
.mobile-lang-switcher { display: flex; gap: 10px; padding: 20px; border-top: 1px solid #eee; flex-wrap: wrap; }
.mobile-lang-switcher .lang-link { color: #333; font-size: 13px; padding: 6px 14px; border: 1px solid #ddd; border-radius: 3px; }
.mobile-lang-switcher .lang-link.active { background: #c8102e; color: #fff; border-color: #c8102e; }

/* ============================================
   HOME — Hero: Slider + Category Cards
   ============================================ */
.home-hero {
    background: transparent;
    padding: 20px 0;
    margin-top: 15px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 6px;
    align-items: stretch;
}

/* --- Slider --- */
.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}
.slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transition: opacity 0.6s ease;
}
.slide.active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide-placeholder { width: 100%; height: 100%; background: #c8102e; }
.slide-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    padding: 50px 25px 20px;
}
.slide-overlay a { color: #fff; display: block; }
.slide-overlay a:hover { color: #fff; }
.slide-overlay h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.slider-dots {
    position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
    z-index: 5; display: flex; gap: 6px;
}
.dot {
    width: 8px; height: 8px; border-radius: 50%; border: none;
    background: rgba(255,255,255,0.5); cursor: pointer; padding: 0;
    transition: background 0.2s;
}
.dot.active { background: #fff; }
.dot:hover { background: rgba(255,255,255,0.8); }

/* --- Category cards — tri-color --- */
.hero-categories {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.cat-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    min-height: 0;
    padding: 0 22px;
    overflow: hidden;
    transition: filter 0.2s;
}
.cat-card:nth-child(1) { background: #c8102e; border-left: 4px solid #f3c300; }
.cat-card:nth-child(2) { background: #1a6b3c; border-left: 4px solid #f3c300; }
.cat-card:nth-child(3) { background: #b8960c; border-left: 4px solid #c8102e; }
.cat-card:nth-child(4) { background: #c8102e; border-left: 4px solid #1a6b3c; }
.cat-card:hover { filter: brightness(1.15); }
.cat-card-logo {
    position: absolute;
    right: 55px;
    top: 50%;
    transform: translateY(-50%);
    height: 80%;
    width: auto;
    opacity: 0.12;
    pointer-events: none;
    filter: brightness(0) invert(1);
    z-index: 2;
    transition: opacity 0.3s;
}
.cat-card:hover .cat-card-logo {
    opacity: 0.18;
}
.cat-card-text {
    position: relative;
    z-index: 1;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.cat-card-arrow {
    position: relative;
    z-index: 1;
    width: 18px;
    height: 18px;
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
    transition: color 0.2s, transform 0.2s;
}
.cat-card:hover .cat-card-arrow {
    color: #f3c300;
    transform: translateX(3px);
}

/* ============================================
   LATEST POSTS — Mosaic
   ============================================ */
.section { padding: 40px 0; }
.section-latest { padding: 40px 0 50px; }
.section-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    position: relative;
    color: #1a1a1a;
}
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 40px; height: 3px; background: #c8102e;
}

.latest-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    align-items: stretch;
}

.mosaic-tall {
    position: relative;
    display: block;
    overflow: hidden;
}
.mosaic-tall img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s;
}
.mosaic-tall:hover img { transform: scale(1.03); }
.mosaic-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 60px 20px 20px;
}
.mosaic-overlay .mosaic-date { color: #f3c300; }
.mosaic-overlay h3 {
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
}

.mosaic-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.mosaic-small { display: block; flex: 1; }
.mosaic-small-inner {
    display: flex;
    gap: 14px;
    align-items: center;
    height: 100%;
    padding: 14px;
    background: #fff;
    border-bottom: 2px solid #1a6b3c;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s;
}
.mosaic-small:hover .mosaic-small-inner {
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
}
.mosaic-thumb { width: 100px; height: 72px; flex-shrink: 0; overflow: hidden; }
.mosaic-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-info { flex: 1; }
.mosaic-info h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
    color: #1a1a1a;
}
.mosaic-small:hover .mosaic-info h4 { color: #c8102e; }
.mosaic-date {
    display: block;
    font-size: 0.7rem;
    color: #1a6b3c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

/* ============================================
   NEWS LIST PAGE
   ============================================ */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.post-card {
    background: #fff; border-radius: 4px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.post-card-image { display: block; aspect-ratio: 16/10; overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.post-card:hover .post-card-image img { transform: scale(1.03); }
.post-card-body { padding: 18px; }
.post-card-date { display: block; font-size: 12px; color: #999; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.post-card-category { display: inline-block; font-size: 11px; color: #1a6b3c; background: rgba(26,107,60,0.1); padding: 2px 10px; border-radius: 3px; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.post-card-title { font-size: 1rem; margin-bottom: 6px; line-height: 1.4; }
.post-card-title a { color: #1a1a1a; }
.post-card-title a:hover { color: #c8102e; }
.post-card-excerpt { font-size: 14px; color: #666; line-height: 1.6; }

/* Category filter bar */
.category-filter { display: flex; gap: 10px; align-items: center; margin-bottom: 25px; flex-wrap: wrap; }
.cat-btn { padding: 8px 18px; font-size: 13px; font-weight: 500; border: 1px solid #ddd; border-radius: 3px; color: #555; transition: all 0.2s; }
.cat-btn:hover { background: #c8102e; color: #fff; border-color: #c8102e; }
.cat-active { display: inline-block; padding: 8px 18px; font-size: 14px; font-weight: 700; background: #c8102e; color: #fff; border-radius: 3px; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 35px; }
.page-link { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; font-size: 14px; color: #555; border: 1px solid #ddd; border-radius: 3px; transition: all 0.2s; }
.page-link:hover, .page-link.active { background: #1a6b3c; color: #fff; border-color: #1a6b3c; }

/* ============================================
   PAGE LAYOUT
   ============================================ */
.page-section, .post-section, .contact-section, .search-section, .posts-list-section, .error-section { padding: 50px 0; }
.page-layout { display: grid; gap: 40px; }
.page-layout.has-sidebar { grid-template-columns: 1fr 260px; }
.page-title { font-size: 1.8rem; margin-bottom: 25px; padding-bottom: 12px; border-bottom: 3px solid #c8102e; }

.content-body { font-size: 16px; line-height: 1.8; }
.content-body h2 { font-size: 1.4rem; margin: 25px 0 12px; }
.content-body h3 { font-size: 1.2rem; margin: 20px 0 10px; }
.content-body p { margin-bottom: 12px; }
.content-body ul, .content-body ol { margin: 12px 0; padding-left: 30px; list-style: disc; }
.content-body ol { list-style: decimal; }
.content-body img { border-radius: 4px; margin: 15px 0; }
.content-body blockquote { border-left: 4px solid #f3c300; padding: 12px 18px; margin: 15px 0; background: #fef9f0; font-style: italic; }

/* Page share buttons */
.share-buttons { display: flex; align-items: center; gap: 8px; margin-top: 25px; padding-top: 18px; border-top: 1px solid #eee; }
.share-label { font-size: 13px; font-weight: 600; color: #666; }
.share-btn { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: #f0f0f0; color: #555; transition: all 0.2s; }
.share-btn svg { width: 16px; height: 16px; }
.share-btn:hover { background: #c8102e; color: #fff; }

/* Sidebar */
.page-sidebar { position: sticky; top: 100px; align-self: start; }
.sidebar-nav h3 { font-size: 1rem; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid #c8102e; margin-top: 20px; }
.sidebar-nav li { border-bottom: 1px solid #eee; }
.sidebar-nav li a { display: block; padding: 8px 0; color: #555; font-size: 14px; }
.sidebar-nav li a:hover, .sidebar-nav li.active a { color: #c8102e; padding-left: 6px; }
.sidebar-nav li.active a { font-weight: 600; }

/* ============================================
   POST SINGLE — Hero + Article + Related
   ============================================ */
.post-hero {
    position: relative;
    height: 420px;
    overflow: hidden;
}
.post-hero img { width: 100%; height: 100%; object-fit: cover; }
.post-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(transparent 30%, rgba(0,0,0,0.85));
    display: flex;
    align-items: flex-end;
}
.post-hero-overlay .container { padding-bottom: 35px; }
.post-hero-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.post-hero-cat {
    display: inline-block;
    padding: 4px 14px;
    background: #c8102e;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.post-hero-cat:hover { background: #f3c300; color: #fff; }
.post-hero-date {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.post-hero-title {
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    max-width: 800px;
}

/* Plain hero (no image) */
.post-hero-plain {
    background: linear-gradient(135deg, #c8102e 0%, #8b0a1e 100%);
    padding: 50px 0 40px;
}
.post-hero-plain .post-hero-cat { background: rgba(255,255,255,0.15); }
.post-hero-plain .post-hero-date { color: rgba(255,255,255,0.6); }
.post-hero-plain .post-hero-title { color: #fff; }

/* Article layout */
.post-article { padding: 40px 0 20px; }
.post-article-layout {
    display: flex;
    gap: 30px;
    max-width: 820px;
    margin: 0 auto;
}

/* Sticky share sidebar */
.post-share-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: sticky;
    top: 90px;
    align-self: flex-start;
    padding-top: 5px;
}
.share-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #666;
    transition: all 0.2s;
}
.share-icon svg { width: 17px; height: 17px; }
.share-icon:hover { color: #fff; }
.share-icon.share-fb:hover { background: #1877f2; }
.share-icon.share-tw:hover { background: #1a1a1a; }
.share-icon.share-wa:hover { background: #25d366; }
.share-icon.share-tg:hover { background: #0088cc; }
.share-icon.share-email:hover { background: #555; }

.post-body { flex: 1; min-width: 0; }

/* Related posts */
.post-related {
    padding: 40px 0 50px;
    border-top: 1px solid #eee;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.related-card {
    display: block;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s, transform 0.2s;
}
.related-card:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.related-card-img { aspect-ratio: 16/10; overflow: hidden; }
.related-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.related-card:hover .related-card-img img { transform: scale(1.04); }
.related-card-info { padding: 14px; }
.related-card-info time {
    display: block;
    font-size: 0.7rem;
    color: #1a6b3c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}
.related-card-info h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
    color: #1a1a1a;
}
.related-card:hover .related-card-info h3 { color: #c8102e; }

/* ============================================
   CONTACT
   ============================================ */
.contact-intro { color: #555; font-size: 15px; margin-bottom: 6px; max-width: 600px; }
.contact-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; }
.contact-form .form-group { margin-bottom: 18px; }
.contact-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 5px; color: #333; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 11px 14px; font-family: 'Sen', sans-serif; font-size: 15px;
    border: 1px solid #ddd; border-radius: 3px; background: #fafafa;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: #c8102e; background: #fff; }
.contact-info { padding: 25px; background: #f9f9f9; border-radius: 4px; }
.contact-info h3 { font-size: 1.1rem; margin-bottom: 18px; }
.contact-detail { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.contact-detail svg { width: 20px; height: 20px; flex-shrink: 0; color: #c8102e; }
.contact-social { margin-top: 18px; }
.social-icons { display: flex; gap: 10px; }
.social-icon { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #eee; color: #555; transition: all 0.2s; }
.social-icon svg { width: 16px; height: 16px; }
.social-icon:hover { background: #1a6b3c; color: #fff; }

/* ============================================
   SEARCH
   ============================================ */
.search-form { margin-bottom: 25px; }
.search-input-wrap { display: flex; gap: 10px; max-width: 600px; }
.search-input-wrap input { flex: 1; padding: 11px 14px; font-size: 16px; border: 2px solid #ddd; border-radius: 3px; font-family: 'Sen', sans-serif; }
.search-input-wrap input:focus { outline: none; border-color: #c8102e; }
.search-info { color: #666; margin-bottom: 18px; }
.search-result { padding: 18px 0; border-bottom: 1px solid #eee; }
.search-result h3 { font-size: 1.1rem; margin-bottom: 4px; }
.search-result-type { display: inline-block; font-size: 11px; color: #1a6b3c; background: rgba(26,107,60,0.1); padding: 2px 10px; border-radius: 3px; text-transform: uppercase; margin-bottom: 4px; }
.search-result p { font-size: 14px; color: #666; margin-top: 4px; }

/* Flash */
.flash { padding: 12px 0; font-size: 14px; font-weight: 500; }
.flash-success { background: #d4edda; color: #155724; }
.flash-error { background: #f8d7da; color: #721c24; }

.no-content { grid-column: 1/-1; text-align: center; padding: 50px 20px; color: #999; font-size: 1.1rem; }

/* ============================================
   FOOTER — Dark with tri-color accent
   ============================================ */
.site-footer {
    background: #1a1a2e;
    margin-top: 50px;
    padding: 0;
}
.footer-top-stripe {
    height: 4px;
    background: linear-gradient(90deg, #c8102e 0%, #c8102e 33%, #f3c300 33%, #f3c300 66%, #1a6b3c 66%, #1a6b3c 100%);
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}
.footer-copyright {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
}
.footer-social {
    display: flex;
    gap: 12px;
    align-items: center;
}
.footer-social a {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: background 0.2s;
}
.footer-social a svg { width: 15px; height: 15px; }
.footer-social a:hover { background: #c8102e; color: #fff; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr 250px; }
}

@media (max-width: 900px) {
    .main-nav { display: none; }
    .header-langs { display: none; }
    .hamburger { display: block; }
    .header-inner { height: 60px; }
    .logo-img { height: 40px; }
    .logo-text { font-size: 12px; max-width: 140px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-slider { min-height: 280px; }
    .hero-categories { flex-direction: row; flex-wrap: wrap; }
    .hero-categories .cat-card { flex: 1 1 48%; min-height: 60px; }
    .latest-mosaic { grid-template-columns: 1fr; }
    .mosaic-tall { min-height: 260px; }
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .page-layout.has-sidebar { grid-template-columns: 1fr; }
    .page-sidebar { position: static; }
    .contact-layout { grid-template-columns: 1fr; }
    .post-hero { height: 320px; }
    .post-hero-title { font-size: 1.5rem; }
    .post-article-layout { flex-direction: column; gap: 20px; }
    .post-share-bar { flex-direction: row; position: static; justify-content: center; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .posts-grid { grid-template-columns: 1fr; }
    .mosaic-small-inner { flex-direction: column; align-items: stretch; }
    .mosaic-thumb { width: 100%; height: 140px; }
    .hero-categories { flex-direction: column; }
    .hero-categories .cat-card { flex: none; min-height: 70px; }
    .hero-slider { min-height: 220px; }
    .slide-overlay h2 { font-size: 1rem; }
    .page-title { font-size: 1.4rem; }
    .section { padding: 30px 0; }
    .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
    .search-input-wrap { flex-direction: column; }
    .post-hero { height: 260px; }
    .post-hero-title { font-size: 1.2rem; }
    .post-hero-plain { padding: 35px 0 30px; }
    .related-grid { grid-template-columns: 1fr; }
    .post-share-bar { gap: 6px; }
    .share-icon { width: 34px; height: 34px; }
}
