/*
Theme Name: Writers Workshop
Description: A custom WordPress theme for the Vox Media Writers Workshop
Version: 1.0
Author: Your Name
*/

/* ========================================
   WRITERS WORKSHOP THEME STYLES
   ======================================== */

/* Import Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
}

body.loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

h3 {
    font-size: 2rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

a {
    color: #087197;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #087197;
}

/* Header Styles */
.site-header {
    background: white;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.site-logo img {
    min-height: 70px;
    max-height: 100px;
    height: auto;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #48b1eb;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: #333;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] svg {
    transform: rotate(90deg);
}

/* Mobile responsive navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important;
        background: #f0f0f0;
        border: 1px solid #ccc;
        border-radius: 4px;
        min-width: 44px;
        min-height: 44px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        gap: 0;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        border-bottom: none;
    }

    .nav-menu a:hover {
        background-color: #f8f9fa;
        color: #48b1eb;
    }

    /* Header adjustments for mobile */
    .header-container {
        padding: 0.75rem 1rem;
    }

    .site-logo img {
        min-height: 60px;
        max-height: 80px;
    }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    background: rgb(193, 205, 207);
    color: #333;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-section h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #333;
}

.hero-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #333;
}

.cta-button {
    display: inline-block;
    background: #333;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: white;
    background: #555;
    cursor: pointer;
}

/* Section Styles */
.section {
    padding: 27px 0;
    position: relative;
}

.section:nth-child(even) {
    background-color: #f8f9fa;
}

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

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    color: #666;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    opacity: 1 !important;
    transform: none !important;
}

.about-content {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
}

.about-text h3 {
    color: #333;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
}

/* Mentees Section */
.mentees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mentee-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.mentee-card.hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mentee-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 4px solid #087197;
}

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

.mentee-card h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.mentee-card p {
    color: #666;
    font-size: 0.9rem;
}

/* Mentors Section */
.mentors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mentor-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.mentor-card.hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mentor-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.mentor-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 1rem;
    overflow: hidden;
    border: 3px solid #087197;
}

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

.mentor-info h4 {
    color: #333;
    margin-bottom: 0.25rem;
}

.mentor-info p {
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0;
}

