

/* ===== Grey Band (below H1) ===== */
.arttalks-band {
  margin-top: 0.5rem; /* adjust this to tighten or loosen gap below H1 */
  background-color: #e6e6e6;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

/* Force proper vertical centering for the row */
.arttalks-band > .row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.arttalks-band p {
  margin: 0 0 0.25rem;
}

.arttalks-band h2 {
  margin: 0;
  font-size: 1.5rem;
}

/* Navigation alignment and style */
.arttalks-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  height: 100%;
}

.arttalks-nav a {
  text-decoration: none;
  color: #003366;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.arttalks-nav a:hover,
.arttalks-nav a.active {
  border-bottom: 2px solid #003366;
}

/* ===== Main Content Layout ===== */
.arttalks-content {
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

/* Each talk as a flex row */
.art-talk-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Reverse columns on larger screens */
@media (min-width: 640px) {
  .art-talk-row {
    flex-direction: row-reverse;
  }
}

.art-talk-text,
.art-talk-image {
  flex: 1 1 50%;
}

.talk-image {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1rem;
}

/* Headings and text */
.art-talk {
  margin-bottom: 3rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 2rem;
}

.art-talk h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.art-talk h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0.25rem 0;
}

.art-talk p {
  margin-bottom: 1rem;
}

/* Border Button */
.BorderButton {
  display: inline-block;
  border: 1px solid #000;
  padding: 0.4rem 1.2rem;
  text-decoration: none;
  color: #000;
  transition: all 0.2s ease-in-out;
}

.BorderButton:hover {
  background: #000;
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .arttalks-nav {
    justify-content: flex-start;
    margin-top: 1rem;
  }

  .arttalks-band {
    text-align: left;
  }

  .art-talk-row {
    flex-direction: column;
  }
}


/* --- CMS image wysiwyg editing fix --- */
.art-talk-image {
  display: block;
  position: relative;
  min-height: 100px;      /* ensures a click area when image missing */
  border: 1px dashed transparent; /* visual hint, invisible live */
}

.art-talk-image:empty::before {
  content: "Click here to add image";
  display: block;
  text-align: center;
  color: #999;
  font-style: italic;
  padding: 1rem;
}


.art-talk-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------------------------------------------------------  */
