/* Rhumb Course — visual language matched to the Smashed Magazine / demo 17359 template. */
:root {
  --accent: #ff1857;
  --accent-dark: #d10e46;
  --char: #252525;
  --char-2: #2e2e2e;
  --ink: #222;
  --muted: #999;
  --paper: #f9f9ff;
  --white: #fff;
  --overlay: rgba(42, 20, 112, 0.5);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--muted);
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.625em;
  background: var(--char);
  position: relative;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: all .3s ease; }
a:hover { color: var(--accent); text-decoration: none; }
h1, h2, h3, h4, h5, h6 {
  font-family: "Roboto", sans-serif;
  color: #fff;
  line-height: 1.2em;
  margin: 0;
  font-weight: 600;
}
p { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--accent); color: #fff; padding: 8px 12px;
}
.skip-link:focus { top: 12px; }
.read-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: var(--accent); z-index: 90;
}

/* ---------- Banner / hero mosaic (template: banner-area) ---------- */
.banner-area { background: #111; }
.banner-area .container-fluid { padding: 0; }
.banner-area .row { margin: 0; }
.banner-area [class*="col-"] { padding: 0; }
.mb-03 { margin-bottom: 0 !important; }
@media (min-width: 992px) {
  .banner-area .side-col .single-post + .single-post { margin-top: 2px; }
}
.single-post {
  position: relative;
  overflow: hidden;
  color: #fff;
  display: block;
  height: 100%;
  min-height: 210px;
}
.banner-area .side-col .single-post { min-height: 210px; height: 210px; }
.banner-area .side-col .single-post.panel { min-height: 314px; height: 314px; }
.single-post.feature { min-height: 634px; height: 634px; }
#leadCarousel, #leadCarousel .carousel-inner, #leadCarousel .carousel-item { height: 100%; }
#leadCarousel { min-height: 634px; }
.single-post .thumb {
  position: absolute; inset: 0; overflow: hidden;
}
.single-post .thumb .relative { position: absolute; inset: 0; }
.single-post .f-art {
  position: absolute; inset: 0;
  transition: transform .45s ease;
}
.single-post .thumb img.f-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.single-post:hover .f-art,
.single-post:hover .thumb img.f-photo { transform: scale(1.06); }
.overlay-bg {
  position: absolute; inset: 0;
  background: var(--overlay) !important;
  transition: all .3s ease;
}
.single-post:hover .overlay-bg { background: rgba(42, 20, 112, 0.68) !important; }
.single-post .details {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 82%;
  z-index: 2;
  text-align: left;
}
.single-post .bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px; margin-bottom: 10px;
}
.single-post .bottom a span,
.single-post .meta { color: rgba(255,255,255,.85); font-size: 12px; }
.single-post h4 {
  font-size: 21px; font-weight: 600; margin: 12px 0 8px; color: #fff;
  transition: color .3s ease;
}
.single-post:hover h4 { color: var(--accent); }
.single-post h4.lg-font { font-size: 36px; line-height: 1.2; margin-top: 18px; }
.single-post .details > p {
  color: rgba(255,255,255,.86); font-size: 13px; line-height: 1.7;
  margin-top: 8px;
}
.single-post.panel .details { width: 88%; }
.single-post .top-part h4 { margin-top: 0; font-size: 18px; }
.single-post .middle-part { padding: 40px 0 24px; }
.single-post .middle-part h1 { font-size: 48px; color: #fff; }
.single-post .bottom-part {
  padding-top: 10px; border-top: 1px solid #999;
}
.single-post .list {
  margin: 24px 0 0 14px; list-style: decimal; color: #999;
}
.single-post .list li { margin-bottom: 12px; }
.single-post .list a { color: #999; }
.single-post .list a:hover { color: #fff; }
.primary-btn {
  background: transparent;
  line-height: 28px;
  padding: 0 18px;
  border: 2px solid var(--accent);
  color: #fff !important;
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.primary-btn:hover { background: var(--accent); color: #fff !important; }
.primary-btn.fill {
  background: var(--accent);
  line-height: 46px;
  padding: 0 38px;
  font-size: 14px;
  margin-top: 22px;
}
.primary-btn.fill:hover { background: transparent; }
.primary-btn.ink {
  color: var(--accent) !important;
  background: transparent;
  border-color: var(--accent);
}
.primary-btn.ink:hover { background: var(--accent); color: #fff !important; }

/* Art tiles */
.art-graticule { background: #1d3d5c; background-image: linear-gradient(rgba(255,255,255,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.28) 1px, transparent 1px); background-size: 28px 28px; }
.art-contour { background: #c4a574; background-image: repeating-radial-gradient(circle at 30% 40%, transparent 0 10px, rgba(80,40,10,.45) 11px 12px); }
.art-meridian { background: linear-gradient(90deg, #ff1857 0 5px, #1a2740 5px 24%, rgba(255,255,255,.25) 24% 25%, #1a2740 25% 100%); }
.art-bands { background: linear-gradient(#1a4d8c 0 18%, #7ec8e3 18% 36%, #e7d48b 36% 64%, #7ec8e3 64% 82%, #1a4d8c 82% 100%); }
.art-compass { background: conic-gradient(from -90deg, #ff1857, #2e2e2e, #fff, #2e2e2e, #ff1857); }
.art-delta { background: linear-gradient(#4a6d9a, #7eb6d6 40%, #c4a574); }
.art-delta::after { content: ""; position: absolute; left: 18%; right: 18%; bottom: 0; height: 70%; background: #6d8f55; clip-path: polygon(50% 0, 100% 100%, 0 100%); opacity: .88; }
.art-pixel { background: #111; background-image: linear-gradient(#333 1px, transparent 1px), linear-gradient(90deg, #333 1px, transparent 1px), linear-gradient(45deg, #ff1857 25%, #1d4e89 25% 50%, #d8c07a 50% 75%, #2e2e2e 75%); background-size: 16px 16px, 16px 16px, 32px 32px; }
.art-slope { background: repeating-linear-gradient(115deg, #5c4632 0 8px, #c4a574 8px 16px); }
.art-clock { background: radial-gradient(circle at 50% 50%, #fff 0 18%, #2e2e2e 19% 22%, transparent 23%), repeating-conic-gradient(from 0deg, #1b3a4b 0 15deg, #ff1857 0 16deg); }
.art-rhumb { background: #14324a; background-image: linear-gradient(27deg, transparent 46%, #ff1857 47% 50%, transparent 51%), linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: auto, 36px 36px, 36px 36px; }
.art-mount { background:
  radial-gradient(ellipse at 30% 70%, #5b3d8c 0 28%, transparent 30%),
  radial-gradient(ellipse at 70% 65%, #3a2a6e 0 34%, transparent 36%),
  linear-gradient(180deg, #1a1038 0%, #4a2d7a 55%, #2a184f 100%); }

/* ---------- Header / main-menu (template) ---------- */
.main-menu {
  background: var(--char);
  padding: 17px 0;
  position: relative;
  z-index: 40;
  border-bottom: 1px solid #1a1a1a;
}
.main-menu.sticky {
  position: sticky; top: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.menu-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 48px;
}
.navbar-brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff !important; font-family: "Roboto", sans-serif;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 18px;
}
.navbar-brand em { font-style: normal; color: var(--accent); }
.navbar-brand .brand-mark,
.brand-mark {
  width: 34px; height: 34px; border-radius: 8px;
  display: block; flex: 0 0 34px; object-fit: contain;
  background: transparent; box-shadow: none;
}
.nav-toggle {
  display: none; min-width: 44px; min-height: 44px; border: 0;
  background: transparent; color: #fff; font-size: 22px; cursor: pointer;
}
#nav-menu-container { margin-left: auto; margin-right: 12px; }
.nav-menu { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav-menu > li { position: relative; margin-left: 8px; }
.nav-menu a {
  padding: 0 10px; display: inline-flex; align-items: center; min-height: 40px;
  color: #fff; font-weight: 400; font-size: 12px; text-transform: uppercase; letter-spacing: .04em;
}
.nav-menu > .menu-active > a,
.nav-menu a:hover,
.nav-menu a.is-active { color: var(--accent); }
.nav-menu .menu-has-children > ul {
  display: none; position: absolute; top: 100%; left: 0; min-width: 210px;
  background: #fff; box-shadow: 0 0 30px rgba(127,137,161,.25);
  padding: 10px 0; z-index: 50;
}
.nav-menu .menu-has-children:hover > ul,
.nav-menu .menu-has-children.open > ul { display: block; }
.nav-menu .menu-has-children > ul a {
  color: #333; text-transform: none; display: block; padding: 10px 14px; min-height: 0;
}
.nav-menu .menu-has-children > ul a:hover { color: var(--accent); }
.navbar-right { position: relative; }
.Search { width: 44px; position: relative; }
.Search-open, .Search-close-btn {
  min-width: 44px; min-height: 44px; border: 0; background: transparent;
  color: #fff; cursor: pointer; font-size: 16px;
}
.search-panel {
  display: none; position: absolute; right: 0; top: 48px; width: min(320px, 80vw);
  background: #fff; padding: 10px; z-index: 55; box-shadow: 0 12px 28px rgba(0,0,0,.2);
}
.search-panel.open { display: block; }
.search-panel input {
  width: 100%; min-height: 42px; border: 1px solid #e5e5e5; padding: 8px 12px; font: inherit; color: #333;
}
.search-results { margin-top: 8px; max-height: 280px; overflow: auto; }
.search-results a { display: block; padding: 8px; color: #333; font-size: 13px; text-transform: none; }
.search-results a:hover { background: var(--paper); color: var(--accent); }
.search-results small { display: block; color: #777; }

/* ---------- Sections ---------- */
.section-gap { padding: 100px 0; }
.section-gap-top { padding-top: 100px; }
.section-gap-top-60 { padding-top: 60px; }
.heading {
  font-size: 28px; color: #fff; margin: 0 0 28px; padding-bottom: 10px;
  border-bottom: 1px solid #383838; position: relative;
}
.heading::before {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
}
.heading::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 50px; height: 1px; background: var(--accent);
}
.heading.dark {
  color: var(--ink); border-color: #d5d5e0;
}
.light-band { background: var(--paper); color: #666; }
.light-band .heading { color: var(--ink); border-color: #d5d5e0; }
.light-band h3, .light-band h4 { color: var(--ink); }

/* Editors pick */
.editors-area { padding: 40px 0 10px; background: var(--char); }
.single-post2 {
  display: flex; gap: 16px; align-items: flex-start; color: #fff;
  margin-bottom: 28px; text-decoration: none;
}
.single-post2 .thumb {
  position: relative; width: 110px; height: 86px; flex: 0 0 110px; overflow: hidden;
}
.single-post2 .f-art { position: absolute; inset: 0; }
.single-post2 .thumb img.f-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.single-post2 .overlay-bg { display: none; }
.single-post2 h4 { font-size: 16px; margin: 10px 0 0; color: #fff; }
.single-post2:hover h4 { color: var(--accent); }
.single-post2 .primary-btn { margin-right: 8px; }
.single-post2 .date { color: #999; font-size: 12px; }

/* International / news split */
.int-news-area { background: var(--char); }
.single-int { background: transparent; min-height: 0; }
.single-int .thumb {
  position: relative; height: 280px; inset: auto;
}
.single-int .f-art { position: absolute; inset: 0; }
.single-int .thumb img.f-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.single-int .details {
  position: static; transform: none; width: auto; padding-top: 18px;
}
.single-int h4 { color: #fff; font-size: 24px; }
.single-int p { color: #999; }
.side-stack .mini {
  display: grid; grid-template-columns: 120px 1fr; gap: 14px;
  margin-bottom: 18px; text-decoration: none; color: #fff;
}
.side-stack .mini .thumb { position: relative; min-height: 90px; overflow: hidden; }
.side-stack .mini .f-art { position: absolute; inset: 0; }
.side-stack .mini .thumb img.f-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.side-stack .mini h4 { font-size: 16px; margin: 6px 0; color: #fff; }
.side-stack .mini:hover h4 { color: var(--accent); }
.ad-slot {
  min-height: 280px; border: 1px dashed #555; color: #777;
  display: flex; align-items: center; justify-content: center;
  text-transform: uppercase; letter-spacing: .12em; font-size: 12px;
}

/* Tech / video style cards */
.tech-news-area { background: #1f1f1f; }
.tech-card { display: block; text-decoration: none; margin-bottom: 24px; }
.tech-card .thumb {
  position: relative; height: 180px; overflow: hidden; margin-bottom: 14px;
}
.tech-card .f-art { position: absolute; inset: 0; }
.tech-card .thumb img.f-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.tech-card .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; font-size: 18px;
  transition: transform .3s ease;
}
.tech-card:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.tech-card h4 { color: #fff; font-size: 18px; margin-top: 10px; }
.tech-card:hover h4 { color: var(--accent); }

/* Popular feed / time rail */
.popular-news-area { background: var(--char); }
.feed-item {
  display: grid; grid-template-columns: 90px 1fr; gap: 18px;
  padding: 18px 0; border-top: 1px solid #383838; text-decoration: none;
}
.feed-item strong { color: var(--accent); font-size: 12px; letter-spacing: .1em; }
.feed-item h4 { color: #fff; font-size: 18px; margin: 4px 0; }
.feed-item p { color: #999; }
.feed-item:hover h4 { color: var(--accent); }

/* Bearing lab */
.bearing-lab {
  display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center;
  background: var(--char-2); padding: 28px; color: #fff;
}
.rose {
  width: 140px; height: 140px; border-radius: 50%;
  background: conic-gradient(#ff1857 0 25%, #fff 0 50%, #ff1857 0 75%, #2e2e2e 0 100%);
  box-shadow: inset 0 0 0 18px var(--char-2), 0 0 0 2px #fff;
}
.bearing-lab input { width: 100%; accent-color: var(--accent); }
.bearing-lab p { color: rgba(255,255,255,.88); margin-top: 8px; }

/* Ask / contact strip */
.ask-band {
  background: #1a1a1a; color: #ccc;
}
.ask-band .rowish {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px;
}
.ask-band label { display: block; margin-top: 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.ask-band input, .ask-band textarea, .ask-band select,
.desk-form input, .desk-form textarea, .desk-form select {
  width: 100%; min-height: 44px; border: 0; padding: 8px 12px; font: inherit; color: #333;
}
.ask-band textarea, .desk-form textarea { min-height: 110px; }
.ask-band button, .desk-form button {
  margin-top: 14px; min-height: 46px; background: var(--accent); color: #fff;
  border: 2px solid var(--accent); padding: 0 28px; text-transform: uppercase;
  font-weight: 700; letter-spacing: .05em; cursor: pointer;
}
.ask-band button:hover, .desk-form button:hover { background: transparent; color: #fff; }
.form-note { color: #9ad7a8; min-height: 1.2em; margin-top: 8px; }

/* Footer */
.footer-area { background: #191919; color: #ddd; padding: 70px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 28px; }
.footer-area h2, .footer-area h4 {
  font-size: 16px; color: #fff; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px;
}
.footer-area a { color: #fff; }
.footer-area a:hover { color: var(--accent); }
.footer-area li { margin: 8px 0; }
#nl-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
#nl-form input { flex: 1 1 160px; min-height: 44px; border: 0; padding: 8px 10px; }
#nl-form button {
  min-height: 44px; background: var(--accent); color: #fff; border: 0;
  padding: 0 16px; font-weight: 700; cursor: pointer;
}
.footer-bottom {
  border-top: 1px solid #333; margin-top: 28px; padding-top: 14px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: #888; font-size: 13px;
}
.to-top {
  position: fixed; right: 16px; bottom: 16px; display: none;
  min-width: 44px; min-height: 44px; border: 0; background: var(--accent);
  color: #fff; z-index: 40; cursor: pointer;
}

/* ---------- Inner pages (template: hero-nav / post-details / archive / contact) ---------- */
.top-post-area .container-fluid { padding: 0; }
.hero-nav-area {
  text-align: center; background: var(--char-2); color: #fff; padding: 105px 0;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-nav-area.has-photo::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(20, 16, 28, 0.62);
}
.hero-nav-area.has-photo > * { position: relative; z-index: 1; }
.hero-nav-area h1 { font-size: 36px; margin-bottom: 10px; color: #fff; }
.hero-nav-area .link-nav { margin: 0; color: #fff; }
.hero-nav-area .link-nav a { color: #fff; padding: 0 8px; }
.hero-nav-area .link-nav a:hover { color: var(--accent); }
.hero-nav-area .link-nav .fa { padding: 0 8px; font-size: 12px; }

.post-content-area,
.category-area,
.contact-page-area,
.desk-page-area {
  background: var(--char);
  padding: 80px 0 60px;
}
.single-post-blog { color: #999; }
.single-post-blog .feature-img {
  position: relative; height: 320px; overflow: hidden; margin-bottom: 24px;
}
.single-post-blog .feature-img .f-art { position: absolute; inset: 0; }
.single-post-blog .feature-img img.f-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.single-post-blog .feature-img .overlay-bg { background: rgba(42, 20, 112, 0.35) !important; }
.single-post-blog h1,
.single-post-blog h2,
.single-post-blog h3,
.single-post-blog h4,
.desk-copy h1, .desk-copy h2, .desk-copy h3 { color: #fff; }
.single-post-blog .mt-title { font-size: 32px; margin: 10px 0 22px; line-height: 1.3; }
.single-post-blog .tags { margin-bottom: 22px; }
.single-post-blog .tags .meta-right h5 { font-size: 14px; margin-bottom: 4px; color: #fff; }
.single-post-blog .tags .meta-right p { font-size: 12px; margin: 0; color: #999; }
.single-post-blog p,
.desk-copy p { color: #999; line-height: 1.75; margin-top: .9rem; }
.single-post-blog a,
.desk-copy a { color: var(--accent); }
.single-post-blog a:hover,
.desk-copy a:hover { color: #fff; }
.single-post-blog .excert { font-size: 16px; color: #bbb; margin-bottom: 18px; }
.single-post-blog figure { margin: 1.4rem 0; }
.single-post-blog figure.diagram,
.single-post-blog figure svg {
  display: block; width: 100%; max-width: 100%; height: auto;
  background: #d5e4ea;
}
.single-post-blog figcaption { color: #777; font-size: 13px; margin-top: 8px; }
.single-post-blog table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.single-post-blog th, .single-post-blog td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid #333; color: #ccc; vertical-align: top;
}
.single-post-blog .sum th, .single-post-blog .sum td { color: #fff; font-weight: 700; }
.single-post-blog dt { color: #fff; margin-top: 10px; }
.single-post-blog dd { color: #999; margin-left: 0; }
.worked {
  background: #2e2e2e; border-left: 2px solid var(--accent);
  padding: 18px 20px; margin: 1.5rem 0; color: #ccc;
}
.worked h2 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.worked-note { color: #999; font-size: 13px; }
.quote-box, .misread { padding: 30px; background: #2e2e2e; margin: 1.5rem 0; }
.quote-box .quotes, .misread {
  border-left: 2px solid var(--accent);
  padding: 24px 26px; background: #252525; font-style: italic; color: #ddd;
}
.misread { font-style: normal; }
.misread h2 { color: #fff; font-style: normal; margin-bottom: 10px; }
.misread p, .misread a { color: #ddd; }
.tag-details { border-top: 1px solid #2e2e2e; padding-top: 18px; margin-top: 28px; color: #999; }
.tag-details a { color: #999; margin-right: 14px; }
.tag-details a:hover { color: var(--accent); }
.navigation-area { border-top: 1px solid #2e2e2e; padding-top: 28px; margin-top: 28px; }
.navigation-area .nav-box {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff;
}
.navigation-area .nav-box.right { justify-content: flex-end; text-align: right; }
.navigation-area .thumb {
  position: relative; width: 72px; height: 56px; overflow: hidden; background: #000; flex: 0 0 72px;
}
.navigation-area .thumb .f-art { position: absolute; inset: 0; opacity: .85; }
.navigation-area .thumb img.f-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85;
}
.navigation-area p { margin: 0; color: #999; font-size: 12px; }
.navigation-area h4 { color: #fff; font-size: 16px; margin-top: 4px; }
.navigation-area .nav-box:hover h4 { color: var(--accent); }

.sidebar-widgets { padding-bottom: 40px; }
.widget-wrap { background: #fafaff; padding: 0 0 8px; margin-bottom: 28px; }
.widget-title {
  background: var(--accent); color: #fff; text-align: center;
  padding: 12px 0; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin: 0;
}
.widget-body { padding: 18px 16px; color: #555; }
.widget-body a { color: #333; }
.widget-body a:hover { color: var(--accent); }
.popular-post-list .single-post-list {
  display: flex; gap: 12px; margin-bottom: 16px; text-decoration: none;
}
.popular-post-list .thumb {
  position: relative; width: 80px; height: 64px; flex: 0 0 80px; overflow: hidden;
}
.popular-post-list .f-art { position: absolute; inset: 0; }
.popular-post-list .thumb img.f-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.popular-post-list h6 { color: #222; font-size: 14px; margin: 0 0 6px; font-weight: 600; }
.popular-post-list p { margin: 0; font-size: 12px; color: #777; }
.popular-post-list a:hover h6 { color: var(--accent); }
.widget-toc ol { margin: 0; padding-left: 18px; }
.widget-toc li { margin: 8px 0; }
.limit-note { color: #666; font-size: 13px; margin-top: 12px; }

.category-area .archive-card {
  display: block; text-decoration: none; margin-bottom: 36px; color: #fff;
}
.category-area .archive-card .thumb {
  position: relative; height: 180px; overflow: hidden; margin-bottom: 12px;
}
.category-area .archive-card .f-art { position: absolute; inset: 0; transition: transform .35s ease; }
.category-area .archive-card .thumb img.f-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease;
}
.category-area .archive-card:hover .f-art,
.category-area .archive-card:hover .thumb img.f-photo { transform: scale(1.08); }
.category-area .archive-card .bottom { margin: 8px 0; }
.category-area .archive-card h4 { color: #fff; font-size: 18px; margin-top: 8px; }
.category-area .archive-card:hover h4 { color: var(--accent); }
.category-area .archive-card p { color: #999; margin-top: 6px; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter-bar button {
  min-height: 40px; border: 2px solid var(--accent); background: transparent;
  color: #fff; font-weight: 700; padding: 0 14px; cursor: pointer;
  text-transform: uppercase; font-size: 12px;
}
.filter-bar button.is-on, .filter-bar button:hover { background: var(--accent); color: #fff; }
#filter-count { color: #999; margin-bottom: 18px; }

.plate-list { list-style: none; padding: 0; margin: 1rem 0; }
.plate-list a {
  display: block; padding: 12px 14px; margin-bottom: 8px;
  background: #2e2e2e; color: #fff; border-left: 3px solid var(--accent);
}
.plate-list a:hover { background: #383838; color: var(--accent); }
body.q-sheet .plate-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
body.layout-rail .single-post-blog h2 { padding-left: 12px; border-left: 3px solid var(--accent); }
body.layout-measure .worked { float: right; width: min(320px, 100%); margin: 0 0 16px 18px; }

.desk-copy .step {
  display: grid; grid-template-columns: 72px 1fr; gap: 12px;
  border-left: 3px solid var(--accent); background: #2e2e2e;
  padding: 16px 18px; margin-bottom: 12px;
}
.desk-copy .step b { font-size: 28px; color: var(--accent); }
.desk-copy .step h2 { margin: 0 0 6px; font-size: 18px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.about-points article { background: #2e2e2e; padding: 16px 18px; }
.about-points h3 { margin-bottom: 8px; }
.legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 18px; }
.legal-toc {
  background: #2e2e2e; padding: 14px; position: sticky; top: 88px; align-self: start;
}
.legal-toc a { display: block; padding: 8px 0; color: #ddd; }
.legal-toc a:hover { color: var(--accent); }
.legal-card { background: #2e2e2e; padding: 18px 20px; margin-bottom: 12px; }
.legal-card h2 { margin-top: 0; font-size: 20px; }

.contact-page-area .map-wrap {
  width: 100%; height: 280px; margin-bottom: 50px;
  background: #2e2e2e; display: flex; align-items: center; justify-content: center;
  color: #999; letter-spacing: .08em; text-transform: uppercase; font-size: 12px;
  border: 1px dashed #444;
}
.address-wrap .single-contact-address {
  display: flex; gap: 18px; margin-bottom: 18px; color: #999;
}
.address-wrap .icon { color: var(--accent); font-size: 28px; min-width: 36px; line-height: 1; }
.address-wrap h5 { color: #fff; font-weight: 300; font-size: 16px; margin-bottom: 4px; }
.contact-form .form-control,
.contact-form select {
  background: #2e2e2e; border: 0; border-radius: 0; color: #fff;
  min-height: 44px; margin-bottom: 15px; font-size: 13px;
}
.contact-form textarea.form-control { min-height: 150px; padding: 15px; }
.contact-form .form-control:focus {
  background: #2e2e2e; color: #fff; box-shadow: none; border: 0;
}
.contact-form .form-control::placeholder { color: #777; }
.contact-form label { color: #999; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 6px; }

@media (max-width: 1199.98px) {
  .banner-area .single-post:not(.single-int) .details > p { display: none; }
  .single-post.feature { min-height: 520px; }
  .single-post h4.lg-font { font-size: 28px; }
}
@media (max-width: 991.98px) {
  html.nav-open {
    overflow: hidden !important;
    scroll-behavior: auto !important;
    overscroll-behavior: none;
  }
  body.nav-open {
    overflow: hidden !important;
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    touch-action: none;
    overscroll-behavior: none;
  }

  .main-menu { z-index: 80; }
  .menu-row { position: relative; z-index: 82; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    order: 2; margin-left: auto; z-index: 83;
  }
  .navbar-right { order: 3; z-index: 83; }
  #nav-menu-container {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 81;
    width: 100%;
    height: 100%;
    height: 100dvh;
    margin: 0;
    padding: 88px 24px 32px;
    background: #141414;
    border: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  #nav-menu-container.open { display: block; }
  .nav-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-menu > li { margin: 0; border-bottom: 1px solid #2a2a2a; }
  .nav-menu > li > a {
    display: flex; width: 100%; min-height: 52px;
    padding: 14px 4px; font-size: 15px; letter-spacing: .08em;
  }
  .nav-menu .menu-has-children > ul {
    position: static; box-shadow: none; background: #1c1c1c;
    display: none; min-width: 0; padding: 0 0 8px;
  }
  .nav-menu .menu-has-children.open > ul { display: block; }
  .nav-menu .menu-has-children > ul a {
    color: #ddd; padding: 12px 12px 12px 16px;
  }
  .search-panel {
    position: fixed; left: 16px; right: 16px; top: 72px; width: auto;
  }

  /* Homepage banner: stack as readable cards, not clipped overlays */
  .banner-area .container-fluid { padding: 0; }
  .banner-area .row { margin: 0; }
  .banner-area [class*="col-"] {
    padding: 0; margin-bottom: 0; width: 100%; max-width: 100%; flex: 0 0 100%;
  }
  #leadCarousel,
  #leadCarousel .carousel-inner,
  #leadCarousel .carousel-item,
  .single-post,
  .single-post.feature,
  .banner-area .side-col .single-post,
  .banner-area .side-col .single-post.panel {
    height: auto !important;
    min-height: 0 !important;
  }
  .banner-area .single-post {
    display: block;
    margin-bottom: 2px;
  }
  .banner-area .single-post .thumb {
    position: relative;
    inset: auto;
    height: 220px;
  }
  .banner-area .single-post.feature .thumb { height: 260px; }
  .banner-area .single-post .thumb .relative { position: absolute; inset: 0; }
  .banner-area .single-post .details {
    position: relative;
    top: auto; left: auto;
    transform: none;
    width: 100%;
    padding: 18px 18px 22px;
    background: #1b1b1b;
  }
  .banner-area .single-post .details > p { display: block !important; }
  .banner-area .single-post h4 { margin-top: 8px; font-size: 20px; }
  .banner-area .single-post h4.lg-font { font-size: 26px; margin-top: 10px; }
  .banner-area .single-post .primary-btn.fill { margin-top: 14px; }
  .banner-area .single-post .middle-part { padding: 18px 0 12px; }
  .banner-area .single-post .middle-part h1 { font-size: 40px; }
  .banner-area .single-post .bottom-part {
    border-top-color: #444; padding-top: 12px;
  }
  .banner-area .single-post .bottom-part p { display: block !important; color: #bbb; }
  .banner-area .single-post .list {
    margin: 14px 0 0; padding-left: 18px; color: #ccc;
  }
  .banner-area .single-post .list a { color: #ddd; }
  .banner-area .carousel-control-prev,
  .banner-area .carousel-control-next {
    width: 44px; height: 44px; top: 110px; bottom: auto; opacity: .9;
  }

  .editors-area { padding: 28px 0 8px; }
  .single-post2 {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 14px;
    align-items: start;
  }
  .single-post2 .thumb { width: 96px; height: 76px; flex: none; }
  .side-stack .mini {
    grid-template-columns: 96px 1fr;
  }
  .feed-item {
    grid-template-columns: 64px 1fr;
    gap: 12px;
  }
  .single-int .thumb { height: 200px; }
  .single-int h4 { font-size: 20px; }
  .tech-card .thumb { height: 160px; }
  .section-gap, .section-gap-top { padding: 60px 0; }
  .section-gap-top-60 { padding-top: 40px; }
  .footer-grid, .ask-band .rowish, .bearing-lab, .legal-layout, .about-points {
    grid-template-columns: 1fr;
  }
  .bearing-lab { padding: 20px; gap: 16px; justify-items: center; text-align: center; }
  .bearing-lab .heading { text-align: left; width: 100%; }
  .legal-toc { position: static; }
  body.layout-measure .worked { float: none; width: auto; }
  body.q-sheet .plate-list { grid-template-columns: 1fr; }
  .hero-nav-area { padding: 70px 0; }
  .hero-nav-area h1 { font-size: 30px; }
  .navigation-area .nav-box.right { justify-content: flex-start; text-align: left; margin-top: 18px; }
}
@media (max-width: 767.98px) {
  .single-post h4.lg-font { font-size: 22px; }
  .banner-area .single-post .thumb { height: 190px; }
  .banner-area .single-post.feature .thumb { height: 220px; }
  .single-post2,
  .side-stack .mini {
    grid-template-columns: 80px 1fr;
    gap: 12px;
  }
  .single-post2 .thumb { width: 80px; height: 64px; }
  .desk-copy .step { grid-template-columns: 56px 1fr; }
  .feed-item { grid-template-columns: 48px 1fr; }
  .feed-item h4 { font-size: 16px; }
  .single-post-blog .mt-title { font-size: 26px; }
  .single-post-blog .feature-img { height: 220px; }
  .heading { font-size: 22px; }
}

.review-note {
  margin: 28px 0 8px; padding: 16px 18px;
  background: #2e2e2e; border-left: 3px solid var(--accent);
  color: #ccc; font-size: 13px; line-height: 1.6;
}
.review-note strong { color: #fff; }
.legal-card ul { margin: 10px 0 0 18px; list-style: disc; color: #999; }
.legal-card li { margin: 6px 0; }
