.content {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 0;
}

.carving {
    position: relative;
    width: 100%;
    height: 40px;
    z-index: 0;
    background-image: url(../img/carving1.webp);
    background-repeat: repeat-x;
    background-size: auto 40px;
    background-position: left top;
    border-top: 7px solid #8c1a22;
    border-bottom: 7px solid #8c1a22;
}

.main-beam {
    position: relative;
    width: 100%;
    height: 40px;
    z-index: 0;
    background-image: url(../img/main-beam.webp);
    background-repeat: repeat-x;
    background-size: auto 40px;
    background-position: center top;
    border-top: 7px solid #8c1a22;
    border-bottom: 7px solid #8c1a22;
}

.main-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
}

.banner-decree {
    position: absolute;
    left: 7%;
    bottom: -40px;
    transform: translateY(0%);
    width: auto;
    height: 80vh;
    z-index: 4;
    opacity: 0;
}

.banner-decree img {
    width: auto;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 12px rgba(0, 0, 0, 0.4));
}

.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: pan-y;
}

.banner-slider:active {
    cursor: grabbing;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    opacity: 1;
}

.banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-slide .banner-man {
    position: absolute;
    top: 0;
    right: 0;
    width: auto;
    height: 100%;
    object-fit: contain;
    z-index: 3;
    pointer-events: none;
}

.banner-slide .banner-man-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 70%;
    object-fit: contain;
    z-index: 3;
    pointer-events: none;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 8px rgba(0, 0, 0, 0.3));
}

.banner-man img {
    width: auto;
    height: 100%;
    object-fit: contain;
    z-index: 3;
    pointer-events: none;
}

.main-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #221d14;
    opacity: 0.85;
    z-index: 1;
    pointer-events: none;
}

.banner-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 5;
}

.banner-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(225, 163, 0, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.banner-dot:hover {
    background-color: rgba(225, 163, 0, 0.6);
    transform: scale(1.2);
}

.banner-dot.active {
    background-color: #E1A300;
    border-color: #E1A300;
    transform: scale(1.3);
}

@media (max-width: 1240px) {
    .banner-decree {
        height: 60vh;
        left: 1%;
    }
}

@media (max-width: 768px) {
    .banner-decree {
        height: 40vh;
        left: auto;
        right: 10px;
        bottom: -20px;
        transform: translateY(0%);
    }

    .banner-slide .banner-man-center {
        top: 10%;
        left: 3%;
        transform: translate(0%, 0%);
        height: auto;
        max-height: 45%;
        max-width: 94%;
        object-fit: contain;
        object-position: left top;
    }
}

@media (max-width: 480px) {
    .banner-slide .banner-man {
        right: -15%;
    }
}