/* Container spacing */
.custom-fields-container {
    margin-top: 20px;
    font-family: sans-serif;
}

/* Flexbox layout to align labels and values row by row */
.field-entry {
    display: flex;
    margin-bottom: 12px;
    font-size: 1rem;
    line-height: 1.5;
}

/* Style for the Left Column (Labels) */
.field-entry .field-label {
    font-weight: bold;
    color: #333333;
    width: 150px;       /* Forces the data to align perfectly */
    flex-shrink: 0;     /* Keeps labels from squeezing on mobile */
}

/* Style for the Right Column (Values) */
.field-entry .field-value {
    color: #555555;
    flex-grow: 1;
}

/* Link styling matching your K2 layout */
.field-entry .field-value a {
    color: #4a65a4; 
    text-decoration: none;
}
.field-entry .field-value a:hover {
    text-decoration: underline;
}


/* 1. Target the main list container to create the 3-column grid */
.com-content-categories__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Creates 3 equal columns */
    gap: 20px; /* Controls spacing between the cards */
    margin-top: 20px;
}

/* 2. Style the individual list items into bordered cards */
.com-content-categories__item {
    border: 1px solid #e2e8f0; /* Soft gray border */
    border-radius: 6px;        /* Rounded corners */
    padding: 20px;            /* Inner spacing for the card content */
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); /* Subtle depth shadow */
}

/* 3. Ensure the title layout inside the card resets properly */
.com-content-categories__item-title-wrapper {
    display: block; 
}


/* 1. Style the province title links */
.com-content-categories__item-title-wrapper a {
    color: #1e3a8a;               /* Dark elegant blue matching the mockup */
    font-size: 1.5rem;            /* Makes headings bold and prominent */
    font-weight: 700;             
    text-decoration: none;        /* Removes default underline */
    transition: color 0.2s ease;  /* Smooth color fade when hovering */
}

/* 2. Add the vibrant orange hover state */
.com-content-categories__item-title-wrapper a:hover {
    color: #ea580c;               /* Warm, accessible orange tint */
}



.com-content-categories__item {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.com-content-categories__item:hover {
    transform: translateY(-2px); /* Lifts the card slightly */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Deepens the shadow */
}
