@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-VF.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("../fonts/nunito-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Quincy CF";
  src: url("../fonts/quincy_cf_black.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
h1 {
  font-family: "Quincy CF";
  font-size: 2.375rem;
  line-height: 1.2em;
}

a {
  text-decoration: none;
  color: #3C3C3B;
}
a:hover {
  color: black;
}
a:visited {
  color: #3C3C3B;
}
a.button {
  padding: 5px 25px;
  background: #8CC04A;
  border-radius: 30px;
  color: white;
  font-family: "Montserrat";
  font-weight: 500;
  transition: all 0.6s ease;
}
a.button:hover {
  background: #7E71AA;
}
a.button.pdf {
  background: #8CC04A url("../images/pdf.svg") no-repeat;
  width: 200px;
  display: block;
  font-size: 0.875rem;
  padding: 15px 20px 15px 50px;
  background-position: left 25px top 15px;
  line-height: 1.1em;
  margin: 0 auto;
  background-size: 25px;
}
a.button.pdf:hover {
  background-size: 25px !important;
  background: #7E71AA url("../images/pdf.svg") no-repeat;
  background-position: left 25px top 15px;
}
a.external-link {
  color: #3C3C3B;
  padding-right: 40px;
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
  text-decoration: underline;
}
a.external-link:after {
  content: "";
  display: block;
  background: url("../images/external-link.svg") no-repeat;
  width: 32px;
  height: 22px;
  position: absolute;
  right: 0;
  top: 3px;
}
a.external-link:hover {
  text-decoration: none;
}
a.back_link {
  font-size: 0.875rem;
  color: #3C3C3B;
  position: relative;
  padding-left: 15px;
  margin-bottom: 50px;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  font-family: "Montserrat";
  font-weight: 500;
}
a.back_link:before {
  content: "";
  display: block;
  background: url("../images/back_arrow.svg") no-repeat;
  background-size: contain;
  width: 12px;
  height: 8px;
  position: absolute;
  left: 0;
  top: 6px;
}

.lang-eu a.button.pdf {
  width: 220px;
}

body, .page {
  color: #3C3C3B;
  background: #F6F6F6;
  margin-bottom: 0;
  font-family: "Nunito";
  font-size: 1.125rem;
}

.container-narrow {
  max-width: 1180px;
}

.site-header {
  text-align: center;
  padding: 30px 0;
  position: relative;
  margin-bottom: 40px;
}
.site-header .site-branding {
  width: -moz-fit-content;
  width: fit-content;
  display: inline-block;
}
.site-header .back-button {
  position: absolute;
  left: 30px;
}
.site-header .header-right {
  position: absolute;
  right: 30px;
  top: 30px;
  display: flex;
  align-items: center;
}
.site-header .header-right .search-wrapper {
  display: flex;
}
.site-header .header-right .search-wrapper .searchwp-form {
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition: width 0.3s ease, opacity 0.2s ease;
}
.site-header .header-right .search-wrapper .searchwp-form .swp-input {
  border: 0 !important;
  border-radius: 30px !important;
  background: #EDEDED url("../images/lupa.svg") no-repeat;
  background-position: left 10px center;
  padding-left: 35px;
  padding-right: 10px;
}
.site-header .header-right .search-wrapper .searchwp-form .swp-input:focus-visible {
  outline: none;
}
.site-header .header-right .search-wrapper.open .searchwp-form {
  flex: 1 1 auto;
  width: auto;
  opacity: 1;
}
.site-header .header-right .search-wrapper.open img {
  display: none;
}
.site-header .header-right .langs {
  margin-left: 10px;
}
.site-header .header-right .langs .wpml-ls-legacy-dropdown {
  width: -moz-fit-content;
  width: fit-content;
}
.site-header .header-right .langs .wpml-ls-legacy-dropdown .wpml-ls-sub-menu {
  border: 0;
}
.site-header .header-right .langs a {
  width: -moz-fit-content;
  width: fit-content;
  border: 0;
  background: none;
  font-family: "Nunito";
  font-size: 0.875rem;
  color: #3C3C3B;
  position: relative;
}
.site-header .header-right .langs a.wpml-ls-item-toggle:after {
  width: 10px;
  height: 10px;
  display: block;
  border: 0;
  background: url("../images/open.svg") no-repeat;
  position: absolute;
  top: 7px;
}
.site-header .header-right .langs .wpml-ls-sub-menu a {
  font-weight: 700;
}

.home h1 {
  font-size: 3.125rem;
}
.home article {
  position: relative;
}
.home article .ball {
  background: url("../images/ball.svg") no-repeat;
  background-size: contain;
  width: 9%;
  aspect-ratio: 10/20;
  position: absolute;
  right: 0;
  top: -40px;
}
.home article .ele {
  background: url("../images/ele.svg") no-repeat;
  background-size: contain;
  width: 17%;
  aspect-ratio: 10/20;
  position: absolute;
  left: 0;
  top: -80px;
}
.home article header {
  padding: 0 15%;
  text-align: center;
  margin-bottom: 90px;
}
.home article header h2 {
  font-size: 1.5rem;
  font-weight: 600;
}
.home article header p {
  font-weight: 1.125rem;
  font-weight: 600;
  max-width: 840px;
  margin: 40px auto;
}
.home article header .search-wrapper {
  display: none;
  margin: 0 auto;
  max-width: 240px;
}
.home article header .search-wrapper .searchwp-form {
  overflow: hidden;
  transition: width 0.3s ease, opacity 0.2s ease;
}
.home article header .search-wrapper .searchwp-form .swp-input {
  border: 0 !important;
  border-radius: 30px !important;
  background: #EDEDED url("../images/lupa.svg") no-repeat;
  background-position: left 10px center;
  padding-left: 35px;
  padding-right: 10px;
}
.home article header .search-wrapper .searchwp-form .swp-input:focus-visible {
  outline: none;
}
.home section.areas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px;
  margin: 120px auto 40px auto;
  width: 1620px;
  max-width: 95%;
}
.home section.areas .areas-column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.home section.areas .area {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  position: relative;
}
.home section.areas .area.closed {
  color: white;
}
.home section.areas .area.closed h3 {
  margin-bottom: 0;
}
.home section.areas .area.closed h3 a {
  color: white;
}
.home section.areas .area-number {
  font-family: "Montserrat";
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  position: relative;
  z-index: 1;
  width: 22px;
}
.home section.areas .area-content {
  min-width: 0;
}
.home section.areas .area-content h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.3;
  letter-spacing: 0.08em;
  font-family: "Montserrat";
}
.home section.areas .area-content h3 a {
  color: #3C3C3B;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 600;
  padding-left: 10px;
  display: block;
}
.home section.areas .area-content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.home section.areas .area-content ul li {
  border-bottom: 1px solid #ccc;
  font-size: 1rem;
  line-height: 1.35;
}
.home section.areas .area-content ul li a {
  padding: 5px 10px;
  font-family: "Nunito";
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  display: block;
}
.home section.areas .area-content ul li a:hover {
  background: #DBD9DA;
}
.home section.download {
  background: #D8E9EC;
  padding: 50px 0;
  text-align: center;
  margin: 50px 0 10px 0;
}
.home .site-footer {
  margin-top: 10px;
}

