/* main.css de elnacionalista.net - Versión final limpia y organizada */

@import url("https://fonts.googleapis.com/css?family=Open+Sans:400,600,400italic,600italic|Roboto+Slab:400,700");

/* Resets y básicos */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

body {
  -webkit-text-size-adjust: none;
}

mark {
  background-color: transparent;
  color: inherit;
}

input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input, select, textarea {
  -moz-appearance: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  appearance: none;
}

/* Basic */
@-ms-viewport {
  width: device-width;
}

body {
  -ms-overflow-style: scrollbar;
}

@media screen and (max-width: 480px) {
  html, body {
    min-width: 320px;
  }
}

html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  background: #ffffff;
}

body.is-preload *, body.is-preload *:before, body.is-preload *:after, body.is-resizing *, body.is-resizing *:before, body.is-resizing *:after {
  animation: none !important;
  transition: none !important;
}

/* Type */
body, input, select, textarea {
  color: #7f888f;
  font-family: "Open Sans", sans-serif;
  font-size: 13pt;
  font-weight: 400;
  line-height: 1.65;
}

a {
  transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
  border-bottom: dotted 1px;
  color: #f56a6a;
  text-decoration: none;
}

a:hover {
  border-bottom-color: #f56a6a;
  color: #f56a6a !important;
}

a:hover strong {
  color: inherit;
}

strong, b {
  color: #3d4449;
  font-weight: 600;
}

em, i {
  font-style: italic;
}

p {
  margin: 0 0 2em 0;
}

h1, h2, h3, h4, h5, h6 {
  color: #3d4449;
  font-family: "Roboto Slab", serif;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 1em 0;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: inherit;
  text-decoration: none;
  border-bottom: 0;
}

h1 {
  font-size: 4em;
  margin: 0 0 0.5em 0;
  line-height: 1.3;
}

h2 {
  font-size: 1.75em;
}

h3 {
  font-size: 1.25em;
}

h4 {
  font-size: 1.1em;
}

h5 {
  font-size: 0.9em;
}

h6 {
  font-size: 0.7em;
}

sub {
  font-size: 0.8em;
  position: relative;
  top: 0.5em;
}

sup {
  font-size: 0.8em;
  position: relative;
  top: -0.5em;
}

blockquote {
  border-left: solid 3px rgba(210, 215, 217, 0.75);
  font-style: italic;
  margin: 0 0 2em 0;
  padding: 0.5em 0 0.5em 2em;
}

code {
  background: rgba(230, 235, 237, 0.25);
  border-radius: 0.375em;
  border: solid 1px rgba(210, 215, 217, 0.75);
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  margin: 0 0.25em;
  padding: 0.25em 0.65em;
}

pre {
  -webkit-overflow-scrolling: touch;
  font-family: "Courier New", monospace;
  font-size: 0.9em;
  margin: 0 0 2em 0;
}

pre code {
  display: block;
  line-height: 1.75;
  padding: 1em 1.5em;
  overflow-x: auto;
}

hr {
  border: 0;
  border-bottom: solid 1px rgba(210, 215, 217, 0.75);
  margin: 2em 0;
}

hr.major {
  margin: 3em 0;
}

.align-left {
  text-align: left;
}

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

.align-right {
  text-align: right;
}

/* Row/Grid */
.row {
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  align-items: stretch;
}

.row > * {
  box-sizing: border-box;
}

.row.gtr-uniform > * > :last-child {
  margin-bottom: 0;
}

.row.aln-left {
  justify-content: flex-start;
}

.row.aln-center {
  justify-content: center;
}

.row.aln-right {
  justify-content: flex-end;
}

.row.aln-top {
  align-items: flex-start;
}

.row.aln-middle {
  align-items: center;
}

.row.aln-bottom {
  align-items: flex-end;
}

.row > .imp {
  order: -1;
}

.row > .col-1 {
  width: 8.33333%;
}

.row > .off-1 {
  margin-left: 8.33333%;
}

.row > .col-2 {
  width: 16.66667%;
}

.row > .off-2 {
  margin-left: 16.66667%;
}

.row > .col-3 {
  width: 25%;
}

.row > .off-3 {
  margin-left: 25%;
}

.row > .col-4 {
  width: 33.33333%;
}

.row > .off-4 {
  margin-left: 33.33333%;
}

.row > .col-5 {
  width: 41.66667%;
}

.row > .off-5 {
  margin-left: 41.66667%;
}

.row > .col-6 {
  width: 50%;
}

.row > .off-6 {
  margin-left: 50%;
}

.row > .col-7 {
  width: 58.33333%;
}

.row > .off-7 {
  margin-left: 58.33333%;
}

.row > .col-8 {
  width: 66.66667%;
}

.row > .off-8 {
  margin-left: 66.66667%;
}

.row > .col-9 {
  width: 75%;
}

.row > .off-9 {
  margin-left: 75%;
}

.row > .col-10 {
  width: 83.33333%;
}

.row > .off-10 {
  margin-left: 83.33333%;
}

.row > .col-11 {
  width: 91.66667%;
}

.row > .off-11 {
  margin-left: 91.66667%;
}

.row > .col-12 {
  width: 100%;
}

.row > .off-12 {
  margin-left: 100%;
}

.row.gtr-0 {
  margin-top: 0;
  margin-left: 0em;
}

.row.gtr-0 > * {
  padding: 0 0 0 0em;
}

.row.gtr-0.gtr-uniform {
  margin-top: 0em;
}

.row.gtr-0.gtr-uniform > * {
  padding-top: 0em;
}

.row.gtr-25 {
  margin-top: 0;
  margin-left: -0.375em;
}

.row.gtr-25 > * {
  padding: 0 0 0 0.375em;
}

.row.gtr-25.gtr-uniform {
  margin-top: -0.375em;
}

.row.gtr-25.gtr-uniform > * {
  padding-top: 0.375em;
}

