/* Salt-Tab Directory - Drudge Report Inspired Stylesheet */

/* Google Fonts - Jost (Futura-like geometric sans-serif) */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --link-color: #0000cc;
    --link-hover: #cc0000;
    --border-color: #cccccc;
    --section-bg: #f5f5f5;
    --accent-color: #1a1a1a;
    --gold-accent: #c9a227;
    --font-main: 'Jost', 'Century Gothic', 'Futura', sans-serif;
}

body {
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1.4;
    background-color: var(--bg-color);
    color: var(--text-color);
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px;
}

/* Compact Header with Nav */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 15px;
    border-bottom: 2px solid var(--accent-color);
    margin-bottom: 15px;
}

.site-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-color);
    text-decoration: none;
    display: inline-block;
}

.site-title:hover {
    color: var(--gold-accent);
}

.tagline {
    font-size: 11px;
    color: #666;
    margin-top: 2px;
    font-style: normal;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.header-left {
    display: flex;
    flex-direction: column;
}

/* Header Clock - Newspaper Style */
.header-clock {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-main);
    background-color: var(--accent-color);
    color: white;
    padding: 8px 20px;
    border-radius: 0;
}

.clock-time {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    font-variant-numeric: tabular-nums;
}

.clock-zone {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-top: 2px;
    opacity: 0.8;
}

/* Navigation - inline with header */
nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

nav a:hover {
    color: var(--link-hover);
    border-bottom: 2px solid var(--link-hover);
}

nav a.active {
    color: var(--link-hover);
    border-bottom: 2px solid var(--link-hover);
}

/* Headline Section */
.headline-section {
    text-align: center;
    padding: 20px;
    background-color: var(--section-bg);
    border: 2px solid var(--accent-color);
    margin-bottom: 25px;
}

.headline-image {
    max-width: 100%;
    max-height: 400px;
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
}

.headline-title {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
}

.headline-title a {
    color: var(--accent-color);
    text-decoration: none;
}

.headline-title a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

.headline-date {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Main Content Grid */
.main-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Link Section Boxes */
.link-section {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 15px;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.link-list {
    list-style: none;
}

.link-list li {
    padding: 4px 0;
    border-bottom: 1px dotted var(--border-color);
}

.link-list li:last-child {
    border-bottom: none;
}

.link-list a {
    color: var(--link-color);
    text-decoration: none;
    font-size: 13px;
}

.link-list a:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

.link-list .org-name {
    font-weight: bold;
}

.link-list .org-desc {
    font-size: 11px;
    color: #666;
    display: block;
    margin-top: 2px;
}

/* Events Page Styles */
.events-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.month-section {
    background-color: var(--section-bg);
    border: 1px solid var(--border-color);
    padding: 15px;
}

.month-title {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: var(--accent-color);
    color: white;
    padding: 8px 12px;
    margin: -15px -15px 15px -15px;
    text-align: center;
}

.event-item {
    padding: 8px 0;
    border-bottom: 1px dotted var(--border-color);
}

.event-item:last-child {
    border-bottom: none;
}

.event-name {
    font-weight: bold;
    color: var(--link-color);
    text-decoration: none;
    display: block;
}

.event-name:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

.event-date {
    font-size: 12px;
    color: #333;
    font-weight: bold;
}

.event-location {
    font-size: 11px;
    color: #666;
}

.event-category {
    font-size: 10px;
    background-color: var(--gold-accent);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 4px;
}

/* Scholarships Page Styles */
.scholarships-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.scholarship-section {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    padding: 15px;
}

.scholarship-item {
    padding: 10px 0;
    border-bottom: 1px dotted var(--border-color);
}

.scholarship-item:last-child {
    border-bottom: none;
}

.scholarship-name {
    font-weight: bold;
    color: var(--link-color);
    text-decoration: none;
}

.scholarship-name:hover {
    color: var(--link-hover);
    text-decoration: underline;
}

.scholarship-amount {
    font-size: 12px;
    color: #006600;
    font-weight: bold;
}

.scholarship-deadline {
    font-size: 11px;
    color: #cc0000;
}

.scholarship-desc {
    font-size: 11px;
    color: #666;
    margin-top: 4px;
}

/* Footer */
footer {
    text-align: center;
    padding: 25px 20px;
    margin-top: 30px;
    border-top: 2px solid var(--accent-color);
    font-size: 12px;
    color: #666;
}

footer a {
    color: var(--link-color);
}

/* Footer Button */
.footer-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 10px 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 15px 0;
    border: 2px solid var(--accent-color);
    transition: all 0.2s ease;
}

.footer-btn:hover {
    background-color: white;
    color: var(--accent-color);
}

/* Quick Links Bar - Below Headline */
.quick-links {
    background-color: var(--accent-color);
    padding: 10px 15px;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px 20px;
}

.quick-links a {
    color: white;
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    padding: 3px 0;
}

.quick-links a:hover {
    text-decoration: underline;
    color: var(--gold-accent);
}

/* Page Intro */
.page-intro {
    text-align: center;
    padding: 15px;
    background-color: var(--section-bg);
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

.page-intro h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.page-intro p {
    font-size: 14px;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .main-content,
    .events-container,
    .scholarships-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    body {
        padding: 5px;
    }

    header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 10px;
    }

    .header-clock {
        order: -1;
        width: 100%;
        padding: 6px 15px;
    }

    .clock-time {
        font-size: 16px;
    }

    .site-title {
        font-size: 22px;
        letter-spacing: 2px;
    }

    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 12px;
    }

    .main-content,
    .events-container,
    .scholarships-container {
        grid-template-columns: 1fr;
    }

    .headline-title {
        font-size: 20px;
    }

    .quick-links {
        gap: 5px 15px;
    }

    .quick-links a {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 20px;
    }

    nav {
        gap: 10px;
    }

    nav a {
        font-size: 11px;
    }

    .section-title {
        font-size: 14px;
    }

    .headline-title {
        font-size: 18px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* Print Styles */
@media print {
    body {
        font-size: 12px;
    }

    nav, .quick-links {
        display: none;
    }

    .main-content {
        display: block;
    }

    .link-section {
        page-break-inside: avoid;
    }
}
