/*
Theme Name: GeneratePress Child
Theme URI: https://tusitio.com
Description: Child theme de GeneratePress
Author: Tu nombre
Template: generatepress
Version: 1.0
*/

:root {
  --smk-font-main: "Raleway", Arial, sans-serif;
  --smk-color-text: #666666;
  --smk-color-heading: #363636;
  --smk-color-link: #42b2fc;
  --smk-color-bg-page: #edf6fc;
  --smk-color-bg-content: #ffffff;
  --smk-color-footer: #42b2fc;
  --smk-color-menu: #30a2ed;
  --smk-content-max: 1240px;
  --smk-header-max: 1240px;
  --smk-sidebar-width: 250px;
  --smk-banner-bg: #30a2ed;
  --smk-banner-image: none;
}

body,
button,
input,
select,
textarea {
  font-family: var(--smk-font-main);
  font-size: 16px;
}

body {
  color: var(--smk-color-text);
  background: var(--smk-color-bg-page);
}

/* Override GeneratePress right-sidebar spacing to avoid forcing site-main left margin to 0. */
.separate-containers.right-sidebar .site-main {
  margin-left: 20px;
  margin-bottom: 0;
}

p {
  color: var(--smk-color-text);
  font-size: 16px;
}

a {
  color: var(--smk-color-link);
  font-size: 16px;
  font-weight: 700;
}

h1,
h2,
h3 {
  color: var(--smk-color-heading);
  margin: 0;
}

h1 {
  font-size: 30px;
  font-weight: 700;
}

h2 {
  font-size: 24px;
  font-weight: 700;
}

h3 {
  font-size: 20px;
  font-weight: 600;
}

.home .site-content {
  padding: 0;
}

.smk-home-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--smk-color-bg-page);
  min-height: 90px;
  display: flex;
  align-items: center;
}

.smk-home-header__inner {
  width: min(100% - 40px, var(--smk-header-max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.smk-home-header__brand img {
  max-height: 58px;
  width: auto;
}

.smk-brand-link,
.smk-footer-logo-link {
  display: inline-flex;
}

.smk-brand-logo {
  max-height: 58px;
  width: auto;
}

.smk-home-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.smk-menu-toggle {
  display: none;
}

.smk-home-menu > li {
  position: relative;
}

.smk-home-menu > li > a {
  color: var(--smk-color-menu);
  font-size: 24px;
  font-weight: 600;
  text-decoration: none;
}

/* Parent items with submenu behave as labels on desktop. */
.smk-home-menu > li.menu-item-has-children > a {
  cursor: default;
}

/* Current menu item is visually marked and not shown as clickable. */
.smk-home-menu > li.current-menu-item > a,
.smk-home-menu > li.current_page_item > a {
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: 12%;
  text-underline-offset: 25%;
  text-underline-position: from-font;
  cursor: default;
}

.smk-home-menu .sub-menu > li.current-menu-item > a,
.smk-home-menu .sub-menu > li.current-menu-ancestor > a,
.smk-home-menu .sub-menu > li.current_page_item > a,
.smk-home-menu .sub-menu > li.current_page_ancestor > a {
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: 12%;
  text-underline-offset: 25%;
  text-underline-position: from-font;
  cursor: default;
}

.smk-home-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin: 0;
  margin-top: 10px;
  padding: 12px 16px;
  list-style: none;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(54, 54, 54, 0.08);
  display: none;
}

.smk-home-menu > li.menu-item-has-children > .sub-menu {
  left: auto;
  right: 0;
}

.smk-home-menu .sub-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  width: 100%;
  height: 10px;
}

.smk-home-menu li:hover > .sub-menu,
.smk-home-menu li:focus-within > .sub-menu {
  display: block;
}

.smk-home-menu .sub-menu a {
  color: var(--smk-color-menu);
  font-size: 20px;
  font-weight: 400;
  display: block;
  padding: 4px 0;
  line-height: 1.35;
  text-align: right;
  text-decoration: none;
}

.smk-hero-search {
  padding: 28px 20px 6px;
}

.smk-hero-search__inner {
  max-width: 730px;
  margin: 0 auto;
}

.smk-hero-search h1,
.smk-search-form {
  max-width: 700px;
}

.smk-hero-search h1 {
  color: #666;
  font-size: 52px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 44px;
}

.smk-search-form {
  position: relative;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 44px;
}

.smk-search-form__field {
  width: 100%;
  border: 0;
  border-radius: 48px;
  min-height: 52px;
  color: rgba(102, 102, 102, 0.4);
  font-feature-settings: "liga" off, "clig" off;
  font-size: 20px;
  font-weight: 300;
  line-height: 44px;
  letter-spacing: -0.816px;
  box-shadow: 0 4px 6px 0 rgba(102, 102, 102, 0.4);
  background-color: #fff;
}

.smk-search-form input[type="search"].smk-search-form__field {
  border: 0;
  border-radius: 48px;
  padding: 7px 74px 7px 15px;
  -webkit-appearance: none;
  appearance: none;
}

.smk-search-form__field::placeholder {
  color: rgba(102, 102, 102, 0.4);
  font-feature-settings: "liga" off, "clig" off;
  font-size: 20px;
  font-weight: 300;
  line-height: 44px;
  letter-spacing: -0.816px;
}

.smk-search-form__submit {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  border: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent url("assets/icons/lupa-cabecera.svg") no-repeat center;
  cursor: pointer;
}

.smk-search-form__submit:hover,
.smk-search-form__submit:active {
  background: transparent url("assets/icons/lupa-cabecera.svg") no-repeat center;
  box-shadow: none;
  color: inherit;
}

.smk-search-form__submit:focus-visible {
  outline: 2px solid var(--smk-color-link);
  outline-offset: 2px;
  border-radius: 50%;
}

.smk-category-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  --smk-category-row-height: 40px;
  max-width: 730px;
  max-height: calc((var(--smk-category-row-height) * 3) + (12px * 2));
  overflow: hidden;
  margin: 0 auto;
}

