/* Block: Topics (slug: bullets) */

/* Remove .block padding — swiper container handles it */
.block.block-bullets {
    padding-left: 0;
    padding-right: 0;
}

/* When title is present, stack vertically with gap-small */
.block-bullets.has-title {
    flex-direction: column;
    gap: clamp(35px, 3.7cqi, 45px);
}

/* Title padding (block-title.css handles shared styles) */
.block-bullets-title {
    padding: 0 var(--spacing-wrapper);
}

.block-bullets-swiper {
    width: 100%;
    padding: 0 var(--spacing-wrapper);
}

/* Equal height slides: stretch all bullet-items to match tallest (Swiper + flex) */
.block-bullets .swiper-wrapper {
    align-items: stretch;
}
.block-bullets .swiper-slide {
    height: auto;
    container-type: inline-size;
    display: flex;
}

.block-bullets .bullet-item .bullet-body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-gap-medium);
}

.block-bullets .bullet-item:has(.bullet-lists) .bullet-top {
    flex: unset;
}

.block-bullets .bullet-item:has(.bullet-lists) .bullet-body {
    flex: 1;
    justify-content: space-between;
}

.block-bullets .bullet-lists {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.block-bullets .bullet-item .bullet-description {
    color: var(--color-subtext);
}

/* ── Subtopics ── */

.block-bullets .bullet-subtopics {
    --padding-x-subtopics: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: calc((100% + var(--box-padding-medium) * 2) - (var(--padding-x-subtopics) * 2));
    margin-left: calc((var(--box-padding-medium) * -1) + var(--padding-x-subtopics));
    padding: 0;
}

.block-bullets .bullet-subtopics-title {
    font-size: clamp(17px, 1.4cqi, 20px);
    font-weight: 400;
    margin: 0;
    line-height: 1;
    padding: 0 calc(var(--box-padding-medium) - var(--padding-x-subtopics));
    color: var(--color-dark-sand);
}

.block-bullets .bullet-subtopics-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: var(--border-radius-sm);
    background-color: #EBEAE0;
    overflow: hidden;
}

.block-bullets .bullet-subtopics-list .subtopic-item:first-child {  border-top: none; }
.block-bullets .bullet-subtopics-list .subtopic-item:last-child { border-bottom: none; }

.block-bullets .subtopic-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    border-top: 1px solid rgba(143, 131, 112, 0.1);
    padding: 18px calc(var(--box-padding-medium) - var(--padding-x-subtopics));
    transition: background 0.1s ease-out;
}

