#main #introduction-regulations p,
#main #sec-3-regulations p,
#main #sec-3-regulations ul li,
#sec-3-regulations a.btn span{
    font-size: var(--font-size-18);
    line-height: 24px;
}

/* to global */
.wiki-content .note {
    display: flex;
    gap: 16px;
    align-items: center;
}

.wiki-content .note img {
    width: 20px;
    height: 20px;
}

.wiki-content .note-text * {
    margin: 0;
    font-size: var(--font-size-18);
    line-height: 24px;
}

.wiki-content .flex {
    display: flex;
}

.wiki-content .flex-column {
    display: flex;
    flex-direction: column;
}

.wiki-content .mb-2 {
    margin-bottom: 0.5rem;
}

.wiki-content .mb-auto {
    margin-bottom: auto;
}

.wiki-content .mt-auto {
    margin-top: auto;
}

.wiki-content .mbx-12 {
    margin-bottom: 12px !important;
}

/* color ..semantic-accent #4777e78 */

/* ---- */

#sec-2-regulations .custom-img {
    max-width: 320px;
    margin-top: 8px;
}

#sec-2-regulations .custom-heading {
    max-width: 600px;
}

#sec-3-regulations .note {
    margin-top: 20px;
}

#sec-3-regulations{
    position: relative;
}

#sec-3-regulations .custom-scr-img {
    position: absolute;
    left: 0;
    bottom: -50%;
    z-index: 0;
}

/* custom checklist*/
#sec-3-regulations ul.yellow-checkmark-list {
	display: flex;
	flex-direction: column;
	gap: var(--spacing-16);
	padding-left: 32px;
	margin-bottom: var(--spacing-16);
}
#sec-3-regulations ul.yellow-checkmark-list li {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
#sec-3-regulations ul.yellow-checkmark-list li::after {
	position: absolute;
	content: "";
	width: 16px;
	height: 16px;
	background-image: url("/digital-building-blocks/sites/download/attachments/915931811/ico-yellow-checkmark.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	left: -32px;
}




#sec-4-regulations {
    background-color: var(--color-surface-soft-yellow-light);
    position: relative;
}

#sec-4-regulations .mt-40 {
    margin-top: 2.5rem;
}

#sec-4-regulations .custom-img {
    position: relative;
    bottom: 50px;
}

#sec-4-regulations .custom-cols {
    margin-top: -8rem;
    position: relative;
}

#sec-4-regulations .c-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    grid-template-rows: auto auto;
    grid-auto-flow: column;
    gap: 16px;
}

#sec-4-regulations .c-block {
    background: #fff;
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 16px;
    box-shadow: 0 4px 20px 0 rgba(41, 43, 60, 0.08);
}

#sec-4-regulations .c-block a.btn span {
    font-size: var(--font-size-18);
    line-height: 24px;
}

#sec-4-regulations .badge {
    padding: 8px 16px;
    border-radius: 80px;
    max-width: fit-content;
    text-align: center;
    font-family: var(--font-family-regular);
    font-size: var(--font-size-14);
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    background: var(--color-surface-soft-blue-light);
}


#sec-4-regulations .c-block-title {
    color: var(--buttons-secondary);
    margin-bottom: 0;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
}

/* Text */
#sec-4-regulations .c-block-text {
    border-radius: 8px;
    background: #F3F3F7;
    padding: 12px 20px;
}

#sec-4-regulations .c-block-text * {
    font-size: var(--font-size-18);
    line-height: 24px;
    font-size: var(--font-size-18);
    line-height: 24px;
}

#sec-4-regulations .c-block-text strong {
    color: #2a2a2a;
}

/* Toggle animation */
#sec-4-regulations .full-text {
    display: none;
}

#sec-4-regulations .read-toggle {
    display: inline;
}

#sec-4-regulations .read-toggle:hover {}

#sec-4-regulations .custom-ol {
    margin-bottom: 0;
}

#sec-4-regulations .custom-ol li::marker {
    font-family: var(--font-family-b);
}

