@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
    --primary-color: #2d7a2d;
    --primary-light: #4db84d;
    --primary-dark: #1e5a1e;
    --accent-color: #f7b924;
    --text-color: #1a1a1a;
    --text-muted: #666;
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --footer-bg: #1a1a1a;
    --footer-text: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary-dark) 100%);
    background-attachment: fixed;
    color: var(--text-color);
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 1s cubic-bezier(0.85, 0, 0.15, 1), visibility 1s;
    cursor: pointer;
}

.splash-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.splash-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/LandingImage.jpeg') no-repeat center center;
    background-size: cover;
    filter: blur(2px);
    transform: scale(1.05);
    z-index: -1;
}

.splash-content {
    text-align: center;
    color: white;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2vh 20px;
    gap: 0;
}

.splash-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 30px 50px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(1vh);
}

.splash-bottom {
    margin-bottom: 2vh;
}

.splash-logo {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

.splash-title {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    font-weight: 800;
    margin: 0;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    color: #ffffff;
    line-height: 1.2;
    text-transform: uppercase;
}

.splash-hint {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.8;
    letter-spacing: 1px;
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0.5;
        transform: scale(0.98);
    }
}

.splash-screen.hidden {
    transform: translateY(-100%);
    visibility: hidden;
}

/* Header & Navigation */
.header {
    background-color: #f8faf8;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)),
        url('https://www.transparenttextures.com/patterns/cubes.png'),
        /* Subtle texture */
        radial-gradient(circle at 20% 50%, rgba(45, 122, 45, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 80% 50%, rgba(247, 185, 36, 0.03) 0%, transparent 20%);
    border-bottom: 2px solid rgba(45, 122, 45, 0.1);
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 10000;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Sporty Action Lines Decoration */
.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -50px;
    width: 300px;
    height: 100%;
    background: repeating-linear-gradient(-45deg,
            transparent,
            transparent 20px,
            rgba(45, 122, 45, 0.03) 20px,
            rgba(45, 122, 45, 0.03) 21px);
    z-index: -1;
    pointer-events: none;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-light), var(--primary-color));
    background-size: 300% 100%;
    animation: gradientMove 8s ease infinite;
    z-index: 1;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 80px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
}

