/* ==========================================
   1. MAIN LAYOUT COMPONENTS
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
}

body {
    font-family: "Atkinson Hyperlegible", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    background-color: #DDDDDD;
    color: black;
    overflow-y: scroll;
    height: 400px; /* Must have a fixed height for internal scrolling */
    /* background: linear-gradient(135deg, #D3D3D3 0%, #DDDDDD 100%);
    min-height: 100vh; */
}

.site-wrapper {
    display: grid;
    min-height: 100vh;
    
    grid-template-columns: 1fr minmax(300px, 1200px) 1fr;
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas: 
        "header header header"
        "nav    nav    nav"
        ".      main   ."
        "footer footer footer";
}

.content-body {
    grid-area: main;
    padding: 20px;
    margin-top: 20px;
    max-width:1200px;
    
}

.menu-toggle {
    display: none; /* ALWAYS HIDDEN ON DESKTOP */
}

.solid-black-line {
  /* Removes the default 3D shaded border */
  border: none;
  /* Sets the height/thickness of the line */
  height: 2px;
  /* Sets the color */
  background: black;
  /* Ensures it stretches across the container */
  width: 100%;
  /* Optional: adds space above and below the line */
  margin: 20px 0;
}

/* ==========================================
   2. HEADER & NAVIGATION (Instant-Snap Logic)
   ========================================== */

.site-header {
    grid-area: header;
    background-color: #DDDDDD;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* High-speed transitions */
    transition: height 0.01s ease-out, opacity 0.01s ease-out;
}

.site-title {
    text-decoration: none;
    color: black;
    transition: transform 0.15s ease-out;
    display: block; 
    width: 100%; 
    text-align: center;
    max-width: 900px;
}

/* New CSS to handle the image title */
.site-title img {
    /* Adjust this width to change the size of your title image */
    width: 300px; 
    
    height: auto;
    display: inline-block; /* Works with the parent's text-align: center */
    vertical-align: middle;
    
    /* Ensures the image doesn't overflow the 100px header height */
    max-height: 80px; 
    object-fit: contain;
}

.site-title h1 {
    font-size: 32px;
    margin: 0;
    
}

.top-nav {
    grid-area: nav;
    background-color: #DDDDDD;
    position: sticky;
    top: 100px; /* Anchored to header height */
    z-index: 1000;
    /* padding: 5px 0; */
    transition: top 0.15s ease-out, padding 0.15s ease-out;
}

/* --- Scrolled State: The Thin Box --- */

.is-scrolled .site-header {
    height: 0;
    opacity: 0;
    pointer-events: none;
}

