.fb-upload-wrapper {
    border: 1px dashed #ccc;
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 6px
}

.fb-upload-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0
}

.fb-thumb-item {
    width: 90px;
    height: 90px;
    position: relative;
    border: 1px solid #eee;
    padding: 2px;
    box-sizing: border-box
}

.fb-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.fb-thumb-actions {
    position: absolute;
    left: 4px;
    bottom: 4px
}

.fb-upload-errors {
    color: #b00;
    margin-top: 8px
}

.fb-crop-modal {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999
}

.fb-crop-inner {
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto
}

.fb-crop-image-wrap img {
    max-width: 100%;
    display: block
}

.fb-crop-actions {
    margin-top: 8px
}

.fb-uploading {
    position: absolute;
    top: 6px;
    left: 6px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px
}


.fb-header-image-wrapper {
    margin-bottom: 20px;
}

.fb-header-image-wrapper img {
    max-width: 1200px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.fb-header-image-wrapper,
.fb-header-video-wrapper {
    text-align: center;
    margin-bottom: 20px;
}

.fb-header-image-wrapper img,
.fb-header-video-wrapper video,
.fb-header-video-wrapper iframe {
    max-width: 1200px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}


.fb-header-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* mantém proporção widescreen */
  overflow: hidden;
  border-radius: 12px;
  background-color: #000;
}

.fb-header-video-wrapper iframe,
.fb-header-video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  border-radius: 12px;
}

@media(min-width: 768px){
    .fb-header-video-wrapper {
        aspect-ratio: 22 / 9; /* mantém proporção widescreen */
    }
}