#sec-4-regulations .custom-col {
    max-width: 550px;
    padding-top: 0;
    padding-bottom: 0;
}

#sec-4-regulations .cols-box {
    margin: 48px 0;
    padding: 40px 8px;
    border-radius: 16px;
    background: var(--color-surface-soft-yellow);
}


/* --- */

#sec-5-regulations #sec-2-subsection-4 .h2 {
    text-align: center;
}

#sec-5-regulations #sec-2-subsection-4 .h2.desk-text-center {
    text-align: center;
    margin-bottom: 40px;
}


#sec-5-regulations #sec-2-subsection-4 .steps-container {
    padding-left: 0;
    border-left: 2px solid;
    border-image: linear-gradient(to bottom, #fffae6 0%, #fffae6 2%, #fffae6 50%, #fffae6 98%, #fffae6 100%) 1;
    display: flex;
    flex-direction: column;
}

#sec-5-regulations #sec-2-subsection-4 .steps-container .h3 {
    color: var(--color-surface-soft-yellow-darkest);
    margin-bottom: 0;
}

#sec-5-regulations #sec-2-subsection-4 .steps-container>li {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--spacing-24);
    align-items: center;
    border-radius: 16px;
    background-color: var(--color-surface-soft-yellow-light);
    text-align: left;
}

#sec-5-regulations #sec-2-subsection-4 .steps-container>li p {
    margin: 0;
}

#sec-5-regulations #sec-2-subsection-4 .steps-container>li::before {
    position: absolute;
    content: "";
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--color-surface-soft-yellow-darkest);
    left: -64px;
    z-index: 2;
}

#sec-5-regulations #sec-2-subsection-4 .steps-container>li::after {
    position: absolute;
    content: "";
    display: block;
    width: 40px;
    height: 1px;
    background-color: var(--color-surface-soft-yellow);
    left: -40px;
    top: 50%;
}

#sec-5-regulations #sec-2-subsection-4 .h2 {
    text-align: start;
}


#sec-5-regulations #sec-2-subsection-4 .steps-container {
    margin-top: 7rem;
    margin-bottom: 2.5rem;
    gap: var(--spacing-24);
}

#sec-5-regulations #sec-2-subsection-4 .steps-container>li {
    margin-left: 49px;
    padding: var(--spacing-24);
}

#sec-5-regulations #sec-2-subsection-4 .steps-container>li:first-of-type {
    margin-top: -3.5rem;
}

#sec-5-regulations #sec-2-subsection-4 .steps-container>li:last-of-type {
    margin-bottom: -2.5rem;
}

#sec-5-regulations #sec-2-subsection-4 .steps-container>li .custom-container>div {
    max-width: 47%;
}

#sec-5-regulations #sec-2-subsection-4 .steps-container>li .custom-container>div:last-child {
    border-left: 1px solid var(--color-surface-pink);
    padding-left: 20px;
}

#sec-5-regulations #sec-2-subsection-4 .steps-container>li .custom-ul {
    list-style-type: disc;
}


/* Interactive Section */
:root {
    --brand: #2a68ff;
    --bg: #f9fafb;
    --text: #111827;
    --muted: #475569;
    --card: #fff;
    --border: #e5e7eb;
    --highlight: #ffeb3b;
    --sk1: #eef2f7;
    --sk2: #e6eaf0;
    --radius: 14px;
    --gap: 16px;
    --pad: 16px;
    --spring: cubic-bezier(0.56, 0.58, 0.42, 0.02);
    --search-min-h: 44px;
    --label-float-top: 6px;
    --input-top-pad: 18px;
}

/* @media (prefers-color-scheme: dark) {
    :root {
        --bg: #0b1220;
        --text: #e5edff;
        --muted: #9fb0c9;
        --card: #0f172a;
        --border: #1e293b;
        --brand: #7aa2ff;
        --sk1: #101829;
        --sk2: #0c1222;
        --highlight: #a4a200;
    }
} */


