/* Hero */
.box-tp {
    width: 100%;
    height: calc(100vh - 60px);
    background: url("https://t.alcy.cc/ycy") no-repeat center center / cover;
    box-shadow: var(--shadow-hero);
    display: flex;
    justify-content: center;
    align-items: center;
}

.box-tp-bg {
    width: 100%;
    background-color: rgba(250, 250, 250, 0.8);
    display: flex;
    justify-content: center;
}

.box-tp-ax {
    width: 360px;
    padding: var(--space-lg);
    font-size: 30px;
    font-weight: bold;
    color: var(--color-primary-light);
}

.indent-text {
    display: inline-block;
    text-indent: 2em;
}

/* Related links heading */
.xglj {
    margin-top: var(--space-lg);
    padding: var(--space-sm);
    font-size: var(--font-size-title);
    font-weight: bold;
}

/* Panel grid */
.relatedlinks-wrapper {
    margin: 10px;
}

.relatedlinks {
    display: flex;
    flex-wrap: wrap;
}

.relatedlinks a {
    width: calc((100% - 30px) / 4);
    margin-right: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.relatedlinks a:nth-child(4n) {
    margin-right: 0;
}

.panel {
    width: 100%;
    padding: var(--space-sm);
    background-color: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-panel);
}

/* Tablet */
@media screen and (max-width: 768px) {
    .relatedlinks a {
        width: calc((100% - var(--space-sm)) / 2);
    }

    .relatedlinks a:nth-child(4n) {
        margin-right: var(--space-sm);
    }

    .relatedlinks a:nth-child(2n) {
        margin-right: 0;
    }
}

/* Mobile */
@media screen and (max-width: 480px) {
    .relatedlinks a {
        width: 100%;
        margin-right: 0;
    }
}
