/*
Theme Name: Themeku
Theme URI: https://berbagi-sehat.com/
Description: Child theme of GeneratePress styled like Halodoc article pages
Author: Berbagi Sehat
Author URI: https://berbagi-sehat.com/
Template: generatepress
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: themeku
*/

.widget-area .widget {
	padding: 10px;
}

.wp-block-image img {
  margin-bottom: 1.5em;
}

body {
  counter-reset: h2counter;
}

h1 {
    padding:10px;   
    background-color: linear-gradient(135deg, rgba(6,147,227,1) 0%, rgb(155,81,224) 100%);
}

h2.wp-block-heading {
  counter-reset: h3counter;
}
h3.wp-block-heading {
  counter-reset: h4counter;
}

h2.wp-block-heading::before {
  counter-increment: h2counter;
  content: counter(h2counter);
  
  /* Salin semua gaya dari .number */
  line-height: 36px;
  display: inline-block;
  min-width: 36px;
  margin: 0 20px 0 0;
  padding: 0 5px;
  text-align: center;
  vertical-align: 5px;
  color: #fff;
  border-radius: 3px;
  background: #4098d7;
  background: linear-gradient(45deg, #724BB7 0%, #4098D7 100%);
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.3);
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
  font-size: 1.25rem;
}
h3.wp-block-heading::before {
  counter-increment: h3counter;
  content: counter(h2counter) "." counter(h3counter);

  line-height: 36px;
  display: inline-block;
  min-width: 36px;
  margin: 0 20px 0 0;
  padding: 0 5px;
  text-align: center;
  vertical-align: 5px;
  color: #fff;
  border-radius: 3px;
  background: #4098d7;
  background: linear-gradient(45deg, #724BB7 0%, #4098D7 100%);
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.3);
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
  font-size: 1.25rem;
}
h4.wp-block-heading::before {
  counter-increment: h4counter;
  content: counter(h2counter) "." counter(h3counter) "." counter(h4counter);

  line-height: 36px;
  display: inline-block;
  min-width: 36px;
  margin: 0 20px 0 0;
  padding: 0 5px;
  text-align: center;
  vertical-align: 5px;
  color: #fff;
  border-radius: 3px;
  background: #4098d7;
  background: linear-gradient(45deg, #724BB7 0%, #4098D7 100%);
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,.3);
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
  font-size: 1.25rem;
}

@media (max-width: 768px) {
  .sembunyikan {
    display: none !important;
  }
  .has-base-color {
    color: inherit !important; /* atau sesuaikan sesuai efek asli class-nya */
    background-color: transparent !important;
  }
}

@media (max-width: 991px) {
  h2.wp-block-heading::before, 
  h3.wp-block-heading::before,
  h4.wp-block-heading::before {
    vertical-align: 0px;
    font-size: 1rem;
  }
  .wp-block-ultimate-post-ultp-taxonomy, 
  .wp-block-ultimate-post-heading {
      display: none;
  }
}

@media (min-width: 768px) {
    #primary-menu {
    display: none;
  }
}