/*container-fluid Login*/
.container-fluid .row{
    margin-left: unset;
    margin-right: unset;
}

.pkp_structure_page {
  margin-right: auto;
  margin-left: auto;
  *padding-left: 15px;
  *padding-right: 15px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.66);
}

@media (min-width: 768px) {
  .pkp_structure_page {
    width: 750px;
    margin-top: 0px;
  }
}

@media (min-width: 992px) {
  .pkp_structure_page {
    width: 970px;
    margin-top: 0px;
  }
}

@media (min-width: 1200px) {
  .pkp_structure_page {
    width: 1170px;
    margin-top: 20px;
  }
}



.navbar-nav{
    text-transform: uppercase;
}
.pkp_block .title{
    display: none !important;
}
.pkp_block{
    margin-bottom: unset !important;
    border: none;
}





/* Semua UL dalam pkp_block pakai style sidebar */
.sidebar-container h3 {
    font-size: 16px;
    text-transform: uppercase;
    padding: 10px;
    margin: 0; /* penting biar rapat ke atas dan samping */
    color: white;
    font-weight: bold;
}
.pkp_block ul {
    padding: 0;
    margin: 0;
    list-style: none;
    background: linear-gradient(to bottom, #e6f0fa, #ffffff);
    font-family: Arial, sans-serif;
}

/* Item menu */
.pkp_block ul li {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s ease;
}

/* Link */
.pkp_block ul li a {
    text-decoration: none;
    color: #2f3031;
    font-size: 14px;
    font-weight: 500;
    display: block; /* biar klik full area */
    width: 100%;
}

/* Hover efek */
.pkp_block ul li:hover {
    background: #142d35;
    cursor: pointer;
}

.pkp_block ul li:hover a {
    color: #fff;
}

.input-group-btn > .btn:hover, .input-group-btn > .btn:focus, .input-group-btn > .btn:active {
background: #0b252e;
  border: 1px solid #0b252e;
  color: #fff;

}




/*Header Gambar*/

@media (min-width: 768px) {
    .navbar > .container .navbar-brand,
    .navbar > .container-fluid .navbar-brand {
        margin-left: unset;
    }
}

.navbar-default .navbar-brand {
    color: #777;
}

.navbar-brand {
    float: left;
    height: unset;
    padding: unset;
    font-size: 18px;
    line-height: 20px;
}



#headerNavigationContainer .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.navbar-brand,
.navbar-brand-logo {
    padding: 0;
    margin: 0;
}

.navbar-brand-logo img {
    display: block;
    width: 100%;
    height: auto;
}



/*navbar Menu */
.navbar{
    border: unset;
}
.navbar-default .nav > li > a:hover{
    color: #0b0b27;
    background: #fff;
}
.navbar-default {
  background-color: #023399;
  border-color: #023399;
  border-bottom: 3px solid #000b41;
}
.btn-default{
   background-color: #000b41;
   border-color: #000b41;
   color: #fff;
}
.btn-default:hover {
  color: #0b0b27;
    background: #fff;
  border-color: #fff;
}
.dropdown-menu > li > a:hover{
    background-color: #023399;
}


/*Footer Isi*/
    footer[role="contentinfo"] {
        margin-top: 0;
    }
    .footer-cover{
        border-top: 3px solid #000b41;
    }
    .footer {
    background-color: #023399 !important; /* warna utama footer */
    color: #fff;
    }

    .footer-bottom {
        background-color: #000b41; /* sedikit lebih gelap */
        text-align: center;
        color: #e6eff5;
        font-size: 12px;
        padding: 15px 0;
    }

    .footer-bottom a {
        color: #e6eff5;
        text-decoration: none;
    }

    .footer-bottom a:hover {
        color: #fff;
    }

    .footer-container {
        margin-top: 20px;
        padding: 20px 0;
    }

    .footer-container h4 {
        font-weight: bold;
        text-transform: uppercase; /* kapital semua */
        padding-bottom: 5px;
        margin-bottom: 15px;
    }

    .footer-container ul {
        margin-top: 10px;
        padding-left: 0;
        list-style: none;
    }

    .footer-container ul li {
        margin-bottom: 8px; /* jarak antar li */
    }

    .footer-container ul li a {
        color: #f2faff;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .footer-container ul li a:hover {
        color: #fff;
    }

    .footer-container p {
        color: #f2faff;
        margin-top: 10px;
    }

    .footer-container .contact a {
        color: #f2faff;
        text-decoration: none;
    }

    .footer-container .contact a:hover {
        color: #fff;
    }

    .navbar-toggle {
      float: left !important;
      margin-left: 10px;
      margin-right: 0;
    }




/*baru*/

:root{
  --primary:#023399;
  --primary-dark:#011f5c;
  --primary-light:#3a5cc4;
  --accent:#f0a500;
  --bg:#f5f7fb;
  --card:#ffffff;
  --text:#1a1f36;
  --muted:#5b6478;
  --border:#e3e7f1;
}

*{box-sizing:border-box;}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:'Segoe UI',Roboto,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}

/* ===== LIST WRAPPER ===== */
.wrap{
  max-width:920px;
  margin:0 auto;
  padding:40px 20px 60px;
  position:relative;
  z-index:2;
}