.tax-recurso-cat .site-main {
  width: 90%;
  margin: 50px auto;
  position: relative;
}
.tax-recurso-cat .site-main .color_bar {
  position: absolute;
  left: -5vw;
  width: 50px;
  height: calc(100% - 70px);
}
.tax-recurso-cat .recursos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
  margin: 40px 0;
}

.tax-recurso-cat article, .search-results article {
  background: #D8E9EC;
  padding: 20px 40px 100px 40px;
  width: 100%;
  height: 220px;
  position: relative;
}
.tax-recurso-cat article h2, .search-results article h2 {
  font-family: "Montserrat";
  font-weight: bold;
  font-size: 1.125rem;
  text-transform: uppercase;
  line-height: 1.3em;
}
.tax-recurso-cat article .emergencias, .search-results article .emergencias {
  position: absolute;
  bottom: 20px;
  left: 40px;
}
.tax-recurso-cat article .emergencias a, .search-results article .emergencias a {
  background: #51A0B1;
  color: white;
  font-family: "Montserrat";
  font-size: 1.5rem;
  font-weight: bold;
  padding: 2px 10px;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 5px;
  display: block;
  transition: all 0.6s ease;
}
.tax-recurso-cat article .emergencias a:last-of-type, .search-results article .emergencias a:last-of-type {
  margin-bottom: 0;
}
.tax-recurso-cat article .emergencias a span, .search-results article .emergencias a span {
  font-size: 1.25rem;
}
.tax-recurso-cat article .emergencias a:hover, .search-results article .emergencias a:hover {
  background: #7E71AA;
}
.tax-recurso-cat article .intro, .search-results article .intro {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3em;
  font-family: "Montserrat";
  font-weight: 500;
}
.tax-recurso-cat article a.button, .search-results article a.button {
  position: absolute;
  bottom: 20px;
  left: 40px;
}

