@charset "UTF-8";
/*!
Theme Name: H0 golf house
Theme URI: http://underscores.me/
Author: AXLI
Author URI: https://axli.eu
Description: A theme for H0 Golf House
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: maui
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

H0 golf house is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/
@font-face {
  font-family: "Grotesk";
  src: url("../fonts/FamiljenGrotesk-Regular.woff2") format("woff2"), url("../fonts/FamiljenGrotesk-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Heimat";
  src: url("../fonts/Heimat-Regular6.woff2") format("woff2"), url("../fonts/Heimat-Regular6.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Marlide";
  src: url("../fonts/MarlideDisplay_Regular.woff2") format("woff2"), url("../fonts/MarlideDisplay_Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Marlide";
  src: url("../fonts/MarlideDisplay_Bold.woff2") format("woff2"), url("../fonts/MarlideDisplay_Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Grotesk";
  src: url("../fonts/FamiljenGrotesk-Bold.woff2") format("woff2"), url("../fonts/FamiljenGrotesk-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
:root :where(.is-layout-flow) > * {
  margin-top: 15px;
}

.wp-block-accordion-item {
  margin-top: 2px;
}

.page-template-colegio .wp-block-accordion-panel {
  width: 90%;
  margin: 50px auto;
  border: solid 1px black;
  padding: 35px;
  margin-bottom: 50px;
  margin-block-end: 50px !important;
}

p.copy {
  text-align: justify;
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/
/* Normalize
--------------------------------------------- */
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
	 ========================================================================== */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */
/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #000;
  font-family: "Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 18px;
  line-height: 21px;
  font-size: var(--p-size, 18px);
  line-height: var(--p-lh, 21px);
}

p {
  margin: 5px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
  margin-bottom: 10px;
  margin-top: 0;
}

h1 {
  font-family: "Marlide", serif;
  font-size: var(--h1-size, 70px);
  line-height: var(--h1-lh, 75px);
  font-weight: normal;
}

h2 {
  font-family: "Marlide", serif;
  font-size: var(--h2-size, 70px);
  line-height: var(--h2-lh, 75px);
  font-weight: normal;
}

h3 {
  font-family: "Marlide", serif;
  font-size: var(--h3-size, 40px);
  line-height: var(--h3-lh, 45px);
  font-weight: normal;
  padding-bottom: 15px;
}

h4 {
  font-family: "Marlide", serif;
  font-size: var(--h4-size, 40px);
  line-height: var(--h4-lh, 45px);
  font-weight: normal;
}

h5 {
  font-family: "Marlide", serif;
  font-size: var(--h5-size, 40px);
  line-height: var(--h5-lh, 45px);
  font-weight: normal;
}

h6 {
  font-size: var(--h1-size, 20px);
  line-height: var(--h1-lh, 25px);
}

@media screen and (max-width: 900px) {
  .wp-block-accordion-heading__toggle-title {
    font-size: 17px;
    line-height: 1rem;
  }
}
dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

.site-main {
  padding: 0 5%;
}

html {
  scroll-behavior: smooth; /* opcional */
}

section, [id] {
  scroll-margin-top: 280px; /* altura del menú */
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0;
  padding-left: 0;
}

