/* AI Creation Lab Community 1.2 — dark canvas only for pages carrying Community shortcodes */
.aclc{--aclc-bg:#101d32;--aclc-surface:#192b45;--aclc-surface2:#223754;--aclc-ink:#f1f7ff;--aclc-muted:#bdcde1;--aclc-accent:#55dfbd;--aclc-line:#344b68; color:var(--aclc-ink);font-family:inherit;line-height:1.6;width:100%;box-sizing:border-box}
.aclc *, .aclc *::before,.aclc *::after{box-sizing:border-box}
.aclc-wrap{width:100%;max-width:1220px;margin:0 auto;padding:18px 6px 38px}
.aclc-heading{background:linear-gradient(115deg,#111e33,#203856);padding:30px 34px;border-radius:20px;margin-bottom:20px;border:1px solid #314561}
.aclc-heading h2{font-size:clamp(25px,3.4vw,37px);font-weight:800;line-height:1.2;color:#fff!important;margin:0 0 6px}
.aclc-heading p{color:var(--aclc-muted)!important;margin:0}
.aclc :is(h2,h3,h4){color:#fff}
.aclc-hero{background:radial-gradient(circle at 92% 10%,rgba(55,219,185,.18),transparent 37%),linear-gradient(120deg,#121e34,#233d5b);border:1px solid #39516e;border-radius:20px;padding:clamp(24px,4vw,45px);color:#fff;margin:0 0 26px}
.aclc-hero h2{font-size:clamp(27px,4.1vw,42px);line-height:1.2;color:#fff!important;margin:12px 0;font-weight:800}
.aclc-hero p{max-width:690px;color:#d0dff0!important;margin:0 0 22px}
.aclc-pill{display:inline-block;font-size:11px;font-weight:800;letter-spacing:.13em;color:#65eac8}
.aclc-actions{display:flex;gap:12px;flex-wrap:wrap}
.aclc-btn{display:inline-flex;align-items:center;justify-content:center;background:#4bd7b1;color:#092a2d!important;padding:12px 22px;border-radius:10px;border:1px solid transparent;text-decoration:none!important;font-size:14px;font-weight:800;line-height:1.25;cursor:pointer;min-height:44px}
.aclc-btn:hover{background:#78ebce;color:#092a2d!important}
.aclc-secondary{background:#263c57;border-color:#526b87;color:#f5faff!important}.aclc-secondary:hover{background:#36536f;color:#fff!important}
.aclc-grid{display:grid;gap:18px}.aclc-three{grid-template-columns:repeat(3,minmax(0,1fr))}.aclc-two{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr))}
.aclc-card,.aclc-panel{padding:24px;border:1px solid var(--aclc-line);border-radius:18px;background:var(--aclc-surface);min-width:0;box-shadow:0 8px 25px rgba(3,13,26,.12);color:#e8f1fb}
.aclc-card{display:flex;flex-direction:column;gap:10px;transition:border-color .15s,transform .15s;overflow:hidden}
.aclc-card:hover{border-color:#62cdb5;transform:translateY(-2px)}
.aclc-card h3{font-size:19px;margin:1px 0 0;color:#fff!important;line-height:1.35;font-weight:750}
.aclc-card p{font-size:14px;color:#c3d3e7!important;margin:0 0 14px;overflow-wrap:anywhere}
.aclc-card-icon{display:inline-flex;justify-content:center;align-items:center;width:48px;height:48px;border-radius:13px;font-size:24px;color:#70ebcd;background:#263e56;border:1px solid #3b5671}
.aclc-card-row{display:flex;align-items:center;justify-content:space-between}
.aclc-card-link{color:#f4f8ff!important;text-decoration:none!important;display:flex}
.aclc-card-link span:last-child,.aclc-open{font-weight:750;color:#62e6c7!important;text-decoration:none!important}
.aclc-open{display:inline-flex;align-items:center;gap:8px;margin-top:auto;align-self:flex-start;padding:9px 0}
.aclc-open:hover{text-decoration:underline!important;color:#9ff6e1!important}
.aclc-cover{display:block;overflow:hidden;border-radius:12px;background:#263c58;aspect-ratio:16/9;margin-bottom:3px}
.aclc-card-image{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;max-width:none!important;margin:0!important}
.aclc-tags{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0}
.aclc-tag{border:1px solid #46617e;background:#263e59;color:#d2e3f4;border-radius:99px;padding:3px 9px;font-size:11px;font-weight:700}
.aclc-tag-private{color:#76ead0;border-color:#377d77;background:#183d48}.aclc-tag-new{color:#ffe2a2;border-color:#866b3a;background:#554322}
.aclc-fav{display:inline-flex;align-items:center;justify-content:center;border:1px solid #506881;background:#263e59;border-radius:50%;width:44px;height:44px;line-height:1;cursor:pointer;color:#d1dcec;font-size:25px;flex:none}
.aclc-fav.is-active{color:#ffce39;background:#5a4516;border-color:#8e6c23}.aclc-fav:disabled{opacity:.6;cursor:wait}
.aclc-nav{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px;padding:11px;background:#13253d;border:1px solid #304863;border-radius:14px}
.aclc-nav a{padding:10px 14px;border-radius:9px;text-decoration:none!important;font-size:13px;font-weight:750;color:#d7e5f2!important;transition:background .15s}
.aclc-nav a:hover,.aclc-nav a.is-current{background:#2c4c66;color:#8bf1d5!important}
.aclc-section-title{font-size:22px;margin:29px 0 16px;color:#fff!important}
.aclc-stats{display:flex;flex-wrap:wrap;gap:12px}.aclc-stats div{background:#2a4560;border:1px solid #3f5e78;border-radius:12px;padding:12px 25px;display:flex;flex-direction:column;align-items:center;min-width:105px}
.aclc-stats strong{font-size:27px;line-height:1.2;color:#fff}.aclc-stats span{font-size:12px;color:#d2e2f1}
.aclc-form-panel{max-width:650px;margin:0 auto}.aclc-form{display:grid;gap:16px}.aclc-form label{display:grid;gap:6px;font-weight:700;font-size:14px;color:#e8f3ff}
.aclc-form input:not([type=hidden]),.aclc-search{width:100%;min-height:46px;border:1px solid #536d89!important;background:#11223a!important;color:#f1f8ff!important;border-radius:10px!important;padding:11px 14px!important;box-shadow:none!important;font-size:15px!important}
.aclc :is(input,textarea)::placeholder{color:#9eb1c8!important;opacity:1}
.aclc-search{margin:0 0 24px}.aclc-form .aclc-btn{justify-self:start}.aclc-muted{color:#c0cfe1!important;font-size:14px}
.aclc-list-intro{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px}.aclc-count{font-size:12px;font-weight:750;color:#8cead4;background:#224c53;border-radius:99px;padding:5px 13px}
.aclc-alert{padding:12px 16px;border-radius:10px;margin-bottom:18px;font-size:14px}.aclc-ok{background:#183d39;color:#a3f7d0;border:1px solid #3b806a}.aclc-error{background:#522b31;color:#ffd8d4;border:1px solid #92555c}
.aclc-centered{text-align:center;max-width:680px;margin:20px auto}.aclc-centered .aclc-actions{justify-content:center}.aclc-centered .aclc-secondary{color:#f1f8ff!important;border-color:#7792ac}.aclc-hero-icon{font-size:42px}
.aclc-honey{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.aclc-entry{overflow-wrap:anywhere;color:#dae8f7}.aclc-entry :is(p,li){color:#d3e1f1}.aclc-embedded{max-width:100%;overflow:auto;margin-top:20px;border-radius:16px}.aclc-embedded iframe,.aclc-entry img{max-width:100%}
.aclc-back{display:inline-block;margin-bottom:15px;color:#61e0c0!important;font-weight:700}
.aclc button:focus-visible,.aclc a:focus-visible,.aclc input:focus-visible{outline:3px solid #71e9ce!important;outline-offset:3px}
.aclc [hidden]{display:none!important}
@media(max-width:780px){.aclc-three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.aclc-three,.aclc-two{grid-template-columns:1fr}.aclc-card,.aclc-panel{padding:18px}.aclc-heading{padding:22px}.aclc-nav{gap:4px}.aclc-nav a{padding:9px 11px}.aclc-stats div{min-width:88px;padding:10px 12px}.aclc-wrap{padding:8px 0 26px}.aclc-card:hover{transform:none}}


/* V1.2 — page-level treatment: never affects public pages or wp-admin. */
body.aclc-community-page{background:#0d192b!important;color:#e8f1fc;}
body.aclc-community-page :is(.site,.site-content,.site-main,.content-area,.site-inner,.content-wrap,.content-container,.site-container,.ast-container,.entry,.hentry,.entry-content,.post-content,.wp-block-post-content,.wp-site-blocks,main#main){background-color:transparent;}
body.aclc-community-page :is(.entry-title,.wp-block-post-title,.page-title,h1.entry-title){color:#f6faff!important;}
body.aclc-community-page :is(.entry-header,.page-header){background:transparent!important;}
body.aclc-community-page :is(.entry-content,.wp-block-post-content){color:#d3e1f2;}
body.aclc-community-page .aclc{background:#101d32;border:1px solid #30465f;border-radius:22px;padding:clamp(14px,2.2vw,28px);box-shadow:0 18px 48px rgba(0,0,0,.22);}
body.aclc-community-page .aclc-wrap{max-width:1280px;padding:0;}
body.aclc-community-page .aclc-list-intro{background:#15253c;border:1px solid #30465f;padding:13px 17px;margin-bottom:15px;border-radius:12px;}
body.aclc-community-page .aclc-list-intro .aclc-muted{color:#deebf9!important;}
body.aclc-community-page .aclc-card{background:linear-gradient(150deg,#1b2d47,#15253b);box-shadow:0 12px 32px rgba(0,0,0,.19);}
body.aclc-community-page .aclc-card:hover{box-shadow:0 16px 37px rgba(0,0,0,.25);}
body.aclc-community-page .aclc-search{border-color:#47637f!important;}
body.aclc-community-page .aclc-nav{margin-bottom:22px;}
body.aclc-community-page .aclc :is(p,li){line-height:1.65;}
body.aclc-community-page .aclc .aclc-count{white-space:nowrap;}
@media(max-width:680px){body.aclc-community-page .aclc{padding:14px;border-radius:15px;}body.aclc-community-page .aclc-list-intro{padding:12px;}body.aclc-community-page .aclc-nav a{flex:1 0 auto;text-align:center;}}

/* V1.3: private announcements and improved member profile. */
.aclc-news-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}
.aclc-news{background:linear-gradient(150deg,#1c324e,#15263e);border:1px solid #3c5876;border-radius:16px;padding:22px;min-width:0;overflow-wrap:anywhere}
.aclc-news-meta{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#79ebd0;font-size:12px;font-weight:750}
.aclc-news-meta time{color:#b9cce3;font-weight:500}
.aclc-news h4{margin:12px 0 8px;color:#fff;font-size:18px;line-height:1.35}
.aclc-news p{margin:0;color:#d1e0f1!important;font-size:14px}
.aclc-profile-top{display:flex;align-items:center;gap:20px;margin-bottom:20px}
.aclc-profile-top h3{margin:7px 0 4px;font-size:25px}
.aclc-profile-top p{margin:3px 0;color:#d2e1f1!important;overflow-wrap:anywhere}
.aclc-profile-avatar{flex:none;width:84px;height:84px;border-radius:50%;overflow:hidden;border:2px solid #65dfc2;background:#294965}
.aclc-profile-avatar img{display:block;width:80px;height:80px;object-fit:cover}
.aclc-profile-form{max-width:none}
.aclc-profile-links{margin:20px 0 10px}
.aclc-profile-links a{color:#76ecd0!important}
@media(max-width:550px){.aclc-profile-top{align-items:flex-start;gap:13px}.aclc-profile-avatar{width:64px;height:64px}.aclc-profile-avatar img{width:60px;height:60px}.aclc-profile-top h3{font-size:20px}}

/* V1.4 — full announcements, thumbnails and member notifications */
.aclc-section-head{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:27px 0 13px}
.aclc-section-head .aclc-section-title{margin:0}
.aclc-news-link{display:inline-flex;align-items:center;gap:8px;color:#6ce9cb!important;font-weight:750;text-decoration:none!important;margin-top:14px}
.aclc-news-link:hover{text-decoration:underline!important}
.aclc-notice-badge{display:inline-block;border-radius:100px;background:#28516a;color:#83f5d6;padding:3px 10px;font-size:12px}
.aclc-news-cover{display:block;margin:-22px -22px 18px;overflow:hidden;border-radius:16px 16px 0 0}
.aclc-news-image{width:100%;height:185px;object-fit:cover;display:block}
.aclc-news-detail{max-width:100%;overflow-wrap:anywhere}
.aclc-news-detail-image{width:100%;max-height:440px;object-fit:cover;border-radius:12px;margin:12px 0 22px}
.aclc-news-detail .aclc-entry{color:#e6f0fb;line-height:1.8}
.aclc-news-detail .aclc-entry :is(h2,h3,h4){color:#fff}
@media(max-width:680px){.aclc-news-cover{margin:-22px -22px 16px}.aclc-section-head{align-items:flex-start}}
