/*
| Section Feature - Beranda
*/
.features-item {
    position: relative;
    background: linear-gradient(135deg, #ffffff, #f7f7f7);
    padding: 20px;
    border: 1px solid #e3e3e3;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.features-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.features-icon {
    font-size: 40px;
    color: #750000; /* Gerindra red */
    margin-bottom: 15px;
}

.features-title {
    font-size: 20px;
    color: #333333;
    font-weight: bold;
    margin-bottom: 10px;
}

.features-item p {
    color: #555555;
    font-size: 16px;
}

/*
| Section Angwan Provinsi - Beranda
*/
/* Luxury Button Styling */
.btn-redirect-angwan-web {
    display: inline-block;
    background: linear-gradient(45deg, #8b0000, #b22222); /* Deep red gradient */
    color: gold;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3); /* Gold shadow */
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    border: 2px solid gold;
    position: relative;
}

/* Hover Effect */
.btn-redirect-angwan-web:hover {
    background: gold;
    color: #8b0000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
    transform: scale(1.05);
}

/* Change Icon Color */
.angwan-icon {
    color: #C3E4F3;
    font-size: 18px;
    margin-right: 5px; /* Adds spacing between icon and text */
}

/* Glow Animation */
@keyframes glow {
    0% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); }
    100% { box-shadow: 0 0 10px rgba(255, 215, 0, 0.3); }
}

.btn-redirect-angwan-web {
    animation: glow 2s infinite alternate;
}

/* Spacing Rules */
.text-to-angwan-provinsi {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px !important;
    margin-bottom: 30px !important;
}

/* Responsive spacing */
@media (max-width: 767px) {
    .text-angwan-provinsi {
        margin-bottom: 40px !important; /* Extra space for mobile */
    }
}

/*
| ...
*/
.color-light-beige {
    color: #F5E8D3  /* Light Beige */
}

.icon-list li{
    color: #F5E8D3  /* Light Beige */
}

.thumbnail-berita {
    max-width: 100% !important;
    height: auto !important;
    max-height: 460px !important;
    object-fit: contain;
}

.judul-berita {
    color: #111111;
}

.kategori-berita, .pembuat-berita {
    color: #A30000; /* Deep Red */
}

/*
| Share button Berita
*/
.horizontal-icons {
    display: flex; /* Make the list items display in a row */
    align-items: center; /* Align items vertically centered */
    gap: 20px; /* Add spacing between items */
    padding: 0; /* Remove default padding */
    margin: 0; /* Remove default margin */
    list-style: none; /* Remove bullet points */
}

.horizontal-icons .title {
    font-weight: bold; /* Styling for the "Share:" title */
    margin-right: 15px; /* Space after the title */
}

.horizontal-icons li a {
    text-decoration: none; /* Remove underline from links */
    font-size: 1.5rem; /* Adjust icon size */
    color: #8B0000; /* Default icon color */
    transition: color 0.3s; /* Smooth hover effect */
}

.horizontal-icons li a:hover {
    color: #D4A017; /* Change icon color on hover */
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f5f5f5;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #D4A017;
    color: #fff !important;
    transform: translateY(-3px);
}

.copy-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    min-width: 240px;
    max-width: 320px;
    background: linear-gradient(135deg, #8B0000, #5c0000);
    color: #fff;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    border: 1px solid rgba(212, 160, 23, 0.35); /* full subtle gold */
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateY(12px) scale(0.96);
    transition: all 0.3s ease;
}

.copy-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.copy-toast i {
    font-size: 14px;
    color: #D4A017;
}

