/*
Theme Name: ALLIN GeneratePress Child
Description: ALLIN için giriş yapmış kullanıcılara son 10 yazıyı gösteren sade GeneratePress alt teması.
Author: ALLIN
Template: generatepress
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: allin-generatepress-child
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* GeneratePress automatically loads this file; no parent @import is needed. */
ul.allin-latest-posts {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.allin-latest-posts .allin-latest-posts__item {
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.allin-latest-posts .allin-latest-posts__link {
	display: block;
	color: inherit;
	text-decoration: none;
	border-radius: 8px;
}
.allin-latest-posts .allin-latest-posts__link:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 5px;
}
.allin-latest-posts .allin-latest-posts__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 8px;
	background: #edf1f4;
}
.allin-latest-posts .allin-latest-posts__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	margin: 0;
	object-fit: cover;
}
.allin-latest-posts .allin-latest-posts__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #586579;
	background: linear-gradient(135deg, #edf1f4, #dfe5eb);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.16em;
}
.allin-latest-posts .allin-latest-posts__title {
	display: block;
	margin-top: 10px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.45;
	overflow-wrap: anywhere;
}
.allin-latest-posts .allin-latest-posts__link:hover .allin-latest-posts__title,
.allin-latest-posts .allin-latest-posts__link:focus-visible .allin-latest-posts__title {
	text-decoration: underline;
	text-underline-offset: 3px;
}
@media (min-width: 480px) {
	ul.allin-latest-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
	ul.allin-latest-posts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	ul.allin-latest-posts { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
