/* ANUKRAMANIKA SECTION CSS */

.anukramanika-section {
    padding: 90px 20px 100px;
    background: #ffffff;
}


/* Heading */

.anukramanika-heading {
    text-align: center;
    margin-bottom: 45px;
}

.anukramanika-heading h2 {
    margin: 0 0 10px;

    font-size: 2.4rem;
    font-weight: 700;

    color: #2c211a;
}

.anukramanika-heading p {
    margin: 0;
    color: #777;
    font-size: 1rem;
}


/* Letter grid */

.letters-grid {
    max-width: 950px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(9, 1fr);

    gap: 12px;
}


/* Letter */

.letter-box {
    min-height: 68px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #f7f4ef;
    border: 1px solid #ebe5dc;

    color: #3b3028;

    text-decoration: none;

    font-size: 1.45rem;
    font-weight: 600;

    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* Hover */

.letter-box:hover {
    transform: translateY(-4px);

    background: #eee8df;

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.07);
}


/* Special letters */

.letter-box.special {
    background: #f1ece5;
    font-size: 1.3rem;
}


/* Mobile */

@media (max-width: 768px) {

    .anukramanika-section {
        padding: 70px 15px 80px;
    }

    .anukramanika-heading h2 {
        font-size: 2rem;
    }

    .letters-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 9px;
    }

    .letter-box {
        min-height: 58px;
        border-radius: 11px;
        font-size: 1.25rem;
    }

}


@media (max-width: 400px) {

    .letters-grid {
        grid-template-columns: repeat(4, 1fr);
    }

}