.single-recurso a.category_back {
  width: -moz-fit-content;
  width: fit-content;
  display: block;
  padding: 25px 40px 5px 25px;
  color: #3C3C3B;
  font-family: "Montserrat";
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 40px;
  position: relative;
}
.single-recurso a.category_back:before {
  content: "";
  background: url("../images/back_arrow.svg") no-repeat;
  background-size: contain;
  width: 12px;
  height: 12px;
  display: block;
  position: absolute;
  left: 10px;
  bottom: 12px;
}
.single-recurso .text-block {
  margin-bottom: 15px;
}
.single-recurso .text-block h2 {
  font-family: "Montserrat";
  font-weight: bold;
  font-size: 1.25rem;
  color: #F08354;
  margin-top: 40px;
}
.single-recurso .text-block h3 {
  font-family: "Montserrat";
  font-weight: bold;
  font-size: 1rem;
  background: #D5D2E6;
  padding: 2px 5px;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: 20px;
}
.single-recurso .text-block ul {
  padding-left: 0;
  margin-left: 20px;
}
.single-recurso .text-block a {
  color: #3C3C3B;
  text-decoration: underline;
}
.single-recurso .table-block {
  margin-bottom: 15px;
}
.single-recurso .table-block h2 {
  font-family: "Montserrat";
  font-weight: bold;
  font-size: 1.25rem;
  color: #F08354;
  margin-top: 40px;
}
.single-recurso .table-block h3 {
  font-family: "Montserrat";
  font-weight: bold;
  font-size: 1rem;
  background: #D5D2E6;
  padding: 2px 5px;
  width: -moz-fit-content;
  width: fit-content;
}
.single-recurso .table-block .comarca {
  background: #51A0B1;
  padding: 3px 10px;
  color: white;
  text-transform: uppercase;
  font-family: "Montserrat";
  font-weight: bold;
  margin-bottom: 5px;
}
.single-recurso .table-block .recurso {
  display: grid;
  grid-template-columns: 40% 15% 45%;
  grid-gap: 30px;
  background: #EDEDED;
  margin-bottom: 5px;
  padding: 20px 25px;
}
.single-recurso .table-block .recurso p {
  margin-bottom: 0;
}
.single-recurso .table-block .recurso p.title {
  font-weight: bold;
}
.single-recurso .table-block .recurso .phones .phone {
  padding-left: 25px;
  position: relative;
  margin-bottom: 5px;
  display: inline-flex;
  width: -moz-fit-content;
  width: fit-content;
}
.single-recurso .table-block .recurso .phones .phone .phone-info {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 10px;
  font-weight: bold;
  line-height: 1em;
  margin-left: 4px;
  cursor: help;
}
.single-recurso .table-block .recurso .phones .phone .phone-tooltip {
  position: absolute;
  z-index: 10;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  width: -moz-max-content;
  width: max-content;
  max-width: 250px;
  padding: 8px 12px;
  background: #333;
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  font-weight: normal;
  line-height: 1.4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.single-recurso .table-block .recurso .phones .phone .phone-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #333;
}
.single-recurso .table-block .recurso .phones .phone .phone-info:hover .phone-tooltip {
  opacity: 1;
  visibility: visible;
}
.single-recurso .table-block .recurso .phones .phone:last-of-type {
  margin-bottom: 0;
}
.single-recurso .table-block .recurso .phones .phone:before {
  content: "";
  background: url("../images/phone.svg") no-repeat;
  background-size: contain;
  width: 16px;
  height: 16px;
  display: block;
  position: absolute;
  left: 0;
  top: 3px;
}
.single-recurso .table-block .recurso .data a {
  margin-bottom: 5px;
  display: block;
  width: -moz-fit-content;
  width: fit-content;
}
.single-recurso .table-block .recurso .data a.mail {
  padding-left: 25px;
  position: relative;
}
.single-recurso .table-block .recurso .data a.mail:before {
  content: "";
  background: url("../images/mail.svg") no-repeat;
  background-size: contain;
  width: 16px;
  height: 16px;
  display: block;
  position: absolute;
  left: 0;
  top: 7px;
}
.single-recurso .table-block .recurso .data p.address {
  padding-left: 25px;
  position: relative;
}
.single-recurso .table-block .recurso .data p.address:before {
  content: "";
  background: url("../images/marker.svg") no-repeat;
  background-size: contain;
  width: 16px;
  height: 16px;
  display: block;
  position: absolute;
  left: 0;
  top: 5px;
}