.row.gtr-50 {
  margin-top: 0;
  margin-left: -0.75em;
}

.row.gtr-50 > * {
  padding: 0 0 0 0.75em;
}

.row.gtr-50.gtr-uniform {
  margin-top: -0.75em;
}

.row.gtr-50.gtr-uniform > * {
  padding-top: 0.75em;
}

.row {
  margin-top: 0;
  margin-left: -1.5em;
}

.row > * {
  padding: 0 0 0 1.5em;
}

.row.gtr-uniform {
  margin-top: -1.5em;
}

.row.gtr-uniform > * {
  padding-top: 1.5em;
}

.row.gtr-150 {
  margin-top: 0;
  margin-left: -2.25em;
}

.row.gtr-150 > * {
  padding: 0 0 0 2.25em;
}

.row.gtr-150.gtr-uniform {
  margin-top: -2.25em;
}

.row.gtr-150.gtr-uniform > * {
  padding-top: 2.25em;
}

.row.gtr-200 {
  margin-top: 0;
  margin-left: -3em;
}

.row.gtr-200 > * {
  padding: 0 0 0 3em;
}

.row.gtr-200.gtr-uniform {
  margin-top: -3em;
}

.row.gtr-200.gtr-uniform > * {
  padding-top: 3em;
}

/* Form */
form {
  margin: 0 0 2em 0;
}

label {
  color: #3d4449;
  display: block;
  font-size: 0.9em;
  font-weight: 600;
  margin: 0 0 1em 0;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
select,
textarea {
  appearance: none;
  background: #ffffff;
  border-radius: 0.375em;
  border: solid 1px rgba(210, 215, 217, 0.75);
  color: inherit;
  display: block;
  outline: 0;
  padding: 0 1em;
  text-decoration: none;
  width: 100%;
}

input[type="text"]:invalid,
input[type="password"]:invalid,
input[type="email"]:invalid,
input[type="tel"]:invalid,
input[type="search"]:invalid,
input[type="url"]:invalid,
select:invalid,
textarea:invalid {
  box-shadow: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
select:focus,
textarea:focus {
  border-color: #f56a6a;
  box-shadow: 0 0 0 1px #f56a6a;
}

select {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' preserveAspectRatio='none' viewBox='0 0 40 40'%3E%3Cpath d='M9.4,12.3l10.4,10.4l10.4-10.4c0.2-0.2,0.5-0.4,0.9-0.4c0.3,0,0.6,0.1,0.9,0.4l3.3,3.3c0.2,0.2,0.4,0.5,0.4,0.9 c0,0.4-0.1,0.6-0.4,0.9L20.7,31.9c-0.2,0.2-0.5,0.4-0.9,0.4c-0.3,0-0.6-0.1-0.9-0.4L4.3,17.3c-0.2-0.2-0.4-0.5-0.4-0.9 c0-0.4,0.1-0.6,0.4-0.9l3.3-3.3c0.2-0.2,0.5-0.4,0.9-0.4S9.1,12.1,9.4,12.3z' fill='rgba(210, 215, 217, 0.75)' /%3E%3C/svg%3E");
  background-size: 1.25em;
  background-repeat: no-repeat;
  background-position: calc(100% - 1em) center;
  height: 2.75em;
  padding-right: 2.75em;
  text-overflow: ellipsis;
}

select option {
  color: #3d4449;
  background: #ffffff;
}

select:focus::-ms-value {
  background-color: transparent;
}

select::-ms-expand {
  display: none;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="search"],
input[type="url"],
select {
  height: 2.75em;
}

textarea {
  padding: 0.75em 1em;
}

input[type="checkbox"],
input[type="radio"] {
  appearance: none;
  display: block;
  float: left;
  margin-right: -2em;
  opacity: 0;
  width: 1em;
  z-index: -1;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
  text-decoration: none;
  color: #7f888f;
  cursor: pointer;
  display: inline-block;
  font-size: 1em;
  font-weight: 400;
  padding-left: 2.4em;
  padding-right: 0.75em;
  position: relative;
}

input[type="checkbox"] + label:before,
input[type="radio"] + label:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  text-transform: none !important;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  background: #ffffff;
  border-radius: 0.375em;
  border: solid 1px rgba(210, 215, 217, 0.75);
  content: '';
  display: inline-block;
  font-size: 0.8em;
  height: 2.0625em;
  left: 0;
  line-height: 2.0625em;
  position: absolute;
  text-align: center;
  top: 0;
  width: 2.0625em;
}

input[type="checkbox"]:checked + label:before,
input[type="radio"]:checked + label:before {
  background: #3d4449;
  border-color: #3d4449;
  color: #ffffff;
  content: '\f00c';
}

input[type="checkbox"]:focus + label:before,
input[type="radio"]:focus + label:before {
  border-color: #f56a6a;
  box-shadow: 0 0 0 1px #f56a6a;
}

input[type="checkbox"] + label:before {
  border-radius: 0.375em;
}

input[type="radio"] + label:before {
  border-radius: 100%;
}

::-webkit-input-placeholder {
  color: #9fa3a6 !important;
  opacity: 1.0;
}

:-moz-placeholder {
  color: #9fa3a6 !important;
  opacity: 1.0;
}

::-moz-placeholder {
  color: #9fa3a6 !important;
  opacity: 1.0;
}

:-ms-input-placeholder {
  color: #9fa3a6 !important;
  opacity: 1.0;
}

/* Box */
.box {
  border-radius: 0.375em;
  border: solid 1px rgba(210, 215, 217, 0.75);
  margin-bottom: 2em;
  padding: 1.5em;
}

.box > :last-child,
.box > :last-child > :last-child,
.box > :last-child > :last-child > :last-child {
  margin-bottom: 0;
}

.box.alt {
  border: 0;
  border-radius: 0;
  padding: 0;
}

/* Icon */
.icon {
  text-decoration: none;
  border-bottom: none;
  position: relative;
}

.icon:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  text-transform: none !important;
  font-family: 'Font Awesome 5 Free';
  font-weight: 400;
}

