/* Guide2Porn - plain editorial layout. Single column, system serif for body. */
:root {
  --ink: #1c1a17;
  --paper: #f4f1ea;
  --muted: #6b655c;
  --rule: #d8d2c6;
  --link: #8a3324;
  --link-hover: #5e2218;
  --max: 42rem;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.62 Georgia, "Iowan Old Style", "Times New Roman", serif;
  text-rendering: optimizeLegibility;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* header */
.site-head { border-bottom: 2px solid var(--ink); margin-bottom: 2.2rem; }
.site-head .wrap { display: flex; align-items: baseline; justify-content: space-between; padding-top: 1.4rem; padding-bottom: 1rem; gap: 1rem; flex-wrap: wrap; }
.brand { font-weight: 700; font-size: 1.32rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--link); }
.site-head nav { font: 14px/1 "Helvetica Neue", Arial, sans-serif; }
.site-head nav a { color: var(--muted); text-decoration: none; margin-left: 1.1rem; }
.site-head nav a:hover { color: var(--ink); text-decoration: underline; }

/* headings */
h1 { font-size: 2.05rem; line-height: 1.18; letter-spacing: -0.015em; margin: 0 0 1rem; }
h2 { font-size: 1.42rem; line-height: 1.25; margin: 2.4rem 0 0.7rem; }
h3 { font-size: 1.12rem; margin: 1.6rem 0 0.4rem; }
.kicker { font: 12px/1 "Helvetica Neue", Arial, sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.byline { font: 13px/1.5 "Helvetica Neue", Arial, sans-serif; color: var(--muted); margin: -0.4rem 0 1.8rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--rule); }

p { margin: 0 0 1.05rem; }
a { color: var(--link); }
a:hover { color: var(--link-hover); }
ul { padding-left: 1.2rem; }
li { margin-bottom: 0.5rem; }
strong { font-weight: 700; }

.note { background: #ece7dc; border-left: 3px solid var(--link); padding: 0.9rem 1.1rem; margin: 1.6rem 0; font-size: 0.96rem; }

/* figures */
figure { margin: 1.8rem 0; }

/* inline editorial photo (floated beside the text it illustrates) */
.inline-photo { float: right; width: 40%; max-width: 250px; margin: 0.2rem 0 0.9rem 1.5rem; }
.inline-photo.left { float: left; margin: 0.2rem 1.5rem 0.9rem 0; }
.inline-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top center; border-radius: 8px; display: block; border: 1px solid var(--rule); }
.inline-photo figcaption { font: italic 13px/1.45 Georgia, serif; color: var(--muted); margin-top: 0.45rem; }
@media (max-width: 560px) { .inline-photo, .inline-photo.left { float: none; width: 100%; max-width: none; margin: 1.2rem 0; } }
figure img { display: block; width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 8px; }
figcaption { font: 13px/1.4 "Helvetica Neue", Arial, sans-serif; color: var(--muted); margin-top: 0.5rem; }

/* tables */
.cmp { width: 100%; border-collapse: collapse; margin: 1.6rem 0; font-size: 0.97rem; }
.cmp caption { text-align: left; font: 13px/1.4 "Helvetica Neue", Arial, sans-serif; color: var(--muted); margin-bottom: 0.5rem; }
.cmp th, .cmp td { text-align: left; padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.cmp thead th { border-bottom: 2px solid var(--ink); font: 600 0.86rem/1.3 "Helvetica Neue", Arial, sans-serif; }
.cmp tbody th { font-weight: 700; width: 30%; }
.cmp tr:last-child td, .cmp tr:last-child th { border-bottom: none; }

/* checklist */
.check { list-style: none; padding: 0; margin: 1.4rem 0; }
.check li { position: relative; padding-left: 1.7rem; margin-bottom: 0.55rem; }
.check li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.7rem; height: 0.7rem; border: 2px solid var(--link); border-radius: 3px; }

/* breadcrumb */
.crumbs { font: 13px/1.4 "Helvetica Neue", Arial, sans-serif; color: var(--muted); margin-bottom: 1.4rem; }
.crumbs a { color: var(--muted); }

/* read-next */
.read-next { margin: 3rem 0 1rem; padding-top: 1.4rem; border-top: 1px solid var(--rule); }
.read-next h2 { font-size: 1.05rem; margin: 0 0 0.6rem; }
.read-next ul { list-style: none; padding: 0; }
.read-next a { text-decoration: none; font-weight: 600; }
.read-next a:hover { text-decoration: underline; }

/* faq */
.faq h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.faq p { color: #3a362f; }

/* footer */
.site-foot { border-top: 2px solid var(--ink); margin-top: 3.2rem; padding: 1.6rem 0 2.6rem; font: 13px/1.6 "Helvetica Neue", Arial, sans-serif; color: var(--muted); }
.site-foot a { color: var(--muted); }
.site-foot .age { font-weight: 700; color: var(--ink); }

@media (max-width: 480px) {
  body { font-size: 17px; }
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.28rem; }
}