.page-template-page-about .star {
  background: url("../images/star.svg") no-repeat;
  background-size: contain;
  width: 30%;
  aspect-ratio: 10/20;
  position: absolute;
  right: 0;
}
.page-template-page-about .featured {
  background: #D5D2E6;
  padding: 100px;
  margin-top: 40px;
}
.page-template-page-about .featured p {
  max-width: 60%;
  font-family: "Quincy CF";
  font-weight: 900;
  font-size: 1.875rem;
  line-height: 1.2em;
  margin-bottom: 0;
}
.page-template-page-about .content-wrapper {
  font-size: 1.125rem;
  margin: 80px 0;
  font-family: "Nunito";
}

.page-template-page-comarcas .comarcas-tabs {
  margin-left: -15px;
}
.page-template-page-comarcas .comarcas-tabs ul.nav-tabs {
  margin: 0 0 50px 15px;
  border: 0;
}
.page-template-page-comarcas .comarcas-tabs ul.nav-tabs .nav-item {
  flex-basis: initial;
  flex-grow: initial;
  margin-right: 10px;
  margin-bottom: 10px;
}
.page-template-page-comarcas .comarcas-tabs ul.nav-tabs .nav-item button {
  background: #E5E5E5;
  color: #3C3C3B;
  padding: 3px 15px;
  border-radius: 20px;
}
.page-template-page-comarcas .comarcas-tabs ul.nav-tabs .nav-item button.active {
  text-shadow: 0.3px 0 0 currentColor, -0.3px 0 0 currentColor;
}
.page-template-page-comarcas .tab-content {
  font-family: "Nunito";
  font-size: 1.125rem;
  padding-bottom: 100px;
}
.page-template-page-comarcas .tab-content h2 {
  font-size: 1.875rem;
  font-family: "Quincy CF";
  margin-bottom: 10px;
}
.page-template-page-comarcas .tab-content h3 {
  font-family: "Montserrat";
  font-weight: bold;
  font-size: 1.25rem;
  color: #F08354;
}
.page-template-page-comarcas .tab-content h4 {
  font-family: "Montserrat";
  font-weight: 700;
  font-size: 1.125rem;
  background: #D5D2E6;
  padding: 3px 5px;
  width: -moz-fit-content;
  width: fit-content;
}
.page-template-page-comarcas .tab-content h5 {
  background: #c4e2ec;
  font-family: "Montserrat";
  font-weight: 500;
  font-size: 1.125rem;
  width: -moz-fit-content;
  width: fit-content;
  padding: 3px 5px;
}
.page-template-page-comarcas .tab-content ul {
  margin: 0 0 30px 0;
  padding: 0;
}
.page-template-page-comarcas .tab-content ul li {
  list-style-type: none;
  margin-bottom: 3px;
}
.page-template-page-comarcas .tab-content a.external-link {
  color: #3C3C3B;
  text-decoration: none;
  background: #E5E5E5;
  padding: 3px 35px 3px 12px;
  border-radius: 15px;
  margin-bottom: 2px;
  display: inline-block;
}
.page-template-page-comarcas .tab-content a.external-link:after {
  background: url(../images/external-button.svg) no-repeat;
  top: 10px;
  right: 5px;
  width: 20px;
  height: 20px;
}
.page-template-page-comarcas .tab-content a.external-link:hover {
  background: #D8E9EC;
  text-decoration: underline;
}

.page-template-page-conceptos h1 {
  margin-bottom: 40px;
}
.page-template-page-conceptos .accordion button {
  font-size: 1.375rem;
  font-weight: 600;
  font-family: "Montserrat";
  background-color: #D8E9EC;
  color: #3C3C3B !important;
}
.page-template-page-conceptos .accordion button:focus {
  box-shadow: none;
}
.page-template-page-conceptos .accordion .accordion-item {
  background-color: #D8E9EC;
  margin-bottom: 7px;
  padding: 5px 15px;
  border-radius: 0;
}
.page-template-page-conceptos .featured {
  background: #FCE3DC;
  padding: 40px;
  margin: 60px 0 30px 0;
}
.page-template-page-conceptos .content-wrapper {
  margin: 40px 0;
}

