/*
Theme Name: OTCC Modern
Theme URI: https://otcc.lt/
Author: OTCC
Description: A calm, responsive technical-archive theme created for the OTCC long-form collection.
Version: 1.1.0
Requires at least: 6.8
Tested up to: 7.0
Requires PHP: 8.1
Text Domain: otcc-modern
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, two-columns, right-sidebar, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, wide-blocks
*/

:root {
  --otcc-canvas: #ededeb;
  --otcc-paper: #fff;
  --otcc-ink: #34383b;
  --otcc-muted: #6e7376;
  --otcc-steel: #445866;
  --otcc-link: #3e596a;
  --otcc-link-hover: #263d4b;
  --otcc-warm: #9a6d42;
  --otcc-warm-dark: #795235;
  --otcc-line: #d9dbdc;
  --otcc-line-soft: #e8e9e8;
  --otcc-technical: #f5f5f3;
  --otcc-nav: #414b51;
  --otcc-focus: #94653b;
  --otcc-ui: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --otcc-reading: Georgia, "Times New Roman", serif;
  --otcc-container: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--otcc-ink);
  background: var(--otcc-canvas);
  font-family: var(--otcc-ui);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.admin-bar .site-header { scroll-margin-top: 32px; }

a {
  color: var(--otcc-link);
  text-decoration-thickness: .075em;
  text-underline-offset: .15em;
}

a:hover { color: var(--otcc-link-hover); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--otcc-focus);
  outline-offset: 3px;
}

img,
svg,
video,
iframe { max-width: 100%; }

img { height: auto; }
img[hidden] { display: none !important; }
figure { margin: 1.55rem 0; }

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

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: .7rem .9rem;
  clip: auto !important;
  color: var(--otcc-ink);
  background: var(--otcc-paper);
  font-weight: 700;
}

.site-shell {
  width: min(100% - 40px, var(--otcc-container));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid #cfd2d3;
  background: var(--otcc-paper);
}

.site-branding {
  display: flex;
  align-items: center;
  min-height: 108px;
  padding-block: 18px 17px;
}

.custom-logo-link { flex: 0 0 auto; margin-right: 20px; }
.custom-logo { display: block; width: auto; max-height: 64px; }
.site-identity { min-width: 0; }

