/* =============================================
   CAMPGEARADVICE HOMEPAGE STYLES
   Prefix: .hp-
   Used by: homepage.js + Kadence blocks
   ============================================= */

/* â”€â”€ GLOBAL â”€â”€ */
.hp-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.hp-ad-lbl {
    font-size: 10px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: .6px;
    text-align: center;
    margin-bottom: 5px;
}

.hp-ad-box {
    background: #f2f2f2;
    border-radius: 3px;
}

.hp-ad-728 {
    height: 90px;
    max-width: 728px;
    margin: 0 auto;
}

/* Section heading: title + line + optional see-all */
.hp-hd {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.hp-hd h2 {
    font-size: 19px;
    font-weight: 800;
    color: #111;
    margin: 0;
    white-space: nowrap;
    letter-spacing: -.2px;
}

.hp-hd-line {
    flex: 1;
    height: 1px;
    background: #e0e0e0;
    margin: 0 14px;
}

.hp-see-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    background: #fff;
    border: 1px solid #ccc;
    padding: 5px 14px 5px 16px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all .15s;
    text-decoration: none;
}

.hp-see-all:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.hp-see-all svg {
    width: 10px;
    height: 10px;
}

/* Spinner */
.hp-spin {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(0, 0, 0, .1);
    border-top-color: #555;
    border-radius: 50%;
    animation: hpspin .6s linear infinite;
}

@keyframes hpspin {
    to {
        transform: rotate(360deg);
    }
}

/* â”€â”€ HERO MAIN â”€â”€ */
.hp-hero-main-img {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.hp-hero-main-img a img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform .3s;
}

.hp-hero-main-img:hover a img {
    transform: scale(1.02);
}

.hp-hero-ov {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 90px 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, transparent 100%);
    border-radius: 0 0 8px 8px;
}

.hp-hero-badge {
    display: inline-block;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 10px;
}

.hp-hero-main-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-hero-main-title a {
    color: inherit;
    text-decoration: none;
}

.hp-hero-main-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, .7);
}

/* â”€â”€ HERO SUBCARDS â”€â”€ */
.hp-hero-sub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.hp-hero-sub-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.hp-hero-sub-card a img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform .3s;
}

.hp-hero-sub-card:hover a img {
    transform: scale(1.04);
}

.hp-hero-sub-ov {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px 12px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, transparent 100%);
    border-radius: 0 0 8px 8px;
}

.hp-hero-sub-badge {
    display: inline-block;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    padding: 2px 7px;
    border-radius: 2px;
    margin-bottom: 4px;
}

.hp-hero-sub-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin: 0;
}

.hp-hero-sub-title a {
    color: inherit;
    text-decoration: none;
}

.hp-hero-sub-meta {
    font-size: 11px;
    color: rgba(255, 255, 255, .65);
    margin-top: 4px;
    display: flex;
    gap: 5px;
}

/* â”€â”€ HERO SIDEBAR â”€â”€ */
.hp-hero-side-hd {
    font-size: 17px;
    font-weight: 800;
    color: #111;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    margin-bottom: 4px;
}

.hp-hero-side-hd::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 36px;
    height: 3px;
    background: #2286A9;
    border-radius: 2px;
}

.hp-hero-side-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.hp-hero-side-item:last-child {
    border-bottom: none;
}

.hp-hero-side-thumb {
    width: 110px;
    height: 82px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.hp-hero-side-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    display: block;
    margin-bottom: 4px;
}

.hp-hero-side-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #111;
    margin: 0 0 5px;
}

.hp-hero-side-title a {
    color: inherit;
    text-decoration: none;
}

.hp-hero-side-title a:hover {
    color: #2286A9;
}

.hp-hero-side-meta {
    font-size: 12px;
    color: #aaa;
    display: flex;
    gap: 6px;
}

.hp-hero-side-adbox {
    width: 100%;
    height: 280px;
    background: #f2f2f2;
    border-radius: 3px;
    margin-top: 20px;
}

/* â”€â”€ LATEST REVIEWS â”€â”€ */
/* background set on Kadence row via bgColor */
.hp-rev-hd h2 {
    color: #fff;
}

.hp-rev-hd .hp-hd-line {
    background: rgba(255, 255, 255, .25);
}

.hp-rev-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.hp-rev-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.hp-rev-card a img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform .3s;
}

.hp-rev-card:hover a img {
    transform: scale(1.05);
}

.hp-rev-ov {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 48px 12px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, transparent 100%);
    border-radius: 0 0 8px 8px;
}

.hp-rev-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin: 0 0 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-rev-title a {
    color: inherit;
    text-decoration: none;
}

.hp-rev-meta {
    font-size: 11px;
    color: rgba(255, 255, 255, .6);
    display: flex;
    gap: 5px;
}

.hp-rev-loadmore {
    text-align: center;
    margin-top: 22px;
}

.hp-rev-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a6e87;
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: .3px;
    transition: background .15s;
}

.hp-rev-btn:hover {
    background: #145a70;
}

.hp-rev-spin {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, .25);
    border-top-color: #fff;
    border-radius: 50%;
    animation: hpspin .6s linear infinite;
}

/* â”€â”€ BEST â”€â”€ */
.hp-best-feat-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    margin-bottom: 20px;
}

.hp-best-feat-img {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.hp-best-feat-img a img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform .3s;
}

.hp-best-feat-img:hover a img {
    transform: scale(1.03);
}

.hp-best-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #1E40AF;
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 9px;
    border-radius: 3px;
}

.hp-best-title {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin: 0 0 10px;
}

.hp-best-title a {
    color: inherit;
    text-decoration: none;
}

