/* =====================================================
   GLOBAL
===================================================== */

*{
  box-sizing:border-box;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

/* =====================================================
   MARQUEE
===================================================== */

@keyframes scroll-left{
  0%{
    transform:translateX(0);
  }

  100%{
    transform:translateX(-50%);
  }
}

.marquee-wrapper{

  width:100%;

  overflow:hidden;

  margin:15px auto;

  border-radius:12px;

  background:#f8f8f8;

  padding:10px 0;

  box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.marquee-track{

  display:flex;

  align-items:center;

  gap:24px;

  width:max-content;

  animation:scroll-left 25s linear infinite;
}

.marquee-wrapper:hover .marquee-track{
  animation-play-state:paused;
}

.marquee-logo{
  flex:0 0 auto;
}

.marquee-logo img{

  height:65px;

  width:auto;

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.marquee-logo img:hover{

  transform:scale(1.05);

  box-shadow:0 0 12px rgba(212,175,55,.35);
}

/* =====================================================
   SIDEBAR GOLD EFFECT
===================================================== */

/* Base */
#sidebar .pkp_block .content a,
.pkp_structure_sidebar .pkp_block .content a {
  position: relative;
  overflow: hidden;
  border-radius: 6px;

  transition: 
    transform 0.35s ease,
    color 0.3s ease;

  z-index: 1;
}

/* GOLD FILL LAYER */
#sidebar .pkp_block .content a::before,
.pkp_structure_sidebar .pkp_block .content a::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    #d4af37 0%,
    #f5d76e 50%,
    #d4af37 100%
  );

  transform: scaleX(0);
  transform-origin: left;

  transition: transform 0.6s ease;

  z-index: -1;
}

/* Hover trigger */
#sidebar .pkp_block .content a:hover::before,
.pkp_structure_sidebar .pkp_block .content a:hover::before {
  transform: scaleX(1);
}

/* TEXT berubah bertahap */
#sidebar .pkp_block .content a:hover,
.pkp_structure_sidebar .pkp_block .content a:hover {
  color: #fff !important;
  transform: translateY(-4px) scale(1.03);
}

/* Image */
#sidebar .pkp_block .content a img,
.pkp_structure_sidebar .pkp_block .content a img {
  transition: transform 0.45s ease, filter 0.35s ease;
}

#sidebar .pkp_block .content a:hover img,
.pkp_structure_sidebar .pkp_block .content a:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 10px rgba(212,175,55,0.4));
}

/* ====== About Image Hover ====== */
.about_section img {
  transition: transform 0.4s ease-in-out, filter 0.4s ease-in-out;
}

.about_section img:hover {
  transform: perspective(800px) rotateY(8deg) scale(1.05);
  filter: drop-shadow(0 0 12px rgba(212,175,55,0.6));
}

.about_section img:active {
  transform: perspective(800px) rotateY(-8deg) scale(1.05);
  filter: drop-shadow(0 0 15px rgba(212,175,55,0.8));
}

/* =====================================================
   EDITOR PICKS FINAL FIX
===================================================== */

.editors-pick-wrapper{

  position:relative;

  margin-top:-20px;

  z-index:5;

  width:100%;

  max-width:100%;

  overflow:hidden;
}

/* CONTAINER */

.editors-pick-container{

  display:flex;

  align-items:stretch;

  position:relative;

  width:100%;

  max-width:100%;

  overflow:hidden;

  padding:12px 14px 18px;

  border-top:1px solid #1E3A8A;
  border-right:1px solid #1E3A8A;
  border-bottom:1px solid #1E3A8A;
  border-left:4px solid #1E3A8A;

  border-radius:0 0 10px 10px;

  box-sizing:border-box;
}

/* CARD */

.editors-pick-card{

  position:relative;

  width:180px;

  min-width:180px;

  background:#fff;

  border-radius:10px;

  box-shadow:0 2px 6px rgba(0,0,0,.15);

  transition:
    transform .25s ease,
    box-shadow .25s ease;

  overflow:hidden;

  margin-left:-80px;
}

/* STACK */

.editors-pick-card:nth-child(1){

  margin-left:0;

  z-index:10;
}

