html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.centered-header {
    display: flex;
    justify-content: center;
    padding: 10px;
    border-bottom: 2px solid var(--wa-color-neutral-600);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--wa-space-s) var(--wa-space-m);

    width: 100%;
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    padding: 0 var(--wa-space-m);
    box-sizing: border-box;
}

.logo-link {
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--wa-space-xs);
    flex: 1;
}

.login-section {
    margin-left: auto;
}

.login-nav {
    display: flex;
    align-items: center;
    gap: var(--wa-space-2xs);
}

.brand-footer {
    background-color: var(--wa-color-brand-fill-loud);
    color: var(--wa-color-brand-on-loud);
}

.centered-footer {
    display: flex;
    justify-content: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    padding: var(--wa-space-s) var(--wa-space-m);
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    width: 100%;
    text-align: center;
    color: var(--wa-color-brand-on-loud);
    max-width: 1200px;
    margin: 0 auto;
}

.footer-container a {
    color: var(--wa-color-brand-on-loud);
    text-decoration: underline;
}

.primaryColor1 {
    color: #0091D6
}
primaryColor2 {
    color: #D64500
}
primaryColor3 {
    color: #D6B000
}
primaryBGColor1 {
    background-color: #0091D6
}
primaryBGColor2 {
    background-color: #D64500
}
primaryBGColor3 {
    background-color: #D6B000
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
    object-fit: contain;
}
/* ===== Landing Page Styles ===== */

/* Hero Section */
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    min-height: 500px;
    gap: 3rem;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #2d3436;
    line-height: 1.2;
}

.hero-highlight {
    color: #0091D6;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    font-weight: 400;
    color: #636e72;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: contain;
}

/* Button Styles */
.btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #F5C518;
    color: #1A6BAA;
    border-color: #F5C518;
}

.btn-primary:hover {
    background-color: #e0b415;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(245, 197, 24, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #1A6BAA;
    border-color: #1A6BAA;
}

.btn-secondary:hover {
    background-color: rgba(26, 107, 170, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(26, 107, 170, 0.2);
}

/* News Section */
.news-section {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
}

.news-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1A6BAA;
    text-align: center;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.news-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.news-card-content {
    padding: 1.5rem;
}

.news-date {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.news-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1A6BAA;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 1rem;
    color: #495057;
    line-height: 1.6;
}

.news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    font-size: 1.1rem;
    color: #6c757d;
}

/* Responsive Design */
.courts-header {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: var(--wa-space-l);
}

.courts-header-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.courts-header-h1 {
    margin: 0 0 0 0;
    font-size: var(--wa-font-size-2xl);
    color: var(--wa-color-neutral-900);
}

.courts-header-text > span:last-child {
    color: var(--wa-color-neutral-600);
}
/* Login Page */
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    padding: 2rem;
    margin: -5px -5px 0 -5px;
}

.login-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem 2.5rem 2rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.login-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.login-subtext {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 1.75rem;
}

.login-field {
    margin-bottom: 1rem;
}

.login-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.login-input:focus {
    border-color: #0091D6;
    box-shadow: 0 0 0 3px rgba(0, 145, 214, 0.15);
}

.login-remember {
    font-size: 0.9rem;
    color: #495057;
}

.login-remember label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
}

.login-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.login-btn {
    background-color: #0091D6;
    color: #fff;
    border: none;
    padding: 0.65rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.login-btn:hover {
    background-color: #007bbd;
}

.login-forgot {
    font-size: 0.9rem;
    color: #6c757d;
    text-decoration: none;
}

.login-forgot:hover {
    color: #0091D6;
    text-decoration: underline;
}

.login-divider {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
}

.login-external {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.login-external-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    background: #fff;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.login-external-btn:hover {
    background-color: #f0f0f0;
    border-color: #adb5bd;
}

.login-register {
    margin-top: 0.5rem;
}

.login-register a {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a2e;
    text-decoration: underline;
}

.login-register a:hover {
    color: #0091D6;
}

@media (max-width: 480px) {
    .login-card {
        padding: 1.75rem 1.25rem 1.5rem;
    }

    .login-heading {
        font-size: 1.4rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 3rem 1.5rem;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-logo {
        max-height: 300px;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .news-title {
        font-size: 2rem;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-logo {
        max-height: 220px;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
