.tgmenu__nav .logo img {
    height: 40px;
    margin-top: 2px;
}

.footer__content-right .accreditations img {
    max-height: 40px;
    width: 110px;
}

/* Logo */
.footer__logo img {
    width: 120px;
    height: auto;
    display: block;
}

/* Ensure the whole "Our Offices" block uses full width */
.team__social-wrap.footer__social-wrap,
.team__social-wrap.footer__social-wrap .footer__offices {
    width: 100%;
}

/* Offices row */
.footer__offices {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 48px 0px;
}

/* Each office card */
.footer__office {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1 0;
    min-width: 0;
    padding: 0 28px;
    gap: 10px;
}

/* Flag */
.footer__office img {
    width: 36px;
    display: block;
}

/* Address formatting */
.footer__office p {
    white-space: pre-line;
    margin: 0;
    line-height: 1.45;
}

/* Subtle tapered separator between offices */
.footer__office:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 0;
    width: 1px;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0.22),
        rgba(255,255,255,0)
    );
}

/* Brand row (logo + about) */
.footer__brand {
    display: flex;
    align-items: center;
    gap: 39px;
    margin-bottom: 22px;
}

.footer__menu {
    margin-top: 40px;
}

.footer__about {
    flex: 1;
    min-width: 0;
    margin-top: 37px;
}

.footer__about .title {
    margin: 0 0 6px 0;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 16px;
    display: block;
}

.footer__about p {
    margin: 0;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

/* Links list grid (right panel) */
.footer__menu .list-wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer__menu .list-wrap li {
    margin: 0;
}

.footer__menu .list-wrap a {
    display: inline-block;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    line-height: 1.2;
    padding: 2px 0;
}

.footer__menu .list-wrap a:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* =========================================
   CENTER "FOLLOW US" ICONS (scoped)
   ========================================= */

/* Center the UL itself */
.footer__content-left .footer__social-wrap > .list-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
}

/* Ensure list items don't carry theme margins */
.footer__content-left .footer__social-wrap > .list-wrap li {
    margin: 0;
}

/* Keep anchors tight so centering is true */
.footer__content-left .footer__social-wrap > .list-wrap li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   MOBILE OPTIMISATION
   ========================================= */

@media (max-width: 768px) {
    /* Brand stacks nicely */
    .footer__brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
        margin-bottom: 18px;
    }

    .footer__about {
        margin-left: 0;
        margin-top: 0;
    }

    /* Offices stack */
    .footer__offices {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .footer__office {
        padding: 16px 0;
    }

    /* Switch separator to horizontal on stacked layout */
    .footer__office:not(:last-child)::after {
        top: auto;
        bottom: 0;
        left: 10%;
        right: 10%;
        width: auto;
        height: 1px;
        background: linear-gradient(
            to right,
            rgba(255,255,255,0),
            rgba(255,255,255,0.22),
            rgba(255,255,255,0)
        );
    }

    /* Follow icons: keep centered + add a bit more breathing room */
    .footer__content-left .footer__social-wrap > .list-wrap {
        gap: 12px;
        padding-top: 6px;
    }

    .footer__menu {text-align:center;}
}

@media (max-width: 576px) {
    /* Links become single column */
    .footer__menu .list-wrap {
        grid-template-columns: 1fr;
    }

    /* Accreditations: allow wrapping and center */
    .footer__menu .list-wrap.accreditations {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
    }
}

img.email-svg {width: 170px;top: 1px;position: relative;}

.alpha-parentheses {
  list-style: none;
  counter-reset: alpha-counter;
  padding-left: 29px;
  font-size: 20px;
}

.alpha-parentheses li {
  counter-increment: alpha-counter;
  position: relative;
  padding-left: 40px;
  margin-bottom: 20px;
}

.alpha-parentheses li::before {
  content: "(" counter(alpha-counter, lower-alpha) ")";
  position: absolute;
  left: 0;
  font-weight: 600;
}

ul.policy-text {font-size: 20px;}

/* CONTACT PAGE: Offices — flag left, text still centered */
.offices-list .office-item{
    position: relative;
    display: grid;
    grid-template-columns: 98px 266px 118px;
    align-items: center;
    padding: 18px 0;
    gap: 14px;
    text-align: center;
}

/* Keep icon in the left column */
.offices-list .office-item .office-flag{
  grid-column: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Center the address block in the middle column */
.offices-list .office-item .content{
  grid-column: 2;
}

.offices-list .office-item .content p{
  margin: 0;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
}

/* Flag sizing */
.offices-list .office-flag img{
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

/* Tapered divider stays the same */
.offices-list .office-item:not(:last-child)::after{
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(255,255,255,0),
    rgba(255,255,255,0.22),
    rgba(255,255,255,0)
  );
}

/* On small screens, drop the spacer so it doesn’t feel cramped */
@media (max-width: 576px){
  .offices-list .office-item{
    grid-template-columns: 36px 1fr; /* flag | text */
  }
}

/* Flag column container */
.offices-list .office-flag{
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Circle around only the flag */
.flag-circle{
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    padding: 10px;
}

.flag-circle img{
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

/* Country name sits BELOW circle */
.office-country{
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  color: rgba(255,255,255,0.85);
}

/* Hero button alignment */
.banner__btn {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Learn More button styling */
.tg-btn-learn {
    background: #5D5D5D;
    color: #ffffff;
    transition: 0.3s ease;
    height: 48px;
}

.tg-btn-learn:hover {
    background: var(--tg-color-white-default);
    color: var(--tg-color-dark);
}

pre.pgp-keyblock {
    height: 280px;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    word-break: break-all;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    white-space: pre-wrap;
    line-height: 18px;
    font-size: 12.3px;
    border-bottom: none;
    padding: 14px;
    margin-top: 16px;
}

/* PGP copy block */
.pgp-copy {
  width: 100%;
}

.pgp-copy__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.pgp-copy__btn {
  padding: 10px 16px;
  border-radius: 8px;
  line-height: 1;
}

.pgp-copy__status {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.pgp-copy__status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Honeypot: visually hidden but present for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}