.aiham-wrap{--aiham-ink:#1b2028;--aiham-muted:#737b86;--aiham-line:#e8e9ec;box-sizing:border-box;width:min(1280px,calc(100% - 40px));margin:0 auto;padding:28px 0 65px;color:var(--aiham-ink);font-family:inherit}.aiham-wrap *{box-sizing:border-box}.aiham-wrap a{text-decoration:none}.aiham-wrap a:hover{color:var(--aiham-accent)}.aiham-intro{padding:12px 0 25px;border-bottom:1px solid var(--aiham-line)}.aiham-intro h1{font-size:clamp(30px,4vw,46px);font-weight:800;line-height:1.15;margin:5px 0 12px;color:var(--aiham-ink)}.aiham-intro>p:last-child{font-size:16px;color:var(--aiham-muted);margin:0;max-width:780px}.aiham-kicker,.aiham-eyebrow{font-size:11px!important;letter-spacing:1px;font-weight:800;text-transform:uppercase;color:var(--aiham-accent)!important}.aiham-section{margin:38px 0 0}.aiham-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:2px solid var(--aiham-ink);margin-bottom:20px;padding-bottom:12px}.aiham-section-heading h2{font-size:clamp(21px,2.5vw,27px);font-weight:800;line-height:1.2;margin:0;color:var(--aiham-ink)}.aiham-section-heading>a{font-size:13px;font-weight:700;color:var(--aiham-accent)}.aiham-feature-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:24px}.aiham-feature-lead{padding:22px;background:#f6f7f8;border-left:4px solid var(--aiham-accent)}.aiham-feature-side{display:grid;align-content:start;gap:15px}.aiham-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px 28px}.aiham-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}.aiham-card{display:flex;gap:14px;align-items:flex-start;min-width:0;padding:0 0 20px;border-bottom:1px solid var(--aiham-line)}.aiham-image{display:block;flex:0 0 110px;width:110px;height:110px;overflow:hidden;border-radius:5px;background:#e9eaec}.aiham-image img{display:block;width:100%;height:100%;object-fit:cover;max-width:none;max-height:none}.aiham-image-placeholder{display:flex;width:100%;height:100%;align-items:center;justify-content:center;font-size:30px;font-weight:900;color:#aeb3bb}.aiham-card-body{flex:1;min-width:0}.aiham-card h3{font-size:16px;font-weight:750;line-height:1.4;margin:6px 0 8px;overflow-wrap:anywhere}.aiham-card h3 a{color:var(--aiham-ink)}.aiham-card time{font-size:12px;color:var(--aiham-muted)}.aiham-card p{font-size:14px;line-height:1.6;color:#5e6671;margin:10px 0 0}.aiham-lead .aiham-image{flex-basis:150px;width:150px;height:150px}.aiham-lead h3{font-size:clamp(20px,2.2vw,26px)}.aiham-feature-side .aiham-image{flex-basis:90px;width:90px;height:90px}.aiham-topics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.aiham-topics a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px;background:#f5f6f8;border:1px solid #ebedf0;border-radius:5px;font-size:14px;font-weight:750;color:var(--aiham-ink)}.aiham-topics span{color:var(--aiham-accent);font-size:20px}.aiham-ad{margin:25px auto;text-align:center;max-width:100%;overflow:hidden}.aiham-archive-header{background:#1b2028;color:white;padding:30px 34px;margin:0 0 28px;border-bottom:4px solid var(--aiham-accent)}.aiham-archive-header h1{font-size:clamp(28px,3.4vw,42px);line-height:1.2;color:#fff;margin:9px 0}.aiham-archive-header .aiham-kicker a{color:#ffb47c}.aiham-archive-desc{max-width:850px;color:#d3d6dc;font-size:15px;line-height:1.65}.aiham-archive-desc p{color:inherit;margin:0 0 8px}.aiham-pagination{margin-top:32px}.aiham-pagination ul{list-style:none;display:flex;gap:7px;flex-wrap:wrap;margin:0;padding:0}.aiham-pagination a,.aiham-pagination span{display:inline-block;padding:10px 14px;border:1px solid var(--aiham-line);border-radius:4px;color:var(--aiham-ink)}.aiham-pagination .current{background:var(--aiham-accent);color:#fff;border-color:var(--aiham-accent)}.aiham-empty{padding:30px 0}@media(max-width:1050px){.aiham-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aiham-feature-grid{grid-template-columns:1fr}.aiham-feature-side{grid-template-columns:repeat(3,minmax(0,1fr))}.aiham-feature-side .aiham-card{display:block}.aiham-feature-side .aiham-image{width:90px;height:90px;margin-bottom:10px}}@media(max-width:650px){.aiham-wrap{width:calc(100% - 28px);padding-top:20px}.aiham-grid,.aiham-grid-two,.aiham-topics,.aiham-feature-side{grid-template-columns:1fr}.aiham-card{gap:12px}.aiham-image,.aiham-feature-side .aiham-image{flex:0 0 90px;width:90px;height:90px;margin:0}.aiham-lead .aiham-image{flex:0 0 110px;width:110px;height:110px}.aiham-lead h3{font-size:19px}.aiham-card h3{font-size:15px}.aiham-feature-side .aiham-card{display:flex}.aiham-feature-lead{padding:16px}.aiham-archive-header{padding:22px}.aiham-section{margin-top:30px}}
/* Shortcode layouts fit the SmartMag content column without overriding its header/footer. */
.entry-content .aiham-wrap,.aiham-wrap{width:100%;max-width:1280px;padding-top:12px}
.aiham-search-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:18px 0 28px}.aiham-search-form input{flex:1;min-width:160px;padding:10px;border:1px solid #d7dce2}.aiham-search-form button{background:var(--aiham-accent);color:white;border:0;padding:11px 18px;cursor:pointer}
/* v1.2: category features and chronological archive groups */
.aiham-category-section{padding:26px 28px 12px;background:#f6f7f8;border-top:3px solid var(--aiham-accent);border-radius:6px}.aiham-category-section:nth-of-type(even){background:#fff;border:1px solid var(--aiham-line);border-top:3px solid var(--aiham-accent)}.aiham-category-section .aiham-section-heading{border-bottom:1px solid #d7dbe0}.aiham-category-section .aiham-card{padding:12px;background:#fff;border:1px solid var(--aiham-line);border-radius:5px}.aiham-category-section .aiham-image{flex-basis:100px;width:100px;height:100px}.aiham-archive-year{font-size:30px;color:var(--aiham-ink);margin:36px 0 12px;padding-bottom:10px;border-bottom:3px solid var(--aiham-accent)}.aiham-archive-month{font-size:22px;margin:24px 0 12px;color:var(--aiham-ink)}.aiham-archive-day{font-size:15px;margin:20px 0 14px;color:var(--aiham-muted);font-weight:700}.aiham-archive-day-grid{margin-bottom:24px}@media(max-width:650px){.aiham-category-section{padding:20px 14px 4px}.aiham-category-section .aiham-image{flex-basis:90px;width:90px;height:90px}}
/* v1.3: varied automatic category layouts */
.aiham-editorial-pick{background:#20252d;color:#fff;padding:24px;border-radius:7px}.aiham-editorial-pick .aiham-section-heading{border-color:#59616c}.aiham-editorial-pick .aiham-section-heading h2{color:#fff}.aiham-editorial-pick .aiham-section-heading span{color:#c7cbd0;font-size:12px}.aiham-editorial-pick .aiham-feature-lead{background:#2f3540;border:0;border-left:4px solid var(--aiham-accent)}.aiham-editorial-pick .aiham-card h3 a{color:#fff}.aiham-editorial-pick .aiham-card p,.aiham-editorial-pick .aiham-card time{color:#d4d8de}.aiham-auto-section{padding:25px;border-radius:7px}.aiham-auto-grid{display:grid;gap:17px}.aiham-auto-item{min-width:0}.aiham-auto-section .aiham-card{height:100%;padding:14px;border:1px solid #e3e6e9;border-radius:6px;background:#fff}.aiham-auto-section .aiham-card h3{font-size:17px}.aiham-layout-feature{background:#f3f5f7}.aiham-layout-feature .aiham-auto-grid{grid-template-columns:1.15fr 1fr;grid-template-rows:repeat(3,auto)}.aiham-layout-feature .aiham-auto-item:first-child{grid-row:span 3}.aiham-layout-feature .aiham-auto-item:first-child .aiham-card{display:block;background:#fff7f0;border-left:4px solid var(--aiham-accent)}.aiham-layout-feature .aiham-auto-item:first-child .aiham-image{width:150px;height:150px;margin-bottom:16px}.aiham-layout-feature .aiham-auto-item:first-child h3{font-size:23px}.aiham-layout-feature .aiham-auto-item:not(:first-child) .aiham-image{width:80px;height:80px;flex-basis:80px}.aiham-layout-list{background:#20252d}.aiham-layout-list .aiham-section-heading{border-color:#656b73}.aiham-layout-list .aiham-section-heading h2{color:#fff}.aiham-layout-list .aiham-auto-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aiham-layout-list .aiham-card{background:#303741;border-color:#49515c}.aiham-layout-list .aiham-card h3 a{color:#fff}.aiham-layout-list .aiham-card time{color:#d3d7dc}.aiham-layout-mosaic{background:#f8f9fa}.aiham-layout-mosaic .aiham-auto-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.aiham-layout-mosaic .aiham-auto-item:first-child{grid-column:span 2}.aiham-layout-mosaic .aiham-auto-item:first-child .aiham-card{background:#fff7f0}.aiham-layout-mosaic .aiham-auto-item:first-child h3{font-size:21px}.aiham-layout-mosaic .aiham-auto-item:not(:first-child) .aiham-card{display:block}.aiham-layout-mosaic .aiham-auto-item:not(:first-child) .aiham-image{width:90px;height:90px;margin-bottom:12px}.aiham-layout-strips{border-top:3px solid var(--aiham-accent);background:#fff}.aiham-layout-strips .aiham-auto-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.aiham-layout-strips .aiham-card{border:0;border-bottom:1px solid var(--aiham-line);border-radius:0}.aiham-layout-strips .aiham-image{width:90px;height:90px;flex-basis:90px}.aiham-archive-row{display:flex;align-items:baseline;gap:18px;padding:14px 0;border-bottom:1px solid var(--aiham-line)}.aiham-archive-row time{flex:0 0 52px;font-size:12px;color:var(--aiham-muted)}.aiham-archive-row h4{font-size:16px;line-height:1.45;margin:0}.aiham-archive-row a{color:var(--aiham-ink)}.aiham-archive-row a:hover{color:var(--aiham-accent)}@media(max-width:750px){.aiham-layout-feature .aiham-auto-grid,.aiham-layout-list .aiham-auto-grid,.aiham-layout-mosaic .aiham-auto-grid,.aiham-layout-strips .aiham-auto-grid{grid-template-columns:1fr}.aiham-layout-feature .aiham-auto-item:first-child,.aiham-layout-mosaic .aiham-auto-item:first-child{grid-row:auto;grid-column:auto}.aiham-auto-section{padding:17px}.aiham-layout-mosaic .aiham-auto-item:not(:first-child) .aiham-card{display:flex}.aiham-layout-mosaic .aiham-auto-item:not(:first-child) .aiham-image{margin-bottom:0;flex-basis:90px}}
/* v1.4: visible category mapping beneath the four editorial groups */
.aiham-group-categories{display:flex;gap:8px;flex-wrap:wrap;margin:-5px 0 20px}.aiham-group-categories a{display:inline-block;padding:5px 11px;border-radius:20px;background:#fff;border:1px solid #d9dde2;color:#323942;font-size:12px;font-weight:700}.aiham-group-categories a:hover{border-color:var(--aiham-accent);color:var(--aiham-accent)}.aiham-layout-list .aiham-group-categories a{background:#333b45;border-color:#4f5864;color:#eef0f3}.aiham-layout-list .aiham-group-categories a:hover{color:#ffb47c}
