/* Global Settings */
body {
    font-family: "Century Gothic", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* Text Alignment */
body, p, h1, h2, h3, h4, h5, h6, li {
    text-align: justify;
}

/* Header Styling */
header {
    background-color: #007BFF; /* Warna utama */
    color: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Bayangan di bawah header */
}

header h1 {
    margin: 0;
    font-size: 2em;
}

header p {
    font-size: 1.2em;
}

/* Navigation Bar */
.navbar {
    background-color: #0066cc;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.navbar a {
    color: #fff;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #ffcc00;
}

/* Main Content */
#main {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Footer */
#footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
    font-size: 0.9em;
}

#footer a {
    color: #ffcc00;
    text-decoration: none;
}

#footer a:hover {
    text-decoration: underline;
}

/* Buttons */
button, .button {
    background-color: #0066cc;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover, .button:hover {
    background-color: #004080;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table th, table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
}

table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

/* Links */
a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #ff6600;
}
/* Archive */
.page_issue_archive .issues_archive {
  display: grid;
  margin-bottom: 10px;
  break-inside: avoid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  padding: 24px;
  /* display: none; */
}
.page_issue_archive .issues_archive>li {
  padding: 10px !important;
}
.page_issue_archive .issues_archive li .obj_issue_summary p {
  text-align: justify;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  text-overflow: ellipsis; 
  overflow: hidden;
}
.obj_issue_summary .cover {
  width: 100%;
  float: none;
}
.obj_issue_summary .cover img {
  width: 100%;
  max-height: none;
  transition: all .2s ease-in-out;
  box-shadow: 0 4px 8px #0003, 0 6px 20px #00000030;
}
.obj_issue_summary .cover img:hover {
  transform: scale(1.05);
  transition: all .2s ease-in-out;
}
.bg-green {
  background: #1704c2 !important;
}
.text-green {
  color: #1704c2 !important;
}

/* detail article */
.obj_issue_toc .cover img {
  border-radius: 10px;
  box-shadow: 0 4px 8px #0003, 0 6px 20px #00000030;
}
.obj_issue_toc .cover img:hover {
  transform: scale(1.05);
  transition: all .2s ease-in-out;
}
.obj_issue_toc .section:before {
  border-top: 2px solid #0a0da1 !important; /* ubah hr footer*/
}
.obj_issue_toc .section h2 {
  font-weight: bold !important;
}


.cmp_article_list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Membuat grid otomatis */
    gap: 1rem; /* Jarak antar kotak */
    padding: 20px;
}

.cmp_article_list > li {
    background: #fff; /* Warna latar kotak */
    border: 1px solid #1704c2; /* Warna border */
    border-radius: 10px; /* Membuat sudut kotak melengkung */
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Efek bayangan */
    transition: transform 0.3s ease-in-out;
}

.cmp_article_list > li:hover {
    transform: scale(1.05); /* Efek zoom saat hover */
}


.obj_article_summary .pages {
  position: absolute;
  top: 0;
  right: 0;
  line-height: 30px;
  border: 1px solid #a3a3a3;
  border-radius: 5px;
  padding: 5px;
}
.obj_issue_toc .pub_id {
  margin: 20px 0;
  padding: 10px;
  position: relative;
  width: 45%;
  float: right;
  display: inline-block;
  border: none;
  cursor: pointer;
}
.obj_issue_toc .pub_id:after, .obj_issue_toc .pub_id:before {
  content: "";
  display: block;
  position: absolute;
  width: 20%;
  height: 20%;
  border: 1px solid;
  transition: all .6s ease;
  border-radius: 3px;
}
.obj_issue_toc .pub_id:before {
  top: 0;
  left: 0;
  border-bottom-color: transparent;
  border-right-color: transparent;
  border-top-color: #1704c2;
  border-left-color: #1704c2;
}
.obj_issue_toc .pub_id:after {
  bottom: 0;
  right: 0;
  border-top-color: transparent;
  border-left-color: transparent;
  border-bottom-color: #1704c2;
  border-right-color: #1704c2;
}
.obj_issue_toc .pub_id:hover:after, .obj_issue_toc .pub_id:hover:before {
  width: 100%;
  height: 100%;
}
.obj_issue_toc .published {
  margin: 20px 0;
  padding: 10px;
  position: relative;
  width: auto;
  float: left;
  border: none;
  cursor: pointer;
}
.obj_issue_toc .published:after, .obj_issue_toc .published:before {
  content: "";
  display: block;
  position: absolute;
  width: 20%;
  height: 20%;
  border: 1px solid;
  transition: all .6s ease;
  border-radius: 3px;
}
.obj_issue_toc .published:before {
  top: 0;
  left: 0;
  border-bottom-color: transparent;
  border-right-color: transparent;
  border-top-color: #1704c2;
  border-left-color: #1704c2;
}
.obj_issue_toc .published:after {
  bottom: 0;
  right: 0;
  border-top-color: transparent;
  border-left-color: transparent;
  border-bottom-color: #1704c2;
  border-right-color: #1704c2;
}
.obj_issue_toc .published:hover:after, .obj_issue_toc .published:hover:before {
  width: 100%;
  height: 100%;
}

.block_information a, .block_language_toggle a {
  color: white; /* ubah font color sidebar information */
  padding-left: .5rem;
}