/**
 * The DuSunnah Knowledge Library - articles archive.
 *
 * Inherits the approved system wholesale: the wrapper carries .dus-home as well
 * as .dus-archive, so css/home.css supplies every token and this file adds only
 * the library layer. Nothing here restyles the masthead, the footer or the
 * article template.
 *
 * TWO MEASURES, deliberately different, because this is a discovery interface
 * and not a reading column:
 *
 *   --arch   1040px  the functional width. Search, subject row, result bar,
 *                    rules and pagination all span it, so the page reads as one
 *                    composed instrument rather than a narrow column adrift in
 *                    a wide canvas.
 *   --read    760px  the text measure. Titles and standfirsts are capped here,
 *                    so the extra width never turns into 130-character lines.
 *
 * The outer wrap stays on the site's 1280px grid so the archive's left edge
 * lines up with the masthead brand and the footer columns.
 *
 * NO ORNAMENTS. The ornament system belongs to the reading experience; this
 * page runs on typography, whitespace and rules.
 */

/* The library draws its own measures; the theme wrapper must not add any. */
body.page-template-tpl-articles #main-content,
body.post-type-archive-article #main-content,
body.tax-article-category #main-content {
	margin: 0;
	padding: 0;
	max-width: none;
}

/*
 * The trailing space is the ONLY thing between the last result and the footer:
 * there is no min-height here, on #main-content or on the body, so the footer
 * already follows the content naturally at every result count. This value is
 * therefore the whole of that breathing room, and it is identical whether the
 * list holds one result or a hundred.
 */
.dus-archive {
	--arch: 1040px;
	--read: 760px;
	padding: 0 0 80px;
}

.dus-arch__wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gut);
}

.dus-arch__col {
	max-width: var(--arch);
}

/* ============================================================ INTRO */

.dus-arch__intro {
	padding: 44px 0 0;
}

.dus-arch__kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .15em;
	text-transform: uppercase;
	color: var(--acc);
}

.dus-arch__title {
	margin: 10px 0 0;
	font-size: 40px;
	line-height: 1.08;
	letter-spacing: -.025em;
	font-weight: 800;
}

.dus-arch__desc {
	margin: 12px 0 0;
	max-width: 58ch;
	font-size: 16px;
	line-height: 1.6;
	color: var(--body);
}

/* ============================================================ SEARCH */

/*
 * The primary instrument. It spans the whole functional width so that it reads
 * as the thing that operates the list below it, rather than as one more field.
 */
.dus-arch__search {
	margin: 30px 0 0;
}

.dus-arch__field {
	display: flex;
	align-items: center;
	gap: 14px;
	height: 60px;
	padding: 0 7px 0 20px;
	background: #fff;
	border: 1px solid #cfc7bf;
	border-radius: 4px;
	color: var(--muted);
	transition: border-color .15s, box-shadow .15s;
}

.dus-arch__field:focus-within {
	border-color: var(--acc);
	box-shadow: 0 0 0 3px rgba(168, 80, 26, .10);
}

.dus-arch__field input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	font: inherit;
	font-size: 17px;          /* >=16px: never zoom the page on iOS focus */
	color: var(--ink);
	-webkit-appearance: none;
	appearance: none;
}

.dus-arch__field input::placeholder {
	color: #8e8e8e;
	opacity: 1;
}

.dus-arch__go {
	flex: 0 0 auto;
	height: 46px;
	padding: 0 22px;
	border: 0;
	border-radius: 3px;
	background: var(--acc);
	color: #fff;
	font: inherit;
	font-size: 14.5px;
	font-weight: 600;
	cursor: pointer;
}

.dus-arch__go:hover {
	background: var(--acc-d);
}

/*
 * Kept verbatim because it is true: core search reads title, content and
 * excerpt. Author and subject are filters, and this line stops the field from
 * implying otherwise.
 */
.dus-arch__scope {
	margin: 9px 0 0;
	font-size: 12.5px;
	color: var(--muted);
}

/* ============================================================ SUBJECTS */

/*
 * ONE mechanism at every width: a single non-wrapping scrollable row. Four
 * subjects today; thirty would behave identically, without the text shrinking
 * and without ever stacking into rows of pills.
 */
.dus-arch__subjects {
	display: flex;
	gap: 8px;
	margin: 28px 0 0;
	padding-bottom: 4px;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	overscroll-behavior-x: contain;
	scroll-snap-type: x proximity;

	/*
	 * Scroll affordance. With four subjects the row ends well short of this and
	 * the mask falls on empty space, so nothing shows. With thirty, the chip at
	 * the edge softens instead of being sliced clean - which is what says the
	 * row continues rather than that the layout has broken.
	 */
	-webkit-mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent);
	mask-image: linear-gradient(to right, #000 calc(100% - 30px), transparent);
}