.is-scrolled .top-nav {
    top: 0;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* --- Navigation Links (Hover & Selection) --- */

.top-nav ul {
    list-style: none;
    text-align: center;
}

.top-nav ul li {
    display: inline-block;
    margin: 0 15px;
}

.top-nav a {
    color: black;
    text-decoration: none;
    font-family: "Atkinson Hyperlegible", sans-serif;
    font-weight: 400;
    font-size: 16px;
    text-transform: uppercase; /* Requested transform */
    transition: color 0.2s ease;
}

/* Hover & Active States */
.top-nav a:hover, 
.top-nav a.active {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

/* ==========================================
   3. FOOTER
   ========================================== */
.site-footer {
    grid-area: footer;
    text-align: center;
    padding: 20px 0;
}

.footer-nav { margin-top: 10px; }
.footer-nav a { color: black; text-decoration: none; margin: 0 10px; }
.footer-nav a:hover { text-decoration: underline; }


/* ==========================================
   MOBILE OPTIMIZATION (iPhone 16)
   ========================================== */
@media (max-width: 768px) {
    .site-header {
        position: relative; /* Header scrolls off on mobile to save space */
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 1px;
        background: #C0C0C0;
        border: 1px solid black;
        padding: 8px 15px;
        margin: 10px 20px;
        cursor: pointer;
        border-radius: 4px;
        font-family: "Oswald", sans-serif;
        text-transform: uppercase;
    }

    .hamburger-icon {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .bar {
        display: block;
        width: 20px;
        height: 2px;
        background: black;
    }

    .top-nav {
        position: sticky;
        top: 0; /* Nav remains sticky on mobile */
    }

    .top-nav ul {
        display: none; 
        padding: 0;
        margin-top: 10px;
    }

    .top-nav ul.open {
        display: block;
    }

    .top-nav ul li { display: block; margin: 0; }
    .top-nav a {
        display: block;
        padding: 12px;
        margin: 0 20px;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        text-align: center;
    }

    .top-nav a.active {
        font-weight: bold;
        border-bottom: 2px solid black;
    }

    .footer-nav a {
        display: block;
        padding: 10px;
        margin: 5px 20px;
        border-bottom: 1px solid rgba(0,0,0,0.1);
    }

    .heading-line { font-size: 1.2rem; }
    .heading-line::after { margin-left: 10px; height: 1px; }
}



/* ==========================================
   Index Page
   ========================================== */

.hero-section {
    /* Background and Shape */
    background-color: #dddddd;
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 40px auto;
}

.content-body h1.hero-headline {
    font-family: "Atkinson Hyperlegible Next", sans-serif; 
    font-weight: 700;
    margin-top:5px; 
    margin-bottom: 10px; 
    font-size:64px;
    text-align:center; 
    text-transform: uppercase; 
    padding-inline: 20px;}

.content-body h2.hero-statement { 
    font-family: "Oswald", sans-serif; 
    font-weight: 400; 
    font-size:42px; 
    text-align: center; 
    max-width: 800px;
    margin-inline: auto; 
    padding-inline: 20px;
}

/* ==========================================
   About Page
   ========================================== */


:root {
    /* Easily control the hero image size here */
    --hero-img-width: 800px; 
}

.about-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    width: 100%;
}

.hero-text-medium {
    max-width: 800px;
    margin-bottom: 32px;
}

.tagline {
    font-family: "Oswald", sans-serif; 
    font-weight: 400;
    font-size: 42px; /* H2 standard */
    line-height: 1.2;
    color: black;
}

.hero-image-centered {
    width: 100%;
    display: flex;
    justify-content: center;
    
}

.hero-image-centered img {
    width: var(--hero-img-width);
    max-width: 100%; /* Ensures responsiveness on smaller screens */
    height: auto;
    border-radius: 8px; /* Optional: matches your bento-card aesthetic */
    object-fit: cover;
    -webkit-box-shadow: 5px 5px 10px 0px #4d4d4d4d; 
    box-shadow: 5px 5px 10px 0px #4d4d4d4d;
    mix-blend-mode: multiply;
}

.about-backstory h2,
.philosophy-section h2, 
.Interest_Heading,
.contact-section h2 {
    text-align: center;
    width: 100%;
    margin: 60px 0 30px 0;
    font-family: 'Oswald', sans-serif;
    font-size: 38px;
    text-transform: uppercase;
    
}

.backstory-content p,
.philosophy-content p {
    text-align: left;
    max-width: 650px; 
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 1.5rem;
    font-size: 20px; /* Adjusted for better flow */
}

.contact-method p {
    text-align: center;
    max-width: 650px; 
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 1.5rem;
    font-size: 20px; /* Adjusted for better flow */
}

/* STAGGERED GALLERY */
.staggered-gallery {
    display: flex;
    flex-wrap: wrap; /* Allows items to wrap if needed */
    justify-content: center;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px; /* Prevents edge-clipping on small screens */
}

.gallery-item {
    flex: 0 0 200px;
    height: 300px;
    position: relative;
    /* Use margin on both sides to keep the group centered */
    margin: 0 -20px; 
    
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 3px solid #D3D3D3;
    border-radius: 10px;
    -webkit-box-shadow: 5px 5px 10px 0px #4d4d4d4d; 
    box-shadow: 5px 5px 10px 0px #4d4d4d4d;
    mix-blend-mode: multiply;
}

/* Desktop Staggering */
.item-top { transform: translateY(-20px); }
.item-bottom { transform: translateY(20px); }


/* INTEREST CARDS */
.about-container {
    max-width: 800px;
    margin: 0 auto;
}

.about-card {
    background: #ffffff;
    border: 1px solid #d3d3d3;
    padding: 20px;
    margin-bottom: 12px;
    display: flex;
    gap: 15px;
    border-radius: 10px;
}

.card-content h3{
font-family: 'Atkinson Hyperlegible Next', sans-serif;
font-size: 32px;
}

.card-content p{
font-family: 'Atkinson Hyperlegible Next', sans-serif;
font-size:18px;
}


/* CONTACT SECTION */
.contact-section {
    width: 100%;
    max-width: 800px;
    margin: 60px auto;
    padding: 40px 20px;
    text-align: center;
    background: rgba(135, 206, 235, 0.15); 
    backdrop-filter: blur(8px);
    -webkit-box-shadow: 5px 5px 10px 0px #4d4d4d4d; 
    box-shadow: 5px 5px 10px 0px #4d4d4d4d;
    mix-blend-mode: multiply;
}

.content-body-about {
    grid-area: main;
    padding: 20px;
    margin-top: 20px;
    max-width:1200px;
    
}

.current-info {
  display: flex;
  justify-content: center; /* Horizontal */
  align-items: center;     /* Vertical */
  min-height: 100vh;       /* Sets container to 100% of the viewport height */
}


.info-image {
 display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 900px;
  width: 100%;
  -webkit-box-shadow: 5px 5px 10px 0px #4d4d4d4d; 
    box-shadow: 5px 5px 10px 0px #4d4d4d4d;
    mix-blend-mode: multiply;
}


/* iPhone 16 / Mobile Optimization */
@media (max-width: 430px) {
    .tagline {
        font-size: 32px; /* Scales down H2 for mobile readability */
    }
    
    .about-hero {
        padding: 20px 10px;
    }

    :root {
        /* Adjusts image size for smaller mobile viewports */
        --hero-img-width: 100%; 
    }

    .staggered-gallery {
        flex-direction: column;
        align-items: center;
    }

    .gallery-item {
        margin: 10px 0; /* Adds vertical spacing instead of overlap */
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px; /* Keeps images from getting too huge on mobile */
    }

    /* Reset the staggering for mobile so they align straight */
    .item-top, .item-bottom {
        transform: translateY(0);
    }


/* Desktop Optimization */
@media (min-width: 768px) {
    .about-hero {
        flex-direction: row; /* Switch to side-by-side */
    }
    
    .hero-text-side {
        justify-content: flex-end; /* Pulls text flush against the image */
        padding-right: 2rem; 
    }
}

}


/* ==========================================
    Work Page
   ========================================== */


.work-intro {
    /* Ensures the section doesn't exceed 900px and stays centered */
    max-width: 900px;
    margin: 0 auto;
    margin-top:20px;
    padding: 20px; /* Vertical spacing and mobile side gutter */
    text-align: left;
}

.intro-text {
    font-family: "Atkinson Hyperlegible Next", sans-serif;
    font-weight: 400;
    font-size: 18px; /* Minimum Body Text per spec */
    line-height: 1.6;
    color: black;
}

.intro-text strong {
    font-weight: 700;
}



.feature-split {
    width: 100%;
    max-width: 1200px;
    margin: 40px auto; /* Centered on page */
    padding: 0 20px;
}

.feature-container {
    display: grid;
    /* Mobile-first: single column stack */
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.heading-h2 {
    font-family: "Atkinson Hyperlegible Next", sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 16px;
    color: black;
    text-align: right;
}

.feature-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.square-image {
    width: 100%;
    aspect-ratio: 1 / 1; /* Ensures square proportions */
    object-fit: cover;
    border: 1px solid black;
    border-radius: 4px;
    -webkit-box-shadow: 5px 5px 10px 0px #4d4d4d4d; 
    box-shadow: 5px 5px 10px 0px #4d4d4d4d;
    mix-blend-mode: multiply;
}

/* Tablet and Desktop Layout (iPhone 16 Landscape & Up) */
@media (min-width: 768px) {
    .feature-container {
        grid-template-columns: 1fr 1fr; /* Two equal columns */
        gap: 60px;
    }

    .feature-text {
        text-align: left;
    }
}



.hero-header-section {
    width: 100%;
    max-width: 1200px; /* Matches your bento-grid and feature section max-width */
    margin: 20px auto; /* Centered on the page with vertical breathing room */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.heading-h1-centered {
    font-family: "Atkinson Hyperlegible Next", sans-serif;
    font-weight: 700;
    font-size: 42px; /* Per your organizational standards */
    line-height: 1.1;
    color: black;
    margin: 0;
    text-transform: uppercase;
    text-align: center;
}




.philosophy-quote-section {
    width: 100%;
    /* Constrained to 800px as requested */
    max-width: 900px; 
    margin: 80px auto; 
    padding: 0 20px;
    display: flex;
    justify-content: center;
}

.philosophy-quote {
    font-family: "Atkinson Hyperlegible Next", sans-serif;
    font-weight: 400;
    /* Using 32px (H3 size) for impact as a pull-quote */
    font-size: 32px; 
    line-height: 1.4;
    text-align: center;
    color: black;
    font-style: italic;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    padding: 40px 0;
    margin: 0;
}



.expertise-container {
    width: 100%;
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

/* Header Logic */
.expertise-header {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
}

.expertise-header::before,
.expertise-header::after {
    content: "";
    flex: 1;
    border-bottom: 2px solid black;
}

.expertise-header::before { margin-right: 20px; }
.expertise-header::after { margin-left: 20px; }

.expertise-title {
    font-family: "Atkinson Hyperlegible Next", sans-serif;
    font-weight: 700;
    font-size: 42px; /* H2 standard */
    color: black;
    margin: 0;
    white-space: nowrap;
}

/* Grid Logic */
.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.expertise-h3 {
    font-family: "Oswald", sans-serif;
    font-weight: 400;
    font-size: 32px; /* H3 standard */
    line-height: 1.2;
    margin-bottom: 16px;
}

.expertise-description {
    font-family: "Atkinson Hyperlegible Next", sans-serif;
    font-weight: 400;
    font-size: 18px; /* Minimum standard */
    line-height: 1.6;
    color: black;
}

/* Container Logic */
.software-skills-section {
    grid-column: 1 / -1;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 40px;
    box-sizing: border-box;
}

/* Header Logic */
.tools-header {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.tools-header::before,
.tools-header::after {
    content: "";
    flex: 1;
    border-bottom: 2px solid black;
}

.tools-header::before { margin-right: 20px; }
.tools-header::after { margin-left: 20px; }

.tools-title {
    font-family: "Atkinson Hyperlegible Next", sans-serif;
    font-weight: 700;
    font-size: 42px;
    color: black;
    margin: 0;
    white-space: nowrap;
}

/* Description Text */
.software-description {
    font-family: "Atkinson Hyperlegible Next", sans-serif;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    max-width: 800px;
    line-height: 24px;
    font-size: 18px;
    color: black;
    text-align: left;
}

/* The Grid */
.software-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
}

.software-grid div {
    font-family: "Atkinson Hyperlegible Next", sans-serif;
    padding: 12px;
    border: 1px solid #cccccc;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    min-height: 40px;
    color: black;
}

/* Responsive Scaling */
@media (max-width: 1024px) {
    .software-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tools-title {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .software-grid {
        grid-template-columns: 1fr;
    }
    .tools-title {
        font-size: 24px;
        white-space: normal;
    }
}

/* Desktop and Tablet Layout */
@media (min-width: 850px) {
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
}

/* iPhone 16 Optimization */
@media (max-width: 402px) {
    .expertise-title {
        font-size: 28px;
    }
    
    .expertise-h3 {
        font-size: 26px;
    }

    .expertise-header {
        margin-bottom: 40px;
    }

    .philosophy-quote {
        /* Scaling down to H4 size for mobile viewports */
        font-size: 24px;
        padding: 30px 0;
    }
    
    .philosophy-quote-section {
        margin: 50px auto;
    }

     .heading-h1-centered {
        /* Slightly scaled for mobile to prevent single-character line breaks */
        font-size: 48px;
    }
    
    .hero-header-section {
        margin: 40px auto;
    }

    .heading-h2 {
        font-size: 36px; /* Slightly scaled for small screens to prevent awkward breaks */
    }

    .work-intro {
        padding: 20px 15px;
    }
    
    .intro-text {
        font-size: 18px; /* Maintaining readability on small screens */
    }

}


/* ==========================================
    Codex Page
   ========================================== */


.codex-header h1 {text-align: Center;}

/* --- Page-Specific Elements: 5-Column Centered Grid (No Borders) --- */

.labeled-flex-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centers the final 3 items */
    gap: 24px; /* Increased gap to account for blur/shadow space */
    padding: 20px 0;
    margin: 2rem 0;
    width: 100%;
}

.grid-card {
    text-decoration: none;
    color: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Calculated for 5 columns including gap */
    width: calc(20% - 20px); 
    transition: transform 0.3s ease;
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: transparent; /* Changed from #D3D3D3 to show PNG transparency */
    border: none;
    overflow: visible; /* Changed to visible so the shadow isn't clipped */
    margin-bottom: 12px;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 'contain' is usually better for shaped PNGs than 'cover' */
    display: block;
    
    /* The magic for transparent PNGs */
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
    
    transition: filter 0.3s ease;
}

/* --- Hover Effect for PNGs --- */
.grid-card:hover img {
    /* Blue glow that follows the PNG shape */
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.25););
}

.card-label {
    font-family: "Oswald", sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

/* --- Hover Effects --- */

.grid-card:hover {
    transform: translateY(-8px); /* Lift effect */
}

.grid-card:hover .card-image-wrapper {
    /* Intensify the blur/glow on hover */
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.35);
}

.grid-card:hover .card-label {
    color: #333;
}

/* --- iPhone 16 Mobile Optimization --- */
@media (max-width: 430px) {
    .grid-card {
        width: calc(50% - 12px); /* 2 columns on mobile */
    }
    .labeled-flex-grid {
        gap: 15px;
    }
}



/* ==========================================
    Blog Post
   ========================================== */

.blog-post {
    line-height: 30px; /* Equivalent to 1.8 */
    color: black;
    max-width: 600px; /* Equivalent to roughly 70ch for standard fonts */
    margin: 0 auto;
}

/* Typography */
.blog-post h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: -0.32px;
    text-align: center;
}

.blog-post p {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 18px;
    margin-bottom: 24px;
}

/* Headers within the content */
.blog-post h2, 
.blog-post h3 {
    font-family: 'Oswald', sans-serif;
    margin-top: 40px;
    margin-bottom: 16px;
    color: #333;
}

.blog-post h2 { 
    font-size: 32px; 
    border-bottom: 1px solid #eee; 
    padding-bottom: 5px; 
}

.blog-post h3 { 
    font-size: 22px; 
}

.content-body .blog-post .post-subheading{
    text-transform: uppercase;
    font-size: 24px;
    color: #333;
    margin-bottom: 4px;
    letter-spacing: 1px;
    font-family: 'Oswald', sans-serif;
    text-align:start;
}

/* Lists */
.blog-post ul, 
.blog-post ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.blog-post li {
    margin-bottom: 8px;
}

/* Blockquotes */
.blog-post blockquote {
    margin: 32px 0;
    padding: 8px 24px;
    border-left: 4px solid #000;
    font-style: italic;
    background-color: #f9f9f9;
}

/* Images within posts */
.blog-post img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 32px auto;
    border-radius: 4px;
}

/* Code blocks */
.blog-post pre {
    background: #f4f4f4;
    padding: 16px;
    overflow-x: auto;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 24px;
}

.blog-post code {
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    font-size: 16px;
    background: #f4f4f4;
    padding: 3px 6px;
}

/* Links within the body */
.blog-post a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.blog-post a:hover {
    background-color: #000;
    color: #fff;
    text-decoration: none;
}


.post-nav {
    display: flex;
    justify-content: space-between; /* Pushes content to the edges */
    align-items: center;
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
    color: #333;
    margin-bottom: 32px;
    font-size: 16px;
}

.post-nav a {
    color: #000;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.post-nav a:hover {
    background-color: #000;
    color: #fff;
    text-decoration: none;
}

.nav-right a {
    margin-left: 15px; /* Spacing between Prev and Next links */
}


/* ==========================================
    Writing Page
   ========================================== */
    
   .writing-header-section {
    width: 100%;
    max-width: 800px; /* Matches your bento-grid and feature section max-width */
    margin: 20px auto; /* Centered on the page with vertical breathing room */
    display: flex;
    padding: 0 20px;
}

   .writing-h2-left {
    font-family: "Atkinson Hyperlegible Next", sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.1;
    color: black;
    margin: 0;
    text-transform: uppercase;
}

/* Section Constraints */
.blog-list-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.blog-main-heading {
    font-size: 28px;
    margin-bottom: 0px; 
    padding-bottom: 15px;
    color: #000;
    border-bottom: 2px solid #000; 
    font-family: 'Oswald', sans-serif;
}

/* List Reset */
.blog-item-container {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Row Styling */
.blog-list-item {
    border-bottom: 1px solid #dddddd;
}

.blog-list-item:last-child {
    border-bottom: none; /* Prevents double lines with the footer */
}

.blog-link {
    text-decoration: none;
    color: inherit;
    display: block; 
    transition: background-color 0.2s ease;
}

.blog-link:hover {
    background-color: #f5f5f5;
}

/* Flex Layout for Article */
.blog-article {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensures items use full width */
    padding: 12px 8px;
    gap: 20px;
}

/* The ID (Left) */
.blog-title {
    margin: 0;
    flex: 0 0 80px; 
    font-size: 24px;
    color: #333;
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
}

/* The Excerpt (Middle) */
.blog-excerpt {
    margin: 0;
    flex: 1; /* This pushes the date to the far right */
    font-size: 20px;
    color: black;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left; /* Text starts after the ID */
    font-family: 'Atkinson Hyperlegible Next', sans-serif;
}

/* The Date (Far Right) */
.blog-subtitle {
    margin: 0;
    flex: 0 0 120px; 
    font-size: 16px;
    color: black;
    font-weight: normal;
    text-transform: uppercase;
    text-align: right; /* Aligns text to the right edge */
}

/* Footer Styling */
.blog-footer {
    margin-top: 30px; 
    padding-bottom: 20px;
    text-align: start;
    border-bottom: 2px solid #000; 
}

.blog-footer-2 {
    margin-top: 30px; 
    padding-bottom: 20px;
    text-align: center;
    font-weight: 400;
}

.view-more-link {
    font-size: 24px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Oswald', sans-serif;
}

.view-more-link:hover {
    text-decoration: underline;
}