.ab-community-home { color: #44382e; background: #fff8f2; }
.ab-community-home .ab-container { max-width: 1240px; margin: 0 auto; }
.ab-community-home .ab-primary-tabs { background: #fff; }
.ab-community-home .ab-hub-search { display: flex; gap: 12px; align-items: center; width: 100%; min-width: 0; box-sizing: border-box; }
.ab-community-home .ab-hub-search .ab-mini-select { width: 76px; padding-left: 6px; padding-right: 22px; box-sizing: border-box; }
.ab-community-home .ab-hub-search input, .ab-community-home .ab-hub-search button { height: 40px; box-sizing: border-box; }
.ab-community-home .ab-hub-search label { font-size: 13px; white-space: nowrap; }
.ab-community-home .ab-hub-search input { flex: 1 1 0; width: 0; min-width: 0; padding: 0 14px; border: 1px solid #e8ddd2; border-radius: 10px; font: inherit; background: white; }
.ab-community-home .ab-hub-search button { flex: 0 0 auto; white-space: nowrap; padding: 0 20px; border: 0; border-radius: 10px; background: #ff7a00; color: white; font: inherit; cursor: pointer; }
.ab-hub { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.ab-hub-intro { padding: 52px 0 36px; }
.ab-hub-brand { margin: 0 0 14px; color: #d65c00; font-size: 15px; font-weight: 700; letter-spacing: .04em; }
.ab-hub h1 { margin: 0; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.35; letter-spacing: -.045em; font-weight: 750; color: #43362c; }
.ab-hub-lead { margin: 20px 0 8px; font-size: 19px; font-weight: 600; }
.ab-hub-description { margin: 20px 0 0; color: #796c60; font-size: 15px; line-height: 1.7; }
.ab-hub-sections { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-top: 30px; }
.ab-hub-sections a { display: grid; grid-template-columns: 38px 1fr; gap: 6px 12px; align-items: center; padding: 21px 18px; border: 1px solid #eddccf; border-radius: 16px; background: #fff; color: inherit; text-decoration: none; }
.ab-hub-sections a:hover { border-color: #ff7a00; }
.ab-hub-sections strong { font-size: 16px; }
.ab-hub-sections a > span:last-child { grid-column: 2; font-size: 12px; color: #827266; line-height: 1.5; }
.ab-hub-section-icon { grid-row: span 2; display: grid; place-items: center; width: 38px; height: 42px; border-radius: 12px; background: #fff0e2; color: #d56713; font-size: 25px; }
.ab-hub-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 28px; align-items: start; }
.ab-hub-main { min-width: 0; }
.ab-hub-section { margin: 8px 0 38px; }
.ab-hub-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ab-hub h2 { margin: 0; font-size: 23px; line-height: 1.5; letter-spacing: -.025em; font-weight: 700; }
.ab-hub-heading > span { color: #8e8074; font-size: 13px; }
.ab-hub-heading > a { flex-shrink: 0; color: #a85516; font-size: 13px; text-decoration: none; }
.ab-hub-story-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.ab-hub-story { overflow: hidden; margin: 0; border-radius: 15px; background: white; border: 1px solid #f0e5da; box-shadow: 0 3px 8px #5f3e1705; }
.ab-hub-story > a { display: block; height: 100%; color: inherit; text-decoration: none; }
.ab-hub-story-image { aspect-ratio: 4/3; overflow: hidden; background: #f4e9df; }
.ab-hub-image-icon { display: none; }
.ab-hub-image-icon.is-empty { display: grid; height: 100%; box-sizing: border-box; place-items: center; color: #a48a72; }
.ab-hub-story-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ab-hub-story-body { padding: 14px 12px 16px; }
.ab-hub-label { color: #b26732; font-size: 10px; font-weight: 700; }
.ab-hub-story h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin: 8px 0 12px; min-height: 42px; font-size: 14px; line-height: 1.5; font-weight: 600; }
.ab-hub-story time { color: #9a8b80; font-size: 11px; }
.ab-hub .ab-hub-products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.ab-hub-products .post-card { width: 100%; min-width: 0; margin: 0; }
.ab-hub-products .thumb { height: auto; aspect-ratio: 1; }
.ab-hub-products .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ab-hub-news { list-style: none; padding: 0; margin: 0; border: 1px solid #efdfd2; border-radius: 15px; background: white; overflow: hidden; }
.ab-hub-news li + li { border-top: 1px solid #f3eae1; }
.ab-hub-news a { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding: 19px 20px; color: inherit; text-decoration: none; }
.ab-hub-news a > span { overflow-wrap: anywhere; line-height: 1.6; font-size: 15px; }
.ab-hub-news time { flex-shrink: 0; color: #958477; font-size: 12px; }
.ab-hub-invite { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 28px; margin: 0 0 32px; background: #f0f2e6; border: 1px solid #e4e8d6; border-radius: 18px; }
.ab-hub-invite h2 { font-size: 21px; }
.ab-hub-invite p { margin: 8px 0 0; color: #6d715a; font-size: 14px; line-height: 1.7; }
.ab-hub-invite > a { flex-shrink: 0; padding: 13px 20px; border-radius: 11px; background: #63704a; color: white; font-size: 14px; text-decoration: none; }
.ab-hub-empty { padding: 26px 20px; background: white; border: 1px dashed #e4d6c9; border-radius: 14px; color: #867767; line-height: 1.7; }
.ab-hub .ab-footer { padding: 28px 0 35px; }
.ab-hub .ab-footer-links { flex-wrap: wrap; }
.ab-community-home a:focus-visible,.ab-community-home button:focus-visible,.ab-community-home input:focus-visible { outline: 3px solid #b75800; outline-offset: 4px; }
@media(max-width:1000px) {
  .ab-hub-layout { grid-template-columns: minmax(0,1fr); }
  .ab-hub-story-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ab-hub-sections { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  .ab-hub { padding: 0 20px; }
  .ab-hub-intro { padding: 30px 0 26px; }
  .ab-hub h1 { font-size: clamp(17px, 5vw, 22px); line-height: 1.45; word-break: keep-all; }
  .ab-hub-lead { font-size: 16px; }
  .ab-hub-description { font-size: 13px; }
  .ab-hub-sections { gap: 10px; margin-top: 24px; }
  .ab-hub-sections a { padding: 16px 12px; grid-template-columns: 28px 1fr; gap: 5px 8px; }
  .ab-hub-section-icon { width: 28px; height: 34px; font-size: 21px; }
  .ab-hub-sections strong { font-size: 13px; }
  .ab-hub-sections a > span:last-child { font-size: 10px; }
  .ab-hub h2 { font-size: 21px; }
  .ab-hub-heading > span { display: none; }
  .ab-hub-story-grid { grid-template-columns: minmax(0,1fr); }
  .ab-hub-story > a { display: grid; grid-template-columns: 112px minmax(0,1fr); height: 148px; }
  .ab-hub-story-image { position: relative; aspect-ratio: auto; height: 148px; min-height: 0; }
  .ab-hub-story-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .ab-hub-story-body { min-width: 0; padding: 12px; overflow: hidden; }
  .ab-hub-label { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ab-hub-story-image > .ab-hub-image-icon.is-empty,
  .ab-hub-story-image.is-image-error > .ab-hub-image-icon { display: grid; position: absolute; inset: 0; place-items: center; color: #a48a72; }
  .ab-hub-story-image.is-image-error > img { display: none; }
  .ab-hub-story h3 { min-height: 0; -webkit-line-clamp: 3; line-height: 1.5; margin: 6px 0 8px; }
  .ab-hub .ab-hub-products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .ab-hub-invite { display: block; padding: 24px 20px; }
  .ab-hub-invite > a { display: inline-block; margin-top: 18px; }
  .ab-community-home .ab-hub-search { gap: 8px; }
  .ab-community-home .ab-hub-search button { padding: 0 12px; }
  .ab-community-home .ab-hub-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

@media (max-width:768px) {


  .ab-community-home .ab-hub-search { gap: 8px; padding: 0 6px; }
  .ab-community-home .ab-hub-search label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ab-community-home .ab-hub-search .ab-mini-select { width: 60px; height: 38px; padding: 0 12px 0 3px; font-size: 11px; }
  .ab-community-home .ab-hub-search input { height: 38px; padding: 0 8px; font-size: 16px; }
  .ab-community-home .ab-hub-search button { height: 38px; padding: 0 12px; }
}
.ab-community-home .ab-hub-search select:focus-visible { outline: 3px solid #b75800; outline-offset: 4px; }
