html {
    position: relative;
    min-height: 100%;
}

body {
  
    font-size: 1.1rem !important;
}

h1, h2, h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: normal;
}

h1 {
    font-size: 1.8em !important;
}

h2 {
    font-size: 1.5em !important;
}

h3 {
    font-size: 1.3em !important;
}

h3 {
    font-size: 1.2em !important;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}



.adBlock {
    border: 1px solid red;
}

a {
    text-decoration: none;
}

.category-card {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-color: #d0e7e9;
    border: 1px solid #84b7ba;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    color: #08454b;
    text-decoration: none;
}

    .category-card:hover {
        background-color: #a8d0d6;
        border-color: #599ba0;
        box-shadow: 0 8px 16px rgba(25, 118, 210, 0.4);
        transform: scale(1.05);
    }

        .category-card:hover .card-title a {
            color: #002147;
        }

.province-card {
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    background-color: #e9f2fb;
    border-radius: 0.5rem;
    border: 1px solid #c1d4fb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    color: #212529;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    user-select: none;
    width: 100%;
    justify-content: center;
    cursor: pointer;
}

    .province-card:hover,
    .province-card:focus,
    .province-card.active {
        background-color: #90caf9;
        border-color: #42a5f5;
        box-shadow: 0 8px 16px rgba(25, 118, 210, 0.5);
        transform: scale(1.05);
        outline: none;
    }

.region-card {
    cursor: pointer;
    background-color: #e3f2fd;
    border: 1.5px solid #90caf9;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 6px rgba(33, 150, 243, 0.25);
}

    .region-card:hover,
    .region-card:focus-visible {
        background-color: #90caf9;
        border-color: #42a5f5;
        box-shadow: 0 8px 16px rgba(25, 118, 210, 0.5);
        transform: scale(1.05);
        outline: none;
    }

    .region-card span {
        font-weight: 600;
        color: #0d47a1;
        user-select: none;
    }

    .region-card img,
    .category-card img {
        width: 40px;
        height: 26px;
        object-fit: contain;
    }

.article-link {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #075b76;
    font-weight: 600;
    flex-grow: 1;
    text-decoration: none;
    margin-right: 1rem;
}

.article-icon {
    color: #0dcaf0;
    flex-shrink: 0;
    line-height: 1;
    margin-top: 0.25rem;
    transition: color 0.3s ease;
}

.custom-article-item:hover .article-icon {
    color: #002147;
}

.custom-article-item:hover .article-link {
    color: #002147;
}

.title-and-date {
    white-space: normal;
    display: inline;
}

.date-mobile {
    font-style: italic;
    font-size: 0.85em;
    color: #6c757d;
    margin-left: 0.25rem;
    white-space: normal;
    display: inline;
}

.custom-article-item {
    background-color: #e3f2fd;
    border: 1px solid #90caf9 !important;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.25);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    margin-bottom: 8px;
    padding: 0.6rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

    .custom-article-item:hover {
        background-color: #90caf9;
        border-color: #0d47a1;
        box-shadow: 0 8px 16px rgba(25, 118, 210, 0.6);
        transform: scale(1.05);
        outline: none;
    }

.province-heading-container {
    position: relative;
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

    .province-heading-container::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 150px;
        height: 80px;
        background: var(--flag-url) no-repeat center / contain;
        opacity: 0.15;
        transform: translate(-50%, -50%);
        pointer-events: none;
        z-index: 0;
    }

    .province-heading-container h1 {
        position: relative;
        z-index: 1;
    }
@media (max-width: 767.98px) {

    body {
        font-size: 1.1rem !important;
    }

    h1 {
        font-size: 1.2em !important;
    }

    h2 {
        font-size: 1.1em !important;
    }

    h3 {
        font-size: 1.05em !important;
    }

    h4 {
        font-size: 1.05em !important;
    }

    .list-group-item {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

        .list-group-item small {
            padding-left: 1.5rem;
        }

    .custom-article-item {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
        margin-left: -0.75rem !important;
        margin-right: -0.75rem !important;
    }
}

.question {
    font-size: 1.4rem;
    font-weight: 600;
    color: #08454b;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

    .question i {
        color: #0dcaf0;
        font-size: 1.6rem;
        line-height: 1;
        position: relative;
        top: 6px; 
    }

.answer {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-left: 2rem;
    padding-bottom: 10px;
    margin-top: 5px;
}
@media (max-width: 767px) {
    .question {
        font-size: 1.2rem;
    }

    .answer {
        font-size: 0.95rem;
    }
}

.question-block {
    background-color: #e3f2fd;
    border: 1px solid #90caf9 !important;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.25);
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    margin-bottom: 8px;
    padding: 0.6rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

    .question-block:hover {
        background-color: #90caf9;
        border-color: #0d47a1;
        box-shadow: 0 8px 16px rgba(25, 118, 210, 0.6);
        transform: scale(1.05);
        outline: none;
    }