/* =========================================================
   ELIN KANHOV — WEBSITE DESIGN
   ========================================================= */


/* ---------------------------------------------------------
   COLOUR PALETTE
   --------------------------------------------------------- */

body {
  --elin-teal: #164C4A;
  --elin-blue: #426B78;
  --elin-ochre: #D5A72C;
  --elin-coral: #C66B5D;
  --elin-offwhite: #F4F1E8;
  --elin-bluegrey: #E5ECEB;
  --elin-text: #202827;
  --elin-light-teal: #AFC1C0;
  --elin-beige: #D9D0BD;
}


/* ---------------------------------------------------------
   GENERAL COLOURS
   --------------------------------------------------------- */

body {
  --background-primary: var(--elin-offwhite);
  --background-primary-alt: var(--elin-offwhite);
  --background-secondary: var(--elin-offwhite);
  --background-secondary-alt: var(--elin-bluegrey);

  --text-normal: var(--elin-text);
  --text-muted: var(--elin-blue);
  --text-faint: var(--elin-light-teal);

  --interactive-accent: var(--elin-teal);
  --interactive-accent-hover: var(--elin-ochre);

  --link-color: var(--elin-blue);
  --link-color-hover: var(--elin-teal);
}


/* ---------------------------------------------------------
   TYPOGRAPHY
   --------------------------------------------------------- */

body {
  --font-text: "Inter", sans-serif;
  --font-interface: "Inter", sans-serif;
  --font-heading: "Newsreader", Georgia, serif;
}


/* ---------------------------------------------------------
   READING VIEW
   --------------------------------------------------------- */

.markdown-preview-view {
  font-family: "Inter", sans-serif;
  color: #202827;
}


/* ---------------------------------------------------------
   PAGE TITLE
   --------------------------------------------------------- */

.markdown-preview-view .inline-title {
  font-family: "Newsreader", Georgia, serif !important;
  color: #164C4A !important;
  font-weight: 600;
  font-size: 40px !important;
  line-height: 1.1;
}


/* ---------------------------------------------------------
   HEADINGS
   --------------------------------------------------------- */

.markdown-preview-view h1,
.markdown-preview-view h2,
.markdown-preview-view h3,
.markdown-preview-view h4,
.markdown-preview-view h5,
.markdown-preview-view h6 {
  font-family: "Newsreader", Georgia, serif !important;
  color: #164C4A !important;
  font-weight: 600;
}


/* ---------------------------------------------------------
   HEADING SIZES
   --------------------------------------------------------- */

.markdown-preview-view h1 {
  font-size: 36px !important;
  line-height: 1.15;
}

.markdown-preview-view h2 {
  font-size: 27px !important;
  line-height: 1.2;
}

.markdown-preview-view h3 {
  font-size: 21px !important;
  line-height: 1.25;
}

.markdown-preview-view h4 {
  font-size: 18px !important;
  line-height: 1.3;
}


/* ---------------------------------------------------------
   BODY TEXT
   --------------------------------------------------------- */

.markdown-preview-view p,
.markdown-preview-view li {
  font-family: "Inter", sans-serif !important;
  font-size: 15px !important;
  line-height: 1.5;
}

.markdown-preview-view p {
  margin-top: 0;
  margin-bottom: 1rem;
}


/* ---------------------------------------------------------
   LINKS
   --------------------------------------------------------- */

.markdown-preview-view a {
  color: #426B78;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.markdown-preview-view a:hover {
  color: #164C4A;
}


/* ---------------------------------------------------------
   LISTS
   --------------------------------------------------------- */

