.writings-page .hero {
    background: url('./images/writings-bg.jpg') center/cover no-repeat;
    height: 80vh;
    margin-bottom: 0;
}

.writings-page .hero-content {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 40px;
    padding-bottom: 100px;
    color: var(--text-color);
    transform: none;
}

.writings-page .hero-text {
    font-size: 1.25rem;
    max-width: 600px;
    margin-top: 1rem;
}

.writings-page .articles-section {
    padding-top: 4rem;
}

.writings-page .articles-section .content-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.writings-page .articles-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem 2rem;
}

/* Unique shape-shifting hover effects for each article */
.article-card:nth-child(1):hover .article-image-container {
    border-radius: 50%;
}

.article-card:nth-child(2):hover .article-image-container {
    border-radius: 16px 50% 16px 50%;
}

.article-card:nth-child(3):hover .article-image-container {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.article-card:nth-child(4):hover .article-image-container {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.article-card:nth-child(5):hover .article-image-container {
    border-radius: 45% 55% 35% 65% / 40% 45% 55% 60%;
}

.article-card:nth-child(6):hover .article-image-container {
    border-radius: 20% 80% 20% 80% / 20% 20% 80% 80%;
}

.article-card:nth-child(7):hover .article-image-container {
    border-radius: 80% 20% 50% 50% / 25% 80% 20% 75%;
}

.article-card:nth-child(8):hover .article-image-container {
    border-radius: 50% 50% 20% 80% / 25% 80% 20% 75%;
}

.article-card:nth-child(9):hover .article-image-container {
    border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
}

.article-card:nth-child(10):hover .article-image-container {
    border-radius: 20% 80% 50% 50% / 80% 20% 80% 20%;
}

.article-card:nth-child(11):hover .article-image-container {
    border-radius: 50% 20% 80% 20% / 20% 80% 20% 80%;
}

.article-card:nth-child(12):hover .article-image-container {
    border-radius: 35% 65% 65% 35% / 65% 35% 65% 35%;
}

@media (max-width: 1400px) {
    .writings-page .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1200px) {
    .writings-page .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .writings-page .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .writings-page .hero {
        height: 60vh;
    }
    
    .writings-page .hero-content {
        padding: 0 1rem;
    }
    
    .writings-page .hero-simple {
        padding: 8rem 1rem 4rem;
    }
    
    .writings-page .hero-content {
        padding-left: 20px;
    }
}

.writings-page .hero-simple {
    padding: 16rem 2rem 0;
    background: linear-gradient(to bottom, #D4BCB7 0%, #D4BCB7 30%, white 100%);
}

.writings-page .hero-label {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-color);
    display: block;
}

.writings-page h1 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-shadow: none;
}

.writings-page .hero-text {
    font-size: 1.25rem;
    max-width: 600px;
    margin-top: 0;
    color: var(--text-color);
    opacity: 0.9;
    text-shadow: none;
}

.writings-page .articles-section {
    padding-top: 0;
    padding-bottom: 8rem;
}

@media (max-width: 768px) {
    .writings-page .hero-simple {
        padding: 8rem 1rem 4rem;
    }

    .writings-page .hero-content {
        padding-left: 20px;
    }
}

.article-coming-soon {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}

/* =============================================
   RESOURCES COMING SOON PAGE
   ============================================= */

.resources-page .resources-hero {
    background-color: var(--warm-white-light, #FAF8F4);
    padding: 10rem 2rem 6rem;
}

.resources-page .resources-hero .content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.resources-eyebrow {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--stormy-teal);
    margin-bottom: 1.5rem;
}

.resources-page h1 {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--stormy-teal);
    margin: 0 0 2rem;
    text-shadow: none;
}

.resources-hero-text {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--black-navy);
    opacity: 0.7;
    max-width: 520px;
    margin: 0;
}

/* Preview cards */
.resources-preview {
    background-color: var(--warm-white, #F5F2EC);
    padding: 6rem 2rem;
}

.resources-preview .content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
}

.resources-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.resource-preview-card {
    background: #FDFCF9;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    overflow: hidden;
}

.resource-bar {
    height: 4px;
    border-radius: 2px;
    margin-bottom: 2rem;
}

.resource-bar--handouts  { background: var(--dry-sage, #A9B18F); }
.resource-bar--podcasts  { background: var(--twilight-indigo, #223554); }
.resource-bar--favorites { background: var(--eggplant, #523759); }

.resource-preview-card h3 {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--black-navy, #1A1A2E);
    margin: 0 0 1rem;
}

.resource-preview-card p {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(26, 26, 46, 0.65);
    margin: 0;
}

/* Notify CTA */
.resources-notify {
    background-color: var(--warm-white, #F5F2EC);
    padding: 8rem 2rem;
    text-align: center;
}

.resources-notify .content-wrapper {
    max-width: 560px;
    margin: 0 auto;
}

.resources-notify-headline {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(1.4rem, 2.2vw, 1.75rem);
    white-space: nowrap;
    font-weight: 400;
    color: var(--stormy-teal, #2C6671);
    margin: 0 0 1rem;
}

.resources-notify-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(26, 26, 46, 0.6);
    margin: 0 0 2.5rem;
}

.resources-notify-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.resources-notify-form-row {
    display: flex;
    gap: 0.75rem;
}

.resources-notify-form-row input {
    flex: 1 1 0;
}

.resources-notify-form input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 1px solid rgba(26, 26, 46, 0.2);
    border-radius: 8px;
    background: #fff;
    color: var(--black-navy, #1A1A2E);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.resources-notify-form input::placeholder {
    color: rgba(26, 26, 46, 0.38);
}

.resources-notify-form input:focus {
    border-color: var(--stormy-teal, #2C6671);
}

.resources-notify-form button[type="submit"] {
    padding: 0.875rem 2rem;
    background: var(--rust, #C3703D);
    color: var(--warm-white);
    border: none;
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
    margin-top: 0.25rem;
}

.resources-notify-form button[type="submit"]:hover { opacity: 0.88; }
.resources-notify-form button[type="submit"]:disabled { opacity: 0.6; cursor: default; }

.resources-notify-success {
    color: var(--stormy-teal, #2C6671);
    font-size: 1rem;
    margin-top: 1.5rem;
}

@media (max-width: 860px) {
    .resources-preview-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 600px) {
    .resources-page .resources-hero { padding: 8rem 1.5rem 4rem; }
    .resources-preview { padding: 4rem 1.5rem; }
    .resources-notify { padding: 5rem 1.5rem; }
    .resources-notify-form-row { flex-direction: column; }
}