/** Amaley Core Content Showcase. Scoped only to this widget. Grid + proper carousel only. */
.amaley-cw-core-showcase{--acw-core-bg:#fff8eb;--acw-core-text:#3a2114;--acw-core-muted:#7a6858;--acw-core-cacao:#2e1203;--acw-core-gold:#c2880a;--acw-core-border:#ead8bb;--acw-core-card:#fffaf0;--acw-core-columns:4;--acw-core-slides:4;--acw-core-gap:24px;background:var(--acw-core-bg);color:var(--acw-core-text);position:relative;overflow:hidden}
.amaley-cw-core-showcase *{box-sizing:border-box}
.amaley-cw-core-showcase__inner{width:100%;max-width:1240px;margin-inline:auto}
.amaley-cw-core-showcase__header{text-align:center;margin-bottom:32px}
.amaley-cw-core-showcase__eyebrow{display:block;margin:0 0 10px;color:var(--acw-core-gold);font-size:11px;font-weight:800;letter-spacing:.22em;text-transform:uppercase;line-height:1.25}
.amaley-cw-core-showcase__title{margin:0;color:var(--acw-core-cacao);font-family:Georgia,'Times New Roman',serif;font-size:clamp(30px,4vw,54px);line-height:1.04;font-weight:500}
.amaley-cw-core-showcase__desc{max-width:680px;margin:14px auto 0;color:var(--acw-core-muted);font-size:15px;line-height:1.7}
.amaley-cw-core-showcase__shell{position:relative}
.amaley-cw-core-showcase__viewport{position:relative;width:100%;overflow:visible}
.amaley-cw-core-showcase__items{display:grid;gap:24px;align-items:stretch}
.amaley-cw-core-showcase__items.is-grid{grid-template-columns:repeat(var(--acw-core-columns),minmax(0,1fr))}
.amaley-cw-core-showcase__items.is-carousel{display:flex;gap:var(--acw-core-gap);align-items:stretch;will-change:transform;transition:transform 320ms ease;transform:translate3d(0,0,0);touch-action:pan-y;user-select:none}
.amaley-cw-core-showcase__items.is-carousel .amaley-cw-core-showcase__card{flex:0 0 calc((100% - (var(--acw-core-gap) * (var(--acw-core-slides) - 1))) / var(--acw-core-slides));min-width:0}
.amaley-cw-core-showcase.is-view-carousel .amaley-cw-core-showcase__viewport{overflow:hidden}
.amaley-cw-core-showcase__card{position:relative;min-width:0}
.amaley-cw-core-showcase.has-equal-cards .amaley-cw-core-showcase__card,.amaley-cw-core-showcase.has-equal-cards .amaley-cw-core-showcase__card-inner{height:100%}
.amaley-cw-core-showcase__card-inner{position:relative;display:flex;flex-direction:column;overflow:hidden;background:var(--acw-core-card);border:1px solid var(--acw-core-border);border-radius:22px;box-shadow:0 14px 34px rgba(46,18,3,.08);transition-property:transform,box-shadow,background,border-color;transition-duration:220ms;transition-timing-function:ease}
.amaley-cw-core-showcase__card-link-overlay{position:absolute;inset:0;z-index:2;text-indent:-9999px}
.amaley-cw-core-showcase__media{position:relative;width:100%;height:260px;overflow:hidden;background:#f1dfbd;color:var(--acw-core-cacao);display:flex;align-items:center;justify-content:center;text-align:center;font-size:13px;font-weight:700}
.amaley-cw-core-showcase__media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;transition:transform 220ms ease,opacity 220ms ease}
.amaley-cw-core-showcase__body{position:relative;z-index:3;display:flex;flex:1;flex-direction:column;padding:20px;gap:12px}
.amaley-cw-core-showcase__status{align-self:flex-start;display:inline-flex;align-items:center;gap:6px;padding:5px 9px;background:#fbefd9;border:1px solid var(--acw-core-border);border-radius:999px;color:var(--acw-core-muted);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.amaley-cw-core-showcase__label{margin:0;color:var(--acw-core-gold);font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;line-height:1.2}
.amaley-cw-core-showcase__card-title{margin:0;color:var(--acw-core-cacao);font-family:Georgia,'Times New Roman',serif;font-size:22px;line-height:1.15;font-weight:700}
.amaley-cw-core-showcase__card-title a{color:inherit;text-decoration:none}
.amaley-cw-core-showcase__excerpt{color:var(--acw-core-muted);font-size:14px;line-height:1.58}
.amaley-cw-core-showcase__meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:2px}
.amaley-cw-core-showcase__meta-item{padding:10px 12px;background:#fff4df;border:1px solid var(--acw-core-border);border-radius:12px;min-width:0}
.amaley-cw-core-showcase__meta-label{display:block;margin-bottom:4px;color:var(--acw-core-gold);font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;line-height:1.2}
.amaley-cw-core-showcase__meta-value{display:block;color:var(--acw-core-cacao);font-size:12px;line-height:1.25;font-weight:800;overflow-wrap:anywhere}
.amaley-cw-core-showcase__chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:auto}
.amaley-cw-core-showcase__chip{display:inline-flex;align-items:center;max-width:100%;padding:5px 8px;background:#fff1d8;border:1px solid var(--acw-core-border);border-radius:999px;color:var(--acw-core-muted);font-size:10px;font-weight:700;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.amaley-cw-core-showcase__button,.amaley-cw-core-showcase__section-cta{position:relative;z-index:4;display:inline-flex;align-items:center;justify-content:center;gap:8px;width:max-content;max-width:100%;margin-top:4px;padding:12px 22px;background:#8a4a24;color:#fff;text-decoration:none;border:1px solid transparent;border-radius:999px;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;line-height:1.2;transition:background 220ms ease,color 220ms ease,border-color 220ms ease,transform 220ms ease,box-shadow 220ms ease}
.amaley-cw-core-showcase__button:hover,.amaley-cw-core-showcase__section-cta:hover{background:var(--acw-core-cacao);color:#fff;transform:translateY(-2px)}
.amaley-cw-core-showcase__cta-wrap{text-align:center;margin-top:32px}
.amaley-cw-core-showcase__nav{position:absolute;z-index:8;top:50%;transform:translateY(-50%);width:44px;height:44px;border:1px solid var(--acw-core-border);border-radius:999px;background:#fffaf0;color:var(--acw-core-cacao);box-shadow:0 10px 28px rgba(46,18,3,.16);font-size:28px;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background 180ms ease,transform 180ms ease,opacity 180ms ease}
.amaley-cw-core-showcase__nav:hover{background:#fff4df;transform:translateY(-50%) scale(1.04)}
.amaley-cw-core-showcase__nav.is-prev{left:-18px}.amaley-cw-core-showcase__nav.is-next{right:-18px}
.amaley-cw-core-showcase__nav[disabled]{opacity:.35;cursor:not-allowed;pointer-events:none}
.amaley-cw-core-showcase__dots{display:flex;justify-content:center;gap:8px;margin-top:18px}
.amaley-cw-core-showcase__dot{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:rgba(46,18,3,.22);cursor:pointer;transition:width 180ms ease,background 180ms ease}
.amaley-cw-core-showcase__dot.is-active{width:22px;background:var(--acw-core-gold)}
.amaley-cw-core-showcase__pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:28px}
.amaley-cw-core-showcase__pagination a,.amaley-cw-core-showcase__pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 12px;border:1px solid var(--acw-core-border);border-radius:999px;background:#fffaf0;color:var(--acw-core-cacao);font-size:13px;font-weight:800;text-decoration:none}
.amaley-cw-core-showcase__pagination .is-current,.amaley-cw-core-showcase__pagination a:hover{background:var(--acw-core-cacao);color:#fff;border-color:var(--acw-core-cacao)}
.amaley-cw-core-showcase__empty{padding:28px;border:1px dashed var(--acw-core-border);border-radius:18px;background:#fffaf0;color:var(--acw-core-muted);text-align:center;font-size:14px}
.amaley-cw-core-showcase.has-card-motion .amaley-cw-core-showcase__card:hover .amaley-cw-core-showcase__card-inner{transform:translateY(-6px);box-shadow:0 20px 48px rgba(46,18,3,.14)}
.amaley-cw-core-showcase.has-image-zoom .amaley-cw-core-showcase__card:hover .amaley-cw-core-showcase__media img{transform:scale(1.06)}
.amaley-cw-core-showcase.has-overflow-shadow .amaley-cw-core-showcase__viewport:before,.amaley-cw-core-showcase.has-overflow-shadow .amaley-cw-core-showcase__viewport:after{content:"";position:absolute;top:0;bottom:0;width:40px;z-index:5;pointer-events:none}.amaley-cw-core-showcase.has-overflow-shadow .amaley-cw-core-showcase__viewport:before{left:0;background:linear-gradient(90deg,var(--acw-core-bg),transparent)}.amaley-cw-core-showcase.has-overflow-shadow .amaley-cw-core-showcase__viewport:after{right:0;background:linear-gradient(270deg,var(--acw-core-bg),transparent)}
@media (max-width:1024px){.amaley-cw-core-showcase{--acw-core-columns:2;--acw-core-slides:2}.amaley-cw-core-showcase.hide-tablet{display:none!important}.amaley-cw-core-showcase__nav.is-prev{left:6px}.amaley-cw-core-showcase__nav.is-next{right:6px}}
@media (max-width:767px){.amaley-cw-core-showcase{--acw-core-columns:1;--acw-core-slides:1.08}.amaley-cw-core-showcase.hide-mobile{display:none!important}.amaley-cw-core-showcase__meta{grid-template-columns:1fr}.amaley-cw-core-showcase__title{font-size:clamp(28px,10vw,42px)}.amaley-cw-core-showcase__nav{width:38px;height:38px;font-size:24px}.amaley-cw-core-showcase__nav.is-prev{left:2px}.amaley-cw-core-showcase__nav.is-next{right:2px}}
@media (min-width:1025px){.amaley-cw-core-showcase.hide-desktop{display:none!important}}
@media (prefers-reduced-motion:reduce){.amaley-cw-core-showcase *{transition-duration:.01ms!important;animation-duration:.01ms!important}.amaley-cw-core-showcase.has-card-motion .amaley-cw-core-showcase__card:hover .amaley-cw-core-showcase__card-inner,.amaley-cw-core-showcase.has-image-zoom .amaley-cw-core-showcase__card:hover .amaley-cw-core-showcase__media img{transform:none!important}}

/* v0.4.34: selected Amaley Core / future registered card templates stay inside the same grid/carousel frame. */
.amaley-cw-core-showcase__registered-card{height:100%;min-width:0}
.amaley-cw-core-showcase__registered-card>.amaley-card{height:100%;max-width:100%}
.amaley-cw-core-showcase.has-equal-cards .amaley-cw-core-showcase__registered-card>.amaley-card{height:100%}
.amaley-cw-core-showcase__items.is-carousel .amaley-cw-core-showcase__card.is-registered-card-template{flex:0 0 calc((100% - (var(--acw-core-gap) * (var(--acw-core-slides) - 1))) / var(--acw-core-slides));min-width:0}

/* v0.4.35: polish registered Core/future cards so selector-based cards sit cleanly in the same grid/carousel frame. */
.amaley-cw-core-showcase__card.is-registered-card-template{display:flex;min-width:0}
.amaley-cw-core-showcase__card.is-registered-card-template .amaley-cw-core-showcase__registered-card{display:flex;width:100%;height:100%;min-width:0}
.amaley-cw-core-showcase__card.is-registered-card-template .amaley-cw-core-showcase__registered-card>.amaley-card{width:100%;height:100%;min-width:0;transition-property:transform,box-shadow,background,border-color;transition-duration:220ms;transition-timing-function:ease}
.amaley-cw-core-showcase__registered-card .amaley-card__media{overflow:hidden}
.amaley-cw-core-showcase__registered-card .amaley-card__media img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;transition:transform 220ms ease,opacity 220ms ease}
.amaley-cw-core-showcase.has-card-motion .amaley-cw-core-showcase__card.is-registered-card-template:hover .amaley-card{transform:translateY(-6px)}
.amaley-cw-core-showcase.has-image-zoom .amaley-cw-core-showcase__card.is-registered-card-template:hover .amaley-card__media img{transform:scale(1.06)}

/* v0.4.39: safe full-card frontend click support. No saved styling controls/selectors changed. */
.amaley-cw-core-showcase.has-card-clickable .amaley-cw-core-showcase__card[data-card-url]{cursor:pointer}
.amaley-cw-core-showcase.has-card-clickable .amaley-cw-core-showcase__card[data-card-url] a,
.amaley-cw-core-showcase.has-card-clickable .amaley-cw-core-showcase__card[data-card-url] button{cursor:pointer}
