/* CSS from User's provided code */

.ziarah-wrapper {
    max-width: 100%;
    margin: 20px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.ziarah-wrapper * {
    box-sizing: border-box;
}

/* Header */
.ziarah-header {
    background: linear-gradient(135deg, #0f766e 0%, #065f46 100%);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    color: white;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(15, 118, 110, 0.3);
}

.ziarah-header h2 {
    margin: 0 0 10px 0;
    font-size: 2em;
    font-weight: bold;
}

.ziarah-header-subtitle {
    font-size: 1.1em;
    margin: 5px 0;
    opacity: 0.95;
}

.ziarah-header-date {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 8px 20px;
    border-radius: 20px;
    margin-top: 10px;
    font-weight: bold;
    backdrop-filter: blur(10px);
}

/* Stats */
.ziarah-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.ziarah-stat-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
    transition: all 0.3s;
}

.ziarah-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.2);
    border-color: #0f766e;
}

.ziarah-stat-number {
    font-size: 2.5em;
    font-weight: bold;
    background: linear-gradient(135deg, #0f766e, #065f46);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.ziarah-stat-label {
    color: #666;
    font-weight: 600;
    font-size: 0.95em;
}

/* Filter */
.ziarah-filter {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ziarah-filter label {
    font-weight: bold;
    color: #0f766e;
}

.ziarah-filter select {
    padding: 10px 18px;
    border: 2px solid #0f766e;
    border-radius: 20px;
    font-size: 1em;
    cursor: pointer;
    background: white;
    transition: all 0.3s;
    outline: none;
}

.ziarah-filter select:hover {
    background: #f0fdfa;
}

/* Section */
.ziarah-section {
    margin-bottom: 25px;
}

.ziarah-section-title {
    background: linear-gradient(135deg, #0f766e, #065f46);
    color: white;
    padding: 15px 20px;
    border-radius: 12px;
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(15, 118, 110, 0.3);
}

/* Cards */
.ziarah-cards {
    display: grid;
    gap: 15px;
    counter-reset: zcard;
}

.ziarah-card {
    counter-increment: zcard;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
    border-left: 5px solid #0f766e;
}

.ziarah-card:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 25px rgba(15, 118, 110, 0.2);
}

.ziarah-card::before {
    content: counter(zcard);
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, #0f766e, #065f46);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1em;
    box-shadow: 0 3px 10px rgba(15, 118, 110, 0.3);
}

.ziarah-card-title {
    font-size: 1.15em;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    padding-right: 50px;
    line-height: 1.4;
}

.ziarah-card-time {
    color: #333;
    font-size: 1.05em;
    margin-bottom: 12px;
    font-weight: 500;
}

.ziarah-card-link {
    display: inline-block;
    background: linear-gradient(135deg, #06b6d4, #0891b2) !important;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 1em;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.ziarah-card-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.6);
    color: #ffffff !important;
    background: linear-gradient(135deg, #0891b2, #0e7490) !important;
    text-decoration: none !important;
}

/* Album */
.ziarah-album {
    margin-top: 40px;
}

.ziarah-album-title {
    background: white;
    color: #0f766e;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
}

.ziarah-album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.ziarah-album-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    border: 2px solid #f0f0f0;
}

.ziarah-album-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 35px rgba(15, 118, 110, 0.3);
    border-color: #0f766e;
}

.ziarah-album-thumb {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #0f766e 0%, #065f46 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5em;
    position: relative;
    overflow: hidden;
}

.ziarah-album-thumb::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: ziarah-pulse 3s ease-in-out infinite;
}

@keyframes ziarah-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
}

.ziarah-album-info {
    padding: 20px;
    text-align: center;
}

.ziarah-album-name {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.ziarah-album-date {
    color: #666;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    .ziarah-header h2 {
        font-size: 1.5em;
    }

    .ziarah-filter {
        flex-direction: column;
    }

    .ziarah-card-title {
        font-size: 1em;
        padding-right: 45px;
    }

    .ziarah-card::before {
        width: 30px;
        height: 30px;
        font-size: 1em;
    }
}