:root {
  /* Baby blue used by header and auth buttons */
  --navbar-bg-color: #7CAADC;

  /* Architecture Styles panel language (shared site-wide) */
  --panel-bg: #E6F2FF;
  --panel-bg-soft: #FAFCFF;
  --panel-bg-tint: #F2F6FF;
  --panel-border: #D0E5FF;
  --panel-border-subtle: rgba(0, 0, 0, 0.06);
  --panel-radius: 10px;
  --panel-radius-sm: 8px;
  --panel-inner-bg: #ffffff;
  --panel-shadow: 0 10px 28px rgba(45, 55, 72, 0.08);
}

/* Shared panel surfaces — match Architecture Styles cards */
.ea-panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border-subtle);
  border-radius: var(--panel-radius);
  padding: 8px;
  box-sizing: border-box;
}
.ea-inset {
  background: var(--panel-inner-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius-sm);
  box-sizing: border-box;
}
.ea-surface {
  background: var(--panel-bg-soft);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius-sm);
  box-sizing: border-box;
}

/* Optional: ensure navbar uses the same variable (only if you want to enforce it here)
.navbar {
  background-color: var(--navbar-bg-color);
}
*/

/* Animation styles */
.animation-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 2rem;
}

#animation-container {
    width: 800px;
    height: 600px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Media queries for animation container */
@media (max-width: 992px) {
    #animation-container {
        width: 600px;
        height: 450px;
    }
}

@media (max-width: 768px) {
    #animation-container {
        width: 400px;
        height: 300px;
    }
}

@media (max-width: 480px) {
    #animation-container {
        width: 300px;
        height: 225px;
    }
}

/* Remove conflicting video container styles as they are now in base.html */
/* Common Content Styles */
.content {
    position: relative;
    z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .content {
        padding: 1rem;
    }
}

footer.site-footer {
  min-height: 11.11vh; /* 1/9 of viewport height */
  padding: 1rem 0;
}



/* Paintings page specific styles */
.painting-hero-image {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

/* Carousel styles */
.painting-carousel {
  height: 200px;
  overflow: hidden;
}

.painting-carousel img {
  height: 180px;
  object-fit: cover;
}

/* Map container */
#map-container {
  background-color: #e9e9e9;
  border: 1px solid #ccc;
}

/* Comment section */
.comment-list {
  max-height: 150px;
  overflow-y: auto;
}

/* Light blue background for certain panels */
.bg-light-blue {
  background-color: var(--panel-bg, #E6F2FF);
}

/* Global styling for Source: links across the project */
.source-link,
.def-source a,
.small.text-muted a.source-link {
  color: #444 !important; /* dark grey, lighter than black */
  text-decoration: underline;
  text-decoration-color: #999; /* grey underline */
}
.source-link:visited,
.def-source a:visited,
.small.text-muted a.source-link:visited {
  color: #444 !important;
  text-decoration-color: #999;
}
/*
  UI cleanup: hide all interactive "Tag" action buttons across the site.
  These buttons are consistently rendered with class names that include
  the suffix "-tag" (e.g., sc-act-tag, c-tag, ex-act-tag, sv-tag, vid-tag,
  td-tag, ar-tag, ev-tag, etc.). We only target buttons to avoid affecting
  non-interactive label chips like .as-tag that are used to display metadata.
*/
/* Stronger kill‑switch for any Tag UI remnants across all pages */
button[class*="-tag"],        /* any button with -tag class suffix */
.btn[class*="-tag"],          /* any Bootstrap-styled element with -tag */
[class*="-tag"],              /* any leftover element rendered with -tag */
.aspect-tag,                   /* aspect tag buttons */
.as-tag,                       /* tag chips/badges */
.as-tags {                     /* tag containers */
  display: none !important;
}
.source-link:hover,
.def-source a:hover,
.small.text-muted a.source-link:hover,
.source-link:focus,
.def-source a:focus {
  color: #444 !important;
  text-decoration-color: #999;
}
