/* ============================================================
   MAIN.CSS — Personal Brand Styles for lisajurries.me
   ============================================================ */

/* ------------------------------------------------------------
   Base Typography & Layout
------------------------------------------------------------ */
body {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    line-height: 25px;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* keeps footer at bottom */
}

html, body {
    height: 100%;
}

main {
    flex: 1 0 auto;
}

.container {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    flex: 1;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

main > .container {
    flex: 1;
}

/* Only stretch the RSS dashboard container */
main .rss-dashboard-container {
    flex: 1;
}

/* ------------------------------------------------------------
   Headings (Brand Colors)
------------------------------------------------------------ */
h1, h2 {
    font-family: 'Montserrat', sans-serif;
}

h1 {
    font-size: 1.8rem;
    color: #003d57;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

h2 {
    font-size: 1.45rem;
    color: #00506f;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.side-nav h2 {
    font-size: 1.45rem;
    color: #00506f;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* ------------------------------------------------------------
   Column Spacing (Brand Layout)
------------------------------------------------------------ */
.col-lg-8 {
    padding-right: 30px;
}

.col-lg-4 {
    padding-left: 30px;
}

/* ------------------------------------------------------------
   Sidebar Buttons (Brand UI)
------------------------------------------------------------ */
.side-nav {
    margin-top: 10px;
}

.side-nav .nav-link {
    background-color: #f0f4f7;
    border: 1px solid #c7d3dd;
    padding: 8px 12px;
    margin-bottom: 12px;
    border-radius: 4px;
    color: #004c6d;
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
}

.side-nav .nav-link:hover {
    background-color: #e2eaf0;
    border-color: #b5c4cf;
}

/* ------------------------------------------------------------
   Navbar (Brand Colors)
------------------------------------------------------------ */
.navbar .nav-link {
    color: #ffffff;
}

.navbar .nav-link:hover {
    color: #0dcaf0 !important;
}

.navbar-dark,
.bg-dark {
    background-color: #1b263b !important;
    border-top: 1px solid #415a77;
}

/* ------------------------------------------------------------
   Footer (Brand Colors)
------------------------------------------------------------ */
footer.foot {
    background-color: #1b263b;
    color: #ffffff;
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #415a77;
    width: 100%;
    margin-top: auto;
}

/* Ticker container */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Ticker text */
.ticker {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker-run 12s linear infinite;
}

.ticker span {
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: #ffffff;
}

/* Animation */
@keyframes ticker-run {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.footer-statement,
.copyright {
    color: black;
    opacity: 0.85;
}

/* ------------------------------------------------------------
   Blockquote (Brand Style)
------------------------------------------------------------ */
blockquote {
    border-left: 10px solid #ccc;
    margin: 1.5em 10px;
    padding: 0.5em 10px;
}
/* ============================================================
   GLOBAL.CSS — UNIVERSAL LAYOUT, SPACING, RESPONSIVE UTILITIES
   ============================================================ */

/* ------------------------------------------------------------
   UNIVERSAL CONTAINER PADDING 
------------------------------------------------------------ */
@media (max-width: 768px) {
    .container,
    .row {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* ------------------------------------------------------------
   UNIVERSAL COLUMN STACKING 
------------------------------------------------------------ */
@media (max-width: 992px) {

    /* Weather page columns */
    .col-lg-4,
    .col-lg-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
}

/* ------------------------------------------------------------
   UNIVERSAL BUTTON SIZING (small screens)
------------------------------------------------------------ */
@media (max-width: 768px) {
    .btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* ------------------------------------------------------------
   UNIVERSAL IMAGE RULES
------------------------------------------------------------ */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ------------------------------------------------------------
   UNIVERSAL CARD SPACING
------------------------------------------------------------ */
.card {
    margin-bottom: 20px;
}

/* ------------------------------------------------------------
   FLEX UTILITIES
------------------------------------------------------------ */
.flex {
    display: flex;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ------------------------------------------------------------
   TIGHT SPACING HELPER
------------------------------------------------------------ */
.tight {
    margin-bottom: 15px;
}

/* Fix inconsistent sizing in side-nav two-column list */
@media (max-width: 768px) {

    /* Force the grid to collapse to one column */
    .side-nav .row-cols-2 > .col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Normalize link text sizing */
    .side-nav .nav-link {
        font-size: 1rem;          /* consistent size */
        line-height: 1.35rem;     /* consistent spacing */
        white-space: nowrap;      /* prevents multi-line wrapping */
        overflow: hidden;         /* prevents overflow */
        text-overflow: ellipsis;  /* keeps layout clean */
    }

    /* Optional: make all link boxes equal height */
    .side-nav .col .nav-link {
        padding: 10px 12px;
        display: flex;
        align-items: center;
        min-height: 44px;         /* touch-friendly */
    }
}

@media (max-width: 992px) {
    .side-nav .row-cols-2 > .col {
        flex: 0 0 50%;
        max-width: 50%;
    }
}



