/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* Hide scrollbar for IE, Edge */
body {
    -ms-overflow-style: none;
}

/* Hide scrollbar for Firefox */
body {
    scrollbar-width: none;
}

/* Selection Colors */
::selection {
    background-color: #ffc107;
    color: #000000;
}

::-moz-selection {
    background-color: #ffc107;
    color: #000000;
}

/* Footer Section - Light Gray */
.footer ::selection {
    background-color: #e0e0e0;
    color: #000000;
}

.footer ::-moz-selection {
    background-color: #e0e0e0;
    color: #000000;
}

/* Navigation/Header - White selection */
.header ::selection {
    background-color: #e0e0e0;
    color: #000000;
}

/* Updated button selection styles */
.resume-btn::selection,
.resume-btn *::selection {
    background-color: #e0e0e0;
    color: #000000;
}

.search-overlay ::selection {
    background-color: #e0e0e0;
    color: #000000;
}

.search-overlay ::-moz-selection {
    background-color: #e0e0e0;
    color: #000000;
}

/* Search input specific selection */
.search-input-container ::selection {
    background-color: #e0e0e0;
    color: #000000;
}

.search-input-container ::-moz-selection {
    background-color: #e0e0e0;
    color: #000000;
}

/* Search results selection */
.search-results ::selection {
    background-color: #e0e0e0;
    color: #000000;
}

.search-results ::-moz-selection {
    background-color: #e0e0e0;
    color: #000000;
}

/* Search footer selection */
.search-footer ::selection {
    background-color: #e0e0e0;
    color: #000000;
}

.search-footer ::-moz-selection {
    background-color: #e0e0e0;
    color: #000000;
}

.hline-fixed {
    position: absolute;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

/* Vertical Side Lines */
.page-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

.page-lines::before,
.page-lines::after {
    content: '';
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
}

.page-lines::before {
    left: 11%;
}

.page-lines::after {
    right: 11%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'EB Garamond', serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    font-weight: 400;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1400;
    transition: transform 0.3s ease;
}

/* Progress Bar */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #ffffff);
    z-index: 1001;
    transition: width 0.1s ease;
    opacity: 0;
}

.progress-bar.visible {
    opacity: 1;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.nav-right {
    display: flex;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.logo.hidden {
    transform: translateY(-50px);
    opacity: 0;
}

/* Section Divider Lines */
.section-divider {
    position: relative;
    width: 100%;
    height: 40px;
    margin: 0;
    overflow: hidden;
    pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,0.18), rgba(255,255,255,0.18)) top/100% 1px no-repeat,
        linear-gradient(rgba(255,255,255,0.18), rgba(255,255,255,0.18)) bottom/100% 1px no-repeat,
        repeating-linear-gradient(135deg, transparent, transparent 3px, rgba(255,255,255,0.08) 3px, rgba(255,255,255,0.08) 4px);
    background-position:
        top left,
        bottom left,
        center;
    background-repeat:
        no-repeat,
        no-repeat,
        repeat;
    background-size:
        100% 1px,
        100% 1px,
        16px 16px;
}

/* Blog Hero Section */
.blog-hero-section {
    display: flex;
    justify-content: flex-start;
    padding-top: 8rem;
    padding-bottom: 1rem;
    position: relative;
}

.blog-hero-content {
    max-width: 1150px;
    margin: 0;
    text-align: left;
    padding-left: 0rem;
}

.blog-hero-title {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 3rem;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.blog-hero-description {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-left: 0rem;
}

.blog-hero-description p {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: -0.01em;
}

/* Blog Posts Section */
.blog-posts-section {
    padding: 6rem 0;
    background-color: #0a0a0a;
    position: relative;
}

/* Vertical lines for blog section */
.blog-posts-section::before {
    content: '';
    position: absolute;
    left: 49.3%;
    top: 96px;
    bottom: -39px;
    width: 1px;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}

.blog-posts-section::after {
    content: '';
    position: absolute;
    left: 50.7%;
    top: 96px;
    bottom: -39px;
    width: 1px;
    background: rgba(255,255,255,0.1);
    z-index: 1;
}

.blog-header {
    display: flex;
    justify-content: flex-start;
}

.blog-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: -0.01em;
}

