.owell-language {
  position: relative;
  font-size: 13px;
  text-align: left;
  color: inherit;
}

.owell-language summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 8px;
  font-weight: 600;
}

.owell-language-label-mobile,
.owell-language-flag {
  display: none;
}

.owell-language-chevron {
  width: 7px;
  height: 7px;
  margin-block-start: -4px;
  border-right: 1.5px solid currentcolor;
  border-bottom: 1.5px solid currentcolor;
  transform: rotate(45deg);
}

.owell-language[open] > summary .owell-language-chevron {
  margin-block-start: 3px;
  transform: rotate(225deg);
}

.owell-language summary::-webkit-details-marker {
  display: none;
}

.owell-language-scrim {
  display: none;
}

.owell-language-panel {
  position: absolute;
  right: 0;
  top: 100%;
  width: 248px;
  max-width: calc(100vw - 32px);
  padding: 18px;
  background: #fff;
  color: #25282d;
  border: 1px solid #e1e3e7;
  box-shadow: 0 12px 30px #0002;
  z-index: 110;
}

.owell-language-panel p {
  font-size: 12px;
  margin: 0 0 10px;
  font-weight: 600;
}

.owell-language-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.owell-language-panel a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px;
  color: #25282d;
  text-decoration: none;
}

.owell-language-panel a[aria-current="true"] {
  color: #b7222c;
  font-weight: 600;
}

.owell-language-panel a:hover,.owell-language-panel a:focus-visible {
  background: #f3f4f6;
  color: #b7222c;
}

.owell-language-panel small {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.55;
  color: #606570;
}

.owell-language summary:focus-visible {
  outline: 2px solid #b7222c;
  outline-offset: 3px;
}

.owell-language-mobile {
  display: none;
}

.owell-share {
  display: flex;
  align-items: center;
  gap: 10px 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.owell-share-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #666b73;
}

.owell-share [class~="addtoany_list"] {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
  max-width: 100%;
  gap: 2px;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.owell-share [class~="addtoany_list"] a {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  flex: none;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}

.owell-share [class~="addtoany_list"] a::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 50% auto auto 50%;
  transform: translate(-50%,-50%);
  box-sizing: border-box;
  width: 32px;
  height: 32px;
  border: 1px solid #dce0e5;
  border-radius: 50%;
  background: #fff;
  transition: border-color .15s;
}

.owell-share [class~="addtoany_list"] a:is(:hover,:focus-visible)::before {
  border-color: #b7222c;
}

.owell-share [class~="addtoany_list"] a:focus-visible {
  outline: 2px solid #b7222c;
  outline-offset: 2px;
}

.owell-share [class~="addtoany_list"] a span {
  border-radius: 50%!important;
}

.owell-share [class~="addtoany_list"] a > :is(img,span) {
  width: 18px!important;
  height: 18px!important;
}

@media(width < 1024px) {
  .header-language {
    display: block;
  }

  .header-language .owell-language-label-desktop {
    display: none;
  }

  .header-language .owell-language-label-mobile {
    display: inline;
  }

  .header-language .owell-language-flag {
    display: block;
    width: 21px;
    height: 14px;
    flex: 0 0 21px;
    border-radius: 1px;
  }

  .header-language .owell-language-panel {
    position: fixed;
    inset-block-start: calc(var(--header-admin-offset, 0px) + var(--header-offset, 72px) + 10px);
    inset-inline-end: 16px;
    width: min(308px, calc(100vw - 32px));
    max-width: none;
    max-height: calc(100dvh - var(--header-admin-offset, 0px) - var(--header-offset, 72px) - 26px);
    overflow-y: auto;
    z-index: 112;
  }

  .header-language .owell-language-panel ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
  }

  .header-language .owell-language-panel li {
    min-width: 0;
  }

  .header-language .owell-language-panel a {
    min-height: 44px;
    padding: 8px;
    border-bottom: 1px solid #eceef0;
    gap: 9px;
    white-space: nowrap;
  }

  .header-language .owell-language-panel a .owell-language-flag {
    display: block;
    width: 21px;
    height: 14px;
  }

  .header-language .owell-language-panel small {
    margin-top: 8px;
    padding-top: 8px;
    font-size: 10px;
    line-height: 1.45;
  }

  .header-language .owell-language > summary {
    position: relative;
    z-index: 113;
  }

  .header-language .owell-language-scrim {
    position: fixed;
    inset-block: calc(var(--header-admin-offset, 0px) + var(--header-offset, 72px)) 0;
    inset-inline: 0;
    z-index: 0;
    display: none;
    background: rgb(14 16 18 / 65%);
    pointer-events: none;
  }

  .header-language .owell-language[open] .owell-language-scrim {
    display: block;
  }

  .owell-language-mobile {
    display: none;
  }

}

@media(prefers-reduced-motion:reduce) {
  .owell-share [class~="addtoany_list"] a::before {
    transition: none;
  }
}

/* Text fallback until AddToAny replaces empty anchors with its icons. */

.owell-share [class~="addtoany_list"] a:empty {
  border-radius: 6px;
  min-width: 44px;
  padding: 8px;
  font-size: 12px;
  color: #25282d;
  text-decoration: none;
}

.owell-share [class~="addtoany_list"] a:empty::before {
  content: attr(title);
}

.owell-share-status {
  flex-basis: 100%;
  font-size: 12px;
  overflow-wrap: anywhere;
}

.odp-content-sharing > .owell-share {
  width: 100%;
  margin-top: 0;
}

.odp-content-sharing:empty {
  display: none;
}

@media (width <= 620px) {
  .owell-share > .owell-share-label {
    flex-basis: 100%;
  }
}

.owell-privacy-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px;
  background: #fff;
  font-size: 12px;
}

.owell-footer .utility-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.owell-footer .utility-nav button.utility-link {
  border: 0;
  background: none;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
}

.owell-footer .utility-nav .utility-link:focus-visible {
  outline: 2px solid var(--gold, #b7222c);
  outline-offset: 5px;
}

@media(width < 600px) {
  .owell-share [class~="addtoany_list"] {
    flex-wrap: wrap;
  }

  .owell-footer .utility-nav {
    gap: 10px;
  }
}

/* Real narrow-screen QA: keep the approved footer grid inside the viewport. */

@media(width < 600px) {
  .owell-footer .footer-bottom .copyright {
    white-space: normal;
    min-width: 0;
    max-width: 100%;
  }

  .owell-footer .footer-bottom {
    min-width: 0;
  }

  .owell-footer .utility-nav {
    min-width: 0;
    max-width: 100%;
  }
}
