
.site-title,
.site-description {
    display: none !important;
}

/* === Question Title === */
.question-title {
    font-size: 3.3vh;             /* as per Figma */
    font-weight: 800;    /* bold weight */
    line-height: 3.1vh;           /* leading / line height */
    text-align: center;
    vertical-align: middle;      /* usually affects inline elements; optional here */
    margin-top: 1.6vh;              /* spacing around title */
    margin-bottom: 2.5vh;
    letter-spacing: 0.057vw; /* slight letter spacing for readability */
    width: 65vw;
}


/* === Answer Buttons === */
.choose-container {
    display: grid;
    grid-template-columns: 1fr;            /* default: one column */
    gap: 1.25vh 2vw;                              /* spacing between buttons */
    justify-items: stretch;                /* stretch all buttons equally */
    align-items: stretch;
    width: auto;
    max-width: 65vw;
    margin: 0 auto;
    min-width: max-content;                    /* ensure width fits text */
}
.choose-container.one-column {
    display: inline-grid;                    /* shrink to content width */
    grid-template-columns: 1fr;              /* one column */
    justify-content: center;                 /* center the grid in container */
    align-items: stretch;
}

.choose-container.one-column .choose-button {
    width: 100%;                             /* make all same width as widest */
    justify-content: center;                 /* center text inside button */
}

/* Regular two-column (equal width) */
.choose-container.two-columns {
    grid-template-columns: repeat(2, 1fr);
    width: 55vw;                           /* vertical & horizontal gaps */
}

/* Special case for Q2/Q3: 2 equal-width columns  */
.choose-container.two-columns.auto-width {
    display: grid;                      /* shrink to content width */
    grid-template-columns: 1fr 1fr;  /* 2 equal columns */
    grid-template-columns: auto auto;          /* auto-sized columns */   
    justify-content: center;                   /* center whole grid */
    align-items: stretch;
}
.choose-container.two-columns.auto-width .choose-button {
    width: 100%;
}

/* Make sure answer-block fills the grid cell */
.choose-container .answer-block {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
}

.choose-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5vh 2vh 0.5vh 2vh; /* adjust to Figma spacing */
    min-width: 28vw;
    font-size: 2.18vh;
    font-weight: 700;
    color: #0A1C3A;
    border: 0.27vw solid #0A1C3A;
    border-radius: 5.2vh;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.choose-button:hover {
    background: #0A1C3A;
    color: #fff;
}

.post-choose-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-direction: column !important;
    padding: 0.5vh 2vh 0.5vh 2vh; /* adjust to Figma spacing */
    width: 29.7vw;
    min-height: 4.8vh; /* base height */
    font-size: 1.4vh;
    font-weight: 700;
    line-height: 1.5vh;
    color: #0A1C3A;
    border: 0.27vw solid #0A1C3A;
    border-radius: 5.2vh;
    background: #C1B3D7;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;

    /* Text wrapping rules */
    white-space: normal;     /* allow wrapping */
    word-break: break-word;  /* prevent overflow */
    overflow-wrap: break-word; 
    hyphens: auto;
    text-wrap: balance;

    display: -webkit-box;
    -webkit-line-clamp: 2;   /* limit to 2 lines */
    -webkit-box-orient: vertical;
}
.post-choose-button a{
    align-items: center;
    justify-content: center;
}

.post-choose-button:hover {
    background: #fff;
    color: #0A1C3A;
}

/* Center last item if odd number in two-column layout */
.choose-container.two-columns .answer-block:last-child:nth-child(odd) {
    grid-column: span 2;
    justify-self: center;
    width: 50%;
}

/* Let the grid expand according to the largest button */
.choose-container.two-columns.auto-width .choose-button {
    min-width: max-content;                    /* ensure width fits text */
}

/* === Answer Extra Buttons === */
.extra-choose-button {
    width: 66vw;
    height: auto;
    padding: 1vh 2vh 1vh 2vh; /* adjust to Figma spacing */
    font-size: 2.2vh;
    font-weight: 700;
    color: #0A1C3A;
    border: 0.27vw solid #0A1C3A;
    border-radius: 2vh;
    background: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    align-items:right; 
    text-align: right;           /* Right-align the text */
    direction: rtl;              /* Hebrew/RTL friendly */
    white-space: normal;         /* Allow text to wrap */
    word-break: break-word;      /* Prevent overflow */
}
.extra-choose-button:focus {
    background: #fff !important;
    background-color: #fff !important;
}
.extra-choose-button:hover{
    background: #fff !important;
    background-color: #fff !important;
}
.extra-choose-button .answer-outter{
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    width: 100%;
    direction: rtl;              /* Hebrew/RTL friendly */
}
.extra-choose-button .answer-outter .answer-text {
    font-size: 1.87vh;
    font-weight: 700;
    color:#6D57A5; 
    flex: 1;
}
.extra-choose-button .answer-outter .answer-icon{
    height: 0.8vh;
    width: 2.7vw;
    margin-left: 0.7vw;              /* spacing between icon and text */
    transition: transform 0.2s;
    flex-shrink: 0;                /* don't shrink the icon */
}
/* === Answer Extra (hidden area) === */
.answer-extra {
    max-width: 60vw;
    height: auto;
    margin: 1vh auto 1vh auto; /* center and space from button */
    color: #0A1C3A;
    word-break: break-word;      /* Prevent overflow */
    font-size: 1.25vh;
    font-weight: 400;
    line-height: 1.4;
}
.inner-choose-button {
    display: inline-block;
    width: auto;                /* width fits content */
    padding: 0.5vh 1.5vh 0.5vh 1.5vh; /* adjust to Figma spacing */
    font-size: 1.3vh;
    font-weight: 700;
    color: #fff;
    border: 0.27vw solid #0A1C3A;
    border-radius: 5.2vh;
    background: #0A1C3A;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.inner-choose-button:hover{
    background: #C1B3D7;
    color: #0A1C3A;
}

/* === Popup Text Button === */
.popup-button-wrapper {
    display: flex;            /* enable flex layout */
    align-items: center;      /* vertical alignment (optional) */
    justify-content: flex-end; /* align items to the left */
}
.popup-button {
    display: inline-block;
    width: auto;                /* width fits content */
    margin-top: 2vh;
    padding: 0.5vh 1.5vh 0.5vh 1.5vh; /* adjust to Figma spacing */
    font-size: 1.3vh;
    font-weight: 700;
    color: #0A1C3A;
    border: 0.27vw solid #0A1C3A;
    border-radius: 5.2vh;
    background: #C1B3D7;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* === Progress Bar === */
/* === Progress Dots === */
.progress-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;             /* allows wrapping on smaller screens */
    gap: 0.8vh;                  /* space between dots */
    margin: 4vh auto 2vh;
    max-width: 80vw;
}

.progress-dot {
    width: 1.8vw;
    height: 1vh;
    border-radius: 50%;
    background-color: #e0e0e0;   /* gray for inactive */
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.progress-dot.active {
    background-color: #6D57A5;   /* purple for filled progress */
    transform: scale(1.1);       /* slight zoom for active */
}

/* Optional hover effect for debugging or design preview */
.progress-dot:hover {
    transform: scale(1.2);
}

/* === Buttons Entrance Animation === */
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Initially hidden before animation */
.choose-button,
.extra-choose-button,
.post-choose-button {
    opacity: 0;
    transform: translateX(-100%);
}


/* When the container is marked as active (JS adds this class) */
.choose-container.animate-in .choose-button,
.choose-container.animate-in .post-choose-button,
.choose-container.animate-in .extra-choose-button {
    animation: slideInFromRight 0.8s ease-out forwards;
}
