/* ==========================
   E-RESOURCES
========================== */

.eresources-section {
    margin: 50px 0;
}

.section-tag {
    display: inline-block;
    background: #f7b813;
    color: #222;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 30px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
}

.second-title {
    margin-top: 35px;
}

.resource-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.resource-table th,
.resource-table td {
    border: 1px solid #e4e4e4;
    padding: 10px 12px;
    text-align: left;
    font-size: 13px;
}

.resource-table th {
    background: #fafafa;
    font-weight: 700;
    color: #444;
}

.resource-table td {
    color: #666;
}

.resource-table td:first-child {
    width: 50px;
    text-align: center;
}

.resource-table a {
    color: #f0a500;
    text-decoration: underline;
    word-break: break-all;
}

.resource-table a:hover {
    color: #cc8600;
}

.table-responsive {
    overflow-x: auto;
}
/* ==========================
   HOW TO ACCESS
========================== */

.how-access-section {
    padding: 60px 0;
    background: linear-gradient(
        90deg,
        #f7f0ff 0%,
        #fff4f4 100%
    );
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #25253a;
    margin-bottom: 8px;
}

.section-header p {
    font-size: 13px;
    color: #666;
}

.access-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.access-card {
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    width: 230px;
    min-height: 175px;
    padding: 22px 18px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    margin:5px;
}

.step-number {
    width: 36px;
    height: 36px;
    margin: 0 auto 15px;
    border-radius: 4px;
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-1 {
    background: #ff6b6b;
}

.step-2 {
    background: #0d4f8b;
}

.step-3 {
    background: #9747ff;
}

.step-4 {
    background: #69c572;
}

.access-card h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.access-card:nth-child(1) h3 {
    color: #ff6b6b;
}

.access-card:nth-child(3) h3 {
    color: #0d4f8b;
}

.access-card:nth-child(5) h3 {
    color: #9747ff;
}

.access-card:nth-child(7) h3 {
    color: #69c572;
}

.access-card p {
    font-size: 12px;
    color: #666;
    line-height: 1.8;
    margin: 0;
}

.step-arrow {
    font-size: 28px;
    color: #666;
    margin: 0 -5px;
}

/* ==========================
   1200px
========================== */

@media (max-width:1200px) {

    .section-title {
        font-size: 28px;
    }
        .access-card {
        width: 210px;
    }
}

/* ==========================
   991px
========================== */

@media (max-width:991px) {

    .section-title {
        font-size: 24px;
    }
     .access-steps {
        flex-wrap: wrap;
        gap: 20px;
    }

    .step-arrow {
        display: none;
    }
}

/* ==========================
   767px
========================== */

@media (max-width:767px) {

    .eresources-section {
        margin: 40px 0;
    }

    .section-title {
        font-size: 22px;
    }

    .resource-table th,
    .resource-table td {
        padding: 8px;
        font-size: 12px;
    }
    .how-access-section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .access-card {
        width: calc(50% - 10px);
        min-height: 160px;
    }
}

/* ==========================
   545px
========================== */

@media (max-width:545px) {

    .section-title {
        font-size: 20px;
    }

    .section-tag {
        font-size: 10px;
        padding: 5px 12px;
    }

    .resource-table th,
    .resource-table td {
        font-size: 11px;
    }
    .access-card {
        width: 100%;
        min-height: auto;
    }

    .section-header h2 {
        font-size: 24px;
    }
}

/* ==========================
   320px
========================== */

@media (max-width:320px) {

    .section-title {
        font-size: 18px;
    }

    .resource-table th,
    .resource-table td {
        font-size: 10px;
        padding: 6px;
    }
    .section-header h2 {
        font-size: 20px;
    }

    .access-card {
        padding: 18px 15px;
    }

    .access-card h3 {
        font-size: 14px;
    }

    .access-card p {
        font-size: 11px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}