@media (min-width: 1000px) {
    .wd-page-title {background-color: #575758 !important; max-height: 8rem !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important;}
    .title-size-default .entry-title {font-size: 1.3rem !important; color: white !important; font-weight: 400 !important;}
    .mgh-podcast-grid, .mgh-post-grid, .mgh-visualization-grid, .mgh-psychotherapist-grid, .mgh-service-grid {display: flex; flex-direction: row; flex-wrap: wrap; gap: 1.2rem; justify-content: center; align-items: center;}
    .mgh-podcast-grid > *,.mgh-post-grid > *, .mgh-visualization-grid > *, .mgh-psychotherapist-grid > *, .mgh-service-grid > * { flex: 0 0 calc(25% - 20px); max-width: calc(25% - 20px); box-sizing: border-box;}
    h2.mgh-podcast-title,h2.mgh-post-title, h2.mgh-visualization-title, h2.mgh-psychotherapist-title, h2.mgh-service-title {font-size: 1.05rem; color: #464646; font-weight: 600; text-align: center;}
    div.mgh-post-section, div.mgh-visualization-section, div.mgh-psychotherapist-section, div.mgh-service-section {margin-top: 2rem;}
    div.mgh-podcast-section, div.mgh-visualization-section, div.mgh-psychotherapist-section, div.mgh-service-section{ border: 0.1rem dashed #464646; border-radius: 0.8rem; padding: 2rem 0.6rem;}
    div.mgh-post-section{ border: 0.1rem dashed #464646; border-radius: 0.8rem; padding: 2rem 0;}
    .mgh-no-results { text-align: center; font-size: 1rem; font-weight: 500; color: #575758;} .mgh-service-pagination, .mgh-post-pagination {display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 1em; margin-top: 2em;}
}


@media (max-width: 999px) {
    .wd-page-title {background-color: #575758 !important; max-height: 4rem !important; max-height: 5rem !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important;}
    .title-size-default .entry-title {font-size: 1rem !important; color: white !important; font-weight: 400 !important;}
    .mgh-podcast-grid, .mgh-post-grid, .mgh-visualization-grid, .mgh-psychotherapist-grid, .mgh-service-grid {display: flex; flex-direction: column; gap: 0.7rem;}
    h2.mgh-podcast-title,h2.mgh-post-title, h2.mgh-visualization-title, h2.mgh-psychotherapist-title, h2.mgh-service-title {font-size: 0.9rem; color: #464646; font-weight: 500; text-align: center;}
    div.mgh-post-section, div.mgh-visualization-section, div.mgh-psychotherapist-section, div.mgh-service-section {margin-top: 2rem;}
    div.mgh-podcast-section, div.mgh-post-section, div.mgh-visualization-section, div.mgh-psychotherapist-section, div.mgh-service-section{ border: 0.1rem dashed #464646; border-radius: 0.8rem; padding: 1rem 0.6rem;}
    .mgh-no-results { text-align: center; font-size: 1rem; font-weight: 500; color: #575758;}
    div.mgh-visualization-grid {
        margin-right: 0.5em !important;
    }
    .mgh-service-pagination, .mgh-post-pagination {display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 1em; margin-top: 2em;}
}