/* .visually-hidden {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    height: 1px;
    width: 1px;
    overflow: hidden;
    white-space: nowrap
} */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}



:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px
}

.controls {
    display: flex;
    gap: 24px;
    align-items: center;
    padding: 8px 0 64px;
    flex-wrap: wrap
}

/* ---------- Filter chips ---------- */
.filter-btn {
    --chip-color: #2563eb;
    --chip-hover: rgba(37, 99, 235, .10);
    --chip-text: var(--chip-color);
    --chip-active-text: #fff;

    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--chip-color);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
    line-height: 1;
}

.read-link:hover {
    text-decoration: underline
}

@media (hover: hover) and (pointer: fine) {
    .show-toggle:hover {
        background: var(--color-primary-2);
    }

    .card:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 24px rgba(0, 0, 0, .08)
    }

    .filter-btn:hover {
        background: var(--chip-hover)
    }

    .filter-btn.active:hover {
        background: var(--chip-active-text);
    }
}

.filter-btn::before {
    content: "+";
    font-weight: 700;
    margin-right: 2px;
    transform: translateY(-.5px);
    color: var(--chip-text);
}

.filter-btn.active {
    background: var(--chip-hover);
    border-color: var(--chip-color);
    /* color: var(--chip-active-text); */
    font-family: var(--font-family-b);
}



/* keep solid when active */
.filter-btn.active::before {
    content: "";
    color: var(--chip-color);
}

/* Replace the per-status chip color rules with these */
.filter-btn[data-filter="adopted"] {
    --chip-color: #36B37E;
    /* green */
    --chip-hover: rgba(22, 163, 74, .10);
}

.filter-btn[data-filter="public-closed"] {
    --chip-color: #FF461D;
    /* red */
    --chip-hover: rgb(255, 237, 233);
}

.filter-btn[data-filter="public-open"] {
    --chip-color: #4777E8;
    /* blue */
    --chip-hover: rgba(37, 100, 235, 0.2)
}

.filter-btn[data-filter="coming-soon"] {
    --chip-color: #8E92B1;
    /* purple */
    --chip-hover: rgba(142, 146, 177, 0.2);
}





.filter-btn {
    position: relative;
    padding-left: 34px;
    color: #4E5169;
    text-align: center;
    font-family: var(--font-family-regular);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;

}

/* PLUS (default) ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â uses the per-option chip color */
.filter-btn::before {
    content: "+";
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%) scale(1) rotate(0deg);
    color: var(--chip-color);
    font-weight: 700;
    line-height: 1;
    transition: transform .24s var(--spring), opacity .16s ease, color .15s ease;
    opacity: 1;
}

/* CHECKMARK ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€šÃ‚Â same color as PLUS via mask + background-color */
.filter-btn::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%) scale(.6) rotate(-12deg);
    opacity: 0;
    transition: transform .28s var(--spring), opacity .16s ease, background-color .15s ease;

    /* Use mask so we can tint with background-color */
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10" viewBox="0 0 14 10" fill="none"><path d="M4.54168 7.625L11.6042 0.5625C11.7708 0.395833 11.9688 0.3125 12.1979 0.3125C12.4271 0.3125 12.625 0.395833 12.7917 0.5625C12.9583 0.729167 13.0417 0.927083 13.0417 1.15625C13.0417 1.38542 12.9583 1.58333 12.7917 1.75L5.12501 9.41667C4.95834 9.58333 4.7639 9.66667 4.54168 9.66667C4.31945 9.66667 4.12501 9.58333 3.95834 9.41667L0.37501 5.83333C0.208343 5.66667 0.128482 5.46875 0.135426 5.23958C0.142371 5.01042 0.229176 4.8125 0.395843 4.64583C0.56251 4.47917 0.760427 4.39583 0.989593 4.39583C1.21876 4.39583 1.41668 4.47917 1.58334 4.64583L4.54168 7.625Z" fill="%23000"/></svg>');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    -webkit-mask-position: center;
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10" viewBox="0 0 14 10" fill="none"><path d="M4.54168 7.625L11.6042 0.5625C11.7708 0.395833 11.9688 0.3125 12.1979 0.3125C12.4271 0.3125 12.625 0.395833 12.7917 0.5625C12.9583 0.729167 13.0417 0.927083 13.0417 1.15625C13.0417 1.38542 12.9583 1.58333 12.7917 1.75L5.12501 9.41667C4.95834 9.58333 4.7639 9.66667 4.54168 9.66667C4.31945 9.66667 4.12501 9.58333 3.95834 9.41667L0.37501 5.83333C0.208343 5.66667 0.128482 5.46875 0.135426 5.23958C0.142371 5.01042 0.229176 4.8125 0.395843 4.64583C0.56251 4.47917 0.760427 4.39583 0.989593 4.39583C1.21876 4.39583 1.41668 4.47917 1.58334 4.64583L4.54168 7.625Z" fill="black"/></svg>');
    mask-repeat: no-repeat;
    mask-size: contain;
    mask-position: center;

    background-color: var(--chip-color);
    /* ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬ ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â SAME color as + */
}

