/* =========================
   INLINE CODE
========================= */

code {
  border-left: none !important;
  background-color: #f0f0f0;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 0.875em;
  font-family: monospace;
  display: inline;
  white-space: nowrap;
  margin: 0 2px;
  vertical-align: middle;
  line-height: normal;
}

/* =========================
   CODE BLOCKS
========================= */

pre {
  border-left: none !important;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px;
  background-color: #f8f8f8;
  overflow-x: auto;
}

pre code {
  background: transparent;
  padding: 0;
  margin: 0;
  display: block;
  white-space: pre;
  line-height: 1.6;
}

/* =========================
   BLOCKQUOTE
========================= */

blockquote {
  border-left: none !important;
  padding: 10px 16px;
  background-color: #f8f8f8;
  border-radius: 6px;
  color: #555;
}

blockquote p {
  margin: 0;
}

/* =========================
   HEADER
========================= */

.header {
  width: 100%;
  padding: 15px 40px;
  border-bottom: 1px solid var(--border);
}

/* =========================
   NAVBAR
========================= */

.navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

/* =========================
   NAV LINKS
========================= */

.navbar a {
  margin-left: 25px;
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}

.navbar a:hover {
  color: var(--text);
}

/* =========================
   HERO HOME
========================= */

.hero {
  text-align: center;
  padding: 60px 0;
}

.hero h1 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
}

/* =========================
   HEADER RIGHT NAV
========================= */

.header {
  width: 100%;
}

.nav-wrapper {
  width: 100%;
  display: flex;
}

.navbar {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 15px 40px;
}

/* =========================
   HEADER FULL WIDTH FIX
========================= */

.header-full {
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  display: flex;
}

/* NAV pegado a la derecha */

.header-full .navbar {
  margin-left: auto;
  display: flex;
  gap: 25px;
  align-items: center;
  padding: 15px 40px;
}

.article-meta {
  color: #888;
  font-size: 14px;
  margin-bottom: 20px;
}

.tags {
  margin-top: 30px;
}

.tag {
  display: inline-block;
  background: #f0f0f0;
  padding: 5px 10px;
  margin-right: 6px;
  border-radius: 6px;
  font-size: 12px;
  text-decoration: none;
}

.tag:hover {
  background: #e0e0e0;
}

/* =========================
   CARD IMAGE FIX
========================= */

.card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 12px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   GRID LAYOUT FIX
========================= */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  max-width: 600px;
  margin: 40px auto;
}

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

/* FORCE CARD THUMBNAIL */

img.thumb {
  width: 100%;
  height: 250px !important;
  object-fit: cover !important;
}

.card img.thumb {
  width: 100% !important;
  height: 250px !important;
  object-fit: cover !important;
}