#gallery-1 .gallery-item {
    margin: 5px !important;
    width: 30% !important;
}
.fcard{
border-radius:10px;
box-shadow:2px 4px 4px #000;
border:2px solid #000;
padding:15px;
text-align:center;

}
.xcard {
  display: flex;
  gap: 5px;
}

.fcard {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

/* Ensure buttons stay aligned at bottom */
.fcard .content-btn {
  margin-top: auto;
}

/* Responsive: stack cards on small screens */
@media (max-width: 768px) {
  .xcard {
    flex-direction: column;
  }
.fcard{
margin:0px 10px;
}
}

/* Responsive: stack cards on small screens */
@media (min-width: 768px) {
  .fcard {
   min-height:450px;
  }

}

.page-id-810 h1.entry-title {
    display: none;
}

.contact-video {
display: flex;
justify-content: center;
}

.site-header .sub-menu .sub-menu {
    margin-top: -38px;
}


#pg-1067-1 {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
    width: 100% !important;
    margin: 0 !important;
    align-items: stretch !important;
}

/* Override SiteOrigin's column widths */
#pg-1067-1 > .panel-grid-cell {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Panel itself */
#pg-1067-1 > .panel-grid-cell > .so-panel {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    box-sizing: border-box !important;
}

/* Actual card */
#pg-1067-1 .siteorigin-widget-tinymce.textwidget {
    width: 100% !important;
    height: 100% !important;
    box-sizing: border-box !important;

    border: 1px solid #555 !important;
    padding: 20px 26px !important;

    display: flex !important;
    flex-direction: column !important;
}

/* Heading */
#pg-1067-1 .siteorigin-widget-tinymce h3 {
    margin: 0 0 12px 0 !important;
}

/* Normal paragraphs */
#pg-1067-1 .siteorigin-widget-tinymce p {
    margin-top: 0 !important;
    margin-bottom: 14px !important;
}

/* List */
#pg-1067-1 .siteorigin-widget-tinymce ul {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    padding-left: 20px !important;
}

/* List items */
#pg-1067-1 .siteorigin-widget-tinymce li {
    margin-bottom: 0px !important;
}

/* Button container goes to bottom */
#pg-1067-1 .siteorigin-widget-tinymce > p:last-child {
    margin-top: auto !important;
    margin-bottom: 0 !important;
}

/* Button */
#pg-1067-1 .content-btn {
    display: inline-block !important;
    padding: 9px 15px !important;
    border: 1px solid #1d3d80 !important;
    background: transparent !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

/* Mobile */
@media screen and (max-width: 767px) {

    #pg-1067-1 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    #pg-1067-1 > .panel-grid-cell {
        width: 100% !important;
    }

    #pg-1067-1 .siteorigin-widget-tinymce.textwidget {
        height: auto !important;
    }
}