/* Mithat Baş Widgets — styles for the Elementor Pro replacements, matching the previous look.
   Selectors carry an extra class where theme/Elementor rules (link colors, `.elementor img { height: auto }`) would otherwise win. */

/* Post lists */
.mb-posts { display: grid; gap: 40px; }
.mb-post__title { margin: 0; font-family: Roboto, sans-serif; font-size: 24px; font-weight: 600; line-height: 1.2; }
.mb-posts .mb-post__title a { color: #54595f; text-decoration: none; }
.mb-posts .mb-post__title a:hover { text-decoration: underline; }
.mb-post__meta { margin-top: 4px; font-family: "Roboto Mono", monospace; font-size: 12px; color: #adadad; }
.mb-posts .mb-post__more { display: inline-block; margin-top: 6px; font-family: Roboto, sans-serif; font-size: 12px; font-weight: 600; color: #61ce70; text-decoration: none; }

.mb-posts--cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; align-items: start; }
.mb-posts--cards .mb-post { display: flex; flex-direction: column; background: #fff; box-shadow: 0 0 10px rgba(0, 0, 0, .15); text-align: center; }
.mb-posts--cards .mb-post__body { padding: 25px 30px 20px; }
.mb-posts--cards .mb-post__title { font-size: 21px; }
.mb-post__excerpt { margin: 16px 0 20px; font-family: Roboto, sans-serif; font-size: 14px; line-height: 1.5; color: #777; }
.mb-posts.mb-posts--cards .mb-post__more { margin: 0; font-weight: 700; text-transform: uppercase; color: #000; }
.mb-posts--cards .mb-post__meta { margin: 0; padding: 15px 30px; border-top: 1px solid #eaeaea; }

.mb-pagination { margin-top: 40px; font-family: Roboto, sans-serif; text-align: center; }
.mb-pagination .page-numbers { display: inline-block; margin: 0 4px; padding: 4px 8px; color: #54595f; text-decoration: none; }
.mb-pagination .page-numbers.current { font-weight: 700; border-bottom: 2px solid #54595f; }

@media (max-width: 767px) {
	.mb-posts--cards { grid-template-columns: 1fr; }
	.mb-post__title { font-size: 21px; }
}

/* Author box */
.mb-author-box { display: flex; align-items: center; gap: 20px; }
.mb-author-box .mb-author-box__avatar img { display: block; width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.mb-author-box__name { margin: 0 0 8px; font-family: Roboto, sans-serif; font-weight: 700; color: #54595f; }
.mb-author-box__bio { margin-bottom: 8px; color: #54595f; }
.mb-author-box .mb-author-box__button { display: inline-block; padding: 8px 13px; border-radius: 8px; background: #54595f; color: #fbfdff; font-family: Roboto, sans-serif; font-weight: 900; text-decoration: none; }
.mb-author-box .mb-author-box__button:hover { background: #484848; color: #fff; }

/* Kitaplarım */
.mb-gallery { display: grid; grid-template-columns: repeat(var(--mb-cols, 3), minmax(0, 1fr)); gap: 10px; }
.mb-gallery a { display: block; aspect-ratio: var(--mb-ratio, 3/2); overflow: hidden; }
.mb-gallery a img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.mb-gallery a:hover img { transform: scale(1.04); }

.mb-carousel { display: flex; gap: 12px; padding: 10px 15%; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.mb-carousel a { flex: 0 0 70%; aspect-ratio: 2/3; scroll-snap-align: center; }
.mb-carousel a img { display: block; width: 100%; height: 100%; object-fit: contain; }

/* Site-wide: homepage heading is an H1 now; keep its previous H2 size. */
.home .elementor-widget-heading h1.elementor-heading-title { font-size: 1.75em; line-height: 1.321; }
/* Site-wide: sidebar "latest posts" date ran into the title. */
.wp-block-latest-posts__post-date { display: block; }

