/* Blok logo "INDEXED AND ABSTRACTED IN" dibuat berkotak, 2 kolom, logo di tengah */
#customblock-indexingggg .content {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	align-items: stretch;
}

#customblock-indexingggg .content p {
	display: contents;
}

/* judul blok mengambil lebar penuh */
#customblock-indexingggg .content p:first-child span {
	grid-column: 1 / -1;
	display: block;
	margin-bottom: 2px;
}

#customblock-indexingggg .content a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 78px;
	padding: 10px;
	background: #ffffff;
	border: 1px solid #e5eaef;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(9, 38, 64, 0.06);
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

#customblock-indexingggg .content a:hover {
	border-color: #cfe0ef;
	box-shadow: 0 4px 14px rgba(9, 38, 64, 0.12);
}

#customblock-indexingggg .content img {
	max-width: 100%;
	max-height: 54px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

/* tautan tanpa logo (hanya <br>) tidak ditampilkan */
#customblock-indexingggg .content a:not(:has(img)) {
	display: none;
}

#customblock-indexingggg .content br {
	display: none;
}

@media (max-width: 480px) {
	#customblock-indexingggg .content {
		gap: 8px;
	}

	#customblock-indexingggg .content a {
		min-height: 66px;
		padding: 8px;
	}

	#customblock-indexingggg .content img {
		max-height: 42px;
	}
}

/* Semua logo di blok sidebar lain: berkotak, 2 berdampingan, di tengah */
.cheryl_col .pkp_block.block_custom:not(#customblock-indexingggg) .content {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: stretch;
}

/* paragraf teks (judul/keterangan) selebar penuh */
.cheryl_col .pkp_block.block_custom:not(#customblock-indexingggg) .content p:not(:has(img)) {
	flex: 1 0 100%;
	margin: 0;
}

/* paragraf berisi logo: dua kolom, atau melebar penuh bila hanya satu */
.cheryl_col .pkp_block.block_custom:not(#customblock-indexingggg) .content p:has(img) {
	flex: 1 1 calc(50% - 10px);
	min-width: 0;
	margin: 0;
}

.cheryl_col .pkp_block.block_custom:not(#customblock-indexingggg) .content p:has(img) a:has(img) {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 74px;
	padding: 10px;
	background: #ffffff;
	border: 1px solid #e5eaef;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(9, 38, 64, 0.06);
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.cheryl_col .pkp_block.block_custom:not(#customblock-indexingggg) .content p:has(img) a:has(img):hover {
	border-color: #cfe0ef;
	box-shadow: 0 4px 14px rgba(9, 38, 64, 0.12);
}

.cheryl_col .pkp_block.block_custom:not(#customblock-indexingggg) .content img {
	max-width: 100%;
	max-height: 54px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.cheryl_col .pkp_block.block_custom:not(#customblock-indexingggg) .content br {
	display: none;
}

/* logo blok "Developed By" juga dibuat berkotak */
.cheryl_col .pkp_block.block_developed_by .content {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 74px;
	padding: 10px;
	background: #ffffff;
	border: 1px solid #e5eaef;
	border-radius: 10px;
	box-shadow: 0 2px 8px rgba(9, 38, 64, 0.06);
}

.cheryl_col .pkp_block.block_developed_by .content img {
	max-height: 46px;
	width: auto;
	margin: 0 auto;
}

@media (max-width: 992px) {
	.cheryl_col .pkp_block.block_custom:not(#customblock-indexingggg) .content a:has(img) {
		min-height: 66px;
		padding: 8px;
	}

	.cheryl_col .pkp_block.block_custom:not(#customblock-indexingggg) .content img {
		max-height: 44px;
	}
}

/* TOOLS: paksa dua logo sejajar tanpa turun baris */
#customblock-reference .content {
	flex-wrap: nowrap;
	align-items: stretch;
}

#customblock-reference .content p:has(img) {
	flex: 1 1 50%;
	min-width: 0;
	font-size: 0;
	line-height: 0;
}

#customblock-reference .content p:has(img) a {
	font-size: 13px;
	line-height: 1.2;
}

#customblock-reference .content p:has(img) a:has(img) {
	min-height: 74px;
	padding: 8px;
}

#customblock-reference .content img {
	max-width: 100%;
	max-height: 46px;
}

/* Statcounter: ditumpuk rapi, tidak bertumpuk */
#customblock-statcounter#customblock-statcounter .content {
	display: block;
	text-align: center;
}

#customblock-statcounter#customblock-statcounter .content a:has(img) {
	display: block;
	width: auto;
	min-height: 0;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
}

#customblock-statcounter#customblock-statcounter .content a:has(img) img {
	display: block;
	margin: 0 auto 8px;
	max-height: none;
}

#customblock-statcounter#customblock-statcounter .content p {
	display: block;
	margin: 0 0 10px;
}

#customblock-statcounter#customblock-statcounter .content a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	max-width: 100%;
	background: none;
	border: 0;
	box-shadow: none;
	padding: 0;
	min-height: 0;
}

#customblock-statcounter#customblock-statcounter .content img {
	max-width: 100%;
	height: auto;
	max-height: 46px;
	margin: 0;
}

#customblock-statcounter#customblock-statcounter .content a[href*="statcounter.com/p"] {
	display: inline-block;
	margin-top: 4px;
	font-size: 11.5px;
	font-weight: 700;
	color: #0067b8;
	text-decoration: none;
}

/* ACCREDITATION: gambar ditampilkan seukuran aslinya, tanpa kotak */
#customblock-accreditation#customblock-accreditation .content p:has(img) {
	flex: 1 0 100%;
	font-size: 0;
	line-height: 0;
}

#customblock-accreditation#customblock-accreditation .content a:has(img) {
	display: block;
	width: auto;
	min-height: 0;
	padding: 0;
	background: none;
	border: 0;
	box-shadow: none;
	text-align: center;
}

#customblock-accreditation#customblock-accreditation .content a:has(img) img {
	display: block;
	margin: 8px auto 0;
	max-width: 100%;
	max-height: none;
	width: auto;
	height: auto;
}

/* Statcounter/visitor: kotak diperbesar, gambar mengisi lebar sidebar */
#customblock-statcounter#customblock-statcounter .content a:has(img) {
	display: block;
	width: 100%;
	max-width: 100%;
}

#customblock-statcounter#customblock-statcounter .content a:has(img) img {
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: none;
	object-fit: contain;
}

#customblock-statcounter#customblock-statcounter .content p {
	overflow: visible;
}

/* Tampilan cadangan bila gambar counter gagal dimuat */
#customblock-statcounter .cheryl_counter_gagal {
	display: none !important;
}

#customblock-statcounter .cheryl_counter_notice {
	display: block;
	margin: 6px auto 0;
	padding: 10px 12px;
	font-size: 11.5px;
	line-height: 1.45;
	color: #12283d;
	background: #f4f8fc;
	border: 1px dashed #cfe0ef;
	border-radius: 8px;
	text-align: center;
}

#customblock-statcounter .cheryl_counter_notice a {
	color: #0067b8;
	font-weight: 700;
}
