/*
Theme Name: El plancito Theme
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: Kadence Theme is a lightweight yet full featured WordPress theme for creating beautiful fast loading and accessible websites, easier than ever. It features an easy to use drag and drop header and footer builder to build any type of header in minutes. It features a full library of gorgeous starter templates that are easy to modify with our intelligent global font and color controls. With extensive integration with the most popular 3rd party plugins, you can quickly build impressive ecommerce websites, course websites, business websites, and more.
Tags: translation-ready,accessibility-ready,two-columns,right-sidebar,left-sidebar,footer-widgets,blog,custom-logo,custom-background,custom-menu,rtl-language-support,editor-style,threaded-comments,custom-colors,featured-images,wide-blocks,full-width-template,theme-options,e-commerce
Version: 1.0.0
Updated: 2026-04-03 00:26:39

*/

.main-navigation .primary-menu-container > ul > li.menu-item > a {
    color: #fff;
}

.site-branding .site-title {
    color: #fff;
}

.main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a {
    color: #fff;
}

/* --- Pie El Plancito (edita en partials/footer-site.php + aquí los estilos) --- */
.elplancito-footer {
    background-color: #0f0f0f;
    color: #fff;
    margin-top: auto;
}

.elplancito-footer a {
    color: #fff;
    text-decoration: none;
}

.elplancito-footer a:hover,
.elplancito-footer a:focus {
    text-decoration: underline;
    opacity: 0.9;
}

.elplancito-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.elplancito-footer__title {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.elplancito-footer__tagline {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 36rem;
    line-height: 1.5;
}

.elplancito-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1.25rem;
}

.elplancito-footer__menu a {
    font-size: 0.95rem;
}

.elplancito-footer__bottom {
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    width: 100%;
    max-width: 36rem;
}

.elplancito-footer__copy {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}

.elplancito-footer__copy a {
    color: rgba(255, 255, 255, 0.75);
}

/* --- Entry hero: imagen destacada (template-parts/content/entry_hero.php) --- */
.entry-hero-container-inner.elplancito-entry-hero--has-bg {
    background-repeat: no-repeat !important;
    background-size: cover !important;
    /* Móvil: prioriza la parte superior del encuadre (retratos, logos) */
    background-position: center top !important;
    background-attachment: scroll !important;
    min-height: clamp(12rem, 42vw, 20rem) !important;
}

@media screen and (min-width: 768px) {
    .entry-hero-container-inner.elplancito-entry-hero--has-bg {
        min-height: clamp(13rem, 30vw, 24rem) !important;
        background-position: center 38% !important;
    }
}

@media screen and (min-width: 1025px) {
    .entry-hero-container-inner.elplancito-entry-hero--has-bg {
        min-height: clamp(14rem, 18vw, 26rem) !important;
        background-position: center center !important;
    }
}

/* Evita recortes raros en pantallas muy bajas (landscape móvil) */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .entry-hero-container-inner.elplancito-entry-hero--has-bg {
        min-height: clamp(9rem, 55vh, 14rem) !important;
        background-position: center center !important;
    }
}

/* --- Home (front-page.php → partials/home/) --- */
.elplancito-home .content-wrap {
    max-width: 100%;
}

.elplancito-home-hero {
    padding: clamp(2rem, 6vw, 4.5rem) 0;
    margin-bottom: 2rem;
}

.elplancito-home-hero__inner {
    max-width: 40rem;
}

.elplancito-home-hero__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    line-height: 1.15;
}

.elplancito-home-hero__subtitle {
    margin: 0 0 1.5rem;
    font-size: 1.1rem;
    line-height: 1.55;
    opacity: 0.88;
}

.elplancito-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.elplancito-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
}

.elplancito-home-btn--primary {
    background: #0f0f0f;
    color: #fff;
    border-color: #0f0f0f;
}

.elplancito-home-btn--primary:hover {
    opacity: 0.9;
    color: #fff;
}

.elplancito-home-btn--ghost {
    background: transparent;
    color: inherit;
    border-color: currentColor;
}

.elplancito-home-section {
    margin: 3rem 0;
}

.elplancito-home-section__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 1.25rem;
}

.elplancito-home-section__title {
    margin: 0;
    font-size: 1.35rem;
}

.elplancito-home-section__more {
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    border-bottom: 2px solid currentColor;
}

.elplancito-home-section__more:hover {
    opacity: 0.85;
}

