/* Home page: main/templates/main/index.html */

/* The theme sizes the logos by height (140px, 100px on phones); keep them square instead of using the width attribute */
.logos .logos__image img {
    width: auto;
}

/* The intro links to #blog; leave room for the sticky header */
.section-blog {
    scroll-margin-top: 96px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

/* Once the columns stack, the CV button would land below the fold (858px at 390x844), and LinkedIn's in-app browser
   is shorter still: show it right under the role. The HTML keeps it after the intro, as on desktop. */
@media (max-width: 1024px) {
    .hero__right {
        display: flex;
        flex-direction: column;
    }

    .hero__actions {
        order: 1;
        margin: 0 0 24px;
    }

    .hero__description {
        order: 2;
        margin-bottom: 0;
    }
}

/* Shown under "Load more" when the next posts can't be loaded (scripts.js) */
.load-more-error {
    margin: 16px 0 0;
    font-size: 14px;
    color: var(--text-alt-color);
}