.smk-category-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 999px;
  padding: 8px 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  background: var(--smk-btn-color, #30a2ed);
}

.smk-category-button:hover,
.smk-category-button:focus {
  color: #fff;
  text-decoration: none;
  background: var(--smk-btn-color, #30a2ed);
  opacity: 0.6;
}

.smk-content-area {
  padding: 24px 20px 0;
}

.smk-content-area__inner {
  width: min(100%, var(--smk-content-max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--smk-sidebar-width);
  gap: 54px;
  background: #fff;
  padding: 31px 38px 70px 34px;
  border-radius: 20px 20px 0 0;
}

/* Single column layout for pages (no sidebar). */
.smk-content-area__inner--single-column {
  grid-template-columns: 1fr;
}

.smk-archive-intro {
  grid-column: 1;
  margin-bottom: 32px;
}

.smk-archive-intro__title {
  margin: 0;
  color: var(--smk-color-heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.1;
}

.smk-archive-intro__description {
  margin-top: 10px;
}

.smk-archive-intro__description > :first-child {
  margin-top: 0;
}

.smk-archive-intro__description > :last-child {
  margin-bottom: 0;
}

/* Columna principal de archivos/busqueda: intro + listado apilados sin afectar al sidebar. */
.smk-archive-main .smk-archive-primary,
.smk-search-main .smk-archive-primary {
  grid-column: 1;
  min-width: 0;
}

.smk-archive-main .smk-home-sidebar {
  grid-column: 2;
  align-self: start;
}

.smk-archive-main .smk-home-sidebar,
.category .smk-home-sidebar,
.author .smk-home-sidebar {
  height: 100%;
}

.smk-single-post__thumbnail {
  width: 100%;
  aspect-ratio: 258 / 103;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.smk-single-post__thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.smk-single-post__category {
  margin-bottom: 12px;
}

.smk-single-post__header {
  margin-bottom: 36px;
}

.smk-single-post__title {
  font-size: 36px;
  margin-bottom: 12px;
}

.smk-single-post__date {
  margin: 0;
}

.smk-single-post__body h1,
.smk-single-post__body h2,
.smk-single-post__body h3,
.smk-single-post__body h4,
.smk-single-post__body h5,
.smk-single-post__body h6 {
  margin-bottom: 12px;
}

.smk-single-post__body h1 {
  font-size: 36px;
}

.smk-single-post__body h2 {
  font-size: 30px;
}

.smk-single-post__body h3 {
  font-size: 24px;
}

.smk-single-post__body h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--smk-color-heading);
}

.smk-single-post__body img {
  max-width: 100%;
  height: auto;
  margin-bottom: 24px;
}


.smk-single-post__body a {
  color: var(--smk-color-text);
  font-weight: inherit;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-underline-position: from-font;
}

.smk-single-post__body a:hover {
  opacity: 0.6
}

/* Page-specific styles: similar to posts but with simpler structure. */
.smk-page-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}

.smk-page-thumbnail img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.smk-page-header {
  margin-bottom: 32px;
}

.smk-page-title {
  font-size: 36px;
  margin-bottom: 0;
}

.smk-page-body h1,
.smk-page-body h2,
.smk-page-body h3,
.smk-page-body h4,
.smk-page-body h5,
.smk-page-body h6 {
  margin-bottom: 12px;
}

.smk-page-body h1 {
  font-size: 36px;
}

.smk-page-body h2 {
  font-size: 30px;
}

.smk-page-body h3 {
  font-size: 24px;
}

.smk-page-body h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--smk-color-heading);
}