.page-template-page-marco .decretos {
  margin: 40px 0 100px 0;
}
.page-template-page-marco .decretos .item {
  display: grid;
  grid-template-columns: 3fr 4fr 2fr;
  background: #EDEDED;
  grid-gap: 60px;
  margin-bottom: 5px;
  padding: 20px;
}
.page-template-page-marco .decretos .item p {
  margin-bottom: 0;
}
.page-template-page-marco .decretos .item p.title {
  font-weight: bold;
}
.page-template-page-marco .decretos .item .external-link {
  grid-column: 3;
  justify-self: end;
}

.page-template-page-lecturas .lecturas {
  margin: 40px 0 100px 0;
}
.page-template-page-lecturas .lecturas .item {
  display: grid;
  grid-template-columns: 3fr 4fr 3fr;
  background: #EDEDED;
  grid-gap: 60px;
  margin-bottom: 5px;
  padding: 20px;
  align-items: start;
}
.page-template-page-lecturas .lecturas .item p {
  margin-bottom: 0;
}
.page-template-page-lecturas .lecturas .item p.publication {
  font-size: 1.125rem;
  font-weight: bold;
}
.page-template-page-lecturas .lecturas .item p.publication span {
  font-weight: 400;
  font-size: 1rem;
}
.page-template-page-lecturas .lecturas .item .external-link {
  grid-column: 3;
  justify-self: end;
}

.search-results h1 {
  font-family: "Montserrat";
  font-size: 0.875rem;
  margin-bottom: 40px;
}
.search-results h1 span {
  font-weight: bold;
}
.search-results .site-main {
  width: 90%;
  margin: 0 auto;
}
.search-results .results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 10px;
}

.site-footer {
  background: #EDEDED;
  padding: 30px 50px 50px 50px;
  position: relative;
  margin-top: 100px;
}
.site-footer .footer-menus {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
}
.site-footer .footer-menus ul {
  margin: 0;
  padding: 0;
}
.site-footer .footer-menus ul li {
  list-style-type: none;
}
.site-footer .footer-menus ul li a {
  text-decoration: none;
  color: #3C3C3B;
}
.site-footer .footer-menus ul li a:hover {
  text-shadow: 0.3px 0 0 currentColor, -0.3px 0 0 currentColor;
}
.site-footer .footer-menus .footer-menu li {
  display: inline;
  margin-right: 20px;
}
.site-footer .footer-menus .footer-menu li a {
  text-transform: uppercase;
  font-size: 0.875rem;
  font-family: "Montserrat";
  font-weight: 600;
  display: inline-block;
}
.site-footer .footer-menus .legal-menu {
  position: relative;
  padding-bottom: 30px;
}
.site-footer .footer-menus .legal-menu::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #3C3C3B;
  margin-top: 20px;
  position: absolute;
  right: 0;
}
.site-footer .footer-menus .legal-menu li {
  text-align: right;
}
.site-footer .footer-menus .legal-menu li a {
  font-size: 0.875rem;
  font-family: "Nunito";
  font-weight: 400;
}
.site-footer .contact {
  text-align: center;
}
.site-footer .contact img {
  margin-bottom: 30px;
}
.site-footer .contact .claim {
  font-family: "Montserrat";
  font-weight: 600;
  font-size: 0.875rem;
}
.site-footer .contact .data {
  font-family: "Nunito";
  font-weight: 400;
  font-size: 0.875rem;
  color: #2F2F31;
  margin-bottom: 20px;
}
.site-footer .ssnn {
  position: absolute;
  right: 50px;
  bottom: 30px;
}
.site-footer .ssnn a {
  margin-left: 5px;
}

#masthead {
  width: 100%;
  background: transparent;
  z-index: 9999;
}

/* Header fijo al hacer scroll */
#masthead.header-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  background: #F6F6F6;
  padding-top: 10px;
  padding-bottom: 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
  animation: header-drop 0.4s ease both;
}
#masthead.header-scrolled .header-right {
  margin-top: -10px;
}

@keyframes header-drop {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
/* Reservar el espacio del header original */
#page.header-fixed #masthead {
  /* La cabecera deja de ocupar espacio en el flujo */
}

#page.header-fixed {
  /* El espacio se reserva con JavaScript */
}

