  .activities_type4 {
  position: relative;
  /* background: rgba(205, 205, 205, 0.2); */
  padding-bottom: 100px;
  padding-top: 100px;
  overflow: visible;
}

.activities_type4 .someSelector {
  padding: 0px 15px;
}
.activities_type4 .activities_box {
  margin-bottom: 2rem;
}
/* .activities_type4 .activities_box .a_box_a {
  position: relative;
} */
/* .activities_type4 .activities_box .a_box_a::after {
  content: "";
  border-right: 2px dotted #dedede;
  position: absolute;
  right: 10px;
  top: 0;
  width: 1px;
  height: 100%;
} */

.activities_type4 .activities_box li {
  padding: 4px 0;
}
.activities_type4 .activities_box li::before {
  content: "";
  width: 16px;
  height: 3px;
  display: inline-block;
  background-color: var(--color-primary);
  position: relative;
  top: -4px;
  margin-right: 8px;
}

.activities_type4 h2 {
  font-style: normal;
  font-weight: 700;
  font-size: 3.125rem;
  line-height: 60px;
  text-transform: uppercase;
  color: #1f1f1f;
  margin-bottom: 67px;
}
.activities_type4 h3 {
  font-style: normal;
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 24px;
  margin-top: 24px;
  color: #1f1f1f;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 56px;
}
.activities_type4 h3 a {
  color: #1f1f1f;
}
.activities_type4 h3 a:hover {
  color: var(--color-primary);
}
.activities_type4 p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #878787;
  font-size: 1rem;
  line-height: 26px;
  margin-bottom: 0;
}

.activities_type4 .decorative_thread {
  width: 48px;
  height: 4px;
  margin: 22px 0px 36px;
  background: var(--color-primary);
}
.activities_type4 .near_card {
  padding: 10px 0;
}
.activities_type4 .near_card_date {
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 28px;
  color: var(--color-primary);
  padding-top: 15px;
  padding-bottom: 20px;
}
.activities_type4 .add_button {
  display: flex;
  justify-content: space-between;
  width: 80%;
  margin: 0 auto;
  height: 60px;
  background: var(--color-secondary);
  border: 1px solid var(--color-secondary);
  color: #000;
  padding: 17px;
  font-weight: 400;
  font-size: 1rem;
  line-height: 24px;
}
.activities_type4 .add_button span {
  width: 90%;
  text-align: center;
}
.activities_type4 .add_button:hover {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: #fff;
}
.activities_type4 .read_more_box {
  text-align: right;
}
.activities_type4 .read_more {
  font-style: normal;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 24px;
  text-transform: uppercase;
  color: #1f1f1f;
  display: inline-flex;
  padding-right: 20px;
}
.activities_type4 .decorate_icon {
  position: relative;
  width: 44px;
  height: 10px;
  text-align: right;
  display: block;
  top: 3px;
  left: 15px;
}
.activities_type4 .decorate_icon::after {
  width: 44px;
  height: 2px;
  background: #1f1f1f;
  content: "";
  display: block;
  position: absolute;
  bottom: 0px;
  right: 2px;
}
.activities_type4 .decorate_icon::before {
  width: 8px;
  height: 2px;
  background: #1f1f1f;
  content: "";
  display: block;
  position: absolute;
  bottom: 3px;
  right: 2px;
  transform: rotate(38deg);
}
.activities_type4 .read_more_box a:hover {
  color: var(--color-primary);
  text-decoration: none;
}
.activities_type4 .read_more_box a:hover .decorate_icon::before,
.activities_type4 .read_more_box a:hover .decorate_icon::after {
  background: var(--color-primary);
}
.activities_type4 .decorate_line3 {
  position: absolute;
  z-index: 888;
  width: 6px;
  height: 297px;
  left: 34px;
  top: -240px;
}
@media (max-width: 1650px) {
  .decorate_line3 {
    left: 20px;
  }
}
@media (max-width: 1300px) {
  .decorate_line3 {
    left: 10px;
  }
}

@media (max-width: 1200px) {
    .activities_type4 h3 {
        margin:0;
    }
    .activities_type4 .add_button {
        width:100%;
    }
}

@media (max-width: 990px) {
    .activities_type4 .add_button {
        height: inherit;
        display: flex;
        flex-direction: column;
        padding: 5px;
    }
}

@media (max-width: 768px) {
  .activities_type4 .decorate_line3 {
    display: none;
  }
  .activities_type4 .near_card {
    margin-bottom: 80px;
  }
    .activities_type4 h3 {
        margin-top:10px;
    }

    .activities_type4 .add_button {
        height: inherit;
        display: block;
        padding: 10px;
    }
}
@media (max-width: 480px) {
  .activities_type4 {
    padding-bottom: 0;
  }
  .activities_type4 h2 {
    margin-bottom: 10px;
    font-size: 2.5rem;
  }
}
