/* Continuum Theme CSS */

:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #333;
    --bg-color: #fff;
    --gray-light: #ecf0f1;
    --gray-medium: #95a5a6;
    --border-radius: 8px;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Header */
.site-header {
    background: var(--primary-color);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.3rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.nav-links a:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.1);
}

/* Section-specific navigation link backgrounds for homepage */
.nav-links .software-engineering-link {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.nav-links .software-engineering-link:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: white;
    transform: translateY(-1px);
}

.nav-links .building-wealth-link {
    background: linear-gradient(135deg, #f7b733 0%, #fc4a1a 100%);
    color: white;
}

.nav-links .building-wealth-link:hover {
    background: linear-gradient(135deg, #fc4a1a 0%, #f7b733 100%);
    color: white;
    transform: translateY(-1px);
}

/* Dropdown Navigation */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    color: var(--text-color);
    padding: 0.75rem 1rem;
    display: block;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--gray-light);
    color: var(--secondary-color);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 200px);
}

/* Grid Layouts */
.posts-grid,
.slides-grid,
.books-grid,
.videos-grid,
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Cards */
.post-card,
.slide-card,
.book-card,
.video-card,
.tool-card,
.content-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    transition: var(--transition);
}

/* Standardized Content Card Styles */
.content-card {
    overflow: hidden;
    border-left: 4px solid var(--secondary-color);
}

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

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.card-image {
    margin: -1.5rem -1.5rem 1rem -1.5rem;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

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

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

.card-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.content-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.card-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
    transition: color 0.3s ease;
}

.content-card:hover .card-title {
    color: var(--secondary-color);
}

.card-summary {
    margin: 0;
    color: var(--text-color);
    line-height: 1.6;
    opacity: 0.9;
}

.card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-medium);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.meta-icon {
    font-size: 0.9rem;
    opacity: 0.8;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.card-tags .tag-link {
    padding: 0.3rem 0.8rem;
    background: var(--gray-light);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.card-tags .tag-link:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-1px);
}

/* Video-specific styling */
.video-image {
    position: relative;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.content-card:hover .video-overlay {
    opacity: 1;
}

.duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.post-card:hover,
.slide-card:hover,
.book-card:hover,
.video-card:hover,
.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.post-card h2,
.slide-card h2,
.book-card h2,
.video-card h2,
.tool-card h2 {
    margin-bottom: 0.5rem;
}

.post-card a,
.slide-card a,
.book-card a,
.video-card a,
.tool-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.post-card a:hover,
.slide-card a:hover,
.book-card a:hover,
.video-card a:hover,
.tool-card a:hover {
    color: var(--secondary-color);
}

/* Tags */
.post-tags,
.video-tags {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--gray-light);
    color: var(--text-color);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.875rem;
}

