/* rrhh-style.css - REVISED */
:root {
    --clr-verde: rgb(109, 110, 112); /* accent-500 */
    --clr-azul-base: rgb(32, 68, 144); /* accent-400 */
    --clr-azul-claro: rgb(125,196,236);
    --clr-azul-oscuro: rgb(39,47,115);
    --clr-blanco: rgb(255, 255, 255); /* accent-100 */
    --clr-gris-claro: rgb(31, 132, 146); /* accent-300 */
  
    --clr-negro-30: rgb(30,30,30);
    --clr-negro: black;
  
    --clr-neutral-100: var(--clr-blanco); /* neutral-400 */
    --clr-neutral-200: var(--clr-gris-claro); /* neutral-400 */
    --clr-neutral-900: var(--clr-negro-30); /* neutral-400 */
  
    --ff-primary: 'Neo Sans Pro', sans-serif;
  
    --ff-body: var(--ff-primary);
    --ff-heading: var(--ff-primary);
  
    --fw-regular: 400;
    --fw-semi-bold: 500;
    --fw-bold: 700;
  
    --fs-300: 0.8125rem;
    --fs-400: 0.875rem;
    --fs-500: 0.9375rem;
    --fs-600: 1rem;
    --fs-700: 1.875rem;
    --fs-800: 2.5rem;
    --fs-900: 3.5rem;
  
    --fs-body: var(--fs-400);
    --fs-primary-heading: var(--fs-800);
    --fs-secondary-heading: var(--fs-700);
    --fs-nav: var(--fs-900);
    --fs-button: var(--fs-300);
  
    --size-100: 0.25rem;
    --size-200: 0.5rem;
    --size-300: 0.75rem;
    --size-400: 1rem;
    --size-500: 1.5rem;
    --size-600: 2rem;
    --size-700: 3rem;
    --size-800: 4rem;
    --size-900: 5rem;
  }

  .titulo {
    color: var(--clr-negro);
    font-style: italic;
    font-size: 4em;
    letter-spacing: -.1rem;
}

.subtitulo {
    font-size: 2em;
    margin-top: 1.5rem;
    margin-bottom: -1.6rem;
    color: var(--clr-negro-30);
    text-align: justify;
    }

/* FIXED/ENHANCED STYLES FOR JOB BUTTONS (CONSERVING ORIGINAL COLORS) */
.wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem; 
    grid-auto-rows: minmax(8em, auto); 
    text-align: center; 
    margin-top: 5em;
    padding: 0 1rem; 
}

.wrapper > a.button {
    /* Ensures text is vertically and horizontally centered (Flexbox overrides default padding from style.css) */
    display: flex;
    justify-content: center; /* Horizontal center */
    align-items: center;    /* Vertical center */

    /* Custom sizing and padding */
    padding: 1em 1.5em; /* ADDED: 3em top/bottom padding for extra space */
    font-size: 2em;
    font-weight: var(--fw-bold);
    
    align-self: stretch; /* Buttons fill the height of the row */
    text-align: center;
    line-height: 1.2; 
    margin: 0; 
    text-decoration: none; 
}

/* Grid area definitions - These are not needed if using the two-column grid but retained for clarity */
.one {
    grid-column: 1;
    grid-row: 1;} 
.two {
    grid-column: 2;
    grid-row: 1;}
.three {
    grid-column: 1;
    grid-row: 2;}
.four {
    grid-column: 2;
    grid-row: 2;}

/* MOBILE STYLES */
@media (max-width: 50em) {
    .titulo {
        color: var(--clr-negro);
        font-style: italic;
        font-size: 3em;
        margin-top: 1rem;
        letter-spacing: -.1rem;
        line-height: 1.3;
    }
    
    .subtitulo {
        font-size: 1.7em;
        margin-top: 1rem;
        margin-bottom: -5rem;
        text-align: justify;
    }

    /* Mobile Nav Toggle Styles (re-added for safety, though main styles are in style.css) */
    .mobile-nav-toggle > * > * {
        cursor: pointer;
        margin-left: auto;
        margin-right: auto;
        margin-top: 0em;
        width: 3em;
    }

    .mobile-nav-toggle > * > *:hover{
        margin-left: auto;
        margin-right: auto;
        margin-top: 0em;
        width: 3em;
        box-shadow: 1px 1px 10px var(--clr-azul-base);
    }

    .wrapper {
        margin-top: 10em; /* ADUSTED: Push wrapper down from subheading */
        display: block; /* Stack vertically on mobile */
        grid-template-columns: repeat(1, 1fr);
        padding-bottom: 2em; 
        text-align: center;
        align-self: center;
        align-items: center;
    }
  
    .wrapper > a.button {
        font-size: 1.3em;
        text-decoration: none;
        font-weight: 600;
        display: block; /* Ensure buttons stack properly */
        /* Margin: 3em top/bottom for spacing between buttons, 1em left/right for padding from screen edges */
        margin: 1em 1em; 
        line-height: 1; /* Adjustable interline height for mobile button text */
        
        /* Reset specific desktop rules */
        padding: 2em 1.5em; /* Use slightly smaller padding on mobile to save vertical space */
        align-self: auto;
    }
}