.logo-img {
    height: 80px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.logo-container:hover .logo-img {
    transform: scale(1.1) rotate(-3deg);
    filter: drop-shadow(0 5px 15px rgba(45, 122, 45, 0.2));
}

.lang-selector {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.lang-selector:hover {
    background: #ffffff;
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.lang-selector select {
    background: transparent;
    border: none;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-color);
    cursor: pointer;
    outline: none;
    appearance: none;
    padding-right: 25px;
}

.lang-selector::after {
    content: '▼';
    font-size: 10px;
    position: absolute;
    right: 15px;
    pointer-events: none;
    color: var(--primary-color);
}

.header h1 {
    color: var(--primary-dark);
    margin: 0;
    font-size: 42px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-wrapper {
    background-color: var(--primary-color);
    width: 100%;
}

.navbar {
    background: var(--primary-dark);
    padding: 0;
    text-align: center;
    box-shadow: var(--shadow-md);
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar>a,
.navbar>.dropdown {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 14px 10px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    position: relative;
    text-transform: uppercase;
    text-align: center;
    white-space: nowrap;
    width: 100%;
}

.navbar a:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.navbar a.active {
    background-color: rgba(0, 0, 0, 0.2);
    color: var(--accent-color);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
    display: flex;
}

.dropdown-btn {
    width: 100%;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 500px;
    background-color: var(--primary-dark);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 100;
    border-radius: 0 0 12px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
}

.dropdown:hover .dropdown-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.dropdown-content a {
    text-align: left;
    padding: 10px 15px;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 14px;
    border-radius: 6px;
    width: 100%;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--white);
    flex: 1;
    box-shadow: var(--shadow-lg);
}

/* Home Page Header Sections */
.top-slideshow-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 5%;
}

.main-news-section {
    width: 65%;
    display: flex;
    flex-direction: column;
}

.announcements-section {
    width: 30%;
    display: flex;
    flex-direction: column;
}

.top-slideshow-row .slideshow-container {
    max-width: none;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.announcements-section .slideshow-container {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto !important;
}

.main-news-section .slideshow-container {
    aspect-ratio: 65 / 30;
    /* Matches height of square 30% width announcements */
    width: 100%;
    height: auto !important;
}

.top-slideshow-row #news-slideshow-slide,
.top-slideshow-row #announcements-slideshow-slide {
    flex: 1;
    display: block;
    position: relative;
    height: 100%;
}

.top-slideshow-row .news-slide {
    flex: 1;
    display: block;
    position: relative !important;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.top-slideshow-row .news-slide img {
    flex: 1;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
}

@media (max-width: 768px) {
    .top-slideshow-row {
        flex-direction: column;
        gap: 30px;
    }

    .main-news-section,
    .announcements-section {
        width: 100%;
    }

    .announcements-section .slideshow-container {
        aspect-ratio: 16 / 10 !important;
        height: auto !important;
        width: 90% !important;
        margin: 0 auto !important;
    }

    .main-news-section .slideshow-container {
        aspect-ratio: 16 / 10 !important;
        height: auto !important;
    }
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.contact-info h3,
.contact-map h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 22px;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 10px;
    display: inline-block;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 20px;
    color: var(--primary-color);
    background: #e8f5e8;
    padding: 12px;
    border-radius: 10px;
}

.contact-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-muted);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

.social-icon.facebook {
    background: #1877f2;
}

.social-icon.instagram {
    background: #e4405f;
}

.social-icon.twitter {
    background: #1da1f2;
}

.social-icon.youtube {
    background: #cd201f;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

h1 {
    margin-bottom: 30px;
    color: #2d7a2d;
    text-align: center;
}

.slideshow-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.branch-sections-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.branch-news-section {
    margin-top: 20px;
}

.branch-news-title {
    font-size: 20px;
    color: #2d7a2d;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8f5e8;
    position: relative;
}

.branch-news-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #2d7a2d;
}

.small-slideshow {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.small-slideshow .news-slide img {
    height: 240px;
    object-fit: cover;
}

/* Specific overrides moved lower for better precedence */
.top-slideshow-row .small-slideshow .news-slide img {
    height: 100% !important;
}

.small-slideshow .news-slide-title {
    font-size: 16px;
    padding: 20px 10px 10px;
}


.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(45, 122, 45, 0.7);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    z-index: 10;
}

.slideshow-arrow:hover {
    background-color: rgba(45, 122, 45, 0.9);
}

.slideshow-arrow.left {
    left: 0;
}

.slideshow-arrow.right {
    right: 0;
}

.news-slide {
    position: relative !important;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.news-slide img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.news-slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    z-index: 5;
}

.no-news {
    text-align: center;
    padding: 50px;
    color: #555;
}

.form-group {
    margin-bottom: 20px;
}

.input-toggle {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}

.input-toggle button {
    background: #eee;
    border: 1px solid #ccc;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
}

.input-toggle button.active {
    background: #2d7a2d;
    color: white;
    border-color: #2d7a2d;
}

.file-input-container {
    padding: 10px;
    border: 1px dashed #ccc;
    border-radius: 4px;
    background: #fff;
}


.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #2d7a2d;
}

.form-group input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    font-size: 16px;
}

.form-group input[type="text"]:focus {
    outline: none;
    border-color: #2d7a2d;
}

#news-content {
    height: 300px;
    background-color: white;
}

.btn-submit {
    background-color: #2d7a2d;
    color: white;
    padding: 12px 30px;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

.btn-submit:hover {
    background-color: #245c24;
}

.news-detail-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.news-detail-container img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 20px;
}

.news-detail-container h2 {
    margin-bottom: 20px;
    color: #2d7a2d;
}

.news-detail-container .content {
    line-height: 1.6;
    color: #555;
    text-align: left;
}

/* Activities Timeline */
/* Activities Timeline - Modern Minimalist Style */
.upcoming-activities-container {
    width: 55%;
    margin-left: auto;
    margin-top: 50px;
    padding: 0 10px;
}

