/**
 * Estilos principais do Bio Press
 *
 * @package BioPress
 * @since 1.0.0
 */

/* Botões */
.bio-press-button {
    display: inline-block;
    padding: 12px 24px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}

.bio-press-button:hover {
    background: #005a87;
    color: #fff;
}

/* Footer */
.bio-press-footer {
    text-align: center;
    padding: 40px 20px;
    margin-top: 16px;
}

.bio-press-footer-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.bio-press-footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f0f0;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.bio-press-footer-social-link:hover {
    background: #0073aa;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 115, 170, 0.3);
}

.bio-press-footer-social-link svg {
    width: 18px;
    height: 18px;
    display: block;
}

.bio-press-footer-text {
    font-size: 14px;
    color: #999;
    margin: 0;
}

.bio-press-footer-text a {
    color: #0073aa;
    text-decoration: none;
}

.bio-press-footer-text a:hover {
    text-decoration: underline;
}

/* Posts e Páginas Individuais */
.bio-press-post {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.bio-press-post-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.bio-press-post-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.bio-press-post-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.bio-press-post-categories {
    padding: 4px 12px;
    background: #f0f0f0;
    border-radius: 4px;
}

.bio-press-post-thumbnail {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.bio-press-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.bio-press-post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.bio-press-post-content p {
    margin-bottom: 20px;
}

.bio-press-post-content h2,
.bio-press-post-content h3,
.bio-press-post-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.bio-press-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.bio-press-post-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}



/* ============================================
   PROFILE HEADER SECTION
   ============================================ */
.bio-press-profile-header {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: visible;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bio-press-profile-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.bio-press-profile-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 2;
}

.bio-press-profile-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 40px 0px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.bio-press-profile-avatar-wrapper {
    margin-bottom: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.bio-press-profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: block;
    margin: 0 auto;
}

.bio-press-profile-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.bio-press-profile-avatar-wrapper .custom-logo-link {
    display: block;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.bio-press-profile-avatar-wrapper .custom-logo-link img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

.bio-press-name-and-description{
    background-color: rgba(0, 0, 0, 0.4); 
    padding: 10px 12px;                  
    border-radius: 8px;                  
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); /* Sombra leve para destacar as letras */
    backdrop-filter: blur(4px); 
    width: 100%;
}

.bio-press-profile-name {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.bio-press-profile-bio {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.5;
    text-align: center;
    width: 100%;
}

.bio-press-download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.bio-press-download-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.bio-press-download-button svg {
    flex-shrink: 0;
}

/* ============================================
   REDES SOCIAIS
   ============================================ */

.bio-press-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.bio-press-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.bio-press-social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.bio-press-social-link svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* ============================================
   BOTÃO FLUTUANTE WHATSAPP
   ============================================ */

.bio-press-whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.bio-press-whatsapp-button:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.bio-press-whatsapp-button:active {
    transform: scale(0.95);
}

.bio-press-whatsapp-button svg {
    width: 32px;
    height: 32px;
    display: block;
}

/* Responsivo - ajustar posição no mobile */
@media (max-width: 768px) {
    .bio-press-whatsapp-button {
        width: 56px;
        height: 56px;
        bottom: 16px;
        right: 16px;
    }
    
    .bio-press-whatsapp-button svg {
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   BOTÃO DE COMPARTILHAR
   ============================================ */

.bio-press-profile-header {
    position: relative;
}

.bio-press-share-wrapper {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
}

.bio-press-share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bio-press-share-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.bio-press-share-button svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
}

.bio-press-share-button span {
    display: none;
}

.bio-press-share-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.bio-press-share-wrapper.active .bio-press-share-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ============================================
  MENU DO CABEÇALHO
   ============================================ */
.bio-press-header-menu {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 10000;
}

.bio-press-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.bio-press-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.bio-press-menu-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.bio-press-menu-panel::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 16px;
    border-width: 0 8px 8px 8px;
    border-style: solid;
    border-color: transparent transparent #fff transparent;
}

.bio-press-header-menu.is-active .bio-press-menu-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.bio-press-menu-list {
    list-style: none;
    margin: 0;
    padding: 12px 0;
}

.bio-press-menu-list li {
    margin: 0;
    padding: 0;
    position: relative;
}

.bio-press-menu-list a {
    display: block;
    padding: 10px 16px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

.bio-press-menu-list a:hover {
    background: #f5f5f5;
}

.bio-press-menu-list .sub-menu {
    list-style: none;
    margin: 6px 0 0 0;
    padding: 0 0 0 16px;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    z-index: 999;
}

.bio-press-menu-list .menu-item-has-children:hover > .sub-menu {
    display: block;
}

.bio-press-menu-list .menu-item-has-children > a {
    position: relative;
    padding-right: 28px;
}

.bio-press-menu-list .menu-item-has-children > a::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-60%) rotate(45deg);
}

.bio-press-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9000;
    pointer-events: none;
}

body.bio-press-menu-open .bio-press-menu-overlay {
    pointer-events: auto;
}

