/*
Theme Name: Macondo 1.1
Theme URI: https://macondo.com.ar/
Author: Galaxia Digital
Author URI: https://galaxiadigital.com.ar/
Description: Theme base desarrollado desde cero con Bootstrap 5.3.7
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: galaxia-from-the-scratch
*/

html,
body {
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background: url('assets/img/9.png') repeat;
  color: #fff;
}

/* =========================================================
   Fuentes & títulos
   ========================================================= */
@font-face {
  font-family: 'Posey';
  src: url('assets/fonts/PoseyRegular.woff2') format('woff2'),
       url('assets/fonts/PoseyRegular.woff') format('woff');
       url('assets/fonts/Posey Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

h1, h2 {
  font-family: 'Posey', 'Montserrat', system-ui, -apple-system,
	BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1 {
  font-size: 2.4rem;  /* móviles / pantallas chicas */
  line-height: 1.15;
  color: #f8ba65;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}
@media (min-width: 768px) {
  h1{
    font-size: 3rem;
    line-height: 1.15;
  }
}
@media (min-width: 1200px) {
  h1 {
    font-size: 3.4rem;
    line-height: 1.1;
  }
}

/* =========================================================
   Header
   - Normal (resto del sitio): 9.png repeat + overlay 10%
   - Front-page: NO tocar el bg del header-front (lo maneja .front-hero-bg + mountain3)
   ========================================================= */

/* Header normal (NO front header) */
header:not(.front-header){
  position: relative;
  background: url('assets/img/9.png') top repeat;
}

/* Overlay 10% */
header:not(.front-header)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.10);
  pointer-events: none;
  z-index: 0;
}

/* Contenido arriba del overlay */
header:not(.front-header) > *{
  position: relative;
  z-index: 1;
}

/* Front header: nunca forzar fondo (lo pone mountain3 en .front-hero-bg) */
body.home header.front-header,
body.front-page header.front-header{
  background: transparent !important;
}

/* En front-page, el menú desplegable (collapse) NO debe tener fondo */
@media (max-width: 991.98px) {
  body.home .front-header .navbar,
  body.home .front-header .navbar-collapse,
  body.front-page .front-header .navbar,
  body.front-page .front-header .navbar-collapse{
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
  }
}

.page-header{
 	position: relative;
	background: url('assets/img/bg-header-page.png') repeat-x bottom center;
}

footer{
	background: rgba(0,0,0,0.3);
}

.post-item.border-bottom {
  border-bottom: 1px solid rgba(60, 35, 20, 0.2) !important; /* marrón oscuro suave */
}
.post-nav.border-top {
  border-top: 1px solid rgba(60, 35, 20, 0.2) !important;
}
.section-contacto{
	background: rgba(0,0,0,0.2);
}
.text-muted{
	color: #fff!important;
}
/* =========================================================
   Alineaciones básicas de imágenes de WordPress
   ========================================================= */
img.alignleft,
.wp-block-image .alignleft {
  float: left;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

img.alignright,
.wp-block-image .alignright {
  float: right;
  margin-left: 1rem;
  margin-bottom: 1rem;
}

img.aligncenter,
.wp-block-image .aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   Cards específicas (carta / contacto)
   ========================================================= */

/* Carta / menú */
.card-menu {
  background-color: #3b2417;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.5);
  color: #f8f3e8;
}

.card-menu .card-title {
  color: var(--color-accent);
}

.card-menu .card-text {
  color: #f8f3e8;
}

/* Contacto – formulario sobre fondo oscuro */
.card-contact {
  background-color: #3b2417;
  border-radius: 0;
  border: 1px solid rgba(0, 0, 0, 0.5);
  color: #f8f3e8;
}

.card-contact .form-control {
  background-color: #2a1810;
  border-color: #5c3b27;
  color: #f8f3e8;
}

.card-contact .form-control::placeholder {
  color: rgba(248, 243, 232, 0.6);
}

.card-contact .form-label,
.card-contact .text-muted {
  color: #f8f3e8 !important;
}

/* =========================================================
   Actividades – polaroids
   ========================================================= */

/* Base: 2.png repeat */
.section-actividades {
  position: relative;
  background: url('assets/img/2.png') repeat;
}

/* Capa mountain por encima (fixed + cover) */
.section-actividades::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('assets/img/mountain.png') no-repeat bottom center;
  background-size: cover;
  background-attachment: fixed;
  pointer-events: none;
  z-index: 0;
}

/* Asegura que TODO el contenido quede arriba del mountain */
.section-actividades > * {
  position: relative;
  z-index: 1;
}

.polaroid-grid {
  margin-top: 1.5rem;
}

.polaroid-card {
  background-color: #FDF5EA;
  padding: 0.75rem 0.75rem 1.6rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.polaroid-photo {
  overflow: hidden;
  background-color: #000;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35);
  margin-bottom: 0.75rem;
}

.polaroid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.polaroid-caption {
  text-align: center;
}

.polaroid-caption span {
  font-family: 'Posey', 'Montserrat', system-ui, -apple-system,
               BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  color: var(--color-secondary);
  line-height: 1.3;
  display: block;
  min-height: 2.6em;
}



/* =========================================================
   Blog – Grilla de últimas entradas
   ========================================================= */

.blog-latest-grid {
  margin-top: 1.5rem;
}

.blog-latest-card {
  background-color: #FDF5EA;              /* papel cálido */
  border-radius: 0.75rem;
  padding: 0.75rem 0.75rem 1.6rem;        /* guiño a polaroid, más borde abajo */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.blog-latest-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}

/* Imagen destacada: marco tipo foto, 16:9 */
.blog-latest-card .post-thumb {
  border-radius: 0.55rem;
  overflow: hidden;
  background-color: #000;
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.35);
}

.blog-latest-card .post-thumb .ratio {
  border-radius: 0.55rem;
  overflow: hidden;
}

/* Categoría + título en Posey, marrón */
.blog-latest-card .post-category,
.blog-latest-card .post-title,
.blog-latest-card .post-title a {
  font-family: 'Posey', 'Montserrat', system-ui, -apple-system,
               BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: 0.03em;
  color: var(--color-secondary);
}

.blog-latest-card .post-category {
  font-size: 0.85rem;
  text-transform: uppercase;
}

/* Ajuste de título */
.blog-latest-card .post-title {
  font-size: 1.15rem;
  line-height: 1.25;
}

/* Meta y extracto neutros */
.blog-latest-card .post-meta {
  font-size: 0.85rem;
}

/* Texto de extracto */
.blog-latest-card .excerpt {
  color: #6b6b6b;
}

/* Navegación entre posts en single */
.post-nav a {
  color: #F5C742; /* reemplazá este hex por el amarillo de Macondo */
  text-decoration: none;
}

.post-nav a:hover,
.post-nav a:focus {
  color: #f8da63; /* un poquito más claro para hover, ajustá si querés */
  text-decoration: underline;
}

/* =========================================================
   Sidebar & buscador
   ========================================================= */

/* Títulos de los widgets del sidebar */
.sidebar .widget-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

/* Links dentro del sidebar */
.sidebar .widget a {
  color: #F5C742;
  text-decoration: none;
}

.sidebar .widget a:hover,
.sidebar .widget a:focus {
  color: #F5C742;
  text-decoration: underline;
}

/* =========================
   Search pill – sidebar
   ========================= */

.sidebar-search-pill .search-pill-wrapper {
  position: relative;
}

/* Campo de búsqueda: fondo blanco, sin borde, texto/placeholder negro */
.sidebar-search-pill .search-pill-input {
  border-radius: 999px;
  padding: 0.6rem 3rem 0.6rem 1rem;
  border: none;
  background: #fff;
  color: #000;
  font-size: 0.95rem;
  caret-color: #000;
}

.sidebar-search-pill .search-pill-input::placeholder {
  color: #000;
  opacity: 0.7;
}

.sidebar-search-pill .search-pill-input:focus {
  outline: 0;
  box-shadow: 0 0 0 0.15rem rgba(0, 0, 0, 0.10);
}

/* Botón lupa: negro, sin borde, sobre el input */
.sidebar-search-pill .search-pill-button {
  position: absolute;
  top: 50%;
  right: 0.6rem;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  color: #000;
  font-family: 'Posey', 'Montserrat', system-ui, -apple-system,
               BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.sidebar-search-pill .search-pill-button i {
  font-size: 0.9rem;
  color: #000;
}

/* Hover/focus: feedback suave */
.sidebar-search-pill .search-pill-button:hover,
.sidebar-search-pill .search-pill-button:focus {
  outline: 0;
  background: rgba(0, 0, 0, 0.06);
}

/* Espaciados de widgets */
.sidebar .widget {
  padding: 0 1rem;
}

.sidebar .widget_search {
  padding: 0;
}

/* =========================================================
   Paginación (blog, archivos) – blanco/negro/gris
   ========================================================= */

.pagination {
  --bs-pagination-color:              #000;
  --bs-pagination-hover-color:        #000;
  --bs-pagination-focus-color:        #000;
  --bs-pagination-active-color:       #fff;

  --bs-pagination-bg:                 #fff;
  --bs-pagination-border-color:       #cfcfcf;

  --bs-pagination-hover-bg:           #f2f2f2;
  --bs-pagination-hover-border-color: #bdbdbd;

  --bs-pagination-focus-bg:           #f2f2f2;
  --bs-pagination-focus-box-shadow:   0 0 0 0.15rem rgba(0, 0, 0, 0.15);

  --bs-pagination-active-bg:          #000;
  --bs-pagination-active-border-color:#000;

  --bs-pagination-disabled-color:     #9a9a9a;
  --bs-pagination-disabled-bg:        #fff;
  --bs-pagination-disabled-border-color: #e2e2e2;

  --bs-pagination-border-radius:      999px;
}

/* Opcional: redondear y achicar un poco el padding */
.pagination .page-link {
  padding: 0.4rem 0.85rem;
  text-decoration: none;
}

/* Elipsis / deshabilitados */
.pagination .page-item.disabled .page-link {
  color: #9a9a9a;
  border-color: #e2e2e2;
  background-color: #fff;
}

/* ============================================
   Archivo de Eventos (grid 4x)
   ============================================ */

.mc-evento-archive-item {
  background: transparent;
  border: 0;
}

/* Asegurar que la imagen ocupe todo el ancho del card */
.mc-evento-thumb img {
  display: block;
}

/* Meta: fecha + título */
.mc-evento-meta {
  text-align: center;
  color: #fff;
}

/* Fecha: Montserrat */
.evento-archive-date {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Título: Posey (o la script que uses para Macondo) */
.evento-archive-title {
  font-family: 'Posey', 'Allison', cursive;
  font-weight: 400;
  color: #fff;
}

.macondo-main, .page-main{
	padding-bottom: 80px!important;
}



.section-blog {
  /*  background: url('assets/img/leaf.png') no-repeat bottom center fixed;*/
  /*  background-size: cover;*/
  /*height: 100vh;*/ /* O ajustalo según tu necesidad */
}

.section-carta{
	  background: url('assets/img/1.png') repeat;
}


/* Footer: texto sin link en blanco */
.macondo-footer {
  color: #fff;
}

.macondo-footer .small,
.macondo-footer div,
.macondo-footer span,
.macondo-footer p {
  color: #fff;
}

/* Si querés mantener separadores en gris, dejá esto */
.macondo-footer .text-secondary {
  color: rgba(255,255,255,0.65) !important;
}

/* Links del footer siguen blancos */
.macondo-footer a {
  color: #fff;
}

.macondo-footer a:hover,
.macondo-footer a:focus {
  color: #fff;
}
