/* Container geral do card */
.cin-wrap {
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px 28px;
    max-width: 420px;
    margin: 30px auto;
    text-align: center;
    box-sizing: border-box;
}
.cin-wrap * {
    box-sizing: border-box;
}

/* Título acima do card */
.cin-top-title {
    font-size: 15px !important;
    font-weight: 700;
    color: #14142b;
    margin: 0 0 16px;
    letter-spacing: 0.2px;
}

/* Frame estilo "poster" (bezel preto arredondado com sombra) */
.cin-frame {
    position: relative;
    border-radius: 20px;
    padding: 8px;
    overflow: hidden;
}

.cin-frame .cin-image {
    width: 100%;
    display: block;
    border-radius: 14px;
    object-fit: cover;
    max-height: 520px;
}

/* Carrossel (Slick) dentro do frame */
.cin-carousel {
    border-radius: 14px;
    overflow: hidden;
}
.cin-carousel .slick-slide {
    padding: 0;
}
.cin-carousel__slide img {
    width: 100%;
    display: block;
    max-height: 520px;
    object-fit: cover;
    border-radius: 14px;
}

/* Arrows (prev/next) do carrossel — precisam ficar DENTRO da área visível do
   frame (que tem overflow:hidden), senão ficam cortadas. Fundo puxa
   automaticamente a cor do botão (mesmo degradê), ícone sempre branco. */
.cin-carousel .slick-arrow {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: linear-gradient(90deg, var(--cin-btn-bg-start, #ff5b00), var(--cin-btn-bg-end, #c41500)) !important;
    border-radius: 50%;
    z-index: 20;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.cin-carousel .slick-prev {
    left: 10px;
}
.cin-carousel .slick-next {
    right: 10px;
}
.cin-carousel .slick-prev:before,
.cin-carousel .slick-next:before {
    font-family: initial;
    color: #fff !important;
    opacity: 1;
    font-size: 16px;
    line-height: 1;
}
.cin-carousel .slick-prev:before {
    content: '\2039'; /* ‹ */
}
.cin-carousel .slick-next:before {
    content: '\203A'; /* › */
}

/* Dots — sem fundo (transparente), cor inativa fixa e cor ativa puxando
   automaticamente a cor do botão. Não depende do ícone de fonte do Slick. */
.cin-carousel .slick-dots {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    position: static;
    bottom: auto;
}
.cin-carousel .slick-dots li {
    width: auto;
    height: auto;
    margin: 0;
}
.cin-carousel .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    background: transparent !important;
    border: none;
    box-shadow: none;
    outline: none;
}
.cin-carousel .slick-dots li button:before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #959494;
    opacity: 1;
    font-size: 0;
    line-height: 0;
}
.cin-carousel .slick-dots li.slick-active button:before {
    background: var(--cin-btn-bg-start, #ff5b00);
}

/* Mensagem abaixo da imagem */
.cin-below-message {
    font-size: 12px !important;
    color: #8a8a8a;
    margin: 14px 0 18px;
    line-height: 1.4;
}

/* Botão principal (com animação de pulsação lenta) */
.cin-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 18px;
    border-radius: 12px;
    background: linear-gradient(90deg, var(--cin-btn-bg-start, #ff5b00), var(--cin-btn-bg-end, #c41500));
    color: var(--cin-btn-text, #ffffff);
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    line-height: 1;
    animation: cin-heartbeat 2.6s ease-in-out infinite;
    transition: opacity 0.2s ease;
}
.cin-button:hover,
.cin-button:focus {
    opacity: 0.92;
    color: var(--cin-btn-text, #ffffff);
}

.cin-button__icon {
    font-size: 13px;
    line-height: 1;
    display: inline-flex;
}
.cin-button__icon--play {
    font-size: 12px;
}

/* Animação de pulsação lenta (estilo "heartbeat"), sem ícone de coração */
@keyframes cin-heartbeat {
    0%   { transform: scale(1); }
    15%  { transform: scale(1.045); }
    30%  { transform: scale(1); }
    45%  { transform: scale(1.045); }
    60%  { transform: scale(1); }
    100% { transform: scale(1); }
}

/* Mensagem de redirecionamento */
.cin-redirect-message {
    font-size: 12px !important;
    color: #999;
    margin: 10px 0 0;
    line-height: 1.4;
}

/* Editor (Gutenberg) */
.cin-editor {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
}

@media screen and (max-width: 480px) {
    .cin-wrap {
        padding: 20px 14px 24px;
    }
    .cin-button {
        font-size: 15px;
        padding: 14px 16px;
    }
}