.block-bullets .subtopic-item:hover { background: #F0EFE4; }

.block-bullets .subtopic-item > .icon-wrap {
    width: 22px;
    flex-shrink: 0;
    display: flex;
    aspect-ratio: 1 / 1;
    align-items: center;
    justify-content: center;
    align-self:center;
}

.block-bullets .subtopic-item > .icon-wrap svg {
    width: 100%;
    height: auto;
}

.block-bullets .subtopic-item .icon-dot {
    width: 30%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: var(--color-orange);
    display: block;
    transition: transform 0.15s ease-out;
}

.block-bullets .subtopic-item:hover .icon-dot {
    transform: scale(1.5);
}

.block-bullets .subtopic-content {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 15px;
    min-height: 22px;
}

.block-bullets .subtopic-title {
    font-weight: 500;
    line-height: 1.1;
    margin: 0;
    padding: 0;
    text-wrap: balance;
    color: rgba(0, 0, 0, 0.7);
    transition: color 0.15s ease-out;
}

.block-bullets .subtopic-item:hover .subtopic-title {
    color: var(--color-orange);
}

.block-bullets .subtopic-description {
    color: var(--color-subtext);
    text-align: right;
    font-size: clamp(15px, 1.1cqi, 16px);
    font-weight: 400;
    text-wrap: balance;
    letter-spacing: 0.01em;
    line-height: 1.1;
    opacity: 0.8;
    transition: opacity 0.15s ease-out;
}

.block-bullets .subtopic-item:hover .subtopic-description {
    opacity: 1;
}

/* ── Minilist ── */

.block-bullets .bullet-minilist {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.block-bullets .bullet-minilist-items {
    display: flex;
    flex-direction: column;
}

.block-bullets .minilist-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid rgba(143, 131, 112, 0.1);
}

.block-bullets .bullet-minilist-items .minilist-row:first-child {
    border-top: none;
    padding-top: 0;
}

.block-bullets .bullet-minilist-items .minilist-row:last-child {
    padding-bottom: 0;
}

.block-bullets .minilist-label {
    font-size: clamp(12px, 1.1cqi, 13px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-dark-sand);
    flex-shrink: 0;
}

.block-bullets .minilist-value {
    color: var(--color-subtext);
    text-align: right;
    font-size: clamp(13px, 1.1cqi, 15px);
    font-weight: 400; 
    letter-spacing: 0.01em;
    line-height: 1.1;
    padding-top: 4px;
    text-wrap: balance;
}

/* ── items-3 desktop (>= 1400px): reset Swiper, flex+gap ── */

@container page-content (min-width: 1400px) {
    .block-bullets.items-3 .block-bullets-swiper {
        overflow: visible;
    }

    .block-bullets.items-3 .swiper-wrapper {
        display: flex;
        gap: 30px;
        justify-content: center;
        width: 100%;
    }

    .block-bullets.items-3 .swiper-slide {
        flex-shrink: 1;
        width: 24%;
        height: auto;
    }
}

@container page-content (min-width: 1400px) and (max-width: 1600px) {
    .block-bullets.items-3 .swiper-slide { width: 33%; }
}

/* ── items-4 desktop (>= 1400px): reset Swiper, flex+gap ── */

@container page-content (min-width: 1400px) {
    .block-bullets.items-4 .block-bullets-swiper {
        overflow: visible;
    }

    .block-bullets.items-4 .swiper-wrapper {
        display: flex;
        gap: 30px;
        width: 100%;
    }

    .block-bullets.items-4 .swiper-slide {
        flex-shrink: 1;
        width: 24%;
        height: auto;
    }
}

/* ── Bullet item internals (all sizes) ── */

.block-bullets .bullet-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-gap-xsmall);
    width: 100%;
    min-height: 100cqi;
    background: #F2F2EA;
    border-radius: var(--border-radius-md);
    padding: var(--box-padding-medium);
    transition: background 0.2s ease-out;
}

.block-bullets .bullet-item:hover {
    background: #F6F6EE;
}

.block-bullets .bullet-item:has(.bullet-lists) {
    gap: 15px;
}


.block-bullets .bullet-item .bullet-image-wrapper {
    overflow: hidden;
    border-radius: var(--border-radius-sm);
    width: calc(100% + var(--box-padding-medium) * 1);
    margin-left: calc(var(--box-padding-medium) * -0.5);
    margin-top: calc(var(--box-padding-medium) * -0.5);
}

.block-bullets .bullet-item .bullet-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius-sm);
    transition: transform 0.2s ease-out;
}

.block-bullets .bullet-item:hover .bullet-image-wrapper .bullet-image {
    transform: scale(1.03);
}

.block-bullets .bullet-item .bullet-label-header {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-gap-xsmall);
}

.bullet-icon {
    width: 11%;
    aspect-ratio: 1 / 1;
}

.bullet-icon svg { width: 100%; height: auto; }

.block-bullets .bullet-item .bullet-label-number {
    display: flex;
    margin-left: -5px;
}

.block-bullets .bullet-item .bullet-label {
    font-size: clamp(11px, 1.2cqi, 13px);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(143, 131, 112, 0.2);
    color: var(--color-dark-sand);


}

