/* Georgia eVisa — eligible countries page */
.eligible-countries-page {
  padding-bottom: 2rem;
}
.eligible-countries-page .section-head.left p {
  max-width: none;
}
.eligible-countries-page .eligible-intro {
  padding-top: 0.35rem;
}
.eligible-countries-page .content-section {
  padding: 0.85rem 0;
}
.eligible-section__header {
  text-align: center;
  margin-bottom: 1.1rem;
}
.eligible-section__header h2 {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 400;
}
.eligible-section__header p {
  max-width: 760px;
  margin: 0 auto;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--muted);
}
.eligible-regions {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.eligible-region h3 {
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--portal-green);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
}
.eligible-countries-page .country-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1.1rem;
}
.eligible-countries-page .country-list li {
  position: relative;
  padding: 0.25rem 0 0.25rem 1.15rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--ink-soft);
  border-bottom: 0;
}
.eligible-countries-page .country-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0.25rem;
  color: var(--portal-green);
  font-size: 0.75rem;
  font-weight: 700;
}
.eligible-countries-page .country-list--5col {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.eligible-table-note {
  max-width: 820px;
  margin: 0 auto 1rem;
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--muted);
}
.eligible-table-note a {
  font-weight: 600;
}
.eligible-cta {
  margin-top: 0.5rem;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}