.activities-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    padding-left: 30px;
}

.activities-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-light), transparent);
    border-radius: 2px;
    transform: translateX(-50%);
}

.activity-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.activity-row::before {
    content: '';
    position: absolute;
    left: -19px;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--white);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

.activity-row:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 30px rgba(45, 122, 45, 0.08);
    border-color: rgba(45, 122, 45, 0.1);
}

.activity-row:hover::before {
    background: var(--primary-color);
    transform: translate(-50%, -50%) scale(1.2);
}

.activity-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.activity-name {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary-dark);
    letter-spacing: -0.2px;
}

.activity-time {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-time i {
    color: var(--accent-color);
    font-size: 13px;
}

.activity-actions {
    display: flex;
    gap: 8px;
}

.activity-actions button {
    background: rgba(0, 0, 0, 0.03);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.activity-actions button:hover {
    background: var(--primary-color);
    color: white;
}

.no-activities {
    text-align: center;
    padding: 30px;
    color: var(--text-muted);
    font-size: 14px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    border: 1px dashed rgba(0, 0, 0, 0.1);
}

.admin-edit-btn {
    display: inline-block;
    margin-bottom: 20px;
    background-color: #f0ad4e;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
}

.admin-edit-btn:hover {
    background-color: #ec971f;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    color: #2d7a2d;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.container h2 {
    color: #2d7a2d;
    margin-top: 20px;
    margin-bottom: 10px;
}

.container ul {
    margin-left: 20px;
    line-height: 1.8;
}

.container p {
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

/* Traditional Vertical Gallery Feed */
.gallery {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 40px;
}

.gallery-item {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    /* Center the full-width posts */
}

.gallery-item:hover {
    box-shadow: 0 20px 60px rgba(45, 122, 45, 0.1);
}

.gallery-photos {
    display: grid;
    gap: 6px;
    background: #000;
    min-height: 400px;
    width: 100%;
}

/* Photo count grid logic */
.gallery-photos.count-1 {
    grid-template-columns: 1fr;
}

.gallery-photos.count-2 {
    grid-template-columns: 1fr 1fr;
}

.gallery-photos.count-3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.gallery-photos.count-3 img:first-child {
    grid-row: span 2;
}

.gallery-photos.count-4 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.gallery-photos.count-more {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.gallery-photos img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: filter 0.2s;
}

.gallery-photos img:hover {
    filter: brightness(0.85);
}


/* Lightbox UI */
#lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1100px;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.lightbox-btn {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    padding: 20px;
    font-size: 30px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
}

.lightbox-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

#lightbox-prev {
    left: -80px;
}

#lightbox-next {
    right: -80px;
}

#lightbox-close {
    top: -60px;
    right: 0;
}

#lightbox-counter {
    color: white;
    margin-top: 20px;
    font-size: 18px;
}


.gallery-desc {
    padding: 30px;
    font-size: 18px;
    line-height: 1.8;
    color: #222;
    background: #fff;
    border-top: 1px solid #eee;
    word-wrap: break-word;
}

.gallery-admin-actions {
    padding: 20px 30px;
    background: #fdfdfd;
    border-top: 1px solid #eee;
    text-align: right;
}




/* Admin Post Form on Branch Page */
.admin-post-form {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    border: 2px dashed #2d7a2d;
    margin-bottom: 40px;
    display: none;
    /* Initially hidden, shown for admins */
}

.admin-post-form h3 {
    color: #2d7a2d;
    margin-bottom: 15px;
}

.photo-url-input {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.photo-url-input input {
    flex: 1;
}

.btn-add-url {
    background-color: #5cb85c;
    color: white;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
    border-radius: 4px;
}

.btn-remove-url {
    background-color: #d9534f;
    color: white;
    border: none;
    padding: 5px 15px;
    cursor: pointer;
    border-radius: 4px;
}


.no-photos {
    text-align: center;
    padding: 50px;
    color: #555;
}

/* Auth Styles */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
}

.login-container h2 {
    color: #2d7a2d;
    margin-bottom: 20px;
}

.admin-only {
    display: none;
    /* Hidden by default, shown via JS if authenticated */
}