/* Cross-fade / pop animation on toggle */
.filter-btn.active::before {
    transform: translateY(-50%) scale(.5) rotate(120deg);
    opacity: 0;
}

.filter-btn.active::after {
    opacity: 1;
    transform: translateY(-50%) scale(1) rotate(0deg);
}

/* High-contrast fallback */
@media (forced-colors: active) {
    .filter-btn::after {
        -webkit-mask-image: none;
        mask-image: none;
        width: auto;
        height: auto;
        content: "";
        opacity: 0;
        transform: translateY(-50%);
    }

    .filter-btn.active::after {
        opacity: 1;
    }
}

/* TESTING */

/* Search bar with floating label (fixed height; no overlap) */
.search-bar {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    position: relative;
    border-radius: 16px;
    background: #FFF;
    box-shadow: 0 4px 20px 0 rgba(41, 43, 60, 0.08);
    display: flex;
    width: 392px;
    height: 56px;
    padding: 8px 16px;
    align-items: center;
    gap: 8px;
}

.search-bar .search-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.search-bar input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: 0;

    color: var(--text);
    /* padding-top: var(--input-top-pad); */
    font-size: var(--font-size-18);
    position: relative;
    z-index: 1;

}

.search-icon {
    position: absolute;
    transition: transform .22s var(--spring), width .22s var(--spring), top .22s var(--spring), color .22s var(--spring), opacity .22s var(--spring);
    opacity: .95;
}

.floating-label {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left top;
    font-size: 14px;
    line-height: 1;
    /* color: var(--muted); */
    pointer-events: none;
    user-select: none;
    z-index: 0;
    transition: transform .22s var(--spring), font-size .22s var(--spring), top .22s var(--spring), color .22s var(--spring), opacity .22s var(--spring);
    /* opacity: .95; */
    content: "";
}

.search-bar:focus-within .search-icon,
.search-bar.has-value .search-icon {}

.search-bar:focus-within .floating-label,
.search-bar.has-value .floating-label {
    top: -6px;
    transform: none;
    font-size: 11px;
    color: #cccccc;
    opacity: 1;
    animation: var(--spring);
    content: "";
    transform: opacity 0;
    letter-spacing: 0.3px;
    left: 48px;
}

@keyframes label-pop {
    0% {
        transform: translateY(-50%) scale(1);
    }

    60% {
        transform: translateY(-52%) scale(.985);
    }

    100% {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .floating-label,
    .search-icon {
        transition: none;
        animation: none
    }

}

/* Hide the native "X" clear button in search inputs (Chrome/Safari/Edge/IE) */
#searchInput::-webkit-search-cancel-button,
#searchInput::-webkit-search-decoration,
#searchInput::-webkit-search-results-button,
#searchInput::-webkit-search-results-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

#searchInput::-ms-clear,
#searchInput::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
}


/* --- Search UX: change label + animate icon on focus --- */
.search-bar .search-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    position: relative;
}

