/* Fonts */

@import url("https://p.typekit.net/p.css?s=1&k=ocj4ezh&ht=tk&f=36495.36496.36499.36500.36511.46530.46531.48912&a=438612123&app=typekit&e=css");

@font-face {
font-family:"komet";
src:url("https://use.typekit.net/af/64a67f/00000000000000007735a904/31/l?primer=fff1a989570eb474b8c22c57cc7199e63bfc7e911b750165d0199218f0b7e7cc&fvd=n4&v=3") format("woff2"),url("https://use.typekit.net/af/64a67f/00000000000000007735a904/31/d?primer=fff1a989570eb474b8c22c57cc7199e63bfc7e911b750165d0199218f0b7e7cc&fvd=n4&v=3") format("woff"),url("https://use.typekit.net/af/64a67f/00000000000000007735a904/31/a?primer=fff1a989570eb474b8c22c57cc7199e63bfc7e911b750165d0199218f0b7e7cc&fvd=n4&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:400;font-stretch:normal;
}

@font-face {
font-family:"komet";
src:url("https://use.typekit.net/af/d78519/00000000000000007735a908/31/l?primer=fff1a989570eb474b8c22c57cc7199e63bfc7e911b750165d0199218f0b7e7cc&fvd=i4&v=3") format("woff2"),url("https://use.typekit.net/af/d78519/00000000000000007735a908/31/d?primer=fff1a989570eb474b8c22c57cc7199e63bfc7e911b750165d0199218f0b7e7cc&fvd=i4&v=3") format("woff"),url("https://use.typekit.net/af/d78519/00000000000000007735a908/31/a?primer=fff1a989570eb474b8c22c57cc7199e63bfc7e911b750165d0199218f0b7e7cc&fvd=i4&v=3") format("opentype");
font-display:auto;font-style:italic;font-weight:400;font-stretch:normal;
}

@font-face {
font-family:"komet";
src:url("https://use.typekit.net/af/391ec9/00000000000000007735a914/31/l?primer=fff1a989570eb474b8c22c57cc7199e63bfc7e911b750165d0199218f0b7e7cc&fvd=i7&v=3") format("woff2"),url("https://use.typekit.net/af/391ec9/00000000000000007735a914/31/d?primer=fff1a989570eb474b8c22c57cc7199e63bfc7e911b750165d0199218f0b7e7cc&fvd=i7&v=3") format("woff"),url("https://use.typekit.net/af/391ec9/00000000000000007735a914/31/a?primer=fff1a989570eb474b8c22c57cc7199e63bfc7e911b750165d0199218f0b7e7cc&fvd=i7&v=3") format("opentype");
font-display:auto;font-style:italic;font-weight:700;font-stretch:normal;
}

@font-face {
font-family:"komet";
src:url("https://use.typekit.net/af/025f2c/00000000000000007735a916/31/l?primer=fff1a989570eb474b8c22c57cc7199e63bfc7e911b750165d0199218f0b7e7cc&fvd=n7&v=3") format("woff2"),url("https://use.typekit.net/af/025f2c/00000000000000007735a916/31/d?primer=fff1a989570eb474b8c22c57cc7199e63bfc7e911b750165d0199218f0b7e7cc&fvd=n7&v=3") format("woff"),url("https://use.typekit.net/af/025f2c/00000000000000007735a916/31/a?primer=fff1a989570eb474b8c22c57cc7199e63bfc7e911b750165d0199218f0b7e7cc&fvd=n7&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:700;font-stretch:normal;
}

@font-face {
font-family:"komet-sc";
src:url("https://use.typekit.net/af/957611/00000000000000007735a905/31/l?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n4&v=3") format("woff2"),url("https://use.typekit.net/af/957611/00000000000000007735a905/31/d?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n4&v=3") format("woff"),url("https://use.typekit.net/af/957611/00000000000000007735a905/31/a?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n4&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:400;font-stretch:normal;
}

@font-face {
font-family:"noto-sans-arabic";
src:url("https://use.typekit.net/af/bbcef5/00000000000000007735e49b/31/l?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n4&v=3") format("woff2"),url("https://use.typekit.net/af/bbcef5/00000000000000007735e49b/31/d?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n4&v=3") format("woff"),url("https://use.typekit.net/af/bbcef5/00000000000000007735e49b/31/a?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n4&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:400;font-stretch:normal;
}

@font-face {
font-family:"noto-sans-arabic";
src:url("https://use.typekit.net/af/984995/00000000000000007735e49a/31/l?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n7&v=3") format("woff2"),url("https://use.typekit.net/af/984995/00000000000000007735e49a/31/d?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n7&v=3") format("woff"),url("https://use.typekit.net/af/984995/00000000000000007735e49a/31/a?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n7&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:700;font-stretch:normal;
}

@font-face {
font-family:"agenda-one";
src:url("https://use.typekit.net/af/33e9fc/00000000000000007735f623/31/l?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n7&v=3") format("woff2"),url("https://use.typekit.net/af/33e9fc/00000000000000007735f623/31/d?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n7&v=3") format("woff"),url("https://use.typekit.net/af/33e9fc/00000000000000007735f623/31/a?primer=f592e0a4b9356877842506ce344308576437e4f677d7c9b78ca2162e6cad991a&fvd=n7&v=3") format("opentype");
font-display:auto;font-style:normal;font-weight:700;font-stretch:normal;
}


/* Design tokens */

:root {
  --font-family-basic: 'komet', 'Noto Sans', sans-serif;
  --font-family-entry-headword: 'agenda-one', 'Noto Sans', sans-serif;
  --font-family-pronunciation: Arial, Helvetica, sans-serif;
  --font-family-arabic: 'noto-sans-arabic', 'komet', 'Noto Sans', sans-serif;
  --font-family-small-caps: 'komet-sc', 'komet', 'Noto Sans', sans-serif;
  --white: #fff;
  --black: #000;
  --paper: #fafafa;
  --ink: #434547;
  --muted: #a1b1c6;
  --line: #a1b1c6;
  --blue-700: #3e6ba7;
  --teal: #80d0c9;
  --orange: #fdb27a;
  --entry-rule: #9cb5c8;
  --entry-jump-bg: #9db1c9;
  --entry-space-greenblue: 3.5rem;
  --entry-space-green: 2rem;
  --entry-space-blue: 1.5rem;
  --entry-space-pink: 1.2rem;
  --entry-space-yellow: 1rem;
  --entry-space-smaller: 0.5rem;
  --search-row-min-height: 72px;
  --search-row-padding-y: 2rem;
  --search-row-width: min(950px, 100%);
  --search-input-height: 56px;
  --search-input-padding-top: 1rem;
  --search-input-padding-left: 1.5rem;
  --search-input-padding-right: 3.6rem;
  --search-btn-right: 7px;
  --search-btn-icon-size: 36px;
  --entry-sound-icon-size: 1.7rem;
  --wrap-width: min(1200px, calc(100% - 2.4rem));
  --home-hero-bg: #2e6cab;
}

/* Base */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  font-family: var(--font-family-basic);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}

body > main {
  flex: 1 0 auto;
}

a {
  color: var(--blue-700);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: var(--wrap-width);
  margin: 0 auto;
}

.site-header {
  background: var(--paper);
}

.header-overlay {
  display: none;
}

.top-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  margin-right: 30px;
}

.logo-img {
  display: block;
  height: 35px;
  width: auto;
}
.menu {
  display: flex;
  gap: 0.9rem;
}

.menu a {
  font-family: var(--font-family-basic);
  font-size: 15px;
  color: #7d8f9e;
}

.search-row {
  position: relative;
  min-height: var(--search-row-min-height);
  display: flex;
  padding: var(--search-row-padding-y) 0;
  width: var(--search-row-width);
  align-items: center;
}

.search-input {
  display: block;
  height: var(--search-input-height);
  width: 100%;
  font-size: 16px;
  border: 1px solid #d7e2eb;
  border-radius: 999px;
  background: #f4f4f4;
  color: #2d4a60;
  padding: var(--search-input-padding-top) var(--search-input-padding-right) var(--search-input-padding-top) var(--search-input-padding-left);
  line-height: 1;
  appearance: none;
}

.search-input:focus {
  outline: 0;
  border-color: #72b5dc;
}

.search-input::placeholder {
  font-size: 16px;
  color: #9db2c8;
  opacity: 1;
  font-family: var(--font-family-basic);
}

.search-btn {
  position: absolute;
  top: 50%;
  right: var(--search-btn-right);
  transform: translateY(-50%);
  width: var(--search-input-height);
  height: var(--search-input-height);
  border: 0;
  border-radius: 999px;
  background: transparent url("./search.svg") center/var(--search-btn-icon-size) var(--search-btn-icon-size) no-repeat;
  color: transparent;
  font-size: 1px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  text-indent: -9999px;
  overflow: hidden;
}

.search-btn:hover {
  background-color: #f2f8fd;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Shared Layout */

.layout-entry {
  display: grid;
  grid-template-columns: minmax(0, 580px) 220px;
  justify-content: center;
  gap: 1.9rem;
  align-items: start;
  padding: 0.6rem 0 1.45rem;
}

.content-panel {
  background: var(--paper);
  border: 1px solid #e3ebf3;
  box-shadow: none;
  padding: 0.75rem 0.9rem 1rem;
}

.entry-page .content-panel {
  background: transparent;
  border: 0;
  padding: 0.2rem 0 0.7rem;
}

h1,
h2,
h3,
h4 {
  color: #2b6792;
}

h1 {
  font-size: 44px;
  line-height: 1.08;
}

h2 {
  font-size: 44px;
}

h3 {
  font-size: 0.9rem;
  color: #6e8497;
  text-transform: uppercase;
}

h4 {
  font-size: 0.86rem;
}

/* Shared Entry Components */

.entry-sound-icon {
  width: var(--entry-sound-icon-size);
  height: var(--entry-sound-icon-size);
  object-fit: contain;
  opacity: 0.82;
  flex-shrink: 0;
  filter: invert(72%) sepia(12%) saturate(600%) hue-rotate(169deg) brightness(103%) contrast(87%);
}

.entry-sound-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.entry-sound-button:hover .entry-sound-icon,
.entry-sound-button.is-playing .entry-sound-icon {
  opacity: 1;
}

.entry-sound-button:focus-visible {
  outline: 2px solid #1d6ea2;
  outline-offset: 2px;
  border-radius: 999px;
}

.entry-share-icon {
  width: var(--entry-sound-icon-size);
  height: var(--entry-sound-icon-size);
  object-fit: contain;
  opacity: 0.82;
  flex-shrink: 0;
  filter: invert(72%) sepia(12%) saturate(600%) hue-rotate(169deg) brightness(103%) contrast(87%);
}

.entry-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  margin-left: auto;
  position: relative;
}

.entry-share-button:hover .entry-share-icon,
.entry-share-button.is-open .entry-share-icon {
  opacity: 1;
}

.entry-share-button:focus-visible {
  outline: 2px solid #1d6ea2;
  outline-offset: 2px;
  border-radius: 999px;
}

.entry-share-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 100;
  background: #fff;
  border: 1px solid #d8e6f3;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  display: flex;
  flex-direction: column;
  min-width: 148px;
  padding: 4px 0;
  overflow: hidden;
}

.entry-share-option {
  display: flex;
  align-items: center;
  width: 100%;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px 16px;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2c4a6e;
  white-space: nowrap;
}

.entry-share-option:hover {
  background: #f0f7ff;
}

.entry-share-option.is-copied {
  color: #2e9e5b;
  background: #f0fbf4;
}

.entry-card sup {
  font-size: 0.48em;
}

.pos-chip-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pos-chip-wrapper {
  display: inline-flex;
  align-items: center;
  min-width: 3rem;
}

.pos-chip {
  --chip-bg: #a1b1c6;
  --chip-fg: var(--white);
  --chip-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--chip-bg);
  color: var(--chip-fg);
  border: 1px solid var(--chip-border);
  border-radius: 999px;
  padding: 0.1rem 0.5rem 0.2rem;
  margin-left: -0.35rem;
  line-height: 1.2;
  white-space: nowrap;
}

.featured-entry-card .pos-chip {
  font-size: 1rem;
}

.pos-inline-text {
  color: #405a7d;
  align-self: center;
}

.pos-kind-noun {
  --chip-bg: #8db883;
  --chip-fg: var(--white);
  --chip-border: #8db883;
}

.pos-kind-verb {
  --chip-bg: #6cc8ea;
  --chip-fg: var(--white);
  --chip-border: #6cc8ea;
}

.pos-kind-adjective {
  --chip-bg: #7e85ba;
  --chip-fg: var(--white);
  --chip-border: #7e85ba;
}

.pos-kind-adverb {
  --chip-bg: #a1b1c6;
  --chip-fg: var(--white);
  --chip-border: #a1b1c6;
}

.pos-kind-collective {
  --chip-bg: #80d0c9;
  --chip-fg: var(--white);
  --chip-border: #80d0c9;
}

.form-list,
.phrase-list,
.sense-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.form-list {
  overflow: auto;
}

.sub-section h4 {
  margin-top: 0.32rem;
  margin-bottom: 0.2rem;
}

.example-item:last-child {
  margin-bottom: 0;
}

/* Footer and Consent */

.footer-row {
  min-height: 40px;
  display: flex;
  flex-direction: column;
  color: #21435c;
  gap: 0.65rem;
  padding: var(--entry-space-blue) 1rem var(--entry-space-pink);
}

.footer-row-top,
.footer-row-bottom {
  display: flex;
  width: 100%;
}

.footer-row-top {
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-row-bottom {
  justify-content: center;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--entry-space-pink);
}

.footer-row p {
  margin: 0;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.social-icons img {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  z-index: 40;
  background: linear-gradient(180deg, rgba(234, 242, 250, 0.98) 0%, rgba(220, 233, 246, 0.98) 100%);
  color: #49627e;
  border: 1px solid rgba(126, 158, 192, 0.9);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(46, 108, 171, 0.16);
  backdrop-filter: blur(10px);
  width: min(680px, calc(100% - 2rem));
  padding: 0.7rem 0.85rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.7rem 0.9rem;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner p {
  margin: 0;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.45;
}

.cookie-link {
  color: var(--blue-700);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-actions .btn {
  padding: 0.3rem 0.68rem;
  font-size: 0.88rem;
  line-height: 1.2;
}

.cookie-actions .btn-primary {
  background: var(--teal);
  color: #133c4a;
}

.cookie-actions .btn-secondary {
  background: rgba(161, 177, 198, 0.14);
  color: #4b6786;
  border: 1px solid rgba(161, 177, 198, 0.45);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  padding: 0.35rem 0.7rem;
  font-family: var(--font-family-basic);
  font-weight: 700;
}

.btn-primary {
  background: var(--teal);
  color: #133c4a;
}

.btn-secondary {
  background: #355975;
  color: #f2f8ff;
}

/* Static Info Pages */

.info-page-main {
  width: var(--wrap-width);
  margin: 1rem auto;
}

.privacy-page-main, .contact-card {
  background: var(--white);
  border: 1px solid #e3ebf3;
  padding: 1.15rem 1.2rem 1.35rem;
}

.info-title {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  line-height: 1.08;
  color: var(--blue-700);
  font-family: var(--font-family-entry-headword);
}

.info-lead {
  margin: 0 0 1rem;
  color: #5c7590;
  font-size: 1rem;
  line-height: 1.55;
}

.info-card-body-blank {
  min-height: 240px;
}

.info-card-about {
  padding: 3rem;
}

.about-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0;
}

.about-title {
  margin-bottom: 0;
}

.about-language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem;
  border: 1px solid #d5e0ea;
  border-radius: 999px;
  background: #f7f9fc;
}

.about-language-button {
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #6b8095;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
}

.about-language-button.is-active {
  background: #3e6ba7;
  color: var(--white);
}

.about-language-button:focus-visible {
  outline: 2px solid #1d6ea2;
  outline-offset: 2px;
}

.about-intro {
  margin-bottom: 1.15rem;
}

.about-intro-paragraph {
  font-family: var(--font-family-entry-headword);
  color: var(--blue-700);
  font-size: 1.4em;
  line-height: 1.5;
}

.about-copy {
  color: #43576b;
  font-size: 1rem;
  line-height: 1.72;
  margin-bottom: 1.5em;
}

.about-copy p {
  margin: 0 0 1rem;
}

.about-copy p:last-child,
.about-copy ul:last-child,
.about-copy ol:last-child {
  margin-bottom: 0;
}

.about-copy:has(.about-step-list) {
  margin-bottom: 0;
}

.about-credit-list,
.about-feature-list {
  margin: 0;
  padding-left: 0;
  list-style:none;
}

.about-step-list {
  margin: 0;
  padding-left: 2rem;
}

.about-feature-list li,
.about-step-list li {
  margin-bottom: 1rem;
}

.about-step-list li:last-child {
  margin-bottom: 0;
}

.about-section-list {
  border-top: 1px solid #d9e3ee;
}

.about-section {
  border-bottom: 1px solid #d9e3ee;
}

.about-section-summary {
  position: relative;
  display: block;
  list-style: none;
  cursor: pointer;
  padding: 1rem 0 1.08rem 2.35rem;
  color: #2b6792;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.12;
}

.about-section-summary::-webkit-details-marker {
  display: none;
}

.about-section-summary::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 50%;
  width: 0.8rem;
  height: 0.8rem;
  border-right: 2px solid #2b6792;
  border-bottom: 2px solid #2b6792;
  transform: translateY(-60%) rotate(45deg);
  transition: transform 0.18s ease;
}

.about-section[open] .about-section-summary::before {
  transform: translateY(-40%) rotate(225deg);
}

.about-section-body {
  display: grid;
  gap: 1.35rem;
  padding: 0 0 1.4rem;
}

.about-section-item {
  display: grid;
  gap: 0.95rem;
}

.about-image-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin: 1rem auto;
}

