/* Compact language-guide cards on the English buying-property and Golden Visa pages.
   Visual language matches the home/blog hero-quick cards; stacked on small screens.
   Selectors beat the embed reset (html body div.vd:not(#vd-x) … !important). */
html body.c .guide-langs-sec,
html body.c div.vd:not(#vd-x) .guide-langs-sec{
  padding:28px 0 16px !important;
  background:var(--bone,#fbf8f2);
}
html body.c .guide-langs,
html body.c div.vd:not(#vd-x) .guide-langs{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:0;
  padding:0;
}
html body.c .gl-card,
html body.c div.vd:not(#vd-x) a.gl-card{
  flex:1 1 260px;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  gap:11px;
  min-width:0;
  min-height:64px;
  padding:10px 13px 10px 10px;
  border:1px solid rgba(201,168,106,.42);
  border-radius:14px;
  background:linear-gradient(135deg,rgba(18,35,63,.96),rgba(10,20,36,.94));
  -webkit-backdrop-filter:blur(14px) saturate(1.25);
  backdrop-filter:blur(14px) saturate(1.25);
  box-shadow:0 18px 40px -22px rgba(0,0,0,.55),inset 0 1px 0 rgba(251,248,242,.07);
  color:var(--bone,#fbf8f2) !important;
  text-decoration:none !important;
  transition:transform .35s var(--ease,cubic-bezier(.22,1,.36,1)),border-color .35s,box-shadow .35s,background .35s;
}
html body.c .gl-card:hover,
html body.c .gl-card:focus-visible,
html body.c div.vd:not(#vd-x) a.gl-card:hover,
html body.c div.vd:not(#vd-x) a.gl-card:focus-visible{
  transform:translateY(-2px);
  border-color:rgba(201,168,106,.85);
  background:linear-gradient(135deg,rgba(18,35,63,1),rgba(10,20,36,.98));
  box-shadow:0 22px 44px -22px rgba(0,0,0,.7),inset 0 1px 0 rgba(251,248,242,.09);
  color:var(--bone,#fbf8f2) !important;
}
html body.c .gl-card:focus-visible,
html body.c div.vd:not(#vd-x) a.gl-card:focus-visible{
  outline:2px solid var(--gold-soft,#e2cda0);
  outline-offset:3px;
}
html body.c .gl-ico,
html body.c div.vd:not(#vd-x) .guide-langs-sec .gl-ico{
  flex:none;
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:50%;
  border:1px solid rgba(201,168,106,.5);
  background:radial-gradient(circle at 30% 25%,rgba(226,205,160,.16),rgba(201,168,106,.04) 70%);
  color:var(--gold-soft,#e2cda0) !important;
}
html body.c .gl-txt,
html body.c div.vd:not(#vd-x) .guide-langs-sec .gl-txt{
  display:flex;
  flex-direction:column;
  gap:3px;
  flex:1;
  min-width:0;
  color:var(--bone,#fbf8f2) !important;
}
html body.c .gl-label,
html body.c div.vd:not(#vd-x) .guide-langs-sec .gl-label{
  font-family:var(--serif,"Cormorant Garamond","Playfair Display",Georgia,serif) !important;
  font-size:18.5px !important;
  font-weight:600 !important;
  font-style:normal !important;
  line-height:1.15 !important;
  letter-spacing:.005em !important;
  text-transform:none !important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:var(--bone,#fbf8f2) !important;
}
html body.c .gl-sub,
html body.c div.vd:not(#vd-x) .guide-langs-sec .gl-sub{
  font-family:var(--sans,Manrope,Lato,system-ui,sans-serif) !important;
  font-size:11px !important;
  font-weight:600 !important;
  font-style:normal !important;
  line-height:1.3 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  color:rgba(226,205,160,.86) !important;
}
html body.c .gl-arrow,
html body.c div.vd:not(#vd-x) .guide-langs-sec .gl-arrow{
  flex:none;
  display:grid;
  place-items:center;
  color:var(--gold,#c9a86a) !important;
  transition:transform .35s var(--ease,cubic-bezier(.22,1,.36,1));
}
html body.c .gl-card:hover .gl-arrow,
html body.c .gl-card:focus-visible .gl-arrow,
html body.c div.vd:not(#vd-x) a.gl-card:hover .gl-arrow,
html body.c div.vd:not(#vd-x) a.gl-card:focus-visible .gl-arrow{
  transform:translateX(4px);
}
@media (prefers-reduced-motion:reduce){
  html body.c .gl-card,
  html body.c .gl-arrow,
  html body.c div.vd:not(#vd-x) a.gl-card,
  html body.c div.vd:not(#vd-x) .guide-langs-sec .gl-arrow{transition:none}
  html body.c .gl-card:hover,
  html body.c .gl-card:focus-visible,
  html body.c div.vd:not(#vd-x) a.gl-card:hover,
  html body.c div.vd:not(#vd-x) a.gl-card:focus-visible{transform:none}
  html body.c .gl-card:hover .gl-arrow,
  html body.c .gl-card:focus-visible .gl-arrow{transform:none}
}
@media (max-width:700px){
  html body.c .guide-langs,
  html body.c div.vd:not(#vd-x) .guide-langs{flex-direction:column;flex-wrap:nowrap;gap:10px}
  html body.c .gl-card,
  html body.c div.vd:not(#vd-x) a.gl-card{flex:1 1 auto;width:100%}
  html body.c .gl-label,
  html body.c .gl-sub,
  html body.c div.vd:not(#vd-x) .guide-langs-sec .gl-label,
  html body.c div.vd:not(#vd-x) .guide-langs-sec .gl-sub{white-space:normal}
}

/* A single language-guide card on /tr and /zh (after the intro). Keep it compact; let long titles wrap. */
html body.c .guide-langs-one .gl-card,
html body.c div.vd:not(#vd-x) .guide-langs-one .gl-card{flex:1 1 280px;max-width:560px}
html body.c .guide-langs-one .gl-label,
html body.c .guide-langs-one .gl-sub,
html body.c div.vd:not(#vd-x) .guide-langs-one .gl-label,
html body.c div.vd:not(#vd-x) .guide-langs-one .gl-sub{white-space:normal}
