/*
	Theme Name: OneTaman
	Theme URI: https://onetaman.com
	Description: Custom WP Theme for OneTaman
	Version: 1.10.2025
	Author: @harmonicnoise
	Author URI: http://www.deusain.com
	Tags: tukang taman, jasa vertical garden
*/

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:400 15px/1.6 'Lato', -apple-system,BlinkMacSystemFont,segoe ui,helvetica neue,sans-serif;
	background-color: #fff;
	color: #31353E;
	width: 100%;
	position: relative;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
blockquote {
	background-color: #e2f5e4;
    color: #31353E;
    padding: 20px;
    margin: 0;
    font-size: 16px;
    display: block;
	font-weight: 600;
	border-bottom: 4px solid #49a252;
	border-radius: 7px;
}
blockquote p {
	margin: 0;
	line-height: 1.4;
}
img {
	max-width:100%;
	height: auto;
}
a {
	color: #0c7de1;
	text-decoration:none;
	transition: .3s ease-in-out;
	-moz-transition: .3s ease-in-out;
	-webkit-transition: .3s ease-in-out;
}
a:hover {
	color: #31353E;
	transition: .3s ease-in-out;
	-moz-transition: .3s ease-in-out;
	-webkit-transition: .3s ease-in-out;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #31353E;
}

strong {
	font-weight: 700;
}
h1 {font-weight: 400; color: #056839; font-size: 36px; font-family: 'DM Serif Text';}
h2 {font-weight: 400; color: #056839; font-size: 30px; font-family: 'DM Serif Text';}
h3 {font-weight: 400; color: #056839; font-size: 22px; font-family: 'DM Serif Text';}
h4 {font-weight: 600; color: #31353E; font-size: 19px;}
h5 {font-weight: 600; color: #31353E; font-size: 16px;}
h6 {font-weight: 600; color: #31353E; font-size: 13px;}
/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	width:100%;
	position:relative;
	overflow: hidden;
	background-color: #f2f6f3;
	margin: 0 auto;
}

/* header */
.header {
	position: relative;
	width: 100%;
	padding: 0;
	margin: 0 auto;
	top: 0;
	z-index: 999;
    background-color: #056839;
    padding-top: 20px;
}
.header .container {
	margin: 0 auto;
	max-width: 768px;
	padding: 15px 20px;
  	position: relative;
  	overflow: hidden;
  	display: flex;
  	flex-wrap: wrap;
  	align-items: center;
  	justify-content: space-between;
  	background-color: #fff;
  	box-shadow: 0 3px 5px rgba(0,0,0, .15);
  	border-radius: 7px 7px 0 0;
}
.header .container .logo {
	display: inline-block;
    position: relative;
    float: left;
}
.header .container .logo a {
	line-height: 0;
}
.header .container .logo a img {
	width: 220px;
    height: auto;
    display: block;
}
.header .container h1 {
	float: right;
	font-weight: 400;
	line-height: 1.2;
	font-size: 15px;
	text-align: right;
	width: 50%;
}

.nav {
	position: relative;
	padding: 30px 0 0 0;
	overflow: hidden;
}
.nav ul {
	width: 100%;
	max-width: 768px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.nav ul li {
	display: block;
	width: 24%;
	position: relative;
	text-align: center;
}
.nav ul li a {
	background-color: #056839;
	display: block;
    font-size: 18px;
    font-weight: 600;
    fill: #fff;
    color: #fff;
    border-radius: 5px;
    padding: 14px 2px 14px 2px;
}
.nav ul li a:hover {
	opacity: .9;
}
.nav ul li.current_page_item a {
	color: #fff;
}
.nav ul li:nth-child(2) a {
	background-color: #0E86CF;
}
.nav ul li:nth-child(3) a {
	background-color: #BD3AC1;
}
.nav ul li:last-child a {
	background-color: #756B63;
}
#foot {
	position: relative;
	width: 100%;
	margin: 0 auto;
	z-index: 0;
	background-color: #056839;
}
#foot .container {
	width: 100%;
	max-width: 768px;
	margin: 0 auto;
	padding: 30px 20px;
	font-size: 15px;
	position: relative;
	font-weight: 400;
	color: rgba(255,255,255, .9);
	line-height: 1.4;
	overflow: hidden;
	text-align: center;
}
#foot .container h3 {
	color: #fff;
	font-weight: 600;
	font-size: 18px;
	line-height: 1.4;
	margin: 0;
}
#foot .container a {
	color: rgba(255,255,255, .7);
}
#foot .container a i {
	font-size: 28px;
	color: #fff;
}
#foot .container > div {
	overflow: hidden;
}
#foot .container > div img {
	margin-top: 20px;
	background-color: #fff;
	border-radius: 70px;
	height: 40px;
	width: 40px;
	line-height: 40px;
	padding: 5px;
}
.copyright {
	width: 100%;
	margin: 0 auto;
	padding: 20px 0;
	color: #fff;
	font-size: 14px;
	font-weight: 400;
	overflow: hidden;
	background-color: #056839;
	position: relative;
	text-align: center;
	border-top: 1px solid rgba(255,255,255, .2);
}
.copyright .container {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	font-size: 14px;
	overflow: hidden;
	position: relative;
	font-weight: 400;
	color: rgba(255,255,255, .7);
	z-index: 2;
	line-height: 1.4;
}
.backTop {
	float: right;
	position: fixed;
	z-index: 999;
	right: 20px;
	bottom: 20px;
    cursor: pointer;
    font-size: 20px;
    background-color: #000;
    padding: 0;
    line-height: 40px;
    height: 40px;
    width: 40px;
    color: #fff;
    text-align: center;
}
.backTop:hover {
	background-color: #333;
}

