/* ----------------------------- */
/* ------------FLAGS------------- */
/* ----------------------------- */

/* container */
.pill-web-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* card */
.pill-2 {
  position: relative;
  display: block;
  width: 100%;
  height: 260px;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  background: #000; /* fallback while image loads */
}

/* background image layer */
.pill-2 img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* overlay (does NOT darken text) */
.pill-2::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

/* centered text */
.pill-2 span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-weight: 700;
  font-size: 2.2rem;
  text-align: center;
  padding: 0 1rem;

  /* crisp readable stroke */
  -webkit-text-stroke: 1.5px #000;
  paint-order: stroke fill;

  z-index: 2;
}

/* hover */
.pill-2:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}

/* banner */
.banner-wrapper {
  background: #000;
  text-align: center;
}

.banner-gif {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.flag-div {
  text-align: center;
  color: #000
}

.flag-div-img {
  display: block;
  margin: 0 auto;          /* centres the image */
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(0, 0, 0, 0.2);  /* subtle border */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08); /* soft shadow for depth */
}

.pill-web-links-2 {
  max-width: 70%;
  margin: 2.5rem auto;   /* centres the whole block */
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pill-20 {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;

  padding: 1.1rem 1.6rem;
  border-radius: 14px;
  border: 1px solid #404040;
  background: #ffffff;

  text-decoration: none;
  color: #000!important;

  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pill-20 img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.pill-20 span {
  font-size: 1.75rem;
  font-weight: 700;
}

/* hover effect */
.pill-20:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}

.pill-20:visited {
  color: #000;
}

.coa-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;

  align-items: center;

  padding: 1.6rem;
  margin: 2rem 0;

  border: 1px solid #444;
  border-radius: 12px;
  background: #fff;
}

.coa-img {
  width: 160px;
  height: auto;
}

.coa-content h3 {
  margin: 0 0 0.4rem 0;
  font-size: 1.35rem;
}

/* Blazon text */
.blazon {
  font-style: italic;                               /* italic for heraldic style */
  margin-bottom: 1rem;
  color: #222;                                     /* optional: slightly darker for readability */
}
