 /* ===== Recent Post Rapi & Stabil ===== */

.rp-container{
display:grid;
grid-template-columns:2fr 1fr;
gap:16px;
margin:0px 0;
}

/* ===== MAIN ===== */

.rp-main img{
width:100%;
aspect-ratio:16/9;
object-fit:cover;
border-radius:8px;
display:block;
}

.rp-title{
font-size:20px;
font-weight:700;
line-height:1.4;
margin-top:8px;
}

.rp-date{
text-align: left;
font-size:12px;
color:#888;
margin-top:4px;
}
  
  .rp-separator{
color:#999;
margin:0 4px;
}
  
  .rp-label{
font-size:12px;
color:#888;
font-weight:600;
margin-left:6px;
}

/* ===== RIGHT ===== */

.rp-side{
display:flex;
flex-direction:column;
gap:12px;
}

.rp-side-item{
display:grid;
grid-template-columns:110px 1fr;
gap:10px;
align-items:start;
}

.rp-side-item img{
      height: 100px;
width:auto;
aspect-ratio:16/9;
object-fit:cover;
border-radius:6px;
}

/* ===== BOTTOM FULL ===== */

.rp-bottom-full{
margin-top:20px;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:14px;
}

.rp-bottom-item{
display:grid;
grid-template-columns:100px 1fr;
gap:10px;
align-items:start;
}

.rp-bottom-item img{
width:100%;
aspect-ratio:3/2;
object-fit:cover;
border-radius:6px;
}

.rp-bottom-title{
font-size:14px;
font-weight:600;
line-height:1.4;
}

/* ===== LINK ===== */
  
  .rp-side-title {
    font-weight: 600;
    font-size:14px;
  }

