/*
Theme Name: Happyresto
Theme URI: https://happyresto.ch
Author: Happyresto
Author URI: https://happyresto.ch
Description: Thème WordPress premium pour Happyresto — Agence digitale spécialisée dans la conception de sites web pour restaurateurs et hôteliers.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: happyresto
Tags: custom-logo, custom-menu, featured-images, theme-options, one-column, two-columns
*/

/* ============================================================
   ENTRY CONTENT — Extended formatting for AI Writer articles
   (completes custom.css base .entry-content styles)
   ============================================================ */

/* Heading hierarchy */
.entry-content h1 {
    font-size: 1.875rem;
    font-weight: 800;
    color: #0f172a;
}

.entry-content h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: #0f172a;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.entry-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0f172a;
}

.entry-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

/* Bold / Strong */
.entry-content strong {
    color: #0f172a;
    font-weight: 700;
}

/* Lists — restore bullets/numbers (Tailwind resets them) */
.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content li {
    margin-bottom: 0.4rem;
}

.entry-content li>ul,
.entry-content li>ol {
    margin-top: 0.4rem;
    margin-bottom: 0;
}

/* Tables */
.entry-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    font-size: 0.875rem;
    border: 1px solid #e2e8f0;
}

.entry-content thead {
    background: #f8fafc;
}

.entry-content th {
    text-align: left;
    padding: 0.65rem 0.85rem;
    font-weight: 600;
    color: #334155;
    font-size: 0.8rem;
}

.entry-content td {
    padding: 0.65rem 0.85rem;
    border-top: 1px solid #f1f5f9;
    color: #475569;
}

.entry-content tr:hover td {
    background: #f8fafc;
}

/* Horizontal rule */
.entry-content hr {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 2rem 0;
}

/* ============================================================
   SIDEBAR WIDGETS — Styling for blog-sidebar widgets
   ============================================================ */
.sidebar .sidebar-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar .sidebar-widget-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 1rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar .sidebar-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar .sidebar-widget li {
    margin-bottom: 0.4rem;
}

.sidebar .sidebar-widget li a {
    color: #475569;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.sidebar .sidebar-widget li a:hover {
    color: #2563eb;
}