.detail-main { width: 100%; min-height: 55vh; margin: 0; padding: 0 0 34px; }
.detail-hero { width: 100%; position: relative; overflow: hidden; min-height: 400px; background: linear-gradient(112deg, #e7f4ff 0%, #eff8ff 51%, #d9efff 100%); border-bottom: 1px solid #d4e7f7; }
.detail-hero::before { position: absolute; inset: auto auto -150px -100px; width: 390px; height: 250px; border-radius: 50%; background: rgba(255,255,255,.6); content: ""; }
.word-detail-hero__shell { position: relative; display: flex; align-items: center; width: 100%; max-width: 1700px; min-height: 400px; margin: 0 auto; padding: 32px clamp(24px, 4vw, 80px); box-sizing: border-box; }
.detail-breadcrumb { position: absolute; top: 19px; left: clamp(24px, 4vw, 80px); z-index: 2; display: flex; align-items: center; gap: 10px; color: #6380a1; font-size: .78rem; }
.detail-breadcrumb a { color: #2468bd; text-decoration: none; }
.detail-breadcrumb a:hover { text-decoration: underline; }
.word-detail-hero__content { position: relative; z-index: 1; width: 100%; max-width: 620px; padding: 48px 0 24px; }
.detail-category-pill { display: inline-flex; align-items: center; min-height: 25px; padding: 3px 11px; border: 1px solid #c4def8; border-radius: 99px; background: #d9ecff; color: #175dab; font-size: .72rem; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }
.detail-hero h1 { margin: 11px 0 4px; color: #102858; font: 700 clamp(2.6rem, 5.4vw, 4.1rem)/1.03 Georgia, "Times New Roman", serif; letter-spacing: -.045em; }
.detail-pronunciation { margin: 0 0 7px; color: #6080a2; font-size: .9rem; }
.detail-hero-definition { max-width: 575px; margin: 0; color: #203e66; font-size: .96rem; line-height: 1.55; }
.detail-quebec-art { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.detail-quebec-art::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(231,244,255,.98) 0%, rgba(231,244,255,.9) 22%, rgba(231,244,255,.58) 39%, rgba(231,244,255,.12) 58%, rgba(231,244,255,0) 66%); content: ""; }
.detail-quebec-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center right; }
.detail-cloud { fill: rgba(255,255,255,.7); }
.detail-hill.far { fill: #c7e3fb; opacity: .72; }
.detail-hill { fill: #9dc9ed; opacity: .72; }
.detail-water { fill: #bce3f9; }
.detail-water-line { fill: none; stroke: rgba(255,255,255,.9); stroke-width: 2; }
.detail-building { fill: #305d8a; }
.detail-roof, .detail-spire { fill: #143b68; }
.detail-facade { fill: #f2d3aa; stroke: #d2a878; stroke-width: 2; }
.detail-windows { fill: #eaf5ff; }
.detail-bridge { fill: none; stroke: #3976aa; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.detail-quebec-art p { position: absolute; top: 18%; right: 0; margin: 0; color: #397bbb; font: italic 1.35rem/1.25 Georgia, serif; transform: rotate(-8deg); }
.detail-content { width: min(1120px, calc(100% - 40px)); margin: 22px auto 0; }
.detail-columns { display: grid; grid-template-columns: minmax(0, 2.15fr) minmax(250px, .95fr); gap: 18px; align-items: stretch; }
.detail-article, .detail-info-card, .detail-similar { overflow: hidden; border: 1px solid var(--qem-line); border-radius: 13px; background: #fff; box-shadow: 0 7px 22px rgba(25,71,122,.045); }
.detail-tabs { display: flex; align-items: center; gap: 8px; min-height: 58px; padding: 7px 12px; border-bottom: 1px solid var(--qem-line); background: #fcfdff; }
.detail-tabs a { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 40px; padding: 0 18px; border-radius: 9px; color: #5d7899; font-size: .85rem; font-weight: 650; text-decoration: none; }
.detail-tabs a span { color: #2869ba; font-size: 1.1rem; }
.detail-tabs a:hover { background: #eef6ff; color: #145dbc; }
.detail-tabs a.is-active { background: #1164d9; color: white; box-shadow: 0 3px 9px rgba(18,100,216,.18); }
.detail-tabs a.is-active span { color: white; }
.detail-article-body { padding: 25px 26px 27px; }
.detail-article-body section + section { margin-top: 18px; }
.detail-article-body h2 { display: flex; align-items: center; gap: 11px; margin: 0 0 10px; color: #17365f; font: 700 1.17rem/1.3 Georgia, "Times New Roman", serif; }
.detail-article-body h2 span { color: #1768d4; font-family: "Segoe UI", Arial, sans-serif; font-size: 1.28rem; }
.detail-definition > p { margin: 0; color: #345a84; font-size: 1rem; line-height: 1.62; }
.detail-example, .detail-tip { padding: 17px 19px; border-radius: 11px; }
.detail-example { background: linear-gradient(110deg, #edf6ff, #f2f8ff); }
.detail-example h2 { color: #155caf; font-size: 1rem; }
.detail-example h2 span { color: #2875d2; }
.detail-example blockquote { margin: 0 0 0 28px; color: #345b88; font: italic 1rem/1.55 Georgia, "Times New Roman", serif; }
.detail-tip { background: linear-gradient(110deg, #eaf9f4, #f1fbf8); }
.detail-tip h2 { color: #16715f; font-size: 1rem; }
.detail-tip h2 span { color: #159b83; }
.detail-tip p { margin: 0 0 0 28px; color: #315d59; font-size: .91rem; line-height: 1.55; }
.detail-info-card { padding: 17px 20px; }
.detail-info-card dl { margin: 0; }
.detail-info-card dl > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; padding: 11px 0; border-bottom: 1px solid #e4edf6; }
.detail-info-card dt { display: flex; align-items: center; gap: 10px; color: #6b84a1; font-size: .8rem; font-weight: 500; }
.detail-info-card dt span { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: #eaf3ff; color: #1769d2; font-size: 1rem; }
.detail-info-card dd { margin: 0 0 0 39px; color: #17385f; font-size: .88rem; font-weight: 600; }
.detail-status { display: inline-flex; padding: 3px 10px; border-radius: 99px; background: #e0f7ee; color: #08784c; font-size: .72rem; }
.detail-share { padding-top: 14px; }
.detail-share h2 { margin: 0 0 9px; color: #24517e; font-size: .85rem; }
.detail-share-actions { display: flex; gap: 9px; }
.detail-share-actions a, .detail-share-actions button { display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 10px; background: #eff6fd; color: #18589b; font: 700 .95rem/1 "Segoe UI", Arial, sans-serif; text-decoration: none; cursor: pointer; }
.detail-share-actions a:hover, .detail-share-actions button:hover { background: #dcecff; }
.detail-copy-feedback { min-height: 1em; margin: 6px 0 0; color: #08784c; font-size: .72rem; }
.detail-similar { margin-top: 19px; padding: 19px; background: linear-gradient(115deg, #eff7ff, #f4f9ff); }
.detail-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.detail-section-heading h2 { margin: 0; color: #17365f; font: 700 1.25rem/1.3 Georgia, "Times New Roman", serif; }
.detail-section-heading h2 span { margin-right: 8px; color: #1769d2; }
.detail-section-heading p { margin: 3px 0 0; color: #68809b; font-size: .81rem; }
.detail-section-heading > a { flex: 0 0 auto; color: #1264c8; font-size: .77rem; text-decoration: none; }
.detail-similar-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.detail-similar-card { display: flex; min-width: 0; flex-direction: column; padding: 15px; border: 1px solid #dce8f4; border-radius: 10px; background: #fff; }
.detail-similar-card .detail-category-pill { min-height: 21px; align-self: flex-start; padding: 2px 9px; font-size: .63rem; }
.detail-similar-card h3 { margin: 10px 0 4px; color: #17365f; font: 700 1.04rem/1.2 Georgia, "Times New Roman", serif; }
.detail-similar-card h3 a { color: inherit; text-decoration: none; }
.detail-similar-card h3 a:hover { color: #1264c8; }
.detail-similar-card p { flex: 1; margin: 0 0 12px; color: #627b98; font-size: .78rem; line-height: 1.45; }
.detail-card-link { color: #1264c8; font-size: .77rem; font-weight: 650; text-decoration: none; }
.detail-card-link:hover { text-decoration: underline; }

@media (max-width: 767.98px) {
  .detail-hero { min-height: 300px; }
  .word-detail-hero__shell { min-height: 300px; padding: 24px 16px; }
  .word-detail-hero__content { width: 76%; padding-top: 64px; }
  .detail-hero h1 { font-size: clamp(2.4rem, 9vw, 3.4rem); }
  .detail-hero-definition { max-width: 460px; font-size: .88rem; }
  .detail-quebec-art { inset: 0; width: auto; opacity: 1; }
  .detail-quebec-art p { display: none; }
  .detail-content { width: min(100% - 32px, 620px); margin-top: 15px; }
  .detail-columns { grid-template-columns: 1fr; gap: 14px; }
  .detail-sidebar { order: -1; }
  .detail-info-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
  .detail-info-card dl > div { border-bottom: 1px solid #e4edf6; }
  .detail-info-card dl > div:nth-child(3), .detail-info-card dl > div:nth-child(4) { border-bottom: 0; }
  .detail-share { border-top: 1px solid #e4edf6; }
  .detail-similar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 479.98px) {
  .detail-hero { min-height: 285px; }
  .word-detail-hero__shell { min-height: 285px; width: 100%; padding-inline: 14px; }
  .detail-breadcrumb { top: 14px; left: 14px; font-size: .72rem; }
  .word-detail-hero__content { width: 100%; padding: 55px 0 24px; }
  .detail-hero h1 { max-width: 95%; font-size: clamp(2.2rem, 12vw, 3rem); }
  .detail-hero-definition { max-width: 90%; font-size: .84rem; }
  .detail-quebec-art { inset: 0; width: auto; opacity: 1; }
  .detail-content { width: calc(100% - 24px); }
  .detail-tabs { gap: 2px; overflow-x: auto; padding-inline: 7px; }
  .detail-tabs a { flex: 0 0 auto; gap: 5px; padding-inline: 10px; font-size: .75rem; }
  .detail-article-body { padding: 19px 16px; }
  .detail-info-card { padding: 12px 15px; }
  .detail-info-card dl { column-gap: 8px; }
  .detail-info-card dt { gap: 7px; font-size: .72rem; }
  .detail-info-card dd { margin-left: 36px; font-size: .78rem; }
  .detail-section-heading { align-items: flex-start; }
  .detail-section-heading h2 { font-size: 1.08rem; }
  .detail-section-heading > a { max-width: 96px; text-align: right; }
  .detail-similar { padding: 14px; }
  .detail-similar-grid { gap: 9px; }
  .detail-similar-card { padding: 12px 10px; }
  .detail-similar-card h3 { font-size: .94rem; }
  .detail-similar-card p { font-size: .75rem; }
}
