/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Intel One Mono', 'Courier New', 'Courier', monospace;
    background-color: #FFFFFF;
    color: #000000;
    line-height: 1.4;
}

/* Top Bar */
.top-bar {
    background-color: #1E3A5F;
    height: 25px;
    width: 100%;
}

/* Main layout container */
.main-layout {
    display: flex;
    gap: 20px; /* Space between main container and search */
    max-width: 1200px; /* Adjust based on your design */
    margin: 0 auto;
    padding: 0 20px;
}

/* Main container */
.container {
    flex: 1; /* Takes up available space */
}

/* Content area */
.content {
    border-right: 2px solid #333; /* Vertical line on the right */
    padding-right: 20px; /* Space from the line */
    min-height: 100vh; /* Makes the border extend full viewport height */
}

/* Ad container */
.ad-container {
    width: 150px; /* Adjust width as needed */
    flex-shrink: 0; /* Prevents shrinking */
    position: relative;
    top: 280px; /* Adjust based on your header height */
    height: fit-content;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.logo h1 {
    font-family: 'Racing Sans One', 'Arial Black', 'Helvetica Bold', sans-serif;
    font-size: 80px;
    font-weight: bold;
    color: #003366;
    margin-bottom: -15px;
}

.logo p {
    font-family: 'Tiro Tamil', 'Georgia', 'Times New Roman', serif;
    font-size: 35px;
    color: #003366;
    margin-top: -20px;
}

.nav-links {
    font-size: 18px;
    font-family: 'Intel One Mono', monospace;
    margin-top: 100px;
}

.nav-links a {
    color: #000000;
    text-decoration: none;
}

.nav-links a:hover {
    text-decoration: underline;
}

.search {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.search-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-family: Arial, sans-serif;
}

.search-icon {
    width: 16px;
    height: 16px;
}

.search-label span {
    color: #000000;
    font-weight: bold;
}

.search input {
    width: 150px;
    height: 20px;
    border: 1px solid #000000;
    padding: 0 8px;
    background-color: #FFFFFF;
    font-family: Arial, sans-serif;
    font-size: 11px;
}

/* Navigation */
.navigation {
    display: flex;
    width: 100%;
    background-color: #FFFFFF;
    border-bottom: 2px solid #000000;
    margin-bottom: 20px;
}

.nav-tab {
    flex: 1;
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #000000;
    border: 2px outset #C0C0C0;
    background-color: #F0F0E8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-tab.visiting {
    background-color: #006699;
    color: #FFFFFF;
}

.nav-tab.living {
    background-color: #AD418B;
    color: #FFFFFF;
}

.nav-tab.city-hall {
    background-color: #CC9900;
    color: #FFFFFF;
}

.nav-tab.maps {
    background-color: #4F814C;
    color: #FFFFFF;
}

.nav-tab:hover {
    border-style: inset;
}

/* Scrollbar Styles */
.welcome-section {
    width: 100%;
    margin-bottom: 30px;
    /* border-right: 2px solid #333; Vertical line on the right */
    /* padding-right: 20px; Space from the line */
}

.welcome-header {
    background: linear-gradient(90deg, #1a237e 0%, #303f9f 100%);
    color: white;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    display: inline-block;
}

.living-header {
    background: linear-gradient(90deg, #963879 0%, #ad418b 100%);
    color: white;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.visiting-header {
    background: linear-gradient(90deg, #004c72 0%, #006699 100%);
    color: white;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    display: inline-block;
    width: 100%;    
}

.city-hall-header {
    background: linear-gradient(90deg, #ae8200 0%, #cc9900 100%);
    color: white;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 20px;
    display: inline-block;
    width: 100%;    
}

/* City Hall Hero Section */
.city-hall-hero {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    border: 2px solid #333;
    overflow: hidden;
}

.city-hall-hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.city-hall-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 30px 20px 20px 20px;
}

.city-hall-hero-overlay h1 {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.city-hall-hero-overlay p {
    font-family: 'Intel One Mono', 'Courier New', 'Courier', monospace;
    font-size: 16px;
    color: #ffffff;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* City Hall Grid Layout */
.city-hall-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.city-hall-grid-item {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.grid-item-title {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 15px;
    line-height: 1.3;
    border-bottom: 2px solid #333;
    padding-bottom: 8px;
}

.city-hall-grid-item p {
    font-family: 'Intel One Mono', 'Courier New', 'Courier', monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
    margin: 0;
    flex-grow: 1;
}

.city-hall-grid-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Responsive Design for Grid */
@media (max-width: 768px) {
    .city-hall-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .city-hall-grid {
        grid-template-columns: 1fr;
    }
    
    .city-hall-hero-overlay h1 {
        font-size: 24px;
    }
    
    .city-hall-hero-overlay p {
        font-size: 14px;
    }
}

/* City Hall Subpage Styles */
.breadcrumb {
    font-family: 'Intel One Mono', 'Courier New', 'Courier', monospace;
    font-size: 12px;
    color: #666;
    margin-bottom: 20px;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.breadcrumb a {
    color: #003366;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.page-header {
    margin-bottom: 30px;
    text-align: center;
}

.page-header h1 {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 32px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 15px;
}

.page-header p {
    font-family: 'Intel One Mono', 'Courier New', 'Courier', monospace;
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    font-family: 'Intel One Mono', 'Courier New', 'Courier', monospace;
    font-size: 14px;
    line-height: 1.6;
    color: #000000;
}

.page-content h2 {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #003366;
    margin: 40px 0 20px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #333;
}

.page-content h3 {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #003366;
    margin: 25px 0 12px 0;
}

.page-content p {
    margin-bottom: 15px;
}

.page-content ul, .page-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.page-content li {
    margin-bottom: 8px;
}

.page-content strong {
    color: #003366;
    font-weight: bold;
}

/* Meeting Schedule Styles */
.meeting-schedule {
    margin: 20px 0;
}

.meeting-item {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
    margin-bottom: 20px;
}

.meeting-date {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 10px;
}

.meeting-details h3 {
    margin: 0 0 10px 0;
    font-size: 18px;
}

/* Minutes List Styles */
.minutes-list {
    margin: 20px 0;
}

.minutes-item {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
    margin-bottom: 20px;
}

.minutes-item h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

/* Full Meeting Minutes Styles */
.meeting-minutes-full {
    margin-top: 20px;
    padding: 20px;
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    font-size: 13px;
    line-height: 1.5;
}

.meeting-minutes-full h4 {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #003366;
    margin: 0 0 10px 0;
    text-align: center;
}

.meeting-minutes-full h5 {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #003366;
    margin: 25px 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
}

.meeting-minutes-full h6 {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #003366;
    margin: 20px 0 8px 0;
}

.meeting-minutes-full p {
    margin-bottom: 12px;
}

.meeting-minutes-full strong {
    color: #003366;
    font-weight: bold;
}

.meeting-minutes-full em {
    font-style: italic;
    color: #666;
}

.download-link {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 10px;
    font-size: 12px;
}

.download-link:hover {
    background-color: #004080;
}

/* Council Members Grid */
.council-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.member-card {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
    display: flex;
    gap: 20px;
}

.member-photo {
    flex-shrink: 0;
}

.member-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid #333;
}

.member-info {
    flex-grow: 1;
}

.member-role {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.member-expertise {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 12px;
    color: #003366;
    margin-bottom: 10px;
    font-style: italic;
}

.member-description {
    margin-bottom: 15px;
}

.member-contact p {
    margin-bottom: 5px;
    font-size: 12px;
}

/* Committee List */
.committee-list {
    margin: 20px 0;
}

.committee-item {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
    margin-bottom: 20px;
}

.committee-item h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

/* Mayor Profile */
.mayor-profile {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
}

.mayor-photo {
    flex-shrink: 0;
}

.mayor-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 2px solid #333;
}

.mayor-info {
    flex-grow: 1;
}

/* Service Requests */
.service-requests {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.request-item {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
}

.request-item h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

.request-link {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 15px;
    font-size: 12px;
}

.request-link:hover {
    background-color: #004080;
}

/* Budget Overview */
.budget-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.budget-item {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
    text-align: center;
}

.budget-amount {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #003366;
    margin: 10px 0;
}

.budget-period {
    font-size: 12px;
    color: #666;
}

/* Budget Table Styles */
.budget-table-container {
    margin: 20px 0;
    overflow-x: auto;
}

.budget-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #ffffff;
    border: 2px solid #333;
    font-family: 'Intel One Mono', 'Courier New', 'Courier', monospace;
    font-size: 13px;
}

.budget-table th {
    background-color: #003366;
    color: white;
    padding: 12px 8px;
    text-align: left;
    font-weight: bold;
    border: 1px solid #333;
}

.budget-table td {
    padding: 10px 8px;
    border: 1px solid #ccc;
    vertical-align: top;
}

.budget-table tr:nth-child(even) {
    background-color: #f8f8f8;
}

.budget-table tr:hover {
    background-color: #e8f4f8;
}

.total-row {
    background-color: #d4d4d4 !important;
    font-weight: bold;
}

.total-row td {
    border-top: 2px solid #333;
}

.budget-table h4 {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #003366;
    margin: 25px 0 15px 0;
}

/* Funding Breakdown */
.funding-breakdown {
    margin: 20px 0;
}

.funding-category {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
    margin-bottom: 20px;
}

.funding-category h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

/* Office Budgets */
.office-budgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.office-budget {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
}

.office-budget h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

/* Expense Reports */
.expense-reports {
    margin: 20px 0;
}

.report-item {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
    margin-bottom: 20px;
}

.report-item h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

/* Principles List */
.principles-list {
    margin: 20px 0;
}

.principle-item {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
    margin-bottom: 20px;
}

.principle-item h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

/* Policy Documents */
.policy-documents {
    margin: 20px 0;
}

.policy-doc {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
    margin-bottom: 20px;
}

.policy-doc h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

/* Regulatory Processes */
.regulatory-processes {
    margin: 20px 0;
}

.process-step {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
    margin-bottom: 20px;
}

.process-step h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

/* Special Considerations */
.special-considerations {
    margin: 20px 0;
}

.consideration-item {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
    margin-bottom: 20px;
}

.consideration-item h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

/* Participation Options */
.participation-options {
    margin: 20px 0;
}

.participation-option {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
    margin-bottom: 20px;
}

.participation-option h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

.option-action {
    margin-top: 15px;
}

.action-link {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
}

.action-link:hover {
    background-color: #004080;
}

/* Feedback Form */
.feedback-form {
    max-width: 600px;
    margin: 30px auto;
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: Arial Black, Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #333;
    font-family: 'Intel One Mono', 'Courier New', 'Courier', monospace;
    font-size: 14px;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #003366;
    box-shadow: 0 0 5px rgba(0, 51, 102, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.submit-button {
    background-color: #003366;
    color: white;
    border: none;
    padding: 15px 30px;
    font-family: Arial Black, Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border: 2px solid #333;
}

.submit-button:hover {
    background-color: #004080;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.submit-button:active {
    transform: translateY(0);
}

/* Volunteer Opportunities */
.volunteer-opportunities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.volunteer-role {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
}

.volunteer-role h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

.volunteer-link {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 15px;
    font-size: 12px;
}

.volunteer-link:hover {
    background-color: #004080;
}

/* Educational Programs */
.educational-programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.program-item {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
}

.program-item h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

.program-link {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 15px;
    font-size: 12px;
}

.program-link:hover {
    background-color: #004080;
}

/* Idea Submission */
.idea-submission {
    margin: 20px 0;
    text-align: center;
}

.submission-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.category {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
}

.category h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

.submit-idea-link {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
}

.submit-idea-link:hover {
    background-color: #004080;
}

/* Stay Informed */
.stay-informed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.newsletter-signup, .social-media {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
    text-align: center;
}

.newsletter-signup h3, .social-media h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

.newsletter-link {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 15px;
    font-size: 12px;
}

.newsletter-link:hover {
    background-color: #004080;
}

.social-links {
    margin-top: 15px;
}

.social-link {
    display: inline-block;
    background-color: #003366;
    color: white;
    padding: 6px 12px;
    text-decoration: none;
    border-radius: 4px;
    margin: 0 5px;
    font-size: 11px;
}

.social-link:hover {
    background-color: #004080;
}

/* Contact Info */
.contact-info {
    background-color: #d4d4d4;
    border: 2px solid #333;
    padding: 20px;
    margin: 20px 0;
}

.contact-info p {
    margin-bottom: 8px;
}

/* Responsive Design for Subpages */
@media (max-width: 768px) {
    .council-members-grid {
        grid-template-columns: 1fr;
    }
    
    .member-card {
        flex-direction: column;
    }
    
    .mayor-profile {
        flex-direction: column;
    }
    
    .budget-overview {
        grid-template-columns: 1fr;
    }
    
    .funding-breakdown {
        grid-template-columns: 1fr;
    }
    
    .office-budgets {
        grid-template-columns: 1fr;
    }
    
    .participation-options {
        grid-template-columns: 1fr;
    }
    
    .volunteer-opportunities {
        grid-template-columns: 1fr;
    }
    
    .educational-programs {
        grid-template-columns: 1fr;
    }
    
    .submission-categories {
        grid-template-columns: 1fr;
    }
    
    .stay-informed {
        grid-template-columns: 1fr;
    }
}

.maps-header {
    background: linear-gradient(90deg, #50844c 0%, #50844c 100%);
    color: white;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
    display: inline-block;
    width: 100%;    
}

.text-container {
    width: 100%;
    height: 150px;
    border: 2px inset #c0c0c0;
    position: relative;
    background: #d4d4d4;
    box-sizing: border-box;
}

/* Content area */
.home-content-container {
    border-right: 2px solid #333; /* Vertical line on the right */
    padding-right: 20px; /* Space from the line */
    min-height: 100vh; /* Makes the border extend full viewport height */
}
.content-area {
    position: absolute;
    top: 0;
    left: 0;
    right: 22px;
    bottom: 0;
    overflow: hidden;
    padding: 8px;
    background: #d4d4d4;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.3;
    color: #000;
    box-sizing: border-box;
}

.scrollable-content {
    height: auto;
    transition: transform 0.1s ease;
    padding-bottom: 12px;
}

.scrollable-content p {
    margin: 0 0 12px 0;
    word-wrap: break-word;
}

.scrollable-content p:last-child {
    margin-bottom: 0;
}

.custom-scrollbar {
    position: absolute;
    top: 0;
    right: 0;
    width: 22px;
    height: 100%;
    background: #c0c0c0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    border-left: 1px solid #808080;
}

.scroll-track {
    flex: 1;
    background: #c0c0c0;
    position: relative;
    border: 1px inset #a0a0a0;
    margin: 1px;
}

.scroll-thumb {
    width: 18px;
    height: 18px;
    background: #8080d0;
    border: 1px outset #a0a0a0;
    position: absolute;
    left: 1px;
    cursor: pointer;
    user-select: none;
    box-sizing: border-box;
}

.scroll-thumb:active {
    border: 1px inset #a0a0a0;
    background: #7070c0;
}

.scroll-buttons-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    background: #c0c0c0;
}

.scroll-button {
    width: 20px;
    height: 18px;
    background: linear-gradient(135deg, #f0f0f0 0%, #d0d0d0 50%, #a0a0a0 100%);
    border: 1px solid #808080;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    color: #000;
    user-select: none;
    margin: 0;
    box-shadow: 
        inset 1px 1px 0px #ffffff,
        inset -1px -1px 0px #606060,
        1px 1px 1px rgba(0,0,0,0.1);
}

.scroll-button:active {
    background: linear-gradient(135deg, #a0a0a0 0%, #c0c0c0 50%, #e0e0e0 100%);
    box-shadow: 
        inset -1px -1px 0px #ffffff,
        inset 1px 1px 0px #606060;
}

.scroll-up::before {
    content: "▲";
    font-size: 8px;
    font-weight: 900;
    color: #000000;
}

.scroll-down::before {
    content: "▼";
    font-size: 8px;
    font-weight: 900;
    color: #000000;
}

.content-area::-webkit-scrollbar {
    display: none;
}

.content-area {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Content */
.content {
    margin-bottom: 30px;
}

.content h2 {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 15px;
}

.content p {
    font-family: 'Intel One Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
}

/* Footer */
.footer {
    background-color: #1E3A5F;
    color: #FFFFFF;
    padding: 20px 0;
    width: 100%;
    margin-top: 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 20px;
}

.footer-left h3 {
    font-family: 'Racing Sans One';
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 8px;
}

.footer-left p {
    font-family: 'Intel One Mono', monospace;
    font-size: 11px;
}

.footer-left a:link {
    color: #FFFFFF;
    text-decoration: none;
}
.footer-left a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}
.footer-left a:active {
    color: #FFFFFF;
    text-decoration: none;
}   

.footer-left a:visited {
    color: #FFFFFF;
    text-decoration: none;
}

.footer-right {
    text-align: right;
    font-family: 'Intel One Mono', monospace;
    font-size: 12px;
}

.footer-right p {
    margin-bottom: 3px;
}

.cards-container {
    display: flex;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.card {
    flex: 1;
}

.card-image {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #cccccc;
    /* border: 2px solid #c0c0c0; */
}

.card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    color: white;
    padding: 10px;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    padding: 8px 15px;
    font-weight: bold;
    font-size: 14px;
    display: inline-block;
}
.carousel-section {
    width: 955px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.whats-new-header {
    background: #c0c0c0;
    color: #1a237e;
    padding: 6px 12px;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 15px;
    display: inline-block;
    border: 2px solid #808080;
    text-transform: uppercase;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.carousel-track-container {
    flex: 1;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 10px;
    transition: transform 0.3s ease;
}

.carousel-card {
    width: 170px;
    height: 180px;
    background: #c0c0c0;
    border: 2px solid #808080;
    flex-shrink: 0;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: all 0.1s ease;
}

.carousel-card:hover {
    border: 2px inset #808080;
    background: #b8b8b8;
}

.carousel-card:active {
    border: 2px inset #808080;
    background: #a8a8a8;
}

.carousel-card-header {
    background: inherit;
    height: 60px;
    padding: 8px;
    text-align: center;
    border-bottom: 2px solid #808080;
    margin: 0 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-card-title {
    font-size: 15px;
    font-weight: bold;
    color: #1a237e;
    line-height: 1.2;
    margin: 0;
}

.carousel-card-content {
    padding: 10px;
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.carousel-card-text {
    font-size: 10px;
    line-height: 1.4;
    color: #000;
    margin: 0;
    text-align: center;
}

.nav-arrow {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 50%, #a0a0a0 100%);
    border: 2px outset #c0c0c0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: #000;
    user-select: none;
    margin-top: 70px;
}

.nav-arrow:active {
    border: 2px inset #c0c0c0;
    background: linear-gradient(135deg, #a0a0a0 0%, #c0c0c0 50%, #e0e0e0 100%);
}

.nav-arrow::before {
    content: "▶";
}

.card-content {
    padding: 15px;
    background-color: white;
}

.card-text {
    font-size: 12px;
    line-height: 1.4;
    color: #000000;
    font-family: 'Courier New', monospace;
}

/* Hacked Text Styling*/

#hackedtextheader {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 15px;
}

#hackedtext {
    font-family: 'Intel One Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
}

/* Image rendering for pixel art */
img {
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

/* Article Template Styles */
.article-container {
    max-width: 800px;
    margin: 0 auto 30px auto;
    padding: 0;
    background-color: #d4d4d4;
    border: 2px solid #333;
    border-radius: 0;
    box-shadow: none;
}

.article-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 0;
    border-bottom: 2px solid #333;
}

.article-title {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #003366;
    margin-bottom: 15px;
    line-height: 1.2;
}

.article-subtitle {
    font-family: 'Tiro Tamil', 'Georgia', 'Times New Roman', serif;
    font-size: 1.2rem;
    color: #666;
    font-style: italic;
}

.article-meta {
    font-family: 'Intel One Mono', 'Courier New', 'Courier', monospace;
    font-size: 11px;
    color: #888;
    margin-top: 10px;
}

.article-content {
    font-family: 'Intel One Mono', 'Courier New', 'Courier', monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #000000;
}

.article-content h2 {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #003366;
    margin: 30px 0 15px 0;
    padding: 0;
    border-bottom: none;
}

.article-content h3 {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #003366;
    margin: 25px 0 12px 0;
}

.article-content p {
    margin-bottom: 18px;
    text-align: left;
}

.article-content strong {
    color: #003366;
    font-weight: bold;
}

.article-content em {
    color: #000000;
    font-style: italic;
}

.article-content ul, .article-content ol {
    margin: 15px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content blockquote {
    border-left: 2px solid #333;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #000000;
    background-color: transparent;
    padding: 15px 20px;
    border-radius: 0;
}

.article-content .highlight-box {
    background-color: transparent;
    border: 2px solid #333;
    border-radius: 0;
    padding: 15px;
    margin: 20px 0;
}

.article-content .warning-box {
    background-color: transparent;
    border: 2px solid #333;
    border-radius: 0;
    padding: 15px;
    margin: 20px 0;
}

.article-content .tip-box {
    background-color: transparent;
    border: 2px solid #333;
    border-radius: 0;
    padding: 15px;
    margin: 20px 0;
}

.article-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #333;
    text-align: left;
    font-style: italic;
    color: #000000;
} 