.heroes-hub {
    color: #140b04;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 880px;
}

.heroes-hub-hero {
    align-items: center;
    background:
        linear-gradient(90deg, rgba(78, 43, 16, 0.16), rgba(255, 239, 189, 0.08)),
        url('/scin/h5hammers/scroll_05.png');
    border: 1px solid rgba(67, 38, 15, 0.45);
    box-shadow: inset 0 0 18px rgba(84, 48, 18, 0.16);
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding: 14px 16px;
}

.heroes-hub-icon {
    background: rgba(255, 239, 189, 0.35);
    border: 1px solid #4a2b10;
    box-shadow: 0 2px 4px rgba(40, 20, 8, 0.35);
    flex: 0 0 auto;
}

.heroes-hub h1 {
    font-family: "Cloister Black", "Times New Roman", serif;
    font-size: 1.45rem;
    line-height: 1.15;
    margin: 0;
    text-shadow: 0 1px 0 rgba(255, 239, 189, 0.5);
}

.heroes-hub h2 {
    border-bottom: 1px solid rgba(67, 38, 15, 0.3);
    color: #321505;
    font-size: 1rem;
    margin: 1.1rem 0 0.45rem;
    padding-bottom: 0.18rem;
}

.heroes-hub p {
    margin: 0 0 0.75rem;
}

.heroes-hub-subtitle {
    color: #4a2b10;
    font-size: 0.78rem;
    margin-top: 0.35rem;
}

.heroes-hub-links {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    margin: 14px 0 4px;
}

.heroes-hub-links a {
    background: linear-gradient(180deg, rgba(116, 65, 23, 0.18), rgba(72, 42, 18, 0.1));
    border: 1px solid rgba(67, 38, 15, 0.55);
    box-shadow: inset 0 0 0 1px rgba(255, 239, 189, 0.2);
    color: #1d0d03;
    display: block;
    font-weight: bold;
    padding: 9px 12px;
    text-align: center;
    text-decoration: none;
}

.heroes-hub-links a:hover,
.heroes-hub-links a:focus {
    background: linear-gradient(180deg, rgba(116, 65, 23, 0.28), rgba(72, 42, 18, 0.18));
    text-decoration: underline;
}

.heroes-hub-mods {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    margin: 14px 0 8px;
}

.heroes-hub-mod {
    background: rgba(255, 239, 189, 0.12);
    border: 1px solid rgba(67, 38, 15, 0.42);
    box-shadow: inset 0 0 0 1px rgba(255, 239, 189, 0.16);
    display: flex;
    gap: 14px;
    padding: 14px;
}

.heroes-hub-mod img {
    background: rgba(255, 239, 189, 0.28);
    border: 1px solid rgba(67, 38, 15, 0.45);
    flex: 0 0 auto;
    height: 48px;
    width: 48px;
}

.heroes-hub-mod h3 {
    color: #271104;
    font-size: 0.92rem;
    margin: 0 0 0.3rem;
}

.heroes-hub-mod p {
    font-size: 0.82rem;
    margin-bottom: 0.65rem;
}

.heroes-hub-mod-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.heroes-hub-mod-links a {
    background: rgba(72, 42, 18, 0.1);
    border: 1px solid rgba(67, 38, 15, 0.45);
    color: #1d0d03;
    font-size: 0.72rem;
    font-weight: bold;
    padding: 4px 7px;
    text-decoration: none;
}

.heroes-hub-mod-links a:hover,
.heroes-hub-mod-links a:focus {
    background: rgba(72, 42, 18, 0.18);
    text-decoration: underline;
}

@media only screen and (max-width: 480px) {
    .heroes-hub-hero {
        align-items: flex-start;
        gap: 10px;
    }

    .heroes-hub h1 {
        font-size: 1.15rem;
    }

    .heroes-hub-mods {
        grid-template-columns: 1fr;
    }

    .heroes-hub-mod {
        gap: 9px;
        padding: 9px;
    }

    .heroes-hub-mod img {
        height: 40px;
        width: 40px;
    }
}