ul {
  list-style: disc;
  list-style-position: inside;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

.wp-block-accordion-heading__toggle {
  padding: 5px 35px !important;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 0;
}
figure.aligncenter.wp-block-embed {
  margin: auto !important;
  display: block !important;
  width: auto !important;
}

.site-main .hero {
  margin-left: calc(-5% - 10px);
  margin-right: calc(-5% - 10px);
}

.alignright img {
  float: right;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

th {
  font-weight: 700;
  padding: 8px;
  border-top: 0;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
  margin: 0;
  line-height: 1.5;
  text-align: left;
}

td {
  padding: 0;
  border-top: 0;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
  margin: 0;
  line-height: 1.5;
  text-align: left;
}

.wppb-userlisting-container td {
  font-style: inherit;
}

tr:nth-child(even) td, tr:nth-child(even) th {
  background: rgba(0, 0, 0, 0.025);
}

/* Links
--------------------------------------------- */
a {
  color: #000;
}
a:hover, a:focus, a:active {
  color: #333;
}
a:focus {
  outline: thin dotted;
}
a:hover, a:active {
  outline: 0;
}

a:where(:not(.wp-element-button)) {
  text-decoration: none;
}

/* Forms
--------------------------------------------- */
button,
input[type=button],
input[type=reset],
input[type=submit] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:hover,
input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
  border-color: #ccc #bbb #aaa;
}
button:active, button:focus,
input[type=button]:active,
input[type=button]:focus,
input[type=reset]:active,
input[type=reset]:focus,
input[type=submit]:active,
input[type=submit]:focus {
  border-color: #aaa #bbb #bbb;
}

.blocklink .wp-block-uagb-buttons-child {
  width: 100%;
}
.blocklink:hover {
  cursor: pointer;
}
.blocklink:hover .wp-block-uagb-buttons-child a {
  background: #00736B;
}
.blocklink:hover .wp-block-uagb-buttons-child a .uagb-button__link {
  color: white;
}

a,
button,
.masonry-item,
.masonry-title a,
.masonry-readmore,
.back-to-blog {
  transition: color 1s ease, background-color 1s ease, border-color 1s ease, box-shadow 1s ease, transform 1s ease;
}

input[type=text],
input[type=email],
input[type=url],
input[type=password],
input[type=search],
input[type=number],
input[type=tel],
input[type=range],
input[type=date],
input[type=month],
input[type=week],
input[type=time],
input[type=datetime],
input[type=datetime-local],
input[type=color],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=url]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=number]:focus,
input[type=tel]:focus,
input[type=range]:focus,
input[type=date]:focus,
input[type=month]:focus,
input[type=week]:focus,
input[type=time]:focus,
input[type=datetime]:focus,
input[type=datetime-local]:focus,
input[type=color]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/
/* Navigation
--------------------------------------------- */
.admin-bar .top-bar {
  top: 32px;
}
.admin-bar .site-header {
  top: 72px;
}
.admin-bar .site-main {
  margin-top: 162px;
}

.site-header {
  display: flex;
  width: 100%;
  margin: auto;
  align-items: center;
  padding: 10px 10px;
  position: fixed;
  z-index: 999;
  background: white;
  top: 40px;
}
.site-header .site-branding img {
  max-height: 80px;
  width: auto;
}
.site-header .menu-block {
  float: right;
  position: relative;
}

.top-bar {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #00736B;
  padding: 10px 10px;
  z-index: 9999;
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
}
.top-bar .menu-top-menu-container {
  width: 100%;
}
.top-bar ul {
  color: white;
  font-size: 16px;
  font-family: "Heimat", serif;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  color: white;
  width: 100%;
  list-style: none;
  margin-bottom: 0;
}
.top-bar ul a {
  color: white;
  text-decoration: none;
}