.smk-page-body img {
  max-width: 100%;
  height: auto;
  margin-bottom: 24px;
}

.smk-page-body a {
  color: var(--smk-color-text);
  font-weight: inherit;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-underline-position: from-font;
}

.smk-post-banner {
  margin: 24px 0;
  padding: 20px 24px;
  padding-right: 155px;
  border-radius: 12px;
  background: var(--smk-banner-bg, #30a2ed);
  background-image: var(--smk-banner-image, none);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  min-height: 180px;
}

.smk-post-banner__left {
  color: #fff;
}

.smk-post-banner__title {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
}

.smk-post-banner__subtitle {
  margin: 10px 0 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
}

.smk-single-post__body .smk-post-banner__cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border-radius: 25px;
  border: 0;
  background: #f36d21;
  box-shadow: none;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.smk-single-post__body .smk-post-banner__cta:hover {
  color: #fff;
  text-decoration: none;
  opacity: 0.6;
}

.smk-single-post__body .smk-post-banner--read .smk-post-banner__cta {
  color: #363636;
  background: #fff;
  text-decoration: none;
}

.smk-single-post__body .smk-post-banner--read .smk-post-banner__cta:hover {
  color: #868686;
  opacity: 1;
}

.smk-side-banner {
  border-radius: 12px;
  background: var(--smk-banner-bg, #30a2ed);
  color: #fff;
  width: 250px;
  margin-left: auto;
  margin-right: auto;
  padding: 27px 22px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.smk-home-sidebar .widget:has(.smk-side-banner),
.smk-home-sidebar .widget.smk-core-contextual-banner-widget {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.smk-side-banner__title {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
}

.smk-side-banner__subtitle {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
}

.smk-side-banner__cta {
  align-self: flex-start;
  margin-top: 4px;
  padding: 9px 17px;
  border-radius: 25px;
  background: #f36d21;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.smk-side-banner__cta:hover,
.smk-side-banner__cta:focus {
  color: #fff;
}

.smk-side-banner__cta:hover {
  opacity: 0.6;
}

.smk-side-banner--read .smk-side-banner__cta {
  color: #363636;
  background: #fff;
}

.smk-side-banner--read .smk-side-banner__cta:hover {
  color: #868686;
  opacity: 1;
}

.smk-side-banner__image {
  margin-top: -16px;
}

.smk-side-banner-split {
  width: 250px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.smk-home-sidebar .widget:has(.smk-side-banner-split),
.smk-home-sidebar .widget.smk-core-contextual-banner-secondary-widget {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.smk-home-sidebar > .widget.smk-core-contextual-banner-secondary-widget:last-child {
  position: sticky;
  top: 110px;
}

.smk-side-banner-split__head {
  background: var(--smk-banner-bg, #30a2ed);
  padding: 22px;
}

.smk-side-banner-split__title {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
}

.smk-side-banner-split__body {
  background: rgba(102, 102, 102, 0.1);
  padding: 22px;
}

.smk-side-banner-split__subtitle {
  margin: 0;
  color: #363636;
  font-size: 16px;
  font-weight: 500;
  line-height: normal;
}

.smk-side-banner-split__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 13px 29px;
  border-radius: 25px;
  background: #f36d21;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.smk-side-banner-split__cta:hover,
.smk-side-banner-split__cta:focus {
  color: #fff;
}

.smk-side-banner-split__cta:hover {
  opacity: 0.6;
}

.smk-social-share {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.smk-social-share__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.smk-social-share__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  text-decoration: none;
}

.smk-social-share__icon {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.smk-social-share__text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.smk-related-posts {
  margin-top: 36px;
}

.smk-author-box {
  margin-top: 36px;
  margin-bottom: 36px;
  padding: 12px;
  border: 1px solid #42b2fc;
  border-radius: 66px 8px 8px 8px;
  background: transparent;
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.smk-author-box__media {
  width: 125px;
  height: 125px;
  flex: 0 0 125px;
}

.smk-author-box__media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.smk-author-box__photo,
.smk-author-box__photo-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.smk-author-box__photo {
  object-fit: cover;
}

.smk-author-box__photo-placeholder {
  background: rgba(102, 102, 102, 0.15);
}

.smk-author-box__content {
  min-width: 0;
  flex: 1 1 auto;
}

.smk-author-box__name {
  margin: 0 0 8px;
  color: #666;
  font-size: 24px;
  font-weight: 600;
}

.smk-author-box__name a,
.smk-author-box__name a:hover,
.smk-author-box__name a:focus {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.smk-author-box__bio {
  color: var(--smk-color-text);
  font-size: 12px;
  line-height: 21px;
}

.smk-author-box__bio p {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 21px;
}

.smk-author-box__bio p:last-child {
  margin-bottom: 0;
}


.smk-comments {
  margin-top: 36px;
  padding: 0;
}

.smk-comments .comment-list > li.comment > article.comment-body {
  padding-top: 12px;
  padding-bottom: 12px;
}

.smk-comments .comment-list .comment-meta,
.smk-comments .comment-list .comment-content {
  background: #fafaf9;
}

.smk-comments .comment-list .comment-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
  padding: 24px 12px 0;
}

.smk-comments .comment-list .comment-author {
  margin: 0;
}

.smk-comments .comment-list .comment-author .fn,
.smk-comments .comment-list .comment-author .fn a {
  color: #42b2fc;
}

.smk-comments .comment-list .comment-author .says {
  display: none;
}

.smk-comments .comment-list .comment-metadata {
  margin-left: auto;
}

.smk-comments .comment-list .comment-metadata a,
.smk-comments .comment-list .comment-metadata time {
  color: #666;
  font-weight: 400;
  text-decoration: none;
  font-size: 14px;
}

.smk-comments .comment-list .comment-metadata a {
  pointer-events: none;
  cursor: default;
}

.smk-comments .comment-list .comment-content {
  margin-top: 0;
  padding: 12px 12px 24px;
  border: 0;
  box-shadow: none;
}

.smk-comments .comment-list .comment-content > :first-child {
  margin-top: 0;
}

.smk-comments .comment-list .comment-content  p {
  font-size: 14px;
}

.smk-comments .comment-list ul.children {
  border-left: 0;
  padding-left: 80px;
}

/* Reply button styles with icon. */
.smk-comments .reply {
  margin-top: 12px;
}

.smk-comments .comment-reply-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 12.75px;
  font-weight: 700;
  text-decoration: none;
}

.smk-comments .comment-reply-link::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: url("assets/icons/lapiz-responder.svg") center/contain no-repeat;
}

.smk-comments .comment-reply-link:hover,
.smk-comments .comment-reply-link:focus {
  color: #666;
  text-decoration: none;
  opacity: 0.6;
}

/* Align reply button to the right in nested comments. */
.smk-comments .comment-list ul.children .reply {
  text-align: right;
}

.smk-single-post #comments.comments-area,
.smk-single-post .smk-comments {
  padding: 0 !important;
}

.smk-comments__form-wrap,
.smk-comments #respond {
  padding: 0;
}

.smk-comments__form-wrap #reply-title,
.smk-comments #respond #reply-title {
  margin: 0 0 16px;
}

.smk-comments__form-wrap #reply-subtitle,
.smk-comments__form-wrap #reply-support,
.smk-comments__form-wrap #new-comment-message,
.smk-comments #respond #reply-subtitle,
.smk-comments #respond #reply-support,
.smk-comments #respond #new-comment-message {
  font-size: 12px;
  margin: 0;
}

.smk-comments__form-wrap #reply-support,
.smk-comments__form-wrap p#new-comment-message,
.smk-comments #respond #reply-support,
.smk-comments #respond p#new-comment-message {
  margin-bottom: 24px;
}

.smk-comments__form-wrap #reply-subtitle + #reply-support,
.smk-comments #respond #reply-subtitle + #reply-support {
  margin-top: 0;
}

.smk-comments__form-wrap #author,
.smk-comments__form-wrap #email,
.smk-comments__form-wrap #comment,
.smk-comments #respond #author,
.smk-comments #respond #email,
.smk-comments #respond #comment {
  display: block;
  width: 100%;
  max-width: 646px;
  box-sizing: border-box;
  margin-bottom: 24px;
  padding: 8px 16px;
  border-radius: 2px;
  border: 1px solid #666;
  background: #fff;
}

.smk-comments__form-wrap .form-submit,
.smk-comments #respond .form-submit {
  margin: 0;
}

.smk-comments__form-wrap .smk-comments__submit,
.smk-comments #respond .smk-comments__submit {
  padding: 10px 60px;
  border-radius: 50px;
  border: 1px solid #f36d21;
  color: #f36d21;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 3px 0 0 #F36D21;
}