.search-bar .search-icon svg {
    transform-origin: 50% 50%;
    transition: transform .2s ease, opacity .2s ease
}

/* .search-bar.is-searching .search-icon svg{ animation:search-spin 1.05s linear infinite } */
/* .search-bar.is-searching .search-icon path{ fill:#cccccc88 } */

@keyframes search-spin {
    to {
        transform: rotate(360deg)
    }
}

@media (prefers-reduced-motion: reduce) {
    .search-bar.is-searching .search-icon svg {
        animation: none;
        transform: none
    }
}

/* Optional: subtle tint to the floating label while searching */
/* .search-bar.is-searching .floating-label{ color:#cccccc88; } */


.clear-btn {
    border: 0;
    background: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--muted);
    display: none
}

.actions {
    display: flex;
    gap: 8px;
    align-items: center
}

.btn {
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--card);
    cursor: pointer
}

.btn-primary {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff
}



.card {
    /* background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    padding: var(--pad);
    transition: transform .12s ease, box-shadow .12s ease; */

    background: var(--card);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
    border-radius: var(--radius);
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin: 0 0 var(--gap);
    padding: 40px 24px;
    transition: transform .12s ease, box-shadow .12s ease;
}



@media (prefers-reduced-motion: reduce) {
    .card {
        transition: none
    }
}


#cards .card-title {
    color: var(--buttons-secondary);
    font-family: var(--font-family-b);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
}

.card-text {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    color: var(--muted);
    margin: 0
}

#sec-6-regulations .content,
#sec-6-regulations .content>div {
    overflow-wrap: anywhere;
    word-break: break-word;
    font-size: var(--font-size-18);
    line-height: 24px;
}

#sec-6-regulations #cards a.btn span {
    font-size: var(--font-size-18);
    line-height: 24px;
}

.read-link {
    color: var(--brand);
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
    border-radius: 4px
}



.show-toggle {
    cursor: pointer;
    display: none;
    border-radius: 8px;
    border: 1px solid var(--buttons-primary);
    padding: 16px;
    background: transparent;
    color: var(--buttons-primary);
    text-align: center;
    font-family: var(--font-family-regular);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin: 48px auto 0;
}



/* Empty state */
#empty-state {
    display: none;
}

.empty-card .custom-size {
    max-width: 320px;
}

.empty-card .custom-h2 {
    margin-bottom: 0;
    position: relative;
    top: -50px;
}

.empty-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 85px;
    margin-top: 155px;
    margin-bottom: 64px;
}

/* Skeletons */
#skeletons {
    display: none
}

.skeleton-card {
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card);
    padding: var(--pad);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.sk-badge {
    width: 110px;
    height: 25px;
    border-radius: 999px;
    background: var(--sk1);
    margin-bottom: 16px;
    margin-top: 16px;
}

.sk-title {
    width: 80%;
    height: 46px;
    border-radius: 6px;
    background: var(--sk1);
    margin: 8px 0;
}

.sk-line {
    height: 20px;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--sk1), var(--sk2), var(--sk1));
    background-size: 200% 100%;
    animation: sk 1.2s infinite;
    margin: 8px 0;
}

.sk-read {
    display: inline-block;
    position: absolute;
    right: 24px;
    bottom: 24px;
    height: 32px;
    width: 50%;
    border-radius: 999px;
    background: var(--sk1);
    vertical-align: middle;
    margin-top: auto;
}

.w-95 {
    width: 95%
}

.w-100 {
    width: 100%
}

.w-80 {
    width: 80%
}