.about-image-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
}

.about-figure {
  margin: 0;
  border: 1px solid #dbe5ee;
  border-radius: 16px;
  overflow: hidden;
  background: #fbfcfe;
  box-shadow: 0 14px 32px rgba(18, 43, 69, 0.08);
}

.about-figure img {
  display: block;
  width: 100%;
  height: auto;
}

.about-menu-figure-grid .about-figure img {
  width: auto;
  max-height: 50px;
  max-width: 100%;
}

.entry-page-illustration {
  display: none;
}

.contact-form {
  margin: 0;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.contact-field {
  display: grid;
  gap: 0.35rem;
}

.contact-field-full {
  grid-column: 1 / -1;
}

.contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-label {
  color: #6a8298;
  font-family: var(--font-family-small-caps);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-input,
.contact-textarea {
  width: 100%;
  border: 1px solid #d7e2eb;
  border-radius: 14px;
  background: var(--white);
  color: #2d4a60;
  font: inherit;
  padding: 0.78rem 0.9rem;
  box-shadow: 0 10px 22px rgba(11, 41, 64, 0.06);
}

.contact-input:focus,
.contact-textarea:focus {
  outline: 0;
  border-color: #72b5dc;
  box-shadow: 0 0 0 2px rgba(114, 181, 220, 0.22);
}

.contact-textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-actions {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.contact-submit {
  min-width: 130px;
}

.contact-submit:disabled {
  opacity: 0.68;
  cursor: wait;
}

.contact-status {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-status.is-pending {
  color: #56708a;
}

.contact-status.is-success {
  color: #2f7a51;
}

.contact-status.is-error {
  color: #b14a4a;
}


.privacy-page-main {
  background: var(--white);
  width: var(--wrap-width);
  margin: 1rem auto;
  border: 1px solid #e3ebf3;
}

.privacy-doc {
  font-family: var(--font-family-basic);
  font-size: 14px;
  line-height: 1.5;
  color: var(--black);
}

.privacy-page-header {
  margin: 0 auto;
  padding: 3rem 3rem 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.privacy-page-title {
  margin-bottom: 0;
}

.privacy-doc .page {
  margin: 0 auto;
  padding: 1.75rem 3rem 3rem;
}

.privacy-doc h1 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--black);
  text-transform: none;
}

.privacy-doc h2 {
  font-size: 14px;
  font-weight: 700;
  margin: 18px 0 6px;
  color: var(--black);
  text-transform: none;
}

.privacy-doc h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 12px 0 4px;
  color: var(--black);
  text-transform: none;
}

.privacy-doc p {
  margin: 0 0 8px;
  line-height: 1.2rem;
  font-size: 14px;
}

.privacy-doc .doc-header {
  margin-bottom: 20px;
}

.privacy-doc .doc-header p {
  margin: 4px 0;
}

.privacy-doc .label {
  display: inline;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  margin-right: 0;
}

.privacy-doc ol.alpha-list,
.privacy-doc ol.roman-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 8px;
}

.privacy-doc ol.alpha-list li {
  display: flex;
  gap: 6px;
  margin-bottom: 3px;
  padding-left: 16px;
}

.privacy-doc ol.alpha-list li .label {
  flex-shrink: 0;
  min-width: 18px;
}

.privacy-doc ol.roman-list li {
  display: flex;
  gap: 6px;
  margin-bottom: 3px;
  padding-left: 24px;
}

.privacy-doc ol.roman-list li .label {
  flex-shrink: 0;
  min-width: 28px;
}

.privacy-doc hr.section-break {
  border: 0;
  border-top: 1px solid var(--black);
  margin: 40px 0;
}

.privacy-doc hr.lang-break {
  border: 0;
  border-top: 2px solid var(--black);
  margin: 60px 0;
}

/* Home */

.home-page .site-header .search-strip {
  display: none;
}

.site-header .top-row {
  min-height: 50px;
  gap: 0.7rem;
}


.top-meta-icons {
  margin-left: auto;
  display: inline-flex;
  gap: 1.2rem;
  align-items: center;
  margin-right: 1rem;
}

.top-meta-icons span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #87a9bf;
  opacity: 0.75;
}

