/*
Theme Name: INURBA
Theme URI: https://inurba.com
Author: BaseTIS
Author URI: https://basetis.com
Description: Tema hijo de Twenty Twenty-Five para INURBA.
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: inurba
*/

/* ==========================================================================
   TIPOGRAFÍAS (@font-face y Google Fonts)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

/* --- REGULAR (400) --- */
@font-face {
  font-family: 'ES Build';
  src: url('./assets/fonts/ES-Build-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ES Build';
  src: url('./assets/fonts/ES-Build-RegularItalic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* --- MEDIUM (500) --- */
@font-face {
  font-family: 'ES Build';
  src: url('./assets/fonts/ES-Build-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ES Build';
  src: url('./assets/fonts/ES-Build-MediumItalic.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* --- SEMIBOLD (600) --- */
@font-face {
  font-family: 'ES Build';
  src: url('./assets/fonts/ES-Build-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ES Build';
  src: url('./assets/fonts/ES-Build-SemiBoldItalic.woff2') format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* --- BOLD (700) --- */
@font-face {
  font-family: 'ES Build';
  src: url('./assets/fonts/ES-Build-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'ES Build';
  src: url('./assets/fonts/ES-Build-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================================
   CLASES DE CONTENIDO (Editor)
   ========================================================================== */
.entry-content ul {
  list-style: disc inside;
  margin-bottom: 1rem;
}

.entry-content ol {
  list-style: decimal inside;
  margin-bottom: 1rem;
}

.alignleft {
  float: left;
  margin-right: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   BASE Y LAYOUT PRINCIPAL (Sticky Footer en Body)
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-body-regular-sz);
  line-height: var(--text-body-regular-lh);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

body.admin-bar {
  min-height: calc(100vh - 32px);
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    min-height: calc(100vh - 46px);
  }
}

.c-header {
  width: 100%;
  flex-shrink: 0;
}

.site-main {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.c-footer {
  width: 100%;
  flex-shrink: 0;
}