@charset "UTF-8";
/**
 * Add custom styles
 *
 * CSS variables are defined in "theme.json"
 * https://developer.wordpress.org/block-editor/how-to-guides/themes/theme-json
 */
:root {
  --custom--media-max-width--sm: 599px;
  --custom--media-max-width--lg: 999px;
}

/*koloreak*
primarioak: laranja:#FF4400 / urdina:#042068 / horia:#FFB800
secondary: urdina1:#00c8d8 / urdina2:#407DED / berdea1:#43C966 / berdea2:#5CC79E  / larrosa: #FE298D / horia:#f3fc02
*/
:root {
  --primary-color-orange: #FF4400;
  --primary-color-blue: #042068;
  --primary-color-yellow: #FFB800;
  --secondary-color-blue1: #00c8d8;
  --secondary-color-blue2: #407DED;
  --secondary-color-green1: #43C966;
  --secondary-color-green2: #5CC79E;
  --secondary-color-pink: #FE298D;
  --secondary-color-yellow: #f3fc02;
}

/**
 * General
 */
img {
  vertical-align: middle;
}

textarea,
input[type=text],
input[type=password],
input[type=url],
input[type=email],
input[type=tel],
input[type=number],
input[type=search] {
  display: flex;
  border: 1px solid var(--wp--preset--color--dark-gray) !important;
}

h1,
.h1,
body.author .wp-block-post-author .wp-block-post-author__name {
  font-size: var(--wp--custom--typography--font-size--colossal);
  line-height: var(--wp--custom--typography--line-height--page-title);
}

/**
 * WordPress customization
 */
body.author .wp-block-post-author {
  align-items: center;
  margin-bottom: calc(var(--wp--preset--spacing--3, 1rem) * 3);
}
body.author .wp-block-post-author .wp-block-post-author__avatar {
  margin-right: calc(var(--wp--preset--spacing--4, 1.5rem) * 2);
}
body.author .wp-block-post-author .wp-block-post-author__avatar .avatar {
  width: 180px;
  height: auto;
}
body.author .wp-block-post-author .wp-block-post-author__bio {
  font-size: var(--wp--preset--font-size--normal);
  line-height: var(--wp--custom--typography--line-height--body);
}
body.category .wp-block-term-description {
  font-size: var(--wp--preset--font-size--normal);
  line-height: var(--wp--custom--typography--line-height--body);
  margin-bottom: calc(var(--wp--preset--spacing--3, 1rem) * 3);
}

/* Header */
header.site-header .wp-block-search {
  max-width: 290px;
}
header.site-header .wp-block-search .wp-block-search__button {
  padding: 0;
  color: inherit;
}
header.site-header :where(.wp-block-group.has-background) {
  padding: 0 0 0 2.375em;
}

/* Main */
main .wp-block-query .wp-block-post-title {
  padding: 0;
}

/* Footer */
footer.site-footer {
  margin-top: calc(var(--wp--preset--spacing--3, 1rem) * 3);
  padding: 0 var(--wp--preset--spacing--4, 1.5rem);
}

/* WordPress Blocks */
ul.wp-block-post-template {
  list-style: none;
  padding: 0;
}
ul.wp-block-post-template li {
  margin-bottom: calc(var(--wp--preset--spacing--3, 1rem) * 5);
}

.post-password-form p:nth-of-type(2) {
  display: flex;
  align-items: flex-end;
}
.post-password-form p:nth-of-type(2) label {
  min-width: 150px;
  margin-right: calc(var(--wp--preset--spacing--4, 1.5rem) * 0.5);
}

[class*=comment-form-] {
  display: flex;
}
[class*=comment-form-] label {
  min-width: 150px;
  margin-right: calc(var(--wp--preset--spacing--4, 1.5rem) * 0.5);
}

.comment-form-cookies-consent {
  display: block;
}

.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper {
  border-color: var(--wp--preset--color--dark-gray);
}
.wp-block-search.wp-block-search__button-inside .wp-block-search__inside-wrapper input[type=search] {
  border: none !important;
}
.wp-block-search.wp-block-search__button-inside .wp-block-search__button {
  background: transparent;
  border: none;
}

.wp-block-navigation .wp-block-navigation-link.current-menu-item .wp-block-navigation-item__label,
.wp-block-navigation .wp-block-navigation-link a:focus .wp-block-navigation-item__label {
  border-bottom: 2px solid;
}
.wp-block-navigation .wp-block-navigation__responsive-container-close {
  position: fixed;
  top: var(--wp--preset--spacing--3, 1rem);
  right: var(--wp--preset--spacing--4, 1.5rem);
}

