/*
Theme Name: Blankslate - midiatatica.net
Template: blankslate
Version: 1.0.0
Description: Custom child theme for Midiatatica.net
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{appearance:none;border-radius:0}input[type="search"]{appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}

/* ═══════════════════════════════════════════════════════
   MÍDIA TÁTICA — SHARED TACTICAL STYLES
   Extracted from inline <style> blocks across all templates
   Applies to: front-page, single, index (blog), pages, videos
   ═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700;800&display=swap');

:root {
    --bg: #0a0a0f;
    --bg-secondary: #111118;
    --tactical-green: #00ff41;
    --tactical-dim: #00aa2a;
    --archive-amber: #ffb800;
    --text: #e0e0e0;
    --text-dim: #888;
    --border: #1a1a24;
    --font-scale: 1.15;
}

/* ─── BASE ─── */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg) !important;
    color: var(--text) !important;
    font-family: 'JetBrains Mono', 'Courier New', monospace !important;
    line-height: 1.6;
    overflow-x: hidden;
    font-size: calc(14px * var(--font-scale));
    min-height: 100vh;
}

/* ─── SCANLINE OVERLAY ─── */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0,0,0,0.15) 0px, rgba(0,0,0,0.15) 1px,
        transparent 1px, transparent 2px
    );
    pointer-events: none;
    z-index: 1000;
    opacity: 0.3;
}

.container {
    padding: 2rem;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ─── HEADER / BRANDING ─── */
header {
    border-left: 4px solid var(--tactical-green);
    padding-left: 1.25rem;
    margin-bottom: 2.5rem;
}

.logo, .logo-main {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--tactical-green);
    letter-spacing: -1px;
    text-transform: uppercase;
    line-height: 1.1;
}

.logo a, .logo-main a { color: inherit; text-decoration: none; }

.tagline, .tagline-main {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── BREADCRUMB ─── */
.breadcrumb {
    color: var(--archive-amber);
    font-size: 0.8rem;
    margin: 1.5rem 0 1rem;
    text-transform: uppercase;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.breadcrumb a { color: var(--archive-amber); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--text-dim); }

/* ─── PROTOCOL BOX ─── */
.protocol-box {
    border: 1px solid var(--tactical-green);
    padding: 0.75rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.85rem;
    color: var(--tactical-green);
    background: rgba(0, 255, 65, 0.03);
    text-align: center;
    letter-spacing: 1px;
}

/* ─── HEADINGS ─── */
h1 {
    color: var(--text);
    font-size: 2.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

h2 {
    color: var(--tactical-green);
    font-size: 1.35rem;
    margin: 2.5rem 0 1.25rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: bold;
}
h2::before { content: '>'; color: var(--tactical-dim); }

/* ─── STATUS BAR ─── */
.status-bar {
    border: 1px solid var(--tactical-dim);
    padding: 1rem;
    margin: 2rem 0;
    font-size: 0.85rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    background: rgba(0, 255, 65, 0.02);
    color: var(--tactical-green);
}

/* ─── TERMINAL CONSOLE ─── */
.terminal-box {
    background: #050508;
    border: 1px solid var(--tactical-green);
    padding: 1.25rem;
    min-height: 200px;
    box-shadow: inset 0 0 15px rgba(0, 255, 65, 0.05);
}

#terminal-output {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
    min-height: 80px;
    max-height: 300px;
    overflow-y: auto;
}

.terminal-line {
    color: var(--text);
    margin-bottom: 0.5rem;
    white-space: pre-wrap;
    word-break: break-word;
}
.terminal-line.cmd { color: var(--tactical-green); }
.terminal-line.error { color: #ff4444; }
.terminal-line.success { color: var(--tactical-green); }
.terminal-line.warn { color: var(--archive-amber); }

.terminal-input-row {
    display: flex;
    gap: 0.75rem;
    color: var(--tactical-green);
    margin-top: 1.25rem;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.terminal-input {
    background: transparent;
    border: none;
    color: var(--text);
    outline: none;
    width: 100%;
    font-family: inherit;
    font-size: 1.1rem;
    caret-color: var(--tactical-green);
}

/* ─── LOADING INDICATOR ─── */
.terminal-loading {
    display: inline-block;
    color: var(--tactical-dim);
    font-style: italic;
    animation: loadingPulse 1s infinite;
}
@keyframes loadingPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* ─── LICENSE & CREATIVE COMMONS ─── */
.license-text {
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.7;
    margin: 0 auto 1.5rem;
    max-width: 90%;
    text-align: center;
}
.license-text a { color: var(--tactical-green); text-decoration: underline; }
.license-text a:hover { color: var(--archive-amber); }

.cc-badge { display: block; text-align: center; margin: 1.5rem 0; }
.cc-badge img { max-width: 120px; height: auto; opacity: 0.8; transition: opacity 0.2s; border: none; }
.cc-badge img:hover { opacity: 1; }

/* ─── FOOTER ─── */
footer {
    margin-top: 5rem;
    border-top: 1px solid var(--border);
    padding-top: 2.5rem;
    text-align: center;
}

.quote {
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--tactical-dim);
    font-size: 1.1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 1.5rem 0;
    color: var(--tactical-green);
    font-weight: bold;
}
.footer-links a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}
.footer-links a:hover { border-bottom-color: var(--tactical-green); }

.uptime { color: var(--text-dim); font-size: 0.8rem; line-height: 1.8; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--tactical-dim); border-radius: 4px; }

/* ─── RESPONSIVE BASE ─── */
@media (max-width: 768px) {
    .container { padding: 1rem; }
    .logo, .logo-main { font-size: 1.6rem; }
    h1 { font-size: 1.6rem; }
    .status-bar { flex-direction: column; gap: 0.5rem; }
    .footer-links { flex-direction: column; gap: 1rem; }
}
