@font-face { font-family: Quicksand; src: url('/theme/fonts/quicksand-regular-webfont.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: Iowan; src: url('/theme/fonts/iowanoldstyle-roman-webfont.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: Poppins; src: url('/theme/fonts/poppins-regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('/theme/fonts/open-sans-regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('/theme/fonts/open-sans-semibold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

html[data-theme="noosfera"] { --accent: #4bf1d9; --ink: #333; font-family: Iowan, Georgia, serif; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
html[data-theme="noosfera"] .site-header { --topics-offset: max(15px, calc((100vw - 1170px) / 2 + 188px)); --topics-right: max(15px, calc((100vw - 1140px) / 2 + 20px)); position: sticky; z-index: 10; top: 0; border: 0; background: #fff; padding-top: 6px; }
.noosfera-nav { box-sizing: border-box; width: min(1170px, calc(100% - 30px)); margin: auto; padding: 0 15px; display: grid; grid-template-columns: 180px 1fr; align-items: end; }
.noosfera-nav .site-brand { justify-self: start; height: 42px; padding: 0; color: #000; font: 400 36px/20px Quicksand, sans-serif; text-decoration: none; transform: translateY(4px); }
.noosfera-menu-toggle { display: none; }
.noosfera-nav__line { height: 42px; margin-bottom: 4px; border-bottom: 4px solid #4bf1d9; display: flex; justify-content: space-between; align-items: center; }
.noosfera-topics-control { align-self: flex-start; margin-top: 13px; }
.topics-button { display: block; margin: 0; border: 0; font: 600 15px/20px 'Open Sans', Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; text-decoration: none; background: #4bf1d9; color: #fff; padding: 5px 6px 1px 8px; box-shadow: 4px -4px #ea4f55; cursor: pointer; }
.noosfera-topics-menu { position: absolute; z-index: 20; top: calc(100% - 2px); left: 0; display: none; width: 100%; margin: 0; padding: 5px var(--topics-right) 5px var(--topics-offset); border: 0; background: #fff; list-style: none; font: 600 13px/18.5714px 'Open Sans', Arial, sans-serif; text-transform: uppercase; }
.topics-button[aria-expanded="true"] + .noosfera-topics-menu { display: block; }
.noosfera-topics-menu li { display: inline-block; margin-right: 10px; }
.noosfera-topics-menu a { display: block; margin: 1px 0 3px; padding: 1px 7px; background: #4bf1d9; color: #fff; text-decoration: none; }
.noosfera-topics-menu a:hover, .noosfera-topics-menu a:focus { background: #ea4f55; }
.noosfera-tools { display: flex; align-items: center; gap: 7px; }
.noosfera-tools form { display: flex; align-items: center; }
.noosfera-tools input { width: 0; opacity: 0; border: 0; border-bottom: 1px solid #999; transition: .2s; }
.noosfera-tools form:focus-within input { width: 140px; opacity: 1; }
.noosfera-tools button { border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; }
.noosfera-tools > a { display: block; }
.noosfera-tools img { width: 25px; height: 25px; }

html[data-theme="noosfera"] .site-header:has(+ .noosfera-home) { --topics-offset: max(15px, calc((100vw - 1140px) / 2 + 220px)); margin-top: 45px; padding-top: 10px; }
.site-header:has(+ .noosfera-home) .noosfera-nav { width: min(1140px, calc(100% - 30px)); padding: 0; grid-template-columns: 227px 1fr; }
.site-header:has(+ .noosfera-home) .site-brand { font-size: 48px; }
.site-header:has(+ .noosfera-home) .noosfera-topics-control { margin-top: 14px; }
.site-header:has(+ .noosfera-home) .topics-button { padding: 4px 6px 1px 7px; font-size: 16px; }
.site-header:has(+ .noosfera-home) .noosfera-topics-menu { top: calc(100% - 1px); }

.noosfera-home { width: min(1140px, calc(100% - 30px)); margin: 20px auto 0; }
.noosfera-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.noosfera-card[hidden] { display: none; }
.noosfera-card--lead { grid-column: 1/-1; }
.noosfera-card__image { min-height: 250px; background-size: cover; background-position: center top; position: relative; }
.noosfera-card__asset { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.noosfera-card__image ul { position: relative; z-index: 1; display: table; margin: 0; padding: 7px 0 0 7px; list-style: none; font: 600 14px/20px 'Open Sans', Arial, sans-serif; }
.noosfera-card__image li { display: inline; margin-right: 10px; padding: 1px 0; background: #4bf1d9; text-transform: uppercase; }
.noosfera-card__image li:hover { background: #ea4f55; }
.noosfera-card__image li a { padding: 0 7px; color: #fff; text-decoration: none; }
.noosfera-card__image h2 { position: absolute; z-index: 1; bottom: 0; left: 12.5%; width: 75%; margin: 0; background: #fff; padding: 10px; text-align: center; font: 400 18px/25px Poppins, sans-serif; }
.noosfera-card__image h2 a { text-decoration: none; color: #333; }
.noosfera-card__meta { display: flex; justify-content: space-between; align-items: baseline; color: #999; margin: 10px 0 0; font-size: 13px; }
.noosfera-card__meta a { color: #999; text-decoration: none; box-shadow: inset 0 -2px #4bf1d9; }
.noosfera-card__excerpt { color: #666; font-size: 14px; line-height: 18px; margin-top: 20px; }
.noosfera-card--lead .noosfera-card__image { min-height: 400px; }
.noosfera-card--lead .noosfera-card__image ul { position: absolute; z-index: 2; top: 260px; left: 21%; padding: 0; }
.noosfera-card--lead .noosfera-card__image h2 { top: 275px; bottom: auto; left: 20%; width: 60%; font-size: 28px; line-height: 37px; }
.noosfera-card--lead .noosfera-card__meta, .noosfera-card--lead .noosfera-card__excerpt { display: none; }
.noosfera-more { display: block; margin: 30px auto 0; border: 0; background: #4bf1d9; color: #fff; padding: 5px 13px 4px; font: bold 14px 'Open Sans', Arial, sans-serif; text-transform: uppercase; cursor: pointer; }
.noosfera-more:hover { background: #ea4f55; }

.noosfera-archive { width: min(1140px, calc(100% - 30px)); margin: 38px auto 0; padding-bottom: 60px; }
.noosfera-archive-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }

.noosfera-post-bg { position: absolute; z-index: 0; top: 0; right: 0; left: 0; width: min(1140px, calc(100% - 30px)); height: 100%; margin: auto; background-repeat: no-repeat; background-position: center top; background-size: cover; background-attachment: fixed; pointer-events: none; }
.noosfera-post-bg__asset { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.noosfera-single { position: relative; z-index: 1; width: min(1170px, calc(100% - 30px)); margin: 0 auto; padding-top: 450px; }
.noosfera-single__paper { position: relative; width: 66.6667%; margin: 0 auto; background: #fff; padding: 1px 20px 60px; }
.noosfera-single__categories { display: table; margin: -14px 0 0; padding: 0; list-style: none; font: 600 14px/1.5 'Open Sans', Arial, sans-serif; }
.noosfera-single__categories li { display: inline; margin-right: 10px; padding: 1px 0; background: #4bf1d9; text-transform: uppercase; }
.noosfera-single__categories li:hover { background: #ea4f55; }
.noosfera-single__categories a { padding: 0 7px; color: #fff; text-decoration: none; }
.noosfera-single__header h1 { margin: 20px 0 0; color: #434646; text-align: center; font: 400 35px/45px Poppins, sans-serif; }
.noosfera-single__meta { display: flex; justify-content: space-between; margin-top: 50px; color: #666; font-size: 15px; }
.noosfera-single__meta a, .noosfera-single__content a { color: inherit; text-decoration: none; box-shadow: inset 0 -2px #4bf1d9; transition: box-shadow .15s; }
.noosfera-single__meta a:hover, .noosfera-single__content a:hover { box-shadow: inset 0 -5px #4bf1d9; }
.noosfera-single__content { margin-top: 50px; color: #000; font-size: 18px; line-height: 28px; }
.noosfera-single__content .rich-text { font-size: inherit; }
.noosfera-single__content .rich-text > * + * { margin-top: 0; }
.noosfera-single__content p { margin: 0 0 20px; }
.noosfera-single__content .rich-text h6 { margin: 10px 0; font-size: 12px; font-weight: 500; line-height: 1.1; }
.noosfera-single__content img { max-width: 100%; height: auto; margin-right: auto; margin-left: auto; }
html[data-theme="noosfera"] .noosfera-single__content .rich-text p:has(img) { font-size: 15px; line-height: 20px; text-align: center; }
html[data-theme="noosfera"] .noosfera-single__content .rich-text p:has(img) img { display: block; margin-bottom: 2px; }
html[data-theme="noosfera"] .noosfera-single__content .rich-text blockquote { position: relative; margin: 0 0 20px -10%; padding: 2rem 0; border: 0; color: #ea4f55; font-size: 22px; line-height: 31px; font-style: normal; }
.noosfera-single__separator { text-align: center; letter-spacing: 2px; }
.noosfera-single--page { padding-top: 60px; }
.noosfera-single--page .noosfera-single__paper { width: 66.6667%; }
.noosfera-single--page .noosfera-single__content { margin-top: 40px; }

.noosfera-footer { position: relative; z-index: 1; box-sizing: border-box; width: min(1140px, calc(100% - 30px)); margin: 30px auto 5px; border-top: 5px solid #4bf1d9; background: #fff; padding: 15px; display: flex; justify-content: space-between; font: 14px 'Open Sans', Arial, sans-serif; text-transform: uppercase; }
.noosfera-footer a { text-decoration: none; }
.noosfera-footer strong { font: 400 18px Quicksand, sans-serif; text-transform: lowercase; }
html[data-theme="noosfera"] .article-header h1, html[data-theme="noosfera"] .post-card h2 { font-family: Poppins, sans-serif; font-weight: 400; }

@media (max-width: 767px) {
  html[data-theme="noosfera"] .site-header, html[data-theme="noosfera"] .site-header:has(+ .noosfera-home) { margin-top: 0; padding-top: 0; }
  .noosfera-nav, .site-header:has(+ .noosfera-home) .noosfera-nav { position: relative; display: block; width: 100%; padding: 0; }
  .noosfera-nav .site-brand, .site-header:has(+ .noosfera-home) .site-brand { display: flex; align-items: center; width: calc(100% - 74px); height: 57px; padding: 0 0 0 15px; font-size: 36px; transform: none; }
  .noosfera-menu-toggle { position: absolute; top: 14px; right: 15px; display: block; width: 44px; height: 34px; margin: 0; padding: 9px 10px; border: 1px solid #ddd; border-radius: 4px; background: transparent; }
  .noosfera-menu-toggle > span[aria-hidden="true"] { display: block; width: 22px; height: 2px; border-radius: 1px; background: #888; }
  .noosfera-menu-toggle > span[aria-hidden="true"] + span[aria-hidden="true"] { margin-top: 4px; }
  .noosfera-nav__line { display: none; height: auto; min-height: 0; margin: 0; border: 0; }
  .noosfera-menu-toggle[aria-expanded="true"] + .noosfera-nav__line { display: block; }
  .noosfera-topics-control, .site-header:has(+ .noosfera-home) .noosfera-topics-control { margin: 0; }
  .topics-button, .site-header:has(+ .noosfera-home) .topics-button { display: block; width: 100%; margin: 0; padding: 15px 15px 10px; box-shadow: none; font-size: 16px; line-height: 20px; text-align: left; }
  .topics-button::after { display: inline-block; margin-left: 3px; border-top: 4px dashed; border-right: 4px solid transparent; border-left: 4px solid transparent; vertical-align: 3px; content: ""; }
  .noosfera-topics-menu, .site-header:has(+ .noosfera-home) .noosfera-topics-menu { position: static; width: auto; padding: 0 15px 10px; }
  .noosfera-topics-menu li { margin-right: 10px; }
  .noosfera-topics-menu a { margin: 10px 0 5px; padding: 1px 15px; font-size: 11pt; line-height: 20px; }
  .noosfera-tools { justify-content: center; gap: 10px; padding: 20px 15px; }
  .noosfera-grid { grid-template-columns: 1fr; }
  .noosfera-archive { margin-top: 15px; }
  .noosfera-archive-grid { grid-template-columns: 1fr; }
  .noosfera-card--lead { grid-column: auto; }
  .noosfera-card--lead .noosfera-card__image { min-height: 250px; }
  .noosfera-card--lead .noosfera-card__image ul { position: relative; padding: 7px 0 0 7px; }
  .noosfera-card--lead .noosfera-card__image h2 { top: auto; bottom: 0; left: 12.5%; width: 75%; font-size: 18px; line-height: 25px; }
  .noosfera-card--lead .noosfera-card__meta { display: flex; }
  .noosfera-card--lead .noosfera-card__excerpt { display: block; }
  .noosfera-post-bg { width: 100%; height: 360px; background-attachment: scroll; }
  .noosfera-single { width: 100%; padding-top: 280px; }
  .noosfera-single__paper, .noosfera-single--page .noosfera-single__paper { width: 100%; padding-right: 20px; padding-left: 20px; }
  .noosfera-single__header h1 { font-size: 28px; line-height: 36px; }
  .noosfera-single__meta { margin-top: 30px; }
  .noosfera-single__content { margin-top: 35px; }
  html[data-theme="noosfera"] .noosfera-single__content .rich-text blockquote { margin-left: 0; }
}
