/* 
Theme Name: Hello7 Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

:root {
	--margin-bottom: 25px;
	--bordercolor:#e5e7eb;
}
body {
	font-family: var( --e-global-typography-text-font-family ), Sans-serif;
}
.margin_bottom {
	margin-bottom:var(--margin-bottom);
}
#masthead {
	z-index: 99;
	position: sticky!important;
	top: 0;
}
#skip a {
    display: block;
    position: absolute;
    left: -999px;
    top: -999px;
    }

#skip a:focus {
    left: 0;
    top: 0;
    padding: 3px;
    background: #ffc;
    border:1px solid #990000;
}

/* Main Menu */
.hfe-nav-menu ul.sub-menu {
	margin-left:-20px;
}

/* Ele Widget */
.round_icon {
	width: 42px!important;
	height: 42px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.round_ico .elementor-icon-wrapper {
	display: flex!important;
}

/* Guru Slider */
.guru .elementor-image-carousel-caption {
	padding:15px 10px;
}
.guru img.swiper-slide-image {
	display:block;
}
.guru figcaption {
	padding:20px 10px;
	background:var( --e-global-color-primary );
	border-radius: 0 0 8px 8px;
}
.guru .elementor-image-carousel-caption b,
.guru figcaption b {
	font-size:14px;
	display:block;
	font-weight:normal;
	margin-top:3px;
}
.swiper-pagination {
	bottom: 0px !important;
}

/* Home Latest News Style */
.custom-card-posts-grid {
	font-family: var( --e-global-typography-text-font-family ), Sans-serif;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}
.custom-card-item {
    background-color: #fff;
    border-radius: 12px; /* Smooth rounded corners */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Soft drop shadow */
    overflow: hidden; /* Clips content and image to the border radius */
    display: flex;
    flex-direction: column;
}
.card-thumbnail {
    position: relative;
    width: 100%;
}
.card-thumbnail img {
    width: 100%;
    height: 225px;
	object-fit: cover;
	object-position: center center;
}
.card-content-wrap {
	padding: 20px 20px 30px;
	display: flex;
	flex-direction: column;
	column-gap: 5px;
	gap: 12px;
}
.card-title {
	font-size: 20px;
	margin:0;
	font-weight: 600;
	line-height: 1.3em;
}
.card-title a {
    color: var( --e-global-color-text );
    text-decoration: none;
    display: -webkit-box; /* Multi-line ellipsis */
    -webkit-line-clamp: 2; /* Limit to 2 lines for title */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-date {
    margin: 0;
    font-size: 13px;
}
.card-excerpt {
    font-size: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit excerpt to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-button-wrap {
	margin-top:10px;
}
.card-button-wrap a {
	background: var( --e-global-color-primary );
	border-radius: 5px;
	color: #fff;
	display: inline-block;
	font-size: 15px;
	line-height: 1;
	padding: 12px 24px;
	text-align: center;
	transition: all .3s;
}
.card-button-wrap a:hover {
	background: var(--e-global-color-f201289);
}

/* Home Post Grid */
.split-layout-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.split-left-col {
    flex: 1.2;
}
.split-right-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.main-meta, .side-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}
.calendar-icon {
    font-size: 0.8rem;
}
.main-thumbnail {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}
.main-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}
.main-title {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 8px 0;
}
.main-title a {
    text-decoration: none;
}
.main-excerpt {
    font-size: 0.95rem;
    color: var( --e-global-color-text );
    line-height: 1.5;
}
.side-post-card {
    display: flex;
    gap: 15px;
    align-items: center;
}

.side-thumbnail {
    width: 120px;
    height: 85px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}
.side-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.side-content {
    flex: 1;
}
.main-featured-card .archive-card-meta,
.side-content .archive-card-meta {
    margin-bottom:0;
}
.side-title {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}
.main-title a,
.side-title a {
    color: var( --e-global-color-secondary );
    text-decoration: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .split-layout-container {
        flex-direction: column;
    }
    
    .split-left-col, .split-right-col {
        width: 100%;
    }
}

/* Download Doc */
.download-list-wrapper {
    width: 100%;
    margin: 20px 0;
}
.download-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 25px;
}
.download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 20px;
    border-bottom: 1px solid var(--bordercolor);
    gap: 20px;
}
.download-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}
.download-title {
	font-size: 20px;
	font-weight: bold;
	color: var(--e-global-color-secondary);
	line-height: 1.2em;
}
.download-excerpt {
    margin: 0;
    font-size: 14px;
    color: var( --e-global-color-text );
    line-height: 1.5;
}
.download-btn {
    display: inline-block;
    padding: 8px 26px;
    border:1px solid var( --e-global-color-f201289 );
    color: var( --e-global-color-f201289 );
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.download-btn:hover {
	background-color: var( --e-global-color-f201289 );
	color: #ffffff;
}

/* Pagination */
.download-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.download-pagination a, 
.download-pagination .current {
    padding: 8px 14px;
    border-radius: 8px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.download-pagination .current {
    background-color: #1d4ed8;
    color: #ffffff;
    border-color: #1d4ed8;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .download-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .download-btn {
        align-self: flex-start;
    }
}

/* Pengumuman */
.date-badge-posts-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Individual Post Item */
.badge-post-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Date Badge Styling */
.post-date-badge {
    background-color: #be0430; /* Primary Crimson Red */
    color: #ffffff;
    width: 65px;
    height: 65px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-day {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
}

.badge-month {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1;
    margin-top: 2px;
}

/* Right Content Styling */
.badge-post-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.badge-post-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
}

.badge-post-title a {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.badge-post-title a:hover {
    color: #be0430;
}

/* Meta & Icon Styling */
.badge-post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #666666;
}

/* Red Dot Icon */
.meta-dot-icon {
    width: 10px;
    height: 10px;
    background-color: #be0430;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    box-shadow: inset 0 0 0 2px #ffffff; /* Gives ring effect */
    border: 1px solid #be0430;
}

/* Archive Post */
.archive-container {
    padding: 30px 0;
}

/* Page Title Header */
.archive-header {
	text-align: center;
	padding:35px 0 0;
	background-blend-mode: normal;
	background-image: linear-gradient(180deg,rgba(0,165,194,0.05) 0%,rgba(255,255,255,0.5) 100%);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.archive-title {
    font-size: 26px;
    font-weight: 800;
	margin: 0;
	font-weight: 600;
	line-height: 1.3em;
}
.archive-description {
	max-width:768px;
	margin:5px auto 0;
}

.archive-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}
.archive-card-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--bordercolor);
}
.archive-card-media {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.archive-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.archive-media-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e2e8f0;
}
.archive-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.archive-card-title {
    font-size: 20px!important;
    font-weight: 700;
    line-height: 1.3em;
    margin: 0 0 12px 0;
}