.dus-arch__subjects::-webkit-scrollbar {
	display: none;
}

.dus-arch__subject {
	flex: 0 0 auto;
	scroll-snap-align: start;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 14px;
	border: 1px solid var(--line);
	border-radius: 3px;
	background: #fff;
	color: var(--ink);
	font-size: 14px;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transition: border-color .15s, color .15s;
}

.dus-arch__subject:hover {
	border-color: var(--acc);
	color: var(--acc);
}

.dus-arch__subject.is-active {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.dus-arch__n {
	font-size: 11.5px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

.dus-arch__subject.is-active .dus-arch__n {
	color: rgba(255, 255, 255, .72);
}

/* ============================================================ BAR */

/*
 * Count on the left, Filters on the right, closed by the rule that opens the
 * list. Attaching the control to that rule is what stops it reading as a stray
 * word floating above the results.
 */
.dus-arch__bar {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin: 30px 0 0;
	padding-bottom: 9px;
	border-bottom: 1px solid var(--ink);
}

.dus-arch__count {
	font-size: 13px;
	color: var(--muted);
	font-variant-numeric: tabular-nums;
}

.dus-arch__filters {
	position: relative;
}

.dus-arch__filters > summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 5px 11px;
	border: 1px solid var(--line);
	border-radius: 3px;
	background: #fff;
	font-size: 13px;
	font-weight: 600;
	color: var(--ink);
	cursor: pointer;
	list-style: none;
	transition: border-color .15s;
}

.dus-arch__filters > summary::-webkit-details-marker {
	display: none;
}

.dus-arch__filters > summary:hover,
.dus-arch__filters[open] > summary {
	border-color: var(--ink);
}

.dus-arch__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--acc);
}

/*
 * Anchored to the Filters button: the wrapper is only as wide as that control,
 * so right:0 pins the panel's right edge flush to the button's, and a 5px drop
 * keeps the two reading as one object rather than a card floating nearby.
 */
.dus-arch__filterform {
	position: absolute;
	right: 0;
	z-index: 5;
	width: 272px;
	margin-top: 5px;
	padding: 16px;
	background: #fff;
	border: 1px solid #cfc7bf;
	border-radius: 4px;
	box-shadow: 0 6px 22px rgba(0, 0, 0, .07);
}

.dus-arch__ff {
	margin: 0 0 14px;
}

.dus-arch__ff label {
	display: block;
	margin-bottom: 6px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--muted);
}

.dus-arch__ff select {
	width: 100%;
	height: 40px;
	padding: 0 10px;
	border: 1px solid var(--line);
	border-radius: 3px;
	background: #fff;
	font: inherit;
	font-size: 14px;
	color: var(--ink);
}

.dus-arch__ffact {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
}

.dus-arch__apply {
	height: 38px;
	padding: 0 16px;
	border: 0;
	border-radius: 3px;
	background: var(--ink);
	color: #fff;
	font: inherit;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
}

.dus-arch__reset {
	font-size: 13.5px;
	color: var(--acc);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

/* ============================================================ ACTIVE FACETS */

/*
 * What is narrowing this list, and how to undo it - each facet separately,
 * which one "clear everything" link cannot express once two are running.
 */
.dus-arch__active {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 10px;
	margin: 14px 0 0;
}

.dus-arch__active-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--muted);
}

.dus-arch__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 11px;
	border: 1px solid var(--acc);
	border-radius: 3px;
	background: #faf1ea;
	color: var(--acc-d);
	font-size: 13px;
	line-height: 1;
	text-decoration: none;
}

.dus-arch__chip:hover {
	background: var(--acc);
	color: #fff;
}

.dus-arch__x {
	font-size: 15px;
	line-height: 1;
	opacity: .75;
}

/* ============================================================ RESULTS */

.dus-arch__list {
	margin-top: 4px;
}

.dus-arch__item {
	display: flex;
	align-items: flex-start;
	gap: 32px;
	padding: 19px 0;
	border-bottom: 1px solid var(--line);
}

.dus-arch__list .dus-arch__item:last-child {
	border-bottom: 0;
}

.dus-arch__body {
	flex: 1 1 auto;
	min-width: 0;
	max-width: var(--read);   /* the width is for architecture, not longer lines */
}

