/* Global Styles */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --highlight-color: #ff6600;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --dark-gray: #333333;
    --font-main: "Sora", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--secondary-color);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-list {
    display: flex;
    gap: 20px;
}

.nav-list a {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
}

.nav-list a.active {
    font-size: 16px;
    font-weight: 700;
}

.nav-list a:hover {
    color: var(--highlight-color);
}

.btn-registration {
    background: #333;
    color: #fff;
    padding: 10px 20px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-registration:hover {
    background: var(--highlight-color);
}

.mobile-menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: relative;
    background: none;
    /* Ensure no placeholder gray background */
}

.hero-full-width {
    width: 100%;
    line-height: 0;
}

.hero-bg-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 1900 / 500;
    /* Enforce ratio as requested */
    object-fit: cover;
    /* Ensure it covers the area */
}

/* Stages Section */
.stages {
    padding: 60px 0;
    background: #fff;
}

.section-title {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.section-title strong {
    font-weight: 800;
}

.stages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stage-card {
    background: #eee;
    padding-bottom: 20px;
}

.stage-image {
    position: relative;
}

.stage-image img {
    width: 100%;
    height: auto;
    display: block;
}

.status-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #fff;
    color: #000;
    padding: 8px 15px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    border: none;
    font-size: 14px;
    transition: 0.3s;
}

.status-badge.registration:hover {
    background: var(--dark-gray);
    color: #fff;
}

.status-badge.registration,
.status-badge.coming-soon {
    top: 50%;
    left: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
}

.stage-content {
    padding: 20px;
}

.stage-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stage-date {
    font-size: 14px;
    color: #666;
}

.stage-loc {
    font-size: 14px;
    color: #666;
}

/* Stats Section */
.stats {
    background: url('../img/bg-stats.webp') no-repeat center center/cover;
    padding: 80px 0;
    position: relative;
    color: #fff;
    text-align: center;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.stats-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stats-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    opacity: 0.9;
}

