.memory-section .row,.row .rev {
    margin-bottom: 6rem
}

.memory-section .memory-image img {
    width: 110%;
    display: block;
    height: 650px;
    object-fit: cover;
    box-shadow: 0 0 4px #060606;
    max-width: 107%;
    position: absolute
}

.memory-section .img {
    width: 58.33333333%;
    position: relative
}

.memory-section .content {
    width: 41.66666667%;
    position: relative;
    display: flex;
    align-items: center
}

.memory-section .memory-item {
    position: relative;
    box-shadow: 0 0 30px rgb(32 32 32 / 15%);
    right: 0;
    top: 0;
    background: #fff;
    min-height: 435px;
    z-index: 1;
    padding: 30px 40px;
    height: auto
}

  .memory-item::before {
    position: absolute;
    content: "";
    height: 10px;
    width: 38px;
    background-color: var(--secondary-color);
    top: -20px;
    right: -20px;
    left: 95%!important;
}

.memory-item::after {
    position: absolute;
    content: "";
    height: 10px;
    width: 38px;
    background-color: var(--secondary-color);
    top: -6px;
    left: 100%!important;
    transform: rotate(90deg);
}
.rev .memory-item::before {
    position: absolute;
    content: "";
    height: 10px;
    width: 38px;
    background-color: var(--secondary-color);
    top: -20px;
    left: -20px !important;
    right: auto;
}
.rev .memory-item::after {
    position: absolute;
    content: "";
    height: 10px;
    width: 38px;
    background-color: var(--secondary-color);
    top: -5px;
    left: -34px !important;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
.memory-section h2 {
    font-size: var(--f32);
    margin-bottom: var(--m10)
}

.memory-section h2 a {
    font-family: var(--secondary-font)
}

.memory-section .dot {
    position: absolute;
    right: -2rem;
    bottom: -3.6rem;
    left: auto;
    text-align: end;
    width: fit-content;
    display: none;
}

.memory-section .rev .memory-image img {
    right: 0
}

.memory-section .row:nth-child(even) .dot {
    left: -2rem
}

.memory-image {
    height: 650px;
    position: relative
}

.memory-section .row.align-items-center {
    margin: 0
}

ul.pagination .page-link {
    color: var(--secondary-color)
}

ul.pagination .active>.page-link,ul.pagination .page-link.active {
    color: var(--white-color);
    background-color: var(--secondary-color);
    border-color: var(--secondary-color)
}