.wp-block-query-pagination a {
  text-decoration: none;
}
.wp-block-query-pagination .wp-block-query-pagination-numbers .page-numbers:not(.dots) {
  display: inline-block;
  border: 1px solid;
  text-align: center;
  min-width: 30px;
}
.wp-block-query-pagination .wp-block-query-pagination-numbers .page-numbers:not(.dots).current {
  font-weight: bold;
}

.wp-block-post-navigation-link {
  margin: calc(var(--wp--preset--spacing--3, 1rem) * 2) 0;
  padding: 0 var(--wp--preset--spacing--4, 1.5rem);
}
.wp-block-post-navigation-link.post-navigation-link-previous a::before {
  content: "«";
  display: inline-block;
  width: 20px;
}
.wp-block-post-navigation-link.post-navigation-link-next a::after {
  content: "»";
  display: inline-block;
  width: 20px;
  text-align: right;
}

.wp-block-post-featured-image img {
  width: 100%;
}

.wp-block-post-author__avatar .avatar {
  border-radius: 50%;
}

.wp-block-post-comments {
  margin-top: calc(var(--wp--preset--spacing--3, 1rem) * 3);
}
.wp-block-post-comments .comment-respond {
  margin-top: calc(var(--wp--preset--spacing--3, 1rem) * 3);
}
.wp-block-post-comments .nocomments {
  display: none;
}

.wp-block-separator {
  opacity: 1;
  border-width: 1px;
}
.wp-block-post-content .wp-block-separator {
  margin-top: calc(var(--wp--preset--spacing--3, 1rem) * 2);
  margin-bottom: calc(var(--wp--preset--spacing--3, 1rem) * 2);
}

.wp-block-table td,
.wp-block-table th {
  border: inherit;
}
.wp-block-image img,
.wp-block-image video,
.wp-block-media-text__media img,
.wp-block-media-text__media video {
  height: auto;
}

.home p.wp-block-post-excerpt__excerpt {
  color: white;
}

/*li elementuek list-decoration: none; izan behar dute eta elementu bakoitzaren aurrean gezi bat eskuinera apuntatzen*/
.home .mega-menu-horizontal a {
  color: white !important;
}

.home .mega-menu-horizontal ul.mega-sub-menu li a {
  color: #042068 !important;
}

li.mega-bi ul.mega-sub-menu {
  width: 120% !important;
  max-width: 120% !important;
  left: -20% !important;
}

li.mega-hiru ul.mega-sub-menu {
  width: 160% !important;
  max-width: 160% !important;
  left: -60% !important;
}

li ul.mega-sub-menu li.mega-menu-row ul.mega-sub-menu {
  width: 100% !important;
  max-width: 100% !important;
  left: 0 !important;
}

ul.mega-sub-menu li {
  list-style: none;
  position: relative;
}
ul.mega-sub-menu li::before {
  content: "\f345";
  /* Dashicons right arrow */
  font-family: dashicons;
  font-weight: normal;
  display: inline-block;
  margin: 0;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: rotate(0);
  color: inherit;
  position: relative;
  background: transparent;
  height: auto;
  width: auto;
  right: auto;
  line-height: inherit;
}

.mega-sub-menu a {
  text-transform: uppercase !important;
  line-height: 2.5rem;
}

.mega-sub-menu a:hover,
.mega-sub-menu a:focus,
.mega-sub-menu a:active,
li.current-menu-item a {
  font-weight: bold !important;
}

.mega-sub-menu img {
  border-radius: 20px !important;
}

/*KONTAKTU FORMULARIOA*/
input[type=text],
input[type=email],
input[type=url],
input[type=tel],
input[type=number],
input[type=password],
input[type=search],
textarea {
  width: 100%;
  padding: 18px;
  border: 1.5px solid var(--wp--preset--color--gray) !important;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
  font-family: "Roboto" !important;
  font-weight: 400;
  font-size: 16px;
}

textarea {
  max-height: 120px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
  background: #00C8D8;
  color: #FFFFFF;
  padding: 15px 30px 15px 30px;
  font-size: 18px;
  border-radius: 40px;
  border: none;
  font-family: "Roboto";
  font-weight: 500;
}

