/*
  Theme Name: FIXONWEB Full Stack — Tema WordPress 1.0.0
  Theme URI: https://www.fixonweb.com.br/
  Author: FIXONWEB
  Description: Tema otimizado para a landing page da FIXONWEB.
  Version: 1.1
  Text Domain: fixonweb
  */

/* FIXONWEB — CSS mobile-first. Variáveis centralizam a identidade visual e facilitam white-label. */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root_black {
    --bg: #020812;
    --bg-2: #041321;
    --panel: rgba(5, 19, 34, .82);
    --cyan: #00d9ff;
    --cyan-2: #00aeea;
    --blue: #147cff;
    --white: #f7fbff;
    --muted: #b7c6d6;
    --line: rgba(0, 214, 255, .28);
    --shadow: 0 24px 80px rgba(0, 0, 0, .42);
    --radius: 18px;
}

:root {
    --bg: #f7fbff;
    --bg-2: #b7c6d6;
    --panel: rgba(5, 19, 34, .82);
    --cyan: #00d9ff;
    --cyan-2: #00aeea;
    --blue: #147cff;
    /*--white: #f7fbff;*/
    --white: #000000;
    --muted: #b7c6d6;
    --line: rgba(0, 214, 255, .28);
    --shadow: 0 24px 80px rgba(0, 0, 0, .42);
    --radius: 18px;
}

* { box-sizing: border-box; }



html {
    scroll-behavior: smooth;
    margin-top: 200px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--white);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    /*color: inherit;_FIX_*/
    text-decoration: none;
}

button, input, select, textarea {
    font: inherit;
}

aside {
    order: 2; /* Move a barra lateral para baixo do conteúdo principal */
    padding:140px 0 80px;
    
}


code {
    /* Ativa o scroll horizontal caso o código seja maior que a tela */
    display: inline-block;
    max-width: 100%;
    overflow-x: auto;
    vertical-align: middle;

    /* Estilização visual (Borda e espaçamento) */
    border: 0px solid var(--muted);
    border-radius: 4px;
    padding: 0.2em 0.4em;
    background-color: var(--bg);
    
    /* Garante que fontes monoespaçadas mantenham o tamanho correto */
    font-family: monospace, monospace;
    font-size: 85%;
    color: var(--muted);
}

.aside_content {
    position: sticky;
    top: 70px;
}
.container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}
.container-layout {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    display: grid;
    /* grid-template-coluns: 1fr; Padrão celular: uma coluna empilhada */
    grid-template-columns: 3fr 1fr; 
    gap: 2rem;
    flex: 1; /* Ocupa o espaço restante para empurrar o footer para o final */
}

/* HEADER */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1005;
    background: rgba(2, 8, 18, .72);
    border-bottom: 1px solid rgba(0, 217, 255, .1);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    color: var(--bg);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    border-radius: 10px;
    font-size: 14px;
    box-shadow: 0 0 22px rgba(0, 217, 255, .2);
}

.brand-name span {
    color: var(--cyan);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    
}

.main-nav a {
    color: var(--muted);
    transition: color .25s ease;
    z-index: 1002;
}

.main-nav a:hover {
    color: var(--cyan);
}

.nav-cta {
    padding: 11px 17px;
    border: 1px solid var(--cyan);
    border-radius: 999px;
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    width: 44px;
    height: 44px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px auto;
    background: var(--cyan);
}

/* HERO */
.hero {
    position: relative;
    min-height: 1000px;
    padding: 90px 0 70px;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 35%, rgba(0, 151, 255, .18), transparent 28%),
        radial-gradient(circle at 8% 45%, rgba(0, 217, 255, .08), transparent 28%),
        linear-gradient(110deg, #020812 0%, #03111e 55%, #020b15 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .14;
    background-image:
        linear-gradient(rgba(0, 217, 255, .12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, .12) 1px, transparent 1px);
    background-size: 65px 65px;
    mask-image: linear-gradient(to right, black, transparent 82%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 360px;
    height: 360px;
    right: 5%;
    top: 25%;
    background: rgba(0, 122, 255, .17);
}

.hero-glow-2 {
    width: 240px;
    height: 240px;
    left: -100px;
    bottom: 5%;
    background: rgba(0, 217, 255, .1);
}

.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 47% 53%;
    align-items: center;
    min-height: 780px;
}

