/* ================================
   GLOBAL RESET / BASE
================================ */

html {
    font-size: 100%;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-family: Verdana, Tahoma, Arial, sans-serif;
    line-height: 1.4;
    color: #222;
}

/* Consistent page wrapper */
.page-inner {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

/* ================================
   TYPOGRAPHY
================================ */

p {
    margin: 0 0 1rem;
    font-size: 1.1rem;
}

h1, h2, h3, h4 {
    margin: 0 0 1rem;
    line-height: 1.25;
    color: #444;
    font-family: Georgia, Garamond, "Times New Roman", serif;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

/* ================================
   LINKS
================================ */

a {
    color: #0066ff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ================================
   IMAGES
================================ */

img {
    vertical-align: middle;
    max-width: 100%;
    height: auto;
}

/* Article thumbnails */
.thumb-rounded {
    margin: 5px;
    border-radius: 8px;
    float: left;
    max-width: 250px;
}

/* Alternating floats */
.img-left {
    float: left;
    margin: 0 10px 5px 0;
}

.img-right {
    float: right;
    margin: 0 0 5px 10px;
}

/* Mobile: stop floating */
@media (max-width: 600px) {
    .thumb-rounded,
    .img-left,
    .img-right {
        float: none;
        display: block;
        margin: 0 auto 10px;
    }
}

/* ================================
   HEADER
================================ */

/* Header logo container */
.header-logo {
    display: flex;
    justify-content: center;
    margin: 0 auto 20px;
}

.header-logo img {
    width: 100%;
    max-width: 1300px;
    height: auto;
}

/* Navigation icons */
.nav-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.nav-icons img {
    width: 60px;
    height: 60px;
}

/* Mobile nav icon sizing */
@media (max-width: 600px) {
    .nav-icons img {
        width: 32px;
        height: 32px;
    }
}

/* ================================
   NEWS BAR
================================ */

.news-bar {
    display: flex;
    align-items: center;
    justify-content: center;   /* ← THIS is what you’re missing */
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.news-date {
    font-size: 1.2rem;
    color: #3385ff;
}

.news-links a {
    margin-right: 10px;
    white-space: nowrap;
}

.news-disclaimer {
    margin: 10px 0 20px;
    font-size: 0.9rem;
    color: blue;
}

/* ================================
   FOOTER (Hybrid Layout)
================================ */

.site-footer {
    text-align: center;
    font-size: 14px;
    color: #444;
    margin: 40px auto 20px;
    max-width: 1300px;
    padding: 0 10px;
}

.site-footer a {
    color: #0066ff;
}

.footer-line {
    margin: 8px 0;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 6px 0;
}

.footer-icon {
    height: 18px;
    width: auto;
    vertical-align: middle;
}

/* Mobile footer tightening */
@media (max-width: 600px) {
    .site-footer {
        font-size: 13px;
        margin-top: 30px;
    }
    .footer-links {
        gap: 4px;
    }
}

/* ================================
   MISC
================================ */

hr {
    margin: 6px 0;
}

.holiday-greeting {
    white-space: nowrap;
}

/* Two-column layout for index page */
.news-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.news-item {
    width: calc(50% - 20px);
    box-sizing: border-box;
}

/* Mobile: collapse to one column */
@media (max-width: 800px) {
    .news-item {
        width: 100%;
    }
}
