/* ---- CSS Variables ---- */
:root {
    /* Colors */
    --nav-bg: #ffffff;
    --nav-text: #1e293b;
    --nav-text-muted: #64748b;
    --nav-border: #e2e8f0;
    --nav-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    --nav-shadow-scroll: 0 4px 20px rgba(0, 0, 0, 0.08);

    /* Brand */
    --brand-primary: #1a365d;
    --brand-accent: #2d8a4e;

    /* Dropdown */
    --dropdown-bg: #ffffff;
    --dropdown-border: #e2e8f0;
    --dropdown-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
    --dropdown-link-hover: #f8fafc;
    --dropdown-text: #334155;
    --dropdown-text-hover: #2d8a4e;

    /* Mega Menu */
    --mega-bg: #ffffff;
    --mega-sidebar-bg: #f8fafc;
    --mega-content-bg: #ffffff;
    --mega-text: #475569;
    --mega-text-hover: #2d8a4e;
    --mega-heading: #1e293b;
    --mega-category-active: #2d8a4e;
    --mega-border: rgba(0, 0, 0, 0.08);
    --mega-accent-bar: linear-gradient(90deg, #EE5A36, #EE5A36, #EE5A36, #EE5A36);

    /* Theme Toggle */
    --toggle-bg: #f1f5f9;
    --toggle-hover: #e2e8f0;

    /* Body */
    --body-bg: #f8fafc;
    --body-text: #1e293b;

    /* Typography */
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Dark Theme */
[data-theme="dark"] {
    --nav-bg: #0F1117;
    --nav-text: #ffffff;
    --nav-text-muted: #EBF3FF;
    --nav-border: #1e293b;
    --nav-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    --nav-shadow-scroll: 0 4px 20px rgba(0, 0, 0, 0.4);

    --brand-primary: #e2e8f0;

    --dropdown-bg: #141620;
    --dropdown-border: #1e293b;
    --dropdown-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.3);
    --dropdown-link-hover: #1e293b;
    --dropdown-text: #cbd5e1;
    --dropdown-text-hover: #4ade80;

    --mega-bg: #141620;
    --mega-sidebar-bg: #141620;
    --mega-content-bg: #1e293b;
    --mega-text: #94a3b8;
    --mega-text-hover: #4ade80;
    --mega-heading: #e2e8f0;
    --mega-category-active: #4ade80;
    --mega-border: rgba(255, 255, 255, 0.06);

    --toggle-bg: #141620;
    --toggle-hover: #1e293b;

    --body-bg: #0F1117;
    --body-text: #ffffff;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: auto !important;
    overflow-y: visible !important;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    background: var(--body-bg);
    color: var(--body-text);
    min-height: 100vh;
    height: auto !important;
    overflow-y: visible !important;
}

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

ul {
    list-style: none;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #EE5A36; border-radius: 10px; }

/* ==============================
   NAVBAR
   ============================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    border-bottom: 1px solid var(--nav-border);
    box-shadow: var(--nav-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    box-shadow: var(--nav-shadow-scroll);
}

.navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 64px;
}

/* ---- Brand ---- */
.nav-brand {
    flex-shrink: 0;
}

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

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #2d8a4e, #1a6b37);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: 0.5px;
}

.brand-sub {
    font-size: 10px;
    font-weight: 600;
    color: var(--nav-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---- Nav Links ---- */
.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    height: 100%;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--nav-text);
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}

.nav-link:hover {
    color: var(--dropdown-text-hover);
    background: rgba(45, 138, 78, 0.06);
}

.dropdown-arrow {
    transition: transform 0.3s ease, color 0.3s ease;
    opacity: 0.6;
}

.nav-item.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--dropdown-text-hover);
}

/* ---- Right Section ---- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: var(--toggle-bg);
    color: var(--nav-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--toggle-hover);
}

.icon-moon {
    display: none;
}

[data-theme="dark"] .icon-sun {
    display: none;
}

[data-theme="dark"] .icon-moon {
    display: block;
}

/* ==============================
   DROPDOWN MENUS
   ============================== */
