/* ed-home.css — 二朵云物联网首页 */
.ed_home_page .zh_main { padding: 0; }
.ed_hero { background: var(--ed-ink) radial-gradient(ellipse at 85% 30%, rgba(242, 84, 45, .28), transparent 55%); color: #fff; }
.ed_hero_in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-top: 54px; padding-bottom: 96px; }
.ed_tag { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 4px; font-size: 13px; color: rgba(255, 255, 255, .85); }
.ed_tag i { color: var(--ed-or); }
.ed_hero h1 { margin: 22px 0 16px; font-size: 52px; line-height: 1.2; font-weight: 900; letter-spacing: 1px; }
.ed_hero h1 em { font-style: normal; color: var(--ed-or); }
.ed_hero p { margin: 0 0 26px; max-width: 500px; font-size: 15px; line-height: 1.95; color: rgba(255, 255, 255, .72); }
.ed_hsearch { display: flex; max-width: 540px; height: 54px; border-radius: 6px; background: #fff; overflow: hidden; }
.ed_hsearch input { flex: 1; min-width: 0; padding: 0 18px; border: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important; font: inherit; font-size: 15px; color: var(--ed-ink); -webkit-appearance: none; appearance: none; }
.ed_hsearch button { padding: 0 30px; border: 0; background: var(--ed-or); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
.ed_hsearch button:hover { background: var(--ed-or-d); }
.ed_nums { display: flex; gap: 36px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); max-width: 540px; }
.ed_nums b { display: block; font: 800 32px/1.1 "DIN Alternate", Arial, sans-serif; color: #fff; }
.ed_nums span { font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.ed_hero_art { position: relative; }
.ed_hero_art img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); }
.ed_hero_art::before { content: ""; position: absolute; right: -14px; bottom: -14px; width: 70%; height: 70%; border: 2px solid var(--ed-or); border-radius: 8px; z-index: 0; }
.ed_hero_art img { position: relative; z-index: 1; }

.ed_live { margin-top: -44px; position: relative; z-index: 2; display: flex; align-items: stretch; background: #fff; border-radius: 8px; box-shadow: 0 16px 36px rgba(27, 31, 42, .12); overflow: hidden; }
.ed_live_lbl { display: flex; align-items: center; gap: 8px; padding: 0 22px; background: var(--ed-or); color: #fff; font-weight: 700; white-space: nowrap; }
.ed_live_lbl i { animation: edblink 1.6s infinite; }
@keyframes edblink { 50% { opacity: .25; } }
.ed_live_list { display: flex; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ed_live_list::-webkit-scrollbar { display: none; }
.ed_live_list a { flex: 0 0 auto; max-width: 300px; padding: 17px 22px; border-right: 1px solid var(--ed-line); font-size: 13.5px; color: var(--ed-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed_live_list a:hover { color: var(--ed-or); background: var(--ed-or-t); }
.ed_live_list small { margin-left: 8px; color: var(--ed-muted); }

.ed_sec { margin-top: 64px; }
.ed_sec_last { padding-bottom: 6px; }
.ed_sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; padding-bottom: 14px; border-bottom: 2px solid var(--ed-ink); }
.ed_sh h2 { margin: 0; font-size: 26px; font-weight: 900; color: var(--ed-ink); }
.ed_sh h2 small { margin-left: 12px; font-size: 13px; font-weight: 400; color: var(--ed-muted); }
.ed_sh a { font-size: 14px; color: var(--ed-or); font-weight: 600; }

.ed_dirs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ed_dir { min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--ed-line); border-top: 3px solid var(--ed-ink); border-radius: 0 0 8px 8px; }
.ed_dir:nth-child(1) { border-top-color: var(--ed-or); }
.ed_dir:nth-child(2) { border-top-color: var(--ed-ice); }
.ed_dir_hd { display: flex; align-items: center; gap: 12px; padding: 16px 18px 12px; }
.ed_dir_hd img { width: 46px; height: 46px; }
.ed_dir_hd strong { display: block; font-size: 17px; color: var(--ed-ink); }
.ed_dir_hd small { font-size: 12px; color: var(--ed-muted); }
.ed_dir ul { list-style: none; margin: 0; padding: 0 18px; flex: 1; }
.ed_dir li a { display: block; padding: 9px 0; border-top: 1px dashed var(--ed-line); font-size: 13.5px; color: var(--ed-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed_dir li a:hover { color: var(--ed-or); }
.ed_dir_ft { display: block; padding: 12px 18px; margin-top: 8px; background: var(--ed-bg); font-size: 13px; color: var(--ed-ink); font-weight: 600; }
.ed_dir_ft:hover { color: var(--ed-or); }

.ed_tabs { display: flex; gap: 0; margin-bottom: 16px; border: 1px solid var(--ed-line); border-radius: 6px; width: fit-content; overflow: hidden; background: #fff; }
.ed_tabs button { height: 40px; padding: 0 24px; border: 0; border-right: 1px solid var(--ed-line); background: #fff; color: var(--ed-text); font-size: 14px; cursor: pointer; }
.ed_tabs button:last-child { border-right: 0; }
.ed_tabs button.on { background: var(--ed-ink); color: #fff; font-weight: 600; }
.ed_table { background: #fff; border: 1px solid var(--ed-line); border-radius: 8px; overflow: hidden; }
.ed_trow { display: grid; grid-template-columns: 76px 1fr 90px 130px 110px 70px; gap: 16px; align-items: center; padding: 12px 20px; border-top: 1px solid var(--ed-line); font-size: 13px; color: var(--ed-muted); }
.ed_trow:first-child { border-top: 0; }
.ed_thead { background: var(--ed-bg); font-size: 12.5px; color: var(--ed-text); font-weight: 600; }
a.ed_trow:hover { background: var(--ed-or-t); }
.ed_trow img { width: 76px; height: 58px; object-fit: cover; border-radius: 4px; background: var(--ed-bg); }
.ed_trow .ttl { min-width: 0; }
.ed_trow .ttl strong { display: block; font-size: 15px; font-weight: 600; color: var(--ed-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed_trow .ttl small { display: block; margin-top: 3px; color: var(--ed-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.ed_trow:hover .ttl strong { color: var(--ed-or); }
.ed_trow .cat { display: inline-block; padding: 1px 10px; border-radius: 3px; background: var(--ed-or-s); color: var(--ed-or-d); font-size: 12px; text-align: center; }
.ed_more { margin-top: 22px; text-align: center; }
.ed_more a { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 30px; border: 1.5px solid var(--ed-ink); border-radius: 6px; color: var(--ed-ink); font-weight: 600; }
.ed_more a:hover { background: var(--ed-ink); color: #fff; }

.ed_how { margin-top: 64px; padding: 56px 0; background: var(--ed-ink); color: #fff; }
.ed_how_in { display: grid; grid-template-columns: 280px 1fr; gap: 50px; align-items: center; }
.ed_how h2 { margin: 0 0 8px; font-size: 30px; font-weight: 900; }
.ed_how p { margin: 0; font-size: 14px; line-height: 1.9; color: rgba(255, 255, 255, .6); }
.ed_steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ed_step { padding: 24px 22px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 8px; background: rgba(255, 255, 255, .04); }
.ed_step img { width: 54px; height: 54px; }
.ed_step b { display: block; margin: 12px 0 6px; font-size: 17px; }
.ed_step b span { margin-right: 8px; color: var(--ed-or); font: 800 15px Arial, sans-serif; }
.ed_step small { font-size: 13px; line-height: 1.8; color: rgba(255, 255, 255, .6); }

.ed_people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ed_person { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--ed-line); border-left: 4px solid var(--ed-ink); border-radius: 0 8px 8px 0; transition: border-color .2s, transform .2s; }
.ed_person:hover { border-left-color: var(--ed-or); transform: translateX(3px); }
.ed_ava { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%; background: var(--ed-ink); color: #fff; font-size: 20px; font-weight: 800; }
.ed_person span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ed_person strong { font-size: 15px; color: var(--ed-ink); }
.ed_person small { font-size: 12.5px; color: var(--ed-muted); }

.ed_about { display: grid; grid-template-columns: 380px 1fr; gap: 0; background: #fff; border: 1px solid var(--ed-line); border-radius: 8px; overflow: hidden; }
.ed_about_pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ed_about_txt { padding: 38px 44px; }
.ed_about_txt h2 { margin: 0 0 14px; font-size: 27px; font-weight: 900; color: var(--ed-ink); }
.ed_about_txt p { margin: 0 0 12px; font-size: 14.5px; line-height: 2; color: var(--ed-text); }
.ed_about_txt strong { color: var(--ed-ink); }

@media (max-width: 1100px) {
    .ed_hero_in { grid-template-columns: 1fr; gap: 40px; padding-bottom: 80px; }
    .ed_hero_art { max-width: 620px; }
    .ed_dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ed_how_in { grid-template-columns: 1fr; gap: 26px; }
    .ed_people { grid-template-columns: repeat(2, 1fr); }
    .ed_about { grid-template-columns: 1fr; }
    .ed_about_pic img { max-height: 320px; }
}
@media (max-width: 800px) {
    .ed_hero h1 { font-size: 36px; }
    .ed_hero_in { padding-top: 34px; }
    .ed_nums { gap: 22px; }
    .ed_hero_art::before { display: none; }
    .ed_live_lbl { padding: 0 14px; font-size: 13px; }
    .ed_live_lbl span { display: none; }
    .ed_dirs { grid-template-columns: minmax(0, 1fr); }
    .ed_tabs { width: 100%; }
    .ed_tabs button { flex: 1; padding: 0 6px; }
    .ed_trow { grid-template-columns: 76px 1fr; gap: 12px; padding: 12px 14px; }
    .ed_trow .cat, .ed_trow .who, .ed_trow .when, .ed_trow .views, .ed_thead { display: none; }
    .ed_trow .ttl small { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .ed_steps { grid-template-columns: 1fr; }
    .ed_people { grid-template-columns: 1fr; }
    .ed_about_txt { padding: 24px 20px; }
}
