/* Scope these overrides to the gallery, including inherited Elementor styles. */
.cgu-gallery-shell { max-width: 1440px; }
.cgu-gallery-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 44px; align-items: start; }
.cgu-gallery-main { min-width: 0; }
.cgu-gallery-main .cgu-gallery-notice { margin-top: 0; }
.cgu-gallery-shell .cgu-gallery-photo,
.cgu-gallery-shell .cgu-gallery-photo figcaption,
.cgu-gallery-shell .cgu-gallery-photo figcaption * { font-style: normal; }
.cgu-gallery-shell .cgu-gallery-photo figcaption { text-align: left; padding-top: 16px; }
.cgu-gallery-shell .cgu-gallery-photo .cgu-gallery-credit { font-size: 12px; line-height: 1.55; color: #52666e; }
.cgu-gallery-shell .cgu-gallery-actions { gap: 8px; margin: 12px 0 10px; align-items: stretch; }
.cgu-gallery-shell .cgu-gallery-actions > a,
.cgu-gallery-shell .cgu-gallery-actions > button {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 9px 12px; border: 1px solid #006b70; border-radius: 6px;
  font-family: inherit; font-style: normal; font-size: 13px; font-weight: 600;
  line-height: 1.3; text-transform: none; text-decoration: none; letter-spacing: 0;
  box-shadow: none; cursor: pointer; transition: background-color .15s, color .15s;
}
.cgu-gallery-shell .cgu-gallery-actions > a { background: #006b70; color: #fff; }
.cgu-gallery-shell .cgu-gallery-actions > a::before { content: '↓'; font-size: 18px; line-height: 1; }
.cgu-gallery-shell .cgu-gallery-actions > button { background: #fff; color: #006b70; }
.cgu-gallery-shell .cgu-gallery-actions > a:hover { background: #004e53; border-color: #004e53; color: #fff; }
.cgu-gallery-shell .cgu-gallery-actions > button:hover { background: #e7f3f1; color: #004e53; }
.cgu-gallery-shell .cgu-gallery-actions > :focus-visible { outline: 3px solid #d98216; outline-offset: 3px; }
.cgu-gallery-shell .cgu-gallery-photo small { display: block; font-size: 11px; line-height: 1.5; }
.cgu-gallery-sidebar { border-left: 1px solid #dce5e8; padding-left: 26px; min-width: 0; }
.cgu-gallery-sidebar .cgu-gallery-kicker { font-size: 10px; margin: 0 0 10px; }
.cgu-gallery-sidebar h2 { font-size: 24px; line-height: 1.2; color: #163e50; margin: 0 0 24px; }
.cgu-gallery-news-card { padding: 0 0 24px; margin: 0 0 24px; border-bottom: 1px solid #dce5e8; }
.cgu-gallery-news-image { display: block; overflow: hidden; border-radius: 6px; }
.cgu-gallery-news-image:empty { display: none; }
.cgu-gallery-news-image img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
.cgu-gallery-news-card .cgu-gallery-meta { font-size: 12px; margin: 12px 0 7px; }
.cgu-gallery-news-card h3 { font-size: 17px; line-height: 1.45; margin: 0 0 12px; }
.cgu-gallery-news-card h3 a { text-decoration: none; color: #163e50; }
.cgu-gallery-news-card h3 a:hover { text-decoration: underline; }
.cgu-gallery-news-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 13px; font-weight: 600; }
.cgu-gallery-sidebar .cgu-gallery-button { padding: 8px 12px; font-size: 13px; }
.cgu-gallery-all-albums { display: inline-block; font-size: 14px; font-weight: 600; }
.cgu-gallery-dialog [data-caption]:empty { display: none; }
@media (min-width: 961px) and (max-width: 1200px) {
  .cgu-gallery-layout { grid-template-columns: minmax(0, 1fr) 250px; gap: 28px; }
  .cgu-gallery-main .cgu-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cgu-gallery-sidebar { padding-left: 20px; }
}
@media (max-width: 960px) {
  .cgu-gallery-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .cgu-gallery-sidebar { border-left: 0; border-top: 1px solid #dce5e8; padding: 28px 0 0; }
  .cgu-gallery-news-card { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 4px 16px; }
  .cgu-gallery-news-image { grid-column: 1; grid-row: 1 / span 3; align-self: start; }
  .cgu-gallery-news-card .cgu-gallery-meta, .cgu-gallery-news-card h3, .cgu-gallery-news-links { grid-column: 2; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .cgu-gallery-shell .cgu-gallery-actions > * { transition: none; } }
