/* Estudaê Bahia v1.1.32 — prioridade final, sem alterar os demais módulos.
   Este CSS carrega após mobile-v124.css para evitar que regras antigas desfaçam os refinamentos. */

/* Página de estudos: banner e cartões de redes sociais mais compactos. */
.student-workspace .student-dashboard-home .student-home-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(215px, 248px);
    gap: 14px;
    align-items: start;
}
.student-workspace .student-dashboard-home .student-home-banner {
    min-height: 0;
    padding: clamp(18px, 2.2vw, 25px);
    border-radius: 20px;
}
.student-workspace .student-dashboard-home .student-home-banner h1 {
    font-size: clamp(1.7rem, 2.6vw, 2.35rem);
    line-height: 1.1;
    margin: 11px 0 9px;
}
.student-workspace .student-dashboard-home .student-home-banner p {
    font-size: .86rem;
    line-height: 1.5;
    margin-bottom: 14px;
}
.student-workspace .student-dashboard-home .student-home-kicker {
    padding: 5px 10px;
    font-size: .64rem;
}
.student-workspace .student-dashboard-home .student-home-actions {gap: 8px}
.student-workspace .student-dashboard-home .student-home-actions > a {
    padding: 9px 12px;
    border-radius: 9px;
    font-size: .76rem;
}
.student-workspace .student-dashboard-home .student-hero-art {
    width: 100px;
    height: 100px;
    border-radius: 22px;
}
.student-workspace .student-dashboard-home .student-hero-art svg {width: 60px; height: 60px}
.student-workspace .student-dashboard-home .student-social-sidebar {gap: 10px}
.student-workspace .student-dashboard-home .student-social-card {
    padding: 11px 12px;
    gap: 6px;
    border-radius: 15px;
    box-shadow: 0 8px 18px rgba(9,71,119,.055);
}
.student-workspace .student-dashboard-home .student-social-card-top {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px;
}
.student-workspace .student-dashboard-home .student-social-card-top img,
.student-workspace .student-dashboard-home .student-social-avatar {
    width: 36px;
    height: 36px;
    font-size: .87rem;
}
.student-workspace .student-dashboard-home .student-social-card-top strong {font-size: .82rem}
.student-workspace .student-dashboard-home .student-social-card-top b {font-size: .7rem}
.student-workspace .student-dashboard-home .student-social-card-top em {
    padding: 4px 7px;
    margin-top: 3px;
    font-size: .59rem;
}
.student-workspace .student-dashboard-home .student-social-meta {
    font-size: .71rem;
    line-height: 1.42;
}
.student-workspace .student-dashboard-home .student-social-open {
    font-size: .72rem;
    line-height: 1.4;
}
.student-workspace .student-dashboard-home .student-instagram-icon {width: 15px; height: 15px; margin-right: 4px}

/* Caixa privada: somente uma instância, ao final da Visão Geral. */
.student-workspace .student-dashboard-home .student-chat-on-home {
    width: min(100%, 760px);
    max-width: 760px;
    margin: 25px auto 0;
}
.student-workspace .student-dashboard-home .student-chat-on-home .private-chat-box.is-compact {
    width: 100%;
    border-radius: 17px;
    box-shadow: 0 8px 20px rgba(13,56,97,.065);
}
.student-workspace .student-dashboard-home .student-chat-on-home .private-chat-heading {padding: 12px 15px; gap: 10px}
.student-workspace .student-dashboard-home .student-chat-on-home .private-chat-avatar {
    width: 38px;
    height: 38px;
    font-size: 1rem;
    border-radius: 12px;
}
.student-workspace .student-dashboard-home .student-chat-on-home .private-chat-heading h2 {font-size: 1rem}
.student-workspace .student-dashboard-home .student-chat-on-home .private-chat-heading p {font-size: .77rem}
.student-workspace .student-dashboard-home .student-chat-on-home .private-chat-heading-copy > span {font-size: .62rem}
.student-workspace .student-dashboard-home .student-chat-on-home .private-chat-thread {
    min-height: 118px;
    max-height: 205px;
    padding: 13px 15px;
    gap: 9px;
}
.student-workspace .student-dashboard-home .student-chat-on-home .private-chat-compose {padding: 12px 15px}
.student-workspace .student-dashboard-home .student-chat-on-home .private-chat-compose textarea {min-height: 64px}

/* Rodapé público: logo pequena do parceiro de desenvolvimento, com texto à direita. */
.site-footer .footer-bottom-institutional {padding: 17px 0}
.site-footer .footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.site-footer .footer-dev-credit {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: #dbe9f2;
}
.site-footer .footer-dev-credit img {
    display: block;
    width: 96px;
    max-width: 96px;
    height: auto;
    object-fit: contain;
    flex: none;
}
.site-footer .footer-dev-credit div {display: flex; flex-direction: column; gap: 3px; min-width: 0}
.site-footer .footer-dev-credit strong {color: #fff; font-size: .85rem; line-height: 1.25}
.site-footer .footer-dev-credit span {color: #c0d2df; font-size: .77rem; line-height: 1.4}

@media (max-width: 1120px) {
    .student-workspace .student-dashboard-home .student-home-hero-layout {grid-template-columns: minmax(0, 1fr)}
    .student-workspace .student-dashboard-home .student-social-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}
@media (max-width: 700px) {
    .student-workspace .student-dashboard-home .student-social-sidebar {grid-template-columns: 1fr}
    .student-workspace .student-dashboard-home .student-home-banner {padding: 19px 17px}
    .student-workspace .student-dashboard-home .student-home-banner h1 {font-size: clamp(1.5rem, 6.4vw, 1.95rem)}
    .student-workspace .student-dashboard-home .student-hero-art {display: none}
    .student-workspace .student-dashboard-home .student-chat-on-home {margin-top: 19px}
    .site-footer .footer-bottom-inner {justify-content: center; text-align: center}
    .site-footer .footer-dev-credit {justify-content: center; flex-direction: column; text-align: center}
    .site-footer .footer-dev-credit img {width: 84px; max-width: 84px}
}

/* Estudaê v1.1.33 — realce claro para a marca I9Êxito no rodapé institucional. */
.site-footer .footer-bottom-institutional .footer-dev-credit img {
    box-sizing: border-box;
    width: 112px;
    max-width: 112px;
    height: auto;
    padding: 8px 10px;
    background-color: #fff;
    border: 2px solid #fff;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 10, 25, .2);
    object-fit: contain;
}
@media (max-width: 700px) {
    .site-footer .footer-bottom-institutional .footer-dev-credit img {
        width: 108px;
        max-width: 108px;
    }
}