.smk-comments__form-wrap .smk-comments__submit:hover,
.smk-comments #respond .smk-comments__submit:hover {
  color: #fff;
  background: #f36d21;
  box-shadow: none;
}

.smk-comments__form-wrap #reply-subtitle a,
.smk-comments__form-wrap #reply-support a,
.smk-comments__form-wrap #new-comment-message a,
.smk-comments #respond #reply-subtitle a,
.smk-comments #respond #reply-support a,
.smk-comments #respond #new-comment-message a {
  color: var(--smk-color-text);
  font-weight: inherit;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-underline-position: from-font;
  font-size: 12px;
}

.smk-comments__form-wrap input::placeholder,
.smk-comments__form-wrap textarea::placeholder,
.smk-comments #respond input::placeholder,
.smk-comments #respond textarea::placeholder {
  color: rgba(102, 102, 102, 0.4);
  font-size: 14px;
  font-weight: 400;
}

.smk-comments__form-wrap + p.encabezado3 {
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--smk-color-text);
  font-size: 24px;
  font-weight: 600;
}

.smk-related-posts__title {
  margin-bottom: 16px;
  color: var(--smk-color-text);
  font-size: 24px;
  font-weight: 600;
}

.smk-related-posts__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.smk-related-posts__item {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}

.smk-related-posts__item::before {
  content: ">";
  color: var(--smk-color-link);
  font-weight: 600;
}