@keyframes sk {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

@media (prefers-reduced-motion: reduce) {
    .sk-line {
        animation: none;
    }
}

mark {
    background: transparent;
    padding: 0 2px;
    border-radius: 2px;
    font-style: italic;
    color: var(--buttons-secondary);
}

/* High contrast for cards/links */
@media (forced-colors: active) {

    .badge,
    .btn,
    .card,
    .empty-card,
    .skeleton-card {
        border: 1px solid CanvasText;
    }

    .read-link {
        text-decoration: underline;
    }

    mark {
        outline: 2px dotted Highlight;
        background: transparent;
    }
}

/* Progressive CSS clamp */
.card-text[data-lines] {
    display: -webkit-box;
    -webkit-line-clamp: attr(data-lines number);
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 16px 0 24px;
    padding: 12px 20px;
    border-radius: 8px;
    background: #F3F3F7;
}

.no-css-clamp .card-text {
    display: block
}

.grow {
    flex: 1 1 auto;
    min-width: 240px
}

.nowrap {
    white-space: nowrap
}

@media print {
    body {
        background: #fff;
        color: #000
    }

    .controls,
    .show-toggle,
    #skeletons {
        display: none !important
    }

    .card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000
    }
}

.control-wrapper-1 {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 25px;
}

/* Masonry state (columns) */
/* #cards[data-layout="columns"] {
    display: block;
    column-gap: var(--gap);
    column-fill: balance;
    column-width: 392px;
} */
 #cards[data-layout="columns"] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(392px, 1fr));
    grid-auto-flow: row dense;
    gap: var(--gap);
 }

@media (max-width:599.98px) {
    /* #cards[data-layout="columns"]{ column-count:1; column-width:auto; } */
}

@media (min-width:600px) and (max-width:959.98px) {
    /* #cards[data-layout="columns"]{ column-count:2; column-width:auto; } */
}

@media (min-width:960px) and (max-width:1279.98px) {
    /* #cards[data-layout="columns"]{ column-count:3; column-width:auto; } */
}

@media (min-width:1280px) {
    /* #cards[data-layout="columns"]{ column-count:4; column-width:auto; } */
}

#cards[data-layout="columns"] .card {
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin: 0 0 var(--gap);
    padding: 40px 24px;
}

#cards[data-layout="columns"] .card:hover {
    /* transform: translateY(-1px); */
}

/* Flex fallback (1ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â‚¬Å¡Ã‚Â¬Ãƒâ€¦Ã¢â‚¬Å“2 cards sit side-by-side, independent heights) */
#cards[data-layout="flex"] {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap);
    align-items: flex-start;
}

#cards[data-layout="flex"] .card {
    display: block;
    flex: 1 1 392px;
    /* matches your min card width */
    margin: 0;
    max-width: 392px;
}


/* === Keep skeletons as responsive grid so they don't span full width === */
/* Skeletons */
#skeletons {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(392px, 1fr));
    gap: var(--gap);
}

#skeletons .skeleton-card {
    width: auto;
    margin: 0;
}

#skeletons .skeleton-card {
    width: auto;
    margin: 0;
}


#sec-6-regulations .custom-width {
    width: 70%;
    max-width: 700px;
    margin-bottom: 0;
}
/*
#sec-6-regulations {
    background-color: #FFFAE6;
}
*/
#sec-6-regulations .badge {
    padding: 8px 16px;
    border-radius: 80px;
    max-width: fit-content;
    font-size: var(--font-size-14);
    line-height: 20px;
    text-align: center;
    font-family: var(--font-family-regular);
    font-style: normal;
    font-weight: 400;
    margin-bottom: 16px;
    background: #FFF;
}

#sec-6-regulations [data-status="public-open"] .badge {
    background: var(--color-surface-soft-blue-light);
}

#sec-6-regulations [data-status="adopted"] .badge {
    background: var(--color-surface-green-light);

}

#sec-6-regulations [data-status="public-closed"] .badge {
    background: var(--color-surface-pink-light);
}

/*  */

/* Clamp to N lines (defaults to 3) */
.card-text {
    position: relative;
}

