
/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

:root {

  --font-family: "Montserrat", Helvetica, Arial, sans-serif;
  --font-system: verdana, Arial, Helvetica, sans-serif;
  --font-nelphim : "Nelphim";
  --white: #ffffff;
  --black: #0a0a0a;
  --blue: rgb(46,61,117);
  --blue80: rgba(46,61,117,0.8);
  --blue60: rgba(46,61,117,0.6);
  --orange: rgb(220,119,26);
  --orange80: rgba(220,119,26,0.8);
  --orange60: rgba(220,119,26,0.6);
  --orange10: rgba(220,119,26,0.1);
  --green: rgb(92,164,157);
  --green80: rgba(92,164,157,0.8);
  --green60: rgba(92,164,157,0.6);
  --grey-light: rgb(246,246,246);
  --grey-medium: rgb(235,235,235);
  --grey-dark: rgb(192,192,192);
  --text-color: rgb(46,61,117);
  --text-color-grey: rgb(112,112,112);
  --container-width : 1200px;
  --header-height: 124px;
  --footer-height: 160px;
  --input-height: 44px;
  --radius-sm: 8px;

  --transition-in: 0.25s ease-in-out;
  --transition-out: 0.5s ease-in-out;



  --icon-checkbox: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(46,61,117)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  --icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(46,61,117)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --icon-chevron-button: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --icon-chevron-button-inverse: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  --icon-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(115, 130, 140)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  --icon-date: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(65, 84, 98)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
  --icon-invalid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(198, 40, 40)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='12'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
  --icon-minus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(255, 255, 255)' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E");
  --icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(65, 84, 98)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
  --icon-time: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(65, 84, 98)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpolyline points='12 6 12 12 16 14'%3E%3C/polyline%3E%3C/svg%3E");
  --icon-valid: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(56, 142, 60)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
}


@font-face {
    font-family: 'Nelphim ';
    src: url('../fonts/nephilm.woff2') format('woff2'),
         url('../fonts/nephilm.woff') format('woff');
    font-weight: 400;
    font-style: normal;

}

@font-face {
    font-family: 'Nelphim-italic';
    src: url('../fonts/nephilm_italic.woff2') format('woff2'),
         url('../fonts/nephilm_italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;

}




html {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; 
  
  -webkit-text-size-adjust: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

*,*:before,*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit; 
}

body {  
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;  
  
  font-family: var(--font-family);
  font-size: var(--font-size);
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1;

  background-color: var(--dark-blue);
  color: var(--text-color);

  margin: 0;
  padding: 0;
}

figure, section, article, aside, figcaption {margin:0; padding:0}

a { color: inherit; }
a, a:focus, a:hover, a:active { outline:none; text-decoration:none}

p, li { line-height: 1.5 }

button:focus {outline:0;}

button {
  background: none;
  background-color: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  border-radius: 0;
  border:none;
}

.mt0 { margin-top: 0 !important }
.mb0 { margin-bottom: 0 !important }


.mt1 { margin-top: 0.25rem !important }
.mb1 { margin-bottom: 0.25rem !important }

.mt2 { margin-top: 0.5rem !important }
.mb2 { margin-bottom: 0.5rem !important }

.mt3 { margin-top: 1rem !important }
.mb3 { margin-bottom: 1rem !important }

.mt4 { margin-top: 1.5rem !important }
.mb4 { margin-bottom: 1.5rem !important }

.mt5 { margin-top: 2rem !important }
.mb5 { margin-bottom: 2rem !important }

.image-responsive { width: 100%; height: auto }

.text-center { text-align: center; }

.text-sm {
  font-size: 0.875rem;
}

.color-orange { color: var(--orange); }
.color-blue { color: var(--blue); }
.color-grey { color: var(--text-color-grey); }


#header {
  position: absolute;
  left: 0;
  right: 0;
  top:0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  background-color: var(--white);
  box-shadow: 0px 8px 24px rgba(149, 149, 149, 0.2);
}


#header .inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;  
  padding: 0 4.5rem;
  gap: 4rem;
}

#header .logo {
  width: 192px;
  height: auto;
} 

#header nav { width: 100%; }
#header .top-menu {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

#header .top-menu li {
  display: block;
  position: relative;
}

#header .top-menu li.ml-auto { margin-left:auto; }

#header .top-menu li a {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--blue);
}

#header .top-menu li a:hover {
  color: var(--orange);
}

#header .top-menu li a.selected {
  font-weight: 700
}

#header .top-menu li a.button-orange {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background-color: var(--orange);
  color: var(--white);
  font-weight: 500;
  transition: background var(--transition-in);
}

#header .top-menu li a.button-orange:hover {
  background-color: var(--orange80);
  color: var(--white);
}


/* ===== SUBMENU DESKTOP ===== */
#header .top-menu li .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    padding: 10px 0;
    list-style: none;

    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition: all 0.25s ease;
    z-index: 1000;
}

#header .top-menu li .submenu li a {
    display: block;
    padding: 10px 20px;
}

/* Mostrar en hover (desktop) */
#header .top-menu li.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Indicador */
#header .top-menu li.has-submenu > a::after {
    content: "▾";
    margin-left: 2px;
    font-size: 0.925em;
}




#header.header-fixed {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  transition: background 0.25s ease-in, top 0.25s ease-in;
}

#header.header-fixed.header-over {
  background-color: rgba(255,255,255,0.95);
}

#header.header-fixed.header-hide {
  transition: background 0.5s ease-out, top 0.5s ease-out;
  top: calc(var(--header-height) * -1);
}






.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 3px;
  background: var(--blue);
  display: block;
  transition: all 0.3s ease;
}

/* OVERLAY */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}





#header .button-menu-resp {
  display: none;
  visibility: hidden;
}

.menu-block {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 10;
  }



.color-orange { color: var(--orange); }
.color-blue { color: var(--blue); }
.color-black { color: var(--black); }


.bgcolor-white { background-color: var(--white); }
.bgcolor-orange { background-color: var(--orange); }
.bgcolor-blue { background-color: var(--blue); }



.icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.icon.icon-chevron-right {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="M184 112l144 144-144 144"/></svg>') no-repeat center;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="M184 112l144 144-144 144"/></svg>') no-repeat center;
}

.icon.icon-chevron-down {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="M112 184l144 144 144-144"/></svg>') no-repeat center;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="48" d="M112 184l144 144 144-144"/></svg>') no-repeat center;
}

.icon.icon-caret-back {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path d="M321.94 98L158.82 237.78a24 24 0 000 36.44L321.94 414c15.57 13.34 39.62 2.28 39.62-18.22v-279.6c0-20.5-24.05-31.56-39.62-18.18z"/></svg>') no-repeat center;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path d="M321.94 98L158.82 237.78a24 24 0 000 36.44L321.94 414c15.57 13.34 39.62 2.28 39.62-18.22v-279.6c0-20.5-24.05-31.56-39.62-18.18z"/></svg>') no-repeat center;
}

.icon.icon-eye {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path d="M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 00-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 000-17.47C428.89 172.28 347.8 112 255.66 112z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><circle cx="256" cy="256" r="80" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"/></svg>') no-repeat center;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path d="M255.66 112c-77.94 0-157.89 45.11-220.83 135.33a16 16 0 00-.27 17.77C82.92 340.8 161.8 400 255.66 400c92.84 0 173.34-59.38 221.79-135.25a16.14 16.14 0 000-17.47C428.89 172.28 347.8 112 255.66 112z" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"/><circle cx="256" cy="256" r="80" fill="none" stroke="currentColor" stroke-miterlimit="10" stroke-width="32"/></svg>') no-repeat center;
}