.markdown-preview-view ul,
.markdown-preview-view ol {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

.markdown-preview-view li {
  margin-bottom: 0.35rem;
}


/* ---------------------------------------------------------
   BLOCKQUOTES
   --------------------------------------------------------- */

.markdown-preview-view blockquote {
  border-left: 3px solid #D5A72C;
  background: #E5ECEB;
  padding: 1rem 1.4rem;
  margin: 1.8rem 0;
  color: #202827;
}

.markdown-preview-view blockquote p {
  font-family: "Newsreader", Georgia, serif !important;
  font-size: 18px !important;
  line-height: 1.55;
}


/* ---------------------------------------------------------
   HORIZONTAL RULES
   --------------------------------------------------------- */

.markdown-preview-view hr {
  border: none;
  border-top: 1px solid #AFC1C0;
  margin: 2.5rem 0;
}


/* ---------------------------------------------------------
   EMPHASIS
   --------------------------------------------------------- */

.markdown-preview-view strong {
  font-weight: 600;
  color: #164C4A;
}



/* ---------------------------------------------------------
   IMAGES
   --------------------------------------------------------- */

.markdown-preview-view img {
  max-width: 100%;
  height: auto;
}


/* ---------------------------------------------------------
   CALLOUTS
   --------------------------------------------------------- */

.callout {
  border: none;
  border-left: 3px solid #164C4A;
  background: #E5ECEB;
  border-radius: 0;
}

.callout-title {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: #164C4A;
}


/* ---------------------------------------------------------
   TABLES
   --------------------------------------------------------- */

.markdown-preview-view table {
  border-collapse: collapse;
  width: 100%;
  font-family: "Inter", sans-serif;
}

.markdown-preview-view th {
  font-weight: 600;
  color: #164C4A;
  border-bottom: 2px solid #164C4A;
  padding: 0.7rem;
  text-align: left;
}

.markdown-preview-view td {
  border-bottom: 1px solid #AFC1C0;
  padding: 0.7rem;
}

.markdown-preview-view ul li,
.markdown-preview-view ol li {
  margin-bottom: 0.35em;
}

/* ---------------------------------------------------------
   SITE TITLE & SIDEBAR NAVIGATION
   --------------------------------------------------------- */

.site-body-left-column .site-body-left-column-site-name {
  font-family: "Newsreader", Georgia, serif !important;
  color: #D5A72C !important;
  font-weight: 600;
}

.site-body-left-column a {
  color: #202827 !important;
}

.site-body-left-column a:hover {
  color: #D5A72C !important;
}



/* ---------------------------------------------------------
   COMPONENT TITLES
   --------------------------------------------------------- */

.published-container {
  --component-title-color: #164C4A;
  --component-title-font: "Newsreader", Georgia, serif;
  --component-title-size: 21px;
  --component-title-weight: 600;
  --component-title-style: normal;
  --component-title-transform: none;
}


/* ---------------------------------------------------------
   PAGE HEADER ACCENT LINE
   --------------------------------------------------------- */

.page-header {
  border-bottom: 1px solid #D5A72C !important;
  padding-bottom: 14px;
}


/* ---------------------------------------------------------
   SECTION DIVIDERS
   --------------------------------------------------------- */

.markdown-preview-view hr {
  border: none !important;
  border-top: 1px solid #AFC1C0 !important;
}

/* ---------------------------------------------------------
   EVENT DATES
   --------------------------------------------------------- */

.markdown-preview-view .event-date {
  color: #426B78;
  font-weight: 600;
  font-size: 14px;
}

/* ---------------------------------------------------------
   INTERACTIVE GRAPH — KEEP COLOURS
   --------------------------------------------------------- */

.graph-view.color-fill {
  color: #426B78 !important;
}

.graph-view.color-circle {
  color: #164C4A !important;
}

.graph-view.color-line {
  color: #AFC1C0 !important;
}

.graph-view.color-text {
  color: #202827 !important;
}

.graph-view.color-fill-highlight {
  color: #D5A72C !important;
}

.graph-view.color-line-highlight {
  color: #D5A72C !important;
}

.graph-view.color-arrow {
  color: #D5A72C !important;
}

/* ---------------------------------------------------------
   PUBLISH PAGE SEPARATORS
   --------------------------------------------------------- */

.publish-renderer hr {
  border-color: #AFC1C0 !important;
}

/* ---------------------------------------------------------
   HEADING DIVIDERS
   --------------------------------------------------------- */

.markdown-preview-view h2 {
  border-bottom: 1px solid #AFC1C0 !important;
  padding-bottom: 0.25em;
}