.dropdown-menu {
    position: absolute;
    top: calc(100%);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    border-radius: 14px;
    box-shadow: var(--dropdown-shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 100;
}

.nav-item.has-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.dropdown-column {
    display: flex;
    flex-direction: column;
}

.dropdown-link {
    display: block;
    padding: 10px 14px;
    font-size: 13.5px;
    font-weight: 450;
    color: var(--dropdown-text);
    border-radius: 8px;
    transition: all 0.15s ease;
    position: relative;
}

.dropdown-link:hover {
    color: var(--dropdown-text-hover);
    background: var(--dropdown-link-hover);
    padding-left: 20px;
}

.dropdown-link:hover::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background: var(--dropdown-text-hover);
    border-radius: 2px;
}

.dropdown-column + .dropdown-column {
    border-top: 1px solid var(--dropdown-border);
    margin-top: 4px;
    padding-top: 4px;
}

/* ==============================
   DROPDOWN (Survey Kepuasan)
   ============================== */
.dropdown-nested {
    min-width: 220px;
}

.dropdown-item-nested {
    position: relative;
}

.dropdown-link.has-sub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 10px;
}

.dropdown-link.has-sub svg {
    opacity: 0.4;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.dropdown-item-nested:hover > .dropdown-link.has-sub {
    color: var(--dropdown-text-hover);
    background: var(--dropdown-link-hover);
}

.dropdown-item-nested:hover > .dropdown-link.has-sub svg {
    opacity: 1;
    color: var(--dropdown-text-hover);
    transform: translateX(2px);
}

.dropdown-link.has-sub:hover::before {
    display: none;
}

.dropdown-link.has-sub:hover {
    padding-left: 14px;
}

/* Sub-dropdown flyout */
.sub-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 180px;
    background: var(--dropdown-bg);
    border: 1px solid var(--dropdown-border);
    border-radius: 12px;
    box-shadow: var(--dropdown-shadow);
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(6px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 110;
}

.dropdown-item-nested:hover > .sub-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.sub-dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    width: 8px;
    height: 100%;
}



/* ==============================
   MEGA MENU
   ============================== */
.mega-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--mega-bg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 99;
    border-top: 3px solid transparent;
    border-image: var(--mega-accent-bar) 1;
}

.nav-item.has-megamenu:hover > .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.mega-menu-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    min-height: 280px;
}

/* ---- Mega Sidebar ---- */
.mega-sidebar {
    width: 220px;
    flex-shrink: 0;
    background: var(--mega-sidebar-bg);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-right: 1px solid var(--mega-border);
}

.mega-category {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--mega-text);
    border-radius: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.mega-category:hover {
    color: var(--mega-category-active);
    background: rgba(45, 138, 78, 0.06);

}

.mega-category.active {
    color: var(--mega-category-active);
    background: rgba(45, 138, 78, 0.12);
    font-weight: 600;
}

.mega-category svg {
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s ease;
}

.mega-category:hover svg,
.mega-category.active svg {
    opacity: 1;
    transform: translateX(0);
}

/* ---- Mega Content ---- */
.mega-content {
    flex: 1;
    background: var(--mega-content-bg);
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
}

.mega-panel {
    display: none;
    gap: 40px;
    animation: megaFadeIn 0.25s ease forwards;
}

.mega-panel.active {
    display: flex;
}