/*
| Load More Button
*/
.btn-load-more {
    background: linear-gradient(to right, #A30000, #FFCC00);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    width: auto; /* Automatically adjusts width */
}

.btn-load-more:hover {
    background: linear-gradient(to right, #FFCC00, #A30000);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.btn-load-more:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .btn-load-more {
        font-size: 14px; /* Slightly smaller text for compact view */
        padding: 10px 15px; /* Reduce padding */
        width: 90%; /* Full-width button with slight margin */
        max-width: 400px; /* Cap maximum width for better design */
    }
}

@media (max-width: 576px) {
    .btn-load-more {
        font-size: 12px; /* Smaller text for very small screens */
        padding: 8px 12px; /* Further reduce padding */
        width: 100%; /* Full width button */
    }
}

/*
| Card Galeri Foto jika koleksi belum tersedia
*/
/* No Photo Card Styling */
.no-photo-card {
    background: linear-gradient(135deg, #4A90E2, #A3CFFF); /* Luxurious gradient */
    color: #FFFFFF; /* Elegant white for text */
    padding: 40px;
    border-radius: 15px; /* Smooth corners */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    margin: 20px 0;
}

.no-photo-card .card-icon {
    font-size: 50px;
    /* color: #FF8C42; Warm gold-orange to catch attention */
    color: #750000;
    margin-bottom: 20px;
}

.no-photo-card .card-title {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.no-photo-card .card-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .no-photo-card {
        padding: 30px;
    }

    .no-photo-card .card-icon {
        font-size: 40px;
    }

    .no-photo-card .card-title {
        font-size: 20px;
    }

    .no-photo-card .card-description {
        font-size: 14px;
    }
}


/*
| Call-to-Action Section: Microsite DPC Website Links
*/
/* General Section Styling */
.module-small.bg-gerindra {
    background: linear-gradient(135deg, #750000, #a52a2a); /* Gradient from Gerindra red to a complementary darker red */
    color: #F5E8D3; /* Soft gold */
    padding: 40px 0;
    border-top: 5px solid #F5E8D3; /* Gold accent at the top */
    border-bottom: 5px solid #F5E8D3; /* Optional gold accent at the bottom for symmetry */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
}
  
/* Text Styling */
.callout-title {
    font-size: 22px;
    font-weight: bold;
    color: #F5E8D3; /* Gold */
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}
  
.callout-text p {
    font-size: 14px;
    color: #fff; /* White for contrast */
    margin-bottom: 20px;
}
  
/* Button Styling */
.callout-btn-box .btn {
    background: linear-gradient(135deg, #F5E8D3, #ffe4b5); /* Gradient gold button */
    color: #750000; /* Red text for contrast */
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px; /* Rounded button */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease-in-out;
}
  
.callout-btn-box .btn:hover {
    background-color: #750000; /* Invert to red */
    color: #F5E8D3; /* Gold */
    border-color: #F5E8D3; /* Gold border */
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px); /* Lift effect */
}
  
/* Responsive Adjustments */
@media (max-width: 768px) {
    .callout-title {
        font-size: 20px;
    }

    .callout-text p {
        font-size: 14px;
    }

    .callout-btn-box .btn {
        font-size: 10px;
        padding: 8px 16px;
    }
}


/*
| Info Publik > Rilis Media
*/
/* === Media Filter === */
.media-filter-wrapper { 
    position: relative; 
    overflow: hidden; 
} 

.media-filter { 
    display: inline-flex; 
    gap: 10px; 
    background: #111; 
    padding: 8px; 
    border-radius: 50px; 
    box-shadow: 0 6px 20px rgba(0,0,0,0.25); 
} 

.filter-item { 
    border: none; 
    background: transparent; 
    color: #bbb; 
    padding: 8px 18px; 
    font-size: 13px; 
    font-weight: 500; 
    border-radius: 50px; 
    cursor: pointer; 
    transition: all 0.3s ease; 
    letter-spacing: 0.3px; 
} 

.filter-item i { 
    margin-right: 6px; 
    font-size: 13px; 
} 

/* Hover */ 
.filter-item:hover { 
    color: #fff; 
    background: rgba(139, 0, 0, 0.4); 
} 

/* Active */ 
.filter-item.active { 
    background: linear-gradient(135deg, #8B0000, #5c0000); 
    color: #fff; 
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.4); 
    position: relative; 
} 

/* Gold accent line */ 
.filter-item.active::after { 
    content: ''; 
    position: absolute; 
    bottom: -6px; 
    left: 30%; 
    width: 40%; 
    height: 2px; 
    background: #D4A017; 
    border-radius: 2px; 
} 

/* Responsive */ 
@media (max-width: 768px) { 
    .media-filter { 
        flex-wrap: wrap; 
        border-radius: 12px; 
        justify-content: center; 
    } 
} 

.work-item { 
    position: relative; 
    overflow: hidden; 
} 

.work-caption { 
    opacity: 0; 
    transform: translateY(10px); 
    pointer-events: none; 
} 

.work-image { 
    position: relative; 
    z-index: 1; 
} 

.work-caption a { 
    pointer-events: auto;
}

.media-viewer {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.content-description {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.image-viewer {
    position: relative;
    display: block;
    text-align: center;
}

.protected-image {
    pointer-events: none;
    user-select: none;
}

.image-overlay {
    position: absolute;
    bottom: 10px;
    right: 15px;
    background: rgba(139, 0, 0, 0.75);
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    letter-spacing: 1px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.pdf-viewer-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #111;
}

.pdf-frame {
    border: none;
}

.pdf-overlay {
    position: absolute;
    bottom: 10px;
    right: 15px;
    background: rgba(139, 0, 0, 0.75);
    color: #fff;
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 6px;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

/* === Gerindra Media Access Badge (Frontend) === */
.badge-gerindra-restricted {
    background: linear-gradient(135deg, #750000, #a00000);
    color: #ffffff;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(117, 0, 0, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-gerindra-restricted i {
    color: #ffcccc;
}

/* Downloadable */
.badge-gerindra-downloadable {
    background: linear-gradient(135deg, #ffcc00, #e6b800);
    color: #4a3b00;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(255, 204, 0, 0.45);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-gerindra-downloadable i {
    color: #6b5400;
}

/* === Media Action Card === */
/* Label */
.action-label {
    font-size: 13px;
    color: #777;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

/* === Gerindra Primary Button === */
.btn-gerindra-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #8B0000, #5c0000);
    color: #fff;
    padding: 12px 26px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 30px;
    text-decoration: none;
    letter-spacing: 0.4px;
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.35);
    transition: all 0.3s ease;
}

.btn-gerindra-primary i {
    font-size: 14px;
}

.btn-gerindra-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.45);
    text-decoration: none;
    color: #ffcc00;
}

/* === Restricted Box === */
.restricted-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 25px;
    border-radius: 12px;
    background: rgba(139, 0, 0, 0.04);
    border: 1px solid rgba(139, 0, 0, 0.15);
    box-shadow: 0 8px 30px rgba(117, 0, 0, 0.35);
}

.restricted-box i {
    font-size: 20px;
    color: #8B0000;
}

.restricted-box p {
    margin: 0;
    font-size: 13px;
    color: #444;
    line-height: 1.6;
}

.restricted-box span {
    font-size: 12px;
    color: #777;
}

/* === Description Typography === */
.luxury-text {
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    letter-spacing: 0.2px;
}

/*
| Social Icon Footer
*/
.footer-social-links {
    display: flex;
    gap: 20px; /* Space between icons */
    justify-content: center !important; /* Center the links */
}
  
.footer-social-links a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 35px; /* Size of each icon container */
    height: 35px;
    border-radius: 50%; /* Makes the icons circular */
    background: #f4f4f4; /* Subtle background for elegance */
    color: #fff; /* Icon color */
    text-decoration: none;
    transition: all 0.3s ease; /* Smooth hover effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add some depth */
}
  
.footer-social-links a:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
    color: #FFD700 !important; /* Gold for luxury on hover */
    box-shadow: 0 6px 12px rgba(117, 0, 0, 0.3); /* Red-tinted shadow closer to #750000 */
}
  
/* Platform-specific colors */
.footer-social-links a.facebook {
    background: #3b5998;
}
  
.footer-social-links a.youtube {
    background: #ff0000;
}

.footer-social-links a.instagram {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
}

.footer-social-links a.tiktok {
    background: linear-gradient(45deg, #69c9d0, #ee1d52, #ff004f);
}

/* Add a luxurious touch to icons */
.footer-social-links i {
    font-size: 24px; /* Icon size */
    display: block;
}

/*
| Copyright Footer
*/
.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.copyright {
    text-align: center;
    margin: 0 20px;
}

/* Styles for mobile screens */
@media (max-width: 768px) {
    .footer-row {
        display: block; /* Stack the items vertically on mobile */
        text-align: center; /* Center the text for mobile */
    }
}