/* ================= section02 ================= */
.blog_section02 {
  position: relative;
  padding: 18rem 0 12rem;
  background: url('../img/blog_banner.jpg') no-repeat center/cover;
}
.blog_section02:after{
  content: "";
  background: rgba(0, 0, 0, 0.3);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.blog_section02 .content{
  z-index: 9;
}
.blog_section02 h1 {
  font-size: 6.4rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  max-width: 48rem;
  margin-bottom: 3rem;
}

.blog_section02 .desc {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.6;
  color: #fff;
  opacity: 0.85;
  max-width: 45rem;
  margin-bottom: 3.5rem;
}

.blog_section02 .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21.2rem;
  height: 6.2rem;
  background: var(--primary);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 600;
  border-radius: 3.1rem;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.blog_section02 .btn:hover {
  opacity: 0.9;
}

/* ================= section03 ================= */
.blog_section03 {
  padding: 14.5rem 0 10rem;
}

.blog_section03 .card {
  background: #ffffff;
  border-radius: 2.35rem;
  box-shadow: 0 0 5rem rgba(198, 198, 198, 0.45);
  overflow: hidden;
  cursor: pointer;
}
.blog_section03 .card:hover img{
  transform: scale(1.05);
}
.blog_section03 .img_wrap {
  width: 49.5%;
  flex-shrink: 0;
  position: relative;
  min-height: 51rem;
  border-radius: 2.3rem;
  overflow: hidden;
}
.blog_section03 .img_wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog_section03 .text_wrap {
  padding: 8rem 6rem 7.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.blog_section03 .head {
  margin-bottom: 5.5rem;
}
.blog_section03 .meta {
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
}
.blog_section03 .meta .category {
  color: var(--primary);
  font-weight: 600;
}
.blog_section03 .meta .date {
  color: #3f3f3f;
  margin-left: 0.8rem;
}
.blog_section03 .syedittext h2 {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--title);
  line-height: 1.375;
  margin-bottom: 2.5rem;
}
.blog_section03 .syedittext p.desc {
  font-size: 1.8rem;
  color: #60686d;
  line-height: 3.2rem;
  padding-right: 2rem;
  margin: 0;
}
.blog_section03 .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18.3rem;
  height: 6.2rem;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 500;
  border-radius: 3.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.blog_section03 .btn:hover {
  background: var(--secondary);
}

/* ================= section04 ================= */
.blog_section04 {
    padding: 10rem 0;
    position: relative;
    background: #fff;
}

.blog_section04 .head {
    margin-bottom: 4rem;
}
.blog_section04 .head h2 {
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--title);
    margin: 0;
    max-width: 60rem;
}
.blog_section04 .tabs {
    gap: 1.5rem;
}
.blog_section04 .tab_item {
    font-size: 1.6rem;
    font-weight: 600;
    color: #0f0f0f;
    padding: 1rem 2.8rem;
    border: 1px solid #c4c4c4;
    border-radius: 2.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}
.blog_section04 .tab_item.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.blog_section04 .list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4.2rem;
    row-gap: 6rem;
}
.blog_section04 .item {
    display: block;
    position: relative;
}
.blog_section04 .item .img_box {
    position: relative;
    width: 100%;
    height: 29.2rem;
    height: 35rem;
    border-radius: 2.3rem;
    overflow: hidden;
    background: #f7f8f9;
}
.blog_section04 .item .img_box .img_cv {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.blog_section04 .item:hover .img_box .img_cv,
.blog_section04 .item.active .img_box .img_cv {
    transform: scale(1.05);
}

.blog_section04 .item .text_box {
    position: relative;
    z-index: 2;
    margin-top: -6rem;
    margin-right: 4.2rem;
    background: #f7f8f9;
    border-radius: 2.3rem;
    padding: 3.6rem 3rem 2.4rem;
    min-height: 19rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: background-color 0.45s cubic-bezier(.4,0,.2,1);
}
.blog_section04 .item .title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--title);
    margin: 0;
    line-height: 1.4;
    transition: color 0.4s cubic-bezier(.4,0,.2,1);
    max-width: 50rem;

    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}
