@font-face {
    font-family: 'Alkaios';
    src: url('../fonts/alkaios_web/Alkaios-BoldItalic.eot');
    src: url('../fonts/alkaios_web/Alkaios-BoldItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/alkaios_web/Alkaios-BoldItalic.woff2') format('woff2'),
        url('../fonts/alkaios_web/Alkaios-BoldItalic.woff') format('woff'),
        url('../fonts/alkaios_web/Alkaios-BoldItalic.svg#Alkaios-BoldItalic') format('svg');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Alkaios';
    src: url('../fonts/alkaios_web/Alkaios.eot');
    src: url('../fonts/alkaios_web/Alkaios.eot?#iefix') format('embedded-opentype'),
        url('../fonts/alkaios_web/Alkaios.woff2') format('woff2'),
        url('../fonts/alkaios_web/Alkaios.woff') format('woff'),
        url('../fonts/alkaios_web/Alkaios.svg#Alkaios') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Alkaios';
    src: url('../fonts/alkaios_web/Alkaios-Italic.eot');
    src: url('../fonts/alkaios_web/Alkaios-Italic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/alkaios_web/Alkaios-Italic.woff2') format('woff2'),
        url('../fonts/alkaios_web/Alkaios-Italic.woff') format('woff'),
        url('../fonts/alkaios_web/Alkaios-Italic.svg#Alkaios-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: 'Alkaios';
    src: url('../fonts/alkaios_web/Alkaios-Bold.eot');
    src: url('../fonts/alkaios_web/Alkaios-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/alkaios_web/Alkaios-Bold.woff2') format('woff2'),
        url('../fonts/alkaios_web/Alkaios-Bold.woff') format('woff'),
        url('../fonts/alkaios_web/Alkaios-Bold.svg#Alkaios-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/ubuntu/ubuntu-r.eot');
    src: url('../fonts/ubuntu/ubuntu-r.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ubuntu/ubuntu-r.woff2') format('woff2'),
        url('../fonts/ubuntu/ubuntu-r.woff') format('woff'),
        url('../fonts/ubuntu/ubuntu-r.svg#KeterYG-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/ubuntu/ubuntu-bi.eot');
    src: url('../fonts/ubuntu/ubuntu-bi.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ubuntu/ubuntu-bi.woff2') format('woff2'),
        url('../fonts/ubuntu/ubuntu-bi.woff') format('woff'),
        url('../fonts/ubuntu/ubuntu-bi.svg#KeterYG-BoldOblique') format('svg');
    font-weight: bold;
    font-style: italic;
  }
  
  @font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/ubuntu/ubuntu-ri.eot');
    src: url('../fonts/ubuntu/ubuntu-ri.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ubuntu/ubuntu-ri.woff2') format('woff2'),
        url('../fonts/ubuntu/ubuntu-ri.woff') format('woff'),
        url('../fonts/ubuntu/ubuntu-ri.svg#KeterYG-MediumOblique') format('svg');
    font-weight: 500;
    font-style: italic;
  }
  
  @font-face {
    font-family: 'Ubuntu';
    src: url('../fonts/ubuntu/ubuntu-b.eot');
    src: url('../fonts/ubuntu/ubuntu-b.eot?#iefix') format('embedded-opentype'),
        url('../fonts/ubuntu/ubuntu-b.woff2') format('woff2'),
        url('../fonts/ubuntu/ubuntu-b.woff') format('woff'),
        url('../fonts/ubuntu/ubuntu-b.svg#KeterYG-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
  }


/*
@font-face {
    font-family: "Roboto Mono";
    src: url("../font/RobotoMono-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: "Roboto Mono";
    src: url("../font/RobotoMono-Italic.ttf") format("truetype");
    font-style: italic;
    font-weight: 400;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: "Roboto Mono";
    src: url("../font/RobotoMono-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: "Roboto Mono";
    src: url("../font/RobotoMono-BoldItalic.ttf") format("truetype");
    font-style: italic;
    font-weight: 700;
    text-rendering: optimizeLegibility;
}
*/


:root {
    --global-font-size: 18px;
    --global-font-color: #4b3f7d;
    --mono-font-stack: Roboto Mono, Menlo, Monaco, Lucida Console,
        Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono,
        Courier New, monospace, serif;
    --font-stack: Ubuntu;
    --global-line-height: 1.6em;
    --page-width: 70em;
    --display-h1-decoration: 1;
}

/* --font-stack: Roboto Mono, Menlo, Monaco, Lucida Console, Liberation Mono,
        DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace,
        serif;
        */

@media (prefers-color-scheme: dark) {
    :root {
	--background-color: #293342;
	--page-width: 60em;
	--font-color: #e8e9ed;
	--invert-font-color: #222225;
	--secondary-color: #a3abba;
	--tertiary-color: #a3abba;
	--primary-color: #62c4ff;
	--error-color: #ff3c74;
	--progress-bar-background: #3f3f44;
	--progress-bar-fill: #62c4ff;
	--code-bg-color: #3f3f44;
    }
}

@media (prefers-color-scheme: light) {
    :root {
	--background-color:#fff;
	--font-color:#151515;
	--invert-font-color:#fff;
	--primary-color:#1a95e0;
	--secondary-color:#727578;
	--error-color:#d20962;
	--progress-bar-background:#727578;
	--progress-bar-fill:#151515;
	--code-bg-color:#e8eff2;
    }
}

@media only screen and (max-width: 850px) {
    :root {
        --global-font-size: 14px;
        --global-font-color: #444;
        --global-line-height: 1.6em;
        --page-width: 70em;
    }
}

/* INIZIO MIO CODICE */

.my-center {
  margin: 10px auto 20px;
    display: block;
}

.mygreek {
    font-family: 'Alkaios'; 
    font-size: 23px;
  }


/* 16/10/2026 19:59 – Claude: sostituita la vecchia stringa di "." (l'ultimo puntino restava spesso tagliato).
   Sottolineatura a puntini dei titoli: disegnata come sfondo e non con una stringa di "." tagliata
   dall'overflow, così "round" adatta di poco la spaziatura e l'ultimo puntino è sempre intero */
h1::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:22px;
    height:5px;
    background-image:radial-gradient(circle, #62c4ff 1.6px, transparent 2.1px);
    background-size:6px 5px;
    background-position:left center;
    background-repeat:round no-repeat;
    display:var(--display-h1-decoration);
}


.intro_container { 
    display: flex;
    flex-direction: row;
  }

  .column {
    flex: 50%;
  }

/* FINE MIO CODICE*/




.sidebar-heading {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 400;
}

.box-masonry .box-masonry-image {
    background: #fff;
}

.box-masonry,
.box-masonry:hover {
    box-shadow: none;
}

.label {
    font-family: var(--font-stack);
}

body {
    font-family: var(--font-stack);
    font-size: var(--global-font-size);
    background-color: var(--background-color);
    margin-bottom: 75px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: var(--font-stack);
    clear: both;
}

h1 {
    font-size: 24px !important;
    margin-bottom: 150px;
}

h2 {
    font-size: 22px !important;
    margin-bottom: 0px;
    margin-top: 20px;
}

.content-column-content p,
.content-column-content li {
    color: #666;
}

.btn-ghost {
    color: #666;
    background-color: transparent;
    border-color: #333;
    font-weight: 400;
    font-family: var(--font-stack);
    padding: 6px 12px;
    font-size: 18px;
    line-height: 1.55;
    border-radius: 0;
    margin-left: 0;
    margin-top: 5px;
}

.content-column-content .command {
    color: #aaa;
}

p.social a {
    margin: 0 0 10px 0;
    color: #fff;
    display: inline-block;
    width: 30px;
    height: 30px;
    border: none;
    line-height: 30px;
    font-size: 25px;
    text-align: center;
    vertical-align: bottom;
    color: #999999;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.active a {
    text-decoration: underline;
}

strong {
    font-weight: bold;
}

.logo {
    font-weight: normal;
}

.terminal-menu li {
    margin-right: 30px;
}

figure {
    margin-top: 15px;
    margin-bottom: 15px;
    margin-left: 60px;
    margin-right: 60px;
}

.footer {
    clear: both;
    margin-top: 100px;
    padding-top: 10px;
    border-top: 1px solid var(--secondary-color);
    color: var(--global-font-color);
}

.image-grid {
    display: grid;
    grid-template-rows: auto;
    display: grid;
    grid-gap: 1em;
    grid-template-rows: auto;
    grid-template-columns: repeat(
        auto-fit,
        minmax(calc(var(--page-width) / 4), 1fr)
    );
}

.terminal-prompt::after {
    -webkit-animation: cursor 1s infinite;
    animation: cursor 1s infinite;
    width: 0px;
}

.terminal-prompt::before {
    content: none;
}

.gallery-image {
    margin-top: 10px;
    margin-bottom: 10px;
}

.posts-list {
    position: relative;
    padding-left: 130px;
    top: 0;
}

.post h1,
.post h2 {
    padding-top: 0;
    margin: 0;
    margin-bottom: 5px;
}

.posts-list .date {
    display: inline-block;
    position: absolute;
    left: 0px;
    width: 130px;
    z-index: 400;
    padding-top: 0;
}

@media only screen and (max-width: 850px) {
    .site-name {
        width: 2ch;
        overflow: hidden;
        display: inline-block;
    }

    .terminal-nav {
        align-items: flex-start;
        flex-direction: column;
        display: flex;
    }

    .terminal-menu ul {
        align-items: flex-start;
        display: flex;
        flex-direction: row;
        justify-content: left;
        margin-top: 0;
    }

    .terminal-menu li {
        margin-right: 20px;
    }

    .logo {
        padding: calc(var(--global-space) * 1) 0 calc(var(--global-space) * 1);
    }

    figure {
        margin-top: 5px;
        margin-bottom: 5px;
        margin-left: 30px;
        margin-right: 30px;
    }

    .posts-list {
        position: relative;
        padding-left: 0;
        top: 0;
    }

    .post h1,
    .post h2 {
        padding-top: 0;
    }

    .posts-list .date {
        display: inline-block;
        position: absolute;
        left: 0px;
        width: 150px;
        z-index: 400;
        font-weight: bold;
        padding-top: 0;
        display: none;
    }

    /*
    .footer {
        margin-top: 50px;
        padding-top: 5px;
    }
    */
}

.publication-title {
    font-size: 1.1em;
    margin-bottom: 0.2em;
    margin-top: 1.5em;
    font-weight: bold;
}

.publication-links {
    font-size: 0.8em;
    margin-top: 0;
    margin-bottom: 1.5em;
    color: var(--secondary-color);
}

.publication-links a {
    color: var(--secondary-color);
}

.publication-links a:hover {
    color: var(--primary-color);
}

/* Publication styles */
h4 {
    font-size: 1.1em;
    margin-bottom: 0.2em;
    margin-top: 1.5em;
}

h4 + p, h4 + p + p {
    font-size: 0.8em;
    color: var(--secondary-color);
    margin-top: 0;
}

h4 + p {
    margin-bottom: 0.2em;
}

h4 + p + p a {
    color: var(--secondary-color);
    text-decoration: none;
}

h4 + p + p a:hover {
    color: var(--font-color);
    text-decoration: underline;
}

/* Add these new rules for code blocks */
pre {
    position: relative;
    padding: 1em;
    background-color: var(--code-bg-color);
    overflow-x: auto;
}

pre code {
    display: block;
    background: none;
    white-space: pre;
    overflow-x: auto;
    max-width: 100%;
    min-width: 100px;
    padding: 0;
}

/* Hide backticks in code blocks and inline code */
.highlight::before,
.highlight::after,
code::before,
code::after {
    display: none;
}

/* Style for inline code */
code {
    background-color: var(--code-bg-color);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
    color: var(--font-color);
}

/* Don't apply inline code styling to code blocks */
pre code {
    background: none;
    padding: 0;
    border-radius: 0;
}

/* ---------- Selettore lingua ---------- */
/* 16/10/2026 18:54 – Claude: stili del nuovo selettore "it | en" (sostituisce il menu a tendina, vedi layouts/_default/baseof.html).
   Lingua corrente evidenziata col colore primario, l'altra come link; su mobile va sotto il menu.
   scrollbar-gutter: stable riserva lo spazio della barra di scorrimento, così il menu non si sposta tra pagine corte e lunghe. */
html {
    scrollbar-gutter: stable;
}

.lang-switch {
    display: inline-flex;
    align-items: stretch;
    align-self: center;
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: 2em;
    margin-top: calc(var(--global-space) * 2);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    overflow: hidden;
    font-family: var(--mono-font-stack);
    font-size: 0.8em;
    line-height: 1;
    text-transform: lowercase;
    letter-spacing: 0.05em;
}

.lang-switch a,
.lang-switch .lang-current {
    padding: 5px 10px;
    text-decoration: none;
}

.lang-switch a {
    color: var(--secondary-color);
    background: transparent;
    transition: color 0.15s ease-out, background-color 0.15s ease-out;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
    color: var(--font-color);
    background: var(--code-bg-color);
    text-decoration: none;
}

.lang-switch .lang-current {
    color: var(--background-color);
    background: var(--primary-color);
    font-weight: 600;
    cursor: default;
}

.lang-switch > * + * {
    border-left: 1px solid var(--secondary-color);
}

@media only screen and (max-width: 850px) {
    .lang-switch {
        align-self: flex-start;
        margin: 10px 0 0 0;
    }
}

/* ---------- Blocco di avviso ---------- */
/* 16/10/2026 20:36 – Claude: stile dello shortcode {{< avviso >}} (layouts/shortcodes/avviso.html),
   usato per l'indicazione introduttiva della pagina delle pubblicazioni. */
.avviso {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 10px 0 30px 0;
    padding: 12px 16px;
    border: 1px solid var(--primary-color);
    border-left-width: 4px;
    border-radius: 4px;
    background: rgba(98, 196, 255, 0.08);
    color: var(--font-color);
}

.avviso-icona {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--background-color);
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
}

.avviso-testo,
.avviso-testo p {
    margin: 0;
    color: var(--font-color);
}
