/*
Theme Name: Anti
Theme URI: https://example.com/
Author: Antigravity
Description: A custom block theme converted from HTML.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
Text Domain: anti
*/

.comic-border {
    border: 3px solid #000;
    box-shadow: 4px 4px 0px 0px #000;
}
.comic-border-sm {
    border: 2px solid #000;
    box-shadow: 2px 2px 0px 0px #000;
}
.halftone-bg {
    background-image: radial-gradient(#cbd5e1 1px, transparent 0);
    background-size: 10px 10px;
}
.ink-shadow {
    text-shadow: 2px 2px 0px #000;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* News Ticker Alignment Fix - Deep Flex Reset */
.news-ticker-list {
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Target EVERY child level to force centered flex */
.news-ticker-list *, 
.news-ticker-list .wp-block-post-template,
.news-ticker-list .wp-block-post,
.news-ticker-list h4,
.news-ticker-list a {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    list-style: none !important;
}

/* Ensure the title itself doesn't have internal shifts */
.news-ticker-list .wp-block-post-title {
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure grid items and their children align perfectly at the top by removing default margins */
.wp-block-post-template.grid > *,
.wp-block-post-template.grid > li,
.wp-block-post-template.grid .wp-block-post,
.wp-block-post-template.grid .wp-block-group {
    margin-top: 0 !important;
    margin-bottom: 0 !important;}

/* Content Headings Visibility Fix */
.prose h2 {
    display: block !important;
    font-size: 1.875rem !important;
    line-height: 2.25rem !important;
    font-weight: 900 !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.25rem !important;
    color: inherit !important;
}
.prose h3 {
    display: block !important;
    font-size: 1.5rem !important;
    line-height: 2rem !important;
    font-weight: 900 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    color: inherit !important;
}