/**
 * Responsive Design (Block Library):
 * /wp-includes/css/dist/block-library/style.css
 */
@media (max-width: 999px) {
  input[type=text],
  input[type=password],
  input[type=url],
  input[type=email],
  input[type=tel],
  input[type=number],
  input[type=search] {
    width: 100%;
  }
}
@media (max-width: 599px) {
  header.site-header .wp-block-navigation .wp-block-navigation__container {
    width: 100%;
  }
  header.site-header .wp-block-navigation .wp-block-search {
    order: -1;
  }
  main [type=submit],
  main #submit {
    width: 100%;
  }
  footer.site-footer .wp-block-site-title,
  footer.site-footer [class*=has-text-align-] {
    text-align: center;
  }
  footer.site-footer .wp-block-site-title,
  footer.site-footer .wp-block-navigation {
    width: 100%;
  }
  footer.site-footer .wp-block-site-title {
    margin-bottom: var(--wp--preset--spacing--3, 1rem);
  }
  footer.site-footer .wp-block-navigation {
    justify-content: center;
  }
  .wp-block-post-navigation-link {
    margin: var(--wp--preset--spacing--3, 1rem) 0;
    padding: 0 var(--wp--preset--spacing--4, 1.5rem);
    text-align: center;
  }
  .wp-block-post-navigation-link.post-navigation-link-previous {
    margin-top: calc(var(--wp--preset--spacing--3, 1rem) * 3);
  }
}
/*HOME*/
.home .site-header {
  height: 90vh;
  overflow: hidden;
}
.home .site-header::after {
  content: "";
  position: absolute;
  bottom: 0rem;
  z-index: 9;
  width: 98%;
  height: 50%;
  background: url("../assets/img/down-w.png") no-repeat center bottom 2rem;
  margin: 0 auto;
  left: auto;
  right: auto;
}
.home .site-header > div {
  background-size: cover;
  justify-content: space-between;
  display: flex;
  flex-direction: column;
}
.home .site-header .is-layout-constrained > div {
  max-width: 100%;
  padding: 0 1rem;
}
.home .site-actions .menu-search {
  background: url("../assets/img/i_search-w.png") no-repeat center !important;
}
.home .site-actions .menu-contact {
  background: url("../assets/img/i_mail-w.png") no-repeat center !important;
}
.home .site-actions .wp-block-polylang-language-switcher li {
  background: url("../assets/img/i_lang-w.png") no-repeat center left !important;
}

body:not(.home) .header-menus div.mainmenu {
  background-color: white !important;
}

body:not(.home) header.site-header :where(.wp-block-group.has-background) {
  padding: 0;
}

.site-header .header-flex-row {
  flex-wrap: nowrap;
  padding: 0 1rem 1rem 1rem;
}

body.home .site-header .header-flex-row {
  padding: 0;
}

.logoa {
  background-color: white;
  border-radius: 0 0 300px 300px;
}
.logoa img {
  margin-top: 20px;
}

.site-header .header-flex-row {
  align-items: flex-start;
}

.site-header .header-menus {
  padding-top: 1rem;
  gap: 0.5rem;
  letter-spacing: 1% !important;
}
.site-header .header-menus .site-actions {
  font-size: 0.9rem;
  margin-right: 1rem !important;
  letter-spacing: 1% !important;
  font-weight: 500;
}
.site-header .header-menus .site-actions a:hover {
  opacity: 0.7;
}
.site-header .header-menus .site-actions .menu-search {
  text-indent: -2000px;
  content: "";
  background: url("../assets/img/i_search.png") no-repeat center;
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  transition: opacity 0.3s ease;
}
.site-header .header-menus .site-actions .menu-search:hover {
  opacity: 0.7;
}
.site-header .header-menus .site-actions .menu-contact {
  text-indent: -2000px;
  content: "";
  background: url("../assets/img/i_mail.png") no-repeat center;
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  transition: opacity 0.3s ease;
}
.site-header .header-menus .site-actions .menu-contact:hover {
  opacity: 0.7;
}
.site-header .header-menus .site-actions .wp-block-polylang-language-switcher {
  list-style: none;
  padding: 0;
}
.site-header .header-menus .site-actions .wp-block-polylang-language-switcher li {
  background: url("../assets/img/i_lang.png") no-repeat center left;
  padding-left: 2rem;
}
.site-header .header-menus #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link {
  font-weight: 500;
}
.site-header .header-menus #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link, .site-header .header-menus #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link, .site-header .header-menus #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
  text-decoration: none;
  opacity: 0.8;
}
.site-header .header-menus .mainmenu a.mega-menu-link:hover {
  text-decoration: none !important;
  opacity: 0.7;
}
.site-header .header-menus .mainmenu ul.mega-sub-menu {
  height: 100%;
  display: flex !important;
  align-items: center;
  align-content: center;
  border-radius: 1.5rem;
  box-shadow: 0 3px 5px rgba(1, 1, 1, 0.3);
}
.site-header .header-menus .mainmenu ul.mega-sub-menu img {
  border-radius: 1rem;
}
.site-header .header-menus .mainmenu .mega-sub-menu li.mega-menu-column {
  width: 100%;
}

