/* rahulgupta.com — static rebuild of the 2003 Grab Bag Design layout */

:root {
  --blue: #0033cc;
  --yellow: #ffcc00;
  --bg: #fff;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0 0 0 15px;
  padding: 0;
  background: var(--bg);
  color: var(--blue);
  font: 11px/1.3 Arial, Helvetica, sans-serif;
}

img { border: 0; display: inline-block; vertical-align: top; }

a { color: var(--blue); font-weight: 600; text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

h1, h2, h3, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header { width: 650px; margin-top: 15px; }
.site-header .brand { display: flex; align-items: flex-start; }
.site-header .logo { margin-right: 84px; }
.site-nav ul { display: flex; gap: 6px; }
.site-header .rule { display: block; margin: 10px 0 0 50px; }

/* ---------- Two-column body ---------- */
.page {
  display: grid;
  grid-template-columns: 192px 7px 468px;
  width: max-content;
  margin-top: 17px;
}
.page.home { grid-template-columns: 216px 7px 468px; }
.aside {
  padding: 35px 30px 0 0;
  text-align: right;
}
.divider { background: url(../img/ybar-v.gif) no-repeat 0 0; min-height: 344px; }
.main { padding: 15px 0 0 22px; }

.title {
  font-size: 19px;
  font-weight: 600;
  text-align: right;
  margin-bottom: 15px;
}
.aside .hot { margin-top: 25px; }

/* ---------- Footer ---------- */
.site-footer {
  width: 742px;
  padding: 15px 0;
  text-align: center;
  font-size: 10px;
}
.site-footer a { font-weight: 500; }

/* ---------- Home ---------- */
.blue-me { margin-right: 10px; }
.note { font-size: 10px; }
.teasers li { display: flex; gap: 10px; margin-bottom: 10px; min-height: 51px; }
.teasers img { flex: none; }

/* ---------- Photos ---------- */
.thumbs { display: flex; flex-wrap: wrap; gap: 4px; max-width: 410px; }
.thumbs a { display: block; line-height: 0; }

.tour {
  border: 0;
  padding: 15px;
  max-width: calc(100vw - 20px);
  color: var(--blue);
  background: var(--bg);
  box-shadow: 0 6px 30px rgba(0, 0, 0, .35);
}
.tour:focus { outline: none; }
.tour::backdrop { background: rgba(0, 20, 80, .55); }
.tour figure { margin: 0; width: 302px; height: 302px; display: flex; align-items: center; }
.tour figure img { border: 1px solid var(--yellow); max-width: 100%; height: auto; }
.tour .controls { display: flex; justify-content: space-between; margin-top: 8px; width: 302px; }
.tour button {
  font: inherit; font-weight: 600; color: var(--blue);
  background: none; border: 0; padding: 0; cursor: pointer;
}
.tour button:hover { text-decoration: underline; }

/* ---------- Actor resume ---------- */
.credits { border-collapse: collapse; }
.credits th, .credits td { text-align: left; vertical-align: top; padding: 0 2px 0 0; font-weight: normal; }
.credits tbody th[colspan] { font-weight: 600; padding-top: 10px; }
.credits tbody:first-child th[colspan] { padding-top: 0; }
.credits .t { font-style: italic; min-width: 135px; }
.credits .r { min-width: 100px; }

/* ---------- Press ---------- */
.review { margin: 0 0 13px; }
.review cite { font-style: normal; white-space: nowrap; margin-left: 1.5em; }
.review cite::before { content: "\2022\00a0"; }
.skip { text-decoration: underline; }

/* ---------- Events / contact ---------- */
.main section + section { margin-top: 15px; }
.agents { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; margin-top: 3px; }
.agents h3 { font-size: inherit; font-weight: normal; text-decoration: underline; }
.agents p { margin-bottom: 13px; }
a[href^="tel:"] { font-weight: normal; }

/* ---------- Small screens ---------- */
@media (max-width: 760px) {
  body { margin: 0; padding: 0 16px; font-size: 14px; }
  .site-header, .page, .site-footer { width: auto; max-width: 100%; }
  .site-header .brand { flex-wrap: wrap; gap: 12px; justify-content: space-between; }
  .site-header .logo { margin-right: 0; }
  .site-header .rule { max-width: calc(100% - 20px); height: auto; margin-left: 10px; }
  .page { display: block; }
  .divider { display: none; }
  .aside { padding: 20px 0 0; }
  .main { padding: 20px 0 0; border-top: 3px solid var(--yellow); margin-top: 20px; }
  .title { font-size: 22px; }
  .note, .site-footer { font-size: 12px; }
  .thumbs { max-width: none; }
  .credits .t { min-width: 0; }
  .agents { grid-template-columns: 1fr; }
  .review cite { white-space: normal; }
}