.main-navigation {
  display: block;
  width: 100%;
  font-family: "Heimat", serif;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 16px;
}
.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}
.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}
.main-navigation ul ul li:hover > ul, .main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: 0;
}
.main-navigation li {
  position: relative;
  margin: 0 8px;
}
.main-navigation a {
  display: block;
  text-decoration: none;
  padding: 5px 15px;
  border-radius: 50px;
}
.main-navigation a:hover {
  background: #b4f5db;
  color: #00736B;
}
/* Añadir icono de mail al principio del enlace dentro de .mail */
.mail a::before {
  content: "";
  display: inline-block;
  width: 16px; /* tamaño del icono */
  height: 16px;
  margin-right: 8px; /* espacio entre icono y texto */
  background-image: url("../img/mail.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle; /* alinear con el texto */
}

/* Añadir icono de mail al principio del enlace dentro de .mail */
.danger a::before {
  content: "";
  display: inline-block;
  width: 16px; /* tamaño del icono */
  height: 16px;
  margin-right: 10px; /* espacio entre icono y texto */
  margin-bottom: 2px;
  background-image: url("../img/danger.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle; /* alinear con el texto */
}

/* ------------------------------------
   CONTENEDOR DEL MENU PARA POSICIONAR SUBMENUS
------------------------------------ */
.middle-bar__menu {
  position: relative; /* permite que el submenú se posicione respecto a todo el menú */
}

@media screen and (min-width: 900px) {
  /* ------------------------------------
     SUBMENÚS DESKTOP (MEGA MENÚ)
  ------------------------------------ */
  .middle-menu li {
    position: static; /* quitar relative de li padre */
    padding: 8px 0;
  }
  /* Submenú desktop con 4 elementos por columna */
  .middle-menu li ul.sub-menu {
    /* oculto por defecto */
    position: absolute;
    top: 100%; /* debajo de la barra */
    left: 0; /* alineado al inicio del menú */
    width: 100%; /* ancho de toda la barra */
    background: #ffffff;
    padding: 10px 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    font-family: "Heimat", sans-serif;
    font-size: 16px;
    z-index: 999;
    border-bottom: solid 3px #00736B;
    /* Grid: auto columnas, máximo 4 filas por columna */
    display: grid;
    grid-auto-flow: column; /* llenar por columna primero */
    grid-template-rows: repeat(4, auto); /* máximo 4 filas por columna */
    grid-column-gap: 10px; /* separación entre columnas */
    grid-row-gap: 0px;
    display: none;
  }
  /* Mostrar submenú al hover */
  .middle-menu li:hover > ul.sub-menu {
    display: grid;
  }
  /* Enlaces dentro del submenú */
  .middle-menu li ul.sub-menu li a {
    color: #333;
    text-decoration: none;
    font-family: "Heimat", sans-serif;
    text-transform: uppercase;
    font-size: 16px;
  }
  /* Hover en enlaces del submenú */
  .middle-menu li ul.sub-menu li a:hover {
    color: #00736B;
  }
  /* Añadir icono de candado a los items del menú con clase .candado */
  .middle-menu li.candado > a::after {
    content: "";
    display: inline-block;
    width: 10px; /* tamaño del icono */
    height: 16px;
    margin-left: 8px; /* separación del texto */
    background-image: url("../img/lock.png");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle; /* para centrar con el texto */
  }
  #menu-item-16 .sub-menu li:nth-child(-n+3), #menu-item-8443 .sub-menu li:nth-child(-n+3), #menu-item-43625 .sub-menu li:nth-child(-n+3) {
    background-color: #e0e0e0;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media screen and (max-width: 900px) {
  /* Small menu. */
  .menu-toggle,
  .main-navigation.toggled ul {
    display: block;
    float: right;
    margin-right: 10px;
    overflow-y: scroll;
  }
  .menu-toggle {
    z-index: 99999;
    position: relative;
    background: none;
    border: none;
    padding: 10px;
  }
  .menu-toggle img {
    width: 40px;
    height: auto;
  }
  .menu-block ul {
    position: fixed;
    background: white;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 130px 15px;
    text-align: center;
  }
  .menu-block ul li {
    margin: 35px 0;
  }
  .menu-block ul li a {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  .menu-block ul li ul {
    display: block;
  }
  .middle-menu li a {
    background: #00736B;
    color: white;
    display: -webkit-box;
  }
  /* Submenú desktop con 4 elementos por columna */
  .middle-menu li ul.sub-menu {
    position: relative;
    top: 100%; /* debajo de la barra */
    left: 0; /* alineado al inicio del menú */
    width: 100%; /* ancho de toda la barra */
    background: #ffffff;
    padding: 10px 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    font-family: "Heimat", sans-serif;
    font-size: 16px;
    z-index: 999;
    border-bottom: solid 3px #00736B;
    /* Grid: auto columnas, máximo 4 filas por columna */
    display: block;
    margin-bottom: 25px;
  }
  .middle-menu li ul.sub-menu li {
    margin: 0;
  }
  .middle-menu li ul.sub-menu a {
    background: white;
    color: #00736B;
  }
  /* Añadir icono de candado a los items del menú con clase .candado */
  .middle-menu li.candado > a::after {
    content: "";
    display: inline-block;
    width: 10px; /* tamaño del icono */
    height: 16px;
    margin-left: 8px; /* separación del texto */
    background-image: url("../img/lock.png");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle; /* para centrar con el texto */
  }
}
@media screen and (min-width: 900px) {
  .menu-toggle {
    display: none;
  }
  .main-navigation ul {
    display: flex;
  }
}
.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}
.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}
.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}
.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
  display: block;
}

.updated:not(.published) {
  display: none;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

.site-main {
  margin-top: 140px;
}

.justify {
  text-align: justify;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}
.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*=wp-image-] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

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

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/
/* Jetpack infinite scroll
--------------------------------------------- */
/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/
/* Accessibility
--------------------------------------------- */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;
  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;
  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/* Pages
--------------------------------------------- */
/********** NORMAL PAGE ***********/
.acordeon .wp-block-accordion-heading__toggle-icon {
  font-size: 45px;
  font-family: "Marlide", serif;
  font-weight: 100;
  color: #b4f5db;
}
.acordeon .wp-block-accordion-heading__toggle-title:hover {
  text-decoration: none;
}
.acordeon button:hover .wp-block-accordion-heading__toggle-title {
  text-decoration: none;
}
.acordeon h4 {
  font-size: 60px;
  line-height: 65px;
  margin-bottom: 30px;
}
.acordeon hr {
  border-width: 0px;
  margin-left: -35px;
  margin-right: -35px;
}
.acordeon a {
  padding: 7px 15px;
  border-radius: 50px;
  margin-bottom: 10px;
  font-family: "Heimat", serif;
  font-weight: 700;
  color: #00736B;
  display: -webkit-inline-box;
}
.acordeon a:hover {
  background: #b4f5db;
}
.acordeon .link-normal a {
  padding: inherit;
  border-radius: 0px;
  margin-bottom: 0px;
  font-family: inherit;
  text-decoration: underline;
  font-weight: 700;
  display: -webkit-inline-box;
}
.acordeon .link-normal a:hover {
  background: inherit;
}
.acordeon p {
  margin-bottom: 10px;
}

