.hbs-placeholder {
    display: block;
    width: 100%;
    /* height is set inline by the shortcode */
    position: relative;
    margin: 0;
    padding: 0;
}

/* The slider itself — JS will override position/top/left/width */
.hbs-slider {
    display: block;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.hbs-track {
    display: flex;
    width: 100%;
    height: 100%;
}

.hbs-slide {
    position: relative;
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    opacity: 0;
}
.hbs-slide.hbs-active { opacity: 1; }

.hbs-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
}

.hbs-content {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 60px;
    box-sizing: border-box;
    z-index: 2;
}
.hbs-left   { align-items: flex-start; text-align: left; }
.hbs-center { align-items: center;     text-align: center; }
.hbs-right  { align-items: flex-end;   text-align: right; }

.hbs-title {
    margin: 0 0 16px 0;
    font-size: clamp(28px, 5vw, 70px);
    font-weight: 800;
    line-height: 1.1;
    color: inherit;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.hbs-subtitle {
    margin: 0 0 24px 0;
    font-size: clamp(15px, 2vw, 22px);
    line-height: 1.5;
    color: inherit;
    max-width: 600px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}
.hbs-btn {
    display: inline-block;
    padding: 13px 32px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.hbs-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 20px rgba(0,0,0,0.35); }

.hbs-arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff; border: none;
    width: 50px; height: 50px;
    border-radius: 50%; font-size: 18px;
    cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    padding: 0; transition: background 0.2s;
}
.hbs-arrow:hover { background: rgba(0,0,0,0.7); }
.hbs-prev { left: 18px; }
.hbs-next { right: 18px; }

.hbs-dots {
    position: absolute;
    bottom: 18px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 9px; z-index: 10;
}
.hbs-dot {
    width: 11px; height: 11px; border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: 2px solid rgba(255,255,255,0.8);
    cursor: pointer; padding: 0;
    transition: background 0.25s, transform 0.25s;
}
.hbs-dot-on, .hbs-dot:hover { background: #fff; transform: scale(1.25); }

.hbs-track.hbs-fade .hbs-slide {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    min-width: 100%; transition: opacity 0.75s ease;
}
.hbs-track.hbs-fade .hbs-slide.hbs-active { opacity: 1; z-index: 2; }
.hbs-track.hbs-fade .hbs-slide:not(.hbs-active) { opacity: 0; z-index: 1; }

@media (max-width: 768px) {
    .hbs-content { padding: 24px 20px; }
    .hbs-arrow { width: 38px; height: 38px; font-size: 14px; }
}