.top-meta-icons img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
  filter: invert(57%) sepia(15%) saturate(393%) hue-rotate(169deg) contrast(89%);
}

.home-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.home-main {
  background: transparent;
  padding-bottom: 1.1rem;
  flex: 1 0 auto;
}

.home-hero {
  position: relative;
  z-index: 2;
  color: var(--white);
  background: var(--home-hero-bg);
  padding: 3rem var(--entry-space-blue) 1rem;
  overflow-x: clip;
  overflow-y: visible;
  isolation: isolate;
}

.home-hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -68px;
  transform: none;
  width: 100%;
  height: 120px;
  background: var(--home-hero-bg);
  clip-path: ellipse(80% 100% at 50% 0);
  z-index: -1;
  pointer-events: none;
}

.home-hero-inner {
  text-align: center;
}

.home-hero-inner h1 {
  font-family: var(--font-family-entry-headword);
  color: #f5fbff;
  font-size: 2.5rem;
  margin: 0 0 2rem;
  text-wrap: balance;
}

.home-hero-search {
  width: var(--search-row-width);
  margin: 0 auto;
  position: relative;
}

.home-shortcuts {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.shortcuts-label {
  font-family: var(--font-family-basic);
  font-size: 0.9rem;
  opacity: 0.92;
}

.shortcut-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid #569de6;
  background: #569de6;
  color: #f2fbff;
  border-radius: 6px;
  padding: 0.15rem 0.4rem;
  font-size: 0.9rem;
  line-height: 1.1;
  cursor: pointer;
}