.eligible-cta--left {
  justify-content: flex-start;
  margin-top: 0.85rem;
}
.eligible-cta .btn {
  margin-top: 0;
}
.eligible-cta .btn:hover,
.eligible-cta .btn:focus-visible,
.country-guide-page a.btn:hover,
.country-guide-page a.btn:focus-visible {
  text-decoration: none;
}
.country-guide-page a.btn-primary:hover,
.country-guide-page a.btn-primary:focus-visible {
  background: var(--portal-green-dark, #1b6b48);
  color: #fff;
  border-color: transparent;
}
.country-guide-page a.btn-outline:hover,
.country-guide-page a.btn-outline:focus-visible {
  background: var(--portal-nav, #2c3e50);
  color: #fff;
  border-color: var(--portal-nav, #2c3e50);
}
@media (max-width: 1100px) {
  .eligible-countries-page .country-list--5col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .eligible-countries-page .country-list--5col {
    grid-template-columns: 1fr 1fr;
  }
  .eligible-cta--left {
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .eligible-countries-page .country-list,
  .eligible-countries-page .country-list--5col {
    grid-template-columns: 1fr;
  }
}

.eligible-countries-page .country-list a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 0.12em;
  font-weight: 600;
}
.eligible-countries-page .country-list a:hover,
.eligible-countries-page .country-list a:focus-visible {
  color: var(--portal-green);
}

/* ── Country guide pages (Algeria-style layout, Georgia theme) ── */
.country-hero-banner {
  background: linear-gradient(120deg, #1b6b48 0%, #22805a 48%, #2f9a6d 100%);
  color: #fff;
  padding: 1.65rem 0;
}
.country-hero-banner__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 400;
  line-height: 1.25;
  text-align: center;
  color: #fff;
}
.country-page {
  padding-top: 1.1rem;
}
.country-guide-page {
  --cg-primary: var(--portal-green, #22805a);
  --cg-primary-dark: var(--portal-green-dark, #1b6b48);
  --cg-primary-light: var(--portal-green-soft, #e8f7f0);
  --cg-primary-border: #9fd4b8;
  --cg-primary-text: #16553c;
  --cg-success: #0b7a4e;
  --cg-success-light: #d1fae5;
  --cg-success-border: #6ee7b7;
  --cg-warning: #92400e;
  --cg-warning-light: #fef3c7;
  --cg-warning-border: #fcd34d;
  --cg-neutral-50: #f9fafb;
  --cg-neutral-100: #f3f4f6;
  --cg-neutral-200: #e5e7eb;
  --cg-neutral-500: #6b7280;
  --cg-neutral-700: #374151;
  --cg-neutral-900: #111827;
  --cg-radius: 10px;
  --cg-radius-sm: 6px;
  --cg-radius-lg: 14px;
  --cg-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);

  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0.25rem 0 2.5rem;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--cg-neutral-900);
}
.country-guide-page [id] {
  scroll-margin-top: 92px;
}
.country-guide-page .ag-row {
  display: grid;
  gap: 1.35rem;
  align-items: start;
}
.country-guide-page .ag-row.ag-row-tight {
  gap: 1.1rem;
}
@media (min-width: 768px) {
  .country-guide-page .ag-row-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.country-guide-page .ag-section-pair {
  margin-bottom: 2.4rem;
}
.country-guide-page .ag-section-pair .section-block {
  margin-bottom: 0;
}
.country-guide-page .ag-toc-visa-row {
  margin-bottom: 2rem;
}
.country-guide-page .ag-docs-layout {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}
@media (min-width: 768px) {
  .country-guide-page .ag-docs-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem 2rem;
  }
  .country-guide-page .ag-docs-col-media {
    padding-left: 1.5rem;
    border-left: 1px solid var(--cg-neutral-200);
    position: sticky;
    top: 96px;
  }
}
.country-guide-page .ag-docs-figure {
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: var(--cg-radius-lg);
  border: 1px solid var(--cg-neutral-200);
  background: linear-gradient(165deg, var(--cg-neutral-50) 0%, #fff 55%);
  box-shadow: var(--cg-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}
.country-guide-page .ag-docs-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(420px, 55vh);
  object-fit: contain;
  border-radius: var(--cg-radius-sm);
}
.country-guide-page h2.article-deck {
  font-size: clamp(1.35rem, 2.6vw, 1.65rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--cg-neutral-900);
  margin: 0 0 1rem;
  text-align: center;
}
.country-guide-page .article-intro {
  font-size: 1.05rem;
  color: var(--cg-neutral-700);
  line-height: 1.75;
  border-left: 4px solid var(--cg-primary);
  padding: 0.7rem 1rem;
  background: var(--cg-primary-light);
  border-radius: 0 var(--cg-radius-sm) var(--cg-radius-sm) 0;
  margin-bottom: 1.35rem;
}
.country-guide-page .ag-country-hero-figure {
  margin: 0 0 1rem;
}
.country-guide-page .section-block {
  content-visibility: auto;
  contain-intrinsic-size: 1px 420px;
}
.country-guide-page .ag-toc-visa-row,
.country-guide-page #what-is,
.country-guide-page #eligible,
.country-guide-page #docs {
  content-visibility: visible;
}
.country-guide-page .ag-country-hero-image {
  display: block;
  width: 100%;
  margin: 0;
}
.country-guide-page .ag-country-hero-image img,
.country-guide-page .ag-country-hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--cg-radius);
  border: 1px solid var(--cg-neutral-200);
}
.country-guide-page .toc-box {
  background: var(--cg-neutral-50);
  border: 1px solid var(--cg-neutral-200);
  border-radius: var(--cg-radius-lg);
  padding: 1.15rem 1.35rem;
  margin: 0;
  height: 100%;
  box-sizing: border-box;
}
.country-guide-page .toc-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--cg-neutral-500);
  margin-bottom: 0.85rem;
}
.country-guide-page .toc-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 1.1rem;
  margin: 0;
  padding: 0;
}
.country-guide-page .toc-list li a {
  font-size: 0.9rem;
  color: var(--cg-primary-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0;
}
.country-guide-page .toc-list li a:hover {
  color: var(--cg-primary);
  text-decoration: underline;
}
.country-guide-page .toc-num {
  color: var(--cg-neutral-500);
  min-width: 1.35rem;
  font-weight: 600;
}
.country-guide-page .section-block {
  margin-bottom: 2.4rem;
}
.country-guide-page h2.sec-h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cg-neutral-900);
  margin: 0 0 0.85rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--cg-primary);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.country-guide-page .sec-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--cg-primary-light);
  border: 1.5px solid var(--cg-primary-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--cg-primary-text);
  font-weight: 700;
  flex-shrink: 0;
}
.country-guide-page h3.sec-h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cg-neutral-900);
  margin: 0.85rem 0 0.55rem;
  padding-left: 0.6rem;
  border-left: 3px solid var(--cg-primary);
}
.country-guide-page p.body-text {
  font-size: 0.97rem;
  line-height: 1.8;
  color: var(--cg-neutral-900);
  margin-bottom: 0.85rem;
}
.country-guide-page .highlight-box {
  background: var(--cg-primary-light);
  border: 1px solid var(--cg-primary-border);
  border-radius: var(--cg-radius);
  padding: 0.85rem 1.05rem;
  margin: 1rem 0;
}
.country-guide-page .highlight-box p {
  font-size: 0.93rem;
  color: var(--cg-primary-text);
  line-height: 1.65;
  margin: 0;
}
.country-guide-page .warning-box {
  background: var(--cg-warning-light);
  border: 1px solid var(--cg-warning-border);
  border-radius: var(--cg-radius);
  padding: 0.85rem 1.05rem;
  margin: 1rem 0;
}
.country-guide-page .warning-box p {
  font-size: 0.93rem;
  color: var(--cg-warning);
  line-height: 1.65;
  margin: 0;
}
.country-guide-page .checklist {
  list-style: none;
  margin: 0.85rem 0 1rem;
  padding: 0;
  border: 1px solid var(--cg-neutral-200);
  border-radius: var(--cg-radius);
  overflow: hidden;
}
.country-guide-page .checklist li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--cg-neutral-900);
  padding: 0.75rem 0.95rem;
  border-bottom: 1px solid var(--cg-neutral-200);
  background: #fff;
}
/* Kill global .checklist li::before tick (style.css) — use .check-dot only */
.country-guide-page .checklist li::before {
  content: none !important;
  display: none !important;
}
.country-guide-page .checklist li:last-child {
  border-bottom: none;
}
.country-guide-page .checklist li:nth-child(even) {
  background: var(--cg-neutral-50);
}
.country-guide-page .check-dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--cg-success-light);
  border: 1px solid var(--cg-success-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: 0;
  color: transparent;
  font-weight: 700;
  line-height: 1;
  position: relative;
}
.country-guide-page .check-dot::before {
  content: "";
  width: 0.38rem;
  height: 0.62rem;
  border: solid var(--cg-success);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translateY(-1px);
  box-sizing: border-box;
}
.country-guide-page .country-social-footer {
  margin-top: 1.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--cg-neutral-200);
}
.country-guide-page .country-social-footer .page-social-share {
  margin: 0;
}
.country-guide-page .circle-steps {
  margin: 0.85rem 0 1rem;
  padding-left: 1.25rem;
}
.country-guide-page .circle-steps li {
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--cg-neutral-900);
}
.country-guide-page .ag-process-grid {
  display: grid;
  gap: 1rem;
  margin: 0.4rem 0 1.1rem;
}
/* Desktop/tablet: processing cards side by side */
@media (min-width: 640px) {
  .country-guide-page .ag-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.country-guide-page .ag-process-card {
  background: #fff;
  border: 1px solid var(--cg-neutral-200);
  border-radius: var(--cg-radius-lg);
  padding: 1.15rem 1.25rem 1.05rem;
  box-shadow: var(--cg-shadow-sm);
  border-top: 3px solid var(--cg-primary);
  min-width: 0;
}
.country-guide-page .ag-process-card--express {
  border-top-color: var(--cg-success);
}
.country-guide-page .ag-process-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cg-neutral-500);
  margin: 0 0 0.45rem;
}
.country-guide-page .ag-process-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cg-neutral-900);
  margin: 0 0 0.55rem;
}
.country-guide-page .ag-process-time {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--cg-primary-text);
  margin: 0 0 0.55rem;
}
.country-guide-page .ag-process-card--express .ag-process-time {
  color: var(--cg-success);
}
.country-guide-page .ag-process-note {
  font-size: 0.9rem;
  color: var(--cg-neutral-700);
  line-height: 1.6;
  margin: 0;
}

