/* =========================================================
   ANNOUNCEMENT DETAILS
   EALATHU THIRUCHENTHUR MURUGAN TEMPLE
   PREMIUM RESPONSIVE DESIGN
========================================================= */


/* =========================================================
   RESET
========================================================= */

.ann-detail-page,
.ann-detail-page *,
.ann-detail-page *::before,
.ann-detail-page *::after {
    box-sizing: border-box;
}

.ann-detail-page {
    width: 100%;
    max-width: 100%;

    margin: 0;
    padding: 0;

    background: #fffaf0;

    overflow: hidden;
}


/* =========================================================
   HERO
========================================================= */

.ann-detail-hero {

    position: relative;

    width: 100%;
    min-height: 350px;

    display: flex;

    align-items: center;
    justify-content: center;

    overflow: hidden;

    text-align: center;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(221,166,22,.11),
            transparent 30%
        ),

        radial-gradient(
            circle at 85% 80%,
            rgba(221,166,22,.08),
            transparent 30%
        ),

        linear-gradient(
            135deg,
            #240303,
            #550806 52%,
            #250303
        );
}


/* Decorative circle LEFT */

.ann-detail-hero::before {

    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    left: -260px;
    top: -360px;

    border-radius: 50%;

    border:
        1px solid
        rgba(234,179,31,.12);
}


/* Decorative circle RIGHT */

.ann-detail-hero::after {

    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: -210px;
    bottom: -330px;

    border-radius: 50%;

    border:
        1px solid
        rgba(234,179,31,.10);
}


/* HERO CONTENT */

.ann-detail-hero-content {

    position: relative;

    z-index: 2;

    width: 92%;

    max-width: 1000px;

    padding: 70px 20px;
}


/* SYMBOL */

.ann-detail-symbol {

    margin-bottom: 9px;

    color: #e4aa1b;

    font-size: 23px;

    line-height: 1;
}


/* LABEL */

.ann-detail-label {

    color: #e4aa1b;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 3.5px;

    text-transform: uppercase;
}


/* TITLE */

.ann-detail-hero h1 {

    max-width: 900px;

    margin:
        14px auto 17px;

    color: #ffffff;

    font-family:
        "Noto Sans Tamil",
        "Latha",
        Arial,
        sans-serif;

    font-size:
        clamp(30px, 4vw, 49px);

    font-weight: 800;

    line-height: 1.45;

    text-shadow:
        0 4px 20px
        rgba(0,0,0,.25);
}


/* GOLD LINE */

.ann-detail-line {

    width: 75px;

    height: 3px;

    margin:
        0 auto 17px;

    background:
        linear-gradient(
            90deg,
            #ae740a,
            #efc13b,
            #ae740a
        );
}


/* DATE */

.ann-detail-date {

    color:
        rgba(255,255,255,.72);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    font-weight: 600;

    letter-spacing: .3px;
}


/* =========================================================
   MAIN SECTION
========================================================= */

.ann-detail-section {

    width: 100%;

    padding:
        55px 20px 90px;

    background:
        linear-gradient(
            180deg,
            #fffaf0,
            #f8efdd
        );
}


.ann-detail-container {

    width: 100%;

    max-width: 1050px;

    margin: 0 auto;
}


/* =========================================================
   BACK BUTTON
========================================================= */

.ann-detail-back {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 20px;

    padding:
        10px 15px;

    border:
        1px solid
        rgba(121,16,10,.14);

    border-radius: 8px;

    color: #700d08;

    background:
        rgba(255,255,255,.80);

    text-decoration: none;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    font-weight: 700;

    transition:
        .25s ease;
}


.ann-detail-back span {

    color: #c18a10;

    font-size: 15px;

    transition:
        transform .25s ease;
}


.ann-detail-back:hover {

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #86110b,
            #5f0805
        );

    border-color:
        #86110b;
}


.ann-detail-back:hover span {

    color: #f1c84e;

    transform:
        translateX(-3px);
}


/* =========================================================
   ARTICLE
========================================================= */

.ann-detail-article {

    width: 100%;

    overflow: hidden;

    border:
        1px solid
        rgba(150,100,10,.14);

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 20px 55px
        rgba(70,25,5,.10);
}


/* =========================================================
   IMAGE
========================================================= */

.ann-detail-image {

    position: relative;

    width: 100%;

    height: 420px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #360403,
            #700b08
        );
}


.ann-detail-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .6s ease;
}


.ann-detail-article:hover
.ann-detail-image img {

    transform:
        scale(1.025);
}


/* IMAGE OVERLAY */

.ann-detail-image::after {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(30,2,2,.28)
        );
}


/* =========================================================
   NO IMAGE
========================================================= */

.ann-detail-no-image {

    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 10px;

    color: #e5ac1d;

    background:
        radial-gradient(
            circle,
            rgba(233,176,28,.15),
            transparent 55%
        ),

        linear-gradient(
            135deg,
            #350403,
            #700a07
        );
}


.ann-detail-no-image span {

    font-size: 45px;
}


