/*!
Theme Name: Apuestas
Theme URI: http://underscores.me/
Author: Underscores.me
Description: Theme minimalista para Apuestas con detalles en azul oscuro.
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: apuestas
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*--------------------------------------------------------------
>>> GENERIC & RESETS
--------------------------------------------------------------*/

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}
*, *::before, *::after {
    box-sizing: inherit;
}
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 0.8rem !important;
    color: #404040;
    background: #fff;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0.67em 0;
    color: #003366;
}

p {
    margin-bottom: 1.5em;
}

a {
    color: #003366;
    text-decoration: none;
}
a:hover, a:focus {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    padding: 8px;
    border: 1px solid #ddd;
}

input, textarea, select, button {
    font-family: inherit;
    font-size: 100%;
    margin: 0;
}
button {
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #e6e6e6;
    color: #003366;
    padding: 0.6em 1em;
    cursor: pointer;
}
button:hover {
    background: #dcdcdc;
}


.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}
.main-navigation li {
    position: relative;
    margin: 0 5px;
}
.main-navigation a {
    display: block;
    padding: 10px 15px;
    color: #003366;
    background: transparent;
    transition: background 0.3s, color 0.3s;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
/*--------------------------------------------------------------
>>> CUSTOMIZACIONES DEL THEME – HEADER
--------------------------------------------------------------*/

/* Contenedor principal del header: ancho fijo y centrado */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 15px;
    box-sizing: border-box;
  }
  
  /* Área de branding: logo y texto */
  .header-branding {
    display: flex;
    align-items: center;
  }
  
  /* Logo: ajustar la altura máxima según tu imagen */
  .logo img {
    max-height: 60px;
  }
  
  /* Texto del branding: título y descripción */
  .branding-text {
    display: flex;
    flex-direction: column;
    margin-left: 10px;
  }
  
  .site-title a {
    font-size: 1.5rem;
    color: #000;
    text-decoration: none;
  }
  
  .site-description {
    font-size: 1rem;
    color: #666;
    margin-top: 4px;
  }
  
  /* Área de navegación: se sitúa a la derecha */
  .main-navigation {
    text-align: right;
  }
  
  .main-navigation ul {
    display: flex;
    justify-content: flex-end;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    float: left;
    margin-left: 30px;
  }
  
  
  .main-navigation li {
    margin-left: 15px;
  }
  
  .main-navigation a {
   /* padding: 10px 15px; */
    color: #003366;
    background: transparent;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
  }
  
  .main-navigation .current_page_item a {
    background: #003366;
    color: #fff;
    border-bottom: 2px solid #003366;
  }
  