body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: #f5f5f5;
    color: #222;
    margin: 0;
    padding: 0;
}

header {
    background: #fff;
    border-bottom: 2px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

header nav ul > li {
    position: relative;
}

header nav ul > li > a {
    display: block;
    padding: 1.1em 1.7em;
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background 0.2s, color 0.2s;
}

header nav ul > li > a:hover,
header nav ul > li > a:focus {
    background: #f0f8ff;
    color: #005f8a;
}

header nav ul ul {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0 0 8px 8px;
    min-width: 180px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

header nav ul > li:hover ul {
    display: block;
}

header nav ul ul li a {
    color: #0073aa;
    padding: 0.7em 1em;
    background: #fff;
    font-weight: normal;
    font-size: 1em;
}

header nav ul ul li a:hover {
    background: #f0f8ff;
}

main {
    max-width: 800px;
    margin: 2.5em auto;
    background: #fff;
    padding: 2.5em 2em 2em 2em;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border-radius: 10px;
}

h1 {
    font-size: 2.1em;
    font-weight: normal;
    margin-bottom: 1.2em;
    color: #0073aa;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 0.3em;
}

.receta-lista {
    border-bottom: 1px solid #eee;
    margin-bottom: 2.2em;
    padding-bottom: 1.2em;
}

.receta-lista h2 {
    margin: 0 0 0.2em 0;
    font-size: 1.4em;
    font-weight: normal;
    color: #222;
}

.receta-lista h2 a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.2s;
}

.receta-lista h2 a:hover {
    color: #005f8a;
    text-decoration: underline;
}

.receta-meta {
    color: #888;
    font-size: 0.95em;
    margin-bottom: 0.7em;
    font-style: italic;
}

.receta-lista p {
    font-size: 1.08em;
    line-height: 1.6;
    color: #444;
    margin: 0.5em 0 0.7em 0;
}

.leer-mas {
    display: inline-block;
    margin-top: 0.5em;
    color: #0073aa;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    border-bottom: 1px dotted #0073aa;
    transition: color 0.2s, border-color 0.2s;
}

.leer-mas:hover {
    color: #005f8a;
    border-bottom: 1px solid #005f8a;
}

.paginacion {
    margin-top: 2.5em;
    text-align: center;
}

.paginacion a {
    margin: 0 0.2em;
    padding: 0.35em 0.8em;
    color: #0073aa;
    text-decoration: none;
    border-radius: 3px;
    border: 1px solid #eee;
    background: #f8f8f8;
    font-size: 1.05em;
    transition: background 0.2s, color 0.2s;
}

.paginacion a.actual, .paginacion a:hover {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

footer {
    text-align: center;
    color: #888;
    font-size: 0.95em;
    margin: 2em 0 1em 0;
    background: none;
    border: none;
}

.buscador-animado {
    opacity: 0;
    max-width: 0;
    transform: translateX(30px) scaleX(0.8);
    overflow: hidden;
    transition: 
        opacity 0.35s cubic-bezier(.4,2,.6,1),
        max-width 0.45s cubic-bezier(.4,2,.6,1),
        transform 0.45s cubic-bezier(.4,2,.6,1);
    display: flex;
    align-items: center;
    margin-left: 0.5em;
    pointer-events: none;
}
.buscador-animado.visible {
    opacity: 1;
    max-width: 300px;
    transform: translateX(0) scaleX(1);
    pointer-events: auto;
}
#btn-buscar {
    transition: opacity 0.35s cubic-bezier(.4,2,.6,1);
}
#btn-buscar.oculto {
    opacity: 0;
    pointer-events: none;
}

.card-img-top {
    object-fit: cover;
    height: 200px;
    border-radius: 8px 8px 0 0;
    background: #f5f5f5;
}
.card-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}
.card-title a:hover {
    color: #b89d4a;
}
.receta-meta {
    font-size: 0.95em;
    color: #888;
}

.receta-lista-horizontal {
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding-bottom: 1.5em;
    margin-bottom: 2em;
    gap: 1.5em;
}
.receta-img-link {
    flex-shrink: 0;
    display: block;
    width: 180px;
    max-width: 180px;
}
.receta-img-horizontal {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    background: #f5f5f5;
    display: block;
}
.receta-info {
    flex: 1 1 0%;
}
@media (max-width: 768px) {
    .receta-lista-horizontal {
        flex-direction: column;
        gap: 0.7em;
    }
    .receta-img-link {
        width: 100%;
        max-width: 100%;
    }
    .receta-img-horizontal {
        max-width: 100%;
        height: auto;
    }
}

.admin-header {
    background: #545050 !important; /* Un amarillo suave, puedes cambiarlo */
    transition: background 0.3s;
}

.receta-meta i.fa {
    color: #888;
    margin-right: 0.2em;
}
.receta-meta .text-muted {
    font-size: 1em;
    color: #888 !important;
} 