/* Desktop defaults: single-column lists / FAQ (2-col only on mobile) */
.country-guide-page .checklist.checklist--2col {
  display: block;
}
.country-guide-page .faq-list--2col {
  display: block;
}
.country-guide-page .faq-list--2col .faq-item {
  margin: 0 0 0.55rem;
}

/* ── Mobile only (≤767px) ── */
@media (max-width: 767px) {
  .country-hero-banner {
    padding: 1rem 0;
  }
  .country-hero-banner__title {
    font-size: 1.05rem;
    line-height: 1.3;
    padding: 0 0.25rem;
  }
  .country-page {
    padding-top: 0.65rem;
  }
  .country-guide-page {
    padding-bottom: 1.5rem;
    font-size: 0.88rem;
    line-height: 1.55;
  }
  .country-guide-page h2.article-deck {
    font-size: 1.05rem;
    margin-bottom: 0.7rem;
  }
  .country-guide-page .article-intro {
    font-size: 0.86rem;
    line-height: 1.55;
    padding: 0.55rem 0.7rem;
    margin-bottom: 0.95rem;
  }
  .country-guide-page h2.sec-h2 {
    font-size: 0.95rem;
    gap: 0.45rem;
    margin-bottom: 0.55rem;
    padding-bottom: 0.4rem;
  }
  .country-guide-page .sec-icon {
    width: 1.35rem;
    height: 1.35rem;
    font-size: 0.65rem;
  }
  .country-guide-page h3.sec-h3 {
    font-size: 0.88rem;
    margin: 0.55rem 0 0.4rem;
  }
  .country-guide-page p.body-text {
    font-size: 0.84rem;
    line-height: 1.55;
    margin-bottom: 0.6rem;
  }
  .country-guide-page .highlight-box,
  .country-guide-page .warning-box {
    padding: 0.6rem 0.75rem;
    margin: 0.7rem 0;
  }
  .country-guide-page .highlight-box p,
  .country-guide-page .warning-box p {
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .country-guide-page .toc-box {
    padding: 0.75rem 0.85rem;
  }
  .country-guide-page .toc-title {
    font-size: 0.7rem;
    margin-bottom: 0.55rem;
  }
  /* TOC: 2 columns on mobile */
  .country-guide-page .toc-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.1rem 0.55rem;
  }
  .country-guide-page .toc-list li a {
    font-size: 0.72rem;
    gap: 0.25rem;
    padding: 0.18rem 0;
    align-items: flex-start;
    line-height: 1.3;
  }
  .country-guide-page .toc-num {
    min-width: 1.1rem;
    font-size: 0.7rem;
  }
  .country-guide-page .ag-row {
    gap: 0.85rem;
  }
  .country-guide-page .ag-section-pair {
    margin-bottom: 1.35rem;
  }
  .country-guide-page .section-block {
    margin-bottom: 1.35rem;
  }
  .country-guide-page .checklist li {
    font-size: 0.8rem;
    line-height: 1.45;
    padding: 0.55rem 0.6rem;
    gap: 0.45rem;
  }
  .country-guide-page .check-dot {
    width: 1.05rem;
    height: 1.05rem;
  }
  .country-guide-page .check-dot::before {
    width: 0.3rem;
    height: 0.5rem;
  }
  /* Embassy address/phone + hubs: 2 per row — mobile only */
  .country-guide-page .checklist.checklist--2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
  .country-guide-page .checklist.checklist--2col li {
    border-right: 1px solid var(--cg-neutral-200);
  }
  .country-guide-page .checklist.checklist--2col li:nth-child(2n) {
    border-right: none;
  }
  .country-guide-page .checklist.checklist--2col li:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .country-guide-page .checklist.checklist--2col li:nth-child(4n+1),
  .country-guide-page .checklist.checklist--2col li:nth-child(4n+2) {
    background: #fff;
  }
  .country-guide-page .checklist.checklist--2col li:nth-child(4n+3),
  .country-guide-page .checklist.checklist--2col li:nth-child(4n+4) {
    background: var(--cg-neutral-50);
  }
  .country-guide-page .checklist.checklist--hubs li {
    font-size: 0.74rem;
    padding: 0.45rem 0.5rem;
  }
  /* Border + Apply: 2 sections per row — mobile only */
  .country-guide-page .ag-border-apply {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }
  .country-guide-page .ag-border-apply .sec-h2 {
    font-size: 0.88rem;
  }
  /* Processing cards: 2 per row — mobile only */
  .country-guide-page .ag-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .country-guide-page .ag-process-card {
    padding: 0.7rem 0.65rem 0.65rem;
  }
  .country-guide-page .ag-process-label {
    font-size: 0.58rem;
  }
  .country-guide-page .ag-process-title {
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
  }
  .country-guide-page .ag-process-time {
    font-size: 0.82rem;
    margin-bottom: 0.35rem;
  }
  .country-guide-page .ag-process-note {
    font-size: 0.72rem;
    line-height: 1.4;
  }
  .country-guide-page .circle-steps {
    padding-left: 1rem;
    margin: 0.55rem 0 0.7rem;
  }
  .country-guide-page .circle-steps li {
    font-size: 0.82rem;
    margin-bottom: 0.4rem;
    line-height: 1.45;
  }
  /* FAQ: 2 per row — mobile only */
  .country-guide-page .faq-list--2col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem 0.5rem;
    align-items: start;
  }
  .country-guide-page .faq-list--2col .faq-item {
    margin: 0;
    min-width: 0;
  }
  .country-guide-page .faq-list--2col .faq-item summary {
    font-size: 0.74rem;
    line-height: 1.35;
    padding: 0.45rem 0.5rem;
  }
  .country-guide-page .faq-list--2col .faq-item p {
    font-size: 0.72rem;
    line-height: 1.45;
    margin: 0 0 0.45rem;
    padding: 0 0.5rem;
  }
  .country-guide-page .ag-docs-col-media {
    padding-left: 0;
    border-left: 0;
    position: static;
  }
  .country-guide-page .ag-country-hero-image img {
    max-height: 140px;
  }
  .country-guide-page .ag-docs-figure {
    min-height: 140px;
    padding: 0.55rem 0.65rem;
  }
  .country-guide-page .inner-page__actions .btn {
    font-size: 0.72rem;
    padding: 0.4rem 0.55rem;
  }
  .country-guide-page .country-social-footer {
    margin-top: 1.1rem;
    padding-top: 0.85rem;
  }
}

@media (max-width: 400px) {
  .country-guide-page .toc-list li a {
    font-size: 0.68rem;
  }
  .country-guide-page .faq-list--2col .faq-item summary {
    font-size: 0.7rem;
  }
  .country-guide-page .checklist.checklist--hubs li {
    font-size: 0.68rem;
  }
}
