/* ========================================
   ODDWOO – UNIVERSAL STYLES (ALL PAGES)
   GAP-FREE, CLEAN, FINAL VERSION
======================================== */

/* ---------- Root & Fonts ---------- */
:root {
    --bg-color: #000;
    --text-color: #fff;
    --border-color: #fff;
    --accent-color: #00D4FF;
    --accent-hover: #FF007A;
}

@font-face {
    font-family: 'Poppins';
    src: url('poppins-regular-webfont.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
    unicode-range: U+000-5FF; /* Latin only */
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
/* ---------- Base ---------- */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    background:#26262c;
    background-size:cover;
    font-family:"Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    color:var(--text-color);
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
    transition:background-color .3s ease,color .3s ease;
}
.page-container {
    min-height: 100vh;              /* ← FULL HEIGHT */
    padding-bottom: 0px;           /* ← SPACE FOR FIXED FOOTER */
    position: relative;
}
.content-wrapper {
    min-height: 820px;           /* 6 articles × ~100px each */
    background: rgba(255, 255, 255, 0.02);
    position: relative;
    padding-bottom: 20px;
}

/* ---------- WebKit Scrollbar - ORIGINAL ---------- */
::-webkit-scrollbar{width:1px;}
::-webkit-scrollbar-track{background-color:var(--bg-color);}
::-webkit-scrollbar-thumb{background:var(--bg-color);}

/* ---------- Header - FIXED ---------- */

/* ---------- Hidden SVG - NO LAYOUT IMPACT ---------- */
.hidden-svg {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}
header{
    position:fixed;top:0;width:100%;height:40px;
    background:var(--bg-color);display:flex;justify-content:space-between;
    align-items:center;z-index:10;box-shadow:0 5px 5px rgba(0,0,0,.3);
    border-bottom:1px solid var(--bg-color);line-height:38px;
}
.logo{
    font-size:2em;padding-left:10px;margin-top:-2px;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    display:flex;align-items:center;gap:8px;
}
.article-div p strong,
.about-content p strong {
    font-weight: 600 !important;   /* force bold inside paragraphs */
}
/* ---------- Scroll Progress (#percent) - LEFT ---------- */
#percent{
    line-height:1.2em;padding:0;border:0 solid var(--border-color);
    border-radius:0;transition:opacity .3s,visibility .3s;visibility:hidden;
    font-size:1em;
    font-weight:600;
    margin: 1px 0 0 0;
}
#percent.show{opacity:1;visibility:visible;}
.percent-text{display:inline-block;}
#percent, .credits span{
    color:var(--text-color);
    background:-webkit-linear-gradient(#eee,#333);
    -webkit-text-fill-color:transparent;
    -webkit-background-clip:text;
}
.scroll-btn-text,
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ---------- Burger Menu ---------- */
.burger-menu{
    display:none;background:none;border:none;cursor:pointer;padding:10px;
    position:absolute;right:10px;top:50%;transform:translateY(-50%);z-index:11;
}
.burger-menu span{
    display:block;width:24px;height:3px;background:var(--text-color);
    margin:5px 0;transition:transform .3s ease-in-out;
}
.burger-menu[aria-expanded="true"] span:first-child{transform:rotate(45deg) translate(5px,5px);}
.burger-menu[aria-expanded="true"] span:nth-child(2){opacity:0;}
.burger-menu[aria-expanded="true"] span:nth-child(3){transform:rotate(-45deg) translate(7px,-7px);}

/* ---------- Nav Menu ---------- */
.nav-menu{
    order:2;margin-right:10px;margin-top:-8px;padding-bottom:0;
}
.nav-menu ul{
    list-style:none;display:flex;margin:7px 0 0;padding:0;
    font-size:1rem;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    text-transform:uppercase;font-weight:600;
}
.nav-menu li{margin-left:20px;}
.nav-menu a{
    color:var(--text-color);text-decoration:none;padding:5px 10px;
    transition:background .3s,color .3s,transform .3s;
}
.nav-menu a:hover,.nav-menu a:focus{
    background:var(--text-color);color:var(--bg-color);
    outline:1px solid var(--text-color);outline-offset:2px;
}
.footer-buttons {
    display: flex;
    align-items: center;
    padding-left: 10px;
    gap: 10px;
}