.errota-caption {
  position: relative;
  padding: 4rem 2rem 0rem 6rem !important;
}

.errota-caption::before {
  content: "";
  position: absolute;
  top: -8rem;
  right: 3rem;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: var(--primary-color-yellow);
}

.errota-caption::after {
  content: "";
  position: absolute;
  top: -13rem;
  right: 11rem;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--primary-color-blue);
}

.home-band-about blockquote {
  border: none;
}

#home-about-icons {
  display: flex;
  align-items: center;
}
#home-about-icons > div {
  justify-content: space-between;
  width: 100%;
}
#home-about-icons > div img {
  border: 2px solid white;
}

/***albisteak***/
.featured-news:first-child {
  margin-block-start: 0.5rem !important;
}

.post {
  margin-top: 1rem !important;
  position: relative;
  padding: 0 !important;
}
.post img {
  border-radius: 16px 16px 0 0 !important;
}
.post .value {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 0.3rem 2.5rem 0.3rem 1rem;
  min-width: fit-content;
  border-radius: 16px 0 32px 0 !important;
  color: white;
  font-size: 0.9rem;
}
.post .wp-block-post-date {
  margin-top: 0.5rem;
}
.post h2.wp-block-post-title {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.post h2.wp-block-post-title a:hover {
  text-decoration: underline;
}
.post h3.wp-block-post-title {
  margin-top: 0;
  font-size: 1.3rem;
}
.post h3.wp-block-post-title a:hover {
  text-decoration: underline;
}

.columns-3 .post .field-acf_post_keyword {
  position: relative;
  z-index: 999;
  margin: 0;
}

.post.post_format-post-format-gallery figure,
.post_format-post-format-video figure {
  position: relative;
}
.post.post_format-post-format-gallery figure::after,
.post_format-post-format-video figure::after {
  content: "";
  background: url("../assets/img/i_gallery.svg") no-repeat center center;
  display: block;
  position: absolute;
  height: 50px;
  width: 50px;
  bottom: 1rem;
  right: 1rem;
}

.post_format-post-format-video figure::after {
  background: url("../assets/img/i_video.svg") no-repeat center center;
}

.news1 .value {
  background-color: var(--secondary-color-blue1);
}

.news2 .value, .news8 .value {
  background-color: var(--secondary-color-blue2);
}

.news3 .value, .news6 .value {
  background-color: var(--secondary-color-green1);
}

.news4 .value {
  background-color: var(--secondary-color-green2);
}

.news5 .value {
  background-color: var(--secondary-color-pink);
}

.news6 .value {
  background-color: var(--secondary-color-yellow);
}

body.single-post .value {
  display: inline-block;
  padding: 0.3rem 1rem;
  min-width: 50px;
  border-radius: 16px 0 32px 0 !important;
  color: white;
  font-size: 0.9rem;
}

.taxonomy-category a {
  text-transform: uppercase;
  margin-right: 0.5rem;
  font-weight: 400;
  font-size: 1.15rem;
}
.taxonomy-category a:hover {
  color: var(--secondary-color-blue1);
  border-bottom: 1px dotted var(--secondary-color-blue1);
}

.wp-news-carousel,
.wp-news-carousel ul {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.wp-news-carousel__btn {
  color: transparent !important;
  border: none;
  color: var(--secondary-color-blue1);
  width: 50px;
  height: 50px;
  top: 40%;
}

.wp-news-carousel__btn--prev {
  background: url("../assets/img/prev.png") no-repeat center;
}

.wp-news-carousel__btn--next {
  background: url("../assets/img/next.png") no-repeat center;
}

body.category ul.columns-2 .value {
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 150px;
  padding: 1rem 1.5rem;
  z-index: 3;
}

nav.wp-block-query-pagination a, nav.wp-block-query-pagination span {
  font-weight: 400;
  padding: 0.5rem;
}

ul.columns-3 .post {
  margin-bottom: 2rem !important;
}

body:not(.home) .post.category-oharrak {
  padding: 1rem !important;
  border-radius: 1rem !important;
  margin-bottom: 2rem !important;
  height: fit-content !important;
  background-color: #efefef;
}

.d-flex.jarioa {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.d-flex.jarioa .wp-block-post {
  flex-basis: 31%;
  margin-bottom: 2rem;
}

body:not(.paged) .d-flex.jarioa .wp-block-post:nth-child(1), body:not(.paged) .d-flex.jarioa .wp-block-post:nth-child(2) {
  flex-basis: 45%;
  background-color: #e5e5e5;
  margin-top: 0;
  margin-bottom: 0;
  padding: 1.5rem !important;
  border-radius: 25px;
}

/**/
#blog-block {
  transition: background-color 0.3s ease;
}

#blog-block:hover {
  background-color: var(--secondary-color-blue1) !important;
}
#blog-block:hover img {
  border: 3px solid white;
}

