/* OHM single articles — native homepage design system */
body.single-post { margin: 0; color: #303030; background: #ebebeb; font-family: "PT Sans", Arial, sans-serif; }
body.single-post .ohm-native-single-post { overflow: clip; background: #ebebeb url("/wp-content/uploads/2021/05/OHM-bg-tech.webp") bottom left / cover fixed no-repeat; }
.ohm-article-wrap { width: min(1200px, calc(100% - 48px)); margin-inline: auto; }

.ohm-article-hero { position: relative; padding: 110px 0 78px; background: rgba(235, 235, 235, .94); }
.ohm-article-hero .ohm-article-wrap {
  display: grid;
  justify-items: center;
  text-align: center;
}
.ohm-article-back { display: inline-flex; margin-bottom: 26px; color: #193f10; font: 700 14px/1.2 Montserrat, Arial, sans-serif; text-decoration: none; }
.ohm-article-category { display: table; margin-bottom: 16px; padding: 7px 13px; color: #193f10; background: #edf3e6; border: 1px solid #7d9b76; font: 700 12px/1.2 Montserrat, Arial, sans-serif; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.ohm-article-hero h1 { max-width: 1050px; margin: 0; color: #193f10; font: 700 clamp(42px, 5vw, 70px)/1.08 Montserrat, Arial, sans-serif; letter-spacing: 0; text-shadow: 1px 1px 2px rgba(0, 0, 0, .28); }
.ohm-article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin-top: 24px; color: #536150; font-size: 16px; }

.ohm-article-featured-band { padding: clamp(42px, 6vw, 76px) 0; }
.ohm-article-featured { position: relative; z-index: 2; margin: 0 auto; padding: 8px; background: #fff; border: 3px double #f5dfad; border-radius: 14px; box-shadow: 0 0 24px rgba(214,178,94,.28); }
.ohm-article-featured img { display: block; width: 100%; max-height: 650px; object-fit: cover; border-radius: 8px; }
.ohm-article-featured-placeholder { display: grid; gap: 10px; min-height: 210px; place-content: center; color: #f7fff1; text-align: center; }
.ohm-article-featured-placeholder span { color: #f5dfad; font: 700 13px/1.2 Montserrat, Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.ohm-article-featured-placeholder strong { font: 700 clamp(28px, 4vw, 52px)/1.1 Montserrat, Arial, sans-serif; }

.ohm-article-layout { padding: clamp(62px, 8vw, 104px) 0; background: rgba(235, 235, 235, .94); }
.ohm-article-grid { display: grid; grid-template-columns: minmax(0, 790px) minmax(280px, 330px); gap: clamp(40px, 6vw, 78px); align-items: start; }
#main .ohm-article-content { min-width: 0; padding: 38px; background: rgba(255, 255, 255, .96); border: 1px solid rgba(25, 63, 16, .2); }
#main .ohm-article-content > *:first-child { margin-top: 0; }
#main .ohm-article-content p,
#main .ohm-article-content li { color: #303030; font-size: 19px; line-height: 1.75; }
#main .ohm-article-content p { margin: 0 0 1.45em; }
#main .ohm-article-content h2,
#main .ohm-article-content h3,
#main .ohm-article-content h4 { color: #193f10; font-family: Montserrat, Arial, sans-serif; font-weight: 700; letter-spacing: 0; }
#main .ohm-article-content h2 { margin: 2em 0 .7em; font-size: clamp(30px, 3vw, 42px); line-height: 1.18; }
#main .ohm-article-content h3 { margin: 1.7em 0 .6em; font-size: clamp(24px, 2.3vw, 32px); line-height: 1.25; }
#main .ohm-article-content a { color: #193f10; text-decoration-thickness: 1px; text-underline-offset: .15em; }
#main .ohm-article-content img { max-width: 100%; height: auto; border: 3px double #193f10; border-radius: 10px; }
#main .ohm-article-content figure { max-width: 100%; margin: 2em 0; }
#main .ohm-article-content figcaption { margin-top: 8px; color: #60705d; font-size: 14px; text-align: center; }
#main .ohm-article-content blockquote { margin: 2em 0; padding: 24px 28px; color: #193f10; background: #edf3e6; border-left: 5px solid #193f10; }

#main .table-of-contents { margin: 0 0 38px; padding: 24px; background: #edf3e6; border: 1px solid rgba(25, 63, 16, .28); }
#main .table-of-contents h2 { margin: 0 0 14px; font-size: 24px; }
#main .table-of-contents ol { margin: 0; padding-left: 22px; }
#main .table-of-contents li { margin: 7px 0; font-size: 15px; line-height: 1.4; }

.ohm-article-sidebar { position: sticky; top: 18px; align-self: start; display: grid; gap: 22px; }
.ohm-sidebar-card { padding: 25px; background: rgba(255, 255, 255, .96); border: 1px solid rgba(25, 63, 16, .22); }
.ohm-sidebar-kicker { margin: 0 0 9px; color: #6b8e3f; font: 700 12px/1.2 Montserrat, Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.ohm-sidebar-card h2 { margin: 0 0 18px; color: #193f10; font: 700 24px/1.2 Montserrat, Arial, sans-serif; }
.ohm-sidebar-categories,
.ohm-sidebar-latest { margin: 0; padding: 0; list-style: none; }
.ohm-sidebar-categories li + li,
.ohm-sidebar-latest li + li { border-top: 1px solid rgba(25, 63, 16, .16); }
.ohm-sidebar-categories a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; color: #193f10; font-weight: 700; text-decoration: none; }
.ohm-sidebar-categories a span { display: grid; place-items: center; min-width: 26px; height: 26px; color: #fff; background: #6b8e3f; border-radius: 50%; font-size: 12px; }
.ohm-sidebar-latest li { padding: 13px 0; }
.ohm-sidebar-latest a { display: block; color: #193f10; font: 700 15px/1.35 Montserrat, Arial, sans-serif; text-decoration: none; }
.ohm-sidebar-latest span { display: block; margin-top: 5px; color: #6b7669; font-size: 13px; }

.ohm-article-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(25, 63, 16, .25); }
.ohm-article-navigation > div:last-child { text-align: right; }
.ohm-article-navigation a { display: block; color: #193f10; font: 700 16px/1.35 Montserrat, Arial, sans-serif; text-decoration: none !important; }
.ohm-article-navigation a span { display: block; margin-bottom: 6px; color: #6b7669; font: 400 13px/1.2 "PT Sans", Arial, sans-serif; text-transform: uppercase; }

.ohm-article-comments { margin-top: 52px; padding-top: 34px; border-top: 1px solid rgba(25, 63, 16, .25); }
#main .ohm-article-comments h2,
#main .ohm-article-comments h3 { color: #193f10; font-family: Montserrat, Arial, sans-serif; }
#main .ohm-article-comments input,
#main .ohm-article-comments textarea { width: 100%; padding: 12px 14px; background: #fff; border: 1px solid rgba(25, 63, 16, .35); border-radius: 0; }
#main .ohm-article-comments input[type="submit"] { width: auto; min-height: 50px; color: #fff; background: #193f10; border: 3px double #fff; border-radius: 8px; font: 600 18px/1 Mohave, Arial, sans-serif; }

@media (max-width: 980px) {
  .ohm-article-grid { grid-template-columns: 1fr; }
  .ohm-article-sidebar { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  body.single-post .ohm-native-single-post { background-attachment: scroll; }
  .ohm-article-wrap { width: min(100% - 32px, 1200px); }
  .ohm-article-hero { padding: 88px 0 62px; }
  .ohm-article-hero h1 { font-size: 40px; }
  .ohm-article-featured { margin-top: 0; }
  #main .ohm-article-content { padding: 24px; }
  #main .ohm-article-content p,
  #main .ohm-article-content li { font-size: 17px; }
  .ohm-article-sidebar,
  .ohm-article-navigation { grid-template-columns: 1fr; }
  .ohm-article-navigation > div:last-child { text-align: left; }
}