.hero-copy {
    position: relative;
    z-index: 4;
}

.eyebrow {
    margin: 0 0 22px;
    color: #dfeaf5;
    font-size: 14px;
    letter-spacing: .34em;
    font-weight: 600;
}

.eyebrow span {
    color: var(--cyan);
    margin: 0 7px;
}

.hero h1 {
    margin: 0;
    max-width: 680px;
    font-size: clamp(54px, 6vw, 90px);
    line-height: .91;
    letter-spacing: -.055em;
    font-weight: 900;
    color: var(--white);
}

.hero h1 strong {
    display: block;
    color: var(--cyan);
    background: linear-gradient(90deg, #00d9ff, #087cff 72%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    max-width: 560px;
    margin: 25px 0;
    color: var(--muted);
    font-size: 20px;
    line-height: 1.48;
}

.hero-text b {
    color: var(--cyan);
}

.accent-line {
    width: 62px;
    height: 4px;
    margin: 26px 0 31px;
    border-radius: 10px;
    background: var(--cyan);
    box-shadow: 0 0 18px rgba(0, 217, 255, .5);
}

.service-list {
    display: grid;
    gap: 20px;
    max-width: 570px;
}

.service-item {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 17px;
    align-items: start;
}

.service-icon {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    color: var(--cyan);
    border: 2px solid var(--cyan);
    border-radius: 15px;
    font-size: 25px;
    font-weight: 900;
    text-shadow: 0 0 12px rgba(0, 217, 255, .5);
    background: rgba(0, 100, 150, .06);
}

.service-linux {
    font-size: 28px;
}

.service-item h2 {
    margin: 1px 0 3px;
    font-size: 18px;
    line-height: 1.2;
}

.service-item p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
}

/* HERO VISUAL */
.hero-visual {
    position: relative;
    height: 790px;
}

.portrait-frame {
    position: absolute;
    inset: 0 -90px -20px -20px;
    overflow: hidden;
    border-radius: 36px 0 0 0;
    background: var(--bg);
}

.portrait {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 58% center;
    filter: saturate(.95) contrast(1.06);
    opacity: .95;
    transform: scale(1.03);
}

.portrait-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 8, 18, .85) 0%, rgba(2, 8, 18, .18) 36%, rgba(2, 8, 18, .02) 62%, rgba(2, 8, 18, .28) 100%),
        linear-gradient(0deg, rgba(2, 8, 18, .42), transparent 45%);
}

.code-window {
    position: absolute;
    z-index: 4;
    width: 235px;
    padding: 17px 18px;
    border: 1px solid rgba(0, 217, 255, .22);
    border-radius: 12px;
    background: rgba(3, 13, 25, .74);
    backdrop-filter: blur(8px);
    color: var(--cyan);
    font: 12px/1.75 ui-monospace, SFMono-Regular, Menlo, monospace;
    box-shadow: var(--shadow);
    opacity: .85;
}

.code-window-left {
    left: 65px;
    top: 435px;
    transform: rotate(-4deg);
}

.handwritten {
    position: absolute;
    z-index: 5;
    right: 50px;
    top: 550px;
    color: var(--cyan);
    font-family: "Brush Script MT", "Segoe Script", cursive;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.05;
    transform: rotate(-5deg);
    text-shadow: 0 0 22px rgba(0, 217, 255, .25);
}

.handwritten strong {
    font-weight: 700;
}

.handwritten::after {
    content: "";
    display: block;
    width: 190px;
    height: 6px;
    margin: 12px 0 0 12px;
    border-radius: 50%;
    border-top: 5px solid var(--cyan);
    transform: rotate(-5deg);
}

