/*!
 * FCRF-42Firenze – base.css
 * Base styles: tokens, typography, global elements.
 * Note: this file is enqueued via functions.php (not a WP theme header).
 * Version: handled by FCRF_THEME_VERSION in functions.php
 */

 /* IMPOSTAZIONI GENERALI
-------------------------------------*/

/* rendere visibile navbar con admin-bar */
/* .admin-bar .navbar { top: 32px; } */

body{
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  font-family: "futura-pt", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1.3;
  color: #1b1b1b;
  background: #fff;
}


body.page-trasp-no-thumb .page-trasp-top {
  margin-top: -8rem;
  padding-top: 10rem;
  padding-bottom: 1.5rem;
  background:
    radial-gradient(800px circle at 15% 30%, rgba(0,220,255,.22), transparent 60%),
    radial-gradient(600px circle at 92% 42%, rgba(236,51,145,.18), transparent 58%),
    radial-gradient(850px circle at 50% 82%, rgba(120,120,255,.16), transparent 65%),
    #020202;
}

body.admin-bar.page-trasp-no-thumb .page-trasp-top {
  margin-top: calc(-8rem + 32px);
  padding-top: calc(10rem - 32px);
}

@media (max-width: 782px) {
  body.admin-bar.page-trasp-no-thumb .page-trasp-top {
    margin-top: calc(-8rem + 46px);
    padding-top: calc(10rem - 46px);
  }
}

a {
  color:#1b1b1b;
}

/* grassetto nel testo */
b, strong {
  font-weight: 500;
}

/* titoli */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  color: #1b1b1b;
}

.text-dark h1,
.text-dark h2,
.text-dark h3,
.text-dark h4,
.text-dark h5,
.text-dark h6 {
  color: inherit;
}

/* grassetto nei titoli */
:is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
  font-weight: 700;
}


.h-100 a:hover { text-decoration: none !important; }

.main-content input:not(.form-control):focus,
.main-content textarea:not(.form-control):focus {
  outline: 2px solid rgba(255,255,255,0.6);
  outline-offset: 2px;
}

hr { opacity: 1 !important; }

.margine-negativo {
  margin-top: -143px;
}

/* HELPERS
-------------------------------------*/

 .modal-backdrop {z-index:inherit;}


/* UTILITIES
-------------------------------------*/

blockquote {
  margin: 0 2rem 3rem;
  padding-left: 1rem;
  font-style: italic;
  border-left: 2px solid #575757;
}


/* STILE GENERALE WordPress
-------------------------------------*/

.post img {
  max-width: 100%;
  height: auto;
}


/* WordPress Core styles
-------------------------------------*/

.bypostauthor {
  border-left: 3px solid #ddd;
  padding-left: 20px;
}

.gallery-caption {
  padding: 5px;
  font-size: 14px;
  line-height: 22px;
}

/* Alignment classes (legacy + compat) */
.aligncenter,
div.aligncenter {
  display: block;
  margin: 5px auto;
}

.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

/* Captions */
.wp-caption {
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
  background: transparent; /* evita box bianco inatteso */
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 15px 4px 5px;
}

/* Text meant only for screen readers */
.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;
}

.screen-reader-text:focus {
  background-color: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
