.content-wrap{max-width:1440px;margin:38px auto 80px;padding:0 32px}.content-wrap h1{font-size:42px;letter-spacing:-.06em;margin:0 0 10px}.content-wrap>p{color:#667085;margin:0 0 28px}.content-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.content-card{background:#fff;border:1px solid #e5e7eb;border-radius:24px;padding:18px;box-shadow:0 16px 40px rgba(17,24,39,.06);display:flex;flex-direction:column;gap:10px;min-height:280px}.content-card i{height:130px;border-radius:18px}.content-card small{color:#5b5cf6;font-weight:900}.content-card h3{margin:0;font-size:21px;letter-spacing:-.04em}.content-card p{color:#667085;line-height:1.65;margin:0}.content-card span{margin-top:auto;color:#111827;font-weight:800}.detail-hero{background:#fff;border:1px solid #e5e7eb;border-radius:30px;box-shadow:0 18px 50px rgba(17,24,39,.08);overflow:hidden}.detail-cover{height:280px;background:linear-gradient(135deg,#e0f2fe,#ede9fe)}.detail-body{padding:34px;display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px}.detail-body h1{font-size:44px}.detail-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.detail-meta div{background:#f8fafc;border-radius:16px;padding:16px}.detail-meta span{display:block;color:#667085;font-size:12px}.detail-meta strong{display:block;margin-top:5px}.side-panel{background:#f8fafc;border-radius:24px;padding:24px}.review-list{display:flex;flex-direction:column;gap:12px}.review-item{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:16px}.review-item h4{margin:0 0 8px}.review-item p{color:#667085;line-height:1.65;margin:0}.post-list{display:flex;flex-direction:column;gap:12px}.post-row{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:18px;display:grid;grid-template-columns:130px minmax(0,1fr) 120px;gap:16px;align-items:center}.post-row span{font-size:12px;color:#5b5cf6;font-weight:900}.post-row h3{margin:0 0 8px}.post-row p{margin:0;color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.comment-box{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:16px;margin-top:12px}@media(max-width:1000px){.content-grid{grid-template-columns:1fr 1fr}.detail-body{grid-template-columns:1fr}.post-row{grid-template-columns:1fr}}@media(max-width:640px){.content-grid{grid-template-columns:1fr}.content-wrap{padding:0 16px}}

/* v161 content quality pass */
.content-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:28px}
.content-page-head div{max-width:760px}
.content-page-head h1{margin:0 0 10px}
.content-page-head p{margin:0;color:#667085;line-height:1.7}
.content-page-badge{padding:9px 12px;border:1px solid #dddfff;border-radius:999px;background:#f8f7ff;color:#5b5cf6;font-size:12px;font-weight:900;white-space:nowrap}
.content-card{padding:0;overflow:hidden;min-height:360px;transition:transform .18s ease,box-shadow .18s ease}
.content-card:hover{transform:translateY(-3px);box-shadow:0 22px 55px rgba(17,24,39,.10)}
.content-card img{width:100%;height:190px;object-fit:cover;background:#eef2f7}
.content-card-body{padding:17px 18px 18px;display:flex;flex-direction:column;gap:9px;flex:1}
.content-card-body p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.detail-cover{height:360px;background-size:cover;background-position:center;position:relative}
.detail-cover:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 55%,rgba(15,23,42,.16))}
.detail-body article>p{color:#475467;line-height:1.95;font-size:15px}
.detail-rating-row{display:flex;align-items:center;gap:10px;margin:8px 0 0;color:#667085;font-size:13px}
.detail-rating-row strong{color:#f59e0b}
.detail-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:24px 0}
.detail-info-grid div{padding:16px;border:1px solid #edf0f4;border-radius:16px;background:#fafbfe}
.detail-info-grid span{display:block;color:#7b8494;font-size:11px;font-weight:800}
.detail-info-grid strong{display:block;margin-top:6px;line-height:1.5}
.detail-section{margin-top:28px;padding-top:24px;border-top:1px solid #eef1f5}
.detail-section h2{margin:0 0 12px;font-size:22px;letter-spacing:-.04em}
.detail-section p{margin:0;color:#475467;line-height:1.9}
.detail-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}
.detail-gallery img{width:100%;height:150px;object-fit:cover;border-radius:16px;background:#eef2f7}
.side-panel{position:sticky;top:100px;align-self:start}
.side-panel .review-summary{padding:14px 0 18px;border-bottom:1px solid #e5e9ef;margin-bottom:14px}
.side-panel .review-summary strong{font-size:30px;color:#f59e0b}
.side-panel .review-summary span{color:#667085;font-size:12px;margin-left:5px}
.review-item small{display:block;margin-top:10px;color:#98a2b3}
.empty-reviews{color:#667085;font-size:13px}
.post-row{transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}
.post-row:hover{transform:translateY(-2px);border-color:#dddfff;box-shadow:0 12px 28px rgba(91,92,246,.07)}
@media(max-width:1000px){.side-panel{position:static}.detail-gallery{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.content-page-head{align-items:flex-start;flex-direction:column}.detail-cover{height:240px}.detail-info-grid,.detail-gallery{grid-template-columns:1fr}}

/* v163 community authoring, categories and comments */
.page-kicker{display:inline-block;margin-bottom:7px;color:#5b5cf6;font-size:11px;font-weight:900;letter-spacing:.12em}
.community-head{align-items:center}
.community-head-actions{display:flex;align-items:center;gap:10px}
.community-primary-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:13px;background:linear-gradient(135deg,#5b5cf6,#7c3aed);color:#fff;font-size:13px;font-weight:900;box-shadow:0 10px 24px rgba(91,92,246,.2)}
.community-category-panel{margin-bottom:18px;padding:20px;border:1px solid #e6eaf2;border-radius:22px;background:#fff;box-shadow:0 14px 38px rgba(31,45,74,.06)}
.community-category-intro{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}
.community-category-intro strong{font-size:16px}
.community-category-intro span{color:#7b8494;font-size:12px}
.community-category-chips{display:flex;gap:8px;flex-wrap:wrap}
.community-category-chip{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 13px;border:1px solid #e6eaf2;border-radius:999px;background:#f8fafc;color:#536075;font-size:12px;font-weight:800;transition:.18s ease}
.community-category-chip:before{content:"";width:7px;height:7px;border-radius:999px;background:var(--cat-color,#5b5cf6)}
.community-category-chip em{font-style:normal;color:#98a2b3;font-size:11px}
.community-category-chip:hover{transform:translateY(-1px);border-color:#d6d9ff;color:#5b5cf6}
.community-category-chip.on{border-color:transparent;background:linear-gradient(135deg,#5b5cf6,#7c3aed);color:#fff;box-shadow:0 8px 18px rgba(91,92,246,.18)}
.community-category-chip.on:before{background:#fff}
.community-category-chip.on em{color:#ebe9ff}
.community-taxonomy{display:flex;flex-direction:column;gap:14px;margin-bottom:18px;padding:20px;border:1px solid #e6eaf2;border-radius:22px;background:#fff;box-shadow:0 14px 38px rgba(31,45,74,.06)}
.taxonomy-level{display:grid;grid-template-columns:78px minmax(0,1fr);gap:12px;align-items:start}
.taxonomy-level>strong{padding-top:9px;color:#344054;font-size:12px}
.taxonomy-chips{display:flex;flex-wrap:wrap;gap:8px}
.taxonomy-chips a{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 13px;border:1px solid #e6eaf2;border-radius:999px;background:#f8fafc;color:#536075;font-size:12px;font-weight:800}
.taxonomy-chips a:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--node-color,#667085)}
.taxonomy-chips a em{color:#98a2b3;font-size:11px;font-style:normal}
.taxonomy-chips a:hover{border-color:#cdd2ff;color:#4f46e5}
.taxonomy-chips a.on{border-color:transparent;background:linear-gradient(135deg,#5b5cf6,#7c3aed);color:#fff;box-shadow:0 7px 18px rgba(91,92,246,.2)}
.taxonomy-chips a.on:before{background:#fff}.taxonomy-chips a.on em{color:#ecebff}
.taxonomy-chips a.education{--node-color:#d946ef}
.post-badges{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:7px}
.post-badges span{display:inline-flex;padding:4px 8px;border-radius:999px;background:color-mix(in srgb,var(--cat-color,#5b5cf6) 10%,white);color:var(--cat-color,#5b5cf6);font-size:10px;font-weight:900}
.post-badges em{color:#8a94a6;font-size:11px;font-style:normal}
.community-source-note{display:flex;gap:12px;padding:18px 36px;border-top:1px solid #eef1f5;background:#fafbff;color:#667085;font-size:12px}
.community-source-note strong{color:#475467;white-space:nowrap}
.community-article-body .article-lead{margin-bottom:26px;color:#344054;font-size:18px;line-height:1.9;font-weight:600}
.community-article-body .article-summary,.community-article-body .article-tip{margin:26px 0;padding:20px 22px;border:1px solid #e0e7ff;border-radius:18px;background:#f7f8ff}
.community-article-body .article-summary>strong,.community-article-body .article-tip>strong{display:block;margin-bottom:10px;color:#3730a3;font-size:15px}
.community-article-body .article-fact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}
.community-article-body .article-fact-grid>div{padding:16px;border:1px solid #e7eaf0;border-radius:16px;background:#fbfcfe}
.community-article-body .article-fact-grid span{display:block;margin-bottom:7px;color:#7b8494;font-size:11px;font-weight:800}
.community-article-body .article-fact-grid strong{display:block;color:#344054;font-size:13px;line-height:1.6}
.community-article-body table{width:100%;margin:24px 0;border-collapse:separate;border-spacing:0;overflow:hidden;border:1px solid #e5e7eb;border-radius:16px}
.community-article-body th,.community-article-body td{padding:16px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:top}
.community-article-body th{width:90px;background:#f8fafc;color:#475467}
.community-article-body tr:last-child th,.community-article-body tr:last-child td{border-bottom:0}
.community-article-body .table-scroll{margin:24px 0;overflow-x:auto;border:1px solid #e5e7eb;border-radius:16px}
.community-article-body .table-scroll table{min-width:660px;margin:0;border:0;border-radius:0}
.community-article-body .table-scroll th{width:auto;white-space:nowrap}
.community-article-body .education-disclaimer{margin-top:36px;padding:17px 19px;border:1px solid #e5e7eb;border-radius:14px;background:#f8fafc;color:#667085;font-size:12px;line-height:1.75}
.community-article-body .education-disclaimer strong{color:#475467}
.community-search{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;margin-bottom:18px;padding:12px;border:1px solid #e6eaf2;border-radius:18px;background:#fff}
.community-search input{height:46px;padding:0 14px;border:1px solid #d9dee8;border-radius:12px;font:inherit;outline:none}
.community-search input:focus{border-color:#7a7cf7;box-shadow:0 0 0 4px #f0efff}
.community-search button,.community-search a{display:inline-flex;align-items:center;justify-content:center;min-width:82px;border:0;border-radius:12px;padding:0 15px;font:inherit;font-weight:900;cursor:pointer}
.community-search button{background:#111827;color:#fff}
.community-search a{background:#f4f5f7;color:#667085}
.community-board-switch{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:0 0 18px;padding:8px;border:1px solid #dbe1eb;border-radius:20px;background:#edf1f6;box-shadow:inset 0 2px 4px rgba(15,23,42,.045)}
.community-board-switch a{position:relative;display:grid;grid-template-columns:46px minmax(0,1fr);grid-template-rows:auto auto;column-gap:13px;align-content:center;min-height:72px;padding:12px 18px;border:1px solid #d4dbe7;border-radius:15px;background:linear-gradient(180deg,#fff 0%,#fcfdff 100%);color:#667085;box-shadow:0 6px 15px rgba(31,45,74,.12),0 1px 2px rgba(31,45,74,.08);transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease}
.community-board-switch a::before{grid-column:1;grid-row:1/3;align-self:center;display:flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #dfe4ec;border-radius:13px;background:#f7f8fb;color:#667085;font-size:18px;font-weight:950}
.community-board-switch a:first-child::before{content:"✓"}
.community-board-switch a:last-child::before{content:"↔";box-sizing:border-box;padding-bottom:5px}
.community-board-switch a strong{align-self:end;color:#263247;font-size:15px;line-height:1.25;letter-spacing:-.02em}
.community-board-switch a span{align-self:start;margin-top:4px;color:#7f8a9d;font-size:12px;line-height:1.35}
.community-board-switch a:not(.on):hover{transform:translateY(-2px);border-color:#bfc4f7;background:#fff;box-shadow:0 10px 22px rgba(79,70,229,.15),0 2px 4px rgba(31,45,74,.08)}
.community-board-switch a.on{border-color:transparent;background:linear-gradient(135deg,#595cf5 0%,#7245e8 100%);box-shadow:0 12px 26px rgba(91,92,246,.24)}
.community-board-switch a.on::before{border-color:rgba(255,255,255,.24);background:rgba(255,255,255,.16);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.18)}
.community-board-switch a.on strong{color:#fff}
.community-board-switch a.on span{color:#e9e7ff}
.community-list-card{overflow:hidden;border:1px solid #e6eaf2;border-radius:22px;background:#fff;box-shadow:0 15px 40px rgba(31,45,74,.055)}
.community-table-head{display:grid;grid-template-columns:150px minmax(0,1fr) 130px 100px;gap:16px;padding:13px 18px;background:#f8fafc;border-bottom:1px solid #edf0f5;color:#8490a3;font-size:11px;font-weight:800}
.community-post-list{gap:0}
.community-post-list .post-row{border:0;border-bottom:1px solid #edf0f4;border-radius:0;box-shadow:none;padding:22px 24px;grid-template-columns:minmax(0,1fr) 150px 110px;gap:24px;align-items:center}
.community-post-list .post-row:last-child{border-bottom:0}
.community-post-list .post-row:hover{transform:none;background:#fbfbff;border-color:#eef1f5;box-shadow:none}
.post-category-cell{display:flex;flex-direction:column;gap:6px}
.post-category-cell b{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:5px 9px;border-radius:999px;background:color-mix(in srgb,var(--cat-color,#5b5cf6) 10%,white);color:var(--cat-color,#5b5cf6);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.post-category-cell small,.post-author-cell small{color:#98a2b3;font-size:11px}
.post-title-cell h3{font-size:15px;margin:0 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.post-title-cell p{font-size:12px}
.post-author-cell{display:flex;flex-direction:column;gap:5px;color:#475467;font-size:12px}
.post-main-cell{min-width:0}
.post-main-cell>strong{display:block;color:#111827;font-size:17px;line-height:1.45;letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.post-main-cell>p{margin:7px 0 0;color:#7b8494;font-size:13px;line-height:1.55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.post-stats-cell{display:flex;justify-content:flex-end;align-items:center;gap:8px;color:#667085;font-size:12px;white-space:nowrap}
.post-stats-cell strong{color:#344054}
.community-pagination{display:flex;align-items:center;justify-content:center;gap:7px;margin:24px 0 0;padding:10px 12px}
.community-pagination a{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:42px;height:42px;padding:0 12px;border:1px solid #dfe4ec;border-radius:12px;background:#fff;color:#536075;font-size:13px;font-weight:850;box-shadow:0 5px 14px rgba(31,45,74,.045);transition:transform .15s ease,border-color .15s ease,color .15s ease,box-shadow .15s ease}
.community-pagination a:hover{transform:translateY(-1px);border-color:#bfc4ff;color:#4f46e5;box-shadow:0 8px 18px rgba(79,70,229,.1)}
.community-pagination a.on{border-color:transparent;background:linear-gradient(135deg,#5b5cf6,#7c3aed);color:#fff;box-shadow:0 9px 20px rgba(91,92,246,.24)}
.community-pagination .pagination-arrow{padding:0;font-size:24px;line-height:1}
.community-pagination .pagination-arrow>span{display:block;line-height:1;transform:translateY(-2px)}
.community-pagination .pagination-edge{min-width:70px}
.community-pagination a.disabled{pointer-events:none;background:#f6f7f9;color:#b7bec9;border-color:#e9ecf1;box-shadow:none}
.community-pagination i{display:inline-flex;align-items:center;justify-content:center;width:24px;color:#98a2b3;font-style:normal;letter-spacing:.08em}
.community-empty{padding:48px 24px;text-align:center;color:#667085}
.community-empty strong{display:block;color:#344054;margin-bottom:7px}
.community-empty span{font-size:13px}
.community-alert{margin-bottom:16px;padding:14px 16px;border-radius:14px;font-size:13px;font-weight:700}
.community-alert.success{background:#ecfdf3;color:#027a48}
.community-alert.danger{background:#fff1f3;color:#b42318}
.community-compose-wrap{max-width:1040px}
.community-compose-card{display:grid;gap:18px;padding:28px;border:1px solid #e5e9f0;border-radius:24px;background:#fff;box-shadow:0 18px 50px rgba(17,24,39,.07)}
.community-compose-card label{display:grid;gap:8px;color:#344054;font-size:13px;font-weight:900}
.community-compose-card input,.community-compose-card select,.community-compose-card textarea{width:100%;border:1px solid #d8dee8;border-radius:14px;padding:0 14px;background:#fff;color:#111827;font:inherit;outline:none}
.community-compose-card input,.community-compose-card select{height:48px}
.community-compose-card textarea{min-height:360px;padding-top:15px;line-height:1.8;resize:vertical}
.community-compose-card input:focus,.community-compose-card select:focus,.community-compose-card textarea:focus{border-color:#6b6df4;box-shadow:0 0 0 4px #f0efff}
.community-compose-card label>small{color:#98a2b3;font-size:11px;font-weight:600}
.community-compose-meta{display:flex;gap:20px;flex-wrap:wrap;padding:14px 16px;border-radius:14px;background:#f8fafc;color:#667085;font-size:12px}
.community-compose-meta strong{color:#344054;margin-left:5px}
.community-compose-actions{display:flex;justify-content:flex-end;gap:9px}
.community-compose-actions a,.community-compose-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:12px;border:0;font:inherit;font-weight:900}
.community-compose-actions a{background:#f4f5f7;color:#667085}
.community-compose-actions button{background:linear-gradient(135deg,#5b5cf6,#7c3aed);color:#fff;cursor:pointer}
.community-view-wrap{max-width:1180px}
.community-view-topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.community-view-topbar>a{color:#5b5cf6;font-size:13px;font-weight:900}
.community-view-topbar>div{display:flex;align-items:center;gap:8px}
.community-view-topbar>div>a,.community-view-topbar button{display:inline-flex;align-items:center;justify-content:center;height:36px;padding:0 12px;border:1px solid #e5e9f0;border-radius:10px;background:#fff;color:#667085;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.community-view-topbar form{margin:0}
.community-view-card{overflow:hidden;border:1px solid #e5e9f0;border-radius:26px;background:#fff;box-shadow:0 18px 50px rgba(17,24,39,.07)}
.community-article-head{padding:32px 36px 26px;border-bottom:1px solid #eef1f5;background:linear-gradient(180deg,#fff,#fbfbff)}
.community-article-category{display:inline-flex;padding:6px 10px;border-radius:999px;background:color-mix(in srgb,var(--cat-color,#5b5cf6) 10%,white);color:var(--cat-color,#5b5cf6);font-size:11px;font-weight:900}
.community-article-head h1{margin:14px 0 16px;font-size:36px;line-height:1.25;letter-spacing:-.05em}
.community-article-meta{display:flex;gap:10px;flex-wrap:wrap;color:#8490a3;font-size:12px}
.community-article-meta strong{color:#475467}
.community-article-body{min-height:360px;padding:36px;color:#344054;font-size:15px;line-height:2.05;word-break:break-word}
.community-comments-section{margin-top:22px;padding:26px;border:1px solid #e5e9f0;border-radius:24px;background:#fff;box-shadow:0 18px 46px rgba(17,24,39,.055)}
.community-comments-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}
.community-comments-head h2{margin:0;font-size:24px;letter-spacing:-.04em}
.community-comments-head>a{color:#5b5cf6;font-size:12px;font-weight:900}
.community-comment-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;padding:16px;border-radius:18px;background:#f8fafc;margin-bottom:18px}
.community-comment-form>.community-comment-meta{grid-column:1/-1;display:flex;align-items:center;gap:8px;color:#98a2b3;font-size:11px}
.community-comment-form>.community-comment-meta strong{color:#344054;font-size:13px}
.community-comment-form>textarea,.community-comment-form>.ck.ck-editor{grid-column:1/-1;min-width:0;margin-top:0}
.community-comment-form>textarea{width:100%;min-height:92px;padding:13px 14px;border:1px solid #d8dee8;border-radius:13px;resize:vertical;font:inherit;line-height:1.7;outline:none;box-sizing:border-box}
.community-comment-form>textarea:focus{border-color:#6b6df4;box-shadow:0 0 0 4px #f0efff}
.community-comment-form>button[type="submit"]{grid-column:2;width:112px;height:44px;border:0;border-radius:13px;background:#111827;color:#fff;font:inherit;font-weight:900;cursor:pointer}
.community-comment-list{display:flex;flex-direction:column}
.community-comment-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;padding:17px 4px;border-top:1px solid #eef1f5}
.community-comment-avatar{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,#eef2ff,#f5edff);color:#5b5cf6;font-weight:900}
.community-comment-copy header{display:flex;align-items:center;gap:10px}
.community-comment-copy header span{color:#98a2b3;font-size:11px}
.community-comment-copy p{margin:7px 0 0;color:#475467;line-height:1.75;font-size:13px}
.community-comment-item form{margin:0}
.community-comment-delete{border:0;background:transparent;color:#98a2b3;font-size:11px;cursor:pointer}
.community-comment-delete:hover{color:#e11d48}
@media(max-width:900px){.community-table-head{display:none}.community-post-list .post-row{grid-template-columns:minmax(0,1fr) 120px}.community-post-list .post-stats-cell{display:none}.community-comment-form{grid-template-columns:1fr}.community-comment-form>button[type="submit"]{grid-column:1/-1;width:100%}.community-article-body .article-fact-grid{grid-template-columns:1fr}}
@media(max-width:640px){.community-head,.community-comments-head{align-items:flex-start;flex-direction:column}.community-head-actions{width:100%;justify-content:space-between}.community-category-intro{align-items:flex-start;flex-direction:column;gap:4px}.community-search{grid-template-columns:1fr}.community-post-list .post-row{grid-template-columns:1fr;gap:10px}.post-author-cell{flex-direction:row}.community-article-head,.community-article-body{padding:24px 20px}.community-article-head h1{font-size:28px}.community-comments-section{padding:20px 16px}.community-comment-item{grid-template-columns:38px minmax(0,1fr)}}
@media(max-width:640px){.taxonomy-level{grid-template-columns:1fr;gap:5px}.taxonomy-level>strong{padding-top:0}.community-source-note{padding:16px 20px;flex-direction:column;gap:4px}}
@media(max-width:640px){.community-board-switch{grid-template-columns:1fr}.community-board-switch a{min-height:66px;padding:10px 14px}}
@media(max-width:640px){.community-pagination{gap:5px;padding-inline:0}.community-pagination a{min-width:38px;height:38px;padding:0 9px}.community-pagination .pagination-edge{min-width:38px}.community-pagination .pagination-edge span{display:none}.community-pagination i{width:14px}}

/* v164 detail comments + previous/list/next navigation */
.attraction-detail-wrap{max-width:1440px}
.attraction-comments-section{margin-top:24px;padding:28px;border:1px solid #e5e9f0;border-radius:26px;background:#fff;box-shadow:0 18px 48px rgba(17,24,39,.055)}
.attraction-comment-form{display:grid;grid-template-columns:180px minmax(0,1fr) auto;gap:12px;align-items:end;padding:18px;margin-bottom:20px;border-radius:20px;background:linear-gradient(135deg,#f8faff,#fbf8ff)}
.attraction-comment-meta{grid-column:1/-1;display:flex;align-items:center;gap:10px;color:#98a2b3;font-size:12px}
.attraction-comment-meta strong{color:#344054;font-size:14px}
.attraction-comment-form label{display:grid;gap:7px;color:#475467;font-size:12px;font-weight:850}
.attraction-comment-form label span em{margin-left:5px;color:#98a2b3;font-style:normal;font-size:11px;font-weight:600}
.attraction-comment-form label.wide{grid-column:1/-2}
.attraction-comment-form select,.attraction-comment-form input,.attraction-comment-form textarea{width:100%;border:1px solid #d8dee8;border-radius:13px;background:#fff;color:#111827;font:inherit;outline:none}
.attraction-comment-form select,.attraction-comment-form input{height:46px;padding:0 13px}
.attraction-comment-form textarea{min-height:110px;padding:12px 13px;line-height:1.7;resize:vertical}
.attraction-comment-form select:focus,.attraction-comment-form input:focus,.attraction-comment-form textarea:focus{border-color:#7375f5;box-shadow:0 0 0 4px #f0efff}
.attraction-comment-form>button{height:46px;padding:0 18px;border:0;border-radius:13px;background:#111827;color:#fff;font:inherit;font-weight:900;cursor:pointer}
.attraction-comment-list{display:flex;flex-direction:column}
.attraction-comment-item{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:13px;padding:19px 3px;border-top:1px solid #eef1f5}
.attraction-comment-item:first-child{border-top:0}
.attraction-comment-item .community-comment-copy h4{margin:7px 0 0;font-size:14px;color:#344054}
.detail-bottom-nav{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:stretch;margin-top:24px;padding:14px;border:1px solid #e5e9f0;border-radius:22px;background:rgba(255,255,255,.94);box-shadow:0 14px 36px rgba(17,24,39,.05)}
.detail-nav-side{min-width:0}
.detail-nav-side>a,.detail-nav-side>span{display:flex;flex-direction:column;justify-content:center;min-height:72px;padding:12px 14px;border-radius:15px;background:#f8fafc;transition:.18s ease}
.detail-nav-side>a:hover{background:#f1f2ff;transform:translateY(-1px)}
.detail-nav-side small{margin-bottom:5px;color:#98a2b3;font-size:11px;font-weight:800}
.detail-nav-side strong{overflow:hidden;color:#344054;font-size:13px;white-space:nowrap;text-overflow:ellipsis}
.detail-nav-side.next{text-align:right}
.detail-nav-list{display:flex;align-items:center;justify-content:center;min-width:120px;padding:0 20px;border-radius:15px;background:linear-gradient(135deg,#5b5cf6,#7c3aed);color:#fff;font-size:13px;font-weight:900}
@media(max-width:900px){.attraction-comment-form{grid-template-columns:1fr 1fr}.attraction-comment-form label.wide{grid-column:1/-1}.attraction-comment-form>button{grid-column:1/-1}.detail-bottom-nav{grid-template-columns:1fr}.detail-nav-side.next{text-align:left}.detail-nav-list{min-height:48px;order:-1}}
@media(max-width:640px){.attraction-comments-section{padding:20px 16px}.attraction-comment-form{grid-template-columns:1fr}.attraction-comment-form label.wide,.attraction-comment-form>button{grid-column:auto}.attraction-comment-item{grid-template-columns:38px minmax(0,1fr)}}

/* v165: content typography, restaurant filters/gallery/reviews and responsive stability */
.content-wrap, .content-wrap * { box-sizing:border-box; }
.content-wrap h1,.content-wrap h2,.content-wrap h3,.content-wrap h4,.content-wrap strong,.content-wrap a,.content-wrap button,.content-wrap label { word-break:keep-all; overflow-wrap:normal; }
.content-wrap p,.content-wrap li,.content-wrap span,.content-wrap small { word-break:keep-all; overflow-wrap:break-word; }
.content-card img,.detail-gallery img,.restaurant-photo-gallery img { display:block; width:100%; object-fit:cover; }
.restaurant-filter-panel { margin:0 0 24px; padding:18px; border:1px solid #e3e8f2; border-radius:22px; background:#fff; box-shadow:0 14px 40px rgba(15,23,42,.05); }
.restaurant-filter-panel .country-filter-chips { display:flex; flex-wrap:wrap; gap:8px; }
.restaurant-city-filter { display:flex; align-items:flex-end; gap:10px; margin-top:16px; }
.restaurant-city-filter label { display:flex; flex-direction:column; gap:7px; min-width:260px; color:#667085; font-size:12px; font-weight:700; }
.restaurant-city-filter select { height:46px; padding:0 42px 0 14px; border:1px solid #d9e0eb; border-radius:13px; background:#fff; color:#101828; font:inherit; }
.restaurant-city-filter > a { height:46px; display:inline-flex; align-items:center; padding:0 15px; border-radius:12px; background:#f2f4f7; color:#475467; font-weight:700; text-decoration:none; }
.restaurant-content-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.restaurant-list-card { overflow:hidden; }
.restaurant-card-image { position:relative; height:220px; overflow:hidden; background:#eef2f7; }
.restaurant-card-image img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.restaurant-list-card:hover .restaurant-card-image img { transform:scale(1.045); }
.restaurant-card-image span { position:absolute; left:12px; bottom:12px; padding:7px 10px; border-radius:999px; background:rgba(15,23,42,.62); color:#fff; font-size:11px; font-weight:800; backdrop-filter:blur(10px); }
.restaurant-photo-gallery { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.restaurant-photo-gallery figure { margin:0; overflow:hidden; border:1px solid #e5eaf2; border-radius:18px; background:#fff; }
.restaurant-photo-gallery img { aspect-ratio:16/10; height:auto; }
.restaurant-photo-gallery figcaption { padding:10px 12px; color:#667085; font-size:12px; }
.section-title-row { display:flex; align-items:end; justify-content:space-between; gap:12px; margin-bottom:12px; }
.section-title-row span { color:#98a2b3; font-size:12px; }
.google-review-highlights { margin-top:18px; padding-top:18px; border-top:1px solid #e7ebf2; }
.google-review-highlights h4 { margin:0 0 12px; }
.google-review-highlights > div { margin:10px 0; padding:12px; border-radius:14px; background:#f8fafc; }
.google-review-highlights > div strong { display:block; margin-bottom:5px; font-size:12px; }
.google-review-highlights > div p { margin:0; color:#475467; font-size:13px; line-height:1.7; }
.google-review-highlights > small { color:#98a2b3; }

@media (max-width:1100px){ .restaurant-content-grid{grid-template-columns:repeat(2,minmax(0,1fr));} }
@media (max-width:700px){
  .restaurant-content-grid{grid-template-columns:1fr;}
  .restaurant-city-filter{align-items:stretch;flex-direction:column;}
  .restaurant-city-filter label{min-width:0;width:100%;}
  .restaurant-photo-gallery{grid-template-columns:1fr;}
  .section-title-row{align-items:flex-start;flex-direction:column;}
}
.restaurant-list-card{padding:0!important;gap:0!important;}
.restaurant-list-card .content-card-body{display:flex;min-height:210px;flex-direction:column;gap:9px;padding:18px;}
.restaurant-list-card .content-card-body h3{margin:0;font-size:21px;}
.restaurant-list-card .content-card-body p{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:3;}


/* v167 crop-safe unique restaurant/academy cards */
.restaurant-card-image,.academy-card-image{position:relative;overflow:hidden;background:#eef2f7;isolation:isolate}
.restaurant-card-image{height:230px}
.academy-card-image{height:220px}
.restaurant-card-image:before,.academy-card-image:before{content:"";position:absolute;inset:-18px;z-index:-2;background-image:var(--restaurant-bg,var(--academy-bg));background-position:center;background-size:cover;filter:blur(20px) saturate(.9);opacity:.52;transform:scale(1.12)}
.restaurant-card-image:after,.academy-card-image:after{content:"";position:absolute;inset:0;z-index:-1;background:rgba(248,250,252,.25)}
.restaurant-card-image img,.academy-card-image img{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;background:transparent;transition:transform .35s ease}
.restaurant-list-card:hover .restaurant-card-image img,.academy-list-card:hover .academy-card-image img{transform:scale(1.02)}
.restaurant-card-image span{z-index:3}
.academy-content-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.academy-list-card{overflow:hidden}
@media(max-width:1100px){.academy-content-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.academy-content-grid{grid-template-columns:1fr}.restaurant-card-image,.academy-card-image{height:210px}}


/* v171 attraction galleries and expanded global content */
.detail-cover-media{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#eef2f7;isolation:isolate}
.detail-cover-media:before{content:"";position:absolute;inset:-24px;z-index:-2;background-image:var(--detail-image);background-position:center;background-size:cover;filter:blur(24px) saturate(.9);opacity:.48;transform:scale(1.12)}
.detail-cover-media:after{content:"";position:absolute;inset:0;z-index:-1;background:rgba(248,250,252,.16)}
.detail-cover-media img{width:100%;height:100%;object-fit:contain;display:block}
.attraction-detail-cover{height:420px}
.attraction-photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.attraction-photo-gallery figure{margin:0;overflow:hidden;border:1px solid #e5eaf2;border-radius:18px;background:#fff}
.attraction-photo-gallery img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.attraction-photo-gallery figcaption{padding:10px 12px;color:#667085;font-size:12px}
@media(max-width:900px){.attraction-photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.attraction-detail-cover{height:340px}}
@media(max-width:640px){.attraction-photo-gallery{grid-template-columns:1fr}.attraction-detail-cover{height:260px}}

.detail-side-checklist{display:flex;flex-direction:column;gap:10px;margin-top:16px}.detail-side-checklist>div{padding:14px;border:1px solid #e5eaf2;border-radius:16px;background:#fff}.detail-side-checklist span{display:block;margin-bottom:5px;color:#98a2b3;font-size:11px;font-weight:800}.detail-side-checklist strong{display:block;color:#1d2939;font-size:14px;line-height:1.55}.detail-side-checklist p{margin:4px 0 0;padding:14px;border-radius:16px;background:#f2f4ff;color:#667085;font-size:13px;line-height:1.75}

/* v175 · CKEditor 5 rich-text input and output */
.ck.ck-editor{width:100%;margin-top:8px}.ck.ck-toolbar{border-color:#dfe5ef!important;border-radius:14px 14px 0 0!important;background:rgba(248,250,255,.96)!important}.ck.ck-editor__main>.ck-editor__editable{min-height:180px;border-color:#dfe5ef!important;border-radius:0 0 14px 14px!important;box-shadow:none!important;padding:18px 20px!important;font-family:inherit!important;font-size:15px!important;line-height:1.75!important;color:#1b2335!important}.community-compose-form .ck.ck-editor__main>.ck-editor__editable{min-height:420px}.community-comment-form .ck.ck-editor__main>.ck-editor__editable,.attraction-comment-form .ck.ck-editor__main>.ck-editor__editable{min-height:130px}.ck.ck-editor__editable.ck-focused{border-color:#6674f8!important;box-shadow:0 0 0 3px rgba(102,116,248,.12)!important}.rich-content,.community-article-body,.community-comment-copy .rich-content,.review-rich-content{word-break:keep-all;overflow-wrap:break-word;line-height:1.82}.rich-content p,.community-article-body p,.review-rich-content p{margin:0 0 1em}.rich-content ul,.rich-content ol,.community-article-body ul,.community-article-body ol,.review-rich-content ul,.review-rich-content ol{padding-left:1.4em;margin:.7em 0 1em}.rich-content blockquote,.community-article-body blockquote,.review-rich-content blockquote{margin:1em 0;padding:12px 16px;border-left:3px solid #6877f5;background:#f7f8ff;border-radius:0 12px 12px 0;color:#4c5870}.rich-content a,.community-article-body a,.review-rich-content a{color:#4f5fe7;text-decoration:underline;text-underline-offset:2px}

/* v186 · threaded community comments, owner actions, editor images */
.community-comment-item{
    margin-left:calc(min(var(--comment-depth, 0), 6) * 28px);
    position:relative;
}
.community-comment-item.is-reply::before{
    content:"";
    position:absolute;
    left:-16px;
    top:0;
    bottom:0;
    width:1px;
    background:#e7ebf2;
}
.community-comment-item.is-deleted{
    color:#8a94a6;
}
.community-comment-item.is-deleted .community-comment-avatar{
    background:#f2f4f7;
    color:#98a2b3;
}
.community-comment-deleted{
    padding:10px 0;
    color:#8a94a6;
    font-size:13px;
    font-style:italic;
}
.community-comment-actions{
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:8px;
}
.community-comment-actions form{display:inline-flex!important;margin:0!important}
.community-comment-actions button{
    padding:0;
    border:0;
    background:transparent;
    color:#667085;
    font-size:11px;
    font-weight:700;
    cursor:pointer;
}
.community-comment-actions button:hover{color:#4f46e5}
.community-comment-actions button.danger:hover{color:#e11d48}
.community-thread-inline-form{
    margin-top:12px!important;
    padding:12px!important;
    border:1px solid #e2e7ef!important;
    border-radius:12px!important;
    background:#fafbfc!important;
}
.community-thread-inline-form[hidden]{display:none!important}
.community-thread-inline-form textarea{
    width:100%;
    min-height:88px;
    padding:12px 13px;
    border:1px solid #d8dee8;
    border-radius:10px;
    background:#fff;
    color:#344054;
    font:inherit;
    font-size:13px;
    line-height:1.7;
    resize:vertical;
    outline:none;
    box-sizing:border-box;
}
.community-thread-inline-form textarea:focus{
    border-color:#6674f8;
    box-shadow:0 0 0 3px rgba(102,116,248,.12);
}
.community-thread-inline-actions{
    display:flex;
    justify-content:flex-end;
    gap:8px;
    margin-top:8px;
}
.community-thread-inline-actions button{
    min-width:74px;
    height:34px;
    padding:0 12px;
    border:1px solid #d8dee8;
    border-radius:8px;
    background:#fff;
    color:#475467;
    font:inherit;
    font-size:12px;
    font-weight:800;
    cursor:pointer;
}
.community-thread-inline-actions button[type="submit"]{
    border-color:#111827;
    background:#111827;
    color:#fff;
}
.rich-content figure.image,
.community-article-body figure.image,
.review-rich-content figure.image{
    margin:18px 0;
    text-align:center;
}
.rich-content figure.image img,
.community-article-body figure.image img,
.review-rich-content figure.image img,
.rich-content>img,
.community-article-body>img,
.review-rich-content>img{
    display:block;
    width:auto;
    max-width:100%;
    height:auto;
    margin:0 auto;
    border-radius:14px;
}
.ck-content .image img{max-width:100%;height:auto}

@media(max-width:640px){
    .community-comment-item{margin-left:calc(min(var(--comment-depth, 0), 3) * 16px)}
    .community-comment-item.is-reply::before{left:-9px}
}


/* v187 · visible threaded comment actions and deleted-parent preservation */
.community-comment-actions{
    display:flex!important;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
    margin-top:10px;
}
.community-comment-actions button{
    min-height:28px;
    padding:0 9px!important;
    border:1px solid #e4e7ec!important;
    border-radius:8px!important;
    background:#fff!important;
    color:#475467!important;
    font-size:11px!important;
    font-weight:800!important;
    line-height:26px!important;
}
.community-comment-actions button:hover{
    border-color:#c7d2fe!important;
    background:#f7f8ff!important;
    color:#4f46e5!important;
}
.community-comment-actions button.danger:hover{
    border-color:#fecdd3!important;
    background:#fff1f2!important;
    color:#e11d48!important;
}
.community-comment-item.is-deleted .community-comment-copy{
    min-height:48px;
}
.community-comment-deleted{
    display:inline-flex;
    align-items:center;
    min-height:34px;
    padding:0 12px;
    border:1px solid #eaecf0;
    border-radius:9px;
    background:#f9fafb;
    color:#98a2b3;
    font-style:normal;
    font-weight:700;
}


/* v188 · threaded attraction/restaurant review actions */
.content-review-thread-item{
    margin-left:calc(min(var(--comment-depth, 0), 6) * 28px);
    position:relative;
    grid-template-columns:44px minmax(0,1fr);
}
.content-review-thread-item.is-reply::before{
    content:"";
    position:absolute;
    left:-15px;
    top:0;
    bottom:0;
    width:1px;
    background:#e7ebf2;
}
.content-review-thread-item.is-deleted .community-comment-avatar{
    background:#f2f4f7;
    color:#98a2b3;
}
.content-review-actions{
    display:flex!important;
    align-items:center;
    flex-wrap:wrap;
    gap:6px;
    margin-top:10px;
}
.content-review-actions form{display:inline-flex!important;margin:0!important}
.content-review-actions button{
    min-height:28px;
    padding:0 9px!important;
    border:1px solid #e4e7ec!important;
    border-radius:8px!important;
    background:#fff!important;
    color:#475467!important;
    font-size:11px!important;
    font-weight:800!important;
    line-height:26px!important;
    cursor:pointer;
}
.content-review-actions button:hover{
    border-color:#c7d2fe!important;
    background:#f7f8ff!important;
    color:#4f46e5!important;
}
.content-review-actions button.danger:hover{
    border-color:#fecdd3!important;
    background:#fff1f2!important;
    color:#e11d48!important;
}
.content-review-inline-form input[type="text"]{
    width:100%;
    height:40px;
    margin-bottom:8px;
    padding:0 12px;
    border:1px solid #d8dee8;
    border-radius:10px;
    background:#fff;
    color:#344054;
    font:inherit;
    box-sizing:border-box;
}
@media(max-width:640px){
    .content-review-thread-item{margin-left:calc(min(var(--comment-depth, 0), 3) * 16px)}
    .content-review-thread-item.is-reply::before{left:-9px}
}


/* v198 - restaurant menu guide and related restaurant title cards */
.restaurant-menu-guide-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}
.restaurant-menu-guide-grid>div{border:1px solid #e5eaf2;border-radius:18px;padding:16px;background:#fff}
.restaurant-menu-guide-grid span{display:block;color:#667085;font-size:12px;margin-bottom:6px}
.restaurant-menu-guide-grid strong{display:block;color:#101828;line-height:1.6}
.restaurant-menu-guide-note{margin-top:12px;color:#667085;font-size:13px}
.detail-gallery-cards{gap:14px}
.detail-gallery-card{display:block;text-decoration:none;color:inherit}
.detail-gallery-card img{margin-bottom:10px}
.detail-gallery-card strong{display:block;font-size:15px;line-height:1.5;color:#101828}
.detail-gallery-card span{display:block;margin-top:4px;color:#667085;font-size:12px;line-height:1.5}
@media(max-width:1000px){.restaurant-menu-guide-grid{grid-template-columns:1fr}}


/* v200 · threaded reply CKEditor layout */
.community-thread-inline-form .ck.ck-editor{
    width:100%;
    margin:0!important;
}
.community-thread-inline-form .ck.ck-toolbar{
    border-radius:10px 10px 0 0!important;
    background:#f8fafc!important;
}
.community-thread-inline-form .ck.ck-editor__main>.ck-editor__editable{
    min-height:100px!important;
    padding:12px 14px!important;
    border-radius:0 0 10px 10px!important;
    font-size:13px!important;
    line-height:1.7!important;
}
.community-thread-inline-actions{
    display:flex;
    justify-content:flex-end;
    gap:8px;
    margin-top:8px;
}
