/* =========================================================
   POOJASERVICE — PREMIUM SPIRITUAL BLOG
   Independent styling | Responsive | Animated
========================================================= */

.blog-premium {
    --blog-maroon: #800020;
    --blog-dark: #4d071c;
    --blog-gold: #d6a64b;
    --blog-cream: #fff9ef;
    --blog-text: #38252a;
    --blog-muted: #82747a;
    color: var(--blog-text);
    overflow: hidden;
    background:
        radial-gradient(ellipse at 5% 20%, rgba(214,166,75,.07), transparent 32%),
        radial-gradient(ellipse at 95% 65%, rgba(128,0,32,.045), transparent 30%),
        #fffaf2;
    padding-bottom: 65px;
}

.blog-premium *,
.blog-premium *::before,
.blog-premium *::after {
    box-sizing: border-box;
}

.blog-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 75px 20px 85px;
    text-align: center;
    color: #fff9ed;
    background:
        radial-gradient(ellipse at 50% 110%, rgba(220,165,75,.28), transparent 48%),
        linear-gradient(135deg, #3b0618 0%, #79001f 48%, #4b071c 100%);
}

.blog-hero::before,
.blog-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(231,190,111,.23);
    border-radius: 50%;
    pointer-events: none;
}

.blog-hero::before {
    width: 440px;
    height: 440px;
    top: -260px;
    left: -100px;
    animation: blog-orbit 24s linear infinite;
}

.blog-hero::after {
    width: 520px;
    height: 520px;
    bottom: -390px;
    right: -120px;
    animation: blog-orbit 30s linear infinite reverse;
}

.blog-hero-glow {
    position: absolute;
    width: 260px;
    height: 260px;
    top: 15%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50%;
    background: rgba(229,174,85,.12);
    filter: blur(65px);
    animation: blog-glow 5s ease-in-out infinite alternate;
    pointer-events: none;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 850px;
    animation: blog-enter .9s ease both;
}

.blog-hero-logo {
    width: 66px;
    height: 66px;
    object-fit: contain;
    padding: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(230,190,111,.55);
    box-shadow: 0 0 28px rgba(218,171,86,.22);
    animation: blog-float 4s ease-in-out infinite;
}

.blog-hero-eyebrow {
    margin: 18px 0 9px;
    color: #f0ca82;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.blog-hero-title {
    margin: 0 !important;
    color: #fff8eb !important;
    font-family: 'Yatra One', cursive !important;
    font-size: clamp(34px, 5vw, 57px) !important;
    font-weight: 400 !important;
    line-height: 1.25 !important;
    text-shadow: 0 5px 25px rgba(0,0,0,.22);
}

.blog-hero-title span {
    color: #f2ca7c;
}

.blog-hero-description {
    max-width: 610px;
    margin: 17px auto 0;
    color: rgba(255,249,237,.82);
    font-size: 15px;
    line-height: 1.9;
}

.blog-hero-ornament {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 13px;
    margin-top: 22px;
    color: #e5bd75;
}

.blog-hero-ornament::before,
.blog-hero-ornament::after {
    content: "";
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #dfb45f);
}

.blog-hero-ornament::after {
    transform: rotate(180deg);
}

.blog-hero-ornament span {
    font-size: 21px;
    animation: blog-float 3s ease-in-out infinite;
}

.blog-particle {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #f6d58e;
    box-shadow: 0 0 12px 3px rgba(235,188,99,.45);
    pointer-events: none;
    animation: blog-particle-rise 8s ease-in-out infinite;
}

.blog-particle:nth-child(1) { left: 12%; bottom: 15%; animation-delay: -2s; }
.blog-particle:nth-child(2) { left: 25%; bottom: 8%; animation-delay: -5s; }
.blog-particle:nth-child(3) { left: 76%; bottom: 18%; animation-delay: -3s; }
.blog-particle:nth-child(4) { left: 89%; bottom: 12%; animation-delay: -6s; }
.blog-particle:nth-child(5) { left: 65%; bottom: 5%; animation-delay: -1s; }
.blog-particle:nth-child(6) { left: 43%; bottom: 10%; animation-delay: -4s; }

.blog-content-wrap {
    position: relative;
    z-index: 3;
    width: min(1160px, calc(100% - 36px));
    margin: -27px auto 0;
}

.blog-section-heading {
    text-align: center;
    padding: 35px 12px 28px;
}

.blog-section-kicker {
    display: block;
    margin-bottom: 8px;
    color: #ad7c2e;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.blog-section-title {
    margin: 0 !important;
    color: #600d27 !important;
    font-family: 'Yatra One', cursive !important;
    font-size: clamp(26px, 3.4vw, 36px) !important;
    font-weight: 400 !important;
}

.blog-section-description {
    margin: 10px 0 0;
    color: var(--blog-muted);
    font-size: 14px;
}

.blog-section-divider {
    width: 66px;
    height: 3px;
    margin: 17px auto 0;
    border-radius: 10px;
    background: linear-gradient(90deg, #a66b24, #f0ce86, #a66b24);
}

.blog-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(163,119,58,.14);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 7px 24px rgba(68,28,35,.065);
    transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
    animation: blog-card-enter .75s both;
}

