.heroTitle {
    font-size: var(--font-size-hero-text);
    line-height: 1.2;
    color: var(--muted)
}

.heroBulletsDiv {
    flex: 1;
    min-height: var(--hero-bullet-height);
    height: auto;
    overflow: hidden;
    position: relative;
}

.heroBulletsMask {
    height: 100%;
    overflow: hidden;
    position: relative;

    /* Fuzzy top and bottom edges */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}

.scrolling-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 75%;
    margin: 0 auto;
    z-index: 1;
}

.heroBullet {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;   /* centers vertically inside .heroBullet */
    justify-content: center; /* centers horizontally inside .heroBullet */
    text-align: left;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
    gap: 10px;
}

.heroBulletHeader {
    display: flex;
    align-items: baseline;
    gap: 10px;
    justify-content: center;
    align-self: center;
}


.heroBulletTitle,
.heroBulletIndex {
    color: var(--muted);
    font-size: var(--font-size-heroBulletTitle);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-left: 5px;
}

.heroBulletIndex {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(223,218,69,0.35);
    background: rgba(223,218,69,0.10);
    color: var(--accent);
}

.heroBulletText {
    font-size: var(--font-size-heroBulletText);
    width: 100%;
}

.heroBulletText ul,
.heroBulletText li,
.links {
    font-size: inherit;
}

.heroBulletText ul {
  width: 100%;
  margin: 0;
  padding-left: 1.2em;
  list-style-position: outside;
  /* padding-left: 0.6em; */
  text-align: left; /* keeps bullets readable */
}

.heroBulletText li {
    margin: 8px 0;
}

.scrollHint {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    pointer-events: none;
    cursor: default;
    z-index: 2;
}

.scrollHintHidden {
    opacity: 0;
    pointer-events: none;
}

.scrollHintTop {
    top: 28px;
}

.scrollHintBottom {
    bottom: 28px;
}

.chevrons {
    width: 28px;
    height: 28px;
    border-right: 2px solid rgba(255,255,255,0.8);
    border-bottom: 2px solid rgba(255,255,255,0.8);
    transform: rotate(45deg);
    animation: chevronPulseDown 1.6s ease-in-out infinite;
}

@keyframes chevronPulseDown {
    0%, 100% { transform: translateY(0) rotate(45deg); opacity: 0.5; }
    50% { transform: translateY(4px) rotate(45deg); opacity: 1; }
}

.chevronsUp {
    transform: rotate(-135deg);
    animation: chevronPulseUp 1.6s ease-in-out infinite;
}

@keyframes chevronPulseUp {
    0%, 100% { transform: translateY(0) rotate(-135deg); opacity: 0.5; }
    50% { transform: translateY(-4px) rotate(-135deg); opacity: 1; }
}

.heroActions {
    display: flex;
    text-align: center;
    margin-top: 10px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

@media only screen and (max-width: 1024px) {
    .homePage .homeTopImage {
        flex: 0 0 clamp(56px, 11svh, 110px);
        max-height: clamp(56px, 11svh, 110px);
        min-height: 56px;
        width: 100%;
        padding: 0;
    }

    @supports (height: 100dvh) {
        .homePage .homeTopImage {
            flex-basis: clamp(56px, 11dvh, 110px);
            max-height: clamp(56px, 11dvh, 110px);
        }
    }

    .homePage .homeTopImage .containCenterNoRepeatImage {
        margin: 0;
        background-size: contain;
        background-position: center;
    }
}

@media only screen and (max-width: 900px) {
    .homePage {
        --hero-bullet-height: clamp(96px, 30svh, 220px);
        height: 100svh;
        overflow: hidden;
    }

    @supports (height: 100dvh) {
        .homePage {
            height: 100dvh;
        }
    }

    .homePage .rowContainerHero {
        flex: 1 1 auto;
        min-height: 0;
        overflow: hidden;
    }

    .homePage .heroRow {
        flex: 1 1 auto;
        min-height: 0;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .homePage .heroContent {
        flex: 1 1 auto;
        min-height: 0;
        justify-content: center;
        gap: 8px;
    }

    .scrolling-content {
        width: 90%;
    }

    .scrollHint {
        font-size: 10px;
        gap: 6px;
    }

    .scrollHintTop {
        top: 18px;
    }

    .scrollHintBottom {
        bottom: 18px;
    }

    .chevrons {
        width: 14px;
        height: 14px;
        border-right-width: 1px;
        border-bottom-width: 1px;
    }

    .heroBullet {
        height: 100%;
        line-height: 1.35;
        gap: 8px;
    }

    .heroTitle {
        font-size: var(--small-font-size-hero-text);
    }

    .heroBulletTitle,
    .heroBulletIndex {
        font-size: var(--small-font-size-heroBulletTitle);
    }

    .heroBulletText {
        font-size: var(--small-font-size-heroBulletText);
    }

    .heroBulletText li {
        margin: 6px 0;
    }

    .heroActions {
        margin-top: 6px;
        gap: 6px;
    }
}

@media only screen and (max-width: 600px) {
    .heroTitle {
        font-size: var(--very-small-font-size-hero-text);
    }

    .heroBulletTitle,
    .heroBulletIndex {
        font-size: var(--very-small-font-size-heroBulletTitle);
    }

    .heroBulletText {
        font-size: var(--very-small-font-size-heroBulletText);
    }

    .scrolling-content {
        width: 92%;
    }
}

.topImageBorder {
    margin-left: 8%;
    margin-right: 8%;
    border: var(--accent);
    border-style: groove;
    border-radius: 30px;
    border-width: 2px;
}

.rowSpacer {
    min-height: 25vh !important;
}

@media only screen and (max-width: 1024px) {
    .rowSpacer {
        min-height: 0vh !important;
    }
}

.short {
  font-size: inherit;
}

.morecontent {
  display: none;
  font-size: inherit;
}

.morelink {
  display: block;
  font-size: inherit;
  margin-top: 10px;
  border: none;
}

@keyframes shake {
    0% { transform: translateX(0); }
    10% { transform: translateX(-10px); }
    20% { transform: translateX(10px); }
    30% { transform: translateX(-8px); }
    40% { transform: translateX(8px); }
    50% { transform: translateX(-6px); }
    60% { transform: translateX(6px); }
    70% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
    90% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}

.shake {
  animation: shake 1.2s ease-out;
}
