/* =========================================================
   ANNOUNCEMENTS
   PREMIUM TEMPLE DESIGN
========================================================= */

.ann-page,
.ann-page *,
.ann-page *::before,
.ann-page *::after {
    box-sizing: border-box;
}

.ann-page {
    width: 100%;
    overflow: hidden;
    background: #fffaf0;
}


/* =========================================================
   HERO
========================================================= */

.ann-hero {
    position: relative;

    min-height: 340px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    text-align: center;

    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(218,165,22,.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(218,165,22,.08),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #260303,
            #580806 52%,
            #250303
        );
}

.ann-hero::before {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    left: -240px;
    top: -360px;

    border-radius: 50%;

    border:
        1px solid
        rgba(229,174,31,.12);
}

.ann-hero::after {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    right: -210px;
    bottom: -340px;

    border-radius: 50%;

    border:
        1px solid
        rgba(229,174,31,.10);
}

.ann-hero-content {
    position: relative;

    z-index: 2;

    width: 92%;
    max-width: 1050px;

    padding: 70px 20px;
}

.ann-hero-symbol {
    margin-bottom: 10px;

    color: #e3a818;

    font-size: 23px;
}

.ann-hero-label {
    color: #e4aa1c;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 4px;
}

.ann-hero h1 {
    margin: 14px 0 16px;

    color: #fff;

    font-family:
        "Noto Sans Tamil",
        "Latha",
        Arial,
        sans-serif;

    font-size:
        clamp(31px,4vw,50px);

    font-weight: 800;

    line-height: 1.45;
}

.ann-hero h1 span {
    color: #d39a16;

    margin: 0 8px;
}

.ann-hero-line {
    width: 75px;
    height: 3px;

    margin: 0 auto 18px;

    background:
        linear-gradient(
            90deg,
            #a86e08,
            #efc039,
            #a86e08
        );
}

.ann-hero p {
    max-width: 700px;

    margin: auto;

    color:
        rgba(255,255,255,.68);

    font-family:
        "Noto Sans Tamil",
        "Latha",
        Arial,
        sans-serif;

    font-size: 13px;

    line-height: 1.9;
}


/* =========================================================
   FILTER
========================================================= */

.ann-filter-area {
    position: relative;

    z-index: 10;

    margin-top: -38px;

    padding: 0 20px;
}

.ann-filter-box {
    width: 100%;
    max-width: 850px;

    margin: auto;

    padding: 15px 18px;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    gap: 11px;

    border:
        1px solid
        rgba(157,105,14,.16);

    border-radius: 15px;

    background:
        rgba(255,255,255,.97);

    box-shadow:
        0 18px 45px
        rgba(70,25,5,.13);
}

.ann-filter-field {
    display: flex;
    flex-direction: column;

    gap: 5px;
}

.ann-filter-field label {
    color: #68100c;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.ann-filter-field input {
    width: 210px;
    height: 42px;

    padding: 0 12px;

    border:
        1px solid
        #ded1ba;

    border-radius: 8px;

    outline: none;

    color: #422c27;

    background: #fffdf8;

    font-size: 12px;
}

.ann-filter-field input:focus {
    border-color: #bd8811;

    box-shadow:
        0 0 0 3px
        rgba(189,136,17,.10);
}


/* =========================================================
   FILTER BUTTONS
========================================================= */

.ann-filter-btn,
.ann-reset-btn {
    height: 42px;

    padding: 0 20px;

    border-radius: 8px;

    cursor: pointer;

    font-family:
        Arial,
        sans-serif;

    font-size: 11px;

    font-weight: 700;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.ann-filter-btn {
    border:
        1px solid
        #7d0d08;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #86120c,
            #5d0704
        );
}

.ann-filter-btn span {
    margin-left: 6px;

    font-size: 15px;
}

.ann-reset-btn {
    border:
        1px solid
        #ddcba5;

    color: #6c100b;

    background: #fff9ed;
}

.ann-filter-btn:hover,
.ann-reset-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 18px
        rgba(70,20,5,.14);
}


/* =========================================================
   LIST
========================================================= */

.ann-list-section {
    padding:
        72px 20px 90px;

    background:
        linear-gradient(
            180deg,
            #fffaf0,
            #f8efdd
        );
}

.ann-list-container {
    width: 100%;
    max-width: 1180px;

    margin: auto;
}


/* =========================================================
   GRID
========================================================= */

.ann-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0,1fr));

    gap: 28px;
}


/* =========================================================
   CARD
========================================================= */

.ann-card {
    min-width: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border:
        1px solid
        rgba(144,94,10,.14);

    border-radius: 16px;

    background: #fff;

    box-shadow:
        0 14px 38px
        rgba(70,28,7,.09);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.ann-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 22px 50px
        rgba(70,28,7,.15);
}