.boton a {
  padding: 7px 15px;
  border-radius: 50px;
  margin-bottom: 5px;
  font-family: "Heimat", serif;
  font-weight: bold;
  display: -webkit-inline-box;
}
.boton a:hover {
  background: #b4f5db;
}

a.icolegia-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
a.icolegia-link svg {
  width: 210px;
}
a.icolegia-link span {
  font-size: 60px;
  font-family: "Marlide", serif;
  text-align: center;
  font-weight: 300;
  color: #00736B;
}
a.icolegia-link:hover {
  background: transparent;
}
a.icolegia-link:hover .st0 {
  fill-opacity: 1;
  fill: #00736B;
}
a.icolegia-link:hover .st1 {
  fill: #00736B;
}

/******** AGENDA **********/
/********* FORMACIÓN *********/
.auz_gallery_v1 {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.auz_gallery_v1 li {
  width: 100% !important;
  padding: 0 !important;
}
.auz_gallery_v1 li .auz_box {
  box-shadow: none !important;
  padding: 0 !important;
  border: 1px black solid;
}
.auz_gallery_v1 li img {
  width: 100%;
  object-fit: cover;
  filter: grayscale(1) !important;
  transition: all 0.5s ease !important;
}
.auz_gallery_v1 li.auz_gallery_v1 li section.auz_enlace_izquierda {
  padding-left: 30px !important;
  text-transform: uppercase;
  font-family: "Heimat", serif;
}
.auz_gallery_v1 li:hover img {
  filter: grayscale(0) !important;
}
.auz_gallery_v1 h3 {
  font-family: "Marlide", serif;
  color: #00736B !important;
  padding: 10px 32px !important;
  font-weight: 300 !important;
  font-size: 32px !important;
  text-align: left !important;
  margin-bottom: 50px !important;
}
.auz_gallery_v1 h3 a {
  color: #00736B !important;
  font-weight: 300;
}
.auz_gallery_v1 .auz_enlace_izquierda {
  position: absolute;
  bottom: 0px;
  padding: 6px;
  padding-left: 20px !important;
  font-weight: 300;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.auz_gallery_v1 .auz_enlace_izquierda a {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 300;
  font-family: "Heimat", serif;
}
.auz_gallery_v1 .auz_enlace_derecha {
  position: absolute;
  bottom: 0px;
  padding: 6px;
  padding-right: 20px !important;
  font-weight: 300;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}
.auz_gallery_v1 .auz_enlace_derecha a {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 300;
  font-family: "Heimat", serif;
}
.auz_gallery_v1 .auz_enlace_centro {
  position: absolute !important;
  bottom: 0px !important;
  padding-right: 40px !important;
  text-transform: uppercase;
  font-family: "Heimat";
}
.auz_gallery_v1 .auz_enlace_centro a {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 300;
  font-family: "Heimat", serif;
}

/******* PRENSA *********/
.prensa .auz_gallery_v1 img {
  filter: grayscale(0) !important;
}

/******** PRIVATE LOGIN *******/
.contenido-bloqueado {
  padding-top: 10px;
}

.privatelogin {
  width: 100%;
  border: solid 1px black;
  padding: 50px;
}

form input {
  border: 2px #00736B solid;
  border-radius: 0px;
  background: none;
  padding: 10px 14px;
  font-family: "Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 300;
  width: 50%;
  margin-bottom: 25px;
}
form label {
  display: block;
  font-family: "Marlide", serif;
  font-size: 23px;
  color: black;
  line-height: 1;
  margin-bottom: 10px;
}
form input[type=checkbox] {
  width: auto;
  margin-right: 20px;
}
form input[type=submit] {
  color: #00736B;
  font-family: "Heimat", serif;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  background: none;
  border: none;
  border-radius: 999px;
  text-align: left;
  line-height: 1;
  width: auto;
  margin-top: 20px;
}
form input[type=submit]:hover {
  background: #b4f5db;
}

/********* GALERÍA *********/
.galeria {
  border: solid 1px black;
  padding: 50px;
}

.galeria-loop {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.galeria-item {
  position: relative;
}

.galeria-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Contenedor imagen */
.galeria-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

/* Imagen */
.galeria-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* Overlay verde */
.galeria-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(0, 115, 107);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* Título encima */
.galeria-title {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0;
  padding: 20px;
  text-align: center;
  font-size: 40px;
  line-height: 40px;
  font-family: "Marlide", serif;
  color: #b4f5db;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover */
.galeria-link:hover .galeria-img::after {
  opacity: 1;
}

.galeria-link:hover .galeria-title {
  opacity: 1;
}

.galeria-link:hover img {
  transform: scale(1.05);
}

/****** FORMS ********/
.page-template .nf-form-content {
  margin-top: 50px;
}
.page-template .nf-form-content input:not([type=button]) {
  background: white;
  border: solid 2px #00736B;
}
.page-template .nf-form-content textarea {
  background: white;
  border: solid 2px #00736B;
}
.page-template .nf-form-content input[type=submit] {
  background: white;
  border: solid 2px #00736B;
  border-radius: 25px;
  color: #00736B;
  text-transform: uppercase;
  padding: 10px 30px;
}
.page-template label {
  color: #00736B;
}

/* Responsive */
@media (max-width: 1024px) {
  .galeria-loop {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .galeria-loop {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .galeria-loop {
    grid-template-columns: 1fr;
  }
}
/******** BIBLIOTECA ARCHIVE ********/
.contenedor-biblioteca {
  width: auto;
  margin: 160px 5%;
  padding: 50px;
  border: solid 1px black;
}

.titulo-biblioteca {
  margin-bottom: 30px;
}

.grid-biblioteca {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
}

.libro-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.libro-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.libro-enlace {
  text-decoration: none;
  color: inherit;
  display: block;
}

.libro-portada img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.libro-info {
  padding: 15px;
}

.libro-titulo {
  font-size: 16px;
  line-height: 20px;
  margin: 0 0 8px;
  color: #00736B;
  text-align: center;
}

.libro-meta {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.paginacion-biblioteca {
  margin-top: 40px;
  text-align: center;
}

/******** BIBLIOTECA SINGLE **********/
.contenedor-libro {
  max-width: 1100px;
  margin: 150px auto;
  padding: 20px;
}

.libro-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 100px;
  align-items: start;
}

.libro-imagen img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.libro-titulo {
  margin-top: 0;
}

.libro-info h1 {
  font-size: 25px;
  line-height: 30px;
}

.libro-datos {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.libro-datos li {
  margin-bottom: 10px;
}

.boton-descarga {
  display: inline-block;
  background: #0073aa;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 10px;
}

.boton-descarga:hover {
  background: #005177;
}

.libro-contenido {
  margin-top: 40px;
}

/*********** FOOTER ***********/
/* contenedor principal */
.footer-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 0.45fr;
  gap: 1.5rem;
  width: 100%;
  padding: 0 5%;
  max-width: 100%;
  padding-bottom: 50px;
  margin-top: 100px;
}

/* columnas */
.footer-col {
  font-size: 19px;
  line-height: 24px;
  border-bottom: solid 2px black;
}
.footer-col:last-child {
  border: none;
}
.footer-col h6 {
  font-size: 19px;
  border-top: solid 2px black;
  border-bottom: solid 2px black;
  padding: 10px 0;
}
.footer-col ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
}

/* logo en columna estrecha */
.footer-logo img {
  max-width: 130px;
  height: auto;
  display: block;
  margin-left: auto;
}

/* Responsive */
@media (max-width: 1000px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social a {
    margin-right: 0.5rem;
  }
}
/* Page transtitions
--------------------------------------------- */
#transition {
  z-index: 30;
  background: #2d3a36;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  transition-duration: 0.9s;
}

#transition.opened {
  opacity: 1;
  pointer-events: initial;
}

#transition.closed {
  opacity: 0;
  pointer-events: none;
}

.loader {
  transition: all 0.8s ease;
  -webkit-transition: all 0.8s ease;
  -moz-transition: all 0.8s ease;
  -o-transition: all 0.8s ease;
}

/* Responsive
--------------------------------------------- */
@media screen and (max-width: 900px) {
  .desktop {
    display: none;
  }
  .admin-bar .top-bar {
    top: 46px;
    position: absolute;
  }
  .admin-bar .site-header {
    top: 86px;
    position: absolute;
  }
  .admin-bar .site-main {
    margin-top: 120px;
  }
  .acordeon h4 {
    font-size: 31px;
    line-height: 35px;
  }
  form input {
    width: 100%;
  }
  form input[type=submit] {
    background: #00736B;
    color: white;
  }
  .auz_gallery_v1 {
    display: block !important;
  }
  .auz_gallery_v1 li {
    margin-bottom: 25px;
  }
}