/* Thriving content in ikonik's page, About and blog layouts. */
html.editorial-static::before { content: none; }

@font-face {
  font-family: 'Jost*';
  src: url('fonts/jost/jost-400-book.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Jost*';
  src: url('fonts/jost/jost-400-bookitalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Jost*';
  src: url('fonts/jost/jost-600-semi.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Jost*';
  src: url('fonts/jost/jost-700-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

.editorial {
  --paper: #fffdfa;
  --ink: #30241f;
  --quiet: #62534d;
  --brown: #744936;
  --accent: #a97d67;
  --rule: #dfd2c8;
  --tint: #f3ebe5;
  --dark: #2a201e;
  color: var(--ink);
  background: var(--paper);
  font: 400 1.0625rem/1.65 'Jost*', system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.editorial-page { min-height: 100vh; margin: 0; }
.editorial.panel-document { position: relative; z-index: 0; }
.editorial .status .wrap,
.editorial .header-wrap.layout-full,
.editorial .site-middle .layout-full { width: min(90%, 75rem); margin-inline: auto; }
.editorial .site-main { height: auto; min-height: 45vh; }
.editorial .site-middle { padding-bottom: clamp(1.4rem, 5vw, 3.2rem); }
.editorial a { color: var(--brown); text-decoration: underline; text-underline-offset: .19em; }
.editorial a:hover { color: #4b291b; }
.editorial :is(a, [tabindex]):focus-visible { outline: 3px solid var(--brown); outline-offset: 4px; }
.editorial .skip { position: absolute; z-index: 20; left: 1rem; top: .6rem; transform: translateY(-200%); padding: .48rem .85rem; background: var(--paper); }
.editorial .skip:focus { transform: none; }

/* The template's classic masthead uses the index2 cover colors and mark. */
.editorial .status { color: #fff3eb; background: #1e1615; }
.editorial .status .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .2rem 1rem; padding-block: .44rem; font-size: .875rem; }
.editorial .status span:first-child { font-weight: 700; letter-spacing: .055em; }
.editorial .header {
  padding: clamp(1.6rem, 4.2vw, 3.4rem) 0 clamp(.9rem, 3vw, 1.65rem);
  background: radial-gradient(ellipse at 86% 32%, #986f5e 0%, transparent 52%),
    linear-gradient(115deg, #2a201e 16%, #432f2a 54%, #755144 100%);
  background-attachment: scroll;
}
.editorial.panel-document .header { padding-top: clamp(1.15rem, 3.4vw, 2.35rem); }
.editorial .header .home-bg-logo { display: block; height: 210%; width: 54%; top: -46%; transform: translateX(30%); opacity: .19; pointer-events: none; z-index: 0; }
.editorial .header .home-bg-logo img { max-width: none; }
.editorial .header-wrap .home-heading { position: relative; margin: 0 0 clamp(.7rem, 2.7vw, 1.3rem); transform: none; opacity: 1; }
.editorial .header .brand { display: inline-flex; text-decoration: none; }
.editorial .header .home-logo-center { display: inline-flex; padding: 0; align-items: stretch; }
.editorial .header .home-icon { width: clamp(3rem, 6.2vw, 4.55rem); padding: clamp(.55rem, 1.15vw, .82rem); }
.editorial .header .home-icon img { display: block; height: auto; width: 100%; }
.editorial .header .home-text {
  position: static;
  display: flex;
  align-items: center;
  padding: .48rem clamp(.65rem, 2vw, 1.3rem);
  color: #fff;
  background: #936951;
  font: 500 clamp(1.39rem, 3.5vw, 2.55rem)/1 'Playfair Display', Georgia, serif;
  letter-spacing: -.025em;
}
.editorial .header .nav-menu ul { display: flex; flex-wrap: wrap; justify-content: center; gap: .12rem .45rem; }
.editorial .header .nav-menu a { margin: 0; padding: .47rem .4rem .36rem; color: #fff7f1; border-bottom: 2px solid transparent; font-size: .875rem; font-weight: 600; letter-spacing: .065em; text-decoration: none; }
.editorial .header .nav-menu a:is(:hover, [aria-current]) { border-bottom-color: #e3bba6; opacity: 1; }
.editorial .header a:focus-visible, .editorial .boxed.is-dark a:focus-visible { outline-color: #fff4ec; }

/* Stock entry headers, section rules and full-width page rhythm. */
.editorial .entry-header { text-align: center; padding-top: clamp(2.1rem, 5vw, 4rem); }
.editorial .entry-title {
  padding: 0;
  margin: 0;
  color: var(--ink);
  font: 400 clamp(2.25rem, 5.6vw, 4.35rem)/1.095 'Playfair Display', Georgia, serif;
  letter-spacing: -.042em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  isolation: isolate;
}
.editorial .entry-title::before { background: var(--tint); }
.editorial .entry-header > .lede { max-width: 59ch; margin: 1.1rem auto 0; }
.editorial .lede { color: var(--quiet); font-size: clamp(1.125rem, 2.15vw, 1.37rem); }
.editorial .kicker { margin: 0 0 .75rem; color: var(--brown); font-size: .875rem; font-weight: 700; letter-spacing: .085em; text-transform: uppercase; }
.editorial .entry-content { margin-top: clamp(1.55rem, 4vw, 3.15rem); }
.editorial .section-title { margin: clamp(1.7rem, 4vw, 3.4rem) 0 1.45rem; }
.editorial .section-title h2 { color: var(--ink); font-size: .99rem; letter-spacing: .12em; line-height: 1.35; }
.editorial .section-title h2 i { font-style: normal; }
.editorial .section-title h2 i::before,
.editorial .section-title h2 i::after { width: clamp(.65rem, 3vw, 2.15rem); margin-inline: clamp(.4rem, 1vw, .8rem); border-color: var(--accent); }
.editorial .section-head { text-align: center; margin-bottom: .7rem; }
.editorial .section-head .section-title { margin-bottom: .35rem; }
.editorial .section > p { max-width: 68ch; margin-inline: auto; }
.editorial .section > a { display: table; margin-inline: auto; }
.editorial .boxed { background: var(--tint); }
.editorial .boxed.is-dark { color: #fff7f1; background: var(--dark); }
.editorial .collection-block { text-align: center; }
.editorial .collection-block p { max-width: 62ch; margin-inline: auto; }
.editorial .button { border-color: var(--brown); color: var(--brown); text-decoration: none; font-size: .875rem; line-height: 1.35; padding: .82rem 1.05rem; white-space: normal; }
.editorial .button:hover { background: var(--brown); }
.editorial .button::after { display: none; }
.editorial .overview-grid { display: flex; flex-wrap: wrap; gap: 1.15rem 0; align-items: flex-start; }
.editorial .overview-grid .aside { border-left: 3px solid var(--accent); }
.editorial .motif { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 1rem; gap: .5rem; }
.editorial .motif-number { display: none; }
.editorial .motif-label { border-top: 2px solid var(--accent); padding-top: .4rem; overflow-wrap: anywhere; font-size: .875rem; }

.editorial .editorial-grid, .editorial .lens-grid { display: flex; flex-wrap: wrap; row-gap: 1.1rem; }
.editorial :is(.editorial-grid, .lens-grid, .overview-grid)::before,
.editorial :is(.editorial-grid, .lens-grid, .overview-grid)::after { display: none; }
.editorial :is(.editorial-grid, .lens-grid) > div { display: flex; flex-direction: column; }
.editorial .editorial-grid .service { flex: 1; margin-bottom: 0; padding: clamp(1rem, 2.8vw, 1.8rem); border-color: var(--rule); }
.editorial .editorial-grid .service a { font-weight: 600; }
.editorial .lens-grid :is(dt, dd) { margin: 0; padding: .6rem .9rem; border-inline: 1px solid var(--rule); }
.editorial .lens-grid dt { color: var(--brown); background: var(--tint); border-top: 2px solid var(--accent); font-weight: 600; }
.editorial .lens-grid dd { flex: 1; border-bottom: 1px solid var(--rule); }
.editorial .about-intro { margin-bottom: 2rem; }
.editorial .about-intro .row { display: flex; flex-wrap: wrap; align-items: center; }
.editorial .about-intro img { display: block; width: clamp(3rem, 9vw, 6.4rem); margin-inline: auto; }
.editorial .about-intro .lede { margin: 0; color: inherit; }
.editorial .entry-content > .reading { max-width: 46rem; margin-inline: auto; }

/* ikonik latest-posts media boxes with the mark used in the index2 intro. */
.editorial .article-tiles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.1rem; min-height: 0; margin-inline: 0; }
.editorial .article-tiles:has(> :only-child) { grid-template-columns: minmax(0, 24rem); }
.editorial .article-tiles .media-cell { width: auto; float: none; padding: 0; margin: 0; min-width: 0; }
.editorial .article-tiles .media-box { aspect-ratio: 16/10; background: linear-gradient(130deg, #3b2823, #996e5a); }
.editorial .article-tiles .media-box:hover { transform: none; }
.editorial .article-tiles .media-box img { position: absolute; top: -12%; right: -5%; width: 80%; opacity: .25; pointer-events: none; }
.editorial .article-tiles .media-cell:nth-child(2) .media-box { background: linear-gradient(150deg, #482e26, #b47e64); }
.editorial .article-tiles .media-cell:nth-child(3) .media-box { background: linear-gradient(155deg, #382c28, #936e5e); }
.editorial .article-tiles .media-cell:nth-child(2) img { top: 12%; right: 14%; }
.editorial .article-tiles .media-cell:nth-child(3) img { top: -7%; right: -17%; }
.editorial .article-tiles .media-cell-desc { padding: clamp(.85rem, 2.45vw, 1.55rem); background: var(--paper); }
.editorial .article-tiles h3 { cursor: auto; }
.editorial .article-tiles p { opacity: 1; margin-top: .62rem; font-size: 1rem; }
.editorial .article-tiles .kicker { font-size: .85rem; }
.editorial .article-tiles .more-link { margin-right: 0; color: var(--brown); font-size: .875rem; line-height: 1.35; text-decoration: none; padding: .67rem .8rem; }
.editorial .article-tiles .more-link:hover { background: var(--brown) !important; }

/* No-sidebar post content and data tables. */
.editorial .blog-single .entry-header { max-width: 43rem; }
.editorial .blog-single .entry-title { font-size: clamp(2rem, 5vw, 3.65rem); }
.editorial .entry-meta { margin-top: .95rem; color: var(--quiet); }
.editorial .entry-meta .byline { font-size: .96rem; font-weight: 600; margin-bottom: .3rem; }
.editorial .article-edition, .editorial .fine, .editorial .link-status { font-size: .94rem; color: var(--quiet); }
.editorial .blog-single .entry-content { max-width: 44rem; }
.editorial .blog-single .entry-content h2 { margin-top: 1.55em; line-height: 1.22; }
.editorial .blog-single .drop-cap::first-letter { color: var(--brown); }
.editorial .blog-single .entry-content :is(ol, ul) { padding-inline-start: 1.45em; }
.editorial .blog-single .entry-content li { margin-bottom: .48em; }
.editorial .blog-single .entry-content a { overflow-wrap: anywhere; }
.editorial .blog-single table { width: 100%; table-layout: fixed; font-size: .98rem; line-height: 1.45; }
.editorial .blog-single table :is(th, td) { color: var(--ink); padding: clamp(.43rem,2vw,.8rem); text-align: start; vertical-align: top; border: 1px solid var(--rule); font-size: inherit; text-transform: none; overflow-wrap: anywhere; hyphens: auto; }
.editorial .blog-single thead th { color: #fff; background: #573d32; }
.editorial .blog-single thead th:first-child { width: 33%; }
.editorial .blog-single tbody th { background: var(--tint); }
.editorial .routes { background: var(--tint); border-left: 3px solid var(--accent); padding: clamp(1rem, 3vw, 1.45rem); margin-top: 1.65rem; }
.editorial .routes a { display: block; margin-block: .32rem; }
.editorial .collection-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1rem; border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 1.9rem; font-weight: 600; }

.editorial .site-footer { border-color: var(--rule); }
.editorial .site-footer .site-info { width: 90%; opacity: 1; color: var(--quiet); padding: clamp(1.4rem,3vw,2.25rem) 0; }
.editorial .site-info p { margin: 0 0 .45rem; }
.editorial .site-info a { color: var(--brown); }

@media (max-width: 58em) {
  .editorial .article-tiles { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 991px) {
  .editorial .overview-grid > * { width: 100%; }
}
@media (max-width: 47.99em) {
  .editorial .editorial-grid > div, .editorial .lens-grid > div { width: 100%; }
  .editorial .about-intro .row > div { width: 100%; }
  .editorial .about-intro img { margin-bottom: .85rem; }
}
@media (max-width: 37em) {
  .editorial .article-tiles { grid-template-columns: minmax(0, 1fr); }
  .editorial .header .nav-menu ul { gap: .04rem .3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .editorial *, .editorial *::before, .editorial *::after { animation: none; transition: none; }
}
@media print {
  .editorial :is(.skip, .status, .header, .collection-nav, .site-footer) { display: none; }
  .editorial .site-middle > div { width: 100%; }
  .editorial tr { break-inside: avoid; }
}
