/* =========================================================================
   LAUGO ARMS BRASIL — Resources pages (Knowledge Center, Videos, Articles)
   Loads after site.css + product.css.
   ========================================================================= */

.res { padding-bottom: clamp(64px,9vw,110px); }
.res-h1 { font-family: var(--font-techno); font-weight: 600; font-size: clamp(28px,4vw,48px); letter-spacing: 0.16em; text-transform: uppercase; color: #fff; text-align: center; margin: 0; padding: clamp(40px,6vw,72px) 0 clamp(8px,2vw,20px); }
.res-h1 + .res-rule { width: 64px; height: 3px; background: var(--red-bright); margin: 0 auto clamp(24px,4vw,40px); }
.res-intro { text-align: center; max-width: 70ch; margin: 0 auto clamp(32px,5vw,48px); color: var(--t-2); font-size: 15px; }

.res-label { font-family: var(--font-ui); font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--t-3); margin: clamp(40px,6vw,64px) 0 20px; display: flex; align-items: center; gap: 14px; }
.res-label::before { content: ""; width: 16px; height: 1px; background: var(--red-bright); }

/* video grid */
.vid-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px,2vw,22px); }
.vid-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.vcard { display: flex; flex-direction: column; gap: 10px; }
.vcard__thumb { position: relative; aspect-ratio: 16/9; background: #0c0c0d; border: 1px solid var(--line); overflow: hidden; }
.vcard__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.vcard__thumb image-slot { width: 100%; height: 100%; }
.vcard:hover .vcard__thumb img { transform: scale(1.05); }
.vcard__thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,0.4)); pointer-events: none; }
.vcard__play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.vcard__play i { width: 56px; height: 40px; border-radius: 8px; background: #f00; display: grid; place-items: center; transition: transform .2s var(--ease); }
.vcard:hover .vcard__play i { transform: scale(1.1); }
.vcard__play svg { width: 22px; height: 22px; fill: #fff; }
.vcard__title { font-family: var(--font-ui); font-weight: 600; font-size: 13.5px; color: #fff; line-height: 1.35; }

/* docs (manuals / catalogs) */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px,2vw,24px); }
.doc { display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line); background: var(--bg-2); padding: 16px; transition: border-color .18s var(--ease); }
.doc:hover { border-color: var(--red-bright); }
.doc__img { aspect-ratio: 1024/491; background: #0c0c0d; overflow: hidden; }
.doc__img img { width: 100%; height: 100%; object-fit: cover; }
.doc__label { font-family: var(--font-ui); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; color: #fff; }
.doc__dl { font-family: var(--font-techno); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-bright); display: inline-flex; align-items: center; gap: 6px; }

.doc-grid.catalogs { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
.doc-grid.catalogs .doc__img { aspect-ratio: 1/1; }

/* competition banner */
.comp-banner { display: block; position: relative; aspect-ratio: 24/7; min-height: 180px; border: 1px solid var(--line); overflow: hidden; }
.comp-banner img { width: 100%; height: 100%; object-fit: cover; }
.comp-banner span { position: absolute; left: clamp(20px,4vw,48px); bottom: clamp(18px,3vw,32px); z-index: 2; font-family: var(--font-techno); font-weight: 600; font-size: clamp(18px,2.4vw,28px); letter-spacing: 0.12em; text-transform: uppercase; color: #fff; }
.comp-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.6), transparent 60%); }

/* articles */
.article-banner { width: 100%; border: 1px solid var(--line); margin-bottom: clamp(32px,5vw,48px); overflow: hidden; }
.article-banner img { width: 100%; display: block; }
.article-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 920px; margin: 0 auto; }
.article-row { display: flex; flex-direction: column; gap: 6px; padding: clamp(22px,3vw,32px) 8px; border-bottom: 1px solid var(--line); transition: background .16s var(--ease); }
.article-row:hover { background: var(--bg-2); }
.article-row .pub { font-family: var(--font-techno); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red-bright); }
.article-row .title { font-family: var(--font-ui); font-weight: 600; font-size: clamp(17px,2vw,22px); color: #fff; line-height: 1.3; display: flex; align-items: baseline; gap: 12px; }
.article-row .title::after { content: "↗"; color: var(--t-4); font-size: 0.8em; }
.article-row:hover .title::after { color: var(--red-bright); }

@media (max-width: 1080px) {
  .vid-grid, .vid-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .vid-grid, .vid-grid.cols-3, .doc-grid, .doc-grid.catalogs { grid-template-columns: 1fr; }
}