.icon > .label {
  display: none;
}

.icon:before {
  line-height: inherit;
}

.icon.solid:before {
  font-weight: 900;
}

.icon.brands:before {
  font-family: 'Font Awesome 5 Brands';
}

/* Image */
.image {
  border-radius: 0.375em;
  border: 0;
  display: inline-block;
  position: relative;
}

.image img {
  border-radius: 0.375em;
  display: block;
}

.image.left, .image.right {
  max-width: 40%;
}

.image.left img, .image.right img {
  width: 100%;
}

.image.left {
  float: left;
  padding: 0 1.5em 1em 0;
  top: 0.25em;
}

.image.right {
  float: right;
  padding: 0 0 1em 1.5em;
  top: 0.25em;
}

.image.fit {
  display: block;
  margin: 0 0 2em 0;
  width: 100%;
}

.image.fit img {
  width: 100%;
}

.image.main {
  display: block;
  margin: 0 0 3em 0;
  width: 100%;
}

.image.main img {
  width: 100%;
}

a.image {
  overflow: hidden;
}

a.image img {
  transition: transform 0.2s ease;
}

a.image:hover img {
  transform: scale(1.075);
}

/* List */
ol {
  list-style: decimal;
  margin: 0 0 2em 0;
  padding-left: 1.25em;
}

ol li {
  padding-left: 0.25em;
}

ul {
  list-style: disc;
  margin: 0 0 2em 0;
  padding-left: 1em;
}

ul li {
  padding-left: 0.5em;
}

ul.alt {
  list-style: none;
  padding-left: 0;
}

ul.alt li {
  border-top: solid 1px rgba(210, 215, 217, 0.75);
  padding: 0.5em 0;
}

ul.alt li:first-child {
  border-top: 0;
  padding-top: 0;
}

dl {
  margin: 0 0 2em 0;
}

dl dt {
  display: block;
  font-weight: 600;
  margin: 0 0 1em 0;
}

dl dd {
  margin-left: 2em;
}

/* Actions */
ul.actions {
  display: flex;
  cursor: default;
  list-style: none;
  margin-left: -1em;
  padding-left: 0;
}

ul.actions li {
  padding: 0 0 0 1em;
  vertical-align: middle;
}

ul.actions.special {
  justify-content: center;
  width: 100%;
  margin-left: 0;
}

ul.actions.special li:first-child {
  padding-left: 0;
}

ul.actions.stacked {
  flex-direction: column;
  margin-left: 0;
}

ul.actions.stacked li {
  padding: 1.3em 0 0 0;
}

ul.actions.stacked li:first-child {
  padding-top: 0;
}

ul.actions.fit {
  width: calc(100% + 1em);
}

ul.actions.fit li {
  flex-grow: 1;
  flex-shrink: 1;
  width: 100%;
}

ul.actions.fit li > * {
  width: 100%;
}

ul.actions.fit.stacked {
  width: 100%;
}

/* Contact */
ul.contact {
  list-style: none;
  padding: 0;
}

ul.contact li {
  text-decoration: none;
  border-top: solid 1px rgba(210, 215, 217, 0.75);
  margin: 1.5em 0 0 0;
  padding: 1.5em 0 0 3em;
  position: relative;
}

ul.contact li:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  text-transform: none !important;
  font-family: 'Font Awesome 5 Free';
  font-weight: 400;
  color: #f56a6a;
  font-size: 1.5em;
  height: 1.125em;
  left: 0;
  line-height: 1.125em;
  position: absolute;
  text-align: center;
  top: 1em;
  width: 1.5em;
}

ul.contact li:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

ul.contact li:first-child:before {
  top: 0;
}

ul.contact li a {
  color: inherit;
}

/* Icons */
ul.icons {
  cursor: default;
  list-style: none;
  padding-left: 0;
}

ul.icons li {
  display: inline-block;
  padding: 0 1em 0 0;
}

ul.icons li:last-child {
  padding-right: 0;
}

ul.icons li .icon {
  color: inherit;
}

ul.icons li .icon:before {
  font-size: 1.25em;
}

/* Pagination */
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 2rem 0;
}

.pagination li {
  list-style: none;
}

.pagination a, .pagination span.button, .pagination .page {
  display: inline-block;
  padding: .5rem .9rem;
  font-size: .9rem;
  min-width: 2.4rem;
  text-align: center;
  color: #444;
  background: #f7f7f7;
  border: 1px solid #ddd;
  border-radius: .25rem;
  text-decoration: none;
  transition: background .25s, color .25s, border-color .25s;
}

.pagination .active, .pagination a:hover {
  background: #2a7ae4;
  color: #fff;
  border-color: #2a7ae4;
}

.pagination .disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* Table */
.table-wrapper {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
}

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

table tbody tr {
  border: solid 1px rgba(210, 215, 217, 0.75);
  border-left: 0;
  border-right: 0;
}

table tbody tr:nth-child(2n + 1) {
  background-color: rgba(230, 235, 237, 0.25);
}

table td {
  padding: 0.75em 0.75em;
}

table th {
  color: #3d4449;
  font-size: 0.9em;
  font-weight: 600;
  padding: 0 0.75em 0.75em 0.75em;
  text-align: left;
}

table thead {
  border-bottom: solid 2px rgba(210, 215, 217, 0.75);
}

table tfoot {
  border-top: solid 2px rgba(210, 215, 217, 0.75);
}

table.alt {
  border-collapse: separate;
}

table.alt tbody tr td {
  border: solid 1px rgba(210, 215, 217, 0.75);
  border-left-width: 0;
  border-top-width: 0;
}

