/* Excursion photo cards and "You might also like" — shared by the Rio and Salvador guides */

.cg-exc-intro{
  margin: 0 0 14px;
}

.cg-exc-list{
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 0 20px;
  min-width: 0;
}

.cg-exc-card{
  background: #fff;
  border: 1px solid var(--line, #e6e9f0);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow, 0 10px 30px rgba(11,31,58,.08));
  min-width: 0;
}

.cg-exc-photo{
  margin: 0;
  background: #d6dde8;
}

.cg-exc-photo img{
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center center;
}

.cg-exc-card--top .cg-exc-photo img{ object-position: center 16%; }
.cg-exc-card--upper .cg-exc-photo img{ object-position: center 28%; }

.cg-exc-credit{
  margin: 0;
  padding: 8px 16px 0;
  font-size: 12px;
  line-height: 1.45;
  color: #3b4453;
}

.cg-exc-credit a{
  color: #0a4a8a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cg-exc-credit a:focus-visible{
  outline: 3px solid #0a4a8a;
  outline-offset: 2px;
  border-radius: 2px;
}

.cg-exc-body{
  padding: 12px 16px 16px;
  min-width: 0;
}

.cg-exc-body h3{
  margin: 0 0 4px;
  color: var(--navy, #0b1f3a);
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.cg-exc-facts{
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 12px 0;
}

.cg-exc-fact{
  background: var(--bg, #f6f7fb);
  border-radius: 12px;
  padding: 10px 12px;
  min-width: 0;
}

.cg-exc-fact dt{
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3b4453;
}

.cg-exc-fact dd{
  margin: 0;
  font-size: 15px;
  font-weight: 650;
  color: var(--ink, #0f172a);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.cg-exc-card details.cg-more{
  margin: 4px 0 14px;
  border: 1px solid var(--line, #e6e9f0);
  border-radius: 14px;
  background: #fff;
}

.cg-exc-card details.cg-more > summary{
  padding: 10px 14px;
  min-height: 44px;
}

.cg-exc-card .cg-more-body{
  padding: 0 14px 14px;
}

.cg-exc-card .cg-more-body p{
  margin: 0 0 0.7em;
}

.cg-exc-card .cg-more-body p:last-child{ margin-bottom: 0; }

.cg-exc-book{ margin-top: 2px; }

.cg-exc-soon{
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px dashed #4b5563;
  border-radius: 14px;
  background: #f1f5f9;
  color: #1e293b;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  cursor: default;
  opacity: 1;
}

.cg-exc-soon:disabled,
.cg-exc-soon[aria-disabled="true"]{
  opacity: 1;
  color: #1e293b;
  background: #f1f5f9;
}

.cg-exc-soon-note{
  display: block;
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #3b4453;
  text-align: center;
}

.cg-exc-closed{
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f6f7fb;
  border: 1px solid var(--line, #e6e9f0);
  color: var(--ink, #0f172a);
  font-size: 15px;
  line-height: 1.45;
  text-align: center;
}

/* You might also like — sits just above the footer, outside the tab panels */
.pc-ymore{
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 18px 28px;
}

.pc-ymore h2{
  margin: 0 0 12px;
  color: var(--navy, #0b1f3a);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.pc-ymore-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.pc-ymore-list a{
  display: block;
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid var(--line, #e6e9f0);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 2px rgba(15,23,42,.05);
}

.pc-ymore-list a:hover{
  border-color: #c9d2e3;
}

.pc-ymore-list a:focus-visible{
  outline: 3px solid #0a4a8a;
  outline-offset: 2px;
}

.pc-ymore-list span{
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #3b4453;
  margin: 0 0 2px;
}

.pc-ymore-list strong{
  display: block;
  color: var(--navy, #0b1f3a);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
}

.pc-ymore-list small{
  display: block;
  margin-top: 2px;
  font-size: 14px;
  color: #3b4453;
  line-height: 1.4;
}

@media (min-width: 640px){
  .pc-ymore-list{ grid-template-columns: 1fr 1fr 1fr; }
  .cg-exc-facts{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 390px){
  .cg-exc-body, .cg-exc-credit{ padding-left: 14px; padding-right: 14px; }
}
