﻿/* ===============================
   BLOG CARDS (LISTING PAGE)
   =============================== */

/* BLOG CARD BASE */
.awc-blog-card {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: #fff;
}

    .awc-blog-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    }

/* IMAGE WRAPPER */
.awc-blog-image-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
}

/* BACKGROUND IMAGE */
.awc-blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
    transition: filter 0.25s ease;
}

.awc-blog-card:hover .awc-blog-image {
    filter: brightness(55%);
}

/* CENTERED TEXT OVER IMAGE */
.awc-blog-text {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    text-align: center;
}

/* TITLE ON IMAGE */
.awc-blog-title {
    font-family: "Inter", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    text-shadow: -1px -1px 3px rgba(0, 0, 0, 0.9), 1px -1px 3px rgba(0, 0, 0, 0.9), -1px 1px 3px rgba(0, 0, 0, 0.9), 1px 1px 3px rgba(0, 0, 0, 0.9);
}

/* Excerpt container */
.awc-blog-excerpt {
    background: #ffffff;
}

/* Excerpt text */
.awc-blog-excerpt-text {
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #555;
}

/* Read more link */
.awc-blog-readmore {
    display: inline-block;
    margin-top: 0.5rem;
    font-family: "Inter", sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--awc-brand, #008080); /* fallback teal */
    transition: color 0.2s ease;
}

    .awc-blog-readmore:hover {
        color: #004c4c;
        text-decoration: underline;
    }

/* RESPONSIVE OPTIMIZATION */
@media (max-width: 767px) {
    .awc-blog-image-wrapper {
        height: 200px;
    }

    .awc-blog-title {
        font-size: 1.25rem;
    }
}

/* ===============================
   SINGLE ARTICLE LAYOUT
   =============================== */

/* Outer background behind the article card */
.awc-article-wrap {
    background: #f4f6fb;
}

/* Card shell */
.awc-article-shell {
    max-width: 880px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 18px;
    padding: 2.5rem 2.75rem;
    box-shadow: 0 18px 45px rgba(8, 47, 73, 0.10);
    /* BIG, OBVIOUS ANIMATION */
    opacity: 0;
    transform: translateY(80px) scale(0.96);
    animation: awc-article-fadeup 1s ease-out 0s forwards;
}

