html {
    font-size: 16px;
    min-height: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient( 180deg, #edf3f8 0%, #f7f9fb 280px, #f3f5f7 100% );
    color: #1f2933;
    font-family: Arial, Helvetica, sans-serif;
}


/* ========================================
   HEADER
   ======================================== */

.reads-header {
    background: #ffffff;
    padding: 16px 0;
    border-bottom: 1px solid #d7dde4;
}

.reads-header-dashboard {
    display: grid;
    grid-template-columns: minmax(230px, 1fr) auto minmax(230px, 1fr);
    align-items: center;
    gap: 38px;
}


/* ========================================
   CENTER LOGO
   ======================================== */

.reads-brand-centered {
    display: flex;
    align-items: center;
    justify-content: center;
}

.reads-logo-image {
    width: 280px;
    max-width: 100%;
    height: auto;
    display: block;
}


/* ========================================
   WEATHER
   ======================================== */

.reads-weather {
    min-width: 0;
}

.reads-weather-left {
    text-align: left;
    border-left: 3px solid #c8202f;
    padding-left: 14px;
}

.reads-weather-right {
    text-align: right;
    border-right: 3px solid #c8202f;
    padding-right: 14px;
}

.reads-weather-location {
    margin-bottom: 5px;
    color: #163b6d;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.reads-weather-main {
    display: flex;
    align-items: center;
    gap: 11px;
}

.reads-weather-right .reads-weather-main {
    justify-content: flex-end;
}

.reads-weather-temp {
    color: #163b6d;
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
}

.reads-weather-condition {
    color: #34495e;
    font-size: 0.9rem;
    font-weight: 700;
}

.reads-weather-time {
    margin-top: 3px;
    color: #7b8793;
    font-size: 0.78rem;
    white-space: nowrap;
}


/* ========================================
   NAVIGATION
   ======================================== */

.reads-nav {
    background: linear-gradient( 90deg, #12345e 0%, #1b4c83 55%, #224f85 100% );
    border-bottom: 4px solid #c8202f;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.10);
}

    .reads-nav a {
        display: inline-block;
        color: #ffffff;
        text-decoration: none;
        padding: 11px 16px;
        font-weight: 700;
        font-size: 0.95rem;
    }

        .reads-nav a:hover {
            background: rgba(255, 255, 255, 0.10);
            color: #ffffff;
        }


/* ========================================
   MAIN
   ======================================== */

.reads-main {
    padding-top: 26px;
    padding-bottom: 60px;
    min-height: 65vh;
}


/* ========================================
   HERO
   ======================================== */

.portal-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient( 90deg, rgba(10, 39, 76, 0.95) 0%, rgba(18, 59, 105, 0.88) 42%, rgba(18, 59, 105, 0.55) 68%, rgba(18, 59, 105, 0.32) 100% ), url("../images/reads-vans.jpg");
    background-size: cover;
    background-position: center;
    color: #ffffff;
    min-height: 190px;
    padding: 34px 44px;
    display: flex;
    align-items: center;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 12px 32px rgba(18, 52, 94, 0.22);
}

    .portal-hero::before {
        content: "";
        position: absolute;
        width: 360px;
        height: 360px;
        right: -170px;
        top: -210px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.05);
    }

    .portal-hero::after {
        content: "";
        position: absolute;
        width: 220px;
        height: 7px;
        left: 44px;
        bottom: 0;
        background: #c8202f;
    }

.portal-hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.portal-eyebrow {
    display: inline-block;
    margin-bottom: 7px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: #d8e7f7;
}

