/**
 * @file
 * Styles for the "special_curation" taxonomy term full view.
 *
 * The page template wraps content in a `.container` inside `<main>`.
 * To push the header image edge to edge, we break out of that container
 * using 100vw + a symmetrical negative margin.
 */

.page-taxonomy-term--special-curation .field--name-field-image {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
}

.page-taxonomy-term--special-curation .field--name-field-image img {
  width: 100%;
  height: 40vw;
  max-height: 700px;
  object-fit: cover;
  display: block;
}

.path-special-reclaim-digital-future .field--name-field-image img {
  object-fit: contain;
}

.page-taxonomy-term--special-curation #block-rp-fl-pagetitle, 
.page-taxonomy-term--special-curation .field--name-field-body  {
    max-width: var(--layout-width);
    margin: 0 auto;
    padding: 0 var(--block-padding);
}

.page-taxonomy-term--special-curation .field--name-field-image {
    max-width: var(--layout-width);
    margin: 0 auto;
}

.page-taxonomy-term--special-curation .field--name-field-body h1 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--font-size-mega-catch);
    line-height: var(--line-height-mega-catch);
    margin-top: var(--block-padding);
    max-width: var(--layout-width-xsmall);
    padding-left: 12%;
}

.page-taxonomy-term main#main-content {
  margin-top:0;
}
.page-taxonomy-term--special-curation .field--name-field-body p,
.page-taxonomy-term--special-curation .field--name-field-body ul {
  max-width: var(--layout-width-xsmall);
  margin: 0 auto;
}



.view--featured-speakers.view--display-block-2, 
.view--featured-speakers.view--display-block-3,
.view--featured-speakers.view--display-block-4 {
    max-width: var(--layout-width);
    margin: 0 auto;
    padding: 0 var(--block-padding) var(--block-spacing) var(--block-padding);
}

.page-taxonomy-term .view--sessions {
    max-width: var(--layout-width);
    margin: 0 auto;
    padding: 0 var(--block-padding);
}

.page-taxonomy-term .more-link {
  display: none;
}

.field--name-field-special-blocks h2.block__title {
  margin-top: var(--block-spacing);
  max-width: var(--layout-width);
  padding: 0 var(--block-padding);
}

/* Zitat block on the special_curation term page: constrain to layout width
   so it aligns with the other curated elements on the page. */
.page-taxonomy-term--special-curation .block--type-zitat {
  max-width: var(--layout-width-xsmall);
  margin-left: auto;
  margin-right: auto;
  padding: 0 calc(var(--block-padding)*2);
}


.page-taxonomy-term--special-curation .field--name-field-content-blocks-2 .block--type-simple-block  {
  max-width: var(--layout-width-xsmall);
  margin: 0 auto;
  padding-top: var(--block-spacing);
}

.page-taxonomy-term--special-curation .archive-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.page-taxonomy-term--special-curation .archive-box {
max-width: var(--layout-width-xsmall);
    margin: var(--block-padding) auto;
    padding: var(--block-padding);
    border: 1px solid var(--color-podcast-mercator);
    border-radius: var(--border-radius);
    background-color: #ffffff;
    color: var(--color-podcast-mercator);
}

.page-taxonomy-term--special-curation .archive-box div.button {
  border-color: var(--color-podcast-mercator);
}

.page-taxonomy-term--special-curation .archive-box div.button:hover {
  background-color: var(--color-podcast-mercator);
  color: #fff;
}

.path-special-reclaim-digital-future .field--name-field-special-blocks .block--view-sessions h2.block__title:before {
    content: 're:claim Digital Future 2026:';
    margin-right: .5rem;
}



.block--view-featured-speakers--block-4 {
  position: relative;
}

.block--view-featured-speakers--block-4 > .block__title {
  padding-right: 14rem;
}

.block--view-featured-speakers--block-4 > .views-element-container {
  position: static;
}

.block--view-featured-speakers--block-4 .view--featured-speakers.view--display-block-4 .more-link {
  position: absolute;
  top: -3rem;
  left: 39rem;
  display: flex;
  align-items: center;
  line-height: var(--line-height-section-header);
  margin: 0;
}

@media (max-width: 1200px) {
  .block--view-featured-speakers--block-4 .view--featured-speakers.view--display-block-4 .more-link {
    left: 35rem;
  }
}

@media (max-width: 767px) {
    .block--view-featured-speakers--block-4 .view--featured-speakers.view--display-block-4 .more-link {
    left: 24rem;
    top: -2.5rem;
  }
  .page-taxonomy-term--special-curation .field--name-field-body p,
  .page-taxonomy-term--special-curation .field--name-field-body ul,
  .page-taxonomy-term--special-curation .block--type-zitat {
    max-width: var(--layout-width-small);
  }
  .page-taxonomy-term--special-curation .block--type-zitat {
    padding: 0 5rem;
  }
  .page-taxonomy-term--special-curation .field.field--name-field-photo-credit.field--type-string.field--label-inline.clearfix {
    display:none;
  }
}