.icon.icon-eye-off {
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path d="M432 448a15.92 15.92 0 01-11.31-4.69l-352-352a16 16 0 0122.62-22.62l352 352A16 16 0 01432 448zM255.66 384c-41.49 0-81.5-12.28-118.92-36.5-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 00.14-2.94L93.5 161.38a2 2 0 00-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 00-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0075.8-12.58 2 2 0 00.77-3.31l-21.58-21.58a4 4 0 00-3.83-1 204.8 204.8 0 01-51.16 6.47zM490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 00-74.89 12.83 2 2 0 00-.75 3.31l21.55 21.55a4 4 0 003.88 1 192.82 192.82 0 0150.21-6.69c40.69 0 80.58 12.43 118.55 37 34.71 22.4 65.74 53.88 89.76 91a.13.13 0 010 .16 310.72 310.72 0 01-64.12 72.73 2 2 0 00-.15 2.95l19.9 19.89a2 2 0 002.7.13 343.49 343.49 0 0068.64-78.48 32.2 32.2 0 00-.1-34.78z"/><path d="M256 160a95.88 95.88 0 00-21.37 2.4 2 2 0 00-1 3.38l112.59 112.56a2 2 0 003.38-1A96 96 0 00256 160zM165.78 233.66a2 2 0 00-3.38 1 96 96 0 00115 115 2 2 0 001-3.38z"/></svg>') no-repeat center;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" class="ionicon" viewBox="0 0 512 512"><path d="M432 448a15.92 15.92 0 01-11.31-4.69l-352-352a16 16 0 0122.62-22.62l352 352A16 16 0 01432 448zM255.66 384c-41.49 0-81.5-12.28-118.92-36.5-34.07-22-64.74-53.51-88.7-91v-.08c19.94-28.57 41.78-52.73 65.24-72.21a2 2 0 00.14-2.94L93.5 161.38a2 2 0 00-2.71-.12c-24.92 21-48.05 46.76-69.08 76.92a31.92 31.92 0 00-.64 35.54c26.41 41.33 60.4 76.14 98.28 100.65C162 402 207.9 416 255.66 416a239.13 239.13 0 0075.8-12.58 2 2 0 00.77-3.31l-21.58-21.58a4 4 0 00-3.83-1 204.8 204.8 0 01-51.16 6.47zM490.84 238.6c-26.46-40.92-60.79-75.68-99.27-100.53C349 110.55 302 96 255.66 96a227.34 227.34 0 00-74.89 12.83 2 2 0 00-.75 3.31l21.55 21.55a4 4 0 003.88 1 192.82 192.82 0 0150.21-6.69c40.69 0 80.58 12.43 118.55 37 34.71 22.4 65.74 53.88 89.76 91a.13.13 0 010 .16 310.72 310.72 0 01-64.12 72.73 2 2 0 00-.15 2.95l19.9 19.89a2 2 0 002.7.13 343.49 343.49 0 0068.64-78.48 32.2 32.2 0 00-.1-34.78z"/><path d="M256 160a95.88 95.88 0 00-21.37 2.4 2 2 0 00-1 3.38l112.59 112.56a2 2 0 003.38-1A96 96 0 00256 160zM165.78 233.66a2 2 0 00-3.38 1 96 96 0 00115 115 2 2 0 001-3.38z"/></svg>') no-repeat center;
}


.container {
  width: 100%;
  margin: 0 auto;
  max-width: var(--container-width);
}

.wrapper {
  position: relative;
  padding-top: var(--header-height);
  overflow-x: hidden;
  min-height: 100%;
  padding-bottom: var(--footer-height);
  background: var(--grey-light);
}

body[data-section=home] .wrapper {
  padding-top: 0;
}

body[data-section=library] .wrapper {
  background-color: var(--orange10);
}

.home {
  padding-top: clamp(500px, 100vh, 920px);
}

.home .hero-home {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  /*background-image: url('../images/hero-home-xl.jpg');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;*/
  height: 100vh;
  min-height: 500px;
  max-height: 920px;
  overflow: hidden;
  position: fixed;
  top: 0;
}

.home .hero-home .circle-right,
.home .hero-home .circle-left {
  position: absolute;
  width: auto;
  height: calc(100% + 100px);
  opacity: 0;
  transform: scale(1.2);
  filter: blur(16px);
  will-change: transform;
  transition: transform 0.3s ease;
}

.home .hero-home .circle-left {
  /*left: calc((100vw - 1920px) * 1);*/
  /*left: clamp(-400px, calc((100vw - 1920px) * 0.2), 0);*/
  left: -200px;
  bottom: -50px;
  z-index: 1;

}

.home .hero-home .circle-right {
  right: -80px;
  bottom: -250px;
  z-index: 2;
}

.home .hero-home .circle-right.blend-multiply {
  mix-blend-mode: multiply;
}
.home .hero-home .circle-right.blend-color {
  mix-blend-mode: color;
}


.home .hero-home .inner {
  position: relative;
  padding: calc(var(--header-height) + 4rem) 4.5rem 2rem;
  z-index: 3;
}

.home .hero-home .title {
  font-size: 6rem;
  line-height: 1.1;
  font-weight: 400;
  margin: 0;
  font-family: var(--font-nelphim);
  user-select: none;
}

.home .hero-home .logo-ff {
  position: absolute;
  width: 256px;
  height: auto;
  right: 2rem;
  top: calc(var(--header-height) + 4rem);
}


.title span {
    display: block;
    opacity: 0;
    transform: translateY(40px);
    filter: blur(6px);
}

.home-preload .hero-home {
  visibility: hidden;
}


.home .history-home {
  position: relative;
  background-color: var(--blue);
  padding: 4rem 0 3.5rem 0;
  color: var(--white);
  box-shadow: 0px 8px 24px rgba(149, 149, 149, 0.2);
}

.home .history-home .container {
  
}

.home .history-home .top-gr {
  display: flex;
  align-items: flex-end;
  gap: 3rem;
  margin-bottom: 2rem;
}

.home .history-home .top-gr .top-gr-left {
  text-align: right;
  font-size: 4.5rem;
  font-weight: 400;
  flex-shrink: 0;
  line-height: 0.9em;
}

.home .history-home .top-gr .top-gr-right {
    font-size: 1.35rem;
    line-height: 1.3em;
    text-align: justify;
}

.home .history-home .top-gr .top-gr-left > strong { font-size: 12rem; line-height: 1; font-weight: 800 }
.home .history-home .top-gr .top-gr-left > strong small { font-size: 4rem }

.home .history-home .bottom-gr {
  font-size: 1.2rem;
  line-height: 1.3;
  text-align: justify;
}

.home .history-home .logo-center {
  text-align: center;
  margin: 3rem 0 0;
}


.home .intro-home {
  position: relative;
  padding: 4.5rem 4.5rem 4.5rem;
  
  background-color: var(--grey-light);
}

.home .intro-home .inner {
  display: flex;
  flex-direction: column;
  gap:0.5rem;
  align-items: center;
}


.home .intro-home h2 {
  font-family: var(--font-nelphim);
  font-size: 4rem;
  font-weight: 400;
  text-align: center;
  margin: 0;
}

