/* ============================================
   GRÉGOIRE MIRETTI — Ghost Theme
   Dark Mode + Violet Accent
   ============================================ */

/* === VARIABLES === */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;
    --violet-main: #8b5cf6;
    --violet-light: #a78bfa;
    --violet-dark: #7c3aed;
    --violet-glow: rgba(139, 92, 246, 0.15);
    --violet-glow-strong: rgba(139, 92, 246, 0.3);
    --text-primary: #f0eff4;
    --text-secondary: #9896a3;
    --text-muted: #5f5d6b;
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(139, 92, 246, 0.3);
    --content-width: 720px;
    --wide-width: 1100px;
}

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Outfit', -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--violet-light);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--violet-main);
}

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

/* === NOISE OVERLAY === */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 9999;
}

/* === AMBIENT GLOW === */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.ambient-glow--1 {
    top: -200px;
    right: -100px;
    background: var(--violet-main);
    animation: float1 8s ease-in-out infinite;
}

.ambient-glow--2 {
    bottom: -300px;
    left: -200px;
    background: #6d28d9;
    animation: float2 10s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-40px, 30px); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -40px); }
}

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 2rem;
    height: 60px;
    display: flex;
    align-items: center;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-logo {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.02em;
    color: var(--text-primary) !important;
    flex-shrink: 0;
    margin-right: auto;
    position: relative;
    z-index: 10;
}

.nav-logo img {
    height: 32px;
    width: auto;
}

.nav-logo span {
    color: var(--violet-main);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.nav-current {
    color: var(--text-primary) !important;
}

/* Ghost navigation helper fallback - hide any ul/li if present */
.nav ul,
.nav ol {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.nav li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav li::before,
.nav li::after,
.nav li::marker {
    content: none !important;
    display: none !important;
}
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--text-primary);
}

/* Ghost adds .nav-current to active link */
.nav-links li .nav-current {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--violet-main) !important;
    color: white !important;
    padding: 0.55rem 1.3rem;
    border-radius: 8px;
    font-weight: 500 !important;
    box-shadow: 0 0 20px var(--violet-glow);
    transition: all 0.3s !important;
}

.nav-cta:hover {
    background: var(--violet-dark) !important;
    box-shadow: 0 0 30px var(--violet-glow-strong);
    transform: translateY(-1px);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* === BUTTONS === */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--violet-main), var(--violet-dark));
    color: white !important;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    box-shadow: 0 4px 25px var(--violet-glow-strong);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px var(--violet-glow-strong);
    color: white !important;
}

.btn-secondary {
    display: inline-block;
    background: var(--bg-card);
    color: var(--text-primary) !important;
    padding: 0.85rem 2rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 1px solid var(--border);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    z-index: 1;
}

.hero-inner {
    max-width: 900px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--violet-glow);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--violet-light);
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--violet-main);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--violet-main), var(--violet-dark));
    padding: 3px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
    overflow: hidden;
}

.hero-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.hero-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--violet-light);
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--violet-light), var(--violet-main), #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === SECTIONS === */
.section {
    padding: 5rem 2rem;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--violet-main);
    margin-bottom: 0.8rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.tag-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 1rem auto 0;
    font-weight: 300;
}

/* === FEATURED CARD === */
.featured-card {
    max-width: var(--wide-width);
    margin: 0 auto 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.featured-card-link {
    display: block;
    padding: 3rem;
    color: inherit !important;
}

.featured-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--violet-glow) 0%, transparent 70%);
    pointer-events: none;
}

.featured-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.featured-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--violet-main);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-label::before {
    content: '★';
}

.featured-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.3;
    margin-bottom: 1rem;
    max-width: 700px;
}

.featured-excerpt {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    font-weight: 300;
}

/* === ARTICLE CARDS === */
.articles-grid {
    max-width: var(--wide-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
}

.article-card-link {
    display: block;
    padding: 1.8rem;
    color: inherit !important;
}

.article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--violet-main), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.article-card:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.article-card:hover::before {
    opacity: 1;
}

.article-tag {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--violet-light) !important;
    background: var(--violet-glow);
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.article-excerpt {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
}

.article-arrow {
    color: var(--violet-main);
    transition: transform 0.3s;
}

.article-card:hover .article-arrow,
.featured-card:hover .article-arrow {
    transform: translateX(4px);
}

