@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,700;1,400&family=Playfair+Display:wght@400;500;700&display=swap");

:root {
  --template-bg-light: #f8f9fa;
  --template-text-dark: #212529;
  --template-text-light: #212529;
  --template-link-color: #696969;
  --template-special-color: #676767;
  --link-color: #696969;
  --link-hover-color: #999;
}

body.site {
  font-family: Lora, Verdana, Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #212529;
  background: #f8f9fa;
}

a {
  color: #696969;
}

a:hover {
  color: #999;
  text-decoration: none;
}

.header.container-header {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-bottom: 0;
  box-shadow: none;
  padding: 0 0 0.4rem;
  margin-bottom: 1.6rem;
}

.container-nav {
  order: -1;
  background: #fff;
  border-bottom: 1px solid #dcdcdc;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.11);
  position: sticky;
  top: 0;
  z-index: 30;
}

.container-nav .mod-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 0 auto;
  max-width: 1100px;
  padding: 0;
}

.container-nav .nav-item {
  position: relative;
  width: auto !important;
}

.container-nav .mod-menu a,
.container-nav .mod-menu .nav-link {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 60px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #000 !important;
  text-decoration: none;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
  padding: 0 26px 0 16px;
  background: transparent !important;
}

.container-nav .nav-item:not(:last-child)::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #acacac;
  position: absolute;
  right: 2px;
  top: 26px;
}

.container-nav .mod-menu .active > a,
.container-nav .mod-menu a[aria-current="page"],
.container-nav .mod-menu a:hover {
  color: #696969 !important;
  text-decoration: none;
}

header.header > .grid-child:not(.container-nav) {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  width: 100%;
  max-width: 1080px;
  margin: 0.9rem auto 0.2rem;
  padding: 0 1.25rem;
  box-sizing: border-box;
}

header.header > .grid-child:not(.container-nav)::before {
  content: "";
  flex: 0 0 210px;
  height: 80px;
  background: url("https://navegante.es/plugins/arDatalibPlugin/images/logo.png") left center / contain no-repeat;
}

.navbar-brand {
  width: auto;
  flex: 1 1 auto;
  text-align: center;
  margin: 0;
  padding: 0;
}

a.brand-logo {
  display: block;
  width: min(560px, 100%);
  aspect-ratio: 820 / 312;
  margin: 0 auto;
  background: url("https://navegante.es/plugins/arDatalibPlugin/images/banner-diario-navegantes.jpg") center / contain no-repeat;
  text-indent: -9999px;
  overflow: hidden;
  white-space: nowrap;
  color: transparent !important;
}

.site-description {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.site-grid {
  max-width: 1080px;
  margin-inline: auto;
}

.blog-featured > .blog-items:not(.items-leading) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.blog-item {
  background: #fff;
  border: 1px solid #e6e6e6;
  margin: 0;
  padding: 0 0 1.15rem;
  overflow: hidden;
}

.blog-item .item-image,
.blog-item figure {
  float: none !important;
  margin: 0 !important;
  width: 100%;
}

.blog-featured .item-image img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.blog-featured .items-leading .item-image img {
  height: 360px;
}

.blog-item .item-content {
  padding: 1rem 1.25rem 0;
}

.blog-featured .item-title,
.blog-featured .item-title a {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  font-size: 1.45rem;
  line-height: 1.3;
  text-align: left;
  color: #676767;
  text-decoration: none;
}

.blog-featured .items-leading .item-title,
.blog-featured .items-leading .item-title a {
  font-size: 2rem;
}

.blog-featured .item-title a:hover {
  color: #999;
}

.blog-featured .article-info {
  display: flex;
  justify-content: flex-start;
  margin: 0.35rem 0 0.7rem;
  color: #8a8a8a;
  font-size: 0.92rem;
}

.article-info-term {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.blog-featured .item-content p {
  text-align: left;
  color: #676767;
  margin-bottom: 0.8rem;
}

.blog-featured .readmore {
  text-align: left;
  margin: 0.2rem 0 0;
}

.blog-featured .readmore a,
.blog-featured .readmore a.btn {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #696969 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  text-decoration: none;
}

.blog-featured .readmore a:hover {
  color: #999 !important;
}

.blog-featured figcaption {
  display: none;
}

body.view-article main {
  background: #fff;
  border: 1px solid #e6e6e6;
  padding: 2rem 2.2rem 2.4rem;
}

body.view-article h1,
body.view-article .page-header h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  color: #676767;
  text-align: left;
  font-size: 2rem;
  line-height: 1.25;
}

body.view-article .item-image,
body.view-article figure,
body.view-article img {
  float: none !important;
  display: block;
  margin: 1.1rem auto;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
}

body.view-article .com-content-article__body {
  clear: both;
  color: #212529;
}

body.view-article .article-info {
  justify-content: flex-start;
}

.pagination {
  justify-content: center;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .container-nav .mod-menu a,
  .container-nav .mod-menu .nav-link {
    font-size: 13px;
    line-height: 44px;
    padding: 0 16px 0 8px;
  }

  .container-nav .nav-item:not(:last-child)::after {
    top: 18px;
    width: 6px;
    height: 6px;
  }

  header.header > .grid-child:not(.container-nav) {
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.7rem;
  }

  header.header > .grid-child:not(.container-nav)::before {
    flex: 0 0 auto;
    width: 190px;
    height: 72px;
  }

  .blog-featured > .blog-items:not(.items-leading) {
    grid-template-columns: 1fr;
  }

  .blog-featured .items-leading .item-image img,
  .blog-featured .item-image img {
    height: 200px;
  }

  body.view-article main {
    padding: 1.2rem;
  }
}

.container-nav {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  box-sizing: border-box;
}
.header.container-header {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 900px) {
  .navbar-brand { width: 100%; }
  a.brand-logo { width: min(340px, 92vw); }
}
