/*
Theme Name: Personal Portfolio
Theme URI: https://markrecabo.com/
Author: Mark Recabo
Author URI: https://markrecabo.com/
Description: A modern WordPress portfolio theme for WordPress and Squarespace developers. Features custom post types for projects and experience, dark theme with OKLCH colors, smooth animations, and responsive design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: personal-portfolio
Tags: custom-background, threaded-comments, translation-ready, featured-images, theme-options, post-formats
*/

/* ============================================
   CSS CUSTOM PROPERTIES (OKLCH Colors)
   ============================================ */

:root {
    /* Base Colors - OKLCH format for modern color spaces */
    --background: oklch(0.08 0 0);
    --foreground: oklch(0.95 0 0);
    --card: oklch(0.12 0 0);
    --card-foreground: oklch(0.95 0 0);
    --popover: oklch(0.12 0 0);
    --popover-foreground: oklch(0.95 0 0);
    --primary: oklch(0.95 0 0);
    --primary-foreground: oklch(0.08 0 0);
    --secondary: oklch(0.18 0 0);
    --secondary-foreground: oklch(0.95 0 0);
    --muted: oklch(0.25 0 0);
    --muted-foreground: oklch(0.65 0 0);
    --accent: oklch(0.65 0.16 29);
    --accent-foreground: oklch(0.08 0 0);
    --destructive: oklch(0.577 0.245 27.325);
    --destructive-foreground: oklch(0.577 0.245 27.325);
    --border: oklch(0.18 0 0);
    --input: oklch(0.18 0 0);
    --ring: oklch(0.4 0 0);

    /* Spacing */
    --radius-sm: calc(var(--radius) - 4px);
    --radius-md: calc(var(--radius) - 2px);
    --radius-lg: var(--radius);
    --radius-xl: calc(var(--radius) + 4px);
    --radius: 0.625rem;

    /* Typography */
    --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Geist Mono', 'Courier New', monospace;
}

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

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--foreground);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: clamp(1.1rem, 1.5vw, 1.25rem); }

p {
    margin-bottom: 1rem;
    color: var(--foreground);
}

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

a:hover {
    color: var(--accent-foreground);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }
}

.section {
    padding: 4rem 1rem;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 2rem;
    }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */

.cursor-follower {
    position: fixed;
    width: 2rem;
    height: 2rem;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    box-shadow: 0 0 20px var(--accent);
    border-radius: 50%;
}

@media (hover: none) {
    .cursor-follower {
        display: none;
    }
}

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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(12px);
    background-color: oklch(0.08 0 0 / 0.5);
    border-bottom: 1px solid var(--border);
}

/* WordPress Admin Bar support - add 32px top spacing when logged in */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

.main-navigation {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

@media (min-width: 768px) {
    .main-navigation {
        padding: 0 2rem;
    }
}

/* Ensure header background spans full width */
.site-header {
    width: 100%;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    transition: color 0.3s ease;
}

.site-logo:hover {
    color: oklch(0.65 0.16 29 / 0.8);
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: oklch(0.95 0 0 / 0.7);
    transition: color 0.3s ease;
}

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

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

.social-icons a {
    padding: 0.5rem;
    color: oklch(0.95 0 0 / 0.7);
    transition: all 0.3s ease;
    border-radius: 0.5rem;
}

.social-icons a:hover {
    color: var(--accent);
    background-color: var(--secondary);
}

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

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    padding-bottom: 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    text-wrap: balance;
}

.hero-title .accent {
    color: var(--accent);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: oklch(0.95 0 0 / 0.7);
    max-width: 28rem;
    text-wrap: pretty;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn-primary:hover {
    background-color: oklch(0.65 0.16 29 / 0.9);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
}

.btn-outline:hover {
    background-color: #fff;
    border-color: var(--accent);
}

.hero-image-wrapper {
    position: relative;
    height: 400px;
}

@media (min-width: 768px) {
    .hero-image-wrapper {
        height: 500px;
    }
}

.hero-image-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, oklch(0.65 0.16 29 / 0.2), oklch(0.65 0.16 29 / 0.1));
    border-radius: 1rem;
    filter: blur(3rem);
}

