@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,600;1,400&family=Raleway:wght@300;500;600&display=swap");

:root {
  --ink: #23201d;
  --ink-soft: #5d5650;
  --muted: #8b837a;
  --paper: #faf8f4;
  --card: #ffffff;
  --rule: #e7e1d8;
  --accent: #aa2248;        /* burgundy from the original title */
  --accent-dark: #851a38;
  --accent-tint: #f7e9ed;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --width: 1080px;
}

/* ---------- Base ---------- */

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body,
body.body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(170, 34, 72, .25);
  transition: color .2s, border-color .2s, background-color .2s;
}
a:hover {
  color: var(--accent-dark);
  border-bottom-color: var(--accent-dark);
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--accent); color: #fff; }

img { max-width: 100%; height: auto; border: 0; }

h1, h2, h3, h4 {
  margin: 1.4em 0 .6em;
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.005em;
}
h1 { font-size: 30px; }
h2 { font-size: 24px; }
h3 { font-size: 19px; }

p { margin: 0 0 1em; }

/* old floats / clearers */
.c, .cc-clear { clear: both; }
#cc-tp-wrapper > .c,
#cc-tp-pagebody > .c,
#cc-tp-header > .c { display: none; }

/* ---------- Page frame ---------- */

#cc-inner,
#cc-tp-pagebody,
#cc-tp-container {
  width: 100%;
  margin: 0;
  padding: 0;
  background: none;
  float: none;
}

#cc-tp-wrapper_top { display: none; }

/* ---------- Header ---------- */

#cc-tp-header {
  width: 100%;
  background: var(--card);
  border-bottom: 1px solid var(--rule);
}

#cc-tp-emotion {
  max-width: var(--width);
  margin: 0 auto;
  padding: 0 32px;
}

/* the header box has a fixed 750x150 inline size: let it breathe */
#emotion-header {
  position: relative;
  width: auto !important;
  height: auto !important;
  padding: 44px 0 36px;
  background: transparent !important;
}
#emotion-header a {
  display: inline-block;
  border: 0 !important;
}

/* old header graphic hidden: the title is now real text */
#emotion-header-img { display: none !important; }

#emotion-header-title {
  position: static !important;
  display: block;
  color: var(--ink) !important;
  font: 500 46px/1.1 var(--sans) !important;
  letter-spacing: -.01em;
}
#emotion-header-title::after {
  content: "Philosophy \00B7  Ontology \00B7  Documentality \00B7  New Realism";
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font: 500 12px/1.4 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
}
#emotion-header a:hover #emotion-header-title { color: var(--accent) !important; }

/* thin burgundy rule above the header */
#cc-tp-header::before {
  content: "";
  display: block;
  height: 4px;
  background: var(--accent);
}

/* ---------- Two-column layout ---------- */

#cc-tp-wrapper {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  grid-template-areas:
    "nav  content"
    "info content";
  grid-template-rows: auto 1fr;
  column-gap: 56px;
  max-width: var(--width);
  margin: 0 auto;
  padding: 48px 32px 64px;
  background: none;
  float: none;
  width: auto;
}

#cc-tp-sidebar         { grid-area: nav; }
#cc-tp-content-sidebar { grid-area: info; }
#cc-tp-content         { grid-area: content; }

#cc-tp-sidebar,
#cc-tp-content-sidebar,
#cc-tp-content {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}

.gutter { padding: 0 !important; margin: 0 !important; }

/* ---------- Navigation ---------- */

#cc-tp-sidebar [data-container="navigation"]:empty,
#cc-tp-sidebar .j-nav-variant-standard:empty { display: none; }

ul.mainNav1,
ul.mainNav2,
ul.mainNav3 {
  margin: 0;
  padding: 0;
  list-style: none;
}

ul.mainNav1 {
  border-top: 1px solid var(--rule);
}
ul.mainNav1 li {
  margin: 0;
  padding: 0;
  background: none;
  border-bottom: 1px solid var(--rule);
}
ul.mainNav1 li a {
  position: relative;
  display: block;
  padding: 12px 4px 12px 16px;
  border: 0;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: none;
}
ul.mainNav1 li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: transparent;
  transition: background .2s, transform .2s;
}
ul.mainNav1 li a:hover {
  color: var(--accent);
  border: 0;
}
ul.mainNav1 li a:hover::before { background: var(--rule); }

ul.mainNav1 li a.current,
ul.mainNav1 li a.parent {
  color: var(--accent);
}
ul.mainNav1 li a.current::before,
ul.mainNav1 li a.parent::before {
  background: var(--accent);
  transform: scale(1.2);
}

/* sub-levels, if any page has them */
ul.mainNav2 li { border-bottom: 0; }
ul.mainNav2 li a {
  padding: 6px 4px 6px 30px;
  font-size: 12px;
  letter-spacing: .08em;
}

/* ---------- Contact block (left, under the menu) ---------- */

#cc-tp-content-sidebar {
  margin-top: 36px !important;
  align-self: start;
}
#cc-tp-content-sidebar .j-text {
  padding: 20px 20px 8px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 2px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.7;
}
#cc-tp-content-sidebar .j-text p:empty,
#cc-tp-content-sidebar .j-text p:last-child:not(:first-child) { display: none; }
#cc-tp-content-sidebar a {
  display: inline-block;
  margin-top: -1.2em;  /* removes the stray <br> before the e-mail */
  word-break: break-all;
  font-weight: 500;
}

/* ---------- Main content ---------- */

#content_area {
  color: var(--ink);
  font-family: var(--serif);
}

