/* Стилі для контейнера профілю автора */
.container{
 max-width: 1400px;
	width:100%;
	padding:15px;
	margin:0 auto;
}
.author-profile {
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
	margin-top:150px;
	box-shadow: 0 0.5em 1rem 0 rgba(0, 0, 0, 0.10) !important;

}
.author-post-count{
     text-align: center;
     font-size: 20px;
     	padding-top:10px;
}
.author-profile__box h1{
	text-align:center;
	padding-top:10px;
	padding-bottom:15px;

}
.author-profile h2,
.author-contact h3,
.author-posts h3 {
    color: #333;
    margin-bottom: 10px;
}

/* Стилі для аватара */
.author-avatar {
    text-align: center;
    margin-bottom: 15px;
}

.author-avatar img {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
}

/* Стилі для біографії автора */
.author-bio p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    text-align: center;
}

/* Стилі для контактної інформації */
.author-contact {
    margin-top: 20px;
}

.author-contact ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.author-contact ul li {
    margin: 5px;
}

.author-contact ul li a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.author-contact ul li a:hover {
    background-color: #f0f0f0;
}



/* Стилі для секції постів автора */
.author-posts {

    margin: 40px auto 20px;
	display:grid;
	grid-template-columns:1fr 1fr 1fr;
	gap:30px;
}




.author-posts .post-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 20px;
    background-color: #ebedf1;;
    transition: box-shadow 0.3s ease;
}

.author-posts .post-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Стилі для мініатюри посту */
.author-posts .post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 10px;
	    height: 60px;
    object-fit: cover;
}
.author-posts h2{
	line-height:1.1;
	padding:0;
	margin-bottom:15px;
}

.author-posts h2 a {
    font-size: 18px;
    color: #333;
    text-decoration: none;

}

.author-posts h2 a:hover {
    color: #0073aa;
}

.post-excerpt {
    font-size: 14px;
    color: #666;
    margin: 10px 0;
}

.read-more {
    color: #0073aa;
    font-size: 14px;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}

.read-more:hover {
    text-decoration: underline;
}

/* Пагінація */
.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    color: #0073aa;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
}

.pagination .page-numbers:hover {
    background-color: #f0f0f0;
}

.pagination .current {
    background-color: #0073aa;
    color: #fff;
}
.pagination-container {
    display: flex;
    justify-content: center;
}
@media screen and (max-width: 920px) {
 .author-posts {
	grid-template-columns:1fr;
}
}
.social-links a{
	display:flex;
	align-items:center;
	gap:4px;
	font-weight:600;
}
.social-links a i{color:black;
margin-right:0;}
.social-links{
	margin:0;
}

/* ========================== */
.authors-archive__hero h1{
	margin-bottom:15px;
}
.authors-archive__hero{
	padding-top:100px;
	display:grid;
	grid-template-columns:1.2fr 0.8fr;
	gap: 24px;
	
}
.authors-archive__hero-img{
	display:flex;
	justify-content:center;
	align-items:center;
}
.authors-archive .author-profile{
		margin:0;
	background-color: #ebedf1;
	  transition: transform 0.3s ease;
}
.authors-archive .author-profile:hover{
	    transform: scale(1.02);
}
.authors-archive .author-card__box{
	display:grid;
	grid-template-columns:1fr 1fr;
	gap: 24px;
				margin:40px 0;
	
}

 .author-post-count-icon {
	text-align: center;
    position: relative;
	margin-top:15px;
}
 .author-post-count-icon span {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 22px;
    max-width: 90px;
    text-align: center;
    display: block;
}
.authors-archive a.author-name {
    text-align: center;
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #003293;
}
@media screen and (max-width: 920px) {
.authors-archive .author-card__box,
	.authors-archive__hero{
	grid-template-columns:1fr;
		
}
	.authors-archive__hero-inf {
    order: 2;
}
	.authors-archive__hero-img img{
max-height:320px;
		object-fit:contain;
}
}