.shortcut-chip:hover {
  background: #355c8f;;
  border-color: #355c8f;;
}

.home-live-results {
  width: min(620px, calc(100% - 1rem));
  margin: 0.35rem auto 0;
  list-style: none;
  padding: 0;
  background: var(--white);
  border: 1px solid #d6e1eb;
  border-radius: 14px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 16px 30px rgba(20, 47, 69, 0.17);
}

.home-live-results li + li {
  border-top: 1px solid #e6eef5;
}

.home-live-results a {
  display: block;
  padding: 0.55rem 0.85rem;
  color: #2a5473;
}

.home-live-results a:hover {
  background: #f4f9ff;
  text-decoration: none;
}

.home-showcase {
  position: relative;
  z-index: 1;
  margin-top: 6rem;
  display: grid;
  grid-template-columns: minmax(0, 600px) 460px;
  gap: 3rem;
  align-items: center;
}

.featured-entry-card {
  background: var(--white);
  border: 1px solid #e1ebf4;
  border-radius: 10px;
  padding: var(--entry-space-blue);
  min-height: 0;
  box-shadow: 0 12px 28px rgba(13, 29, 48, 0.05);
  display: flex;
  flex-direction: column;
}

.featured-kicker {
  font-family: var(--font-family-small-caps);
  margin: var(--entry-space-pink) 0 var(--entry-space-smaller);
  font-size: 0.8rem;
  color: #2f648b;
  font-weight: 700;
  text-transform: uppercase;
}

