@import url('https://fonts.googleapis.com/css2?family=Droid+Sans:wght@400;700&family=Droid+Serif:ital,wght@0,400;0,700;1,400&display=swap');

/* =============================================
   Skip link — hide
   ============================================= */
.skip-link {
  display: none;
}

/* =============================================
   Base / Reset
   ============================================= */
html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  background: #63a7b2;
  color: #4f453f;
  font-family: "Droid Sans", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

/* =============================================
   Page wrapper — centered 960px column
   ============================================= */
#page-wrapper {
  background: #f0edeb;
  min-height: 100vh;
  width: 960px;
  margin: 0 auto;
}

/* =============================================
   Links
   ============================================= */
a:link,
a:visited,
a:hover {
  color: #2a7c8b;
  outline: none;
}

a:hover {
  text-decoration: underline;
}

/* =============================================
   Typography
   ============================================= */
h1 {
  font-family: "Droid Serif", Georgia, serif;
  color: #2a7c8b;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.1em;
  margin: 0 0 18px;
}

h2 {
  font-family: "Droid Serif", Georgia, serif;
  color: #2a7c8b;
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 12px;
}

h3 {
  font-family: "Droid Serif", Georgia, serif;
  font-size: 18px;
  margin: 0 0 8px;
}

.page-title {
  font-family: "Droid Serif", Georgia, serif;
  color: #2a7c8b;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.1em;
  margin-bottom: 18px;
}

/* =============================================
   Breadcrumb
   ============================================= */
.breadcrumb {
  padding: 6px 0;
  font-family: "Droid Serif", Georgia, serif;
  font-size: 11px;
}

.breadcrumb a:link,
.breadcrumb a:visited {
  color: #626262;
  font-size: 11px;
  text-decoration: none;
}

/* =============================================
   Header
   ============================================= */
#header {
  height: 118px;
  position: relative;
}

#header .section {
  padding: 6px 18px 4px;
  text-align: center;
}

/* Logo — centered */
#logo {
  display: block;
  text-align: center;
  margin: 8px auto 0;
}

#logo img {
  margin: 0 auto;
  display: block;
}

/* Search block — positioned top right */
#block-esthp-search-form-wide {
  position: absolute;
  top: 8px;
  right: 0;
  width: 160px;
}

#block-esthp-search-form-wide .form-item {
  margin: 0;
}

#block-esthp-search-form-wide input[type="search"],
#block-esthp-search-form-wide input[type="text"] {
  border: 1px solid #636363;
  padding: 5px 8px;
  width: 130px;
  font-size: 13px;
  outline: none;
  box-sizing: border-box;
}

#block-esthp-search-form-wide input[type="submit"] {
  display: none;
}

/* =============================================
   Navigation bar
   ============================================= */
#navigation {
  height: 38px;
  background: #fff;
  border-top: 1px solid #bcacac;
  border-bottom: 1px solid #bcacac;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

#navigation .section,
#navigation .section > div,
#navigation nav {
  display: flex;
  align-items: center;
}

/* D11 menu block renders as nav > ul or ul.menu */
#navigation ul.menu,
#navigation nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

#navigation ul.menu > li,
#navigation nav > ul > li {
  display: inline-block;
  padding: 0 18px;
  position: relative;
}

#navigation ul.menu a,
#navigation nav a {
  color: #2a7c8b;
  text-decoration: none;
  font-family: "Droid Serif", Georgia, serif;
  font-size: 19px;
}

/* Dropdown */
#navigation ul.menu ul,
#navigation nav > ul ul {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  background: #fff;
  width: 190px;
  z-index: 1000;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  box-shadow: -3px 3px 5px 0 rgba(50, 50, 50, 0.58);
  padding: 0;
  margin: 0;
  text-align: left;
}

#navigation ul.menu > li:hover > ul,
#navigation nav > ul > li:hover > ul {
  display: block;
}

