/* ================================================================
   GUILDA BERNÔ — BLOG / HUB EDITORIAL
   ================================================================ */
.page-blog {
    background:
        radial-gradient(circle at 10% 8%, rgba(255,215,0,.07), transparent 24%),
        radial-gradient(circle at 90% 24%, rgba(55, 180, 136, .08), transparent 26%),
        #08261c;
    color: #F8FAFC;
}

.page-blog main { overflow: hidden; }
.blog-container { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.blog-kicker { display: inline-flex; align-items: center; gap: 8px; color: #FFD700; font-size: 11px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.blog-kicker::before { content: ""; width: 22px; height: 2px; border-radius: 999px; background: #FFD700; }
.blog-section { padding: 78px 0; }
.section-head { margin-bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-head h2 { margin: 8px 0 0; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; letter-spacing: -.035em; }
.section-head > p { max-width: 520px; margin: 0; color: #b9c8c1; line-height: 1.7; }
.section-head > a { color: #FFD700; font-size: 14px; font-weight: 800; }

/* HERO */
.blog-hero { position: relative; padding: 88px 0 72px; border-bottom: 1px solid #1d4a39; }
.blog-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 46px 46px; mask-image: linear-gradient(to bottom, #000, transparent 82%); }
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.2fr) 330px; align-items: center; gap: 70px; }
.hero-copy h1 { max-width: 780px; margin: 15px 0 22px; font-size: clamp(3.2rem, 7.5vw, 6.4rem); line-height: .95; letter-spacing: -.06em; }
.hero-copy h1 strong { color: #FFD700; font-weight: 900; }
.hero-copy > p { max-width: 690px; margin: 0 0 30px; color: #b9c8c1; font-size: 18px; line-height: 1.75; }
.hero-search { max-width: 720px; height: 58px; display: flex; align-items: center; gap: 12px; padding-left: 18px; overflow: hidden; border: 1px solid #2d5544; border-radius: 12px; background: rgba(13, 42, 32, .88); box-shadow: 0 16px 34px rgba(0,0,0,.22); }
.hero-search svg { width: 21px; height: 21px; fill: none; stroke: #FFD700; stroke-width: 2; }
.hero-search input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #F8FAFC; }
.hero-search input::placeholder { color: #77867f; }
.hero-search button { align-self: stretch; padding: 0 25px; border: 0; background: #FFD700; color: #08261c; font-weight: 900; cursor: pointer; transition: .2s ease; }
.hero-search button:hover { background: #FFE44D; }
.hero-tags { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.hero-tags a { padding: 8px 12px; border: 1px solid #1d4a39; border-radius: 999px; background: rgba(17, 50, 38, .68); color: #b9c8c1; font-size: 12px; font-weight: 800; transition: .2s ease; }
.hero-tags a:hover { color: #08261c; border-color: #FFD700; background: #FFD700; }
.hero-mark { aspect-ratio: 1; display: grid; place-items: center; align-content: center; border: 1px solid rgba(255,215,0,.28); border-radius: 50%; background: radial-gradient(circle, rgba(255,215,0,.10), rgba(17, 50, 38, .78) 52%, rgba(8, 38, 28, .1) 72%); box-shadow: 0 0 80px rgba(255,215,0,.08); }
.hero-mark span { color: #FFD700; font-size: 7rem; font-weight: 900; letter-spacing: -.08em; }
.hero-mark small { margin-top: -12px; color: #b9c8c1; font-size: 10px; font-weight: 900; letter-spacing: .24em; }

/* FEATURE */
.featured-section { padding-top: 64px; }
.featured-story { display: grid; grid-template-columns: 1.16fr .84fr; min-height: 430px; overflow: hidden; border: 1px solid #1d4a39; border-radius: 22px; background: linear-gradient(145deg,#0d3327,#10392b); box-shadow: 0 24px 55px rgba(0,0,0,.24); }
.featured-image { position: relative; min-height: 430px; overflow: hidden; }
.featured-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,transparent 55%,rgba(8, 38, 28, .55)); }
.featured-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.featured-story:hover .featured-image img { transform: scale(1.035); }
.image-badge { position: absolute; z-index: 2; top: 22px; left: 22px; padding: 8px 11px; border-radius: 7px; background: #FFD700; color: #08261c; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.featured-copy { padding: 46px; display: flex; flex-direction: column; justify-content: center; }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #77867f; font-size: 10px; font-weight: 900; letter-spacing: .11em; }
.story-meta span { color: #FFD700; }
.story-meta > * + *::before { content: "•"; margin-right: 10px; color: #435f53; }
.featured-copy h2 { margin: 18px 0 16px; font-size: clamp(2rem,4vw,3.7rem); line-height: 1.02; letter-spacing: -.045em; }
.featured-copy h2 a:hover, .article-card h3 a:hover { color: #FFD700; }
.featured-copy p { margin: 0; color: #b9c8c1; font-size: 16px; line-height: 1.75; }
.story-footer { margin-top: 30px; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid #1d4a39; color: #77867f; font-size: 12px; }
.read-link { color: #FFD700; font-size: 13px; font-weight: 900; }
.read-link span { display: inline-block; transition: transform .2s ease; }
.read-link:hover span { transform: translateX(4px); }

/* LATEST + SIDEBAR */
.latest-section { border-top: 1px solid rgba(33, 74, 60, .65); }
.editorial-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 44px; align-items: start; }
.filter-bar { margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn { padding: 9px 13px; border: 1px solid #1d4a39; border-radius: 9px; background: #0d3327; color: #b9c8c1; font-size: 12px; font-weight: 800; cursor: pointer; transition: .2s ease; }
.filter-btn:hover,.filter-btn.active { border-color: #FFD700; background: rgba(255,215,0,.1); color: #FFD700; }
.article-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.article-card { overflow: hidden; border: 1px solid #1d4a39; border-radius: 17px; background: #0d3327; transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }
.article-card:hover { transform: translateY(-5px); border-color: rgba(255,215,0,.42); box-shadow: 0 18px 42px rgba(0,0,0,.28),0 0 24px rgba(255,215,0,.04); }
.article-visual { min-height: 180px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; overflow: hidden; border-bottom: 1px solid #1d4a39; }
.article-visual::after { content: ""; position: absolute; width: 170px; height: 170px; right: -35px; top: -55px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 28px rgba(255,255,255,.025),0 0 0 58px rgba(255,255,255,.018); }
.article-visual span { position: relative; z-index: 1; color: #b9c8c1; font-size: 10px; font-weight: 900; letter-spacing: .16em; }
.article-visual strong { position: relative; z-index: 1; margin-top: 3px; font-size: 1.5rem; letter-spacing: -.03em; }
.visual-dicas { background: linear-gradient(145deg,#14543e,#3a3420); }.visual-decks { background: linear-gradient(145deg,#14543e,#214f3d); }.visual-noticias { background: linear-gradient(145deg,#14543e,#4b2530); }.visual-colecao { background: linear-gradient(145deg,#14543e,#352950); }.visual-acessorios { background: linear-gradient(145deg,#14543e,#2b5244); }.visual-raridade { background: linear-gradient(145deg,#14543e,#3f2f1d); }
.article-body { padding: 22px; }
.article-body h3 { margin: 13px 0 10px; font-size: 1.3rem; line-height: 1.25; letter-spacing: -.02em; }
.article-body p { min-height: 72px; margin: 0 0 18px; color: #b9c8c1; font-size: 14px; line-height: 1.65; }
.empty-state { padding: 30px; border: 1px dashed #2d5544; border-radius: 14px; color: #b9c8c1; text-align: center; }
.blog-sidebar { position: sticky; top: 160px; display: grid; gap: 18px; }
.sidebar-card { padding: 24px; border: 1px solid #1d4a39; border-radius: 16px; background: rgba(13, 42, 32, .92); }
.sidebar-card h3 { margin: 10px 0 18px; font-size: 1.35rem; }
.popular-list { margin: 0; padding: 0; display: grid; gap: 0; list-style: none; }
.popular-list li { display: grid; grid-template-columns: 38px 1fr; align-items: start; gap: 10px; padding: 14px 0; border-top: 1px solid #1d4a39; }
.popular-list li:first-child { border-top: 0; padding-top: 0; }
.popular-list span { color: rgba(255,215,0,.5); font-size: 18px; font-weight: 900; }
.popular-list a { color: #DCE5EF; font-size: 13px; font-weight: 700; line-height: 1.45; }
.popular-list a:hover { color: #FFD700; }
.category-list > a { display: flex; align-items: center; justify-content: space-between; padding: 11px 0; border-top: 1px solid #1d4a39; color: #b9c8c1; font-size: 13px; }
.category-list > a:hover { color: #FFD700; }.category-list b { min-width: 28px; padding: 3px 7px; border-radius: 999px; background: #14543e; color: #FFD700; font-size: 10px; text-align: center; }

/* STARTER JOURNEY */
.starter-section { border-top: 1px solid #1d4a39; border-bottom: 1px solid #1d4a39; background: rgba(13, 42, 32, .42); }
.starter-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.starter-grid a { min-height: 270px; padding: 24px; display: flex; flex-direction: column; border: 1px solid #1d4a39; border-radius: 16px; background: #0d3327; transition: .25s ease; }
.starter-grid a:hover { transform: translateY(-5px); border-color: rgba(255,215,0,.45); }
.starter-grid a > span { color: rgba(255,215,0,.28); font-size: 3.3rem; font-weight: 900; line-height: 1; }.starter-grid small { margin-top: auto; color: #FFD700; font-weight: 900; letter-spacing: .14em; }.starter-grid h3 { margin: 9px 0; font-size: 1.35rem; }.starter-grid p { margin: 0 0 18px; color: #b9c8c1; font-size: 13px; line-height: 1.55; }.starter-grid b { color: #FFD700; font-size: 12px; }

/* EDITORIAL LANES */
.lanes-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }.lane { padding: 26px; border: 1px solid #1d4a39; border-radius: 18px; background: #0d3327; }.lane-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px; padding-bottom: 20px; border-bottom: 1px solid #1d4a39; }.lane-head .blog-kicker { grid-column: 1/-1; }.lane-head h2 { margin: 5px 0 0; font-size: 1.8rem; }.lane-head > a { color: #FFD700; font-size: 12px; font-weight: 800; }.lane-story { margin-top: 22px; display: grid; grid-template-columns: 78px 1fr; gap: 18px; align-items: center; }.lane-icon { width: 78px; height: 78px; display: grid; place-items: center; border: 1px solid rgba(255,215,0,.3); border-radius: 18px; background: rgba(255,215,0,.07); color: #FFD700; font-size: 2rem; }.lane-story small { color: #FFD700; font-size: 10px; font-weight: 900; letter-spacing: .12em; }.lane-story h3 { margin: 5px 0; font-size: 1.25rem; }.lane-story p { margin: 0; color: #b9c8c1; font-size: 13px; line-height: 1.55; }

/* STORE BRIDGE */
.shop-bridge { padding-top: 24px; }.bridge-card { padding: 46px 50px; display: flex; align-items: center; justify-content: space-between; gap: 36px; border: 1px solid rgba(255,215,0,.28); border-radius: 22px; background: radial-gradient(circle at 80% 20%,rgba(255,215,0,.09),transparent 28%),linear-gradient(145deg,#10392b,#0d3327); }.bridge-card h2 { margin: 12px 0; font-size: clamp(2rem,4vw,3.3rem); line-height: 1.05; }.bridge-card p { max-width: 650px; margin: 0; color: #b9c8c1; }.bridge-actions { display: flex; flex-direction: column; gap: 10px; min-width: 210px; }.primary-btn,.secondary-btn { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 13px; font-weight: 900; }.primary-btn { background: #FFD700; color: #08261c; }.secondary-btn { border: 1px solid #2d5544; color: #F8FAFC; }.primary-btn:hover { background: #FFE44D; }.secondary-btn:hover { border-color: #FFD700; color: #FFD700; }

/* CATEGORY PAGES */
.page-blog-category { background: #08261c; }.category-hero-pro { padding: 70px 0 54px; border-bottom: 1px solid #1d4a39; background: radial-gradient(circle at 18% 12%,rgba(255,215,0,.06),transparent 28%); }.category-hero-pro .breadcrumbs { margin-bottom: 22px; display: flex; gap: 8px; color: #77867f; font-size: 12px; }.category-hero-pro h1 { margin: 10px 0 14px; font-size: clamp(3rem,7vw,5.7rem); letter-spacing: -.055em; }.category-hero-pro p { max-width: 720px; margin: 0; color: #b9c8c1; font-size: 17px; line-height: 1.75; }.category-content { padding: 64px 0 90px; }.category-grid-pro { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }.category-grid-pro .article-card:first-child { grid-column: span 2; }.category-cta { margin-top: 42px; padding: 30px; display: flex; justify-content: space-between; align-items: center; gap: 22px; border: 1px solid #1d4a39; border-radius: 16px; background: #0d3327; }.category-cta h2 { margin: 0 0 6px; }.category-cta p { margin: 0; color: #b9c8c1; }

@media (max-width: 1000px) {
    .hero-layout { grid-template-columns: 1fr; }.hero-mark { display: none; }.featured-story { grid-template-columns: 1fr; }.featured-image { min-height: 330px; }.editorial-layout { grid-template-columns: 1fr; }.blog-sidebar { position: static; grid-template-columns: repeat(2,1fr); }.starter-grid { grid-template-columns: repeat(2,1fr); }.category-grid-pro { grid-template-columns: repeat(2,1fr); }.category-grid-pro .article-card:first-child { grid-column: auto; }
}
@media (max-width: 720px) {
    .blog-container { width: min(100% - 28px,1200px); }.blog-section { padding: 58px 0; }.blog-hero { padding: 58px 0 46px; }.hero-copy h1 { font-size: clamp(2.8rem,15vw,4.8rem); }.hero-search { height: auto; padding: 10px; flex-wrap: wrap; }.hero-search svg { margin-left: 4px; }.hero-search input { min-height: 42px; }.hero-search button { width: 100%; min-height: 44px; border-radius: 8px; }.section-head { align-items: flex-start; flex-direction: column; }.featured-copy { padding: 28px; }.featured-image { min-height: 250px; }.article-grid,.starter-grid,.lanes-grid,.blog-sidebar,.category-grid-pro { grid-template-columns: 1fr; }.starter-grid a { min-height: 230px; }.bridge-card { padding: 30px; align-items: flex-start; flex-direction: column; }.bridge-actions { width: 100%; }.category-cta { align-items: flex-start; flex-direction: column; }
}


/* CMS Blog 4.0.7 */
.cms-section{border-top:1px solid var(--gb-border,#1d4a39)}.cms-filter{display:flex;gap:9px;flex-wrap:wrap;margin:22px 0}.cms-filter button{border:1px solid #315848;background:#0d3327;color:#ddd;border-radius:999px;padding:9px 14px;font-weight:700;cursor:pointer}.cms-filter button:hover,.cms-filter button.ativo{border-color:var(--gb-brand,#f6c400);color:var(--gb-brand,#f6c400)}.cms-post-cover{display:block;aspect-ratio:16/9;overflow:hidden;background:#0a2b20}.cms-post-cover img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.cms-post-card:hover .cms-post-cover img{transform:scale(1.035)}.cms-loading,.cms-empty{color:#aaa;grid-column:1/-1;padding:24px 0}.cms-post-card h3{min-height:auto}

/* ================================================================
   GUILDA BERNÔ — BLOG DINÂMICO / CMS 4.0.9
   Mantém a estrutura editorial para publicações reais da API.
   ================================================================ */
.cms-results-info {
    margin: 0;
    color: #77867f;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.hero-tags a.ativo {
    border-color: #FFD700;
    background: rgba(255, 215, 0, .12);
    color: #FFD700;
}

.cms-post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cms-post-card .cms-post-cover {
    aspect-ratio: 16 / 9;
    border-bottom: 1px solid #1d4a39;
}

.cms-post-card .article-body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.cms-post-card .article-body p {
    min-height: 0;
}

.cms-post-card .read-link {
    margin-top: auto;
}

.cms-empty-state {
    grid-column: 1 / -1;
    min-height: 190px;
    padding: 36px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    border: 1px dashed #2d5544;
    border-radius: 16px;
    background: rgba(13, 42, 32, .52);
    text-align: center;
}

.cms-empty-state strong {
    color: #F8FAFC;
    font-size: 1.1rem;
}

.cms-empty-state span {
    max-width: 620px;
    color: #b9c8c1;
    line-height: 1.6;
}

.cms-error-state {
    border-color: rgba(255, 215, 0, .28);
}

.cms-featured-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    background: linear-gradient(145deg, #14543e, #10392b);
}

.cms-featured-placeholder::after {
    background: radial-gradient(circle at center, rgba(255, 215, 0, .08), transparent 58%);
}

.cms-featured-placeholder strong {
    position: relative;
    z-index: 2;
    color: #FFD700;
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: -.04em;
}

@media (max-width: 1000px) {
    .cms-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .cms-results-info {
        white-space: normal;
    }

    .cms-post-grid {
        grid-template-columns: 1fr;
    }
}
