


header.entry-header {
    display: none;
}

    .diana-rules-page {
        font-family: shabnam ;
        padding: 60px 20px;
        direction: rtl;
        border-radius: 90px 10px;
    }

    .diana-container {
        max-width: 1100px;
        margin: 0 auto;
    }

    .diana-header {
        text-align: center;
        margin-bottom: 50px;
    }

    .diana-header h1 {
        color: #75a19d;
        font-size: 25px;
        font-weight: bold;
        box-shadow: #75a19d 5px 5px 0px 3px;
        padding: 13px;
        border-radius: 8px;
    background-image: url(/wp-content/uploads/2026/02/back22-150x150.jpg);
    }

    .rules-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }

    .rule-card {
        background: #cdcdcd24; /* کارت‌های سفید داخل صفحه کرم */
        border-radius: 20px;
        padding: 30px;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.02);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 180px;
box-shadow: 0px 0px 50px 6px white;
    }

    .rule-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(212, 163, 115, 0.15);
        border-color: #d4a373;
    background: white;
    }

    .rule-icon {
        font-size: 24px;
        margin-bottom: 15px;
        color: #d4a373;
        background: #faf7f2;
        width: 50px;
        height: 50px;
        line-height: 50px;
        border-radius: 15px;
    }

    .rule-card p {
        color: #5d5449;
        font-size: 14.5px;
        line-height: 1.8;
        margin: 0;
        font-weight: 500;
    }

    /* استایل خاص برای کارت هشتم (باکس خالی/رزرو) */
    .rule-card.empty-slot {
        background: rgba(212, 163, 115, 0.05);
        border: 2px dashed #d4a373;
    }

    @media (max-width: 768px) {
        .rules-grid { grid-template-columns: 1fr; }
    }

