@font-face{font-family:"Fonetika";src:url("/wp-content/uploads/2026/01/Fonetika-Regular.ttf") format("truetype");font-weight:400;font-display:swap;}
@font-face{font-family:"Fonetika";src:url("/wp-content/uploads/2026/01/Fonetika-Light.ttf") format("truetype");font-weight:300;font-display:swap;}
@font-face{font-family:"Fonetika";src:url("/wp-content/uploads/2026/01/Fonetika-Medium.ttf") format("truetype");font-weight:500;font-display:swap;}
@font-face{font-family:"Fonetika";src:url("/wp-content/uploads/2026/01/Fonetika-SemiBold.ttf") format("truetype");font-weight:600;font-display:swap;}
/* ── Burgtec Range Page — inherits resources page design ─────────────────── */

.brg-res { font-family: "Fonetika", Arial, sans-serif; max-width: 1600px; width: 85%; margin: 0 auto; padding: 0 40px; box-sizing: border-box; }

.brg-res-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding: 36px 0 24px;
}

.brg-res-title {
    font-size: 36px !important;
    font-weight: 700 !important;
    letter-spacing: -.02em;
    line-height: 1.1;
    margin: 0 0 6px !important;
    padding: 0 !important;
    border: none !important;
}

.brg-res-sub {
    font-size: 15px;
    color: #737879;
    line-height: 1.5;
    margin: 0;
}

.brg-res-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 16px 0;
}

.brg-res-cat-btn {
    position: relative;
    padding: 9px 20px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 400;
    border: none;
    color: #737879;
    background: transparent;
    cursor: pointer;
    transition: background .15s, color .15s;
    font-family: inherit;
}

/* short floating vertical divider between category buttons */
.brg-res-cat-btn + .brg-res-cat-btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: #d8d6d0;
}

.brg-res-cat-btn:hover,
.brg-res-cat-btn.active {
    color: #1d1d1b;
    background: #f0efeb;
}

/* hide the divider when it sits against a grey (hovered/active) background */
.brg-res-cat-btn:hover::before,
.brg-res-cat-btn.active::before,
.brg-res-cat-btn:hover + .brg-res-cat-btn::before,
.brg-res-cat-btn.active + .brg-res-cat-btn::before {
    opacity: 0;
}

.brg-res-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 8px;
}

@media (max-width: 1100px) { .brg-res-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .brg-res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.brg-res-card {
    border: 0px solid #e3e2de;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: border-color .2s, transform .2s;
}

.brg-res-card:hover {
    border-color: #b5b3ad;
    transform: translateY(-2px);
    text-decoration: none;
}

.brg-res-img {
    aspect-ratio: 4/3;
    background: #f5f4f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}

.brg-res-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform .25s ease;
}

.brg-res-card:hover .brg-res-img img {
    transform: scale(1.04);
}

.brg-res-body {
    padding: 10px 12px 13px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.brg-res-name {
    font-size: 12px;
    font-weight: 600;
    color: #1d1d1b;
    line-height: 1.3;
}

.brg-res-view {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px;
    border-radius: 5px;
    border: 0px solid #eceae4;
    font-size: 11px;
    color: #555;
    transition: background .12s, border-color .12s, color .12s;
}

.brg-res-card:hover .brg-res-view {
    background: #f5f4f0;
    border-color: #ccc;
    color: #1d1d1b;
}

.brg-res-view svg {
    opacity: .4;
    flex-shrink: 0;
}

.brg-res-card:hover .brg-res-view svg {
    opacity: .7;
}

/* width sync with new 1600px pages */
@media (max-width: 760px) { .brg-res { width: auto; } }

/* ── Sub-category filter pills (V2 — price guide taxonomy) ── */
.brg-res-subs {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  padding: 12px 0 18px;
}
.brg-res .brg-res-sub-btn {
  appearance: none !important; cursor: pointer;
  font-family: 'Fonetika', Arial, sans-serif !important;
  font-size: 12.5px !important; font-weight: 600 !important;
  color: #6f716a !important; background: #faf9f7 !important;
  border: 1px solid #e6e3de !important; border-radius: 999px !important;
  padding: 8px 16px !important; line-height: 1 !important;
  box-shadow: none !important;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.brg-res .brg-res-sub-btn:hover { border-color: #d8d3cc !important; color: #1d1d1b !important; }
.brg-res .brg-res-sub-btn.active {
  background: #16302a !important; color: #fff !important; border-color: #16302a !important;
}
.brg-res-sub-count {
  font-size: 12px; color: #6f716a; margin-left: auto;
  font-family: 'Fonetika', Arial, sans-serif;
}
@media (max-width: 640px) { .brg-res-sub-count { display: none; } }

/* ── hover image swap ── */
.brg-res-img{position:relative;overflow:hidden}
.brg-res-img .brg-res-img-hover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .28s ease}
.brg-res-card:hover .brg-res-img.has-hover .brg-res-img-hover{opacity:1}
@media (hover:none){.brg-res-img .brg-res-img-hover{display:none}}