/* Video Specific */
.video-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.video-thumbnail {
    position: relative;
    margin-bottom: 0;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.duration-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.video-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.video-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.video-meta time {
    color: var(--text-muted);
}

.video-meta .platform {
    padding: 2px 6px;
    background: var(--secondary-color);
    color: white;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 500;
}

.video-title {
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.video-title a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.video-title a:hover {
    color: var(--secondary-color);
}

.video-summary {
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.5;
}

.video-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.video-tags .tag {
    background: var(--background-light);
    color: var(--text-muted);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid var(--border-color);
}

.watch-link {
    align-self: flex-start;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    display: inline-block;
}

.watch-link:hover {
    background: var(--primary-color);
    color: white;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 2rem;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Tools Specific */
.tool-interface {
    background: var(--gray-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 2rem 0;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.calculate-btn,
.view-slides,
.use-tool {
    background: var(--secondary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 1rem;
    transition: var(--transition);
}

.calculate-btn:hover,
.view-slides:hover,
.use-tool:hover {
    background: var(--primary-color);
}

.results {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 1rem;
    border-left: 4px solid var(--secondary-color);
}

.results h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Emergency Fund Tool - Two Column Layout */
.ef-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.ef-inputs {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 4px solid #f7b733;
}

.ef-inputs h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.ef-outputs {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 4px solid #27ae60;
}

.ef-outputs h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Input Summary Styling */
.input-summary {
    background: #e8f5e8;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    border-left: 3px solid #27ae60;
}

.input-summary p {
    margin: 0;
    color: #2c5530;
    font-weight: 500;
}

/* Fund Summary Styling */
.fund-summary {
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item .label {
    font-weight: 500;
    color: var(--text-color);
}

.summary-item .value {
    font-weight: bold;
    color: var(--primary-color);
}

/* Progress Bar Styling */
.progress-bar-container {
    margin: 1.5rem 0;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    border-radius: 10px;
    transition: width 0.5s ease-in-out;
    animation: progressPulse 2s ease-in-out infinite alternate;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #333;
    font-weight: bold;
    font-size: 0.875rem;
}

@keyframes progressPulse {
    0% {
        box-shadow: 0 0 5px rgba(46, 204, 113, 0.7);
    }

    100% {
        box-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
    }
}

/* Savings Timeline Styling */
.savings-timeline {
    margin-top: 1.5rem;
}

.savings-timeline h5 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1rem;
}

.timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
}

.timeline-item {
    position: relative;
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: var(--border-radius);
    border-left: 3px solid var(--secondary-color);
    transition: var(--transition);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--secondary-color);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--secondary-color);
}

.timeline-item.goal-achieved {
    background: linear-gradient(135deg, #e8f5e8, #d4edda);
    border-left-color: #27ae60;
    animation: goalAchieved 0.6s ease-in-out;
}

.timeline-item.goal-achieved::before {
    background: #27ae60;
    box-shadow: 0 0 0 2px #27ae60;
}

@keyframes goalAchieved {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

/* Placeholder Content */
.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: var(--border-radius);
    text-align: center;
}

.placeholder-content h4 {
    color: var(--gray-medium);
    margin-bottom: 1rem;
}

.placeholder-content p {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
}

.placeholder-features p {
    color: #6c757d;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Recommendations Section */
.recommendations-section {
    grid-column: 1 / -1;
    margin-top: 1rem;
}

.recommendations {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 4px solid #f39c12;
}

.recommendations h4 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.recommendations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.recommendation-card {
    background: #fff8e1;
    padding: 1rem;
    border-radius: var(--border-radius);
    border-left: 3px solid #f39c12;
    transition: var(--transition);
}

.recommendation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .ef-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .timeline {
        padding-left: 1rem;
    }

    .timeline-item {
        margin-left: 0.5rem;
    }
}

/* About Page */
.social-links ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--secondary-color);
    text-decoration: none;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill {
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
}

/* Book Status */
.book-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.status-published {
    background: #27ae60;
    color: white;
}

.status-draft {
    background: #f39c12;
    color: white;
}

.status-planning {
    background: var(--gray-medium);
    color: white;
}

/* Footer */
.site-footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

/* Section Overview */
.section-overview {
    padding: 0rem 0;
}

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

.section-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--gray-medium);
}

.section-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.content-category {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    transition: var(--transition);
}

.content-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.content-category h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-category h2 a {
    color: inherit;
    text-decoration: none;
}

.recent-items {
    margin: 1.5rem 0;
}

.mini-card {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-light);
}

.mini-card:last-child {
    border-bottom: none;
}

.mini-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.mini-card h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.mini-card h3 a:hover {
    color: var(--secondary-color);
}

.mini-card time,
.mini-card .duration,
.mini-card .event,
.mini-card .tool-type {
    font-size: 0.875rem;
    color: var(--gray-medium);
}

.view-all {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.view-all:hover {
    color: var(--primary-color);
}

/* Breadcrumb */
.breadcrumb {
    max-width: 1200px;
    margin: 1.25rem auto 0.25rem auto;
    padding: 0 2rem;
    font-size: 0.875rem;
    color: var(--gray-medium);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: ">";
    margin: 0 0.5rem;
    color: var(--gray-medium);
}

.breadcrumb-item.active span {
    color: var(--text-color);
}

.breadcrumb a {
    color: var(--secondary-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* Custom Tool Interface */
.custom-tool iframe {
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-light);
}

/* Related Tools */
.related-tools {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--gray-light);
}

.related-tools h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Enhanced Tool Styles */
.json-diff-tool .input-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.json-diff-tool textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--gray-medium);
    border-radius: var(--border-radius);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
}