.mini-points {
    position: absolute;
    z-index: 5;
    right: 350px;
    top: 550px;
    display: grid;
    gap: 8px;
    font-size: 16px;
    letter-spacing: .16em;
    color: #dce9f4;
}

.mini-points i {
    display: block;
    width: 36px;
    height: 4px;
    margin-top: 7px;
    background: var(--cyan);
    border-radius: 4px;
}

/* TECHNOLOGIES */
.technologies {
    position: relative;
    padding: 48px 0 58px;
    background: linear-gradient(180deg, #020d19, #03121f);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 38px;
}

.section-heading span {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan));
}

.section-heading span:last-child {
    background: linear-gradient(90deg, var(--cyan), transparent);
}

.section-heading h2 {
    margin: 0;
    font-size: 18px;
    letter-spacing: .32em;
    text-align: center;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px 22px;
}

.tech-item {
    min-height: 105px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 8px;
    transition: transform .25s ease;
}

.tech-item:hover {
    transform: translateY(-6px);
}

.tech-item i {
    font-size: 58px;
}

.tech-item strong {
    font-size: 14px;
    color: var(--white);
}

/* DIFFERENTIALS */
.differentials {
    padding: 0;
    background: var(--white);
}

.differential-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.differential {
    min-height: 150px;
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 28px 22px;
    border-right: 1px solid var(--line);
}

.differential:first-child {
    border-left: 1px solid var(--line);
}

.diff-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border: 2px solid var(--cyan);
    border-radius: 12px;
    color: var(--cyan);
    font-weight: 900;
    font-size: 21px;
}

.differential h3 {
    margin: 0 0 3px;
    color: var(--cyan);
    font-size: 14px;
}

.differential p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
}

/* CONTACT */
.contact {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 119, 255, .18), transparent 32%),
        linear-gradient(135deg, #020b15, #04182a);
}

.contact-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: center;
}

.contact-copy h2 {
    margin: 10px 0 20px;
    max-width: 620px;
    font-size: clamp(38px, 4.6vw, 64px);
    line-height: 1;
    letter-spacing: -.045em;
}

.contact-copy h2 span {
    color: var(--cyan);
}

.contact-copy > p:not(.eyebrow) {
    max-width: 540px;
    color: var(--muted);
}