#navigation ul.menu ul li,
#navigation nav > ul ul li {
  display: block;
  float: none;
  width: 170px;
  padding: 4px 0;
}

#navigation ul.menu ul li:first-child,
#navigation nav > ul ul li:first-child {
  padding-top: 7px;
}

#navigation ul.menu ul li a,
#navigation nav > ul ul li a {
  display: block;
  padding: 2px 12px;
  font-family: "Droid Sans", sans-serif;
  font-size: 14px;
  text-transform: none;
}

/* =============================================
   Main layout — sidebar-first (215px left sidebar)
   ============================================= */
#main-wrapper {
  position: relative;
  overflow: hidden;
}

#main {
  position: relative;
}

/* Sidebar — floats left, content follows */
.region-sidebar-first {
  float: left;
  width: 215px;
}

/* Full-width content (no sidebar) */
#content {
  float: left;
  width: 960px;
  box-sizing: border-box;
}

/* Sidebar-first: content occupies remaining width */
.sidebar-first #content {
  width: 745px;
}

#content .section {
  padding: 24px 40px 20px 40px;
}

.path-frontpage #content .section {
  padding-top: 18px;
}

.region-sidebar-first .section {
  background: #c2bdbb;
  padding: 24px 12px;
  margin-left: 20px;
  margin-top: 23px;
  min-height: 500px;
  position: relative;
}

/* Decorative wave above sidebar */
.region-sidebar-first .section::before {
  content: '';
  display: block;
  width: 100%;
  height: 13px;
  background: url(../images/sidebar_decor.png) no-repeat center top;
  position: absolute;
  top: -6px;
  left: 0;
}

.region-sidebar-first ul {
  list-style: none;
  margin: 0 0 0 6px;
  padding: 0;
}

.region-sidebar-first ul li {
  list-style: none;
  padding-bottom: 4px;
}

.region-sidebar-first a {
  font-size: 14px;
  color: #518d97;
}

.region-sidebar-first h2 {
  color: #463d38;
  font-family: "Droid Serif", Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 12px 0 4px;
  margin: 0;
}

.region-sidebar-first .block:first-child h2 {
  padding-top: 0;
}

/* Recent Additions view list */
.region-sidebar-first .item-list ul {
  list-style: none;
  margin: 0 0 0 6px;
  padding: 0;
}

.region-sidebar-first .item-list ul li {
  padding-bottom: 4px;
}

/* =============================================
   Footer
   ============================================= */
#footer {
  clear: both;
}

#footer .section {
  background: #463d38;
  padding: 18px;
  text-align: center;
  color: #fff;
  font-size: 11px;
  min-height: 12px;
  overflow: hidden;
}

#footer a:link,
#footer a:visited,
#footer a:hover {
  color: #9fd0d9;
}

#footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#footer ul li {
  display: inline;
  margin: 0 6px;
}

#footer nav {
  display: inline;
}

/* =============================================
   Breadcrumb
   ============================================= */

/* Hide breadcrumb on front page */
.path-frontpage #block-esthp-breadcrumbs {
  display: none;
}

#block-esthp-breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 6px 0;
}

#block-esthp-breadcrumbs ol li {
  display: inline;
  font-family: "Droid Serif", Georgia, serif;
  font-size: 11px;
  color: #626262;
}

#block-esthp-breadcrumbs ol li::after {
  content: ' › ';
}

#block-esthp-breadcrumbs ol li:last-child::after {
  content: '';
}

#block-esthp-breadcrumbs ol li a {
  color: #626262;
  text-decoration: none;
}

/* =============================================
   Node / content fields
   ============================================= */
.field__label {
  display: none;
}

/* On front page: hide the node body (block 22 has the intro text already),
   but let the node article title "Welcome" show naturally after block 22. */
.path-frontpage article.node .field--name-body,
.path-frontpage article.node .node__content {
  display: none;
}

.path-frontpage article.node {
  display: block;
}

