/* Estilos de las páginas secundarias (blog, textos legales, gracias, 404).
   Su contenido conserva las clases del marcado de Odoo; aquí se reproducen esas clases con los
   valores medidos en el original. Se carga después de estilos.css. */

:root {
  --o-color-1: #fa6400;
  --o-color-3: #ebebeb;
  --o-color-5: #91c8d7;
  --400: #ced4da;
  --muted: rgba(0, 0, 0, .7);
  --fs-h1-48: min(48px, calc(1.425rem + 2.1vw));
  --fs-h2-40: min(40px, calc(1.375rem + 1.5vw));
  --fs-h5: min(24px, calc(1.275rem + .3vw));
}

/* ---------- Fuentes de iconos (descargadas del original) ---------- */
@font-face { font-family: FontAwesome; src: url("../fonts/fontawesome-webfont.woff2") format("woff2"); font-weight: normal; font-style: normal; font-display: block; }
@font-face { font-family: odoo_ui_icons; src: url("../fonts/odoo_ui_icons.woff2") format("woff2"); font-weight: normal; font-style: normal; font-display: block; }
.fa { display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased; }
.fa-fw { width: 1.28571429em; text-align: center; }
.fa-1x { font-size: 1em; }
.fa-2x { font-size: 2em; }
.fa-4x { font-size: 4em; }
.fa-clock-o::before { content: "\f017"; }
.fa-check::before { content: "\f00c"; }
.fa-check-circle::before { content: "\f058"; }
.fa-thumbs-up::before { content: "\f164"; }
.fa-map-marker::before { content: "\f041"; }
.fa-phone::before { content: "\f095"; }
.fa-envelope::before { content: "\f0e0"; }
.oi { display: inline-block; font-family: odoo_ui_icons; speak: never; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; }
.oi-search::before { content: "\e808"; }
.fa.rounded-circle { width: 1.75em; height: 1.75em; line-height: 1.75em; text-align: center; }

