/* ========================================
   HERO SECTION & CAROUSEL
   ======================================== */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 100%;
}

.carousel-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    min-height: 600px;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 600px;
}

/* ========================================
   CONTENT CONTAINER POSITIONING
   ======================================== */
.hero-container {
    position: relative;
    z-index: 3;
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 2rem 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    width: 100%;
    max-width: 100%;
}

.news-panels {
    position: relative;
    z-index: 30;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.hero-container .row {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.hero-container .col-lg-6 {
    padding-left: 1rem;
    padding-right: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ========================================
   CAROUSEL STYLING
   ======================================== */
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    min-height: 600px;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    min-width: 100%;
    min-height: 600px;
    filter: brightness(0.7) contrast(1.1);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    min-height: 600px;
}

/* ========================================
   HERO CONTENT STYLING
   ======================================== */
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #f3f4f6;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 0 1rem;
}

.search-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 1rem;
}

.search-container {
    position: relative;
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    transition: transform 0.3s ease;
}

.search-container.search-focused {
    transform: scale(1.01);
}

.search-input {
    flex: 1;
    width: 100%;
    padding: 1rem 1.75rem;
    padding-right: 60px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 400;
    color: #1f2937;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-sizing: border-box;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    line-height: 1.5;
    height: 56px;
    margin: 0;
    vertical-align: middle;
}

.search-input::placeholder {
    color: #6b7280;
    font-weight: 400;
    opacity: 0.8;
}

.search-input:focus {
    outline: none;
    border-color: rgb(45, 90, 156);
    box-shadow: 0 0 0 4px rgba(45, 90, 156, 0.15), 0 4px 16px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
}

.search-input:hover {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(45, 90, 156);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(45, 90, 156, 0.3);
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    vertical-align: middle;
}

.search-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    margin: 0;
    padding: 0;
    display: inline-block;
    line-height: 1;
    width: auto;
    height: auto;
}

.search-btn:hover {
    background: rgb(30, 70, 130);
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 12px rgba(45, 90, 156, 0.4);
}

.search-btn:hover i {
    transform: scale(1.05);
}

.search-btn:active {
    transform: translateY(-50%) scale(0.98);
}

.search-btn:disabled {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

/* ========================================
   NEWS PANELS STYLING
   ======================================== */
.news-panel-container {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 2rem;
}

.news-panel {
    background: #E0E0E0;
    border-radius: 1.5rem;
    padding: 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    display: flex;
    min-height: 400px;
    overflow: hidden;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.news-panel.active {
    opacity: 1;
    z-index: 2;
}

.news-panel:not(.active) {
    opacity: 0;
    z-index: 1;
}

.news-panel:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.news-panel-left {
    background: #5C5C5C;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    min-height: 400px;
    z-index: 5;
    isolation: isolate;
}

.news-panel-right {
    background: linear-gradient(135deg, #2d5a9c 0%, #1e3a5f 100%);
    flex: 1;
    padding: 1.5rem;
    position: relative;
    z-index: 10;
    isolation: isolate;
}

.news-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.news-content-bottom {
    position: relative;
    z-index: 15;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
}

.news-panel-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 20;
    position: relative;
}

.news-panel-content {
    font-size: 0.8rem;
    color: #ffffff;
    line-height: 1.4;
    margin: 0;
    z-index: 20;
    position: relative;
    margin-top: 0.5rem;
}

.news-panel-content strong,
.news-panel-content b {
    font-weight: bold;
    color: #ffffff;
}

.news-panel-content em,
.news-panel-content i {
    font-style: italic;
    color: #ffffff;
}

.news-panel-content u {
    text-decoration: underline;
    color: #ffffff;
}

.news-panel-content br {
    line-height: 1.5;
}

.news-date {
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 400;
    z-index: 20;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    opacity: 0.9;
}

.news-title {
    font-size: 1rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    z-index: 20;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* ========================================
   NEWS SECTION STYLING
   ======================================== */
.news-section {
    padding: 4rem 0;
    background: #ffffff;
    margin-top: 0;
}

.news-section .container {
    max-width: 1200px;
}

.news-section .row {
    margin-left: -15px;
    margin-right: -15px;
}

.news-section .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

.main-news-container {
    position: relative;
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    height: 500px;
    margin-bottom: 0;
}

.main-news-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.main-news-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    flex-direction: column;
}

.main-news-slide.active {
    opacity: 1;
}

.main-news-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.news-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.8) contrast(1.05);
}

.news-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.main-news-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
    padding: 1.25rem;
    z-index: 3;
    color: white;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.news-category-tag {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 0.2rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.main-news-meta-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.main-news-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.75rem 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 60px;
}

.main-news-excerpt {
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 60px;
}

.main-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
}

.main-news-meta-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.news-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
    background: rgba(45, 90, 156, 0.8);
    border-radius: 0.4rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.read-more-btn:hover {
    background: rgba(45, 90, 156, 1);
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.read-more-btn i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(3px);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem;
    z-index: 5;
    pointer-events: none;
}

.carousel-nav-btn {
    width: 35px;
    height: 35px;
    background: rgba(45, 90, 156, 0.9);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    pointer-events: auto;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    opacity: 0.85;
}