/* ---------- Dark Mode Toggle - ORIGINAL ---------- */
.dark-mode-toggle{
    position:relative;display:inline-block;width:36px;height:20px;margin:0;
}
.dark-mode-checkbox{
    opacity:0;width:0;height:0;position:absolute;
}
.slider{
    position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;
    background-color:#666;transition:.3s ease-in-out;border-radius:20px;
}
.slider:before{
    position:absolute;content:"";height:16px;width:16px;left:2px;bottom:2px;
    background-color:var(--text-color);transition:.3s ease-in-out;border-radius:50%;
}
.dark-mode-checkbox:checked + .slider{background-color:var(--accent-color);}
.dark-mode-toggle:hover .slider,.dark-mode-toggle:focus .slider{background-color:var(--bg-color);}
.dark-mode-checkbox:checked + .slider:before{transform:translateX(16px);}
.dark-mode-checkbox:focus + .slider{outline:2px solid var(--accent-color);}

/* ---------- Voice Search - ORIGINAL ---------- */
.voice-search{
    background:none;border:none;cursor:pointer;color:var(--accent-color);
    font-size:1.2em;margin:0;
}
.voice-search:hover,.voice-search:focus{color:var(--accent-hover);}

/* ---------- Main Layout ---------- */
main{margin-top:40px;}
.content-container{
    max-width:940px;margin:0 auto;padding:10px 20px;
	padding-bottom:20px;
}
.content-container h1 {
    background: var(--bg-color);
    padding: 10px 10px 7px 10px;
    margin: 0 0 5px;
    text-align: center;
    font-size: 1.6em;
    font-weight: 600;
    text-transform: uppercase;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

/* ---------- Header Image ---------- */
.headimage{
    margin:0 auto 5px;border:0px solid var(--bg-color);
    animation:slamIn .5s cubic-bezier(.68,-.55,.265,1.55) forwards;position:relative;overflow:hidden;
	margin-top: 10%;
}
.headimage img{width:100%;height:auto;display:block;}

/* ---------- Disclaimer ---------- */
.disclaimer{
    background:var(--bg-color);color:var(--text-color);padding:10px;margin:5px 0;
    text-align:center;font-size:.96rem;text-transform:uppercase;font-weight:600;text-shadow: 2px 2px 2px rgba(0,0,0,0.10);height:33px;;
}
.disclaimer span{font-size:0.9rem;}
.christmas-message {
    font-size: 1.8rem;          /* Base size for desktop */
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    background: linear-gradient(90deg, 
        #c41e3a, 
        #009e60, 
        #ffd700, 
        #c41e3a, 
        #009e60, 
        #ffd700, 
        #c41e3a
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: wave 6s ease-in-out infinite;
    padding: 5px;              /* Adds breathing room on small screens */
    line-height: 1.4;           /* Improves readability if text wraps */
    
    /* Responsive font size */
    @media (max-width: 768px) {
        font-size: 1rem;
    }
    
    @media (max-width: 480px) {
        font-size: 1rem;
        padding: 15px;
    }
}
@keyframes wave {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* ---------- About Page - ORIGINAL ---------- */
.about-content {
    background: var(--bg-color);
    padding: 20px;
    margin: 5px 0;
    text-align: justify;
    font-size: .9em;
    line-height: 1.5;
    font-weight: 300;
}
.about-content h2 {
    font-size: 1em;
    margin: 30px 0 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 20px;
}
.about-content h2:first-child {
    margin-top: 0;
}
.about-content p {
    margin: 10px 0;
}
.about-content a {
    color: var(--text-color);
    text-decoration: none;
    transition: background .3s, color .3s;
}
.about-content a:hover,
.about-content a:focus {
    background: var(--text-color);
    color: var(--bg-color);
    outline: 1px solid var(--text-color);
    outline-offset: 2px;
}
#network-canvas {
  position: fixed;     /* or 'absolute' if your page has a positioned parent */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;         /* Puts it behind all other content */
  pointer-events: none; /* Ensures clicks pass through to content below */
}
/* ---------- Article Content ---------- */
.article-div{
    background:var(--bg-color);padding:10px;text-align:justify;margin-bottom:5px;
}
.article-div h3 {font-size:0.8em;}
.article-div h2{
    font-size:0.9em;margin:30px 0 0;text-transform:uppercase;font-weight:900;letter-spacing:1px;line-height:20px;
}
.article-div h2:first-child{margin-top:0;}
.article-div p{
    font-size:.9em;line-height:1.5;margin:10px 0;font-weight:300;
}
.article-div a{
    color:var(--text-color);text-decoration:none;transition:background .3s,color .3s;
}
.article-div a:hover,.article-div a:focus{
    background:var(--text-color);color:var(--bg-color);
    outline:1px solid var(--text-color);outline-offset:2px;
}
/* ——— ADD THIS BLOCK HERE ——— */
.article-div ul,
.article-div ol {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
	font-size: 0.9em;
	line-height:2em;
}
.article-div ul ul,
.article-div ol ol,
.article-div ul ol,
.article-div ol ul {
    padding-left: 1.5em;
    margin-top: 0.5em;
}
/* ———————————————— */
.read-more-container{
    text-align:right;margin-top:10px;padding-bottom:8px;
}
.date-published{
    float:left;color:#777;margin-top:5px;font-size:0.85em;
}

/* ---------- READ MORE CONTAINER - NO GLOW ---------- */
.read-more-container {
    text-align: right;
    margin-top: 10px;
    padding-bottom: 8px;
}
.read-more-container a {
    display: inline-block;
    background: var(--bg-color);
    color: var(--text-color);
    padding: 8px 12px 7px 12px;
    font-size: 0.80em;
    font-weight: 450;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--text-color);
    transition: background .3s, color .3s;
	margin-top: -3px;
}
.read-more-container a:hover,
.read-more-container a:focus {
    background: var(--text-color);
    color: var(--bg-color);
}

/* ---------- Tables (Stories) ---------- */
.article-div table{
    width:100%;border-collapse:collapse;margin:20px 0;
    font-size:.85em;background:var(--bg-color);border:1px solid var(--border-color);
}
.article-div th,.article-div td{
    border:1px solid var(--border-color);padding:8px 10px;text-align:left;
}
.article-div th{
    background:var(--bg-color);color:var(--text-color);font-weight:600;
    text-transform:uppercase;letter-spacing:1px;font-size:.9em;
}
.article-div td{
    background:var(--text-color);color:var(--bg-color);line-height:1.4;
}
.article-div tr:hover td{
    background:var(--bg-color);color:var(--text-color);
    transition:background .3s,color .3s;
}

/* ---------- Pagination ---------- */
.pagination{
    display:flex;justify-content:center;gap:10px;margin:0;padding:20px;margin-top:-20px;
    background:rgba(0,0,0,.9);
}
.pagination a,.pagination span.disabled{
    padding:8px 12px;font-size:0.9rem;background:var(--bg-color);
}
.pagination a{
    color:var(--text-color);text-decoration:none;border:1px solid var(--text-color);
}
.pagination span.disabled{
    color:#999;border:1px solid #999;pointer-events:none;user-select:none;
}
.pagination a.active{
    background:var(--text-color);color:var(--bg-color);font-weight:700;
}
.pagination a:hover,.pagination a:focus{
    background:#E81123;color:var(--bg-color);transform:scale(1.05);border: 1px solid black;
}
.ellipsis{padding:8px 12px;color:var(--text-color);}

/* ---------- Word Cloud - ORIGINAL ---------- */
.word-cloud-section{
    margin:5px 0 5px 0;padding:10px;background:var(--bg-color);
    transition:background-color .3s ease,color .3s ease,border-color .3s ease;
    width:100%;max-width:960px;padding-bottom:0px;text-transform:uppercase;font-weight:600;
}
.word-cloud-section h2{
    font-size:1em;margin:0 0 10px;text-align:center;text-transform:uppercase;font-weight:600;
}
#word-cloud{
    display:flex;flex-wrap:wrap;gap:10px;justify-content:center;padding:10px;
    margin-bottom:0px;background:var(--bg-color);border:0px solid var(--border-color);
    transition:background-color .3s ease,color .3s ease,border-color .3s ease;
}
.word-cloud-item{
    color:var(--text-color);cursor:pointer;padding:5px 10px;
    opacity:0;transform:translateY(10px);
    animation:fadeIn .5s ease-out forwards;
    animation-delay:calc(.1s * var(--word-index));
}
#word-cloud a {text-decoration:none;}
.chevron::before {
    border-style: solid;
    border-width: 0.25em 0.25em 0 0;
    content: "";
    display: inline-block;
    height: 0.45em;
    left: 0.15em;
    position: relative;
    top: 0.15em;
    vertical-align: top;
    width: 0.45em;
}
.chevron.right:before {
    left: 0;
    transform: rotate(45deg);
    margin-top: 0px;
}

