/*
Theme Name: AINexus
Theme URI: http://example.com/ainexus
Author: Antigravity
Author URI: http://example.com/
Description: A high-contrast magazine theme for AI, SaaS, and tech news based on the Benqu layout. Superfast redesign.
Version: 3.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ainexus
*/

:root {
    /* Superfast Aesthetic - High contrast, neon accents */
    --bg-color: #050505;
    --text-color: #f8fafc;
    --card-bg: #111111;
    --card-border: #222222;
    --primary-color: #e11d48;
    --primary-hover: #be123c;
    --secondary-text: #94a3b8;
    --nav-bg: rgba(10, 10, 10, 0.85); /* Glassmorphism base */
    --border-color: #222222;
    --topbar-bg: #000000;
    
    --cat-food: #f97316;
    --cat-fashion: #ec4899;
    --cat-tech: #06b6d4;
    --cat-creative: #f59e0b;
    --cat-travel: #0ea5e9;
    --cat-music: #f43f5e;
    --cat-sports: #84cc16;
}

[data-theme="light"] {
    --bg-color: #f8fafc;
    --text-color: #0f172a;
    --card-bg: #ffffff;
    --card-border: #e2e8f0;
    --primary-color: #e11d48;
    --primary-hover: #be123c;
    --secondary-text: #475569;
    --nav-bg: rgba(255, 255, 255, 0.9);
    --border-color: #e2e8f0;
    --topbar-bg: #f1f5f9;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.2s, color 0.2s; /* Faster transition */
}

html {
    min-height: 100vh;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-color);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Infinite Scroll Spinner */
.ainexus-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(225, 29, 72, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Top Bar */
.top-bar {
    background-color: var(--topbar-bg);
    padding: 0.5rem 0;
    font-size: 0.75rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}
@media (max-width: 768px) {
    .top-bar { display: none; } /* Hide on mobile for speed/cleanliness */
}

/* Header & Glassmorphism */
.site-header {
    background-color: var(--nav-bg);
    backdrop-filter: blur(12px); /* Glassmorphism */
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 9999;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}
[data-theme="light"] .site-header {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid #e2e8f0;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-title {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.site-title a {
    color: var(--text-color) !important;
}
.site-title span {
    background-color: var(--primary-color);
    color: #fff;
    padding: 0 0.5rem;
    border-radius: 0.25rem;
}

/* Navbar */
.nav-links {
    display: flex;
    gap: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    list-style: none;
}
.nav-links li a,
.nav-links li.cat-item a,
.nav-links li.menu-item a {
    color: var(--text-color);
}
.nav-links li a:hover,
.nav-links li.cat-item a:hover,
.nav-links li.menu-item a:hover {
}

/* Mega Menu Dropdown */
.nav-links li.has-mega-menu {
    position: static; /* Needed so the absolute child can span full width */
}
.mega-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1000;
}
.nav-links li.has-mega-menu:hover .mega-menu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-cat-list li a {
    display: inline-block;
    padding: 0.25rem 0;
    transition: color 0.2s;
}
.mega-menu-cat-list li a:hover {
    color: var(--primary-color) !important;
}

.mega-post-card {
    transition: transform 0.3s ease;
}
.mega-post-card:hover {
    transform: translateY(-4px);
}
.mega-post-info a:hover {
    color: var(--primary-color) !important;
}

/* WordPress Submenu (Dropdown) Styles */
.nav-links li {
    position: relative;
}
.nav-links .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--card-bg);
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-radius: 0.5rem;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 999;
    list-style: none;
    border: 1px solid var(--border-color);
    margin: 0;
}
.nav-links li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.nav-links .sub-menu li {
    padding: 0;
    margin: 0;
}
.nav-links .sub-menu li a {
    display: block;
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    text-transform: none;
    font-weight: 500;
}
.nav-links .sub-menu li a:hover {
    background: rgba(225, 29, 72, 0.05); /* very faint primary red */
    color: var(--primary-color);
}
/* Deep nested submenus */
.nav-links .sub-menu .sub-menu {
    top: 0;
    left: 100%;
}

/* Header action buttons */
.icon-btn {
    color: var(--text-color);
}

@media (max-width: 768px) {
    .site-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--card-bg);
        border-bottom: 1px solid var(--border-color);
        padding: 1rem;
    }
    .site-navigation.active {
        display: block;
    }
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Actions */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.icon-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.icon-btn:hover {
    background: var(--card-border);
}

.mobile-menu-toggle {
    display: none;
}
@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }
}

