/* Minimalist Portfolio Design - Based on Figma */
/* Color Palette:
   Primary Dark: #1c1c1c
   Light Gray: #f5f5f5
   Medium Gray: #6b6b6b
   White: #ffffff
   Light on Dark: rgba(245, 245, 245, 0.8) and rgba(245, 245, 245, 0.7)
*/

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    color: #1c1c1c;
    line-height: 1.5;
    font-size: 16px;
    font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: #1c1c1c;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.3125px;
}

h1 { 
    font-size: 24px; 
    font-weight: 500;
    line-height: 36px;
    letter-spacing: -0.5297px;
}

h2 { 
    font-size: 16px;
    line-height: 24px;
}

h3 { 
    font-size: 16px;
    line-height: 24px;
}

p {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #6b6b6b;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.7;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    background-color: #1c1c1c;
    padding: 24px 0;
    border-bottom: none;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    color: #f5f5f5;
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: -0.3125px;
}

.navbar-brand:hover {
    opacity: 0.8;
}

.navbar-nav {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.navbar-nav li {
    margin: 0;
}

.navbar-nav a {
    color: rgba(245, 245, 245, 0.8);
    font-weight: 400;
    font-size: 16px;
    padding: 8px 0;
    transition: color 0.2s ease;
    letter-spacing: -0.3125px;
    text-transform: none;
}

.navbar-nav a:hover {
    color: #f5f5f5;
    opacity: 1;
}

/* Mobile Navigation */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    color: #f5f5f5;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
}

/* Main Content */
.main-content {
    padding: 64px 0;
    min-height: calc(100vh - 200px);
    background-color: #f5f5f5;
}

/* Page Header */
header.text-center {
    margin-bottom: 48px;
}

header.text-center h1 {
    font-size: 24px;
    font-weight: 500;
    color: #1c1c1c;
    margin-bottom: 16px;
    letter-spacing: -0.5297px;
}

header.text-center p {
    font-size: 16px;
    color: #6b6b6b;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.3125px;
}

/* Blog Section - List View with Left Borders */
.post-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 48px;
}

.post-card {
    background: transparent;
    border: none;
    border-left: 1.048px solid #1c1c1c;
    padding-left: 17px;
    padding-bottom: 32px;
    margin-bottom: 0;
    border-radius: 0;
    box-shadow: none;
    transition: none;
}

.post-card:hover {
    transform: none;
    box-shadow: none;
    background: transparent;
}

.post-card::before,
.post-card::after {
    display: none;
}

.post-card-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.post-meta {
    color: #6b6b6b;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    margin-bottom: 0;
    text-transform: none;
    font-weight: 400;
}

.post-title {
    color: #1c1c1c;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    margin-bottom: 0;
    font-weight: 400;
}

.post-title a {
    color: #1c1c1c;
    text-decoration: none;
}

.post-title a:hover {
    opacity: 0.7;
}

.post-excerpt {
    color: #6b6b6b;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    margin-bottom: 0;
    font-weight: 400;
}

.post-author {
    color: #6b6b6b;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    font-weight: 400;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #1c1c1c;
    color: #f5f5f5;
    border: none;
    border-radius: 0;
    font-weight: 400;
    text-decoration: none;
    transition: opacity 0.2s ease;
    cursor: pointer;
    font-size: 16px;
    letter-spacing: -0.3125px;
    text-transform: none;
}

.btn:hover {
    opacity: 0.8;
    transform: none;
    box-shadow: none;
    background-color: #1c1c1c;
    color: #f5f5f5;
}

.btn-primary {
    background-color: #1c1c1c;
    color: #f5f5f5;
}

.btn-primary:hover {
    background-color: #1c1c1c;
    color: #f5f5f5;
    opacity: 0.8;
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #1c1c1c;
    border: 1px solid #1c1c1c;
}

.btn-secondary:hover {
    opacity: 0.8;
}

