/* Bee Iolkos / CMS UI cycle 2/4 — editorial-first keyword landing pages.
   Scoped to .keyword-landing; typography, palette and spacing follow cycle 1.
   The real keywords.ArticleBody remains complete; no collapsed SEO sections. */
.keyword-landing {
  --kw-ink: #102333;
  --kw-gold: #f4c430;
  --kw-gold-muted: #a87908;
  --kw-paper: #fbf8f2;
  --kw-canvas: #f8f7f3;
  --kw-line: #e9e7df;
  color: var(--kw-ink);
  background: var(--kw-canvas);
  min-width: 0;
}
.keyword-landing *, .keyword-landing *::before, .keyword-landing *::after {box-sizing:border-box}
.keyword-landing .keyword-shell {
  width: 100%;
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: clamp(18px,4.4vw,72px);
  min-width: 0;
}
.keyword-intro {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:linear-gradient(105deg,#fcfaf5 0%,#f7f5ed 100%);
  border-bottom:1px solid #ebe8db;
}
.keyword-intro::after {
  content:"";
  position:absolute;
  pointer-events:none;
  z-index:-1;
  right:3%;bottom:-134px;
  width:min(440px,47vw);height:245px;
  background:url('/Assets/Home/Areas/brand-lines.svg') center/contain no-repeat;
  opacity:.36;
}
.keyword-breadcrumb {padding-top:28px;padding-bottom:12px;line-height:1.7;color:#697987;font-size:12px}
.keyword-breadcrumb nav {display:flex;flex-wrap:wrap;gap:8px;align-items:center;overflow-wrap:anywhere}
.keyword-breadcrumb nav a {color:#5b6d7b;text-decoration:none}
.keyword-breadcrumb nav a:hover {text-decoration:underline;color:var(--kw-ink)}
.keyword-eyebrow,.keyword-section-kicker {
  margin:0;color:var(--kw-gold-muted);
  font:750 11px/1.45 var(--font-ui,Inter,Arial,sans-serif);
  letter-spacing:.145em;text-transform:uppercase;
}
.keyword-eyebrow {margin:29px 0 15px}
.keyword-eyebrow span {padding-inline:7px;color:#b5a276}
.keyword-title-row {display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.keyword-title-row h1 {
  margin:0;max-width:1000px;min-width:0;
  color:var(--kw-ink)!important;
  font:700 clamp(34px,3.65vw,53px)/1.17 var(--font-heading,Merriweather,Georgia,serif);
  letter-spacing:-.025em;overflow-wrap:anywhere;
}
.keyword-intro-flag {
  flex-shrink:0;align-self:flex-start;margin-top:5px;
  padding:8px 14px;border-radius:999px;
  background:rgba(244,196,48,.13);border:1px solid rgba(177,131,36,.15);
  color:#765a1e;font:500 11px/1.4 var(--font-ui,Inter,Arial,sans-serif);
}
.keyword-gold-rule {width:75px;height:4px;background:var(--kw-gold);border-radius:10px;margin-top:26px}
.keyword-intro-note {margin:17px 0 0;color:#687681;font-size:14px;line-height:1.7}
.keyword-intro-note strong {color:#34495a;font-weight:700}
.keyword-intro > .keyword-shell {padding-bottom:42px}
.keyword-main-shell {padding-top:38px;padding-bottom:92px}
.keyword-main-grid {display:grid;grid-template-columns:minmax(0,1.618fr) minmax(280px,1fr);gap:25px;align-items:start}
.keyword-main-column,.keyword-side {min-width:0}
.keyword-editorial {
  min-width:0;background:#fff;border:1px solid var(--kw-line);
  border-radius:19px;padding:clamp(24px,3.4vw,48px);
  box-shadow:0 6px 22px rgba(18,41,57,.025);
}
.keyword-editorial::before {content:"";display:block;width:57px;height:3px;background:var(--kw-gold);border-radius:12px;margin-bottom:29px}
.keyword-rich-text {font:400 16px/1.92 var(--font-body,Inter,Arial,sans-serif);color:#344554;overflow-wrap:anywhere;min-width:0}
.keyword-rich-text > *:first-child {margin-top:0}
.keyword-rich-text > *:last-child {margin-bottom:0}
.keyword-rich-text p {margin:0 0 22px;line-height:1.92}
.keyword-rich-text h2,.keyword-rich-text h3,.keyword-rich-text h4,.keyword-rich-text h5,.keyword-rich-text h6 {
  color:var(--kw-ink);font-family:var(--font-heading,Merriweather,Georgia,serif);
  letter-spacing:-.015em;line-height:1.36;overflow-wrap:anywhere;
}
.keyword-rich-text h2 {font-size:clamp(22px,2vw,26px);margin:38px 0 18px}
.keyword-rich-text h3 {font-size:21px;margin:26px 0 12px}
.keyword-rich-text h4 {font-size:18px;margin:22px 0 11px}
.keyword-rich-text h5,.keyword-rich-text h6 {font-size:16px;margin:19px 0 10px}
.keyword-rich-text strong,.keyword-rich-text b {color:#203346;font-weight:750}
.keyword-rich-text ul,.keyword-rich-text ol {margin:16px 0 24px;padding-inline-start:25px}
.keyword-rich-text li {margin-bottom:9px}
.keyword-rich-text a {color:#745915;text-decoration:underline;text-decoration-color:#d9b250;text-underline-offset:3px;overflow-wrap:anywhere}
.keyword-rich-text blockquote {margin:25px 0;padding:15px 22px;border-inline-start:3px solid var(--kw-gold);background:#fbf8ee}
.keyword-rich-text table {display:block;max-width:100%;overflow-x:auto;border-collapse:collapse;margin-bottom:20px}
.keyword-rich-text td,.keyword-rich-text th {border:1px solid #ebebe5;padding:10px 12px;min-width:60px;text-align:left}
.keyword-rich-text pre {max-width:100%;overflow:auto}
.keyword-rich-text hr {border:0;border-top:1px solid var(--kw-line);margin:32px 0}
.keyword-article-image {margin:26px 0 0}
.keyword-article-image img {display:block;width:100%;height:auto;max-height:480px;object-fit:contain;border-radius:13px}
.keyword-no-article p {color:#536273;line-height:1.8;margin-top:0}
.keyword-no-article a {color:#6c5108;font-weight:750;text-underline-offset:4px}
.keyword-side {display:grid;gap:22px}
.keyword-search-panel,.keyword-contact-panel {min-width:0;border-radius:18px;padding:29px}
.keyword-search-panel {position:relative;isolation:isolate;overflow:hidden;background:var(--kw-paper);border:1px solid #ede7d8}
.keyword-search-panel::after {
  content:"";pointer-events:none;position:absolute;z-index:-1;
  right:-160px;bottom:-80px;width:420px;height:220px;
  background:url('/Assets/Home/Areas/brand-lines.svg') center/contain no-repeat;opacity:.43;
}
.keyword-search-panel h2,.keyword-contact-panel h2 {
  color:var(--kw-ink);font:700 clamp(22px,2vw,27px)/1.26 var(--font-heading,Merriweather,Georgia,serif);
  margin:10px 0 16px;
}
.keyword-search-panel p:not(.keyword-section-kicker),.keyword-contact-panel p:not(.keyword-section-kicker) {
  font-size:14px;line-height:1.75;color:#536273;margin:0 0 22px;
}
.keyword-search-action {
  display:flex;align-items:center;justify-content:space-between;gap:13px;
  padding:15px 17px;min-height:51px;border-radius:10px;
  background:var(--kw-gold);color:var(--kw-ink)!important;
  text-decoration:none;font-size:14px;font-weight:800;transition:background .18s;
}
.keyword-search-action span {font-size:21px;line-height:1}
.keyword-search-action:hover {background:#ffda56}
.keyword-contact-panel {background:#fff;border:1px solid var(--kw-line)}
.keyword-contact-panel a {display:inline-flex;align-items:center;gap:9px;border-bottom:2px solid #e4bd59;padding-bottom:4px;font-size:13px;font-weight:750;color:#172d40;text-decoration:none}
.keyword-landing a:focus-visible {outline:3px solid var(--color-focus,#175cd3);outline-offset:4px}
@media (max-width:1080px) {
  .keyword-main-grid {grid-template-columns:minmax(0,1.4fr) minmax(245px,.8fr)}
  .keyword-side {gap:16px}
  .keyword-search-panel,.keyword-contact-panel {padding:25px}
}
@media (max-width:900px) {
  .keyword-main-grid {grid-template-columns:minmax(0,1fr)}
  .keyword-side {grid-template-columns:repeat(2,minmax(0,1fr))}
  .keyword-intro-flag {display:none}
  .keyword-intro::after {opacity:.2}
}
@media (max-width:599px) {
  .keyword-breadcrumb {padding-top:20px;padding-bottom:5px;font-size:11px}
  .keyword-breadcrumb nav {gap:6px}
  .keyword-eyebrow {font-size:10px;margin:23px 0 13px}
  .keyword-title-row h1 {font-size:clamp(31px,8vw,40px)}
  .keyword-intro-note {font-size:12px}
  .keyword-gold-rule {width:59px;margin-top:22px}
  .keyword-intro::after {right:-170px;bottom:-135px}
  .keyword-intro > .keyword-shell {padding-bottom:32px}
  .keyword-main-shell {padding-top:20px;padding-bottom:94px}
  .keyword-editorial {padding:25px 21px;border-radius:14px}
  .keyword-rich-text {font-size:15px;line-height:1.83}
  .keyword-rich-text p {line-height:1.83;margin-bottom:18px}
  .keyword-rich-text h2 {font-size:22px}
  .keyword-rich-text h3 {font-size:19px}
  .keyword-side {grid-template-columns:minmax(0,1fr)}
  .keyword-search-panel,.keyword-contact-panel {padding:24px;border-radius:14px}
}
@media(prefers-reduced-motion:reduce) {.keyword-search-action{transition:none}}


/* Related-content premium decor (2026-10-10): presentation only.
   CMS relationships, ArticleBody, SeoBody and canonicals remain unchanged.
   All illustrations are bundled SVG assets; no external requests, JS or images of listings. */
.keyword-landing .keyword-related {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  margin-top:clamp(30px,4vw,52px);
  padding:clamp(26px,3.55vw,52px);
  border:1px solid rgba(186,151,90,.25);
  border-radius:clamp(17px,2.25vw,27px);
  background:
    radial-gradient(ellipse at 92% 2%,rgba(234,204,154,.16),transparent 49%),
    linear-gradient(135deg,#fffefa 0%,#fcfaf5 63%,#fdfaf4 100%);
  box-shadow:0 15px 45px rgba(31,48,56,.06),0 3px 8px rgba(120,94,43,.025);
}
.keyword-landing .keyword-related::before,
.keyword-landing .keyword-related::after {
  content:"";position:absolute;pointer-events:none;z-index:0;
  background-repeat:no-repeat;
}
/* A single subdued architectural engraving behind the spare grid area. */
.keyword-landing .keyword-related::before {
  right:-2%;bottom:-6px;
  width:min(62%,680px);height:clamp(140px,19vw,260px);
  background-image:url('/Assets/Decor/related-village.svg');
  background-position:right bottom;background-size:contain;
  opacity:.49;
}
/* Bee-inspired geometry and a soft contour-like sweep at the upper corner. */
.keyword-landing .keyword-related::after {
  right:-34px;top:-83px;
  width:min(43%,450px);height:290px;
  background-image:url('/Assets/Decor/honeycomb-outline.svg'),url('/Assets/Home/Areas/brand-lines.svg');
  background-position:right -80px top -10px,right -25px top 7px;
  background-size:225px auto,390px auto;
  opacity:.42;
}
.keyword-landing .keyword-related > * {position:relative;z-index:1}
.keyword-related-heading {margin-bottom:clamp(24px,2.7vw,34px)}
.keyword-related-heading .keyword-section-kicker {
  display:flex;align-items:center;gap:18px;
  color:#ad7b23;letter-spacing:.175em;font-size:11px;font-weight:800;
}
.keyword-related-heading .keyword-section-kicker::after {
  content:"";display:inline-block;height:1px;width:65px;
  background:linear-gradient(to right,#c59c4b,rgba(197,156,75,0));
}
.keyword-related-heading h2 {
  margin:14px 0 11px;
  color:#142942;
  font:700 clamp(25px,2.75vw,37px)/1.26 var(--font-heading,Merriweather,Georgia,serif);
  letter-spacing:-.025em;
}
.keyword-related-heading p:not(.keyword-section-kicker) {
  max-width:760px;margin:0;
  color:#5b6b7a;font:400 clamp(13px,1.2vw,15px)/1.72 var(--font-body,Inter,Arial,sans-serif);
}
.keyword-related-grid {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  column-gap:clamp(13px,1.6vw,22px);row-gap:clamp(13px,1.7vw,23px);
  margin:0;padding:0;list-style:none;
}
.keyword-related-item {min-width:0;margin:0;padding:0;list-style:none}
.keyword-related-card {
  position:relative;display:flex;flex-direction:column;align-items:flex-start;
  min-width:0;min-height:clamp(183px,17vw,230px);height:100%;
  padding:clamp(20px,2.15vw,29px);
  border:1px solid #ebdfcd;border-bottom:2px solid #e6b450;
  border-radius:16px;
  background:linear-gradient(145deg,rgba(255,255,255,.99),rgba(255,253,248,.99));
  box-shadow:0 9px 23px rgba(41,48,55,.044),0 2px 7px rgba(187,144,65,.018);
  color:var(--kw-ink);text-decoration:none;
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.keyword-related-card:hover,
.keyword-related-card:focus-visible {
  border-color:#d4ae6c;border-bottom-color:#bb8124;
  box-shadow:0 18px 32px rgba(35,50,60,.105),0 3px 10px rgba(192,143,50,.045);
  transform:translateY(-3px);
}
.keyword-related-card:focus-visible {outline:3px solid var(--color-focus,#175cd3);outline-offset:3px}
.keyword-related-card::after {
  content:"";position:absolute;pointer-events:none;
  right:clamp(15px,1.7vw,24px);top:clamp(18px,1.85vw,27px);
  width:29px;height:29px;
  background:url('/Assets/Decor/related-page.svg') center/contain no-repeat;
  opacity:.75;
}
.keyword-related-card--area::after {background-image:url('/Assets/Decor/related-location.svg')}
.keyword-related-card--property::after {background-image:url('/Assets/Decor/related-property.svg')}
.keyword-related-type {
  display:inline-flex;align-items:baseline;gap:9px;
  max-width:calc(100% - 40px);
  color:#956918;text-transform:uppercase;letter-spacing:.105em;
  font:800 11px/1.5 var(--font-ui,Inter,Arial,sans-serif);
  overflow-wrap:anywhere;
}
.keyword-related-type::before {
  content:"";flex:0 0 8px;display:inline-block;width:8px;height:8px;
  border-radius:50%;background:#e1a424;box-shadow:0 0 0 3px rgba(225,164,36,.08);
}
.keyword-related-title {
  display:block;max-width:100%;margin-top:20px;
  font:700 clamp(18px,1.65vw,24px)/1.38 var(--font-heading,Merriweather,Georgia,serif);
  letter-spacing:-.016em;color:#172f4c;overflow-wrap:anywhere;
}
.keyword-related-summary {
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  margin-top:7px;color:#607083;
  font:400 clamp(13px,1.14vw,15px)/1.65 var(--font-body,Inter,Arial,sans-serif);
  overflow-wrap:anywhere;
}
.keyword-related-go {
  display:inline-flex;align-items:center;gap:12px;
  margin-top:auto;padding-top:clamp(18px,2.1vw,27px);
  color:#72521c;
  font:800 13px/1.5 var(--font-ui,Inter,Arial,sans-serif);
}
.keyword-related-go span {display:inline-block;font-size:19px;line-height:1;transition:transform .2s ease}
.keyword-related-card:hover .keyword-related-go span,
.keyword-related-card:focus-visible .keyword-related-go span {transform:translate(3px,-2px)}
/* Subtle branded closing ornament, following the approved mockup. */
.keyword-related-brand {
  display:flex;align-items:center;gap:10px;width:max-content;max-width:100%;
  margin-top:clamp(23px,2.5vw,32px);
  color:#b28843;opacity:.88;letter-spacing:.22em;text-transform:uppercase;
  font:700 10px/1.6 var(--font-ui,Inter,Arial,sans-serif);
}
.keyword-related-brand::after {
  content:"";display:block;width:clamp(42px,7vw,100px);height:1px;
  background:linear-gradient(90deg,rgba(187,139,58,.55),transparent);
}
.keyword-related-brand-symbol {
  display:inline-block;flex:0 0 18px;width:18px;height:18px;
  background:#bb8b3a;clip-path:polygon(50% 0,94% 24%,94% 76%,50% 100%,6% 76%,6% 24%);
  position:relative;
}
.keyword-related-brand-symbol::before {
  content:"";position:absolute;inset:2px;background:#fcfaf5;
  clip-path:polygon(50% 0,94% 24%,94% 76%,50% 100%,6% 76%,6% 24%);
}
@media(max-width:900px) {
  .keyword-related-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  .keyword-landing .keyword-related::before {width:60%;opacity:.3}
}
@media(max-width:599px) {
  .keyword-landing .keyword-related {
    padding:clamp(18px,5vw,25px);border-radius:17px;margin-top:25px;
  }
  .keyword-landing .keyword-related::before {width:86%;height:190px;opacity:.12}
  .keyword-landing .keyword-related::after {width:250px;top:-110px;right:-110px;opacity:.2}
  .keyword-related-heading {margin-bottom:20px}
  .keyword-related-heading .keyword-section-kicker {font-size:9px;letter-spacing:.11em;gap:10px}
  .keyword-related-heading .keyword-section-kicker::after {width:30px}
  .keyword-related-heading h2 {font-size:clamp(23px,7vw,29px)}
  .keyword-related-heading p:not(.keyword-section-kicker) {font-size:13px}
  .keyword-related-grid {grid-template-columns:minmax(0,1fr);gap:13px}
  .keyword-related-card {min-height:165px;padding:20px;border-radius:14px}
  .keyword-related-title {font-size:19px;margin-top:15px}
  .keyword-related-go {padding-top:18px;font-size:12px}
}
@media(prefers-reduced-motion:reduce) {
  .keyword-related-card,.keyword-related-go span {transition:none}
  .keyword-related-card:hover,.keyword-related-card:focus-visible {transform:none}
  .keyword-related-card:hover .keyword-related-go span,
  .keyword-related-card:focus-visible .keyword-related-go span {transform:none}
}
