/* 1. GLOBAL COLORS & OVERRIDES */
:root {
    /* We use !important to scream at Pico to use OUR blue */
    --primary: #1877F2 !important;
    --primary-hover: #166fe5 !important;
    --primary-focus: rgba(24, 119, 242, 0.125) !important;
    --primary-inverse: #fff !important;
}

/* Force specific link styling */
a {
    color: var(--primary) !important;
    text-decoration: none;
}

a:hover {
    color: var(--primary-hover) !important;
    text-decoration: underline;
}

/* 2. HERO LAYOUT (Centered & Clean) */
.hero-split {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    max-width: 720px;
    margin: 0 auto;
    padding: 2rem;
}

/* Redacted Effect */
.redacted {
    background-color: black;
    color: black;
    padding: 0 4px;
    border-radius: 2px;
    user-select: none;
    transition: color 0.2s ease-in, background-color 0.2s;
    cursor: help;
}

.redacted:hover,
.redacted:active {
    color: white;
    background-color: #222;
}

/* 3. TERMINAL LIST STYLE */
.hero-thoughts {
    margin-top: 3rem;
    width: 100%;
}

ul.clean-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    /* The Monospace Stack for that hacker feel */
    font-family: 'Menlo', 'Consolas', 'Monaco', monospace; 
}

ul.clean-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: baseline;
    font-size: 1rem;
}

/* The Prompt Symbol (>) */
ul.clean-list li::before {
    content: ">";
    color: #ccc; /* Light grey prompt */
    margin-right: 12px;
    font-weight: bold;
}

/* The Date */
ul.clean-list li small {
    color: #888;
    margin-right: 1.5rem;
    font-size: 0.85em;
    min-width: 90px; /* Aligns the titles evenly */
}

/* The Link */
ul.clean-list li a {
    font-weight: normal; 
    color: var(--primary) !important; /* Ensures Blue is applied here too */
    border-bottom: 1px solid transparent; 
}

ul.clean-list li a:hover {
    text-decoration: none;
    border-bottom: 1px solid var(--primary); /* Subtle underline style */
}

/* 4. HERO LINKS (Mail / LinkedIn) */
.hero-links {
    margin-top: 2rem;
    font-family: monospace;
}
.hero-links a {
    margin-right: 1rem;
    font-weight: bold;
}


/* REDACTED TEXT EFFECT */
.redacted {
    background-color: black;
    color: black;
    padding: 0 4px; /* Adds a little breathing room so the black bar looks solid */
    border-radius: 2px;
    
    /* 1. Prevent the user from selecting/highlighting the text */
    -webkit-user-select: none; /* Safari */
    user-select: none;
    
    /* 2. Smooth transition for the reveal */
    transition: color 0.2s ease-in, background-color 0.2s;
    cursor: help; /* Shows a '?' cursor on desktop */
}

/* DESKTOP: Reveal on Hover */
.redacted:hover {
    color: white; /* High contrast text */
    background-color: #222; /* Slightly lighter background so it looks like a terminal block */
}

/* MOBILE: Reveal on Press (Active State) */
.redacted:active {
    color: white;
    background-color: #222;
}

/* OVERRIDE PICO DEFAULTS
   This forces <main> to be edge-to-edge on the homepage 
*/
main.is-home {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100%;
    margin: 0;
}

/* SINGLE COLUMN HERO LAYOUT */
.hero-split {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    align-items: flex-start; /* Aligns text to the left */
    min-height: 100vh; /* Forces the section to be full screen height */
    max-width: 720px; /* Limits width for optimal reading line length */
    margin: 0 auto; /* Centers the block horizontally */
    padding: 2rem;
}

/* Make the text feel bigger and bolder since it's the star now */
.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.25rem;
    line-height: 1.6;
}





/* TEXT SIDE 
*/
.hero-content {
    display: flex;
    /* Adds padding so text doesn't hit the screen edge */
    padding: 2rem;
}

/* On larger screens, add more padding for the original look */
@media (min-width: 1200px) {
    .hero-content {
        padding: 6rem;
    }
}


/* IMAGE SIDE 
*/
.hero-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-image-container img {
    /* Forces the image to cover the entire container without distorting */
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
    /* Optional: removes rounded corners Pico might add */
    border-radius: 0; 
}


/* Hero Links Styling */
.hero-links {
    margin-top: 2rem;
    font-family: monospace;
}
.hero-links a {
    text-decoration: none;
    color: var(--primary);
    margin-right: 0.5rem;
}


/* Styles for the 'Thoughts' list */
.hero-thoughts {
    margin-top: 3rem;
    border-top: 1px solid var(--muted-border-color); /* Subtle separator */
    padding-top: 1.5rem;
}

.hero-thoughts h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* VARIATION A: The Terminal List */
ul.clean-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    font-family: 'Menlo', 'Consolas', 'Monaco', monospace; /* Monospace font stack */
}

ul.clean-list li {
    margin-bottom: 0.8rem;
    display: flex; /* Aligns the date and text nicely */
    align-items: baseline;
}

/* The "Prompt" Symbol */
ul.clean-list li::before {
    content: ">";
    color: #ccc;
    margin-right: 10px;
    font-weight: bold;
}

ul.clean-list li small {
    color: #888;
    margin-right: 1rem;
    font-size: 0.9em;
}

ul.clean-list li a {
    font-weight: normal; /* Terminal text is usually uniform weight */
    border-bottom: 1px solid transparent; /* Prepare for hover effect */
}

ul.clean-list li a:hover {
    text-decoration: none;
    border-bottom: 1px solid var(--primary); /* subtle underline on hover */
}