/* DNAtest.CZ Custom Styles */

/* Bio gradient text effect */
.bio-gradient-text {
    background: linear-gradient(120deg, #1b5e20 0%, #38B000 45%, #84CC16 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* DNA Pattern sidebar frames */
.bio-frame-pattern {
    background-color: #38B000;
    position: relative;
    overflow: hidden;
}
.bio-frame-pattern::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: #FFFFFF;
    -webkit-mask-image: url('/assets/img/dna-svgrepo-com.svg');
    mask-image: url('/assets/img/dna-svgrepo-com.svg');
    -webkit-mask-size: 100px auto;
    mask-size: 100px auto;
    -webkit-mask-repeat: repeat;
    mask-repeat: repeat;
    opacity: 0.2;
}

/* Sticky header shadow */
.sticky-header {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* FAQ chevron rotation */
details[open] summary .faq-chevron {
    transform: rotate(180deg);
}
.faq-chevron {
    transition: transform 0.3s ease;
}

/* News article content — overrides for legacy HTML from AG_web_news */
.news-article-content font[face],
.news-article-content font[size] {
    font-family: inherit !important;
    font-size: inherit !important;
}
.news-article-content p[align] {
    text-align: left !important;
}
.news-article-content p {
    margin-bottom: 1em;
    line-height: 1.7;
    color: #4b5563;
}
.news-article-content a {
    color: #16a34a;
    text-decoration: underline;
}
.news-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1em 0;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