.carousel-nav-btn:hover {
    opacity: 1;
    background: rgba(45, 90, 156, 1);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel-nav-btn:active {
    transform: scale(0.95);
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Sidebar News */
.sidebar-news {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    height: 500px;
    display: flex;
    flex-direction: column;
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d5a9c;
    margin: 0 0 1rem 0;
    text-align: center;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e6ecf3;
}

    .sidebar-news-list {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        overflow-y: auto;
        padding-right: 0.5rem;
        -webkit-overflow-scrolling: touch;
        max-height: 100%;
    }

.sidebar-news-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e6ecf3;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.sidebar-news-item:hover {
    background: #f0f4ff;
    border-color: #2d5a9c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 156, 0.1);
    text-decoration: none;
    color: inherit;
}

.sidebar-news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar-news-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
    margin: 0 0 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.sidebar-news-category {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 0.2rem 0.4rem;
    border-radius: 0.2rem;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    align-self: flex-start;
}

.sidebar-news-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 0.4rem;
    overflow: hidden;
    flex-shrink: 0;
}

.news-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.sidebar-news-item:hover .news-thumbnail {
    transform: scale(1.05);
}

/* Scrollbar Styling */
.sidebar-news-list::-webkit-scrollbar {
    width: 6px;
}

.sidebar-news-list::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.sidebar-news-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.sidebar-news-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* ========================================
   LAYANAN SECTION STYLING
   ======================================== */
.layanan-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    margin-top: 0;
    position: relative;
}

.layanan-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(45, 90, 156, 0.1), transparent);
}

.layanan-section .container {
    max-width: 1200px;
}

.layanan-section .row {
    margin-left: -15px;
    margin-right: -15px;
}

.layanan-section .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

.layanan-header {
    text-align: center;
    margin-bottom: 3rem;
}

.layanan-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d5a9c;
    margin-bottom: 0.75rem;
    text-align: center;
}

.layanan-subtitle {
    font-size: 1.1rem;
    color: #666666;
    margin: 0;
    text-align: center;
}

.layanan-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1rem;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.layanan-nav-item {
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #999999;
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 0.5rem;
}

.layanan-nav-item.active {
    color: #2d5a9c;
    background: rgba(45, 90, 156, 0.05);
}

.layanan-nav-item.active::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 0;
    right: 0;
    height: 2px;
    background: #2d5a9c;
}

.layanan-nav-item:hover {
    color: #2d5a9c;
    background: rgba(45, 90, 156, 0.05);
}

.layanan-content {
    position: relative;
    overflow: visible;
}

.layanan-category {
    display: none;
}

.layanan-kategori {
    padding: 0;
}

.layanan-category.active {
    display: block;
}

.layanan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.layanan-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e6ecf3;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.layanan-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #2d5a9c;
}

.layanan-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(45, 90, 156, 0.1) 0%, rgba(45, 90, 156, 0.05) 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.layanan-item:hover .layanan-icon {
    background: linear-gradient(135deg, rgba(45, 90, 156, 0.15) 0%, rgba(45, 90, 156, 0.1) 100%);
    transform: scale(1.05);
}

.layanan-icon i {
    font-size: 1.5rem;
    color: #2d5a9c;
    transition: all 0.3s ease;
}

.layanan-item:hover .layanan-icon i {
    color: #1e3a5f;
    transform: scale(1.1);
}

.layanan-item-content {
    flex: 1;
    width: 100%;
}

.layanan-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.layanan-item-desc {
    font-size: 0.95rem;
    color: #666666;
    line-height: 1.6;
    margin: 0;
}

.layanan-empty {
    text-align: center;
    padding: 3rem 1rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 1px dashed #e0e0e0;
}

.layanan-empty-text {
    font-size: 1rem;
    color: #999999;
    margin: 0;
}

/* ========================================
   DATA & INFORMASI SECTION
   ======================================== */
.data-info-section {
    padding: 4rem 0;
    background: #ffffff;
    color: #111111;
}

.data-info-section .container {
    max-width: 1200px;
}

.data-info-section .row {
    margin-left: -15px;
    margin-right: -15px;
}

.data-info-section .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

.data-info-header { 
    margin-bottom: 2rem; 
    position: relative;
}

.data-info-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
}

.data-info-title { 
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d5a9c;
    margin-bottom: 0;
    text-align: left;
}

.data-info-subtitle { 
    opacity: 0.8;
    color: #666666;
    font-size: 0.95rem;
    margin-top: 1rem;
    margin-bottom: 0;
}

.agenda-card {
    background: #ffffff;
    border: 1px solid #e6ecf3;
    border-radius: 0.75rem;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.agenda-hero-placeholder { 
    height: 180px; 
    background: #e9eef6; 
    position: relative;
}

.agenda-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.25) 100%);
}

.agenda-footer {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.agenda-title-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e6ecf3;
}

.agenda-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2d5a9c;
    margin: 0;
}

.agenda-date-pill {
    background: #2d5a9c;
    color: white;
    padding: 0.35rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.agenda-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.agenda-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 0.5rem;
    border: 1px solid #e6ecf3;
    transition: all 0.2s ease;
    cursor: pointer;
}

.agenda-item:hover {
    box-shadow: 0 2px 8px rgba(45, 90, 156, 0.08);
    transform: translateY(-1px);
    border-color: #2d5a9c;
    background: #ffffff;
}

.agenda-item.selected {
    background: #f0f4ff;
    border: 1px solid #2d5a9c;
    box-shadow: 0 2px 8px rgba(45, 90, 156, 0.15);
}