.home .intro-home p {
  font-size: 1.125rem;
}


.home .intro-home .video-container {
  position: relative;
  width: 66.666%;
  aspect-ratio: 16/9;
  background-color: var(--grey-medium);
  background: linear-gradient(335deg, rgba(235, 235, 235, 1) 0%, rgba(219, 219, 219, 1) 45%, rgba(212, 212, 212, 1) 50%, rgba(235, 235, 235, 1) 100%);
  border-radius: 1.125rem;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.home .intro-home .video-container iframe {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}


.home .claim-home {
  position: relative;
  padding: 4rem 4.5rem 4rem;
  text-align: center;
  background-color: var(--grey-medium);
}

.home .claim-home h3 {
  color: var(--orange);
  font-size: 3rem;
  line-height: 1.35;
  font-weight: 400;
  margin: 0;
}

.home .claim-home .circle {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 200px;
}


.home .secciones-home {
  position: relative;
  padding: 5rem 0;
  background-color: var(--white);
}

.home .secciones-home .menu-secciones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap:3rem 2rem; 
  list-style: none;
  margin: 0;
  padding: 0;
}

.home .secciones-home .menu-secciones li {
  margin: 0;
  padding: 0;
  flex: 1 0 30%;
  max-width: 33%;
}

.home .secciones-home .menu-secciones li a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap:1rem;
}

.home .secciones-home .menu-secciones li a > img {
  width: auto;
  height: 100px;
  opacity: 1;
  transition: opacity 1s ease-out, transform 1s ease-out
}


.home .secciones-home .menu-secciones li a > span {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.home .secciones-home .menu-secciones li a:hover img {
  opacity: 0.65;
  transition: opacity 0.25s ease-in, transform 0.25s ease-in;
  transform: translate(0, -10px);
}


.registro {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0 2.5rem;
}

.mi-perfil {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0 2.5rem;
}


.contacto {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0 2.5rem;
}


.box-rounded {
  width: 100%;
  max-width: 960px;
  padding: 3rem;
  border-radius: 2rem;
  background-color: var(--white);
  /*box-shadow: 0 0 16px rgba(128, 128, 128, 0.25);*/
  /*box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;*/
  box-shadow: rgba(0, 0, 0, 0.1) 0px 8px 16px -3px, rgba(0, 0, 0, 0.05) 0px 0 12px -2px;
}


.library {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 0 2.5rem;
}

.library .library-hero {
  display: flex;
  flex-direction: column;
  gap:1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.library .library-hero .icon-library {
  width: 64px;
}

.library .library-hero h3 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 400;
  margin: 2rem 0 0;
}


.library .library-hero .button-primary-big {
  font-size: 1.5rem;
  padding: 1.2rem 4rem;
  margin-top: 3rem;
}


.container-section {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 5rem 4.5rem 4rem;
}


.section-header {
  display: flex;
  gap:5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.section-header .logo-section {
  width: auto;
  height: 224px;
}

.section-header .section-excerpt {

}

.section-header .section-excerpt p {
  font-size: 1.5rem;
}


.container-academy {

  padding: 0;

}

.container-academy .menu-academy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap:5rem;
}

.container-academy .menu-academy .button-academy {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  overflow: hidden;
}


.container-academy .menu-academy .button-academy:after {
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  content: "";
  transition: transform 0.5s ease-in-out;
}

.container-academy .menu-academy .button-academy > span {
  position: relative;
  display: block;
  width: 100%;
  font-size: 1.325rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  color: var(--white);
  z-index: 1;
}

.container-academy .menu-academy .button-academy.button-orange {
  background-color: var(--orange);
}

.container-academy .menu-academy .button-academy.button-orange:after {
  background-color: #c53806;
  transform: translate(0,80%) scale(1);
}



.container-academy .menu-academy .button-academy.button-blue {
  background-color: var(--blue);
}


.container-academy .menu-academy .button-academy.button-blue:after {
  background-color: #080e35;
  transform: translate(45%,-65%) scale(1)
}

.container-academy .menu-academy .button-academy.button-green {
  background-color: var(--green);

}

.container-academy .menu-academy .button-academy.button-green:after {
  background-color: #0f6b61;
  transform: translate(45%, 65%) scale(1)
}

.container-academy .menu-academy .button-academy.button-orange:hover:after {
  transform: translate(0,-80%) scale(1.5);
}

.container-academy .menu-academy .button-academy.button-blue:hover:after {
  transform: translate(-45%,65%) scale(1.5);
}

.container-academy .menu-academy .button-academy.button-green:hover:after {
  transform: translate(-45%, -65%) scale(1.5);
}

#sentinel {
  width: 10px;
  height: 10px;
}

.section-grid-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /*grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));*/
  gap: 2.5rem 3rem;
  /*min-height: 40vh;*/
  align-items: stretch; /* 👈 clave */
}

.section-grid-container.grid-3col {
  grid-template-columns: repeat(3, 1fr);
  /*grid-template-columns: repeat(auto-fill, minmax(412px, 1fr));*/
}

.section-grid-container.grid-4col {
  grid-template-columns: repeat(4, 1fr);
  /*grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));*/
}

.section-grid-container.grid-5col {
  grid-template-columns: repeat(5, 1fr);
  /*grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));*/
}

.section-grid-container .grid-empty {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0px);
    padding: 1rem 2rem;
    background-color: var(--blue);
    color: var(--white);
    font-size: 1.125rem;
    border-radius: 0.5rem;
}


.section-grid-container .card.grid-year > div {
    border-radius: 1.125rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--blue);
    aspect-ratio: 16/9;
}

.news .section-grid-container .card {
  height: 100%;
}

.news .section-grid-container .card.grid-year > div { aspect-ratio:inherit; height: 100%; }

.section-grid-container .card.grid-year h3 {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--blue);
    color: var(--white);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    border-radius: 1.125rem;

}

.grid-year.visible {
    opacity: 1;
    transform: translateY(0);
}

.grid-container .card {
  /*max-width: 272px;*/
  /*opacity: 0;
  transform: translateY(20px);
  transition: 
    opacity 0.5s ease,
    transform 1s ease;
  will-change: opacity, transform;*/
}

.grid-container .card.visible {
  opacity: 1;
  transform: translateY(0);
}

.grid-container .card a {
  display: flex;
  flex-direction: column;
  gap:0.875rem;
}

.grid-container .card-image {
  border-radius: 1.125rem;
  background-color: var(--white);
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.grid-container .card-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: opacity var(--transition-out);
}

/* CONTENIDO */
.grid-container .card-content {
  display: flex;
  align-items: flex-start;
  gap:1rem;
}

.grid-container .card-info {
  /*flex: 1 1 100%;*/
}
.grid-container .card-date {
  display: block;
  padding: 0.25rem 0;
  font-size: 0.875rem;
  color: var(--orange);
  font-weight: 600;
}

.grid-container .card-title {
  font-size: 1rem;
  line-height: 1.35;
  font-weight: 400;
  color: var(--blue);
  margin: 0.25em 0 0 0;
  line-height: 1.25;
  word-wrap: break-word;       /* Permite romper palabras largas */
  overflow-wrap: break-word;   /* estándar moderno */
  hyphens: auto; 
  text-underline-offset: 2px;
}

