:root {
    --pdam-blue: #0066cc;
    --pdam-light-blue: #e6f3ff;
    --pdam-dark-blue: #004499;
}

.translate-middle-badge-custom {
    transform: translate(-125%, -25%) !important;
}

.navbar-brand {
    font-weight: bold;
    color: var(--pdam-blue) !important;
}

.hero-section {
    background: linear-gradient(135deg, var(--pdam-blue), var(--pdam-dark-blue));
    color: white;
    padding: 80px 0;
}

.card-custom {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}


.card-custom:hover {
    transform: translateY(-5px);
}

.btn-pdam {
    background-color: var(--pdam-blue);
    border-color: var(--pdam-blue);
    color: white;
}

.btn-pdam:hover {
    background-color: var(--pdam-dark-blue);
    border-color: var(--pdam-dark-blue);
    color: white;
}

.page-header {
    background: linear-gradient(135deg, var(--pdam-blue), var(--pdam-dark-blue));
    color: white;
    padding: 60px 0;
}

.breadcrumb-custom {
    background: none;
    padding: 0;
}

.breadcrumb-custom .breadcrumb-item a {
    color: var(--pdam-blue);
    text-decoration: none;
}

.breadcrumb-custom .breadcrumb-item.active {
    color: white;
}

.section-title {
    color: var(--pdam-blue);
    font-weight: bold;
    margin-bottom: 30px;
}

.announcement-card {
    border-left: 4px solid var(--pdam-blue);
}

.news-meta {
    color: #6c757d;
    font-size: 0.9rem;
}

.category-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.footer {
    background-color: var(--pdam-dark-blue);
    color: white;
}

.water-icon {
    color: var(--pdam-blue);
    font-size: 3rem;
}

.announcement-item {
    transition: background-color 0.3s ease;
}

.announcement-item:hover {
    background-color: #f8f9fa;
}

.search-box {
    border-radius: 25px;
}

.sticky-top {
    position: sticky;
}

.filter-section {
    background-color: #f8f9fa;
    border-radius: 10px;
}

@media (max-width: 991px) {
    .sticky-top {
        position: relative;
        top: 0 !important;
    }
}

.object-cover {
    object-fit: cover;
}

.article-meta {
    color: #6c757d;
    font-size: 0.9rem;
}

.article-content {
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-content h2 {
    color: var(--pdam-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    color: var(--pdam-dark-blue);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.article-content p {
    margin-bottom: 1.2rem;
    text-align: justify;
}

.share-buttons .btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.btn-facebook { background-color: #1877f2; border-color: #1877f2; }
.btn-twitter { background-color: #1da1f2; border-color: #1da1f2; }
.btn-whatsapp { background-color: #25d366; border-color: #25d366; }
.btn-linkedin { background-color: #0077b5; border-color: #0077b5; }

.article-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.related-news-img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.tag {
    background-color: var(--pdam-light-blue);
    color: var(--pdam-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    text-decoration: none;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.tag:hover {
    background-color: var(--pdam-blue);
    color: white;
}