/* Style the node article title on front page like D7 teaser */
.path-frontpage article.node h2.node__title,
.path-frontpage article.node h2 {
  font-family: "Droid Serif", Georgia, serif;
  color: #2a7c8b;
  font-size: 28px;
  font-weight: 400;
  margin: 18px 0 8px;
}

.path-frontpage article.node h2.node__title a,
.path-frontpage article.node h2 a {
  color: #2a7c8b;
  text-decoration: underline;
}

/* "The Early Seattle Theatre Project" block title */
#block-esthp-esthp-block-22 h2 {
  font-size: 36px;
  font-weight: 700;
}

/* Welcome heading on front page */
h2.welcome-heading {
  font-family: "Droid Serif", Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  margin: 18px 0 8px;
}

h2.welcome-heading a {
  color: #2a7c8b;
  text-decoration: underline;
}

/* Funded by 4Culture block */
#block-esthp-esthp-block-27 {
  clear: both;
  padding: 24px 0;
}

#block-esthp-esthp-block-27 .block-content,
#block-esthp-esthp-block-27 > div > div {
  width: 560px;
  margin: 0 auto;
  margin-left: calc(50% - 280px - 107px);
  text-align: center;
}

#block-esthp-esthp-block-27 figure {
  display: inline-block;
  margin: 0 auto;
}

/* Historical Overview heading in block 26 */
#block-esthp-esthp-block-26 h3 {
  font-family: "Droid Serif", Georgia, serif;
  color: #2a7c8b;
  font-size: 28px;
  font-weight: 400;
  margin: 0;
  padding: 18px 0 14px;
  clear: both;
}

/* Admin tabs (View / Edit / Delete) */
.tabs ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
}

.tabs ul li {
  display: inline-block;
  margin-right: 4px;
}

/* =============================================
   Search icon in header search bar
   ============================================= */
#block-esthp-search-form-wide input[type="search"],
#block-esthp-search-form-wide input[type="text"] {
  background: #fff url(../images/icon_search.png) no-repeat right 8px center;
  background-size: 16px 16px;
  padding-right: 28px;
}

/* =============================================
   Homepage collection image buckets
   ============================================= */
.bucket {
  width: 306px;
  height: 130px;
  display: inline-block;
  margin-bottom: 18px;
}

.bucket a {
  display: inline-block;
  width: 100%;
  height: 100%;
}

.bucket-left {
  float: left;
  margin-right: 22px;
  clear: both;
}

.bucket-right {
  display: inline-block;
}

#bucket-people    { background: url(../images/306x130_people.png) no-repeat; }
#bucket-prods     { background: url(../images/306x130_productions.png) no-repeat; }
#bucket-theatres  { background: url(../images/306x130_theatres.png) no-repeat; }
#bucket-programs  { background: url(../images/306x130_programs.png) no-repeat; }
#bucket-vaudeville{ background: url(../images/306x130_vaudeville.png) no-repeat; }
#bucket-plays     { background: url(../images/306x130_plays.png) no-repeat; }

.bucket-title {
  display: block;
  height: 34px;
  width: 100%;
  margin-top: -40px;
  background: rgba(48, 25, 24, 0.4);
}

.bucket-title a {
  display: inline-block;
  text-decoration: none;
  color: #d7d2cb;
  text-shadow: 1px 1px 1px #333;
  padding: 6px 12px;
  font-size: 18px;
  font-family: "Droid Serif", Georgia, serif;
}

/* Historical overview period blocks */
.bucket-period {
  width: 100%;
  max-width: 635px;
  display: block;
  height: 130px;
  clear: both;
  margin-bottom: 18px;
  position: relative;
  background-size: 100% auto !important;
}

#bucket-period1 { background: url(../images/block_period1.png) no-repeat; }
#bucket-period2 { background: url(../images/block_period2.png) no-repeat; }
#bucket-period3 { background: url(../images/block_period3.png) no-repeat; }
#bucket-period4 { background: url(../images/block_period4.png) no-repeat; }

