﻿@font-face {
    font-family: 'NunitoSans';
    src: url('../fonts/NunitoSans-VariableFont_YTLC,opsz,wdth,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-display: swap;
}


body {
    font-family: 'NunitoSans', sans-serif;
}

.btn:focus,
.btn:active,
.btn:focus-visible,
.btn:visited,
a.btn:focus,
a.btn:active,
.btn-sm:focus,
.btn-sm:active {
    outline: none !important;
    box-shadow: none !important;
}

.form-control:focus {
    border-color: none;
    outline: none;
    box-shadow: none;
}

.second-container-ealb {
    display: none !important;
}

.title-notification {
    color: white;
    font-size: 2.125rem;
    font-family: 'NunitoSans', sans-serif;
    font-weight: 700;
    line-height: 2.4375rem;
    word-wrap: break-word
}

.header {
    background-color: #1D4370;
    background-image: url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%221194%22 height=%22190%22 viewBox=%220 0 1194 190%22 fill=%22none%22%3E%3Cpath d=%22M1096.57 19.2199L-39.0001 -7.39258L-28.0001 182.344L1193.5 189.244L1096.57 19.2199Z%22 fill=%22%23043065%22 /%3E%3C/svg%3E');
    background-position: left top;
    background-repeat: no-repeat;
    background-size: 90%;
    height: 12.5rem;
    width: 82%;
}

.first-section-notification {
    display: flex;
    justify-content: center;
}

.first-step {
    color: white;
    font-size: 0.9375rem;
    font-family: 'NunitoSans', sans-serif;
    font-weight: 400;
    text-decoration: underline;
    line-height: 1.5rem;
    word-wrap: break-word
}

.second-step {
    color: white;
    font-size: 0.9375rem;
    font-family: 'NunitoSans', sans-serif;
    font-weight: 700;
    text-decoration: underline;
    line-height: 2.4375rem;
    word-wrap: break-word
}

.filter-section {
    padding: 1.25rem;
    max-width: 18.75rem;
    margin: 1.25rem 0;
}

.search-box {
    display: flex;
    margin-bottom: 1.25rem;
    border: 0.0625rem solid #EAEAEA;
    border-bottom: 0.125rem solid #EAEAEA;
}

.post-image {
    width: 80%;
    height: auto;
}

.post-title {
    color: #0B2432;
    font-family: 'NunitoSans', sans-serif;
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.04rem;
}

.post-content {
    width: 80%;
}

.search-input {
    flex-grow: 1;
    padding: 0.625rem;
    border: 0.0625rem solid #ddd;
    border-radius: 0.25rem 0 0 0.25rem;
}

.search-btn-media {
    background-color: #C1282A !important;
    border-radius: 0.125rem !important;
}

.search-button {
    padding: 0.625rem 0.9375rem;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 0 0.25rem 0.25rem 0;
    cursor: pointer;
}

.filter-categories h3, .filter-tags h3 {
    margin-bottom: 0.9375rem;
    font-size: 1rem;
    color: #333;
}

.filter-categories, .filter-tags {
    border: 0.0625rem solid #EAEAEA;
    border-bottom: 0.125rem solid #EAEAEA;
}

.category-options {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.category-item {
    border-bottom: 0.0625rem solid #ddd;
}

.category-option {
    padding: 0.5rem 0.75rem;
    background-color: white;
    border: 0.0625rem solid #EAEAEA;
    border-radius: 0.25rem;
    cursor: pointer;
}

.title-category, .title-tag {
    color: #0B2432;
    font-weight: 800;
    border-left: 0.125rem solid #ed174e;
}

.category-option:hover {
    background-color: #f0f0f0;
}

.tag-container {
    display: flex;
    flex-direction: column;
    gap: 0.3125rem;
}

.tag-row {
    display: flex;
}

.tag {
    padding: 0.3125rem 0.3125rem;
    background-color: white;
    border: 0.0625rem solid #ddd;
    border-radius: 0.1875rem;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 2px;
}

    .tag:hover {
        background-color: #f0f0f0;
    }

    .tag.active-tag {
        background-color: #C1282A;
        color: white;
    }

    .tag.active-tag {
        transform: scale(1.05);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }

.filter-section {
    position: sticky;
    top: 1.25rem;
}

.category-options .btn {
    transition: all 0.2s;
}

    .category-options .btn:hover {
        background-color: #e9ecef;
    }

.badge {
    cursor: pointer;
    transition: all 0.2s;
}

    .badge:hover {
        opacity: 0.9;
        transform: translateY(-0.0625rem);
    }

.media-post-card {
    border: 1px solid #e0e0e0;
    border-bottom: 0.125rem solid #EAEAEA;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}

/* Image Container */
.media-post-image-container {
    position: relative;
    height: 100%;
    min-height: 150px;
}

.media-post-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-post-badge {
    position: absolute;
    bottom: 10px;
    left: 0px;
    background-color: #C1282A;
    color: white;
    padding: 5px 10px 5px 20px;
    font-size: 0.8rem;
}

.media-post-content {
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.media-post-date {
    color: #B3261E;
    font-family: 'NunitoSans', sans-serif;
    font-size: 0.8125rem;
    font-style: normal;
    font-weight: 600;
    line-height: 0.857375rem;
    letter-spacing: 0.006rem;
    margin-bottom: 5px;
}

.media-post-date-container {
    width: 50%;
    padding: 5px;
    background-color: #EEEEEE;
}

.media-post-title {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #0B2432;
    font-weight: 700;
    line-height: 120%;
    letter-spacing: -0.4px;
}

.media-post-text {
    font-size: 1rem;
    margin-bottom: 10px;
    flex-grow: 1;
    color: rgba(0, 0, 0, 0.57);
    font-feature-settings: 'liga' off, 'clig' off;
    font-style: normal;
    font-weight: var(--fontWeightRegular, 400);
    line-height: 175%;
    letter-spacing: 0.274px;
}

.media-post-link {
    color: #C1282A;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: underline;
}

    .media-post-link:hover {
        text-decoration: underline;
        color: #C1282A;
    }

@media (max-width: 768px) {
    .media-post-image {
        border-bottom-left-radius: 0;
        border-top-right-radius: 8px;
        height: 200px;
    }

    .media-post-card .row {
        flex-direction: column;
    }

    .media-post-card .col-md-5,
    .media-post-card .col-md-7 {
        width: 100%;
    }
}

.pagination-container {
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.custom-pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

    .custom-pagination li a {
        display: block;
        padding: 5px 10px;
        text-decoration: none;
        color: #043065;
        border-radius: 100px;
    }

    .custom-pagination li.active a {
        background-color: #F0F7FF;
        color: #043065;
    }

    .custom-pagination li.disabled a {
        color: #E8E8E8;
        pointer-events: none;
    }

@media (max-width: 768px) {
    .custom-pagination {
        display: flex;
        justify-content: center;
    }

    .media-post-card {
        margin-bottom: 20px;
    }
}

.media-post-date-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    padding-bottom: 0px;
}

.media-post-calendar-icon {
    flex-shrink: 0;
    margin-top: -3%;
}

.active-category {
    background-color: #f9f9f9;
    border-left: 4px solid #C1282A;
}

.category-filter {
    cursor: pointer;
}