/* The repeated four-part hierarchy: subject, title, standfirst, byline. */
.dus-arch__cat {
	margin: 0;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
	color: var(--acc);
}

.dus-arch__ttl {
	margin: 7px 0 0;
	font-size: 19px;
	line-height: 1.34;
	letter-spacing: -.012em;
	font-weight: 700;
}

.dus-arch__ttl a {
	color: inherit;
	text-decoration: none;
}

.dus-arch__ttl a:hover {
	color: var(--acc);
}

/*
 * Clamped rather than cut in PHP: the whole standfirst stays in the markup for
 * search engines and screen readers, and the line count follows the width
 * instead of every entry being chopped at a fixed character count.
 */
.dus-arch__stand {
	margin: 7px 0 0;
	font-size: 14.5px;
	line-height: 1.55;
	color: var(--body);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dus-arch__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 9px;
	margin: 9px 0 0;
	font-size: 12.5px;
	color: var(--muted);
}

.dus-arch__by {
	color: var(--ink);
	font-weight: 600;
}

.dus-arch__sep {
	color: #c4bcb4;
}

/* Secondary by construction: last in the markup, small, never required. */
.dus-arch__thumb {
	flex: 0 0 116px;
	width: 116px;
	aspect-ratio: 4 / 3;
	max-width: 100%;
	overflow: hidden;
	border-radius: 3px;
	background: var(--img);
}

.dus-arch__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ============================================================ LEAD */

/*
 * Distinction by scale and air alone - no panel, no border, no card, and no
 * image required. The rule beneath it is the heavier of the two weights, so the
 * lead closes decisively and the index below it reads as a separate movement.
 * That rule replaces the ornament that used to sit here.
 */
.dus-arch__item--lead {
	display: block;
	padding: 28px 0 30px;
	border-bottom: 1px solid #cfc7bf;
}

.dus-arch__item--lead .dus-arch__body {
	max-width: 880px;
}

.dus-arch__item--lead .dus-arch__cat {
	font-size: 12px;
	letter-spacing: .15em;
}

.dus-arch__item--lead .dus-arch__ttl {
	margin-top: 11px;
	font-size: 32px;
	line-height: 1.16;
	letter-spacing: -.024em;
	font-weight: 800;
}

.dus-arch__item--lead .dus-arch__stand {
	margin-top: 11px;
	font-size: 16.5px;
	line-height: 1.6;
	-webkit-line-clamp: 3;
	max-width: var(--read);
}

.dus-arch__item--lead .dus-arch__meta {
	margin-top: 14px;
	font-size: 13px;
}

.dus-arch__item--lead .dus-arch__by {
	font-size: 13.5px;
}

/* The first ordinary row after the lead needs a little air of its own. */
.dus-arch__list--lead .dus-arch__item:nth-child(2) {
	padding-top: 24px;
}

/* ============================================================ EMPTY */

/*
 * Bottom padding is nearly nothing: the archive's own trailing space already
 * sits below this, and stacking the two was what made the zero-result state
 * read as a void (40px here + 96px there put the last line 136px off the
 * footer). The state stays composed; it just stops paying twice.
 */
.dus-arch__empty {
	padding: 44px 0 4px;
	max-width: 52ch;
}

.dus-arch__empty-lead {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: -.015em;
}

.dus-arch__empty-hint {
	margin: 10px 0 0;
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--body);
}

.dus-arch__empty-act {
	margin: 18px 0 0;
}

/* ============================================================ PAGER */

.dus-arch__pager {
	margin: 34px 0 0;
}

.dus-arch__pager ul {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dus-arch__pager a,
.dus-arch__pager span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 3px;
	font-size: 14px;
	color: var(--ink);
	text-decoration: none;
	font-variant-numeric: tabular-nums;
}

.dus-arch__pager a:hover {
	border-color: var(--acc);
	color: var(--acc);
}

