/* ============================================
   TENNIS-DE-TABLE.FR GHOST THEME - CSS
   ============================================ */

:root {
    --black: #0a0a0f;
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-400: #a3a3a3;
    --gray-600: #525252;
    --orange: #ff6b35;
    --orange-light: #fff4f0;
    --orange-dark: #e55a2b;
    --blue-dark: #1a1a2e;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Bebas Neue', sans-serif;
    --font-mono: 'Space Mono', monospace;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ============================================
   KINETIC MOTION LOGO
   ============================================ */

.logo-kinetic {
    display: flex;
    align-items: center;
    gap: 14px;
}

.logo-kinetic .ball-trail {
    position: relative;
    width: 60px;
    height: 28px;
    display: flex;
    align-items: center;
}

.logo-kinetic .ball {
    position: absolute;
    width: 18px;
    height: 18px;
    background: var(--orange);
    border-radius: 50%;
    right: 0;
    box-shadow:
        -12px 0 0 rgba(255, 107, 53, 0.6),
        -24px 0 0 rgba(255, 107, 53, 0.4),
        -36px 0 0 rgba(255, 107, 53, 0.2);
    animation: pulse-ball 1.5s ease-in-out infinite;
}

@keyframes pulse-ball {
    0%, 100% {
        box-shadow:
            -12px 0 0 rgba(255, 107, 53, 0.6),
            -24px 0 0 rgba(255, 107, 53, 0.4),
            -36px 0 0 rgba(255, 107, 53, 0.2);
    }
    50% {
        box-shadow:
            -15px 0 0 rgba(255, 107, 53, 0.7),
            -30px 0 0 rgba(255, 107, 53, 0.5),
            -45px 0 0 rgba(255, 107, 53, 0.3);
    }
}

.logo-kinetic .logo-text {
    font-family: var(--font-display);
    font-size: 1.7rem;
    letter-spacing: 0.06em;
    color: var(--black);
    white-space: nowrap;
}

.logo-kinetic .logo-text .dot {
    color: var(--orange);
}

.logo-kinetic .logo-text .tld {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--orange);
    letter-spacing: 0.02em;
    margin-left: 2px;
    vertical-align: middle;
}

.logo-kinetic-small .logo-text {
    font-size: 1.1rem;
}

.logo-kinetic-small .ball-trail {
    width: 40px;
}

.logo-kinetic-small .ball {
    width: 10px;
    height: 10px;
    box-shadow:
        -8px 0 0 rgba(255, 107, 53, 0.6),
        -16px 0 0 rgba(255, 107, 53, 0.4),
        -24px 0 0 rgba(255, 107, 53, 0.2);
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 36px;
    width: auto;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--gray-600);
    transition: color 0.2s;
    position: relative;
}

.nav a:hover {
    color: var(--black);
}

.nav a.active {
    color: var(--black);
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--orange);
    border-radius: 1px;
}

.nav-cta {
    background: var(--black) !important;
    color: var(--white) !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 6px;
    font-weight: 600 !important;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: 0.3s;
}

/* ============================================
   HERO
   ============================================ */

.hero {
    padding: 5rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--blue-dark) 0%, #16213e 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 53, 0.2);
    color: var(--orange);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    max-width: 700px;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
}

.hero h1 span {
    color: var(--orange);
}

.hero p {
    font-size: 1.25rem;
    color: var(--gray-400);
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ============================================
   SECTIONS
   ============================================ */

.featured,
.articles,
.related-posts {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray-400);
}

.section-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--orange);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.section-link:hover {
    text-decoration: underline;
}

/* ============================================
   FEATURED POST
   ============================================ */

.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    background: var(--gray-50);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.featured-image-link {
    display: block;
}

.featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16/10;
}

.featured-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-dark) 0%, #16213e 100%);
    position: relative;
}

.featured-image-placeholder::after {
    content: '';
    width: 60px;
    height: 60px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow:
        -20px 0 0 rgba(255, 107, 53, 0.6),
        -40px 0 0 rgba(255, 107, 53, 0.4),
        -60px 0 0 rgba(255, 107, 53, 0.2);
}

.featured-content {
    padding: 3rem 3rem 3rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-category {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    width: fit-content;
}

.featured-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 1rem;
    transition: color 0.2s;
}

.featured-card:hover .featured-title {
    color: var(--orange);
}

.featured-excerpt {
    color: var(--gray-600);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--gray-400);
    flex-wrap: wrap;
}

.featured-meta strong {
    color: var(--black);
    font-weight: 600;
}

/* ============================================
   ARTICLES GRID
   ============================================ */

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* ============================================
   POST CARD
   ============================================ */

