/* =========================================================
   TREKKING - EXTREMOS
   CSS ORGANIZADO POR FUNÇÃO
========================================================= */


/* OBSERVAÇÃO:
   O Dreamweaver pode marcar 1fr como erro em versões antigas,
   mas o valor é válido em CSS Grid e funciona nos navegadores modernos.
*/

/* =========================================================
   01. BASE GERAL DA PÁGINA
   Define fonte, cor principal, largura e respiro geral
========================================================= */

.tk {
    font-family: "Open Sans", Arial, sans-serif;
    color: #071b34;
}

.tk-wrap {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 24px 70px;
}



/* =========================================================
   02. TOPO DA MATÉRIA
   Editoria, chamada editorial e bloco do autor
========================================================= */

.tk-meta {
    max-width: 760px;
    margin: 0 auto 45px;
}

.tk .dash-style {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 25px 0;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 15px;
    font-weight: 740;
    letter-spacing: 5px;
    line-height: 1;
    text-transform: uppercase;
    color: #a8222c;
}

.tk .dash-style:before {
    content: "";
    width: 11px;
    height: 11px;
    background: #a8222c;
    border-radius: 0;
    position: relative;
    top: -1px;
}

.tk-autor {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 45px;
    font-size: 14px;
    font-weight: 550;
    color: #0f2740;
}

.tk-autor img {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    object-fit: cover;
}



/* =========================================================
   03. INTRODUÇÃO E TEXTO PRINCIPAL
   Texto de abertura e parágrafos centrais da matéria
========================================================= */

.tk-intro {
    max-width: 760px;
    margin: 0 auto 55px;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 34px;
    line-height: 1.18;
    font-weight: 800;
    color: #071b34;
}

.tk-texto {
    max-width: 720px;
    margin: 0 auto;
}

.tk-texto p {
    font-size: 18px;
    line-height: 1.75;
    font-weight: 600;
    color: #18324a;
    margin-bottom: 26px;
}



/* =========================================================
   04. SEÇÕES NUMERADAS
   Número mais aberto à esquerda, linha longa e título central
========================================================= */

.tk-secao {
    width: 1000px !important;
    max-width: 1000px !important;
    margin: 95px 0 35px -170px !important;
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 45px;
    border-top: 1px solid #e5e9ed;
    padding-top: 34px;
}

.tk-num {
    font-family: "Raleway", Arial, sans-serif;
    font-size: 42px;
    line-height: 1;
    font-weight: 800;
    color: #aeb6bf;
    text-align: left;
}

.tk-titulo {
    margin: 0;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 40px;
    line-height: 1.08;
    font-weight: 800;
    color: #071b34;
}

@media only screen and (max-width: 768px) {

    .tk .tk-secao {
        width: auto !important;
        max-width: none !important;
        margin: 70px 0 30px 0 !important;
        display: grid !important;
        grid-template-columns: 58px 1fr !important;
        gap: 6px !important;
        border-top: 1px solid #e5e9ed !important;
        padding-top: 28px !important;
    }

    .tk-num {
        display: block;
        margin-bottom: 10px;
        font-size: 20px;
        line-height: 1;
        color: #aeb6bf;
    }

    .tk-titulo {
        font-size: 26px;
        line-height: 1.08;
        max-width: 100%;
    }

}


/* =========================================================
   05. FOTOS, LEGENDAS E CRÉDITOS
   Sistema editorial de imagens (full, normal e dupla)
========================================================= */

/* controle global */
* {
    box-sizing: border-box;
}

/* =========================================================
   FOTO PADRÃO (dentro do container)
========================================================= */

.tk-foto {
    max-width: 1300px;
    width: 100%;
    margin: 55px auto 75px;
}

/* imagem padrão */
.tk-foto img,
.tk-dupla img,
.tk-citacao img {
    width: 100%;
    height: auto;
    display: block;
}

/* legenda */
.tk-legenda {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    color: #071b34;
}

/* crédito */
.tk-credito {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.3;
    color: #9aa3ad;
}

/* =========================================================
   FOTO DUPLA
========================================================= */