.dus-arch__pager .current {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.dus-arch__pager .dots {
	border-color: transparent;
}

/*
 * No override at 1280. The cap is a genuine maximum, not a 1440-only rule:
 * releasing it below the grid width made the column NON-MONOTONIC - 1040px at
 * 1440 but 1169px at 1280, so it grew as the viewport shrank. Inside a padded
 * wrap the column already takes whatever is available once that is less than
 * the cap (1021px at 1100, 689px at 768, 335px at 390), so the cap alone is
 * the correct and only rule.
 */

/* ============================================================ 1100 */

@media (max-width: 1100px) {

	.dus-arch__wrap {
		padding: 0 32px;
	}

	.dus-arch__title {
		font-size: 36px;
	}

	.dus-arch__item--lead .dus-arch__ttl {
		font-size: 29px;
	}
}

/* ============================================================ 767 */

/*
 * 390 is a primary width, not a squeezed desktop. Search stays dominant, the
 * subject row keeps its single-row scroller, the filter control stays on the
 * bar, and each result keeps the same four-part hierarchy at a smaller scale.
 */
@media (max-width: 767px) {

	.dus-archive {
		--read: 100%;
		padding-bottom: 56px;
	}

	.dus-arch__wrap {
		padding: 0 20px;
	}

	.dus-arch__intro {
		padding-top: 30px;
	}

	.dus-arch__title {
		font-size: 30px;
		letter-spacing: -.02em;
	}

	.dus-arch__desc {
		font-size: 15px;
	}

	.dus-arch__search {
		margin-top: 22px;
	}

	.dus-arch__field {
		height: 54px;
		padding-left: 15px;
		gap: 11px;
	}

	.dus-arch__field input[type="search"] {
		font-size: 16px;
	}

	.dus-arch__go {
		height: 42px;
		padding: 0 15px;
		font-size: 13.5px;
	}

	.dus-arch__subjects {
		margin-top: 20px;
	}

	.dus-arch__bar {
		margin-top: 22px;
	}

	/* Anchored to the viewport, never off it. */
	.dus-arch__filterform {
		width: min(280px, calc(100vw - 40px));
	}

	.dus-arch__item {
		gap: 16px;
		padding: 16px 0;
	}

	.dus-arch__ttl {
		font-size: 17.5px;
	}

	.dus-arch__stand {
		font-size: 14px;
	}

	.dus-arch__meta {
		gap: 3px 8px;
		font-size: 12px;
	}

	.dus-arch__thumb {
		flex-basis: 84px;
		width: 84px;
	}

	.dus-arch__item--lead {
		padding: 20px 0 24px;
	}

	.dus-arch__item--lead .dus-arch__ttl {
		font-size: 23px;
		line-height: 1.22;
	}

	.dus-arch__item--lead .dus-arch__stand {
		font-size: 15px;
	}

	.dus-arch__item--lead .dus-arch__meta {
		margin-top: 11px;
		font-size: 12.5px;
	}

	.dus-arch__empty {
		padding: 32px 0 4px;
	}

	.dus-arch__empty-lead {
		font-size: 18px;
	}
}

/* ============================================================
   DESKTOP SUBJECT SCROLL CONTROLS
   ============================================================ */

.dus-arch__subjects-wrap {
        position: relative;
        display: flex;
        align-items: center;
        gap: 8px;
        margin: 28px 0 0;
}

.dus-arch__subjects-wrap .dus-arch__subjects {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0;
}

.dus-arch__subjects-arrow {
        display: none;
        flex: 0 0 34px;
        width: 34px;
        height: 34px;
        padding: 0;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--acc);
        border-radius: 3px;
        background: #fff;
        color: var(--acc);
        font: inherit;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
        transition:
                background-color .15s,
                color .15s,
                opacity .15s;
}

.dus-arch__subjects-arrow:hover:not(:disabled) {
        background: var(--acc);
        color: #fff;
}

.dus-arch__subjects-arrow:disabled {
        opacity: .22;
        cursor: default;
}

@media (min-width: 769px) {
        .dus-arch__subjects-wrap.is-scrollable .dus-arch__subjects-arrow {
                display: inline-flex;
        }
}

@media (max-width: 768px) {
        .dus-arch__subjects-wrap {
                display: block;
                margin-top: 20px;
        }

        .dus-arch__subjects-arrow {
                display: none !important;
        }

        .dus-arch__subjects-wrap .dus-arch__subjects {
                margin: 0;
        }
}

