
        body {
            font-family: "Courier New", monospace;
            line-height: 1.6;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            background-color: #f4f1ea;
            color: #2c2c2c;
        }
        

        /* Logo Styling */
header {
    display: flex;
    align-items: center;
    gap: 20px; /* Adjust this value to control spacing */
    padding: 20px 0; /* Overall header padding */
}

.logo {
    width: 80px; /* Adjust as needed */
    height: 80px; /* Keeps aspect ratio if width/height match */
    object-fit: contain; /* Ensures image isn't distorted */
    margin-right: 10px; /* Additional right margin if needed */
}

header h1 {
    margin: 0; /* Removes default margin */
    line-height: 1.2; /* Tighter line spacing */
}

header p {
    margin: 0; /* Removes default margin */
    font-size: 0.9em; /* Slightly smaller subtitle */
}

        nav {
            margin: 20px 0;
        }

        .tab-container {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 30px;
        }

        .tab {
            padding: 10px 20px;
            background: none;
            border: 2px solid #2c2c2c;
            cursor: pointer;
            font-family: inherit;
            font-size: 1em;
            transition: all 0.3s ease;
        }

        .tab:hover {
            background-color: #2c2c2c;
            color: #f4f1ea;
        }

        .tab.active {
            background-color: #2c2c2c;
            color: #f4f1ea;
        }

        .content {
            display: none;
            padding: 20px;
            border: 2px solid #2c2c2c;
            margin-top: 20px;
        }

        .content.active {
            display: block;
        }

        .sections {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 20px;
        }

        .section {
            flex: 1;
            min-width: 250px;
            border: 1px solid #2c2c2c;
            padding: 15px;
        }

        .about-section, .current-study-section {
            text-align: center;
            margin: 20px 0 40px;
            padding: 20px;
            border: 2px solid #2c2c2c;
        }

        .study-title {
            font-size: 1.2em;
            margin-bottom: 10px;
            font-weight: bold;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 20px;
        }

        .social-link {
            padding: 10px 20px;
            border: 1px solid #2c2c2c;
            text-decoration: none;
            color: #2c2c2c;
            transition: all 0.3s ease;
        }

        .social-link:hover {
            background-color: #2c2c2c;
            color: #f4f1ea;
        }

        .forum-post {
            padding: 20px;
            border: 1px solid #2c2c2c;
            margin-bottom: 20px;
        }

        footer {
            margin-top: 40px;
            text-align: center;
            border-top: 2px solid #2c2c2c;
            padding-top: 20px;
        }
/* Admin Form Styles */
.admin-form {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    border: 2px solid #2c2c2c;
}

.admin-form label {
    display: block;
    margin: 15px 0 5px;
    font-weight: bold;
}

.admin-form input[type="text"],
.admin-form textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #2c2c2c;
    font-family: "Courier New", monospace;
}

.admin-form button {
    background-color: #2c2c2c;
    color: #f4f1ea;
    padding: 10px 20px;
    margin-top: 20px;
    border: none;
    cursor: pointer;
}

.edit-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: #2c2c2c;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

.edit-link:hover {
    background: #444;
}


.new-post-container {
    text-align: right;
    margin: 0 2rem 2rem 0;
}

.new-post-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: #2c2c2c;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.new-post-button:hover {
    background-color: #4a4a4a;
}

/* Forum Post Date Styles */
.post-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.post-date {
    color: #6d6d6d;
    font-size: 0.9rem;
    font-family: "Courier New", monospace;
}