.editors-pick-card:nth-child(2){

  transform:translateX(-20px);

  z-index:9;
}

.editors-pick-card:nth-child(3){

  transform:translateX(-40px);

  z-index:8;
}

.editors-pick-card:nth-child(4){

  transform:translateX(-60px);

  z-index:7;
}

.editors-pick-card:nth-child(5){

  transform:translateX(-80px);

  z-index:6;
}

/* HOVER */

.editors-pick-card:hover{

  z-index:50;

  transform:
    translateY(-8px)
    scale(1.03);

  box-shadow:
    0 10px 24px rgba(212,175,55,.35);
}

/* TITLE */

.editors-pick-card h3{

  font-size:12px;

  margin:10px;

  line-height:1.4em;
}

.editors-pick-card h3 a{

  color:#2c3e50;

  text-decoration:none;
}

.editors-pick-card h3 a:hover{

  color:#d4af37;

  text-decoration:underline;
}

/* =====================================================
   MOBILE
===================================================== */

@media screen and (max-width:768px){

  .editors-pick-wrapper{

    margin-top:10px;

    overflow:visible;
  }

  .editors-pick-container{

    display:flex;

    flex-direction:column;

    gap:14px;

    overflow:visible;
  }

  .editors-pick-card{

    width:100%;

    min-width:100%;

    margin-left:0 !important;

    transform:none !important;
  }

  .editors-pick-card:hover{

    transform:translateY(-3px) !important;
  }

}

/* =====================================================
   GOOGLE SCHOLAR CARD
===================================================== */

.gs-wrapper{

  width:100%;

  max-width:100%;

  border:1px solid #4f5d95;

  border-radius:14px;

  padding:14px 12px 10px;

  background:#fff;

  overflow:hidden;
}

.gs-header{

  font-size:13px;

  color:#333;

  margin-bottom:10px;

  line-height:1.5;
}

.gs-chart{

  position:relative;

  width:100%;

  height:150px;
}

/* GRID */

.gs-line{

  position:absolute;

  left:0;

  right:22px;

  border-top:1px solid #e8e8e8;
}

.l1{
  top:0;
}

.l2{
  top:60px;
}

.l3{
  bottom:18px;
}

/* Y AXIS */

.gs-y{

  position:absolute;

  right:0;

  color:#777;

  font-size:10px;
}

.y1{
  top:-5px;
}

.y2{
  top:55px;
}

.y3{
  bottom:15px;
}

/* BARS */

.gs-bars{

  position:absolute;

  left:0;

  right:24px;

  bottom:18px;

  height:120px;

  display:flex;

  justify-content:space-around;

  align-items:flex-end;
}

/* GROUP */

.gs-group{

  display:flex;

  flex-direction:column;

  align-items:center;

  justify-content:flex-end;

  height:100%;
}

/* VALUE */

.gs-value{

  font-size:9px;

  color:#777;

  margin-bottom:3px;
}

/* BAR */

.gs-bar{

  width:18px;

  background:#7f7f7f;
}

/* YEAR */

.gs-year{

  margin-top:4px;

  font-size:10px;

  color:#777;
}

/* =====================================================
   MOBILE
===================================================== */

@media screen and (max-width:768px){

  body{
    overflow-x:hidden;
  }

  /* MARQUEE */

  .marquee-track{
    gap:14px;
  }

  .marquee-logo img{
    height:42px;
  }

  /* EDITOR PICK */

  .editors-pick-container{
    gap:10px;
  }

  .editors-pick-card{

    flex:1 1 100%;

    max-width:100%;
  }

  .editors-pick-card h3{
    font-size:11px;
  }

  /* GOOGLE SCHOLAR */

  .gs-wrapper{
    padding:10px;
  }

  .gs-header{
    font-size:12px;
  }

  .gs-chart{
    height:120px;
  }

  .gs-bars{
    height:85px;
  }

  .gs-bar{
    width:10px;
  }

  .gs-value,
  .gs-year,
  .gs-y{
    font-size:8px;
  }

}

/* =====================================================
   CREATIVE FOOTER STYLE
===================================================== */

footer,
.pkp_structure_footer_wrapper{

  background:
    linear-gradient(
      135deg,
      #0f172a 0%,
      #1e293b 50%,
      #0f172a 100%
    );

  color:#f1f5f9;

  position:relative;

  overflow:hidden;
}