.grid-container .card-likes {
  position: relative;
  display: flex;
  flex-direction: column;
  gap:0.5rem;
  padding-top: 0.5rem;
  margin-left: auto;
}

.grid-container .card-likes i {
  display: block;
  width: 28px;
  height: 25px;
  -webkit-mask: url('../images/icon-like-off.svg') no-repeat 50% 50%/28px 25px;
  mask: url('../images/icon-like-off.svg') no-repeat 50% 50%/28px 25px;  
  background-color: var(--orange);
}
.grid-container .card-likes span {
  width: 22px;
  font-size: 0.75rem;
  text-align: center;
  height: 22px;
  background-color: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  line-height: 1.1;
  position: absolute;
  bottom: -9px;
  right: -9px;
}



.grid-container .card.card-news {
  background-color: var(--white);
  padding: 1.75rem 1.5rem;
  border-radius: 1.125rem;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.grid-container .card.card-news .card-title {
  font-size: 0.925rem;
  line-height: 1.35;
  font-weight: 700; 
  margin: 0 0 0.25em 0;

}


.grid-container .card.card-news .card-date {
  font-weight: 400;
}

.grid-container .card.card-news .card-medio {
  display: block;
  font-size: 0.875rem;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
}


.grid-container .card a:hover .card-title {
  text-decoration: underline;
}
.grid-container .card a:hover .card-image img {
  transition: opacity var(--transition-in);
  opacity: 0.75;
}


/* CURSOS */

.container-cursos {
  display: flex;
  flex-direction: column;
  gap:4rem;
}


.container-cursos .curso {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 5rem;
  padding: 0 0 4rem 0;
  border-bottom: 1px solid var(--grey-dark);
}

.container-cursos .curso a.anchor {
  position: absolute;
  margin-top: -2.5rem;
}

.container-cursos .curso:last-of-type { border-bottom: none; }

.container-cursos .curso .curso-info {
  width: 33%;
}

.container-cursos .curso .curso-info .title-curso {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 0.5em 0;
}

.container-cursos .curso .curso-info {

}

.container-cursos .curso .curso-info p {
  font-size: 1.125rem;
}

.container-cursos .curso .curso-info a {
  text-decoration: underline;
  font-weight: 600;
}

.container-cursos .curso .curso-grid-container {
  width: 67%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
  gap: 2.5rem 3rem;
  /*min-height: 40vh;*/
}



/* VISOR DE VIDEO E INFORMACION */


.container-visor {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 5rem 4.5rem 4rem;
  display: flex;
  align-items: flex-start;
  gap: 5rem;
}

.container-visor .visor-info {
  width: 33%;
}

.container-visor .visor-info h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 0.5em 0;
}

.container-visor .visor-info .date {
  color: var(--orange);
}

.container-visor .visor-info .info-video {

}

.container-visor .visor-info .info-autores,
.container-visor .visor-info .info-video {
  margin-top: 1.5rem;
}

.container-visor .visor-info .info-autores h3,
.container-visor .visor-info .info-video h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0 0 0.25em 0;
}

.container-visor .visor-info .info-autores p,
.container-visor .visor-info .info-video p {
  font-size: 0.875rem;
  margin: 0.75em 0;
}

.container-visor .visor-info .info-autores a,
.container-visor .visor-info .info-video a {
  text-decoration: underline;
  font-weight: 600;
}






.container-visor .visor-video {
  width: 67%;
}






.container-visor .visor-video .video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-color: var(--grey-medium);
  background: linear-gradient(335deg, rgba(235, 235, 235, 1) 0%, rgba(219, 219, 219, 1) 45%, rgba(212, 212, 212, 1) 50%, rgba(235, 235, 235, 1) 100%);
  border-radius: 1.125rem;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.container-visor .visor-video .video-container iframe {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}


.container-visor .visor-video .video-options {
  display: flex;
  gap:2rem;

  padding: 2rem 0;
}



.container-visor .visor-video .video-options .dropdown {
  max-width: 198px;
  position: relative;
  width: 100%;
  margin-left: auto;
  z-index: 1;
}


.container-visor .visor-video .video-options .dropdown .dropdown-btn {    
  width: 100%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap:0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 1.125rem;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
  color: var(--white);
  background-color: var(--orange);
  transition: background .3s ease-out, border .3s ease-out, color .3s ease-out;
}


.container-visor .visor-video .video-options .dropdown .dropdown-btn:hover {
  background-color: var(--orange80);
}


.container-visor .visor-video .video-options .dropdown .dropdown-btn .icon { width: 21px; height: 21px; color:var(--white); }


.container-visor .visor-video .video-options .dropdown .dropdown-content {
  list-style: none;
  position: absolute;
  top: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  visibility: hidden;
  
}

.container-visor .visor-video .video-options .dropdown .dropdown-content li {
  display: block;
  margin: 0;
}


.container-visor .visor-video .video-options .dropdown .dropdown-content li a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--white);
  margin: 0;
  text-decoration: none;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1;
  border-top: 1px solid var(--white);
  background-color: var(--orange);
  transition: background .3s ease-out, border .3s ease-out, color .3s ease-out;
}


.container-visor .visor-video .video-options .dropdown .dropdown-content li a:hover {
  background-color: var(--orange80);
}


.container-visor .visor-video .video-options .dropdown .dropdown-content li:last-of-type a { border-bottom-left-radius:var(--radius-sm); border-bottom-right-radius:var(--radius-sm) }


.container-visor .visor-video .video-options .dropdown:focus-within .dropdown-content {
  visibility: visible;
} 


.container-visor .visor-video .video-options .dropdown:focus-within .dropdown-btn {
  border-bottom-left-radius:0;
  border-bottom-right-radius:0
}



.container-visor .visor-video .video-options .button-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap:0.325rem;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--blue);
}

.container-visor .visor-video .video-options .button-back .icon {
  width: 24px;
  height: 24px;
}

.container-visor .visor-video .video-options .button-back:hover {
  color: var(--blue80);
}






/* VISOR NOTICIAS */

.container-visor-news {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 5rem 4.5rem 4rem;
  display: flex;
  gap: 5rem;
}

.container-visor-news .circle {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 400px;
  height: auto;
}

.container-visor-news .visor-info {
  position: relative;
  width: 33%;
  min-height: 100%;
}

.container-visor-news .visor-info h1 {
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 0.5em 0;
}


.container-visor-news .visor-info .date {

}

.container-visor-news .visor-info .medio {
  font-size: 1rem;
  margin-top: 0.5rem;
}

.container-visor-news .visor-info .medio a {
  text-decoration: underline;
  font-weight: 600;
}

.container-visor-news .visor-info .noticia-images {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
}

.container-visor-news .visor-info .noticia-images > img {
  display: block;
  border-radius: 1rem;
  aspect-ratio: 4/3;
  width: calc(50% - 0.75rem);
  object-fit: cover;
}



.container-visor-news .visor-news {
  width: 67%;
}

.container-visor-news .visor-news .body-noticia .excerpt {
    margin: 0 0 1.5em 0;
    font-size: 1.325rem;
    font-weight: 600;
    color: var(--orange);
}


.container-visor-news .visor-news .news-options {
  display: flex;
  gap:2rem;
  align-items: flex-start;
  padding: 2rem 0;
}

.container-visor-news .visor-news .news-options .button-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap:0.325rem;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--blue);
}

.container-visor-news .visor-news .news-options .button-back .icon {
  width: 24px;
  height: 24px;
}

