/*
Theme Name: Elementra Child Theme
Template: elementra
Theme URI: https://elementra.themerex.net/
Description: Elementra Child Theme
Author: ThemeREX
Author URI: https://themerex.net/
Version: 1.0
Tested up to: 6.7
Requires at least: 5.0
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, e-commerce, portfolio, grid-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, footer-widgets, full-width-template, microformats, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
Text Domain: elementra
*/


/* =Child-Theme customization starts here
------------------------------------------------------------ */

.bottone-ref {
    display: inline-block;
    padding: 12px 22px;
    background-color: #0a1f44; /* blu navy */
    color: #ffffff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.25s ease;
}

.bottone-ref:hover {
    background-color: #0f2d63;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

.badge-tech{
  --size: 50px;
  --bg: #ff0000;
  --main-text: "R";
  --sub-text: "Rame";

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--bg);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  line-height: 1;
  flex-shrink: 0;
}

/* Lettera principale */
.badge-tech::before{
  content: var(--main-text);
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -1px;
}

/* Testo sotto */
.badge-tech::after{
  content: var(--sub-text);
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 8px;
  font-weight: 700;
  line-height: 1.1;
  width: 90%;
  white-space: pre-line;
}

/* ======================
   Varianti
====================== */

.badge-rame{
  --bg:#e60000;
  --main-text:"R";
  --sub-text:"Rame";
}

.badge-radio{
  --bg:#e60000;
  --main-text:"R";
  --sub-text:"Radio";
}

.badge-fr-rame{
  --bg:#f4b400;
  --main-text:"FR";
  --sub-text:"Misto\AFibra-Rame";
}

.badge-fr-radio{
  --bg:#f4b400;
  --main-text:"FR";
  --sub-text:"Misto\AFibra-Radio";
}

.badge-fibra{
  --bg:#1aa64b;
  --main-text:"F";
  --sub-text:"Fibra";
}

/* Piccolo aggiustamento per FR */
.badge-fr-rame::before,
.badge-fr-radio::before{
  font-size:18px;
  top:6px;
}

.badge-fr-rame::after,
.badge-fr-radio::after{
  font-size:7px;
}