#blog-block h3 {
  font-size: 24px;
}

.oharrak-home li .wp-block-columns-is-layout-flex {
  padding: 1rem 0;
}
.oharrak-home h3 {
  padding-right: 3rem;
  position: relative;
  background: url("../assets/img/gezia-link.png") no-repeat right center;
  padding-bottom: 1rem;
}
.oharrak-home h3:hover {
  color: var(--secondary-color-blue1);
  background: url("../assets/img/gezia-link_hover.png") no-repeat right center;
}
.oharrak-home a:hover {
  text-decoration: none !important;
}

body.category-oharrak.post-template-default main {
  border: 3px solid var(--secondary-color-blue1);
  padding: 4rem;
  max-width: 1000px;
  border-radius: 4rem 0 4rem 0;
  margin: 5rem auto;
}
body.category-oharrak.post-template-default main h1 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#hezkuntza-eskaintza p {
  font-weight: 300;
}
#hezkuntza-eskaintza .wp-block-column {
  position: relative;
  text-align: center;
}
#hezkuntza-eskaintza .wp-block-column img {
  border-radius: 50% !important;
  transition: border-radius 0.3s ease;
}
#hezkuntza-eskaintza .wp-block-column:hover img {
  border-radius: 15% !important;
}
#hezkuntza-eskaintza .wp-block-column:hover h3 {
  border-radius: 15% !important;
  background-color: var(--primary-color-yellow) !important;
  bottom: 1rem;
}
#hezkuntza-eskaintza h3 {
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  margin-left: -63px;
  padding: 1rem;
  display: inline-block;
  border-radius: 50% !important;
  aspect-ratio: 1/1;
  width: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-radius 0.3s ease, background-color 0.3s ease, bottom 0.3s ease;
}
#hezkuntza-eskaintza h3 a {
  color: white;
}
#hezkuntza-eskaintza .wp-block-column:nth-child(1) h3 {
  background-color: var(--secondary-color-green1);
}
#hezkuntza-eskaintza .wp-block-column:nth-child(2) h3 {
  background-color: var(--secondary-color-blue2);
}
#hezkuntza-eskaintza .wp-block-column:nth-child(3) h3 {
  background-color: var(--secondary-color-pink);
}
#hezkuntza-eskaintza .wp-block-column:nth-child(4) h3 {
  background-color: var(--secondary-color-blue1);
}

#big-featured-right .wp-block-column.is-layout-flow, #big-featured-left .wp-block-column.is-layout-flow {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
#big-featured-right .wp-block-column.is-layout-flow h2, #big-featured-left .wp-block-column.is-layout-flow h2 {
  margin-bottom: 2rem;
}
#big-featured-right .wp-block-column.is-layout-flow p, #big-featured-left .wp-block-column.is-layout-flow p {
  font-weight: 300;
}

