/*
 Theme Name: GeneratePress Child
 Theme URI: https://generatepress.com/
 Description: Child Theme untuk GeneratePress – Custom SEO, Header, Functions, CSS.
 Author: finteku
 Template: generatepress
 Version: 1.0
*/

/* Tempat custom CSS Anda */
.gp-toc {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    background: #f9f9f9;
}
.gp-toc ul {
    list-style: none;
    padding-left: 0;
}
.gp-toc li.toc-level-2 {
    margin: 5px 0;
}
.gp-toc li.toc-level-3 {
    margin: 5px 0 5px 20px; /* indentasi H3 */
}
.gp-toc a {
    text-decoration: none;
    color: #0073aa;
}
.gp-toc a:hover {
    text-decoration: underline;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

/* RESPONSIVE TABLE SCROLL */
/* WRAPPER agar tabel bisa digeser */
.wp-block-table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Agar tabel tidak mengecil */
.wp-block-table table {
  min-width: 500px; /* bisa dinaikkan ke 600px jika perlu */
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; 
}

/* Tampilan header & cell agar tidak bertumpuk */
.wp-block-table th,
.wp-block-table td {
  padding: 10px;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Semua link default */
a {
    color: #000000;
    text-decoration: none;
}

/* Hover link */
a:hover,
a:focus {
    color: #FC4160;
    text-decoration: none;
}

/* Link dalam menu navigasi (opsional, jika ingin seragam) */
.main-navigation a {
    color: #000000;
}

.main-navigation a:hover {
    color: #FC4160;
}

/* Remove underline forced by GP inside content (if any) */
.entry-content a {
    text-decoration: none;
}
.entry-content a:hover {
    text-decoration: none;
    color: #FC4160;
}

/* ====== MENU NAVIGASI GENERATEPRESS ====== */

/* warna default link menu */
.main-navigation .main-nav ul li > a {
    color: #000000;
    text-decoration: none;
}

/* hover menu */
.main-navigation .main-nav ul li > a:hover,
.main-navigation .main-nav ul li.sfHover > a {
    color: #FC4160 !important;
    text-decoration: none;
}

/* current / active menu item */
.main-navigation .main-nav ul li.current-menu-item > a,
.main-navigation .main-nav ul li.current_page_item > a {
    color: #FC4160;
}

/* ====== MOBILE MENU (*


/* Title Latest Posts */
.wp-block-latest-posts__post-title {
    font-size: 1.3rem;      /* ubah sesuai kebutuhan, misal 1.4rem / 20px */
    font-weight: 600;       /* semibold */
line-height: 1.3;
}


.wp-block-latest-posts__list li {
    margin-bottom: 28px !important; /* ubah sesuai kebutuhan, misal 15px / 30px */
}

/* Sticky Sidebar 
.sidebar.is-right-sidebar .inside-right-sidebar {
    position: sticky;
    top: 20px; /* jarak dari atas saat menempel */
}