/* ---------- Random Posts - ORIGINAL ---------- */
.random-posts{
    margin:5px 0 5px 0;padding:10px;background:var(--bg-color);
    transition:background-color .3s ease,color .3s ease,border-color .3s ease;
    width:100%;max-width:960px;
}
.random-posts h2{
    font-size:1em;margin:0 0 10px;text-align:center;text-transform:uppercase;font-weight:600;
}
#random-posts-list{
    display:flex;flex-direction:column;gap:10px;padding:0;width:100%;margin-bottom:20px;
}
.random-post-item{
    width:100%;background:var(--text-color);padding:5px;display:block;
    text-decoration:none;color:var(--bg-color);transition:background .3s,color .3s,transform .2s ease-in-out;
    border:1px solid gray;opacity:0;transform:translateY(10px);
    animation:fadeIn .5s ease-out forwards;
    animation-delay:calc(.1s * var(--post-index));
}
.random-post-item:nth-child(1) { --post-index: 1; }
.random-post-item:nth-child(2) { --post-index: 2; }
.random-post-item:nth-child(3) { --post-index: 3; }
.random-post-item:focus,.random-post-item:hover{
    background:var(--bg-color);color:var(--text-color);transform:scale(1.03);
}
.random-post-item:hover h2{color:var(--text-color);}
.random-post-content{
    display:flex;justify-content:space-between;align-items:center;
}
.random-post-item h2{
    font-size:1em;color:var(--bg-color);margin:-1px 0 0;
    overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;
}