.auth-nav {
    float: right !important;
}


/* Admin News Management */
.admin-news-list {
    margin-top: 50px;
    border-top: 2px solid #2d7a2d;
    padding-top: 30px;
}

.news-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    background-color: #f9f9f9;
    margin-bottom: 10px;
}

.news-item-info {
    flex: 1;
}

.news-item-info h4 {
    margin-bottom: 5px;
    color: #2d7a2d;
}

.news-item-info span {
    font-size: 12px;
    color: #777;
    margin-right: 15px;
}

.news-item-actions button {
    padding: 8px 15px;
    margin-left: 10px;
    cursor: pointer;
    border: none;
    font-weight: bold;
}

.btn-edit {
    background-color: #f0ad4e;
    color: white;
}

.btn-delete {
    background-color: #d9534f;
    color: white;
}

.btn-edit:hover {
    background-color: #ec971f;
}

.btn-delete:hover {
    background-color: #c9302c;
}

/* Press Page Styles - NEW HIGH-FIDELITY FULL WIDTH DESIGN */
.press-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.press-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    /* Horizontal layout */
    height: 260px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.press-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 50px rgba(45, 122, 45, 0.12);
    border-color: #2d7a2d;
}

.press-image-wrapper {
    width: 400px;
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
}

.press-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.press-card:hover .press-image {
    transform: scale(1.08);
}

.press-info {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background: linear-gradient(to right, #ffffff, #fafafa);
}

.press-source {
    font-size: 14px;
    color: #2d7a2d;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.press-source::before {
    content: "";
    width: 30px;
    height: 2px;
    background: #2d7a2d;
    border-radius: 2px;
}

.press-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    color: #111;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.press-action-hint {
    margin-top: auto;
    font-weight: 700;
    color: #2d7a2d;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.press-card:hover .press-action-hint {
    gap: 15px;
}

@media (max-width: 900px) {
    .press-card {
        flex-direction: column;
        height: auto;
    }

    .press-image-wrapper {
        width: 100%;
        height: 240px;
    }

    .press-info {
        padding: 30px;
    }
}


#edit-mode-indicator {
    display: none;
    background-color: #f0ad4e;
    color: white;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

/* Institutional Page Styles */
.institutional-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.institutional-section:last-child {
    border-bottom: none;
}

.institutional-section h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
}

.institutional-section p {
    color: var(--text-muted);
    line-height: 1.8;
}

.institutional-section ul {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0 !important;
}

.institutional-section li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    color: var(--text-color);
    font-weight: 500;
}

.institutional-section li:last-child {
    border-bottom: none;
}

/* Institutional Page Styles */
.institutional-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.institutional-section {
    position: relative;
    padding: 0;
    text-align: center;
}

.institutional-section h2 {
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.institutional-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.institutional-section h3 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px !important;
    font-weight: 700;
}

.institutional-section p {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto 15px;
    text-align: center;
}

.institutional-section .mission-footer {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 700;
    font-style: italic;
    margin-top: 30px;
    padding: 20px;
    background: rgba(45, 122, 45, 0.05);
    border-radius: 12px;
    display: inline-block;
}

/* About Us Page Styles */
.about-section {
    margin: 30px 0;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.4;
    border-left: 5px solid var(--accent-color);
    padding-left: 20px;
}

.about-section p {
    line-height: 1.8;
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: justify;
}

.branches-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.branches-list li {
    background: #f8faf8;
    border-radius: 10px;
    border: 1px solid rgba(45, 122, 45, 0.1);
    transition: all 0.3s ease;
}

.branches-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    height: 100%;
}

.branches-list li a::before {
    content: '\f11e';
    /* flag icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-color);
}

.branches-list li:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    background: #ffffff;
}

/* Board & Trainers Styles */
.management-grid,
.trainers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.member-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(45, 122, 45, 0.12);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

.member-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(45, 122, 45, 0.25);
    border-color: var(--primary-light);
}

.member-photo {
    width: 100%;
    aspect-ratio: 1/1;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(45, 122, 45, 0.05);
    /* Added slight separation from info section */
}

