
#nauidc_hexagon {
    padding: 30px 20px;
    background: #ffffff;
    box-sizing: border-box;
}

.easyses-hex-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.easyses-hex-title {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: sticky;
    top: 40px;
    height: fit-content;
}

.hex-shape {
    width: 200px;
    height: 200px;
    background: #793cc5;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg);
    animation: hexRotate 20s linear infinite;
}

.hex-shape h2 {
    color: #ffffff;
    font-size: 28px;
    margin: 0;
    animation: hexCounter 20s linear infinite;
}

.easyses-hex-content {
    padding: 20px 0;
}

.easyses-hex-item {
    margin-bottom: 30px;
    background: #793cc5;
    border-left: 4px solid #d6d824;
    transition: all 0.4s ease;
    border-radius: 0 8px 8px 0;
}

.hex-question {
    padding: 20px;
    display: grid;
    grid-template-columns: 30px 1fr 30px;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.hex-marker {
    width: 12px;
    height: 12px;
    background: #ffffff;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    transition: transform 0.3s ease;
}

.hex-question h3 {
    color: #ffffff;
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    word-break: break-word;
}

.hex-plus {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hex-plus::before,
.hex-plus::after {
    content: '';
    position: absolute;
    background: #ffffff;
    transition: all 0.3s ease;
}

.hex-plus::before {
    width: 20px;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.hex-plus::after {
    width: 2px;
    height: 20px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.hex-answer {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out, visibility 0s linear 0.5s;
    position: relative;
    transform-origin: top;
    overflow: hidden;
}

.hex-line {
    width: 2px;
    background: #d6d824;
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    transform: scaleY(0);
    transition: transform 0.5s ease;
}

.hex-answer p {
    padding: 20px 20px 20px 40px;
    margin: 0;
    color: #ffffff;
    transform: translateY(20px);
    transition: transform 0.5s ease, opacity 0.3s ease;
    line-height: 1.6;
}

.hex-answer a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    word-break: break-word;
}

.hex-answer a:hover {
    color: #ffffff;
}

.easyses-hex-item.active .hex-answer {
    max-height: none;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.5s ease-in-out, opacity 0.3s ease-in-out;
}

.easyses-hex-item.active .hex-line {
    transform: scaleY(1);
}

.easyses-hex-item.active .hex-marker {
    transform: rotate(180deg);
}

.easyses-hex-item.active .hex-plus::after {
    transform: translateX(-50%) rotate(90deg);
}

.easyses-hex-item.active .hex-answer p {
    transform: translateY(0);
}

@keyframes hexRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes hexCounter {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@media (max-width: 1024px) {
    .easyses-hex-container {
        gap: 0px;
    }

    .hex-shape {
        width: 180px;
        height: 180px;
    }

    .hex-shape h2 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    #nauidc_hexagon {
        padding: 25px 20px;
    }

    .easyses-hex-container {
        grid-template-columns: 1fr;
        gap: 0px;
    }

    .easyses-hex-title {
        position: relative;
        top: 0;
        margin-bottom: 20px;
    }

    .hex-shape {
        width: 120px;
        height: 120px;
    }

    .hex-shape h2 {
        font-size: 32px;
    }

    .hex-question {
        padding: 15px;
        gap: 10px;
    }

    .hex-question h3 {
        font-size: 16px;
    }

    .hex-marker {
        width: 10px;
        height: 10px;
    }

    .hex-answer p {
        padding: 15px 15px 15px 35px;
        font-size: 14px;
    }

    .hex-line {
        left: 15px;
    }
}

@media (max-width: 480px) {
    #nauidc_hexagon {
        padding: 25px 20px;
    }

    .hex-shape {
        width: 100px;
        height: 100px;
    }

    .hex-shape h2 {
        font-size: 28px;
    }
}
