/* ==========================================================================
   Our Instagram Section Styles (Official DIPD UNESA Instagram)
   ========================================================================== */

.elementor-element-363f898xx {
  position: relative;
  padding: 80px 0 60px 0;
  background-color: #ffffff;
  overflow: hidden;
}

.elementor-element-363f898xx>.e-con-inner {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 767px) {
  .elementor-element-363f898xx {
    padding: 50px 0 40px 0;
  }

  .elementor-element-363f898xx>.e-con-inner {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Header Container (Title on left, Follow button on right) */
.elementor-element-27c2d19xx {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

@media (max-width: 767px) {
  .elementor-element-27c2d19xx {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 30px;
  }
}

/* Heading Styling */
.elementor-element-dbde9a7xx {
  flex: 1 1 auto;
}

.elementor-element-dbde9a7xx .prelements-heading .title-inner .sub-text {
  display: block;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--theme-color2, #FDA31B);
  margin-bottom: 8px;
}

.elementor-element-dbde9a7xx .prelements-heading .title-inner .title {
  font-size: 38px;
  font-weight: 800;
  color: var(--color-dark, #19232B);
  margin: 0;
  line-height: 1.25;
}

@media (max-width: 767px) {
  .elementor-element-dbde9a7xx .prelements-heading .title-inner .title {
    font-size: 26px;
  }
}

/* Follow Button with Signature Instagram Gradient */
.elementor-element-4317246xx {
  align-self: flex-end;
}

@media (max-width: 767px) {
  .elementor-element-4317246xx {
    align-self: flex-start;
  }
}

.rs-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #ffffff !important;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(220, 39, 67, 0.32);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
}

.rs-button .button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.rs-button .button-icon i,
.rs-button .button-icon svg {
  font-size: 18px;
  width: 18px;
  height: 18px;
  line-height: 18px;
  fill: #ffffff;
  color: #ffffff;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.rs-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 39, 67, 0.45);
  color: #ffffff !important;
}

.rs-button:hover .button-icon i,
.rs-button:hover .button-icon svg {
  transform: rotate(15deg) scale(1.1);
}

/* Slider Container */
.elementor-element-74fd497xx {
  width: 100%;
}

.rsaddon-unique-slider {
  position: relative;
  padding-bottom: 15px;
}

.rs-ig-slider .swiper-container-ig {
  padding-top: 10px;
  padding-bottom: 8px;
  margin-top: -10px;
  overflow: hidden;
}

/* Instagram Post Card (4:5 Aspect Ratio) */
.rs-ig-slider .ig-card {
  display: block;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  overflow: hidden;
  background-color: #f0f2f5;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.rs-ig-slider .ig-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.14);
}

.rs-ig-slider .ig-card img.unesa-post-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.rs-ig-slider .ig-card:hover img.unesa-post-image {
  transform: scale(1.08);
}

/* Instagram Hover Overlay */
.rs-ig-slider .ig-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(1, 39, 88, 0.65) 0%, rgba(188, 24, 136, 0.6) 100%);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.rs-ig-slider .ig-card:hover .ig-overlay {
  opacity: 1;
}

.rs-ig-slider .ig-overlay i,
.rs-ig-slider .ig-overlay svg {
  font-size: 38px;
  width: 38px;
  height: 38px;
  line-height: 38px;
  color: #ffffff;
  fill: #ffffff;
  transform: scale(0.85);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.rs-ig-slider .ig-card:hover .ig-overlay i,
.rs-ig-slider .ig-card:hover .ig-overlay svg {
  transform: scale(1.1);
}

/* Swiper Pagination Bullets (Diposisikan lebih ke bawah dari card postingan) */
.rsaddon-unique-slider .swiper-pagination {
  position: relative !important;
  inset: auto !important;
  bottom: auto !important;
  left: auto !important;
  margin-top: 38px !important;
  margin-bottom: 10px !important;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 10;
}

.rsaddon-unique-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #cbd5e1;
  opacity: 0.8;
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 0 !important;
}

.rsaddon-unique-slider .swiper-pagination-bullet-active {
  background: linear-gradient(45deg, #f09433 0%, #dc2743 100%);
  opacity: 1;
  width: 28px;
  border-radius: 10px;
}

@media (max-width: 767px) {
  .rsaddon-unique-slider .swiper-pagination {
    margin-top: 26px !important;
  }
}