.contact-points {
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.contact-points li {
    color: #dbe8f5;
    font-weight: 600;
}

.contact-points span {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    margin-right: 9px;
    border: 1px solid var(--cyan);
    border-radius: 50%;
    color: var(--cyan);
    font-size: 11px;
}

.contact-card {
    padding: 32px;
    border: 1px solid rgba(0, 217, 255, .25);
    border-radius: var(--radius);
    background: rgba(2, 11, 21, .72);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-card label {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    color: #dce8f3;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.contact-card input,
.contact-card select,
.contact-card textarea {
    width: 100%;
    border: 1px solid rgba(150, 190, 220, .18);
    border-radius: 10px;
    outline: none;
    padding: 13px 14px;
    background: rgba(255, 255, 255, .045);
    color: var(--white);
    transition: border-color .2s, box-shadow .2s;
}

.contact-card select option {
    color: #111;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 217, 255, .08);
}

.contact-card textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-card ::placeholder {
    color: #718397;
}

.btn-primary {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 10px;
    padding: 15px 20px;
    cursor: pointer;
    color: #00101a;
    font-weight: 900;
    background: linear-gradient(90deg, var(--cyan), #1d8cff);
    box-shadow: 0 12px 30px rgba(0, 174, 255, .18);
    transition: transform .2s, box-shadow .2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(0, 174, 255, .28);
}

.btn-primary:disabled {
    opacity: .7;
    cursor: wait;
}

.btn-loading {
    display: none;
}

.form-message {
    display: none;
    margin-top: 14px;
    padding: 12px;
    border-radius: 9px;
    font-size: 13px;
}

.form-message.success {
    display: block;
    border: 1px solid rgba(0, 255, 180, .3);
    background: rgba(0, 255, 180, .06);
    color: #9fffe1;
}

.form-message.error {
    display: block;
    border: 1px solid rgba(255, 80, 100, .3);
    background: rgba(255, 80, 100, .06);
    color: #ffb8c0;
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.contact-decoration {
    position: absolute;
    width: 180px;
    height: 25px;
    border-top: 1px solid var(--cyan);
    border-right: 1px solid var(--cyan);
    opacity: .5;
    transform: rotate(-35deg);
}

.contact-decoration-a {
    right: -20px;
    bottom: 90px;
}

.contact-decoration-b {
    right: 20px;
    bottom: 55px;
    opacity: .25;
}

/* FOOTER */
.site-footer {
    border-top: 1px solid var(--line);
    background: var(--panel);
    margin-top: 60px;
}

.footer-inner {
    min-height: 74px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #718397;
    font-size: 12px;
}

.footer-inner a {
    color: var(--cyan);
}

/* ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .75s ease, transform .75s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    transition-delay: .12s;
}

/* RESPONSIVE */
@media (max-width: 1050px) {
    .hero-inner {
        grid-template-columns: 55% 45%;
    }

    .hero-visual {
        height: 690px;
    }

    .portrait-frame {
        inset: 0 -160px -10px -60px;
    }

    .tech-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .differential-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .differential:nth-child(2) {
        border-right: 0;
    }

    .differential:nth-child(n+3) {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 32px, 680px);
    }
    .container-layout {
        /* Divide o layout: 3 partes para o conteúdo principal, 1 parte para a barra lateral */
        /* grid-template-columns: 3fr 1fr;  */
        grid-template-columns: 1fr; /* Padrão celular: uma coluna empilhada */
    }
    aside {
        order: 2; /* Move a barra lateral para baixo do conteúdo principal */
        /*margin-top: 40px;*/
        padding:20px 0 80px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 1002;
    }

    .main-nav {
        position: fixed;
        inset: 76px 0 0;
        padding: 30px;
        background: rgba(2, 8, 18, .97);
        backdrop-filter: blur(20px);
        display: none;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 10px;
    }

    .main-nav.is-open {
        display: flex;
    }

    /* .main-nav a {
        padding: 16px;
        border-bottom: 1px solid rgba(0, 217, 255, .1);
    } */

    .nav-cta {
        text-align: center;
        margin-top: 10px;
    }

    .hero {
        padding-top: 120px;
        min-height: auto;
    }

    .hero-inner {
        display: block;
        min-height: auto;
    }

    .hero-copy {
        max-width: 650px;
    }

    .hero-visual {
        height: 550px;
        margin-top: 30px;
    }

    .portrait-frame {
        inset: 0 -30px 0 -30px;
        border-radius: 25px;
    }

    .portrait {
        object-position: 58% center;
    }

    .service-list {
        gap: 17px;
    }

    .section-heading {
        gap: 15px;
    }

    .section-heading h2 {
        font-size: 14px;
        letter-spacing: .18em;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, 480px);
    }

    .header-inner {
        min-height: 68px;
    }

    .main-nav {
        inset: 68px 0 0;
    }

    .hero {
        padding-top: 105px;
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: .23em;
    }

    .hero h1 {
        font-size: clamp(48px, 15vw, 68px);
    }

    .hero-text {
        font-size: 17px;
    }

    .service-item {
        grid-template-columns: 54px 1fr;
        gap: 12px;
    }

    .service-icon {
        width: 54px;
        height: 54px;
        border-radius: 12px;
        font-size: 20px;
    }

    .service-item h2 {
        font-size: 16px;
    }

    .service-item p {
        font-size: 13px;
    }

    .hero-visual {
        height: 480px;
    }

    .code-window {
        display: none;
    }

    .handwritten {
        right: 30px;
        top: 305px;
        font-size: 29px;
    }

    .mini-points {
        top: 300px;
        right: 260px;
        font-size: 12px;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 8px;
    }

    .tech-item {
        min-height: 90px;
    }

    .tech-item i {
        font-size: 43px;
    }

    .tech-item strong {
        font-size: 11px;
    }

    .differential-grid {
        grid-template-columns: 1fr;
    }

    .differential,
    .differential:first-child {
        border: 0;
        border-bottom: 1px solid var(--line);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-card {
        padding: 22px 17px;
    }

    .contact {
        padding: 75px 0;
    }

    .footer-inner {
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 20px 0;
    }
}
.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1001;
    background: rgba(2, 8, 18, .72);
    backdrop-filter: blur(2px);

}

/* =========================================================
   ARTIGOS — estilos editoriais do template single.php
   Mantém a identidade escura/ciano do tema FIXONWEB.
   ========================================================= */

.article-page {
    padding-top: 112px;
}

.article-container {
    width: min(100% - 48px, 900px);
    margin-inline: auto;
}

.article-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 28px;
    color: var(--muted);
    font-size: 0.82rem;
}

.article-breadcrumbs a {
    color: var(--muted);
    text-decoration: none;
    transition: color .2s ease;
}

.article-breadcrumbs a:hover,
.article-breadcrumbs a:focus-visible {
    color: var(--cyan);
}

.article-header {
    margin-bottom: 38px;
}

.article-category {
    margin-bottom: 16px;
    color: var(--cyan);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .09em;
    line-height: 1.5;
    text-transform: uppercase;
}

.article-category a {
    color: inherit;
    text-decoration: none;
}

.article-title {
    max-width: 850px;
    margin: 0;
    color: var(--white);
    font-size: clamp(2.1rem, 5vw, 3.65rem);
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1.08;
    text-wrap: balance;
}

.article-excerpt {
    max-width: 760px;
    margin-top: 22px;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.7;
}

.article-excerpt p {
    margin: 0;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    margin-top: 22px;
    color: var(--muted);
    font-size: .86rem;
}

.article-meta > * + *::before {
    content: "•";
    margin-right: 18px;
    color: var(--cyan);
}

.article-featured-image {
    margin: 32px 0 0;
}

.article-featured-image__img {
    display: block;
    width: 100%;
    max-height: 520px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
}

.article-content {
    min-width: 0;
    color: #e4edf6;
    font-size: 1.06rem;
    line-height: 1.85;
    overflow-wrap: anywhere;
}

.article-content > * {
    max-width: 100%;
}

.article-content p {
    margin: 0 0 1.45em;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    color: var(--white);
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -.02em;
    scroll-margin-top: 100px;
}

.article-content h2 {
    margin: 2.1em 0 .7em;
    font-size: clamp(1.55rem, 3vw, 2.05rem);
}

.article-content h3 {
    margin: 1.8em 0 .65em;
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
}

.article-content h4 {
    margin: 1.6em 0 .6em;
    font-size: 1.15rem;
}

.article-content a {
    color: var(--cyan);
    text-decoration: underline;
    text-decoration-color: rgba(0, 217, 255, .45);
    text-underline-offset: 3px;
}

.article-content a:hover {
    text-decoration-color: currentColor;
}

.article-content ul,
.article-content ol {
    margin: 0 0 1.5em;
    padding-left: 1.5em;
}

.article-content li {
    margin: .35em 0;
    padding-left: .15em;
}

.article-content blockquote {
    margin: 1.8em 0;
    padding: 20px 24px;
    border-left: 4px solid var(--cyan);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: rgba(0, 217, 255, .055);
    color: #d9e7f4;
}

.article-content blockquote > *:last-child {
    margin-bottom: 0;
}

.article-content img,
.article-content video,
.article-content iframe {
    max-width: 100%;
}

.article-content img {
    height: auto;
    border-radius: 10px;
}

.article-content figure {
    margin: 1.8em 0;
}

.article-content figcaption {
    margin-top: 8px;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.5;
}

.article-content pre {
    max-width: 100%;
    overflow-x: auto;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #01060d;
    color: #e4edf6;
    font-size: .9rem;
    line-height: 1.65;
    white-space: pre;
}

.article-content pre code {
    display: block;
    max-width: none;
    overflow: visible;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
}

.article-content :not(pre) > code {
    padding: .15em .4em;
    border: 1px solid rgba(0, 217, 255, .15);
    border-radius: 5px;
    background: rgba(0, 217, 255, .07);
    color: #a9f2ff;
}

.article-content table {
    display: block;
    width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: .94rem;
}

.article-content th,
.article-content td {
    padding: 10px 12px;
    border: 1px solid var(--line);
    text-align: left;
}

.article-content th {
    background: rgba(0, 217, 255, .07);
    color: var(--white);
}

.article-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 30px 0;
}

.article-footer {
    margin-top: 42px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.article-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.article-footer-label {
    width: 100%;
    color: var(--muted);
    font-size: .88rem;
    font-weight: 700;
}

.article-share a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--white);
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .2s ease, color .2s ease, background .2s ease;
}

