* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #1f2937;
  background: #ffffff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

.site-header {
  background: #2983c4;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  position: relative;
  padding: 18px 0;
}.tekstnote {
  background: #f3f4f6;
  border-left: 5px solid #568203;
  padding: 14px 18px;
  margin: 24px 0;
  font-size: 1rem;
  line-height: 1.6;
}

.citatboks {
  font-size: 1.35rem;
  line-height: 1.5;
  font-weight: bold;
  color: #111827;
  border-left: 6px solid #568203;
  padding: 10px 0 10px 20px;
  margin: 30px 0;
}

.billednote {
  font-size: 0.9rem;
  color: #4b5563;
  margin: 0 0 24px 0;
  padding: 0;
  line-height: 1.2;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.1;
}

.logo-mark {
  width: 45px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 auto;
}

.logo-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25em;
  flex-wrap: wrap;
}

.logo-highlight {
  color: #ffeb3b;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.28);
}

.nav-menu {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-left: auto;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.95rem;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: bold;
  padding: 0;
}

.nav-submenu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 1001;
  width: 230px;
  padding: 14px;
  background: #2983c4;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(6, 19, 29, 0.18);
}

.nav-submenu a {
  display: block;
  padding: 8px 6px;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu {
  display: block;
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-dropdown.active .nav-dropdown-toggle,
.nav-dropdown-toggle:hover {
  color: #06131d;
}

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

.site-search-form {
  display: flex;
  align-items: center;
  margin-left: 0;
}

.site-search-form input,
.search-page-form input {
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  font: inherit;
}

.site-search-form input {
  width: 150px;
  padding: 7px 9px;
  font-size: 0.92rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 0 4px 8px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero  {
  background: linear-gradient(rgba(17, 24, 39, 0.8), rgba(17, 24, 39, 0.8)),
    url("images/forside.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.hero .logo-highlight {
  color: #ffeb3b;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.hero p {
  font-size: 1.2rem;
  max-width: 720px;
  margin: 0 auto 30px;
}

.hero-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  line-height: 1.4;
  text-align: center;
}

.hero-contact-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-contact-link {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  max-width: 100%;
  color: #ffffff;
  text-decoration: none;
  transition: text-decoration-color 0.2s ease;
}

.hero-contact-link span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
  text-align: left;
}

.hero-contact-icon {
  display: inline-flex;
  flex: 0 0 22px;
  margin-top: 3px;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-facebook-icon {
  display: inline-flex;
  flex: 0 0 22px;
  margin-top: 2px;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #ffffff;
  color: #1877f2;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  text-shadow: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-contact-link:hover,
.hero-contact-link:focus-visible {
  text-decoration: none;
}

.hero-contact-link:hover span:last-child,
.hero-contact-link:focus-visible span:last-child {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.hero-contact-link:hover .hero-contact-icon,
.hero-contact-link:focus-visible .hero-contact-icon {
  background: #ffffff;
  color: #2983c4;
}

.hero-contact-link:hover .hero-facebook-icon,
.hero-contact-link:focus-visible .hero-facebook-icon {
  background: #1877f2;
  color: #ffffff;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.page-hero {
  background: #f3f4f6;
  padding: 80px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  color: #111827;
}

.page-hero p {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto;
  color: #4b5563;
}

#om-intro p + p {
  margin-top: 16px;
}

#om-intro {
  text-align: left;
}

.om-intro-layout {
  display: flex;
  align-items: center;
  gap: 48px;
}

.om-intro-copy {
  flex: 1 1 auto;
}

#om-intro .om-intro-copy p {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.om-intro-image {
  flex: 0 0 32%;
  margin: 0;
}

.om-intro-image img {
  display: block;
  width: 100%;
  height: auto;
}

.button {
  display: inline-block;
  background: #2983c4;
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;

}

.button:hover {
  background: #1f6fa8;
}

.content-section {
  padding: 80px 0;
}

.content-section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  background: #ffffff;
  padding: 28px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
}

.card h3 {
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 8px;
  color: #111827;
}

.card p {
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 10px;
}

.book-preview {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 10px;
  overflow: hidden;
}

.book-actions {
  margin: 0 0 36px;
}

.book-signature {
  margin-top: 28px;
}

.lecture-preview {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-preview {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-preview-with-image {
  -webkit-line-clamp: 4;
}

.article-preview-without-image {
  -webkit-line-clamp: 14;
}

.card .article-meta {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 18px;
  border-radius: 8px;
}

.metaphor-award,
.publication-award {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid #aeb5bd;
  border-radius: 8px;
  background: linear-gradient(135deg, #f8f9fa, #e2e5e8);
  color: #39424c;
  font-weight: 700;
}

.metaphor-award-symbol,
.publication-award-symbol {
  color: #929aa3;
  font-size: 1.35rem;
  line-height: 1;
  text-shadow: 0 1px 0 #ffffff;
}

.link-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.1);
}

.publication-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.publication-item {
  border-left: 5px solid #2983c4;
  background: #f8fbff;
  padding: 18px 20px;
  border-radius: 8px;
}

.publication-item h2,
.publication-item h3 {
  margin-top: 0;
}

.publication-item h2 {
  font-size: 1.28rem;
  line-height: 1.35;
  margin-bottom: 10px;
  text-align: left;
}

.publication-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.article-pdf-actions {
  margin: 24px 0 44px;
}

.publication-actions .button {
  border: 1px solid #2983c4;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.publication-actions .button:hover {
  background: #ffffff;
  color: #1f6fa8;
  border-color: #1f6fa8;
}

.article-pdf-actions .button {
  padding: 9px 16px;
  font-size: 0.9rem;
  line-height: 1.35;
}

.home-link-grid .link-card {
  background: #2983c4;
  border-color: #1f6ea7;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(41, 131, 196, 0.18);
}

.home-link-grid .link-card h3,
.home-link-grid .link-card p {
  color: #ffffff;
}

.home-link-grid .link-card:hover {
  box-shadow: 0 12px 26px rgba(41, 131, 196, 0.28);
}

.site-footer {
  background: #111827;
  color: #ffffff;
  text-align: center;
  padding: 24px 0;
}

.site-footer a {
  color: #ffffff;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}

.footer-contact-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-contact-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  max-width: 100%;
  text-decoration: none;
}

.footer-contact-link span:last-child,
.footer-social-link span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-contact-icon {
  display: inline-flex;
  flex: 0 0 18px;
  margin-top: 3px;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-social-icon {
  display: inline-flex;
  flex: 0 0 18px;
  margin-top: 3px;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: #ffffff;
  color: #1877f2;
  font-family: Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-contact-link,
.footer-social-link {
  transition: text-decoration-color 0.2s ease;
}

.footer-contact-link:hover,
.footer-contact-link:focus-visible,
.footer-social-link:hover,
.footer-social-link:focus-visible {
  text-decoration: none;
}

.footer-contact-link:hover span:last-child,
.footer-contact-link:focus-visible span:last-child,
.footer-social-link:hover span:last-child,
.footer-social-link:focus-visible span:last-child {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.footer-contact-link:hover .footer-contact-icon,
.footer-contact-link:focus-visible .footer-contact-icon {
  background: #ffffff;
  color: #111827;
}

.footer-social-link:hover .footer-social-icon,
.footer-social-link:focus-visible .footer-social-icon {
  background: #1877f2;
  color: #ffffff;
}

.site-footer .logo-highlight {
  font-weight: inherit;
}

@media (max-width: 900px) {
  .logo {
    font-size: 1.25rem;
  }

  .logo-mark {
    width: 41px;
    height: 33px;
  }

  .nav-menu {
    gap: 14px;
  }

  .nav-menu a {
    font-size: 0.9rem;
  }

  .nav-dropdown-toggle {
    font-size: 0.9rem;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    position: relative;
    gap: 10px;
  }

  .logo {
    max-width: calc(100% - 188px);
  }

  .logo-mark {
    width: 36px;
    height: 30px;
  }

  .menu-toggle {
    display: block;
  }

 .nav-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #2983c4;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  width: 240px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(6, 19, 29, 0.18);
}

  .nav-menu.active {
    display: flex;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    justify-content: space-between;
    width: 100%;
  }

  .nav-submenu {
    position: static;
    width: 100%;
    margin-top: 8px;
    padding: 8px 0 0 12px;
    box-shadow: none;
  }

  .header-actions {
    margin-left: auto;
    flex: 0 0 auto;
  }

  .site-search-form {
    margin-left: 0;
    margin-top: 0;
    width: auto;
  }

  .site-search-form input {
    width: clamp(104px, 32vw, 150px);
  }

  .site-search-form input {
    padding: 9px 10px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.2rem;
  }

  .hero-contact {
    font-size: clamp(0.7rem, 3.4vw, 0.78rem);
  }

  .hero-contact-row {
    flex-direction: column;
    gap: 10px;
  }

  .hero-contact-link {
    align-items: center;
    width: fit-content;
  }

  .hero-contact-link span:last-child {
    overflow-wrap: normal;
    white-space: nowrap;
  }

  .hero-contact-icon,
  .hero-facebook-icon {
    flex-basis: 18px;
    width: 18px;
    height: 18px;
    margin-top: 0;
  }

  .hero-contact-icon {
    font-size: 11px;
  }

  .hero-facebook-icon {
    font-size: 15px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .publication-item h2 {
    font-size: 1.08rem;
    line-height: 1.35;
  }
}

.article-date {
  font-size: 0.9rem;
  color: #6b7280;
  margin-bottom: 12px;
}

.article-container {
  max-width: 1100px;
}

.article-container h2 {
  margin-bottom: 24px;
}

.article-container h3 {
  margin-top: 28px;
  margin-bottom: 8px;
}

.article-container p {
  margin-bottom: 18px;
}

.article-container .focus-statement {
  color: #1f6fa8;
  font-size: 1.08rem;
  line-height: 1.75;
}

.article-container .metaphor-magazine-rubric {
  position: relative;
  max-width: 780px;
  margin: 8px auto 8px;
  padding: 20px 34px;
  color: #568203;
  font-size: 1.18rem;
  font-weight: bold;
  line-height: 1.55;
  text-align: center;
}

.article-container .metaphor-article-source {
  margin-bottom: 54px;
}

.article-container .metaphor-magazine-rubric + h2 {
  margin-top: 52px;
}

.article-container .metaphor-magazine-rubric::before,
.article-container .metaphor-magazine-rubric::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 42px;
}

.article-container .metaphor-magazine-rubric {
  background:
    linear-gradient(#568203, #568203) right top / 26px 5px no-repeat,
    linear-gradient(#568203, #568203) right top / 5px 42px no-repeat,
    linear-gradient(#568203, #568203) left bottom / 26px 5px no-repeat,
    linear-gradient(#568203, #568203) left bottom / 5px 42px no-repeat;
}

.article-container .metaphor-magazine-rubric::before {
  top: 0;
  left: 0;
  border-top: 5px solid #568203;
  border-left: 5px solid #568203;
}

.article-container .metaphor-magazine-rubric::after {
  right: 0;
  bottom: 0;
  border-right: 5px solid #568203;
  border-bottom: 5px solid #568203;
}

.article-container ol,
.article-container ul {
  margin: 0 0 24px 0;
  padding-left: 0;
  list-style-position: inside;
}

.article-container li {
  margin-bottom: 10px;
}

.article-container .literature-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.article-container .literature-list li {
  margin: 0;
  padding-left: 1cm;
  text-indent: -1cm;
  line-height: 1.45;
}

.article-container .article-notes-list {
  margin-bottom: 0;
}

.article-container .article-notes-list li {
  margin-bottom: 3px;
  line-height: 1.35;
}

.article-container .article-compact-list {
  margin-bottom: 18px;
}

.article-container .article-compact-list li {
  margin-bottom: 3px;
  line-height: 1.35;
}

.article-container .article-toc {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.article-container .article-toc h2 {
  margin-top: 0;
}

.article-container .article-toc .toc-level-3 {
  margin-left: 1.25rem;
}

.article-container .article-toc .toc-level-4 {
  margin-left: 2.5rem;
}

.article-container .article-endnotes li {
  scroll-margin-top: 1rem;
}

.article-container::after {
  content: "";
  display: block;
  clear: both;
}

.about-people {
  display: grid;
  gap: 32px;
}

.about-person-slot,
.about-back-card,
#om-intro {
  scroll-margin-top: 24px;
}

.about-person-card {
  display: flow-root;
  padding: 36px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe4e8;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.07);
}

.about-person-slot:nth-child(even) .about-person-card {
  background: #f3f4f6;
}

.about-person-card h2 {
  margin-bottom: 24px;
}

.about-person-card p {
  margin-bottom: 18px;
}

.about-person-card .about-person-role {
  margin: 0 0 5px;
  color: #6b7280;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.about-linkedin-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 3px 0 16px;
  padding: 4px 7px 4px 0;
  color: #64748b;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
}

.about-linkedin-badge:hover,
.about-linkedin-badge:focus {
  color: #475569;
  background: #f8fafc;
  border-color: #94a3b8;
}

.about-linkedin-badge img,
.about-linkedin-badge svg {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
}

.about-linkedin-badge img {
  opacity: 0.68;
}

.about-linkedin-badge:hover img,
.about-linkedin-badge:focus img {
  opacity: 0.85;
}

.about-linkedin-badge svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about-person-card .carlo-profile-name {
  clear: both;
  text-align: center;
}

.about-back-card {
  padding: 24px 36px;
  color: #1f6fa8;
  font-weight: 700;
}

.about-person-image {
  float: right;
  width: 25%;
  min-width: 180px;
  margin: 0 0 20px 32px;
}

.about-person-card-alternate .about-person-image {
  float: left;
  margin: 0 32px 20px 0;
}

.about-person-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

#article-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

#article-content .article-references p {
  margin-bottom: 8px;
  padding-left: 2rem;
  text-indent: -2rem;
}

#article-content blockquote {
  margin: 20px 3cm;
  padding: 0;
}

#article-content blockquote p {
  margin-bottom: 0;
}

#article-content .article-pull-quote {
  max-width: 760px;
  margin: 28px auto;
  padding: 4px 0 4px 18px;
  border-left: 3px solid #1f6fa8;
  color: #374151;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-style: italic;
  line-height: 1.55;
}

#article-content .article-pull-quote .pull-quote-response {
  display: block;
  margin-top: 12px;
  color: #1f2937;
}

#article-content .metaphor-article-source {
  margin-bottom: 54px;
}

.article-info-box {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin: 28px 0;
  padding: 18px;
  background: #f8fbff;
  border: 1px solid #bfdbfe;
  border-bottom: 6px solid #1f6fa8;
}

.article-info-box img {
  width: 150px;
  max-width: 38%;
  height: auto;
  flex: 0 0 auto;
  border-radius: 4px;
}

.article-info-box-image-center {
  align-items: center;
}

.article-info-box p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}

