/* Scoped to converted layouts; Slider Revolution and pciwgas remain independent. */
.jan-layout { --jan-pink: #c43e44; --jan-pink-dark: #aa2d33; --jan-space: 30px; }
.jan-layout *, .jan-photo-section * { box-sizing: border-box; }
.jan-row { display: flex; flex-wrap: wrap; width: 100%; }
.jan-column { flex: 0 0 var(--jan-width, 100%); min-width: 0; width: var(--jan-width, 100%); }
.jan-text { margin-left: var(--jan-margin-left, 0); margin-right: var(--jan-margin-right, 0); }
.jan-layout .jan-text, .jan-layout .jan-text p, .jan-layout .jan-text .entry-content { color: #555; }
.jan-layout .jan-text a { color: #00777d; }
.jan-layout .jan-text a:hover { color: #00575c; }
.jan-layout .jan-text .entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.jan-spacer { height: var(--jan-height, 32px); }
.jan-separator { border: 0; border-top: 1px solid #ddd; margin: 1.25rem 0; }
.jan-photo-section { margin: 0 10% 48px; }
.jan-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.jan-card { min-width: 0; background: #f9f9f9; display: flex; flex-direction: column; }
.jan-card-media { display: block; aspect-ratio: 1; overflow: hidden; background: #eee; }
.jan-card .jan-card-image { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; border: 0; }
.jan-image-placeholder { display: block; width: 100%; height: 100%; background: #ececec; }
.jan-card-body { padding: 20px; flex: 1; }
.jan-card-title { text-align: left; margin: 0 0 15px; }
.jan-card-title a { color: inherit; text-decoration: none; }
.jan-card-excerpt { margin: 0 0 20px; text-align: left; overflow-wrap: anywhere; }
.jan-layout .jan-button, .jan-photo-section .jan-button { display: inline-block; min-height: 44px; padding: 14px 20px; border: 1px solid transparent; border-radius: 5px; background: var(--jan-pink, #c43e44); color: #fff; font-size: 14px; line-height: 20px; text-decoration: none; text-align: center; cursor: pointer; }
.jan-layout .jan-button:hover, .jan-photo-section .jan-button:hover { background: var(--jan-pink-dark, #aa2d33); color: #fff; }
.jan-photo-section .jan-button-secondary { color: #9d2840; background: #fff; border-color: currentColor; }
.jan-layout a:focus-visible, .jan-photo-section a:focus-visible, .jan-gallery:focus-visible { outline: 3px solid #8b1e3f; outline-offset: 4px; }
.jan-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }
.jan-button[aria-disabled="true"] { cursor: progress; opacity: .7; }
.jan-grid-status:not(.jan-sr-only), .jan-grid-notice { padding: 12px 0; text-align: center; }
.jan-gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; }
.jan-gallery > figure { flex: 0 0 100%; scroll-snap-align: start; }
.jan-single-image { margin: 0; }
.jan-single-image img { display: block; width: auto; max-width: 100%; height: auto; }
.jan-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: no-preference) { .jan-card { animation: jan-fade-in .35s ease both; } @keyframes jan-fade-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } } }
@media (max-width: 900px) { .jan-photo-section { margin-left: 6%; margin-right: 6%; } .jan-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; } .jan-text { margin-left: min(var(--jan-margin-left, 0px), 6%); margin-right: min(var(--jan-margin-right, 0px), 6%); } }
@media (max-width: 600px) { .jan-photo-section { margin-left: 4%; margin-right: 4%; } .jan-photo-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; } .jan-column { flex-basis: 100%; width: 100%; } .jan-card-body { padding: 20px; } }
