@import url('https://fonts.googleapis.com/css2?family=Fira+Sans+Condensed:ital@0;1&display=swap');

:root {
  --bg: white;
  --text: #111111;
  --muted: #111111;
  --rule: rgba(0, 0, 0, 0.25);
  --accent: red;
  --divider: red;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
}

body {
  font-family: 'Fira Sans Condensed', sans-serif;
  cursor: alias;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.visual-panel {
  border-right: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}

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

.main-image {
  display: block;
  width: min(72%, 620px);
  max-width: 100%;
  height: auto;
}

.text-panel {
  min-width: 0;
  display: flex;
  align-items: stretch;
}

.content {
  width: 100%;
  padding: 3.25rem 3rem;
  align-self: center;
}

p, li {
  margin: 0;
  font-size: clamp(1.12rem, 1.3vw, 1.5rem);
  line-height: 1.55;
  text-align: left;
}

h2 {
  margin: 0 0 1rem 0;
  font-family: 'Fira Sans Condensed', sans-serif;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  font-weight: 400;
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.1rem 0;
}

blockquote {
  margin: 0;
  color: var(--muted);
}

blockquote p {
  text-align: left;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.accent {
  color: var(--accent);
}

.download-links {
  margin-bottom: 1.35rem;
}

.strikethrough {
  color: #111111;
}

@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .visual-panel {
    border-right: 0;
    border-bottom: 0;
    min-height: 52vh;
    padding: 2rem 1.5rem;
  }

  .main-image {
    width: min(62%, 420px);
  }

  .content {
    padding: 2rem 1.5rem 2.5rem;
  }
}

/* v4 · mobile-only divider cleanup + extra space after PDF links */
@media (max-width: 900px) {
  /* Never turn the desktop vertical divider into a full-width mobile rule. */
  .layout,
  .visual-panel,
  .text-panel {
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
  }

  /* Prevent the red page background from appearing as a 1px seam between stacked panels. */
  .layout,
  .visual-panel,
  .text-panel {
    background: white;
  }

  .download-links {
    margin-bottom: 2.4rem;
  }
}


/* v6 · white canvas, red links, compact desktop fit */
a,
a:visited,
a:hover,
a:focus,
a:active {
  color: red !important;
}

.accent {
  color: red;
}

@media (min-width: 901px) {
  html,
  body,
  .layout,
  .visual-panel,
  .text-panel {
    height: 100vh;
    min-height: 100vh;
  }

  body,
  .layout {
    overflow: hidden;
  }

  .content {
    padding: 2rem 3rem;
  }

  p,
  li {
    font-size: clamp(0.95rem, 1.05vw, 1.15rem);
    line-height: 1.42;
  }

  h2 {
    font-size: clamp(1.25rem, 1.55vw, 1.55rem);
    margin-bottom: 0.8rem;
  }

  hr {
    margin: 1.45rem 0;
  }

  .download-links {
    margin-bottom: 1.65rem;
  }
}

/* Preserve the existing mobile scale and image proportions. */
@media (max-width: 900px) {
  p,
  li {
    font-size: clamp(1.12rem, 1.3vw, 1.5rem);
    line-height: 1.55;
  }

  h2 {
    font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  }
}


/* Match mikelrnieto.net home name exactly */
.name {
  position: fixed !important;
  left: 0 !important;
  top: 0 !important;
  padding: 1rem !important;
  z-index: 10 !important;
  font-family: 'Fira Sans Condensed', sans-serif !important;
  font-size: 16px !important;
  line-height: normal !important;
  font-weight: 400 !important;
  color: black !important;
  text-decoration: none !important;
}
.name a,
a.name {
  color: black !important;
  text-decoration: none !important;
  font: inherit !important;
}
.name a:hover,
a.name:hover {
  color: red !important;
  text-decoration: none !important;
}