.agenda-item.selected .agenda-item-date {
    background: #1e3a5f;
}

.agenda-item-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    width: 50px;
    height: 50px;
    background: #2d5a9c;
    color: white;
    border-radius: 0.4rem;
    text-align: center;
    flex-shrink: 0;
}

.agenda-day {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.agenda-month {
    font-size: 0.65rem;
    font-weight: 500;
    opacity: 0.9;
    margin-top: 0.15rem;
}

.agenda-item-content {
    flex: 1;
    min-width: 0;
}

.agenda-item-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.35rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.agenda-item-desc {
    font-size: 0.75rem;
    color: #666;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.agenda-item-location {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    color: #2d5a9c;
    font-weight: 500;
}

.agenda-item-location i {
    font-size: 0.65rem;
}

.agenda-more {
    margin-top: 0.75rem;
    text-align: center;
    padding-top: 0.75rem;
    border-top: 1px solid #e6ecf3;
}

.agenda-more-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #2d5a9c;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border: 1px solid #2d5a9c;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.agenda-more-link:hover {
    background: #2d5a9c;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(45, 90, 156, 0.2);
}

.agenda-empty {
    text-align: center;
    padding: 1.5rem 1rem;
    color: #666;
}

.agenda-empty-icon {
    font-size: 2rem;
    color: #ccc;
    margin-bottom: 0.75rem;
}

.agenda-empty-text {
    margin: 0;
    font-size: 0.85rem;
}

.highlight-card { 
    background: #f7f9fc; 
    border: 1px solid #e6ecf3; 
    border-radius: 1rem; 
    color:#111; 
    padding: 1.25rem; 
    transition: all 0.3s ease;
    height: 100%;
}

.highlight-card:hover {
    box-shadow: 0 4px 12px rgba(45, 90, 156, 0.1);
    transform: translateY(-2px);
}

.highlight-body { 
    padding: 0.25rem; 
    height: 100%;
    display: flex;
    flex-direction: column;
}

.highlight-date { 
    color:#2d5a9c; 
    margin-bottom: 0.75rem; 
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    background: rgba(45, 90, 156, 0.1);
    border-radius: 999px;
    text-align: center;
}

.highlight-title { 
    font-weight: 800; 
    font-size: 1.35rem; 
    line-height: 1.25; 
    color:#1f2937; 
    margin: 0 0 1rem 0;
}

.highlight-desc { 
    color:#334155; 
    margin: 0 0 1rem 0; 
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
}

.highlight-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #2d5a9c;
    font-weight: 500;
    margin-top: auto;
}

.highlight-location i {
    font-size: 0.8rem;
}

.highlight-empty {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
}

.highlight-empty-icon {
    font-size: 3rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.highlight-empty-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    margin: 0 0 0.5rem 0;
}

.highlight-empty-desc {
    font-size: 0.85rem;
    color: #999;
    margin: 0;
    line-height: 1.4;
}

.quicklinks-card { 
    background: #ffffff; 
    border: 1px solid #e6ecf3; 
    border-radius: 1rem; 
    padding: 1.25rem 1rem; 
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quicklinks-track { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 1rem; 
}

.quicklink-item { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 0.75rem; 
    text-decoration: none; 
    color: #1f2937; 
    transition: all 0.3s ease;
    padding: 0.75rem;
    border-radius: 0.75rem;
}

.quicklink-item:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    color: #2d5a9c;
}

.quicklink-icon { 
    width: 64px; 
    height: 64px; 
    border-radius: 0.75rem; 
    background: linear-gradient(135deg, #e6ecf3 0%, #d1d9e6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.quicklink-icon i {
    font-size: 1.75rem;
    color: #2d5a9c;
    transition: all 0.3s ease;
}

.quicklink-item:hover .quicklink-icon {
    background: linear-gradient(135deg, #2d5a9c 0%, #1e3a5f 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(45, 90, 156, 0.3);
}

.quicklink-item:hover .quicklink-icon i {
    color: #ffffff;
}

.quicklink-label { 
    font-weight: 600; 
    font-size: 0.9rem;
    text-align: center;
    transition: color 0.3s ease;
}

/* ========================================
   PUBLIKASI & DOKUMENTASI SECTION
   ======================================== */
.publikasi-section {
    padding: 4rem 0;
    background: white;
}

.publikasi-section .container {
    max-width: 1200px;
}

.publikasi-section .row {
    margin-left: -15px;
    margin-right: -15px;
}

.publikasi-section .row > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

.publikasi-header {
    margin-bottom: 3rem;
}

.publikasi-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
    width: 100%;
}

.publikasi-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2d5a9c;
    margin: 0 0 0.5rem 0;
}

.publikasi-subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
    opacity: 0.8;
}

.publikasi-empty {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8fafc;
    border-radius: 1rem;
    border: 2px dashed #e2e8f0;
}

.publikasi-empty-icon {
    font-size: 4rem;
    color: #cbd5e0;
    margin-bottom: 1.5rem;
}

.publikasi-empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4a5568;
    margin: 0 0 0.75rem 0;
}

.publikasi-empty-desc {
    font-size: 1rem;
    color: #718096;
    margin: 0;
    line-height: 1.5;
}

/* Publikasi Carousel Container */
.publikasi-carousel-container {
    position: relative;
    width: 100%;
    padding: 0 3.5rem;
    margin: 0 auto;
}

