/* RESET E BASE */
* { box-sizing: border-box; }
body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    background-color: #e6e6e6; /* Sfondo grigio esterno tipico */
    background-image: url('https://www.transparenttextures.com/patterns/stardust.png'); /* Texture stellata opzionale */
    color: #333;
    font-size: 15px;
    line-height: 1.6;
}

a { text-decoration: none; color: #6a0d91; transition: color 0.3s; }
a:hover { color: #d32f2f; }
h1, h2, h3 { font-family: 'Georgia', serif; color: #444; margin-top: 0; }

/* LAYOUT BOXED (Il "foglio" centrale) */
#page {
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    position: relative;
}

/* HEADER */
header#masthead {
    background: #fff;
    padding: 0;
}

.site-branding {
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #6a0d91; /* Linea viola sotto header */
}

.site-title {
    font-size: 36px;
    margin: 0;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.site-title a { color: #6a0d91; }

.site-description {
    color: #777;
    font-size: 13px;
    margin-top: 5px;
}

/* NUMERO TESTATA (Tipico cartomanzia) */
.header-phone-box {
    text-align: right;
}
.chiama-ora-label {
    display: block;
    font-size: 13px;
    color: #666;
    text-transform: uppercase;
}
.numero-gigante {
    font-size: 32px;
    font-weight: bold;
    color: #d32f2f;
    font-family: Arial, sans-serif;
    background: #ffffcc; /* Sfondo giallino evidenziatore */
    padding: 5px 10px;
    border: 1px dashed #d32f2f;
    border-radius: 4px;
}

/* MENU NAVIGAZIONE */
#site-navigation {
    background: #333;
    color: #fff;
    clear: both;
}

#site-navigation ul {
    margin: 0;
    padding: 0 20px;
    list-style: none;
    display: flex;
}

#site-navigation li { position: relative; }

#site-navigation a {
    display: block;
    padding: 15px 20px;
    color: #eee;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

#site-navigation a:hover {
    background: #555;
    color: #fff;
}

/* STRUTTURA CONTENUTI (2 COLONNE) */
#content {
    display: flex;
    padding: 40px;
    gap: 40px;
}

#primary {
    flex: 7; /* 70% larghezza */
}

#secondary {
    flex: 3; /* 30% larghezza */
    border-left: 1px solid #eee;
    padding-left: 20px;
}

/* ARTICOLI */
.hentry {
    margin-bottom: 40px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 30px;
}

.entry-header h2 {
    font-size: 26px;
    margin-bottom: 10px;
}
.entry-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 15px;
    font-style: italic;
}
.entry-content {
    text-align: justify;
}
.read-more-btn {
    background: #6a0d91;
    color: #fff;
    padding: 8px 15px;
    font-size: 12px;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 15px;
    border-radius: 3px;
}
.read-more-btn:hover { background: #500a6f; color: #fff; }

/* SIDEBAR WIDGETS */
.widget {
    margin-bottom: 30px;
}
.widget-title {
    font-size: 16px;
    text-transform: uppercase;
    border-bottom: 2px solid #6a0d91;
    padding-bottom: 10px;
    margin-bottom: 15px;
    color: #333;
}
.widget ul {
    list-style: none;
    padding: 0;
}
.widget li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}

/* BOX CARTOMANTI */
.cartomante-box {
    background: #fdfdfd;
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}
.cartomante-status {
    color: green;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
}

/* FOOTER */
#colophon {
    background: #222;
    color: #aaa;
    padding: 40px;
    text-align: center;
    font-size: 13px;
    border-top: 5px solid #333;
}

/* RESPONSIVE */
@media (max-width: 800px) {
    #content { flex-direction: column; padding: 20px; }
    #secondary { border-left: none; padding-left: 0; margin-top: 30px; border-top: 1px solid #eee; padding-top: 30px;}
    .site-branding { flex-direction: column; text-align: center; }
    .header-phone-box { margin-top: 20px; }
    #site-navigation ul { flex-direction: column; }
    #site-navigation a { border-bottom: 1px solid #444; }
}