/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/
Description: Hello Elementor child theme with Blog Roll in a right-side rail on all public pages.
Author: Site Administrator
Template: hello-elementor
Version: 2.5.0
Text Domain: hello-elementor-child
Requires PHP: 7.4
*/

.hec-blogroll-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.hec-blogroll-item{padding:12px;border:1px solid #e5e7eb;border-radius:8px;background:#fff}
.hec-blogroll-item>a{display:flex;align-items:center;gap:10px;text-decoration:none;overflow-wrap:anywhere}
.hec-blogroll-logo{width:42px;height:42px;object-fit:contain;flex-shrink:0}
.hec-blogroll-name{font-weight:600}
.hec-blogroll-description{margin-top:6px;font-size:.9em;opacity:.8}
/* Template-independent right rail: homepage, archive, pages, posts, search. */
@media(min-width:1025px){
 body.hec-has-right-blogroll{padding-right:290px!important;box-sizing:border-box}
 #hec-global-right-sidebar{position:fixed;top:24px;right:12px;bottom:18px;width:264px;overflow-y:auto;overscroll-behavior:contain;z-index:50;background:#fafafa;border:1px solid #e5e7eb;border-radius:12px;padding:14px;box-shadow:0 3px 14px rgba(0,0,0,.07);box-sizing:border-box;color:#222}
 body.admin-bar #hec-global-right-sidebar{top:54px}
}
@media(max-width:1024px){
 #hec-global-right-sidebar{position:relative;clear:both;display:block;margin:30px 16px;padding:16px;border:1px solid #e5e7eb;border-radius:12px;background:#fafafa;color:#222}
}
#hec-global-right-sidebar .hec-blogroll-title{font-size:20px;line-height:1.3;margin:0 0 14px}
#hec-global-right-sidebar .hec-blogroll-list{font-size:14px}

/* Hide the default archive heading ("Arsip") without hiding post titles. */
body.archive .page-header .page-title,
body.archive .page-header .archive-title,
body.archive header.page-header > h1,
body.blog .page-header .page-title,
body.blog .page-header .archive-title,
body.blog header.page-header > h1 {
  display: none !important;
}

/* Fallback for cached/custom archive templates. Scoped to archives only. */
body.archive main.site-main > .page-header,
body.blog main.site-main > .page-header,
body.home:not(.page) main.site-main > .page-header {display:none!important;}

/* Footer navigation across public site */
.hec-footer-nav{clear:both;padding:22px 16px;background:#1b2328;color:#fff;text-align:center;position:relative;z-index:60}
.hec-footer-nav__links{display:flex;gap:10px 22px;justify-content:center;flex-wrap:wrap;margin:0 auto 10px;padding:0;list-style:none;max-width:1000px}
.hec-footer-nav a{color:#fff;text-decoration:none;font-size:14px}
.hec-footer-nav a:hover,.hec-footer-nav a:focus{text-decoration:underline}
.hec-footer-nav__copy{font-size:12px;opacity:.75;margin:0}

/* Site-wide category navigation; scrolls horizontally on narrow screens. */
.hec-header-nav{width:100%;background:#192228;color:#fff;position:relative;z-index:30;box-sizing:border-box}
.hec-header-nav-inner{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 4px;max-width:1400px;margin:auto;padding:8px 12px}
.hec-header-nav a{color:#fff!important;text-decoration:none!important;font-size:12px;font-weight:700;letter-spacing:.015em;padding:10px 9px;border-radius:4px;white-space:nowrap}
.hec-header-nav a:hover,.hec-header-nav a:focus-visible,.hec-header-nav a[aria-current="page"]{background:#c83163;color:#fff!important}
/* Desktop keeps the original horizontal navigation. */
.hec-menu-toggle{display:none}
@media(max-width:850px){
 .hec-header-nav{padding:0}
 .hec-menu-toggle{display:flex;align-items:center;gap:10px;min-height:48px;width:100%;padding:10px 18px;border:0;border-radius:0;background:#192228;color:#fff;font-size:14px;font-weight:700;text-align:left;cursor:pointer}
 .hec-menu-toggle:focus-visible{outline:3px solid #fff;outline-offset:-4px}
 .hec-menu-icon{display:flex;flex-direction:column;justify-content:space-between;width:22px;height:18px}
 .hec-menu-icon span{display:block;height:2px;width:22px;background:currentColor;border-radius:2px}
 .hec-header-nav-inner{display:none;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;max-width:none;padding:4px 12px 12px;gap:2px;overflow:visible}
 .hec-header-nav.hec-menu-open .hec-header-nav-inner{display:flex}
 .hec-header-nav-inner a{display:block;padding:13px 12px;font-size:14px;white-space:normal}
}


/* Full posts on homepage, natural vertical scroll without pagination. */
.hec-home-feed{width:100%;max-width:1120px;margin:0 auto;padding:24px 22px;box-sizing:border-box;min-width:0}
.hec-home-full-post{display:block;max-width:100%;overflow-wrap:anywhere;padding:24px 0 32px;border-bottom:1px solid #e5e7eb}
.hec-home-full-post:last-child{border-bottom:0}
.hec-home-post-title{font-size:clamp(1.5rem,2.6vw,2.1rem);line-height:1.25;margin:0 0 8px}
.hec-home-post-title a{text-decoration:none}
.hec-home-post-date{font-size:.9rem;opacity:.7;margin:0 0 18px}
.hec-home-post-content{max-width:100%;overflow-wrap:anywhere}
.hec-home-post-content img,.hec-home-post-content video,.hec-home-post-content iframe{max-width:100%;height:auto}
.hec-home-post-content .wp-block-embed{max-width:100%}
.hec-home-post-content table{display:block;max-width:100%;overflow-x:auto}
.hec-all-posts-section{margin-top:36px}
@media(max-width:850px){.hec-home-feed{padding:16px}.hec-home-full-post{padding:18px 0 26px}}

/* Featured image for homepage full-post feed. */
.hec-home-post-featured{margin:0 0 22px;max-width:100%}
.hec-home-post-featured a{display:block;max-width:100%}
.hec-home-featured-image{display:block;width:100%;max-width:100%;height:auto;max-height:560px;object-fit:contain;border-radius:10px}
@media(max-width:850px){.hec-home-post-featured{margin-bottom:16px}.hec-home-featured-image{max-height:none}}
