education-college.css 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. /* 教育学院网站模板-酒红色 */
  2. :root{
  3. --edu-wine:#a3263c;
  4. --edu-wine-deep:#6f1727;
  5. --edu-wine-soft:#c9455e;
  6. --edu-cream:#fdf7f5;
  7. --edu-cream-deep:#f7e9e6;
  8. --edu-paper:#fffdfc;
  9. --edu-ink:#3b2727;
  10. --edu-muted:#8f746e;
  11. --edu-line:#efdcdb;
  12. --edu-gold:#b07a4a;
  13. --edu-shadow:0 12px 34px rgba(122,28,44,.1);
  14. }
  15. *{margin:0;padding:0;box-sizing:border-box}
  16. html{scroll-behavior:smooth}
  17. body.education-page{font-family:"Microsoft YaHei","PingFang SC","WenQuanYi Micro Hei",sans-serif;background:var(--edu-cream);color:var(--edu-ink);line-height:1.7;-webkit-font-smoothing:antialiased;overflow-x:hidden}
  18. body.education-page img{display:block;max-width:100%}
  19. body.education-page a{color:inherit;text-decoration:none}
  20. body.education-page button,body.education-page input{font:inherit}
  21. body.education-page button{cursor:pointer}
  22. ul{list-style:none}
  23. .edu-wrap{width:min(1180px,calc(100% - 40px));margin:0 auto;position:relative;z-index:2}
  24. .edu-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
  25. /* 顶部品牌区 */
  26. .edu-topbar{position:relative;background:linear-gradient(105deg,#8f2030 0%,#a3263c 48%,#c9455e 100%);border-bottom:3px solid #5f1420;overflow:hidden}
  27. .edu-topbar::before,.edu-topbar::after{content:"";position:absolute;border:1px solid rgba(255,255,255,.12);border-radius:50%;pointer-events:none}
  28. .edu-topbar::before{right:-70px;top:-95px;width:360px;height:360px}
  29. .edu-topbar::after{right:80px;bottom:-155px;width:260px;height:260px}
  30. .edu-topbar-inner{min-height:118px;display:flex;align-items:center;justify-content:space-between;gap:30px}
  31. .edu-brand{display:flex;align-items:center;gap:14px;color:#fff;min-width:0}
  32. .edu-brand-mark{display:block;width:54px;height:54px;padding:5px;border:1px solid rgba(255,255,255,.32);border-radius:50%;background:rgba(255,255,255,.1);object-fit:contain;filter:drop-shadow(0 3px 10px rgba(70,10,20,.24))}
  33. .edu-brand-copy{display:flex;flex-direction:column;line-height:1.12;min-width:0}
  34. .edu-brand-name{color:#fff;font-family:"Noto Serif SC","STZhongsong","Songti SC",serif;font-size:23px;font-weight:900;letter-spacing:.08em}
  35. .edu-brand-en{margin-top:5px;color:rgba(255,255,255,.8);font-family:Arial,sans-serif;font-size:10px;font-style:normal;font-weight:700;letter-spacing:.18em}
  36. .edu-brand-logo{display:block;width:min(370px,42vw);height:auto;max-height:72px;object-fit:contain;filter:drop-shadow(0 3px 10px rgba(70,10,20,.24))}
  37. .edu-top-tools{display:flex;align-items:center;gap:14px;flex:none}
  38. .edu-top-links{display:flex;align-items:center;gap:13px;white-space:nowrap}
  39. .edu-top-links a{color:#fff;font-size:13px;font-weight:600;transition:color .2s}
  40. .education-page .edu-top-links a:link,.education-page .edu-top-links a:visited{color:#fff!important}
  41. .edu-top-links a:hover,.edu-top-links a:focus-visible{color:#fff;text-decoration:underline;text-underline-offset:4px}
  42. .edu-top-search{display:flex;align-items:center;border:1px solid rgba(255,255,255,.38);border-radius:5px;background:rgba(255,255,255,.13);overflow:hidden;backdrop-filter:blur(4px)}
  43. .edu-top-search input{width:190px;height:36px;padding:0 11px;border:0;outline:0;background:transparent;color:#fff;font-size:13px}
  44. .edu-top-search input::placeholder{color:rgba(255,255,255,.68)}
  45. .edu-top-search button{display:grid;place-items:center;width:38px;height:36px;border:0;background:rgba(255,255,255,.17);color:#fff}
  46. .edu-top-search svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9}
  47. /* 主导航 */
  48. .edu-nav{position:sticky;top:0;z-index:80;background:linear-gradient(90deg,#7a1c2c 0%,#a3263c 54%,#bd3c54 100%);border-bottom:3px solid #5f1420;box-shadow:0 4px 15px rgba(90,15,25,.14)}
  49. .edu-nav-inner{min-height:54px;display:flex;align-items:center;justify-content:center;gap:4px}
  50. .edu-nav-item{position:relative;display:flex;align-items:stretch}
  51. .edu-nav-row{display:flex;align-items:stretch;min-width:0}
  52. .edu-nav-link{display:flex;align-items:center;justify-content:center;min-height:38px;padding:8px 22px;border-radius:22px;color:#fff;font-size:15px;font-weight:600;letter-spacing:.05em;transition:background .2s,color .2s}
  53. .education-page .edu-nav .edu-nav-link:link,.education-page .edu-nav .edu-nav-link:visited{color:#fff!important}
  54. .edu-nav-link:hover,.edu-nav-link:focus-visible{background:rgba(255,255,255,.17);color:#fff}
  55. .edu-nav-link.is-active{background:#fff6f2;color:var(--edu-wine-deep);font-weight:800;box-shadow:0 3px 11px rgba(60,10,20,.26)}
  56. .education-page .edu-nav .edu-nav-link.is-active:link,.education-page .edu-nav .edu-nav-link.is-active:visited{color:var(--edu-wine-deep)!important}
  57. .edu-nav-item.has-children .edu-nav-row>.edu-nav-link::after{content:"";width:5px;height:5px;margin:-3px 0 0 8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
  58. .edu-subnav-toggle{display:none}
  59. .edu-subnav{position:absolute;left:0;top:calc(100% + 5px);z-index:90;min-width:178px;padding:7px 0;border:1px solid rgba(255,255,255,.14);border-top:0;border-radius:0 0 8px 8px;background:linear-gradient(180deg,#7a1c2c 0%,#651522 100%);box-shadow:0 15px 32px rgba(80,20,30,.26);opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s}
  60. .edu-nav-item:hover .edu-subnav,.edu-nav-item:focus-within .edu-subnav{opacity:1;visibility:visible;transform:translateY(0)}
  61. .edu-nav-item:last-child>.edu-subnav{left:auto;right:0}
  62. .edu-subnav a{display:block;padding:9px 18px;color:#fff;font-size:13px;white-space:nowrap}
  63. .education-page .edu-nav .edu-subnav a:link,.education-page .edu-nav .edu-subnav a:visited{color:#fff!important}
  64. .edu-subnav a:hover,.edu-subnav a:focus-visible{color:#fff;background:rgba(255,255,255,.14)}
  65. .edu-nav-toggle{display:none;width:42px;height:38px;border:1px solid rgba(255,255,255,.4);border-radius:7px;background:none;align-items:center;justify-content:center;flex-direction:column;gap:5px}
  66. .edu-nav-toggle span{display:block;width:21px;height:2px;border-radius:2px;background:#fff;transition:.2s}
  67. .edu-nav-toggle.is-open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  68. .edu-nav-toggle.is-open span:nth-child(2){opacity:0}
  69. .edu-nav-toggle.is-open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  70. .edu-menu-mask{position:fixed;inset:0;z-index:70;background:rgba(50,8,16,.5);opacity:0;pointer-events:none;transition:opacity .25s}
  71. .edu-menu-mask.is-open{opacity:1;pointer-events:auto}
  72. /* 首页首屏轮播 */
  73. .edu-hero{position:relative;height:440px;overflow:hidden;background:#2d1118}
  74. .edu-hero-track{display:flex;width:100%;height:100%;transition:transform .65s ease}
  75. .edu-hero-slide{position:relative;flex:0 0 100%;display:block;width:100%;height:100%;overflow:hidden}
  76. .edu-hero-bg{display:block;width:100%;height:100%;object-fit:cover}
  77. .edu-hero-arrow{position:absolute;top:50%;z-index:4;display:flex;align-items:center;justify-content:center;width:46px;height:46px;padding:0;border:1px solid rgba(255,255,255,.4);border-radius:50%;background:rgba(54,13,23,.38);color:#fff;font-size:28px;line-height:1;transform:translateY(-50%);transition:background .2s,border-color .2s}
  78. .edu-hero-arrow:hover,.edu-hero-arrow:focus-visible{background:rgba(122,28,44,.82);border-color:#fff}
  79. .edu-hero-arrow.prev{left:20px}
  80. .edu-hero-arrow.next{right:20px}
  81. .edu-hero-dots{position:absolute;left:50%;bottom:22px;z-index:4;display:flex;gap:9px;transform:translateX(-50%)}
  82. .edu-hero-dot{width:9px;height:9px;padding:0;border:0;border-radius:20px;background:rgba(255,255,255,.5);transition:.2s}
  83. .edu-hero-dot.is-active{width:28px;background:#fff}
  84. /* 公告条 */
  85. .edu-notice-section{padding:18px 0 4px}
  86. .edu-notice{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;min-height:48px;padding:0 18px 0 10px;border:1px solid var(--edu-line);border-radius:6px;background:var(--edu-paper);box-shadow:0 4px 15px rgba(163,38,60,.06)}
  87. .edu-notice-label{display:flex;align-items:center;gap:7px;padding:7px 14px;border-radius:4px;background:var(--edu-wine);color:#fff;font-size:13px;font-weight:700;white-space:nowrap}
  88. .edu-notice-window{position:relative;height:46px;overflow:hidden}
  89. .edu-notice-list{position:relative;height:46px}
  90. .edu-notice-item{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;gap:22px;opacity:0;transform:translateY(18px);transition:opacity .35s,transform .35s;pointer-events:none}
  91. .edu-notice-item.is-active{opacity:1;transform:translateY(0);pointer-events:auto}
  92. .edu-notice-item a{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;color:#4e3432}
  93. .edu-notice-item a:hover{color:var(--edu-wine)}
  94. .edu-notice-item time{flex:none;color:var(--edu-muted);font-size:12px}
  95. .edu-more{color:var(--edu-wine);font-size:13px;font-weight:700;white-space:nowrap}
  96. .edu-more:hover{color:var(--edu-wine-deep)}
  97. /* 首页通用板块 */
  98. .edu-section{padding:36px 0 8px}
  99. .edu-section:last-of-type{padding-bottom:52px}
  100. .edu-section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:18px;padding-bottom:11px;border-bottom:1px solid var(--edu-line);position:relative}
  101. .edu-section-head::after{content:"";position:absolute;left:0;bottom:-1px;width:74px;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--edu-wine),var(--edu-wine-soft))}
  102. .edu-section-title{display:flex;align-items:center;gap:9px;font-family:"STZhongsong","Songti SC",serif;font-size:27px;font-weight:900;line-height:1.2;color:var(--edu-wine-deep);letter-spacing:.04em}
  103. .edu-section-more{font-size:13px;font-weight:700;color:var(--edu-wine)}
  104. .edu-section-more:hover{color:var(--edu-wine-deep)}
  105. /* 学院新闻 */
  106. .edu-news-card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:26px;padding:20px;border:1px solid var(--edu-line);border-radius:9px;background:var(--edu-paper);box-shadow:var(--edu-shadow)}
  107. .edu-feature{display:block;min-width:0}
  108. .edu-feature-image{position:relative;display:block;width:100%;min-width:0;aspect-ratio:16/9;overflow:hidden;border-radius:7px;background:var(--edu-cream-deep)}
  109. .edu-feature-image img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
  110. .edu-feature:hover .edu-feature-image img{transform:scale(1.035)}
  111. .edu-feature-copy{display:flex;flex-direction:column;justify-content:center;min-width:0;padding:15px 2px 2px}
  112. .edu-date-badge{display:flex;align-items:baseline;gap:6px;color:var(--edu-wine);font-size:12px}
  113. .edu-date-badge b{font-family:Georgia,serif;font-size:30px;line-height:1}
  114. .edu-feature h3{margin:10px 0 11px;font-family:"STZhongsong","Songti SC",serif;font-size:23px;line-height:1.55;color:#472a2b}
  115. .edu-feature h3 a:hover{color:var(--edu-wine)}
  116. .edu-feature p{display:-webkit-box;overflow:hidden;color:#755b57;font-size:13.5px;line-height:1.9;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4}
  117. .edu-news-list{display:flex;flex-direction:column;min-width:0}
  118. .edu-news-list li{border-bottom:1px dashed #ead5d4}
  119. .edu-news-list li:last-child{border-bottom:0}
  120. .edu-news-list a{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:45px;padding:7px 0;color:#4a3231;font-size:13.5px}
  121. .edu-news-list a:hover{color:var(--edu-wine)}
  122. .edu-news-list a span:first-child{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  123. .edu-news-list time{flex:none;color:var(--edu-muted);font-size:12px}
  124. .edu-empty{padding:28px 16px;border:1px dashed var(--edu-line);border-radius:7px;background:#fffaf9;text-align:center;color:var(--edu-muted);font-size:14px}
  125. /* 非遗专区 */
  126. .edu-heritage-zone{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;padding:24px 27px;border:1px solid #e7c5c5;border-radius:10px;background:linear-gradient(100deg,#fff8f3 0%,#f9e9e6 56%,#f2d4d5 100%);box-shadow:0 10px 26px rgba(122,28,44,.08);position:relative;overflow:hidden}
  127. .edu-heritage-zone::after{content:"";position:absolute;right:74px;top:-95px;width:220px;height:220px;border:1px solid rgba(163,38,60,.12);border-radius:50%}
  128. .edu-heritage-icon{display:grid;place-items:center;width:58px;height:58px;border:1px solid rgba(163,38,60,.18);border-radius:50%;background:rgba(255,255,255,.72);font-size:28px}
  129. .edu-heritage-copy{min-width:0}
  130. .edu-heritage-copy h3{font-family:"STZhongsong","Songti SC",serif;font-size:22px;color:var(--edu-wine-deep)}
  131. .edu-heritage-copy p{display:-webkit-box;overflow:hidden;margin-top:4px;color:#6f4c4d;font-size:13.5px;line-height:1.85;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
  132. body.education-page a.edu-zone-btn{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;min-width:128px;height:38px;padding:0 18px;border-radius:20px;background:var(--edu-wine);color:#fff;font-size:13px;font-weight:700;white-space:nowrap}
  133. .edu-zone-btn:hover{background:var(--edu-wine-deep)}
  134. /* 教育教学 / 招生就业双栏 */
  135. .edu-twin{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
  136. .edu-panel{min-width:0;padding:20px;border:1px solid var(--edu-line);border-radius:9px;background:var(--edu-paper);box-shadow:0 7px 22px rgba(122,28,44,.06)}
  137. .edu-panel .edu-section-head{margin-bottom:14px}
  138. .edu-panel .edu-section-title{font-size:23px}
  139. .edu-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
  140. .edu-tab{min-height:33px;padding:5px 12px;border:1px solid var(--edu-line);border-radius:17px;background:#fff;color:#785d59;font-size:12.5px;transition:.2s}
  141. .edu-tab:hover{color:var(--edu-wine);border-color:#dbaeb5}
  142. .edu-tab.is-active{background:var(--edu-wine);border-color:var(--edu-wine);color:#fff;font-weight:700}
  143. .edu-tab-panel{display:none}
  144. .edu-tab-panel.is-active{display:block}
  145. .edu-mini-list li{border-bottom:1px dashed #ead5d4}
  146. .edu-mini-list li:last-child{border-bottom:0}
  147. .edu-mini-list a{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:42px;padding:6px 0;color:#4b3230;font-size:13.5px}
  148. .edu-mini-list a:hover{color:var(--edu-wine)}
  149. .edu-mini-list a span:first-child{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  150. .edu-mini-list time{flex:none;color:var(--edu-muted);font-size:12px}
  151. .edu-panel-more{display:inline-flex;margin-top:12px;color:var(--edu-wine);font-size:12.5px;font-weight:700}
  152. /* 学院风采 */
  153. .edu-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
  154. .edu-gallery-card{position:relative;display:block;overflow:hidden;aspect-ratio:16/9;border-radius:8px;background:#5b1b27;color:#fff;box-shadow:0 8px 22px rgba(80,20,30,.14)}
  155. .edu-gallery-card img{width:100%;height:100%;object-fit:cover;transition:transform .45s}
  156. .edu-gallery-card::after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 35%,rgba(74,13,24,.86))}
  157. .edu-gallery-card:hover img{transform:scale(1.05)}
  158. .edu-gallery-card span{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:16px;color:#fff;font-size:13px;line-height:1.65}
  159. /* 页脚 */
  160. .edu-footer{margin-top:46px;background:linear-gradient(115deg,#651522 0%,#7e1d2e 58%,#96283e 100%);color:rgba(255,255,255,.82)}
  161. .edu-footer-main{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(180px,.65fr) minmax(210px,.75fr);gap:42px;padding:46px 0 34px}
  162. .edu-footer h4{margin-bottom:15px;color:#fff;font-family:"STZhongsong","Songti SC",serif;font-size:19px;letter-spacing:.05em}
  163. .edu-footer-brand{margin-bottom:16px}
  164. .edu-footer-brand img{display:block;width:min(370px,42vw);height:auto;max-height:72px;object-fit:contain;filter:drop-shadow(0 3px 10px rgba(70,10,20,.24))}
  165. .edu-footer p,.edu-footer li{font-size:12.5px;line-height:1.95}
  166. .edu-footer a:hover{color:#fff;text-decoration:underline;text-underline-offset:3px}
  167. .edu-footer-links{display:flex;flex-wrap:wrap;gap:9px 18px}
  168. .edu-service-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  169. .edu-service-link{display:flex;align-items:center;justify-content:center;min-height:42px;padding:7px 9px;border:1px solid rgba(255,255,255,.2);border-radius:8px;background:rgba(255,255,255,.08);color:#fff;font-size:12.5px;transition:.2s}
  170. .edu-service-link:hover{background:#fff8f4;color:var(--edu-wine);border-color:#fff8f4;text-decoration:none!important;transform:translateY(-2px)}
  171. .edu-footer-bottom{border-top:1px solid rgba(255,255,255,.15);background:rgba(40,5,11,.18)}
  172. .edu-footer-bottom .edu-wrap{display:flex;justify-content:center;padding:13px 0;color:rgba(255,255,255,.58);font-size:11.5px;text-align:center}
  173. .edu-back-top{position:fixed;right:18px;bottom:24px;z-index:60;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--edu-wine);color:#fff;box-shadow:0 6px 18px rgba(100,20,30,.3);opacity:0;pointer-events:none;transform:translateY(10px);transition:.2s}
  174. .edu-back-top.is-visible{opacity:1;pointer-events:auto;transform:translateY(0)}
  175. /* 内页公共 */
  176. .edu-page-hero{position:relative;padding:54px 0 50px;overflow:hidden;background:linear-gradient(110deg,#6f1727 0%,#92243a 52%,#ba3a50 100%);color:#fff}
  177. .edu-page-hero::before,.edu-page-hero::after{content:"";position:absolute;border:1px solid rgba(255,255,255,.12);border-radius:50%}
  178. .edu-page-hero::before{right:-80px;top:-160px;width:400px;height:400px}
  179. .edu-page-hero::after{right:160px;bottom:-150px;width:260px;height:260px}
  180. .edu-page-hero small{position:relative;z-index:1;display:block;color:rgba(255,255,255,.7);font-size:11px;letter-spacing:.2em;text-transform:uppercase}
  181. .edu-page-hero h1,.edu-page-hero-title{position:relative;z-index:1;margin-top:8px;font-family:"STZhongsong","Songti SC",serif;font-size:42px;font-weight:900;line-height:1.3;letter-spacing:.08em}
  182. .edu-page-hero p{position:relative;z-index:1;max-width:760px;margin-top:9px;color:rgba(255,255,255,.78);font-size:14px;line-height:1.8}
  183. .edu-breadcrumb{background:#fff;border-bottom:1px solid var(--edu-line)}
  184. .edu-breadcrumb .edu-wrap{display:flex;align-items:center;flex-wrap:wrap;gap:7px;min-height:45px;color:#8c706b;font-size:12.5px}
  185. .edu-breadcrumb a:hover{color:var(--edu-wine)}
  186. .edu-list-section{padding:34px 0 64px}
  187. .edu-list-layout{display:grid;grid-template-columns:276px minmax(0,1fr);gap:28px;align-items:start}
  188. .edu-sidebar{position:sticky;top:73px;overflow:hidden;border:1px solid #6d1827;border-radius:9px;background:linear-gradient(180deg,#7a1c2c 0%,#651522 100%);box-shadow:0 10px 26px rgba(93,18,31,.18)}
  189. .edu-sidebar-head{padding:19px 20px 16px;background:linear-gradient(110deg,var(--edu-wine-deep),var(--edu-wine-soft));color:#fff}
  190. .edu-sidebar-head small{display:block;margin-bottom:3px;font-size:9px;letter-spacing:.18em;opacity:.7}
  191. .edu-sidebar-head h2{font-family:"STZhongsong","Songti SC",serif;font-size:20px;line-height:1.3}
  192. .edu-sidebar-nav{padding:8px 0}
  193. .edu-sidebar-nav a{display:block;padding:11px 20px;border-left:3px solid transparent;color:#fff;font-size:13.5px;transition:.2s}
  194. .education-page .edu-sidebar .edu-sidebar-nav a:link,.education-page .edu-sidebar .edu-sidebar-nav a:visited{color:#fff!important}
  195. .edu-sidebar-nav a:hover,.edu-sidebar-nav a:focus-visible{color:#fff;background:rgba(255,255,255,.12)}
  196. .edu-sidebar-nav a.is-active{border-left-color:#fff;background:rgba(255,255,255,.2);color:#fff;font-weight:700}
  197. .edu-list-panel{min-width:0;padding:24px;border:1px solid var(--edu-line);border-radius:9px;background:var(--edu-paper);box-shadow:0 7px 25px rgba(122,28,44,.06)}
  198. .edu-list-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:15px;border-bottom:1px solid var(--edu-line)}
  199. .edu-list-head h1,.edu-list-head h2{font-family:"STZhongsong","Songti SC",serif;font-size:27px;color:var(--edu-wine-deep);line-height:1.3}
  200. .edu-list-head span{color:#ad8e88;font-size:10px;letter-spacing:.16em;text-transform:uppercase;text-align:right}
  201. .edu-single-title{padding-bottom:14px;border-bottom:1px solid var(--edu-line);font-family:"STZhongsong","Songti SC",serif;font-size:27px;color:var(--edu-wine-deep);line-height:1.45}
  202. .edu-list-panel .edu-detail-meta{justify-content:flex-start;margin-top:14px}
  203. .edu-list-panel .edu-detail-content{padding-top:22px}
  204. .edu-article-list{margin-top:4px}
  205. .edu-article-list li{border-bottom:1px dashed #ead6d4}
  206. .edu-article-list li:last-child{border-bottom:0}
  207. .edu-article-card{display:grid;grid-template-columns:180px minmax(0,1fr);gap:20px;padding:18px 0}
  208. .edu-article-thumb{aspect-ratio:16/9;overflow:hidden;border-radius:6px;background:var(--edu-cream-deep)}
  209. .edu-article-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
  210. .edu-article-card:hover .edu-article-thumb img{transform:scale(1.04)}
  211. .edu-article-copy{display:flex;flex-direction:column;justify-content:center;min-width:0}
  212. .edu-article-copy h2{font-size:17px;line-height:1.6;color:#492f2f;transition:color .2s}
  213. .edu-article-card:hover h2{color:var(--edu-wine)}
  214. .edu-article-copy p{display:-webkit-box;overflow:hidden;margin-top:7px;color:#7f6661;font-size:12.5px;line-height:1.75;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
  215. .edu-article-meta{display:flex;align-items:center;gap:16px;margin-top:10px;color:#a18a84;font-size:11.5px}
  216. .edu-article-meta span{color:var(--edu-wine)}
  217. .edu-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;margin-top:23px;padding-top:20px;border-top:1px solid var(--edu-line)}
  218. .edu-pagination a,.edu-pagination span{display:grid;place-items:center;min-width:34px;height:34px;padding:0 10px;border:1px solid var(--edu-line);border-radius:4px;background:#fff;color:#705652;font-size:12px}
  219. .edu-pagination a:hover{border-color:var(--edu-wine);color:var(--edu-wine)}
  220. .edu-pagination a.is-active{background:var(--edu-wine);border-color:var(--edu-wine);color:#fff}
  221. .edu-pagination .is-disabled{opacity:.45}
  222. .edu-page-summary{border:0!important;background:transparent!important;color:var(--edu-muted)!important}
  223. .edu-ellipsis{border:0!important;background:transparent!important}
  224. .edu-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:20px}
  225. .edu-catalog-card{display:block;min-height:130px;padding:20px;border:1px solid var(--edu-line);border-radius:7px;background:#fffaf8;transition:.22s}
  226. .edu-catalog-card:hover{border-color:#dba8b0;box-shadow:0 8px 20px rgba(122,28,44,.09);transform:translateY(-2px)}
  227. .edu-catalog-card strong{display:block;color:var(--edu-wine-deep);font-family:"STZhongsong","Songti SC",serif;font-size:19px}
  228. .edu-catalog-card p{margin-top:8px;color:#816963;font-size:12.5px;line-height:1.75}
  229. /* 正文 */
  230. .edu-detail-section{padding:34px 0 62px}
  231. .edu-detail-layout{display:grid;grid-template-columns:276px minmax(0,1fr);gap:28px;align-items:start}
  232. .edu-detail-card{padding:38px 43px 48px;border:1px solid var(--edu-line);border-radius:9px;background:var(--edu-paper);box-shadow:0 8px 26px rgba(122,28,44,.07)}
  233. .edu-detail-title{font-family:"STZhongsong","Songti SC",serif;font-size:clamp(25px,2.6vw,34px);line-height:1.55;text-align:center;color:#4b2c2d}
  234. .edu-detail-meta{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px 20px;margin-top:17px;padding-bottom:20px;border-bottom:1px solid var(--edu-line);color:#a08a84;font-size:12px}
  235. .edu-detail-meta span:first-child{color:var(--edu-wine)}
  236. .edu-detail-content{padding-top:27px;color:#4a3332;font-size:15px;line-height:2;word-break:break-word}
  237. .edu-detail-content p{margin:0 0 1.2em}
  238. .edu-detail-content img{height:auto!important;max-width:100%!important;margin:18px auto;border-radius:5px}
  239. .edu-detail-content table{width:100%!important;max-width:100%;margin:18px 0;border-collapse:collapse;font-size:14px}
  240. .edu-detail-content td,.edu-detail-content th{padding:9px 12px;border:1px solid var(--edu-line)}
  241. .edu-detail-content h2,.edu-detail-content h3,.edu-detail-content h4{margin:1.2em 0 .65em;color:var(--edu-wine-deep);line-height:1.55}
  242. .edu-detail-content a{color:var(--edu-wine);text-decoration:underline;text-underline-offset:3px}
  243. .edu-detail-content blockquote{margin:20px 0;padding:14px 20px;border-left:4px solid var(--edu-wine-soft);background:var(--edu-cream-deep);color:#73534f}
  244. .edu-detail-content video,.edu-detail-content iframe{max-width:100%}
  245. .edu-detail-actions{display:flex;justify-content:center;margin-top:34px;padding-top:22px;border-top:1px solid var(--edu-line)}
  246. .edu-detail-actions a{display:inline-flex;align-items:center;justify-content:center;min-width:120px;height:38px;border-radius:4px;background:var(--edu-wine);color:#fff;font-size:13px}
  247. /* 搜索 */
  248. .edu-search-section{padding:34px 0 64px}
  249. .edu-search-panel{min-width:0;padding:28px;border:1px solid var(--edu-line);border-radius:9px;background:var(--edu-paper);box-shadow:var(--edu-shadow)}
  250. .edu-search-form{display:flex;gap:10px;margin-bottom:24px}
  251. .edu-search-form input{flex:1;min-width:0;height:44px;padding:0 15px;border:1px solid #dfc4c3;border-radius:4px;background:#fff;color:var(--edu-ink);outline:0}
  252. .edu-search-form input:focus{border-color:var(--edu-wine);box-shadow:0 0 0 3px rgba(163,38,60,.1)}
  253. .edu-search-form button{height:44px;min-width:92px;border:0;border-radius:4px;background:var(--edu-wine);color:#fff;font-weight:600}
  254. @media (max-width:1120px){
  255. .edu-nav-toggle{display:flex}
  256. .edu-nav{position:fixed;top:0;right:0;bottom:0;left:auto;width:min(82vw,340px);height:100dvh;padding:72px 18px 24px;overflow-y:auto;transform:translateX(100%);transition:transform .28s;box-shadow:-12px 0 30px rgba(50,8,16,.28)}
  257. .edu-nav.is-open{transform:translateX(0)}
  258. .edu-nav-inner{display:block;min-height:0}
  259. .edu-nav-item{display:block}
  260. .edu-nav-row{display:grid;grid-template-columns:minmax(0,1fr) 52px;align-items:stretch}
  261. .edu-nav-link{justify-content:flex-start;min-height:50px;padding:12px 8px;border-radius:0;border-bottom:1px solid rgba(255,255,255,.12);font-size:15px}
  262. .edu-nav-link.is-active{background:rgba(255,255,255,.12);color:#fff;box-shadow:none}
  263. .education-page .edu-nav .edu-nav-link.is-active:link,.education-page .edu-nav .edu-nav-link.is-active:visited{color:#fff!important}
  264. .edu-nav-item.has-children .edu-nav-row>.edu-nav-link::after{display:none}
  265. .edu-subnav-toggle{display:flex;align-items:center;justify-content:center;width:52px;min-height:50px;border:0;border-bottom:1px solid rgba(255,255,255,.12);background:transparent;color:#fff}
  266. .edu-subnav-toggle::before{content:"";width:8px;height:8px;margin-top:-4px;border-right:1.5px solid #fff;border-bottom:1.5px solid #fff;transform:rotate(45deg);transition:transform .2s}
  267. .edu-nav-item.is-open .edu-subnav-toggle::before{margin-top:4px;transform:rotate(225deg)}
  268. .edu-subnav{position:static;display:none;min-width:0;padding:2px 0 8px;border-radius:0;background:rgba(255,255,255,.07);box-shadow:none;opacity:1;visibility:visible;transform:none}
  269. .edu-nav-item.is-open .edu-subnav{display:block}
  270. .edu-subnav a{padding:9px 20px;border-bottom:1px solid rgba(255,255,255,.08);color:#fff}
  271. .edu-subnav a:hover{background:rgba(255,255,255,.08);color:#fff}
  272. .edu-brand-logo,.edu-footer-brand img{width:min(330px,44vw);max-height:64px}
  273. .edu-top-search input{width:150px}
  274. .edu-news-card{grid-template-columns:1fr}
  275. .edu-feature{grid-template-columns:minmax(200px,.75fr) minmax(0,1.25fr)}
  276. .edu-list-layout{grid-template-columns:220px minmax(0,1fr);gap:22px}
  277. }
  278. @media (max-width:860px){
  279. .edu-wrap{width:calc(100% - 30px)}
  280. .edu-topbar-inner{min-height:104px;gap:18px}
  281. .edu-brand-logo,.edu-footer-brand img{width:min(290px,52vw);max-height:60px}
  282. .edu-top-links{display:none}
  283. .edu-top-search input{width:132px}
  284. .edu-hero{height:420px}
  285. .edu-news-card,.edu-twin{grid-template-columns:1fr}
  286. .edu-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
  287. .edu-footer-main{grid-template-columns:1fr 1fr;gap:30px}
  288. .edu-footer-main>div:first-child{grid-column:1/-1}
  289. .edu-twin{gap:20px}
  290. .edu-list-layout,.edu-detail-layout{grid-template-columns:1fr}
  291. .edu-sidebar{position:static}
  292. .edu-sidebar-nav{display:flex;flex-wrap:wrap;padding:8px}
  293. .edu-sidebar-nav a{border-left:0;border-bottom:2px solid transparent;padding:9px 12px}
  294. .edu-sidebar-nav a.is-active{border-left-color:transparent;border-bottom-color:#fff;background:rgba(255,255,255,.16)}
  295. }
  296. @media (max-width:680px){
  297. .edu-topbar-inner{min-height:92px}
  298. .edu-brand-logo,.edu-footer-brand img{width:min(230px,62vw);max-height:50px}
  299. .edu-brand-mark{width:48px;height:48px}
  300. .edu-brand-name{font-size:21px}
  301. .edu-top-search input{display:none}
  302. .edu-top-search button{width:38px}
  303. .edu-nav-toggle{display:flex}
  304. .edu-hero{height:380px}
  305. .edu-hero-arrow.prev{left:8px}
  306. .edu-hero-arrow.next{right:8px}
  307. .edu-notice{grid-template-columns:auto minmax(0,1fr);gap:10px;padding-right:12px}
  308. .edu-notice>.edu-more{display:none}
  309. .edu-notice-item{display:block;padding:8px 0}
  310. .edu-notice-item a{white-space:normal;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2}
  311. .edu-notice-item time{display:none}
  312. .edu-notice-window,.edu-notice-list{height:58px}
  313. .edu-notice-item{height:58px}
  314. .edu-news-card{padding:15px}
  315. .edu-feature h3{font-size:20px}
  316. .edu-news-list a{min-height:43px}
  317. .edu-heritage-zone{grid-template-columns:auto minmax(0,1fr);padding:20px}
  318. .edu-zone-btn{grid-column:1/-1;justify-self:start}
  319. .edu-gallery{grid-template-columns:1fr 1fr;gap:12px}
  320. .edu-footer-main{grid-template-columns:1fr;padding-top:34px}
  321. .edu-footer-main>div:first-child{grid-column:auto}
  322. .edu-page-hero{padding:38px 0 35px}
  323. .edu-page-hero h1,.edu-page-hero-title{font-size:32px}
  324. .edu-list-panel,.edu-search-panel{padding:18px}
  325. .edu-article-card{grid-template-columns:122px minmax(0,1fr);gap:13px}
  326. .edu-article-copy h2{font-size:15px}
  327. .edu-article-copy p{display:none}
  328. .edu-catalog-grid{grid-template-columns:1fr}
  329. .edu-detail-card{padding:26px 20px 36px}
  330. .edu-detail-title{font-size:24px}
  331. .edu-detail-content{font-size:14px;line-height:1.9}
  332. .edu-back-top{right:12px;bottom:18px}
  333. }
  334. @media (max-width:430px){
  335. .edu-brand-logo,.edu-footer-brand img{width:min(190px,64vw)}
  336. .edu-hero{height:340px}
  337. .edu-hero-arrow{display:none}
  338. .edu-section-title{font-size:23px}
  339. .edu-section-head{margin-bottom:14px}
  340. .edu-news-card{padding:12px}
  341. .edu-panel{padding:16px}
  342. .edu-gallery{grid-template-columns:1fr}
  343. .edu-article-card{grid-template-columns:1fr}
  344. .edu-search-form{flex-wrap:wrap}
  345. .edu-search-form input{flex-basis:100%}
  346. .edu-search-form button{width:100%}
  347. }
  348. @media (prefers-reduced-motion:reduce){
  349. html{scroll-behavior:auto}
  350. *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  351. }