/* ---------- Tipografía y elementos base ---------- */
h1 { font-size: var(--fs-h1-48); }
h5, .h5 { font-size: var(--fs-h5); margin: 4px 0 16px; line-height: 1.2; font-weight: 500; }
h6, .h6 { font-size: 20px; margin: 4px 0 16px; line-height: 1.2; font-weight: 500; }
.h2 { font-size: var(--fs-h2); line-height: 1.2; font-weight: 500; margin: 4px 0 16px; }
.display-3-fs { font-size: var(--fs-d3); }
.h6-fs { font-size: 20px; }
main a[href]:not(.btn) { color: var(--o-color-1); text-decoration: none; }
main a[href]:not(.btn):hover { color: #ae4500; text-decoration: underline; }
main ul { margin: 0 0 16px; padding-left: 32px; }
.lead { font-size: 20px; font-weight: 300; }
.small, small { font-size: .875em; }
.table { width: 100%; margin-bottom: 16px; border-collapse: collapse; table-layout: fixed; vertical-align: top; caption-side: bottom; }
.table thead { vertical-align: bottom; }
.table > :not(caption) > * > * { padding: 12px; box-shadow: inset 0 0 0 9999px transparent; }
.table-bordered > :not(caption) > * { border-top: 1px solid rgba(0, 0, 0, .15); border-bottom: 1px solid rgba(0, 0, 0, .15); }
.table-bordered > :not(caption) > * > * { border-left: 1px solid rgba(0, 0, 0, .15); border-right: 1px solid rgba(0, 0, 0, .15); }
.table th { text-align: left; font-weight: 700; }
.table td, .table th { overflow-wrap: break-word; }

/* ---------- Rejilla adicional ---------- */
.row > .col { flex: 1 0 0%; width: auto; }
@media (min-width: 768px) {
  .col-md-3 { width: 25% !important; }
  .col-md-6 { width: 50% !important; }
}

/* ---------- Utilidades (Bootstrap 5 / Odoo) ---------- */
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-block { display: inline-block !important; }
.d-inline-flex { display: inline-flex !important; }
.flex-column { flex-direction: column !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-nowrap { flex-wrap: nowrap !important; }
.align-items-center { align-items: center !important; }
.justify-content-between { justify-content: space-between !important; }
.justify-content-end { justify-content: flex-end !important; }
.gap-2 { gap: 8px !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.top-0 { top: 0 !important; }
.start-0 { left: 0 !important; }
.overflow-hidden { overflow: hidden !important; }
.overflow-visible { overflow: visible !important; }
.pe-none { pointer-events: none !important; }
.w-100 { width: 100% !important; }
.w-50 { width: 50% !important; }
.w-25 { width: 25% !important; }
.h-100 { height: 100% !important; }
.mw-100 { max-width: 100% !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.me-auto { margin-right: auto !important; }
.ms-auto { margin-left: auto !important; }
.my-auto { margin-top: auto !important; margin-bottom: auto !important; }
.mx-n2 { margin-left: -8px !important; margin-right: -8px !important; }
.m-0 { margin: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 24px !important; }
.me-1 { margin-right: 4px !important; }
.me-2 { margin-right: 8px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-4 { margin-top: 24px !important; }
.mt-5 { margin-top: 48px !important; }
.my-0 { margin-top: 0 !important; margin-bottom: 0 !important; }
.my-3 { margin-top: 16px !important; margin-bottom: 16px !important; }
.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-2 { padding-left: 8px !important; padding-right: 8px !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-1 { padding-top: 4px !important; padding-bottom: 4px !important; }
.py-4 { padding-top: 24px !important; padding-bottom: 24px !important; }
.pe-2 { padding-right: 8px !important; }
.pe-3 { padding-right: 16px !important; }
.ps-2 { padding-left: 8px !important; }
.pt-2 { padding-top: 8px !important; }
.pt-4 { padding-top: 24px !important; }
.pb-0 { padding-bottom: 0 !important; }
.pb-2 { padding-bottom: 8px !important; }
.pb-4 { padding-bottom: 24px !important; }
.pb-5 { padding-bottom: 48px !important; }
/* espaciados de los bloques de Odoo: ptN / pbN = N px */
.pt0 { padding-top: 0 !important; } .pb0 { padding-bottom: 0 !important; }
.pt8 { padding-top: 8px !important; } .pb4 { padding-bottom: 4px !important; }
.pt16 { padding-top: 16px !important; } .pb16 { padding-bottom: 16px !important; }
.pt24 { padding-top: 24px !important; } .pb24 { padding-bottom: 24px !important; }
.pt32 { padding-top: 32px !important; } .pb32 { padding-bottom: 32px !important; }
.pt40 { padding-top: 40px !important; } .pb40 { padding-bottom: 40px !important; }
.pt48 { padding-top: 48px !important; } .pb48 { padding-bottom: 48px !important; }
.pt56 { padding-top: 56px !important; }
.pt72 { padding-top: 72px !important; }
.pt104 { padding-top: 104px !important; } .pb104 { padding-bottom: 104px !important; }
.text-center { text-align: center !important; }
.text-end { text-align: right !important; }
.text-start { text-align: left !important; }
.text-nowrap { white-space: nowrap !important; }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.text-uppercase { text-transform: uppercase !important; }
.text-decoration-none { text-decoration: none !important; }
.text-reset { color: inherit !important; }
.fw-bold { font-weight: 600 !important; }
.text-muted { color: var(--muted) !important; }
.text-primary, .text-o-color-1 { color: var(--o-color-1) !important; }
.bg-primary { background-color: var(--o-color-1) !important; }
.bg-light, .bg-o-color-3 { background-color: var(--o-color-3) !important; }
.bg-transparent { background-color: transparent !important; }
.border { border: 1px solid rgba(0, 0, 0, .15) !important; }
.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid rgba(0, 0, 0, .15) !important; }
.border-bottom { border-bottom: 1px solid rgba(0, 0, 0, .15) !important; }
.border-dark { border-color: var(--o-color-5) !important; }
.rounded { border-radius: 6.4px !important; }
.rounded-1 { border-radius: 4.8px !important; }
.rounded-circle { border-radius: 50% !important; }
.shadow { box-shadow: 0 8px 16px rgba(0, 0, 0, .15) !important; }
.shadow-sm { box-shadow: 0 2px 4px rgba(0, 0, 0, .075) !important; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.clearfix::after { display: block; clear: both; content: ""; }
.list-unstyled { padding-left: 0; list-style: none; }
.list-inline { padding-left: 0; list-style: none; }
.list-inline-item { display: inline-block; }

/* ---------- Combinaciones de color de Odoo ---------- */
.o_cc1 { background-color: #fff; }
.o_cc2 { background-color: var(--o-color-3); }
.o_cc4 { background-color: var(--o-color-1); color: #000; }

/* ---------- Bloques ---------- */
.s_hr hr { margin: 0; border: 0; border-top: 1px solid currentColor; opacity: 1; overflow: hidden; }
.s_title h1 strong { font-weight: 700; }
.s_text_highlight { padding: 24px; border-radius: 6.4px; }
.s_text_highlight .container { padding: 0; max-width: none; }
.o_text_highlight_item { display: inline; line-height: normal; padding-bottom: 6px;
  background: url("../shapes/subrayado-a-mano.svg") 0 0 / 100% 24px no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.o_we_shape { position: absolute; inset: 0; z-index: 0; pointer-events: none; background-repeat: no-repeat; background-size: 100%; overflow: hidden; }
.o_we_shape + .container { position: relative; z-index: 1; }
@media (max-width: 767.98px) { .o_we_shape { display: none; } }
.s_alert { display: block; padding: 15px; margin: 15px 0; border: 1px solid rgb(14, 97, 110); border-radius: 6.4px; }
.s_alert_icon { float: left; margin-right: 10px; line-height: 1; }
.s_alert_content { overflow: hidden; }
.s_alert_content p { margin: 2px 0 0; }

/* botón principal fuera y dentro de una combinación de color */
.btn-primary { color: #fff; border: 1px solid var(--o-color-1); }
.o_cc .btn-primary, .o_cc4 .btn-primary { color: var(--dark); border: 2px solid var(--dark); }
.btn-lg { padding: 8px 24px; font-size: 20px; line-height: 1.5; }
.btn-light { background: var(--o-color-3); border: 1px solid var(--o-color-3); color: var(--body); padding: 6px 20px; font-weight: 700; line-height: 1.5; cursor: pointer; }

/* ---------- Formularios del blog ---------- */
.navbar { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.website_blog > .navbar { background-color: var(--o-color-1); }   /* la barra de búsqueda continúa la banda naranja */
.navbar > .container { display: flex; flex-wrap: inherit; align-items: center; justify-content: space-between; }
.input-group { display: flex; flex-wrap: wrap; align-items: stretch; position: relative; width: 100%; }
.o_searchbar_form .input-group { margin: -15px 0 15px; }   /* medido en el original */
.input-group > .form-control { position: relative; flex: 1 1 auto; width: 1%; min-width: 0; }
.input-group > .btn { border-radius: 0 6.4px 6.4px 0; margin-left: -1px; }
.input-group > .form-control { border-radius: 6.4px 0 0 6.4px; }
.form-control { display: block; width: 100%; padding: 6px 12px; font: 400 16px/1.5 Ubuntu, sans-serif; color: var(--body); background: #fff; border: 1px solid rgba(33, 37, 41, .15); border-radius: 6.4px; }
.form-control.border-0 { border: 0 !important; }
.search-query { padding-right: 23px; }
.form-select { display: block; width: 100%; padding: 6px 36px 6px 12px; font: 400 16px/1.5 Ubuntu, sans-serif; color: var(--body); background-color: #fff; background-repeat: no-repeat; background-position: right 12px center; background-size: 16px 12px; border: 1px solid rgba(33, 37, 41, .15); border-radius: 6.4px; appearance: none; }

/* ---------- Badges (etiquetas del blog) ---------- */
.badge { display: inline-block; padding: .25em .4em; font-size: .75em; font-weight: 600; line-height: 1; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: 6.4px; }
.badge.border { border: 1px solid rgba(250, 100, 0, .15) !important; }
.post_link.active { background-color: var(--o-color-1); color: #fff !important; }

/* ---------- Portadas de entradas ---------- */
.o_record_cover_container { position: relative; aspect-ratio: 16 / 10; box-shadow: none !important; border-radius: 0 !important; }
.o_record_cover_component { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.o_list_cover { aspect-ratio: 100 / 65; }
.o_wblog_post_page_cover { aspect-ratio: 16 / 10; }

/* ---------- Blog: índice ---------- */
.o_wblog_normalize_font { font-size: 13px; line-height: 1.45; }
.o_blog_post_title.h5 { line-height: 1.2; }
.o_wblog_post time { font-weight: 600; }
.o_wblog_post a:hover .o_record_cover_component { opacity: .8; }
.o_wblog_sidebar_block h6 { font-weight: 600; line-height: 1.2; }

/* ---------- Blog: entrada ---------- */
.breadcrumb { display: flex; flex-wrap: wrap !important; padding: 0; list-style: none; }   /* en móvil el título baja de línea, como en el original */
.breadcrumb-item + .breadcrumb-item { padding-left: 8px; }
.breadcrumb-item + .breadcrumb-item::before { float: left; padding-right: 8px; color: #6c757d; content: "/"; }
.breadcrumb-item.active { color: #6c757d; }
#o_wblog_post_top #o_wblog_post_name { font-size: 40px; font-weight: 600; line-height: 1; padding: 16px 0 8px; }
.o_wblog_author_avatar { width: 1.2em; height: 1.2em; object-fit: cover; }
#o_wblog_post_main { padding-top: 40px !important; }
#o_wblog_post_content { min-height: 350px; }
main .container .container { padding-left: 0; padding-right: 0; max-width: none; }   /* contenedores anidados (entradas, código incrustado) */
#o_wblog_post_footer hr { margin: 16px 0; border: 0; border-top: 1px solid currentColor; opacity: .25; }
#o_wblog_post_footer a { color: inherit; }
#o_wblog_post_footer .h2 { color: var(--o-color-1); }
#o_wblog_post_footer { display: block; }
#o_wblog_post_footer .container { display: flow-root; }
#o_wblog_post_footer .o_record_cover_container { height: auto !important; }   /* 25 % del ancho y 16:10 */
.bg-o-color-3 { color: var(--body); }

/* ---------- Vistas filtradas del blog (etiqueta, mes, búsqueda) ---------- */
.fa-tag::before { content: "\f02b"; }
.fa-search::before { content: "\f002"; }
.fa-calendar-o::before { content: "\f133"; }
.h4 { font-size: min(28px, calc(1.3rem + .6vw)); line-height: 1.2; font-weight: 500; margin: 4px 0 16px; }
.text-light { color: var(--o-color-3) !important; }
.text-bg-primary { background-color: var(--o-color-1) !important; color: #fff !important; }
.align-items-baseline { align-items: baseline !important; }
#o_wblog_posts_loop hr { margin: 16px 0; border: 0; border-top: 1px solid currentColor; opacity: .25; }
#o_wblog_posts_loop hr.mt-2 { margin-top: 8px; }
#o_wblog_posts_loop .btn.py-1 { padding: 4px 20px; background: transparent; color: #000; font-weight: 700; line-height: 1.5; }
[hidden] { display: none !important; }

/* ---------- Variantes responsive (al final para que prevalezcan) ---------- */
@media (min-width: 992px) {
  .col-lg-4 { width: 33.33333333%; }
  .col-lg-12 { width: 100%; }
  .offset-lg-1 { margin-left: 8.33333333%; }
  .ms-lg-5 { margin-left: 48px !important; }
  .me-lg-auto { margin-right: auto !important; }
  .flex-lg-row { flex-direction: row !important; }
  .flex-lg-grow-0 { flex-grow: 0 !important; }
  .text-lg-start { text-align: left !important; }
}
@media (min-width: 1200px) { .col-xl-6 { width: 50% !important; } }
@media (min-width: 576px) { .flex-sm-nowrap { flex-wrap: nowrap !important; } }
.s_text_image img.mx-auto { display: block; }