.featured-entry-card .entry-headword-text:hover {
  text-decoration: none;
}

.featured-entry-card .entry-head-meta {
  margin: 0 0 var(--entry-space-pink);
  gap: 0.45rem;
  color: #748ca4;
  font-size: 1rem;
}

.featured-link-wrap {
  margin: auto 0 0;
  text-align: center;
}

.featured-entry-card .entry-phrases-block,
.featured-entry-card .entry-family-block,
.featured-entry-card .entry-origin-block {
  display: none;
}

.featured-link {
  font-family: var(--font-family-small-caps);
  display: inline-block;
  background: #3e6ba7;
  color: var(--white);
  border-radius: 7px;
  padding: 0.8rem 1.5rem 0.9rem;
  font-size: 1rem;
  text-transform: uppercase;
}

.featured-link:hover {
  text-decoration: none;
  background: #355c8f;
}


.home-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  padding-top: 0.35rem;
  position: relative;
  overflow: hidden;
  background: url("./1.png") center top / contain no-repeat;
}

.home-illustration.has-rotation {
  background: none;
}

.home-illustration-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  transition: opacity 1200ms ease;
}

.home-illustration-image.is-fading {
  opacity: 0;
}

.footer-main {
  background: #a1b1c6;
  border-top: 1px solid #a1b1c6;
}

.home-footer-logos-section {
  margin-top: 0.8rem;
}

.footer-partners {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.86rem;
}

.footer-partners span {
  position: relative;
  padding-right: 1.1rem;
}

.footer-partners span:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0.2rem;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.footer-home-logos-1 {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr) 112px 100px minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 1rem 1rem;
  width: var(--search-row-width);
  margin: 0 auto;
  padding: 2rem 1rem 1rem;
  box-sizing: border-box;
}

.footer-home-logos-2 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  gap: 1rem 1rem;
  width: var(--search-row-width);
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
  box-sizing: border-box;
}

.footer-home-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
}

.footer-home-logo {
  max-width: 100%;
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer-sub {
  background: #a1b1c6;
}

.footer-row-sub {
  min-height: 54px;
}

.footer-row-sub .footer-row-bottom {
  padding-top: 0.1rem;
}

.footer-row-sub a,
.footer-row-sub p {
  color: rgba(255, 255, 255, 0.9);
}

.footer-row-sub .social-icons {
  opacity: 0.95;
}

.search-shell {
  position: relative;
  width: 100%;
}

.search-autocomplete {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 30;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--white);
  border: 1px solid #d6e1eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(20, 47, 69, 0.17);
}

.search-autocomplete[hidden] {
  display: none;
}

.search-autocomplete li + li {
  border-top: 1px solid #e6eef5;
}

.search-autocomplete-item {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0.55rem 0.85rem;
  text-align: left;
  color: #2a5473;
  font: inherit;
  cursor: pointer;
}

.search-autocomplete-item-grouped {
  margin-left: 0.5rem;
  width: calc(100% - 0.5rem);
}

.search-autocomplete-item:hover,
.search-autocomplete-item.is-active {
  background: #f4f9ff;
  text-decoration: none;
}

.search-autocomplete-group {
  padding: 0.45rem 0.85rem 0.35rem;
  color: #2d4a60;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  background: #f4f4f4;
  opacity: 0.7;
}

.search-autocomplete-group + li {
  border-top: 0;
}

.search-autocomplete-empty {
  padding: 0.55rem 0.85rem;
  color: #6f8599;
  font: inherit;
}

.search-input::-webkit-search-decoration,
.search-input::-webkit-search-cancel-button,
.search-input::-webkit-search-results-button,
.search-input::-webkit-search-results-decoration {
  display: none;
}

/* Entry Page */

.entry-page {
  --entry-sound-icon-size: 2rem;
  --entry-sticky-header-height: calc(34px + var(--search-row-min-height) + (2 * var(--search-row-padding-y)));
  --entry-anchor-offset: calc(var(--entry-sticky-header-height) + var(--entry-space-blue) + 2rem);
  --entry-first-anchor-offset: calc(var(--entry-sticky-header-height) + var(--entry-space-blue) + 3rem);
  background: var(--paper);
  overflow-x: hidden;
}

.standard-page .wrap {
  width: var(--wrap-width);
}

.search-strip {
  width: 100%;
  background: var(--home-hero-bg);
}

.entry-page .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.entry-page .layout-entry {
  position: relative;
  display: block;
  padding: 0;
}

.about-page .layout-entry {
  position: relative;
  display: block;
  padding: 0;
}

.standard-page .content-panel {
  position: relative;
  z-index: 1;
  width: 70%;
  background: transparent;
  border: 0;
  padding: 0 0 2rem 0;
}

.about-page.standard-page .content-panel {
  position: relative;
  z-index: 1;
  width: 50%;
  background: transparent;
  border: 0;
  padding: 0 0 2rem 2rem;
}

.entry-page .crumb {
  margin: 0 0 1rem;
  font-size: 0.72rem;
}

.entry-card {
  border-top: 4px solid var(--line);
  margin-top: var(--entry-space-greenblue);
  padding-top: var(--entry-space-greenblue);
}

.entry-card:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: var(--entry-space-green);
}

.entry-card,
.entry-forms-block,
.entry-section,
.entry-phrases-block,
.entry-family-block,
.entry-origin-block {
  scroll-margin-top: var(--entry-anchor-offset);
}

