/*
 Theme Name:   GP Komputeran
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tim Komputeran
 Author URI:   https://komputeran.com
 Template:     generatepress
 Version:      1.0
*/

/* Menambahkan margin bawah pada iframe video YouTube dan border-radius */
iframe {
    border-radius: 8px;  /* Ubah ke 8px atau 10px sesuai keinginan */
}

/* Header */
.site-header { 
	border-bottom:0px solid #f1f1f1;
	box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

/* Copy Link Style */
button.copy-url-btn {
	height:40px;
	background:#fff;
	color:#394050;
	border:1px solid #d2d5db;
	border-radius:60px;
	font-size:16px;
	display:flex;
	gap:8px;
	align-items: center;
	font-weight: 700;
	padding: 0 20px;
	box-shadow:0 1px 2px 0 rgba(0,0,0,.05);
}
button.copied {
	background:#ecfdf5;
	color:#059669;
	border:1px solid #ecfdf5;
	box-shadow:none;
}
.copy-icon { display:flex;}
.copied-icon { display:none;}
button.copied .copied-icon { display:flex;}
button.copied .copy-icon { display:none;}

/* Share Button Style */
.addtoany_list { 
	display:flex!important;
	gap: 8px;
}
.addtoany_list.a2a_kit_size_32 a {
	display: flex!important;
	padding: 0!important;
}
.addtoany_list.a2a_kit_size_32 span {
	height:40px!important;
	width:40px!important;
	border-radius:50px!Important;
	border:1px solid #d2d5db;
	padding: 5px;
	box-shadow:0 1px 2px 0 rgba(0,0,0,.05);
	background: none!Important;
}


/* Hero */
.wp-block-search__inside-wrapper {
	border:none;
}
.wp-block-search__inside-wrapper input.wp-block-search__input {
	background:#fff;
	border:none!Important;
}
.wp-block-search__inside-wrapper button {
	font-weight:900!important;
	border-radius:5px!important;
	}
	
/* Social Link */
.wp-block-social-links { margin:0!important; }
.wp-block-social-links li a { }

/* Breadcrumb */
.rank-math-breadcrumb p { margin-bottom:0; }
.breadcrumb { line-height: 18px; }

/* Main Nav Sub */
.main-navigation ul.sub-menu {
    background: #fff;
    border-radius: 8px;
    padding: 8px 5px;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 6px solid var(--contrast);
}
.sub-menu.toggled-on {
    box-shadow: none!important;
    border: 0px solid #f1f1f1!important;
    border-radius: 0;
    margin-left: 0;
    width: 100%!important;
    padding: 0!important;
}
.sub-menu.toggled-on li a {
    position: relative;
    padding-left: 25px!Important;
}
.sub-menu.toggled-on li a::before {
    width: 5px;
    height: 5px;
    content: " ";
    position: absolute;
    left: 10px;
    background: var(--red);
    border-radius: 50px;
    top: 17px;
}
.slideout-navigation:not(.do-overlay) .main-nav {
	padding: 0 20px;
}

/* Content Area */
.entry-header {}
.site-content {
    padding: 0;
}
body.page .site-content {
    padding: 0;
}

/* Archive */
.site-main > * { margin-bottom: 10px;}
.post-categories {
    display: flex;
    gap: 5px;
    padding: 0;
    margin-left: 0;
    flex-wrap: wrap;
    margin-bottom: 5px;
}
.post-categories span,
.post-categories span a {
    padding: 0 5px;
    font-size: 12px;
    line-height: 20px;
    border-radius: 50px;
    background: var(--tax-bg);
    color: var(--tax-color);
    display: inline-block;
    transition: all .3s ease-in-out;
}
.term_list {
    display: flex;
    gap: 8px;
}
.term_list a {
    padding-bottom: 3px;
    border-bottom: 1.5px solid var(--contrast-2);
}

/* Archive Page Pagination */
.paging-navigation {
    margin: 0;
    background: none!important;
    text-align: center;
    font-size: 14px;
    padding: 25px 0!important;
}
.nav-links {
	display:flex;
	gap:10px;
	justify-content: center;
}
.paging-navigation span, 
.paging-navigation a {
	padding: 5px 10px !important;
	color: var(--contrast)!important;
	border-radius: 0;
	width: 35px;
	height: 35px;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50px;
}
.paging-navigation span.current {
   border: 1px solid #cccc;
	box-shadow: 0px 0px 0 7px #f1f1f1;
}
a.prev,
a.next,
a.prev span,
a.next span {
    display: none;
}

/* Block Reset CSS */
.fullheight {
	height:100%;
}

/* Footer */
.site-footer {
	border-bottom:0px solid #f1f1f1;
	box-shadow: 0 -2px 0px rgba(0, 0, 0, .06);
}
.site-footer {
    font-size: 14px;
}
.site-footer {
    opacity:0.75;
}

/* Search Modal */
.search-modal-form {
    background: transparent!important;
}
.gp-modal__container input.search-field {
    margin: 0!important;
    border: none !important;
}
.search-modal-fields {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

/* Sidebar */
.inside-right-sidebar {
	position: sticky;
	top: 1px;
} 

/* List Custom */
.list_custom {
    list-style: none;
    counter-reset: my-awesome-counter;
}
.list_custom .gb-query-loop-item {
    counter-increment: my-awesome-counter;
    position: relative;
}
.list_custom .gb-query-loop-item::before {
    content: "#" counter(my-awesome-counter) "";
    position: absolute;
    top: 4px;
    left: 20px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    width: 40px;
    height: 40px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.list_custom .generate-columns.grid-50 {
    width: 100%!important;
    margin: 0;
}
.list_custom .sd_title {
    min-height: 50px;
	display:flex;
	align-items:center;
}


/* Title Header */
.page-header {
  margin-bottom: 25px;
	padding:0px!important;
}
h1.widget-title,
h1.page-title,
h1.entry-title,
h2.widget-title,
h3.widget-title { 
	position: relative;
	display: inline-block;
	margin-bottom: 30px;
}
h1.entry-title:after,
h1.widget-title:after,
h1.page-title:after,
h2.widget-title:after,
h3.widget-title:after {
	content: " ";
	height: 3px;
	width: 110px;
	margin-left: 20px;
	bottom: 40%;
	position: absolute;
	border-radius: 10px;
	background: #f1f1f1;
}
.search h1.page-title {
    border-bottom: 1px solid #f1f1f1;
    display: flex;
	font-weight:normal;
    padding-bottom: 15px;
}
.search h1.page-title span {
    font-weight: bold;
}
.search h1.page-title:after {
    display: none;
}

/* Author */
.author .page-header {
    padding: 20px;
    font-size: 15px;
    line-height: 22px;
		margin-bottom:10px;
    background: #fff;
}
.author .page-header .page-title:after {
    display: none;
}
.author .page-header .avatar {
    margin-right: 20px;
    border-radius: 50px;
}
body.author h1.page-title {
    margin-bottom: 10px;
}

/* Popular Post */
.nq_number { display:none; }
.popular_item a {
    color: var(--contrast);
    font-weight: 500;
    padding-bottom: 12px!important;
    margin-bottom: 12px!important;
    display: block;
    border-bottom:1px solid var(--tax-bg);
}
.popular_item a:hover {
    color: var(--contrast-2);
}
.popular_item:last-child a {
    border-bottom: none;
}

/* Single Post Content */
.dynamic-entry-content ul,
.dynamic-entry-content ol {
    margin: 0 0 1.5em 1.3em;
}
.dynamic-entry-content ul li {}
.also-read {
    background: #f1f1f1;
    padding: 15px;
    border-left: 5px solid var(--accent);
    padding-left: 20px;
    margin: 20px 0;
}
.also-read h2 { margin-bottom:8px; }
.also-read p { margin:0 0 10px; font-size:14px;  line-height:18px; }

/* Blockquote */
.wp-block-pullquote {
    padding: 0;
	margin-bottom:25px;
}
blockquote {
    border-left: 5px solid var(--accent);
    padding: 20px;
    font-size: 18px;
    font-style: italic;
    margin: 0 0 1.5em;
    position: relative;
    text-align: left;
    line-height: 24px;
}
blockquote p {
    margin-bottom: 5px;
}
.wp-block-pullquote cite {
    font-size: 14px;
    font-weight: bold;
}

/* Pre */
pre {
    background: #eee;
    font-family: "Courier 10 Pitch", Courier, monospace;
    font-size: 15px;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1.6em;
    max-width: 100%;
    overflow: auto;
    padding: 1.6em;
}

/* table */
.wp-block-table { margin-bottom:25px; }
.wp-block-table table { margin-bottom:0; }
.wp-block-table .wp-element-caption {
    font-size: 13px;
    margin-top: 5px;
}

/* Featured Image Caption */
.gb-block-image figcaption,
.wp-block-image figcaption {
    font-size: 13px;
    text-align: center;
    margin: 10px 0 0;
    line-height: 19px;
}
.wp-block-image {
    margin-bottom: 25px;
}
.wp-block-image img {
    border-radius: 8px;
}

/* Tag List */
.taxonomy-post_tag {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.taxonomy-post_tag a {
    color: var(--contrast);
    position: relative;
	border:1px solid  var(--contrast);
    padding: 4px 13px;
    font-size: 14px;
	font-weight:bold;
    line-height: 20px;
    border-radius: 5px;
    display: inline-block;
    transition: all .3s ease-in-out;
}
.taxonomy-post_tag a:hover {
    background: var(--contrast);
	color:#fff;
}
.wp-block-post-terms__separator {
    display: none;
}
.ls_terms a { border-bottom:1px solid var(--clr-5); padding-bottom:2px;}
.ls_terms span:nth-child(2) a { border-bottom:1px solid var(--clr-2);}
.ls_terms span:nth-child(3) a { border-bottom:1px solid var(--clr-3);}
.ls_terms span:nth-child(4) a { border-bottom:1px solid var(--clr-4);}
.ls_terms span:nth-child(5) a { border-bottom:1px solid var(--accent);}

/* Search Form */
.search-form .search-submit { display:none; }

/* 404 */
body.error404 .inside-article {
    margin: 40px auto;
    text-align: center;
}

/* Limit */
.limit-title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Page Break */
.neon-auto-page-break-pagination {
    font-size: 14px;
}
.neon-auto-page-break-pagination .pagination {
    display: flex;
    gap: 5px;
}
.neon-auto-page-break-pagination span.post-page-numbers.current,
.neon-auto-page-break-pagination a.post-page-numbers {
    background: var(--accent);
    width: 23px;
    height: 23px;
    display: flex;
    color: #fff;
    border: 1px solid var(--accent);
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-size: 13px;
}
.neon-auto-page-break-pagination span.post-page-numbers.current {
    background: none;
    color: var(--accent);
}
.neon-show-all-page-content a {
    text-decoration: underline!important;
}

/* Box Shadow */
.shadow {
	box-shadow: 0 .275rem .75rem -0.0625rem rgba(11,15,25,.06),0 .125rem .4rem -0.0625rem rgba(11,15,25,.03) !important;
}
.separate-containers .inside-right-sidebar {
	margin-top: 0;
	margin-bottom: 0;
}
.solidshadow {
	box-shadow: -20px 20px 0 rgb(255, 255, 255, 0.15);
	border-radius: 10px;
}

@media only screen and (max-width: 1024px) {
	.menu-toggle {
		font-size: 22px!Important;
		padding: 10px!Important;
	}
	.menu-toggle .gp-icon,
	span.gp-icon.icon-search {
		display:flex;
	}
	.inside-header { flex-direction: row; border-bottom:1px solid #f1f1f1;}
	#site-navigation { display:none;}
	.gb_wrapper,
	.inside-header,
	.site-content {
		padding-left:70px!important;
		padding-right:70px!important;
	}
	
	/* Slide Item */
	.splide__pagination {  margin-top: 25px;}
	.itm_sld {
		font-size:14px;
	}

}
@media only screen and (max-width: 767px) {
	.site-header .header-image { width: 190px;}
	.gb_wrapper,
	.inside-header,
	.site-content {
		padding-left:20px!important;
		padding-right:20px!important;
	}
	.inside-header {
		padding-right:10px!important;
	}
	.wp-block-post-author {
		flex-direction: column;
		gap: 10px;
	}
	.list_cat a { font-size:10px;}
	button.copy-url-btn { font-size:14px; height:35px;}
	.addtoany_list.a2a_kit_size_32 span {
		height: 35px !important;
		width: 35px !important;
		padding: 3px;
	}
	.main-navigation ul ul { box-shadow:none;}
	
	.wp-block-columns {
		gap:10px!Important;
	}
}