.publikasi-carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    min-height: 350px;
}

.publikasi-carousel-slide {
    width: 100%;
}

.publikasi-carousel-slide.active {
    width: 100%;
}

.publikasi-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.publikasi-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    padding: 0;
    z-index: 1;
    pointer-events: none;
}

.publikasi-carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    position: relative;
    pointer-events: auto;
}

/* Publikasi Grid Container */
.publikasi-grid-container {
    width: 100%;
    padding: 0;
    margin: 0 auto;
}

.publikasi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 0;
    align-items: stretch;
    contain: layout style;
}

/* Publikasi Item Card */
.publikasi-item {
    background: #ffffff;
    border: 1px solid #e6ecf3;
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    min-width: 0;
    align-items: stretch;
    contain: layout style paint;
    will-change: transform;
}

/* Mobile: Compact layout - hanya informasi penting */
@media (max-width: 767.98px) {
    .publikasi-grid-container {
        padding: 0;
        will-change: contents;
    }
    
    .publikasi-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
        padding: 0;
        contain: layout style;
    }
    
    .publikasi-item {
        padding: 0.875rem;
        min-height: auto;
        border-radius: 0.625rem;
        display: flex;
        flex-direction: column;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
        contain: layout style paint;
        will-change: transform;
    }
    
    .publikasi-item-header {
        gap: 0.625rem;
        margin-bottom: 0.625rem;
        padding-bottom: 0.625rem;
        border-bottom: 1px solid #f0f0f0;
        align-items: flex-start;
        width: 100%;
        min-width: 0;
    }
    
    .publikasi-item-icon {
        width: 36px;
        height: 36px;
        border-radius: 0.5rem;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #e6ecf3 0%, #d1d9e6 100%);
    }
    
    .publikasi-item-icon i {
        font-size: 1rem;
        color: #2d5a9c;
    }
    
    .publikasi-item-meta {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.375rem;
        overflow: hidden;
    }
    
    .publikasi-item-kategori {
        font-size: 0.65rem;
        padding: 0.25rem 0.625rem;
        line-height: 1.3;
        display: inline-block;
        width: fit-content;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        font-weight: 600;
        color: #2d5a9c;
        background: rgba(45, 90, 156, 0.1);
        border-radius: 999px;
    }
    
    .publikasi-item-date {
        font-size: 0.625rem;
        color: #666;
        line-height: 1.3;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
    }
    
    .publikasi-item-content {
        margin-bottom: 0.625rem;
        flex: 1;
        min-height: 0;
        width: 100%;
        overflow: hidden;
    }
    
    .publikasi-item-title {
        font-size: 0.875rem;
        margin-bottom: 0;
        line-height: 1.4;
        font-weight: 600;
        color: #1f2937;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        word-break: break-word;
        hyphens: auto;
        min-height: 2.8em;
    }
    
    /* Hide description di mobile untuk compact */
    .publikasi-item-desc {
        display: none !important;
    }
    
    .publikasi-item-footer {
        padding-top: 0.625rem;
        gap: 0.625rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid #f0f0f0;
        margin-top: auto;
        width: 100%;
        min-width: 0;
    }
    
    .publikasi-item-info {
        font-size: 0.625rem;
        gap: 0.5rem;
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    
    .publikasi-item-type {
        padding: 0.2rem 0.45rem;
        font-size: 0.6rem;
        font-weight: 600;
        background: #f8fafc;
        border-radius: 0.25rem;
        white-space: nowrap;
        flex-shrink: 0;
        color: #666;
    }
    
    .publikasi-item-size {
        font-size: 0.6rem;
        color: #999;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .publikasi-item-download {
        padding: 0;
        font-size: 0;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        min-width: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        background: #2d5a9c;
        transition: background 0.2s ease, transform 0.2s ease;
    }
    
    .publikasi-item-download:hover {
        background: #1e3a5f;
        transform: scale(1.05);
    }
    
    .publikasi-item-download i {
        font-size: 0.8rem;
        margin: 0;
        color: #ffffff;
    }
    
    .publikasi-item-download span {
        display: none;
    }
}

/* Tablet: 2x2 grid */
/* Tablet Responsive */
@media (min-width: 768px) and (max-width: 991.98px) {
    .publikasi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

.publikasi-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #2d5a9c;
}

.publikasi-item-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
    width: 100%;
}

.publikasi-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e6ecf3 0%, #d1d9e6 100%);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.publikasi-item-icon i {
    font-size: 1.5rem;
    color: #2d5a9c;
}

.publikasi-item-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.publikasi-item-kategori {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2d5a9c;
    background: rgba(45, 90, 156, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.publikasi-item-date {
    font-size: 0.8rem;
    color: #666;
}

.publikasi-item-content {
    flex: 1;
    margin-bottom: 1rem;
}

.publikasi-item-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    hyphens: auto;
}

.publikasi-item-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.publikasi-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f0;
    width: 100%;
    margin-top: auto;
}

.publikasi-item-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #999;
}

.publikasi-item-type {
    background: #f8fafc;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    color: #666;
}

.publikasi-item-size {
    color: #999;
}

.publikasi-item-download {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #2d5a9c;
    color: #ffffff;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.publikasi-item-download:hover {
    background: #1e3a5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 156, 0.3);
    color: #ffffff;
}

.publikasi-item-download i {
    font-size: 0.9rem;
}