.archive-card-title a {
    color: #0f172a;
    text-decoration: none;
}

/* Meta Info (Date & Category) */
.archive-card-meta {
    font-size: 0.75rem;
    font-weight: 600;
    color: var( --e-global-color-text );
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

/* Excerpt */
.archive-card-excerpt {
    font-size: 0.9rem;
    color: var( --e-global-color-text );
    line-height: 1.6;
    margin-bottom: 0;
}

/* Read More Button */
.archive-card-action {
    margin-top: auto;
}

.archive-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #1e3a8a; /* Dark Blue */
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: background-color 0.2s ease;
}

.archive-read-more-btn:hover {
    background-color: #1e40af;
    color: #ffffff;
}

/* Pagination */
.archive-pagination {
    margin-top: 50px;
    text-align: center;
}
.archive-pagination  .pagination {
	justify-content:center;
}

.archive-pagination .nav-links {
    display: inline-flex;
    gap: 8px;
}

.archive-pagination a, .archive-pagination .current {
	padding: 0;
	border-radius: 50px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #1e293b;
	text-decoration: none;
	font-size: 0.9rem;
	width: 38px;
	height: 38px;
	display: flex;
	font-weight: bold;
	text-align: center;
	justify-content: center;
	align-content: center;
	align-items: center;
}