/* ---------- Refresh Button - ORIGINAL ---------- */
.random-posts button{
    margin-top:-10px;padding:10px 12px;border:0px solid var(--border-color);
    background:#E81123;color:black;font-size:1rem;font-weight:600;text-transform:uppercase;text-shadow: 3px 2px 2px rgba(0,0,0,0.20);
    border-radius:0;cursor:pointer;display:block;margin-left:auto;margin-right:auto;height:38px;
}
.light-mode .random-posts button{color: black};
.random-posts button:focus,.random-posts button:hover{
    background:var(--bg-color);color:var(--text-color);transform:scale(1);outline:0;
}

/* ---------- Search Page ---------- */
.search-section{
    max-width:920px;margin:5px auto;padding:10px;background:var(--bg-color);color:var(--text-color);
}
.search-section h2{
    font-size:1.2em;margin:0 0 10px;text-transform:uppercase;font-weight:600;
}
.search-section form{
    display:flex;gap:5px;margin:10px 0;
}
.search-input{
    flex:4;padding:10px;font-size:1rem;border:1px solid var(--border-color);
    background:var(--bg-color);color:var(--text-color);
}
.search-input:focus{outline:2px solid var(--accent-color);outline-offset:2px;}
.search-button{
    flex:1;padding:10px 12px;font-size:1rem;border:1px solid var(--border-color);
    background:var(--text-color);color:var(--bg-color);cursor:pointer;text-transform:uppercase;
}
.search-results{margin:20px 0;}
.search-result-item{
    background:var(--text-color);color:var(--bg-color);padding:5px;margin-bottom:10px;
    border:1px solid gray;display:block;text-decoration:none;text-transform:uppercase;
}
.search-result-item h3{
    font-size:1em;margin:0;color:var(--bg-color);font-weight:600;
}
.search-result-item:hover,.search-result-item:focus{
    background:var(--bg-color);color:var(--text-color);
}
.search-result-item a {text-decoration:none;color:var(--bg-color);text-transform:uppercase;}
.search-result-item a:hover {text-decoration:none;color:var(--text-color);text-transform:uppercase;}
.no-results{
    text-align:center;padding:20px;background:var(--bg-color);color:var(--text-color);
}

/* ---------- Follow Container - FULL WIDTH + 5PX GAP ---------- */
.follow-container {
    display: flex;
    gap: 5px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 10px 0;
    margin-top: -10px;
}
.xfollow,
.redditfollow {
    flex: 1;
}
.follow-button {
    display: block;
    padding: 10px 20px;
    background: var(--bg-color);
    color: var(--text-color);
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 0;
    font-weight: 450;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    border: 0px solid var(--text-color);
    transition: background .3s, color .3s;
}
.follow-button:hover,
.follow-button:focus {
    background: var(--text-color);
    color: var(--bg-color);
}

