
/* Fonts */
:root {
  --default-font: 'Playfair Display', serif, "Times New Roman", Times, serif, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: 'Playfair Display', serif, "Times New Roman", Times, serif, "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #C0C0C0; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2a2c39; /* Color for headings, subheadings and title throughout the website */
  /* --accent-color: #ef6603; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
   --accent-color: #000; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #ffffff;  /* The default color of the main navmenu links */
  --nav-hover-color: #000; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #060606; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #000; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #CCCDD0;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: ##CCCDD0;
  --default-color: #000;
  --heading-color: #000;
  --surface-color: #404356;
  --contrast-color: #ffffff;
}

.carousel-container1 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  /*min-height: 75vh;*/
  padding-top: 60px;
}
.scrolled .header {
  --background-color: rgba(42, 44, 57, 0.6);
}
.contact-card {
    padding: 2rem 1.5rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.contact-item {
    transition: all 0.3s ease;
    background: white;
}

.contact-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: #007bff !important;
}


.sitename { display: none;}


.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0 40px 0;
  text-align: center;
  position: relative;
}


.presentacion {
    font-style: italic;
       font-size: larger;

}

.presentacion p {
   max-width: 100% !important;

}

.presentacion .destacado {
    color: #0001FC ;
      font-size: larger;
}

.presentacion .leyenda {
        color: #000 !important ;
        font-weight: bold !important;
}

.presentacion .firma {
        color: #000 !important ;
        font-weight: bold !important;
        font-size: larger;

}

.presentacion ol {
    text-align: left;;
}



.infofirma {
  font-size: 1.2rem !important;
  display: grid !important;
  gap: 0.5rem;
  width: 100%;
  max-width: 400px;
          font-weight: bold !important;

}

/* Primera fila: nombre izquierda / ciudad derecha */
.fila-superior {
  display: flex;
  justify-content: space-between;
}

/* Segunda fila: etiquetas izquierda / fechas derecha */
.fila-inferior {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 2rem;
}

/* Distribución interna de etiquetas y fechas */
.etiquetas,
.fechas {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* Responsive: que no se superponga en pantallas chicas */
@media (max-width: 500px) {
  .fila-superior,
  .fila-inferior {
    flex-direction: column;
    align-items: flex-start;
  }
}



.post-card {
    width: 100%;
    padding: 0 !important;
    margin: 0;
    overflow: hidden;
}

.card-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.post-img {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    height: 250px;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
}

.post-img img {
    width: 100% !important;
    max-width: 100% !important;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.card-content {
    padding: 20px;
}