.elplancito-home-section[id],
.elplancito-home-section--hoy,
.elplancito-home-section--weekend,
.elplancito-home-section--events,
.elplancito-home-section--promos,
.elplancito-home-section--places {
    scroll-margin-top: 6rem;
}

.elplancito-home-empty {
    margin: 0;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    background: #f4f4f4;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Página /sin-algoritmo: un evento al azar, bloque grande */
.elplancito-sin-algoritmo-page .elplancito-sin-algoritmo {
    margin: 2rem 0 3rem;
}

.elplancito-sin-algoritmo__intro {
    text-align: center;
    margin-bottom: 1.75rem;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.elplancito-sin-algoritmo__kicker {
    margin: 0 0 0.35rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0.65;
}

.elplancito-sin-algoritmo__heading {
    margin: 0;
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    font-weight: 600;
    line-height: 1.3;
}

.elplancito-sin-algoritmo__hero {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #1a1a1a;
    color: #fff;
    min-height: min(72vh, 720px);
    display: grid;
    align-items: end;
}

.elplancito-sin-algoritmo__hero-media {
    position: absolute;
    inset: 0;
}

.elplancito-sin-algoritmo__hero-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.elplancito-sin-algoritmo__hero-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.elplancito-sin-algoritmo__hero-inner {
    position: relative;
    z-index: 1;
    padding: clamp(1.5rem, 4vw, 2.75rem);
    max-width: 44rem;
}

.elplancito-sin-algoritmo__label {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.75;
}

.elplancito-sin-algoritmo__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.85rem, 5.5vw, 3.15rem);
    font-weight: 700;
    line-height: 1.12;
}

.elplancito-sin-algoritmo__title a {
    color: inherit;
    text-decoration: none;
}

.elplancito-sin-algoritmo__title a:hover,
.elplancito-sin-algoritmo__title a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.elplancito-sin-algoritmo__meta {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.45;
    opacity: 0.92;
}

.elplancito-sin-algoritmo__excerpt {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.55;
    opacity: 0.9;
}

.elplancito-sin-algoritmo__cta {
    margin-top: 1.5rem;
}

.elplancito-sin-algoritmo--empty .elplancito-home-empty {
    text-align: center;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.elplancito-home-posts__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.elplancito-home-posts__link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.elplancito-home-posts__thumb {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 6px;
}

.elplancito-home-posts__thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.elplancito-home-posts__meta {
    display: block;
    font-size: 0.8rem;
    opacity: 0.65;
    margin: 0.5rem 0 0.25rem;
}

.elplancito-home-posts__title {
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.elplancito-home-cta {
    margin: 3rem 0 1rem;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    background: #f4f4f4;
}

.elplancito-home-cta__inner {
    max-width: 36rem;
}

.elplancito-home-cta__title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
}

.elplancito-home-cta__text {
    margin: 0 0 1.25rem;
    line-height: 1.5;
}

.elplancito-home-social {
    margin: 3.5rem 0 1rem;
    padding: 2rem 0 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.elplancito-home-social__heading {
    margin: 0 0 1.5rem;
    font-size: 1.35rem;
    text-align: center;
}

.elplancito-home-social__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.elplancito-home-social__card {
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.elplancito-home-social__card-title {
    margin: 0;
    font-size: 1.05rem;
    color: #fff;
}

.elplancito-home-social__card-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.88;
    flex-grow: 1;
}

.elplancito-footer .elplancito-home-social {
    margin: 1rem 0 0;
    padding-top: 1.5rem;
    border-top-color: rgba(255, 255, 255, 0.12);
    width: 100%;
}

.elplancito-footer .elplancito-home-social__heading {
    color: #fff;
}

.elplancito-footer .elplancito-home-social__card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.16);
}

.elplancito-footer .elplancito-home-social__card-text {
    color: rgba(255, 255, 255, 0.82);
}

.entry-title {
    color: #fff !important;
}

.elplancito-event-cta {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Detalle del evento (entry_content-elplancito_event.php) */
.elplancito-event-detail__schedule {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

@media screen and (min-width: 600px) {
    .elplancito-event-detail__schedule {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.elplancito-event-detail__heading {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.elplancito-event-detail__dl {
    margin: 0;
}

.elplancito-event-detail__row {
    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 0.5rem 1rem;
    align-items: baseline;
    margin: 0 0 0.4rem;
}

.elplancito-event-detail__row dt {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.75;
}

.elplancito-event-detail__row dd {
    margin: 0;
    font-size: 0.95rem;
}