.smk-single-post .smk-related-posts__link {
  display: inline;
  padding: 0;
  border: 0;
  color: var(--smk-color-link);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}

.smk-single-post .smk-related-posts__link:hover,
.smk-single-post .smk-related-posts__link:focus {
  text-decoration: none;
}

.smk-post-list {
  display: grid;
  gap: 24px;
  align-content: start;
  align-self: start;
}

/* Keep empty-search content aligned with the main posts column while sidebar remains visible. */
.smk-search-main .smk-no-results,
.smk-404-main .smk-no-results {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Break out of GeneratePress content container so search main spans the viewport. */
.smk-search-main,
.smk-404-main {
  width: 100vw;
  max-width: none;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* No results section: displays intro + content similar to results page. */
.smk-no-results {
  display: grid;
  gap: 24px;
  align-content: start;
  align-self: start;
}

.smk-no-results__content > p {
  margin: 24px 0 32px 0;
  color: var(--smk-color-text);
  font-size: 16px;
  line-height: 1.6;
}

.smk-no-results__content .smk-search-form {
  max-width: 450px;
  margin: 0;
}

.smk-post-card {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 24px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 4px 8px 0 rgba(102, 102, 102, 0.4);
  overflow: hidden;
  padding-right: 18px;
}

.smk-post-card__thumb {
  width: 250px;
  height: 250px;
  display: block;
  background: rgba(102, 102, 102, 0.08);
}

.smk-post-card__thumb img,
.smk-post-card__thumb-placeholder {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.smk-post-card__content {
  padding: 18px 0;
  display: flex;
  flex-direction: column;
}

.smk-post-card__title {
  margin-bottom: 10px;
}

.smk-post-card__title a {
  color: var(--smk-color-heading);
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.smk-post-card__date {
  font-size: 16px;
  margin-bottom: 10px;
}

.smk-post-card__excerpt {
  font-size: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: auto;
}

.smk-post-card__excerpt p {
  font-size: inherit;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.smk-post-card__meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 18px;
}

.smk-post-card__category {
  color: rgba(102, 102, 102, 0.4);
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
}

.smk-post-card__category:hover,
.smk-post-card__category:focus {
  color: rgba(102, 102, 102, 0.4);
  text-decoration: none;
  opacity: 0.6;
}

.smk-post-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  white-space: nowrap;
}

.smk-post-card__readmore:hover,
.smk-post-card__readmore:focus {
  color: var(--smk-color-link);
  text-decoration: none;
  opacity: 0.6;
}

.smk-post-card__readmore::after {
  content: "";
  width: 22px;
  height: 22px;
  background: url("assets/icons/flecha-azul-leer.svg") center/contain no-repeat;
}

.smk-post-card__category::before {
  content: "";
  width: 22px;
  height: 22px;
  background: url("assets/icons/etiqueta-categoria.svg") center/contain no-repeat;
}

.smk-pagination {
  margin-top: 20px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
}

.smk-pagination .page-numbers {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  color: #363636;
  border: 2px solid rgba(102, 102, 102, 0.1);
}

.smk-pagination .page-numbers.current {
  background: rgba(102, 102, 102, 0.4);
  color: #fff;
  border-color: transparent;
}

/* Optical correction for numerals only without moving the circle. */
.smk-pagination .page-numbers:not(.smk-page-icon) {
  box-sizing: border-box;
  padding-bottom: 3px;
}

.smk-pagination .smk-page-icon {
  position: relative;
  font-size: 0;
  line-height: 0;
}

.smk-pagination .smk-page-icon::before {
  content: "";
  width: 32px;
  height: 32px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.smk-pagination .smk-page-first::before {
  background-image: url("assets/icons/paginacion-prim.svg");
}

.smk-pagination .smk-page-prev::before {
  background-image: url("assets/icons/paginacion-prev.svg");
}

.smk-pagination .smk-page-next::before {
  background-image: url("assets/icons/paginacion-sig.svg");
}

.smk-pagination .smk-page-last::before {
  background-image: url("assets/icons/paginacion-ult.svg");
}

.smk-pagination .smk-page-disabled {
  opacity: 0.5;
  pointer-events: none;
}

.smk-home-sidebar {
  width: var(--smk-sidebar-width);
}

.smk-home-sidebar .widget {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 8px 0 rgba(102, 102, 102, 0.2);
  padding: 20px;
  margin-bottom: 35px;
}

.smk-home-sidebar .widget:has(.smk-core-categories) {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.smk-home-sidebar .widget:has(.smk-core-categories) .smk-core-categories {
  width: 250px;
  margin-left: auto;
  margin-right: auto;
}

.smk-home-sidebar .smk-core-categories__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.smk-home-sidebar .smk-core-categories__item {
  margin-bottom: 0;
  padding-left: 14px;
  border-top: 1px solid rgba(102, 102, 102, 0.4);
}

.smk-home-sidebar .smk-core-categories__item:first-child {
  border-top: 0;
}

.smk-home-sidebar .smk-core-categories__item--extra {
  --smk-extra-item-height: 64px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  border-top: 0;
  transition: max-height 0.28s ease, opacity 0.2s ease;
}

.smk-home-sidebar .smk-core-categories.is-expanded .smk-core-categories__item--extra {
  max-height: var(--smk-extra-item-height, 64px);
  opacity: 1;
  border-top: 1px solid rgba(102, 102, 102, 0.4);
}

.smk-home-sidebar .smk-core-categories__link {
  display: block;
  padding: 10px 0;
  color: #363636;
  font-weight: 400;
  text-decoration: none;
}

.smk-home-sidebar .smk-core-categories__link:hover,
.smk-home-sidebar .smk-core-categories__link:focus {
  color: #363636;
  text-decoration: none;
  opacity: 0.6;
}

.smk-home-sidebar .smk-core-categories__item--fade .smk-core-categories__link {
  -webkit-mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 35%, transparent 100%);
}

.smk-home-sidebar .smk-core-categories__toggle {
  width: 100%;
  margin: 0;
  padding: 10px 0 0 7px;
  border: 0;
  color: #666;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  background: linear-gradient(0deg, #fff 72.6%, rgba(255, 255, 255, 0) 100%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.smk-home-sidebar .smk-core-categories__toggle:hover {
  opacity: 0.6;
}

.smk-home-sidebar .smk-core-categories__toggle::before {
  content: "";
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  background: url("assets/icons/mas-categorias.svg") center/contain no-repeat;
}

.smk-home-sidebar .smk-core-categories.is-expanded .smk-core-categories__toggle::before {
  background: url("assets/icons/menos-categorias.svg") center/contain no-repeat;
}

.smk-home-sidebar .widget:has(#mc_embed_signup) {
  padding: 16px 12px;
  border-radius: 12px;
  border: 2px solid #fba62d;
  background: rgba(205, 215, 228, 0.2);
}

.smk-home-sidebar .widget-title {
  color: #363636;
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
}

.smk-home-sidebar .widget:has(.smk-popular-card) {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.smk-home-sidebar .widget:has(.smk-popular-card) .wpp-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.smk-home-sidebar .widget .wpp-list li.smk-popular-card {
  display: flex;
  width: 250px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  border-radius: 10px;
  background: linear-gradient(#42b2fc 0 11px, #fff 11px 100%);

box-shadow: 0 4px 4px 0 rgba(102, 102, 102, 0.4);
  padding: 23px 12px 12px;
  margin: 0;
  margin-left: auto;
  margin-right: auto;
}


.smk-home-sidebar .widget .wpp-list li.smk-popular-card .wpp-post-title {
  display: block;
  margin-top: 0;
  color: #363636;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.smk-home-sidebar .widget .wpp-list li.smk-popular-card .wpp-post-title:hover {
  color: #363636;
  text-decoration: none;
  opacity: 0.6;
}

.smk-home-sidebar .widget .wpp-list li.smk-popular-card .wpp-date {
  display: block;
  margin-top: 8px;
  color: rgba(102, 102, 102, 0.7);
  font-size: 12px;
  font-weight: 500;
}

.smk-home-sidebar .widget .wpp-list li.smk-popular-card .wpp-excerpt {
  display: block;
  margin-top: 24px;
  color: #666;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.smk-home-sidebar .widget:has(#mc_embed_signup) .widget-title {
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.smk-home-sidebar #mc_embed_signup #mce-EMAIL {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 16px 10px;
  border-radius: 2px;
  border: 1px solid #666;
  background: #fff;
  background-image: url("assets/icons/sobre-email.svg");
  background-repeat: no-repeat;
  background-position: 16px center;
  text-indent: 28px;
}

.smk-home-sidebar #mc_embed_signup,
.smk-home-sidebar #mc_embed_signup form,
.smk-home-sidebar #mc_embed_signup_scroll {
  text-align: center;
}

.smk-home-sidebar #mc_embed_signup .mc-field-group {
  width: 100%;
  margin-bottom: 8px;
}

.smk-home-sidebar #mc_embed_signup .siguenos-aviso {
  color: #666;
  text-align: center;
  font-size: 10px;
  font-weight: 300;
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 24px;
}

.smk-home-sidebar #mc_embed_signup .siguenos-aviso a {
  color: #666;
  font-size: 10px;
  font-weight: 300;
  line-height: normal;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: 8%;
  text-underline-offset: 25%;
  text-underline-position: from-font;
}

.smk-home-sidebar #mc_embed_signup .clear {
  text-align: center;
}

.smk-home-sidebar #mc_embed_signup #mc-embedded-subscribe {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border: 0;
  border-radius: 50px;
  background: #f36d21;
  padding: 12px 30px;
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.smk-home-sidebar #mc_embed_signup #mc-embedded-subscribe:hover {
  opacity: 0.6;
}

