:root {
  --maxw: 1080px;
  --space: clamp(16px, 3vw, 24px);
}

/*!Theme Name:   Yuki Halo Blog
Theme URI:    https://www.wpmoose.com/themes/yuki-halo-blog/
Author:       WP Moose
Author URI:   https://www.wpmoose.com
Description:  A minimalist and customizable free WordPress blog theme. You can fully customize your website with rich customization options. It is perfect for personal bloggers and content publishers.
Template:     yuki
Version:      1.0.1
Tested up to: 6.8
Requires PHP: 7.2
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  yuki-halo-blog
Tags: news, blog, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, block-styles, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, threaded-comments, theme-options, translation-ready, wide-blocks
*/
/* ===== Custom Header/Footer Mie Gacoan ===== */
/* ===== Custom Header/Footer Mie Gacoan ===== */

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  backdrop-filter: saturate(130%) blur(6px);
  border-bottom: 1px solid rgba(2,8,23,.06);
}
.site-header.is-scrolled {
  box-shadow: var(--shadow-soft);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: .8rem var(--space);
}
.brand__name {
  font-weight: 800;
  letter-spacing: .2px;
}

.nav-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}
.nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x;
  padding: .25rem 0;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}
.nav::-webkit-scrollbar { display: none; }
.nav__link {
  position: relative;
  padding: .7rem .9rem;
  border-radius: 14px;
  scroll-snap-align: center;
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: var(--underline-h);
  background: linear-gradient(90deg, var(--pink), var(--blue));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform .32s ease;
  border-radius: 2px;
}
.nav__link:hover::after {
  transform: scaleX(1);
}
.nav__link[aria-current="page"] {
  color: var(--pink);
}
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
}
.nav__link:active {
  color: var(--blue);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, rgba(0,0,0,.03), transparent), var(--bg);
  border-top: 1px solid rgba(2,8,23,.06);
}
.footer-grid {
  display: grid;
  gap: 16px;
  padding: clamp(20px,3vw,28px) var(--space);
}
@media (min-width:780px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1.2fr;
  }
}
.footer__title {
  font-weight: 800;
  margin: 0 0 8px;
}
.social {
  display: flex;
  gap: 10px;
}
.social a {
  inline-size: 44px;
  block-size: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  outline: 1px solid rgba(2,8,23,.08);
}
.copyright {
  text-align: center;
  color: var(--ink-60);
  padding: 10px var(--space) 20px;
}
/* Container supaya layout sama kayak versi HTML custom */
.container {
  width: min(100% - 2*var(--space), var(--maxw));
  margin-inline: auto;
  padding-inline: var(--space);
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.footer-links li a {
  text-decoration: none;
  color: var(--ink);
}
.footer-links li a:hover {
  color: var(--pink);
}
.brand {
  display: flex;
  gap: .6rem;
  align-items: center;
  flex: 0 0 auto;
}
.brand__name {
  font-weight: 800;
  font-size: 1rem;
}
/* Batasi lebar isi artikel/blog */
.site-main,
.entry-content,
.single-post .content-area,
.blog .content-area {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--space);
}
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}
.entry-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: .5rem;
}
.entry-meta {
  color: var(--ink-60);
  font-size: .9rem;
  margin-bottom: 1.5rem;
}
/* Batasi lebar isi blog dan single post */
body.blog .site-main,
body.single-post .site-main {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: var(--space);
}
body.blog .site-main,
body.single-post .site-main {
  max-width: 1080px !important;
  margin-inline: auto !important;
  padding-inline: var(--space) !important;
}