.ann-card.is-hidden {
    display: none;
}


/* =========================================================
   IMAGE
========================================================= */

.ann-card-image {
    position: relative;

    width: 100%;
    height: 215px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #380504,
            #720b07
        );
}

.ann-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .55s ease;
}

.ann-card:hover
.ann-card-image img {
    transform: scale(1.05);
}

.ann-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            180deg,
            transparent 45%,
            rgba(20,2,2,.48)
        );
}

.ann-card-badge {
    position: absolute;

    top: 15px;
    left: 15px;

    padding: 7px 10px;

    border:
        1px solid
        rgba(255,255,255,.25);

    border-radius: 20px;

    color: #fff;

    background:
        rgba(55,4,3,.75);

    backdrop-filter: blur(6px);

    font-family: Arial, sans-serif;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1px;
}


/* =========================================================
   NO IMAGE
========================================================= */

.ann-no-image {
    width: 100%;
    height: 100%;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 8px;

    color: #e4aa1c;

    background:
        radial-gradient(
            circle,
            rgba(232,174,28,.14),
            transparent 55%
        ),
        linear-gradient(
            135deg,
            #350403,
            #700a07
        );
}

.ann-no-image span {
    font-size: 38px;
}

.ann-no-image small {
    font-size: 9px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.ann-card-content {
    flex: 1;

    display: flex;
    flex-direction: column;

    padding:
        23px 24px 25px;
}

.ann-date {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 10px;

    color: #a8770b;

    font-family:
        Arial,
        sans-serif;

    font-size: 11px;

    font-weight: 700;
}

.ann-calendar {
    width: 22px;
    height: 22px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 6px;

    color: #fff;

    background: #74100b;

    font-size: 10px;
}

.ann-card-content h2 {
    margin: 0;

    color: #650b08;

    font-family:
        "Noto Sans Tamil",
        "Latha",
        Arial,
        sans-serif;

    font-size: 21px;

    font-weight: 800;

    line-height: 1.55;
}

.ann-card-line {
    width: 42px;
    height: 2px;

    margin: 13px 0;

    background:
        linear-gradient(
            90deg,
            #b97d0b,
            #e6b72d
        );
}

.ann-card-content p {
    margin: 0;

    color: #735d55;

    font-family:
        "Noto Sans Tamil",
        "Latha",
        Arial,
        sans-serif;

    font-size: 11.5px;

    line-height: 1.9;
}


/* =========================================================
   READ MORE - PREMIUM BUTTON
========================================================= */

.ann-read-more {
    position: relative;

    width: 100%;
    min-height: 48px;

    margin-top: auto;
    padding: 6px 7px 6px 17px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    box-sizing: border-box;
    overflow: hidden;

    border: 1px solid rgba(180,123,12,.35);
    border-radius: 11px;

    color: #fff8e9;
    background: linear-gradient(135deg,#7f100b 0%,#68100b 48%,#4d0705 100%);

    text-decoration: none;

    font-family: Arial,sans-serif;
    font-size: 11px;
    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(70,20,5,.14),
        inset 0 1px 0 rgba(255,255,255,.13);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.ann-read-more::before {
    content: "";

    position: absolute;
    top: 0;
    left: -120%;

    width: 75%;
    height: 100%;

    background: linear-gradient(
        105deg,
        transparent,
        rgba(255,255,255,.18),
        transparent
    );

    transform: skewX(-20deg);
    transition: left .7s ease;
    pointer-events: none;
}

.ann-read-more::after {
    content: "";

    position: absolute;
    right: -30px;
    top: 50%;

    width: 95px;
    height: 95px;

    transform: translateY(-50%);
    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(229,174,31,.16),
        transparent 70%
    );

    pointer-events: none;
}

.ann-read-more span {
    position: relative;
    z-index: 2;

    width: 34px;
    height: 34px;
    min-width: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;

    border: 1px solid rgba(255,255,255,.35);
    border-radius: 9px;

    color: #5b0805;
    background: linear-gradient(145deg,#fff3b0,#efc74f,#c99012);

    font-size: 16px;
    line-height: 1;

    box-shadow:
        0 6px 14px rgba(0,0,0,.20),
        inset 0 1px 0 rgba(255,255,255,.75);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.ann-read-more:hover {
    color: #fff8e9;

    transform: translateY(-3px);

    border-color: rgba(229,174,31,.72);

    box-shadow:
        0 14px 28px rgba(70,20,5,.22),
        0 0 20px rgba(229,174,31,.10),
        inset 0 1px 0 rgba(255,255,255,.15);
}

.ann-read-more:hover::before {
    left: 135%;
}

.ann-read-more:hover span {
    transform: translateX(4px) scale(1.05);

    box-shadow:
        0 8px 18px rgba(0,0,0,.24),
        0 0 14px rgba(229,174,31,.20),
        inset 0 1px 0 rgba(255,255,255,.85);
}

/* =========================================================
   NO RESULT
========================================================= */

.ann-no-result {
    width: 100%;

    padding: 65px 20px;

    text-align: center;

    border:
        1px solid
        rgba(150,100,10,.13);

    border-radius: 16px;

    background: #fff;

    box-shadow:
        0 15px 40px
        rgba(70,25,5,.07);
}

.ann-no-result[hidden] {
    display: none;
}

.ann-no-result-icon {
    color: #c69112;

    font-size: 30px;

    margin-bottom: 10px;
}

.ann-no-result h3 {
    margin: 0 0 8px;

    color: #650b08;

    font-family:
        "Noto Sans Tamil",
        Arial,
        sans-serif;

    font-size: 20px;
}

.ann-no-result p {
    margin: 0 0 20px;

    color: #735e56;

    font-size: 12px;
}

.ann-no-result button {
    height: 40px;

    padding: 0 18px;

    border: 0;

    border-radius: 8px;

    cursor: pointer;

    color: #fff;

    background: #690b07;

    font-size: 11px;

    font-weight: 700;
}


/* =========================================================
   PAGINATION
========================================================= */

.ann-pagination {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 45px;
}

.ann-page-btn {
    min-width: 92px;
    height: 40px;

    padding: 0 14px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(126,83,12,.20);

    border-radius: 8px;

    color: #6b100b;

    background: #fffdf7;

    cursor: pointer;

    font-family:
        Arial,
        sans-serif;

    font-size: 10px;

    font-weight: 700;

    transition: .25s ease;
}

.ann-page-btn:hover:not(:disabled) {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            #86120c,
            #5d0704
        );

    border-color: #86120c;

    transform: translateY(-2px);
}

.ann-page-btn:disabled {
    opacity: .4;

    cursor: not-allowed;
}

.ann-page-numbers {
    display: flex;

    align-items: center;

    gap: 5px;
}

.ann-number-btn {
    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid
        rgba(126,83,12,.18);

    border-radius: 7px;

    color: #6b100b;

    background: #fffdf7;

    cursor: pointer;

    font-size: 10px;

    font-weight: 700;

    transition: .25s ease;
}

.ann-number-btn:hover,
.ann-number-btn.active {
    color: #fff;

    background:
        linear-gradient(
            135deg,
            #86120c,
            #5d0704
        );

    border-color: #86120c;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .ann-grid {
        grid-template-columns:
            repeat(2, minmax(0,1fr));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .ann-hero {
        min-height: 280px;
    }

    .ann-hero-content {
        padding: 55px 15px;
    }

    .ann-hero-label {
        font-size: 8px;

        letter-spacing: 2.5px;
    }

    .ann-hero h1 {
        font-size: 28px;

        line-height: 1.55;
    }

    .ann-hero h1 span {
        display: none;
    }

    .ann-hero p {
        font-size: 11px;

        line-height: 1.8;
    }


    /* FILTER */

    .ann-filter-area {
        margin-top: -25px;

        padding: 0 15px;
    }

    .ann-filter-box {
        flex-direction: column;

        align-items: stretch;

        padding: 16px;

        gap: 10px;

        border-radius: 13px;
    }

    .ann-filter-field {
        width: 100%;
    }

    .ann-filter-field input {
        width: 100%;
    }

    .ann-filter-btn,
    .ann-reset-btn {
        width: 100%;
    }


    /* LIST */

    .ann-list-section {
        padding:
            55px 15px 70px;
    }

    .ann-grid {
        grid-template-columns: 1fr;

        gap: 20px;
    }

    .ann-card {
        border-radius: 14px;
    }

    .ann-card-image {
        height: 210px;
    }

    .ann-card-content {
        padding:
            21px 20px 23px;
    }

    .ann-card-content h2 {
        font-size: 20px;
    }

    .ann-card-content p {
        font-size: 11px;

        line-height: 1.9;
    }


    /* PAGINATION */

    .ann-pagination {
        gap: 5px;

        margin-top: 35px;
    }

    .ann-page-btn {
        min-width: 78px;

        padding: 0 8px;

        font-size: 9px;
    }

    .ann-number-btn {
        width: 32px;
        height: 32px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .ann-hero {
        min-height: 255px;
    }

    .ann-hero h1 {
        font-size: 24px;
    }

    .ann-card-image {
        height: 190px;
    }

    .ann-card-content h2 {
        font-size: 19px;
    }

    .ann-pagination {
        flex-wrap: wrap;
    }

}