/* keyframes for fade + slide up */
@keyframes awc-article-fadeup {
    from {
        opacity: 0;
        transform: translateY(80px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .awc-article-shell {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}


/* Article typography */
.awc-article {
    font-size: 1.04rem;
    line-height: 1.85;
    color: #26333b;
}

    /* General paragraph spacing */
    .awc-article p {
        margin-bottom: 1.2rem;
    }

/* Section subtitles in article */
.awc-article-subtitle {
    font-size: 1.15rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: #1c4a5a;
    font-weight: 600;
}

/* Bulleted lists in article */
.awc-article-list {
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}

    .awc-article-list li {
        margin-bottom: 0.5rem;
        line-height: 1.6;
    }

/* Pull-quote / testimonial (optional) */
.awc-pullquote {
    background: #f7fbfb;
    border-left: 4px solid var(--awc-brand);
    padding: 1.25rem 1.5rem;
    border-radius: 0.6rem;
    font-style: italic;
    margin: 2rem 0;
}

/* Drop cap on first body paragraph */
.awc-dropcap::first-letter {
    float: left;
    font-size: 3rem;
    line-height: 1;
    font-weight: 600;
    padding-right: 0.35rem;
    padding-top: 0.15rem;
    color: #1c4a5a;
}

/* Soft highlight boxes for important paragraphs (optional) */
.awc-highlight {
    background: #f5fbfa;
    border-radius: 0.8rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid #d9ece8;
    margin: 1.8rem 0;
}

/* Signature line at the end */
.awc-signoff {
    background: linear-gradient(to right, #f7fbfb, #ffffff);
    padding: 1.75rem 1.75rem;
    border-top: 3px solid var(--awc-brand);
    font-size: 0.98rem;
    color: #6c757d;
    margin-top: 2.5rem;
    border-radius: 0.6rem;
}

/* Author box */
.awc-author-box {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
}

.awc-author-photo {
    width: 85px;
    height: 85px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #e6f1ef;
}

/* Mobile stack for author box */
@media (max-width: 575.98px) {
    .awc-author-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Post navigation at bottom */
.awc-post-nav {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid #e1e8e7;
}

.awc-post-nav-link {
    color: var(--awc-brand);
    font-weight: 600;
    text-decoration: none;
}

    .awc-post-nav-link:hover {
        text-decoration: underline;
    }

/* Ensures equal button size */
.awc-post-buttons .awc-nav-btn {
    min-width: 140px;
    text-align: center;
}

    /* Make disabled look intentional and consistent */
    .awc-post-buttons .awc-nav-btn.disabled,
    .awc-post-buttons .awc-nav-btn:disabled {
        opacity: 0.45;
        cursor: not-allowed !important;
        pointer-events: none !important;
        border-color: #b7c5c4 !important;
        color: #8fa19f !important;
    }

/* ===============================
   BLOG HERO BACKGROUNDS
   =============================== */

#section-blog {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-hero.jpg') center/cover no-repeat;
}

#section-blog-toxic_old {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-toxic.jpeg') center/cover no-repeat;
}

#section-blog-kidneystone {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-kidneystones.png') center/cover no-repeat;
}

#section-blog-parkinsons {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-parkinsons.png') center/cover no-repeat;
}

#section-blog-natural {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-replacechemicals.png') center/cover no-repeat;
}

#section-blog-prevent {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-preventillhealth.png') center/cover no-repeat;
}

#section-blog-miracles {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-miracles.png') center/cover no-repeat;
}

#section-blog-newyear {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-newyear.png') center/cover no-repeat;
}

#section-blog-treatallergies {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-treatallergies.png') center/cover no-repeat;
}

#section-blog-muscletesting {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-muscletesting.jpg') center/cover no-repeat;
}

#section-blog-summer {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-summer.jpg') center/cover no-repeat;
}

#section-blog-water {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-water.jpg') center/cover no-repeat;
}

#section-blog-immune {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-immune.jpg') center/cover no-repeat;
}

#section-blog-digestive {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-digestive.jpg') center/cover no-repeat;
}

#section-blog-candida {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-candida.jpg') center/cover no-repeat;
}

#section-blog-lead {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-lead.jpg') center/cover no-repeat;
}

#section-blog-folicacid {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-b12.jpg') center/cover no-repeat;
}

#section-blog-dementia {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/blog/blog-dementia.jpg') center/cover no-repeat;
}

#section-blog-dna {
    background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45)), url('../../img/services/dna-expression.jpg') center/cover no-repeat;
}

/* ===============================
   ARTICLE IMAGE + CAPTION
   =============================== */

.awc-article-img {
    max-width: 260px;
    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* caption under the image */
.awc-article-caption {
    font-size: 0.8rem;
    color: #6c757d; /* Bootstrap's muted grey */
    line-height: 1.3;
}

/* keep figure width tight around the image + caption */
.awc-article-figure {
    max-width: 260px;
}

/* mobile: figure becomes full-width automatically */
@media (max-width: 767.98px) {
    .awc-article-figure {
        max-width: 100%;
    }
}

/* Main container */
#section-blog-toxic {
    position: relative;
    overflow: hidden;
}

    /* Background video */
    #section-blog-toxic .vid-background {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
    }

    /* Gradient overlay */
    #section-blog-toxic .vid-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(rgba(0, 0, 0, 0.60), rgba(0, 0, 0, 0.45));
        z-index: 2;
    }

    /* Foreground content */
    #section-blog-toxic .vid-content {
        position: relative;
        z-index: 3;
    }