/* Blog Cards - Unified for both modal and external */
.blog-card {
    margin-top: 0;
    margin-bottom: 0;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    position: relative;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 3rem;
    max-width: 1150px;
    margin: 2rem auto 0rem auto;
}

/* Horizontal dividers between rows */
.blog-row-divider {
    grid-column: 1 / -1;
    height: 23px;
    background: transparent;
    margin: 0rem calc(-50vw + 50%);
    position: relative;
}

.blog-row-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.blog-row-divider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

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

.blog-card-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.blog-card-date {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* Placeholder for missing images */
.blog-card-image:empty::before {
    content: "📝";
    font-size: 3rem;
    opacity: 0.3;
}

@media (max-width: 768px) {
    .blog-posts-section::before,
    .blog-posts-section::after {
        display: none;
    }
    
    .blog-row-divider {
        display: none;
    }
    
    .page-lines {
        display: none;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem 0;
    }
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background-color: #0a0a0a;
}

.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.contact-info {
    margin-bottom: 2rem;
}

.meet-link {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.meet-link:hover {
    color: #ffffff;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.social-link {
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.resume-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.resume-btn:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .nav {
        padding: 1rem 0;
    }

    .blog-hero-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .blog-hero-description p {
        font-size: 1.125rem;
    }

    .blog-posts-section {
        padding: 4rem 0;
    }

    .contact-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .social-links {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .blog-hero-title {
        font-size: 1.5rem;
    }

    .blog-hero-description p {
        font-size: 1rem;
    }

    .contact-title {
        font-size: 1.75rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link svg {
        width: 20px;
        height: 20px;
    }
}

/* Footer */
.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    margin-bottom: 1rem;
    align-items: start;
}

.footer-logo-link {
    font-size: 1.25rem;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.footer-tagline {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    line-height: 1.4;
}

.footer-center {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.footer-links {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-left: auto;
}

.footer-link {
    display: flex;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
    justify-content: flex-end;
}

.footer-copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    margin-bottom: 1.25rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-location {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.footer-status {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    background: #4ade80;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer-left {
        align-items: center;
    }
    
    .footer-center {
        justify-content: center;
        margin-left: 0;
    }
    
    .footer-links {
        justify-content: center;
        margin-left: 0;
        flex-wrap: wrap;
    }
    
    .footer-link {
        font-size: 0.9rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-divider {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-logo-link {
        font-size: 1.125rem;
    }
    
    .footer-links {
        gap: 1.5rem;
        flex-direction: row;
    }
    
    .footer-link {
        font-size: 0.85rem;
        padding: 0.15rem 0;
    }
    
    .footer-tagline {
        font-size: 0.7rem;
    }
    
    .footer-location,
    .footer-copyright {
        font-size: 0.7rem;
    }
}

/* Search Button */
.search-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.625rem 1rem;
    border-radius: 10px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    height: 40px;
}

.search-btn:hover {
    transform: translateY(-1px);
}

.search-shortcut {
    font-size: 0.90rem;
    color: #ffffff;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.10);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

/* Search Dialog Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 15vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', 'Roboto Mono', monospace;
}

.search-overlay * {
    font-family: inherit;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-dialog {
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.95) 0%,
        rgba(20, 20, 20, 0.9) 50%,
        rgba(15, 15, 15, 0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    width: 100%;
    max-width: 540px;
    max-height: 70vh;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95) translateY(-10px);
    transition: all 0.2s ease;
}

.search-overlay.active .search-dialog {
    transform: scale(1) translateY(0);
}

/* Search Header */
.search-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-input-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-icon {
    color: rgba(255, 255, 255, 0.5);
    flex-shrink: 0;
}

#searchInput {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.125rem;
    font-family: inherit;
    outline: none;
    padding: 0;
}

#searchInput::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.search-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Search Results */
.search-results {
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem;
}

.search-results::-webkit-scrollbar {
    width: 4px;
}

.search-results::-webkit-scrollbar-track {
    background: transparent;
}

.search-results::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.search-results::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

.search-section {
    margin-bottom: 1rem;
}

.search-section:last-child {
    margin-bottom: 0;
}

.search-section-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
    padding: 0.5rem 0.75rem;
    margin-bottom: 0.25rem;
}

.search-items {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.15s ease;
    cursor: pointer;
}

.search-item:hover,
.search-item.selected {
    background: rgba(255, 255, 255, 0.05);
}

.search-item-content {
    flex: 1;
    min-width: 0;
}

.search-item-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.125rem;
}

/* Search Footer */
.search-footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.search-shortcuts {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.shortcut-hint {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

kbd {
    background: rgba(255, 255, 255, 0.10);
    border-radius: 3px;
    padding: 0.125rem 0.25rem;
    font-size: 0.625rem;
    font-family: monospace;
    color: rgba(255, 255, 255, 0.7);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .search-btn {
        padding: 0.5rem;
    }
    
    .search-shortcut {
        display: none;
    }
    
    .search-overlay {
        padding-top: 10vh;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .search-dialog {
        max-height: 80vh;
    }
    
    .search-shortcuts {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .search-footer {
        display: none;
    }
}

@media (max-width: 480px) {
    .nav-right {
        gap: 1rem;
    }
}

/* ==========================================================================
   Blog Modal System
   ========================================================================== */

/* Blog Overlay */
.blog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.blog-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Blog Modal Container */
.blog-modal {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 90vh;
    margin: 5vh auto;
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.95) 0%,
        rgba(20, 20, 20, 0.92) 50%,
        rgba(15, 15, 15, 0.95) 100%
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-overlay.active .blog-modal {
    transform: scale(1) translateY(0);
}

/* Close Button */
.blog-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.blog-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: rotate(90deg);
}

/* Blog Content Container (Scrollable) */
.blog-content {
    height: 100%;
    overflow-y: auto;
    padding: 3rem;
    padding-right: 2.5rem;
}

/* Custom Scrollbar */
.blog-content::-webkit-scrollbar {
    width: 6px;
}

.blog-content::-webkit-scrollbar-track {
    background: transparent;
}

.blog-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.blog-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Blog Post Header */
.blog-post-header {
    margin-bottom: 2rem;
}

.blog-post-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.blog-date,
.blog-read-time {
    font-weight: 400;
}

.blog-separator {
    color: rgba(255, 255, 255, 0.3);
}

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

.blog-tag {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Divider */
.blog-divider {
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    margin: 2rem 0;
}

/* Blog Body Content */
.blog-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.blog-body h2 {
    font-size: 1.875rem;
    font-weight: 500;
    color: #ffffff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.blog-body h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.blog-body p {
    margin-bottom: 1.5rem;
}

.blog-body a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.3);
    text-underline-offset: 3px;
    transition: all 0.2s ease;
}

.blog-body a:hover {
    color: #ffffff;
    text-decoration-color: rgba(255, 255, 255, 0.6);
}

.blog-body ul,
.blog-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-body li {
    margin-bottom: 0.5rem;
}

.blog-body blockquote {
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

.blog-body code {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
    font-size: 0.9em;
}

.blog-body pre {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.blog-body pre code {
    background: none;
    padding: 0;
}

.blog-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

/* Reading Progress Bar */
.blog-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    width: 0%;
    transition: width 0.1s ease;
    border-radius: 0 3px 3px 0;
}
/* Blog Content Images */
.blog-content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 2rem auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Image with caption */
.blog-image-wrapper {
    margin: 2rem auto;
    max-width: 800px;
    text-align: center;
}

.blog-image-wrapper img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

.blog-image-wrapper figcaption {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-top: 0.5rem;
}

/* Filler Card Styles */
.blog-card-filler {
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.02);
    cursor: default;
    pointer-events: none;
}

.blog-card-filler:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.2);
}

.filler-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    min-height: 320px;
}

.filler-icon-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    opacity: 0.7;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.filler-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.filler-text {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 280px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .blog-modal {
        width: 95%;
        height: 95vh;
        margin: 2.5vh auto;
        border-radius: 12px;
    }

    .blog-content {
        padding: 2rem 1.5rem;
    }

    .blog-close {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }

    .blog-post-title {
        font-size: 1.875rem;
    }

    .blog-body {
        font-size: 1rem;
    }

    .blog-body h2 {
        font-size: 1.5rem;
    }

    .blog-body h3 {
        font-size: 1.25rem;
    }

    .blog-content-image,
    .blog-image-wrapper {
        margin: 1.5rem 0;
    }

    .blog-card-filler {
        display: none;
    }
}