.post-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    border-color: var(--orange);
}

.post-card-image-link {
    display: block;
    position: relative;
}

.post-card-image {
    aspect-ratio: 16/10;
    width: 100%;
    object-fit: cover;
}

.post-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--blue-dark) 0%, #16213e 100%);
    position: relative;
}

.post-card-image-placeholder::after {
    content: '';
    width: 30px;
    height: 30px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow:
        -10px 0 0 rgba(255, 107, 53, 0.6),
        -20px 0 0 rgba(255, 107, 53, 0.4),
        -30px 0 0 rgba(255, 107, 53, 0.2);
}

.post-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--white);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.post-card-content {
    padding: 1.5rem;
}

.post-card-content-link {
    display: block;
}

.post-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.post-card:hover .post-card-title {
    color: var(--orange);
}

.post-card-excerpt {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-400);
}

.post-card-read-time {
    background: var(--gray-100);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* ============================================
   CATEGORIES
   ============================================ */

.categories {
    background: var(--gray-50);
    padding: 4rem 2rem;
}

.categories-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.category-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.category-card:hover {
    border-color: var(--orange);
    transform: translateY(-4px);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gray-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: background 0.3s;
    position: relative;
}

.category-icon::after {
    content: '';
    width: 16px;
    height: 16px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow:
        -6px 0 0 rgba(255, 107, 53, 0.5),
        -12px 0 0 rgba(255, 107, 53, 0.3);
}

.category-card:hover .category-icon {
    background: var(--orange-light);
}

.category-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.category-count {
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* ============================================
   NEWSLETTER
   ============================================ */

.newsletter {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.newsletter-card {
    background: var(--blue-dark);
    color: var(--white);
    border-radius: 20px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.newsletter-card::before {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--orange);
    border-radius: 50%;
    opacity: 0.1;
    right: 5%;
    bottom: -50px;
    box-shadow:
        -40px 0 0 rgba(255, 107, 53, 0.15),
        -80px 0 0 rgba(255, 107, 53, 0.1),
        -120px 0 0 rgba(255, 107, 53, 0.05);
}

.newsletter-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.newsletter-content h2 span {
    color: var(--orange);
}

.newsletter-content p {
    color: var(--gray-400);
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255,255,255,0.1);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: var(--gray-400);
}

.newsletter-form button {
    background: var(--orange);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

/* Newsletter Form States */
.newsletter-form .button-loading,
.newsletter-form .message-success,
.newsletter-form .message-error {
    display: none;
}

.newsletter-form.loading .button-text {
    display: none;
}

.newsletter-form.loading .button-loading {
    display: inline;
}

.newsletter-form.success .message-success {
    display: block;
    color: #4ade80;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.newsletter-form.success input,
.newsletter-form.success button {
    display: none;
}

.newsletter-form.error .message-error {
    display: block;
    color: var(--orange);
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* ============================================
   PAGINATION
   ============================================ */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.pagination a {
    font-weight: 600;
    color: var(--orange);
    transition: opacity 0.2s;
}

.pagination a:hover {
    opacity: 0.7;
}

.pagination-info {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--gray-600);
    font-size: 0.95rem;
    max-width: 280px;
    margin-top: 1rem;
}

.footer-links h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--gray-600);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--orange);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
    font-size: 0.85rem;
    color: var(--gray-400);
}

.footer-bottom a {
    color: var(--orange);
}

/* ============================================
   POST PAGE
   ============================================ */

.post-full {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.post-header {
    text-align: center;
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.post-tag {
    display: inline-block;
    background: var(--orange);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.post-title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.post-excerpt {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    color: var(--gray-400);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-author-image {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}

.post-author a {
    font-weight: 600;
    color: var(--black);
}

/* Feature Image */
.post-feature-image {
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.post-feature-image img {
    width: 100%;
    border-radius: 12px;
}

.post-feature-image figcaption {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-top: 1rem;
}

/* Post Content */
.post-content {
    max-width: 700px;
    margin: 0 auto;
}

.post-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 2.5rem 0 1rem;
}

.post-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.post-content a {
    color: var(--orange);
    text-decoration: underline;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.post-content blockquote {
    border-left: 4px solid var(--orange);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--gray-600);
}

.post-content img {
    border-radius: 8px;
    margin: 2rem 0;
}

.post-content pre {
    background: var(--gray-100);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
}

.post-content code {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.9em;
}

/* Post Footer */
.post-footer {
    max-width: 700px;
    margin: 3rem auto;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.post-tag-item {
    background: var(--gray-100);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s;
}

.post-tag-item:hover {
    background: var(--gray-200);
}

/* Author Box */
.post-author-box {
    max-width: 700px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: 12px;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.post-author-box-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.post-author-box-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.post-author-box-content h4 a:hover {
    color: var(--orange);
}

.post-author-box-content p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--gray-200);
}

/* ============================================
   PAGE TEMPLATE
   ============================================ */

.page {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.page-feature-image {
    margin: 0 -2rem 3rem;
}

.page-feature-image img {
    width: 100%;
    border-radius: 12px;
}

.page-content {
    line-height: 1.8;
}

.page-content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 2.5rem 0 1rem;
}

.page-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content a {
    color: var(--orange);
    text-decoration: underline;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content img {
    border-radius: 8px;
    margin: 2rem 0;
}

/* ============================================
   TAG PAGE
   ============================================ */

.tag-header {
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.tag-header-inner {
    max-width: 600px;
    margin: 0 auto;
}

.tag-name {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}

.tag-description {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.tag-count {
    color: var(--gray-400);
    font-size: 0.85rem;
}

/* ============================================
   AUTHOR PAGE
   ============================================ */

.author-header {
    background: linear-gradient(135deg, var(--blue-dark) 0%, #16213e 100%);
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white);
}

.author-header-inner {
    max-width: 600px;
    margin: 0 auto;
}

.author-header-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.author-header-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--orange);
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
}

.author-header-name {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.author-header-bio {
    color: var(--gray-400);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.author-header-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.author-header-location,
.author-header-website,
.author-header-social {
    color: var(--gray-400);
    font-size: 0.95rem;
}

.author-header-website:hover,
.author-header-social:hover {
    color: var(--orange);
}

.author-header-count {
    color: var(--gray-400);
    font-size: 0.95rem;
}

/* ============================================
   ERROR PAGE
   ============================================ */

.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.error-content {
    max-width: 500px;
}

.error-icon {
    width: 80px;
    height: 80px;
    background: var(--orange);
    border-radius: 50%;
    margin: 0 auto 2rem;
    position: relative;
    box-shadow:
        -25px 0 0 rgba(255, 107, 53, 0.5),
        -50px 0 0 rgba(255, 107, 53, 0.3),
        -75px 0 0 rgba(255, 107, 53, 0.15);
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.error-submessage {
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.error-link {
    display: inline-block;
    background: var(--black);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}

.error-link:hover {
    background: var(--orange);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .newsletter-card {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 1rem;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .logo-kinetic .logo-text {
        font-size: 1.1rem;
    }

    .logo-kinetic .ball-trail {
        width: 35px;
    }

    .logo-kinetic .ball {
        width: 10px;
        height: 10px;
        box-shadow:
            -8px 0 0 rgba(255, 107, 53, 0.6),
            -16px 0 0 rgba(255, 107, 53, 0.4),
            -24px 0 0 rgba(255, 107, 53, 0.2);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        padding: 3rem 1.5rem;
    }

    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-content {
        padding: 2rem;
    }

    .featured-title {
        font-size: 1.5rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }

    .newsletter-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
    }

    .newsletter-content h2 {
        font-size: 1.75rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .post-author-box {
        flex-direction: column;
        text-align: center;
    }

    .pagination {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ============================================
   GHOST SPECIFIC - CARDS
   ============================================ */

.kg-card {
    margin: 2rem 0;
}

.kg-image-card img {
    border-radius: 8px;
}

.kg-width-wide {
    max-width: 1000px;
    margin-left: calc(50% - 500px);
    margin-right: calc(50% - 500px);
}

.kg-width-full {
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

@media (max-width: 1040px) {
    .kg-width-wide {
        margin-left: -2rem;
        margin-right: -2rem;
    }
}

.kg-bookmark-card {
    background: var(--gray-50);
    border-radius: 8px;
    overflow: hidden;
}

.kg-bookmark-container {
    display: flex;
    text-decoration: none;
}

.kg-bookmark-content {
    padding: 1.5rem;
    flex: 1;
}

.kg-bookmark-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.kg-bookmark-description {
    font-size: 0.9rem;
    color: var(--gray-600);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kg-bookmark-thumbnail {
    width: 200px;
    flex-shrink: 0;
}

.kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kg-gallery-card {
    margin: 2rem 0;
}

.kg-gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.kg-gallery-image img {
    border-radius: 4px;
}

.kg-callout-card {
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.kg-callout-card-grey {
    background: var(--gray-100);
}

.kg-callout-card-red {
    background: var(--orange-light);
}

.kg-callout-emoji {
    font-size: 1.5rem;
}