/* Search Dropdown */
.search-container {
    position: relative;
}
.search-dropdown {
    display: none;
    position: absolute;
    top: 150%;
    right: 0;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    min-width: 300px;
}
.search-dropdown.active {
    display: block;
    animation: slideDown 0.2s ease forwards;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.search-form {
    display: flex;
    gap: 0.5rem;
}
.search-field {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-color);
    border-radius: 0.25rem;
    outline: none;
}
.search-field:focus {
    border-color: var(--primary-color);
}
.search-submit {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    cursor: pointer;
    font-weight: bold;
}

/* Floating Toggle */
.floating-toggle {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-right: none;
    padding: 0.75rem 0.5rem;
    border-radius: 0.5rem 0 0 0.5rem;
    cursor: pointer;
    z-index: 1000;
    color: var(--text-color);
    font-size: 1.25rem;
    box-shadow: -4px 0 10px rgba(0,0,0,0.5);
}

/* Main Post Layouts */
.section-heading {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.mag-post {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: var(--card-bg);
}
.mag-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.mag-post:hover img {
    transform: scale(1.05);
}
.mag-post-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: #fff;
    pointer-events: none;
}
.mag-post-overlay * {
    pointer-events: auto;
}
.mag-post-overlay .post-title a { color: #fff; }

.cat-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.5rem;
    align-self: flex-start;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background-color: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    color: #fff;
}
.play-icon::after {
    content: '▶';
    font-size: 1.5rem;
    margin-left: 4px;
}

.mag-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}
.mag-hero-main { height: 500px; }
.mag-hero-side {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
}
.mag-hero-side .mag-post { height: 242.5px; } /* Exact fit for gap */

@media (max-width: 992px) {
    .mag-hero-grid { grid-template-columns: 1fr; }
    .mag-hero-main { height: 400px; }
}

.mag-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.mag-news-grid .mag-post { height: 250px; }

@media (max-width: 992px) {
    .mag-news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .mag-news-grid { grid-template-columns: 1fr; }
    .mag-news-grid .mag-post[style] { grid-column: auto !important; }
}

/* 4-Column Footer Styles */
@media (max-width: 992px) {
    .footer-widgets[style] { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 768px) {
    .footer-widgets[style] { grid-template-columns: 1fr !important; }
}

.footer-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-menu-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
}
.footer-menu-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 10px;
    background-color: var(--secondary-text);
}
.footer-menu-list a {
    color: var(--text-color);
    font-weight: 600;
}
.footer-menu-list a:hover {
    color: var(--primary-color);
}

.tag-pill {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border: 1px solid #333;
    border-radius: 2rem;
    font-size: 0.75rem;
    color: var(--secondary-text);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s;
}
.tag-pill:hover {
    border-color: #fff;
    color: #fff;
}

.cat-badge.mini-badge {
    padding: 0.15rem 0.4rem;
    font-size: 0.6rem;
    margin-bottom: 0;
}

.footer-bottom-links a {
    color: var(--secondary-text);
    font-weight: 600;
}
.footer-bottom-links a:hover {
    color: #fff;
}

/* Sidebar Layout */
.content-sidebar-wrap {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}
@media (max-width: 992px) {
    .content-sidebar-wrap { grid-template-columns: 1fr; }
}

/* Sidebar Widgets Generic */
.widget-area .widget {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}
.widget-area .widget-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}
.widget-area ul {
    list-style: none;
}
.widget-area ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}
.widget-area ul li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.widget_categories a {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}
.widget_categories .cat-count {
    background: var(--border-color);
    padding: 0.1rem 0.5rem;
    border-radius: 1rem;
    font-size: 0.75rem;
}

/* Sidebar Recent News Card */
.widget_recent_news_card { padding: 0 !important; overflow: hidden; border: none !important; }
.widget_recent_news_card .widget-title { padding: 1.5rem 1.5rem 0 1.5rem; margin-bottom: 1rem; background: var(--bg-color); }
.recent-news-card {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
}
.recent-news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 2rem;
    text-align: center;
}
.recent-news-title a { color: #fff; font-size: 1.25rem; font-weight: 800; line-height: 1.3; }
.recent-news-meta { color: #bbb; font-size: 0.75rem; font-weight: 600; margin-top: 0.5rem; }
.recent-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
}
.recent-news-title { margin-top: 60px; }
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}
.slider-dots .dot { width: 8px; height: 8px; background: var(--border-color); border-radius: 50%; }
.slider-dots .dot.active { background: #6366f1; width: 24px; border-radius: 4px; }

/* Related Articles List */
.related-mini-post {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}
.related-mini-post .mini-post-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 0.25rem;
    overflow: hidden;
    background: var(--border-color);
}
.related-mini-post .mini-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.related-title a { font-size: 0.85rem; font-weight: 700; line-height: 1.2; display: block; margin-bottom: 0.25rem; }
.related-date { font-size: 0.7rem; color: var(--secondary-text); font-weight: 600; }

