/*
Theme Name: Superbahis
Theme URI: https://temper.digital
Author: Temper Digital
Author URI: https://temper.digital
Description: Theme for Superbahis
Version: 3.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: temper

This theme, like WordPress, is licensed under the GPL.
*/
/* SIDEBAR */
.with-sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  margin-top: 1rem;
}


.with-sidebar > :last-child {
  flex-basis: 380px; 
  flex-grow: 1;
}


.with-sidebar > :first-child {
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: 65%;
}

.with-sidebar aside.site-sidebar {
  padding-right: var(--wp--style--root--padding-right);
}

/* STICKY SIDEBAR */

.my-sticky-sidebar {
	position: sticky;
	top: 10px;
}

/* Utils */

.gap-1{
	gap: 0.25rem;
}


.gap-2{
	gap: 0.5rem;
}


.gap-3 {
	gap: 0.75rem;
}

.mb-1{
	margin-bottom: 0.25rem;
}

.mb-2{
	margin-bottom: 0.5rem;
}


.mb-3{
	margin-bottom: 0.75rem;
}

.mb-4{
	margin-bottom: 1rem;
}

.my-posts-grid ul li {
	margin-block-start: 0 !important;
}

.post-grid-title {
	color: var(--wp--preset--color--black);
}

.post-grid-title:hover {
	color: var(--wp--preset--color--primary);
}

.page-numbers {
	padding: 8px 14px 8px 14px;
	background: var(--wp--preset--color--secondary);
}

.page-numbers:hover {
	background: var(--wp--preset--color--primary);
}

.my-pagination {
	border-top: 1px solid #eee;
	padding-top: 1.5rem;
}

@media (max-width: 768px) {
  .with-sidebar aside.site-sidebar {
    padding-right: var(--wp--style--root--padding-right);
    padding-left: var(--wp--style--root--padding-left);
    text-align: center;
  }
	
	.with-sidebar aside .widget_block > * {
		align-items: center;
		margin-inline: auto;
	}
}