.member-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.member-card:hover .member-photo::after {
    opacity: 1;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.member-card:hover .member-photo img {
    transform: scale(1.1);
}

.member-info {
    padding: 24px 20px;
    background: #f8faf8;
    /* Light gray/green tint for contrast against white container */
    position: relative;
}

.member-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.member-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 6px;
    transition: color 0.3s ease;
}

.member-card:hover .member-name {
    color: var(--primary-color);
}

.member-role {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(45, 122, 45, 0.1);
    /* Darker background for the role tag */
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
}

/* Footer Styles */
.footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 0 30px;
    margin-top: auto;
    font-family: 'Outfit', sans-serif;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    line-height: 1.6;
    font-size: 14px;
    color: #a0aec0;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-bottom {
    max-width: 1000px;
    margin: 40px auto 0;
    padding: 20px 40px 0;
    border-top: 1px solid #2d3748;
    text-align: center;
    font-size: 13px;
    color: #718096;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .upcoming-activities-container {
        width: 100%;
        margin-left: 0;
    }
}

/* Admin Tabs */
.admin-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
    padding-bottom: 0;
}

.tab-btn {
    padding: 12px 25px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Application Management Table/List Styles */
.app-item-large {
    font-size: 1.1rem;
}

.app-item-large h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.app-item-large span {
    display: block;
    margin-bottom: 5px;
    color: #444;
}

.app-details-large {
    font-size: 1.05rem;
    line-height: 1.8;
}

.mobile-menu-toggle {
    display: none;
    background: var(--primary-dark);
    color: white;
    padding: 15px;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    width: 100%;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {

    /* Header adjustments */
    .header {
        padding: 5px 0;
    }

    .header-container {
        padding: 15px 10px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .header h1 {
        font-size: 26px;
        text-align: center;
    }

    .logo-img {
        height: 50px;
    }

    .logo-container {
        flex-direction: column;
        gap: 10px;
    }

    /* Hamburger menu adjustments */
    .mobile-menu-toggle {
        display: block;
    }

    .navbar-wrapper {
        position: relative;
        overflow: visible;
    }

    .navbar {
        display: none;
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .navbar.show {
        display: flex;
    }

    .navbar a {
        padding: 15px 20px;
        font-size: 14px;
        text-align: center;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        box-sizing: border-box;
    }

    /* Dropdown fixes for Mobile Menu */
    .dropdown {
        position: static;
        width: 100%;
        flex-direction: column;
    }

    .dropdown-btn {
        text-align: center;
        padding: 15px 20px !important;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-right: none !important;
        font-size: 14px;
        box-sizing: border-box;
    }

    .dropdown-content {
        display: none !important;
        position: static;
        width: 100%;
        background-color: #154515;
        transform: none;
        box-shadow: none;
        border: none;
        grid-template-columns: 1fr 1fr !important;
        gap: 5px;
    }

    .dropdown.show-dropdown .dropdown-content {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }

    .dropdown-content a {
        padding: 15px 20px;
        font-size: 14px;
        text-align: center;
        box-sizing: border-box;
    }

    /* Institutional Multiple Members View */
    .management-grid,
    .trainers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    .member-name {
        font-size: 15px;
    }

    .member-role {
        font-size: 11px;
        padding: 3px 8px;
    }

    /* Container and elements */
    .container {
        padding: 20px 15px;
    }

    .branch-sections-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Splash Screen */
    .splash-top {
        padding: 20px 15px;
        max-width: 90%;
    }

    .splash-logo {
        height: 70px;
    }

    .splash-title {
        font-size: 24px;
    }

    .news-slide img,
    .small-slideshow .news-slide img {
        height: 100% !important;
        object-fit: cover !important;
    }

    .news-slide-title {
        font-size: 16px;
        padding: 15px 10px;
    }

    /* Gallery Adjustments */
    .gallery-item {
        max-width: 100%;
    }

    .gallery-photos.count-3,
    .gallery-photos.count-4,
    .gallery-photos.count-more {
        grid-template-columns: 1fr;
        /* Stack vertically on small screens */
        grid-template-rows: auto;
    }

    .gallery-photos.count-3 img:first-child {
        grid-row: auto;
    }

    /* Institutional Page Fixes */
    .institutional-section h2 {
        font-size: 2rem;
    }

    /* Lightbox Mobile Fixes */
    #lightbox-content {
        width: 100%;
        height: 70vh;
    }

    #lightbox-prev {
        left: 10px;
        background: rgba(0, 0, 0, 0.4);
    }

    #lightbox-next {
        right: 10px;
        background: rgba(0, 0, 0, 0.4);
    }

    #lightbox-close {
        top: 10px;
        right: 10px;
        background: rgba(0, 0, 0, 0.4);
    }

    .lightbox-btn {
        padding: 15px;
        font-size: 24px;
        z-index: 10001;
    }
}

