/* Aavi: the 3-day trip plan (/3-day-trip-from-bangalore/). A file of its own, because Tailwind reads the page
   templates and not .css files: nothing here adds a class to any site's Tailwind CSS. It sits on top of
   aavi-stay-guide.css, which gives the photo tiles, the thin-lined boxes, the icon rows and the index beside the text.
   Fonts, colours, labels and buttons come from the site's own classes in the template; this file holds layout only. */

/* A day: one photo, then its timetable. The time stands in the left column in Fraunces, the way the train list on
   /bangalore-to-bekal/ shows a train number, with a hair line between rows. */
/* The small line above a day's heading sits close to it. */
.sg-card>p:first-child+h2{margin-top:.4rem}
.tp-photo{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;display:block}
.tp-rows{list-style:none;margin:1.25rem 0 0;padding:0}
.tp-row{display:grid;grid-template-columns:5.25rem minmax(0,1fr);gap:.25rem 1rem;padding:.9rem 0;border-top:1px solid rgba(11,67,170,.2);font-size:1rem;line-height:1.5}
.tp-time{font-size:1.25rem;line-height:1.3;color:rgb(11,67,170)}
.tp-what>*+*{margin-top:.6rem}
@media (min-width:640px){
.tp-row{grid-template-columns:7.5rem minmax(0,1fr);gap:.25rem 1.5rem}
.tp-time{font-size:1.5rem}
}

/* Every stop of the drive on one line, with the distance from Bangalore under each name. */
.tp-stops{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.5rem .5rem;font-size:1rem;line-height:1.3}
.tp-stops li{display:inline-flex;align-items:flex-start;gap:.5rem}
.tp-stops span span{display:block;font-size:.8125rem;opacity:.75}

/* Who is coming: four buttons, in the look of the map's "Zoom to" buttons, and one part at a time under them.
   With no script the buttons stay out of sight ([hidden]) and the four parts stand one under the other. */
.tp-tabs{display:flex;flex-wrap:wrap;gap:.5rem}
.tp-tabs[hidden]{display:none}
.tp-tabs button{font:inherit;font-size:1rem;padding:.4rem .9rem;border:1px solid rgb(11,67,170);color:rgb(11,67,170);background:transparent;cursor:pointer;transition:background-color .15s,color .15s}
.tp-tabs button:hover,.tp-tabs button[aria-selected=true]{background:rgb(11,67,170);color:#fff}
.tp-tabs button:focus-visible{outline:2px solid rgb(11,67,170);outline-offset:2px}
.tp-tabs button:active{transform:translateY(1px)}
.tp-who>*{margin-top:1.25rem}
.tp-who>[hidden]{display:none}
.tp-quote{text-align:center;padding-top:.5rem}

/* Our own point on the map, under our name. */
.aavi-us-dot{background:rgb(11,67,170);border:2px solid #fff;border-radius:50%}
