/* ==========================================================
   DRR Club page (builds on quality-portal.css tabs/tables)
   All classes prefixed "drr-"
   ========================================================== */

.drr-logos {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.drr-logos img {
    height: 72px;
    max-width: 220px;
    object-fit: contain;
    background: #fff;
    padding: 6px 12px;
    border-radius: 8px;
}

.drr-subhead {
    color: var(--secondary);
    font-size: 17px;
    font-weight: 700;
    margin: 28px 0 12px;
}

/* ---------- Lists ---------- */
.drr-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drr-list li {
    padding: 10px 15px;
    background: #f4f6f8;
    margin-bottom: 8px;
    border-left: 3px solid var(--primary);
    border-radius: 0 6px 6px 0;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
    transition: transform .2s;
}

.drr-list li:hover {
    transform: translateX(4px);
}

.drr-list a {
    color: var(--primary);
    font-weight: 600;
}

/* ---------- Framework ---------- */
.drr-framework-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin: 20px 0;
}

.drr-framework-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 4px solid var(--primary);
    border-radius: 10px;
    padding: 20px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.drr-framework-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
}

.drr-step {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    font-weight: 700;
    margin-bottom: 10px;
}

.drr-framework-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}

.drr-framework-card p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ---------- Disaster Risk Management loop ---------- */
.drr-loop {
    background: #f4f6f8;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 25px;
    margin-top: 25px;
    text-align: center;
}

.drr-loop h4 {
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}

.drr-loop-track {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.drr-loop-node {
    background: var(--primary);
    color: #fff;
    padding: 10px 22px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
}

.drr-loop-arrow {
    color: var(--secondary);
    font-size: 1.5rem;
    font-weight: 700;
}

/* ---------- Committee ---------- */
.drr-member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
    margin-top: 15px;
}

.drr-member-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all .3s ease;
}

.drr-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
    border-color: var(--primary);
}

.drr-member-photo {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 10px;
}

.drr-member-initial {
    background: rgba(46, 88, 56, .1);
    color: var(--primary);
    font-size: 32px;
    font-weight: 700;
    line-height: 84px;
}

.drr-member-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
}

.drr-member-card p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

.drr-member-card .drr-member-role {
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 575px) {
    .drr-logos img {
        height: 56px;
    }

    .drr-loop {
        padding: 18px 12px;
    }
}
