.skd-bcc-block {
    width: 100%;
}

.skd-bcc {
    --skd-bcc-max-width: 1200px;
    --skd-bcc-image-ratio: 48%;
    --skd-bcc-cream: var(--skd-cream, #fbf7ed);
    --skd-bcc-berry: var(--skd-berry, #97233f);
    --skd-bcc-berry-dark: var(--skd-berry-dark, #77182f);
    --skd-bcc-gold: var(--skd-gold, #d2a12d);
    --skd-bcc-espresso: var(--skd-espresso, #3a2b24);
    width: min(var(--skd-bcc-max-width), calc(100% - 40px));
    margin-inline: auto;
    padding-block: clamp(56px, 7vw, 100px);
}

.skd-bcc__inner {
    display: grid;
    grid-template-columns: minmax(0, calc(100% - var(--skd-bcc-image-ratio))) minmax(0, var(--skd-bcc-image-ratio));
    align-items: center;
    gap: clamp(34px, 5vw, 82px);
}

.skd-bcc--image-left .skd-bcc__media {
    order: -1;
}

.skd-bcc__content {
    min-width: 0;
}

.skd-bcc__subtitle {
    margin: 0 0 12px;
    color: var(--skd-bcc-gold);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(.9rem, 1.2vw, 1.05rem);
    font-style: italic;
}

.skd-bcc__title {
    margin: 0 0 22px;
    color: var(--skd-bcc-espresso);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.3vw, 3.55rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -.025em;
}

.skd-bcc__description {
    color: color-mix(in srgb, var(--skd-bcc-espresso) 82%, white);
    font-size: clamp(.98rem, 1.1vw, 1.08rem);
    line-height: 1.72;
}

.skd-bcc__description p {
    margin: 0 0 1em;
}

.skd-bcc__description p:last-child {
    margin-bottom: 0;
}

.skd-bcc__description a {
    color: var(--skd-bcc-berry);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.skd-bcc__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 28px;
    padding: 12px 24px;
    border-radius: 999px;
    background: var(--skd-bcc-berry);
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.skd-bcc__cta:hover,
.skd-bcc__cta:focus-visible {
    background: var(--skd-bcc-berry-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(58, 43, 36, .16);
}

.skd-bcc__cta--preview {
    cursor: default;
}

.skd-bcc__media {
    position: relative;
    min-width: 0;
}

.skd-bcc__image,
.skd-bcc__placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 22px;
}

.skd-bcc__image {
    object-fit: cover;
    box-shadow: 0 22px 54px rgba(58, 43, 36, .16);
}

.skd-bcc__placeholder {
    display: grid;
    place-items: center;
    padding: 30px;
    border: 1px dashed rgba(58, 43, 36, .35);
    background: linear-gradient(145deg, #f2ead9, #e8e8d8);
    color: var(--skd-bcc-espresso);
    text-align: center;
}

.skd-bcc-editor__media-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

@media (max-width: 782px) {
    .skd-bcc {
        width: min(100% - 30px, var(--skd-bcc-max-width));
        padding-block: 54px;
    }

    .skd-bcc__inner {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .skd-bcc__media,
    .skd-bcc--image-left .skd-bcc__media {
        order: -1;
    }

    .skd-bcc__image,
    .skd-bcc__placeholder {
        aspect-ratio: 16 / 12;
    }
}

@media (prefers-reduced-motion: reduce) {
    .skd-bcc__cta {
        transition: none;
    }
}

/* Rich HTML helper styles for schedules, locations, and detail callouts. */
.skd-bcc__description .skd-bcc-info-box {
    display: grid;
    gap: 18px;
    margin: 22px 0 0;
    padding: 22px 24px;
    border-radius: 18px;
    background: var(--skd-cream-deep, #f2ead9);
}

.skd-bcc__description .skd-bcc-info-row {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
}

.skd-bcc__description .skd-bcc-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    font-size: 1.05rem;
    line-height: 1;
}

.skd-bcc__description .skd-bcc-info-copy {
    display: grid;
    gap: 2px;
}

.skd-bcc__description .skd-bcc-info-copy strong {
    color: var(--skd-bcc-espresso);
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.35;
}

.skd-bcc__description .skd-bcc-info-copy span {
    color: color-mix(in srgb, var(--skd-bcc-espresso) 72%, white);
    font-size: .9rem;
    line-height: 1.45;
}

.skd-bcc-editor__html-wrap {
    margin-top: 10px;
}

.skd-bcc-editor__html-wrap textarea {
    min-height: 280px;
    font-family: Consolas, Monaco, monospace;
    font-size: 13px;
    line-height: 1.5;
}

.skd-bcc-editor__sample {
    margin-top: 12px;
}

.skd-bcc-editor__sample summary {
    cursor: pointer;
    font-weight: 600;
}

.skd-bcc-editor__sample pre {
    max-height: 280px;
    overflow: auto;
    padding: 14px;
    border-radius: 8px;
    background: #f6f7f7;
    white-space: pre-wrap;
    word-break: break-word;
}