@keyframes megaFadeIn {
    from {
        opacity: 0;
        transform: translateX(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mega-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-heading {
    font-size: 13px;
    font-weight: 700;
    color: var(--mega-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 10px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--mega-border);
}

.mega-link {
    display: block;
    padding: 7px 0;
    font-size: 13.5px;
    font-weight: 400;
    color: var(--mega-text);
    position: relative;
    padding-left: 0;
}

.mega-link:hover {
    color: var(--mega-text-hover);
    padding-left: 10px;
}

.mega-link:hover::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 14px;
    background: var(--mega-text-hover);
    border-radius: 2px;
}



/* ==============================
   HERO SECTION
   ============================== */
.hero {
    display: block;
    position: relative;
    width: 100%;
    height: 666px;
    margin-top: 64px;
    overflow: hidden;
    background: white;
}

[data-theme="dark"] .hero {
    background: #0f172a;
}

/* Layer 1: Background image slideshow */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    image-rendering: high-quality;
    -webkit-font-smoothing: antialiased;
    transform: translateZ(0);
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

/* Slideshow dot indicators */
.hero-dots {
    position: absolute;
    bottom: 24px;
    right: 40px;
    z-index: 10;
    display: flex;
    gap: 10px;
    align-items: center;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.15);
}

.hero-dot.active {
    background: white;
    border-color: white;
    transform: scale(1.2);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

/* Layer 2: Ornament Blurs */
.hero-ornament {
    position: absolute;
    width: 775px;
    height: 775px;
    border-radius: 9999px;
    opacity: 1.00;
    filter: blur(175px);
    z-index: 2;
    pointer-events: none;
}

/* Orange #1 — top-left */
.ornament-orange-1 {
    background: #EE5A36;
    left: -156px;
    top: -480px;
}

/* Orange #2 — top-right */
.ornament-orange-2 {
    background: #EE5A36;
    left: 1002px;
    top: -92px;
}

/* Green #1 — center-top */
.ornament-green-1 {
    background: #338D24;
    left: 330px;
    top: -337px;
}

/* Green #2 — bottom-left */
.ornament-green-2 {
    background: #338D24;
    left: -389px;
    top: 51px;
}

/* Green #3 — top-right (higher) */
.ornament-green-3 {
    background: #338D24;
    right: auto;
    left: 1002px;
    top: -672px;
}

/* Layer 3: White Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.25) 15%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0) 100%);
    overflow: hidden;
}

[data-theme="dark"] .hero-overlay {
    background: linear-gradient(155deg, rgba(15, 17, 23, 0.72) 15%, rgba(15, 17, 23, 0) 70%, rgba(15, 17, 23, 0) 100%);
}

.hero-circle {
    position: absolute;
    border-radius: 9999px;
    background: white;
    opacity: 0.10;
    pointer-events: none;
}

[data-theme="dark"] .hero-circle {
    background: #94a3b8;
    opacity: 0.06;
}

/* ---- Theme Transition Overlay ---- */
.theme-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
}

.theme-transition-overlay.active {
    opacity: 1;
}

.hero-circle-1 {
    width: 615px;
    height: 615px;
    left: -300px;
    top: -196px;
}

.hero-circle-2 {
    width: 474px;
    height: 474px;
    left: -154px;
    top: 450px;
}

/* Hero Text Content — bottom-left */
.hero-content {
    position: absolute;
    left: 83px;
    bottom: 55px;
    z-index: 4;
    max-width: 881px;
}

.hero-title {
    color: white;
    font-size: 36px;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 50px;
    word-wrap: break-word;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
    color: white;
    font-size: 48px;
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 50px;
    word-wrap: break-word;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

/* ==============================
   FEATURE CARDS SECTION
   ============================== */
.features-section {
    position: relative;
    background: var(--body-bg);
    padding: 60px 0;
}

.features-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    text-align: left;
    padding: 32px 24px;
    border-radius: 12px;
}

.feature-card:hover {
    background: rgba(45, 138, 78, 0.04);
    transform: translateY(-2px);
}

[data-theme="dark"] .feature-card:hover {
    background: rgba(74, 222, 128, 0.06);
}

.feature-icon {
    margin-bottom: 20px;
    color: var(--body-text);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--body-text);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--nav-text-muted);
}

/* ---- Page Spacer ---- */
.page-spacer {
    min-height: 40vh;
}

/* ==============================
   PUBLICATION HERO SECTION
   ============================== */
