/* Páginas de ofertas de empleo dentro del tema (Divi). Colores heredados del tema siempre que se puede. */
.gio-ofertas { --gio-acento: #2ea3f2; --gio-borde: #c4c4c4; --gio-suave: #f7f7f7; }
/* Mismo espacio bajo la cabecera que las páginas de WordPress (Divi pone 58px + 30px). */
#main-content.gio-ofertas .container { padding-top: 40px; }
#main-content.gio-ofertas .entry-content { padding-top: 0; }
/* Fondo gris claro (el mismo #f2f2f2 de las secciones de "Quiénes somos") y el contenido en una tarjeta blanca. */
#main-content.gio-ofertas { background: #f2f2f2; padding-bottom: 3em; }
.gio-ofertas #left-area {
  width: 100%; max-width: 1080px; box-sizing: border-box; padding: 2.5em 3em 3em;
  background: #fff; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}
.gio-ofertas #content-area::before { display: none; }
.gio-ofertas .main_title { margin-bottom: .6em; }

.gio-migas { margin-bottom: .4em; font-size: .9em; }

.gio-boton {
  display: inline-block; padding: .55em 1.3em; border: 2px solid var(--gio-acento); border-radius: 3px;
  background: var(--gio-acento); color: #fff !important; font-weight: 600; line-height: 1.4;
  cursor: pointer; text-decoration: none; transition: opacity .2s;
}
.gio-boton:hover { opacity: .85; }
.gio-boton-sec { background: transparent; color: var(--gio-acento) !important; }
.gio-acciones { display: flex; flex-wrap: wrap; gap: .8em; margin: 1.2em 0; }

.gio-politica { margin: 1.2em 0; padding: .8em 1.1em; background: var(--gio-suave); border-left: 3px solid var(--gio-acento); }
.gio-politica summary { cursor: pointer; font-weight: 600; }
.gio-politica[open] summary { margin-bottom: .6em; }

/* Divi pone bordes y relleno a todas las tablas de .entry-content: se sustituyen por los nuestros. */
.gio-ofertas .entry-content table.gio-tabla { width: 100%; border: 0; border-collapse: collapse; margin: 1em 0 0; }
.gio-ofertas .entry-content .gio-tabla th { text-align: left; padding: .6em; border: 0; border-bottom: 2px solid var(--gio-acento); font-weight: 600; }
.gio-ofertas .entry-content .gio-tabla td { padding: .6em; border: 0; border-bottom: 1px solid var(--gio-borde); vertical-align: top; color: #222; }
.gio-tabla tbody tr:hover { background: var(--gio-suave); }
.gio-tabla .gio-c { text-align: center; white-space: nowrap; }
.gio-ofertas .entry-content .gio-cerrada td { color: #444; }
.gio-etiqueta { display: inline-block; padding: .1em .5em; border-radius: 3px; background: #eee; font-size: .85em; }

.gio-ficha { display: grid; grid-template-columns: max-content 1fr; gap: .5em 1.5em; margin: 1.2em 0; }
.gio-ficha dt { font-weight: 600; }
.gio-ficha dd { margin: 0; }

.gio-form { max-width: 720px; margin-top: 1.2em; }
.gio-campo { display: flex; flex-direction: column; gap: .3em; margin-bottom: 1em !important; padding-bottom: 0 !important; }
.gio-campo label { font-weight: 600; }
.gio-campo-check label { font-weight: normal; }
.gio-form input[type="text"], .gio-form input[type="email"], .gio-form input[type="tel"],
.gio-form input[type="date"], .gio-form textarea {
  width: 100%; box-sizing: border-box; padding: .6em .7em; border: 1px solid #ccc; border-radius: 3px;
  background: #fff; color: #333; font: inherit;
}
.gio-form input:focus, .gio-form textarea:focus { border-color: var(--gio-acento); outline: none; }
.gio-nota { color: #777; font-size: .88em; }
.gio-obl { color: #c00; }
.gio-errores { margin: 1em 0; padding: .8em 1em .8em 2em; background: #fdeeee; border-left: 3px solid #c00; color: #900; }
.gio-mensaje { margin: 1em 0 1.5em; padding: 1em 1.2em; background: var(--gio-suave); border-left: 3px solid var(--gio-acento); }
.gio-trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 700px) {
  .gio-ofertas #left-area { padding: 1.5em 1.2em 2em; }
  .gio-ofertas .entry-content .gio-tabla thead { display: none; }
  .gio-ofertas .entry-content .gio-tabla tr { display: block; padding: .8em 0; border-bottom: 1px solid var(--gio-borde); }
  .gio-ofertas .entry-content .gio-tabla td { display: inline-block; padding: 0 1em 0 0; border: 0; text-align: left; font-size: .9em; color: #444; }
  .gio-ofertas .entry-content .gio-tabla td:first-child { display: block; padding: 0 0 .25em; font-size: 1em; color: #222; }
  .gio-ofertas .entry-content .gio-cerrada td:first-child { color: #444; }
  .gio-ofertas .entry-content .gio-tabla td:empty { display: none; }
  .gio-tabla td[data-titulo]::before { content: attr(data-titulo) ": "; }
  .gio-ficha { grid-template-columns: 1fr; gap: .1em; }
  .gio-ficha dd { margin-bottom: .6em; }
}
