/* ------------------ */
/* ROOT VARIABLES */
/* ------------------ */

:root {
  --bg: #f6f2ec;
  --text: #2b2b2b;
  --muted: #777;
  --rule: #ccc;

  --accent: #4a5d73; /* overridden per sister */
  --radius: 0px;     /* overridden per sister */
}

/* ------------------ */
/* PAGE BASE */
/* ------------------ */

body {
  background: var(--bg);
  color: var(--text);
  font-family: "EB Garamond", serif;
font-size: 18px;
  margin: 0;
}

.page {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 2rem;
}

/* ------------------ */
/* HEADER */
/* ------------------ */

.page-header {
  margin-left: 32%;
}

.header-name {
  font-variant: small-caps;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0;
  font-size: 2.4rem;
}

.header-subtitle {
  margin: 0.2rem 0 1rem;
  color: var(--muted);
}

.header-rule {
  border: none;
  border-top: 1px solid var(--rule);
  width: 68%;
  margin-left: 32%;
}

/* ------------------ */
/* GRID */
/* ------------------ */

.layout {
  display: grid;
  grid-template-columns: 28% 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

/* ------------------ */
/* SIDEBAR */
/* ------------------ */

.sidebar-name {
  font-variant: small-caps;
  letter-spacing: 0.12em;
}

.sidebar hr {
  border: none;
  border-top: 1px solid var(--accent);
  margin: 1.2rem 0;
}

.sidebar-quote {
  font-style: italic;
}

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

.meta li {
  margin-bottom: 0.4rem;
}

.meta span {
  color: var(--muted);
  display: inline-block;
  width: 90px;
}

/* ------------------ */
/* CONTENT */
/* ------------------ */

.personality {
  font-size: 1.8rem;
  margin-top: 0;
}

.intro {
  line-height: 1.1;
}

.body {
  line-height: 1.18;
  margin: 1.2rem 0;
}

/* Drop cap */
.first-body::first-letter {
  color: var(--accent);
  font-size: 3.2rem;
  float: left;
  line-height: 0.9;
  padding-right: 0.4rem;
}

/* ------------------ */
/* IMAGES */
/* ------------------ */

figure {
  margin: 2rem 0;
}

figure img {
  width: 50%;
  border-radius: var(--radius);
  display: block;
}

figcaption {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* Secondary image floats right */
.secondary-image {
  width: 45%;
  float: right;
  margin-left: 2rem;
}

/* ------------------ */
/* PULL QUOTE */
/* ------------------ */

.pull-quote {
  font-style: italic;
  color: var(--accent);
  text-align: center;
  margin: 3rem 0;
  font-size: 1.2rem;
}

.olga {
  --accent: #4a5d73;
  --radius: 0px;
}

.tatiana {
  --accent: #6a4b63;
  --radius: 4px;
}

.maria {
  --accent: #b08a8a;
  --radius: 8px;
}

.anastasia {
  --accent: #5f8a86;
  --radius: 12px;
}

/* Stats block */

.stats,
#stats blockquote,
blockquote.stats {
  text-align: center;
  color: var(--accent);
  margin: 4rem 0 3rem;
  font-size: 0.95rem;
  line-height: 1.5;
  font-style: normal;
}

.stats::before,
#stats blockquote::before,
blockquote.stats::before {
  content: "LISTING DETAILS";
  display: block;
  font-variant: small-caps;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dotted var(--accent);
}

a:hover {
  border-bottom-style: solid;
}


.top-nav {
  margin-left: 32%;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.top-nav a {
  margin-right: 1rem;
  color: var(--accent);
  border-bottom: none;
}

.top-nav a:hover {
  border-bottom: 1px solid var(--accent);
}

/* Join / Update Form Layout */

.join-form p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.join-form label {
  font-weight: bold;
}

.join-form input,
.join-form select {
  max-width: 320px;
  padding: 6px;
  font-family: inherit;
}

.join-form input[type="radio"] {
  width: auto;
}

.join-form input[type="submit"] {
  margin-top: 10px;
  width: fit-content;
}