.smk-home-footer {
  background: var(--smk-color-footer);
  color: #fff;
}

.smk-home-footer a {
  color: #fff;
}

.smk-home-footer__top {
  border-bottom: 1px solid #fff;
  padding: 35px 20px;
}

.smk-home-footer__inner {
  width: min(100% - 40px, var(--smk-header-max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.smk-home-footer__col {
  flex: 1;
}

.smk-home-footer__title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin: 14px 0;
  color: #fff;
}

.smk-home-footer__desc {
  font-size: 20px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 22px;
}

.smk-home-footer__col--legal {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  flex: 0 0 220px;
  width: 220px;
  margin-left: auto;
  gap: 24px;
}

.smk-home-footer__legal-links,
.smk-home-footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
  gap: 8px;
}

.smk-home-footer__legal-links a,
.smk-home-footer__contact a,
.smk-home-footer__contact p {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
  text-align: left;
}

.smk-home-footer__legal-links a:hover,
.smk-home-footer__contact a:hover {
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-underline-position: from-font;
}

.smk-home-footer__contact p.smk-home-footer__contact-title {
  font-weight: 700;
}

.smk-home-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background: #f36d21;
  color: #fff;
  text-decoration: none;
  padding: 10px 24px;
}

.smk-home-footer__cta:hover {
  opacity: 0.6;
}

.smk-footer-logo {
  max-height: 58px;
  width: auto;
}

.smk-footer-logo-link {
  display: inline-flex;
  align-items: end;
  gap: 8px;
  text-decoration: none;
}

.smk-footer-logo-text {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  margin-left: -20px;
}

.smk-home-footer__bottom {
  padding: 18px 20px;
}

.smk-home-footer__bottom .smk-home-footer__inner {
  justify-content: flex-end;
}

.smk-home-footer__copyright {
  color: #fff;
  text-align: right;
  margin: 0;
}

/* Responsive Videos Embeds */
.iframe-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 1em 0;
}

.iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  margin: 1em 0;
}

.embed-responsive-16by9 {
  width: 100%;
}

.embed-responsive-item {
  display: block;
  width: 100%;
  border: 0;
}

/* Responsive rules moved to assets/css/responsive.css. */