.entry-card:first-of-type,
.entry-card:first-of-type .entry-forms-block,
.entry-card:first-of-type .entry-section,
.entry-card:first-of-type .entry-phrases-block,
.entry-card:first-of-type .entry-family-block,
.entry-card:first-of-type .entry-origin-block {
  scroll-margin-top: var(--entry-first-anchor-offset);
}

.entry-card h2 {
  font-size: 2.15rem;
  color: #3e6ba7;
  margin-top: 0;
}

.entry-headword {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0;
}

.entry-headword-text {
  font-family: var(--font-family-entry-headword);
  font-style: normal;
  font-weight: 900;
}

.entry-headword-tag {
  font-family: var(--font-family-small-caps);
  color: #A3ADC2;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  margin-right: 0.5rem;
}

.entry-headword .entry-sound-button,
.entry-headword .entry-share-button {
  align-self: center;
}

.entry-variant {
  margin: 0.25rem 0 0;
  color: #3e6ba7;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 600;
}

.entry-head-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.9rem;
  margin: var(--entry-space-yellow) 0 var(--entry-space-pink);
  font-size: 16px;
  line-height: 1.35;
}

.entry-syllabification {
  color: #43484e;
  font-weight: 400;
}

.entry-syllabification-plain {
  display: inline-block;
  font-weight: 400 !important;
}

.entry-syllabification-strong {
  display: inline-block;
  font-weight: 700 !important;
}

.entry-quick-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--entry-space-pink);
  margin-bottom: calc(var(--entry-space-green) / 2);
}

.entry-page .entry-quick-jumps-desktop {
  position: sticky;
  top: var(--entry-sticky-header-height);
  z-index: 40;
  --entry-jump-connector-width: calc(var(--entry-space-pink) - 0.35rem + 2px);
  background: var(--paper);
  box-shadow: 0 0 0 100vmax var(--paper);
  clip-path: inset(0 -100vmax);
  padding-top: var(--entry-space-blue);
  padding-bottom: calc(var(--entry-space-green) / 2);
}

.entry-page .entry-quick-jumps-desktop::before {
  content: none;
}

.entry-quick-jumps-mobile {
  display: none;
}

.entry-jump {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0.1rem 0.52rem 0.3rem;
  border-radius: 999px;
  font-family: var(--font-family-basic);
  text-transform: none;
  color: var(--white);
  text-transform: lowercase;
  white-space: nowrap;
  margin-left: -0.35rem;
}

.entry-quick-jumps-desktop .entry-jump-connect-after::after {
  content: "";
  position: absolute;
  left: calc(100% - 1px);
  top: 50%;
  width: var(--entry-jump-connector-width);
  height: 3px;
  background: var(--chip-bg, var(--entry-jump-bg));
  transform: translateY(-50%);
  pointer-events: none;
}

.entry-jump:hover {
  text-decoration: none;
  filter: brightness(0.96);
}

.entry-jump-more {
  position: relative;
}

.entry-jump-more summary {
  list-style: none;
  text-transform: lowercase;
}

.entry-jump-more summary::-webkit-details-marker {
  display: none;
}

.entry-jump-more-toggle {
  gap: 0.3rem;
  cursor: pointer;
  background: #126eb2;
  text-transform: none;
}

.entry-jump-more-toggle::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid currentColor;
  transform: translateY(1px);
}

.entry-jump-more[open] .entry-jump-more-toggle::after {
  transform: translateY(1px) rotate(180deg);
}

.entry-jump-more-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 9rem;
  padding: 0.45rem;
  border: 1px solid #d9e3ee;
  border-radius: 0.8rem;
  background: #fafafa;
  box-shadow: 0 12px 24px rgba(47, 78, 113, 0.14);
}

.entry-jump-more-menu .entry-jump {
  margin-left: 0;
}

.entry-jump-more-item {
  width: 100%;
}

.entry-jump-pos,
.entry-jump-family,
.entry-jump-origin,
.entry-jump-phrases {
  background: var(--chip-bg, var(--entry-jump-bg));
  border: 1px solid var(--chip-border, transparent);
  color: var(--chip-fg, var(--white));
}

.entry-pronunciation {
  font-family: var(--font-family-pronunciation);
  color: #9cb1c9;
}

.entry-pos-block {
  margin: 0 0 var(--entry-space-yellow);
  padding-bottom: var(--entry-space-yellow);
  border-bottom: 1px solid #9cb5c8;
}

.entry-pos-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-height: 28px;
}

.entry-pos-block .mini-list {
  margin: var(--entry-space-yellow) 0 0;
  padding-left: 1rem;
}

.entry-family-block,
.entry-origin-block,
.entry-phrases-block {
  padding: 0;
}

.entry-family-header,
.entry-origin-header,
.entry-phrases-header {
  margin: 0 0 var(--entry-space-yellow);
}

.entry-badge {
  padding: 0.1rem 0.3rem;
  margin-left: -0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  border-radius: 999px;
  color: var(--white);
  text-transform: lowercase;
}

.entry-family-rule,
.entry-origin-rule,
.entry-phrases-rule {
  border-top: 1px solid var(--entry-rule);
}

.entry-family-block {
  margin: var(--entry-space-blue) 0 0;
}

.entry-family-badge {
  background: var(--teal);
}

.entry-family-rule {
  margin: 0 0 var(--entry-space-yellow);
}

.entry-family-item {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: baseline;
  column-gap: 1rem;
  row-gap: 0.55rem;
  margin: 0;
}

.entry-family-values {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  grid-column: 2;
}

.entry-family-label {
  color: #5b9dca;
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
}

.entry-family-group {
  display: grid;
  gap: 0.55rem;
}

.entry-family-stem {
  grid-column: 2;
  margin: 0;
  color: #3e6ba7;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
}

.entry-family-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
}

.entry-family-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0.2rem 0.6rem;
  border-radius: 0.5rem;
  background: #d7e9fb;
  color: #2f8fe4;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.entry-family-link:hover {
  background: #c9e1f8;
  text-decoration: none;
}

.entry-family-link:focus-visible {
  outline: 2px solid #1d6ea2;
  outline-offset: 2px;
}