#big-title {
	padding: 30px 20px 20px 20px;
	text-align: center;
	border-bottom: 2px solid #49a252;
	max-width: 768px;
	margin: 0 auto;
}
#big-title h1 {
	margin: 0;
}

#main-wrapper {
	position: relative;
	width: 100%;
	margin: 0 auto;
}
#main-wrapper .container {
	width: 100%;
	max-width: 768px;
	margin: 0 auto;
	padding: 30px 0;
	position: relative;
	overflow: hidden;
}

#main-wrapper .container.grid {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#main-wrapper .container.grid article {
	width: 47%;
	margin-bottom: 30px;
}
#main-wrapper .container.grid article .post-thumb {
	line-height: 0;
	overflow: hidden;
	border-radius: 10px;
}
#main-wrapper .container.grid article .post-wrap h2 {
	font-size: 20px;
	line-height: 1.1;
	margin: 10px 0 0 0;
	color: #056839;
}
#main-wrapper .container.grid article .post-wrap h2 a {
	color: #056839;
}
#main-wrapper .container.grid article .post-wrap h2 a:hover {
	color: #000;
}
#main-wrapper .container.grid article .post-wrap p {
	margin: 10px 0 0 0;
	line-height: 1.5;
	font-size: 14px;
}
#main-wrapper .container .content {
	width: 100%;
	max-width: 800px;
	position: relative;
	margin: 0 auto;
}
#main-wrapper .container .content article.full {
	width: 100%;
	border-bottom: 0;
	padding-bottom: 0;
	margin-bottom: 0;
	padding: 0;
}
#main-wrapper .container .content article.full img {
	width: 100%;
	border-radius: 10px;
}
#main-wrapper .container .content article.full .body-content {
	width: 100%;
}
#main-wrapper .container .content article.full .body-content h1 {
	float: left;
	width: 100%;
	line-height: 1;
	margin-top: 0;
	margin-bottom: 20px;
}
#main-wrapper .container .content article.full .body-content h2 {
	font-size: 21px;
	line-height: 1;
}
#main-wrapper .container .content article.full .body-content h3 {
	font-size: 18px;
	line-height: 1;
}
#main-wrapper .container .content article.full .body-content p.tag-cat {
	font-size: 13px;
	margin: 0 0 3px 0;
}
#main-wrapper .container .content article.full .body-content p {
	font-size: 15px;
	line-height: 1.6;
	padding: 5px 0;
}

#main-wrapper .container .content article.full .body-content ul li {
	line-height: 1.6;
}

.pagination {
	float: left;
	width: 100%;
	margin-top: 30px;
	padding-top: 30px;
	text-align: center;
}
.pagination .page-numbers {
	background-color: #fff;
	color: #222;
	padding: 5px 10px;
	margin: 0 5px;
	border-radius: 0;
}
.pagination .page-numbers.current {
	background-color: #1b2e4f;
	color: #fff;
}
.pagination .page-numbers:hover {
	background-color: #1b2e4f;
	color: #fff;
}
#related {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 30px 20px 0 20px;
    background-color: #d6dfd9;
}
#related h3 {
    color: #000;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 400;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
}
#related ul {
	margin: 0 auto;
	max-width: 768px;
	padding: 0;
	list-style: none;
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
#related ul li {
    width: 47%;
	margin-bottom: 30px;
}
#related ul li h4 {
	margin: 10px 0 0 0;
	line-height: 1.3;
	font-size: 18px;
	font-family: 'DM Serif Text';
	font-weight: 400;
}
#related ul li h4 a {
	display: block;
	color: #056839;
}
#related ul li h4 a:hover {
	color: #000;
}
#related ul li a img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}
#related ul li p {
    font-size: 14px;
    line-height: 1.5;
    margin: 5px 0 0 0;
}
#related ul li .metadata {
	position: relative;
	padding: 0;
}
#related ul li .metadata .author {
	float: left;
	margin-right: 15px;
}
#related ul li .metadata .author img {
	width: 50px;
	height: 50px;
	border-radius: 100%;
}
#related ul li .metadata h4 {
	font-weight: 600;
	margin: 10px 0 0 0;
	color: #999;
    font-size: 14px;
}
#related ul li .metadata h4 a:hover {
	color: #000;
}
#related ul li .metadata h5 {
	font-weight: 500;
	font-size: 12px;
	margin: 20px 0 0 0;
	color: #1b2e4f;
	line-height: 1;
}

