/* CDIP refinements on the original blue stylesheet. */
:root {
  --navy: #214c7d;
  --ink: #163e6c;
  --muted: #536c86;
  --line: #d9e5f1;
  --paper: #f3f8fd;
}

header, .hero, .section {
  width: 100%;
  max-width: none;
}

header { padding-inline: clamp(22px, 5vw, 96px); }
.language-menu { position: relative; z-index: 20; margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.language-menu summary { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 3px; color: var(--ink); background: #fff; cursor: pointer; list-style: none; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu > div { position: absolute; top: calc(100% + 5px); right: 0; min-width: 136px; padding: 5px; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 30px #103b6d20; }
.language-menu a { display: block; padding: 8px 10px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.language-menu a:hover, .language-menu a[aria-current] { background: #eaf3fc; }
.brand { gap: 12px; font-size: 15px; line-height: 1.1; letter-spacing: .1em; }
.brand-logo, footer .brand-logo { width: 58px; height: 58px; }
.brandline {
  margin-top: 5px;
  color: #395d83;
  font-size: 9px;
  line-height: 1.45;
  font-weight: 650;
  letter-spacing: .13em;
  white-space: nowrap;
}

.hero {
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .7fr);
  gap: clamp(32px, 5vw, 90px);
  min-height: 0;
  padding: 62px clamp(22px, 5vw, 96px) 68px;
}
.hero-copy { max-width: 940px; }
.hero h1 { max-width: 850px; font-size: clamp(40px, 4.2vw, 66px); }
.hero-description { max-width: 650px; }
.hero-panel {
  justify-self: end;
  width: 100%;
  max-width: 420px;
  height: 345px;
  min-height: 345px;
  padding: 0;
  border-radius: 3px;
}
.hero-art { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-panel .panel-label { top: 16px; left: 16px; padding: 7px 9px; font-size: 10px; }
.hero-caption { right: 12px; bottom: 12px; left: 12px; padding: 13px 15px; }
.hero-caption strong { font-size: 14px; }
.hero-caption span { font-size: 10px; }

.section { padding-inline: clamp(22px, 5vw, 96px); }
.sectionheading { align-items: start; }
.sectionheading > p { max-width: 540px; }
.services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-card { min-height: 350px; }
.service-card h3 { font-size: clamp(21px, 1.7vw, 28px); }
.service-card[href="/intellectual-property/"] { background: #f1f7fc; }
.service-card[href="/intellectual-property/"]:hover { background: #e6f1fa; }
.translations-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 90px); background: #e9f2fa; }
.translations-feature h2 { margin: 0; }
.translations-feature > div:last-child { max-width: 650px; }
.translations-feature p:not(.eyebrow) { color: var(--ink); font-size: clamp(17px, 1.35vw, 21px); line-height: 1.55; }
.insight-paths { background: #f5f9fd; }
.insight-paths .three { gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.insight-paths .three > a { display: flex; flex-direction: column; min-height: 275px; padding: 29px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; transition: background .2s; }
.insight-paths .three > a:hover { background: #eaf3fc; }
.insight-paths .three .step { margin-bottom: 27px; }
.insight-paths .three p { margin-bottom: 28px; }
.insight-paths .three .textlink { margin-top: auto; }
.news-section { width: 100%; max-width: none; }
.cta {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 68px clamp(22px, 5vw, 96px);
  border-radius: 0;
}
.pagehero { padding-inline: clamp(22px, 5vw, 96px); }
.photo-pagehero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  grid-template-rows: auto auto 1fr auto auto;
  align-items: start;
  column-gap: clamp(45px, 6vw, 115px);
  min-height: 490px;
  padding: 58px clamp(22px, 5vw, 96px);
}
.photo-pagehero > :not(.page-art) { grid-column: 1; }
.photo-pagehero .back { grid-row: 1; margin-bottom: 34px; }
.photo-pagehero .eyebrow { grid-row: 2; }
.photo-pagehero h1 { grid-row: 3; max-width: 850px; font-size: clamp(45px, 4.4vw, 72px); }
.photo-pagehero .intro { grid-row: 4; max-width: 760px; font-size: clamp(18px, 1.35vw, 21px); }
.photo-pagehero > .button { grid-row: 5; justify-self: start; }
.page-art {
  position: static;
  grid-column: 2;
  grid-row: 1 / 6;
  align-self: stretch;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 375px;
  max-height: 530px;
  margin: 0;
  object-fit: cover;
  object-position: center;
}
.photo-pagehero.legalhero { min-height: 0; }
.legalhero .page-art { position: static; width: 100%; height: 315px; min-height: 315px; max-height: 315px; margin: 0; }
.legalhero .intro { margin-bottom: 0; }
.detailgrid { grid-template-columns: minmax(250px, .55fr) minmax(0, 1.45fr); gap: clamp(46px, 6vw, 125px); }
.detailgrid .sticky h2 { font-size: clamp(34px, 3vw, 51px); }
.detailitems { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 55px); border-top: 1px solid var(--line); }
.detailitems article, .detailitems article:first-child { display: grid; grid-template-columns: 35px minmax(0, 1fr); gap: 12px; align-content: start; min-height: 215px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.detailitems h3 { font-size: clamp(21px, 1.5vw, 26px); }
.detailitems p { max-width: 570px; }
.package-section { margin-bottom: 0; }
.package-section .three { gap: clamp(18px, 2vw, 34px); }
.package { min-height: 255px; padding: clamp(25px, 2.5vw, 40px); }
.detailgrid .prose { max-width: 1000px; }
.about-facts { display: grid; gap: 15px; margin-top: 40px; padding-top: 23px; border-top: 1px solid var(--line); }
.about-facts p { margin: 0; font-size: 15px; }
.about-facts span, .contactfacts span { display: block; color: #536c86; font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.contactgrid { grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr); gap: clamp(55px, 7vw, 145px); align-items: start; }
.contactgrid > div:first-child { max-width: 700px; }
.contactgrid > form { padding: clamp(26px, 3vw, 52px); border: 1px solid var(--line); background: #f8fbfe; }
.contactfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 30px; }
.contactfacts p { margin: 0; }
.contactfacts a { overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.news-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); }
.news-card { min-height: 310px; padding: clamp(23px, 2vw, 32px); }
.legal-layout { display: grid; grid-template-columns: minmax(240px, .28fr) minmax(0, 1fr); gap: clamp(45px, 6vw, 125px); align-items: start; }
.legal-toc { position: sticky; top: 28px; padding: 24px 25px; border-top: 3px solid #214c7d; background: #f3f8fd; }
.legal-toc .eyebrow { margin-bottom: 19px; }
.legal-toc-links { display: grid; gap: 0; }
.legal-toc-links a { padding: 9px 0; border-top: 1px solid var(--line); color: #214c7d; font-size: 13px; line-height: 1.4; }
.legal-toc-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.legal.prose { max-width: 1120px; }
.legal.prose > p, .legal.prose > h2, .legal.prose > .notice { max-width: 1050px; }
.legal.prose h2 { scroll-margin-top: 30px; }
.footer-top, .footer-bottom { width: 100%; max-width: none; }
footer { padding-inline: clamp(22px, 5vw, 96px); }
.section.legal { max-width: none; }
.legal.prose > p, .legal.prose > h2, .legal.prose > .notice { max-width: 900px; }
.table-scroll { max-width: 1100px; }

.chat-widget { display: none; position: fixed; right: 22px; bottom: 22px; z-index: 20; width: min(390px, calc(100vw - 32px)); font-family: var(--body); }
.js .chat-widget { display: block; }
.chat-widget [hidden] { display: none !important; }
.chat-launch { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-left: auto; padding: 13px 18px; border: 1px solid #173d69; border-radius: 4px; background: #214c7d; color: white; font-size: 14px; font-weight: 700; box-shadow: 0 8px 25px #163e6c33; cursor: pointer; }
.chat-launch:hover { background: #173d69; }
.chat-dot { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #e7f2fc; color: #214c7d; font-size: 18px; }
.chat-panel { display: flex; flex-direction: column; height: min(600px, calc(100dvh - 105px)); min-height: 330px; margin-bottom: 12px; overflow: hidden; border: 1px solid #bed1e4; border-radius: 6px; background: white; box-shadow: 0 16px 48px #12376036; }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 18px; background: #214c7d; color: white; }
.chat-head strong { display: block; line-height: 1.2; }
.chat-head small { display: block; margin-top: 4px; color: #dce9f7; font-size: 11px; }
.chat-head button { border: 0; background: transparent; color: white; font-size: 28px; line-height: 1; cursor: pointer; }
.chat-log { flex: 1; min-height: 80px; overflow-y: auto; padding: 17px; background: #f5f9fd; }
.chat-bubble { width: fit-content; max-width: 91%; margin: 0 0 12px; padding: 11px 13px; border: 1px solid #d9e5f1; border-radius: 3px 12px 12px 12px; background: white; color: #163e6c; font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.chat-bubble.visitor { margin-left: auto; border-color: #214c7d; border-radius: 12px 3px 12px 12px; background: #214c7d; color: white; }
.chat-controls { display: flex; flex-wrap: wrap; gap: 8px; max-height: 210px; overflow-y: auto; padding: 14px 17px; border-top: 1px solid #d9e5f1; }
.chat-controls form { display: grid; width: 100%; gap: 9px; }
.chat-controls label { display: grid; gap: 6px; width: 100%; color: #163e6c; font-size: 13px; font-weight: 650; }
.chat-controls textarea, .chat-controls input { width: 100%; padding: 9px 10px; border: 1px solid #b9cadc; border-radius: 3px; background: white; color: #163e6c; font-size: 14px; resize: vertical; }
.chat-controls textarea { max-height: 110px; }
.chat-action { display: inline-flex; align-items: center; min-height: 38px; padding: 8px 11px; border: 1px solid #aec4da; border-radius: 3px; background: white; color: #163e6c; font-size: 13px; line-height: 1.3; text-align: left; cursor: pointer; }
.chat-action:hover { background: #eaf3fc; }
.chat-action.primary { border-color: #214c7d; background: #214c7d; color: white; font-weight: 650; }
.chat-action.primary:hover { background: #173d69; }
.chat-disclaimer { margin: 0; padding: 10px 17px 13px; border-top: 1px solid #e5eef6; background: white; color: #62778e; font-size: 11px; line-height: 1.4; }
.chat-disclaimer a { text-decoration: underline; text-underline-offset: 3px; }
.assistant-form .assistant-consent{display:flex;align-items:flex-start;gap:8px;font-size:11px;font-weight:450;line-height:1.35;color:#536d88}
.assistant-consent input{width:auto;flex:none;margin:2px 0 0}
.assistant-form button{justify-content:center}

@media (max-width: 1450px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1700px) {
  header { position: relative; }
  .menu { display: flex; align-items: center; gap: 18px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
  .menu span { font-size: 24px; }
  nav { display: none; position: absolute; top: 103px; left: 0; right: 0; z-index: 5; flex-direction: column; align-items: stretch; padding: 25px; background: white; border-bottom: 1px solid var(--line); font-size: 16px; }
  nav.open { display: flex; }
}

@media (max-width: 1150px) {
  header { position: relative; }
  .menu { display: flex; align-items: center; gap: 18px; border: 0; background: transparent; cursor: pointer; padding: 10px; }
  .menu span { font-size: 24px; }
  nav { display: none; position: absolute; top: 111px; left: 0; right: 0; z-index: 5; flex-direction: column; align-items: stretch; padding: 25px; background: white; border-bottom: 1px solid var(--line); font-size: 16px; }
  nav.open { display: flex; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(270px, .75fr); }
  .photo-pagehero { grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 35px; }
  .detailitems { grid-template-columns: 1fr; }
  .detailitems article, .detailitems article:first-child { min-height: 0; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
  .translations-feature { grid-template-columns: 1fr; }
  nav { top: 97px; }
  .hero { grid-template-columns: 1fr; gap: 26px; }
  .hero-panel { justify-self: start; max-width: 420px; height: 300px; min-height: 300px; }
  .hero-art { height: 100%; }
  .photo-pagehero { display: block; min-height: 0; padding: 46px clamp(22px, 5vw, 96px); }
  .photo-pagehero h1 { font-size: clamp(40px, 5.3vw, 54px); }
  .photo-pagehero .back { margin-bottom: 28px; }
  .page-art, .legalhero .page-art { display: block; width: 100%; max-width: 620px; height: 285px; min-height: 0; max-height: none; margin-top: 32px; }
  .detailgrid { grid-template-columns: 1fr; gap: 30px; }
  .detailgrid .sticky { position: static; }
  .detailitems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contactgrid { grid-template-columns: 1fr; gap: 35px; }
  .contactgrid > div:first-child { max-width: 750px; }
  .legal-layout { grid-template-columns: 1fr; gap: 34px; }
  .legal-toc { position: static; }
  .legal-toc-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 25px; }
}

@media (max-width: 600px) {
  .chat-widget { right: 12px; bottom: 12px; width: min(390px, calc(100vw - 24px)); }
  .chat-panel { height: min(570px, calc(100dvh - 85px)); }
  .chat-launch { padding: 11px 15px; }
  header { padding-inline: 20px; gap: 8px; }
  nav { top: 93px; }
  .brand { font-size: 13px; gap: 9px; }
  .brand-logo, footer .brand-logo { width: 48px; height: 48px; }
  .brandline { font-size: 8px; letter-spacing: .08em; }
  .hero { padding: 42px 22px 45px; }
  .hero h1 { font-size: 39px; }
  .hero-panel { height: 250px; min-height: 250px; }
  .hero-caption { display: block; }
  .hero-caption span { display: block; margin-top: 5px; }
  .services { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .insight-paths .three > a { min-height: 0; padding: 24px; }
  .insight-paths .three .step { margin-bottom: 15px; }
  .section { padding-inline: 22px; }
  .cta { padding: 55px 22px; }
  .pagehero { padding-inline: 22px; }
  .photo-pagehero { padding: 40px 22px; }
  .page-art, .legalhero .page-art { height: 215px; }
  .detailitems { grid-template-columns: 1fr; }
  .detailitems article, .detailitems article:first-child { padding: 23px 0; }
  .package { min-height: 0; }
  .contactgrid > form { padding: 23px 18px; }
  .contactfacts { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { min-height: 0; }
  .legal-toc-links { grid-template-columns: 1fr; }
  footer { padding-inline: 22px; }
}

@media (max-width: 430px) {
  header .brandline { display: none; }
  .language-menu summary { padding: 7px 9px; }
  .menu { gap: 8px; }
}
.insights-search{display:block;width:min(100%,34rem);margin:1.5rem 0 2rem;padding:.85rem 1rem;border:1px solid #b9c8d8;border-radius:.25rem;background:#fff;color:#123354;font:inherit}
.insights-search:focus-visible{outline:2px solid #123b67;outline-offset:2px}
.fresh-article[hidden]{display:none}
.insights-topic{display:block;width:min(100%,20rem);margin:-1rem 0 2rem;padding:.75rem 1rem;border:1px solid #b9c8d8;border-radius:.25rem;background:#fff;color:#123354;font:inherit}