.hp-best-title a:hover {
    color: #1E40AF;
}

.hp-best-meta {
    font-size: 13px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.hp-best-excerpt {
    font-size: 14px;
    color: #444;
    line-height: 1.65;
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-best-rm {
    font-size: 13px;
    font-weight: 700;
    color: #1E40AF;
    text-decoration: none;
}

.hp-best-rm:hover {
    text-decoration: underline;
}

.hp-best-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.hp-best-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
}

.hp-best-item:nth-child(odd) {
    padding-right: 20px;
    border-right: 1px solid #f0f0f0;
}

.hp-best-item:nth-child(even) {
    padding-left: 20px;
}

.hp-best-item-thumb {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.hp-best-item-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    margin: 0 0 4px;
}

.hp-best-item-title a {
    color: inherit;
    text-decoration: none;
}

.hp-best-item-title a:hover {
    color: #1E40AF;
}

.hp-best-item-meta {
    font-size: 11px;
    color: #aaa;
    display: flex;
    gap: 5px;
}

.hp-best-sidebar-adbox {
    width: 100%;
    background: #f2f2f2;
    border-radius: 3px;
    min-height: 500px;
}

/* â”€â”€ VERSUS â”€â”€ */
.hp-vs-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.hp-vs-feat-img {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.hp-vs-feat-img a img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform .3s;
}

.hp-vs-feat-img:hover a img {
    transform: scale(1.03);
}

.hp-vs-feat-title {
    font-size: 20px;
    font-weight: 800;
    color: #111;
    line-height: 1.25;
    margin: 0 0 6px;
}

.hp-vs-feat-title a {
    color: inherit;
    text-decoration: none;
}

.hp-vs-feat-title a:hover {
    color: #DC2626;
}

.hp-vs-feat-meta {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.hp-vs-feat-excerpt {
    font-size: 14px;
    color: #444;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hp-vs-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.hp-vs-sm-img {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
}

.hp-vs-sm-img a img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform .3s;
}

.hp-vs-sm:hover .hp-vs-sm-img a img {
    transform: scale(1.04);
}

.hp-vs-sm-title {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    margin: 0 0 5px;
}

.hp-vs-sm-title a {
    color: inherit;
    text-decoration: none;
}

.hp-vs-sm-title a:hover {
    color: #DC2626;
}

.hp-vs-sm-date {
    font-size: 11px;
    color: #aaa;
}

/* â”€â”€ HOW TO â”€â”€ */
.hp-ht-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
}

.hp-ht-img {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.hp-ht-img a img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    transition: transform .3s;
}

.hp-ht-item:hover .hp-ht-img a img {
    transform: scale(1.04);
}

.hp-ht-title {
    font-size: 17px;
    font-weight: 800;
    color: #111;
    line-height: 1.3;
    margin: 0 0 6px;
}

.hp-ht-title a {
    color: inherit;
    text-decoration: none;
}

.hp-ht-title a:hover {
    color: #D97706;
}

.hp-ht-meta {
    font-size: 12px;
    color: #888;
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.hp-ht-excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* â”€â”€ EXPLAINERS â”€â”€ */
.hp-expl-cols {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    gap: 0 32px;
    align-items: start;
}

.hp-expl-divider {
    background: #eee;
    align-self: stretch;
}

.hp-expl-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #f3f3f3;
}

.hp-expl-item:first-child {
    padding-top: 0;
}

.hp-expl-item:last-child {
    border-bottom: none;
}

.hp-expl-thumb {
    width: 110px;
    height: 82px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.hp-expl-cat {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: #7C3AED;
    display: block;
    margin-bottom: 4px;
}

.hp-expl-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    color: #111;
    margin: 0 0 5px;
}

.hp-expl-title a {
    color: inherit;
    text-decoration: none;
}

.hp-expl-title a:hover {
    color: #7C3AED;
}

.hp-expl-meta {
    font-size: 12px;
    color: #aaa;
    display: flex;
    gap: 6px;
}

/* â”€â”€ HOW WE RESEARCH â”€â”€ */
/* background set on Kadence row via bgColor:#111 */
.hp-meth-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: center;
}

.hp-meth-left h2 {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.2;
}

.hp-meth-left p {
    font-size: 14px;
    color: #777;
    line-height: 1.7;
    margin: 0 0 20px;
}

.hp-meth-btn {
    display: inline-block;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    padding: 11px 24px;
    border-radius: 3px;
    text-decoration: none;
    transition: all .15s;
}

.hp-meth-btn:hover {
    background: #2286A9;
    color: #fff;
}

.hp-meth-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.hp-meth-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 22px 18px;
}

.hp-meth-icon {
    font-size: 26px;
    margin-bottom: 10px;
}

.hp-meth-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.hp-meth-card p {
    font-size: 12px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* â”€â”€ RESPONSIVE â”€â”€ */
@media (max-width: 1024px) {
    .hp-wrap {
        padding: 0 24px;
    }

    .hp-meth-inner {
        grid-template-columns: 1fr;
    }

    .hp-meth-right {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {

    .hp-hero-sub,
    .hp-rev-grid,
    .hp-vs-layout,
    .hp-vs-right,
    .hp-ht-grid,
    .hp-expl-cols,
    .hp-meth-right,
    .hp-best-list,
    .hp-best-feat-row {
        grid-template-columns: 1fr;
    }

    .hp-expl-divider {
        display: none;
    }

    .hp-best-item:nth-child(odd) {
        border-right: none;
        padding-right: 0;
    }

    .hp-best-item:nth-child(even) {
        padding-left: 0;
    }
}