.mentor-bio {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.faq-question {
    background: #f8f9fa;
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    position: relative;
    font-size: 1.1rem;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    color: #555;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 1.5rem;
    max-height: 300px;
}

/* Registration Section */
.registration-section {
    background: linear-gradient(135deg, #087197 0%, #065a7a 100%);
    color: white;
    text-align: center;
}

.registration-button-container {
    text-align: center;
    margin-top: 2rem;
}

.registration-button {
    display: inline-block;
    background: white;
    color: #087197;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
}

.registration-button:hover {
    background: #f8f9fa;
    color: #065a7a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.registration-section .section-header h2,
.registration-section .section-header p {
    color: white;
}

.registration-form {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: white;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.registration-form button[type="submit"] {
    background: white;
    color: black;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.registration-form button[type="submit"]:hover {
    background: #f8f8f8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.site-footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #666;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #888;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Page Styles */
.faq-page-content {
    margin-top: 3rem;
}

.faq-section {
    margin-top: 2rem;
}

.faq-section-title {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question:focus {
    outline: 2px solid #007cba;
    outline-offset: -2px;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #007cba;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.faq-answer[aria-hidden="false"] {
    display: block;
}

.faq-answer p {
    margin-bottom: 1rem;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul, .faq-answer ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer a {
    color: #007cba;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.no-faqs {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-style: italic;
}

/* FAQ Responsive Design */
@media (max-width: 768px) {
    .faq-category {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .faq-question {
        padding: 1.25rem;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1.25rem 1.25rem;
    }

    .faq-section-title {
        font-size: 1.75rem;
    }

    .faq-category-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .faq-category {
        padding: 1rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 1rem 1rem;
    }
}

/* Loading state */
body:not(.loaded) {
    opacity: 0;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-0 { padding: 0; }
.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Block Editor Styles */
.wp-block {
    max-width: 100%;
}

.wp-block[data-align="wide"] {
    max-width: 1200px;
}

.wp-block[data-align="full"] {
    max-width: none;
}

/* Pattern Thumbnail Visibility */
.block-editor-block-patterns-list__item-preview {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-height: 120px !important;
    background: #f0f0f0 !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    margin-bottom: 10px !important;
}

.block-editor-block-patterns-list__item-preview img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
}

.block-editor-block-patterns-list__item-preview svg {
    width: 100% !important;
    height: auto !important;
    display: block !important;
}

.block-editor-block-patterns-list__item-preview .block-editor-block-preview__container {
    display: block !important;
    visibility: visible !important;
}

/* Block Editor Enhancements */
.writers-workshop-block {
    margin-bottom: 1.5rem;
}

.writers-workshop-wide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.writers-workshop-full {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* Ensure proper spacing in block editor */
.editor-styles-wrapper .wp-block {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.editor-styles-wrapper .wp-block:last-child {
    margin-bottom: 0;
}

/* Page Template Styles */
.page .site-main {
    padding: 3rem 0;
}



/* Article Page Styles */
.article-card {
    padding: 2rem;
    border: solid 1px #ccc;
    border-radius: 10px;
    margin: 2rem;
    background: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.article-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.article-card h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.article-card h2 a {
    color: #087197;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card h2 a:hover {
    color: #065a7a;
    text-decoration: underline;
}

.article-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-excerpt {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.article-categories {
    margin-top: 1rem;
}

.article-categories a {
    color: #087197;
    text-decoration: none;
    background: #f0f8ff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    transition: background-color 0.3s ease;
}

.article-categories a:hover {
    background: #e0f0ff;
    text-decoration: underline;
}

/* Cohort Dropdown Styling */
.cohort-dropdown {
    background: #087197;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 3rem;
}

.cohort-dropdown:hover {
    background: #065a7a;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cohort-dropdown:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(8, 113, 151, 0.3);
}

.cohort-dropdown option {
    background: white;
    color: #333;
    padding: 0.5rem;
}

/* Articles Filter Section */
.articles-filter {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.clear-filter {
    margin-left: 1rem;
    padding: 0.5rem 1rem;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.clear-filter:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

/* Articles Filter Loading and Error States */
.loading {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: #666;
}

.loading::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #087197;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error {
    text-align: center;
    padding: 3rem;
    color: #e31837;
    font-size: 1.1rem;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    margin: 2rem;
}

.no-articles {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 1.1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 5px;
    margin: 2rem;
}

/* Cohorts Showcase Section */
.cohorts-section {
    text-align: center;
}

.cohorts-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cohort-showcase-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: left;
}

.cohort-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cohort-showcase-image {
    margin-bottom: 1.5rem;
    text-align: center;
}

.cohort-showcase-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.cohort-showcase-image:hover img {
    transform: scale(1.05);
}

.cohort-showcase-image a {
    display: block;
    text-decoration: none;
}

.cohort-showcase-button {
    margin-bottom: 1.5rem;
    text-align: center;
}

.cohort-showcase-button .btn {
    font-size: 1.2rem;
    padding: 0.75rem 1.5rem;
    background: #087197;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
}

.cohort-showcase-button .btn:hover {
    background: #065a7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 113, 151, 0.3);
    color: white;
    text-decoration: none;
}

.cohort-showcase-year {
    color: #666;
    font-size: 1rem;
    margin: 0.5rem 0;
}

.cohort-showcase-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cohort-status-active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.cohort-status-completed {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.cohort-status-upcoming {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.cohort-showcase-content {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.cohort-showcase-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #087197;
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}



.cohorts-showcase-actions {
    text-align: center;
    margin-top: 3rem;
}

.cohorts-showcase-actions .btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #6c757d;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 1.1rem;
}

.cohorts-showcase-actions .btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.no-cohorts {
    text-align: center;
    padding: 3rem;
    color: #666;
    font-size: 1.1rem;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 1024px) {
    .cohorts-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 768px) {
    .cohorts-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .cohort-showcase-card {
        padding: 1.5rem;
    }

    .cohort-showcase-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Articles Archive Page Specific Styling */
.archive-article .container {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Cohorts Archive Page Specific Styling */
.archive-cohort .cohorts-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.archive-cohort .cohort-showcase-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: left;
}

.archive-cohort .cohort-showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive design for cohorts archive */
@media (max-width: 1024px) {
    .archive-cohort .cohorts-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
}

@media (max-width: 768px) {
    .archive-cohort .cohorts-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .archive-cohort .cohort-showcase-card {
        padding: 1.5rem;
    }
}

/* Page Title Styling */
.page-title {
    font-size: 3rem;
    margin-top: 40px;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 700;
    line-height: 1.2;
}

/* Site Content Styling */
.site-content {
    padding-bottom: 40px;
}

/* Single Article Page Styling */
.single-article .entry-header {
    margin-bottom: 2rem;
    text-align: left;
}

.single-article .entry-title {
    font-size: 2.5rem;
    color: #333;
    margin-top: 4rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.single-article .entry-meta {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.single-article .entry-meta > div {
    display: inline-block;
    margin: 0 1rem 0.5rem 0;
}

.single-article .entry-meta a {
    color: #087197;
    text-decoration: none;
    font-weight: 600;
}

.single-article .entry-meta a:hover {
    text-decoration: underline;
}

.single-article .entry-thumbnail {
    margin-bottom: 2rem;
    text-align: center;
}

.single-article .entry-thumbnail img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.single-article .entry-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
}

.single-article .entry-content p {
    margin-bottom: 1.5rem;
}

.single-article .entry-content h2,
.single-article .entry-content h3,
.single-article .entry-content h4 {
    color: #333;
    margin: 2rem 0 1rem;
    line-height: 1.3;
}

.single-article .entry-content h2 {
    font-size: 1.8rem;
}

.single-article .entry-content h3 {
    font-size: 1.5rem;
}

.single-article .entry-content h4 {
    font-size: 1.3rem;
}

.single-article .entry-content ul,
.single-article .entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.single-article .entry-content li {
    margin-bottom: 0.5rem;
}

.single-article .entry-content blockquote {
    border-left: 4px solid #087197;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #555;
}

.single-article .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1.5rem 0;
}

/* Article Navigation */
.article-navigation {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.article-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    max-width: 800px;
    margin: 0 auto;
}

.article-navigation .nav-previous,
.article-navigation .nav-next {
    flex: 0 0 45%;
}

.article-navigation a {
    display: block;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.article-navigation a:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.article-navigation .nav-subtitle {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-navigation .nav-title {
    display: block;
    font-weight: 600;
    color: #087197;
}

/* Related Articles */
.related-articles {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid #e9ecef;
}

.related-articles h3 {
    text-align: center;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.related-article-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.related-article-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-article-content {
    padding: 1.5rem;
}

.related-article-title {
    margin-bottom: 1rem;
}

.related-article-title a {
    color: #333;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.related-article-title a:hover {
    color: #087197;
}

.related-article-excerpt {
    color: #666;
    line-height: 1.6;
}

/* Single Cohort Page Styling */
.cohort-mentees .section-header,
.cohort-articles .section-header {
    margin-top: 4rem;
}

.cohort-hero-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.cohort-year-display {
    flex: 0 0 auto;
}

.cohort-year-title {
    font-size: 4rem;
    font-weight: 700;
    color: #087197;
    margin: 0;
    line-height: 1;
    text-align: center;
}

.cohort-hero-image {
    flex: 1;
    text-align: center;
}

.cohort-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Responsive design for cohort hero */
@media (max-width: 768px) {
    .cohort-hero-layout {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .cohort-year-title {
        font-size: 3rem;
    }
}