table.alt tbody tr td:first-child {
  border-left-width: 1px;
}

table.alt tbody tr:first-child td {
  border-top-width: 1px;
}

table.alt thead {
  border-bottom: 0;
}

table.alt tfoot {
  border-top: 0;
}

/* Button */
input[type="submit"],
input[type="reset"],
input[type="button"],
button,
.button {
  appearance: none;
  transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  background-color: transparent;
  border-radius: 0.375em;
  border: 0;
  box-shadow: inset 0 0 0 2px #f56a6a;
  color: #f56a6a !important;
  cursor: pointer;
  display: inline-block;
  font-family: "Roboto Slab", serif;
  font-size: 0.8em;
  font-weight: 700;
  height: 3.5em;
  letter-spacing: 0.075em;
  line-height: 3.5em;
  padding: 0 2.25em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
button:hover,
.button:hover {
  background-color: rgba(245, 106, 106, 0.05);
}

input[type="submit"]:active,
input[type="reset"]:active,
input[type="button"]:active,
button:active,
.button:active {
  background-color: rgba(245, 106, 106, 0.15);
}

input[type="submit"].icon:before,
input[type="reset"].icon:before,
input[type="button"].icon:before,
button.icon:before,
.button.icon:before {
  margin-right: 0.5em;
}

input[type="submit"].fit,
input[type="reset"].fit,
input[type="button"].fit,
button.fit,
.button.fit {
  width: 100%;
}

input[type="submit"].small,
input[type="reset"].small,
input[type="button"].small,
button.small,
.button.small {
  font-size: 0.6em;
}

input[type="submit"].large,
input[type="reset"].large,
input[type="button"].large,
button.large,
.button.large {
  font-size: 1em;
  height: 3.65em;
  line-height: 3.65em;
}

input[type="submit"].primary,
input[type="reset"].primary,
input[type="button"].primary,
button.primary,
.button.primary {
  background-color: #f56a6a;
  box-shadow: none;
  color: #ffffff !important;
}

input[type="submit"].primary:hover,
input[type="reset"].primary:hover,
input[type="button"].primary:hover,
button.primary:hover,
.button.primary:hover {
  background-color: #f67878;
}

input[type="submit"].primary:active,
input[type="reset"].primary:active,
input[type="button"].primary:active,
button.primary:active,
.button.primary:active {
  background-color: #f45c5c;
}

input[type="submit"].disabled,
input[type="submit"]:disabled,
input[type="reset"].disabled,
input[type="reset"]:disabled,
input[type="button"].disabled,
input[type="button"]:disabled,
button.disabled,
button:disabled,
.button.disabled,
.button:disabled {
  pointer-events: none;
  opacity: 0.25;
}

/* Mini Posts */
.mini-posts article {
  border-top: solid 1px rgba(210, 215, 217, 0.75);
  margin-top: 2em;
  padding-top: 2em;
}

.mini-posts article .image {
  display: block;
  margin: 0 0 1.5em 0;
}

.mini-posts article .image img {
  display: block;
  width: 100%;
}

.mini-posts article:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

/* Features */
.features {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 2em -3em;
  width: calc(100% + 3em);
}

.features article {
  align-items: center;
  display: flex;
  margin: 0 0 3em 3em;
  position: relative;
  width: calc(50% - 3em);
}

.features article:nth-child(2n - 1) {
  margin-right: 1.5em;
}

.features article:nth-child(2n) {
  margin-left: 1.5em;
}

.features article:nth-last-child(1),
.features article:nth-last-child(2) {
  margin-bottom: 0;
}

.features article .icon {
  flex-grow: 0;
  flex-shrink: 0;
  display: block;
  height: 10em;
  line-height: 10em;
  margin: 0 2em 0 0;
  text-align: center;
  width: 10em;
}

.features article .icon:before {
  color: #f56a6a;
  font-size: 2.75rem;
  position: relative;
  top: 0.05em;
}

.features article .icon:after {
  transform: rotate(45deg);
  border-radius: 0.25rem;
  border: solid 2px rgba(210, 215, 217, 0.75);
  content: '';
  display: block;
  height: 7em;
  left: 50%;
  margin: -3.5em 0 0 -3.5em;
  position: absolute;
  top: 50%;
  width: 7em;
}

.features article .content {
  flex-grow: 1;
  flex-shrink: 1;
  width: 100%;
}

.features article .content > :last-child {
  margin-bottom: 0;
}

/* Posts */
.posts {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 2em -6em;
  width: calc(100% + 6em);
}

.posts article {
  flex-grow: 0;
  flex-shrink: 1;
  margin: 0 0 6em 6em;
  position: relative;
  width: calc(33.33333% - 6em);
}

.posts article:before {
  background: rgba(210, 215, 217, 0.75);
  content: '';
  display: block;
  height: calc(100% + 6em);
  left: -3em;
  position: absolute;
  top: 0;
  width: 1px;
}

.posts article:after {
  background: rgba(210, 215, 217, 0.75);
  bottom: -3em;
  content: '';
  display: block;
  height: 1px;
  position: absolute;
  right: 0;
  width: calc(100% + 6em);
}

.posts article > :last-child {
  margin-bottom: 0;
}

.posts article .image {
  display: block;
  margin: 0 0 2em 0;
}

.posts article .image img {
  display: block;
  width: 100%;
}

/* Wrapper */
#wrapper {
  display: flex;
  flex-direction: row-reverse;
  min-height: 100vh;
}

/* Main */
#main {
  flex-grow: 1;
  flex-shrink: 1;
  width: 100%;
}

#main > .inner {
  padding: 0 6em 0.1em 6em;
  margin: 0 auto;
  max-width: 110em;
}

#main > .inner > section {
  padding: 6em 0 4em 0;
  border-top: solid 2px rgba(210, 215, 217, 0.75);
}