.archive-pagination .current {
    background: var( --e-global-color-primary );
    color: #ffffff;
    border-color: var( --e-global-color-primary );
}
.archive-pagination a.prev,
.archive-pagination a.next {
	display:none;
}

/* Single Post */
.single-post-layout {
	margin:30px 0;
    display: flex;
    gap: 40px;
}
.post-breadcrumbs {
	font-size:13px;
	margin-bottom:10px;
	display: -webkit-box !important;
	overflow: hidden;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
}
.post-breadcrumbs a {
	color:#000;
	font-weight:600;
}
.single-post-layout .site-main {
    flex: 1 1 70%;
    min-width: 0;
}
.entry-header {
	margin-bottom:var(--margin-bottom);
}
.entry-header h1 {
	font-weight:bold;
	margin:0 0 10px;
	font-size: 32px;
	line-height: 1.1em;
}
.entry-header .entry-meta {
	font-size:13px;
	display: flex;
	gap: 5px;
	align-items: center;
}
.entry-header .entry-meta a {
	color:#000;
	font-weight:600;
}
.entry-header .entry-meta span {
	display:flex;
	align-items: center;
	gap:5px;
}
.entry-header .entry-meta svg {
	width: 11px;
	height: 11px;
	color: #0166ff;
}
.post-thumbnail {
	margin-bottom:var(--margin-bottom);
}
.single .entry-content ul,
.single .entry-content ol {
	padding-left: 1em;
	margin:20px 0;
}
.single .entry-content h2,
.single .entry-content h3,
.single .entry-content h4,
.single .entry-content h5 {
	font-weight:bold;
}
.post-thumbnail img {
	border-radius:10px;
}
.post-tags a {
	color: var( --e-global-color-f201289 );
	border-bottom:1px dashed var( --e-global-color-f201289 );
}

/* Code Style */
.wp-block-code {
	font-family: "Courier 10 Pitch", Courier, monospace;
	background:#f1f1f1;
    position: relative;
    border-radius: 8px;
    padding: 35px;
    margin: 20px 0;
    overflow-x: auto;
    border:1px solid #ccc;
}

.wp-block-code code {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    background: transparent;
    padding: 0;
}

.wp-code-copy-btn {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #333333;
    color: #ffffff;
    border: 1px solid var(--border);
    border-radius: 0 0 0 10px;
    padding: 3px 10px;
    font-size: 11px;
	font-weight:bold;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    user-select: none;
}
.wp-code-copy-btn:hover {
    background-color: #555555;
    color: #ffffff;
}
.wp-code-copy-btn.copied {
    background-color: #00A656;
    border-color: var(--border);
    color: #ffffff;
}