@media (min-width: 769px) {
    .bio-press-profile-header {
        overflow: visible !important;
        z-index: 50;
    }
    
    .bio-press-header-menu {
        overflow: visible !important;
    }
    
    .bio-press-menu-panel {
        overflow: visible !important;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.05);
        background-color: #ffffff;
        padding: 8px 0;
    }
    
    .bio-press-menu-list,
    .bio-press-menu-list ul,
    .bio-press-menu-list .sub-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .bio-press-menu-list li {
        position: relative;
        margin: 0;
        padding: 0;
    }
    
    .bio-press-menu-list a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 20px;
        color: #1a1a1a;
        text-decoration: none;
        font-weight: 500;
        font-size: 14px;
        background: #fff;
        white-space: nowrap;
        transition: background 0.2s ease, color 0.2s ease;
    }
    
    .bio-press-menu-list a:hover {
        background: #f5f5f5;
        color: #0073aa;
    }
    
    .bio-press-menu-list .sub-menu {
        display: none;
        position: absolute;
        top: 0;
        left: 100%;
        margin-left: 0;
        width: 200px;
        background-color: #ffffff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 5px 10px rgba(0, 0, 0, 0.05);
        border-radius: 8px;
        padding: 8px 0;
        z-index: 9999;
    }
    
    .bio-press-menu-list li:hover > .sub-menu {
        display: block;
    }
    
    .bio-press-menu-list .menu-item-has-children > a::after {
        content: '';
        display: inline-block;
        width: 6px;
        height: 6px;
        border-right: 1.5px solid rgba(0, 0, 0, 0.5);
        border-bottom: 1.5px solid rgba(0, 0, 0, 0.5);
        transform: rotate(-45deg);
        margin-left: 10px;
        flex-shrink: 0;
        transition: border-color 0.2s ease, transform 0.2s ease;
    }
    
    .bio-press-menu-list .menu-item-has-children:hover > a::after {
        border-color: #333;
    }
}

@media (max-width: 768px) {
    .bio-press-header-menu {
        z-index: 10001;
    }
    
    body.bio-press-menu-open .bio-press-menu-overlay {
        opacity: 1;
        visibility: visible;
    }
    
    .bio-press-menu-panel {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100%;
        padding: 72px 20px 20px;
        transform: translateX(-100%);
        opacity: 1;
        visibility: visible;
        border-radius: 0;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
        z-index: 10000;
        overflow-y: auto;
        background: #ffffff;
        pointer-events: auto;
    }
    
    .bio-press-menu-panel::before {
        display: none;
    }
    
    body.bio-press-menu-open .bio-press-menu-panel {
        transform: translateX(0);
    }
    
    .bio-press-menu-list {
        padding: 0;
    }
    
    .bio-press-menu-list li {
        border-bottom: 1px solid #eee;
    }
    
    .bio-press-menu-list a {
        padding: 14px 12px;
        white-space: normal;
        display: flex;
        justify-content: space-between;
        align-items: center;
        pointer-events: auto;
        position: relative;
        z-index: 1;
    }
    
    .bio-press-menu-list .sub-menu {
        display: none;
        padding-left: 16px;
        position: static;
        width: auto;
        box-shadow: none;
        border-radius: 0;
        background: transparent;
        margin-top: 8px;
    }
    
    .bio-press-menu-list .sub-menu li {
        border-bottom: 1px solid #f5f5f5;
    }
    
    .bio-press-menu-list .sub-menu li:last-child {
        border-bottom: 0;
    }
    
    .bio-press-menu-list .menu-item-has-children.active > .sub-menu {
        display: block;
    }
    
    .bio-press-menu-list .menu-item-has-children > a {
        cursor: pointer;
    }
    
    .bio-press-menu-list .menu-item-has-children > a::after {
        width: 6px;
        height: 6px;
        border-right: 1.5px solid rgba(0, 0, 0, 0.5);
        border-bottom: 1.5px solid rgba(0, 0, 0, 0.5);
        transform: rotate(45deg);
        transition: transform 0.3s ease;
    }
    
    .bio-press-menu-list .menu-item-has-children.active > a::after {
        transform: rotate(-135deg);
    }
}

.bio-press-share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.bio-press-share-option:last-child {
    border-bottom: none;
}

.bio-press-share-option:hover {
    background: #f5f5f5;
    color: #333;
}

.bio-press-share-option svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #666;
}

.bio-press-share-option span {
    font-size: 14px;
    font-weight: 500;
}

/* Responsivo - botão de compartilhar */
@media (max-width: 768px) {
    .bio-press-share-wrapper {
        top: 12px;
        right: 12px;
    }
    
    .bio-press-share-button {
        width: 40px;
        height: 40px;
    }
    
    .bio-press-share-button svg {
        width: 18px;
        height: 18px;
    }
    
    .bio-press-share-dropdown {
        min-width: 180px;
        right: 0;
    }
}

/* ============================================
   AUTOCOMPLETE DE BUSCA DE POSTS
   ============================================ */
/* Estilo para o autocomplete do jQuery UI */
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10000; /* Garante que fique acima de outros elementos */
}

/* ============================================
   BLOCO DE REDES SOCIAIS E CONTATOS
   ============================================ */

