:root {
    --nav-gradient-start: #000030;
    --nav-gradient-end: #005383;
    --accent-start: #775b00;
    --accent-end: #d4ae01;
    --text-color: #444;
    --muted-color: #666;
    --border-color: #ccc;
    --surface-color: #fff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a {
    color: blue;
    text-decoration: none;
    transition: color 0.3s ease;
}

.pagination a {
    color: inherit;
    text-decoration: none;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #f7f9fc;
    color: var(--text-color);
    line-height: 1.6;
}

button,
.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(130deg, var(--nav-gradient-start) 0%, var(--nav-gradient-end) 100%);
    background-size: 200% auto;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-position 0.2s ease;
}

button[type="submit"] {
    margin-top: 15px;
}

button:hover,
.button-link:hover {
    background-position: right center;
}

form {
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

img,
video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

figcaption {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 0.85rem;      
  font-style: italic;       
  color: #555555;     
  padding: 8px 0;     
}


input[type="email"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

input[type="text"] {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

input[type="radio"] {
    margin-top: 20px;
}

nav {
    background: linear-gradient(130deg, var(--nav-gradient-start) 0%, var(--nav-gradient-end) 100%);
    padding: 15px 30px;
    position: sticky;
    top: 0;
    z-index: 20;
}

ol,
ul {
    list-style: none;
}

/* Navigation */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a:not(.nav-btn) {
    color: #ffffff;
    font-size: 16px;
    border-bottom: 3px solid transparent;
    transition: border-color 0.3s ease-in-out;
}

.nav-links a:not(.nav-btn):hover {
    border-bottom: 2px solid #ffffff;
}

.nav-btn {
    background: linear-gradient(130deg, var(--accent-start) 0%, var(--accent-end) 100%);
    background-size: 200% auto;
    background-position: left center;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-position 0.4s ease;
}

.nav-btn:hover {
    background-position: right center;
}

/* Modals */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 1000px;
    height: 1000px;
    background-color: inherit;
}

.modal-content {
    background-color: inherit;
    margin: 15% auto;
    padding: 20px;
    width: 50%;
    border-radius: 5px;
}

.close {
    float: right;
    font-size: inherit;
    cursor: pointer;
}


.modal-backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

.modal-card {
    display: grid;
    align-items: center;
    justify-items: center;
    border-radius: 12px;
    background: white;
    padding: 20px;
    box-shadow: var(--muted-color);
    width: 400px;
    height: 400px;
}

.modal-card input[type="password"] { 
  border-radius: 5px; 
  width: 300px;
  padding: 10px; 
}


/* Hero */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/hero.jpg') no-repeat center center/cover;
    background-position: center top;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 300px 40px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
}

/* Content */
.content {
    max-width: 800px;
    margin: 50px auto;
    padding: 0 20px;
}

.page-title,
.section-title {
    text-align: center;
    color: #333;
    margin-bottom: 16px;
}

.page-description,
.section-description,
.section-intro {
    text-align: center;
    margin-bottom: 24px;
}

.section-divider {
    border: 0;
    height: 1px;
    background: var(--border-color);
    width: 80%;
    margin: 24px auto;
}

.footer-note {
    text-align: center;
    color: var(--muted-color);
    font-size: 14px;
    margin-top: 16px;
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* Cards */
.card,
.article-card {
    background: var(--surface-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.card {
    width: 280px;
}

.article-card {
    width: 580px;
}

.card-icon,
.article-card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(130deg, var(--nav-gradient-start) 0%, var(--nav-gradient-end) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
}

.card h3,
.article-card h3,
.card h4,
.article-card h4 {
    color: #333;
    margin-bottom: 10px;
}

.card p,
.article-card p {
    color: var(--muted-color);
    line-height: 1.5;
    font-size: 14px;
}

/* Forms */
.form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.form-card {
    width: min(100%, 400px);
    background: var(--surface-color);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.error {
    display: none;
    color: #b91c1c;
    font-size: 14px;
    margin-top: 6px;
}

/* Search */
.search-container {
    position: relative;
    max-width: 400px;
    margin: 20px auto;
    font-family: sans-serif;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    box-sizing: border-box;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    outline: none;
}

.search-input:focus {
    border-color: #0066cc;
}

.results-dropdown {
    position: absolute;
    width: 100%;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 10;
}

.result-item {
    display: block;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    color: #333;
    text-decoration: none;
}

.result-item:hover {
    background-color: #f0f8ff;
    color: #000;
}

.result-title {
    font-weight: bold;
    margin-bottom: 4px;
}

.result-author {
    font-size: 14px;
    color: var(--muted-color);
}

/* Divider Container */
.divider-container {
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: 20px 0;
}

.article-nav {
    text-align: center;
    margin-bottom: 16px;
}

.article-title {
    text-align: center;
    margin-bottom: 12px;
}

.article-subtitle {
    text-align: center;
    margin-bottom: 12px;
    color: #333;
}

.article-meta {
    text-align: center;
    color: var(--muted-color);
    margin-bottom: 20px;
}

.article-content {
    display: grid;
    gap: 16px;
}

.line {
    flex-grow: 1;
    height: 1px;
    background-color: var(--border-color);
}

.divider-text {
    padding: 0 15px;
    color: var(--muted-color);
    font-weight: 500;
}

/* Media */
.media-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 24px 0;
}

.media-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.media-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #111;
    font-weight: 600;
}

.media-link svg {
    transform: translateY(2px);
}

/* Committee */
.committee-list {
    display: grid;
    gap: 8px;
    margin-bottom: 24px;
}

.agenda-list {
    display: grid;
    gap: 16px;
}

.agenda-item {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.agenda-item:last-child {
    border-bottom: none;
}

.agenda-note {
    color: #1d4ed8;
    margin-top: 6px;
}

.product-list {
    display: grid;
    gap: 6px;
    margin-top: 12px;
}

.product-list li {
    padding: 2px 0;
}