.rp-container a,
.rp-bottom-full a{
text-align: left;
text-decoration:none;
color:#111;
  
    display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rp-container a:hover,
.rp-bottom-full a:hover{
color:#ff0000;
}
  


/* ===== Skeleton ===== */

.skeleton{
position:relative;
overflow:hidden;
background:#eee;
border-radius:6px;
}

.skeleton::after{
content:"";
position:absolute;
top:0;
left:-150px;
width:150px;
height:100%;
background:linear-gradient(
90deg,
transparent,
rgba(255,255,255,.6),
transparent
);
animation:skeleton 1.2s infinite;
}

@keyframes skeleton{
100%{
left:100%;
}
}

/* ===== RESPONSIVE ===== */

@media(max-width:992px){

.rp-bottom-full{
grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

.rp-container{
grid-template-columns:1fr;
}

.rp-side{
flex-direction:row;
overflow-x:auto;
}

.rp-side-item{
min-width:240px;
}

.rp-bottom-full{
grid-template-columns:1fr;
}

}

/* =========================================================== KODE RECENTPOST GRID WRAPPER =========================================================== */
.rp-wrap{
max-width:1100px;
margin:auto;
}

/* ===================== SKELETON ===================== */
.skeleton{
background:linear-gradient(90deg,#eee 25%,#f5f5f5 37%,#eee 63%);
background-size:400% 100%;
animation:skeleton 1.4s ease infinite;
border-radius:12px;
}

@keyframes skeleton{
0%{background-position:100% 50%;}
100%{background-position:0 50%;}
}

.skeleton-big{
width:100%;
height:420px;
margin-bottom:15px;
}

.skeleton-small{
height:110px;
}

/* ===================== SLIDER ===================== */
.main-slider{
margin-top:10px;
position:relative;
overflow:hidden;
border-radius:12px;
}

.slide{
display:none;
position:relative;
}

.slide img{
width:100%;
height:350px;
object-fit:cover;
border-radius:12px;
}

/* ARROWS */
.arrow{
position:absolute;
top:50%;
transform:translateY(-50%);
background:rgba(0,0,0,.5);
color:#fff;
padding:10px 14px;
cursor:pointer;
font-size:18px;
z-index:10;
transition:.3s;
}

.arrow:hover{
background:#ea0000;
}

.prev{left:10px;}
.next{right:10px;}

/* ===================== OVERLAY INFO ===================== */
.slide-info{
position:absolute;
bottom:0;
left:0;
right:0;
padding:18px;
color:#fff;
background:linear-gradient(to top, rgba(0,0,0,.75), transparent);
border-radius:0 0 12px 12px;
}

.slide-title{
  margin:0 10px;
font-size:20px;
font-weight:700;
line-height:1.4;
margin-bottom:6px;
  
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slide-title a{
color:#fff;
text-decoration:none;
}

.slide-meta{
  margin:5px 10px;
font-size:12px;
opacity:.9;
}

/* ===================== SMALL GRID ===================== */
.small-posts{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:12px;
margin-top:15px;
}

.small-item{
position:relative;
overflow:hidden;
border-radius:10px;
}

.small-item img{
width:100%;
height:110px;
object-fit:cover;
border-radius:10px;
transition:.4s;
}

.small-item:hover img{
transform:scale(1.08);
}

.small-item:after{
content:"";
position:absolute;
inset:0;
background:linear-gradient(to top,rgba(0,0,0,.6),transparent);
opacity:0;
transition:.3s;
}

.small-item:hover:after{
opacity:1;
}

/* SMALL TEXT */
.small-title{
font-size:13px;
font-weight:600;
margin-top:5px;
line-height:1.3;

display:-webkit-box;
-webkit-line-clamp:3;
-webkit-box-orient:vertical;
overflow:hidden;
}

.small-title a{
text-decoration:none;
color:#222;
}

.small-title a:hover{
color:red;
}

.small-meta{
text-align: left;
font-size:11px;
color:#888;
}

/* ===================== MOBILE ===================== */
@media(max-width:768px){

.slide img{
height:200px;
}

.small-posts{
grid-template-columns:repeat(2,1fr);
}

}



/* ===== GABUNGAN KALIMANTAN WRAPPER KHUSUS ===== */

.recentAprilSidebar {
  font-family: Arial, sans-serif;
  width: 100%;
}


/* ===== POST BESAR ===== */

.recentAprilSidebar .big-aprilpost {
  margin: 0 5px;
  position: relative;
  margin-bottom: 12px;
}

.recentAprilSidebar .big-aprilpost img {

  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 6px;

}

.recentAprilSidebar .overlay {

  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px;

  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0)
  );

  color: #fff;
  border-radius: 6px;

}

.recentAprilSidebar h4 {

  font-size: 14px;
  margin: 0 0 4px;
  line-height: 1.4;
  color: #fff;

}

.recentAprilSidebar h4:hover{
  text-decoration: underline;
}


/* ===== META ===== */

.recentAprilSidebar .aprilmeta {

  font-size: 11px;
  opacity: 0.9;

}

.recentAprilSidebar .aprilmeta a{

  color: inherit;
  text-decoration: none;
  font-weight: bold;

}

.recentAprilSidebar .aprilmeta a:hover{

  text-decoration: underline;

}


/* ===== POST KECIL ===== */

.recentAprilSidebar .small-aprilposts {

  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0 5px;

}

.recentAprilSidebar .small-aprilpost {

  display: flex;
  gap: 8px;
  align-items: flex-start;

}

.recentAprilSidebar .small-aprilpost img {

  width: 120px;
  height: 80px;
  object-fit: cover;

  min-width: 120px;
  min-height: 80px;

  border-radius: 5px;
  display: block;

}

.recentAprilSidebar .small-aprilpost h4 {
color:#000;
  font-size: 14px;
  margin: 0 0 3px;
  line-height: 1.4;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;

  overflow: hidden;

}

.recentAprilSidebar .small-aprilpost h4:hover {
  color:red;
}

.recentAprilSidebar .small-aprilpost .aprilmeta {

  font-size: 10px;
  color: #888;

}


/* ===== LOADING ===== */

.loadingAprilPost {

  height: 200px;

  background: linear-gradient(
    90deg,
    #eee 25%,
    #ddd 37%,
    #eee 63%
  );

  background-size: 400% 100%;

  animation: shimmerApril 1.4s infinite;

  border-radius: 6px;

}


/* rename keyframe supaya tidak bentrok */

@keyframes shimmerApril {

  0% { background-position: 100% 0; }

  100% { background-position: -100% 0; }

}