/*
Theme Name: Hallo Built
Theme URI: 
Author: Perkilo
Author URI: 
Description: Kami memanfaatkan sepenuhnya editor blok (Gutenberg), yang memberi Anda kontrol lebih besar dalam pembuatan konten Anda.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.2.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hallo-built
Tags: Block Theme, Full Site Editing
*/

/*** Body Style ***/
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }
}
@media (max-width: 680px) {
  body {
    background-image: none !important;
  }
}
body {
  background-image: url(assets/images/bg-green-gradient.svg);
  background-repeat: no-repeat;
  background-position: left top;
}

a {
  text-decoration: none;
}
h1 {
  font-size: 36px;
  font-weight: 800;
}
img {
  height: auto;
  max-width: 100%;
}

/*title-arch*/
.exp-arch,
.exp-arch2,
.title-arch a,
.title-arch2 a,
.title-arch3 a {
  word-break: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  visibility: visible;
}
.title-arch a {
  line-clamp: 1;
  -webkit-line-clamp: 1;
}
.exp-arch,
.title-arch2 a {
  line-clamp: 2;
  -webkit-line-clamp: 2;
}
.exp-arch2,
.title-arch3 a {
  line-clamp: 3;
  -webkit-line-clamp: 3;
}

/**** Sidebar ****/
@media (min-width: 768px) {
  .sticky-container > .gb-inside-container,
  .sticky-container {
    position: sticky;
    top: 0;
  }
  #right-sidebar .inside-right-sidebar {
    height: 100%;
  }
}
/**** Post Count ****/
.most-count {
  counter-reset: my-counter;
}
.most-pop,
.most-pop2 {
  counter-increment: my-counter;
  position: relative;
}
.most-pop::before {
  content: counter(my-counter);
  position: absolute;
  left: 0;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.most-pop2::before {
  content: counter(my-counter);
  position: absolute;
  top: -8px;
  left: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 0;
  color: #fff;
  background-color: #ff6900;
  padding: 2px;
  width: 22px;
  height: 22px;
  border: 2px solid #ffffff;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/**
To Top Button Style
*/
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  cursor: pointer;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/**
Style Tema
**/
.box-shdw,
.box-tm:hover {
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}
a:hover,
.box-tm:hover {
  transition: 0.3s 0.05s;
}

.wp-block-cover img,
.gb-container img,
.gb-loop-item img,
.gb-container[style*="background-image"]::before {
  transition: transform 0.5s ease;
}

/* Untuk Loop WordPress */
.wp-block-query .wp-block-post .wp-block-cover:hover img,
.gb-loop-item:hover img,
.gb-grid-column .gb-container:hover img,
.gb-grid-column
  > .gb-container:hover
  > .gb-container[style*="background-image"]::before {
  transform: scale(1.1);
}

.wc-block-mini-cart__badge {
  font-size: 0.8em;
}
