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

body {
    font-family: 'franklin-gothic-urw', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    background-image: url('https://s3.amazonaws.com/snwceomedia/pri/bc4545d8-211e-45c3-aa2a-984e00a7e762.original.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.hero-title {
    font-family: 'freight-big-pro', Georgia, serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: #fff;
    text-align: center;
    max-width: 900px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Editor's Note Section */
.editors-note {
    padding: 100px 0;
    background-color: #fafafa;
}

.section-title {
    font-family: 'freight-big-pro', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

.note-content {
    max-width: 750px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.note-content p {
    margin-bottom: 24px;
}

.note-content p:first-of-type {
    font-size: 1.3rem;
    font-weight: 500;
    color: #222;
}

/* Articles Section */
.articles-section {
    padding: 100px 0;
    background-color: #fff;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.articles-grid.three-col-small {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Allow a card to span two columns when needed */
.articles-grid .article-card.wide {
    grid-column: span 2;
}

.article-card {
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e5e5;
    cursor: pointer;
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.article-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('https://snworksceo.imgix.net/pri/1cae07b2-8290-4c21-9751-7133a284cf98.sized-1000x1000.jpg?w=1000');
    background-size: cover;
    background-position: center;
}

.article-card:nth-child(2) .article-image {
    background-image: url('https://snworksceo.imgix.net/pri/6512eea2-8cbd-456f-b8a7-6e2c0a3c7493.sized-1000x1000.jpg?w=1000');
}

.article-card:nth-child(3) .article-image {
    background-image: url('https://images.unsplash.com/photo-1579952363873-27f3bade9f55?w=600&h=400&fit=crop');
}

.article-card.small .article-image {
    height: 180px;
}

.article-content {
    padding: 25px;
}

/* Make grid items equal-height within a row.
   Use flex layout on each card so the content area can stretch
   to match the tallest card in the same grid row. */
.articles-grid > .article-card,
.articles-grid > .article-card.small,
.recaps-grid > .recap-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.article-card .article-image,
.article-card.small .article-image,
.recap-card .recap-image {
    flex: 0 0 auto;
}

.article-card .article-content,
.recap-card .recap-content {
    flex: 1 1 auto;
    min-height: 0;
}

.article-title {
    font-family: 'freight-big-pro', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1a1a1a;
    line-height: 1.3;
}

.article-card.small .article-title {
    font-size: 1.2rem;
}

.article-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* Feature Highlight Section */
.feature-highlight {
    /* background: #1a1a1a; */
    color: #fff;
    padding: 60px 40px;
    border-radius: 2px;
    margin: 80px 0;
    text-align: center;
   
    background-repeat: no-repeat;
   

    
}

.feature-highlight {
    color: rgb(255, 255, 255);
    padding: 80px 40px;              /* a bit more vertical space */
    border-radius: 2px;
    margin: 80px 0;
    text-align: center;
    text-shadow: rgb(0, 0, 0) 0px 0px 10px;

    /* FULL ROW WITH RESPONSIVE WIDTH */
    width: 100%;            
    
    /* BACKGROUND IMAGE BEHAVIOR */
    background-image: url('./Resize from Daily Princetonian.png');
    background-repeat: no-repeat;
    background-size: cover;          /* no squish, cover the whole area */
    background-position: center;     /* center the image */
}

/* different background image for second one */
.second-highlight {
    background-image: url('./second feature image.jpg');
}

.second-highlight {
    min-height: 600px;        /* adjust to your liking */
    padding: 120px 40px;      /* override the default padding */
}

/* Overlay */
.feature-highlight::before {
    content: "";
    position: absolute;
    inset: 0;                            /* top:0; right:0; bottom:0; left:0 */

    background: rgba(0,0,0,0.4);        /* adjust opacity: 0.3–0.6 is typical */
    backdrop-filter: brightness(0.8);    /* optional: makes text even cleaner */
    z-index: 1;
}

/* Ensure text stays above the overlay */
.feature-highlight > * {
    position: relative;
    z-index: 2;
}


.feature-title {
    font-family: 'freight-big-pro', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.feature-description {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    color: white;
    text-shadow: black 0px 0px 10px;
}

/* Big Recaps Section */
.big-recaps-section {
    padding: 100px 0;
    background-color: #fafafa;
}

.recaps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.recap-card {
    background: #fff;
    border-radius: 2px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e5e5e5;
    cursor: pointer;
    height: 100%;
}

.recap-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.recap-image {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    background-image: url('https://images.unsplash.com/photo-1489944440615-453fc2b6a9a9?w=700&h=450&fit=crop');
    background-size: cover;
    background-position: center;
}

.recap-card:nth-child(2) .recap-image {
    background-image: url('https://images.unsplash.com/photo-1543326727-cf6c39e8f84c?w=700&h=450&fit=crop');
}

.recap-card:nth-child(3) .recap-image {
    background-image: url('https://images.unsplash.com/photo-1459865264687-595d652de67e?w=700&h=450&fit=crop');
}

.recap-content {
    padding: 30px;
}

.recap-title {
    font-family: 'freight-big-pro', Georgia, serif;
    font-size: 1.7rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
    line-height: 1.3;
}

.recap-description {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.7;
}

/* Puzzle Section */
.puzzle-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    border-radius: 2px;
    text-align: center;
    margin-top: 40px;
}

.puzzle-content {
    max-width: 600px;
    margin: 0 auto;
}

.puzzle-title {
    font-family: 'freight-big-pro', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
}

.puzzle-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.7;
}

.puzzle-button {
    background: #fff;
    color: #667eea;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'franklin-gothic-urw', sans-serif;
}

.puzzle-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Archives Section */
.archives-section {
    padding: 100px 0;
    background-color: #fff;
}

.section-title.retro {
    font-family: 'Courier New', Courier, monospace;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #333;
}

.archives-description {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.archives-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.archive-item {
    height: 300px;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    background-image: url('https://images.unsplash.com/photo-1560272564-c83b66b1ad12?w=500&h=500&fit=crop');
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.archive-item:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.archive-item:nth-child(2) {
    background-image: url('https://images.unsplash.com/photo-1522778119026-d647f0596c20?w=500&h=500&fit=crop');
}

.archive-item:nth-child(3) {
    background-image: url('https://images.unsplash.com/photo-1431324155629-1a6deb1dec8d?w=500&h=500&fit=crop');
}

.archive-item:nth-child(4) {
    background-image: url('https://images.unsplash.com/photo-1529900748604-07564a03e7a6?w=500&h=500&fit=crop');
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hero {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .editors-note {
        padding: 60px 0;
    }
    
    .note-content {
        font-size: 1rem;
    }
    
    .note-content p:first-of-type {
        font-size: 1.1rem;
    }
    
    .articles-section,
    .big-recaps-section,
    .archives-section {
        padding: 60px 0;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Prevent wide cards from forcing multi-column layout on small screens */
    .articles-grid .article-card.wide {
        grid-column: auto;
    }
    
    .articles-grid.three-col-small {
        grid-template-columns: 1fr;
    }
    
    .recaps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .feature-highlight {
        padding: 40px 25px;
        margin: 50px 0;
    }
    
    .puzzle-section {
        padding: 40px 25px;
    }
    
    .archives-gallery {
        grid-template-columns: 1fr;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .recaps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .archives-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Loading Animation for Images */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.article-image,
.recap-image,
.archive-item {
    animation: shimmer 2s infinite;
    background: linear-gradient(
        to right,
        #f0f0f0 0%,
        #e0e0e0 20%,
        #f0f0f0 40%,
        #f0f0f0 100%
    );
    background-size: 1000px 100%;
}

/* Ensure images override shimmer when loaded */
.article-image[style*="background-image"],
.recap-image[style*="background-image"],
.archive-item[style*="background-image"] {
    animation: none;
}

.article-image img,
.recap-image img,
.archive-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
}

/* Credits page styles */
.credits-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-top: 30px;
    align-items: start;
    text-align: center;
}

.credits-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.credits-heading {
    font-family: 'freight-big-pro', Georgia, serif;
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.credits-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 320px;
    color: #666;
}

.credits-list li {
    margin: 8px 0;
    font-size: 1rem;
}

@media screen and (max-width: 768px) {
    .credits-sections {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}





/* new feature highlights */


/* Enable hover interactivity */
.feature-highlight {
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

/* Background zoom on hover */
.feature-highlight::before {
    transition: background 0.4s ease;
}

.feature-highlight:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}

/* Zoom image by applying scale to a pseudo-element layer */
.feature-highlight::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transform: scale(1);
    transition: transform 0.5s ease;
}

.feature-highlight:hover::after {
    transform: scale(1.08);   /* soft zoom */
}

/* Darken overlay on hover */
.feature-highlight:hover::before {
    background: rgba(0, 0, 0, 0.55);
}

/* Lift text */
.feature-highlight > * {
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.feature-highlight:hover > * {
    transform: translateY(-4px);
}



/* author stuff */
.article-author {
    font-size: 0.9rem;
    color: #888;
    margin: 4px 0 10px;
    font-weight: 500;
}

/* Optional: if you want recap cards to share the style */
.recap-content .article-author,
.recap-content .recap-author {
    font-size: 0.9rem;
    color: #888;
    margin: 4px 0 10px;
}

.article-author {
    font-size: 0.8rem;
    color: #888;
    margin: 4px 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}







/* archives */
/* Single archive feature box: image + text */
.archive-feature {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0;                       /* no gap so it feels like one box */
    background: #111;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    margin-top: 30px;
}

/* Choose proportions here */
.archive-feature-image {
    flex: 0 0 40%;                /* 👈 image = 40%, text = 60% */
    min-height: 260px;
    background-image: url('./Nov 22 Screenshot from Daily Princetonian.png');
    background-size: cover;
    background-position: center;
}

/* Text side */
.archive-feature-text {
    flex: 1;
    padding: 32px 32px 28px;
    color: #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: radial-gradient(circle at top left, #222 0%, #050505 55%);
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.03em;
}

.archive-feature-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.archive-feature-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 18px;
    max-width: 540px;
}

.archive-feature-link {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #f5a623;
    text-decoration: none;
}

.archive-feature-link:hover {
    text-decoration: underline;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .archive-feature {
        flex-direction: column;
    }

    .archive-feature-image {
        flex: 0 0 auto;
        width: 100%;
        min-height: 220px;
    }

    .archive-feature-text {
        padding: 24px 20px 22px;
        text-align: left;
    }
}

.archive-feature-image {
    flex: 0 0 40%;  /* try 35%, 45%, 50%, etc. */
}



/* V2 */
.archive-feature-image {
    flex: 0 0 45%;         /* takes 45% of width */
    height: 500px;         /* ← set tall height */
    background-size: cover;
    background-position: top;
}