.ann-detail-no-image p {

    margin: 0;

    color:
        rgba(255,255,255,.75);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   ARTICLE BODY
========================================================= */

.ann-detail-body {

    width: 100%;

    max-width: 850px;

    margin: 0 auto;

    padding:
        42px 50px 50px;
}


/* =========================================================
   CATEGORY
========================================================= */

.ann-detail-category {

    display: inline-flex;

    align-items: center;

    min-height: 27px;

    padding:
        6px 12px;

    border-radius: 20px;

    color: #896108;

    background: #fff4d6;

    border:
        1px solid
        rgba(201,154,40,.18);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


/* =========================================================
   ARTICLE TITLE
========================================================= */

.ann-detail-body h2 {

    margin:
        17px 0 9px;

    color: #650b08;

    font-family:
        "Noto Sans Tamil",
        "Latha",
        Arial,
        sans-serif;

    font-size:
        clamp(26px, 3vw, 38px);

    font-weight: 800;

    line-height: 1.5;
}


/* =========================================================
   META
========================================================= */

.ann-detail-meta {

    color: #a9780c;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    font-weight: 600;
}


/* =========================================================
   DIVIDER
========================================================= */

.ann-detail-divider {

    width: 55px;

    height: 3px;

    margin:
        20px 0 25px;

    background:
        linear-gradient(
            90deg,
            #b87d0b,
            #e9b82d
        );
}


/* =========================================================
   ARTICLE TEXT
========================================================= */

.ann-detail-text {

    color: #624f48;

    font-family:
        "Noto Sans Tamil",
        "Latha",
        Arial,
        sans-serif;

    font-size: 15px;

    line-height: 2.15;
}


.ann-detail-text p {

    margin:
        0 0 22px;

    text-align: justify;
}


.ann-detail-text p:last-child {

    margin-bottom: 0;
}


/* =========================================================
   BOTTOM BUTTON
========================================================= */

.ann-detail-bottom {

    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 35px;

    padding-top: 25px;

    border-top:
        1px solid
        rgba(100,20,10,.08);
}


.ann-detail-all-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    min-height: 45px;

    padding:
        0 23px;

    border-radius: 9px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #86110b,
            #5f0805
        );

    text-decoration: none;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;

    font-weight: 700;

    box-shadow:
        0 8px 20px
        rgba(100,10,5,.14);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


.ann-detail-all-button:hover {

    color: #ffffff;

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 25px
        rgba(100,10,5,.20);
}


/* =========================================================
   ERROR PAGE
========================================================= */

.ann-detail-not-found {

    min-height: 600px;

    width: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 50px 20px;

    background:
        linear-gradient(
            180deg,
            #fffaf0,
            #f8efdd
        );
}


.ann-detail-error-box {

    width: 100%;

    max-width: 500px;

    padding:
        50px 30px;

    text-align: center;

    border:
        1px solid
        rgba(150,100,10,.14);

    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 20px 50px
        rgba(70,25,5,.09);
}


.ann-error-icon {

    color: #c18b10;

    font-size: 35px;

    margin-bottom: 10px;
}


.ann-detail-error-box h1 {

    margin:
        0 0 10px;

    color: #650b08;

    font-family:
        "Noto Sans Tamil",
        Arial,
        sans-serif;

    font-size: 25px;
}


.ann-detail-error-box p {

    margin:
        0 0 22px;

    color: #735e56;

    font-family:
        "Noto Sans Tamil",
        Arial,
        sans-serif;

    font-size: 13px;
}


.ann-detail-error-box a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;

    padding:
        0 18px;

    border-radius: 8px;

    color: #ffffff;

    background: #690b07;

    text-decoration: none;

    font-family:
        Arial,
        sans-serif;

    font-size: 11px;

    font-weight: 700;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .ann-detail-hero {

        min-height: 320px;
    }


    .ann-detail-image {

        height: 350px;
    }


    .ann-detail-body {

        padding:
            38px 38px 45px;
    }


    .ann-detail-text {

        font-size: 14px;

        line-height: 2;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .ann-detail-hero {

        min-height: 275px;
    }


    .ann-detail-hero-content {

        padding:
            55px 15px;
    }


    .ann-detail-label {

        font-size: 8px;

        letter-spacing: 2.5px;
    }


    .ann-detail-symbol {

        font-size: 20px;
    }


    .ann-detail-hero h1 {

        font-size: 27px;

        line-height: 1.55;

        margin:
            12px auto 15px;
    }


    .ann-detail-date {

        font-size: 10px;
    }


    .ann-detail-section {

        padding:
            35px 15px 60px;
    }


    .ann-detail-back {

        font-size: 10px;

        margin-bottom: 16px;
    }


    .ann-detail-article {

        border-radius: 14px;
    }


    .ann-detail-image {

        height: 235px;
    }


    .ann-detail-body {

        padding:
            28px 21px 32px;
    }


    .ann-detail-category {

        font-size: 8px;

        padding:
            6px 10px;
    }


    .ann-detail-body h2 {

        font-size: 22px;

        line-height: 1.55;
    }


    .ann-detail-meta {

        font-size: 10px;
    }


    .ann-detail-text {

        font-size: 12px;

        line-height: 2;
    }


    .ann-detail-text p {

        margin-bottom: 18px;

        text-align: left;
    }


    .ann-detail-bottom {

        margin-top: 28px;

        padding-top: 20px;
    }


    .ann-detail-all-button {

        width: 100%;
    }


    .ann-detail-error-box {

        padding:
            40px 22px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .ann-detail-hero {

        min-height: 250px;
    }


    .ann-detail-hero h1 {

        font-size: 23px;
    }


    .ann-detail-image {

        height: 200px;
    }


    .ann-detail-body {

        padding:
            25px 18px 28px;
    }


    .ann-detail-body h2 {

        font-size: 20px;
    }


    .ann-detail-text {

        font-size: 11.5px;

        line-height: 2;
    }


    .ann-detail-back {

        padding:
            9px 12px;
    }

}