/* Publikasi Carousel - Deprecated, menggunakan grid sekarang */
.publikasi-carousel-nav,
.publikasi-carousel-btn,
.publikasi-carousel-indicators,
.publikasi-indicator {
    display: none !important;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
/* Tablet and Below Responsive */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 500px;
    }
    
    .carousel-background {
        min-height: 500px;
        height: 100%;
    }
    
    .carousel-slides {
        min-height: 500px;
    }
    
    .carousel-slide {
        min-height: 500px;
    }
    
    .carousel-image {
        min-height: 500px;
    }
    
    .carousel-overlay {
        min-height: 500px;
    }
    
    .hero-container {
        padding-top: 80px;
        padding-bottom: 40px;
        min-height: 500px;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-container .row {
        max-width: 100%;
        margin: 0;
    }

    .hero-container .col-lg-6 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        margin-bottom: 2rem;
    }

    .hero-content {
        padding: 1.5rem 0;
        width: 100%;
    }

    .hero-title {
        font-size: 2.25rem;
        text-align: center;
        padding: 0 1rem;
        margin-bottom: 1.25rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
        max-width: 100%;
        padding: 0 1.5rem;
        margin-bottom: 1.75rem;
        line-height: 1.5;
    }

    .search-wrapper {
        padding: 0 1rem;
    }

    .search-container {
        max-width: 500px;
        width: 100%;
    }

    .search-input {
        padding: 0.875rem 1.5rem;
        padding-right: 58px;
        font-size: 0.95rem;
        border-radius: 50px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
        line-height: 1.5;
        height: 50px;
    }

    .search-input:focus {
        box-shadow: 0 0 0 3px rgba(45, 90, 156, 0.15), 0 3px 12px rgba(0, 0, 0, 0.2);
    }

    .search-btn {
        width: 40px;
        height: 40px;
        right: 5px;
    }

    .search-btn i {
        font-size: 0.95rem;
    }

    .search-btn:hover {
        transform: translateY(-50%) scale(1.05);
    }

    .news-panels {
        margin-top: 0;
        padding: 1rem 0 2rem 0;
    }

    .news-panel-container {
        height: 350px;
        margin-bottom: 1rem;
    }

    .news-panel {
        flex-direction: column;
        min-height: 350px;
        border-radius: 1rem;
    }

    .news-panel-left,
    .news-panel-right {
        flex: 1;
        min-height: 250px;
    }

    .news-panel-left {
        min-height: 250px;
        z-index: 5;
    }

    .news-panel-right {
        padding: 2rem;
        z-index: 10;
    }

    .news-content-bottom {
        padding: 1.25rem;
    }

    .news-panel-title {
        font-size: 1.5rem;
    }

    .news-panel-content {
        font-size: 1rem;
    }

    .news-date {
        font-size: 0.75rem;
    }

    .news-title {
        font-size: 0.9rem;
    }

    .news-section {
        padding: 3rem 0;
        margin-top: 0;
    }

    .main-news-container {
        height: 450px;
        margin-bottom: 1.5rem;
    }

    .main-news-content {
        padding: 1rem;
    }

    .main-news-title {
        font-size: 1rem;
    }

    .main-news-excerpt {
        font-size: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .carousel-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .sidebar-news {
        height: 450px;
        padding: 1.25rem;
        margin-top: 0;
    }

    .sidebar-title {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .sidebar-news-item {
        padding: 0.6rem;
        gap: 0.6rem;
    }

    .sidebar-news-title {
        font-size: 0.75rem;
    }

    .sidebar-news-thumbnail {
        width: 50px;
        height: 50px;
    }

    .layanan-section {
        padding: 3.5rem 0;
        margin-top: 0;
    }

    .layanan-header {
        margin-bottom: 2rem;
    }

    .layanan-title {
        font-size: 1.75rem;
    }

    .layanan-subtitle {
        font-size: 1rem;
    }
    
    .news-section {
        padding: 3rem 0;
    }

    .layanan-header {
        margin-bottom: 2rem;
    }

    .layanan-title {
        font-size: 1.75rem;
    }

    .layanan-subtitle {
        font-size: 1rem;
    }

    .layanan-nav {
        gap: 0.75rem;
        margin-bottom: 1.5rem;
        padding-bottom: 0.875rem;
        justify-content: flex-start;
        flex-wrap: wrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .layanan-nav::-webkit-scrollbar {
        height: 4px;
    }

    .layanan-nav::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .layanan-nav::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 2px;
    }

    .layanan-nav-item {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
        white-space: nowrap;
    }

    .layanan-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        margin-top: 1.5rem;
    }

    .layanan-item {
        padding: 1.375rem;
        gap: 1rem;
    }

    .layanan-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }

    .layanan-icon {
        width: 52px;
        height: 52px;
    }

    .layanan-icon i {
        font-size: 1.4rem;
    }

    .layanan-item-title {
        font-size: 1.05rem;
        margin-bottom: 0.625rem;
    }

    .layanan-item-desc {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .layanan-content {
        max-height: none;
        overflow: visible;
    }

    .agenda-hero-placeholder { 
        height: 160px; 
    }

    .agenda-footer {
        padding: 0.875rem;
    }

    .agenda-title-wrap {
        margin-bottom: 0.875rem;
        padding-bottom: 0.625rem;
    }

    .agenda-title {
        font-size: 1rem;
    }

    .agenda-date-pill {
        padding: 0.3rem 0.65rem;
        font-size: 0.7rem;
    }

    .agenda-list {
        gap: 0.625rem;
    }

    .agenda-item {
        padding: 0.625rem;
        gap: 0.625rem;
    }

    .agenda-item-date {
        min-width: 45px;
        width: 45px;
        height: 45px;
    }

    .agenda-day {
        font-size: 0.9rem;
    }

    .agenda-month {
        font-size: 0.6rem;
    }

    .agenda-item-title {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .agenda-item-desc {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }

    .agenda-item-location {
        font-size: 0.65rem;
    }

    .quicklinks-track { 
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .quicklinks-card {
        padding: 1rem 0.75rem;
    }
    
    .quicklink-icon {
        width: 56px;
        height: 56px;
    }
    
    .quicklink-icon i {
        font-size: 1.5rem;
    }
    
    .quicklink-label {
        font-size: 0.85rem;
    }

    .publikasi-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0.5rem;
    }
    
    .publikasi-section {
        padding: 3rem 0;
    }
    
    .publikasi-title {
        font-size: 1.75rem;
        text-align: left;
    }
    
    .publikasi-subtitle {
        text-align: left;
        font-size: 0.95rem;
    }
    
    .publikasi-empty {
        padding: 3rem 1.5rem;
    }
    
    .publikasi-empty-icon {
        font-size: 3.5rem;
    }
    
    .publikasi-empty-title {
        font-size: 1.3rem;
    }
    
    .publikasi-carousel-container {
        padding: 0 2.5rem;
    }
    
    .publikasi-carousel-wrapper {
        min-height: 380px;
    }
    
    .publikasi-slide-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
        overflow: hidden;
    }
    
    .publikasi-slide-grid .publikasi-item {
        display: block !important;
    }
    
    .publikasi-slide-grid .publikasi-item:nth-child(n+3) {
        display: none !important;
    }
    
    .publikasi-carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .publikasi-carousel-prev {
        margin-left: -1.25rem;
    }
    
    .publikasi-carousel-next {
        margin-right: -1.25rem;
    }
    
    .publikasi-item {
        padding: 1.25rem;
    }
    
    .publikasi-item-header {
        gap: 0.75rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.75rem;
    }
    
    .publikasi-item-icon {
        width: 45px;
        height: 45px;
    }
    
    .publikasi-item-icon i {
        font-size: 1.3rem;
    }
    
    .publikasi-item-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .publikasi-item-desc {
        font-size: 0.85rem;
    }
    
    .publikasi-item-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }
    
    .publikasi-item-download {
        flex-shrink: 0;
        justify-content: center;
    }
    
    .publikasi-carousel-indicators {
        margin-top: 1.5rem;
        gap: 0.4rem;
    }
    
    .publikasi-indicator {
        width: 10px;
        height: 10px;
    }
    
    .publikasi-indicator.active {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 450px;
    }
    
    .carousel-background {
        min-height: 450px;
    }
    
    .carousel-slides {
        min-height: 450px;
    }
    
    .carousel-slide {
        min-height: 450px;
    }
    
    .carousel-image {
        min-height: 450px;
    }
    
    .carousel-overlay {
        min-height: 450px;
    }
    
    .hero-container {
        padding-top: 60px;
        padding-bottom: 30px;
        min-height: 450px;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .hero-container .col-lg-6 {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        padding: 1rem 0;
        width: 100%;
    }

    .hero-title {
        font-size: 1.75rem;
        text-align: center;
        padding: 0 0.75rem;
        margin-bottom: 1rem;
        line-height: 1.3;
        font-weight: 700;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        text-align: center;
        padding: 0 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .search-wrapper {
        padding: 0 0.75rem;
    }

    .search-container {
        max-width: 100%;
        width: 100%;
    }

    .search-input {
        padding: 0.875rem 1.25rem;
        padding-right: 54px;
        font-size: 0.9rem;
        border-radius: 50px;
        border-width: 2px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
        line-height: 1.5;
        height: 48px;
    }

    .search-input:focus {
        box-shadow: 0 0 0 3px rgba(45, 90, 156, 0.15), 0 3px 12px rgba(0, 0, 0, 0.2);
    }

    .search-input::placeholder {
        font-size: 0.9rem;
    }

    .search-btn {
        width: 38px;
        height: 38px;
        right: 5px;
        box-shadow: 0 2px 6px rgba(45, 90, 156, 0.3);
    }

    .search-btn i {
        font-size: 0.9rem;
    }

    .search-btn:hover {
        transform: translateY(-50%) scale(1.05);
        box-shadow: 0 3px 10px rgba(45, 90, 156, 0.4);
    }

    .news-panel-container {
        height: 300px;
        margin-bottom: 0.75rem;
    }

    .news-panels {
        padding: 0.5rem 0 1.5rem 0;
    }

    .news-panel {
        flex-direction: column;
        min-height: 300px;
        border-radius: 0.75rem;
    }

    .news-panel-left,
    .news-panel-right {
        flex: 1;
        min-height: 250px;
    }

    .news-panel-left {
        min-height: 200px;
        z-index: 5;
    }

    .news-panel-right {
        padding: 1.5rem;
        z-index: 10;
    }

    .news-content-bottom {
        padding: 1rem;
    }

    .news-panel-title {
        font-size: 1.25rem;
    }

    .news-panel-content {
        font-size: 0.95rem;
    }

    .news-date {
        font-size: 0.7rem;
    }

    .news-title {
        font-size: 0.85rem;
    }

    .news-section {
        padding: 2.5rem 0;
        margin-top: 0;
    }
    
    .layanan-section {
        padding: 3rem 0;
    }

    .main-news-container {
        height: 420px;
        margin-bottom: 1.5rem;
        border-radius: 0.625rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .main-news-content {
        padding: 1.125rem;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.5) 75%, transparent 100%);
        min-height: 180px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .main-news-title {
        font-size: 1.05rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
        font-weight: 700;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 2.8em;
        padding-right: 50px;
    }

    .main-news-excerpt {
        font-size: 0.8rem;
        line-height: 1.5;
        margin: 0 0 1rem 0;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 3.6em;
        padding-right: 50px;
    }

    .main-news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.875rem;
    }

    .main-news-meta-info {
        display: flex;
        align-items: center;
        gap: 0.625rem;
        flex-wrap: wrap;
        width: 100%;
    }

    .news-category-tag {
        font-size: 0.625rem;
        padding: 0.25rem 0.6rem;
        border-radius: 0.25rem;
        margin: 0;
    }

    .news-date {
        font-size: 0.75rem;
        margin: 0;
        opacity: 0.9;
    }

    .read-more-btn {
        font-size: 0.75rem;
        padding: 0.625rem 1.25rem;
        border-radius: 0.5rem;
        order: 1;
        width: 100%;
        justify-content: center;
        background: rgba(45, 90, 156, 0.95);
        font-weight: 600;
        transition: all 0.2s ease;
    }

    .read-more-btn:hover {
        background: rgba(45, 90, 156, 1);
        transform: translateY(-1px);
    }

    .read-more-btn i {
        font-size: 0.75rem;
        transition: transform 0.2s ease;
    }

    .read-more-btn:hover i {
        transform: translateX(2px);
    }

    .carousel-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
        background: rgba(45, 90, 156, 0.9);
        opacity: 0.85;
    }

    .carousel-nav-btn:hover {
        opacity: 1;
        background: rgba(45, 90, 156, 1);
    }

    .carousel-nav {
        padding: 0 0.5rem;
        z-index: 5;
    }

    .carousel-indicators {
        bottom: 0.75rem;
        gap: 0.4rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    .indicator.active {
        transform: scale(1.1);
    }

    .sidebar-news {
        height: auto;
        min-height: auto;
        padding: 1.25rem;
        margin-top: 0;
        border-radius: 0.625rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .sidebar-title {
        font-size: 1.15rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.875rem;
        font-weight: 700;
    }

    .sidebar-news-list {
        display: flex;
        flex-direction: column;
        gap: 0.875rem;
    }

    .sidebar-news-item {
        padding: 1rem;
        gap: 0.875rem;
        border-radius: 0.625rem;
        margin-bottom: 0;
        transition: all 0.2s ease;
        border: 1px solid #e6ecf3;
    }

    .sidebar-news-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(45, 90, 156, 0.1);
    }

    .sidebar-news-content {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .sidebar-news-title {
        font-size: 0.85rem;
        margin-bottom: 0;
        line-height: 1.4;
        font-weight: 600;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 2.8em;
    }

    .sidebar-news-thumbnail {
        width: 70px;
        height: 70px;
        flex-shrink: 0;
        border-radius: 0.5rem;
        overflow: hidden;
    }

    .sidebar-news-category {
        font-size: 0.65rem;
        padding: 0.25rem 0.6rem;
        border-radius: 0.25rem;
        align-self: flex-start;
    }

    .layanan-section {
        padding: 2.5rem 0;
        margin-top: 0;
    }

    .layanan-header {
        margin-bottom: 1.5rem;
    }

    .layanan-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .layanan-subtitle {
        font-size: 0.9rem;
    }

    .layanan-nav {
        gap: 0.5rem;
        margin-bottom: 1.25rem;
        padding-bottom: 0.75rem;
        justify-content: flex-start;
        flex-wrap: wrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .layanan-nav::-webkit-scrollbar {
        height: 3px;
    }

    .layanan-nav::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .layanan-nav::-webkit-scrollbar-thumb {
        background: #cbd5e1;
        border-radius: 2px;
    }

    .layanan-nav-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
        white-space: nowrap;
    }

    .layanan-nav-item.active::after {
        bottom: -0.75rem;
    }

    .layanan-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.25rem;
    }

    .layanan-item {
        padding: 1.25rem;
        gap: 0.875rem;
    }

    .layanan-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .layanan-icon {
        width: 48px;
        height: 48px;
    }

    .layanan-icon i {
        font-size: 1.3rem;
    }

    .layanan-item-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.35;
    }

    .layanan-item-desc {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .layanan-content {
        max-height: none;
        overflow: visible;
    }

    .layanan-kategori {
        padding: 0;
        margin-top: 1.5rem;
    }

    .data-info-title-wrapper {
        text-align: left !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .data-info-title { 
        font-size: 1.6rem !important; 
        text-align: left !important;
        margin: 0 !important;
        color: #2d5a9c !important;
    }
    
    .data-info-subtitle {
        text-align: left !important;
        margin-top: 0.75rem !important;
        margin-bottom: 0 !important;
        color: #666666 !important;
    }

    .agenda-hero-placeholder { 
        height: 140px; 
    }

    .agenda-footer {
        padding: 0.75rem;
    }

    .agenda-title-wrap {
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .agenda-title {
        font-size: 0.95rem;
    }

    .agenda-date-pill {
        padding: 0.25rem 0.6rem;
        font-size: 0.65rem;
    }

    .agenda-list {
        gap: 0.5rem;
    }

    .agenda-item {
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .agenda-item-date {
        min-width: 40px;
        width: 40px;
        height: 40px;
    }

    .agenda-day {
        font-size: 0.85rem;
    }

    .agenda-month {
        font-size: 0.55rem;
        margin-top: 0.1rem;
    }

    .agenda-item-title {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .agenda-item-desc {
        font-size: 0.65rem;
        margin-bottom: 0.35rem;
        -webkit-line-clamp: 1;
        line-clamp: 1;
    }

    .agenda-item-location {
        font-size: 0.6rem;
        gap: 0.3rem;
    }

    .agenda-item-location i {
        font-size: 0.6rem;
    }

    .agenda-more {
        margin-top: 0.5rem;
        padding-top: 0.5rem;
    }

    .agenda-more-link {
        font-size: 0.75rem;
        padding: 0.4rem 0.875rem;
    }

    .agenda-empty {
        padding: 1rem 0.75rem;
    }

    .agenda-empty-icon {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    .agenda-empty-text {
        font-size: 0.8rem;
    }

    .quicklinks-track { 
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .quicklinks-card {
        padding: 1rem 0.5rem;
    }
    
    .quicklink-icon {
        width: 52px;
        height: 52px;
    }
    
    .quicklink-icon i {
        font-size: 1.4rem;
    }
    
    .quicklink-label {
        font-size: 0.8rem;
    }

    .publikasi-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0.5rem;
    }
    
    .publikasi-section {
        padding: 2.5rem 0;
    }
    
    .publikasi-header {
        margin-bottom: 2rem;
    }
    
    .publikasi-title {
        font-size: 1.5rem;
        text-align: left;
    }
    
    .publikasi-subtitle {
        font-size: 0.9rem;
        text-align: left;
    }
    
    .publikasi-empty {
        padding: 2.5rem 1rem;
    }
    
    .publikasi-empty-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .publikasi-empty-title {
        font-size: 1.2rem;
    }
    
    .publikasi-empty-desc {
        font-size: 0.9rem;
    }
    
    .publikasi-carousel-container {
        padding: 0 0.5rem;
    }
    
    .publikasi-carousel-wrapper {
        min-height: 420px;
    }
    
    .publikasi-slide-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        padding: 0;
        overflow: hidden;
    }
    
    .publikasi-slide-grid .publikasi-item {
        display: flex !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .publikasi-slide-grid .publikasi-item:first-child {
        display: flex !important;
    }
    
    .publikasi-slide-grid .publikasi-item:nth-child(n+2) {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .publikasi-carousel-wrapper {
        overflow: hidden !important;
    }
    
    .publikasi-carousel-slide {
        width: 100% !important;
    }
    
    .publikasi-carousel-slide.active {
        width: 100% !important;
    }
    
    .publikasi-carousel-nav {
        padding: 0;
    }
    
    .publikasi-carousel-btn {
        width: 42px;
        height: 42px;
        font-size: 0.9rem;
    }
    
    .publikasi-carousel-prev {
        margin-left: -0.5rem;
    }
    
    .publikasi-carousel-next {
        margin-right: -0.5rem;
    }
    
    .publikasi-item {
        padding: 1.75rem;
        max-width: 100%;
        min-height: 320px;
        width: 100%;
    }
    
    .publikasi-item-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.25rem;
        padding-bottom: 1rem;
    }
    
    .publikasi-item-icon {
        width: 55px;
        height: 55px;
        flex-shrink: 0;
    }
    
    .publikasi-item-icon i {
        font-size: 1.6rem;
    }
    
    .publikasi-item-meta {
        flex: 1;
        min-width: 0;
    }
    
    .publikasi-item-kategori {
        font-size: 0.85rem;
        padding: 0.35rem 0.9rem;
    }
    
    .publikasi-item-date {
        font-size: 0.9rem;
    }
    
    .publikasi-item-title {
        font-size: 1.15rem;
        margin-bottom: 0.875rem;
        line-height: 1.4;
    }
    
    .publikasi-item-desc {
        font-size: 1rem;
        line-height: 1.6;
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
    
    .publikasi-item-footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding-top: 1.25rem;
    }
    
    .publikasi-item-info {
        flex-wrap: wrap;
        gap: 0.75rem;
        font-size: 0.85rem;
    }
    
    .publikasi-item-download {
        padding: 0.65rem 1.35rem;
        font-size: 0.9rem;
        white-space: nowrap;
    }
    
    .publikasi-item-download {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
    
    .publikasi-carousel-indicators {
        margin-top: 1.25rem;
        gap: 0.35rem;
    }
    
    .publikasi-indicator {
        width: 8px;
        height: 8px;
        border-width: 1.5px;
    }
    
    .publikasi-indicator.active {
        width: 10px;
        height: 10px;
    }
}

/* ========================================
   ANIMATIONS & TRANSITIONS
   ======================================== */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.news-panel {
    animation: slideInRight 0.6s ease-out;
}

.news-panel:nth-child(2) {
    animation-delay: 0.2s;
}

* {
    transition: all 0.3s ease;
}