@charset "UTF-8";

/* --- Base styles for elements INSIDE article.main-content-container .article-content-padded-inner --- */

.article-content-padded-inner {
  font-family: var(--font-body); /* 'Questrial' */
  font-size: 1em; /* Relative to body font size */
  line-height: 1.7;
  color: #333; /* Default paragraph text color */
}
@media (min-width: 992px) { 
  .article-content-padded-inner {
    font-size: 1.1em; 
  } 
}

.article-content-padded-inner a {
  color: #0056b3; 
  text-decoration: underline;
}
.article-content-padded-inner a:hover {
  color: #003d80;
}

.article-content-padded-inner ::selection {
  background: #add8e6; 
  color: #000;
}

/* Article's Own Title (e.g., "Artist Summary") */
.article-content-padded-inner .item-title {
  text-align: center; margin-bottom: 2.5em; padding-bottom: 1.5em;
  border-bottom: 1px solid #f0f0f0;
}
.article-content-padded-inner .item-title h1 {
    font-family: var(--font-display); /* PxGrotesk for article page titles */
    font-size: clamp(1.8rem, 4vw, 2.5rem); /* Responsive size */
    font-weight: normal; 
    line-height: 1.25; color: #222; 
    margin-top: 0.5em; 
}

/* Introduction Paragraphs */
.article-content-padded-inner .introduction {
  font-family: 'PxGroteskRegular', var(--font-body); 
  font-size: 1.15em; line-height: 1.55; margin-bottom: 2.5em;
  color: #404040; max-width: 720px; 
  margin-left: auto; margin-right: auto;
}
.article-content-padded-inner .introduction p:first-child::before {
  content: '— '; margin-right: 0.2em;
}

/* General Content Blocks and Paragraphs */
.article-content-padded-inner .block {
  margin-bottom: 1.5em; max-width: 720px; 
  margin-left: auto; margin-right: auto;
}
.article-content-padded-inner p { margin-bottom: 1.1em; }
.article-content-padded-inner strong { font-weight: 600; }
.article-content-padded-inner em { font-style: italic; }

/* Gallery Styles within an Article */
.article-content-padded-inner .gallery {
  margin: 2.5em auto; position: relative; max-width: 880px; 
}
.article-content-padded-inner .gallery-image {
  width: 100%; background: #f9f9f9; display: none; text-align: center; 
  min-height: 280px; 
}
.article-content-padded-inner .gallery-image.visible { display: block; }
.article-content-padded-inner .gallery-image img {
  display: inline-block; max-width: 100%; height: auto; 
  max-height: 75vh; object-fit: contain;
}
.article-content-padded-inner .gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-family: var(--font-meta); font-size: 1.2rem; 
  width: 40px; height: 40px; line-height: 38px; text-align: center;
  cursor: pointer; color: #333; /* Default dark arrow (page1.html overrides to yellow) */
  background: rgba(255,255,255,0.8); border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: background-color 0.2s, color 0.2s; z-index: 5; 
}
.article-content-padded-inner .gallery-nav:hover { background: #fff; color: #000; }
.article-content-padded-inner .gallery-nav.prev { left: 15px; } 
.article-content-padded-inner .gallery-nav.next { right: 15px; }

/* Read More Functionality */
.article-content-padded-inner .text-content-wrapper {
  max-height: 9em; position: relative; overflow: hidden;
  transition: max-height 0.45s ease-out; margin-top: 1em;
}
.article-content-padded-inner .text-content-wrapper.expanded { max-height: 500em; }
.article-content-padded-inner .text-content-wrapper:not(.expanded)::after { 
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 5em; 
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #fff 90%); /* Fades to article bg (#fff) */
  pointer-events: none; z-index: 1; 
}
.article-content-padded-inner .text-wrapper-expand { 
  display: block; text-align: center; max-width: 180px; 
  margin: 1.5em auto 2.5em auto; padding: 0.6em 0.8em;
  border-top: 1px solid #ddd; text-transform: uppercase;
  font-family: var(--font-meta); font-size: 0.75rem; 
  font-weight: normal; letter-spacing: 0.1em; cursor: pointer;
  color: #555; background-color: transparent; /* page1.html inline style will override this */
  transition: color 0.2s, border-color 0.2s;
}
.article-content-padded-inner .text-wrapper-expand:hover { color: #000; border-top-color: #555;}

/* Meta Information Section */
.article-content-padded-inner .meta {
  padding-top: 2.5em; margin-top: 3.5em; border-top: 1px solid #eee;
  max-width: 700px; margin-left: auto; margin-right: auto; 
}
.article-content-padded-inner .row { margin-bottom: 1em; display: flex; flex-wrap: wrap; align-items: flex-start; }
.article-content-padded-inner .title { 
  width: 100%; font-family: var(--font-meta); font-size: 0.7rem; 
  text-transform: uppercase; line-height: 1.5; letter-spacing: 0.08em; color: #999; 
  margin-bottom: 0.25em;
}
.article-content-padded-inner .value { 
  width: 100%; color: #444; line-height: 1.5;
  font-family: var(--font-body-text);
}
@media (min-width: 600px) { 
  .article-content-padded-inner .title { width: 30%; min-width: 100px; margin-bottom: 0; padding-right: 1em;}
  .article-content-padded-inner .value { width: 70%; }
}
.article-content-padded-inner .meta a { color: #0056b3; } 
.article-content-padded-inner .meta a:after { content: ' →'; font-size: 0.9em; }

/* Blockquotes */
.article-content-padded-inner blockquote {
  margin: 2em auto; padding: 1.5em 1.8em; font-family: var(--font-body-text); 
  font-size: 1.05em; line-height: 1.7; font-style: italic;
  border-left: 3px solid #ccc; /* page1.html inline style will override border-left-color */
  background-color: #f9f9f9; color: #333; max-width: 650px; 
}
.article-content-padded-inner blockquote p { margin-bottom: 0.5em; }
.article-content-padded-inner blockquote p:last-child { margin-bottom: 0; }

/* Large text utility */
.article-content-padded-inner .large { 
  font-size: 1.2em; line-height: 1.5; margin: 1.5em 0; 
  font-family: var(--font-meta); /* PxGroteskRegular usually */
  max-width: 700px; margin-left: auto; margin-right: auto;
}