.portal-hero h2 {
    margin: 0 0 9px 0;
    font-size: 2.3rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

.portal-hero p {
    margin: 0;
    max-width: 650px;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #e8f0f8;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.20);
}


/* ========================================
   PORTAL SECTIONS
   ======================================== */

.portal-sections {
    display: grid;
    gap: 18px;
}

.portal-section {
    background: #ffffff;
    border: 1px solid #dbe2e8;
    border-radius: 14px;
    padding: 0 20px 18px;
    box-shadow: 0 5px 16px rgba(31, 48, 66, 0.065);
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

    .portal-section:hover {
        transform: translateY(-2px);
        box-shadow: 0 9px 22px rgba(31, 48, 66, 0.10);
    }


/* ========================================
   SECTION HEADERS
   ======================================== */

.portal-section-header {
    margin: 0 -20px 16px;
    padding: 15px 20px 13px;
    background: linear-gradient( 90deg, #f8fafc 0%, #ffffff 100% );
    border-bottom: 1px solid #e3e8ed;
    position: relative;
}

    .portal-section-header::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 5px;
        background: #12345e;
    }

.portal-section:nth-child(2)
.portal-section-header::before {
    background: #245b9e;
}

.portal-section:nth-child(3)
.portal-section-header::before {
    background: #c8202f;
}

.downloads-section
.portal-section-header::before {
    background: #c8202f;
}

.portal-section-kicker {
    display: block;
    margin-bottom: 3px;
    color: #c8202f;
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.10em;
    text-transform: uppercase;
}

.portal-section-header h3 {
    margin: 0 0 3px 0;
    color: #163b6d;
    font-size: 1.25rem;
    font-weight: 700;
}

.portal-section-header p {
    margin: 0;
    color: #7b8793;
    font-size: 0.88rem;
}


/* ========================================
   RESOURCE LINKS
   ======================================== */

.portal-link-grid {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(240px, 1fr) );
    gap: 10px;
}

    .portal-link-grid a {
        position: relative;
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 11px 14px;
        border: 1px solid #dfe5eb;
        border-radius: 9px;
        background: linear-gradient( 180deg, #ffffff 0%, #f7f9fb 100% );
        color: #163b6d;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 2px 5px rgba(31, 48, 66, 0.03);
        transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
    }

        .portal-link-grid a::before {
            content: "";
            width: 4px;
            height: 24px;
            flex-shrink: 0;
            border-radius: 3px;
            background: #d8e2ee;
            margin-right: 3px;
            transition: background 0.16s ease;
        }

        .portal-link-grid a:hover {
            background: #ffffff;
            border-color: #b8c8d8;
            transform: translateY(-2px);
            box-shadow: 0 7px 15px rgba(22, 59, 109, 0.10);
            color: #102f56;
        }

            .portal-link-grid a:hover::before {
                background: #c8202f;
            }

.portal-arrow {
    margin-left: auto;
    color: #c8202f;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
}


/* ========================================
   DOWNLOADS
   ======================================== */

.portal-download-grid {
    display: grid;
    gap: 10px;
}

.portal-download {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 13px 16px;
    background: linear-gradient( 180deg, #ffffff 0%, #f7f9fb 100% );
    border: 1px solid #dfe5eb;
    border-radius: 9px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(31, 48, 66, 0.03);
    transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

    .portal-download:hover {
        background: #ffffff;
        border-color: #b8c8d8;
        transform: translateY(-2px);
        box-shadow: 0 7px 15px rgba(22, 59, 109, 0.10);
        text-decoration: none;
    }

.portal-download-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

    .portal-download-info strong {
        color: #163b6d;
        font-size: 0.96rem;
    }

    .portal-download-info span {
        color: #788491;
        font-size: 0.86rem;
        line-height: 1.4;
    }

.portal-download-button {
    flex-shrink: 0;
    background: #163b6d;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 7px;
    font-size: 0.82rem;
    font-weight: 700;
    border-bottom: 3px solid #c8202f;
    box-shadow: 0 2px 5px rgba(22, 59, 109, 0.16);
}

.portal-download:hover
.portal-download-button {
    background: #102f56;
    color: #ffffff;
}


/* ========================================
   FOOTER
   ======================================== */

.reads-footer {
    background: linear-gradient( 90deg, #12345e 0%, #183f70 100% );
    border-top: 4px solid #c8202f;
    color: rgba(255, 255, 255, 0.84);
    padding: 18px 0;
    font-size: 0.9rem;
}


/* ========================================
   TABLET
   ======================================== */

@media (max-width: 900px) {

    .reads-header-dashboard {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .reads-brand-centered {
        grid-column: 1 / -1;
        grid-row: 1;
        margin-bottom: 4px;
    }

    .reads-weather-left {
        grid-column: 1;
        grid-row: 2;
    }

    .reads-weather-right {
        grid-column: 2;
        grid-row: 2;
    }
}


@media (max-width: 768px) {

    .reads-logo-image {
        max-width: 240px;
    }

    .reads-main {
        padding-top: 22px;
    }

    .portal-hero {
        min-height: 170px;
        padding: 28px 24px;
        background-position: center;
    }

        .portal-hero::after {
            left: 24px;
            width: 160px;
        }

        .portal-hero h2 {
            font-size: 1.8rem;
        }

        .portal-hero p {
            font-size: 1rem;
        }

    .portal-section {
        padding: 0 16px 16px;
    }

    .portal-section-header {
        margin: 0 -16px 16px;
        padding: 15px 16px;
    }

    .portal-link-grid {
        grid-template-columns: 1fr;
    }
}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 600px) {

    .reads-header-dashboard {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .reads-brand-centered,
    .reads-weather-left,
    .reads-weather-right {
        grid-column: 1;
    }

    .reads-brand-centered {
        grid-row: 1;
    }

    .reads-weather-left {
        grid-row: 2;
    }

    .reads-weather-right {
        grid-row: 3;
        text-align: left;
        border-right: 0;
        border-left: 3px solid #c8202f;
        padding-right: 0;
        padding-left: 14px;
    }

        .reads-weather-right
        .reads-weather-main {
            justify-content: flex-start;
        }

    .reads-logo-image {
        width: 240px;
    }

    .portal-download {
        align-items: flex-start;
        flex-direction: column;
    }

    .portal-download-button {
        width: 100%;
        text-align: center;
    }
}