.bio-press-social-block {
    margin-bottom: 32px;
}

.bio-press-social-block-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    text-align: center;
}

/* Layout Lista - Botões verticais */
.bio-press-social-list-buttons,
.bio-press-list-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.bio-press-social-list-button,
.bio-press-list-button {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f8f8f8;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.bio-press-social-list-button:hover,
.bio-press-list-button:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #0073aa;
}

.bio-press-social-list-button-icon,
.bio-press-list-button-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 4px;
}

.bio-press-list-button-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bio-press-list-button-icon-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: #e0e0e0;
    border-radius: 4px;
    color: #999;
}

.bio-press-social-list-button-icon {
    color: #666;
    transition: color 0.3s ease;
}

.bio-press-social-list-button:hover .bio-press-social-list-button-icon {
    color: #0073aa;
}

.bio-press-social-list-button-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.bio-press-social-list-button-label,
.bio-press-list-button-label {
    font-size: 16px;
    font-weight: 500;
    flex: 1;
}

/* Layout Mosaico - Cards em grid */
.bio-press-social-mosaic,
.bio-press-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    max-width: 100%;
}

@media (max-width: 768px) {
    .bio-press-social-mosaic,
    .bio-press-mosaic {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* Ícone de redes sociais no carrossel */
.bio-press-social-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #666;
}

.bio-press-social-icon-wrapper svg {
    width: 48px;
    height: 48px;
    display: block;
}

.bio-press-item:hover .bio-press-social-icon-wrapper {
    color: #0073aa;
}

/* Responsivo - Bloco de Redes Sociais e Lista */
@media (max-width: 768px) {
    
    .bio-press-social-list-button,
    .bio-press-list-button {
        padding: 14px 16px;
    }
    
    .bio-press-social-list-button-icon,
    .bio-press-list-button-icon,
    .bio-press-list-button-icon-placeholder {
        width: 36px;
        height: 36px;
    }
    
    .bio-press-social-list-button-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .bio-press-social-list-button-label,
    .bio-press-list-button-label {
        font-size: 15px;
    }
    
    .bio-press-social-icon-wrapper svg {
        width: 40px;
        height: 40px;
    }
}

/* ============================================
   BLOCO CONTEÚDO DE PÁGINA (page_embed)
   ============================================ */
.bio-press-page-embed,
.bio-block-page-embed {
    margin-bottom: 24px;
    box-sizing: border-box;
}

.bio-block-page-embed .bio-press-page-embed-featured-img,
.bio-press-page-embed .bio-press-page-embed-featured-img {
    max-width: 100%;
    object-fit: cover;
}

.bio-press-page-embed .bio-press-carousel-title {
    margin-bottom: 16px;
}

.bio-press-page-embed-body {
    width: 100%;
}

.bio-press-page-embed-inner {
    width: 100%;
}

/* Imagem destacada (comum aos layouts 1 e 2) */
.bio-press-page-embed-featured {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0;
}

.bio-press-page-embed-featured-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.bio-press-page-embed-content {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.bio-press-page-embed-content p {
    margin-bottom: 1em;
}

.bio-press-page-embed-content h2,
.bio-press-page-embed-content h3,
.bio-press-page-embed-content h4 {
    margin-top: 1.25em;
    margin-bottom: 0.5em;
    font-weight: 600;
}

.bio-press-page-embed-content img {
    max-width: 100%;
    height: auto;
}

/* Layout 1: Vertical (imagem acima, conteúdo abaixo) */
.bio-press-page-embed-layout-1 .bio-press-page-embed-featured {
    margin-bottom: 20px;
}

.bio-press-page-embed-layout-1 .bio-press-page-embed-content {
    width: 100%;
}

/* Layout 2: Horizontal (grid 2 colunas) - sidebar image + content */
.bio-press-page-embed-layout-2 .bio-press-page-embed-grid,
.layout-horizontal .bio-press-page-embed-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    gap: 24px;
    align-items: start;
}

.bio-press-page-embed-layout-2 .bio-press-page-embed-col-image {
    min-width: 0;
}

.bio-press-page-embed-layout-2 .bio-press-page-embed-col-image .bio-press-page-embed-featured {
    margin-bottom: 0;
}

.bio-press-page-embed-layout-2 .bio-press-page-embed-col-image .bio-press-page-embed-featured-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.bio-press-page-embed-layout-2 .bio-press-page-embed-col-content {
    min-width: 0;
}

/* Layout 2: mobile – colapsar para vertical (< 768px) */
@media (max-width: 767px) {
    .bio-press-page-embed-layout-2 .bio-press-page-embed-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bio-press-page-embed-layout-2 .bio-press-page-embed-col-image .bio-press-page-embed-featured {
        margin-bottom: 0;
    }

    .bio-press-page-embed-layout-2 .bio-press-page-embed-col-image .bio-press-page-embed-featured-img {
        aspect-ratio: auto;
    }
}

/* Layout 3: apenas conteúdo – sem estilos adicionais */
.bio-press-page-embed-layout-3 .bio-press-page-embed-content {
    width: 100%;
}
