/* ==========================================
   1. HEADER & BRANDING (Top Section)
   ========================================== */

.mce-tinymce{
		display: none;
}
#tophead {
 /*background-color: #002e5e; */
		display:none !important;
	
	
}
/* default */
#masthead {
   background-image: url("https://smpnegeri15denpasar.sch.id/wp-content/uploads/2026/04/foto-depan-sekolah.jpg"); 
/*
	background: linear-gradient(
  to top,
  #002E5D 0%,
  #004c99 100%
) !important; */ 
  background-position: center;
  background-repeat: no-repeat;
  background-size: civer;

}

/*
#masthead::before{
	 background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0) 100%
  );

	z-index: 1;
	content: "";
  position: absolute;
  inset: 0;
	width: 100%;
	height: 160px;
		overflow-y:hidden;

}
*/

.site-branding {
  display: flex;
  align-items: center;       
  justify-content: center;   
  gap: 12px;                 
  text-align: left;          
  margin: 0 auto;
  background: transparent;
}

/* logo */
.site-branding .custom-logo {
  display: block;
  max-height: 120px; 
  width: auto;
}

/* container text */
#site-identity {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* title */
.site-title a {
  color: white !important;
  margin: 0;
  font-size: 30px;
  font-weight: 600;
  text-decoration: none;
}
.site-title a:hover{
		background-color: transparent;
}

/* description */
.site-description {
  color: white !important;
  margin: 0;
  font-size: 20px;
	font-weight: bold;
	font-style: italic;
}
#masthead .container,
.site-branding,
#site-identity,
.site-title,
.site-description {
  position: relative;
  z-index: 2;
}
.site-branding:hover {
  background-color: transparent;
}

.site-logo-link img {
  max-width: 150px;
  height: auto;
  transition: all 0.4s ease-in-out;
  display: block;
  margin: 15px auto;
}
.custom-logo-link:hover{
		background-color: transparent;
}
.site-logo-link img:hover {
  background-color: transparent;
}

/* ==========================================
   2. NAVIGATION (Main Menu)
   ========================================== */

#main-nav.clear-fix {
  color: #ffffff;
  background-color: #004c99;
  border-color: #0066cc;
}

#main-nav,
#site-navigation,
#main-nav .container {
  background-color: #004c99;
}

.main-navigation {
  text-align: center;
  float: none !important;
  margin: 0 auto;
  display: table;
  background: #5391A9;
}

/* Link States (General) */

a:hover {
  background-color: #0066cc;
}

a:focus {
  background-color: #004c99;
}

/* Navigation List Items */

.main-navigation li.current-menu-item > a {
  background-color: #0066cc;
}

.main-navigation li:hover > a {
  background-color: #0066cc;
  color: #e6f2ff;
}

.main-navigation li:focus,
.main-navigation li a:focus {
  background-color: #004c99;
  color: #e6f2ff;
}

/* Mobile Toggle */

/* MOBILE ONLY */
@media (max-width: 768px) {
		/*
		#masthead::before{
			height: 135px;
		}
		*/
		.site-title a {
				font-size: 22px;
		}
		.site-description{
				font-size: 13px;
		}
	/* NAVBAR */
  .wrap-menu-content .menu {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .wrap-menu-content .menu > li {
    width: 100%;
    list-style: none;
    border-bottom: 1px solid #eee;
    position: relative;
  }

  /* link tetap center */
  .wrap-menu-content .menu > li > a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 40px;
  }

  /* tombol dropdown */
  .wrap-menu-content .menu .dropdown-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

  .wrap-menu-content .sub-menu {
    position: static !important;   /* hilangkan absolute */
    display: none;                /* default hidden */
    width: 100%;
    padding: 0;
    margin: 0;
    background: #f9f9f9;
  }

  /* tampil saat aktif */
  .wrap-menu-content .menu-item-has-children.toggled-on > .sub-menu {
    display: block;
  }

  /* item sub menu */
  .wrap-menu-content .sub-menu li {
    width: 100%;
    border-top: 1px solid #eee;
  }

  .wrap-menu-content .sub-menu li a {
    display: block;
    padding: 12px;
    text-align: center;
  }
		
	.main-navigation ul li.menu-item-has-children ul a{
				background-color: #294a70;
		}
		
		
		/*LOGO*/
	.custom-logo-link img {
  max-width: 80px;
  height: auto;
  transition: all 0.4s ease-in-out;
  display: block;
  margin: auto;
	}
		/*
		.site-branding .custom-logo-link{
			background-color: red;
			display: flex;
			justify-content: flex-start;
		}
		*/
}

.menu-toggle,
.menu-toggle:hover,
.menu-toggle:active,
.menu-toggle:focus {
  background-color: #004c99;
}

/* ==========================================
   3. BREADCRUMB
   ========================================== */

#breadcrumb .container {
  background-color: transparent;
}

#breadcrumb .container a:hover,
#breadcrumb .container a:focus {
  background-color: transparent;
  color: #3399ff;
}

/* ==========================================
   4. SITE CONTENT
   ========================================== */

#content .site-content h2 {
  color: black;
}

.wp-block-heading {
  color: #000000;
  font-weight: bold;
  font-variant: normal;
}

/* Hide Detail Warga Sekolah Origin */

.type-guru .entry-header,
.type-guru .entry-meta,
.type-guru .post-thumbnail,
.type-guru img.aligncenter.wp-post-image,
.type-pegawai .entry-header,
.type-pegawai .entry-meta,
.type-pegawai .post-thumbnail,
.type-pegawai img.aligncenter.wp-post-image,
.type-staff .entry-header,
.type-staff .entry-meta,
.type-staff .post-thumbnail,
.type-staff img.aligncenter.wp-post-image {
  display: none !important;
}

/* Hide Detail Blog */
.type-blog .entry-meta, .entry-content .wp-post-image{
	display: none !important;
}

.post-navigation {
  display: none;
}

/* ==========================================
   5. FOOTER & WIDGETS
   ========================================== */

body #footer-widgets {
  background-color: #002e5e;
  border-color: #0066cc;
}

#footer-widgets h2,
body #footer-widgets h4 {
  color: white;
}

body .footer-widget-area ul li {
  font-size: 1rem !important;
}

body .footer-widget-area ul li::before {
  display: none !important;
}

/* ==========================================
   6. COMPONENTS (UI Elements)
   ========================================== */

#btn-scrollup {
  background-color: #003366;
  color: white;
}

#btn-scrollup:hover {
  background-color: #004c99;
  color: #e6f2ff;
}

#btn-scrollup i {
  color: white;
}

#colophon.site-footer {
  background-color: #004c99;
}

svg:not(:root) {
  color: #ffffff;
}