/* Full-block link covering the whole period image */
.bucket-period-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Title pinned to the bottom of the image with absolute positioning
   (avoids margin-collapse bleed that creates gaps between blocks) */
.bucket-period .bucket-title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  z-index: 2;
}

.bucket-period .bucket-title a {
  display: block;
  width: 100%;
  cursor: pointer;
  box-sizing: border-box;
}

/* =============================================
   Node pages — general
   ============================================= */
.page-node-type-person .page-title,
.page-node-type-production .page-title,
.page-node-type-place .page-title,
.page-node-type-work .page-title {
  font-family: "Droid Serif", Georgia, serif;
  color: #2a7c8b;
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.1em;
  margin-bottom: 12px;
}

.node .field {
  margin-bottom: 10px;
}

.node .field__label {
  font-family: "Droid Serif", Georgia, serif;
  font-weight: 700;
  font-size: 14px;
  display: inline;
}

.node .field__label::after {
  content: ': ';
}

.node .field--label-inline .field__items {
  display: inline;
}

.node .field--label-inline .field__item {
  display: inline;
}

/* Birth/death dates — teal, below title */
.node--type-person .field--name-field-birth-date-text,
.node--type-person .field--name-field-death-date-text {
  display: inline;
  font-family: "Droid Serif", Georgia, serif;
  color: #2a7c8b;
  font-size: 18px;
  margin-bottom: 0;
}

.node--type-person .field--name-field-birth-date-text::after {
  content: ' - ';
  color: #2a7c8b;
}

/* Professional occupation — teal links, no bullets */
.node--type-person .field--name-field-professional-occupation .field__item {
  display: block;
}

.node--type-person .field--name-field-professional-occupation a {
  color: #2a7c8b;
}

/* Description / biography */
.node--type-person .field--name-field-description {
  margin-top: 12px;
  margin-bottom: 18px;
}

/* =============================================
   Associated photos — featured + grid
   ============================================= */

/* Featured photo — floated right next to bio text */
.featured-photo {
  float: right;
  display: inline-block;
  max-width: 344px;
  margin: 0 -20px 20px 20px;
  text-align: center;
}

.featured-photo img {
  display: block;
  max-width: 344px;
  border: 4px solid #63544e;
}

.featured-photo .photo-info-link {
  font-size: 12px;
  margin: 4px 0 0;
}

/* Thumbnail grid */
.associated-photos {
  clear: both;
  margin-top: 18px;
}

.associated-photos .photo-thumb {
  display: inline-block;
  margin: 0 4px 4px 0;
  border: 2px solid #63544e;
  line-height: 0;
}

.associated-photos .photo-thumb img {
  display: block;
  max-width: 100px;
  max-height: 100px;
}

/* Lightbox */
.esthp-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.esthp-lightbox-prev,
.esthp-lightbox-next {
  position: relative;
  z-index: 2;
  background: none;
  border: none;
  color: #fff;
  font-size: 72px;
  line-height: 1;
  cursor: pointer;
  padding: 0 16px;
  opacity: 0.8;
  user-select: none;
}

.esthp-lightbox-prev:hover,
.esthp-lightbox-next:hover {
  opacity: 1;
}

.esthp-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.esthp-lightbox-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.esthp-lightbox-content img {
  max-width: 90vw;
  max-height: 85vh;
  border: 4px solid #fff;
  display: block;
}

.esthp-lightbox-title {
  color: #fff;
  font-family: "Droid Serif", Georgia, serif;
  font-size: 13px;
  margin: 8px 0 2px;
}

.esthp-lightbox-link {
  margin: 0;
}

.esthp-lightbox-link a {
  color: #9fd0d9;
  font-size: 13px;
  font-family: "Droid Serif", Georgia, serif;
}

/* =============================================
   Misc
   ============================================= */
.feed-icon {
  display: none;
}

tr.even,
tr.odd,
td.active {
  background: transparent;
}

#content table td {
  padding: 0 12px 12px 0;
  min-width: 90px;
}