a.wp-block-button__link.wp-element-button {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
a.wp-block-button__link.wp-element-button:hover {
  background-color: var(--secondary-color-blue1);
  color: white;
  border-color: var(--secondary-color-blue1);
}

#familia-eta-egunerokoak .wp-block-columns {
  max-width: 1000px;
}
#familia-eta-egunerokoak div.has-background {
  aspect-ratio: 1/1;
  border-radius: 50% !important;
  background-color: rgba(255, 255, 255, 0.5) !important;
  border: 2px solid white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  padding-bottom: 3.8rem;
  margin: 1rem 0;
  transition: background-color 0.3s ease, padding-bottom 0.3s ease;
}
#familia-eta-egunerokoak div.has-background:hover {
  padding-bottom: 5rem;
  background-color: rgb(255, 255, 255) !important;
}

#contact-form ::placeholder {
  color: var(--primary-color-blue);
  opacity: 0.7;
}
#contact-form input[type=submit] {
  background-color: var(--primary-color-blue);
  color: white;
  border: none;
  transition: background-color 0.3s ease;
}
#contact-form input[type=submit]:hover {
  background-color: var(--secondary-color-blue1);
}
#contact-form figure {
  margin-left: 0;
}

footer.site-footer {
  max-width: var(--wp--style--global--content-size);
  margin-left: auto;
  margin-right: auto;
}
footer.site-footer #ikastola-logo {
  border: 3px solid var(--primary-color-blue) !important;
  border-radius: 60px !important;
  background: url("../assets/img/back-footer.png") no-repeat bottom 1rem right 1rem;
  margin-bottom: 1rem;
}