.container-visor-news .visor-news .news-options .button-back:hover {
  color: var(--blue80);
}




/* LIKES CONTENIDOS */


.like-container {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 1.5rem; 
  background-color: var(--grey-medium);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  
}

.like-container > span {
  font-size: 1rem;
  line-height: 1;
  font-weight: 600;
  color: var(--orange);
}

.like-container > small {
  margin-left: 0.75rem;
  font-weight: 700;
  color: var(--blue);
}

.button-like {
  width: 28px;
  height: 25px;
  -webkit-mask: url('../images/icon-like-off.svg') no-repeat 50% 50%/28px 25px;
  mask: url('../images/icon-like-off.svg') no-repeat 50% 50%/28px 25px;  
  margin-left:12px;
  background-color: #a7a7a7;
  margin-left: 3rem;
}


.button-like:hover,
.button-like.selected {
  -webkit-mask: url('../images/icon-like-on.svg') no-repeat 50% 50%/28px 25px;
  mask: url('../images/icon-like-on.svg') no-repeat 50% 50%/28px 25px;  
  background-color: var(--orange);
}






/* BREADCRUMBS */

.breadcrumb {
  padding: 0 0 1rem 0;
  font-size: 0.875rem;
  line-height: 1.35;
  text-align: left;
}

.breadcrumb a,
.breadcrumb span,
.breadcrumb .icon {
  vertical-align: middle;
}

.breadcrumb .icon { color:var(--blue); }
.breadcrumb span { font-weight: 400; }

.breadcrumb a { font-weight: 600; color:var(--blue); }

.breadcrumb a:hover {
  text-decoration: underline;
}





/* PROJECTS */

.item-project {
  display: flex;
  flex-direction: column;
  gap:0;
  align-items: center;
  text-align: center;
}

.item-project h2 {
  font-size: 3rem;
  margin: 0 0 0.5em 0;
  text-align: center;
}

.item-project .excerpt {
  width: 100%;
  max-width: 900px;
}

.item-project .video-container {
  position: relative;
  width: 66.666%;
  aspect-ratio: 16/9;
  background-color: var(--grey-medium);
  background: linear-gradient(335deg, rgba(235, 235, 235, 1) 0%, rgba(219, 219, 219, 1) 45%, rgba(212, 212, 212, 1) 50%, rgba(235, 235, 235, 1) 100%);
  border-radius: 1.125rem;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.item-project .video-container iframe {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.item-project .button { margin-top: 1.5rem }


/* FORMULARIOS */

.input-field-container {
  display: flex;
  flex-wrap: wrap;
  margin-left: -0.75rem;  
  margin-right: -0.75rem;
}

.input-field-container.flex-center { justify-content: center; }
.input-field-container.align-center { align-items: center; }

.input-field-container .col {
  flex: 0 0 100%;
  max-width: 100%;
  padding: 0 0.75rem;
  margin-bottom: 1.25rem;
}


.input-field-container .col-25 {
  flex: 0 0 25%;
  max-width: 25%;
}

.input-field-container .col-33 {
  flex: 0 0 33.33%;
  max-width: 33.33%;
}


.input-field-container .col-50 {
  flex: 0 0 50%;
  max-width: 50%;
}


.input-field-container .col-66 {
  flex: 0 0 66.67%;
  max-width: 66.67%;
}




label.label {
  display: block;
  font-size: 0.925rem;
  font-weight: 600;
  margin: 0 0 0.5em 0;
}


input, select, textarea {
    font-family: var(--font-family);
    font-size: 1rem;
    line-height: 1;
    background-color: var(--grey-light);
    color: var(--text-color);
    box-shadow: none;
    border: 1px solid var(--grey-medium);  
    border-radius: 0.5rem;  
    outline: 0;
    font-weight: 400;
    transition: background-color var(--transition-in),border-color var(--transition-in),color var(--transition-in),box-shadow var(--transition-in);
}



input:not([type=checkbox],[type=radio]), select {
    width: 100%;
}

textarea {
    width: 100%;
    line-height: 1.35;
    border-radius: 0.25rem;  
}

input:not([type=checkbox],[type=radio],[type=range],[type=file]), select, textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0.5rem 1.25rem;
    margin: 0;
}

select:not([multiple],[size]) {
    padding-right: 2.5rem;
    padding-left: 1rem;
    -webkit-padding-start: 1rem;
    padding-inline-start: 1rem;
    -webkit-padding-end: 2.5rem;
    padding-inline-end: 2.5rem;
    background-image: var(--icon-chevron);
    background-position: center right 0.75rem;
    background-size: 1rem auto;
    background-repeat: no-repeat;
    height: var(--input-height);
}

select option {
  /*color: var(--dark-blue);*/
  font-weight: 400;
}

select option[value=""][disabled] {
  display: none;
}


input:not([type=checkbox],[type=radio],[type=range]) {
    height: var(--input-height);
}

input:not([type=submit],[type=button],[type=reset],[type=range],[type=file],[readonly]):focus, select:focus, textarea:focus {
    box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.80);
}

:where(select,textarea):is(:active,:focus), input:not([type=submit],[type=button],[type=reset],[role=switch],[readonly]):is(:active,:focus) {
    border-color: var(--grey-dark) !important
}

input[type="time"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(100%);
}




input::-webkit-input-placeholder,
input::placeholder,
select:invalid,
textarea::-webkit-input-placeholder,
textarea::placeholder {
    color: var(--grey-dark);
    opacity: 1;
    font-weight: 400;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}



input:disabled, select:disabled, textarea:disabled, select:disabled,
input[readonly], select[readonly], textarea[readonly], select[readonly] {
/*    border-color: #b0b0b0 !important;*/
    opacity: 0.75 !important;
   
}

fieldset {
    display: flex;
    margin: 0;
    padding: 0;
    border: 0;
}

fieldset legend, 
fieldset label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.925rem;
    font-weight: 400;
    color: var(-blue);
}

fieldset label {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

fieldset label span {
  font-size: 0.925rem;
  font-weight: 500;
  line-height: 1;
}

fieldset label input { 
  flex-shrink: 0;
  line-height: 1;
}



.input-field-container .legend {
  display: block;
  padding: 0.75rem 0 0 1rem;
  font-size: 0.875rem;
  font-style: italic;
}

.group-field fieldset {
    flex-direction: column;
    gap:0.75rem;
}

.group-field-flex {
    display: flex;
    align-items: center;
    gap: 0.5rem 2rem;
}

.group-field-flex.group-field-flex-wrap {
    flex-wrap: wrap;
}

[type=checkbox], [type=radio] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 1.25em;
    height: 1.25em;
    margin-top: 0;
    margin-right: 0;
    margin-left: 0;
    -webkit-margin-start: 0;
    margin-inline-start: 0;
    -webkit-margin-end: 0;
    margin-inline-end: 0;
    border-width: 1px;
    font-size: inherit;
    vertical-align: middle;
    cursor: pointer;
    border-radius: 3px;
    padding: 0;
}

[type=radio] {
    border-radius: 50%;
}

[type=checkbox]:checked,
[type=checkbox]:checked:active,
[type=checkbox]:checked:focus,
[type=radio]:checked,
[type=radio]:checked:active,
[type=radio]:checked:focus {
    background-color: var(--grey-light);
    border-color: var(--blue);
    background-image: var(--icon-checkbox);
    background-position: center;
    background-size: 0.75em auto;
    background-repeat: no-repeat;
}