/* Typography & Spacing Fixes (De-congest) */
.entry-content {
    font-size: 1.15rem;
    line-height: 1.9;
    letter-spacing: 0.01em;
}
.entry-content p {
    margin-bottom: 1.75rem;
}
.entry-content h2, .entry-content h3, .entry-content h4 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.entry-content li {
    margin-bottom: 0.5rem;
}

/* Styled Blockquote */
.entry-content blockquote {
    background-color: #0d0d12;
    border: 1px solid #222;
    border-radius: 1rem;
    padding: 4rem 3rem 2rem 3rem;
    margin: 3rem 0;
    text-align: center;
    position: relative;
}
.entry-content blockquote::before {
    content: '“';
    font-size: 8rem;
    color: #6366f1; /* Purple quote mark */
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: Georgia, serif;
    line-height: 1;
}
.entry-content blockquote p {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}
.entry-content blockquote cite,
.entry-content blockquote footer,
.entry-content blockquote .wp-block-quote__citation {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    font-style: normal;
}
.entry-content blockquote cite em,
.entry-content blockquote footer em {
    display: block;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--secondary-text);
    margin-top: 0.25rem;
}

/* Archive & Search Pages */
.page-header {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: 1rem;
    margin-bottom: 3rem;
    text-align: center;
}
.page-header .page-title {
    font-size: 2.5rem;
    margin: 0;
}
.page-header .page-title span {
    color: var(--primary-color);
}
.archive-description {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: var(--secondary-text);
}

.archive-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}
.archive-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.archive-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.archive-card-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 60%; /* 16:9 aspect ratio roughly */
    background: #111;
}
.archive-card-thumb img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.archive-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    margin: 0;
    z-index: 2;
}
.archive-card-content {
    padding: 1.5rem;
}
.archive-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.archive-card-excerpt {
    font-size: 0.95rem;
    color: var(--secondary-text);
    line-height: 1.6;
}

/* Share Buttons */
.site-branding {
    display: flex;
    align-items: center;
}
.site-branding .custom-logo {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}
.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--secondary-text);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    line-height: 1;
}
.share-btn:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}



/* Author Bio Card */
.author-bio-card {
    display: flex;
    gap: 2rem;
    align-items: center;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 3rem;
    margin-top: 4rem;
}
.author-avatar-wrap {
    flex-shrink: 0;
}
.author-avatar {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid var(--border-color);
}
.author-name {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}
.author-name a {
    color: #fff;
    font-weight: 800;
}
.author-description p {
    font-size: 1rem;
    color: var(--secondary-text);
    line-height: 1.7;
    margin: 0;
}
@media (max-width: 768px) {
    .author-bio-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
}

/* Advanced Animations & Micro-interactions */

/* Navbar Sticky Animation */
@keyframes slideDownFade {
    0% { transform: translateY(-100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
.site-header {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.4s ease;
}
.site-header.sticky-simulate {
    position: sticky;
    top: 0;
    z-index: 9999;
    animation: slideDownFade 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
}
[data-theme="light"] .site-header.sticky-simulate {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-bottom: 1px solid #e2e8f0;
}

/* Fix for WordPress Admin Bar overlapping sticky header */
body.admin-bar .site-header {
    top: 32px;
}
body.admin-bar .site-header.sticky-simulate {
    top: 32px;
}
@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 0; /* WP admin bar scrolls away on mobile, so no gap needed! */
    }
    body.admin-bar .site-header.sticky-simulate {
        top: 0; /* WP admin bar scrolls away on mobile, so no gap needed! */
    }
}

/* Sidebar Staggered Fade-In */
@keyframes fadeUpIn {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
.widget-area .widget {
    animation: fadeUpIn 0.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    opacity: 0;
}
.widget-area .widget:nth-child(1) { animation-delay: 0.1s; }
.widget-area .widget:nth-child(2) { animation-delay: 0.2s; }
.widget-area .widget:nth-child(3) { animation-delay: 0.3s; }
.widget-area .widget:nth-child(4) { animation-delay: 0.4s; }
.widget-area .widget:nth-child(5) { animation-delay: 0.5s; }

/* Enhanced Hover Effects */
.archive-card, .main-hero, .sub-hero, .list-post, .related-mini-post, .mini-post {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.archive-card:hover, .main-hero:hover, .sub-hero:hover, .list-post:hover, .related-mini-post:hover, .mini-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}
.tag-pill {
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.tag-pill:hover {
    transform: scale(1.05);
}
