/*
Theme Name: Christian Ross
Theme URI: https://christianross.net
Author: Christian Ross
Author URI: https://eightninety.com
Description: Minimal personal blog created by me and GPT in April 2026
Version: 1.0
Text Domain: crnet2026
*/

@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,100..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.inter {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

.big-shoulders {
  font-family: "Big Shoulders", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

:root {
  --bg-dark: #0d2340;
  --bg-light: #ececec;
  --text-dark: #0f2239;
  --text-light: #ffffff;
  --accent: #20f0d0;
  --line: rgba(15, 34, 57, 0.18);
  --wrap: 1280px;
  --space: clamp(20px, 3vw, 48px);
}

* {
  box-sizing: border-box;
}

html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  font-family: Inter, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Big Shoulders", sans-serif;
}
h1 {
	font-weight: 800;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.site-main {
  display: block;
}

.cr-wrap {
  width: min(100% - 48px, var(--wrap));
  margin: 0 auto;
}

.cr-hero {
  background: var(--bg-dark);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  background: url('assets/img/topo-map.png') 0 0 repeat var(--bg-dark);
}

.cr-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .35;
  pointer-events: none;
}

.cr-hero__inner {
  position: relative;
  z-index: 1;
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.1fr .95fr 1.15fr;
  gap: 44px;
  align-items: center;
  padding: 64px 0;
}

.cr-name {
  margin: 0;
  font-size: clamp(48px, 7vw, 106px);
  line-height: .92;
  font-weight: 800;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.cr-verb-stack {
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
  padding-left: 22px;
}

.cr-verb-stack::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background: rgba(255,255,255,.35);
}

.cr-verb {
  margin: 0;
  color: var(--accent);
  font-size: clamp(28px, 3vw, 58px);
  line-height: .96;
  font-weight: 300;
  letter-spacing: .01em;
  text-transform: uppercase;
  font-family: "Big Shoulders", sans-serif;
  font-weight: 600;
}

.cr-intro {
  max-width: 420px;
  font-size: 20px;
  line-height: 1.45;
}

.cr-intro p {
  margin: 0 0 18px;
}

.cr-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.cr-links a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.cr-links a:hover,
.cr-links a:focus {
  text-decoration: underline;
}

.cr-posts {
  padding: 34px 0 90px;
}

.cr-post-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cr-post-item {
  border-bottom: 1px solid var(--line);
}

.cr-post-link {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  text-decoration: none;
  color: var(--text-dark);
  padding: 32px 0;
}

.cr-post-link:hover .cr-post-title,
.cr-post-link:focus .cr-post-title {
  /* text-decoration: underline; */
  /* text-underline-offset: 4px; */
  font-weight: 800;
}

.cr-post-title {
  margin: 0;
  font-size: clamp(24px, 2.1vw, 48px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -.03em;
  max-width: 900px;
}

.cr-arrow {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
}

.cr-arrow svg {
  width: 100%;
  height: 100%;
  display: block;
}

.cr-arrow {
  transition: transform .25s ease;
  transform-origin: center;
}

.cr-post-item:hover .cr-arrow {
  transform: rotate(45deg) translateY(-2px);
  color: #20f0d0;
}


.cr-empty {
  padding: 24px 0;
  font-size: 18px;
}

.cr-pagination {
  margin-top: 32px;
}

.cr-pagination .nav-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cr-pagination a,
.cr-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  text-decoration: none;
}

.cr-pagination .current {
  font-weight: 700;
}

.cr-single {
  padding: 40px 0 100px;
}

.cr-single__inner {
  width: min(100%, 850px);
}

.cr-single__title {
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -.04em;
}

.cr-single__meta {
  margin-bottom: 34px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .7;
}

.cr-single__content {
  font-size: 20px;
  line-height: 1.65;
}

.cr-single__content > *:first-child {
  margin-top: 0;
}

.cr-single__content h2,
.cr-single__content h3,
.cr-single__content h4 {
  line-height: 1.1;
  margin-top: 1.5em;
}

.cr-footer {
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-light);
}

.cr-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.cr-footer__menu {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cr-footer__menu a {
  text-decoration: none;
}

footer a {
	color: #0F2239;
	font-weight: 700;
	text-decoration: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .cr-hero__inner {
	grid-template-columns: 1fr;
	gap: 28px;
	min-height: auto;
	padding: 44px 0 50px;
  }

  .cr-intro {
	max-width: none;
  }

  .cr-post-link {
	grid-template-columns: 1fr 40px;
	padding: 24px 0;
  }

  .cr-arrow {
	width: 40px;
	height: 40px;
	flex-basis: 40px;
  }
}

@media (max-width: 640px) {
  .cr-wrap {
	width: min(100% - 28px, var(--wrap));
  }

  .cr-hero__inner {
	padding: 34px 0 40px;
  }

  .cr-intro {
	font-size: 17px;
  }

  .cr-post-title {
	font-size: 24px;
	line-height: 1.3;
  }

  .cr-single__content {
	font-size: 18px;
  }
}


	gap: 28px;
	min-height: auto;
	padding: 44px 0 50px;
  }

  .cr-intro {
	max-width: none;
  }

  .cr-post-link {
	grid-template-columns: 1fr 40px;
	padding: 24px 0;
  }

  .cr-arrow {
	width: 40px;
	height: 40px;
	flex-basis: 40px;
  }
}

@media (max-width: 640px) {
  .cr-wrap {
	width: min(100% - 28px, var(--wrap));
  }

  .cr-hero__inner {
	padding: 34px 0 40px;
  }

  .cr-intro {
	font-size: 17px;
  }

  .cr-post-title {
	font-size: 18px;
	line-height: 1.2;
  }

  .cr-single__content {
	font-size: 18px;
  }
}
.cr-single__meta {
  display: flex;
  gap: 10px;
  align-items: center;
}

.cr-meta-divider {
  opacity: .4;
}

.cr-reading-time {
  opacity: .7;
}

.cr-back-home {
  display: inline-block;
  margin: 0 0 30px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}

.cr-back-home:hover,
.cr-back-home:focus {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}