/* --- BLOG & RESOURCE MODAL STYLES --- */
.resource-modal-overlay {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    z-index: 100;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.3s ease;
}

.resource-modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.blog-post-card {
    border: 5px solid #000;
    background: #fff;
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 0;
    cursor: pointer;
    transition: transform 0.2s;
}

.blog-post-card-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    border-right: 5px solid #000;
}

.blog-post-card-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: #fff;
}

.resource-modal-content {
    width: 100%;
    max-width: 900px;
    background: #fff;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.resource-modal-inner {
    border: 5px solid #000;
    padding: 60px;
    background: #fff;
    max-height: none;
    overflow-y: visible;
}

.resource-modal-close {
    margin-top: 5px;
    font-size: 0.9rem;
    font-family: 'Arial Black', sans-serif;
    font-weight: 900;
    cursor: pointer;
    background: #fff !important;
    color: #000 !important;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    border: 5px solid #000 !important;
    align-self: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 50px;
}

.resource-modal-close:hover {
    background: #000 !important;
    color: #fff !important;
    transform: scale(1.05);
}

.resource-link-item {
    display: block;
    padding: 30px;
    border: 5px solid #000;
    margin-bottom: 20px;
    text-decoration: none;
    color: #000;
    transition: all 0.2s;
}

.resource-link-item:hover {
    background: #000;
    color: #fff;
    transform: translateX(10px);
}

.resource-link-label {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.resource-link-subtitle {
    display: block;
    font-size: 1rem;
    font-weight: bold;
    opacity: 0.6;
}