/**/
@media (max-width: 1400px) {
  .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100% !important;
    margin-left: 1rem !important;
    margin-right: 1rem !important;
  }
  header.site-header > .wp-block-group.has-background {
    padding: 0 !important;
  }
}
@media (max-width: 1315px) { /*logoa txikitzen da*/
  header.site-header > .wp-block-group.has-background {
    padding: 0;
  }
  .logoa {
    max-width: 30%;
  }
  .logoa > .has-global-padding {
    padding: 0 2rem 1rem 2rem !important;
  }
  .logoa > .has-global-padding img {
    margin-top: 0rem;
  }
}
@media (max-width: 1270px) {
  .d-flex.jarioa .wp-block-post {
    flex-basis: 30%;
  }
  body:not(.paged) .d-flex.jarioa .wp-block-post:nth-child(1), body:not(.paged) .d-flex.jarioa .wp-block-post:nth-child(2) {
    flex-basis: 42%;
  }
}
@media (min-width: 1160px) {
  .mainmenu li.mega-m-search, .mainmenu li.mega-lang-item, .mainmenu li.mega-m-contact {
    display: none !important;
  }
  .lang-item a {
    display: inline-block;
    margin-top: 5px;
  }
}
@media (max-width: 1160px) { /*hanburguer menu breakpoint, logoa handitu*/
  .logoa {
    max-width: 50%;
  }
  body:not(.home) .header-menus div.mainmenu {
    background-color: var(--primary-color-blue) !important;
  }
  li.mega-lang-item, li.mega-m-search, li.mega-m-contact {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
  }
  li.mega-m-search .mega-menu-link {
    background: url("../assets/img/i_search-w.png") no-repeat center left 10px !important;
    padding-left: 2.5rem !important;
  }
  li.mega-m-contact .mega-menu-link {
    background: url("../assets/img/i_mail-w.png") no-repeat center left 10px !important;
    padding-left: 2.5rem !important;
  }
  .site-actions {
    display: none !important;
  }
  .header-menus div.mainmenu {
    max-width: 100%;
    background-color: var(--primary-color-blue) !important;
    margin-top: 2rem !important;
  }
  .header-menus div.mainmenu .mega-menu-wrap {
    margin: 0 !important;
  }
  li.mega-bi ul.mega-sub-menu {
    max-width: 90vw !important;
  }
  li.mega-bi ul.mega-sub-menu .ul.mega-sub-menu {
    padding: 0;
  }
  li.mega-bi ul.mega-sub-menu li.menu-item {
    margin-bottom: 1rem;
  }
  li.mega-bi ul.mega-sub-menu li.menu-item a {
    line-height: 1.2rem !important;
  }
}
@media (max-width: 990px) {
  li.mega-bi ul.mega-sub-menu {
    max-width: 90vw !important;
  }
  #block-notices .wp-block-post {
    margin-top: 0;
  }
  #block-notices .wp-block-post .wp-block-columns {
    margin: 0;
  }
  #hezkuntza-eskaintza h3 {
    bottom: -1.5rem;
    margin-left: -15px;
  }
  #big-featured-right .wp-block-column.is-layout-flow, #big-featured-left .wp-block-column.is-layout-flow {
    justify-content: start;
  }
  #familia-eta-egunerokoak .wp-block-columns {
    flex-wrap: wrap !important;
    justify-content: center;
  }
  #familia-eta-egunerokoak .wp-block-column {
    flex-basis: 33% !important;
  }
  .mega-sub-menu .mega-menu-columns-5-of-12 {
    display: none !important;
  }
  .mega-sub-menu ul.menu {
    padding: 0 !important;
  }
  body.category-oharrak.post-template-default main {
    padding: 1rem 0;
    margin: 2rem 1rem;
    border-radius: 2rem 0 2rem 0;
  }
  h1 {
    font-size: 34px;
  }
  h2 {
    font-size: 30px;
  }
}
@media (max-width: 880px) { /*hanburguer menu breakpoint, logoa handitu*/
  .logoa {
    max-width: 40%;
  }
  .d-flex.jarioa .wp-block-post {
    flex-basis: 100%;
  }
  body:not(.paged) .d-flex.jarioa .wp-block-post:nth-child(1), body:not(.paged) .d-flex.jarioa .wp-block-post:nth-child(2) {
    flex-basis: 100%;
  }
}
@media (max-width: 770px) {
  .header-top {
    background-color: white;
  }
  .header-top .wp-block-columns {
    padding: 0 !important;
  }
  .home .site-header::after {
    content: none;
  }
  .logoa {
    max-width: 70%;
    width: 70%;
  }
  .logoa .kurulogo {
    padding: 0 !important;
    margin: 0 !important;
  }
  .logoa > .has-global-padding {
    padding: 1rem 0 2rem 0 !important;
  }
  .site-header .header-menus {
    width: 30%;
  }
  .errota-caption p {
    padding-left: 30% !important;
  }
  #main-featured {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  #blog-and-notices {
    padding: 1rem 0 !important;
  }
  #news-block {
    padding: 0 1rem !important;
  }
  #news-block .wp-block-group {
    padding: 2rem 0 0 0 !important;
  }
  #news-block .wp-block-post {
    max-width: 75vw;
  }
  .wp-news-carousel__btn {
    display: none;
  }
  #big-featured-left, #big-featured-right {
    padding: 2rem 0 !important;
  }
  #big-featured-right .wp-block-column:nth-child(1) {
    order: 1;
  }
  #familia-eta-egunerokoak {
    padding: 2rem 1rem !important;
  }
  #familia-eta-egunerokoak .wp-block-column {
    flex-basis: 45% !important;
  }
  #familia-eta-egunerokoak div.has-background {
    aspect-ratio: auto;
    height: 100%;
    border-radius: 2rem !important;
  }
  #contact-form {
    padding-bottom: 2rem !important;
  }
  #contact-form figure {
    margin: 0 !important;
  }
  footer #ikastola-logo {
    padding-bottom: 15rem !important;
  }
  .site-header > .wp-block-group.alignfull {
    background-position-x: center !important;
  }
  .errota-caption::before {
    width: 50px;
    height: 50px;
  }
  .errota-caption::after {
    top: -3rem;
    right: 5rem;
    width: 60px;
    height: 60px;
  }
  .errota-caption {
    padding: 1rem !important;
  }
  .wp-block-buttons {
    gap: 0.5rem;
  }
  .wp-block-buttons .wp-block-button__link {
    font-size: 1rem;
  }
  main {
    padding-top: 2rem !important;
  }
  body.category ul.columns-2 { /*albisteak*/
    margin-top: 0;
    padding-top: 0 !important;
  }
  body.category ul.columns-2 li > .wp-block-group {
    padding: 1 0.5rem 1.5rem 0.5rem !important;
    margin-top: 0 !important;
  }
  body.category li.wp-block-post {
    margin-bottom: 2rem !important;
  }
  body.post-template-default h1 {
    padding: 0 !important;
  }
  body.post-template-default main .is-layout-flex {
    flex-wrap: wrap !important;
    gap: 0.5rem;
  }
  body.post-template-default main .is-layout-flex .wp-block-post-date, body.post-template-default main .is-layout-flex .taxonomy-category {
    padding: 0 !important;
    border: none !important;
    text-align: center;
    line-height: 1.5rem;
  }
}
#mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner, #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before, #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
  background-color: white;
}

/*# sourceMappingURL=main.css.map */