.pub-hero {
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: 64px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

[data-theme="dark"] .pub-hero {
    background: #0F1117;
}

.hero-content-wrapper {
    position: relative;
    z-index: 5;
    text-align: left;
}

.pub-hero .hero-title {
    color: #000000;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: none;
}

[data-theme="dark"] .pub-hero .hero-title {
    color: #ffffff;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 24px;
}

[data-theme="dark"] .hero-description {
    color: #ffffff;
}

.breadcrumbs {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    text-shadow: none;
}

[data-theme="dark"] .breadcrumbs,
[data-theme="dark"] .breadcrumbs a {
    color: #ffffff !important;
    text-shadow: none;
}

.breadcrumbs a {
    color: inherit;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: var(--brand-accent);
}

/* ==============================
   MAIN CONTENT & SIDEBAR
   ============================== */
.main-content {
    background: #f1f5f9;
    padding: 60px 0;
}

[data-theme="dark"] .main-content {
    background: #0F1117;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 40px;
    align-items: start;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 40px;
}

[data-theme="dark"] .section-title {
    color: #f1f5f9;
}

.content-placeholder {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .content-placeholder {
    background: #1e293b;
}

.content-placeholder span {
    font-size: 48px;
    font-weight: 800;
    color: #4b5563;
    letter-spacing: 4px;
}

[data-theme="dark"] .content-placeholder span {
    color: #64748b;
}

/* Sidebar Styling */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

[data-theme="dark"] .sidebar-card {
    background: #141620;
    border-color: #1e293b;
}

.card-header {
    padding: 12px 20px;
    color: white;
}

.card-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.category-header {
    background: linear-gradient(90deg, rgba(51, 141, 36, 0.90) 0%, rgba(238, 90, 54, 0.90) 100%);
}

.category-list {
    padding: 10px 0;
}

.category-list li a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #4b5563;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.2s;
}

[data-theme="dark"] .category-list li a {
    color: #cbd5e1;
    border-color: #334155;
}

.category-list li:last-child a {
    border-bottom: none;
}

.category-list li a:hover {
    background: #f8fafc;
    color: var(--brand-accent);
    padding-left: 25px;
}

[data-theme="dark"] .category-list li a:hover {
    background: #334155;
}

/* Search Box */
.search-box {
    margin: 5px 0;
}

.search-box input {
    width: 100%;
    padding: 12px 20px;
    border-radius: 4px;
    border: 1px solid #94a3b8;
    background: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

[data-theme="dark"] .search-box input {
    background: #0F1117;
    border-color: #1e293b;
    color: #fff;
}

.search-box input:focus {
    border-color: var(--brand-accent);
}

/* Recent Card */
.recent-header {
    background: linear-gradient(90deg, rgba(51, 141, 36, 0.90) 0%, rgba(238, 90, 54, 0.90) 100%);
}

.recent-list {
    padding: 10px 0;
}

.recent-item {
    display: flex;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

[data-theme="dark"] .recent-item {
    border-color: #334155;
}

.recent-item:last-child {
    border-bottom: none;
}

.recent-item:hover {
    background: #f8fafc;
}

[data-theme="dark"] .recent-item:hover {
    background: #334155;
}

.recent-number {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

[data-theme="dark"] .recent-number {
    color: #f1f5f9;
}

.recent-content h4 {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.4;
}

[data-theme="dark"] .recent-content h4 {
    color: #f1f5f9;
}

.recent-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

/* Gallery Section */
.gallery-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

[data-theme="dark"] .gallery-title {
    color: #f1f5f9;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    background: #e2e8f0;
}

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

@media (max-width: 1024px) {
    .pub-hero {
        height: auto;
        min-height: 350px;
        padding-top: 100px;
        padding-bottom: 40px;
        align-items: flex-start;
    }
    .pub-hero .hero-title {
        font-size: 32px;
    }
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

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

/* ==============================
   PAGINATION
   ============================== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

[data-theme="dark"] .page-link {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

.page-link:hover {
    background: #DF5A39;
    color: white;
    border-color: #DF5A39;
}

.page-link.active {
    background: #DF5A39;
    color: white;
    border-color: #DF5A39;
}

.page-link.prev, .page-link.next {
    padding: 0 10px;
}

/* ==============================
   FOOTER
   ============================== */
.footer {
    background: var(--nav-bg);
    padding: 60px 32px 30px;
    border-top: 1px solid var(--nav-border);
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
}
.f-brand-box {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}
.f-logo-square {
    width: 40px;
    height: 40px;
    background: var(--body-text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: var(--nav-bg);
    font-weight: 800;
    font-size: .8rem;
}
.f-brand-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.f-name {
    font-weight: 800;
    font-size: .95rem;
    color: var(--body-text);
    line-height: 1.2;
}
.f-sub {
    font-weight: 500;
    font-size: .75rem;
    color: var(--nav-text-muted);
}
.f-desc {
    font-size: .85rem;
    color: var(--nav-text-muted);
    line-height: 1.6;
    max-width: 320px;
}

.f-col h4 {
    font-size: .95rem;
    font-weight: 800;
    color: var(--body-text);
    margin-bottom: 16px;
}
.f-col p {
    font-size: .85rem;
    color: var(--nav-text-muted);
    line-height: 1.6;
}
.f-socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.f-soc {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--body-text);
    color: var(--nav-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}
.f-soc:hover {
    background: var(--brand-accent);
    transform: translateY(-3px);
}

.f-bottom {
    max-width: 1280px;
    margin: 40px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--nav-border);
    display: flex;
    justify-content: space-between;
    font-size: .78rem;
    color: var(--nav-text-muted);
}

.mobile-nav-icon {
    display: none;
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (min-width: 1025px) {
    .mobile-menu-btn {
        display: none;
    }
}

@media (max-width: 1024px) {
    .main-footer {
        padding-bottom: 90px;
    }

    .mobile-menu-btn {
        display: none;
    }

    .mobile-nav-icon {
        display: block;
        margin-bottom: 4px;
        transition: color 0.3s;
    }

    .navbar {
        top: 0;
        bottom: auto;
        box-shadow: none;
        border-bottom: 1px solid var(--nav-border);
    }

    .navbar.scrolled {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    }

    /* Floating Bottom Nav Pill */
    .nav-links {
        position: fixed;
        bottom: 24px;
        top: auto;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 32px);
        max-width: 500px;
        background: var(--nav-bg);
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        gap: 4px;
        height: auto;
        border-radius: 40px;
        border: 1px solid var(--nav-border);
        z-index: 1000;
        opacity: 1;
        pointer-events: auto;
    }

    .nav-item {
        width: auto;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: auto;
        border-bottom: none;
        position: static;
    }
    [data-theme="dark"] .nav-item {
        border-bottom: none;
    }

    .nav-link {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 4px 0;
        font-size: 11px;
        font-weight: 600;
        border-radius: 12px;
        color: var(--nav-text-muted);
        text-align: center;
        gap: 3px;
        line-height: 1.1;
    }

    .mobile-nav-icon {
        width: 22px;
        height: 22px;
        display: block;
        margin-bottom: 2px;
    }

    .nav-link .dropdown-arrow {
        display: none;
    }

    .hide-mobile {
        display: none;
    }

    .nav-link:hover, .nav-item.mobile-open .nav-link {
        color: var(--brand-accent);
        background: transparent;
    }

    /* Dropdowns reset for mobile: Pop UP vertically via fixed layout */
    .dropdown-menu, .mega-menu {
        position: fixed !important;
        top: auto !important;
        bottom: 90px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: calc(100vw - 32px) !important;
        max-width: 480px !important;
        max-height: calc(100vh - 150px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        display: none;
        border: 1px solid var(--nav-border);
        border-radius: 20px;
        background: var(--nav-bg);
        padding: 16px;
        margin: 0;
        z-index: 1050;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    }

    .sub-dropdown {
        position: static;
        width: 100%;
        display: none;
        border: none;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.04);
        padding: 8px;
        margin-top: 8px;
        margin-bottom: 12px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
    }

    [data-theme="dark"] .sub-dropdown {
        background: var(--dropdown-link-hover);
    }

    .dropdown-item-nested.mobile-open > .sub-dropdown {
        display: block !important;
        animation: slideDownFade 0.3s ease forwards;
    }

    @keyframes slideDownFade {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    [data-theme="dark"] .dropdown-menu,
    [data-theme="dark"] .mega-menu {
        background: var(--dropdown-bg) !important;
    }

    [data-theme="dark"] .sub-dropdown {
        background: var(--dropdown-link-hover);
    }

    .nav-item.has-dropdown:hover:not(.mobile-open) > .dropdown-menu,
    .nav-item.has-megamenu:hover:not(.mobile-open) > .mega-menu,
    .dropdown-item-nested:hover:not(.mobile-open) > .sub-dropdown {
        display: none;
    }
    .nav-item.mobile-open > .dropdown-menu,
    .nav-item.mobile-open > .mega-menu,
    .dropdown-item-nested.mobile-open > .sub-dropdown {
        display: block !important;
        animation: popUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    @keyframes popUp {
        from { opacity: 0; transform: translateY(20px) scale(0.95); }
        to { opacity: 1; transform: translateY(0) scale(1); }
    }

    .dropdown-link {
        padding: 12px 16px;
        font-size: 15px;
        border-radius: 6px;
    }
    .mega-menu .mega-link {
        padding: 12px 16px;
        margin-bottom: 4px;
        border-radius: 6px;
    }
    .mega-menu .mega-link:hover {
        padding-left: 20px;
    }

    .mega-menu {
        border-top: none;
    }
    .mega-menu-inner {
        flex-direction: column;
        min-height: auto;
        max-height: none !important;
        overflow: visible !important;
        padding: 8px 0;
    }
    .mega-sidebar {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 2px;
    }
    .mega-category {
        padding: 14px 16px;
        width: 100%;
        border-radius: 12px;
        justify-content: space-between;
        font-weight: 600;
        font-size: 15px;
        color: var(--nav-text);
        transition: all 0.2s ease;
        background: transparent;
    }
    .mega-category:hover, .mega-category.active {
        background: rgba(45, 138, 78, 0.08);
        color: var(--brand-accent);
    }
    .mega-category svg {
        transition: transform 0.3s ease;
        opacity: 0.6;
    }
    .mega-category.mobile-active svg {
        transform: rotate(90deg);
        opacity: 1;
    }

    .mega-content {
        padding: 0;
        background: transparent;
        width: 100%;
    }
    .mega-panel {
        display: none !important;
        flex-direction: column;
        gap: 12px;
        opacity: 1;
        transform: none;
        animation: slideDownFade 0.3s ease forwards;
        margin: 4px 12px 16px 32px;
        padding: 12px 16px;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.02);
        border: none;
    }
    [data-theme="dark"] .mega-panel {
        background: rgba(255, 255, 255, 0.03);
    }

    .mega-panel.mobile-active {
        display: flex !important;
    }

    .mega-panel:last-child {
        margin-bottom: 24px;
    }
    .mega-heading {
        margin-top: 8px;
        margin-bottom: 8px;
        padding-bottom: 4px;
        padding-left: 0;
        font-size: 11px;
        letter-spacing: 0.5px;
    }

    /* Tablet Adjustments */
    .hero {
        height: 360px;
        margin-top: 0;
    }
    .hero-title {
        font-size: 30px;
        line-height: 1.3;
    }
    .hero-subtitle {
        font-size: 36px;
        line-height: 1.3;
    }
    .hero-circle-1, .hero-circle-2 {
        transform: scale(0.6);
    }

    .features-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .agenda-card, .article-card {
        flex: 0 0 calc(50% - 15px);
    }
    .galeri-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 200px;
    }
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .logo-wrapper { gap: 8px; }
    .brand-title { font-size: 12px; }
    .brand-sub { font-size: 8px; }

    .hero {
        height: 400px;
    }
    .hero-content {
        left: 20px;
        right: 20px;
        bottom: 30px;
    }
    .hero-title {
        font-size: 22px;
    }
    .hero-subtitle {
        font-size: 26px;
    }
    .hero-dots {
        right: 20px;
        bottom: 16px;
    }

    .features-section, .news-section, .agenda-section,
    .article-section, .link-section, .galeri-section, .video-section {
        padding: 40px 0;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .feature-card {
        padding: 20px 16px;
    }

    .news-header {
        margin-bottom: 24px;
    }
    .news-heading {
        font-size: 28px;
    }
    .news-img-wrapper {
        height: 200px;
        margin-bottom: 16px;
    }
    .news-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    .news-excerpt {
        font-size: 14px;
    }

    .main-content {
        padding: 40px 0 100px;
    }
    .section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    .news-item {
        flex-direction: column;
        gap: 14px;
        padding-bottom: 20px;
    }
    .news-item-img-wrapper {
        width: 100%;
        height: 200px;
        border-radius: 12px;
    }
    .news-item-title {
        font-size: 15px;
        margin-bottom: 6px;
    }
    .news-item-content .news-badge {
        margin-bottom: 8px;
    }
    .news-item-date {
        font-size: 12px;
    }
    .pagination {
        margin-top: 36px;
        gap: 6px;
        flex-wrap: wrap;
    }
    .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 0 10px;
    }
    .sidebar {
        gap: 20px;
    }
    .card-header h3 {
        font-size: 15px;
    }
    .recent-item {
        padding: 12px 16px;
    }
    .recent-number {
        font-size: 20px;
    }
    .recent-content h4 {
        font-size: 13px;
    }

    .agenda-grid, .article-grid {
        gap: 16px;
    }
    .agenda-card {
        flex: 0 0 calc(65vw - 20px);
        padding: 12px;
        min-width: 220px;
        border-radius: 12px 0 12px 0;
    }
    .article-card {
        flex: 0 0 calc(70vw - 20px);
        min-width: 220px;
    }
    .agenda-title {
        font-size: 14px;
        margin-bottom: 6px;
        line-height: 1.3;
    }
    .agenda-month { font-size: 14px; }
    .agenda-day { font-size: 24px; }
    .agenda-year { font-size: 14px; }
    .agenda-details { gap: 4px; margin-bottom: 8px; }
    .agenda-detail-item { font-size: 10px; }

    .article-card .article-img-wrapper {
        height: 140px;
    }
    .article-card .article-content {
        padding: 16px;
    }
    .article-card .article-meta-top {
        margin-bottom: 12px;
    }
    .article-card .article-meta-bottom {
        padding-top: 12px;
        font-size: 11px;
    }
    .article-card .news-excerpt {
        display: none !important;
    }
    .article-card .news-title {
        font-size: 14px !important;
        line-height: 1.3 !important;
        margin-bottom: 0 !important;
    }

    .galeri-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
        gap: 12px;
    }
    .galeri-item.large {
        grid-column: span 2;
    }

    .footer { padding: 40px 24px 100px; }
    .footer-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .f-brand-box { justify-content: center; }
    .f-desc { margin: 0 auto; }
    .f-socials { justify-content: center; }
    .f-bottom { flex-direction: column; gap: 12px; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
    /* Mobile portrait */
    .nav-right {
        gap: 4px;
    }

    .hero {
        height: 280px;
    }
    .hero-content {
        left: 16px;
        right: 16px;
        bottom: 24px;
        max-width: calc(100% - 32px);
    }
    .hero-title {
        font-size: 18px;
        line-height: 1.4;
    }
    .hero-subtitle {
        font-size: 20px;
        line-height: 1.3;
    }
    .hero-dots {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 12px;
    }

    .news-heading {
        font-size: 24px;
        padding-left: 12px;
    }
    .news-subheading {
        font-size: 13px;
    }

    .news-item {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    .news-item-img-wrapper {
        width: 100%;
        height: 180px;
        border-radius: 12px;
        flex-shrink: 0;
    }
    .news-item-title {
        font-size: 13px;
        line-height: 1.3;
        margin-bottom: 6px;
    }
    .news-item-date {
        font-size: 11px;
    }
    .news-badge {
        font-size: 10px;
        padding: 2px 10px;
        margin-bottom: 6px;
    }
    .news-excerpt {
        font-size: 12px;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* === Content area 480px fixes === */
    .main-content {
        padding: 28px 0 100px;
    }
    .container {
        padding: 0 16px;
    }
    .section-title {
        font-size: 22px;
        margin-bottom: 18px;
    }
    .news-list.vertical-stack {
        gap: 18px;
    }
    .news-item {
        padding-bottom: 18px;
        gap: 12px;
    }
    .news-item-img-wrapper {
        height: 180px;
    }
    .news-item-title {
        font-size: 14px;
    }
    .news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
    }
    .pagination {
        margin-top: 28px;
        gap: 4px;
    }
    .page-link {
        min-width: 34px;
        height: 34px;
        font-size: 12px;
        padding: 0 8px;
        border-radius: 6px;
    }
    .sidebar {
        gap: 16px;
    }
    .sidebar-card {
        border-radius: 10px;
    }
    .card-header {
        padding: 10px 14px;
    }
    .card-header h3 {
        font-size: 14px;
    }
    .category-list li a {
        padding: 8px 14px;
        font-size: 13px;
    }
    .recent-item {
        padding: 10px 14px;
        gap: 12px;
    }
    .recent-number {
        font-size: 18px;
    }
    .recent-content h4 {
        font-size: 12px;
        margin-bottom: 4px;
    }
    .recent-meta {
        font-size: 10px;
        gap: 8px;
    }
    .search-box input {
        padding: 10px 14px;
        font-size: 13px;
        border-radius: 8px;
    }
    .gallery-title {
        font-size: 16px;
        margin-bottom: 14px;
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    .gallery-item {
        border-radius: 6px;
    }

    .marquee-wrapper {
        gap: 16px;
        padding: 5px 0;
    }
    .marquee-item img {
        max-width: 100px;
        max-height: 45px;
    }

    .footer { padding: 32px 16px 110px; }
    .f-name { font-size: 0.85rem; }
    .f-desc { font-size: 0.78rem; }
}

/* ==============================
   NEWS SECTION
   ============================== */
.news-badge {
    background-color: #C0DEB8;
    color: #318728;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 50px;
    display: inline-block;
}

[data-theme="dark"] .news-badge {
    background-color: rgba(49, 135, 40, 0.2);
    color: #4ade80;
}

.news-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
}

.news-heading {
    font-size: 38px;
    font-weight: 800;
    color: #2b2b2b;
    border-left: 4px solid #DF5A39;
    padding-left: 20px;
    line-height: 1;
    text-transform: uppercase;
    margin: 0;
}

[data-theme="dark"] .news-heading {
    color: #f1f5f9;
}

.news-subheading {
    font-size: 16px;
    color: #4B5563;
    line-height: 1.4;
    margin: 0;
}

[data-theme="dark"] .news-subheading {
    color: #9ca3af;
}

.editorial-news-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

/* Featured (Top side) */
.editorial-featured {
    width: 100%;
}

.ed-featured {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
}

.ed-img-wrapper {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

.ed-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
    border-radius: 20px;
    pointer-events: none;
}

[data-theme="dark"] .ed-img-wrapper::after {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.ed-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-featured:hover .ed-img {
    transform: scale(1.04);
}

.ed-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: #DF5A39;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(223, 90, 57, 0.3);
}

.ed-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 20px;
}

.ed-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

[data-theme="dark"] .ed-meta { color: #94a3b8; }

.ed-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ed-meta-item svg {
    opacity: 0.8;
}

.ed-title {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
    margin: 0;
    transition: color 0.3s ease;
}

[data-theme="dark"] .ed-title { color: #f8fafc; }

.ed-title a { color: inherit; text-decoration: none; }
.ed-featured:hover .ed-title { color: #DF5A39; }

.ed-excerpt {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[data-theme="dark"] .ed-excerpt { color: #cbd5e1; }

.ed-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #DF5A39;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    align-self: flex-start;
    padding-top: 8px;
}

.ed-read-more:hover {
    gap: 14px;
    color: #c04a2c;
}

/* List (Grid Below) */
.editorial-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 40px;
    padding-top: 40px;
    border-top: 1px solid #e2e8f0;
}

[data-theme="dark"] .editorial-list {
    border-top-color: #1e293b;
}

.ed-list-item {
    display: flex;
    gap: 24px;
    align-items: center;
}

.ed-list-img-wrapper {
    width: 140px;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 4px 12px -4px rgba(0,0,0,0.1);
}

.ed-list-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.05);
    border-radius: 12px;
    pointer-events: none;
}

[data-theme="dark"] .ed-list-img-wrapper::after {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.ed-list-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ed-list-item:hover .ed-list-img {
    transform: scale(1.08);
}

.ed-list-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ed-badge-small {
    font-size: 11px;
    font-weight: 700;
    color: #338D24;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

[data-theme="dark"] .ed-badge-small { color: #4ade80; }

.ed-badge-small::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #338D24;
    border-radius: 50%;
}

[data-theme="dark"] .ed-badge-small::before { background: #4ade80; }

.ed-list-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    margin: 0;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[data-theme="dark"] .ed-list-title { color: #f8fafc; }
.ed-list-title a { color: inherit; text-decoration: none; }
.ed-list-item:hover .ed-list-title { color: #DF5A39; }

.ed-list-meta {
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    margin-top: 4px;
}

/* Responsive Editorial Adjustments */
@media (max-width: 1024px) {
    .editorial-news-wrapper {
        gap: 40px;
    }
    .ed-featured {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .ed-content {
        padding-right: 0;
    }
    .ed-title {
        font-size: 22px;
    }
    .editorial-list {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 30px;
    }
    .ed-list-item {
        padding-bottom: 28px;
        border-bottom: 1px solid #e2e8f0;
    }
    [data-theme="dark"] .ed-list-item {
        border-bottom-color: #1e293b;
    }
    .ed-list-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

@media (max-width: 640px) {
    .ed-title {
        font-size: 20px;
    }
    .ed-excerpt {
        font-size: 15px;
    }
    .editorial-list {
        grid-template-columns: 1fr;
    }
}

/* News Action / Button */
.news-action {
    text-align: center;
    margin-top: 50px;
}

.btn-outline-orange {
    display: inline-block;
    padding: 10px 24px;
    border: 1px solid #DF5A39;
    color: #DF5A39;
    background-color: transparent;
    font-size: 14px;
    font-weight: 600;
    border-radius: 2px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-outline-orange:hover {
    background-color: #DF5A39;
    color: white;
}
