.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Custom Instgram Feed */
#instagram-feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; } 

.instagram-media-item {
	border-radius: 4px; 
	background: #fff;
	cursor: pointer;

	p {
		display: none;
	}

} 

.instagram-media-item img, .instagram-media-item video {
	aspect-ratio: 1 / 1;
	max-width: 100%; 
	border-radius: 4px;
	object-fit: cover;
}

.instagram-carousel {
  display: flex;
  gap: 10px;
  overflow-x: scroll;
}

.instagram-carousel img {
  max-height: 150px;
  object-fit: cover;
}


/* Header */
/* .site-branding::after {
	display: block;
	content: "";
	border-bottom: 5px solid var(--accent);
	width: 30%;
	margin: 20px auto 0;
} */

/* header.page-header {
	text-align: center;
} */



/* Meedan Project */
html .page-id-6937 {
	scroll-behaviour: smooth;
}

.meedan-sidebar {
	position: sticky;
	top: 100px;
/* 	background-color: var(--base-2); */
	margin-top: 50px;
	padding: 20px;
	border-radius: 10px;
}

.meedan-navigation {
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease-in-out;
	
	a::before {
		content: "";
		position: absolute;
		width: 100%;
		height: 100%;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
	}
	
	a:hover {
		text-decoration: none;
	}
	
	.gb-icon {
		background-color: var(--base-2);
		padding: 6px;
		border-radius: 50%;
		font-size: 0.8em;
	}
}

.meedan-navigation:hover {
	background-color: var(--accent);
}

.wp-block-embed blockquote {
	padding: 0;
	border-left: none;
}

/* Cerita Sabtu */
.cerita-sabtu {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
}


/* Youtube gallery */
.youtube-gallery {
	margin: 40px auto;
	overflow: hidden;
	
	a:hover {
		text-decoration: none;
	}
	
	.youtube-gallery__main-video {
		width: 100%;
		aspect-ratio: 16 / 9;
		object-fit: contain;
		border-radius: 20px;
	}
	
	.youtube-gallery__thumbnails {
		margin-top: 20px;
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
		overflow: hidden;
	}
	
	.youtube-gallery__thumbnail-item {
		cursor: pointer;
		aspect-ratio: 16 / 9;
		object-fit: cover;
		border-radius: 10px;
	}
	
	.youtube-gallery__title {
		text-decoration: none;
		color: var(--contrast-2);
		font-size: 16px;
		line-height: 1.4em;
	}
	
	p.youtube-gallery__title:hover {
		color: var(--accent);
	}
}

.instagram-feed .custom-instagram-media {
  max-width: 100%;
  margin: auto;
}
/* .instagram-feed .custom-instagram-media:before {
  content: none;
} */
/* .instagram-feed .custom-instagram-media .embed-info {
  display: none;
} */


.home-site-title {
	text-shadow: 3px 5px var(--accent);
}

.site-header .inside-header {
	border-bottom: 1px solid #eaeaea;
}