.site-title {
  max-width: 920px;
  margin: 0;
  color: var(--otcc-ink);
  font-size: clamp(2.35rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -.035em;
}

.site-title a { color: inherit; text-decoration: none; }

.site-description {
  max-width: 720px;
  margin: .42rem 0 0;
  color: var(--otcc-muted);
  font-size: .84rem;
  line-height: 1.35;
}

.technical-marker {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  margin-left: auto;
  opacity: .94;
}

.technical-marker img { display: block; width: 56px; height: 56px; }

.navigation-band { background: var(--otcc-nav); }
.navigation-inner { display: flex; align-items: stretch; min-height: 46px; }

.menu-toggle {
  display: none;
  align-items: center;
  gap: .6rem;
  margin: .32rem 0;
  padding: .5rem .7rem;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 0;
  color: #fff;
  background: transparent;
  font: 600 .86rem/1 var(--otcc-ui);
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle-icon { position: relative; }
.menu-toggle-icon::before { position: absolute; top: -6px; }
.menu-toggle-icon::after { position: absolute; top: 6px; }
.primary-menu-wrap { width: 100%; }

.primary-menu,
.primary-menu ul,
.footer-menu { margin: 0; padding: 0; list-style: none; }

.primary-menu { display: flex; flex-wrap: wrap; }
.primary-menu > li { position: relative; }

.primary-menu a {
  position: relative;
  display: block;
  padding: .8rem .5rem .72rem;
  color: #f3f5f5;
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.32;
  text-decoration: none;
}

.primary-menu > li > a::after {
  position: absolute;
  right: .5rem;
  bottom: 0;
  left: .5rem;
  height: 2px;
  background: transparent;
  content: "";
}

.primary-menu a:hover,
.primary-menu a:focus,
.primary-menu .current-menu-item > a,
.primary-menu .current-menu-ancestor > a { color: #fff; }

.primary-menu > li > a:hover::after,
.primary-menu > li > a:focus::after,
.primary-menu > .current-menu-item > a::after,
.primary-menu > .current-menu-ancestor > a::after { background: var(--otcc-warm); }

.primary-menu .sub-menu {
  position: absolute;
  z-index: 50;
  top: 100%;
  left: 0;
  display: none;
  min-width: 230px;
  border-top: 2px solid var(--otcc-warm);
  background: #364147;
  box-shadow: 0 8px 18px rgb(22 29 32 / 18%);
}

.primary-menu .sub-menu .sub-menu { top: 0; left: 100%; }
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu { display: block; }
.primary-menu .sub-menu a { padding: .62rem .78rem; font-weight: 500; }

.site-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
  padding: 28px;
  border-right: 1px solid var(--otcc-line);
  border-left: 1px solid var(--otcc-line);
  background: var(--otcc-paper);
}

.site-main { min-width: 0; }

.page-header {
  margin-bottom: 25px;
  padding: 15px 18px;
  border-top: 1px solid var(--otcc-line);
  border-bottom: 1px solid var(--otcc-line);
  border-left: 3px solid var(--otcc-warm);
  background: var(--otcc-technical);
}

.page-title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
}

.archive-description { margin-top: .45rem; color: var(--otcc-muted); }
.archive-description > :last-child { margin-bottom: 0; }

.post-card,
.content-surface {
  margin: 0 0 25px;
  padding: 0 0 25px;
  border: 0;
  border-bottom: 1px solid var(--otcc-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.post-card:last-child { margin-bottom: 0; }
.entry-header { margin-bottom: .92rem; }

.entry-title {
  margin: 0;
  color: var(--otcc-ink);
  font-family: var(--otcc-ui);
  font-size: clamp(1.56rem, 2.75vw, 1.72rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.018em;
  overflow-wrap: anywhere;
}

.single .entry-title,
.page .entry-title { font-size: clamp(2.05rem, 4vw, 2.5rem); line-height: 1.14; }
.entry-title a { color: inherit; text-decoration: none; }
.entry-title a:hover { color: var(--otcc-link-hover); }

.entry-meta,
.entry-footer {
  color: var(--otcc-muted);
  font-family: var(--otcc-ui);
  font-size: .81rem;
  line-height: 1.45;
}

.entry-meta { display: flex; flex-wrap: wrap; gap: .32rem .5rem; margin-top: .48rem; }
.entry-meta > span { display: inline-flex; align-items: center; gap: .28rem; }
.entry-meta > span:not(:last-child)::after { margin: 0 .42rem; color: #a8abad; content: "·"; }
.entry-meta a { color: #607078; }
.single .entry-header { padding-bottom: 16px; border-bottom: 1px solid var(--otcc-line); }
.entry-footer { margin-top: 1.45rem; padding-top: .75rem; border-top: 1px solid var(--otcc-line-soft); }

.post-thumbnail { display: block; margin: 0 0 1.35rem; }
.post-thumbnail img { display: block; width: 100%; max-height: 520px; object-fit: contain; background: var(--otcc-technical); }

.entry-content,
.entry-summary {
  min-width: 0;
  color: var(--otcc-ink);
  font-family: var(--otcc-reading);
  font-size: 17px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.entry-summary { font-size: 16px; line-height: 1.55; }
.post-card .entry-summary > p:first-of-type {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}
.single .entry-content > :where(p, h2, h3, h4, ul, ol, blockquote) { max-width: 750px; }
.entry-content > :first-child,
.entry-summary > :first-child { margin-top: 0; }
.entry-content > :last-child,
.entry-summary > :last-child { margin-bottom: 0; }
.entry-content p,
.entry-summary p { margin: 0 0 1.08em; }

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin: 1.65em 0 .62em;
  color: #30373a;
  font-family: var(--otcc-ui);
  font-weight: 600;
  line-height: 1.22;
}

.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.38rem; }
.entry-content h4 { font-size: 1.12rem; }
.entry-content ul,
.entry-content ol { padding-left: 1.45em; }

.entry-content blockquote {
  margin: 1.5rem 0;
  padding: .7rem 1rem;
  border-left: 3px solid var(--otcc-warm);
  color: #4e5659;
  background: var(--otcc-technical);
  font-style: italic;
}

.entry-content pre,
.entry-content code,
.entry-content kbd { font-family: Consolas, "Liberation Mono", monospace; }

.entry-content pre {
  max-width: 100%;
  padding: .9rem;
  overflow-x: auto;
  border: 1px solid var(--otcc-line);
  background: var(--otcc-technical);
  font-size: .86rem;
}

.entry-content table {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 1.4rem 0;
  overflow-x: auto;
  border-collapse: collapse;
  font-family: var(--otcc-ui);
  font-size: .89rem;
}

.entry-content th,
.entry-content td { padding: .5rem .65rem; border: 1px solid #cfd2d3; text-align: left; vertical-align: top; }
.entry-content th { background: #eeefed; font-weight: 650; }
.entry-content iframe { width: 100%; border: 0; }
.entry-content .alignleft { float: left; margin: .35rem 1.25rem .9rem 0; }
.entry-content .alignright { float: right; margin: .35rem 0 .9rem 1.25rem; }
.entry-content .aligncenter { display: block; margin: 1.35rem auto; }
.entry-content .wp-caption { max-width: 100%; }
.entry-content img { margin-top: .35rem; margin-bottom: .35rem; }

.wp-caption-text,
.blocks-gallery-caption,
.wp-element-caption {
  margin-top: .4rem;
  color: var(--otcc-muted);
  font-family: var(--otcc-ui);
  font-size: .81rem;
  line-height: 1.4;
}

.alignwide { max-width: 100%; }
.alignfull { width: 100%; max-width: 100%; }

.read-more-link {
  display: inline-block;
  margin-top: .18rem;
  color: #956a43;
  font-family: var(--otcc-ui);
  font-size: .85rem;
  font-weight: 650;
  text-decoration: none;
}

.read-more-link:hover { color: var(--otcc-warm-dark); text-decoration: underline; }
.page-links { clear: both; margin-top: 1.35rem; font-family: var(--otcc-ui); }

.post-navigation { margin: 22px 0; border-top: 1px solid var(--otcc-line); border-bottom: 1px solid var(--otcc-line); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.post-navigation a { display: block; padding: .78rem 0; text-decoration: none; }
.nav-next { text-align: right; }
.nav-subtitle { display: block; color: var(--otcc-muted); font-size: .73rem; font-weight: 600; letter-spacing: .02em; }
.nav-title {
  display: -webkit-box;
  margin-top: .18rem;
  overflow: hidden;
  color: var(--otcc-link);
  font-size: .84rem;
  line-height: 1.36;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pagination { margin: 23px 0 0; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .3rem; }
.page-numbers { min-width: 2.2rem; padding: .32rem .58rem; border: 1px solid var(--otcc-line); background: var(--otcc-paper); text-align: center; text-decoration: none; }
.page-numbers.current { border-color: var(--otcc-steel); color: #fff; background: var(--otcc-steel); }

.widget-area { min-width: 0; }
.sidebar-section-heading {
  margin: 0 0 17px;
  padding: 12px 0 0;
  border-top: 1px solid #b9bec0;
}
.sidebar-section-heading .widget-title { margin-bottom: 0; }
.widget {
  margin: 0 0 27px;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid #b9bec0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: .875rem;
}

.widget-title {
  position: relative;
  margin: 0 0 .68rem;
  padding-left: 10px;
  color: #394348;
  font-size: .79rem;
  font-weight: 700;
  letter-spacing: .045em;
  line-height: 1.35;
  text-transform: uppercase;
}

.widget-title:has(.otcc-icon) {
  display: flex;
  align-items: center;
  gap: .42rem;
}

.widget-title::before {
  position: absolute;
  top: .1em;
  bottom: .1em;
  left: 0;
  width: 3px;
  background: var(--otcc-warm);
  content: "";
}

.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: .34rem 0; border-bottom: 1px solid var(--otcc-line-soft); line-height: 1.4; }
.widget li:last-child { border-bottom: 0; }
.widget ul ul { margin: .2rem 0 0 .8rem; }
.widget a { text-decoration: none; }
.widget select { max-width: 100%; }

.search-form { display: flex; gap: .38rem; }
.search-form label { flex: 1; }
.search-field,
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
  width: 100%;
  padding: .52rem .62rem;
  border: 1px solid #c5c9cb;
  border-radius: 0;
  color: var(--otcc-ink);
  background: #fff;
  font: inherit;
}

.search-field { height: 40px; }

button,
input[type="submit"],
.search-submit {
  padding: .58rem .76rem;
  border: 1px solid var(--otcc-steel);
  border-radius: 0;
  color: #fff;
  background: var(--otcc-steel);
  font: 650 .82rem/1.2 var(--otcc-ui);
  cursor: pointer;
}

button:hover,
input[type="submit"]:hover { background: var(--otcc-link-hover); }

.search-submit { display: inline-flex; align-items: center; gap: .38rem; }

#wp-calendar { width: 100%; border-collapse: collapse; text-align: center; }
#wp-calendar caption { margin-bottom: .5rem; font-weight: 650; }
#wp-calendar th,
#wp-calendar td { padding: .2rem; font-size: .76rem; }
#wp-calendar tbody td { border: 1px solid var(--otcc-line-soft); }

.comments-area {
  margin-top: 24px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.otcc-divider { display: block; width: 100%; height: 24px; margin: 0 0 18px; object-fit: contain; }
.comments-title { display: flex; align-items: center; gap: .45rem; }
.comments-title,
.comment-reply-title { margin: 0 0 1rem; font-size: 1.35rem; line-height: 1.3; }
.comment-list { margin: 0; padding: 0; border-bottom: 1px solid var(--otcc-line); list-style: none; }
.comment-list .children { margin: 0 0 0 1.25rem; padding: 0; list-style: none; }
.comment-body { margin: 0; padding: 1rem 0; border: 0; border-top: 1px solid var(--otcc-line); background: transparent; }
.comment-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .7rem; margin-bottom: .5rem; font-size: .8rem; }
.comment-author-name { color: #32383b; font-size: .9rem; }
.comment-date { color: var(--otcc-muted); text-decoration: none; }
.comment-content { font-family: var(--otcc-reading); font-size: 1rem; line-height: 1.6; }
.comment-content > :last-child { margin-bottom: 0; }
.reply { margin-top: .45rem; font-size: .79rem; }
.reply a { color: var(--otcc-warm-dark); font-weight: 650; }
.comment-respond { margin-top: 1.5rem; }
.comment-notes { color: var(--otcc-muted); font-size: .84rem; }
.comment-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.comment-form-comment,
.comment-form-url,
.comment-notes,
.form-submit,
.logged-in-as { grid-column: 1 / -1; }
.comment-form p { margin: 0 0 .85rem; }
.comment-form label { display: block; margin-bottom: .22rem; font-size: .83rem; font-weight: 650; }
.comment-form textarea { height: 200px; min-height: 180px; resize: vertical; }
.comment-form-cookies-consent { display: flex; align-items: flex-start; gap: .5rem; }
.comment-form-cookies-consent input { margin-top: .4rem; }
.comment-form-cookies-consent label { font-weight: 400; }

.site-footer { border-top: 1px solid #bfc3c4; background: var(--otcc-technical); }
.footer-widgets { padding-top: 22px; }
.footer-widgets .widget { margin-bottom: 0; }
.footer-primary { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; padding-block: 21px; }
.footer-identity { display: grid; gap: .18rem; }
.footer-identity strong { color: #3a4246; font-size: .95rem; }
.footer-identity span { color: var(--otcc-muted); font-size: .82rem; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem; font-size: .82rem; }
.footer-links a { color: var(--otcc-link); text-decoration: none; }
.footer-links-separator { color: #9b9fa1; }
.footer-secondary { border-top: 1px solid var(--otcc-line); background: #e7e7e4; }
.site-info { padding-block: .68rem; color: #666d70; font-size: .75rem; }
.no-results .entry-content { font-family: var(--otcc-ui); }

@media (max-width: 1050px) {
  .site-layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 24px; padding: 24px; }
  .site-title { max-width: 800px; font-size: 2.45rem; }
  .navigation-inner { display: block; min-height: 0; padding-block: .1rem; }
  .menu-toggle { display: inline-flex; }
  .js .primary-menu-wrap { display: none; }
  .js .primary-menu-wrap.is-open { display: block; }
  .primary-menu { display: block; padding-bottom: .4rem; }
  .primary-menu a { padding: .58rem .68rem; font-size: .84rem; }
  .primary-menu > li > a::after { right: .68rem; left: .68rem; }
  .primary-menu .sub-menu,
  .primary-menu .sub-menu .sub-menu { position: static; display: block; min-width: 0; margin-left: .9rem; border-top: 0; box-shadow: none; }
}

@media (max-width: 820px) {
  .site-layout { grid-template-columns: minmax(0, 1fr); padding-block: 22px 30px; }
  .widget-area { margin-top: 5px; }
}

@media (max-width: 760px) {
  .site-shell { width: min(100% - 32px, var(--otcc-container)); }
  .site-branding { min-height: 0; padding-block: 14px 13px; }
  .site-title { max-width: none; font-size: clamp(1.62rem, 6.8vw, 1.88rem); line-height: 1.045; }
  .site-description { margin-top: .26rem; font-size: .78rem; line-height: 1.3; }
  .technical-marker { flex-basis: 40px; width: 40px; height: 40px; margin-left: 13px; opacity: .86; }
  .technical-marker img { width: 40px; height: 40px; }
  .site-layout { padding: 18px 20px 26px; }
  .entry-content,
  .entry-summary { font-size: 16.5px; line-height: 1.6; }
  .entry-content .alignleft,
  .entry-content .alignright { float: none; display: block; margin: 1.1rem auto; }
  .post-navigation .nav-links { grid-template-columns: 1fr; gap: 0; }
  .nav-next { border-top: 1px solid var(--otcc-line-soft); text-align: left; }
  .footer-primary { display: grid; gap: 1rem; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 460px) {
  .site-shell { width: min(100% - 24px, var(--otcc-container)); }
  .site-branding { align-items: center; padding-block: 12px 11px; }
  .technical-marker { flex-basis: 34px; width: 34px; height: 34px; margin-left: 8px; opacity: .82; }
  .technical-marker img { width: 34px; height: 34px; }
  .site-title { font-size: clamp(1.48rem, 6.5vw, 1.62rem); line-height: 1.04; letter-spacing: -.028em; }
  .site-layout { padding: 16px 16px 24px; }
  .entry-title { font-size: 1.48rem; }
  .entry-summary { font-size: 16px; line-height: 1.54; }
  .post-card .entry-summary > p:first-of-type { -webkit-line-clamp: 7; }
  .single .entry-title,
  .page .entry-title { font-size: 1.72rem; }
  .page-header { padding: 13px 14px; }
  .comment-form { display: block; }
  .comment-form textarea { height: 190px; min-height: 180px; }
  .comment-list .children { margin-left: .55rem; }
  .search-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
}

@media (max-width: 380px) {
  .single .entry-title,
  .page .entry-title { font-size: 1.62rem; }
}

/* Stage 23 approved IAES Branding B composition. */
a,
button,
input[type="submit"],
.primary-menu > li > a::after,
.branding-mark img {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.widget a:hover,
.widget a:focus-visible { color: var(--otcc-warm-dark); }

.otcc-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  color: var(--otcc-steel);
  overflow: visible;
  vertical-align: -.12em;
}

.entry-meta .otcc-icon { width: 1.05em; height: 1.05em; }
.widget-title .otcc-icon { width: 1.15em; height: 1.15em; }
.comments-title .otcc-icon { width: 1.1em; height: 1.1em; }
.search-submit .otcc-icon { color: #fff; }

.otcc-branding-final .site-header { border-top: 3px solid var(--otcc-warm); }

.otcc-branding-final .site-branding {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
  gap: 28px;
  min-height: 170px;
  overflow: hidden;
}

.otcc-branding-final .site-identity {
  position: relative;
  z-index: 3;
  max-width: 690px;
}

.branding-mark {
  position: relative;
  z-index: 2;
  align-self: center;
  justify-self: end;
  width: 100%;
  pointer-events: none;
}

.branding-mark img { display: block; width: 100%; height: auto; opacity: .96; }
.branding-mark-final { max-width: 410px; }

@media (max-width: 1050px) {
  .otcc-branding-final .site-branding { grid-template-columns: minmax(0, 1fr) minmax(300px, 39vw); gap: 18px; }
  .otcc-branding-final .site-title { font-size: clamp(1.95rem, 3.6vw, 2.4rem); }
}

@media (max-width: 760px) {
  .otcc-branding-final .site-branding {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding-block: 15px 10px;
  }
  .otcc-branding-final .site-identity { width: 100%; max-width: none; }
  .otcc-branding-final .site-title { max-width: 620px; font-size: clamp(1.62rem, 6.8vw, 1.88rem); }
  .branding-mark,
  .branding-mark-final {
    align-self: flex-end;
    width: min(100%, 390px);
    max-width: 390px;
  }
}

@media (max-width: 460px) {
  .otcc-branding-final .site-branding { gap: 1px; padding-block: 13px 8px; }
  .otcc-branding-final .site-title { font-size: clamp(1.44rem, 6.3vw, 1.6rem); }
  .otcc-branding-final .site-description { max-width: 100%; font-size: .74rem; }
  .branding-mark,
  .branding-mark-final { width: min(100%, 340px); max-width: 340px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media print {
  body { background: #fff; font-size: 12pt; }
  .navigation-band,
  .widget-area,
  .site-footer,
  .post-navigation,
  .comments-area { display: none; }
  .site-shell { width: 100%; }
  .site-layout { display: block; padding: 0; border: 0; }
  .post-card { border: 0; }
  a { color: #000; }
}
