/*
Theme Name: CheRetã.es V9 Integrado
Theme URI: https://chereta.es/
Description: V9 de CheRetã.es conectado con el plugin CheRetã.es Core y el módulo CheRetã.es Comunidad. Conserva la portada V9 y sustituye el directorio de demostración por datos reales de WordPress.
Version: 1.3.4
Author: CheRetã.es
Text Domain: chereta
*/


/* v1.2.1 — destacados pegados al hero y sin etiqueta redundante */
#chereta-destacados-real{padding-top:8px}
#chereta-destacados-real .chereta-home-featured{margin-top:0}
#chereta-destacados-real .chereta-home-featured-head .chereta-eyebrow{display:none}
@media(max-width:760px){#chereta-destacados-real{padding-top:6px}#chereta-destacados-real .chereta-home-featured{margin-top:0;padding-top:0}}


/* 1.2.6 — panel interno de revisión de clasificados */
.classified-review-grid{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(320px,1.1fr);gap:18px}
.classified-review-image{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#f4f7fb;min-height:220px;display:flex;align-items:center;justify-content:center}
.classified-review-image img{width:100%;height:100%;min-height:220px;object-fit:cover;display:block}
.classified-review-placeholder{font-size:48px;opacity:.45}
.classified-review-copy{border:1px solid var(--line);border-radius:16px;padding:18px;background:#fff}
.classified-review-copy h3{margin:0 0 8px;font-size:22px}
.classified-review-copy .review-meta{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}
.classified-review-copy .review-meta span{background:#f3f6fa;border:1px solid var(--line);border-radius:999px;padding:6px 9px;font-size:10px;font-weight:800;color:#52657d}
.classified-review-description{white-space:pre-wrap;line-height:1.7;font-size:13px;color:#33445a;margin:12px 0 18px}
.classified-review-contact{background:#f7f9fc;border-radius:12px;padding:12px;font-size:12px;line-height:1.65}
.classified-review-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.classified-review-actions .btn{cursor:pointer}
@media(max-width:760px){.classified-review-grid{grid-template-columns:1fr}.classified-review-image,.classified-review-image img{min-height:190px}.classified-review-copy{padding:14px}}


/* 1.3.3 — identidad visual de páginas interiores */
.chereta-inner-brand{width:100%;background:#fff;border-bottom:1px solid #dfe7f1;padding:14px 18px;display:flex;align-items:center;justify-content:center;position:relative;z-index:50;box-shadow:0 4px 16px rgba(8,35,74,.05)}
.chereta-inner-brand a{display:inline-flex;align-items:center}.chereta-inner-brand img{display:block;width:min(265px,72vw);height:auto;max-height:63px;object-fit:contain}
body.page .entry-title,body.page .page-title{display:none!important}
body.page .entry-header:has(.entry-title),body.page .page-header:has(.page-title){display:none!important}
@media(max-width:600px){.chereta-inner-brand{padding:10px 14px}.chereta-inner-brand img{width:min(220px,72vw)}}

/* v1.3.3 — carga de imágenes desde dispositivo */
.chereta-upload-box{display:flex!important;flex-direction:column;gap:8px!important;padding:18px!important;border:2px dashed #b8cfc0!important;border-radius:16px!important;background:#f7fbf8!important;cursor:pointer!important;position:relative;min-height:130px;justify-content:center;align-items:center;text-align:center}.chereta-upload-box:hover{border-color:#176b54!important;background:#f1f8f3!important}.chereta-upload-box input[type=file]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important}.chereta-upload-box .upload-title{font-weight:850;font-size:17px;color:#17352b}.chereta-upload-box .upload-help{font-size:13px;color:#66756d}.chereta-upload-box .upload-preview{display:flex;align-items:center;justify-content:center;width:min(100%,320px);height:120px;border-radius:12px;background:#eaf2ec center/cover no-repeat;color:#789083;font-size:12px;font-weight:700}.chereta-upload-box .upload-preview.has-image{color:transparent}
.chereta-inner-brand{display:flex;justify-content:center;padding:18px 20px 4px}.chereta-inner-brand img{display:block;width:auto;height:64px;max-width:220px;object-fit:contain}.chereta-inner-brand a{display:inline-flex}.chereta-directory-heading{display:none!important}
@media(max-width:600px){.chereta-inner-brand{padding:14px 15px 2px}.chereta-inner-brand img{height:52px;max-width:190px}}

.chereta-upload-box .upload-select{pointer-events:none!important;min-width:150px}

/* 1.3.5: en páginas interiores el logo no ocupa una franja superior propia.
   Si el encabezado del contenido ya tiene marca, se usa el logotipo como identidad compacta. */
.chereta-inner-brand{display:none!important}
.chereta-inner-brand + *{}
@media(min-width:761px){
  .site-header .site-branding img,.site-header .custom-logo,.site-branding img{max-height:54px;width:auto}
}