.media-list{
  display:flex;
  flex-direction:column;
  gap:18px;
  margin-bottom: 20px;
}

/* ===== CARD ===== */
/* !important + doubled selector below is needed to beat the theme's
   built-in Bootstrap ".media" flex/display rules, which otherwise
   force the button to stack under the text on some OJS themes. */
.media-list .article-summary.media{
  background:var(--card) !important;
  border:1px solid var(--border) !important;
  border-radius:14px !important;
  padding:22px 24px !important;
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:20px !important;
  box-shadow:0 2px 8px rgba(2,51,153,0.06);
  opacity:0;
  transform:translateY(18px);
  animation:riseIn .55s ease forwards;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position:relative !important;
  margin:0 !important;
}

/* staggered entrance */
.article-summary:nth-child(1){animation-delay:.05s;}
.article-summary:nth-child(2){animation-delay:.13s;}
.article-summary:nth-child(3){animation-delay:.21s;}
.article-summary:nth-child(4){animation-delay:.29s;}
.article-summary:nth-child(5){animation-delay:.37s;}
.article-summary:nth-child(6){animation-delay:.45s;}
.article-summary:nth-child(7){animation-delay:.53s;}

@keyframes riseIn{
  to{opacity:1; transform:translateY(0);}
}

.media-list .article-summary.media:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(2,51,153,0.16);
  border-color:var(--primary-light);
}

/* left accent bar that grows on hover */
.media-list .article-summary.media::before{
  content:"";
  position:absolute;
  left:0; top:14px; bottom:14px;
  width:4px;
  border-radius:4px;
  background:var(--primary);
  transform:scaleY(.4);
  transform-origin:center;
  opacity:.5;
  transition:transform .25s ease, opacity .25s ease, background .25s ease;
}
.media-list .article-summary.media:hover::before{
  transform:scaleY(1);
  opacity:1;
  background:var(--accent);
}

/* force the two direct children (text block + button) to sit side by side */
.media-list .article-summary.media > .media-body{
  flex:1 1 auto !important;
  min-width:0 !important;
  width:auto !important;
  display:grid !important;
  grid-template-columns:1fr auto;
  grid-template-areas:
    "heading heading"
    "meta pages";
  align-items:center;
  row-gap:6px;
  column-gap:12px;
}

.media-list .article-summary.media > .btn-group{
  flex:0 0 auto !important;
  width:auto !important;
  display:block !important;
}

.media-body .media-heading{
  grid-area:heading;
  margin:0;
  font-size:18px;
  line-height:1.4;
}

.media-heading a{
  color:var(--primary-dark);
  text-decoration:none;
  font-weight:700;
  background-image:linear-gradient(var(--accent),var(--accent));
  background-repeat:no-repeat;
  background-size:0% 2px;
  background-position:left bottom;
  transition:background-size .3s ease, color .2s ease;
  padding-bottom:2px;
}

.media-heading a:hover{
  color:var(--primary);
  background-size:100% 2px;
}

.media-body .meta{
  grid-area:meta;
  margin:0;
  min-width:0;
}

.meta .authors{
  font-size:13.5px;
  color:var(--muted);
  margin-bottom:0;
}

.meta .authors::before{
  content:"✎ ";
  color:var(--primary-light);
}

.media-body .pages{
  grid-area:pages;
  justify-self:end;
  align-self:center;
  display:inline-block;
  font-size:12.5px;
  font-weight:700;
  color:var(--primary);
  background:#eef1fb;
  padding:3px 10px;
  border-radius:20px;
  margin:0;
  white-space:nowrap;
}

.pages::before{
  content:"Hal. ";
  font-weight:500;
  color:var(--muted);
}

/* ===== BUTTON ===== */
.media-list .article-summary.media .galley-link{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px;
  background:var(--primary) !important;
  color:#fff !important;
  padding:10px 18px !important;
  border-radius:10px !important;
  font-size:13.5px;
  font-weight:700;
  text-decoration:none !important;
  white-space:nowrap;
  transition:background .25s ease, transform .2s ease, box-shadow .25s ease;
  box-shadow:0 4px 10px rgba(2,51,153,0.18);
  border:none !important;
}

.media-list .article-summary.media .galley-link::before{
  content:"⬇";
  font-size:13px;
}

.media-list .article-summary.media .galley-link:hover{
  background:var(--accent) !important;
  color:var(--primary-dark) !important;
  transform:translateY(-2px);
  box-shadow:0 8px 16px rgba(240,165,0,0.32);
}

.media-list .article-summary.media .galley-link:active{
  transform:translateY(0);
}

/* ===== RESPONSIVE (only stack on small screens) ===== */
@media (max-width:640px){
  .media-list .article-summary.media{
    flex-direction:column !important;
    align-items:flex-start !important;
  }
  .media-list .article-summary.media > .btn-group{
    width:100% !important;
  }
  .media-list .article-summary.media .galley-link{
    width:100% !important;
    justify-content:center !important;
  }
}

@media (max-width:480px){
  .media-body{
    grid-template-columns:1fr;
    grid-template-areas:
      "heading"
      "meta"
      "pages";
  }
  .media-body .pages{
    justify-self:start;
  }
}

/* respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important;}
}

.article-summary media .btn-group {
  margin-top: 18px;
}