#main > .inner > section:first-of-type {
  border-top: 0 !important;
}

/* Sidebar */
#search form {
  text-decoration: none;
  position: relative;
}

#search form:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  text-transform: none !important;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  -moz-transform: scaleX(-1);
  -webkit-transform: scaleX(-1);
  -ms-transform: scaleX(-1);
  transform: scaleX(-1);
  color: #7f888f;
  content: '\f002';
  cursor: default;
  font-size: 1.5em;
  height: 2em;
  line-height: 2em;
  opacity: 0.325;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 2em;
}

#search form input[type="text"] {
  padding-right: 2.75em;
}

#sidebar {
  flex-grow: 0;
  flex-shrink: 0;
  transition: margin-left 0.5s ease, box-shadow 0.5s ease;
  background-color: #f5f6f7;
  font-size: 0.9em;
  position: relative;
  width: 26em;
}

#sidebar h2 {
  font-size: 1.38889em;
}

#sidebar > .inner {
  padding: 2.22222em 2.22222em 2.44444em 2.22222em;
  position: relative;
  width: 26em;
}

#sidebar > .inner > * {
  border-bottom: solid 2px rgba(210, 215, 217, 0.75);
  margin: 0 0 3.5em 0;
  padding: 0 0 3.5em 0;
}

#sidebar > .inner > * > :last-child {
  margin-bottom: 0;
}

#sidebar > .inner > *:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

#sidebar > .inner > .alt {
  background-color: #eff1f2;
  border-bottom: 0;
  margin: -2.22222em 0 4.44444em -2.22222em;
  padding: 2.22222em;
  width: calc(100% + 4.44444em);
}

#sidebar .toggle {
  text-decoration: none;
  transition: left 0.5s ease;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  border: 0;
  display: block;
  height: 7.5em;
  left: 26em;
  line-height: 7.5em;
  outline: 0;
  overflow: hidden;
  position: absolute;
  text-align: center;
  text-indent: -15em;
  white-space: nowrap;
  top: 0;
  width: 6em;
  z-index: 10000;
}

#sidebar .toggle:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  text-transform: none !important;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f0c9';
  font-size: 2rem;
  height: inherit;
  left: 0;
  line-height: inherit;
  position: absolute;
  text-indent: 0;
  top: 0;
  width: inherit;
}

#sidebar.inactive {
  margin-left: -26em;
}

/* Header */
#header {
  display: flex;
  border-bottom: solid 5px #f56a6a;
  padding: 6em 0 1em 0;
  position: relative;
}

#header > * {
  flex: 1;
  margin-bottom: 0;
}

#header .logo {
  border-bottom: 0;
  color: inherit;
  font-family: "Roboto Slab", serif;
  font-size: 1.125em;
}

#header .icons {
  text-align: right;
}

/* Menu */
.no-scroll, .no-scroll body {
  overflow: hidden;
}

#mobileMenuToggle {
  min-height: 44px;
  min-width: 44px;
}

#primaryNav[hidden] {
  display: none !important;
}

#primaryNav {
  position: absolute;
  right: 1rem;
  top: 3.25rem;
  z-index: 1000;
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  width: min(90vw, 360px);
  max-height: 80vh;
  overflow: auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  padding: .5rem .5rem;
}

#primaryNav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#primaryNav li {
  border-bottom: 1px solid #eee;
}

#primaryNav li:last-child {
  border-bottom: 0;
}

#primaryNav a, #primaryNav .submenu-toggle {
  display: block;
  width: 100%;
  text-align: left;
  padding: .75rem 1rem;
  text-decoration: none;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

#primaryNav a:focus, #primaryNav .submenu-toggle:focus {
  outline: 2px solid #0a84ff;
  outline-offset: 2px;
}

#primaryNav .submenu-toggle::after {
  content: '▸';
  float: right;
  color: currentColor;
  opacity: .7;
}

#primaryNav .submenu-toggle[aria-expanded="true"]::after {
  content: '▾';
  opacity: 1;
}

#primaryNav li ul {
  padding-left: .5rem;
  background: #fafafa;
}

#primaryNav li ul[hidden] {
  display: none !important;
}

#primaryNav a:hover, #primaryNav .submenu-toggle:hover {
  background: #f7f7f7;
  border-radius: 4px;
}

#menu ul {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #3d4449;
  font-family: "Roboto Slab", serif;
  font-weight: 400;
  letter-spacing: 0.075em;
  list-style: none;
  margin-bottom: 0;
  padding: 0;
  text-transform: uppercase;
}

#menu ul a, #menu ul span {
  border-bottom: 0;
  color: inherit;
  cursor: pointer;
  display: block;
  font-size: 0.9em;
  padding: 0.625em 0;
}

#menu ul a:hover, #menu ul span:hover {
  color: #f56a6a;
}

#menu ul a.opener, #menu ul span.opener {
  transition: color 0.2s ease-in-out;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  position: relative;
}

#menu ul a.opener:before, #menu ul span.opener:before {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
  text-transform: none !important;
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
  color: #9fa3a6;
  content: '\f078';
  position: absolute;
  right: 0;
}

#menu ul a.opener:hover:before, #menu ul span.opener:hover:before {
  color: #f56a6a;
}

#menu ul a.opener.active + ul, #menu ul span.opener.active + ul {
  display: block;
}

#menu ul a.opener.active:before, #menu ul span.opener.active:before {
  transform: rotate(-180deg);
}

#menu > ul > li {
  border-top: solid 1px rgba(210, 215, 217, 0.75);
  margin: 0.5em 0 0 0;
  padding: 0.5em 0 0 0;
}

#menu > ul > li > ul {
  color: #9fa3a6;
  display: none;
  margin: 0.5em 0 1.5em 0;
  padding-left: 1em;
}

#menu > ul > li > ul a, #menu > ul > li > ul span {
  font-size: 0.8em;
}

