/* Education directory layout, scoped to education pages. */
.education-page { background: #fffaf6; color: #35302c; }
.education-page #main { box-sizing: border-box; min-width: 0; padding-top: 22px; }
.education-page .edu-hero { box-sizing: border-box; position: relative; padding: 42px; min-height: 310px; border: 1px solid #f0e3d8; border-radius: 20px; overflow: hidden; background: linear-gradient(90deg, #fff3e7 0%, #fff3e7ed 32%, #fff3e700 72%), url('/holiday/education.webp') right center / cover no-repeat; }
.education-page .edu-eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .15em; color: #b85b17; text-transform: uppercase; }
.education-page .edu-hero h1 { max-width: 530px; margin: 0; font-size: clamp(30px, 3.5vw, 47px); line-height: 1.12; letter-spacing: -.04em; color: #382c24; }
.education-page .edu-hero p:last-child { max-width: 400px; margin: 18px 0 0; color: #77675c; font-size: 15px; line-height: 1.65; }
.education-page .h_left,
.education-page .h_head,
.education-page .h_head_top { box-sizing: border-box; float: none; width: 100%; margin: 0; padding: 0; }
.education-page .edu_item_catalog { box-sizing: border-box; display: flex; flex-wrap: wrap; gap: 8px; float: none; width: 100%; padding: 22px 0 26px; margin: 0; list-style: none; }
.education-page .edu_item_catalog li { float: none; margin: 0; font-size: 13px; }
.education-page .edu_item_catalog a,
.education-page .edu_item_catalog span { box-sizing: border-box; float: none; display: block; padding: 8px 14px; line-height: 1.5; border: 1px solid #eadfd5; border-radius: 24px; background: #fff; color: #6e6259; text-decoration: none; font-weight: 500; }
.education-page .edu_item_catalog span { border-color: #b9510d; color: #fff; background: #b9510d; }
.education-page .edu_item_catalog a:hover { background: #fff0e3; border-color: #e7b58e; }
.education-page .producttitle1 { float: left; margin: 8px 0 18px; padding: 0; width: 100%; border: 0; background: none; }
.education-page .producttitle1 .productname { float: none; margin: 0; padding: 0; width: auto; color: #382f28; font-size: 23px; font-weight: 650; letter-spacing: -.025em; background: none; }
.education-page .c_show_main.p_many { box-sizing: border-box; float: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; width: 100%; margin: 0 0 42px; padding: 0; }
.education-page .item_product_many { box-sizing: border-box; display: flex; flex-direction: column; position: relative; float: none; width: 100%; min-width: 0; height: auto; margin: 0; padding: 18px; border: 1px solid #eee3da; border-radius: 15px; background: #fff; text-align: left; transition: box-shadow .18s, border-color .18s; }
.education-page .item_product_many:hover { border-color: #e6ba98; box-shadow: 0 7px 20px #8a471809; }
.education-page .item_product_many .item_boxshot { float: none; justify-content: flex-start; width: 100%; height: 74px; margin: 0 0 16px; padding: 0; }
.education-page .item_boxshot a { display: flex; align-items: center; justify-content: flex-start; height: 100%; }
.education-page .item_boxshot img { display: block; width: 86px; height: 68px; max-height: 68px; object-fit: contain; object-position: left center; border-radius: 8px; }
.education-page .item_boxshot img[hidden] { display: none; }
.education-page .edu-image-fallback::before { content: attr(data-initials); display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 14px; background: #fff0e3; color: #b85b17; font-size: 23px; font-weight: 700; }
.education-page .producttitle1 .productname { border: 0; }
.education-page .item_product_many .item_main { float: none; display: flex; flex: 1; flex-direction: column; width: 100%; margin: 0; }
.education-page .edu-product-name { margin: 0 0 9px; color: #35302c; font-size: 17px; font-weight: 650; line-height: 1.4; overflow-wrap: anywhere; }
.education-page .edu-product-name a { color: inherit; text-decoration: none; }
.education-page .edu-offer { align-self: flex-start; margin-bottom: 12px; padding: 4px 9px; border-radius: 6px; background: #fff0e1; color: #ad4e10; font-size: 12px; font-weight: 700; line-height: 1.5; }
.education-page .item_c_author_cate { margin: 0 0 18px; padding: 0; font-weight: 400; }
.education-page .company-title { display: block; height: auto; margin: 0; overflow: visible; color: #776e67; font-size: 13px; font-weight: 400; line-height: 1.65; }
.education-page .company-name { float: none; display: block; width: 100%; margin: auto 0 0; padding: 0; }
.education-page .company-name a { box-sizing: border-box; float: none; display: flex; justify-content: space-between; gap: 8px; width: 100%; height: auto; min-height: 42px; padding: 10px 12px; border: 1px solid #efdbc9; border-radius: 8px; background: #fff8f1; color: #a64c13; font-size: 13px; font-weight: 600; line-height: 1.5; text-decoration: none; }
.education-page .company-name a::after { content: '↗'; }
.education-page .company-name a:hover { border-color: #dea57a; background: #ffeddd; }
.education-page .item_many_count { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 6px; background: #f6f3f0; color: #786c62; font-size: 11px; font-weight: 500; line-height: 1.5; font-variant-numeric: tabular-nums; }
.education-page .item_many_count.hot { background: #fff0e1; color: #ad4e10; }
.education-page .edu-view-icon { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.education-page a:focus-visible { outline: 3px solid #d88c2c; outline-offset: 3px; }
@media (max-width: 1100px) { .education-page .c_show_main.p_many { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .education-page .c_show_main.p_many { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .education-page .edu-hero { padding: 28px; min-height: 280px; background-position: 62% center; }
  .education-page .edu-hero h1 { max-width: 360px; }
  .education-page .edu-hero p:last-child { max-width: 280px; }
  .education-page .edu_item_catalog { flex-wrap: nowrap; overflow-x: auto; padding: 18px 0; }
  .education-page .edu_item_catalog li { flex: 0 0 auto; }
  .education-page .item_product_many { padding: 14px; }
}
@media (max-width: 430px) {
  .education-page .edu-hero { padding: 24px 20px; background-image: linear-gradient(90deg, #fff3e7f5, #fff3e7d9), url('/holiday/education.webp'); }
  .education-page .edu-product-name { font-size: 15px; }
  .education-page .company-title { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .education-page .item_product_many { transition: none; } }
