/* ==========================================================
   IBG — Estilos globales del sitio
   Se carga en todas las páginas (functions.php, prioridad 99).

   1. Fuentes (Inter y Open Sans, alojadas en el theme)
   2. Base tipográfica: copia de los estilos globales que antes
      daba el kit de Elementor (kit 1064)
   3. Header  → template-parts/header.php
   4. Footer  → template-parts/footer.php
   ========================================================== */


/* ----------------------------------------------------------
   1. Fuentes — variables, un archivo por estilo y subconjunto
---------------------------------------------------------- */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/inter-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/opensans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/opensans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/opensans-italic-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/opensans-italic-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* ----------------------------------------------------------
   2. Base tipográfica — copia fiel del kit 1064 de Elementor
   La clase .ibg-kit va en <body> (functions.php) y tiene la
   misma especificidad que tenía .elementor-kit-1064.
   Los valores se copian tal cual, incluso los raros (el color
   del body, el color transparente de los botones): el resto
   del CSS del sitio se escribió encima de ellos. Se ordenan
   en la Fase 6, cuando Elementor ya no esté.
---------------------------------------------------------- */
.ibg-kit {
  background-color: #FFFFFF;
  color: #FFD771;
  font-family: "Inter", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6875em;
}

.ibg-kit h1 { color: #272727; font-family: "Inter", Sans-serif; font-size: 53px; font-weight: 700; line-height: 1.2em; }
.ibg-kit h2 { color: #272727; font-family: "Inter", Sans-serif; font-size: 46px; font-weight: 700; line-height: 1.2em; }
.ibg-kit h3 { color: #272727; font-family: "Inter", Sans-serif; font-size: 32px; font-weight: 700; line-height: 1.2em; }
.ibg-kit h4 { color: #272727; font-family: "Open Sans", Sans-serif; font-size: 24px; font-weight: 600; line-height: 1.2em; }
.ibg-kit h5 { color: #272727; font-family: "Inter", Sans-serif; font-size: 20px; font-weight: 600; line-height: 1.5em; }
.ibg-kit h6 { color: #272727; font-family: "Inter", Sans-serif; font-size: 16px; font-weight: 600; line-height: 1.875em; }

.ibg-kit button,
.ibg-kit input[type="button"],
.ibg-kit input[type="submit"] {
  font-family: "Open Sans", Sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1em;
  letter-spacing: 0px;
  color: #FFFFFF00;
  border-style: none;
  border-radius: 0px 0px 0px 0px;
  padding: 0px 0px 0px 0px;
}

.ibg-kit button:hover,
.ibg-kit button:focus,
.ibg-kit input[type="button"]:hover,
.ibg-kit input[type="button"]:focus,
.ibg-kit input[type="submit"]:hover,
.ibg-kit input[type="submit"]:focus {
  border-radius: 0px 0px 0px 0px;
}

.ibg-kit label { color: #024555; }

.ibg-kit input:not([type="button"]):not([type="submit"]),
.ibg-kit textarea {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5em;
  border-style: solid;
  border-width: 1px 1px 1px 1px;
  border-color: #C3D1E5;
  border-radius: 40px 40px 40px 40px;
  padding: 15px 24px 16px 24px;
}

.ibg-kit input:focus:not([type="button"]):not([type="submit"]),
.ibg-kit textarea:focus {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0);
}

/* Kava corta palabras con guion ("cono-cer"); en este sitio no. */
.ibg-kit .site {
  -webkit-hyphens: manual;
  hyphens: manual;
}

/* CSS personalizado que estaba en el kit */
body:not(.page-template-fullwidth-content) .site-content {
  margin-top: 0px !important;
  margin-bottom: 30px;
}

@media (max-width: 1024px) {
  .ibg-kit h1 { font-size: 40px; }
}

@media (max-width: 767px) {
  .ibg-kit h1 { font-size: 40px; }
  .ibg-kit h2 { font-size: 29px; }
  .ibg-kit h3 { font-size: 28px; }
  .ibg-kit h5 { font-size: 16px; }
}


/* ----------------------------------------------------------
   3. Header
   Kava lo envuelve en <header id="masthead">. Se queda fijo
   arriba con position: sticky; para eso .site no puede ser un
   contenedor con scroll (Kava le pone overflow: hidden).
---------------------------------------------------------- */
.ibg-kit .site:has(> #masthead > .ibg-header) {
  overflow: clip;
}

#masthead:has(> .ibg-header) {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 99;
}

.admin-bar #masthead:has(> .ibg-header) { top: 32px; }

.ibg-header {
  position: relative;
  background-color: #ffffff;
  box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.15);
  padding: 0 20px;
  -webkit-hyphens: manual;
  hyphens: manual;
}

.ibg-header *,
.ibg-header *::before,
.ibg-header *::after {
  box-sizing: border-box;
}

.ibg-header__inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  max-width: 1190px;
  margin: 0 auto;
}

.ibg-header__brand {
  flex: none;
  width: 28.076%;
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ibg-header__logo {
  display: inline-block;
  line-height: 0;
  align-self: flex-start;
}

.ibg-header__logo img {
  display: block;
  width: 174px;
  max-width: 100%;
  height: auto;
}

.ibg-header__navwrap {
  flex: 1 1 0%;
  min-width: 0;
  padding: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* — Menú — */
.ibg-header .ibg-nav__list,
.ibg-header .ibg-nav__list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ibg-header .ibg-nav__list li {
  margin: 0;
  padding: 0;
}

.ibg-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ibg-nav__list > li {
  position: relative;
}

.ibg-header .ibg-nav__list a {
  display: flex;
  align-items: center;
  font-family: "Inter", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #222222;
  text-decoration: none;
  white-space: nowrap;
  padding: 19px 20px;
  transition: color 0.4s;
}

.ibg-header .ibg-nav__list > li > a:hover,
.ibg-header .ibg-nav__list > li > a:focus,
.ibg-header .ibg-nav__list > li.current-menu-item > a,
.ibg-header .ibg-nav__list > li.current-menu-ancestor > a,
.ibg-header .ibg-nav__list > li.ibg-open > a {
  color: #FF5B1A;
}

.ibg-nav__caret {
  flex: none;
  width: 10px;
  height: 16px;
  margin-left: 10px;
  fill: currentColor;
}

/* — Submenús (escritorio y tablet) — */
.ibg-header .ibg-nav__list .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 9999;
  min-width: 100%;
  background-color: #FFFFFF;
  border-radius: 5px;
  box-shadow: 0px 0px 20px -4px rgba(0, 0, 0, 0.18);
}

.ibg-header .ibg-nav__list .sub-menu a {
  font-size: 15px;
  color: #333333;
  padding: 10px 22px;
  transition: color 0.4s, background-color 0.4s;
}

.ibg-header .ibg-nav__list .sub-menu a:hover,
.ibg-header .ibg-nav__list .sub-menu a:focus,
.ibg-header .ibg-nav__list .sub-menu .current-menu-item > a {
  color: #171717;
  background-color: #F6F6F6;
}

.ibg-header .ibg-nav__list .sub-menu li:first-child a { border-top-left-radius: 5px; border-top-right-radius: 5px; }
.ibg-header .ibg-nav__list .sub-menu li:last-child a { border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; }

@media (min-width: 768px) {
  .ibg-nav__list > li:hover > .sub-menu,
  .ibg-nav__list > li:focus-within > .sub-menu,
  .ibg-nav__list > li.ibg-open > .sub-menu {
    display: block;
  }

  /* Con Esc se cierra aunque el foco siga adentro */
  .ibg-nav__list > li.ibg-closed > .sub-menu {
    display: none;
  }
}

/* — Botón del menú móvil — */
.ibg-header .ibg-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  padding: 7.5px;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #000000;
  cursor: pointer;
  transition: color 0.3s;
}

.ibg-header .ibg-nav-toggle:hover,
.ibg-header .ibg-nav-toggle:focus {
  color: #00CAFA;
  background: transparent;
}

.ibg-header .ibg-nav-toggle:focus-visible,
.ibg-header .ibg-nav__list a:focus-visible {
  outline: 2px solid #FF5B1A;
  outline-offset: -2px;
}

.ibg-nav-toggle svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: square;
}

.ibg-nav-toggle .ibg-nav-toggle__close { display: none; }
.ibg-nav-toggle[aria-expanded="true"] .ibg-nav-toggle__open { display: none; }
.ibg-nav-toggle[aria-expanded="true"] .ibg-nav-toggle__close { display: block; }

/* — Tablet — */
@media (max-width: 1024px) {
  .ibg-header { padding: 20px; }
  .ibg-header__brand { width: 20%; }
  .ibg-header__navwrap { flex: 1 1 0%; width: auto; } /* con 6 ítems el 60% original no alcanzaba */
  .ibg-nav__list { flex-wrap: nowrap; }
  .ibg-header .ibg-nav__list > li > a { font-size: 13px; padding-left: 14px; padding-right: 14px; }
}

/* — Móvil: el menú pasa a un panel desplegable — */
@media (max-width: 767px) {
  .ibg-header__inner { flex-wrap: wrap; }
  .ibg-header__brand { width: 65%; }
  .ibg-header__logo img { width: 357px; }
  .ibg-header__navwrap { width: 34%; }
  .ibg-header .ibg-nav-toggle { display: flex; }

  .ibg-nav {
    display: none;
    position: absolute;
    top: calc(100% - 12px);
    left: 0;
    right: 0;
    z-index: 9997;
    max-height: calc(100vh - 95px);
    overflow-y: auto;
    background-color: #FFFFFF;
    border-radius: 5px;
    box-shadow: 0px 0px 20px -4px rgba(0, 0, 0, 0.18);
  }

  .ibg-nav.ibg-nav--open { display: block; }

  .ibg-nav__list { display: block; }

  .ibg-header .ibg-nav__list a,
  .ibg-header .ibg-nav__list > li > a {
    color: #333333;
    padding: 12px 22px;
    white-space: normal;
  }

  .ibg-header .ibg-nav__list > li > a:hover,
  .ibg-header .ibg-nav__list > li > a:focus,
  .ibg-header .ibg-nav__list > li.current-menu-item > a,
  .ibg-header .ibg-nav__list > li.ibg-open > a {
    color: #171717;
    background-color: #F6F6F6;
  }

  .ibg-header .ibg-nav__list .sub-menu {
    position: static;
    min-width: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .ibg-header .ibg-nav__list .sub-menu a {
    padding: 12px 22px 12px 30px;
    border-radius: 0 !important;
  }

  .ibg-nav__list > li.ibg-open > .sub-menu { display: block; }
}

@media (max-width: 782px) {
  .admin-bar #masthead:has(> .ibg-header) { top: 46px; }
}

@media (max-width: 600px) {
  .admin-bar #masthead:has(> .ibg-header) { top: 0; }
}


/* ----------------------------------------------------------
   4. Footer
   Kava lo envuelve en <footer id="colophon">.
---------------------------------------------------------- */
.ibg-footer {
  -webkit-hyphens: manual;
  hyphens: manual;
  text-align: left;
}

.ibg-footer *,
.ibg-footer *::before,
.ibg-footer *::after {
  box-sizing: border-box;
}

.ibg-footer__top {
  background-color: #1A4877;
  padding: 70px 0;
}

.ibg-footer__inner {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 10px;
  max-width: 1190px;
  margin: 0 auto;
}

.ibg-footer__col {
  min-width: 0;
  padding: 10px;
}

.ibg-footer__col--about  { flex: 0 1 40%; margin-right: 80px; }
.ibg-footer__col--info   { flex: 0 1 25%; }
.ibg-footer__col--spacer { flex: 0 1 5%; }
.ibg-footer__col--links  { flex: 0 1 30%; }

.ibg-footer__logo {
  display: block;
  width: 229px;
  max-width: 100%;
  height: auto;
  margin: 0 0 14px;
}

.ibg-footer .ibg-footer__text {
  font-family: "Open Sans", Sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.3em;
  color: #FFFFFF;
  padding-top: 10px;
}

.ibg-footer .ibg-footer__text p {
  margin: 0 0 15px;
  color: inherit;
}

.ibg-footer .ibg-footer__text strong { font-weight: 700; }

.ibg-footer__text--about { max-width: 305px; }

.ibg-footer h2.ibg-footer__title {
  font-family: "Inter", Sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2em;
  color: #ffffff;
  margin: 0;
  padding: 0;
  text-transform: none;
}

.ibg-footer .ibg-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ibg-footer .ibg-footer__links li {
  margin: 0;
  padding: 0;
}

.ibg-footer .ibg-footer__links a {
  display: flex;
  align-items: center;
  font-family: "Inter", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6875em;
  color: #DDDDDD;
  text-decoration: none;
  transition: color 0.3s;
}

.ibg-footer .ibg-footer__links a:hover,
.ibg-footer .ibg-footer__links a:focus {
  color: #FFFFFF;
}

.ibg-footer__links svg {
  flex: none;
  width: 14px;
  height: 14px;
  margin-right: 8.5px;
  fill: #EAEAEA;
}

.ibg-footer__bottom {
  background-color: #001c38;
  border-top: 1px solid rgba(255, 255, 255, 0.19);
  padding: 20px 0;
}

.ibg-footer__bottom-inner {
  display: flex;
  align-items: center;
  min-height: 50px;
  max-width: 1190px;
  margin: 0 auto;
  padding: 0 10px;
}

.ibg-footer p.ibg-footer__copy {
  font-family: "Inter", Sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2em;
  color: #EDF5FD;
  margin: 0;
  width: 100%;
}

@media (max-width: 1024px) {
  .ibg-footer__top { padding: 50px 20px; }
  .ibg-footer__col--about  { flex-basis: 35%; margin-right: 15%; }
  .ibg-footer__col--info,
  .ibg-footer__col--spacer,
  .ibg-footer__col--links  { flex-basis: 20%; }
  .ibg-footer__bottom { padding: 10px 20px; }
}

@media (max-width: 767px) {
  .ibg-footer__top { padding: 35px 20px; }
  .ibg-footer__inner { flex-direction: column; }
  .ibg-footer__col { flex: none; width: 100%; padding: 0; }
  .ibg-footer__col--about { margin: 0 0 50px; text-align: center; }
  .ibg-footer__col--spacer { display: none; }
  .ibg-footer__logo { width: 193px; margin-left: auto; margin-right: auto; }
  .ibg-footer__text--about { max-width: none; }
  .ibg-footer__bottom { padding: 30px 20px 20px; }
  .ibg-footer p.ibg-footer__copy { text-align: center; }
}


/* ----------------------------------------------------------
   5. Template "Contenido simple" (page-simple.php)
   Mismo ancho y márgenes que tenían las páginas de Elementor
   que solo envolvían un shortcode (/series/, /todoslossermones/).
---------------------------------------------------------- */
.ibg-simple {
  max-width: 1190px;
  margin: 0 auto;
  padding: 10px 10px 138px;
}

.ibg-simple__content > :first-child { margin-top: 0; }
.ibg-simple__content > :last-child  { margin-bottom: 0; }

.ibg-simple__content > * + * { margin-top: 20px; }

.ibg-simple__content > .wp-block-spacer { margin: 0; }

@media (max-width: 1024px) {
  .ibg-simple { max-width: 1024px; }
}

@media (max-width: 767px) {
  .ibg-simple { max-width: 767px; padding-bottom: 80px; }
}

/* Título de página dentro del template "Contenido simple" (un <h1> con el tamaño que tenía el <h3>) */
.ibg-kit .ibg-simple h1.ibg-simple__title {
  font-size: 32px;
  line-height: 1.2em;
}

@media (max-width: 767px) {
  .ibg-kit .ibg-simple h1.ibg-simple__title { font-size: 28px; }
}


/* Footer: contacto y enlace a ofrendas */
.ibg-footer h2.ibg-footer__title--contacto { margin-top: 0.5rem; }

.ibg-footer .ibg-footer__contacto {
  list-style: none;
  margin: 0;
  padding: 10px 0 0;
}

.ibg-footer .ibg-footer__contacto li { margin: 0 0 6px; padding: 0; }

.ibg-footer .ibg-footer__contacto a,
.ibg-footer a.ibg-footer__ofrendas {
  font-family: "Open Sans", Sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.3em;
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 3px;
}

.ibg-footer .ibg-footer__contacto a:hover,
.ibg-footer a.ibg-footer__ofrendas:hover { text-decoration-color: #fff; }

.ibg-footer__bottom-inner { gap: 1.5rem; }
.ibg-footer p.ibg-footer__copy { width: auto; flex: 1; }
.ibg-footer a.ibg-footer__ofrendas { flex: none; font-family: "Inter", Sans-serif; font-weight: 400; color: #EDF5FD; }

@media (max-width: 767px) {
  .ibg-footer .ibg-footer__contacto { margin-bottom: 0; }
  .ibg-footer__bottom-inner { flex-direction: column; gap: 0.75rem; }
}


/* ----------------------------------------------------------
   6. Página 404 (404.php)
---------------------------------------------------------- */
.ibg-404 {
  padding: 4.5rem 1.25rem 5rem;
  background: #F5F4F0;
  -webkit-hyphens: manual;
  hyphens: manual;
}

.ibg-404__inner { max-width: 760px; margin: 0 auto; text-align: center; }

.ibg-404 .ibg-404__code {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #FF5C1B;
  margin: 0 0 0.75rem;
}

.ibg-kit .ibg-404 h1.ibg-404__title {
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #3E3838;
  margin: 0 0 0.9rem;
}

.ibg-404 .ibg-404__text {
  font-size: 17px;
  line-height: 1.65;
  color: #555;
  max-width: 560px;
  margin: 0 auto 1.75rem;
}

.ibg-404 .ibg-404__search {
  display: flex;
  gap: 0.5rem;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.ibg-kit .ibg-404 .ibg-404__search input[type="search"] {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #3E3838;
  background: #fff;
  border: 1px solid #d8d0c8;
  border-radius: 8px;
}

.ibg-kit .ibg-404 .ibg-404__search button {
  flex: none;
  min-height: 48px;
  padding: 0 22px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #FF5C1B;
  border-radius: 8px;
  cursor: pointer;
}

.ibg-404 .ibg-404__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  text-align: left;
}

.ibg-404 a.ibg-404__link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  background: #fff;
  border: 0.5px solid #e4ddd5;
  border-radius: 14px;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.ibg-404 a.ibg-404__link:hover { border-color: #FFCDB8; box-shadow: 0 4px 24px rgba(255, 92, 27, 0.08); transform: translateY(-2px); }
.ibg-404 .ibg-404__link-title { font-size: 15px; font-weight: 700; color: #3E3838; }
.ibg-404 .ibg-404__link-desc { font-size: 13px; line-height: 1.4; color: #777; }

.ibg-404 .ibg-404__sermon { margin: 1.75rem 0 0; font-size: 15px; color: #777; }
.ibg-404 .ibg-404__sermon a { font-weight: 600; color: #FF5C1B; text-decoration: none; }
.ibg-404 .ibg-404__sermon a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .ibg-404 { padding: 3rem 1.25rem 3.5rem; }
  .ibg-kit .ibg-404 h1.ibg-404__title { font-size: 30px; }
  .ibg-404 .ibg-404__links { grid-template-columns: 1fr; }
  .ibg-404 .ibg-404__search { flex-direction: column; }
}


/* ----------------------------------------------------------
   7. Ofrendas (page-ofrendas.php)
---------------------------------------------------------- */
.ibg-ofrendas {
  padding: 4.5rem 1.25rem 5rem;
  background: #F5F4F0;
  -webkit-hyphens: manual;
  hyphens: manual;
}

.ibg-ofrendas__inner { max-width: 620px; margin: 0 auto; }

.ibg-ofrendas .ibg-ofrendas__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FF5C1B;
  margin: 0 0 0.6rem;
}

.ibg-kit .ibg-ofrendas h1.ibg-ofrendas__title {
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #3E3838;
  margin: 0 0 1rem;
}

.ibg-ofrendas .ibg-ofrendas__text { font-size: 17px; line-height: 1.65; color: #555; margin: 0 0 1.25rem; }

.ibg-ofrendas .ibg-ofrendas__alias {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.2rem 1rem;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 0.5px solid #e4ddd5;
  border-radius: 14px;
}

.ibg-ofrendas .ibg-ofrendas__alias-label {
  grid-column: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
}

.ibg-ofrendas .ibg-ofrendas__alias-value {
  grid-column: 1;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #024555;
  user-select: all;
}

.ibg-kit .ibg-ofrendas button.ibg-ofrendas__copy {
  grid-column: 2;
  grid-row: 1 / span 2;
  min-height: 44px;
  padding: 0 20px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: #FF5C1B;
  border-radius: 8px;
  cursor: pointer;
}

.ibg-ofrendas .ibg-ofrendas__estado { min-height: 1.4em; margin: 0.5rem 0 1rem; font-size: 14px; color: #024555; }
.ibg-ofrendas .ibg-ofrendas__nota { font-size: 15px; line-height: 1.6; color: #555; margin: 0 0 0.6rem; }
.ibg-ofrendas .ibg-ofrendas__nota a { color: #FF5C1B; font-weight: 600; }

/* Kava pone los botones en mayúsculas; en estas páginas no */
.ibg-kit .ibg-404 .ibg-404__search button,
.ibg-kit .ibg-ofrendas button.ibg-ofrendas__copy { text-transform: none; letter-spacing: 0; }


/* Ofrendas: datos de la cuenta */
.ibg-ofrendas dl.ibg-ofrendas__datos {
  margin: 0 0 1.25rem;
  padding: 0.5rem 1.5rem;
  background: #fff;
  border: 0.5px solid #e4ddd5;
  border-radius: 14px;
}

.ibg-ofrendas .ibg-ofrendas__datos > div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 0.5px solid #f0e9e2;
}

.ibg-ofrendas .ibg-ofrendas__datos > div:last-child { border-bottom: 0; }
.ibg-ofrendas .ibg-ofrendas__datos dt { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #777; }
.ibg-ofrendas .ibg-ofrendas__datos dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.9rem; font-size: 16px; font-weight: 600; color: #3E3838; }
.ibg-ofrendas .ibg-ofrendas__cbu { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; user-select: all; word-break: break-all; }
.ibg-ofrendas .ibg-ofrendas__nota strong { color: #3E3838; font-weight: 700; }

.ibg-kit .ibg-ofrendas button.ibg-ofrendas__copy--chico {
  grid-column: auto;
  grid-row: auto;
  min-height: 36px;
  padding: 0 14px;
  font-size: 13px;
  color: #FF5C1B;
  background: #FFF0EB;
}

@media (max-width: 640px) {
  .ibg-ofrendas .ibg-ofrendas__datos > div { grid-template-columns: 1fr; gap: 0.2rem; }
}