#menu > ul > li > ul > li {
  margin: 0.125em 0 0 0;
  padding: 0.125em 0 0 0;
}

#menu > ul > li:first-child {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

#menu .opener + ul {
  display: none;
}

#menu .opener.active + ul {
  display: block;
}

#menu .opener {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
  position: relative;
  padding: .2rem 0;
}

#menu .opener::after {
  content: "";
  flex: 0 0 auto;
  width: .55rem;
  height: .55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 160ms ease;
  opacity: .9;
  margin-left: .25rem;
}

#menu .opener.active::after {
  transform: rotate(45deg);
}

#menu .opener:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
  border-radius: 2px;
}

#menu .opener + ul {
  margin-top: .35rem;
  margin-bottom: .5rem;
  padding-left: 1.25rem;
}

#menu ul {
  overflow: visible;
}

#menu a {
  text-decoration: none;
}

#menu a:hover, #menu a:focus {
  text-decoration: underline;
}

#sidebar #menu .opener + ul {
  display: none;
}

#sidebar #menu .opener.active + ul {
  display: block;
}

#menu .opener.active {
  color: inherit;
}

/* Breadcrumbs, Indice, Cap, More-posts */
.breadcrumbs {
  margin: .5rem 0 1.25rem;
  font-size: .95rem;
  color: #7f888f;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs li+li::before {
  content: '›';
  margin: 0 .5rem;
  color: #c0c4c7;
}

.breadcrumbs a {
  border-bottom: 0;
  text-decoration: none;
  color: inherit;
}

.breadcrumbs [aria-current="page"] {
  color: #3d4449;
  font-weight: 600;
}

.indice {
  margin: 1rem 0 2rem;
  padding: 1rem;
  background: #f6f6f6;
  border-radius: 8px;
}

.indice ol {
  margin: 0;
  padding-left: 1.25rem;
  list-style: decimal;
}

.indice a {
  text-decoration: none;
}

.cap {
  margin-bottom: 1rem;
}

.cap > details {
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  background: #fff;
}

.cap > details > summary {
  cursor: pointer;
  padding: .9rem 1rem;
  list-style: none;
}

.cap > details > summary::-webkit-details-marker {
  display: none;
}

.cap__body {
  padding: 1rem;
  border-top: 1px solid #eee;
}

.back-to-index {
  margin-top: 1rem;
}

.more-posts {
  margin-top: 2rem;
}

.more-posts .grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.tile {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  overflow: hidden;
}

.tile__link {
  display: grid;
  grid-template-rows: auto 1fr;
  color: inherit;
  text-decoration: none;
}

.tile__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.tile__title {
  display: block;
  padding: .75rem .9rem;
  font-weight: 600;
}

.tile__link:focus .tile__title, .tile__link:hover .tile__title {
  background: #f7f7f7;
}

/* Re-normalizar listas dentro del post */
.post ol {
  list-style: decimal;
  padding-left: 1.25rem;
}

.post ul {
  list-style: disc;
  padding-left: 1rem;
}

/* Botones del sidebar */
#sidebar .side-buttons {
  display: grid;
  gap: .5rem;
}

#sidebar .btn-nav, #sidebar .btn-sub {
  display: block;
  width: 100%;
  text-align: left;
  padding: .75rem 1rem;
  border: 1px solid #e2e2e2;
  border-radius: .5rem;
  background: #fff;
  color: inherit;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

#sidebar .btn-nav:hover, #sidebar .btn-sub:hover {
  background: #f7f7f7;
}

#sidebar .btn-nav:focus, #sidebar .btn-sub:focus {
  outline: 2px solid #0a84ff;
  outline-offset: 2px;
}

#sidebar .btn-nav.has-sub {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#sidebar .btn-nav.has-sub .caret {
  opacity: .7;
}

#sidebar .btn-nav.has-sub[aria-expanded="true"] .caret {
  transform: rotate(90deg);
  opacity: 1;
}

#sidebar .subgroup {
  display: grid;
  gap: .4rem;
  margin-left: .25rem;
}

#sidebar .subgroup[hidden] {
  display: none !important;
}

#sidebar .btn-sub {
  border-radius: .5rem;
  background: #fafafa;
  border: 1px solid #e9e9e9;
  padding-left: 1.25rem;
}

/* Prefooter */
.prefooter {
  margin-top: 2.5rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(0,0,0,.08);
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0));
}

.prefooter__wrap {
  max-width: 60ch;
}

.prefooter__title {
  margin: 0 0 .5rem 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.prefooter__text {
  margin: 0 0 1.25rem 0;
  opacity: .85;
}

/* Foco accesible global */
a:focus, button:focus, summary:focus {
  outline: 2px solid #0a84ff;
  outline-offset: 2px;
}

/* Banner */
#banner {
  padding: 6em 0 4em 0;
  display: flex;
}

#banner h1 {
  margin-top: -0.125em;
}

#banner .content {
  flex-grow: 1;
  flex-shrink: 1;
  width: 50%;
}

#banner .image {
  flex-grow: 0;
  flex-shrink: 0;
  display: block;
  margin: 0 0 2em 4em;
  width: 50%;
}

#banner .image img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  width: 100%;
}

/* Footer */
#footer .copyright {
  color: #9fa3a6;
  font-size: 0.9em;
}

#footer .copyright a {
  color: inherit;
}

/* Post-meta */
.post-meta {
  font-weight: bold;
  color: #333;
}

.post-meta time,
.post-meta span[itemprop="name"],
.post-meta .reading-time {
  font-weight: bold;
}

/* Custom button styles */
#primaryNav a,
#primaryNav .submenu-toggle,
.btn-nav,
.btn-sub,
.side-buttons > a,
#sidebar .btn-nav,
#sidebar .btn-sub {
  text-transform: uppercase !important;
  color: #ea5c5c !important;
  border: 1px solid #ea5c5c;
  border-radius: 0.75em;
  background: #fff;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: .75rem 1rem;
  margin: .38em 0;
  box-sizing: border-box;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  font-family: 'Roboto Slab', 'Open Sans', Arial, sans-serif;
}

