/*
Theme Name: UAENIP-IT
Author: UAENIP-IT
Version: 1.0
Text Domain: uaenip-it
*/


:root{
    --blue:#0063BE;
    --bg:#000;
    --card:#111;
    --text:#ffffff;
    --muted:#a0a0a0;
    --radius:6px;
    --link: #ADFF2F;
    --link-hover: #00FF00;
    --link-visited: #32CD32;
}

/* Reset */

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

body{
    background:var(--bg);
    color:var(--text);
    font-family:"Monospace",Lucida Console,sans-serif;
    font-size:16px;
    line-height:1.5;
    text-align: justify;
}

h1 {
    font-family: "Segoe UI", Arial, sans-serif;
    text-align: left;
}

h2 {
    font-family: "Segoe UI", Arial, sans-serif;
    text-align: left;
}

h3 {
    font-family: "Segoe UI", Arial, sans-serif;
}

h4 {
    font-family: "Segoe UI", Arial, sans-serif;
}

h5 {
    font-family: "Segoe UI", Arial, sans-serif;
}
h6 {
    font-family: "Segoe UI", Arial, sans-serif;
}

a {
    color: var(--link);
}
a:hover {
    color: var(--link-hover);
}

a:visited {
    color: var(--link-visited);
}

.menu a {
    color: #fff;
}

.menu a:hover {
    color: #ddd;
}



/* Layout */

.container{
    max-width:1150px;
    margin:0 auto;
    padding:0 15px;
}

/* Header */

header{
    background:var(--blue);
    position:sticky;
    top:0;
    z-index:9999;
    border-bottom-style: solid; /* required for visibility */
    border-bottom-width: 1px;
    border-bottom-color: #ffffff;
}

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

.custom-logo{
    max-height:48px;
    width:auto;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo img {
    max-height: 80px;
    width: auto;
}

.site-info {
    display: flex;
    flex-direction: column;
}

.site-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.1;
}

.site-title a {
    text-decoration: none;
    color: #fff; /* change if needed */
}

.site-tagline {
    margin: 4px 0 0 0;
    font-size: 14px;
    color: #fff; /* change if needed */
}

/* Menu */

.menu{
    display:flex;
    gap:8px;
    list-style:none;
    text-transform: uppercase;
    margin:0;
    padding:0;
}

.menu li {
    display: flex;
}

.menu a{
    font-family: "Segoe UI", Arial, sans-serif;
    display: block;
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:bold;
    padding:4px 10px;
    border-radius: 4px;
    background: #000000;
    transition: all 0.2s ease;
    font-weight: 500;
}

.menu a:hover{
    font-family: "Segoe UI", Arial, sans-serif;
    background: #000000;
    color:#ADFF2F;
    opacity:.8;
}

.current-menu-item a {
    background: #1A222E;
    color:#ADFF2F;
}

.wp-caption-text,
.wp-element-caption,
figcaption {
    text-align: right;
    font-size: 0.85rem;
    color: #00BFFF;
    font-style: none;
}


/* Search */
.header-search {
    margin-left: 0px;
}

.header-search form {
    display: flex;
    gap: 5px;
}

.header-search input[type="search"] {
    padding: 8px;
    border: 1px solid #444;
    border-radius: 4px;
    background: #222;
    color: #fff;
}

.header-search button {
    padding: 8px 12px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* Banner */

.hero-banner{
    margin:0px 0 0px;
}

.hero-banner img{
    width:100%;
    display:block;
    border-radius:var(--radius);
}

/* Posts */

.post-card{
    background:var(--card);
    padding:10px;
    margin-bottom:18px;
    border-radius:var(--radius);
}


.post-title{
    margin-bottom:8px;
    line-height:1.2;
    text-align: left;
}

.post-title a{
    color:#fff;
    text-decoration:none;
    text-align: left;
}

.post-date{
    font-size:12px;
    color:var(--muted);
    margin-bottom:12px;
}

.post-excerpt{
    text-align: justify;
}

.post-content{
    line-height:1.6;
    text-align: justify;
}

.post-content p{
    text-align: justify;
}

.post-excerpt p{
    margin-bottom:12px;
    text-align: justify;
}

.featured-image{
    margin-bottom:15px;
}

.featured-image img{
    width:100%;
    height:auto;
    border-radius:var(--radius);
}

.post-tags {
    margin-bottom: 10px;
}

/* Specific colors */
.tag {
display: inline-block;
padding: 4px 8px;
margin-right: 4px;
margin-bottom: 4px;
border-radius: 4px;
color: white;
font-size: 12px;
font-weight: 600;

}

.tag-powerscale {
    color: #0000ff;
}

.tag-onefs {
    background: #28a745;
}

.tag-ransomware {
    background: #dc3545;
}

.tag-superna {
    background: #ff8c00;
}

.tag-msx {
    background: #0000ff;
    color: #ffffff;
}

.tag-userblog {
    background: #ffff00;
    color: #000000;
}

/* Contact */

.contact-form{
    max-width:700px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:10px;
    margin-bottom:10px;
    background:#0a0a0a;
    color:#fff;
    border:1px solid #333;
    border-radius:4px;
}

.contact-form button{
    background:var(--blue);
    color:#fff;
    border:0;
    padding:10px 18px;
    border-radius:4px;
    cursor:pointer;
}

.contact-form button:hover{
    opacity:.9;
}

/* Footer */

.site-footer{
    background:var(--blue);
    margin-top:25px;
    padding:15px 0;
    text-align:center;
    font-size:13px;
}

/* Mobile */

@media (max-width:768px){

    .header-inner{
        flex-direction:column;
        gap:10px;
        padding:5px 0;
    }

    .menu{
        flex-wrap:wrap;
        justify-content:center;
        gap:12px;
    }

    h2 {
        font-family: "Segoe UI", Arial, sans-serif;
        text-align: left;
        font-size: 16px;
    }

    .post-card{
        padding:6px;
    }

    .post-title {
        text-align: left;
    }

    .post-title a{
	text-align: left;
    }
}

/* BANNER */
.alert {
  width: 100%;
  padding: 0px 16px;
  border-radius: 4px;
  border-style: solid;
  border-width: 1px;
  margin-bottom: 12px;
  font-size: 16px;
}

.alert.alert-success {
  background-color: rgba(227, 253, 235, 1);
  border-color: rgba(38, 179, 3, 1);
  color: rgba(60, 118, 61, 1);
}

.alert.alert-info {
  background-color: rgba(217, 237, 247, 1);
  color: rgba(49, 112, 143, 1);
  border-color: rgba(126, 182, 193, 1);
}


.alert.alert-warning {
  background-color: #FFFF00;
  border-color: rgba(177, 161, 129, 1);
  color: #000000;
  text-align: center;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  font-weight: bold;
}

.alert.alert-danger {
  background-color: rgba(248, 215, 218, 1);
  border-color: rgba(220, 53, 69, 1);
  color: rgba(114, 28, 36,1);
}

