/* ===== post-card ===== */
.post-card {
  padding: 0 1rem;
  margin-bottom: 2.5rem;
}

.post-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.post-card__date {
  font-size: 13px;
  color: #888;
}

.post-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  margin-bottom: 1.25rem;
}

.post-card__body {
  padding: 0.75rem 0;
}

.post-card__title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.post-card__title a {
  color: inherit;
  text-decoration: none;
}

.post-card__title a:hover {
  text-decoration: underline;
}

.post-card__excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

.post-card__cat {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid #222;
  border-radius: 20px;
  padding: 4px 12px;
  color: #222;
  text-decoration: none;
}

.post-card__cat:hover {
  background: #222;
  color: #fff;
}

/* ===== single post ===== */
.single-post {
  padding: 3rem 0;
}

.single-post__header {
  max-width: 720px;
  margin: 0 auto 2rem;
  text-align: center;
}

.single-post__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.single-post__meta {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 13px;
  color: #888;
}

.single-post__thumb {
  max-width: 900px;
  margin: 0 auto 2.5rem;
}

.single-post__thumb img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 8px;
}

.single-post__content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.8;
  color: #222;
}

.single-post__content p {
  margin-bottom: 1.5rem;
}

.single-post__content h2,
.single-post__content h3 {
  font-weight: 700;
  margin: 2rem 0 0.75rem;
}

/* ===== hero ===== */
.hero-section {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid #222;
  margin-bottom: 3rem;
}

.display-title {
  font-size: clamp(3rem, 5vw, 7rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0 0 0.5rem;
  color: #222;
}

.hero-section p {
  font-size: 13px;
  color: #888;
  margin: 0;
}

/* ===== footer ===== */
.site-footer {
  border-top: 1px solid #ddd;
  padding: 2rem 0;
  margin-top: 4rem;
}

.site-footer__widgets {
  text-align: center;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 0.75rem;
}

.footer-social a {
  font-size: 20px;
  color: #222;
  text-decoration: none;
}

.footer-social a:hover {
  color: #888;
}

.site-footer__copy {
  border-top: 1px solid #ddd;
  padding-top: 1rem;
  text-align: center;
}

.site-footer__copy p {
  font-size: 12px;
  color: #888;
  margin: 0;
}

/* ===== navbar ===== */
.navbar {
  padding: 1.25rem 0;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar .custom-logo-link {
  display: block;
}

.navbar .custom-logo-link img {
  height: 50px;
  width: auto;
  max-width: 160px;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-nav .nav-link {
  font-size: 11px;
  font-weight: 700;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1.5px solid #222;
  border-radius: 20px;
  padding: 6px 16px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .current-menu-item .nav-link {
  background: #222;
  color: #fff;
}

.dropdown-toggle::after {
  display: none;
}

.navbar-toggler {
  border: 1.5px solid #222;
  border-radius: 20px;
  padding: 6px 12px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

/* móvil */
@media ( max-width: 991px ) {
  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 1rem 0;
  }

  .navbar-nav .nav-link {
    width: 100%;
  }
}

