/* Regions of the category on the macro-category pages (/xx/macro/<macro>/<category>).
   Written by App_Code/MacroCategoryRegions.cs. Same tiles as the national provinces list
   (/xx/categories/<category>): values copied from its computed style on 18/11/2026. */
#page .macro-category-regions {
    box-sizing: border-box;
    padding-top: 0; /* the business list above already ends with 60px of space */
    padding-bottom: clamp(24px, 4vw, 44px);
}
/* The title holds the category name. On this portal words are never split (whole-words.css,
   layer portal-word-flow), so a name longer than the line (de: "Nahrungsmittelunvertraeglichkeiten",
   ru: an 18-letter word at 280px) scrolls inside the title instead of widening the page, at every
   width. The box also covers the 15px side margins of its column: the text starts where it does
   today and only what goes past the screen edge scrolls (as whole-words.css does below 321px). */
#page .macro-category-regions > h2.section-title {
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
}
#page .macro-category-regions-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: start;
}
#page .macro-category-regions-list > li {
    min-width: 0;
    margin: 0;
    padding: 0;
}
#page .macro-category-regions .macro-category-region {
    display: block;
    position: relative;
    box-sizing: border-box;
    min-width: 0;
    min-height: 48px;
    padding: 11px 30px 11px 12px;
    border: 1px solid #d6dcd3;
    border-radius: 10px;
    background: #fffefa;
    color: #345d57;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    text-align: start;
    text-decoration: none;
    overflow-wrap: anywhere;
}
#page .macro-category-regions .macro-category-region::after {
    content: '';
    position: absolute;
    inset-inline-end: 12px;
    top: calc(50% - 3px);
    width: 7px;
    height: 7px;
    border: solid #607d69;
    border-width: 1.5px 1.5px 0 0;
    transform: rotate(45deg);
}
#page .macro-category-regions .macro-category-region:hover {
    background: #edf2e9;
    border-color: #849b8c;
    text-decoration: underline;
    text-underline-offset: 3px;
}
#page .macro-category-regions .macro-category-region:focus-visible {
    outline: 3px solid #b65229;
    outline-offset: 3px;
}
/* The portal's whole-word default must yield inside the narrow tiles. */
#page .macro-category-regions .macro-category-region span.portal-whole-word {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}
@media (min-width: 680px) {
    #page .macro-category-regions-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
    #page .macro-category-regions-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