.hero-image-container {
    position: relative;
    height: 100%;
    border-radius: 1rem;
    background-color: oklch(0.18 0 0 / 0.3);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--background), transparent);
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects-section {
    background-color: var(--background);
}

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

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-header .accent {
    color: var(--accent);
}

.section-header p {
    font-size: 1.125rem;
    color: oklch(0.95 0 0 / 0.6);
    max-width: 40rem;
}

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

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.project-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: oklch(0.18 0 0 / 0.2);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

.project-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: oklch(0.18 0 0 / 0.2);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.project-card-link:hover .project-card {
    border-color: oklch(0.65 0.16 29 / 0.5);
    box-shadow: 0 10px 40px oklch(0.65 0.16 29 / 0.1);
}

.project-card-link:hover .project-title {
    color: var(--accent);
}

.project-image {
    position: relative;
    height: 16rem;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card-link:hover .project-image img {
    transform: scale(1.1);
}

.project-card-link:hover .project-link-icon {
    opacity: 1;
    color: var(--accent);
}

.project-card-link:hover .project-title {
    color: var(--accent);
}

.project-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, transparent, oklch(0.08 0 0 / 0.8));
}

.project-content {
    padding: 1.25rem;
}

@media (min-width: 768px) {
    .project-content {
        padding: 1.5rem;
    }
}

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

.project-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: oklch(0.65 0.16 29 / 0.1);
    color: var(--accent);
}

.project-link-icon {
    width: 1rem;
    height: 1rem;
    color: oklch(0.95 0 0 / 0.4);
    opacity: 0;
    transition: all 0.3s ease;
}

.project-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: var(--accent);
}

.project-description {
    font-size: 0.875rem;
    color: oklch(0.95 0 0 / 0.6);
}

/* ============================================
   EXPERIENCE SECTION
   ============================================ */

.experience-section {
    background-color: oklch(0.18 0 0 / 0.1);
}

.experience-list {
    max-width: 56rem;
    margin: 0 auto;
}

.experience-item {
    position: relative;
    padding-bottom: 2rem;
}

.experience-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 3.5rem;
    height: 4rem;
    width: 0.125rem;
    background: linear-gradient(to bottom, oklch(0.65 0.16 29 / 0.5), transparent);
}

.experience-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: oklch(0.65 0.16 29 / 0.2);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

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

.experience-content {
    margin-left: 5rem;
    background-color: oklch(0.18 0 0 / 0.3);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1.25rem;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .experience-content {
        padding: 1.5rem;
    }
}

.experience-content-link:hover .experience-content {
    border-color: oklch(0.65 0.16 29 / 0.3);
    background-color: oklch(0.18 0 0 / 0.5);
}

.experience-content-link:hover .experience-title {
    color: var(--accent);
}

.experience-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .experience-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.experience-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.experience-period {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: oklch(0.95 0 0 / 0.6);
}

.experience-company {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1rem;
}

.experience-description {
    color: oklch(0.95 0 0 / 0.7);
    margin-bottom: 1rem;
}

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

.experience-skill {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    background-color: oklch(0.65 0.16 29 / 0.1);
    color: var(--accent);
}

/* ============================================
   BLOG SECTION
   ============================================ */

.blog-section {
    background-color: var(--background);
}

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

