/* ===== AJS If-So geo modal styling ===== */
.modal-active.tiny-modal-overlay .modalContent{
  min-width: min(560px, 92vw);
  min-height: 20vh;            /* ✅ your request */
  max-width: 92vw;
  max-height: 88vh;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.25);
}

/* Overlay tone (optional) */
.modal-active.tiny-modal-overlay{
  background: rgba(10,15,19,.55);   /* adjust to taste */
}

/* Logo */
.ajs-geo-logo{
  display: flex;
  justify-content: center;
  align-items: center;
}

.ajs-geo-logo img{
  height: 66px;                /* small + crisp */
  width: auto;
  display: block;
}

/* Center the content within available height */
.ajs-geo-body{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;     /* ✅ vertical centre */
  align-items: center;         /* ✅ horizontal centre */
  text-align: center;
}

/* Internal layout */
.modal-active.tiny-modal-overlay .modalContent .ajs-geo-modal{
  padding: 26px 26px 28px;
  color: #0A0F13;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
  min-height: 20vh;            /* keep consistent */
}

.ajs-geo-title{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ajs-geo-flag{
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.ajs-geo-country{
display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.ajs-geo-sub{
  margin: 8px 0 28px 0;
  font-size: 16.5px;
  line-height: 1.55;
  opacity: .86;
  max-width: 42ch;             /* keeps it readable */
}

.ajs-geo-actions{
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

.ajs-geo-btn{
  appearance: none;
  border: 1px solid rgba(10,15,19,.16);
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
}

.ajs-geo-btn:active{
  transform: translateY(1px);
}

.ajs-geo-btn--primary{
  background: #171796;       /* your brand blue */
  color: #fff;
  border-color: rgba(0,0,0,0);
  box-shadow: 0 10px 24px rgba(23,23,150,.22);
}

.ajs-geo-btn--primary:hover{
  box-shadow: 0 14px 32px rgba(23,23,150,.28);
  color: #fff;
	transform: translateY(-3px);
	text-decoration: none;
}

.ajs-geo-btn--ghost{
  background: rgba(10,15,19,.04);
  color: #0A0F13;
  font-size: 0.8em;
}

.ajs-geo-btn--ghost:hover{
  background: rgba(10,15,19,.07);
}

.ajs-geo-note{
  margin: 14px 0 0 0;
  font-size: 12.5px;
  opacity: .7;
}


.modal-active.tiny-modal-overlay .modalContent .closebutton {
	background-color: #171796; 
	float: right;
    right: 1%;
    top: 1vh;
	width: 4%;
    fill: #fff;
    border-radius: 100%;
	padding: 5px;
}

.ajs-geo-head{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 16px;
}

.ajs-geo-kicker{
display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.ajs-geo-switch{
  margin-top: 14px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ajs-geo-switch__toggle{
  background: transparent;
  border: none;
  padding: 8px 10px;
  font-weight: 600;
  cursor: pointer;
  opacity: .85;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  transition: background .18s ease, opacity .18s ease;
}

.ajs-geo-switch__toggle:hover{
  background: rgba(10,15,19,.04);
  opacity: 1;
}

.ajs-geo-switch__chev{
  transition: transform .18s ease;
}

.ajs-geo-switch__panel{
  margin-top: 10px;
  width: min(420px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ajs-geo-switch__link{
  text-decoration: none;
  border: 1px solid rgba(10,15,19,.12);
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 600;
  text-align: center;
  background: rgba(10,15,19,.02);
  transition: background .18s ease, border-color .18s ease, transform .08s ease;
  color: #0A0F13;
}

.ajs-geo-switch__link:hover{
  background: rgba(10,15,19,.05);
  border-color: rgba(10,15,19,.18);
}

.ajs-geo-switch__link:active{
  transform: translateY(1px);
}

/* Hide the region panel by default */
.ajs-geo-switch__panel{
  display: none;
}

/* Show only when expanded */
.ajs-geo-switch.is-open .ajs-geo-switch__panel{
  display: grid;
}

/* Mobile: keep 2 columns (2x2 etc.) */
@media (max-width: 420px){
  .ajs-geo-switch__panel{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px; /* optional */
  }
}

@media (max-width: 420px){
  .modal-active.tiny-modal-overlay .modalContent .closebutton{
    width: clamp(26px, 7vw, 36px);
  }
}