@media (max-width: 1280px) {
  .page-template-page-marco .decretos .item {
    display: flex;
    flex-direction: column;
    grid-gap: initial;
  }
  .page-template-page-marco .decretos .item a.external-link {
    margin-top: 15px;
  }
  .page-template-page-lecturas .lecturas .item {
    display: flex;
    flex-direction: column;
    grid-gap: initial;
  }
  .page-template-page-lecturas .lecturas .item a.external-link {
    margin-top: 15px;
  }
  .single-recurso .table-block .recurso {
    display: flex;
    flex-direction: column;
    grid-gap: initial;
  }
  .single-recurso .table-block .recurso .phones {
    margin: 10px 0;
  }
  .site-footer .footer-menus {
    flex-direction: column;
  }
  .site-footer .footer-menus .footer-menu {
    text-align: center;
  }
  .site-footer .footer-menus .legal-menu {
    text-align: center;
    margin: 20px 0 40px 0;
  }
  .site-footer .footer-menus .legal-menu:after {
    right: 50%;
    transform: translateX(50%);
  }
  .site-footer .footer-menus .legal-menu li {
    display: inline;
    margin: 0 10px;
  }
}
@media (max-width: 1420px) {
  .tax-recurso-cat .recursos, .search-results .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tax-recurso-cat .site-main .color_bar {
    width: 25px;
  }
}
@media (max-width: 1180px) {
  .tax-recurso-cat .recursos article, .search-results .results-grid article {
    height: 250px;
  }
}
@media (max-width: 980px) {
  h1 {
    font-size: 2.75rem;
  }
  .home h1 {
    font-size: 2.75rem;
    line-height: 1em;
  }
  .home article header {
    margin-bottom: 40px;
  }
  .home article header h2 {
    font-size: 1.25rem;
  }
  .home section.areas {
    display: flex;
    flex-direction: column;
    grid-gap: 30px;
    margin-top: 40px;
  }
  .page-template-page-about .featured {
    padding: 50px;
  }
  .page-template-page-about .featured p {
    font-size: 1.5rem;
  }
  .page-template-page-about .content-wrapper {
    margin: 40px 0;
  }
  .tax-recurso-cat .recursos article, .search-results .results-grid article {
    height: 310px;
  }
  .site-footer .ssnn {
    position: relative;
    width: -moz-fit-content;
    width: fit-content;
    margin: 20px auto;
    right: initial;
    bottom: initial;
  }
}
@media (max-width: 780px) {
  .tax-recurso-cat .recursos, .search-results .results-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .tax-recurso-cat .recursos article, .search-results .results-grid article {
    height: initial;
    padding-bottom: 90px;
  }
}
@media (max-width: 576px) {
  #masthead.header-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    background: #F6F6F6;
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    animation: header-drop 0.4s ease both;
  }
  #masthead.header-scrolled .header-right {
    margin-top: 0;
    right: 0;
  }
  #masthead.header-scrolled .header-right .langs {
    margin-left: 0;
  }
  #masthead.header-scrolled .header-right .search-wrapper img {
    width: 25px;
  }
  #masthead.header-scrolled .site-branding {
    padding-top: 0;
  }
  #masthead.header-scrolled .site-branding img {
    max-width: 60%;
  }
  #masthead.header-scrolled .back-button img {
    width: 25px;
  }
  h1 {
    font-size: 1.75rem;
  }
  .site-header {
    padding-top: 50px;
  }
  .site-header .site-branding {
    padding-top: 20px;
  }
  .site-header .site-branding img {
    max-width: 90%;
  }
  .site-header .header-right {
    top: 10px;
    right: 10px;
  }
  .site-header .back-button {
    top: 10px;
    left: 10px;
  }
  .home .site-header {
    margin-bottom: 30px;
    text-align: left;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 20px;
  }
  .home .site-header .site-branding {
    position: relative;
    padding: 0;
  }
  .home .site-header .header-right {
    padding-top: 10px;
  }
  .home .site-header .header-right .search-wrapper {
    display: none;
  }
  .home article .ele, .home article .ball {
    display: none;
  }
  .home article header .search-wrapper {
    display: block;
  }
  .page-template-page-about .star {
    width: 25%;
  }
  .page-template-page-about .featured {
    margin-top: 20px;
    padding: 25px;
  }
  .page-template-page-about .featured p {
    font-size: 1.25rem;
    max-width: 70%;
  }
  .page-template-page-conceptos h1, .page-template-page-lecturas h1 {
    margin-bottom: 20px;
  }
  .page-template-page-marco .decretos, .page-template-page-lecturas .lecturas {
    margin: 20px 0 50px 0;
  }
  .tax-recurso-cat .site-main .color_bar {
    width: 15px;
  }
  .site-footer .footer-menus .footer-menu li {
    display: block;
    margin-right: 0;
  }
}/*# sourceMappingURL=style.css.map */