/* Post Detail */
.post-detail {
    background: white;
    border: 1.048px solid #1c1c1c;
    padding: 32px;
    box-shadow: none;
    margin-bottom: 32px;
    border-radius: 0;
}

.post-detail .post-title {
    font-size: 24px;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: -0.5297px;
    margin-bottom: 16px;
}

.post-detail .post-meta {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e5e5;
}

.post-content {
    color: #1c1c1c;
    line-height: 24px;
    font-size: 16px;
    letter-spacing: -0.3125px;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: #1c1c1c;
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 500;
}

.post-content p {
    margin-bottom: 24px;
    color: #1c1c1c;
}

.post-content ul,
.post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
    color: #1c1c1c;
}

.post-content li {
    margin-bottom: 8px;
}

.post-content blockquote {
    border-left: 1.048px solid #1c1c1c;
    padding-left: 16px;
    margin: 24px 0;
    font-style: italic;
    color: #6b6b6b;
}

.post-content code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 0;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
}

.post-content pre {
    background-color: #f5f5f5;
    padding: 16px;
    border-radius: 0;
    overflow-x: auto;
    margin: 24px 0;
}

.post-content pre code {
    background: none;
    padding: 0;
}

/* Topics/Tags */
.topics {
    margin: 16px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.topic-badge {
    display: inline-block;
    background-color: #1c1c1c;
    color: #f5f5f5;
    padding: 4px 8px;
    border-radius: 0;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Comments */
.comments-section {
    background: white;
    border: none;
    padding: 32px;
    box-shadow: none;
    margin-top: 32px;
    border-radius: 0;
}

.comment {
    border-bottom: 1px solid #e5e5e5;
    padding: 16px 0;
}

.comment:last-child {
    border-bottom: none;
}

.comment-meta {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    color: #6b6b6b;
    margin-bottom: 8px;
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    color: #1c1c1c;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    margin-bottom: 8px;
}

.form-control, .form-select {
    width: 100%;
    padding: 12px;
    border: 1.048px solid #1c1c1c;
    border-radius: 0;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #1c1c1c;
    background-color: white;
    transition: border-color 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: #1c1c1c;
    box-shadow: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Messages */
.messages {
    margin-bottom: 32px;
}

.message {
    padding: 16px;
    border-radius: 0;
    margin-bottom: 16px;
    border-left: 1.048px solid;
    background-color: #f5f5f5;
}

.message-success {
    border-color: #1c1c1c;
    color: #1c1c1c;
}

.message-error {
    border-color: #1c1c1c;
    background-color: #ffe5e5;
    color: #1c1c1c;
}

.message-info {
    border-color: #1c1c1c;
    color: #1c1c1c;
}

/* Footer */
.footer {
    background-color: #1c1c1c;
    color: rgba(245, 245, 245, 0.7);
    padding: 32px 0;
    margin-top: 0;
    text-align: center;
    border-top: none;
}

.footer-text {
    margin: 0;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    font-weight: 400;
}

/* Topic and Author Lists */
.topic-list,
.author-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.topic-item,
.author-item {
    border-left: 1.048px solid #1c1c1c;
    padding-left: 17px;
    padding-bottom: 24px;
}

.topic-item a,
.author-item a {
    color: #1c1c1c;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    font-weight: 400;
}

.topic-item a:hover,
.author-item a:hover {
    opacity: 0.7;
}

/* Project Cards (if needed for portfolio integration) */
.project-card {
    background: #f5f5f5;
    border: 1.048px solid #1c1c1c;
    padding: 25px;
    margin-bottom: 24px;
    transition: none;
}

.project-card:hover {
    transform: none;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.project-title {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    font-weight: 400;
    color: #1c1c1c;
}

.project-year {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    color: #6b6b6b;
}

.project-description {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #6b6b6b;
    margin-bottom: 12px;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-tag {
    background-color: #1c1c1c;
    color: #f5f5f5;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1c1c1c;
        flex-direction: column;
        padding: 16px 24px;
        gap: 0;
        box-shadow: none;
        border-top: 1px solid rgba(245, 245, 245, 0.2);
    }
    
    .navbar-nav.active {
        display: flex;
    }
    
    .navbar-nav li {
        width: 100%;
    }
    
    .navbar-nav a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid rgba(245, 245, 245, 0.1);
    }
    
    .navbar-nav li:last-child a {
        border-bottom: none;
    }
    
    .navbar-toggle {
        display: block;
    }
    
    .post-detail {
        padding: 24px;
    }
    
    .post-detail .post-title {
        font-size: 20px;
        line-height: 28px;
    }
    
    .container {
        padding: 0 24px;
    }
    
    .main-content {
        padding: 48px 0;
    }
    
    header.text-center {
        margin-bottom: 32px;
    }
    
    header.text-center h1 {
        font-size: 20px;
        line-height: 28px;
    }
}

@media (min-width: 769px) {
    .navbar-nav {
        display: flex;
    }
    
    .navbar-toggle {
        display: none;
    }
    
    /* Desktop: Wider container */
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1200px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }

/* Remove animations for minimalist feel */
.post-card {
    animation: none;
}

/* ========================================
   HOMEPAGE SPECIFIC STYLES
   ======================================== */

/* Hero/Header Section */
.hero-section {
    background-color: #1c1c1c;
    padding: 64px 24px;
}

.hero-title {
    color: #f5f5f5;
    font-size: 24px;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: -0.5297px;
    margin-bottom: 16px;
}

.hero-tagline {
    color: rgba(245, 245, 245, 0.8);
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    font-weight: 400;
    margin-bottom: 16px;
}

.hero-bio {
    color: rgba(245, 245, 245, 0.7);
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    font-weight: 400;
    max-width: 600px;
}

/* Section Shared Styles */
.section-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 48px;
}

.section-title {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    font-weight: 400;
    color: #1c1c1c;
    margin: 0;
    height: 24px;
}

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b6b6b;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    text-decoration: none;
    transition: opacity 0.2s ease;
    height: 24px;
    width: fit-content;
}

.section-link:hover {
    opacity: 0.7;
}

.section-link svg {
    width: 16px;
    height: 16px;
}

/* Blog Section */
.blog-section {
    background-color: #f5f5f5;
    padding: 64px 24px;
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.blog-card {
    border-left: 1.048px solid #1c1c1c;
    padding-left: 17px;
}

.blog-card-meta {
    color: #6b6b6b;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    margin-bottom: 8px;
}

.blog-card-title {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    font-weight: 400;
    margin-bottom: 8px;
}

.blog-card-title a {
    color: #1c1c1c;
    text-decoration: none;
}

.blog-card-title a:hover {
    opacity: 0.7;
}

.blog-card-excerpt {
    color: #6b6b6b;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
}

/* Projects Section */
.projects-section {
    background-color: #ffffff;
    padding: 64px 24px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.project-card {
    background-color: #f5f5f5;
    border: 1.048px solid #1c1c1c;
    padding: 25px;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.project-card:hover {
    opacity: 0.8;
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 16px;
}

.project-card-title {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    font-weight: 400;
    color: #1c1c1c;
    flex: 1;
}

.project-card-year {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    color: #6b6b6b;
    flex-shrink: 0;
}

.project-card-description {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #6b6b6b;
    margin-bottom: 12px;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.project-tag {
    background-color: #1c1c1c;
    color: #f5f5f5;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    font-weight: 400;
}

/* Contact Section */
.contact-section {
    background-color: #1c1c1c;
    padding: 64px 24px;
}

.contact-section .section-title {
    color: #f5f5f5;
}

.contact-section .section-link {
    color: #f5f5f5;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.contact-item {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: #f5f5f5;
    transition: opacity 0.2s ease;
}

.contact-item:hover {
    opacity: 0.8;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: #f5f5f5;
}

.contact-item-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-item-label {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    color: rgba(245, 245, 245, 0.7);
}

.contact-item-value {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #f5f5f5;
}

/* Responsive - Tablet and Desktop */
@media (min-width: 768px) {
    .hero-section {
        padding: 96px 24px;
    }
    
    .blog-section,
    .projects-section,
    .contact-section {
        padding: 96px 24px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .contact-grid {
        flex-direction: row;
        justify-content: space-between;
        gap: 64px;
    }
    
    .contact-item {
        flex: 1;
    }
}

@media (min-width: 1024px) {
    .hero-section .container,
    .blog-section .container,
    .projects-section .container,
    .contact-section .container {
        max-width: 960px;
        margin: 0 auto;
    }
}

@media (min-width: 1200px) {
    .hero-section .container,
    .blog-section .container,
    .projects-section .container,
    .contact-section .container {
        max-width: 1200px;
    }
}

/* ========================================
   BLOG & PORTFOLIO PAGE STYLES
   ======================================== */

/* Page Header */
.page-header-section {
    padding: 96px 244px 96px;
    background-color: #1c1c1c;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(245, 245, 245, 0.8);
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    text-decoration: none;
    margin-bottom: 32px;
    transition: opacity 0.2s ease;
}

.back-link:hover {
    opacity: 0.7;
}

.back-link svg {
    width: 16px;
    height: 16px;
    stroke: rgba(245, 245, 245, 0.8);
}

.page-header-section h1 {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.7125px;
    color: #f5f5f5;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: rgba(245, 245, 245, 0.8);
    max-width: 672px;
}

/* Featured Section */
.featured-section {
    padding: 96px 244px;
    background-color: #f5f5f5;
}

.section-heading {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #1c1c1c;
    margin-bottom: 48px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.featured-card {
    padding: 33px;
    background-color: #ffffff;
    border: 1.048px solid #1c1c1c;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.featured-card:hover {
    opacity: 0.8;
}

.featured-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.3px;
}

.meta-topic {
    background-color: #1c1c1c;
    color: #f5f5f5;
    padding: 4px 8px;
    text-transform: uppercase;
}

.meta-text {
    color: #6b6b6b;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    text-transform: none;
}

.meta-divider {
    color: #6b6b6b;
}

.meta-read {
    color: #6b6b6b;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    text-transform: none;
}

.featured-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.featured-card-header h3 {
    flex: 1;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #1c1c1c;
    margin: 0;
}

.featured-card-header h3 a {
    color: #1c1c1c;
    text-decoration: none;
}

.featured-card-header h3 a:hover {
    opacity: 0.7;
}

.featured-card-header svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #1c1c1c;
}

.featured-card-description {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: -0.3125px;
    color: #6b6b6b;
    margin: 0;
}

.featured-card-date,
.featured-card-year {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    color: #6b6b6b;
}

.featured-card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    background-color: #1c1c1c;
    color: #f5f5f5;
    padding: 4px 8px;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.tag-light {
    background-color: #e5e5e5;
    color: #1c1c1c;
    padding: 5px 8px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

/* All Posts Section */
.all-posts-section {
    padding: 96px 244px;
    background-color: #ffffff;
}

.month-group {
    margin-bottom: 64px;
}

.month-group:last-child {
    margin-bottom: 0;
}

.month-heading {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #6b6b6b;
    margin-bottom: 32px;
}

.month-posts {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.post-item {
    border-left: 1.048px solid #1c1c1c;
    padding-left: 25px;
    transition: opacity 0.2s ease;
}

.post-item:hover {
    opacity: 0.7;
}

.post-item-link {
    text-decoration: none;
    display: block;
}

.post-item-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 32px;
    margin-bottom: 8px;
}

.post-item-header h4 {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #1c1c1c;
    margin: 0;
}

.post-item-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    white-space: nowrap;
    justify-self: end;
}

.post-item-description {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #6b6b6b;
    margin: 0;
}

/* All Projects Section */
.all-projects-section {
    padding: 96px 244px;
    background-color: #ffffff;
}

.all-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    row-gap: 24px;
}

.project-card-small {
    background-color: transparent;
    border: none;
    border-left: 1.048px solid #1c1c1c;
    padding-left: 17px;
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.project-card-small:hover {
    opacity: 0.8;
}

.project-small-year {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    color: #6b6b6b;
    margin-bottom: 8px;
}

.project-small-title {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #1c1c1c;
    margin: 0 0 8px 0;
}

.project-small-description {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #6b6b6b;
    margin: 0 0 16px 0;
    flex: 1;
}

.project-small-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

/* Pagination */
.pagination-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 48px 0;
}

.pagination-info {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #6b6b6b;
}

/* Blog/Portfolio Page Footer */
.blog-page-footer {
    background-color: #1c1c1c;
    padding: 32px 244px;
    text-align: center;
}

.blog-page-footer p {
    color: rgba(245, 245, 245, 0.7);
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    margin: 0;
}

/* Responsive for Blog & Portfolio Pages */
@media (max-width: 1024px) {
    .page-header-section,
    .featured-section,
    .all-posts-section,
    .all-projects-section {
        padding-left: 64px;
        padding-right: 64px;
    }
    
    .blog-page-footer {
        padding-left: 64px;
        padding-right: 64px;
    }
}

@media (max-width: 768px) {
    .page-header-section,
    .featured-section,
    .all-posts-section,
    .all-projects-section {
        padding: 64px 24px;
    }
    
    .blog-page-footer {
        padding: 32px 24px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .all-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .post-item-header {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .post-item-meta {
        justify-self: start;
    }
}

/* ============================================
   PROJECT DETAIL PAGE STYLES
   ============================================ */

/* Project Post Container */
.project-post-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 64px 24px 48px;
    background-color: #f5f5f5;
}

/* Project Header */
.project-header {
    border-bottom: 1.048px solid #1c1c1c;
    padding-bottom: 1.048px;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 23.995px;
}

.project-meta {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    color: #6b6b6b;
    display: flex;
    align-items: center;
    gap: 12px;
    height: 20px;
}

.meta-divider {
    color: #6b6b6b;
}

.project-title {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #1c1c1c;
    font-weight: 400;
    margin: 0;
    height: 24px;
}

.project-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    height: 28px;
}

.project-category-badge {
    background-color: #1c1c1c;
    color: #f5f5f5;
    padding: 4px 12px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.1996px;
    text-transform: uppercase;
    font-weight: 400;
    height: 28px;
    display: inline-flex;
    align-items: center;
}

/* Project Content */
.project-content {
    color: #1c1c1c;
}

.project-content p {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: -0.3125px;
    color: #1c1c1c;
    margin: 0 0 28px 0;
}

.project-content h1,
.project-content h2,
.project-content h3 {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #1c1c1c;
    font-weight: 400;
    margin: 0;
    padding-top: 16px;
    border-top: 1.048px solid #1c1c1c;
    margin-top: 48px;
    margin-bottom: 24px;
}

.project-content h1:first-child,
.project-content h2:first-child,
.project-content h3:first-child {
    margin-top: 0;
}

.project-content img {
    width: 100%;
    height: auto;
    border: 1.048px solid rgba(28, 28, 28, 0.1);
    margin: 32px 0;
    display: block;
}

.project-content ul,
.project-content ol {
    padding-left: 24px;
    margin: 24px 0;
}

.project-content li {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: -0.3125px;
    color: #6b6b6b;
    margin-bottom: 12px;
}

.project-content strong {
    font-weight: 700;
    color: #1c1c1c;
}

.project-content em {
    font-style: italic;
}

.project-content blockquote {
    border-left: 3.145px solid #007aff;
    padding-left: 27px;
    margin: 32px 0;
    font-style: italic;
    color: #6b6b6b;
}

.project-content blockquote p {
    color: #6b6b6b;
    font-style: italic;
}

.project-content code {
    background-color: rgba(28, 28, 28, 0.05);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.project-content pre {
    background-color: rgba(28, 28, 28, 0.05);
    padding: 16px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 24px 0;
}

.project-content pre code {
    background-color: transparent;
    padding: 0;
}

.project-content a {
    color: #007aff;
    text-decoration: none;
}

.project-content a:hover {
    text-decoration: underline;
}

.project-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
}

.project-content table th,
.project-content table td {
    border: 1.048px solid rgba(28, 28, 28, 0.1);
    padding: 12px;
    text-align: left;
    font-size: 16px;
    line-height: 24px;
}

.project-content table th {
    background-color: rgba(28, 28, 28, 0.05);
    font-weight: 600;
    color: #1c1c1c;
}

.project-content table td {
    color: #6b6b6b;
}

.project-content iframe {
    width: 100%;
    max-width: 100%;
    margin: 32px 0;
    border: 1.048px solid rgba(28, 28, 28, 0.1);
}

/* Responsive for Project Detail */
@media (max-width: 768px) {
    .project-post-container {
        padding: 48px 24px 32px;
    }
    
    .project-categories {
        height: auto;
        min-height: 28px;
    }
}

/* ============================================
   BLOG POST DETAIL PAGE STYLES
   ============================================ */

/* Blog Post Container */
.blog-post-container {
    max-width: 768px;
    margin: 0 auto;
    padding: 64px 24px 48px;
    background-color: #f5f5f5;
}

/* Blog Post Header */
.blog-post-header {
    border-bottom: 1.048px solid #1c1c1c;
    padding-bottom: 24px;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    gap: 23.995px;
}

.blog-post-meta {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    color: #6b6b6b;
    display: flex;
    align-items: center;
    gap: 11.989px;
    height: 20px;
}

.blog-post-title {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #1c1c1c;
    font-weight: 400;
    margin: 0;
    height: 24px;
}

.blog-post-author {
    display: flex;
    align-items: center;
    gap: 11.989px;
    min-height: 40px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #1c1c1c;
    color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    font-weight: 400;
    flex-shrink: 0;
}

.author-name {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    color: #1c1c1c;
    font-weight: 400;
}

/* Blog Post Content */
.blog-post-content {
    color: #1c1c1c;
}

.blog-post-content p {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: -0.3125px;
    color: #1c1c1c;
    margin: 0 0 28px 0;
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3 {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #1c1c1c;
    font-weight: 400;
    margin: 0;
    padding-top: 16px;
    border-top: 1.048px solid #1c1c1c;
    margin-top: 48px;
    margin-bottom: 24px;
}

.blog-post-content h1:first-child,
.blog-post-content h2:first-child,
.blog-post-content h3:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.blog-post-content img {
    width: 100%;
    height: auto;
    border: 1.048px solid rgba(28, 28, 28, 0.1);
    margin: 32px 0;
    display: block;
}

.blog-post-content ul,
.blog-post-content ol {
    padding-left: 24px;
    margin: 24px 0;
}

.blog-post-content li {
    font-size: 16px;
    line-height: 28px;
    letter-spacing: -0.3125px;
    color: #6b6b6b;
    margin-bottom: 12px;
}

.blog-post-content strong {
    font-weight: 700;
    color: #1c1c1c;
}

.blog-post-content em {
    font-style: italic;
}

.blog-post-content blockquote {
    border-left: 3.145px solid #007aff;
    padding-left: 27px;
    margin: 32px 0;
    font-style: italic;
    color: #6b6b6b;
}

.blog-post-content blockquote p {
    color: #6b6b6b;
    font-style: italic;
    line-height: 24px;
}

.blog-post-content code {
    background-color: rgba(28, 28, 28, 0.05);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.blog-post-content pre {
    background-color: rgba(28, 28, 28, 0.05);
    padding: 16px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 24px 0;
}

.blog-post-content pre code {
    background-color: transparent;
    padding: 0;
}

.blog-post-content a {
    color: #007aff;
    text-decoration: none;
}

.blog-post-content a:hover {
    text-decoration: underline;
}

.blog-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
}

.blog-post-content table th,
.blog-post-content table td {
    border: 1.048px solid rgba(28, 28, 28, 0.1);
    padding: 12px;
    text-align: left;
    font-size: 16px;
    line-height: 24px;
}

.blog-post-content table th {
    background-color: rgba(28, 28, 28, 0.05);
    font-weight: 600;
    color: #1c1c1c;
}

.blog-post-content table td {
    color: #6b6b6b;
}

.blog-post-content iframe {
    width: 100%;
    max-width: 100%;
    margin: 32px 0;
    border: 1.048px solid rgba(28, 28, 28, 0.1);
}

/* Responsive for Blog Post Detail */
@media (max-width: 768px) {
    .blog-post-container {
        padding: 48px 24px 32px;
    }
    
    .blog-post-meta {
        gap: 11.989px;
    }
    
    .blog-post-author {
        gap: 11.989px;
    }
}

/* ============================================
   COMMENTS SECTION STYLES
   ============================================ */

.comments-section {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 24px 48px;
    background-color: #f5f5f5;
}

.comments-separator {
    height: 1px;
    background-color: rgba(28, 28, 28, 0.1);
    margin: 64px 0 48px;
}

.comments-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.comments-header svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.comments-header h2 {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #1c1c1c;
    font-weight: 400;
    margin: 0;
}

/* Comment Form */
.comment-form {
    background-color: #ffffff;
    border: none;
    padding: 25px;
    margin-bottom: 48px;
}

.comment-form h3 {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #1c1c1c;
    font-weight: 400;
    margin: 0 0 24px 0;
}

.comment-form form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    color: #6b6b6b;
    font-weight: 400;
}

.form-field input[type="text"],
.form-field input[type="email"] {
    background-color: #f5f5f5;
    border: 1.048px solid rgba(28, 28, 28, 0.1);
    padding: 12px 16px;
    font-size: 16px;
    line-height: normal;
    letter-spacing: -0.3125px;
    color: #1c1c1c;
    font-family: 'Inter', sans-serif;
}

.form-field input::placeholder {
    color: rgba(28, 28, 28, 0.5);
}

.form-field textarea {
    background-color: #ffffff;
    border: 1.048px solid rgba(28, 28, 28, 0.1);
    border-radius: 2px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    color: #1c1c1c;
    font-family: 'Inter', sans-serif;
    resize: vertical;
    min-height: 128px;
}

.form-field textarea::placeholder {
    color: #6b6b6b;
}

.comment-submit-btn {
    background-color: #007aff;
    color: #ffffff;
    border: none;
    border-radius: 2px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    width: fit-content;
    transition: opacity 0.2s;
}

.comment-submit-btn:hover {
    opacity: 0.9;
}

.comment-submit-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Comments List */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.comment-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.comment-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #1c1c1c;
    color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    font-weight: 400;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 24px;
}

.comment-author {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.3125px;
    color: #1c1c1c;
    font-weight: 400;
}

.comment-date {
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.1504px;
    color: #6b6b6b;
    font-weight: 400;
}

.comment-text {
    font-size: 16px;
    line-height: 26px;
    letter-spacing: -0.3125px;
    color: #6b6b6b;
    font-weight: 400;
    margin: 0;
}

.comment-divider {
    height: 1px;
    background-color: rgba(28, 28, 28, 0.1);
}

/* Responsive for Comments */
@media (max-width: 768px) {
    .comments-section {
        padding: 0 24px 32px;
    }
    
    .comment-form {
        padding: 20px;
    }
    
    .comment-item {
        gap: 12px;
    }
    
    .comment-avatar {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}
