/* Shared Swiper presentation for the process cards used across writing pages. */
.proc-cards-section .tac-process-cards-swiper {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 8px 2px 14px;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.proc-cards-section .tac-process-cards-swiper > .swiper-wrapper {
    align-items: stretch;
}

.proc-cards-section .tac-process-cards-swiper > .swiper-wrapper > .swiper-slide {
    display: flex;
    height: auto;
    box-sizing: border-box;
}

.proc-cards-section .tac-process-cards-swiper .proc-card {
    width: 100%;
    min-width: 0;
    height: 100%;
    box-sizing: border-box;
}

.proc-cards-section .tac-process-cards-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    min-height: 42px;
    margin: 20px auto 0;
}

.proc-cards-section .tac-process-cards-prev,
.proc-cards-section .tac-process-cards-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #c9a84c;
    border-radius: 50%;
    background: #111;
    color: #c9a84c;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease;
}

.proc-cards-section .tac-process-cards-prev:hover,
.proc-cards-section .tac-process-cards-next:hover {
    border-color: #c9a84c;
    background: #c9a84c;
    color: #111;
}

.proc-cards-section .tac-process-cards-prev:focus-visible,
.proc-cards-section .tac-process-cards-next:focus-visible,
.proc-cards-section .tac-process-cards-pagination .swiper-pagination-bullet:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 3px;
}

.proc-cards-section .tac-process-cards-prev.swiper-button-disabled,
.proc-cards-section .tac-process-cards-next.swiper-button-disabled {
    opacity: .35;
    cursor: default;
}

.proc-cards-section .tac-process-cards-pagination.swiper-pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto;
    max-width: calc(100% - 116px);
}

.proc-cards-section .tac-process-cards-pagination .swiper-pagination-bullet {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 !important;
    border-radius: 99px;
    background: #c9a84c;
    opacity: .35;
    cursor: pointer;
    transition: width .2s ease, opacity .2s ease, background-color .2s ease;
}

.proc-cards-section .tac-process-cards-pagination .swiper-pagination-bullet-active {
    width: 22px;
    background: #c9a84c;
    opacity: 1;
}

@media (max-width: 639px) {
    .proc-cards-section .tac-process-cards-controls {
        gap: 12px;
        margin-top: 14px;
    }

    .proc-cards-section .tac-process-cards-prev,
    .proc-cards-section .tac-process-cards-next {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .proc-cards-section .tac-process-cards-prev,
    .proc-cards-section .tac-process-cards-next,
    .proc-cards-section .tac-process-cards-pagination .swiper-pagination-bullet {
        transition: none;
    }
}