.regex-tester .flag-checkboxes {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.regex-tester .flag-checkboxes label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.allocation-breakdown {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: var(--border-radius);
}

.pie-chart-text p {
    margin: 0.5rem 0;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    main {
        padding: 1rem;
    }

    .posts-grid,
    .slides-grid,
    .books-grid,
    .videos-grid,
    .tools-grid {
        grid-template-columns: 1fr;
    }

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

    .section-header h1 {
        font-size: 2rem;
    }

    .json-diff-tool .input-section {
        grid-template-columns: 1fr;
    }

    .regex-tester .flag-checkboxes {
        flex-direction: column;
        gap: 0.5rem;
    }

    .dropdown-menu {
        position: static;
        display: block;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        margin-top: 0.5rem;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Homepage Styles */
.homepage {
    padding: 2rem 0;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: var(--border-radius);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-photo {
    flex-shrink: 0;
}

.profile-photo {
    width: 180px;
    height: 240px;
    border-radius: 12px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.profile-photo-placeholder {
    width: 180px;
    height: 240px;
    border-radius: 12px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-photo-placeholder .initials {
    font-size: 3rem;
    font-weight: bold;
    font-family: var(--font-family);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.profile-photo-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero-text {
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius);
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.social-link.linkedin {
    color: #0077b5;
}

.social-link.linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
    color: white;
}

.social-link.twitter {
    color: #1da1f2;
}

.social-link.twitter:hover {
    background: #1da1f2;
    border-color: #1da1f2;
    color: white;
}

.social-link.github {
    color: #333;
}

.social-link.github:hover {
    background: #333;
    border-color: #333;
    color: white;
}

/* Responsive design for hero */
@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        text-align: left;
    }

    .hero-text {
        text-align: left;
        flex: 1;
    }

    .hero p {
        margin-left: 0;
    }

    .social-links {
        justify-content: flex-start;
    }
}

.main-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.section-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.section-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.section-card h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.section-card>p {
    color: var(--gray-medium);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.section-stats {
    margin: 1.5rem 0;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stats-grid span {
    background: var(--gray-light);
    color: var(--text-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
}

.stats-grid .stat-link {
    background: white;
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stats-grid .stat-link:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.section-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.section-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Section-specific button colors */
.section-card:nth-child(1) .stat-link {
    background: white;
    color: #667eea;
    border-color: #667eea;
}

.section-card:nth-child(1) .stat-link:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.section-card:nth-child(1) .section-link {
    color: #667eea;
}

.section-card:nth-child(1) .section-link:hover {
    color: #764ba2;
}

.section-card:nth-child(2) .stat-link {
    background: white;
    color: #f7b733;
    border-color: #f7b733;
}

.section-card:nth-child(2) .stat-link:hover {
    background: linear-gradient(135deg, #f7b733 0%, #fc4a1a 100%);
    color: white;
    border-color: transparent;
}

.section-card:nth-child(2) .section-link {
    color: #f7b733;
}

.section-card:nth-child(2) .section-link:hover {
    color: #fc4a1a;
}

/* Recent Activity */
.recent-activity {
    margin-top: 3rem;
}

.recent-activity h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.recent-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.recent-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.content-type {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

/* Section-specific content type colors using class-based targeting */
.content-type.software_engineering_section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.content-type.building_wealth_section {
    background: linear-gradient(135deg, #f7b733 0%, #fc4a1a 100%);
}

.recent-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.recent-card h3 .content-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-right: 0.75rem;
}

.recent-card time {
    font-size: 0.875rem;
    color: var(--gray-medium);
    display: block;
    margin-bottom: 0.75rem;
}

.recent-card p {
    font-size: 0.9rem;
    color: var(--gray-medium);
    line-height: 1.4;
}

/* Card link styling for clickable cards */
.recent-card .card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.recent-card .card-link:hover {
    text-decoration: none;
    color: inherit;
}

.recent-card .card-link h3 {
    color: var(--text-color);
}

.recent-card:hover .card-link h3 {
    color: var(--secondary-color);
}

/* Slides-specific styling */
/* .slides {
    background: var(--primary-color) !important;
} */

/* Show header and footer for slides */
/* Commented out to bring back header/footer
.slides .site-header,
.slides .site-footer {
    display: none;
}
*/

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

/* Section-specific navigation styling */
.section-switch a {
    background: var(--secondary-color);
    color: white !important;
    font-weight: 500;
    border-radius: var(--border-radius);
}

.section-switch a:hover {
    background: var(--accent-color);
    transform: translateX(2px);
}

/* Software Engineering section branding */
.software-engineering .site-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.software-engineering .logo {
    font-size: 1.3rem;
}

/* Building Wealth section branding */
.building-wealth .site-header {
    background: linear-gradient(135deg, #f7b733 0%, #fc4a1a 100%);
}

.building-wealth .logo {
    font-size: 1.3rem;
}

/* Logo structure for section pages */
.logo .name-link {
    color: white;
    text-decoration: none;
    transition: var(--transition);
    font-weight: bold;
}

.logo .name-link:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.logo .separator {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0.75rem;
    font-weight: normal;
}

/* Make logo container flexible */
.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
}

/* Responsive navigation for section headers */
@media (max-width: 768px) {
    .nav-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .logo {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        flex-basis: 100%;
    }

    .section-switch {
        order: -1;
    }
}

/* Video page styling */
.video {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.video-header {
    margin-bottom: 2rem;
    text-align: center;
}

.video-header h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.video-date {
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.video-embed {
    margin-bottom: 2rem;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
}

.video-link {
    text-align: center;
    margin: 2rem 0;
}

.video-link a {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.video-link a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.video-content {
    line-height: 1.8;
    margin-bottom: 2rem;
}

.video-meta {
    background: var(--gray-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.video-duration {
    margin: 0;
    font-weight: 500;
}

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

.video-tags .tag {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
}

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

    .video-header h1 {
        font-size: 1.5rem;
    }
}

/* Category Cards for Section Overviews */
.category-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.category-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

/* Section-specific card border colors */
.software-engineering .category-card {
    border-left: 4px solid #667eea;
}

.building-wealth .category-card {
    border-left: 4px solid #f7b733;
}

/* Section-specific colors for other card types */
.software-engineering .post-card,
.software-engineering .slide-card,
.software-engineering .book-card,
.software-engineering .video-card,
.software-engineering .tool-card {
    border-left: 4px solid #667eea;
}

.building-wealth .post-card,
.building-wealth .slide-card,
.building-wealth .book-card,
.building-wealth .video-card,
.building-wealth .tool-card,
.building-wealth .tag-card,
.building-wealth .content-card {
    border-left: 4px solid #f7b733;
}

.software-engineering .tag-card,
.software-engineering .content-card {
    border-left: 4px solid #667eea;
}

/* Section-specific tag colors */
.software-engineering .card-tags .tag-link:hover {
    background: #667eea;
}

.building-wealth .card-tags .tag-link:hover {
    background: #f7b733;
}

/* Homepage section cards - specific colors */
.section-card:first-of-type {
    border-left: 4px solid #667eea;
    /* Software Engineering blue */
}

.section-card:last-of-type {
    border-left: 4px solid #f7b733;
    /* Building Wealth gold */
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.category-header h2 {
    margin: 0;
    font-size: 1.25rem;
}

.category-header h2 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.category-header h2 a:hover {
    color: var(--secondary-color);
}

.item-count {
    font-size: 0.9rem;
    color: var(--gray-medium);
    font-weight: normal;
}

/* Preview Grids */
.preview-grid {
    display: grid;
    gap: 1rem;
}

.videos-preview {
    grid-template-columns: 1fr;
}

.preview-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.video-preview {
    align-items: center;
}

.video-thumbnail-small {
    position: relative;
    flex-shrink: 0;
    width: 120px;
    height: 68px;
    border-radius: 6px;
    overflow: hidden;
}

.video-thumbnail-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.duration-badge-small {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 500;
}

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

.preview-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.3;
}

.preview-content h4 a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.preview-content h4 a:hover {
    color: var(--secondary-color);
}

.preview-meta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray-medium);
}

.platform-small {
    background: var(--secondary-color);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
}

.date-small {
    font-size: 0.8rem;
}

.tag-small {
    background: var(--gray-light);
    color: var(--text-color);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.7rem;
}

/* Preview List for non-video content */
.preview-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preview-list .preview-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.preview-list .preview-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* View All Link */
.view-all {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
}

.view-all a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.view-all a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .category-sections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-card {
        padding: 1rem;
    }

    .video-thumbnail-small {
        width: 100px;
        height: 56px;
    }

    .preview-item {
        gap: 0.75rem;
    }
}

/* Read Time Styling */
.read-time {
    color: var(--gray-medium);
    font-size: 0.8rem;
    padding: 2px 6px;
    background: var(--gray-light);
    border-radius: 3px;
    font-weight: 500;
}

.preview-meta .read-time {
    font-size: 0.7rem;
}

.post-meta .read-time {
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

/* Preview Description Styling */
.preview-description {
    font-size: 0.85rem;
    color: var(--gray-medium);
    line-height: 1.4;
    margin: 0.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* For video previews, make description shorter */
.video-preview .preview-description {
    font-size: 0.8rem;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    margin: 0.25rem 0;
}

/* Homepage section cards - specific colors */
.section-card:first-of-type {
    border-left: 4px solid #667eea;
    /* Software Engineering blue */
}

.section-card:last-of-type {
    border-left: 4px solid #f7b733;
    /* Building Wealth gold */
}

/* Recent cards - section-specific colors and borders */
.recent-card .content-type.software_engineering_section {
    background: #667eea;
}

.recent-card .content-type.building_wealth_section {
    background: #f7b733;
}

.recent-card.software-engineering-card {
    border-left-color: #667eea;
}

.recent-card.building-wealth-card {
    border-left-color: #f7b733;
}

/* Tag Cards Styles */
.tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.tag-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.2rem 1.5rem;
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.tag-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.tag-card:hover::before {
    left: 100%;
}

.tag-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.tag-card a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.tag-card .tag-name {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.3s ease;
    flex: 1;
    text-align: left;
    margin-right: 1rem;
}

.tag-card:hover .tag-name {
    color: var(--secondary-color);
}

.tag-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
    margin-left: auto;
}

.tag-count-badge {
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 35px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Section-specific tag badge colors */
.software-engineering .tag-count-badge {
    background: #667eea;
}

.building-wealth .tag-count-badge {
    background: #f7b733;
}

.tag-card:hover .tag-count-badge {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}



/* Responsive adjustments for tag cards */
@media (max-width: 768px) {
    .tags-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .tag-card {
        padding: 1rem 1.2rem;
        min-height: 55px;
    }

    .tag-card .tag-name {
        font-size: 1.1rem;
    }

    .tag-count-badge {
        padding: 0.25rem 0.7rem;
        font-size: 0.85rem;
        min-width: 30px;
    }
}

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

    .tag-card {
        padding: 0.9rem 1rem;
        min-height: 50px;
    }

    .content-card {
        padding: 1rem;
    }

    .card-header {
        gap: 0.5rem;
    }

    .content-icon {
        font-size: 1.25rem;
    }

    .card-title {
        font-size: 1.1rem;
    }

    .card-meta {
        gap: 0.75rem;
        font-size: 0.85rem;
    }
}

/* Tag Stats */
.tags-stats {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--gray-light);
    border-radius: var(--border-radius);
    text-align: center;
    font-style: italic;
    color: var(--gray-medium);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tags-cloud {
        justify-content: center;
        padding: 1rem 0;
    }

    .tag-cloud-item {
        padding: 0.25rem 0.6rem;
        margin: 0.1rem;
    }

    .tag-size-xl {
        font-size: 1.1rem;
    }

    .tag-size-large {
        font-size: 1rem;
    }
}


/* Content Type Badges */
.content-type-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: var(--secondary-color);
    color: white;
    font-size: 0.75rem;
    border-radius: 12px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.content-icon {
    font-size: 1.2em;
    margin-right: 0.5rem;
}

/* Post Header Title */
.post-header h1 {
    margin-top: 0;
    margin-bottom: 1rem;
}

/* Post Summary */
.post-summary {
    font-size: 1.1rem;
    color: var(--gray-medium);
    font-style: italic;
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

/* Post Meta Line */
.post-meta-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--gray-light);
    flex-wrap: wrap;
    gap: 1rem;
}

/* Post Date */
.post-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-medium);
    font-size: 0.9rem;
}

.date-icon {
    font-size: 1rem;
}

/* Post Header Grid Layout */
.post-header-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.title-column {
    flex: 1;
}

.post-title {
    margin: 0;
    font-size: 2rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.post-subtitle {
    font-size: 1.1rem;
    color: var(--gray-medium);
    font-style: italic;
    font-weight: normal;
    margin-top: 0.5rem;
    line-height: 1.4;
}

.date-column {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-medium);
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.calendar-icon {
    font-size: 1rem;
}

/* Post Tags Footer */
.post-tags-footer {
    margin: 1.5rem 0 0.5rem 0;
    padding: 0;
    background: none;
    border-radius: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.tags-label {
    font-weight: 600;
    color: var(--text-color);
    margin-right: 0.5rem;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .post-header-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .date-column {
        align-self: flex-start;
    }

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

/* Post Tags */
.post-tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag-icon {
    font-size: 0.9rem;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .post-meta-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

.post-tags .tag {
    display: inline-block;
    padding: 0.2rem 0.4rem;
    background: var(--gray-light);
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.8rem;
    border-radius: 4px;
    margin-right: 0.3rem;
    margin-bottom: 0.2rem;
    transition: var(--transition);
}

.post-tags .tag:hover {
    background: var(--secondary-color);
    color: white;
}

.post-tags .tag-current {
    background: var(--accent-color);
    color: white;
    font-weight: 600;
}

/* Post Meta Improvements */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: center;
    font-size: 0.9rem;
    color: var(--gray-medium);
}

.post-meta time,
.read-time,
.duration {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

/* Responsive Post Cards */
@media (max-width: 768px) {
    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
    }

    .content-type-badge {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }
}