/* =====================================================
   Panchang Cards
===================================================== */

.dp-panchang-cards{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
    align-items:start;
}

.dp-card{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    overflow:hidden;
}

.dp-card.dp-card-full{
    grid-column:1 / -1;
}

.dp-card-header{
    padding:18px 20px;
    border-bottom:1px solid #eee;
}

.dp-card-header h2{
    margin:0;
    font-size:22px;
}

.dp-card-body{
    padding:20px;
}

/* =====================================================
   Standard Tables
===================================================== */

.dp-grid-row{
    display:grid;
    grid-template-columns:1fr;
    gap:16px;
    margin-bottom:18px;
}

.dp-item{
    border-bottom:1px dashed #eee;
    padding-bottom:12px;
}

.dp-label{
    font-size:13px;
    color:#777;
}

.dp-value{
    margin-top:5px;
    font-weight:600;
}

.dp-full{
    font-weight:600;
}

/* =====================================================
   Chandrabalam
===================================================== */

.dp-chandra-grid{
    display:grid;
    grid-template-columns:1fr;
}

.dp-chandra-column{
    padding:20px;
}

.dp-chandra-column:first-child{
    border-bottom:1px solid #ddd;
}

.dp-divider{
    margin:25px 0;
    border:0;
    border-top:1px solid #e5e5e5;
}

.dp-rashi-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    margin-top:15px;
}

.dp-rashi-item{
    background:#f8f8f8;
    padding:10px;
    border-radius:6px;
    text-align:center;
    font-weight:600;
}

.dp-notes{
    margin:18px 0 0;
    padding-left:18px;
}

/* =====================================================
   Panchaka
===================================================== */

.dp-panchaka-grid{
    display:grid;
    grid-template-columns:1fr;
}

.dp-panchaka-column{
    padding:20px;
}

.dp-panchaka-column:first-child{
    border-bottom:1px solid #ddd;
}

.dp-column-title{
    margin-bottom:15px;
    font-size:18px;
    font-weight:700;
}

.dp-panchaka-item{
    padding:10px 0;
    border-bottom:1px solid #eee;
}

.dp-panchaka-item:last-child{
    border-bottom:0;
}

/* =====================================================
   Events
===================================================== */

.dp-event-badges{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.dp-event-badge{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:10px 16px;
    background:#fff7e5;
    border:1px solid #f0d39b;
    border-radius:30px;
    font-weight:600;
    color:#7a3d00;
    transition:.25s;
}

.dp-event-badge:hover{
    background:#ffe8b5;
    transform:translateY(-2px);
}

/* =====================================================
   Tablet (768px+)
===================================================== */

@media (min-width:768px){

    .dp-panchang-cards{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .dp-grid-row{
        grid-template-columns:repeat(2,1fr);
    }

    .dp-rashi-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

/* =====================================================
   Laptop (1024px+)
===================================================== */

@media (min-width:1024px){

    .dp-panchang-cards{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:24px;
    }

    .dp-card-header{
        padding:20px 24px;
    }

    .dp-card-body{
        padding:24px;
    }

    .dp-chandra-grid{
        grid-template-columns:1fr 1fr;
    }

    .dp-chandra-column:first-child{
        border-bottom:0;
        border-right:1px solid #ddd;
    }

    .dp-panchaka-grid{
        grid-template-columns:1fr 1fr;
    }

    .dp-panchaka-column:first-child{
        border-bottom:0;
        border-right:1px solid #ddd;
    }
}

/* =====================================================
   Large Desktop (1440px+)
===================================================== */

@media (min-width:1440px){

    .dp-panchang-cards{
        grid-template-columns:repeat(1,minmax(0,1fr));
        gap:30px;
    }

    .dp-card.dp-card-full{
        grid-column:1 / -1;
    }

    .dp-card-header h2{
        font-size:24px;
    }

    .dp-card-body{
        padding:28px;
    }
}



.dp-card-content{
    display:none;
}

.dp-card.active .dp-card-content{
    display:block;
}

.dp-card-header{
    cursor:pointer;
}

.dp-toggle{
    transition:.3s ease;
}

.dp-card.active .dp-toggle{
    transform:rotate(45deg);
}