#primaryNav a:hover,
#primaryNav .submenu-toggle:hover,
.btn-nav:hover,
.btn-sub:hover,
.side-buttons > a:hover {
  background: #fff4f4;
  color: #f56a6a !important;
  border-color: #f56a6a;
}

/* Typography improvements */
body, p, .post-meta {
  font-size: 0.90rem;
  line-height: 1.75;
}

h1, h2, h3 {
  font-family: "Roboto Slab", serif;
  letter-spacing: 0.02em;
  color: #3d4449;
}

/* Spacing and layout */
.inner {
  padding: 2rem 3rem;
}

section, .post {
  margin-bottom: 3rem;
}

.mini-posts article {
  margin-bottom: 2.5rem;
}

/* Colors and shadows */
a {
  color: #f56a6a;
  transition: color 0.3s ease;
}

a:hover {
  color: #d44e4e;
}

.box, .tile, .prefooter {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-radius: 0.75em;
}

.prefooter {
  background: #fffaf8;
}

/* Accessibility and transitions */
a:focus, button:focus, .submenu-toggle:focus {
  outline: 2px solid #f56a6a;
  outline-offset: 2px;
  box-shadow: 0 0 8px rgba(245, 106, 106, 0.3);
}

.image, a.image:hover img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.image:hover img {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.post-meta {
  font-size: 0.95rem;
  color: #7f888f;
  font-weight: 600;
}

/* Media queries */
@media screen and (max-width: 1680px) {
  body, input, select, textarea {
    font-size: 11pt;
  }

  h1 {
    font-size: 3.5em;
  }

  #main > .inner {
    padding: 0 5em 0.1em 5em;
  }

  #main > .inner > section {
    padding: 5em 0 3em 0;
  }

  #header {
    padding-top: 5em;
  }

  #sidebar {
    width: 24em;
  }

  #sidebar > .inner {
    padding: 1.66667em 1.66667em 1.33333em 1.66667em;
    width: 24em;
  }

  #sidebar > .inner > .alt {
    margin: -1.66667em 0 3.33333em -1.66667em;
    padding: 1.66667em;
    width: calc(100% + 3.33333em);
  }

  #sidebar .toggle {
    height: 6.25em;
    left: 24em;
    line-height: 6.25em;
    text-indent: 5em;
    width: 5em;
  }

  #sidebar .toggle:before {
    font-size: 1.5rem;
  }

  #sidebar.inactive {
    margin-left: -24em;
  }

  .posts article {
    width: calc(50% - 6em);
  }

  .posts article:nth-last-child(3) {
    margin-bottom: 6em;
  }
}

@media screen and (max-width: 1280px) {
  body, input, select, textarea {
    font-size: 10pt;
  }

  #main > .inner {
    padding: 0 4em 0.1em 4em;
  }

  #main > .inner > section {
    padding: 4em 0 2em 0;
  }

  #sidebar {
    box-shadow: 0 0 5em 0 rgba(0, 0, 0, 0.175);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    z-index: 10000;
  }

  #sidebar.inactive {
    box-shadow: none;
  }

  #sidebar > .inner {
    -webkit-overflow-scrolling: touch;
    height: 100%;
    left: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    top: 0;
  }

  #sidebar > .inner:after {
    content: '';
    display: block;
    height: 4em;
    width: 100%;
  }

  #sidebar .toggle {
    text-indent: 6em;
    width: 6em;
  }

  #sidebar .toggle:before {
    font-size: 1.5rem;
    margin-left: -0.4375em;
  }

  body.is-preload #sidebar {
    display: none;
  }
}

@media screen and (max-width: 1200px) {
  .inner {
    padding-left: 1.55rem;
    padding-right: 1.25rem;
  }
}

@media screen and (max-width: 980px) {
  h1 {
    font-size: 3.25em;
  }

  .features {
    margin: 0 0 2em 0;
    width: 100%;
  }

  .features article {
    margin: 0 0 3em 0;
    width: 100%;
  }

  .features article:nth-child(2n - 1) {
    margin-right: 0;
  }

  .features article:nth-child(2n) {
    margin-left: 0;
  }

  .features article:nth-last-child(1),
  .features article:nth-last-child(2) {
    margin-bottom: 3em;
  }

  .features article:last-child {
    margin-bottom: 0;
  }

  .features article .icon {
    height: 8em;
    line-height: 8em;
    width: 8em;
  }

  .features article .icon:before {
    font-size: 2.25rem;
  }

  .features article .icon:after {
    height: 6em;
    margin: -3em 0 0 -3em;
    width: 6em;
  }

  .prefooter {
    padding: 2rem 0;
  }

  .prefooter__title {
    font-size: 1.2rem;
  }

  #menu {
    width: 100%;
  }
}

@media screen and (min-width: 992px) {
  #mobileMenuToggle {
    display: none;
  }

  #primaryNav {
    position: static;
    display: block !important;
    border: 0;
    box-shadow: none;
    width: auto;
    max-height: none;
    padding: 0;
    background: transparent;
  }

  #primaryNav > ul {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  #primaryNav li {
    position: relative;
    border: 0;
  }

  #primaryNav a, #primaryNav .submenu-toggle {
    padding: .5rem .75rem;
  }

  #primaryNav li ul {
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 6px;
    padding: .25rem 0;
    margin-top: .25rem;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 1000;
  }

  #primaryNav li:focus-within > ul, #primaryNav li:hover > ul {
    display: block !important;
  }

  #primaryNav .submenu-toggle::after {
    content: '▾';
  }
}

@media screen and (max-width: 800px) {
  .inner {
    padding-left: 0.95rem;
    padding-right: 0.75rem;
  }
}