[type=radio]:checked,
[type=radio]:checked:active,
[type=radio]:checked:focus {
    background-color: var(--grey-light);
    border-width: 0.35em;
    background-image: none;
}


[type=checkbox], [type=radio], [type=range], progress {
    accent-color: var(--blue60);
}




:where(input,select,textarea):not([type=checkbox],[type=radio])[aria-invalid] {
    padding-right: 2.5rem!important;
    padding-left: 1rem;
    -webkit-padding-start: 1rem;
    padding-inline-start: 1rem;
    -webkit-padding-end: 2.5rem!important;
    padding-inline-end: 2.5rem!important;
    background-position: center right 0.75rem;
    background-size: 1rem auto;
    background-repeat: no-repeat;
}

:where(input,select,textarea):not([type=checkbox],[type=radio])[aria-invalid=true] {
    background-image: var(--icon-invalid);
}

:where(input,select,textarea)[aria-invalid=true] {
    border-color: #c62828 !important;
}

:where(input,select,textarea):not([type=checkbox],[type=radio])[aria-invalid=false] {
    background-image: var(--icon-valid);
}

:where(input,select,textarea)[aria-invalid=false] {
    border-color: #388e3c !important;
}



.mandatory {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--orange);
}


.input-password { position:relative; }
.input-password input {
    padding-right: 3rem;
}


.input-password button.toggle-password {
  display: flex;
  align-items: center;
  justify-content: center;
    position: absolute;
    right: 0;
    top:0;
    width: 3rem;
    height: 44px;
    color: var(--blue);
}

.input-password button.toggle-password .icon.icon-eye {
  display: none;
}

.input-password button.toggle-password.active .icon.icon-eye {
    display: block;
}
.input-password button.toggle-password.active .icon.icon-eye-off{
    display: none;
}


.box-form p.input-data {
  display: block;
  font-family: var(--font-family);
  font-size: 1rem;
  line-height: 1;
  background-color: var(--grey-light);
  color: var(--text-color);
  border: 1px solid var(--grey-medium);  
  border-radius: 0.5rem;  
  outline: 0;
  font-weight: 400;
  -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0.75rem 1.25rem;
    margin: 0;
    /*height: var(--input-height);*/
}



/* BUTTONS */



.button {
    display: inline-block;
    min-width: 150px;
    margin: 0;
    border-radius: 0;
    outline: 0;
    text-align: center;
    cursor: pointer;
    transition: background-color var(--transition-in),border-color var(--transition-in),color var(--transition-in);
    font-family: var(--font-family);
}


.button-primary {
    width: auto;
    padding: 0.625rem 1.25rem 0.625rem;
    font-size: 1.125rem;
    line-height: 1;
    font-weight: 400;
    background-color: var(--orange);
    border-color: var(--orange);
    color: var(--white);  
    border-radius: var(--radius-sm); 
    text-transform: uppercase; 
}

.button-primary.button-primary-big {
  padding: 0.875rem 1.5rem;
}

.button-primary.button-primary-blue {
  background-color: var(--blue);
}

.button-primary:hover {
    background-color: var(--orange80);
    border-color: var(--orange);
    color: var(--white);
}

.button-primary.button-primary-blue:hover {
  background-color: var(--blue80);
}



.button.btn--waiting {
  background-color: var(--orange60);
  cursor: wait;
}


/*.button-secondary {
    font-size: 1rem;
    font-weight: 600;
    padding: 0.45rem 1.25rem 0.35rem;
    background-color: var(--primary);
    border-color: var(--white);
    color: var(--white);  
    border-radius: 32px;   
    min-width: 148px;  
}

.button-secondary:hover {
    background-color: var(--secondary);
    border-color: var(--white);
    color: var(--white);
}


.button-primary:disabled,
.button-secondary:disabled {
    background-color: var(--grey-medium);
    cursor: not-allowed;
}


.button-size-xl {
    padding: 1.5rem 2.5rem;
}*/

.button:disabled {
    background-color: #7d7d7d40;
    border-color: #7d7d7d;
    color: #7d7d7d;
}
button.underlink,
a.underlink {
  text-decoration: underline;
  text-underline-offset: 2px;
}
button.underlink:hover,
a.underlink:hover {
  text-decoration: underline;
  color: var(--blue80);
}


.box-form h2 {
  margin: 0 0 1em 0;
}

.box-form .form-options {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.box-form .form-options.form-options-center {
  justify-content: center;
}

































#footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;  
  display: flex;
  justify-content: center;
  width: 100%;
  height: var(--footer-height);
  background-color: var(--blue);
}

#footer .inner {
  display: flex;
  flex-direction: column;
  gap:1.5rem;
  align-items: center;
  justify-content: center;
  padding: 1rem 4.5rem;
}

#footer .logo {
  width: 400px;
  height: auto;
}

#footer .footer-menu {
  display: flex;
  align-items: center;
  gap:0;
  margin: 0;
  padding: 0;
  list-style: none;
}

#footer .footer-menu li {
  display: block;
  padding: 0.125rem 1rem;
  line-height: 1;
  border-right: 1px solid var(--white);

}

#footer .footer-menu li:last-of-type { border-right: none;}

#footer .footer-menu li a {
  font-size: 0.75rem;
  line-height: 1;
  text-align: center;
  color: var(--white);;
  text-transform: uppercase;
  text-decoration: none !important
}


#footer .footer-menu li a:hover { text-decoration: underline !important;}







#modalPopupLogin.remodal {
  padding: 3rem 3.5rem 2rem;
  background-color: var(--white);
  
}

#modalPopupLogin .box-form {
  text-align: left;
}

#modalPopupLogin .box-form .form-options .button-switch {
  margin-left: auto;
  color: var(--blue);
  font-size: 1rem;
}




/* Documentacion legal */

.legal-container {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  background-color: var(--white);
  padding: 3rem;
}


.legal-wrap { 
  font-size: 0.875rem;
  font-weight: 400;
}

.legal-wrap h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;

}

.legal-wrap h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5em;

}

.legal-wrap h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1em;

}

.legal-wrap a { color: var(--blue); font-weight: 500 }

.legal-wrap p,
.legal-wrap li {  line-height: 1.5; margin: 0.5em 0 }




.remodal {
  color: var(--text-color);
  border-radius: 1rem 0 1rem 1rem;
  padding: 2.5rem 3.5rem 2rem;
}


.remodal-close {
    position: absolute;
    top: 0;
    left: inherit;
    right: 0;
    display: block;
    overflow: visible;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
    text-decoration: none;
    color: var(--orange);
    border: 0;
    outline: 0;
    background: transparent;
}


.remodal-close:before {
  font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important;
  font-size: 45px;
  line-height: 50px;

  position: absolute;
  top: 0;
  left: 0;

  display: block;

  width: 50px;

  content: "\00d7";
  text-align: center;
}


.remodal .modalTitle {
  font-size: 1.325rem;
  font-weight: 600;
}


.remodal-confirm,
.remodal-cancel {
  margin: 0.5rem 1rem;
}


#cookiesBlock {
  position: fixed;
  display:none;
  z-index: 98;
  top:0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #787878;
  background-color: rgba(0,0,0,0.7);
  cursor: wait;
}

#cookiesBar {
  width:100%;
    display:none;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    text-align:center;  
    background-color:var(--blue80);
    color:var(--white);
    z-index:99;
}
 
