

/* Artikel Hero */
.artikel-hero {
    padding-top: 8rem;
    background: linear-gradient(135deg, var(--dark-blue), var(--navy));
    color: var(--text-light);
    position: relative;
    overflow: hidden;
    height: 45vh;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artikel-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/api/placeholder/1200/600');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.artikel-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 87, 146, 0.85), rgba(15, 16, 53, 0.9));
    z-index: 1;
}

.artikel-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    padding: 0 2rem;
}

.artikel-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.artikel-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.artikel-date, .artikel-author {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

/* Artikel Content */
.artikel-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3.5rem 3rem;
    background-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    position: relative;
    margin-top: -80px;
    z-index: 10;
}

.artikel-content {
    font-size: 1.05rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    line-height: 1.8;
    width: 100%;
}

.artikel-content p {
    margin-bottom: 1.8rem;
    word-wrap: break-word;
}

.artikel-content h2 {
    font-size: 1.9rem;
    margin: 2.5rem 0 1.2rem;
    color: var(--dark-blue);
    position: relative;
    padding-bottom: 0.8rem;
}

.artikel-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, var(--accent-blue), var(--medium-blue));
    border-radius: 3px;
}

.artikel-content h3 {
    font-size: 1.5rem;
    margin: 1.8rem 0 1rem;
    color: var(--text-dark);
}

.artikel-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 2.2rem 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.artikel-quote {
    border-left: 4px solid var(--accent-blue);
    padding: 1.5rem 2rem;
    background-color: var(--light-blue);
    margin: 2.5rem 0;
    font-style: italic;
    color: var(--text-dark);
    border-radius: 0 8px 8px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

/* Table of Contents */
.toc {
    background: linear-gradient(to bottom right, var(--light-blue), white);
    padding: 1.8rem;
    border-radius: 10px;
    margin: 2rem 0 3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(91, 164, 207, 0.2);
}

.toc-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--dark-blue);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.toc-title::before {
    content: '\f02e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--accent-blue);
}

.toc-list {
    list-style: none;
    padding-left: 0.5rem;
}

.toc-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
    transition: all 0.3s ease;
}

.toc-list li::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--medium-blue);
}

.toc-list li:hover {
    transform: translateX(5px);
}

.toc-list a {
    color: var(--text-dark);
    transition: all 0.3s ease;
    font-weight: 500;
}

.toc-list a:hover {
    color: var(--accent-blue);
}
/* Page Header */
.page-header {
    padding-top: 8rem;
    padding-bottom: 2rem;
    background-color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    padding-bottom: 1rem;
    color: var(--dark-blue);
}

.page-header p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-dark);
}


/* Related Articles */
.list-articles {
    margin-top: 2rem;
    padding: 4rem 5%;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.list-articles-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--dark-blue);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 1rem;
}


.list-articles-empty {
    margin: 5rem;
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-medium)
}

.list-articles-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, var(--medium-blue), var(--accent-blue));
    border-radius: 2px;
}

.list-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
  /* Search Section */
  .search-section {
    background-color: white;
    padding: 1.5rem 5%;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-bar {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-bar input {
    padding: 1rem 1.5rem;
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
}

.search-bar button {
    padding: 0 1.5rem;
    background-color: var(--dark-blue);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background-color: var(--navy);
}
 /* Featured Article Section */
 .featured-section {
    padding: 3rem 5%;
    background-color: var(--light-blue);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.featured-image {
    height: 400px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.article-tag {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: var(--medium-blue);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.article-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
}

.article-excerpt {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.read-more {
    color: var(--dark-blue);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: var(--navy);
    transform: translateX(5px);
}

/* Article Carousel Section */
.carousel-section {
    padding: 3rem 5%;
    background-color: white;
}

.carousel-container {
    position: relative;
    margin: 0 -15px;
}

.article-carousel {
    display: flex;
    overflow: hidden;
}

.article-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.article-image {
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-card-content {
    padding: 1.5rem;
}

.card-date {
    color: #888;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
    line-height: 1.4;
}

.card-excerpt {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slick-prev, .slick-next {
    width: 40px;
    height: 40px;
    background-color: var(--dark-blue);
    border-radius: 50%;
    z-index: 10;
}

.slick-prev:hover, .slick-next:hover {
    background-color: var(--navy);
}

.slick-prev:before, .slick-next:before {
    font-size: 20px;
}

.slick-prev {
    left: -5px;
}

.slick-next {
    right: -5px;
}

/* Mountain Articles Section */
.mountain-section {
    padding: 3rem 5%;
    background-color: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Latest Articles Section */
.latest-section {
    padding: 3rem 5%;
    background-color: white;
}

.article-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.main-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.side-articles {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.side-article {
    display: flex;
    gap: 1rem;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: calc(50% - 1rem);
}

.side-image {
    flex: 0 0 40%;
    min-height: 100%;
    overflow: hidden;
}

.side-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.side-content {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.side-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 0.5rem;
}

.page-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    background-color: white;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-item.active {
    background-color: var(--dark-blue);
    color: white;
    border-color: var(--dark-blue);
}

.page-item:hover:not(.active) {
    background-color: #f0f0f0;
}
/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 1.2rem;
    margin: 3rem 0 1rem;
    justify-content: center;
}

.share-buttons-title {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.share-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #3b5998, #4267B2);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1da1f2, #0084b4);
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #128C7E);
}

.share-btn.linkedin {
    background: linear-gradient(135deg, #0077b5, #0e76a8);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dark-blue), var(--accent-blue));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 100;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Responsive Design */
@media (max-width: 992px) {
    .artikel-hero h1 {
        font-size: 2.3rem;
    }
    
    .artikel-container {
        margin-left: 2rem;
        margin-right: 2rem;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }
    
    .logo {
        margin-bottom: 1rem;
    }
    
    .nav-links {
        margin-bottom: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .artikel-hero {
        height: auto;
        padding: 8rem 1rem 5rem;
    }
    
    .artikel-hero h1 {
        font-size: 1.9rem;
    }

    .artikel-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .artikel-container {
        padding: 2.5rem 1.8rem;
        margin-top: -50px;
    }

    .toc {
        padding: 1.5rem;
    }

    .list-articles-grid {
        grid-template-columns: 1fr;
    }
    
    .list-articles {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 576px) {
    .artikel-hero h1 {
        font-size: 1.7rem;
    }

    .share-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .artikel-container {
        padding: 2rem 1.5rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }
    
    .artikel-content h2 {
        font-size: 1.6rem;
    }
    
    .artikel-content h3 {
        font-size: 1.3rem;
    }
}