/* Artikel Page Styles - Cleaned Version */

/* Hero Section */
.artikel-hero {
    position: relative;
    padding: 140px 0 100px;
    overflow: hidden;
    background: #f8f9fa; /* Fallback background */
}

.artikel-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-animated-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb, #90caf9, #64b5f6);
    animation: gradient-animation 15s ease infinite;
}

@keyframes gradient-animation {
    0% { transform: rotate(0deg) translate(-10%, -10%); }
    50% { transform: rotate(180deg) translate(10%, 10%); }
    100% { transform: rotate(360deg) translate(-10%, -10%); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.floating-blob {
    position: absolute;
    will-change: transform;
    animation: float-blob 20s ease-in-out infinite;
    opacity: 0.5;
}

.floating-blob.blob-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    background: rgba(144, 202, 249, 0.7); /* Light Blue */
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation-duration: 25s;
    animation-delay: 0s;
}

.floating-blob.blob-2 {
    width: 250px;
    height: 250px;
    top: 60%;
    right: 10%;
    background: rgba(100, 181, 246, 0.7); /* Medium Blue */
    border-radius: 70% 30% 40% 60% / 60% 40% 70% 30%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.floating-blob.blob-3 {
    width: 200px;
    height: 200px;
    bottom: 5%;
    left: 30%;
    background: rgba(66, 165, 245, 0.7); /* Darker Blue */
    border-radius: 30% 70% 60% 40% / 50% 60% 30% 70%;
    animation-duration: 20s;
    animation-delay: -10s;
}

@keyframes float-blob {
    0% {
        transform: translate(0, 0) rotate(0deg);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
    25% {
        transform: translate(20px, 40px) rotate(90deg);
        border-radius: 70% 30% 40% 60% / 60% 40% 70% 30%;
    }
    50% {
        transform: translate(-20px, -30px) rotate(180deg);
        border-radius: 30% 70% 60% 40% / 50% 60% 30% 70%;
    }
    75% {
        transform: translate(30px, -20px) rotate(270deg);
        border-radius: 50% 50% 50% 50%;
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}
.hero-content-wrapper {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #0066cc;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.hero-badge i {
    color: #4a90e2;
    font-size: 1rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 3rem;
    line-height: 1.6;
}

/* Search Section */
.search-container {
    margin-top: 2rem;
}

.search-form {
    max-width: 500px;
    margin: 0 auto;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.1);
    transition: all 0.3s ease;
}

.search-input-group:focus-within {
    border-color: #4a90e2;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    color: #9ca3af;
    font-size: 1rem;
    z-index: 2;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem 1rem 1rem 3rem;
    font-size: 1rem;
    border-radius: 50px;
    background: transparent;
    color: #1f2937;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-btn {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

/* Main Content */
.artikel-content {
    padding: 80px 0;
}

/* Filter Bar */
.filter-bar {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.results-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.results-count {
    color: #64748b;
    font-size: 0.95rem;
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
}

.sort-controls label {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #1f2937;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-select:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

/* Loading and Error States */
.loading-state {
    text-align: center;
    padding: 4rem 0;
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #4a90e2;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-state {
    text-align: center;
    padding: 4rem 0;
    color: #64748b;
}

.error-icon {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

.btn-retry {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-retry:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

/* Enhanced Article Cards Grid */
.artikel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.artikel-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.artikel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(74, 144, 226, 0.2);
}

.artikel-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.artikel-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.artikel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.artikel-card:hover .artikel-image {
    transform: scale(1.05);
}

.artikel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.9) 0%, rgba(16, 185, 129, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.artikel-card:hover .artikel-overlay {
    opacity: 1;
}

.artikel-category {
    background: rgba(255, 255, 255, 0.95);
    color: #4a90e2;
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.artikel-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.artikel-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

.artikel-date,
.artikel-author {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(74, 144, 226, 0.08);
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-weight: 500;
    color: #4a90e2;
}

.artikel-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1rem;
    line-height: 1.4;
    height: 3.5rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.artikel-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.artikel-title a:hover {
    color: #4a90e2;
}

.artikel-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex: 1;
    font-size: 0.95rem;
    height: 4.8rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.artikel-footer {
    margin-top: auto;
    display: flex;
    justify-content: center;
}

.artikel-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.08) 0%, rgba(16, 185, 129, 0.08) 100%);
    border-radius: 25px;
    border: 1px solid rgba(74, 144, 226, 0.2);
    transition: all 0.3s ease;
}

.artikel-read-more:hover {
    color: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.2);
    border-color: rgba(74, 144, 226, 0.3);
}

.artikel-read-more i {
    transition: transform 0.3s ease;
}

.artikel-read-more:hover i {
    transform: translateX(3px);
}

/* No Articles State */
.no-articles {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
    grid-column: 1 / -1;
}

.no-articles-icon {
    font-size: 4rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.no-articles h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.no-articles p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

.btn-clear-search {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-clear-search:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

/* Enhanced Pagination */
.artikel-pagination {
    margin-top: 4rem;
}

.pagination {
    gap: 0.5rem;
    justify-content: center;
}

.page-item {
    margin: 0;
}

.page-link {
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: #64748b;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
}

.page-link:hover {
    color: #4a90e2;
    background: rgba(74, 144, 226, 0.08);
    border-color: rgba(74, 144, 226, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.15);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border-color: #4a90e2;
    color: white;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.page-item.disabled .page-link {
    color: #9ca3af;
    background: #f8fafc;
    border-color: #e2e8f0;
    cursor: not-allowed;
}

.page-item.disabled .page-link:hover {
    transform: none;
    box-shadow: none;
}

/* Detail Page Styles */

/* Breadcrumb */
.breadcrumb-section {
    padding: 100px 0 20px;
    background: #f8f9fa;
}

.breadcrumb {
    background: none;
    margin: 0;
    padding: 0;
    font-size: 0.9rem;
}

.breadcrumb-item {
    color: #64748b;
}

.breadcrumb-item a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #357abd;
}

.breadcrumb-item.active {
    color: #1f2937;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #9ca3af;
    margin: 0 0.5rem;
}

/* Article Detail Section */
.artikel-detail-section {
    padding: 40px 0 80px;
    background: #ffffff;
}

.article-main {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Article Header */
.article-header {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.article-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid rgba(74, 144, 226, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #4a90e2;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    background: rgba(74, 144, 226, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
}

.meta-item i {
    color: #4a90e2;
    font-size: 0.8rem;
}

/* Article Image */
.article-image-container {
    margin: 2rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.article-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
}

/* Article Content */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #374151;
    margin: 3rem 0;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #1f2937;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-content h1 { font-size: 2rem; }
.article-content h2 { font-size: 1.75rem; }
.article-content h3 { font-size: 1.5rem; }
.article-content h4 { font-size: 1.25rem; }
.article-content h5 { font-size: 1.125rem; }
.article-content h6 { font-size: 1rem; }

.article-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content blockquote {
    border-left: 4px solid #4a90e2;
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    background: rgba(74, 144, 226, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4a90e2;
}

.article-content code {
    background: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #e11d48;
}

.article-content pre {
    background: #1f2937;
    color: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.article-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* Social Sharing */
.social-sharing {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(74, 144, 226, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.social-sharing h5 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.social-btn.facebook {
    background: #1877f2;
    color: white;
}

.social-btn.facebook:hover {
    background: #166fe5;
    color: white;
    transform: translateY(-2px);
}

.social-btn.twitter {
    background: #1da1f2;
    color: white;
}

.social-btn.twitter:hover {
    background: #0d95e8;
    color: white;
    transform: translateY(-2px);
}

.social-btn.whatsapp {
    background: #25d366;
    color: white;
}

.social-btn.whatsapp:hover {
    background: #20c55a;
    color: white;
    transform: translateY(-2px);
}

.social-btn.copy-link,
.social-btn.print {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.social-btn.copy-link:hover,
.social-btn.print:hover {
    background: #e2e8f0;
    color: #4a90e2;
    transform: translateY(-2px);
}

/* Article Previous/Next Navigation */
.article-nav {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.article-nav-item {
    flex: 1;
}

.article-nav-item.nav-prev {
    text-align: left;
}

.article-nav-item.nav-next {
    text-align: right;
}

.article-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(74, 144, 226, 0.05);
    border-radius: 16px;
    text-decoration: none;
    color: #4a90e2;
    transition: all 0.3s ease;
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.article-nav-link:hover {
    background: rgba(74, 144, 226, 0.1);
    color: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.15);
}

.article-nav-content small {
    display: block;
    color: #64748b;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.article-nav-content span {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Sidebar */
.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.sidebar-widget h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4a90e2;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

.btn-back:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

/* Article Info */
.article-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.article-info .info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.article-info .info-item i {
    color: #4a90e2;
    font-size: 1rem;
    margin-top: 0.2rem;
}

.article-info .info-item div {
    flex: 1;
}

.article-info .info-item strong {
    display: block;
    color: #1f2937;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.article-info .info-item span {
    color: #64748b;
    font-size: 0.85rem;
}

/* Related Articles */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.related-item {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1.5rem;
}

.related-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.related-link {
    display: flex;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.related-link:hover {
    color: #4a90e2;
    transform: translateY(-2px);
}

.related-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-link:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    flex: 1;
}

.related-content h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-date {
    color: #64748b;
    font-size: 0.8rem;
}

/* Contact CTA */
.contact-cta {
    text-align: center;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(74, 144, 226, 0.1);
}

.contact-cta h4 {
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-cta p {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #25d366 0%, #20c55a 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

/* Article Not Found */
.article-not-found {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.not-found-icon {
    font-size: 4rem;
    color: #9ca3af;
    margin-bottom: 1.5rem;
}

.article-not-found h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.article-not-found p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Error Page Styles */
.error-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.error-content {
    text-align: center;
    max-width: 600px;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.error-title {
    font-size: 2rem;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
    color: white;
}

.btn-outline-custom {
    background: transparent;
    border: 2px solid #4a90e2;
    color: #4a90e2;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-outline-custom:hover {
    background: #4a90e2;
    color: white;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .artikel-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .artikel-card {
        min-height: 420px;
    }
}

@media (max-width: 992px) {
    .article-main {
        padding: 2rem;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-nav-item.nav-prev,
    .article-nav-item.nav-next {
        text-align: left;
    }
    
    .article-sidebar {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .artikel-hero {
        padding: 100px 0 60px;
        min-height: 50vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .artikel-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filter-bar {
        padding: 1rem;
    }
    
    .sort-controls {
        justify-content: flex-start;
        margin-top: 1rem;
    }
    
    .artikel-content {
        padding: 60px 0;
    }
    
    .search-input-group {
        padding: 0.3rem;
    }
    
    .search-input {
        padding: 0.8rem 0.8rem 0.8rem 2.5rem;
    }
    
    .search-btn {
        padding: 0.6rem 1.2rem;
    }
    
    .floating-icon {
        font-size: 2rem;
    }
    
    .breadcrumb-section {
        padding: 80px 0 15px;
    }
    
    .artikel-detail-section {
        padding: 20px 0 60px;
    }
    
    .article-main {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .social-buttons {
        justify-content: center;
    }
    
    .social-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .article-nav-link {
        padding: 1rem;
    }
    
    .sidebar-widget {
        padding: 1.5rem;
    }
    
    .related-link {
        flex-direction: column;
        text-align: center;
    }
    
    .related-image {
        width: 100%;
        height: 120px;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .artikel-image-wrapper {
        height: 180px;
    }
    
    .artikel-content {
        padding: 1.5rem;
    }
    
    .artikel-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .search-form {
        max-width: 100%;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .page-link {
        padding: 0.5rem 0.75rem;
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-content {
        font-size: 1rem;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .social-btn {
        width: 100%;
        justify-content: center;
        max-width: 250px;
    }
    
    .article-nav-content span {
        font-size: 0.8rem;
    }
    
    .breadcrumb {
        font-size: 0.8rem;
    }
}