.blog_section04 .item .desc {
    position: absolute;
    left: 3rem;
    right: 3rem;
    bottom: 2.4rem;
    font-size: 1.7rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
    margin: 0;
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.4s cubic-bezier(.4,0,.2,1);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
}
.blog_section04 .item .meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding-top: 2.5rem;
    opacity: 1;
    transition: opacity 0.3s ease;
}
.blog_section04 .item .meta .cat {
    color: var(--primary);
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.35s ease;
}
.blog_section04 .item .meta .date {
    color: #3f3f3f;
    font-size: 1.6rem;
    font-weight: 500;
}

.blog_section04 .item:hover .text_box,
.blog_section04 .item.active .text_box {
    background: var(--primary);
}
.blog_section04 .item:hover .title,
.blog_section04 .item.active .title {
    color: #fff;
}
.blog_section04 .item:hover .desc,
.blog_section04 .item.active .desc {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.blog_section04 .item:hover .meta,
.blog_section04 .item.active .meta {
    opacity: 0;
    pointer-events: none;
}

.blog_section04 .bottom_action {
    display: flex;
    justify-content: center;
    margin-top: 7rem;
}
.blog_section04 .btn_more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17.3rem;
    height: 6.2rem;
    border-radius: 3.1rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.blog_section04 .btn_more:hover {
    background: var(--primary);
    color: #fff;
}
.blog_section04 .btn_more .btn_text {
    display: inline-block;
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(.4,0,.2,1);
}
.blog_section04 .btn_more .btn_loader {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2rem;
    height: 2rem;
    margin-left: -1rem;
    margin-top: -1rem;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
}
.blog_section04 .btn_more.loading {
    pointer-events: none;
    opacity: 0.85;
}
.blog_section04 .btn_more.loading .btn_text {
    opacity: 0;
    transform: translateY(-4px);
}
.blog_section04 .btn_more.loading .btn_loader {
    opacity: 1;
    transform: scale(1);
    animation: btn_more_spin 0.8s linear infinite;
}
@keyframes btn_more_spin {
    to { transform: scale(1) rotate(360deg); }
}

/* ================= iPad Pro (max-width: 1220px) ================= */
@merdia screen and (min-width: 769px) and (max-width: 1220px) {

  /* section02 */
  .blog_section02 {
    padding: 12rem 0;
  }
  .blog_section02 h1 {
    font-size: 5.4rem;
    max-width: 40rem;
    margin-bottom: 4.5rem;
  }
  .blog_section02 .desc {
    font-size: 1.8rem;
    max-width: 38rem;
    margin-bottom: 4rem;
  }

  /* section03 */
  .blog_section03 .text_wrap {
    padding: 6rem 4rem;
  }

  /* section04 */
  .blog_section04 .item .text_box {
    padding: 3rem 2rem;
    margin-right: 2rem;
  }
}

/* ================= iPad (max-width: 1024px) ================= */
@media screen and (min-width: 769px) and (max-width: 1024px) {

  /* section02 */
  .blog_section02 h1 {
    font-size: 4.8rem;
    max-width: 36rem;
  }

  /* section03 */
  .blog_section03 .img_wrap {
    width: 45%;
    min-height: 45rem;
  }
  .blog_section03 .syedittext h2 {
    font-size: 2.8rem;
  }
  .blog_section03 .head {
    margin-bottom: 4rem;
  }

  /* section04 */
  .blog_section04 .list {
    grid-template-columns: repeat(2,1fr);
    row-gap: 5rem;
  }
  .blog_section04 .item .img_box {
    height: 35rem;
  }
  .blog_section04 .item .text_box {
    margin-right: 3rem;
  }
}

/* ================= iPad Mini (max-width: 896px) ================= */
@media screen and (min-width: 769px) and (max-width: 896px) {

  /* section02 */
  .blog_section02 h1 {
    font-size: 4.2rem;
    max-width: 32rem;
    margin-bottom: 3.5rem;
  }

  /* section03 */
  .blog_section03 .syedittext h2 {
    font-size: 2.6rem;
    margin-bottom: 2.5rem;
  }
  .blog_section03 .syedittext p.desc {
    font-size: 1.6rem;
  }

  /* section04 */
  .blog_section04 {
    padding: 8rem 0;
  }
  .blog_section04 .head {
    flex-direction: column;
    align-items: flex-start;
    gap: 3rem;
  }
}

/* ================= Mobile (max-width: 768px) ================= */
@media screen and (max-width: 768px) {

  /* section02 */
  .blog_section02 {
    padding: 120px 0 60px;
  }
  .blog_section02 h1 {
    font-size: 25px;
    line-height: 1.3;
    max-width: 100%;
    margin-bottom: 15px;
  }
  .blog_section02 .desc {
    font-size: 14px;
    line-height: 1.6;
    max-width: 100%;
    margin-bottom: 20px;
  }
  .blog_section02 .btn {
    width: auto;
    min-width: unset;
    height: 44px;
    padding: 0 24px;
    font-size: 14px;
  }

  /* section03 */
  .blog_section03 {
    padding: 40px 0;
  }
  .blog_section03 .card {
    flex-direction: column;
    border-radius: 16px;
  }
  .blog_section03 .img_wrap {
    width: 100%;
    min-height: 200px;
    border-radius: 16px 16px 0 0;
  }
  .blog_section03 .text_wrap {
    padding: 25px 20px 30px;
    align-items: center;
    text-align: center;
  }
  .blog_section03 .head {
    margin-bottom: 20px;
  }
  .blog_section03 .meta {
    font-size: 13px;
  }
  .blog_section03 .syedittext h2 {
    font-size: 22px;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  .blog_section03 .syedittext p.desc {
    font-size: 14px;
    line-height: 1.6;
    padding-right: 0;
  }
  .blog_section03 .btn {
    width: 100%;
    max-width: 280px;
    height: 44px;
    font-size: 14px;
  }

  /* section04 */
  .blog_section04 {
    padding: 40px 0;
  }
  .blog_section04 .head {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
  }
  .blog_section04 .head h2 {
    font-size: 22px;
    line-height: 1.3;
  }
  .blog_section04 .tabs {
    gap: 10px;
  }
  .blog_section04 .tab_item {
    font-size: 13px;
    padding: 8px 16px;
  }
  .blog_section04 .list {
    grid-template-columns: 1fr;
    row-gap: 30px;
  }
  .blog_section04 .item .img_box {
    height: 200px;
    border-radius: 12px;
  }
  .blog_section04 .item .text_box {
    margin-right: 0;
    margin-top: -30px;
    padding: 20px 15px;
    min-height: auto;
    border-radius: 12px;
  }
  .blog_section04 .item .title {
    font-size: 16px;
    line-height: 1.4;
  }
  .blog_section04 .item .desc {
    font-size: 14px;
    margin-top: 15px;
  }
  .blog_section04 .item .meta {
    padding-top: 15px;
  }
  .blog_section04 .item .meta .cat,
  .blog_section04 .item .meta .date {
    font-size: 13px;
  }
  .blog_section04 .bottom_action {
    margin-top: 30px;
  }
  .blog_section04 .btn_more {
    width: auto;
    min-width: 150px;
    height: 44px;
    font-size: 14px;
    padding: 0 24px;
  }

  
}

/* ================= Small Mobile (max-width: 576px) ================= */
@media screen and (max-width: 576px) {

  /* section02 */
  .blog_section02 {
    padding: 100px 0 50px;
  }
  .blog_section02 h1 {
    font-size: 22px;
  }
  .blog_section02 .desc {
    font-size: 13px;
  }

  /* section03 */
  .blog_section03 .img_wrap {
    min-height: 180px;
  }
  .blog_section03 .syedittext h2 {
    font-size: 20px;
  }
  .blog_section03 .syedittext p.desc {
    font-size: 13px;
  }
  .blog_section03 .text_wrap {
    padding: 20px 15px 25px;
  }

  /* section04 */
  .blog_section04 .head h2 {
    font-size: 20px;
  }
  .blog_section04 .item .img_box {
    height: 180px;
  }
  .blog_section04 .item .title {
    font-size: 15px;
  }
  .blog_section04 .item .desc {
    font-size: 13px;
  }
  .blog_section04 .item .meta .cat,
  .blog_section04 .item .meta .date {
    font-size: 12px;
  }
  .blog_section04 .bottom_action {
    margin-top: 25px;
  }
}