.forum-card {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.forum-card:last-child {
    border-bottom: none;
}

/* Admin Post Management */
.post-item {
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: #f9f9f9;
    border-left: 3px solid #2c2c2c;
}

.post-actions {
    display: inline-block;
    margin-left: 1rem;
}

.post-actions a {
    padding: 0.3rem 0.8rem;
    margin-right: 0.5rem;
    background: #2c2c2c;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
}

.post-actions a:hover {
    background: #4a4a4a;
}
/* Admin Tabs */
.admin-tabs {
    display: flex;
    border-bottom: 2px solid #2c2c2c;
    margin-bottom: 2rem;
    gap: 0.5rem;
}

.admin-tab {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: "Courier New", monospace;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-tab.active {
    border-bottom-color: #2c2c2c;
    font-weight: bold;
}

/* Tab Contents */
.tab-contents {
    padding: 1rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* News Cards */
.news-card {
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.news-actions a {
    margin-right: 1rem;
    color: #2c2c2c;
    text-decoration: underline;
}
/* Library Admin Styles */
.library-admin {
    margin-top: 2rem;
    border-top: 1px solid #2c2c2c;
    padding-top: 2rem;
}

.book-list {
    margin-top: 2rem;
}

.book-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.book-actions a {
    margin-left: 1rem;
    color: #2c2c2c;
    text-decoration: underline;
}

.book-actions a:hover {
    color: #000;
    font-weight: bold;
}

.interview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.interview-card {
    border: 1px solid #2c2c2c;
    padding: 20px;
    text-decoration: none;
    color: inherit;
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Video Management Styles */
.admin-section {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.video-controls {
    margin-bottom: 20px;
}

.add-new {
    display: inline-block;
    padding: 8px 16px;
    background: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.video-item {
    display: flex;
    gap: 20px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.video-preview {
    flex: 0 0 200px;
}

.video-details {
    flex: 1;
}

.video-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.edit-btn, .delete-btn {
    padding: 5px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
}

.edit-btn {
    background: #17a2b8;
    color: white;
}

.delete-btn {
    background: #dc3545;
    color: white;
}

.edit-btn:hover, .delete-btn:hover {
    opacity: 0.9;
}

/* Interview Management Styles */
.interview-list {
    margin-top: 20px;
}

.interview-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #eee;
}

.video-preview {
    flex: 0 0 200px;
    margin-right: 20px;
}

.interview-details {
    flex: 1;
}

.interview-actions {
    display: flex;
    gap: 10px;
}

.interview-actions button {
    padding: 5px 10px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.interview-actions button:first-child {
    background: #4a89dc;
    color: white;
}

.interview-actions button:last-child {
    background: #e9573f;
    color: white;
}

#interview-cancel-btn {
    background: #999;
    color: white;
    margin-left: 10px;
}

.comment {
  margin: 1rem 0;
  padding: 1rem;
  border: 1px solid #ddd;
}

/* Comments Section */
.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-height: 100px;
    margin-bottom: 1rem;
    font-family: inherit;
    resize: vertical;
}

.comment-form button {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.comment-form button:hover {
    background: #1a252f;
}

.comment {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 3px solid #2c3e50;
}

.comment-meta {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.no-comments {
    color: #6c757d;
    font-style: italic;
}

/* Add to your admin CSS */
.post-list {
    width: 100%;
    border-collapse: collapse;
}

.post-list th, .post-list td {
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.post-list .actions {
    white-space: nowrap;
}

.btn-edit, .btn-delete {
    padding: 4px 8px;
    font-size: 0.9em;
    margin-right: 5px;
}

.btn-edit {
    background: #4CAF50;
    color: white;
}

.btn-delete {
    background: #f44336;
    color: white;
}

.news-box-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-box {
    cursor: pointer;
    padding: 30px;
    border: 1px solid #000;
    background: #f4f1ea;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.news-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.news-archive-item {
    display: block;
    padding: 30px;
    border: 1px solid #000;
    background: #f4f1ea;
    color: #000;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 20px; /* Space below the box */
}

.news-archive-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.news-archive-item h2 {
    margin-top: 0;
    color: #000;
}

/* Makes the content div clickable */
.content-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Matches the style of other tab content */
.content {
    padding: 20px;
    border: 1px solid #000; /* Same border as archive items */
    background: #f4f1ea; /* Same background color */
    margin-bottom: 20px;
    transition: all 0.3s ease; /* Same transition */
}

/* Hover effect to match archive items */
.content:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Ensures all tab content looks the same */
#news, #events, #journal, #archives, #contact {
    border: 2px solid #000;
    background: #f4f1ea;
    padding: 20px;
}

/* Flash messages */
.flash-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.alert {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Carousel Styles */
.carousel-section {
  margin: 40px auto;
  max-width: 1200px; /* Match About Us width */
  width: 100%;
  padding: 0 20px; /* Add side padding */
}

.carousel-container {
    position: relative;
    min-height: 300px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    transition: transform 0.5s ease;
    opacity: 0;
    padding: 20px;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
}

.slide-content {
    padding: 20px;
}

.slide-image {
    max-width: 100%;
    height: auto;
    margin: 15px 0;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.carousel-prev, .carousel-next {
    background: #2c2c2c;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 18px;
}

.carousel-dots {
    display: flex;
    margin: 0 20px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: #2c2c2c;
}

.news-item, .event-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.news-item:last-child, .event-item:last-child {
    border-bottom: none;
}

.back-button {
    display: inline-block;
    padding: 8px 16px;
    margin: 20px;
    color: #000; /* Black text */
    text-decoration: none;
    border: 1px solid #000; /* Black border */
    background: transparent; /* Transparent background */
    font-family: "Courier New", monospace;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #000; /* Black background on hover */
    color: #fff; /* White text on hover */
}

.back-button-container {
    margin-left: 20px;
    margin-top: 20px;
}

.event-header {
    border-bottom: 2px solid #2c2c2c;
    margin-bottom: 2rem;
    text-align: center;
}

.event-filters {
    display: flex;
    gap: 10px;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid #2c2c2c;
    padding: 5px 15px;
    font-family: "Courier New", monospace;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: #2c2c2c;
    color: #f4f1ea;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.event-card {
    border: 1px solid #2c2c2c;
    padding: 20px;
    display: flex;
    transition: transform 0.3s ease;
}

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

.event-date {
    flex: 0 0 60px;
    text-align: center;
    border-right: 1px solid #2c2c2c;
    padding-right: 15px;
    margin-right: 15px;
}

.event-day {
    display: block;
    font-size: 1.8rem;
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-meta {
    color: #666;
    font-size: 0.9rem;
    margin: 5px 0;
}

.recurring-badge {
    display: inline-block;
    background: #2c2c2c;
    color: #f4f1ea;
    padding: 2px 8px;
    font-size: 0.7rem;
    margin-top: 10px;
}

.event-card.symposium {
    border-left: 3px solid #8e44ad;
}

.event-card.workshop {
    border-left: 3px solid #3498db;
}

.event-card.reading {
    border-left: 3px solid #e74c3c;
}

.events-box-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.events-box-link:hover .content {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* ===== Carousel Container ===== */
.carousel-section {
  margin: 40px auto;
  max-width: 900px; /* Slightly wider than slideshow */
  text-align: center;
  position: relative; /* For absolute positioning of arrows */
}

.carousel-section h2 {
  margin-bottom: 25px;
  font-size: 1.5rem;
  color: #2c2c2c;
}

.slideshow-container {
  width: 100%; /* Full width of carousel-section */
  margin: 0 auto; /* Center within carousel-section */
  border: 2px solid #2c2c2c;
  background: #f4f1ea;
  padding: 20px;
  min-height: 200px;
  position: relative;
}

/* ===== Slides ===== */
.mySlides {
  display: none;
  animation: fade 1s ease;
}

.slide-content {
  padding: 10px 20px;
}

.slide-content h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #2c2c2c;
}

.slide-content h4 {
  font-size: 1.1rem;
  margin: 5px 0;
  font-weight: normal;
  color: #2c2c2c;
}

.slide-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #2c2c2c;
  margin-top: 10px;
}

/* Event slide specific */
.mySlides:nth-child(1) h3 {
  color: #8e44ad; /* Purple for event header */
}

/* ===== Navigation Arrows ===== */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  color: #2c2c2c;
  background: #f4f1ea;
  border: 2px solid #2c2c2c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s;
  z-index: 10;
}

.prev {
  left: 30px; /* 20px padding + 10px offset */
}

.next {
  right: 30px; /* 20px padding + 10px offset */
}

.prev:hover, .next:hover {
  background: #2c2c2c;
  color: #f4f1ea;
}

/* ===== Dot Navigation ===== */
.dot-container {
  text-align: center;
  padding: 20px 0;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 5px;
  background-color: #d3d3d3;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s;
}

.dot.active, .dot:hover {
  background-color: #2c2c2c;
}

@keyframes fade {
  from { opacity: 0.6 }
  to { opacity: 1 }
}

.blog-box-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

#blog {
    padding: 30px;
    border: 2px solid #000;
    background: #f4f1ea;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

#blog:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.news-link {
    text-decoration: none !important;
    color: inherit !important;
}

.news-article h2,
.news-article .news-meta,
.news-article p {
    color: #2c2c2c !important; 
    text-decoration: none !important;
}

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

/* Blog Styles */
.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.blog-post-link {
    text-decoration: none;
    color: inherit;
}

.blog-post {
    border: 1px solid #000;
    padding: 25px;
    margin-bottom: 30px;
    background: #f4f1ea;
    transition: all 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.pinned-post {
    border: 2px solid #d4af37;
}

.post-meta {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.comment-count {
    font-size: 0.9em;
    color: #666;
    margin-top: 10px;
}

/* Blog Post Page */
.blog-post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.post-image {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
}

/* Comments Section */
.comments-section {
    margin-top: 40px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.comment-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    min-height: 100px;
}

.comment {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.comment.removed {
    opacity: 0.7;
}

.comment-meta {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 5px;
}

.removal-reason {
    font-size: 0.8em;
    color: #999;
    margin-top: 5px;
}