/**
Theme Name: Henisa
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: henisa
Template: astra
*/

/** HEADER **/

.flags-container{
	width: 80px;
    display: flex;
    justify-content: space-around;
	position: relative;
    top: -4px;
}

.ast-site-title-wrap{
	display:none;
}

.ast-desktop .ast-menu-hover-style-underline > .menu-item > .menu-link:before {
	 bottom: 35px!important;
}


/** 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;
}

/** HOME SLIDER **/


.hero-slider .sina-banner-container {
    background: white;
    border-radius: 20px;
    color: black;
    max-width: 635px;
    margin-left: 0;
    padding: 40px 80px;
	display: flex;
    flex-direction: column;
}


.hero-slider .sina-banner-container .sina-banner-title{
	order:1;
	color:#003164!important;
}

.hero-slider .sina-banner-container .sina-banner-desc{
	order:0;
	color:#003164!important;
	margin-bottom:10px!important;
}

.hero-slider .sina-banner-container .sina-banner-btns{
	order:2;
}

.hero-slider .owl-carousel.owl-drag .owl-item:nth-child(3n+2) .sina-banner-container{
  background:rgba(0,49,100,0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
    margin-left: auto;
    margin-right: 0;
}

.hero-slider .owl-carousel.owl-drag .owl-item:nth-child(3n+2) .sina-banner-container .sina-banner-title{
  color: white!important;
	
}

.hero-slider .owl-carousel.owl-drag .owl-item:nth-child(3n+2) .sina-banner-container .sina-banner-desc{
  color: white!important;	
}


.hero-slider .owl-carousel.owl-drag .owl-item:nth-child(3n+2) .sina-banner-container .sina-banner-btns .sina-banner-pbtn {
	background: white!important;
	color: #003164!important;
}

/** 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: 18rem;
  
}

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

.grid-item img {
  width: 100%;
  display: block;
}

#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); }
}
/** FOOTER **/

.footer-title{
	color:white;
	margin-bottom: 20px;
    font-size: 20px;
	text-align:left;
	position:relative;
}

.footer-title span {
	display: block;
	padding: 10px 10px 10px 0px;
}

.footer-title::before {
	content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}


.footer-contact{
	text-align:left;
}

.footer-description{
	font-size: 15px;
    line-height: 16px;
}

.footer-contact .contact-item {
	color: rgb(135, 135, 135);
	font-size:15px;
	margin-bottom:10px;
}

.footer-contact .contact-item a {
	color: rgb(135, 135, 135);
	font-size:15px;
}

.footer-contact .contact-item i{
	margin-right:5px;
}


/** CONTACT FORM **/

/* Contenedor general */
.wpcf7 form {
  max-width: 900px;
  margin: auto;
}

/* Filas */
.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 0!important;
}

/* 3 columnas */
.three-cols .form-group {
  flex: 1;
}

/* Grupo */
.form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.form-row-submit {
	    display: flex;
    justify-content: center;
}

/* Labels */
.form-group label {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

/* Inputs y textarea SIN border radius */
.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 0; /* ← quitamos el redondeado */
  font-size: 14px;
  transition: 0.3s ease;
}

/* Focus elegante */
.form-group input:focus,
.form-group textarea:focus {
  border-color: #003164;
  box-shadow: none;
  outline: none;
}

/* Textarea altura */
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

/* Botón centrado */
.form-row:last-child {
  justify-content: center;
}

/* Botón */
.wpcf7-submit {
  background: #003164;
  color: white;
  border: none;
  padding: 12px 40px;
  border-radius: 0; /* sin redondeado */
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease;
}

/* Hover */
.wpcf7-submit:hover {
  background: #001f3f;
}

/* Responsive */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}
