html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    color: #10264a;
    background: #fbfaf4;
}

.color-strip {
    height: 8px;
    background: linear-gradient(to right, #d71920, #1f5fbf, #ff9933, #138808);
}

.top-header {
    background: white;
    padding: 18px 45px;
    border-bottom: 1px solid #ddd;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
    z-index: 50;
}

.logo {
    justify-self: start;
}

.logo a {
    color: #10264a;
    text-decoration: none;
    font-size: 42px;
    font-weight: bold;
    line-height: 1;
    display: inline-block;
}

.menu-bar {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 35px;
    flex-wrap: wrap;
}

.menu-bar a {
    color: #138808;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.2s ease;

    border-bottom: 3px solid transparent;
    padding-bottom: 5px;
}

.menu-bar a:hover {
    color: #ff9933;
}

.menu-bar a.active {
    color: #10264a;
    border-bottom-color: #ff9933;
}

.hero-image {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fbfaf4;
    position: relative;
    overflow: hidden;
}

.hero-image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    margin-top: 0;
}

.hero-image::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 275px;
    background: linear-gradient(
        to bottom,
        rgba(251,250,244,0) 0%,
        rgba(251,250,244,1) 100%
    );
    pointer-events: none;
}

.hero {
    text-align: center;
    padding: 55px 20px;
    background: linear-gradient(
        135deg,
        rgba(31,95,191,.08),
        rgba(255,153,51,.08)
    );
}

.hero h1 {
    font-size: 48px;
    margin: 0;
    font-family: Georgia, serif;
    color: #10264a;
}

.hero p {
    font-size: 20px;
    color: #555;
    margin-top: 12px;
}

.albums {
    max-width: 920px;
    margin: -10px auto 40px;
    position: relative;
    z-index: 5;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.category-page .albums {
    max-width: 850px;
    margin: 40px auto;
}

.album-card,
.card {
    background: white;
    border-radius: 16px;
    padding: 24px 28px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.09);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 7px solid #138808;
    color: #10264a;
}

.album-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.album-card:hover,
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.14);
}

.album-left {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}

.album-icon {
    font-size: 42px;
    width: 60px;
    text-align: center;
}

.album-title {
    font-size: 26px;
    font-weight: bold;
    color: #138808;
    margin-bottom: 6px;
}

.album-desc {
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}

.arrow {
    font-size: 36px;
    color: #138808;
    font-weight: bold;
}

.card-blue {
    border-left-color: #1f5fbf;
}

.card-blue .album-title,
.card-blue .arrow {
    color: #10264a;
}

.card-orange {
    border-left-color: #ff9933;
}

.card-orange .album-title,
.card-orange .arrow {
    color: #ff7a00;
}

.card-red {
    border-left-color: #d71920;
}

.card-red .album-title,
.card-red .arrow {
    color: #d71920;
}

.card h2 {
    margin: 0 0 8px;
    color: #10264a;
}

.card p {
    margin: 0;
    color: #555;
}

.family-message {
    align-self: center;
    width: 100%;
    text-align: center;
    margin: 25px auto 20px auto;
    font-size: 28px;
    font-style: italic;
    font-family: Georgia, serif;
    color: #10264a;
}

footer {
    text-align: center;
    padding: 35px 20px;
    color: #10264a;
    font-size: 16px;
    background: transparent;
}

@media (max-width: 700px) {
    .top-header {
        padding: 18px 20px;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .logo {
        justify-self: center;
    }

    .logo a {
        font-size: 32px;
    }

    .menu-bar {
        justify-self: center;
        gap: 18px;
    }

    .menu-bar a {
        font-size: 16px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 18px;
    }

    .albums {
        margin: -30px auto 35px;
    }

    .category-page .albums {
        margin: 35px auto;
    }

    .album-card,
    .card {
        padding: 20px;
    }

    .album-title {
        font-size: 22px;
    }

    .album-desc {
        font-size: 15px;
    }

    .album-icon {
        font-size: 34px;
        width: 45px;
    }

    .family-message {
        font-size: 22px;
    }
}