.economic-dashboard {
    background: var(--white);
	padding-top:0;
}
.dashboard-hero {
    background: var(--primary-color);
    color: var(--white);

}
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 27px 0px;
	gap: 16px;
}

.dashboard-header .text-md{
    color: var(--white);
    margin: 0;
}

.dashboard-filter {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.dashboard-label {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
}

.dashboard-select {
    min-width: 320px;
    height: 52px;
    border: 2px solid transparent;
    background: var(--white);
    color: var(--grey-dark);
    padding-inline: 16px;
    font-size: 18px;
    font-family: var(--font-family-secondary);
}

.dashboard-select:focus-visible {
    outline: 3px solid #00bbde;
    outline-offset: 3px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 48px;
    padding-left: 0;
}
.dashboard-grid{
    list-style: none;
}

.dc {
    background: var(--white);
    border: 2px solid #d5dbe1;
    padding: 30px;
    position: relative;
    min-height: 280px;
    transition: .3s ease;
	display: flex;
    justify-content: space-between;
    height: 100%;
	    text-decoration: none;
}
.dc-content{
	    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}
.dc-content .dc-title-group{
        padding-right: 35px;
}
.dc--positive {
    border-color: #106527;
}

.dc--negative,
.dc--up{
    border-color: #A0181A;
}

.dc:hover {
    transform: translateY(-4px);
}

.dc:focus-within {
    outline: 3px solid #00bbde;
    outline-offset: 4px;
}

.dc-icon {
    position: absolute;
    top: 32px;
    right: 25px;
    width: 52px;
    height: 52px;
    display: inline-block;
    flex-shrink: 0;
    font-size: 54px;
    font-weight: 700;
    line-height: 1;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17L17 7M17 7H9M17 7V15' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17L17 7M17 7H9M17 7V15' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E") no-repeat center;
    -webkit-mask-size: contain;
    mask-size: contain;
    transition: background-color 0.3s ease;
    pointer-events: none;
}
.dc--positive .dc-icon {
    color: #106527;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='37' height='45' viewBox='0 0 37 45' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.1777 0.732231C19.2014 -0.244076 17.6185 -0.244076 16.6421 0.732231L0.732244 16.6421C-0.244067 17.6184 -0.244067 19.2014 0.732244 20.1777C1.70855 21.154 3.29147 21.154 4.26778 20.1777L18.4099 6.03553L32.552 20.1777C33.5284 21.154 35.1113 21.154 36.0876 20.1777C37.0639 19.2014 37.0639 17.6184 36.0876 16.6421L20.1777 0.732231ZM18.4099 44.5L20.9099 44.5L20.9099 2.5L18.4099 2.5L15.9099 2.5L15.9099 44.5L18.4099 44.5Z' fill='black'/%3E%3C/svg%3E");
	 mask-image: url("data:image/svg+xml,%3Csvg width='37' height='45' viewBox='0 0 37 45' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.1777 0.732231C19.2014 -0.244076 17.6185 -0.244076 16.6421 0.732231L0.732244 16.6421C-0.244067 17.6184 -0.244067 19.2014 0.732244 20.1777C1.70855 21.154 3.29147 21.154 4.26778 20.1777L18.4099 6.03553L32.552 20.1777C33.5284 21.154 35.1113 21.154 36.0876 20.1777C37.0639 19.2014 37.0639 17.6184 36.0876 16.6421L20.1777 0.732231ZM18.4099 44.5L20.9099 44.5L20.9099 2.5L18.4099 2.5L15.9099 2.5L15.9099 44.5L18.4099 44.5Z' fill='black'/%3E%3C/svg%3E");
}
.dc--negative .dc-icon,
.dc--up .dc-icon{
    color: #A0181A;
    transform: rotate(180deg);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg width='37' height='45' viewBox='0 0 37 45' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.1777 0.732231C19.2014 -0.244076 17.6185 -0.244076 16.6421 0.732231L0.732244 16.6421C-0.244067 17.6184 -0.244067 19.2014 0.732244 20.1777C1.70855 21.154 3.29147 21.154 4.26778 20.1777L18.4099 6.03553L32.552 20.1777C33.5284 21.154 35.1113 21.154 36.0876 20.1777C37.0639 19.2014 37.0639 17.6184 36.0876 16.6421L20.1777 0.732231ZM18.4099 44.5L20.9099 44.5L20.9099 2.5L18.4099 2.5L15.9099 2.5L15.9099 44.5L18.4099 44.5Z' fill='black'/%3E%3C/svg%3E");
mask-image: url("data:image/svg+xml,%3Csvg width='37' height='45' viewBox='0 0 37 45' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20.1777 0.732231C19.2014 -0.244076 17.6185 -0.244076 16.6421 0.732231L0.732244 16.6421C-0.244067 17.6184 -0.244067 19.2014 0.732244 20.1777C1.70855 21.154 3.29147 21.154 4.26778 20.1777L18.4099 6.03553L32.552 20.1777C33.5284 21.154 35.1113 21.154 36.0876 20.1777C37.0639 19.2014 37.0639 17.6184 36.0876 16.6421L20.1777 0.732231ZM18.4099 44.5L20.9099 44.5L20.9099 2.5L18.4099 2.5L15.9099 2.5L15.9099 44.5L18.4099 44.5Z' fill='black'/%3E%3C/svg%3E");
}

.dc-content .dc-title {
    font-size: 25px !important;
    margin: 0;
    max-width: 90%;
}

.dc-date {
    font-size: 20px !important;
    font-weight: 700;
    color: var(--grey-dark);
	font-family: var(--font-family-primary);
}

.dc-value {
    margin-top: 60px;
    font-family: var(--font-family-primary);
    font-size: 36px;
    line-height: 1.1;
    color: #1C1E20;
}

.dc-change {
       font-size: 20px;
    font-weight: 600;
}

.dc-change--positive,
.dc-change--negative {
    display: inline-flex;
    align-items: center;
}

/* .dc-change--positive::before {
    content: "↑";
    margin-right: 0.35em;
}

.dc-change--negative::before {
    content: "↓";
    margin-right: 0.35em;
} */

.dc-change--positive {
    color: #106527;
}

.dc-change--negative,
.dc--up .dc-change--positive {
    color: #A0181A;
}
.dc--up .dc-icon{
        transform: rotate(0deg) !important;
}
.dc-values{
        display: flex;
    flex-direction: column;
}


/* Border Colors */
.dc-arrow-green-up,
.dc-arrow-green-down {
    border-color: #106527;
}

.dc-arrow-red-up,
.dc-arrow-red-down {
    border-color: #A0181A;
}

/* Icon Colors */
.dc-arrow-green-up .dc-icon,
.dc-arrow-green-down .dc-icon {
    color: #106527;
}

.dc-arrow-red-up .dc-icon,
.dc-arrow-red-down .dc-icon {
    color: #A0181A;
}

/* Arrow Direction */
.dc-arrow-green-up .dc-icon,
.dc-arrow-red-up .dc-icon {
    transform: rotate(-45deg);
}

.dc-arrow-green-down .dc-icon,
.dc-arrow-red-down .dc-icon {
    transform: rotate(135deg);
}

/* Change Text Colors */
.dc-arrow-green-up .dc-change,
.dc-arrow-green-down .dc-change {
    color: #106527;
}

.dc-arrow-red-up .dc-change,
.dc-arrow-red-down .dc-change {
    color: #A0181A;
}
.home  .economic-dashboard{
    padding-top: 80px;
}
.home  .economic-dashboard ul{
    display: flex;
    padding: 0;
    padding-top: 30px;
    gap: 30px;
    list-style: none;
}
.home .economic-dashboard ul LI{
    width: 25%;
    height: auto;
}
.home .economic-dashboard .dc-content .dc-title {
    font-size: 22px !important;
}
.home .economic-dashboard .dc-value {
    font-size: 28px;
}
.home .economic-dashboard .dc-icon {
    top: 22px;
    right: 15px;
    width: 42px;
    height: 42px;
    font-size: 42px;
}
.home .economic-dashboard .modal-header {
    padding: 16px;
}
.home .economic-dashboard .btn-close {
    min-width: 16px;
    min-height: 16px;
}
.home .economic-dashboard .modal-content{
    border-radius: 0.5rem;
}
.home .economic-dashboard .modal-body {
    padding: 1rem;
}

@media (max-width: 1199.98px) {
	.dc-icon {
    width: 24px;
    height: 24px;
	}
	.dc-change {
    font-size: 18px;
    line-height: normal;
}
.dc-value{
	font-size: 26px;
}
.dc-content .dc-title {
    font-size: 20px !important;
}
.home .economic-dashboard ul {
    gap: 15px;
}
.home .economic-dashboard .dc-content .dc-title {
    font-size: 20px !important;
    max-width: 100%;
}

.home .economic-dashboard .dc-icon{
    top: 22px;
    right: 15px;
    width: 42px;
    height: 42px;
    font-size: 42px;
}
}
/* Tablet */
@media (max-width: 991.98px) {
.home .economic-dashboard ul {
        flex-wrap: wrap;
    }
    .dashboard-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dc {
        min-height: 250px;
    }
    .home .economic-dashboard ul LI {
    width: 48%;
    }
    .home .economic-dashboard {
    padding-top: 40px;
}
}

/* Mobile */
@media (max-width: 767.98px) {

    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .dashboard-select {
        width: 100%;
        min-width: auto;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-top: 32px;
    }

    .dc {
        padding: 24px;
        min-height: auto;
    }

    .dc-icon {
        top: 24px;
        right: 24px;
        font-size: 42px;
    }

    .dc-value {
        margin-top: 40px;
    }
    .home .economic-dashboard ul LI {
    width: 100%;
    }
}