@media (max-width: 480px) {
    .dropdown:hover .dropdown-content {
        grid-template-columns: 1fr;
    }

    .header h1 {
        font-size: 22px;
    }

    .navbar a {
        padding: 10px;
    }
}

/* Projects Page Styles */
.projects-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-grid-item {
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #f0f0f0;
    aspect-ratio: 2/3;
    padding: 20px;
}

.project-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 122, 45, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.project-grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-light);
}

.project-grid-item:hover::before {
    opacity: 1;
}

/* Staggered animation for grid items */
.project-grid-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.projects-grid .project-grid-item:nth-child(1) {
    animation-delay: 0.1s;
}

.projects-grid .project-grid-item:nth-child(2) {
    animation-delay: 0.2s;
}

.projects-grid .project-grid-item:nth-child(3) {
    animation-delay: 0.3s;
}

.projects-grid .project-grid-item:nth-child(4) {
    animation-delay: 0.4s;
}

.projects-grid .project-grid-item:nth-child(5) {
    animation-delay: 0.5s;
}

.projects-grid .project-grid-item:nth-child(6) {
    animation-delay: 0.6s;
}

.project-grid-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.project-grid-content h3 {
    margin: 0 0 15px;
    color: var(--primary-dark);
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.project-grid-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    /* Even smaller abstract */
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
}

.read-more-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more-link::after {
    content: '→';
    transition: transform 0.2s;
}

.project-grid-item:hover .read-more-link::after {
    transform: translateX(5px);
}

.admin-project-panel {
    background: #ffffff;
    border: 2px dashed var(--primary-light);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 50px;
    box-shadow: var(--shadow-sm);
    display: none;
    /* Hidden by default */
}

.btn-add-new {
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-add-new:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.abstract-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
}

.abstract-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.admin-actions-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
    display: flex;
    gap: 8px;
}

.admin-actions-overlay button {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.admin-actions-overlay .edit-btn:hover {
    background: var(--primary-color);
    color: white;
}

.admin-actions-overlay .delete-btn:hover {
    background: #ff4d4d;
    color: white;
}

.quill-wrapper {
    margin-bottom: 30px;
}

.admin-lang-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.lang-tab-btn {
    padding: 10px 20px;
    border: none;
    background: #f5f5f5;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    color: var(--text-muted);
}

.lang-tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.project-lang-section {
    display: none;
}

.project-lang-section.active {
    display: block;
}


.quill-wrapper label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--primary-dark);
}

#project-context-en,
#project-context-tr {
    height: 250px;
    background: white;
    border-radius: 0 0 8px 8px;
}

.input-pair {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .input-pair {
        grid-template-columns: 1fr;
    }
}

.project-detail-container {
    max-width: 900px;
    margin: 40px auto;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}


.project-detail-image-wrapper {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.news-detail-image {
    width: 100%;
    max-width: 500px;
    /* Reduced from 600px */
    max-height: 320px;
    /* Reduced from 380px */
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-detail-header {
    margin-bottom: 40px;
}

.project-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 20px;
}

.project-detail-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0;
    text-align: center !important;
    display: block;
    width: 100%;
}

.project-detail-date {
    font-size: 0.9rem;
    /* Much smaller */
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.project-date-tag {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Life and aesthetics for detail page */
.news-detail-container {
    padding: 20px;
}

.news-content-body {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 2;
}

.news-content-body p {
    margin-bottom: 30px;
}