/*
Theme Name: CioccolaTò
Theme URI: https://www.cioccola.to.it
Author: M. Isaia
Author URI: https://www.e23.it
Description: Tema di migrazione per pagine costruite originariamente con LiveCanvas (o visual builder simili che esportano HTML completo). Renderizza i contenuti grezzi senza filtri e fornisce solo lo scaffolding minimo (header con navbar e offcanvas, footer globale, template di archivio/ricerca/404) lasciando intatto il markup migrato. Basato su Bootstrap 5.3 (CDN) e Phosphor Icons; carica il font Fraunces da Google Fonts. Pensato per il sito di CioccolaTò e non per uso generico.
Version: 1.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: minihtml
Tags: custom-menu, translation-ready, bootstrap, livecanvas, migration, html, two-columns, right-sidebar
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&display=swap');

:root{
  --background: 255, 255, 255;
  --foreground: 0, 0, 0;
  --blue: #009abe;
  --orange: #f49812;
  --red: #e40521;
  --brown: #432920;
  --bs-primary: #ffffff;
  --bs-primary-rgb: 255, 255, 255;
  --bs-secondary: #432920;
  --bs-secondary-rgb: 67, 41, 32;
  --bs-success: #198754;
  --bs-success-rgb: 25, 135, 84;
  --bs-info: #0dcaf0;
  --bs-info-rgb: 13, 202, 240;
  --bs-warning: #ffc107;
  --bs-warning-rgb: 255, 193, 7;
  --bs-danger: #dc3545;
  --bs-danger-rgb: 220, 53, 69;
  --bs-light: #f8f9fa;
  --bs-light-rgb: 248, 249, 250;
  --bs-dark: #110E03;
  --bs-dark-rgb: 17, 14, 3;
  --bs-tertiary: #000000;
  --bs-tertiary-rgb: 0, 0, 0;
  --bs-blue: #1E3459;
  --bs-blue-rgb: 30, 52, 89;
  --bs-gray: #C0C0C0;
  --bs-gray-rgb: 192, 192, 192;
  --bs-gray-2: #E0E0E0;
  --bs-gray-2-rgb: 224, 224, 224;
}

a {
  text-decoration: none;
}

.text-background {
  color: rgb(var(--background));
}

body.admin-bar .navbar.fixed-top,
body.admin-bar .offcanvas.offcanvas-end {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar .navbar.fixed-top,
  body.admin-bar .offcanvas.offcanvas-end {
    top: 46px !important;
  }
}

@media screen and (max-width: 600px) {
  body.admin-bar .navbar.fixed-top,
  body.admin-bar .offcanvas.offcanvas-end {
    position: absolute;
  }
}
* {
	box-sizing: border-box;
	font-family: "Fraunces", serif;
  text-decoration: none;
  color:inherit
}

/* keep icon fonts intact (admin bar, etc.) */
.dashicons,
.dashicons-before::before,
.dashicons-before:before {
    font-family: "dashicons" !important;
}

i[class^="ph"],
i[class*=" ph"],
.ph,
.ph-bold,
.ph-thin,
.ph-light,
.ph-fill,
.ph-duotone {
    font-family: "Phosphor" !important;
}

body {
	padding-top: 72px;
}

.card.no-border{
	border:none;
}


a.underlined {
	text-decoration: 2px underline;
	text-underline-offset: 2px;
}

nav.navbar {
	height:72px;
}
.nav-item a img {
	display: none
}

.navbar-brand img {
	height:64px;
	width:64px;
	margin-top: -5px;
}

.masonry-columns {
	columns: 2;
	column-gap: 2rem;
}

/* tablet */
@media (min-width: 768px) {
	.masonry-columns {
		columns: 3;
	}
}

/* desktop */
@media (min-width: 1200px) {
	.masonry-columns {
		columns: 4;
	}
}

@media (min-width: 1200px) {
	.masonry-columns {
		columns: 4;
	}
}

/* safety: prevent splitting everywhere */
.masonry-columns>* {
	break-inside: avoid;
}

.btn-secondary{
	background-color: var(--brown);
}