.branddocs { background: #fff; padding: 38px 0; }
.branddocs-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; }
.branddocs-grid--single { grid-template-columns: minmax(0, 1fr); }
.branddocs .brandsbox, .branddocs .docsbox { min-width: 0; }
.branddocs h2 { margin: 0 0 18px; color: #20252a; font-size: 21px; font-weight: 900; line-height: 1.15; text-transform: uppercase; }
.branddocs h2::after { content: ""; display: inline-block; width: 48px; height: 3px; margin-left: 10px; border-radius: 2px; background: linear-gradient(90deg, #f0cd4c 0 78%, #60ac64 78%); vertical-align: .18em; }
.branddocs .brandrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); min-height: 82px; overflow: hidden; border: 1px solid #e0e3e5; border-radius: 6px; background: #fff; }
.branddocs .branditem { display: grid; min-width: 0; min-height: 80px; padding: 12px 8px; place-items: center; }
.branddocs .branditem + .branditem { border-left: 1px solid #edf0f1; }
.branddocs .branditem a { display: grid; max-width: 100%; place-items: center; color: inherit; text-decoration: none; transition: opacity 180ms ease, transform 180ms ease; }
.branddocs .branditem img { display: block; max-width: min(100%, 120px); max-height: 46px; object-fit: contain; }
.branddocs .branditem span { color: #565b60; font-size: 15px; font-weight: 900; line-height: 1.2; text-align: center; }
.branddocs .brandbtn { display: inline-flex; margin-top: 11px; padding: 9px 13px; align-items: center; border: 1px solid #d5dade; border-radius: 4px; background: #fff; color: #293238; font-size: 12px; font-weight: 700; line-height: 1.3; text-decoration: none; transition: border-color 190ms ease, color 190ms ease; }
.branddocs .brandbtn span { margin-left: 8px; color: #4d9f55; font-size: 18px; line-height: 1; transform: rotate(-45deg); transition: transform 190ms ease; }
.branddocs .docrow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.branddocs .doc { display: grid; grid-template-columns: 28px minmax(0, 1fr) 18px; gap: 9px; min-width: 0; min-height: 96px; padding: 15px; align-items: start; border: 1px solid #e0e3e5; border-radius: 6px; background: #fff; color: inherit; text-decoration: none; transition: border-color 190ms ease, box-shadow 190ms ease, transform 190ms ease; }
.branddocs .doc-icon, .branddocs .doc-arrow { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.branddocs .doc-icon { width: 27px; height: 27px; color: #d64d53; }
.branddocs .doc-arrow { width: 18px; height: 18px; align-self: end; color: #49a853; }
.branddocs .doc-copy { min-width: 0; }
.branddocs .doc strong { display: block; color: #20252a; font-size: 12px; font-weight: 800; line-height: 1.3; hyphens: none; overflow-wrap: normal; word-break: normal; }
.branddocs .doc small { display: block; margin-top: 5px; color: #777; font-size: 10px; line-height: 1.3; }
.branddocs a:focus-visible { outline: 3px solid rgba(96, 172, 100, .35); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) {
  .branddocs .branditem a:hover { opacity: .78; transform: translateY(-1px); }
  .branddocs .brandbtn:hover { border-color: #66b86d; color: #172027; }
  .branddocs .brandbtn:hover span { transform: translate(2px, -2px) rotate(-45deg); }
  .branddocs .doc:hover { border-color: #bdc5c8; box-shadow: 0 4px 12px rgba(32, 42, 47, .06); transform: translateY(-1px); }
}
@media (max-width: 1000px) {
  .branddocs { padding: 32px 0; }
  .branddocs-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .branddocs .brandrow { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .branddocs .branditem:nth-child(5) { border-left: 0; }
}
@media (max-width: 900px) { .branddocs .docrow { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .branddocs { padding: 28px 0; }
  .branddocs h2 { margin-bottom: 16px; font-size: 19px; }
  .branddocs h2::after { width: 42px; margin-left: 8px; }
  .branddocs .brandrow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branddocs .branditem:nth-child(odd) { border-left: 0; }
  .branddocs .branditem { min-height: 76px; }
  .branddocs .brandbtn { font-size: 11px; }
  .branddocs .doc { min-height: 90px; padding: 14px; }
}
@media (max-width: 340px) { .branddocs .brandrow { grid-template-columns: minmax(0, 1fr); } .branddocs .branditem { border-left: 0 !important; } }