.btn-stats {
    border: 1px solid #fff;
    padding: 15px 30px;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn-stats:hover {
    background: #fff;
    color: #000;
}

/* WhatsApp Section */
.whatsapp {
    padding: 80px 0;
    background: #fff;
}

.whatsapp-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.whatsapp-text {
    flex: 1;
}

.whatsapp-text h2 {
    font-size: 48px;
    font-weight: 300;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.whatsapp-text h2 strong {
    font-weight: 800;
}

.whatsapp-text p {
    margin-bottom: 30px;
    font-size: 16px;
    color: #555;
    max-width: 750px;
}

.whatsapp-buttons {
    display: flex;
    gap: 20px;
}

.btn-outline {
    border: 1px solid #000;
    padding: 12px 25px;
    color: #000;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}

.whatsapp-image img {
    max-width: 300px;
    height: auto;
    display: block;
}

/* Partners Section */
.partners {
    background: #f5f5f5;
    padding: 60px 0 100px;
    text-align: center;
}

.partners-title {
    margin-bottom: 40px;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 1px;
}

.partners-rows {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.partners-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.partners-row.highlight img {
    max-height: 100px;
}

.partners-row:not(.highlight) img {
    max-height: 80px;
}

.partners-row img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.partners-row img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Footer */
.footer {
    background: #fff;
    padding: 50px 0;
    text-align: center;
    position: relative;
    border-top: 1px solid #eee;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-nav a {
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background: #ccc;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Instagram */
.social-icons a:nth-child(1) {
    /*background: #e1306c;*/
    background: radial-gradient(circle at 20% 10%, #2d5bff, transparent 40%), radial-gradient(circle at 80% 10%, #c400ff, transparent 40%), radial-gradient(circle at 20% 90%, #ffb300, transparent 40%), #ff2f92;
    /*background-blend-mode: screen;*/
}

/* Facebook */
.social-icons a:nth-child(2) {
    background: #3b5998;
}

/* Whatsapp */
.social-icons a:nth-child(3) {
    background: #25d366;
}


.copyright {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
}

.credits {
    font-size: 10px;
    color: #777;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #333;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0.8;
}

.back-to-top:hover {
    opacity: 1;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {

    .btn-registration {
        display: none;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;

        /* Hidden State */
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        padding: 0 20px;
        transition: all 0.4s ease-in-out;
    }

    .nav-list.active {
        max-height: 500px;
        /* Approximate max height */
        opacity: 1;
        padding: 20px;
    }

    .nav-list li {
        margin-bottom: 15px;
        /* Applies to all li in mobile menu */
        text-align: center;
    }

    .mobile-menu-icon {
        display: block;
    }

    .hero-bg-img {
        aspect-ratio: 1100 / 500;
        /* Allow height to adjust naturally on mobile if needed, or keep ratio */
    }

    .whatsapp-container {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-text p {
        margin: 0 auto 30px;
    }

    .whatsapp-buttons {
        justify-content: center;
    }

    .stats-grid {
        flex-direction: column;
    }

    .partners-grid {
        gap: 30px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

/* About Page Styles */
.about-hero {
    width: 100%;
    margin-bottom: 50px;
}

.about-hero-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.about-content {
    padding-bottom: 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 100px;
}

/* Typography */
.about-text-column h2 {
    font-size: 36px;
    font-weight: 300;
    /* Thin font as per design */
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #333;
}

.text-block {
    margin-bottom: 40px;
}

.text-block p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
    text-align: justify;
}

.highlight-text {
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid var(--highlight-color);
    font-style: italic;
}

.highlight-text a {
    color: var(--highlight-color);
    font-weight: 700;
}

/* Testimonials */
.testimonials {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.testimonial-card {
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    align-items: flex-start;
}

.testimonial-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-content h4 {
    font-size: 16px;
    text-transform: uppercase;
    margin-bottom: 5px;
    color: #000;
}

.testimonial-content span {
    display: block;
    font-size: 12px;
    color: #888;
    margin-bottom: 15px;
    font-weight: 600;
}

.testimonial-content p {
    font-size: 14px;
    font-style: italic;
    color: #666;
}

/* Sidebar */
.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget h3 {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.news-thumb img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.news-info p {
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    color: #333;
}

.news-item:hover .news-info p {
    color: var(--highlight-color);
}

.highlight-image img {
    width: 100%;
    border-radius: 5px;
}

/* Responsive About */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-img {
        height: 250px;
    }

    .testimonial-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

/* Eventos Page */
.events-column h2 {
    font-size: 36px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #333;
}

.events-column h2 strong {
    font-weight: 800;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.event-card {
    background: #f4f4f4;
    padding-bottom: 15px;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.event-image {
    width: 100%;
    aspect-ratio: 600 / 500;
    height: auto;
    object-fit: cover;
    margin-bottom: 15px;
    display: block;
}

.event-details {
    padding: 0 15px;
}

.event-label {
    font-size: 10px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 5px;
    display: block;
    font-weight: 700;
}

.event-title {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 5px;
    color: #000;
}

.event-meta {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.page-btn {
    padding: 5px 10px;
    background: #eee;
    color: #333;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.page-btn.active {
    background: #333;
    color: #fff;
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
}

/* Artigos Page */
.articles-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
}

.article-card {
    display: block;
    margin-bottom: 0px;
    background-color: #f4f4f4;
}

.article-thumb {
    margin-bottom: 15px;
}

.article-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.article-category {
    font-size: 10px;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.article-title {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 10px;
    line-height: 1.2;
}

.article-content {
    padding: 15px;
}

.article-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    text-align: justify;
    /*text-transform: uppercase;
    font-weight: 600;*/
}

.article-content .created {
    font-size: 12px;
    color: #555;
    text-transform: uppercase;
    font-weight: 300;
    margin-top: 30px;
}

/* Parceiros Page Specific */
.partners-page-container {
    padding: 30px 0 100px;
}

.partners-page-rows {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
}

.partners-page-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.partners-page-row img.partner-naming {
    max-height: 200px;
}

.partners-page-row img.partner-master {
    max-height: 150px;
}

.partners-page-row img.partner-performance {
    max-height: 100px;
}

.partners-page-row img {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: 0.3s;
}

.partners-page-row img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .partners-page-container {
        padding-top: 30px;
    }

    .partners-page-container .partners-row:nth-child(1) {
        flex-direction: column;
        gap: 20px;
    }

    .partners-page-container .partners-row img.partner-naming {
        /* Naming */
        max-width: 250px;
        max-height: 120px;
        width: auto;
    }

    .partners-page-container .partners-row img.partner-master:nth-child(2),
    .partners-page-container .partners-row img.partner-master:nth-child(3) {
        /* Master */
        max-width: 200px;
        max-height: 90px;
    }

    /* Other Rows - Grid */
    .partners-page-container .partners-row:not(:nth-child(1)) {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        align-items: center;
        gap: 20px;
        width: 100%;
    }

    .partners-page-container .partners-row:not(:nth-child(1)) img {
        max-width: 100%;
        max-height: 70px;
        /* Smaller than desktop */
        width: auto;
    }
}

/* Contact Page Specific */
.contact-section h2 {
    font-size: 36px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 50px;
    color: #000;
}

.contact-section h2 strong {
    font-weight: 800;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 100px;
}

.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 10px 0;
    margin-bottom: 25px;
    font-family: 'Sora', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    background: transparent;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-bottom-color: #000;
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form button {
    border: 1px solid #000;
    padding: 12px 25px;
    color: #000;
    background-color: transparent;
    text-transform: uppercase;
    font-size: 14px;
}

.contact-form button:hover {
    background-color: #000;
    color: #fff;
}

.contact-info p {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
}

.contact-item:hover {
    color: #000;
}

.contact-item i {
    font-size: 20px;
    width: 25px;
    text-align: center;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-form button {
        margin: 0 auto;
        display: block;
    }
}

/* Enrollment Page Specific */
.enrollment-hero-section {
    width: 100%;
    margin-bottom: 50px;
}

.enrollment-hero-img {
    width: 100%;
    height: 400px;
    /* Or responsive */
    object-fit: cover;
    display: block;
}

.enrollment-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.enrollment-content h2 {
    font-size: 48px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 30px;
    line-height: 1.2;
}

.enrollment-content h2 strong {
    font-weight: 800;
}

.enrollment-content h3 {
    font-size: 24px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 20px;
    line-height: 1.2;
}

.enrollment-intro {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: justify;
}

.enrollment-banner-img {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
    display: block;
    border-radius: 8px;
    /* Optional rounded corners */
}

.enrollment-details {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: justify;
}

@keyframes highlight {
    0% {
        background-size: 0% 100%;
    }

    100% {
        background-size: 100% 100%;
    }
}

.enrollment-details .text-yellow,
.enrollment-intro .text-yellow {
    background-image: linear-gradient(to right, #ff0, #ff0);
    background-repeat: no-repeat;
    background-size: 0% 100%;
    animation: highlight 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    /* Optional delay so it starts after page load */
    animation-delay: 0.5s;
    padding: 0 5px;
    font-weight: 800;
}

.enrollment-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-green {
    background: #009900;
    color: #fff;
    padding: 15px 30px;
    text-transform: uppercase;
    font-weight: 800;
    font-size: 14px;
    border: none;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-green:hover {
    background: #007700;
}

.btn-gray-outline {
    background: #fff;
    color: #555;
    border: 1px solid #999;
    padding: 15px 30px;
    text-transform: uppercase;
    font-weight: 600;
    /* Regular weight */
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-gray-outline:hover {
    border-color: #333;
    color: #333;
    background: #f9f9f9;
}

@media (max-width: 768px) {
    .enrollment-content h2 {
        font-size: 32px;
    }

    .enrollment-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .btn-green,
    .btn-gray-outline {
        width: 100%;
        text-align: center;
        max-width: 300px;
    }
}

/* Regulation Page Specific */
.regulation-content {
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.regulation-title {
    font-size: 48px;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.1;
    color: #000;
    margin-bottom: 10px;
}

.regulation-title strong {
    font-weight: 800;
    display: block;
}

.regulation-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 60px;
}

.regulation-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.regulation-item h3 {
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #000;
}

.regulation-item h4 {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #000;
}

.regulation-item p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 10px;
}

.regulation-item ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.regulation-item ul li {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
    list-style: disc;
}

.regulation-item ol {
    padding-left: 20px;
    margin-bottom: 20px;
}

.regulation-item ol li {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .regulation-title {
        font-size: 32px;
    }

    .regulation-content {
        padding: 40px 20px;
    }
}

/* Evento Page Remake */
.event-top-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 50px;
}

.gallery-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.event-description p {
    font-size: 16px;
    line-height: 1.6;
    margin: 15px;
    text-align: justify;
}

.photos-link {
    color: var(--highlight-color);
    font-weight: 700;
    word-break: break-all;
}

.event-featured-image {
    margin-top: 40px;
}

.event-featured-image iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
}

.sidebar {
    padding-top: 20px;
}

/* Sidebar Remake Specifics */
.sidebar-widget .news-list {
    gap: 30px;
}

.sidebar-widget .news-item {
    align-items: flex-start;
}

.sidebar-widget .news-thumb img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.sidebar-widget .news-info p {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
    color: #333;
}

.featured-card-vertical img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .event-top-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 300px;
    }

    .about-grid {
        gap: 40px;
    }
}

/* Content Gallery & Lightbox */
.content-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
    margin-top: 30px;
}

.gallery-thumb img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-thumb img:hover {
    opacity: 0.8;
}

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
}

/* The Close Button */
.close {
    color: white;
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
    display: none;
}

.mySlides img {
    display: block;
    /* Removes bottom space */
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
    /* Ensure visibility */
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.cursor {
    cursor: pointer;
}

/* Responsive columns */
@media (max-width: 768px) {
    .content-gallery {
        /* Keep 3 columns on mobile as requested */
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .gallery-thumb img {
        height: 100px;
        /* Smaller height for mobile */
    }
}

/* Article Page Specifics */
.article-page-container {
    margin-top: 60px;
    margin-bottom: 60px;
}

.article-content {
    padding-bottom: 30px;
}

.article-title {
    font-size: 32px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 5px;
    color: #000;
}

.article-meta {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 30px;
    display: block;
    font-weight: 300;
}

.article-content img {
    width: 100%;
}

/*.article-featured-image {
    margin-bottom: 30px;
}

.article-featured-image img {
    width: 100%;
    border-radius: 4px;
    display: block;
}*/

.article-description p {
    font-size: 16px;
    line-height: 1.6;
    margin: 20px 0;
    text-align: justify;
}

.article-content-list {
    list-style: none;
    margin-bottom: 20px;
}

.article-content-list li {
    margin-bottom: 5px;
}

.article-link {
    color: #0000FF;
    /* Blue as requested */
    font-weight: 700;
    text-decoration: none;
}

.article-link:hover {
    text-decoration: underline;
}

/* Naming Page Specifics */
.naming-content {
    padding: 60px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.naming-title {
    font-size: 48px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #000;
}

.naming-title strong {
    font-weight: 800;
}

.naming-content p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: justify;
}

.naming-image-container {
    margin: 40px 0;
    width: 100%;
    /*background-color: #0000FF;*/
    /* Fallback or if image missing */
}

.naming-image-container img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: contain;
    /* Adjust as needed: cover or contain */
    background-color: #f5f5f5;
    /* Light gray bg for transparent logos */
}

.naming-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.btn-naming {
    border: 1px solid #666;
    padding: 15px 40px;
    color: #666;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.btn-naming:hover {
    border-color: #000;
    color: #000;
    background-color: #f9f9f9;
}

@media (max-width: 768px) {
    .naming-title {
        font-size: 32px;
    }

    .naming-buttons {
        gap: 15px;
    }

    .btn-naming {
        width: 100%;
        text-align: center;
    }
}

/* Master Page Specifics */
.master-title {
    font-size: 32px;
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 30px;
    color: #000;
}

.master-title strong {
    font-weight: 800;
}

.master-featured-image {
    margin-bottom: 30px;
}

.master-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    background-color: #0000FF;
    /* Fallback based on design, though image is used */
    object-fit: cover;
}

/* Login Page Specific */
.login-page {
    height: 100vh;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.login-panel-form {
    padding: 60px 70px;
    padding-bottom: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}

.login-brand {
    display: block;
    width: fit-content;
    margin: 0 auto 40px;
}

.login-brand img {
    width: 180px;
    height: auto;
    display: block;
}

.login-form-wrap {
    margin: 0 auto;
    max-width: 520px;
    width: 100%;
}

.login-title {
    font-size: 36px;
    font-weight: 300;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #000;
}

.login-title strong {
    font-weight: 800;
}

.login-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.login-error {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid #ef4444;
    border-left: 4px solid #b91c1c;
    background: #fee2e2;
    color: #7f1d1d;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.login-forgot-password {
    display: block;
    margin-top: -10px;
    margin-bottom: 25px;
    color: #666;
    font-size: 13px;
    text-decoration: underline;
    width: fit-content;
}

.login-forgot-password:hover {
    color: #000;
}

.login-form-wrap .contact-form button {
    display: block;
}

.login-panel-image {
    height: 100vh;
    min-height: 100vh;
}

.login-panel-image img {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: cover;
    display: block;
}

.footer.footer-login {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 50%;
    padding: 18px 0;
    margin: 0;
    border-top: none;
    background: transparent;
    text-align: center;
    z-index: 5;
}

.footer.footer-login .credits {
    font-size: 10px;
    margin: 0;
}

@media (max-width: 900px) {
    .login-page {
        height: auto;
        grid-template-columns: 1fr;
    }

    .login-panel-form {
        padding: 40px 20px;
        min-height: 100vh;
        justify-content: center;
        position: relative;
        padding-top: 110px;
        padding-bottom: 40px;
    }

    .login-form-wrap {
        margin: 0 auto;
    }

    .login-brand {
        position: absolute;
        top: 28px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0;
    }

    .login-panel-image {
        display: none;
    }

    .login-panel-image img {
        display: none;
    }

    .footer.footer-login {
        position: static;
        width: 100%;
    }
}