#article-content .article-original-title,
#book-content .article-original-title,
#chronicle-content .article-original-title,
#course-content .article-original-title {
  font-size: 1.3rem;
  line-height: 1.5;
}

.metaphor-green-info-box {
  background: #f7fbf0;
  border-color: #cbdba8;
  border-bottom-color: #568203;
}

.metaphor-green-info-box p {
  color: #35590d;
}

.article-container .metaphor-orange-rubric {
  color: #9a5424;
  background:
    linear-gradient(#c18251, #c18251) right top / 26px 5px no-repeat,
    linear-gradient(#c18251, #c18251) right top / 5px 42px no-repeat,
    linear-gradient(#c18251, #c18251) left bottom / 26px 5px no-repeat,
    linear-gradient(#c18251, #c18251) left bottom / 5px 42px no-repeat;
}

.article-container .metaphor-orange-rubric::before {
  border-top-color: #c18251;
  border-left-color: #c18251;
}

.article-container .metaphor-orange-rubric::after {
  border-right-color: #c18251;
  border-bottom-color: #c18251;
}

.metaphor-orange-info-box {
  background: #fff8f1;
  border-color: #e5b58c;
  border-bottom-color: #c18251;
}

.metaphor-orange-info-box p {
  color: #7a451d;
}

#article-content .metaphor-orange-note {
  border-left: 0;
  background: transparent;
  color: #7a451d;
  padding: 0;
  margin: 30px 0 8px;
  font-size: 1.08rem;
  line-height: 1.45;
}

#article-content .metaphor-orange-quote {
  border-left: 0;
  color: #7a451d;
  padding-left: 0;
}

.metaphor-orange-emphasis {
  color: #7a451d;
}

.history-source-link {
  color: #1f6fa8;
  text-decoration: underline;
  text-decoration-color: #2983c4;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.article-figure-explanation {
  margin: 30px 0 20px;
  padding: 18px 20px;
  border: 8px solid #1f6fa8;
  background: #ffffff;
}

.article-figure-explanation h3 {
  margin-top: 0;
}

.article-figure-explanation p,
.article-figure-explanation ul {
  font-size: 1rem;
}

.article-figure-image {
  margin: 0 0 32px;
}

.article-figure-image-small {
  width: 39%;
  min-width: 180px;
  margin: 12px auto 18px;
}

.article-figure-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-figure-image figcaption {
  margin-top: 8px;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.45;
}

.article-inline-image {
  margin: 26px 0 28px;
}

.article-inline-image-60 {
  width: 60%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.article-inline-image-50 {
  width: 50%;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.article-inline-image img {
  display: block;
  width: 100%;
  height: auto;
}

.article-inline-image figcaption {
  margin-top: 8px;
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.45;
  text-align: left;
}

.article-inline-image-centered-caption figcaption {
  text-align: center;
}

.article-inline-image-xcom-figure {
  width: 32.5%;
  min-width: 234px;
  max-width: 338px;
  margin-left: auto;
  margin-right: auto;
}

.article-inline-image-xcom-pair {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  margin: 24px auto 32px;
}

.article-inline-image-xcom-pair .article-inline-image-xcom-figure {
  margin: 0;
}

.article-inline-image-xcom-pair figcaption {
  text-align: center;
}

.article-inline-image-xcom-pair-large .article-inline-image-xcom-figure {
  width: auto;
  min-width: 0;
  max-width: none;
}

.article-inline-image-xcom-pair-large img {
  width: auto;
  height: clamp(507px, 62vw, 676px);
}

.article-inline-image-xcom-pair-56 .article-inline-image-xcom-figure-5 {
  width: 35.1%;
  max-width: 367px;
}

.article-inline-image-xcom-wow {
  width: 96%;
  max-width: 896px;
  margin-left: auto;
  margin-right: auto;
}

.article-goals-figure {
  margin: 24px 0 32px;
  border: 8px solid #1f6fa8;
  background: #ffffff;
}

.article-goals-box {
  padding: 16px 18px;
}

.article-goals-box + .article-goals-box {
  border-top: 8px solid #1f6fa8;
}

.article-goals-box p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 400;
}

.article-goals-box p + p {
  margin-top: 12px;
}

.article-captioned-image {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 28px 0;
}

.article-captioned-image img {
  width: 65%;
  max-width: 65%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.article-captioned-image figcaption {
  flex: 1;
  color: #1f6fa8;
  font-size: 1rem;
  line-height: 1.55;
}

.article-centered-image {
  margin: 28px auto;
  text-align: center;
}

.article-centered-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.article-centered-image-quarter {
  width: 25%;
  max-width: 25%;
}

#course-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

#lecture-content p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.back-link {
  margin-top: 40px;
}

.back-link a {
  color: #111827;
  font-weight: bold;
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
}

details[open] > summary {
  display: none;
}

summary {
  display: inline-block;
  color: #1f6fa8;
  cursor: pointer;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

summary::before {
  content: "\25BE";
  display: inline-block;
  margin-right: 0.28em;
  font-size: 1.1em;
  line-height: 1;
  vertical-align: -0.02em;
}

summary:hover,
summary:focus {
  background: #2983c4;
  color: #ffffff;
  outline: none;
}

.read-less-link {
  color: #1f6fa8;
  display: inline-block;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.read-less-link:hover,
.read-less-link:focus {
  background: #2983c4;
  color: #ffffff;
  outline: none;
  text-decoration: none;
}

.read-less-link::before {
  content: "▴";
  display: inline-block;
  margin-right: 0.12em;
  font-size: 1.6em;
  line-height: 1;
  vertical-align: -0.08em;
}

.read-less-link::before {
  content: "\25B4";
  margin-right: 0.28em;
  font-size: 1.1em;
  vertical-align: -0.02em;
}

.article-meta {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 12px;
}

.search-page-form {
  margin-bottom: 28px;
}

.search-page-label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
}

.search-page-controls {
  display: flex;
  gap: 10px;
  max-width: 620px;
}

.search-page-form input {
  flex: 1;
  padding: 12px 14px;
}

.search-status {
  color: #4b5563;
  margin-bottom: 18px;
}

.search-results {
  display: grid;
  gap: 16px;
}

.search-result {
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 16px;
}

.search-result a {
  color: inherit;
  display: block;
  text-decoration: none;
}

.search-result a:hover h2,
.search-result a:focus-visible h2 {
  text-decoration: underline;
}

.search-result h2 {
  font-size: 1.28rem;
  line-height: 1.35;
  margin: 2px 0 6px;
}

.search-result-type {
  color: #1f6fa8;
  display: inline-block;
  font-size: 0.86rem;
  font-weight: bold;
  text-transform: uppercase;
}

.article-meta-with-image {
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-author-images {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.chronicle-meta-lines {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.35;
  text-align: left;
}

.card .chronicle-card-meta {
  display: flex !important;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  overflow: visible;
}

.card .chronicle-card-meta .chronicle-meta-lines {
  min-width: 0;
}

.chronicle-preview {
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.chronicle-card-title-short .chronicle-preview {
  -webkit-line-clamp: 13;
}

.article-author-image {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.article-author-images .article-author-image {
  border: 2px solid #ffffff;
}

.article-author-images .article-author-image + .article-author-image {
  margin-left: -16px;
}

.chronicle-author-image {
  object-position: 28% 42%;
}
.floating-image {
  float: right;
  width: 420px;
  max-width: 45%;
  margin: 0 0 20px 30px;
}

.floating-image-large {
  width: 525px;
  max-width: 56%;
}

.floating-image-third {
  width: 50%;
  max-width: 50%;
}

.floating-image-third-large {
  width: 62.5%;
  max-width: 62.5%;
}

.floating-image-left {
  float: left;
  margin: 0 30px 20px 0;
}

.floating-image-small {
  width: 336px;
}

.floating-image-thirty {
  width: 30%;
  max-width: 30%;
}

.floating-image-twenty {
  width: 20%;
  max-width: 20%;
}

.floating-image-fifteen {
  width: 15%;
  max-width: 15%;
}

.floating-image-quarter {
  width: 25%;
  max-width: 25%;
}

.floating-image-one-third {
  width: 33.333%;
  max-width: 33.333%;
}

.floating-image-forty {
  width: 40%;
  max-width: 40%;
}

.floating-image-fifty-five {
  width: 55%;
  max-width: 55%;
}

.floating-image-sixty {
  width: 68%;
  max-width: 68%;
}

.floating-image-compact {
  width: 294px;
  max-width: 31.5%;
}

.floating-image-emergens {
  width: 621px;
  max-width: 66%;
}

.floating-image-emergens.floating-image-no-wrap {
  margin-bottom: 34px;
}

.floating-image-no-wrap {
  float: none;
  margin: 0 0 20px 0;
}

.floating-image img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}

.floating-image .billednote {
  margin: 2px 0 0 0;
  padding: 0;
  line-height: 1.2;
}

.chronicle-centered-image {
  width: 70%;
  margin: 24px auto;
}

.chronicle-centered-image-wide {
  width: 80%;
}

.chronicle-centered-image img {
  display: block;
  width: 100%;
  height: auto;
}

.lecture-speaker-image {
  width: 240px;
  margin-top: 2px;
}

.book-author-inline-image {
  float: left;
  height: 118px;
  width: auto;
  margin: 4px 18px 10px 0;
  object-fit: contain;
}

@media (max-width: 700px) {
  .om-intro-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
  }

  .om-intro-image {
    width: min(72%, 340px);
    margin: 0 auto;
  }

  .about-person-card,
  .about-person-card-alternate {
    padding: 24px;
  }

  .about-person-image,
  .about-person-card-alternate .about-person-image {
    float: none;
    width: min(100%, 340px);
    min-width: 0;
    margin: 0 0 24px;
  }

  .search-page-controls {
    flex-direction: column;
  }

  .search-page-controls .button {
    text-align: center;
  }

  .floating-image {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 20px 0;
  }

  .article-container figure {
    float: none !important;
    width: 100% !important;
    max-width: 100%;
    margin: 20px 0 !important;
  }

  .article-container figure img {
    max-width: 100%;
    height: auto;
  }

  #article-content blockquote {
    margin: 20px 1rem;
  }

  .article-inline-image-xcom-pair {
    flex-direction: column;
    align-items: center;
  }

  .article-container .article-inline-image-xcom-pair figure {
    width: min(100%, 338px) !important;
  }

  .article-container .article-inline-image-xcom-pair-large figure {
    width: auto !important;
  }

  .article-inline-image-xcom-pair-large img {
    max-width: 100%;
    height: clamp(442px, 92vw, 676px);
  }

  .article-info-box {
    display: block;
  }

  .article-info-box img {
    width: 100%;
    max-width: 220px;
    margin-bottom: 14px;
  }

  .article-captioned-image {
    display: block;
  }

  .article-captioned-image img {
    width: 100%;
    max-width: 100%;
  }

  .article-captioned-image figcaption {
    margin-top: 10px;
  }

  .article-centered-image-quarter {
    width: 70%;
    max-width: 70%;
  }

  .floating-image-compact {
    width: 70%;
    max-width: 100%;
    margin: 20px auto;
  }

  .chronicle-centered-image {
    width: 88%;
  }

  .chronicle-centered-image-wide {
    width: 92%;
  }

  .book-author-inline-image {
    height: 104px;
    margin: 3px 14px 8px 0;
  }
}
.image-transcript {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #d1d5db;
  font-size: 0.95rem;
}

.image-transcript summary {
  cursor: pointer;
  font-weight: 600;
}

.image-transcript-content {
  margin-top: 10px;
}

.image-transcript-content .image-transcript-figure {
  display: block;
  width: 33.333%;
  margin: 1rem auto 2.5rem;
}

.article-full-text .image-transcript-figure {
  display: block;
  width: 33.333%;
  margin: 1rem auto 2.5rem;
}

.image-transcript-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.image-transcript-figure figcaption {
  margin-top: 0.35rem;
  text-align: center;
  font-size: 0.9rem;
}

.image-transcript-box {
  margin: 1rem 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid #6b7280;
}

#article-content .image-transcript-box p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.45;
}

#article-content .article-literature-heading {
  margin-top: 2.5rem;
}

.image-transcript-ad {
  background: #f3f4f6;
  text-align: center;
}

.image-transcript-content blockquote {
  margin: 0.75rem 0;
  padding-left: 1rem;
  border-left: 3px solid #d1d5db;
}
