/**
Theme Name: Perimetrales San Carlos
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: perimetrales-san-carlos
Template: astra
*/

.site-title {
	display:none;
}

/** FIXED HEADER **/

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

body {
    padding-top: 75px;
}



/** POST GALLERY **/

.galeria-posts-ajax .filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}


.filter-btn {
  padding: 8px 16px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
	color: #305c9d;
	background:none;
}

.filter-btn.active {
  color: #ccc;
	background:none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr; }
}

.grid-item .thumb {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  max-height: 250px;
}

/*@media (min-width: 1400px) {
	.grid-item .thumb {
		max-height: 26.3rem;
		        min-height: 26.3rem;
	}
}*/

.grid-item img {
  width: 100%;
  display: block;
    width: 100%;
    display: block;
    object-fit: cover;
    height: 100%!important;
    width: auto;
    min-width: 100%;
    min-height: 18rem;

}

@media (min-width: 1400px) {
	.grid-item img {
		 min-height: 27rem;
	}
}


#posts-grid.loading {
  opacity: 0.4;
  pointer-events: none;
}
.grid-item .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 90, 180, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  padding: 20px;
}

.grid-item:hover .overlay {
  opacity: 1;
}

.overlay h3 {
  margin: 8px 0 0;
  font-size: 18px;
	color: white;
}

.overlay .cat {
  font-size: 14px;
  opacity: 0.85;
  text-transform: uppercase;
	color:white;
}

.pagination {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.page-btn {
  padding: 6px 12px;
  border: none;
  background: #ccc;
  cursor: pointer;
  border-radius: 5px;
}

.page-btn:hover {
  background: #305c9d;
  color: #fff;
}

.posts-loader {
  display: none;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.posts-loader.active {
  display: flex;
}

.posts-loader .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0,0,0,0.1);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}


.category-info {
	text-align:center;
}

/*
|--------------------------------------------------------------------------
| LAYOUT GRID
|--------------------------------------------------------------------------
*/

.productos-layout-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 34px;
}

@media (max-width: 1024px) {
	.productos-layout-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.productos-layout-grid {
		grid-template-columns: 1fr;
	}
}


/*
|--------------------------------------------------------------------------
| LAYOUT FEATURED
|--------------------------------------------------------------------------
*/

.productos-layout-featured {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.featured-item {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}

.featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 10px;
	display: block;
}

.featured-content h2 {
	margin-bottom: 15px;
}

.featured-content p {
	margin-bottom: 20px;
}

@media (max-width: 768px) {

	.featured-item {
		grid-template-columns: 1fr;
	}
}

.btn-more-info {
	background: #BED600;
	color: #454545;
	padding: 20px 13px;
	border-radius: 50px;
}

.btn-more-info::hover {
	background: #00A66E;
	color: #ffffff
	
}

.grid-item a {
	 text-decoration: none!important;
}

.grid-item h3 {
	color: #454545;
	font-size: 24px;
	font-weight:600;
	margin-bottom:5px;
	margin-top:30px;
}


.grid-item p {
	color: #454545;
	font-size: 18px;
	font-weight:400;
	margin-bottom:20px;
}

.grid-item .cat {
	display:none;
}