/* ==========================================================================
   Custom homepage: tag rows (home.hbs)
   Loaded only on the homepage via <link> in home.hbs
   ========================================================================== */

.home-tag-rows {
    display: flex;
    flex-direction: column;
}

.home-tag-row {
    padding: 8px 0 64px;
}

.home-tag-row-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.home-tag-row .post-feed {
    padding-top: 0;
}

.home-tag-row-title-link {
    display: inline-flex;
    text-decoration: none;
    color: inherit;
}

.home-tag-row-title {
    display: inline;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d0c22;
    margin: 0;
}

.home-tag-row-title::after {
    content: "\203A";
    font-weight: 400;
    color: #9e9ea7;
    display: inline-block;
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.home-tag-row-title-link:hover .home-tag-row-title::after {
    transform: translateX(2px);
}

.home-tag-row-explore {
    display: inline;
    font-size: 1.4rem;
    font-weight: 600;
    color: #088178;
    text-align: right;
    line-height: 1.15;
}

.home-tag-row-explore:hover {
    color: #003a37;
}

.home-tag-row-explore svg {
    display: none;
}

html.dark-mode .home-tag-row-title {
    color: #fff;
}

.home-hero-banner {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 420px;
    padding-bottom: 36px;
    margin-bottom: 40px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.home-hero-banner-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    padding: 0 20px;
}

.home-hero-banner-eyebrow {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.home-hero-banner-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 5.6rem;
    line-height: 1.1;
    font-weight: 400;
    color: #fff;
    margin: 0 0 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.home-hero-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 9999px;
    background-color: #fff;
    color: #0d0c22;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: background-color 0.15s ease;
}

.home-hero-banner-btn:hover {
    background-color: #088178;
    color: #fff;
}

.home-signup-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    padding: 32px 48px;
    margin: 40px 0;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
}

.home-signup-banner-inner {
    display: flex;
    flex-direction: column;
    column-gap: 96px;
    row-gap: 32px;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

@media (min-width: 1000px) {
    .home-signup-banner-inner {
        flex-direction: row;
        align-items: center;
    }
}

.home-signup-banner-text {
    flex: 0 1 auto;
}

.home-signup-banner-title {
    font-size: 58px;
    line-height: 65px;
    font-weight: 800;
    color: #0d0c22;
    margin: 0 0 6px;
}

.home-signup-banner-form-wrap {
    flex: 1 1 auto;
    max-width: 100%;
}

@media (min-width: 1000px) {
    .home-signup-banner-form-wrap {
        flex: 0 1 560px;
        max-width: 560px;
        margin-left: auto;
    }
}

.home-signup-banner-desc {
    font-size: 20px;
    line-height: 1.5;
    color: #0d0c22;
    margin: 0 0 12px;
}

.home-signup-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 25px;
    border: none;
    border-radius: 9999px;
    background-color: #088178;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.home-signup-banner-btn:hover {
    background-color: #066b63;
}

@media (max-width: 600px) {
    .home-hero-banner {
        height: 300px;
        padding-bottom: 32px;
    }

    .home-hero-banner-title {
        font-size: 32px;
    }

    .home-hero-banner-btn {
        padding: 10px 22px;
        font-size: 10px;
    }

    .home-signup-banner {
        padding: 28px 24px;
        background: linear-gradient(135deg, #fdf6b2 0%, #d7f5ec 100%);
    }

    .home-signup-banner-title {
        font-size: 42px;
        line-height: 40px;
        margin-bottom: 16px;
    }

    .home-signup-banner-desc {
        font-size: 14px;
        margin-bottom: 12px;
    }
}