/* Only the Cartório shell is changed here. The blog content keeps blog.css. */
@font-face {
    font-family: "Instrument Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../assets/fonts/instrument-sans-latin.woff2") format("woff2");
}

:root {
    --cartorio-bg: #161512;
    --cartorio-footer-bg: #121316;
    --cartorio-accent: #f5731a;
}

body.cartorio-blog-body {
    margin: 0;
    background: var(--cartorio-bg);
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

body.cartorio-blog-body .site-topbar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1000;
    min-height: 82px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background: rgba(12, 9, 17, .96);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .18);
}

body.cartorio-blog-body .site-topbar__inner {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

body.cartorio-blog-body .site-topbar__brand {
    display: block;
    width: 145px;
    line-height: 0;
}

body.cartorio-blog-body .site-topbar__brand img {
    display: block;
    width: 100%;
    height: auto;
}

body.cartorio-blog-body .site-topbar__nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 48px);
}

body.cartorio-blog-body .site-topbar__nav a {
    position: relative;
    padding: 8px 0;
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

body.cartorio-blog-body .site-topbar__nav a::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--cartorio-accent);
    content: "";
    transform: scaleX(0);
    transition: transform .2s ease;
}

body.cartorio-blog-body .site-topbar__nav a:hover::after,
body.cartorio-blog-body .site-topbar__nav a:focus-visible::after {
    transform: scaleX(1);
}

body.cartorio-blog-body .cartorio-blog-main {
    margin-top: 82px;
    background: #fff;
    color: #273248;
}

body.cartorio-blog-body .site-footer {
    padding-top: 115px;
    background: var(--cartorio-footer-bg);
    color: #fff;
}

body.cartorio-blog-body .rodape__inner {
    width: 100%;
    max-width: calc(1280px + 2.5rem);
    margin-inline: auto;
    padding-inline: 1.25rem;
}

body.cartorio-blog-body .rodape__linha {
    display: flex;
    align-items: center;
    gap: 136px;
}

body.cartorio-blog-body .rodape__logo {
    position: relative;
    display: block;
    flex: none;
    width: 153px;
    height: 48.526px;
}

body.cartorio-blog-body .rodape__logo-marca {
    display: block;
    width: 153px;
    height: 48.526px;
}

body.cartorio-blog-body .rodape__logo-palavra {
    position: absolute;
    top: 33.716px;
    left: 48.736px;
    color: #fff;
    font-size: 12.47px;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1;
    white-space: nowrap;
}

body.cartorio-blog-body .rodape__copyright {
    flex: none;
    width: 380px;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
}

body.cartorio-blog-body .rodape__link {
    flex: none;
    color: #707070;
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
}

body.cartorio-blog-body .rodape__link:hover,
body.cartorio-blog-body .rodape__link:focus-visible { color: #fff; }

body.cartorio-blog-body .rodape__faixa {
    height: 12px;
    margin-top: 93px;
    background: var(--cartorio-accent);
}

@media (max-width: 639px) {
    body.cartorio-blog-body .site-topbar,
    body.cartorio-blog-body .site-topbar__inner { min-height: 70px; }
    body.cartorio-blog-body .site-topbar__inner { gap: 18px; }
    body.cartorio-blog-body .site-topbar__brand { width: 122px; }
    body.cartorio-blog-body .site-topbar__nav { gap: 13px; }
    body.cartorio-blog-body .site-topbar__nav a { font-size: 9px; letter-spacing: .03em; }
    body.cartorio-blog-body .cartorio-blog-main { margin-top: 70px; }
    body.cartorio-blog-body .site-footer { padding-top: 56px; }
    body.cartorio-blog-body .rodape__linha { align-items: flex-start; flex-direction: column; gap: 28px; }
    body.cartorio-blog-body .rodape__copyright { width: 100%; }
    body.cartorio-blog-body .rodape__faixa { margin-top: 48px; }
}
