/* ===== FOOTER FLAGS WIDGET ===== */
.tc-footer-countries {
  width: 100%;
  max-width: 1200px;
  margin: 30px auto 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.20);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: #fff;
  font-family: inherit;
}

.tc-footer-countries__label {
  line-height: 1.4;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
}

.tc-footer-countries__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.tc-footer-countries .tc-country-link,
.tc-footer-countries .tc-country-link:link,
.tc-footer-countries .tc-country-link:visited,
.tc-footer-countries .tc-country-link:hover,
.tc-footer-countries .tc-country-link:active {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: none !important;
  line-height: 1;
  box-shadow: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.tc-footer-countries .tc-country-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-1px);
}

.tc-footer-countries .tc-country-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.tc-country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

.tc-country-flag img {
  display: block;
  height: 14px;
  width: auto;
  border-radius: 2px;
}

.tc-country-name {
  display: inline-block;
}

.tc-footer-countries .tc-country-link.is-current {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.34);
  color: #fff !important;
  cursor: default;
}

@media (max-width: 768px) {
  .tc-footer-countries {
    justify-content: center;
    text-align: center;
    margin: 22px auto 18px;
    padding-top: 16px;
  }

  .tc-footer-countries__label {
    width: 100%;
    white-space: normal;
  }

  .tc-footer-countries__list {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .tc-footer-countries {
    gap: 10px;
  }

  .tc-footer-countries .tc-country-link,
  .tc-footer-countries .tc-country-link:link,
  .tc-footer-countries .tc-country-link:visited {
    padding: 7px 10px;
  }

  .tc-country-flag img {
    height: 13px;
  }
}