/* ---------- Credits - GAP-FREE ---------- */
.credits {
    padding: 10px;
    font-size: .9em;
    background: var(--bg-color);
    margin: 0 auto;
    width: 100%;
    max-width: 960px;
    height: 42px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease;
    margin-bottom: 0 !important;
    margin-top: -5px;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- Scroll Up/Down Buttons - FIXED, NO GAP ---------- */
.scroll-buttons{
    position:fixed;
    bottom:60px;
    right:20px;
    z-index:1000;
    display:flex;
    flex-direction:column;
    gap:5px;
    align-items:flex-end;
}
.scroll-btn{
    width:40px;height:40px;
    background:linear-gradient(135deg,var(--bg-color),#111);
    border:1px solid var(--bg-color);
    border-radius:0;
    align-items:center;justify-content:center;
    cursor:pointer;pointer-events:auto;position:relative;
    display:none;box-shadow:0 2px 6px rgba(0,0,0,.4);
    transition:all .2s ease;
}
.scroll-btn.show{display:flex;}
.scroll-btn:focus,.scroll-btn:hover{
    background:var(--accent-hover);
    transform:scale(1.1);
    border-color:var(--accent-hover);
}
.scroll-btn .chevron-svg{
    width:24px;height:24px;
    stroke:var(--text-color);
    stroke-width:2.5;
    fill:none;stroke-linecap:round;stroke-linejoin:round;
    display:block;
}
.scroll-btn-text{
    position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);
}

/* ---------- Footer - FIXED, NO OVERLAP ---------- */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    border-top: 0 solid var(--text-color);
    z-index: 1001;
    display: flex;
    align-items: center;
    background: var(--bg-color);
}
.footertxt{
    padding:0 15px;font-size:1em;line-height:40px;text-align:right;
    margin-left:auto;color:var(--text-color);
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
    text-transform:uppercase;letter-spacing:1px;font-weight:600;
}

/* ---------- Video Container ---------- */
.video-container{
    position:relative;padding-bottom:56.25%;height:0;overflow:hidden;margin:20px auto;
}
.video-container iframe{
    position:absolute;top:0;left:0;width:100%;height:100%;border:0;
}
/* Add to styles.css – Blockquote (oddwoo-native) */
blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--accent-color);
    font-style: italic;
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--text-color);
    position: relative;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 0 6px 6px 0;
}

blockquote::before {
    content: '"';
    position: absolute;
    left: 12px;
    top: -8px;
    font-size: 4rem;
    line-height: 1;
    color: var(--accent-color);
    opacity: 0.15;
    font-family: Georgia, serif;
    pointer-events: none;
}