.block-bullets .bullet-item .bullet-number {
    width: clamp(30px, 5cqi, 35px);
    height: clamp(30px, 5cqi, 35px);
    background-color: var(--color-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(12px, 5cqi, 13px);
    font-weight: 400;
    color: var(--color-white);
    flex-shrink: 0;
}

.block-bullets .bullet-item .bullet-top {
    display: flex;
    flex-direction: column;
    gap: 13px;
    flex: 1;
}

.block-bullets .bullet-item .bullet-top.no-description {
    justify-content: space-between;
}

.block-bullets .bullet-item .bullet-top .bullet-title {
    font-size: 1.9rem;
    font-weight: 300;
    line-height: 1.15;
    letter-spacing: clamp(-0.5px, 3cqi, -2px);
    padding: 0;
    margin: 0;
    text-wrap: balance;
}

.block-bullets .bullet-item .bullet-heading {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.block-bullets .bullet-item .bullet-top.no-description .bullet-heading {
    margin-top: auto;
}

.block-bullets .bullet-item .bullet-subtitle {
    color: var(--color-subtext);
}

@container page-content (max-width: 768px) {
    .block-bullets .bullet-item { gap: 15px; }
}

/* ── Display Grid: desktop (>= 1400px) ── */

@container page-content (min-width: 1400px) {
    .block-bullets.display-grid .block-bullets-swiper {
        overflow: visible;
    }

    .block-bullets.display-grid .swiper-wrapper {
        display: grid;
        gap: var(--spacing-gap-xsmall);
    }

    .block-bullets.display-grid .bullet-item {
        min-height: unset;
    }

    .block-bullets.display-grid .swiper-slide {
        width: 100%;
        height: auto;
    }

    .block-bullets.display-grid.grid-cols-3 .swiper-wrapper { grid-template-columns: repeat(3, 1fr); }
    .block-bullets.display-grid.grid-cols-4 .swiper-wrapper { grid-template-columns: repeat(4, 1fr); }
    .block-bullets.display-grid.grid-cols-5 .swiper-wrapper { grid-template-columns: repeat(5, 1fr); }
    .block-bullets.display-grid.grid-cols-6 .swiper-wrapper { grid-template-columns: repeat(6, 1fr); }
}

/* ── Display Grid + not-slide: grid at all sizes, no Swiper ── */

.block-bullets.display-grid.not-slide .block-bullets-swiper {
    overflow: visible;
}

.block-bullets.display-grid.not-slide .bullet-item {
    /* min-height: unset; */
    min-height: 60cqi;
}

.block-bullets.display-grid.not-slide .swiper-wrapper {
    display: grid;
    gap: var(--spacing-gap-xsmall);
}

.block-bullets.display-grid.not-slide .swiper-slide {
    width: 100%;
    height: auto;
}

@container page-content (max-width: 1600px) {
    .block-bullets .subtopic-item { padding-top: 15px; padding-bottom: 15px; }
    .block-bullets .bullet-item .bullet-top .bullet-title { font-size: 1.7rem; line-height: 1.14; }
}

@container page-content (min-width: 769px) and (max-width: 1399px) {
    .block-bullets.display-grid.not-slide .swiper-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

@container page-content (max-width: 768px) {
    .block-bullets.display-grid.not-slide .swiper-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .block-bullets.display-grid.mobile-full .swiper-wrapper {
        grid-template-columns: 1fr;
    }

    .block-bullets.display-grid.mobile-full .swiper-wrapper { gap: 10px; }


    .block-bullets.display-grid.not-slide .bullet-item { min-height: unset; }

    .block-bullets .subtopic-item > .icon-wrap { width: 26px; }
    /* .block-bullets .subtopic-item > .icon-wrap:has(.icon-dot) { display: none; } */
    .block-bullets .subtopic-item > .icon-wrap:has(.icon-dot) { }

    .block-bullets .subtopic-item { padding:10px 15px 13px 15px; gap:13px; }
    .block-bullets .subtopic-content {
        flex-direction: column;
        gap: 3px;
        align-items: flex-start;
    }
    .block-bullets .subtopic-description { text-align: left; }

    .block-bullets .bullet-subtopics {
        --padding-x-subtopics: 5px;
    }

    .block-bullets .bullet-item .bullet-top .bullet-title { font-size: 1.6rem; line-height: 1.12; }

}