/* GLOW EFFECT */

.pkp_structure_footer_wrapper::before{

  content:"";

  position:absolute;

  top:-120px;
  right:-120px;

  width:260px;
  height:260px;

  background:rgba(212,175,55,.08);

  border-radius:50%;

  filter:blur(30px);
}

/* =====================================================
   FOOTER ROW
===================================================== */

footer .row{

  position:relative;

  z-index:2;

  display:flex;

  flex-wrap:wrap;

  align-items:flex-start;
}

/* =====================================================
   LOGO
===================================================== */

.footer_logo{

  width:100px !important;

  height:auto !important;

  margin:0 auto 10px auto;

  display:block;

  transition:
    transform .4s ease,
    filter .4s ease;
}

.footer_logo:hover{

  transform:
    scale(1.05)
    rotate(-2deg);

  filter:
    drop-shadow(0 0 14px rgba(212,175,55,.45));
}

/* =====================================================
   DIVIDER
===================================================== */

.footer_official hr{

  border:none;

  height:1px;

  background:
    linear-gradient(
      to right,
      transparent,
      rgba(212,175,55,.7),
      transparent
    );

  margin:none;
}

/* =====================================================
   TABLE LAYOUT FIX (FORCED 3 COLUMN)
===================================================== */

.footer_table_wrap table{
  width:100%;
  table-layout:fixed;
  border-collapse:separate;
  border-spacing:16px;
}

.footer_table_wrap td{
  width:33.33%;
  vertical-align:top;
}

/* =====================================================
   CARD STYLE (TIDAK DIUBAH VISUALNYA)
===================================================== */

.footer_official{
  position:relative;
  padding:18px;
  border-radius:16px;

  transition:
    transform .3s ease,
    background .3s ease,
    box-shadow .3s ease;

  background:rgba(255,255,255,.025);
  border:1px solid rgba(255,255,255,.05);
  backdrop-filter:blur(6px);

  margin-bottom:14px;
}

/* HOVER EFFECT (TETAP) */
.footer_official:hover{
  background:rgba(255,255,255,.04);
  transform:translateY(-4px);
  box-shadow:0 10px 25px rgba(0,0,0,.18);
}

/* =====================================================
   HEADINGS (TETAP)
===================================================== */

.footer_official h3,
.footer_heading_main{
  color:#f8d66d;
  font-size:14px;
  font-weight:700;
  margin-bottom:14px;
}

.footer_official h3::after,
.footer_heading_main::after{
  content:"";
  display:block;
  width:42px;
  height:2px;
  background:#d4af37;
  margin-top:6px;
  border-radius:10px;
}

/* =====================================================
   TEXT
===================================================== */

.footer_official p,
.footer_official li{
  color:#d7dee8;
  font-size:12px;
  line-height:1.8;
}

/* LIST */
.footer_official ul{
  list-style:none;
  padding:0;
  margin:0;
}

/* =====================================================
   LINKS
===================================================== */

.footer_official a{
  color:#f8d66d;
  text-decoration:none;
  transition:0.3s;
}

.footer_official a:hover{
  color:#fff;
  padding-left:4px;
}

/* =====================================================
   DIVIDER (HR TETAP)
===================================================== */

.footer_official hr{
  border:none;
  height:1px;
  background:linear-gradient(to right, transparent, rgba(212,175,55,.7), transparent);
  margin:1px auto;
  width:80%;
}

/* =====================================================
   CENTER COLUMN (PUBLISHER)
===================================================== */

.footer_center{
  text-align:left;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media screen and (max-width:991px){

  .footer_table_wrap table,
  .footer_table_wrap tr,
  .footer_table_wrap td{
    display:block;
    width:100%;
  }

  .footer_table_wrap td{
    margin-bottom:14px;
  }
}

@media screen and (max-width:768px){

  .footer_official{
    padding:15px;
  }

  .footer_official h3,
  .footer_heading_main{
    font-size:16px;
  }

  .footer_official p,
  .footer_official li{
    font-size:13px;
  }

  .footer_logo{
    width:100px !important;
    height:auto;
  }
}