/* ============================
   Global anchor styles
   ============================ */

:root {
  --red: #da121a;
  --yellow: goldenrod;
  --purple: #630b57;
  --dark-text: #242424;
  --light-bg: #f6f6f6;
  --green: #078930;
  --light-border: #d6d6d6;
  --white: #ffffff;
  --gray: #6e6e6e;
  --golden:     repeating-linear-gradient(
      45deg,
      rgba(255, 215, 0, 0.8) 0px,
      rgba(255, 215, 0, 0.8) 2px,
      rgba(255, 215, 0, 0.2) 2px,
      rgba(255, 215, 0, 0.2) 4px
    ),
    linear-gradient(to bottom, #d4af37, #f9e07f, #d4af37);

  --shadow:
    0 10px 30px rgba(0,0,0,0.08);
  --font-size-base: 16px;
  --spacing-large: 2rem;

  --font-family-primary: 'Montserrat', sans-serif;
  --font-family-secondary: 'Open Sans', sans-serif;
}

a {
  --link-color: var(--dark-text);
  --link-hover: darken(var(--dark-text), 10%);
  --link-active: darken(var(--dark-text), 20%);
  --link-focus-outline: none;

  color: var(--link-color);
  text-decoration: none;
  transition: color 0.15s ease, text-decoration 0.15s ease;
}

a:hover {
  color: var(--link-hover);
  text-decoration: none;
  font-weight: 600;
}

a:active {
  color: var(--link-active);
  text-decoration: none;
  font-weight: 600;
}

a:focus {
  outline: 2px solid var(--link-focus-outline);
  outline-offset: 2px;
  text-decoration: none;
  font-weight: 600;
}

.messages  {
  max-width: 1200px;
  width: 100%;
  margin: 1rem auto;
  box-sizing: border-box;
}

/* ============================
   Image styles
   ============================ */



/* ============================
   Font
   ============================ */
body {
    font-size: 16px;;
    /* font-family: 'Inter', sans-serif; */
    font-family: var(--font-family-secondary);
    color: var(--dark-text);
    /* line-height: 1.7; */
}


h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem; 
  margin-top: 0;
  margin-bottom: 0;
}

.path-node-articulo h1 {
  margin-bottom: 1rem;
}

#block-profile-page-title {
  width: 100%;
  margin: 0 auto;
  padding: 2rem 1rem;
  box-sizing: border-box;
}

main .block-views h2,
.block-social-links h2 {
  display: inline-block;
  background: rgba(218,18,26,0.1);
  color: var(--red);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.block-views-blockvideos-block-1 {
    background: white;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    padding: 2rem;
}

.view-videos .view-content {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.view-videos .view-content .views-row {
    flex: 1;
}

.views-field-field-description {
    padding: 1rem 1rem 1rem;
    margin: 0;
    font-size: 1rem;
    color: var(--gray);
    line-height: 1.4rem;
}

.views-field-field-description .field-content {
     display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;  
}

.field--name-field-media-oembed-video iframe {
    width: 100%;
    height: auto;
}

#block-profile-sitiosdeinteresfooter h2 {
    font-size: 1rem;
}

#block-profile-sitiosdeinteresfooter .field--name-field-contenido p {
    display: flex;
    gap: 2rem;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

@media (min-width: 768px) {

  h1 {
    font-size: 2rem;
  }

  .path-node-articulo h1 {
    margin-bottom: 1.1rem;
  }

  #block-profile-page-title {
    width: 100%;
    margin: 0 auto;
    padding: 2rem 1rem;
  }
  
  .views-field-field-description {
      padding: 1rem 1.5rem 1.5rem;
      margin: 0;
      font-size: 1rem;
      color: var(--gray);
      line-height: 1.4rem;
  }

  .view-videos .view-content {
    flex-direction: row;
  }
  
  #block-profile-sitiosdeinteresfooter .field--name-field-contenido p {
    justify-content: space-between;
  }

}

@media (min-width: 1200px) {

  #block-profile-page-title {
    width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
  }

  h1 {
    font-size: 3rem;
  }

  .path-node-articulo h1 {
    margin-bottom: 1.2rem;
  }
  
  .views-field-field-description {
      padding: 1rem 2rem 2rem;
      margin: 0;
      font-size: 1rem;
      color: var(--gray);
      line-height: 1.4rem;
  }

}