.whatsapp {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 999999
}

.whatsapp a {
    color: #fff;
    padding: 0;
    background: #45b33e;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    display: block;
    line-height: 50px;
    width: 50px;
    height: 50px;
    text-align: center
}

.whatsapp a:hover {
    background-color: #0e907c;
    color: #fff;
    text-decoration: none
}

.whatsapp a i {
    vertical-align: middle;
    font-size: 28px;
    position: relative;
    padding: 0;
    top: 0
}

img.gradient-placeholder {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 400% 100%;
  animation: gradient-shimmer 1.5s infinite linear;
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.3s ease;
  opacity: 1;
}

@keyframes gradient-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

img.gradient-placeholder.loaded {
  animation: none;
  background: none;
  opacity: 1;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/
@media only screen and (max-width:768px) {
	html {padding-top: 0 !important;}
	.wrapper {margin: 0 auto; border-radius: 0;}

	.header {padding: 20px 20px 0 20px;}
	.header .container {padding: 15px 10px; display: block; text-align: center;}
	.header .container .logo {width: 100%; float: none; margin: 0 auto; display: block; text-align: center;}
	.header .container .logo a img {width: 200px; display: inline-block;}
	.header .container h1 {text-align: center; margin-top: 10px; width: 100%; display: block; margin-bottom: 0;}

	.nav {padding: 20px 20px 0 20px;}
	.nav ul {display: block; white-space: nowrap; overflow-y: hidden; overflow-x: auto; padding-bottom: 5px;}
	.nav ul li {width: auto; display: inline-block;}
	.nav ul li a {font-size: 15px; padding: 7px 15px;}

	h1 {font-size: 30px;}
	h2 {font-size: 26px;}
	h3 {font-size: 22px;}
	h4 {font-size: 18px;}
	h5 {font-size: 14px;}
	h6 {font-size: 12px;}

	#big-title {padding: 20px 20px 0 20px;}
	#big-title .container {padding: 0 0 20px 0;}
	#big-title .container h1 {font-size: 27px; line-height: 1.2;}

	#main-wrapper {margin-top: 0;}
	#main-wrapper .container {padding: 40px 20px;}
	#main-wrapper .container.grid {display: block;}
	#main-wrapper .container.grid article {width: 100%;margin-bottom: 20px;}
	#main-wrapper .container.grid article .post-wrap h2 {font-size: 18px;}
	#main-wrapper .container.grid article .post-wrap p {font-size: 14px;}
	#main-wrapper .container .content {width: 100%; float: none;}
	#main-wrapper .container .content article.full img {width: 100%;}
	#main-wrapper .container .content article.full .body-content {width: 100%;}
	#main-wrapper .container .content article.full .body-content h1 {font-size: 24px;}
	#main-wrapper .container .content article.full .body-content h2 {font-size: 21px;}
	#main-wrapper .container .content article.full .body-content p {font-size: 15px;}
	#main-wrapper .container .content article.full .body-content ul li {font-size: 15px;}

	#main-wrapper .container .content.buku article .thumb {width: 100%;}
	#main-wrapper .container .content article.full .body-content.buku {float: left; width: 100%; margin-top: 20px;}
	
	#related ul li {width: 100%; margin-bottom: 30px;}

	#foot .container {padding: 30px 20px !important;}
	.copyright {line-height: 1.3; color: rgba(0,0,0,.7); padding-left: 15px; padding-right: 15px;}
	.copyright .container {font-size: 12px;}
}
@media only screen and (max-width:640px) {
}
@media only screen and (max-width:480px) {
}
/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#00a1e9;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#00a1e9;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#00a1e9;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin: 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:0;
}
.alignleft {
	float:left;
	margin:0;
}
a img.alignright {
	float:right;
	margin:0;
}
a img.alignnone {
	margin:0;
}
a img.alignleft {
	float:left;
	margin:0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border: 0;
	max-width:100%;
	padding:0;
	font-size: 13px;
	font-style: italic;
}
.wp-block-image figcaption {
	position: relative;
	top: -10px;
	line-height: 1.3;
}
.wp-caption.alignnone {
	margin:0;
}
.wp-caption.alignleft {
	margin:0;
}
.wp-caption.alignright {
	margin:0;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:100%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
p.wp-caption-text {
	font-size: 13px !important;
	line-height: 1.2 !important;
	font-style: italic;
	position: relative;
	padding: 10px 20px !important;
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background-color: transparent;
}
::-webkit-scrollbar-thumb {
  background-color: #aaa;
}
::-webkit-scrollbar-thumb:hover {
  background-color: #000;
}

/* scrollbar custom */
.nav ul::-webkit-scrollbar {
  height: 4px; /* ubah tinggi scrollbar */
}

.nav ul::-webkit-scrollbar-track {
  background: #fff; 
}

.nav ul::-webkit-scrollbar-thumb {
  background: #49a252; 
  border-radius: 10px;
}

.nav ul::-webkit-scrollbar-thumb:hover {
  background: #49a252; 
}