/* === COACHING CTA === */
.coaching-section {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(109, 40, 217, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 24px;
    padding: 4rem 3rem;
    position: relative;
    overflow: hidden;
}

.coaching-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--violet-glow-strong) 0%, transparent 70%);
    pointer-events: none;
}

.coaching-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.coaching-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 550px;
    margin: 0 auto 2rem;
    font-weight: 300;
}

/* === POST (SINGLE ARTICLE) === */
.post-header {
    padding: 10rem 2rem 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.post-header-inner {
    max-width: var(--content-width);
    margin: 0 auto;
}

.post-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.post-excerpt {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.post-meta-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.post-meta-header strong {
    color: var(--text-secondary);
}

.post-feature-image {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

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

.post-feature-image figcaption {
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
}

/* === POST CONTENT (Ghost editor output) === */
.post-content {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem 4rem;
    position: relative;
    z-index: 1;
}

.post-content h2 {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 3rem 0 1rem;
}

.post-content h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin: 2.5rem 0 0.8rem;
}

.post-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 2rem 0 0.6rem;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.post-content a {
    color: var(--violet-light);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(139, 92, 246, 0.3);
}

.post-content a:hover {
    text-decoration-color: var(--violet-main);
}

.post-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.post-content ul, .post-content ol {
    margin: 0 0 1.5rem 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.post-content blockquote {
    border-left: 3px solid var(--violet-main);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: var(--violet-glow);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-secondary);
}

.post-content pre {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 2rem 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
    line-height: 1.7;
}

.post-content code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88em;
    background: var(--bg-secondary);
    padding: 0.15em 0.4em;
    border-radius: 4px;
    color: var(--violet-light);
}

.post-content pre code {
    background: none;
    padding: 0;
    color: var(--text-primary);
}

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

.post-content hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 3rem 0;
}

/* Responsive video embeds (YouTube, Vimeo, etc.) */
.post-content iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 12px;
    margin: 2rem 0;
}

.post-content .kg-embed-card {
    position: relative;
    margin: 2rem 0;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.post-content .kg-embed-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
    border-radius: 12px;
    aspect-ratio: auto;
    margin: 0;
}

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

.post-content .kg-video-card video {
    width: 100%;
    border-radius: 12px;
}

/* Ghost specific content cards */
.post-content .kg-card {
    margin: 2rem 0;
}

.post-content .kg-image-card img,
.post-content .kg-gallery-image img {
    border-radius: 12px;
}

.post-content .kg-width-wide {
    max-width: 900px;
    margin-left: calc(50% - 450px);
    margin-right: calc(50% - 450px);
}

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

.post-content .kg-bookmark-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.post-content .kg-bookmark-card:hover {
    border-color: var(--border-hover);
}

.post-content .kg-bookmark-container {
    display: flex;
    text-decoration: none !important;
    color: inherit !important;
}

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

.post-content .kg-bookmark-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.post-content .kg-bookmark-description {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-content .kg-bookmark-thumbnail img {
    width: 160px;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* === POST TAGS === */
.post-tags {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 2rem 3rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.post-tag-pill {
    background: var(--violet-glow);
    color: var(--violet-light) !important;
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-family: 'JetBrains Mono', monospace;
    transition: background 0.3s;
}

.post-tag-pill:hover {
    background: var(--violet-glow-strong);
}

/* === RELATED POSTS === */
.related-section {
    border-top: 1px solid var(--border);
}

/* === PAGINATION === */
.pagination {
    max-width: var(--wide-width);
    margin: 3rem auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.pagination-info {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* === FOOTER === */
.site-footer {
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-secondary) !important;
    transition: all 0.3s;
}

.footer-social-link:hover {
    color: var(--violet-light) !important;
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* === GHOST PORTAL & MEMBERS (hide default styles) === */
.gh-portal-triggerbtn-iframe {
    display: none !important;
}

/* === SCROLLBAR === */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--violet-dark); border-radius: 3px; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav {
        padding: 0 1.2rem;
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 10;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 1.5rem 2rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu.is-open {
        display: flex;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
        min-height: auto;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .featured-card-link {
        padding: 2rem;
    }

    .coaching-section {
        padding: 2.5rem 1.5rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .post-header {
        padding: 7rem 1.5rem 2rem;
    }

    .post-content {
        padding: 0 1.5rem 3rem;
    }

    .post-content .kg-width-wide {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.8rem;
    }

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