@media screen and (max-width: 736px) {
  body, input, select, textarea {
    font-size: 9pt;
  }

  h1 {
    font-size: 2em;
    line-height: 1.4;
  }

  h2 {
    font-size: 1.5em;
  }

  #main > .inner {
    padding: 0 2em 0.1em 2em;
  }

  #main > .inner > section {
    padding: 3em 0 1em 0;
  }

  #header {
    padding-top: 6.5em;
  }

  #header .logo {
    font-size: 1.25em;
    margin: 0;
  }

  #header .icons {
    height: 5em;
    line-height: 5em;
    position: absolute;
    right: -0.5em;
    top: 0;
  }

  #sidebar .toggle {
    text-indent: 7.25em;
    width: 7.25em;
  }

  #sidebar .toggle:before {
    color: #7f888f;
    margin-left: -0.0625em;
    margin-top: -0.25em;
    font-size: 1.1rem;
    z-index: 1;
  }

  #sidebar .toggle:after {
    background: rgba(222, 225, 226, 0.75);
    border-radius: 0.375em;
    content: '';
    height: 3.5em;
    left: 1em;
    position: absolute;
    top: 1em;
    width: 5em;
  }

  .posts {
    margin: 0 0 2em -4.5em;
    width: calc(100% + 4.5em);
  }

  .posts article {
    margin: 0 0 4.5em 4.5em;
    width: calc(50% - 4.5em);
  }

  .posts article:before {
    height: calc(100% + 4.5em);
    left: -2.25em;
  }

  .posts article:after {
    bottom: -2.25em;
    width: calc(100% + 4.5em);
  }

  .posts article:nth-last-child(3) {
    margin-bottom: 4.5em;
  }

  .inner {
    padding: 1.5rem 1rem;
  }

  .inner {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

@media screen and (max-width: 600px) {
  .pagination {
    justify-content: center;
  }

  .pagination a, .pagination span {
    padding: .4rem .7rem;
    font-size: .85rem;
  }
}

@media screen and (max-width: 480px) {
  .features article {
    flex-direction: column;
    align-items: flex-start;
  }

  .features article .icon {
    height: 6em;
    line-height: 6em;
    margin: 0 0 1.5em 0;
    width: 6em;
  }

  .features article .icon:before {
    font-size: 1.5rem;
  }

  .features article .icon:after {
    height: 4em;
    margin: -2em 0 0 -2em;
    width: 4em;
  }

  .posts {
    margin: 0 0 2em 0;
    width: 100%;
  }

  .posts article {
    margin: 0 0 4.5em 0;
    width: 100%;
  }

  .posts article:before {
    display: none;
  }

  .posts article:after {
    width: 100%;
  }

  .posts article:last-child {
    margin-bottom: 0;
  }

  .posts article:last-child:after {
    display: none;
  }

  #banner .image {
    max-height: 35vh;
  }
}

@media screen and (min-width: 481px) and (max-width: 1680px) {
  .posts article:nth-child(2n + 1):before {
    display: none;
  }

  .posts article:nth-child(2n + 1):after {
    width: 100%;
  }

  .posts article:nth-last-child(1),
  .posts article:nth-last-child(2) {
    margin-bottom: 0;
  }

  .posts article:nth-last-child(1):before,
  .posts article:nth-last-child(2):before {
    height: 100%;
  }

  .posts article:nth-last-child(1):after,
  .posts article:nth-last-child(2):after {
    display: none;
  }
}

@media screen and (min-width: 1681px) {
  .posts article:nth-child(3n + 1):before {
    display: none;
  }

  .posts article:nth-child(3n + 1):after {
    width: 100%;
  }

  .posts article:nth-last-child(1),
  .posts article:nth-last-child(2),
  .posts article:nth-last-child(3) {
    margin-bottom: 0;
  }

  .posts article:nth-last-child(1):before,
  .posts article:nth-last-child(2):before,
  .posts article:nth-last-child(3):before {
    height: 100%;
  }

  .posts article:nth-last-child(1):after,
  .posts article:nth-last-child(2):after,
  .posts article:nth-last-child(3):after {
    display: none;
  }
}

@media screen and (orientation: portrait) {
  #banner {
    flex-direction: column-reverse;
  }

  #banner h1 br {
    display: none;
  }

  #banner .content {
    flex-grow: 0;
    flex-shrink: 0;
    width: 100%;
  }

  #banner .image {
    flex-grow: 0;
    flex-shrink: 0;
    margin: 0 0 4em 0;
    height: 25em;
    max-height: 50vh;
    min-height: 18em;
    width: 100%;
  }
}

@media screen and (orientation: portrait) and (max-width: 480px) {
  #banner .image {
    max-height: 35vh;
  }
}

/* Additional media queries for improvements */
@media (max-width: 980px) {
  .prefooter {
    padding: 2rem 0;
  }

  .prefooter__title {
    font-size: 1.2rem;
  }
}

@media (max-width: 600px) {
  .pagination {
    justify-content: center;
  }

  .pagination a, .pagination span {
    padding: .4rem .7rem;
    font-size: .85rem;
  }
}

#header .logo img {
  display: block;
  width: 100%;
  max-width: 240px;      /* Puedes subir este valor según tu diseño */
  height: auto;
}

@media (max-width: 600px) {
  #header .logo img {
    width: clamp(150px, 60vw, 200px); /* Escala entre 130px y 200px, ideal para móviles */
    max-width: 90vw;                  /* Nunca supera 90% del ancho de pantalla */
    min-width: 130px;                 /* No baja de 130px */
  }
}


/* Escalado responsivo del logo en la sidebar */
#sidebarNav .logo img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 0 auto;
}

@media (max-width: 600px) {
  #sidebarNav .logo img {
    max-width: 48vw;
    min-width: 70px;
  }
}

