/* Every rule belongs to this component. Header, menu, posts, and art galleries are outside it. */
#mghs-slideshow { display: block; box-sizing: border-box; width: 100%; margin: 0; padding: 10px 16px 0; color: #332a24; font-family: Arial, sans-serif; container-type: inline-size; }
#mghs-slideshow *, #mghs-slideshow *::before, #mghs-slideshow *::after { box-sizing: border-box; }
#mghs-slideshow [hidden] { display: none !important; }
#mghs-slideshow a { color: inherit; text-decoration: none; }
#mghs-slideshow button { cursor: pointer; border-radius: 0; border: 1px solid transparent; background: #fffdfb; color: #7e6240; font: 400 12px/1.4 Arial, sans-serif; padding: 9px 12px; margin: 0; text-transform: none; letter-spacing: normal; }
#mghs-slideshow button:disabled { opacity: .4; cursor: default; }
#mghs-slideshow a:focus-visible, #mghs-slideshow button:focus-visible, #mghs-slideshow input:focus-visible, #mghs-slideshow select:focus-visible { outline: 2px solid #846138; outline-offset: 3px; }
#mghs-slideshow .mghs-shell { position: relative; }
#mghs-slideshow .mghs-border { position: relative; padding: 1px; overflow: hidden; background: #c6a58d; }
#mghs-slideshow .mghs-border::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(108deg, #aa8561 0%, #c6a58d 35%, #e8d3ae 43%, #f8edce 47%, #caa884 53%, #a5835d 70%, #c6a58d 100%); background-size: 260% 100%; background-position: 100% 50%; }
#mghs-slideshow.mghs-moving .mghs-border::before { animation: mghsGoldLight 15s ease-in-out infinite; }
#mghs-slideshow .mghs-row { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; }
#mghs-slideshow .mghs-row.mghs-travelling .mghs-picture { display: block; }
#mghs-slideshow .mghs-picture { position: relative; display: block; min-width: 0; aspect-ratio: 3 / 2; background: #f7eee3; overflow: hidden; }
#mghs-slideshow .mghs-picture img, #mghs-slideshow .mghs-picture video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; object-fit: cover; }
#mghs-slideshow .mghs-picture-title { position: absolute; left: 50%; bottom: 13px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 30px); padding: 5px 9px; color: #73502c; background: rgba(255,253,247,.64); font: 400 14px/1.35 Georgia, 'Times New Roman', serif; letter-spacing: .035em; text-align: center; overflow-wrap: anywhere; }
#mghs-slideshow .mghs-controls { position: relative; display: flex; justify-content: center; align-items: center; min-height: 27px; }
#mghs-slideshow .mghs-dots { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 2px; }
#mghs-slideshow .mghs-dot { display: flex; align-items: center; justify-content: center; min-width: 32px; height: 25px; padding: 8px; background: transparent; }
#mghs-slideshow .mghs-dot span { display: block; height: 2px; width: 15px; background: #d8c5b1; }
#mghs-slideshow .mghs-dot[aria-pressed="true"] span { background: #967246; width: 21px; }
#mghs-slideshow .mghs-arrow { position: absolute; z-index: 2; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 34px; padding: 7px; background: #fffdf7; box-shadow: 0 1px 6px rgba(63,42,21,.10); }
#mghs-slideshow .mghs-prev { left: 10px; }
#mghs-slideshow .mghs-next { right: 10px; }
#mghs-slideshow .mghs-icon-button { position: absolute; z-index: 2; right: 10px; width: 32px; height: 32px; padding: 7px; display: inline-flex; align-items: center; justify-content: center; background: #fffdf7; box-shadow: 0 1px 6px rgba(63,42,21,.10); }
#mghs-slideshow .mghs-edit { top: 10px; }
#mghs-slideshow .mghs-motion { bottom: 10px; }
#mghs-slideshow .mghs-chevron { display: block; width: 9px; height: 9px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
#mghs-slideshow .mghs-left { transform: rotate(-135deg); }
#mghs-slideshow .mghs-play { width: 0; height: 0; border-left: 10px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }
#mghs-slideshow .mghs-pause { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
#mghs-slideshow .mghs-pencil { font: 23px/1 Georgia, serif; }
#mghs-slideshow .mghs-reader-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#mghs-slideshow .mghs-editor { padding: 20px; margin-top: 14px; background: #f4ede4; border-top: 1px solid #d5c0a8; }
#mghs-slideshow .mghs-editor-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 17px; font-size: 13px; }
#mghs-slideshow .mghs-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
#mghs-slideshow .mghs-fields label { display: flex; flex-direction: column; gap: 7px; min-width: 0; color: #65533e; font: 400 12px/1.4 Arial, sans-serif; }
#mghs-slideshow .mghs-fields .mghs-title-choice { flex-direction: row; align-items: center; gap: 10px; }
#mghs-slideshow .mghs-title-choice input { width: 18px; min-width: 18px; height: 18px; }
#mghs-slideshow .mghs-full { grid-column: 1 / -1; }
#mghs-slideshow input, #mghs-slideshow select { min-width: 0; font: 400 16px/1.4 Arial, sans-serif; width: 100%; height: auto; padding: 10px; border-radius: 0; border: 1px solid #d5c0a8; background: #fffdfb; color: #332a24; box-shadow: none; }
#mghs-slideshow .mghs-order-actions, #mghs-slideshow .mghs-editor-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 15px; }
#mghs-slideshow .mghs-order-actions button, #mghs-slideshow .mghs-editor-actions button, #mghs-slideshow .mghs-choose-media { border-color: #d5c0a8; }
#mghs-slideshow .mghs-editor-actions { border-top: 1px solid #e0d1be; padding-top: 15px; }
#mghs-slideshow .mghs-save { background: #846138; color: #fffdfb; }
#mghs-slideshow .mghs-error { color: #923f2c; font: 400 13px/1.5 Arial, sans-serif; margin: 13px 0 0; }
#mghs-slideshow .mghs-notice, #mghs-slideshow .mghs-media-name { color: #776041; font: 400 12px/1.5 Arial, sans-serif; margin: 12px 0 0; }
#mghs-slideshow .mghs-media-name { margin-left: 10px; }
@keyframes mghsGoldLight { 0%, 12% { background-position: 100% 50%; } 64%, 100% { background-position: 0% 50%; } }
@container (max-width: 600px) { #mghs-slideshow .mghs-row { grid-template-columns: minmax(0,1fr); } #mghs-slideshow .mghs-picture:nth-child(n+2) { display: none; } #mghs-slideshow .mghs-picture-title { font-size: 15px; } #mghs-slideshow .mghs-fields { grid-template-columns: minmax(0,1fr); } #mghs-slideshow .mghs-editor { padding: 14px; } }
@media (max-width: 600px) { #mghs-slideshow { padding-left: 12px; padding-right: 12px; } #mghs-slideshow .mghs-row { grid-template-columns: minmax(0,1fr); } #mghs-slideshow .mghs-picture:nth-child(n+2) { display: none; } #mghs-slideshow .mghs-fields { grid-template-columns: minmax(0,1fr); } }
@media (pointer: coarse) { #mghs-slideshow button { min-height: 44px; } #mghs-slideshow .mghs-arrow, #mghs-slideshow .mghs-icon-button, #mghs-slideshow .mghs-dot { min-width: 44px; } }
@media (prefers-reduced-motion: reduce) { #mghs-slideshow.mghs-moving .mghs-border::before { animation: none; } }
