* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #f8f1e1;
    color: #64100c;
    font-family:
        "Noto Sans Tamil",
        "Nirmala UI",
        Arial,
        sans-serif;
}


/* HERO */

.maha-hero {
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(201, 151, 20, .18),
            transparent 45%
        ),
        linear-gradient(
            135deg,
            #4a0503,
            #720b07,
            #4a0503
        );

    color: white;
    padding: 100px 25px;
    text-align: center;
}

.maha-hero-content {
    max-width: 1100px;
    margin: auto;
}

.hero-label {
    color: #e4ad12;
    letter-spacing: 5px;
    font-size: 12px;
    font-weight: 700;
}

.maha-hero h1 {
    margin: 25px 0 20px;
    font-size: clamp(38px, 5vw, 70px);
    line-height: 1.25;
}

.maha-hero h1 span {
    font-size: .62em;
    white-space: nowrap;
}

.hero-line {
    width: 100px;
    height: 4px;
    background: #d39a11;
    margin: 25px auto;
}

.maha-hero p {
    max-width: 800px;
    margin: auto;
    color: #ead9ca;
    line-height: 1.9;
    font-size: 17px;
}


/* CONTENT */

.maha-content {
    max-width: 1450px;
    margin: auto;
    padding: 65px 5% 100px;
}


/* BACK */

.back-button {
    display: inline-block;

    padding: 13px 25px;

    border: 1px solid #d29a12;
    border-radius: 30px;

    color: #6d100c;

    text-decoration: none;

    font-weight: 700;

    transition: .3s;
}

.back-button:hover {
    background: #6d100c;
    color: white;
}


/* HEADING */

.section-heading {
    text-align: center;
    margin: 55px auto 40px;
}

.section-heading > span {
    color: #b37b00;
    font-size: 12px;
    letter-spacing: 4px;
    font-weight: 700;
}

.section-heading h2 {
    margin: 14px 0;
    font-size: clamp(32px, 4vw, 48px);
}

.section-heading p {
    max-width: 750px;
    margin: auto;
    color: #806b60;
    line-height: 1.8;
}


/* SEARCH */

.tools {
    display: flex;
    justify-content: center;
    margin: 35px 0;
}

.search-box {
    width: min(650px, 100%);

    display: flex;
    align-items: center;
    gap: 12px;

    background: white;

    border: 1px solid #decba8;

    border-radius: 50px;

    padding: 5px 22px;

    box-shadow:
        0 8px 25px rgba(75, 20, 5, .07);
}

.search-box span {
    font-size: 28px;
    color: #9a6a00;
}

.search-box input {
    flex: 1;

    border: 0;
    outline: 0;

    background: transparent;

    padding: 14px 0;

    font-size: 16px;

    color: #54100c;
}

.search-box input::placeholder {
    color: #a49388;
}


/* LIST */

.contributors-list {
    background: white;

    border-radius: 25px;

    padding: 30px;

    margin-top: 35px;

    box-shadow:
        0 15px 45px rgba(72, 15, 5, .08);

    overflow: hidden;
}

.list-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 25px;

    padding-bottom: 20px;

    border-bottom: 1px solid #eadfc9;
}

.list-title > div > span {
    color: #b27b00;
    letter-spacing: 3px;
    font-size: 11px;
    font-weight: 700;
}

.list-title h3 {
    margin: 8px 0 0;

    font-size: 27px;
}

.count {
    width: 45px;
    height: 45px;

    border-radius: 50%;

    background: #6a100c;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 700;
}


/* TABLE */

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

thead {
    background: #5c0906;
    color: white;
}

th {
    padding: 17px 15px;
    text-align: left;
    font-size: 14px;
    white-space: nowrap;
}

td {
    padding: 16px 15px;
    border-bottom: 1px solid #eee3d1;
    color: #624f47;
    font-size: 15px;
    vertical-align: middle;
}

tbody tr {
    transition: .2s;
}

tbody tr:hover {
    background: #fff9ed;
}

.person-name {
    font-weight: 700;
    color: #65100c;
}

.amount {
    color: #8a6000;
    font-weight: 700;
    white-space: nowrap;
}

.item {
    min-width: 260px;
    line-height: 1.7;
}


/* PHOTO */

.person-photo {
    width: 58px;
    height: 58px;

    border-radius: 50%;

    object-fit: cover;

    border: 2px solid #d49a12;

    display: block;
}


/* MATERIAL */

.material-section {
    margin-top: 45px;
}


/* NO RESULTS */

.no-results {
    display: none;

    text-align: center;

    padding: 70px 20px;

    color: #806c62;
}

.no-results div {
    font-size: 45px;
    color: #b47b00;
}

.no-results h3 {
    color: #65100c;
}


/* RESPONSIVE */

@media (max-width: 700px) {

    .maha-hero {
        padding: 70px 20px;
    }

    .maha-hero h1 span {
        display: block;
        margin-top: 8px;
        white-space: normal;
    }

    .maha-content {
        padding: 45px 15px 70px;
    }

    .contributors-list {
        padding: 20px 15px;
        border-radius: 18px;
    }

    .list-title h3 {
        font-size: 21px;
    }

    .count {
        width: 38px;
        height: 38px;
    }

}