.rome-hero {
  color: #f2eee6;
  background: #22252a;
  border-bottom: 3px solid #b99e68;
}
.rome-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}
.rome-hero-copy { align-self: center; padding-block: clamp(2.75rem, 5vw, 5.25rem); }
.rome-hero .breadcrumbs {
  margin: 0 0 1.2rem; color: #c8c8c8;
  font: 600 .8rem/1.4 var(--sans); letter-spacing: .035em;
}
.rome-hero .breadcrumbs a { color: #e6cd99; }
.rome-hero h1 {
  margin: 0 0 .23em; color: #fff8e9;
  font-size: clamp(3.5rem, 6.5vw, 6rem); line-height: .99; letter-spacing: -.06em;
}
.rome-hero-copy > p {
  margin: 0; max-width: 37rem; color: #e3e2df;
  font-size: clamp(1.03rem, 1.35vw, 1.22rem); line-height: 1.6;
}
.rome-hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.3rem; margin-top: 1.5rem; }
.rome-hero-actions a, .rome-plan > a, .rome-section-action a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.8rem; font: 650 .94rem/1.35 var(--sans);
}
.rome-hero-actions a { color: #f2eee5; }
.rome-hero-actions a:first-child, .rome-plan > a {
  padding: .76rem 1.04rem; color: #292416; background: #e7cb8c;
  text-decoration: none; border: 1px solid #e7cb8c; border-radius: 3px;
}
.rome-hero-actions a:first-child:hover, .rome-plan > a:hover { color: #22190c; background: #f7ddaa; }
.rome-hero-actions a:last-child:hover { color: #f6d89f; }
.rome-hero-photo {
  min-height: 21rem; position: relative; overflow: hidden;
  border-inline: 1px solid #97805a; background: #3e3931;
}
.rome-hero-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 49%;
}
.rome-hero-photo figcaption {
  position: absolute; inset: auto 0 0; padding: 2rem 1rem .8rem;
  background: linear-gradient(transparent, rgba(15, 15, 14, .9)); color: #fff;
  font: 500 .75rem/1.45 var(--sans);
}
.rome-layout {
  display: grid; grid-template-columns: minmax(10.6rem, .24fr) minmax(0, 1fr);
  align-items: start; gap: clamp(2rem, 4vw, 4.5rem);
  padding-block: clamp(2.3rem, 4vw, 4.6rem) clamp(3rem, 5vw, 6rem);
}
.rome-index {
  position: sticky; top: 1.25rem; min-width: 0;
  padding-top: 1rem; border-top: 3px solid #ab8c51;
}
.rome-index p {
  margin: 0 0 .7rem; color: #625132; font: 700 .7rem/1.45 var(--sans);
  text-transform: uppercase; letter-spacing: .15em;
}
.rome-index ul { list-style: none; margin: 0; padding: 0; }
.rome-index li { border-bottom: 1px solid #d9d7d1; }
.rome-index li a {
  display: flex; align-items: center; min-height: 2.8rem; padding: .51rem .12rem;
  text-decoration: none; color: #35373d; font: 600 .92rem/1.4 var(--sans);
}
.rome-index a:hover { color: #705015; text-decoration: underline; }
.rome-guide, .rome-section, .rome-card { min-width: 0; }
.rome-section + .rome-section { margin-top: clamp(3.2rem, 6vw, 5.6rem); }
.rome-section-head {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(10rem, .62fr);
  grid-template-rows: auto auto; column-gap: clamp(1.15rem, 3vw, 2.3rem);
  align-content: stretch; position: relative; overflow: hidden;
  min-height: clamp(10.5rem, 15vw, 13rem); padding-left: clamp(1.1rem, 2.6vw, 2.2rem);
  background: #eeece6; border-top: 1px solid #bda77c;
}
.rome-section-head h2 {
  grid-column: 1; grid-row: 1; align-self: end;
  margin: 0; padding-top: 1.4rem;
  font-size: clamp(2rem, 3.4vw, 3.5rem); line-height: 1.06;
}
.rome-section-head p {
  grid-column: 1; grid-row: 2; margin: .72rem 0 0; padding-bottom: 1.4rem;
  color: #444749; line-height: 1.55; max-width: 43rem;
}
.rome-section-photo {
  grid-column: 2; grid-row: 1 / 3; align-self: stretch;
  width: 100%; height: 100%; min-height: 0; position: absolute; inset: 0;
  object-fit: cover; object-position: center;
}
#relics-of-christ .rome-section-photo { object-fit: contain; background: #2e2923; }
#mary .rome-section-photo { object-position: 50% 43%; }
#saints .rome-section-photo { object-position: 50% 53%; }
#art .rome-section-photo { object-position: 50% 42%; }
.rome-cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem;
  margin-top: .95rem;
}
.rome-card {
  display: flex; flex-direction: column; padding: clamp(1.05rem, 1.85vw, 1.65rem);
  background: #fffefd; border: 1px solid #d9d6cf; border-radius: 2px;
}
.rome-place {
  margin: 0 0 .5rem; color: #715823; font: 700 .72rem/1.42 var(--sans);
  letter-spacing: .085em; text-transform: uppercase;
}
.rome-topic-title {
  grid-column: 1 / -1; margin: 1.3rem 0 .15rem; padding-bottom: .5rem;
  border-bottom: 1px solid #c7b58e; color: #423923; font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}
.rome-card h3, .rome-card h4 {
  margin: 0 0 .38rem; font-size: clamp(1.58rem, 2vw, 2rem);
  line-height: 1.12; letter-spacing: -.035em;
}
.rome-description { color: #45484b; line-height: 1.56; margin: .18rem 0 .85rem; }
#mary .rome-section-head {
  display: block; min-height: 0; padding: 1.45rem clamp(1.1rem, 2.6vw, 2.2rem);
}
#mary .rome-section-head h2, #mary .rome-section-head p { padding: 0; }
#mary .rome-section-head p { max-width: 47rem; }
.rome-card-photo {
  display: grid; place-items: center; overflow: hidden;
  height: clamp(9rem, 15vw, 12rem); margin: 0 0 1.05rem;
  border: 1px solid #c3b187; background: #302d29;
}
.rome-card-photo img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
#marian-churches .rome-card-photo img { object-fit: cover; object-position: center 45%; }
@media (min-width: 70rem) {
  #mary .rome-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.rome-links { display: grid; gap: .15rem; justify-items: start; margin-top: auto; }
.rome-links a {
  display: block; padding-block: .28rem; font: 650 .91rem/1.45 var(--sans);
  color: #6d4c11; text-underline-offset: .18em;
}
.rome-links a:hover { color: #32260d; text-decoration-thickness: .12em; }
.rome-section-action { display: flex; justify-content: flex-end; margin-top: .85rem; }
.rome-section-action a {
  padding: .55rem .95rem; border: 1px solid #afa184; border-radius: 3px;
  color: #564016; text-align: center; text-decoration: none;
}
.rome-section-action a:hover { background: #f0e8d5; color: #372a14; }
.rome-plan {
  margin-top: clamp(3rem, 5vw, 5rem); padding: clamp(1.4rem, 3vw, 2.8rem);
  background: #282b31; border-top: 3px solid #bf9f61; color: #e7e6e1;
}
.rome-plan h2 { color: #fff7e6; font-size: clamp(1.9rem, 3vw, 3rem); margin-bottom: .4rem; }
.rome-plan p { margin-bottom: 1.15rem; }
@media (max-width: 60rem) {
  .rome-layout { display: block; }
  .rome-index { position: static; padding: .9rem 0 1.2rem; margin-bottom: 1.6rem; border-bottom: 1px solid #d9d7d1; }
  .rome-index ul { display: flex; flex-wrap: wrap; gap: .4rem; }
  .rome-index li { border: none; }
  .rome-index li a { border: 1px solid #d0c8b8; border-radius: 3px; background: #fffefa; padding: .52rem .72rem; min-height: 2.65rem; }
}
@media (max-width: 43rem) {
  .rome-hero-inner { display: block; }
  .rome-hero-copy { padding-block: 2rem 1.65rem; }
  .rome-hero-photo { min-height: 0; height: clamp(12.5rem, 58vw, 20rem); border: 0; }
  .rome-layout { padding-top: 1.5rem; }
  .rome-index li a { min-height: 2.75rem; }
  .rome-section-head { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto; padding: 0; }
  .rome-section-photo { grid-column: 1; grid-row: 1; position: static; height: clamp(9rem, 44vw, 15rem); }
  .rome-section-head h2 { grid-row: 2; padding: 1rem 1.05rem 0; }
  .rome-section-head p { grid-row: 3; margin: .55rem 0 0; padding: 0 1.05rem 1.1rem; }
  .rome-cards { grid-template-columns: 1fr; gap: .62rem; margin-top: .65rem; }
  .rome-links a { padding-block: .45rem; }
  .rome-section-action { justify-content: flex-start; }
}
@media print {
  .rome-layout, .rome-hero-inner { display: block; padding: 0; }
  .rome-index, .rome-hero-actions, .rome-hero-photo, .rome-section-photo, .rome-plan { display: none; }
  .rome-section-head { display: block; min-height: 0; padding: 0; }
  .rome-card { break-inside: avoid; }
  .rome-hero, .rome-hero h1, .rome-hero-copy > p { color: #222; background: white; }
}