.entry-origin-block {
  margin: var(--entry-space-blue) 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.entry-origin-badge {
  background: #fdb27a;
}

.entry-origin-rule {
  margin: 0 0 var(--entry-space-yellow);
}

.entry-origin {
  margin: 0;
  font-style: normal;
  font-size: 16px;
  line-height: 1.58;
}

.entry-origin-em {
  font-family: var(--font-family-arabic);
  font-style: italic;
}

.entry-origin-block .mini-list {
  margin: var(--entry-space-yellow) 0 0;
  padding-left: 1rem;
}

.entry-origin-block .term {
  color: #8499ab;
}

.entry-section {
  margin-top: var(--entry-space-green);
}

.entry-forms-block .form-list {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 0.4rem;
  row-gap: 0.32rem;
  align-items: baseline;
  margin: 0;
  padding: 0;
  list-style: none;
}

.entry-forms-block .form-item {
  display: contents;
}

.entry-forms-block .form-item[hidden] {
  display: none !important;
}

.entry-phrases-block, .featured-phrases {
  margin: var(--entry-space-green) 0 0;
}

.entry-phrases-badge {
  background: #9fdcf0;
}

.entry-phrases-rule {
  margin: 0 0 var(--entry-space-blue);
}

.phrase-item {
  margin-bottom: var(--entry-space-pink);
}

.phrase-item:last-child {
  margin-bottom: 0;
}

.phrase-main,
.sense-main {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  column-gap: 0.7rem;
  align-items: start;
}

.phrase-content,
.sense-content {
  min-width: 0;
}

.phrase-content p:not(.phrase-variant),
.sense-content p {
  margin: 0 0 var(--entry-space-yellow);
  font-size: 16px;
  line-height: 1.55;
}

.phrase-headword {
  color: #434547;
  font-weight: 700;
}

.phrase-headword:has(+ .phrase-variant) {
  margin-bottom: 0 !important;
}

.phrase-headword + .phrase-variant {
  margin-top: 0;
}

.phrase-variant {
  font-size: 0.8rem;
  line-height: 1.35;
  margin-bottom: var(--entry-space-yellow);
}

.form-tag-value {
  margin: 0;
  color: #3e6ba7;
  text-transform: none;
  min-width: 5rem;
}

.form-word {
  font-size: 16px;
  color: #3e6ba7;
  font-weight: 700;
}

.form-label-inline {
  color: #9cb1c9;
  font-weight: 400;
  font-size: 0.88rem;
}

.entry-forms-block .form-main {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
  min-width: 0;
}

.entry-forms-block .form-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  min-height: 18px;
}

.entry-forms-block .form-pronunciation {
  font-family: var(--font-family-pronunciation);
  font-size: 0.88rem;
  color: #9cb1c9;
  white-space: nowrap;
}

.entry-forms-block .form-sound-icon {
  width: 14px;
  height: 14px;
  margin: 0 4px;
}

.entry-forms-block .form-item > .mini-list {
  grid-column: 2;
  width: 100%;
  margin-top: var(--entry-space-yellow);
}

.form-list-toggle {
  font-family: var(--font-family-small-caps);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.7rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #5b9dca;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.form-list-toggle::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.18s ease;
}

.form-list-toggle.is-expanded::after {
  transform: rotate(-135deg) translateY(-3px);
  margin-left: 2px;
}

.sense-item {
  margin-bottom: var(--entry-space-pink);
}

.sense-marker {
  display: block;
  color: var(--black);
  background: transparent;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
}

.entry-usage-note-block {
  margin: 0 0 var(--entry-space-smaller);
  padding-left: calc(1rem + 0.7rem);
  display: grid;
  gap: 0.18rem;
}

.entry-usage-note {
  font-family: var(--font-family-small-caps);
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.35px;
  line-height: 1.35;
  text-transform: uppercase;
}

.def-pair .label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.1rem 0.5rem;
  color: var(--white);
  background: #c8adad;
  transform: translateY(0.2rem);
}

.def-pair .label-en {
  background: #9cade0;
}

.phrase-content > .def-pair p,
.sense-content > .def-pair p {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 0.42rem;
  align-items: start;
}

.phrase-content > .def-pair + .def-pair {
  margin-top: 2.5rem;
}

.phrase-content > .def-pair .label,
.sense-content > .def-pair .label {
  margin-right: 0;
  justify-self: start;
}

.phrase-content > .sub-section,
.sense-content > .sub-section {
  padding-left: calc(32px + 0.42rem);
}

.example-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--entry-space-yellow);
}

.example-item {
  margin: 0;
}

.example-text {
  margin: 0 0 var(--entry-space-smaller) !important;
  padding-left: calc(1rem - 3px);
  border-left: 3px solid #9cb1c9;
  color: #385b80;
  font-size: 16px;
  font-style: italic;
}

.example-text::before {
  content: none;
}

.example-translation {
  margin: 0.25rem 0 0;
  padding-left: 1rem;
  color: #385b80;
  font-size: 16px;
  font-style: italic;
}

.sense-synonyms {
  margin: 0.65rem 0 0;
  color: #4d78a4;
  font-size: 16px;
  line-height: 1.45;
}

.sense-synonym-label {
  color: #356d9f;
  font-style: italic;
  font-weight: 700;
}

.sense-synonym-item,
.sense-synonym-usage,
.sense-synonym-value {
  color: inherit;
  font-style: italic;
}

.mini-list {
  margin: var(--entry-space-yellow) 0 0;
  padding-left: 1rem;
}

.mini-list li {
  margin: 0.06rem 0;
  font-size: 0.75rem;
  line-height: 1.45;
}

.term {
  font-family: var(--font-family-small-caps);
  font-size: 0.67rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}


.entry-page .decorative-column {
  position: absolute;
  top: 0px;
  right: -10px;
  z-index: 0;
  width: 25%;
  overflow: hidden;
  pointer-events: none;
  padding-top: 2.2rem;
}