/* the biography was pasted from Word: neutralise its inline fonts */
#content_area span[style],
#content_area p[style] {
  font-family: var(--serif) !important;
  font-size: inherit !important;
  background: transparent !important;
}
#content_area span[style*="#333333"] { color: var(--ink) !important; }
#content_area span[style*="#0090bd"] {
  color: var(--accent) !important;
  font-weight: 600;
}

#content_area p {
  font-size: 17px;
  line-height: 1.8;
  text-align: left !important;
  hyphens: auto;
}
#content_area p:empty { display: none; }

#content_area em,
#content_area i { font-style: italic; }
#content_area em span[style*="font-style: normal"] { font-style: normal; }

#content_area strong { font-weight: 600; }

/* first paragraph: lead style */
#content_area .j-textWithImage .cc-m-textwithimage-inline-rte > p:first-child {
  font-size: 18px;
}
#content_area .j-textWithImage .cc-m-textwithimage-inline-rte > p:first-child > strong:first-child span {
  color: var(--accent) !important;
  font-family: var(--sans) !important;
  font-size: 20px !important;
  font-weight: 600;
}

/* portrait / image next to text */
.cc-imagewrapper {
  margin: 6px 0 24px;
}
.cc-imagewrapper img {
  display: block;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(35, 32, 29, .08), 0 12px 30px rgba(35, 32, 29, .12);
}
.cc-m-image-align-1 { float: left;  margin-right: 32px; }
.cc-m-image-align-2 { float: right; margin-left: 32px; }
.cc-m-image-align-3 { text-align: center; }
.cc-imagewrapper.cc-m-image-align-2 img { max-width: 300px; }

/* generic Jimdo modules used on inner pages */
.j-module { margin-bottom: 20px; }

.j-header h1, .j-header h2, .j-header h3 {
  position: relative;
  padding-bottom: 12px;
}
.j-header h1::after, .j-header h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.j-hr hr, hr {
  height: 0;
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 32px 0;
}

#content_area ul,
#content_area ol { padding-left: 1.3em; }
#content_area li { margin-bottom: .45em; }
#content_area ul li::marker { color: var(--accent); }

#content_area blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--accent);
  color: var(--ink-soft);
  font-style: italic;
}

#content_area table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
#content_area table td,
#content_area table th {
  padding: 8px 10px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
#content_area table th {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: left;
}

/* videos page */
.j-video iframe,
#content_area iframe { max-width: 100%; }
.j-video .cc-m-video-wrapper {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(35, 32, 29, .12);
}

/* image galleries */
.j-gallery img,
.cc-m-gallery-container img {
  border-radius: 2px;
  transition: opacity .2s;
}
.j-gallery a:hover img { opacity: .85; }
.j-gallery a { border: 0; }

/* buttons / forms (contact form, if used) */
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 2px;
  font: 16px var(--serif);
  color: var(--ink);
}
input:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 3px var(--accent-tint);
}
input[type="submit"],
button,
.j-calltoaction-link {
  display: inline-block;
  padding: 10px 22px;
  background: var(--accent);
  border: 0;
  border-radius: 2px;
  color: #fff !important;
  font: 600 12px var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
}
input[type="submit"]:hover,
button:hover,
.j-calltoaction-link:hover { background: var(--accent-dark); }

/* ---------- Footer ---------- */

#cc-tp-footer {
  width: 100%;
  background: var(--card);
  border-top: 1px solid var(--rule);
}
#cc-tp-footer .gutter {
  max-width: var(--width);
  margin: 0 auto !important;
  padding: 22px 32px !important;
}
#contentfooter {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .06em;
}
#contentfooter a {
  color: var(--muted);
  border: 0;
}
#contentfooter a:hover { color: var(--accent); }
#contentfooter .leftrow,
#contentfooter .rightrow { float: none; }

/* ---------- Tablet / mobile ---------- */

@media (max-width: 860px) {
  #cc-tp-wrapper {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "nav"
      "content"
      "info";
    padding: 0 22px 48px;
  }

  #cc-tp-emotion { padding: 0 22px; }
  #emotion-header { padding: 30px 0 24px; }
  #emotion-header-title { font-size: 34px !important; }
  #emotion-header-title::after { font-size: 10px; letter-spacing: .16em; }

  /* menu becomes a horizontal scrolling bar */
  #cc-tp-sidebar {
    margin: 0 -22px 32px !important;
    background: var(--card) !important;
    border-bottom: 1px solid var(--rule);
  }
  ul.mainNav1 {
    display: flex;
    overflow-x: auto;
    border-top: 0;
    padding: 0 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  ul.mainNav1::-webkit-scrollbar { display: none; }
  ul.mainNav1 li { border-bottom: 0; flex: 0 0 auto; }
  ul.mainNav1 li a {
    padding: 14px 10px;
    font-size: 12px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
  }
  ul.mainNav1 li a::before { display: none; }
  ul.mainNav1 li a.current { border-bottom-color: var(--accent); }

  #cc-tp-content-sidebar { margin-top: 24px !important; }

  .cc-m-image-align-1,
  .cc-m-image-align-2 {
    float: none;
    margin: 0 0 22px;
  }
  .cc-imagewrapper.cc-m-image-align-2 img { max-width: 100%; }

  #content_area p { font-size: 16px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  #emotion-header-title { font-size: 28px !important; }
  #contentfooter { flex-direction: column; }
}

@media print {
  #cc-tp-sidebar, #cc-tp-footer, #emotion-header-title::after { display: none; }
  #cc-tp-wrapper { display: block; padding: 0; }
  body { background: #fff; }
  a { border: 0; color: #000; }
}