/* Crossing Cartoon only: preserve original artwork and existing vote actions. */
.cc-banner.img-screen{height:clamp(180px,22vw,330px)!important;overflow:hidden;background:#202126}
.cc-banner .img-resize{height:100%!important;width:100%}
.cc-page{background:#eaeaea!important}
.cc-page .cc-layout.container.width-100{width:100%;max-width:none;display:block;margin:0 auto}.cc-layout:after{content:"";display:block;clear:both}
.cc-page .cc-main,.cc-page .cc-sidebar{min-width:0}
.cc-page .cc-main-panel{background:#fff;border:0;border-radius:0!important;padding:15px!important;box-shadow:none!important}

.cc-sidebar .box-page-bg{border-radius:0!important;overflow:hidden;border:0;padding:15px!important;margin-bottom:20px;box-shadow:none!important}
.cc-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;border-bottom:1px solid #e6e7e9;padding:0 0 20px;margin:0 0 22px}
.cc-eyebrow{display:block;font-size:10px;letter-spacing:1.5px;font-weight:700;color:#678b2b;margin:0 0 7px}
.cc-heading h1{font-size:29px;font-weight:750;line-height:1.15;color:#23262d;margin:0 0 7px}
.cc-heading p{font-size:14px;line-height:1.5;color:#666d75;margin:0;text-align:left}
.cc-share{flex:0 1 auto;max-width:100%;min-width:0}
.cc-gallery{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;align-items:start}
.cc-card{min-width:0;position:relative;overflow:hidden;border:0;border-radius:0;background:#24262d;box-shadow:none;transition:box-shadow .18s,border-color .18s}
.cc-card:hover{box-shadow:none}
.cc-artwork{display:block;aspect-ratio:auto;overflow:hidden;background:transparent}
.cc-artwork .cc-image{display:block;width:100%!important;height:auto!important;object-fit:contain;object-position:center;transition:transform .2s}
.cc-card-footer{position:relative;background:#24262d;padding:2px 7px;border-top:0;min-height:32px}
.cc-card-footer .votes-btns{display:flex!important;align-items:center;justify-content:space-between;gap:8px;width:100%;margin:0!important;padding:0!important;position:relative!important;float:none!important}
.cc-card-footer .vote-btn{display:inline-flex!important;align-items:center;gap:6px;min-height:28px;padding:3px 4px!important;border:0!important;border-radius:0;background:transparent!important;color:#fff;font-size:13px;font-weight:600;line-height:1.2;cursor:pointer;float:none!important;margin:0!important}
.cc-card-footer .vote-btn .fa{font-size:14px!important}
.cc-card-footer .btn-cartoon{display:inline-flex!important;align-items:center;justify-content:center;width:30px!important;height:28px!important;min-width:30px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#ff5022!important;font-size:19px!important;line-height:1!important;float:none!important}
.cc-card-footer .btn-cartoon:hover{background:transparent!important;color:#ff895f!important}
.cc-card-footer .loading-cartoon{position:absolute;right:0;width:28px;height:28px}
.cc-card a:focus-visible,.cc-card button:focus-visible{outline:2px solid #7ea236;outline-offset:-2px}
@media(min-width:1450px){.cc-gallery{grid-template-columns:repeat(7,minmax(0,1fr))}}
@media(max-width:1100px){.cc-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:900px){.cc-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.cc-heading{gap:12px;margin-bottom:14px;padding-bottom:14px}.cc-heading h1{font-size:24px}.cc-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cc-card-footer{padding:2px 6px}.cc-banner.img-screen{height:170px!important}}

/* Natural-height masonry columns avoid empty fixed-height image frames. */
.cc-gallery{display:block;column-count:7;column-gap:8px}
.cc-gallery .cc-card{display:inline-block;vertical-align:top;width:100%;margin:0 0 8px;break-inside:avoid;page-break-inside:avoid}
@media(max-width:1100px){.cc-gallery{column-count:4}}
@media(max-width:900px){.cc-gallery{column-count:3}}
@media(max-width:560px){.cc-gallery{column-count:2}}

/* Compact anthracite action strip; retain natural image heights. */
.cc-gallery .cc-card-footer .vote-btn{box-shadow:none!important}
.cc-gallery .cc-card-footer .btn-cartoon{box-shadow:none!important}
.cc-gallery .cc-card-footer .vote-btn:hover{color:#bed28d}
.cc-gallery .cc-card-footer .vote-btn[style*='green']{color:#a7d45b!important}
.cc-gallery .cc-card-footer .votes-btns>span{display:inline-flex;align-items:center}
.cc-gallery .cc-card-footer .vote-btn .fa{color:inherit}

/* Skip rendering off-screen artwork where supported; retain measured card heights. */
@supports (content-visibility:auto) and (contain-intrinsic-size:auto 220px){
 .cc-gallery .cc-card{content-visibility:auto;contain-intrinsic-size:auto 220px}
}

/* Original Collection layout, with square main panels and natural-height artwork. */
.cc-page .cc-gallery .cc-card{border-radius:0!important}
@media(max-width:767px){.cc-page .cc-sidebar{margin-top:15px}.cc-page .cc-main-panel{padding:12px!important}}