.entry-page .tile {
  width: 100%;
  height: 330px;
  min-height: 0;
  opacity: 0.92;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.about-page .decorative-column {
  position: absolute;
  top: 0px;
  right: 5%;
  z-index: 0;
  width: 35%;
  overflow: hidden;
  pointer-events: none;
  padding-top: 6.2rem;
}

.about-page .tile {
  width: 100%;
  height: 330px;
  min-height: 0;
  opacity: 0.92;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
}

.about-page-illustration {
  display: none;
}

.home-hero-search .search-shell {
  width: 100%;
}

/* Media Queries */

@media print {
  .privacy-page-header {
    display: none;
  }

  .privacy-doc .page {
    padding: 40px 50px;
  }
}

@media (max-width: 980px) {
  .layout-home,
  .layout-entry,
  .layout-privacy {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .top-row {
    margin: 0 var(--entry-space-blue);
    width: stretch !important;
  }

  .entry-page-illustration {
    display: block;
    width: min(320px, calc(100% - 2rem));
    height: 120px;
    margin: 0 auto var(--entry-space-green);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
  }

.top-meta-icons {
    display: none;
  }

  .home-showcase {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.2rem;
  }

  .featured-entry-card {
    order: 2;
  }

  .home-illustration {
    order: 1;
    display: block;
    width: min(360px, 100%);
    padding-top: 0;
    justify-self: center;
    margin-top: 5rem;
  }

  .footer-partners {
    min-height: 58px;
    font-size: 0.72rem;
    gap: 0.8rem;
    flex-wrap: wrap;
    padding: 0.35rem 0;
  }

  .entry-page .layout-entry {
    display: block;
    margin: 0 var(--entry-space-blue);
    width: stretch;
  }

  .about-page .layout-entry {
    display: block;
    margin: 0 var(--entry-space-blue);
    width: stretch;
  }

  .standard-page .content-panel {
    width: 100%;
  }

  .entry-page .decorative-column {
    display: none;
  }

  .standard-page .search-row {
    padding-right: 0;
    width: stretch;
  }

  .info-card-about {
    padding: 2rem;
  }

  .privacy-page-header {
    padding: 2rem 2rem 0;
  }

  .privacy-doc .page {
    padding: 1rem 2rem 2rem;
  }

  .about-page .decorative-column {
    display: none;
  }

  .about-page.standard-page .content-panel {
    width: 100%;
  }

  .about-page-illustration {
    display: none;
  }

  .footer-home-logos-1 {
    grid-template-columns: 235px repeat(3, minmax(0, 1fr));
  }

  .footer-home-logos-2 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .footer-home-logos-1, .footer-home-logos-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-items: start;
    padding-right: 2rem;
    padding-left: 3rem;
  }
}

@media (max-width: 680px) {
  .cookie-banner {
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.75rem;
    transform: none;
    width: auto;
    padding: 0.7rem 0.75rem;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .cookie-actions {
    justify-content: flex-start;
  }

  .entry-section {
    margin-top: var(--entry-space-blue);
  }

  .wrap {
    width: stretch;
  }

  .top-row {
    min-height: 44px;
  }

  .top-meta-icons {
    display: none;
  }

  h1 {
    font-size: 1.38rem;
  }

  .content-panel {
    padding: 0.85rem;
  }

  .footer-row,
  .footer-row-sub {
    min-height: 44px;
    font-size: 1rem;
  }

  .footer-row-top {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .info-page-main,
  .privacy-page-main {
    width: min(100%, calc(100% - 1rem));
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .about-page-header {
    align-items: flex-start;
    flex-direction: column;
    margin: 1.5rem 0;
  }

  .about-section-summary {
    padding-left: 2rem;
  }

  .about-image-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .privacy-page-header {
    padding: 2rem 2rem 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .privacy-doc .page {
    padding: 1rem 2rem 2rem;
  }

  .home-hero::after {
    left: 0;
    bottom: -26px;
    transform: none;
    width: 100%;
    height: 52px;
  }

  .home-hero-inner h1 {
    font-size: 2.2rem;
  }

  .home-hero-search {
    --search-input-padding-right: 2.9rem;
    margin: 0;
  }

  .home-showcase {
    margin: 0.6rem var(--entry-space-blue) 0;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .home-illustration {
    width: min(320px, 100%);
    height: 240px;
    margin: 3rem auto 0;
    padding-top: 0;
  }

  .entry-page {
    --entry-anchor-offset: var(--entry-space-blue);
  }

  .standard-page .site-header {
    position: static;
  }

  .entry-page .entry-quick-jumps-desktop,
  .entry-page .entry-quick-jumps-mobile {
    position: static;
    top: auto;
    z-index: auto;
    padding: 0;
    border-bottom: 0;
  }

  .standard-page .top-row {
    min-height: 48px;
    padding: 0.35rem 0 0.45rem;
    align-items: center;
    flex-wrap: wrap;
  }

  .standard-page .menu {
    width: 100%;
    justify-content: flex-start;
  }

  .entry-card {
    margin-top: 1.2rem;
    padding-top: 0.95rem;
  }

  .entry-card h2 {
    font-size: 1.8rem;
  }

  .entry-quick-jumps-desktop {
    display: none;
  }

  .entry-quick-jumps-mobile {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1rem;
    margin: var(--entry-space-blue) 0;
  }

  .entry-quick-jumps-mobile .entry-jump,
  .entry-quick-jumps-mobile .entry-jump-more {
    width: auto;
    min-width: 0;
    flex: 0 0 auto;
  }

  .entry-quick-jumps-mobile .entry-jump {
    white-space: nowrap;
    min-height: 28px;
    padding: 0.22rem 0.72rem 0.38rem;
    font-size: 1rem;
  }

  .entry-quick-jumps-mobile .entry-jump-more-toggle {
    width: auto;
  }

  .entry-quick-jumps-mobile .entry-jump-more-menu {
    min-width: max-content;
    right: 0;
  }

  .search-autocomplete-item,
  .search-autocomplete-empty,
  .search-autocomplete-group {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .search-autocomplete-item {
    padding: 0.8rem 0.95rem;
  }

  .search-autocomplete-group,
  .search-autocomplete-empty {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .info-card-about {
    padding: 1rem;
  }
}

@media (max-width: 400px) {
  .menu {
    display: none;
  }
}