blockquote cite {
    display: block;
    margin-top: 12px;
    font-style: normal;
    font-size: 0.8em;
    text-align: right;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

blockquote cite::before {
    content: "— ";
}
/* ---------- Light Mode ---------- */
.light-mode{
    --bg-color:#FFFFFF;--text-color:#000000;--border-color:#000000;
}
.light-mode .page-container{background:#666666;background-image:none;}
.light-mode *{background:var(--bg-color);color:var(--text-color);}
.light-mode .article-div table,
.light-mode #word-cloud,
.light-mode .random-posts,
.light-mode .word-cloud-section,
.light-mode .search-section,
.light-mode .credits,
.light-mode footer,
.light-mode .scroll-btn,
.light-mode .follow-button,
.light-mode .dark-mode-toggle .slider,
.light-mode .random-posts button{background:var(--bg-color);}
.light-mode .article-div td,
.light-mode .random-post-item,
.light-mode .search-result-item,
.light-mode .random-posts button,
.light-mode .follow-button,
.light-mode .scroll-btn{background:#F0F0F0;}
.light-mode .article-div tr:hover td,
.light-mode .random-post-item:hover,
.light-mode .search-result-item:hover,
.light-mode .random-posts button:hover,
.light-mode .follow-button:hover,
.light-mode .search-button:hover,
.light-mode .nav-menu a:hover,
.light-mode .scroll-btn:hover,
.light-mode .dark-mode-toggle:hover .slider,
.light-mode .voice-search:hover,
.light-mode .word-cloud-item:hover,
.light-mode .scroll-btn .chevron{background:var(--text-color);color:var(--bg-color);}

/* ---------- Animations ---------- */
@keyframes slamIn{
    0%{opacity:0;transform:translateY(-20px) scale(1.1);}
    80%{opacity:1;transform:translateY(5px) scale(.95);}
    100%{opacity:1;transform:translateY(0) scale(1);}
}
@keyframes fadeIn{
    0%{opacity:0;transform:translateY(10px);}
    100%{opacity:1;transform:translateY(0);}
}
#word-cloud,
#random-posts-list {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#word-cloud.fade-in,
#random-posts-list.show {
    opacity: 1;
    transform: translateY(0);
}
/* === FADE-IN & ANIMATION DELAY VIA CLASSES === */
#word-cloud,
#random-posts-list {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
#word-cloud.fade-in,
#random-posts-list.show {
    opacity: 1;
    transform: translateY(0);
}

.random-post-item,
.word-cloud-item {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeIn 0.5s ease-out forwards;
}
@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* === DELAY CLASSES === */
.random-post-item.post-1 { animation-delay: 0.1s; }
.random-post-item.post-2 { animation-delay: 0.2s; }
.random-post-item.post-3 { animation-delay: 0.3s; }
.random-post-item.post-4 { animation-delay: 0.2s; }
.random-post-item.post-5 { animation-delay: 0.1s; }

.word-cloud-item.word-1  { animation-delay: 0.1s; }
.word-cloud-item.word-2  { animation-delay: 0.2s; }
.word-cloud-item.word-3  { animation-delay: 0.3s; }
.word-cloud-item.word-4  { animation-delay: 0.4s; }
.word-cloud-item.word-5  { animation-delay: 0.5s; }

.word-cloud-item.word-6  { animation-delay: 0.1s; }
.word-cloud-item.word-7  { animation-delay: 0.2s; }
.word-cloud-item.word-8  { animation-delay: 0.3s; }
.word-cloud-item.word-9  { animation-delay: 0.4s; }
.word-cloud-item.word-10  { animation-delay: 0.5s; }

.word-cloud-item.word-12  { animation-delay: 0.1s; }
.word-cloud-item.word-12  { animation-delay: 0.2s; }
.word-cloud-item.word-13  { animation-delay: 0.3s; }
.word-cloud-item.word-14  { animation-delay: 0.4s; }
.word-cloud-item.word-15  { animation-delay: 0.5s; }

.word-cloud-item.word-16  { animation-delay: 0.1s; }
.word-cloud-item.word-17  { animation-delay: 0.2s; }
.word-cloud-item.word-18  { animation-delay: 0.3s; }
.word-cloud-item.word-19  { animation-delay: 0.4s; }
.word-cloud-item.word-20  { animation-delay: 0.5s; }
/* Add up to .word-20 if needed */
/* ---------- Mobile ---------- */
@media (max-width:768px){
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
/* Remove bullets/circles from ALL <ul> and <ol> lists site-wide */
body {background:var(--bg-color);}
.read-more-container a {padding: 8px;margin-top:-3px;}
.random-post-item {
        min-height: 22px;
        padding: 8px 8px;
        font-size: 0.9em;
    }
.page-container {
    min-height: 100vh;
    padding-bottom: 60px;           /* ← SPACE FOR FOOTER + BUFFER */
    position: relative;
}
    header{height:50px;}
    .content-container{padding:10px;margin-top:50px;}
.content-container h1 {
        font-size: 1em;
        height: 30px;
        margin-bottom: 10px;
    }
    .disclaimer,.credits,.word-cloud-section{display:none;}
    .logo{font-size:1.6em;padding-left:15px;}
    .burger-menu{display:block;}
    .nav-menu{
        position:absolute;top:50px;left:0;width:100%;background:var(--bg-color);
        visibility:hidden;opacity:0;max-height:0;transition:.2s;
    }
    .nav-menu.active{visibility:visible;opacity:1;max-height:400px;}
    .nav-menu ul{flex-direction:column;padding:10px;}
    .nav-menu li{margin:10px 0;}
    .article-div h2{font-size:.8rem;}
    .article-div p{font-size:.85rem;}
    .pagination{flex-wrap:wrap;}
    .article-div table{
        display:block;overflow-x:auto;white-space:nowrap;
        -webkit-overflow-scrolling:touch;font-size:.75rem;
    }
    .article-div th,.article-div td{
        padding:6px 8px;min-width:80px;
    }
    .search-section form{flex-direction:column;}
    .search-input,.search-button{width:100%;}
    footer{height:40px;}
    .footertxt{font-size:.7em;margin-top:3px;}
}
blockquote {
        padding: 12px 16px;
        font-size: 0.9em;
    }
    blockquote::before {
        font-size: 3rem;
        top: -6px;
        left: 10px;
    }
    footer { height: 50px; }        /* ← YOUR MOBILE FOOTER HEIGHT */
	.page-container {
        padding-bottom: 40px;       /* ← EXTRA BUFFER */
    }
    .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 40px;
        z-index: 1001;
        background: var(--bg-color);
        border-top: 0px solid var(--border-color);
    }