.blog-card:hover {
    transform: translateY(-9px);
    border-color: rgba(192,145,67,.5);
    box-shadow: 0 18px 38px rgba(83,25,39,.14);
}

.blog-card-image-wrap {
    position: relative;
    height: 225px;
    overflow: hidden;
    background: linear-gradient(135deg, #650c27, #b77b3e);
}

.blog-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2,.7,.2,1);
}

.blog-card:hover .blog-card-image {
    transform: scale(1.09);
}

.blog-card-image-wrap::after {
    content: "";
    position: absolute;
    inset: 50% 0 0;
    background: linear-gradient(transparent, rgba(45,7,19,.25));
    pointer-events: none;
}

.blog-card-image-placeholder {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #f7d795;
    font-size: 57px;
    background:
        radial-gradient(circle at center, rgba(237,192,109,.25), transparent 45%),
        linear-gradient(135deg, #4c091e, #8b1637);
}

.blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 21px 20px;
}

.blog-card-author {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
    color: #a47735;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.blog-card-author i {
    font-size: 12px;
}

.blog-card-title {
    margin: 0 0 11px !important;
    font-size: 19px !important;
    line-height: 1.55 !important;
    font-weight: 700 !important;
}

.blog-card-title a {
    color: #501326 !important;
    text-decoration: none !important;
    transition: color .3s ease;
}

.blog-card:hover .blog-card-title a {
    color: #a56c24 !important;
}

.blog-card-excerpt {
    display: -webkit-box;
    overflow: hidden;
    margin: 0 0 19px;
    color: #7d7074;
    font-size: 13px;
    line-height: 1.8;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f0e9df;
}

.blog-read-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #800020 !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none !important;
    transition: gap .3s ease, color .3s ease;
}

.blog-read-link:hover {
    gap: 13px;
    color: #b17a30 !important;
}

.blog-read-link i {
    transition: transform .3s ease;
}

.blog-read-link:hover i {
    transform: translateX(3px);
}

.blog-empty {
    padding: 65px 20px;
    text-align: center;
    border: 1px dashed rgba(161,115,50,.35);
    border-radius: 18px;
    background: rgba(255,255,255,.75);
}

.blog-empty-icon {
    color: #bd914b;
    font-size: 46px;
    margin-bottom: 15px;
}

.blog-empty h3 {
    color: #650d29;
    font-family: 'Yatra One', cursive;
}

.blog-bottom-note {
    margin: 55px auto 0;
    padding: 32px 20px;
    max-width: 900px;
    text-align: center;
    border: 1px solid rgba(193,151,80,.25);
    border-radius: 18px;
    background: linear-gradient(135deg, #fff5e4, #fffdf8, #f9edda);
    box-shadow: 0 9px 30px rgba(90,47,34,.045);
}

.blog-bottom-note-icon {
    display: block;
    margin-bottom: 9px;
    color: #ad7b31;
    font-size: 25px;
    animation: blog-float 3.5s ease-in-out infinite;
}

.blog-bottom-note h3 {
    margin: 0 0 8px;
    color: #650d29;
    font-family: 'Yatra One', cursive;
    font-size: 24px;
}

.blog-bottom-note p {
    margin: 0;
    color: #81716f;
    font-size: 13px;
    line-height: 1.8;
}

@keyframes blog-enter {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes blog-card-enter {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes blog-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

@keyframes blog-glow {
    from { opacity: .5; transform: translateX(-50%) scale(.85); }
    to { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

@keyframes blog-orbit {
    to { transform: rotate(360deg); }
}

@keyframes blog-particle-rise {
    0% { opacity: 0; transform: translateY(25px) scale(.6); }
    25% { opacity: .9; }
    75% { opacity: .7; }
    100% { opacity: 0; transform: translateY(-180px) scale(1.3); }
}

.blog-premium .blog-grid > div:nth-child(3n + 1) .blog-card { animation-delay: .08s; }
.blog-premium .blog-grid > div:nth-child(3n + 2) .blog-card { animation-delay: .18s; }
.blog-premium .blog-grid > div:nth-child(3n) .blog-card { animation-delay: .28s; }

@media (max-width: 767px) {
    .blog-hero {
        min-height: 340px;
        padding: 62px 18px 70px;
    }

    .blog-hero-logo {
        width: 55px;
        height: 55px;
    }

    .blog-hero-eyebrow {
        font-size: 9px;
        letter-spacing: 2.5px;
    }

    .blog-hero-description {
        max-width: 430px;
        font-size: 13px;
    }

    .blog-content-wrap {
        width: min(100% - 26px, 540px);
    }

    .blog-section-heading {
        padding: 30px 8px 24px;
    }

    .blog-card-image-wrap {
        height: 215px;
    }

    .blog-card-body {
        padding: 19px;
    }

    .blog-bottom-note {
        margin-top: 38px;
        padding: 27px 17px;
    }
}

@media (max-width: 380px) {
    .blog-hero-title {
        font-size: 31px !important;
    }

    .blog-card-image-wrap {
        height: 190px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-premium *,
    .blog-premium *::before,
    .blog-premium *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