#cookiesBar .inner {
    padding:10px 20px 20px 20px;
    font-size:1em;
}

#cookiesBar p {
  text-align:center;
  font-size:14px;
  line-height:1.3em;
  color:var(--white)
}

#cookiesBar a {
  color:var(--white);
  text-decoration:underline;
}

#cookiesBar a.ok {
  display:inline-block;
  margin:0.75rem 0 0;
  padding:0.75rem 1.5rem;
  color:var(--white);
  background-color:var(--orange);
  font-size:14px;
  line-height:1em;
  text-decoration:none;
  text-transform:uppercase;
}

#cookiesBar a.ok:hover {
  background-color:var(--orange80);
  color:var(--white);
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


@media only screen and (max-width: 1650px) {

  :root {
    --header-height: 100px;
    --footer-height: 140px;
  }

  #header .inner {
    padding: 0 3rem;
    gap:3rem;
  }

  #header .logo { width: 192px; }
  #header .top-menu { gap: 2rem }
  #header .top-menu li a { font-size: 1rem }

  .home .hero-home .inner {
    padding: calc(var(--header-height) + 3.5rem) 3.5rem 2rem;
  }

  .home .hero-home .title {
    font-size: 6rem
  }

  .home .hero-home .logo-ff {
    width: 228px;
  }

  .home .claim-home h3 { font-size: 2.75rem }

  .container-section {
      padding: 5rem 3rem 4rem;
  }

  .section-header {
    gap: 4.25rem;
    margin-bottom: 4.25rem;
  }

  .section-header .section-excerpt p {
    font-size: 1.375rem;
  }

  .section-header .logo-section {
    height: 200px;
  }

  .section-grid-container.grid-5col {
    grid-template-columns: repeat(4, 1fr);
    /* grid-template-columns: repeat(auto-fill, minmax(256px, 1fr)); */
  }
}




@media only screen and (max-width: 1400px) {

  :root {
    --header-height: 90px;
    --footer-height: 128px;
    --container-width: 1100px;
  }

  #header .inner {
    padding: 0 2.5rem;
    gap:2rem;
  }

  #header .logo { width: 148px; }
  #header .top-menu { gap: 1.5rem }
  #header .top-menu li a { font-size: 1rem }

  .home .hero-home .inner {
    padding: calc(var(--header-height) + 3rem) 3.5rem 2rem;
  }

  .home .hero-home .title {
    font-size: 5rem
  }
  .home .intro-home h2 { font-size: 3rem }
  .home .intro-home p { font-size: 1.0625rem }
  .home .claim-home h3 { font-size: 2.5rem }

  .home .hero-home .logo-ff { width: 192px; }


  .home .history-home .top-gr .top-gr-left { font-size: 4rem }
  .home .history-home .top-gr .top-gr-left > strong { font-size: 10rem }

  .home .history-home .top-gr .top-gr-right { font-size: 1.25rem }
  .home .history-home .bottom-gr { font-size: 1rem }

  .home .history-home .logo-gr { width: 480px; }

  .container-section {
      padding: 4rem 2.5rem 3rem;
  }

  .registro,
  .contacto,
  .mi-perfil {
    padding: 4rem 2.5rem 2.5rem;
  }

  .section-header {
    gap: 3.5rem;
    margin-bottom: 3.5rem;
  }

  .section-header .section-excerpt p {
    font-size: 1.25rem;
  }

  .section-header .logo-section {
    height: 160px;
  }

  .section-grid-container {
    gap:2.25rem 2.5rem;
  }

  .section-grid-container.grid-5col {
    grid-template-columns: repeat(4, 1fr);
    /* grid-template-columns: repeat(auto-fill, minmax(256px, 1fr)); */
  }

  .section-grid-container.grid-4col {
    grid-template-columns: repeat(3, 1fr);
    /* grid-template-columns: repeat(auto-fill, minmax(256px, 1fr)); */
}


  .grid-container .card-image { border-radius: 1rem }
  .grid-container .card-title { font-size: 0.925rem }



  .container-cursos .curso .curso-grid-container {
    grid-template-columns: repeat(3, 1fr);
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2.25rem 2.5rem;
  }


  .container-visor {
    padding: 4rem 2.5rem 3rem;
  }

  .container-visor .visor-info h1 {
    font-size: 1.5rem;
  }

  .container-visor .visor-video .video-options .dropdown {
    max-width: 174px;
  }

  .container-visor .visor-video .video-options .dropdown .dropdown-btn {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }



  .container-academy .menu-academy {
    gap:4rem;
  }

  .container-academy .menu-academy .button-academy {
    width: 270px;
    height: 270px;
    border-radius: 50%;
    overflow: hidden;
  }

  .container-academy .menu-academy .button-academy > span {
    font-size: 1.25rem;
  }

  .container-cursos .curso .curso-info .title-curso {
    font-size: 1.5rem;
  }

  .container-cursos .curso .curso-info p { font-size: 1rem }


  .breadcrumb { font-size: 0.75rem }


  .icon {
    width: 12px;
    height: 12px;
  }

  #footer .inner { 
    gap: 1.25rem;
    padding: 1rem 2.5rem;
  }

  #footer .logo {
    width: 320px;
  }


  #modalPopupLogin.remodal {
    padding: 2.75rem 3rem 1.75rem;
  }


}


@media only screen and (max-width: 1300px) {


  #header .top-menu { gap: 1.25rem }
  #header .inner {
        padding: 0 2rem;
        gap: 2rem;
  }
  #header .logo {
    width: 128px;
  }

  .home .hero-home .logo-ff { width: 164px; }

  .home .history-home {
    padding: 3.5rem 4rem 3rem;
  }
  .home .history-home .top-gr .top-gr-left { font-size: 3.5rem }
  .home .history-home .top-gr .top-gr-left > strong { font-size: 8rem }

  .home .history-home .top-gr .top-gr-right { font-size: 1.125rem }
  .home .history-home .bottom-gr { font-size: 1rem }

  .home .history-home .logo-gr { width: 360px; }


  .home .intro-home { padding:3.5rem 4rem 3.5rem }

  .home .secciones-home {
    padding: 3.5rem 0;
  }

  .home .secciones-home .inner {
    padding: 0 1.5rem;
  }

  .section-grid-container .grid-year h3 { font-size: 1.75rem }

  .grid-container .card-title,
  .grid-container .card.card-news .card-title {
        font-size: 0.875rem;
    }

}