.article-share a:hover,
.article-share a:focus-visible {
    border-color: var(--cyan);
    background: rgba(0, 217, 255, .08);
    color: var(--cyan);
}

.article-related {
    padding: 54px 0 70px;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(4, 19, 33, .65), rgba(2, 8, 18, 0));
}

.article-related__inner {
    width: min(100% - 48px, 1120px);
    margin-inline: auto;
}

.article-related__inner > h2 {
    margin: 0 0 24px;
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -.025em;
}

.article-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.article-related-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
    transition: transform .2s ease, border-color .2s ease;
}

.article-related-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 217, 255, .65);
}

.article-related-card__link {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.article-related-card__image {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--bg-2);
}

.article-related-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.article-related-card:hover .article-related-card__image img {
    transform: scale(1.035);
}

.article-related-card h3 {
    margin: 0;
    padding: 18px 18px 10px;
    color: var(--white);
    font-size: 1.05rem;
    line-height: 1.45;
}

.article-related-card__more {
    margin: auto 18px 18px;
    padding-top: 8px;
    color: var(--cyan);
    font-size: .86rem;
    font-weight: 700;
}

.article-single a:focus-visible {
    outline: 2px solid var(--cyan);
    outline-offset: 4px;
}

@media (max-width: 760px) {
    .article-page {
        padding-top: 100px;
    }

    .article-container,
    .article-related__inner {
        width: min(100% - 32px, 680px);
    }

    .article-breadcrumbs {
        margin-bottom: 22px;
        font-size: .78rem;
    }

    .article-header {
        margin-bottom: 30px;
    }

    .article-featured-image {
        margin-top: 26px;
    }

    .article-featured-image__img {
        border-radius: 12px;
    }

    .article-content {
        font-size: 1rem;
        line-height: 1.8;
    }

    .article-related__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .article-related-card__link {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        align-items: start;
    }

    .article-related-card__image {
        grid-row: span 2;
        height: 100%;
        min-height: 100px;
        aspect-ratio: auto;
    }

    .article-related-card h3 {
        padding: 14px 14px 6px;
        font-size: .96rem;
    }

    .article-related-card__more {
        margin: 0 14px 14px;
    }
}

@media (max-width: 420px) {
    .article-container,
    .article-related__inner {
        width: min(100% - 28px, 100%);
    }

    .article-meta {
        gap: 7px 12px;
        font-size: .8rem;
    }

    .article-meta > * + *::before {
        margin-right: 12px;
    }

    .article-content pre {
        padding: 14px;
        font-size: .82rem;
    }

    .article-related-card__link {
        grid-template-columns: 100px minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .article-share a,
    .article-related-card,
    .article-related-card__image img {
        transition: none;
    }

    .article-related-card:hover,
    .article-related-card:hover .article-related-card__image img {
        transform: none;
    }
}




.tutor-color-success {
  color: #000000;
}