/* ARTICLE CATEGORY ARROWS — CLEAN TEXT-ALIGNED STYLE */
@media (min-width: 769px) {
    .dus-arch__subjects-arrow {
        flex: 0 0 28px;
        width: 28px;
        height: 54px;
        padding: 0;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    .dus-arch__subjects-arrow span {
        display: block;
        width: auto;
        height: auto;
        line-height: 1;
        transform: translateY(-1px);
    }

    .dus-arch__subjects-arrow:hover:not(:disabled) {
        background: transparent !important;
        opacity: .72;
    }
}

/* ARTICLE CATEGORY STRIP — FADE ENDS */
@media (min-width: 769px) {
    .dus-arch__subjects-wrap::before,
    .dus-arch__subjects-wrap::after {
        width: 48px !important;
    }

    .dus-arch__subjects-wrap::before {
        left: 28px !important;
        background: linear-gradient(to right,#fff 0%,rgba(255,255,255,.92) 22%,rgba(255,255,255,.55) 55%,rgba(255,255,255,0) 100%) !important;
    }

    .dus-arch__subjects-wrap::after {
        right: 28px !important;
        background: linear-gradient(to left,#fff 0%,rgba(255,255,255,.92) 22%,rgba(255,255,255,.55) 55%,rgba(255,255,255,0) 100%) !important;
    }
}

/* ============================================================
   ARTICLE LIBRARY CATEGORIES — MATCH HOMEPAGE PILLS
   ============================================================ */

.dus-arch__subjects-wrap .dus-arch__subject {
    display: inline-flex !important;
    flex: 0 0 auto;
    align-items: center !important;
    gap: 10px !important;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--chip) !important;
    color: var(--body) !important;
    box-shadow: none !important;
    box-sizing: border-box;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.dus-arch__subjects-wrap .dus-arch__subject:hover {
    background: var(--chip) !important;
    color: var(--ink) !important;
}

.dus-arch__subjects-wrap .dus-arch__subject.is-active {
    background: var(--acc) !important;
    color: #fff !important;
    font-weight: 600 !important;
}

.dus-arch__subjects-wrap .dus-arch__subject.is-active:hover {
    color: #fff !important;
}

.dus-arch__subjects-wrap .dus-arch__n {
    margin-left: 0 !important;
    font-size: .82em !important;
    opacity: .62;
}

.dus-arch__subjects-wrap .dus-arch__subject.is-active .dus-arch__n {
    opacity: .78;
}

.dus-arch__subjects-wrap .dus-cat-childmark {
    display: none !important;
}

@media (max-width: 768px) {
    .dus-arch__subjects-wrap .dus-arch__subject {
        height: 46px !important;
        min-height: 46px !important;
        padding: 0 16px !important;
        font-size: 14px !important;
        line-height: 1 !important;
    }
}


/* ============================================================
   ARTICLE CATEGORY ARROWS — MOBILE DESKTOP-MATCH
   Keep arrows in the same horizontal row as the category pills.
   This intentionally overrides the earlier mobile display:none.
   ============================================================ */
@media (max-width: 768px) {

    .dus-arch__subjects-wrap {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }

    .dus-arch__subjects-wrap .dus-arch__subjects {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    .dus-arch__subjects-arrow {
        display: none !important;
        position: relative;
        z-index: 4;
        flex: 0 0 24px;
        width: 24px;
        height: 46px;
        padding: 0;
        margin: 0;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: var(--acc);
        align-items: center;
        justify-content: center;
        font: inherit;
        font-size: 27px;
        line-height: 1;
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
    }

    .dus-arch__subjects-wrap.is-scrollable .dus-arch__subjects-arrow {
        display: inline-flex !important;
    }

    .dus-arch__subjects-wrap.is-scrollable .dus-arch__subjects-prev {
        order: -1;
    }

    .dus-arch__subjects-arrow span {
        display: block;
        width: auto;
        height: auto;
        line-height: 1;
        transform: translateY(-1px);
    }

    .dus-arch__subjects-arrow:disabled {
        opacity: .22;
        cursor: default;
    }

    .dus-arch__subjects-arrow:focus,
    .dus-arch__subjects-arrow:focus-visible {
        outline: none;
        box-shadow: none !important;
    }
}


/* ============================================================
   ARTICLE PAGINATION — COMPACT MOBILE
   Pagination output is deliberately abbreviated in PHP. Keep
   controls readable rather than shrinking a full page sequence.
   ============================================================ */
@media (max-width: 768px) {
    .dus-arch__pager ul {
        display: flex;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 5px !important;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .dus-arch__pager li {
        flex: 0 0 auto !important;
        min-width: 0;
    }

    .dus-arch__pager a,
    .dus-arch__pager span {
        width: auto !important;
        min-width: 38px !important;
        height: 42px !important;
        padding: 0 10px !important;
        box-sizing: border-box;
        font-size: 14px !important;
        white-space: nowrap;
    }

    .dus-arch__pager .prev,
    .dus-arch__pager .next {
        min-width: 0 !important;
        padding: 0 11px !important;
        font-size: 13px !important;
    }

    .dus-arch__pager .dots {
        min-width: 22px !important;
        padding: 0 2px !important;
        border-color: transparent !important;
    }
}
