article img.size-full {
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
}

.post-content a {
    color: #372aac;
    font-weight: 500;
    text-decoration: none;
}

/* Responsive Video Embeds (YouTube, Vimeo, etc.) */

.post-content iframe[src*="youtube.com"],
.post-content iframe[src*="youtu.be"],
.post-content iframe[src*="vimeo.com"],
.post-content iframe[src*="dailymotion.com"] {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

/* WordPress embed wrapper support */
.post-content .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.post-content .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Generic responsive iframe wrapper for any embedded content */
.post-content > iframe,
.post-content p > iframe {
    max-width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
}

.post-content ul {
    list-style-type: disc;
    list-style-position: initial;
    padding-left: 3rem;
    margin-bottom: 1rem;
}

/* Table Styles */

article table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    line-height: 1.5rem;
    margin: 2rem 0;
}

article table thead {
    background-color: rgb(249 250 251);
}

article table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: rgb(17 24 39);
    border-bottom: 1px solid rgb(229 231 235);
}

article table tbody tr {
    border-bottom: 1px solid rgb(229 231 235);
    transition: background-color 150ms;
}

article table tbody tr:hover {
    background-color: rgb(249 250 251);
}

article table td {
    padding: 0.75rem 1rem;
    color: rgb(55 65 81);
}

/* Responsive: horizontal scroll on mobile */

@media (max-width: 768px) {
    article table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    article table th,
    article table td {
        padding: 0.5rem 0.75rem;
    }
}


.wpcf7-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-weight: 500;
    background-color: rgb(23 23 23);
    color: white;
    padding: 0.75rem 5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 150ms;
    font-size: 0.875rem;
}

.wpcf7-submit:hover {
    background-color: rgb(38 38 38);
}

@media (min-width: 640px) {
    .wpcf7-submit {
        width: auto;
    }
}