/*
Theme Name: ArcHub Child
Template: archub
Version: 1.0.2
*/

.list-item {
    padding-left: 20px;
}

.last-posts-structure {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.last-posts-title {
    font-weight: 700;
    margin: 0em 0em 0.5em 0em;
    color: white;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
    transition: color .3s;
}

.featured-post-title-list,
.card-title {
    display: inline-block;
    font-weight: 800;
    font-size: 18px;
    color: black;
    margin: 16px 0 16px 0 !important;
}

#posts-grid .card-title,
#portfolio-grid .card-title{
	color: #fff;
}

#exclusive-carousel .card-title,
.exclusive-filter .card-title {
	color: #000;
}

.featured-post-title {
    display: inline-block;
    font-weight: 800;
    font-size: 24px;
}

.featured-post-title a,
.featured-post-title-list a {
    color: white !important;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.featured-post-title a:hover,
.featured-post-title-list a:hover {
    color: #60a5fa !important;
}

.featured-post-category, 
.featured-post-cat,
.card-cat {
    display: inline-block;
    background-color: rgb(81 197 255 / .3);
    color: #03A6FF;
    font-weight: 800;
    font-family: Sans-Serif;
    padding: 1px 10px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    width: fit-content;
}

.featured-post-date,
.featured-post-date-title,
.card-date {
    display: inline-block;
    color: #5E5E5E;
    font-weight: 500;
    font-size: 12px;
}

.featured-post-date-title {
    margin-bottom: 51px;
}

.featured-post-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.cat-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cat-btn,
.post-cat-btn,
.exclusive-cat-btn {
    padding: .7em 1.5em;
    border: 1px solid black;
    background: black;
    border-radius: 100px;
    color: white;
    font-weight: 600;
}

.cat-btn.active,
.post-cat-btn.active,
.exclusive-cat-btn.active {
    background: #20BBFF;
    color: #fff;
    border-color: #20BBFF;
}

.posts-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.exclusive-filter {
  margin-top: 2rem;
}

.exclusive-filter .card img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
 
.exclusive-filter-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.exclusive-filter .card-date {
    display: none !important;
}

.exclusive-filter .card-body .card-cat {
    margin-bottom: .5rem;
}

#exclusive-carousel {
  position: relative;
  padding-bottom: 2rem; 
}

.swiper-wrapper {
  display: flex;
}
 
.swiper-button-prev,
.swiper-button-next {
  color: #333;
  width: 2rem;
  height: 2rem;
  opacity: .7;
  transition: opacity .2s;
  top: 60% !important;
}

.swiper-button-prev {
	left: 1px;
}

.swiper-button-next {
	right: 1px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  opacity: 1;
}

.card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #A8A8A8;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .2s;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
}

.card img {
    width: 100%;
    height: auto;
    display: block;
    padding: 10px;
    border-radius: 20px 20px 0px 0px;
	height: 180.66px;
}

.card-body {
    padding: 1rem;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
}

.card h3 {
    margin: .5em 0;
}

.related-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.related-post-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1rem;
}

.related-post-item:last-child {
    border-bottom: none;
}

.related-post-thumb {
    width: 80px;
    height: auto;
    flex-shrink: 0;
}

.related-post-content {
    flex: 1;
}

.related-post-title {
    margin: 0 0 0.5rem;
    font-size: 14px;
}

.related-post-title a {
    color: #A8A8A8 !important; 
    font-weight: lighter;
}

.categories-nav-wrapper {
	position: relative;
	margin-bottom: 24px;
	padding: 0 40px;
}

.swiper-slide.width-auto {
	width: auto;
}

.categories-nav-wrapper .swiper-button-prev,
.categories-nav-wrapper .swiper-button-next {
	width: 30px;
	height: 30px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.categories-nav-wrapper .swiper-button-prev::after,
.categories-nav-wrapper .swiper-button-next::after {
	font-size: 12px;
	font-weight: bold;
}

@media (min-width: 768px) and (max-width: 1024px) {
	.card img {
		width: 100%;
		height: auto;
		display: block;
		padding: 10px;
		border-radius: 20px 20px 0px 0px;
		height: 277.33px;
	}
	
	.exclusive-filter-buttons {
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		padding: .7em 1.5em;
	}
	
	.swiper-wrapper {
		align-items: center;
		justify-content: center;
	}
	
	.cat-btn,
	.post-cat-btn,
	.exclusive-cat-btn {
		padding: .7rem .7rem;
		font-size: 11px;
	}
	
	.last-posts-title {
		font-size: 24px;
		margin: 0em 0em 1em 0em;
	}
	
	.last-posts-structure {
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
	}
	
	.posts-grid {
		grid-template-columns: repeat(1, 1fr);
		margin: 20px;
	}
	
	.featured-post-single {
		display: flex;
		flex-direction: column;
	}
	
	.featured-post-meta {
		margin-bottom: .5em;
	}
	
	.featured-post-category {
		font-size: 10px;
	}
	
	.featured-post-cat {
		font-size: 10px;
	}
	
	.featured-post-title  {
		font-size: 18px;
		letter-spacing: 0.1px;
		line-height: revert;
	}
	
	.featured-post-title-list {
		font-size: 18px;
		letter-spacing: none;
		line-height: revert;
	}
	
	.featured-post-date,  {
		font-size: 10px;
	}
	
	.featured-post-date-list {
		font-size: 10px;
	}
	
	.featured-post-item {
		display: flex;
		flex-direction: column;
	}
}

@media (max-width: 768px) {
	.card img {
		width: 100%;
		display: block;
		padding: 10px;
		border-radius: 20px 20px 0px 0px;
	}
	
	.cat-btn,
	.post-cat-btn,
	.exclusive-cat-btn {
		padding: .7rem .7rem;
		font-size: 11px;
	}
	
	.exclusive-filter-buttons {
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
	}
	
	.last-posts-title {
		font-size: 24px;
		margin: 0em 0em 1em 0em;
	}
	
	.last-posts-structure {
		flex-direction: column;
		align-items: center;
		justify-content: space-between;
	}
	
	.posts-grid {
		grid-template-columns: repeat(1, 1fr);
		margin: 20px;
	}
	
	.featured-post-single {
		display: flex;
		flex-direction: column;
	}
	
	.featured-post-meta {
		margin-bottom: .5em;
	}
	
	.featured-post-category {
		font-size: 10px;
	}
	
	.featured-post-cat {
		font-size: 10px;
	}
	
	.featured-post-title  {
		font-size: 18px;
		letter-spacing: 0.1px;
		line-height: revert;
	}
	
	.featured-post-title-list {
		font-size: 18px;
		letter-spacing: none;
		line-height: revert;
	}
	
	.featured-post-date,  {
		font-size: 10px;
	}
	
	.featured-post-date-list {
		font-size: 10px;
	}
	
	.featured-post-item {
		display: flex;
		flex-direction: column;
	}
}

@media (min-width: 1024px) {
	.posts-grid {
		grid-template-columns: repeat(3, 1fr);
	}
})