@media (min-width: 768px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

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

.blog-card {
    position: relative;
    border-radius: 0.5rem;
    background-color: oklch(0.18 0 0 / 0.2);
    border: 1px solid var(--border);
    padding: 1.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (min-width: 768px) {
    .blog-card {
        padding: 1.5rem;
    }
}

.blog-card-link:hover .blog-card {
    border-color: oklch(0.65 0.16 29 / 0.5);
    box-shadow: 0 10px 40px oklch(0.65 0.16 29 / 0.1);
}

.blog-card-link:hover .blog-title {
    color: var(--accent);
}

.blog-card-link:hover .blog-arrow {
    color: var(--accent);
    transform: translateX(0.25rem);
}

.blog-card-body {
    flex: 1;
}

.blog-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.blog-category.wordpress {
    background-color: oklch(0.577 0.245 27.325 / 0.1);
    color: oklch(0.577 0.245 27.325);
}

.blog-category.squarespace {
    background-color: oklch(0.6 0.118 184.704 / 0.1);
    color: oklch(0.6 0.118 184.704);
}

.blog-category.design {
    background-color: oklch(0.646 0.222 41.116 / 0.1);
    color: oklch(0.646 0.222 41.116);
}

.blog-category.accessibility {
    background-color: oklch(0.696 0.17 162.48 / 0.1);
    color: oklch(0.696 0.17 162.48);
}

.blog-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .blog-title {
        font-size: 1.25rem;
    }
}

/* Blog card full height utility */
.h-full {
    height: 100%;
}

.blog-excerpt {
    font-size: 0.875rem;
    color: oklch(0.95 0 0 / 0.7);
    margin-bottom: 1rem;
    line-height: 1.6;
}

@media (min-width: 768px) {
    .blog-excerpt {
        font-size: 1rem;
    }
}

.blog-meta {
    padding-top: 1rem;
    border-top: 1px solid oklch(0.18 0 0 / 0.5);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: oklch(0.95 0 0 / 0.6);
}

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

.blog-read-time {
    font-size: 0.75rem;
    color: oklch(0.95 0 0 / 0.6);
}

.blog-arrow {
    width: 1rem;
    height: 1rem;
    color: oklch(0.95 0 0 / 0.4);
    transition: all 0.3s ease;
}

/* Blog card full height utility - duplicate removed */

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

.site-footer {
    border-top: 1px solid var(--border);
    background-color: oklch(0.18 0 0 / 0.05);
    padding: 2rem 1rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .site-footer {
        padding: 3rem 2rem;
    }
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    max-width: var(--footer-max-width, 1280px);
    width: 100%;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-text {
    font-size: 0.875rem;
    color: oklch(0.95 0 0 / 0.6);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-2rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(2rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromBottom {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.7s ease forwards;
}

.animate-slide-left {
    animation: slideInFromLeft 0.7s ease forwards;
}

.animate-slide-right {
    animation: slideInFromRight 0.7s ease forwards;
}

.animate-slide-bottom {
    animation: slideInFromBottom 0.7s ease forwards;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */

.scroll-animate {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate.slide-left {
    transform: translateX(-2rem);
}

.scroll-animate.slide-left.is-visible {
    transform: translateX(0);
}

.scroll-animate.slide-right {
    transform: translateX(2rem);
}

.scroll-animate.slide-right.is-visible {
    transform: translateX(0);
}

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

@media (max-width: 767px) {
    .nav-links {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 8px;
    text-decoration: none;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.h-full {
    height: 100%;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

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

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-xs {
    font-size: 0.75rem;
}

.font-medium {
    font-weight: 500;
}

.font-semibold {
    font-weight: 600;
}

.rounded {
    border-radius: var(--radius);
}

.rounded-lg {
    border-radius: calc(var(--radius) + 4px);
}

.border {
    border: 1px solid var(--border);
}

.border-b {
    border-bottom: 1px solid var(--border);
}

.border-t {
    border-top: 1px solid var(--border);
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.pt-4 {
    padding-top: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.inline-block {
    display: inline-block;
}

.inline-flex {
    display: inline-flex;
}

/* ============================================
   SINGLE POST STYLES
   ============================================ */

.single-post {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

@media (min-width: 768px) {
    .single-post {
        padding: 4rem 2rem;
    }
}


.post-header {
    margin-bottom: 3rem;
}

.post-category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: var(--card);
    color: var(--accent);
    border: 1px solid oklch(0.65 0.16 29 / 0.2);
    margin-bottom: 1.5rem;
}

.post-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 3rem 0 3rem;
    border-bottom: 1px solid var(--border);
}

.post-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: oklch(0.95 0 0 / 0.6);
    font-size: 0.875rem;
}

.post-meta-item svg {
    flex-shrink: 0;
}

.post-content {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 4rem;
}

.post-content h2,
.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content h2 {
    font-size: 2rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

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

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.post-content pre {
    background-color: var(--card);
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.post-content code {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--accent);
}

.post-content blockquote {
    border-left: 4px solid var(--accent);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: oklch(0.95 0 0 / 0.8);
}

.post-footer {
    padding-top: 3rem;
    border-top: 1px solid var(--border);
}

/* Full-width footer for single posts */
.site-post-footer {
    background-color: oklch(0.18 0 0 / 0.05);
    border-top: 1px solid var(--border);
    padding: 3rem 1rem;
    margin-top: 4rem;
    width: 100%;
}

@media (min-width: 768px) {
    .site-post-footer {
        padding: 4rem 2rem;
    }
}

.site-post-footer-container {
    max-width: var(--single-post-max-width, 1120px);
    margin: 0 auto;
    width: 100%;
}

.post-author-section {
    padding: 1.5rem;
    background-color: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.post-author-section h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.post-author-section p {
    color: oklch(0.95 0 0 / 0.6);
    line-height: 1.6;
    margin: 0;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.post-tags strong {
    font-weight: 600;
    color: var(--foreground);
}

.tag-link {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-link:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--accent);
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 767px) {
    .post-navigation {
        flex-direction: column;
    }
}

.nav-previous,
.nav-next {
    flex: 1;
}

.nav-label {
    display: block;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.nav-title {
    font-size: 0.875rem;
    color: oklch(0.95 0 0 / 0.6);
    transition: color 0.3s ease;
}

.nav-previous a:hover .nav-title,
.nav-next a:hover .nav-title {
    color: var(--accent);
}

/* ============================================
   ARCHIVE PAGES
   ============================================ */

.archive-header {
    text-align: center;
    padding: 4rem 1rem 2rem;
}

.archive-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
}

.archive-description {
    font-size: 1.125rem;
    color: oklch(0.95 0 0 / 0.6);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--accent);
}

.pagination .current {
    background-color: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--accent);
}

/* ============================================
   PROJECTS & EXPERIENCE SINGLE
   ============================================ */

/* Back Button Styles */
.single-project-back,
.single-experience-back,
.single-post-back {
    max-width: 64rem;
    margin: 0 auto;
    padding: 2rem 1rem 2rem 0rem;
}

@media (min-width: 768px) {
    .single-project-back,
    .single-experience-back,
    .single-post-back {
        padding: 2rem 2rem 3rem 0rem;
    }
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.back-link svg {
    transition: transform 0.3s ease;
}

.back-link:hover {
    background-color: var(--back-button-hover-bg, #ffffff);
    color: var(--back-button-hover-text, #000000) !important;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.back-link:hover svg {
    transform: translateX(-0.25rem);
}

/* Single Project Styles */
.single-project-hero-image {
    width: 100%;
    height: 24rem;
    position: relative;
    margin-bottom: 3rem;
    overflow: hidden;
    border-radius: 0.5rem;
}

.single-project-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-project-content {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem 5rem;
}

@media (min-width: 768px) {
    .single-project-content {
        padding: 0 2rem 5rem;
    }
}

.single-project-header-content {
    margin-bottom: 3rem;
}

.single-project-categories {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.project-category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: var(--card);
    color: var(--accent);
    border: 1px solid oklch(0.65 0.16 29 / 0.2);
}

.project-date-badge {
    font-size: 0.875rem;
    color: oklch(0.95 0 0 / 0.6);
}

.single-project-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--foreground);
}

.single-project-description {
    font-size: 1.25rem;
    color: oklch(0.95 0 0 / 0.6);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.single-project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.project-url-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent);
    color: var(--accent-foreground);
    border-radius: var(--radius);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-url-btn:hover {
    background-color: oklch(0.65 0.16 29 / 0.9);
    transform: translateY(-2px);
}

.project-url-btn-secondary {
    background-color: transparent;
    border: 1px solid oklch(0.65 0.16 29 / 0.3);
    color: var(--accent);
}

.project-url-btn-secondary:hover {
    background-color: var(--card);
}

.single-project-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .single-project-info-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.project-info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.875rem;
    color: oklch(0.95 0 0 / 0.6);
    margin-bottom: 0.25rem;
}

.info-value {
    font-weight: 600;
    color: var(--foreground);
}

.info-duration {
    display: block;
    font-size: 0.75rem;
    color: oklch(0.95 0 0 / 0.6);
}

.project-challenge-solution {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .project-challenge-solution {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-challenge h2,
.project-solution h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-challenge p,
.project-solution p {
    color: oklch(0.95 0 0 / 0.6);
    line-height: 1.6;
}

.project-results {
    margin-bottom: 3rem;
}

.project-results h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.results-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.result-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.result-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--accent);
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.result-item p {
    color: oklch(0.95 0 0 / 0.6);
    margin: 0;
}

/* Single Experience Styles */
.single-experience-content {
    max-width: 64rem;
    margin: 0 auto;
    padding: 4rem 1rem 5rem;
}

@media (min-width: 768px) {
    .single-experience-content {
        padding: 4rem 2rem 5rem;
    }
}

.single-experience-header-section {
    margin-bottom: 3rem;
}

.single-experience-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.single-experience-company {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.experience-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .experience-info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.experience-info-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.info-icon {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.experience-description-text {
    font-size: 1.125rem;
    color: oklch(0.95 0 0 / 0.6);
    line-height: 1.6;
}

.experience-section {
    margin-bottom: 3rem;
}

.experience-section h2 {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
}

.responsibilities-list,
.achievements-grid,
.skills-developed-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.responsibility-item,
.achievement-item,
.skill-developed-item {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background-color: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.responsibility-dot,
.achievement-dot,
.skill-developed-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--accent);
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.responsibility-item p,
.achievement-item p {
    color: oklch(0.95 0 0 / 0.6);
    margin: 0;
}

.skill-developed-item p {
    font-weight: 500;
    margin: 0;
}

.achievements-grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 768px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.skills-developed-grid {
    display: grid;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .skills-developed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.experience-impact-section {
    padding: 1.5rem;
    background-color: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.experience-impact-section h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.experience-impact-section p {
    color: oklch(0.95 0 0 / 0.6);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Legacy styles for backward compatibility */
.single-project-header,
.single-experience-header {
    text-align: center;
    padding: 4rem 1rem;
    background-color: oklch(0.18 0 0 / 0.1);
    margin-bottom: 2rem;
}

.single-project-meta,
.single-experience-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: oklch(0.95 0 0 / 0.7);
}

.meta-label {
    font-weight: 600;
    color: var(--accent);
}

.project-url-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--accent);
    color: var(--accent-foreground);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.project-url-btn:hover {
    background-color: oklch(0.65 0.16 29 / 0.9);
    transform: translateY(-2px);
}

/* ============================================
   EXPERIENCE NAVIGATION
   ============================================ */

.experience-navigation {
    max-width: 64rem;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

@media (min-width: 768px) {
    .experience-navigation {
        padding: 2rem 2rem;
    }
}

@media (max-width: 767px) {
    .experience-navigation {
        flex-direction: column;
    }
}

.experience-navigation .nav-previous,
.experience-navigation .nav-next {
    flex: 1;
}

.experience-navigation .nav-label {
    display: block;
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.experience-navigation .nav-title {
    font-size: 0.875rem;
    color: oklch(0.95 0 0 / 0.6);
    transition: color 0.3s ease;
}

.experience-navigation a:hover .nav-title {
    color: var(--accent);
}

/* Back to Archive Button */
.back-to-archive {
    max-width: 64rem;
    margin: 0 auto;
    padding: 1rem 1rem 4rem;
    text-align: center;
	display: flex;
}

@media (min-width: 768px) {
    .back-to-archive {
        padding: 1rem 2rem 4rem;
    }
}

.back-to-archive .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   SKILL TAGS
   ============================================ */

.skill-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    background-color: oklch(0.65 0.16 29 / 0.1);
    color: var(--accent);
}