/* Custom Social Share */
.ss-wrapper {
	display:flex;
	align-items:center;
	justify-content:flex-start;
	gap:5px;
}
.ss-wrapper a {
	font-size: 17px;
	height: 30px;
	width: 30px;
	position: relative;
	border-radius: 50px;
	border: 1px solid #d2d5db;
	padding: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.ss-wrapper a svg {
	width:14px;
	height:14px;
	fill:var(--main-color)!important;
}
.ss-wrapper a svg.copied {
	fill:#059669!Important;
}
.ss-wrapper a.tg svg {
	height: 26px;
  width: 28px;
  scale: 65%;
	position: absolute !important;
  top: 2px!Important;
}
.ss-wrapper a:hover svg {
	fill:var(--accent);
}
.ss-wrapper a.tg svg {
	position:relative;
	top: -3px;
}
.ss-wrapper a.email {
	display:none;
}
.single-product .ss-wrapper a {
	height: 25px;
	width: 25px;
}
.single-product .ss-wrapper a svg {
	width: 12px;
	height: 12px;
}

/* Sidebar */
.single-post-layout .post-sidebar {
    flex: 0 0 30%;
    max-width: 300px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}
.post-sidebar h2.wp-block-heading,
.post-sidebar h3.wp-block-heading {
	font-size: 24px;
	font-weight: bold;
	border-bottom: 1px solid #f1f1f1;
	padding-bottom: 15px;
	margin-bottom:var(--margin-bottom);
}
.post-date-badge {
	width: 48px;
	height: 48px;
	border-radius: 8px;
}
.badge-day {
	font-size: 18px;
}
.badge-month {
	font-size: 12px;
}
.badge-post-item {
	gap: 15px;
	align-items:center;
}
.badge-post-title {
	font-size: 16px!important;
	font-weight:600;
	line-height: 1.2;
}
.thm .post-date-badge {
	width: 60px;
	height: 60px;
	border-radius: 0;
	margin-top: 5px;
	background:none;
}
.thumb-post-date {
	font-size:13px;
}
.post-date-badge img {
	border-radius:6px;
}

/* Responsive: Mobile Stacking */
@media (max-width: 1100px) {
    .single-post-layout {
        flex-direction: column;
    }
    .single-post-layout .post-sidebar {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

/* Check */
.check ul {
	margin-left:0!important;
	padding:0;
}
.check ul li {
	background-repeat:no-repeat;
	background-position:left 7px;
	background-size: 16px;
	padding-left:23px;
	list-style:none;
	padding-top:3px;
	padding-bottom:3px;
}
.check ul li { 
	background-image:url(img/check.svg);
}


/* Footer */
.footer_bottom {
	font-family: "Outfit", Sans-serif;
	font-size: 13px;
	font-weight: 400;
	color: #FFFFFF;
}

@media only screen and (max-width: 1100px) {
	body:not([class*="elementor-page-"]) .site-main {
		max-width: 100%;
		padding-left:40px;
		padding-right:40px;
	}
	.res_padding {
		padding-left:40px!important;
		padding-right:40px!important;
	}
	.entry-header h1 {
		font-size: 30px;
	}
	.date-badge-posts-list {
		display: grid;
		grid-template-columns: 1fr 1fr;
	}
	
	.side-title {
		font-size: 18px !important;
	}
	
	/* Mobile Menu */
	.hfe-nav-menu ul.sub-menu {
		margin-left:0;
	}
	.hfe-nav-menu ul.sub-menu li a.hfe-sub-menu-item {
		font-size:0.9em!important;
		font-weight:normal!important;
		position:relative;
	}
	.hfe-site-logo {
		width:170px;
	}
	.hfe-nav-menu__layout-horizontal ul.hfe-nav-menu {
		padding-top:10px;
	}
	
	.gallery,
	.guru .gallery {
		display: grid;
		gap:20px;
		margin:0!important;
		grid-template-columns: 1fr 1fr;
	}
	.gallery {
		gap:10px;
		grid-template-columns: 1fr 1fr 1fr 1fr;
	}
	.gallery figure.gallery-item,
	.guru .gallery figure.gallery-item {
		max-width: 100%;
		padding: 0 !important;
	}

}

@media only screen and (max-width: 767px) {
	body:not([class*="elementor-page-"]) .site-main {
		padding-left:20px;
		padding-right:20px;
	}
	.res_padding {
		padding-left:20px!important;
		padding-right:20px!important;
	}
	.entry-header h1 { font-size: 28px;}
	.single .entry-content h2 { font-size:24px;}
	.single .entry-content h3 { font-size:22px;}
	.single .entry-content h4 { font-size:20px;}
	.single .entry-content h5 { font-size:18px;}
	.date-badge-posts-list {
	  display: grid;
	  grid-template-columns: 1fr;
	}
	.align_left .elementor-image-box-wrapper {
		flex-direction: row !important;
		display: flex;
		gap:10px;
		text-align: left;
		align-items: center;
	}
	.align_left h3.elementor-image-box-title {
		margin-top:0;
	}
	.hero_masking::before {
		background-image: linear-gradient(160deg, #00321FF2 50%, #FFF0 91%)!important;
	}
	.guru .gallery {
		gap:12px;
		margin:0!Important;
	}

	.side-title {
		font-size: 16px !important;
	}
	.archive-card-meta {
		font-size:10px;
	}

}