.bp-text-gradient {
	position: relative;
	background: linear-gradient(0deg, var(--accent-3), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
	z-index: 2;
}

/* .bp-text-gradient::before {
	content: "CERDAS, KUAT, MENGINSPIRASI";
	position: absolute;
	color: red;
	top: -6px;
	left: -10px;
	z-index: 1;
	-webkit-text-stroke: 2px black;
} */


.icon-1 {
	position: absolute;
	top: -100px;
	left: -100px;
	z-index: 0;
	opacity: 20%;
}

/* Feed */
.first-post a {
	text-decoration: none;
}

.first-post-meta a {
	text-decoration: none;
}

header.entry-header {
	text-align: center;
}

.read-more-container {
	text-align: center;
}

.paging-navigation {
	text-align: center;
}

.paging-navigation .page-numbers {
	border: 1px solid #888;
	text-decoration: none;
	padding: 10px;
	color: #111;
}

.paging-navigation .page-numbers:hover {
	background-color: #f2f2f2;
}

.paging-navigation .current {
	background-color: #111;
	color: #fff;
}

/* Archive */
.category .bp-page-title::before,
.tag .bp-page-title::before,
.author .bp-page-title::before {
	content: "Kategori";
	display: block;
	font-family: inherit;
	font-size: 18px;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.tag .bp-page-title::before {
	content: "Tag";
}

.author .bp-page-title::before {
	content: "Penulis";
}

.bp-featured-image-archive-container img {
	height: 250px;
	object-fit: cover;
}

/* Single Post */
.entry-meta a {
	text-decoration: none;
}

.entry-meta-post .gb-inside-container {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.entry-meta-post .gb-headline {
	padding: 0 10px;
}

article ol,
article ul {
	margin-left: 1.5rem;
}

article ol li::marker {
	font-weight: bold;
}

article .gb-block-image {
	margin-bottom: 20px;
}

.dynamic-entry-content a {
	color: #865cab !important;
	text-decoration: underline;
	font-weight: 600;
}

.dynamic-entry-content a:hover {
	color: var(--contrast) !important;
}

.wp-block-image,
.wp-block-embed {
	margin-bottom: 1.5rem;
}

.wp-block-table thead {
border-bottom: 1px;
	background-color: var(--accent-2);
	color: var(--accent);
}

/* Comments */
.comments-title,
.comment-reply-title,
.related-post__header {
	text-align: center;
	font-size: 1.2rem;
	font-family: inherit;
	font-weight: 500;
	color: #000;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Related Post */
.related-post__content {
	display: flex;
	justify-content: space-between;
}

.related-post__item {
	flex-basis: 30%;
}

/* .related-post__item--thumb {
	height: auto;
	width: 100%;
	margin-bottom: 10px;

} */



.related-post__item--thumb a:hover {
	opacity: 0.5;
}

.related-post__item--thumb img {
	height: 250px;
	width: 100%;
	object-fit: cover;
}

.related-post__item--title {
	font-size: 16px;
	text-align: center;
}



.related-post__item--title a {

	color: var(--contrast-2);

	text-decoration: none;

}



.related-post__item--title a:hover {

	color: var(--accent);

}

a.generate-back-to-top {
	border-radius: 50%;
}


@media only screen and (max-width: 800px) {
	.related-post__content {
		flex-direction: column;
		justify-content: center;
		padding: 40px;
	}
	
	.bp-featured-image-archive-container img {
	height: 100%;
	object-fit: cover;
}
	
	.cerita-sabtu {
		grid-template-columns: 1fr;
	}

}

/* Share buttons */
.bp-share-button {
	display: flex;
	justify-content: space-between;
	margin-bottom: 50px;
}

.bp-share-button a {
	background-color: red;
	flex-basis: 24%;
	background-color: var(--contrast);
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 10px;
	line-height: 0;
}

.bp-share-button a:hover {
	background-color: var(--accent);
}

/* Sidebar */
.sidebar .widget-title {
	text-align: center;
}

.sidebar .widget-title::after {
	display: block;
	content: "";
	border-bottom: 3px solid var(--accent);
	width: 50%;
	margin: 5px auto 0;
}

.sidebar a {
	text-decoration: none;
}

.sidebar select,
aside select {
	width: 100%;
}
/* List */
ol.numbering-a {
	list-style: lower-alpha;
}

.list-bold {
	font-size: 1.3rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
	color: var(--contrast);
}

.list-bold li::marker {
	font-weight: bold;
}

/* Footer */
.footer-widgets a,
.footer-widgets,
.footer-widgets select {
	text-decoration: none;
	font-size: 14px;
	line-height: 1.5em;
	color: #6e6e6e;
}

@media (max-width: 768px) {
	.meedan-sidebar {
		display: none;
	}
}

/* NEWSLETTER PAGE (ID: 11188) - FULL INTEGRATED VERSION */

/* 1. Reset Dasar & Header (Perbaikan Garis & Spasi) */
body.page-id-11188 {
    background: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
}

.page-id-11188 .site-header,
.page-id-11188 .main-header-bar,
.page-id-11188 .ast-primary-header-bar,
.page-id-11188 .ast-mobile-header-wrap .ast-primary-header-bar,
.page-id-11188 .ast-primary-header-container {
    border-bottom: none !important; 
    box-shadow: none !important;   
    background-color: #ffffff !important;
    padding-bottom: 0 !important; /* Menghapus spasi bawah header */
    margin-bottom: 0 !important;
}

/* 2. Sembunyikan Elemen yang Tidak Diperlukan */
.page-id-11188 .entry-header,
.page-id-11188 .page-title,
.page-id-11188 h1.entry-title,
.page-id-11188 .site-footer,
.page-id-11188 .sidebar,
.page-id-11188 .widget-area {
    display: none !important;
}

/* 3. Pengaturan Konten Full Width (Kode Original Lita) */
.page-id-11188 .site-content,
.page-id-11188 .content-area,
.page-id-11188 .inside-article,
.page-id-11188 article,
.page-id-11188 .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* Trik agar konten benar-benar mentok ke pinggir layar */
.page-id-11188 .wp-block-html,
.page-id-11188 .entry-content > * {
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    width: 100vw !important;
    max-width: 100vw !important;
}

/* 4. Pengaturan Container Internal */
.page-id-11188 .container {
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

/* 5. Optimasi Mobile & Admin Bar */
@media screen and (max-width: 921px) {
    html, 
    .page-id-11188,
    .page-id-11188 #page,
    .page-id-11188 .site {
        margin-top: 0 !important;
        padding-top: 0 !important;
        top: 0 !important;
        background-color: #ffffff !important;
    }

    #wpadminbar {
        display: none !important; /* Biar tampilan bersih di HP */
    }
	
    .page-id-11188 .site-header {
        margin-top: 0 !important;
        padding-top: 0 !important;
        border-bottom: none !important;
    }

    .page-id-11188 .site-content,
    .page-id-11188 .ast-container {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    .page-id-11188 .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}