/* ==========================================================================
   Bluesky Feed Widget — bluesky-feed.css
   Ported from the original ColdFusion module styles
   ========================================================================== */

#home-bluesky {
    padding: 60px 20px;
}

#home-bluesky .home-threads-item {
    max-width: 800px;
    margin: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/* Avatar image — hidden on mobile, shown on tablet+ */
#home-bluesky .threads-img-wrapper {
    display: none;
}

#home-bluesky .threads-img {
    width: 20rem;
    height: auto;
    padding-right: 20px;
}

/* Post content */
#home-bluesky .thread {
    display: flex;
    justify-content: center;
    align-items: center;
}

#home-bluesky .content {
    display: block;
    text-align: center;
    max-width: 480px;
}

/* Handle + date line */
#home-bluesky .bsky-name {
    padding-top: 15px;
    text-align: center;
    color: #a3750a;
    font-weight: bold;
}

/* Social icons row */
#home-bluesky .social-items {
    list-style: none;
    margin: 0;
    padding: 10px 0 0;
    border-top: 1px solid #5083f8;
    margin-top: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
    font-size: 22px;
}

#home-bluesky .social-item {
    display: inline-block;
    padding: 10px;
}

#home-bluesky .home-col-threads a i,
#home-bluesky .home-col-threads a:hover i,
#home-bluesky .home-col-threads a:focus i {
    color: #5083f8 !important;
}

/* Screen-reader only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Tablet (641px+)
   ========================================================================== */
@media (min-width: 641px) {
    #home-bluesky .threads-img-wrapper {
        display: block;
        margin-right: 40px;
    }

    #home-bluesky .social-items {
        padding-left: 0 !important;
        justify-content: flex-start;
    }

    #home-bluesky .content,
    #home-bluesky .bsky-name {
        text-align: left;
    }
}

/* ==========================================================================
   Desktop (1200px+)
   ========================================================================== */
@media (min-width: 1200px) {
    #home-bluesky .home-threads-item {
        max-width: 950px;
    }

    #home-bluesky .threads-img {
        width: 300px;
    }

    #home-bluesky .content {
        font-size: 24px;
        max-width: 600px;
    }

    #home-bluesky .bsky-name {
        font-size: 19px !important;
    }

    #home-bluesky .home-col-threads a i {
        font-size: 27px;
        line-height: 32px;
    }

    .threads {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 60px;
    }
}

/* ==========================================================================
   Mobile (max 600px)
   ========================================================================== */
@media (max-width: 600px) {
    #home-bluesky .social-items {
        margin: auto !important;
        margin-top: 20px !important;
    }

    #home-bluesky .home-threads-item {
        max-width: 100%;
    }

    #home-bluesky .content {
        max-width: 100%;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
        display: inline-block;
    }
}

/* ==========================================================================
   Icon tweaks (matching original)
   ========================================================================== */
.threads i.fab.fa-facebook-f {
    font-size: 22px !important;
}

.threads .instagram a,
.threads .facebook a {
    margin-top: 2px;
    display: inline-block;
}