.tk-dupla {
    max-width: 1300px;
    width: 100%;
    margin: 55px auto 75px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

/* =========================================================
   FULL BLEED (REAL, SEM CONFLITO, SEM SCROLL LATERAL)
========================================================= */

.tk-foto.full {
    width: 100vw !important;
    max-width: none !important;
    margin-top: 55px !important;
    margin-right: 0 !important;
    margin-bottom: 75px !important;
    margin-left: calc((min(1220px, calc(100vw - 48px)) - 100vw) / 2 - 260px) !important;
}

.tk-foto.full img {
    width: 100%;
    height: auto;
    display: block;
}

.tk-foto.full .tk-legenda,
.tk-foto.full .tk-credito {
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* =========================================================
   MOBILE AJUSTE (GRID)
========================================================= */

@media (max-width: 768px) {
    .tk-dupla {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}



/* =========================================================
   06. CITAÇÃO COM FOTO
   Bloco editorial com frase forte e imagem lateral
========================================================= */

.tk-citacao {
    max-width: 1134px;
    margin: 80px auto;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 55px;
    align-items: center;
}

.tk-citacao blockquote {
    margin: 0;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 46px;
    line-height: 1.08;
    font-weight: 800;
    color: #071b34;
}

.tk-citacao blockquote:before {
    content: "”";
    display: block;
    font-size: 90px;
    line-height: .5;
    color: #d9b43e;
    margin-bottom: 20px;
}


/* =========================================================
   06B. CITAÇÃO CENTRAL
   Frase de destaque entre seções
========================================================= */

.tk-citacao-central {
    max-width: 720px;
    margin: 70px 0;
    text-align: center;
}

.tk-citacao-central blockquote {
    margin: 0;
}

.tk-citacao-central p {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 42px;
    line-height: 1.25;
    font-style: italic;
    color: #243752;
}

.tk-citacao-central small {
    display: block;
    font-size: 12px;
    color: #7f8a98;
    letter-spacing: .3px;
}



/* =========================================================
   07. BOXES DE LISTAS
   Blocos de apoio, listas, etapas, links internos e resumos
========================================================= */

.tk-box {
    max-width: 920px;
    margin: 45px auto 65px;
    background: #f4f1ec;
    border-radius: 10px;
    padding: 34px 40px;
}

.tk-box h2 {
    margin: 0 0 24px;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 900;
    color: #071b34;
}

.tk-box ol,
.tk-box ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tk-box li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    border-top: 1px solid #ded8ce;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 800;
    color: #071b34;
}

.tk-box li:first-child {
    border-top: none;
}

.tk-box li span,
.tk-box li em {
    font-style: normal;
    font-size: 14px;
    font-weight: 600;
    color: #7d8790;
}

.tk-box a {
    color: #071b34;
    text-decoration: none;
}

.tk-box a:hover {
    color: #a8222c;
}



/* =========================================================
   08. LINKS INTERNOS
   Cards de navegação para outras páginas ou matérias
========================================================= */

.tk-links {
    max-width: 920px;
    margin: 45px auto 65px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.tk-links a {
    display: block;
    background: #f4f1ec;
    padding: 18px 22px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 800;
    color: #071b34;
    text-decoration: none;
}

.tk-links a:hover {
    background: #071b34;
    color: #fff;
}

/* =========================================================
   LINKS INTERNOS - EQUIPAMENTOS (VARIAÇÃO EDITORIAL)
========================================================= */

.tk-linkse {
    max-width: 920px;
    margin: 45px auto 65px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* BOTÃO MAIS FORTE / FOCO EM CLIQUE */
.tk-linkse a {
    display: block;
    background: #071b34;
    padding: 20px 22px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    transition: all 0.2s ease;
}

/* seta de navegação */
.tk-linkse a::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

/* hover mais editorial */
.tk-linkse a:hover {
    background: #0b3a6e;
    transform: translateY(-2px);
}

@media only screen and (max-width: 768px) {
.tk-linkse {
    grid-template-columns: repeat(2, 1fr);

}}


/* =========================================================
   09. FRASE DE IMPACTO
   Bloco de encerramento ou chamada editorial
========================================================= */

.tk-frase {
    max-width: 920px;
    margin: 80px auto;
    padding: 45px 60px;
    border-top: 1px solid #e5e9ed;
    border-bottom: 1px solid #e5e9ed;
    text-align: center;
}

.tk-frase p {
    margin: 0 0 15px;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 38px;
    line-height: 1.15;
    font-weight: 800;
    color: #071b34;
}

.tk-frase small {
    font-size: 13px;
    color: #7d8790;
}

/* =========================================================
   10. LIGHTBOX EDITORIAL - VERSÃO SIMPLES
   Primeira configuração do lightbox. Pode ser sobrescrita
   pela versão EXTREMOS mais abaixo.
========================================================= */

.lightboxOverlay {
    background: #001321 !important;
    opacity: 1 !important;
}

.lightbox {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.lb-outerContainer {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.lb-container {
    padding: 0 !important;
}

.lb-image {
    max-width: 92vw !important;
    max-height: 82vh !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    border-radius: 0 !important;
}

.lb-dataContainer {
    max-width: 92vw !important;
    padding-top: 12px !important;
    background: transparent !important;
}

.lb-data {
    padding: 0 !important;
    color: #fff !important;
}

.lb-caption {
    display: block !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 700 !important;
    color: #fff !important;
}

.lb-number {
    display: block !important;
    margin-top: 3px !important;
    font-size: 11px !important;
    color: #9aa3ad !important;
}

.lb-close {
    position: fixed !important;
    top: 22px !important;
    right: 28px !important;
    width: 32px !important;
    height: 32px !important;
    opacity: .85 !important;
}

.lb-close:hover {
    opacity: 1 !important;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    opacity: .8 !important;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    opacity: 1 !important;
}

/* =========================================================
   11. MOBILE GERAL DA MATÉRIA
   Ajustes responsivos para texto, fotos, boxes e lightbox simples
========================================================= */

@media only screen and (max-width: 768px) {
    .tk-wrap {
        padding: 0 20px 40px;
    }

    .tk-autor {
        font-size: 13px;
        gap: 14px;
    }

    .tk-autor img {
        width: 64px;
        height: 64px;
    }

    .tk-intro {
        font-size: 27px;
        line-height: 1.22;
    }

    .tk-texto p {
        font-size: 17px;
        line-height: 1.7;
    }

    .tk-secao {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 65px;
    }

    .tk-num {
        font-size: 34px;
    }

    .tk-titulo {
        font-size: 31px;
    }

    .tk-dupla,
    .tk-links,
    .tk-citacao {
        grid-template-columns: 1fr;
    }

    .tk-citacao {
        gap: 25px;
    }

    .tk-citacao blockquote {
        font-size: 34px;
    }

    .tk-box {
        padding: 28px 24px;
    }

    .tk-box li {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .tk-frase {
        padding: 35px 20px;
    }

    .tk-frase p {
        font-size: 30px;
    }

    .lb-image {
        max-width: 94vw !important;
        max-height: 78vh !important;
    }

    .lb-dataContainer {
        max-width: 94vw !important;
    }
}

/* =========================================================
   12. LIVROS
   Grade de capas dos livros do Extremos
========================================================= */

.tk-livros {
    max-width: 980px;
    margin: 50px auto 80px;

    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.tk-livros a {
    display: block;
    text-decoration: none;
}

.tk-livros img {
    width: 100%;
    display: block;

    border-radius: 4px;

    transition: transform .25s ease;
}

.tk-livros a:hover img {
    transform: translateY(-4px);
}

@media only screen and (max-width: 768px) {

    .tk-livros {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

}



/* =========================================================
   13. PODCAST
   Player incorporado em largura total
========================================================= */

.tk-podcast {
    max-width: 980px;
    margin: 50px auto 0px auto;
}

.tk-podcast iframe {
    width: 100%;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
}




/* =========================================================
   14. CHECKLIST
   Lista com ícone de confirmação antes de cada item
========================================================= */

.tk-checklist li {
    position: relative;
    padding-left: 34px;
}

.tk-checklist li:before {
    content: "✓";

    position: absolute;
    left: 0;
    top: 50%;

    transform: translateY(-50%);

    font-size: 18px;
    font-weight: 900;

    color: #2e7d32;
}

/* =========================================================
   15. LIGHTBOX EXTREMOS - VERSÃO COMPLETA
   Modo tela cheia, imagem centralizada, legenda e controles
========================================================= */

.lightboxOverlay {
    background: #001321 !important;
    opacity: 1 !important;
}

.lightbox {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    transform: none !important;
    background: #001321 !important;
}

.lb-outerContainer {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.lb-container {
    width: 100vw !important;
    height: 100vh !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.lb-image {
    max-width: 78vw !important;
    max-height: 78vh !important;
    width: auto !important;
    height: auto !important;
    border: none !important;
    border-radius: 0 !important;
}

.lb-dataContainer {
    position: fixed !important;
    left: 42px !important;
    bottom: 38px !important;
    max-width: 780px !important;
    background: transparent !important;
    padding: 0 !important;
}

.lb-caption {
    display: block !important;
    color: #fff !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    font-weight: 800 !important;
}

.lb-number {
    position: fixed !important;
    top: 32px !important;
    left: 32px !important;
    color: #7f8d99 !important;
    font-size: 12px !important;
    font-weight: 700 !important;
}

/* =========================================================
   16. LIGHTBOX - BOTÕES DO TOPO
   Botões de fechar e expandir
========================================================= */

.lb-close,
.lb-fullscreen {
    position: fixed !important;
    top: 28px !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    background: rgba(255,255,255,.04) !important;
    opacity: 1 !important;
    z-index: 999999 !important;
    cursor: pointer !important;
}

.lb-close {
    right: 28px !important;
}

.lb-fullscreen {
    right: 82px !important;
}

.lb-close:hover,
.lb-fullscreen:hover {
    background: rgba(255,255,255,.12) !important;
}

/* =========================================================
   17. LIGHTBOX - ÍCONE FECHAR
   Desenha o X do botão de fechar via CSS
========================================================= */

.lb-close:before,
.lb-close:after {
    content: "";
    position: absolute;
    left: 13px;
    top: 20px;
    width: 16px;
    height: 2px;
    background: #fff;
}

.lb-close:before {
    transform: rotate(45deg);
}

.lb-close:after {
    transform: rotate(-45deg);
}

/* =========================================================
   18. LIGHTBOX - ÍCONE EXPANDIR
   Desenha o ícone de tela cheia via CSS
========================================================= */

.lb-fullscreen:before,
.lb-fullscreen:after {
    content: "";
    position: absolute;
    width: 9px;
    height: 9px;
    border-color: #fff;
    border-style: solid;
}

.lb-fullscreen:before {
    left: 11px;
    bottom: 11px;
    border-width: 0 0 2px 2px;
}

.lb-fullscreen:after {
    right: 11px;
    top: 11px;
    border-width: 2px 2px 0 0;
}

body.lb-expanded .lb-fullscreen:before {
    left: 12px;
    top: 12px;
    bottom: auto;
    border-width: 2px 2px 0 0;
}

body.lb-expanded .lb-fullscreen:after {
    right: 12px;
    bottom: 12px;
    top: auto;
    border-width: 0 0 2px 2px;
}

/* =========================================================
   19. LIGHTBOX - SETAS
   Botões laterais de navegação anterior e próxima
========================================================= */

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    position: fixed !important;
    top: 50% !important;
    width: 46px !important;
    height: 46px !important;
    margin-top: -23px !important;
    border-radius: 50% !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    background-color: rgba(255,255,255,.04) !important;
    opacity: 1 !important;
}

.lb-nav a.lb-prev {
    left: 28px !important;
}

.lb-nav a.lb-next {
    right: 28px !important;
}

.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    background-color: rgba(255,255,255,.12) !important;
}

/* =========================================================
   20. LIGHTBOX - MODO EXPANDIDO
   Quando o body recebe a classe lb-expanded
========================================================= */

body.lb-expanded .lb-image {
    max-width: 100vw !important;
    max-height: 100vh !important;
}

body.lb-expanded .lb-dataContainer {
    bottom: 34px !important;
}

/* =========================================================
   21. LIGHTBOX - FULLSCREEN NATIVO
   Ajustes quando o navegador entra em modo fullscreen
========================================================= */

.lightbox:fullscreen,
.lightbox:-webkit-full-screen {
    background: #001321 !important;
}

.lightbox:fullscreen .lb-image,
.lightbox:-webkit-full-screen .lb-image {
    max-width: 92vw !important;
    max-height: 90vh !important;
}

/* =========================================================
   22. LIGHTBOX - MOBILE
   Ajustes do lightbox para telas pequenas
========================================================= */

@media screen and (max-width: 768px) {
    .lb-image {
        max-width: 100vw !important;
        max-height: 72vh !important;
    }

    .lb-dataContainer {
        left: 20px !important;
        right: 20px !important;
        bottom: 28px !important;
        max-width: none !important;
    }

    .lb-number {
        top: 18px !important;
        left: 18px !important;
    }

    .lb-close,
    .lb-fullscreen {
        top: 16px !important;
        width: 38px !important;
        height: 38px !important;
    }

    .lb-close {
        right: 16px !important;
    }

    .lb-fullscreen {
        right: 62px !important;
    }

    .lb-close:before,
    .lb-close:after {
        left: 11px;
        top: 18px;
    }
}

/* =========================================================
   23. DICIONÁRIO DO TREKKING
   Visual alinhado ao Manual do Trekking, mantendo o dourado
========================================================= */

.dic-trekking {
    max-width: 1030px;
    margin: 0 auto;
    padding: 30px 24px 80px;
    font-family: "Raleway", Arial, Helvetica, sans-serif;
    color: #14202b;
}

.dic-hero {
    margin: 35px 0 55px;
    padding-bottom: 32px;
    border-bottom: 1px solid #d8c79a;
}

.dic-hero span {
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: #a47b22;
    font-weight: 800;
    margin-bottom: 18px;
}

.dic-hero h1 {
    max-width: 820px;
    font-size: 54px;
    line-height: 1.05;
    font-weight: 800;
    margin: 0 0 22px;
    color: #071b34;
}

.dic-hero p {
    max-width: 820px;
    font-size: 22px;
    line-height: 1.65;
    font-weight: 400;
    color: #475569;
    margin: 0;
}

.dic-letras {
    position: sticky;
    top: 90px;
    z-index: 5;
    background: #fff;
    padding: 18px 0 20px;
    margin-bottom: 55px;
    border-bottom: 1px solid #e6e0d2;
}

.dic-letras a {
    display: inline-block;
    margin: 5px 4px;
    padding: 8px 12px;
    border: 1px solid #d9c38a;
    border-radius: 30px;
    color: #7b5a16;
    font-size: 13px;
    line-height: 1;
    font-weight: 800;
    text-decoration: none;
    transition: all .2s ease;
}

.dic-letras a:hover {
    background: #b88a2b;
    color: #fff;
}

.dic-grupo {
    margin-bottom: 75px;
    scroll-margin-top: 230px;
}

.dic-grupo h2 {
    font-size: 56px;
    line-height: 1;
    font-weight: 800;
    color: #b88a2b;
    margin: 0 0 32px;
    padding-bottom: 14px;
    border-bottom: 3px solid #b88a2b;
}

.dic-card {
    padding: 30px 0;
    border-bottom: 1px solid #e7e0d2;
}

.dic-card h3 {
    font-size: 30px;
    line-height: 1.15;
    font-weight: 800;
    color: #071b34;
    margin: 0 0 8px;
}

.dic-meta {
    font-size: 12px;
    line-height: 1;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #9a7221;
    font-weight: 800;
    margin-bottom: 14px;
}

.dic-card p {
    max-width: 860px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 19px;
    line-height: 1.75;
    font-weight: 400;
    margin: 0;
    color: #333;
}

@media (max-width: 768px) {
    .dic-trekking {
        padding: 18px 18px 55px;
    }

    .dic-hero {
        margin: 25px 0 42px;
    }

    .dic-hero h1 {
        font-size: 38px;
        line-height: 1.08;
    }

    .dic-hero p {
        font-size: 18px;
        line-height: 1.65;
    }

    .dic-letras {
        position: relative;
        top: auto;
        margin-bottom: 42px;
    }

    .dic-letras a {
        font-size: 12px;
        padding: 8px 11px;
    }

    .dic-grupo {
        margin-bottom: 60px;
        scroll-margin-top: 120px;
    }

    .dic-grupo h2 {
        font-size: 44px;
    }

    .dic-card {
        padding: 26px 0;
    }

    .dic-card h3 {
        font-size: 25px;
    }

    .dic-card p {
        font-size: 18px;
        line-height: 1.7;
    }
}

/* =========================================================
   25. LAYOUT EDITORIAL COM ÍNDICE LATERAL
   estilo Red Bull: índice à esquerda, texto central, fotos abertas à direita
========================================================= */

.tk-wrap {
    max-width: none !important;
    padding: 0 24px 80px;
}

.tk-layout {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 190px 760px 1fr;
    gap: 70px;
    align-items: start;
}

.tk-sidebar {
    grid-column: 1;
    position: relative;
}

.tk-conteudo {
    grid-column: 2 / 4;
    width: 100%;
}


/* texto fica na coluna central */

.tk-meta,
.tk-intro,
.tk-texto,
.tk-box,
.tk-links,
.tk-livros,
.tk-podcast,
.tk-frase {
    max-width: 760px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* seções numeradas também respeitam a coluna central */

/* seções numeradas avançam para a esquerda */

.tk-secao {
    width: 1000px !important;
    max-width: 1000px !important;
    margin: 95px 0 35px -170px !important;
    display: grid !important;
    grid-template-columns: 120px 1fr !important;
    gap: 45px !important;
    border-top: 1px solid #e5e9ed;
    padding-top: 34px;
}

/* fotos expandem para a direita */

.tk-foto {
    max-width: 980px;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.tk-foto.full {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc((min(1220px, calc(100vw - 48px)) - 100vw) / 2 - 260px) !important;
    margin-right: 0 !important;
}

.tk-dupla,
.tk-citacao {
    max-width: 980px !important;
    width: 980px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* índice lateral */

.tk-indice {
    position: sticky;
    top: 100px;
    background: #f7f5f0;
    border: 1px solid #e5dfd4;
    padding: 22px;
    border-radius: 8px;
}

.tk-indice h4 {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b88a22;
    margin: 0 0 18px;
}

.tk-indice a {
    display: block;
    color: #1f1f1f;
    text-decoration: none;
    padding: 8px 9px;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.2;
}

.tk-indice a:hover {
    background: #ece7dc;
}

.tk-indice a.ativo {
    background: #c89a2c;
    color: #fff;
    font-weight: bold;
}

.tk-box-lateral {
    margin-top: 18px;
    background: #fff;
    border: 1px solid #e5dfd4;
    padding: 20px;
}



/* =========================================================
   26. PERGUNTAS FREQUENTES (FAQ)
   Perguntas e respostas em formato editorial
========================================================= */

.tk-faq {
    padding: 38px 44px;
}

.tk-faq-item {
    border-top: 1px solid #ded8ce;
    padding: 22px 0;
}

.tk-faq-item:first-of-type {
    border-top: none;
    padding-top: 0;
}

.tk-faq-item:last-child {
    padding-bottom: 0;
}

.tk-faq h3 {
    margin: 0 0 10px;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 900;
    color: #071b34;
}

.tk-faq p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 600;
    color: #607080;
}


/* =========================================================
   EXTRA - RESPONSIVO DO LAYOUT EDITORIAL
========================================================= */

@media only screen and (max-width: 1100px) {
    .tk-layout {
        max-width: 900px;
        grid-template-columns: 170px 1fr;
        gap: 40px;
    }

    .tk-conteudo {
        grid-column: 2;
    }

.tk-foto,
.tk-dupla,
.tk-citacao {
    max-width: 980px;
    width: 100%;
}

    .tk-foto.full {
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc((min(900px, calc(100vw - 48px)) - 100vw) / 2 - 210px) !important;
        margin-right: 0 !important;
    }
}

@media only screen and (max-width: 768px) {
    .tk-wrap {
        padding: 0 20px 50px;
    }

    .tk-layout {
        display: block;
        max-width: 100%;
        transform: none;
    }

    .tk-sidebar {
        display: none;
    }

    .tk-conteudo {
        width: 100% !important;
        max-width: 100% !important;
    }

    .tk-meta,
    .tk-intro,
    .tk-texto,
    .tk-box,
    .tk-links,
    .tk-livros,
    .tk-podcast,
    .tk-frase,
    .tk-secao,
    .tk-foto,
    .tk-dupla,
    .tk-citacao {
        max-width: 100% !important;
        width: 100% !important;
    }

    .tk-foto.full {
        width: 100vw !important;
        max-width: none !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
    }

    .tk-foto.full .tk-legenda,
    .tk-foto.full .tk-credito {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* =========================================================
   27. INDICE DO MANUAL - DESKTOP E MOBILE
   Navegacao entre os capitulos da serie Trekking
========================================================= */

.tk-indice {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5dfd4;
    border-left: 2px solid #c89a2c;
    border-radius: 8px;
    box-shadow: 0 5px 5px rgba(7, 10, 10, .06);
}

.tk-indice h4 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 2.2px;
    margin: 2px 0;
    padding-left: 2px;
    color: #a8222c;
}

.tk-indice h4:before {
    content: "";
    display: inline-block;
    width: 0px;
    height: 0px;
    background: #c89a2c;
}

.tk-indice a {
    display: grid;
    grid-template-columns: 32px 1fr;
    align-items: center;
    gap: 7px;
    margin: 2px 0;
    color: #10243a;
    font-family: "Open Sans", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid transparent;
    border-radius: 6px;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.tk-indice a strong {
    color: #a88a3a;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .8px;
}

.tk-indice a:hover {
    background: #f0eadf;
    border-color: #e3d6bd;
}

.tk-indice a.ativo {
    background: #071b34;
    border-color: #071b34;
    color: #fff;
}

.tk-indice a.ativo strong {
    color: #d8b34a;
}

@media only screen and (max-width: 768px) {
    .tk-sidebar {
        display: block;
        margin: 0 0 34px;
    }

    .tk-box-lateral {
        display: none;
    }

    .tk-indice {
        position: sticky;
        top: 64px;
        z-index: 20;
        width: calc(100vw - 40px);
        margin: 0;
        padding: 14px 14px 13px;
        border-left-width: 0;
        border-top: 3px solid #c89a2c;
        border-radius: 8px;
        background: rgba(255, 253, 248, .96);
        box-shadow: 0 12px 28px rgba(7, 27, 52, .12);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        white-space: nowrap;
    }

    .tk-indice h4 {
        margin: 0 0 11px;
        font-size: 10px;
        letter-spacing: 1.8px;
    }

    .tk-indice h4:after {
        content: "arraste";
        margin-left: auto;
        color: #8b98a8;
        font-family: "Open Sans", Arial, sans-serif;
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.1px;
        text-transform: uppercase;
    }

    .tk-indice a {
        display: inline-flex;
        flex: 0 0 auto;
        align-items: center;
        width: auto;
        min-height: 38px;
        margin: 0;
        padding: 9px 12px;
        white-space: nowrap;
        border-color: #eadfca;
        background: #fff;
        font-size: 12px;
        box-shadow: 0 1px 0 rgba(7, 27, 52, .03);
    }

    .tk-indice a strong {
        font-size: 10px;
    }

    .tk-indice a + a {
        margin-left: 8px;
    }

    .tk-indice h4 + a {
        margin-left: 0;
    }

    .tk-indice:after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        width: 34px;
        height: 58px;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(255, 253, 248, 0), rgba(255, 253, 248, .98));
    }

    .tk-indice {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
    }

    .tk-indice::-webkit-scrollbar {
        display: none;
    }

    .tk-indice a {
        scroll-snap-align: start;
    }
}

/* =========================================================
   28. LIGHTBOX EDITORIAL DO TREKKING
   Visual escuro, credito, setas e tela cheia
========================================================= */

body.lb-disable-scrolling {
    overflow: hidden !important;
}

.lightboxOverlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #02080d !important;
    opacity: .98 !important;
    z-index: 99990 !important;
}

.lightbox {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    transform: none !important;
    background: #02080d !important;
    z-index: 100000 !important;
}

.lb-outerContainer {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.lb-container {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.lb-image {
    width: auto !important;
    height: auto !important;
    max-width: min(86vw, 1680px) !important;
    max-height: calc(100dvh - 160px) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: 0 26px 70px rgba(0, 0, 0, .45) !important;
    object-fit: contain !important;
}

.lb-dataContainer {
    position: fixed !important;
    left: 42px !important;
    right: 42px !important;
    bottom: 34px !important;
    width: auto !important;
    max-width: 820px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    z-index: 100004 !important;
}

.lb-data {
    padding: 0 !important;
    color: #fff !important;
}

.lb-data .lb-details {
    float: none !important;
    width: auto !important;
    max-width: 820px !important;
    text-align: left !important;
    line-height: 1.35 !important;
}

.lb-caption {
    display: block !important;
    color: #fff !important;
    font-family: "Open Sans", Arial, sans-serif !important;
}

.lb-caption-text {
    display: block;
    max-width: 760px;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 800;
}

.lb-credit {
    display: block;
    margin-top: 6px;
    color: #98a5b3;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
}

.lb-number {
    position: fixed !important;
    top: 30px !important;
    left: 34px !important;
    padding: 0 !important;
    color: #8795a3 !important;
    font-family: "Raleway", Arial, sans-serif !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    letter-spacing: 1.6px !important;
    text-transform: uppercase !important;
    z-index: 100005 !important;
}

.lb-close,
.lb-fullscreen,
.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid rgba(255, 255, 255, .2) !important;
    background: rgba(255, 255, 255, .06) !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    transition: background .18s ease, transform .18s ease, border-color .18s ease !important;
}

.lb-close:hover,
.lb-fullscreen:hover,
.lb-nav a.lb-prev:hover,
.lb-nav a.lb-next:hover {
    background: rgba(255, 255, 255, .14) !important;
    border-color: rgba(255, 255, 255, .34) !important;
    transform: scale(1.04);
}

.lb-close,
.lb-fullscreen {
    position: fixed !important;
    top: 24px !important;
    width: 44px !important;
    height: 44px !important;
    z-index: 100006 !important;
}

.lb-close {
    right: 26px !important;
    background-image: none !important;
}

.lb-fullscreen {
    right: 82px !important;
}

.lb-close:before,
.lb-close:after {
    content: "";
    position: absolute;
    left: 13px;
    top: 20px;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.lb-close:before {
    transform: rotate(45deg);
}

.lb-close:after {
    transform: rotate(-45deg);
}

.lb-fullscreen:before,
.lb-fullscreen:after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: #fff;
    border-style: solid;
}

.lb-fullscreen:before {
    top: 11px;
    right: 11px;
    border-width: 2px 2px 0 0;
}

.lb-fullscreen:after {
    left: 11px;
    bottom: 11px;
    border-width: 0 0 2px 2px;
}

body.lb-expanded .lb-fullscreen:before,
body.lb-native-fullscreen .lb-fullscreen:before {
    top: 12px;
    left: 12px;
    right: auto;
    border-width: 2px 2px 0 0;
}

body.lb-expanded .lb-fullscreen:after,
body.lb-native-fullscreen .lb-fullscreen:after {
    right: 12px;
    bottom: 12px;
    left: auto;
    border-width: 0 0 2px 2px;
}

.lb-nav {
    z-index: 100003 !important;
}

.lb-nav a.lb-prev,
.lb-nav a.lb-next {
    position: fixed !important;
    top: 50% !important;
    width: 48px !important;
    height: 48px !important;
    margin-top: -24px !important;
    background-image: none !important;
    z-index: 100006 !important;
}

.lb-nav a.lb-prev {
    left: 26px !important;
}

.lb-nav a.lb-next {
    right: 26px !important;
}

.lb-nav a.lb-prev:before,
.lb-nav a.lb-next:before {
    content: "";
    width: 11px;
    height: 11px;
    border-color: #fff;
    border-style: solid;
}

.lb-nav a.lb-prev:before {
    border-width: 0 0 2px 2px;
    transform: translateX(2px) rotate(45deg);
}

.lb-nav a.lb-next:before {
    border-width: 2px 2px 0 0;
    transform: translateX(-2px) rotate(45deg);
}

body.lb-expanded .lb-image,
body.lb-native-fullscreen .lb-image,
.lightbox:fullscreen .lb-image,
.lightbox:-webkit-full-screen .lb-image {
    max-width: 100vw !important;
    max-height: 100dvh !important;
    box-shadow: none !important;
}

body.lb-expanded .lb-dataContainer,
body.lb-native-fullscreen .lb-dataContainer {
    bottom: 26px !important;
}

@media screen and (max-width: 768px) {
    .lb-image {
        max-width: 100vw !important;
        max-height: calc(100dvh - 168px) !important;
        box-shadow: none !important;
    }

    .lb-dataContainer {
        left: 18px !important;
        right: 18px !important;
        bottom: 22px !important;
        max-width: none !important;
    }

    .lb-caption-text {
        font-size: 12px;
        line-height: 1.42;
        font-weight: 800;
    }

    .lb-credit {
        margin-top: 5px;
        font-size: 10px;
    }

    .lb-number {
        top: 18px !important;
        left: 18px !important;
        font-size: 10px !important;
    }

    .lb-close,
    .lb-fullscreen {
        top: 14px !important;
        width: 38px !important;
        height: 38px !important;
    }

    .lb-close {
        right: 14px !important;
    }

    .lb-fullscreen {
        right: 60px !important;
    }

    .lb-close:before,
    .lb-close:after {
        left: 11px;
        top: 18px;
        width: 16px;
    }

    .lb-fullscreen:before {
        top: 9px;
        right: 9px;
    }

    .lb-fullscreen:after {
        left: 9px;
        bottom: 9px;
    }

    .lb-nav a.lb-prev,
    .lb-nav a.lb-next {
        width: 38px !important;
        height: 38px !important;
        margin-top: -19px !important;
        background: rgba(255, 255, 255, .08) !important;
    }

    .lb-nav a.lb-prev {
        left: 12px !important;
    }

    .lb-nav a.lb-next {
        right: 12px !important;
    }

    body.lb-expanded .lb-image,
    body.lb-native-fullscreen .lb-image {
        max-height: 100dvh !important;
    }
}

/* =========================================================
   29. LIGHTBOX PROPRIO DO MANUAL DO TREKKING
   Fallback editorial independente de jQuery/Lightbox2
========================================================= */

body.tk-lb-open {
    overflow: hidden !important;
}

.tk-lightbox[hidden] {
    display: none !important;
}

.tk-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100500;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #02080d;
    color: #fff;
    font-family: "Open Sans", Arial, sans-serif;
}

.tk-lightbox:before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(2, 8, 13, .72), rgba(2, 8, 13, 0) 22%),
        linear-gradient(0deg, rgba(2, 8, 13, .88), rgba(2, 8, 13, 0) 34%);
    pointer-events: none;
}

.tk-lb-stage {
    position: relative;
    z-index: 1;
    width: 100vw;
    height: 100dvh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tk-lb-image {
    width: auto;
    height: auto;
    max-width: min(86vw, 1680px);
    max-height: calc(100dvh - 160px);
    object-fit: contain;
    display: block;
    box-shadow: 0 26px 70px rgba(0, 0, 0, .45);
}

.tk-lightbox.is-expanded .tk-lb-image,
.tk-lightbox:fullscreen .tk-lb-image,
.tk-lightbox:-webkit-full-screen .tk-lb-image {
    max-width: 100vw;
    max-height: 100dvh;
    box-shadow: none;
}

.tk-lb-meta {
    position: fixed;
    left: 42px;
    right: 42px;
    bottom: 34px;
    z-index: 4;
    max-width: 820px;
    text-align: left;
    pointer-events: none;
}

.tk-lb-counter {
    display: block;
    margin-bottom: 12px;
    color: #8795a3;
    font-family: "Raleway", Arial, sans-serif;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.6px;
    line-height: 1;
    text-transform: uppercase;
}

.tk-lb-caption {
    display: block;
    max-width: 760px;
    color: #fff;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 800;
}

.tk-lb-credit {
    display: block;
    margin-top: 6px;
    color: #98a5b3;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 700;
}

.tk-lb-btn,
.tk-lb-arrow {
    position: fixed;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .2);
    background: rgba(255, 255, 255, .06);
    border-radius: 50%;
    cursor: pointer;
    transition: background .18s ease, transform .18s ease, border-color .18s ease;
}

.tk-lb-btn:hover,
.tk-lb-arrow:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .34);
    transform: scale(1.04);
}

.tk-lb-btn:focus-visible,
.tk-lb-arrow:focus-visible {
    outline: 2px solid #d8b34a;
    outline-offset: 3px;
}

.tk-lb-close,
.tk-lb-full {
    top: 24px;
    width: 44px;
    height: 44px;
}

.tk-lb-close {
    right: 26px;
}

.tk-lb-full {
    right: 82px;
}

.tk-lb-close:before,
.tk-lb-close:after {
    content: "";
    position: absolute;
    left: 13px;
    top: 20px;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.tk-lb-close:before {
    transform: rotate(45deg);
}

.tk-lb-close:after {
    transform: rotate(-45deg);
}

.tk-lb-full:before,
.tk-lb-full:after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: #fff;
    border-style: solid;
}

.tk-lb-full:before {
    top: 11px;
    right: 11px;
    border-width: 2px 2px 0 0;
}

.tk-lb-full:after {
    left: 11px;
    bottom: 11px;
    border-width: 0 0 2px 2px;
}

.tk-lightbox.is-expanded .tk-lb-full:before,
.tk-lightbox:fullscreen .tk-lb-full:before,
.tk-lightbox:-webkit-full-screen .tk-lb-full:before {
    top: 12px;
    left: 12px;
    right: auto;
    border-width: 2px 2px 0 0;
}

.tk-lightbox.is-expanded .tk-lb-full:after,
.tk-lightbox:fullscreen .tk-lb-full:after,
.tk-lightbox:-webkit-full-screen .tk-lb-full:after {
    right: 12px;
    bottom: 12px;
    left: auto;
    border-width: 0 0 2px 2px;
}

.tk-lb-arrow {
    top: 50%;
    width: 48px;
    height: 48px;
    margin-top: -24px;
}

.tk-lb-prev {
    left: 26px;
}

.tk-lb-next {
    right: 26px;
}

.tk-lb-arrow:before {
    content: "";
    width: 11px;
    height: 11px;
    border-color: #fff;
    border-style: solid;
}

.tk-lb-prev:before {
    border-width: 0 0 2px 2px;
    transform: translateX(2px) rotate(45deg);
}

.tk-lb-next:before {
    border-width: 2px 2px 0 0;
    transform: translateX(-2px) rotate(45deg);
}

@media screen and (max-width: 768px) {
    .tk-lb-image {
        max-width: 100vw;
        max-height: calc(100dvh - 168px);
        box-shadow: none;
    }

    .tk-lightbox.is-expanded .tk-lb-image,
    .tk-lightbox:fullscreen .tk-lb-image,
    .tk-lightbox:-webkit-full-screen .tk-lb-image {
        max-height: 100dvh;
    }

    .tk-lb-meta {
        left: 18px;
        right: 18px;
        bottom: 22px;
        max-width: none;
    }

    .tk-lb-counter {
        margin-bottom: 9px;
        font-size: 10px;
    }

    .tk-lb-caption {
        font-size: 12px;
        line-height: 1.42;
    }

    .tk-lb-credit {
        margin-top: 5px;
        font-size: 10px;
    }

    .tk-lb-close,
    .tk-lb-full {
        top: 14px;
        width: 38px;
        height: 38px;
    }

    .tk-lb-close {
        right: 14px;
    }

    .tk-lb-full {
        right: 60px;
    }

    .tk-lb-close:before,
    .tk-lb-close:after {
        left: 11px;
        top: 18px;
        width: 16px;
    }

    .tk-lb-full:before {
        top: 9px;
        right: 9px;
    }

    .tk-lb-full:after {
        left: 9px;
        bottom: 9px;
    }

    .tk-lb-arrow {
        width: 38px;
        height: 38px;
        margin-top: -19px;
        background: rgba(255, 255, 255, .08);
    }

    .tk-lb-prev {
        left: 12px;
    }

    .tk-lb-next {
        right: 12px;
    }
}