.card-text[data-state="collapsed"] .clamp-inner {
    --lines: 3;
    display: -webkit-box;
    -webkit-line-clamp: var(--lines);
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Fade so the link is readable over the last line */
.card-text[data-state="collapsed"] .fade-right {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 35%;
    height: 1.2em;
    /* ~ one line height */
    pointer-events: none;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--card-bg, #fff) 60%);
}

/* Read link sits INSIDE the 3-line box */
.card-text .read-link {
    font: inherit;
    white-space: nowrap;
    text-decoration: underline;
}

.card-text[data-state="collapsed"] .read-link {
    position: absolute;
    right: 8px;
    bottom: 0;
    background: var(--card-bg, #fff);
    padding-left: 6px;
}

/* Expanded: no clamp, no fade, normal flow */
.card-text[data-state="expanded"] .clamp-inner {
    display: block;
    -webkit-line-clamp: initial;
    -webkit-box-orient: initial;
    overflow: visible;
}

.card-text[data-state="expanded"] .read-link {
    position: static;
    background: none;
    padding-left: 0;
}

.card-text[data-state="expanded"] .fade-right {
    display: none;
}

.wrapper-filtering {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.wrapper-filtering>span:first-child {
    margin-right: -14px;
    color: var(--buttons-secondary);
    text-align: center;
    font-family: var(--font-family-regular);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
}

#sec-6-regulations {
    position: relative;
}

#sec-6-regulations .custom-scr-img {
    position: absolute;
    left: 0;
    top: -370px;
    /* max-width: 320px; */
    z-index: 0;
}


/* -------- */
#main-content .mv {
    display: none;
}

#main-content .dv {
    display: unset;
}

@media (max-width: 768px) {
    #main-content .mv {
        display: unset;
    }

    #main-content .dv {
        display: none;
    }

    #sec-4-regulations .custom-cols {
        margin-top: -40px;
    }

    #sec-4-regulations .c-grid {
        grid-template-columns: auto;
        gap: 16px;
        grid-auto-flow: unset;
    }

    #sec-4-regulations .custom-col {
        max-width: 100%;
        border-left: none;
    }

    #sec-5-regulations #sec-2-subsection-4 .steps-container>li:first-of-type {
        margin-top: 3.5rem;
    }

    #sec-5-regulations #sec-2-subsection-4 .steps-container {
        margin-top: -3.5rem;
    }

    #sec-5-regulations #sec-2-subsection-4 .h2.desk-text-center,
    #sec-5-regulations .text-center {
        text-align: left !important;
    }

    #sec-5-regulations #sec-2-subsection-4 .steps-container>li {
        margin-left: 20px;
        align-items: flex-start;
    }

    #sec-5-regulations #sec-2-subsection-4 .steps-container>li::before {
        left: -35px;
        top: 29px;
    }

    #sec-5-regulations #sec-2-subsection-4 .steps-container>li::after {
        display: none;
    }

    #sec-5-regulations #sec-2-subsection-4 .steps-container>li .custom-container {
        flex-direction: column;
        gap: 16px;
    }

    #sec-5-regulations #sec-2-subsection-4 .steps-container>li .custom-container>div:last-child {
        border-left: none;
        padding-left: 0;
    }

    #sec-6-regulations .custom-scr-img {
        display: none;
    }

    #sec-6-regulations .control-wrapper-1 {
        flex-direction: column;
    }

    #sec-6-regulations .custom-width {
        width: 100%;
        max-width: 100%;
        margin-top: 24px;
    }

    #sec-6-regulations .wrapper-filtering {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    #sec-6-regulations .wrapper-filtering>span:first-child {
        margin-bottom: 4px;
    }

    #sec-6-regulations .controls {
        padding: 8px 0 40px;
    }

    #sec-6-regulations .search-bar {
        width: 100%;
    }

    #sec-6-regulations #cards[data-layout="flex"] .card {
        flex: unset;
        background: white;
    }

    #sec-6-regulations #skeletons {
        grid-template-columns: unset;
        display: none;

    }

    #sec-6-regulations #skeletons .skeleton-card {
        background: white;
    }

    #sec-6-regulations .empty-actions {
        flex-direction: column-reverse;
        gap: 0;
        margin-top: 100px;
        margin-bottom: 100px;
    }
}



/* mansory */