/*
Theme Name: Exam Portal
Theme URI: https://portaleesami.it
Author: Marco Perugini
Description: Tema custom basato su Tailwind CSS per portale esami professionali.
Version: 1.0
Tags: custom, tailwind, educational, professional
*/

/* 1. Reset e Base Tipografica */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 2. Integrazione con Gutenberg (Editor WordPress) */
/* Questa sezione assicura che ciò che vedi nell'editor sia simile a ciò che vede l'utente */
.wp-block {
    max-width: 100%;
}

/* 3. Stile dei componenti Prose (Typography) */
/* Tailwind @tailwindcss/typography genera classi .prose. 
   Qui personalizziamo il look dei contenuti articoli */
.prose {
    color: #444651; /* on-surface-variant */
}

.prose h1, .prose h2, .prose h3 {
    color: #0b1c30; /* on-surface */
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
}

.prose a {
    color: #00236f; /* primary */
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.prose a:hover {
    color: #006c49; /* secondary */
}

.prose blockquote {
    border-left: 4px solid #00236f; /* primary */
    background-color: #eff4ff; /* surface-container-low */
    padding: 1rem;
    font-style: italic;
}

/* 4. Effetti di transizione Globali */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* 5. Utility per le immagini (es. Shadow Hover) */
.hover-shadow {
    transition: box-shadow 0.3s ease-in-out;
}

.hover-shadow:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* 6. Fix specifici per Sidebar dinamiche */
.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #444651;
}

.widget li a:hover {
    color: #00236f;
}