@media only screen and (max-width: 1023px) {

  :root {
    --header-height: 78px;
    --footer-height: 168px;

  }

  .no-scroll {
    overflow: hidden;
  }
  .menu-toggle {
    display: flex;
    z-index: 9999;
    margin-left: auto;
  }

  .menu-toggle span {
    transition: all 0.3s ease;
  }
  .menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translateY(11px);
  }

  .menu-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px);
  }
  nav#mainNav {
    position: fixed;
    top: 0;
    right: 0;
    width: 66.666%;
    height: 100%;
    background: rgba(255, 255, 255, 1);
    /*background-color: var(--blue60);*/
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    padding: 5rem 20px 1rem;
    overflow-y: auto;
    border-left: 1px solid var(--grey-dark);
  }

  nav#mainNav.open {
    transform: translateX(0);
  }

  .menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
  }

  #header .inner {
    padding: 0 1.5rem;
    gap:2rem;
  }

  #header .logo { width: 112px; }

  #header .top-menu {
    flex-direction: column;
    gap: 0.5rem;
  }

  #header .top-menu li {
    width: 100%;
    list-style: none;
  }

  #header .top-menu li a { display: block; width: 100%; font-size: 1.125rem; padding:0.5rem 0; text-align: center; }

  #header .top-menu li.ml-auto { margin-left:inherit; }

  #header .top-menu li .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
        display: none;
        background: transparent;
        padding-left: 15px;
  }

  #header .top-menu li .submenu a {
    font-size: 1rem;
    color: var(--blue80);
  }

  #header .top-menu li.has-submenu.open .submenu {
    display: block;
    padding: 0;
  }

  #header .top-menu li.has-submenu > a {
  }

  #header .top-menu li.has-submenu > a::after {
    content: "+";
  }

  #header .top-menu li.has-submenu.open > a::after {
    content: "−";
  }

   #header .top-menu li.has-submenu.open > a { font-weight: 700 }


  .home {
    padding-top: 500px;
  }

  .home .hero-home {
    height: 500px;
    min-height: inherit;
  }


  .home .hero-home .inner {
    padding: calc(var(--header-height) + 2rem) 1.5rem 2rem;
  }

  .home .hero-home .circle-left {
    /* left: calc((100vw - 1920px) * 1); */
    left: -300px;
    bottom: 0;
    height: calc(100% + 10px);
    z-index: 1;
  }

  .home .hero-home .circle-right {
    right: -400px;
    bottom: -50px;
    z-index: 2;
  }

  .home .hero-home .logo-ff { width: 96px; right: 1rem }

  .home .hero-home .title {
    font-size: 2.35rem;
  }

  .home .hero-home .title br { display: none; }

  .home .history-home { padding: 3rem 2rem 3rem;  }

  .home .history-home .top-gr { flex-direction: column; gap: 2rem }
  .home .history-home .top-gr .top-gr-left { font-size: 2rem }
  .home .history-home .top-gr .top-gr-left > strong { font-size: 5rem }
  .home .history-home .bottom-gr { font-size: 0.85rem }
  .home .history-home .logo-gr { width: 240px; }

  .home .intro-home { padding: 3rem 2rem 3rem  }
  .home .intro-home .video-container { width: 100%; }

  .home .claim-home { padding:3rem 2.5rem 8rem }
  .home .claim-home h3 { font-size: 1.75rem }

  .home .claim-home .circle { width: 8rem; }


  .home .secciones-home {
    padding: 3.5rem 0;
  }

  .home .secciones-home .menu-secciones {
    gap: 2rem 1rem;
  }

  .home .secciones-home .menu-secciones li { max-width: 100% }
  .home .secciones-home .menu-secciones li a > img {
    width: auto;
    height: 72px;
  }

  .home .secciones-home .menu-secciones li a > span {
    font-size: 0.85rem;
  }

  .container-section {
    padding: 2.5rem 1.5rem 3rem;
  }

  .registro,
  .contacto,
  .mi-perfil {
    padding: 4rem 1.5rem 2.5rem;
  }

  .section-header {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .section-header .logo-section {
    height: 100px;
  }

  .section-header .section-excerpt p {
    font-size: 1.125rem;
  }

  .section-grid-container {
    gap:2rem 1.25rem;
  }

  .section-grid-container.grid-5col {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    /* grid-template-columns: repeat(auto-fill, minmax(256px, 1fr)); */
  }

  .section-grid-container.grid-4col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    /* grid-template-columns: repeat(auto-fill, minmax(256px, 1fr)); */
  }

  .section-grid-container.grid-3col {
    grid-template-columns: repeat(1, 1fr);
    /* grid-template-columns: repeat(auto-fill, minmax(256px, 1fr)); */
  }


  .section-grid-container .grid-empty {
    width: 75%;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    text-align: center;
  }

  .section-grid-container .card.grid-year > div { aspect-ratio:inherit; }


  .grid-container .card-image { 
    border-radius: 0.75rem;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 6px 12px, rgba(0, 0, 0, 0.23) 0px 4px 4px;
  }
  .grid-container .card-title { font-size: 0.875rem }
  .grid-container .card-date {  font-size: 0.75rem; }


  .grid-container .card.card-news { 
    padding: 1.25rem 1rem;
    border-radius: 0.75rem;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 6px 12px, rgba(0, 0, 0, 0.23) 0px 4px 4px;
  }
  .grid-container .card.card-news .card-medio { font-size: 0.875rem }

  .container-cursos .curso .curso-grid-container {
    grid-template-columns: repeat(2, 1fr);
    /*grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));*/
    gap:2rem 1.25rem;
  }


  .container-visor,
  .container-visor-news {
    padding: 2.5rem 1.5rem 3rem;
    flex-direction: column;
    gap: 2rem;
  }

  .container-visor .visor-info,
  .container-visor .visor-video,
  .container-visor-news .visor-info,
  .container-visor-news .visor-news {
    width: 100%;
  }

  .container-visor .visor-info h1,
  .container-visor-news .visor-info h1 {
    font-size: 1.25rem;
  }

  .container-visor-news .visor-news .body-noticia .excerpt { font-size: 1.125rem }

    


  .container-visor-news .circle {
    display: none;
  }


  .container-academy .menu-academy {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .container-academy .menu-academy .button-academy {
    width: 150px;
    height: 150px;
  }

  .container-academy .menu-academy .button-academy > span { font-size: 1rem }

  .like-container { width: 100%; }
  .button-like { margin-left:auto; }

  .container-cursos { gap: 2.5rem }

  .container-cursos .curso {
    flex-direction: column;
    gap: 2.5rem;
    padding: 0 0 2.5rem 0;
  }

  .container-cursos .curso .curso-info,
  .container-cursos .curso .curso-grid-container {
    width: 100%;
  }
  .container-cursos .curso .curso-info .title-curso {
    font-size: 1.25rem;
  }


  .item-project h2 { font-size: 2rem; }
  .item-project .video-container {
        width: 100%;
    }

  .library .library-hero {}
  .library .library-hero h3 { font-size: 2rem }
  .library .library-hero .button-primary-big { font-size: 1.25rem; padding: 1.125rem 2.5rem; margin-top:1.5rem }


  .button-primary {
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
  }

  .box-rounded {
    padding: 2.5rem 1.5rem;
  }

  .box-form h2 { font-size: 1.5rem }

  .input-field-container .col-25,
  .input-field-container .col-33,
  .input-field-container .col-50,
  .input-field-container .col-66 {
    flex: 0 0 100%;
    max-width: 100%;
  }


/*  .wrapper { padding-bottom: 0 }

  #footer {position: relative; left: inherit; right: inherit; bottom: inherit; height:  auto}*/
  #footer .inner { width: 100%; padding:1.5rem 2rem  }
  #footer .logo { width: 240px; }
  #footer .footer-menu { flex-direction: column; gap:0.25rem }
  #footer .footer-menu li { border-right:none; }

  #modalPopupLogin.remodal {
    padding: 2.75rem 1.5rem 1.75rem;
  }

  #modalPopupLogin.remodal .box-form .form-options {flex-direction: column;}
  #modalPopupLogin .box-form .form-options .button-primary { width: 100%; max-width:400px }
  #modalPopupLogin .box-form .form-options .button-switch { margin:0 }
}




@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
