.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
    padding-left: 0;
}
.container-inner-content .wp-block-columns {
    margin-bottom: 0;
}

.wp-block-button a {
    background-color: var(--wp--preset--color--active-color);
    color: var(--wp--preset--color--base);
    padding: 10px 25px;
    border-radius: 16px;
    text-decoration: none;
}

.wp-block-button a:hover, .wp-block-button a:focus {
    color: var(--wp--preset--color--contrast);
    transition: color 0.3s ease;
}

.secondary-btn a {
    background: none;
    border: 1px solid var(--wp--preset--color--active-color);
    color: var(--wp--preset--color--active-color);
}

.secondary-btn a:hover, .secondary-btn a:focus {
    border-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--primary);
    transition: color 0.3s ease;
}

.intro-highlight {
    background: #FFE5B5;
    padding: 10px 25px;
    display: inline-block;
    border-radius: 10px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.pt-grid-item img{
    height: auto;
    display: block;
    max-height: 200px;
    width: auto !important;
    margin: 0 auto;
}

.pt-featured-image {
    background-color: var(--wp--preset--color--light-background);
}

/* Block CSS for Teachers */
.pt-teachers-item {
    display: flex;
    gap: 50px;
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
}

.pt-teachers-item:first-child::before {
    display: none;
}

.pt-teachers-item::before {
    content: "";
    flex: 1;
    height: 2px;
    width: 100%;
    background-color: var(--wp--preset--color--light-background);
    position: absolute;
    top: 0;
}

.pt-teachers-item .featured-image {
    max-width: 250px;
    width: 100%;
}

.pt-teachers-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.pt-teachers-filter-button {
    border: 1px solid var(--wp--preset--color--active-color);
    background: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    color: var(--wp--preset--color--active-color);
    border: none;
}

.pt-teachers-filter-button:hover, .pt-teachers-filter-button:focus {
    background: var(--wp--preset--color--active-color);
    color: #fff;
    transition: background 0.3s ease, color 0.3s ease;
}

.pt-teachers-filter-button.is-active {
    background: var(--wp--preset--color--active-color);
    color: #fff;
}

/* Block CSS for Lessons */

.pt-lessons-item {
    display: flex;
    gap: 50px;
    position: relative;
    padding-top: 50px;
    padding-bottom: 50px;
}

.pt-lessons-item .featured-image {
    max-width: 250px;
    width: 100%;
}

.pt-lessons-item:nth-child(even) .featured-image {
    order:2;
}

.custom-icon-listing-wrapper {
    display: grid;
    justify-content: center;
}