/* ==========================================
   Gallery Page Base Styles — page-id-127
   Mobile-First Approach
========================================== */

/* === Hero Section === */
.page-id-127 .gallery-hero-section {
  padding-top: 160px;
  padding-right: 16px;
  padding-left: 16px;
  background-position: top center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* === Remove Extra Padding/Margins From Specific Sections === */
.page-id-127 .et_pb_section:nth-of-type(2),
.page-id-127 .et_pb_section:nth-of-type(3),
.page-id-127 .et_pb_section:nth-of-type(4),
.page-id-127 .et_pb_section .et_pb_map,
.page-id-127 #main-footer {
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
}

/****************************************************************************/
/****************************************************************************/
@media only screen and (max-width: 417px) {
  .et_pb_button.et_pb_button_2.secondary-button.et-lb-btn-1 {
    font-size: 14px !important;
    padding: 10px 20px !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    width: auto !important;
    max-width: 100% !important;
  }
}

/****************************************************************************/
/****************************************************************************/
@media (min-width: 768px) {
  /* Button Refinement for Tablet+ */
  .page-id-127 .gallery-hero-section {
    padding-top: 120px;
    padding-left: 32px;
    padding-right: 32px;
  }

  /* Optional: Increase heading size */
  .page-id-127 .gallery-hero-section h1 {
    /*font-size: clamp(2.5rem, 5vw, 3.5rem);*/
  }
}

/* ========================================= */
/* UNIVERSAL RESET FOR HEADER PADDING AND MARGIN */
/* ========================================= */
#main-header,
.et_pb_section_0_tb_header.et_pb_section,
.et_pb_row_0_tb_header.et_pb_row {
    margin: 0 !important;
    padding: 0 !important;
}

/* This targets the sticky state */
.et-fixed-header #main-header,
.et-fixed-header .et_pb_section_0_tb_header.et_pb_section,
.et_pb_section_0_tb_header.et_pb_section.et_pb_sticky,
.et_pb_row_0_tb_header.et_pb_row {
    margin: 0 !important;
    padding: 0 !important;
}