/* ===== Buttons Sidebar Block ===== */

.buttons-sidebar-block {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 20px 0;
}

.buttons-sidebar-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto auto;
  gap: 16px;
  width: 100%;
  max-width: 900px;
  align-items: center;
  justify-items: center;
}

.sidebar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 24px;
  text-decoration: none;

  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  letter-spacing: 0.12em; /* 12% */
  text-transform: uppercase;

  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}


.sidebar-button:first-child {
  color: #ffffff;
  width: 414px;
  height: 62px;
  border-radius: 50px;
  padding: 17px 28px;
}



.sidebar-button-filled {
  background-color: #778f76;
  color: #ffffff;
}

.sidebar-button-filled:hover {
  background-color: #A8BE96;

  /* box-shadow: 0 4px 12px rgba(123, 130, 106, 0.3); */
}

.sidebar-button-outline {
  background-color: transparent;
  color: #2c3a2e;
  border: 2px solid #2c3a2e;
}

.sidebar-button-outline:hover {
  background-color: #f5f5f5;
  border-color: #3D4E4A !important;
  color: #3D4E4A !important;
}

.sidebar-button:first-child {
  width: 414px;
  height: 62px;
  border-radius: 50px;
  padding: 17px 28px;
  gap: 28px;
  opacity: 1;
}

.sidebar-button:nth-child(2) {
    width: 414px;
  height: 62px;
  border-radius: 50px;
  padding: 17px 28px;
  gap: 28px;
  border-width: 3px;
  opacity: 1;
  border: 3px solid #778F76;
    color: #778F76;

}

.sidebar-button:nth-child(3) {
  background-color: transparent;
  color: #3d4636;
  border: none;
  border-radius: 0;
  padding: 10px 0 0 0;
  font-family: Lato;
  font-weight: 700;
  font-style: Bold;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 32px;
  letter-spacing: 16%;
  text-transform: uppercase;
  width: auto;
  height: auto;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}

.sidebar-button:nth-child(3)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50%;
  height: 2px;
  background-color: #A8BE96;
}

.sidebar-button:nth-child(3):hover {
  color: #A8BE96;
}

.sidebar-button:nth-child(4) {
  width: 414px;
  height: 62px;
  border-radius: 50px;
  padding: 17px 28px;
  gap: 28px;
  opacity: 1;
  color: white;
}

.sidebar-button:nth-child(5) {
  width: 414px;
  height: 62px;
  border-radius: 50px;
  padding: 17px 28px;
  gap: 28px;
  border-width: 3px;
  opacity: 1;
  border: 3px solid #778F76;
  color: #778F76;
}
.sidebar-button:nth-child(5) :hover{
    border: 3px solid #3D4E4A !important;
    color: #3D4E4A !important;
}

.sidebar-button-outline :hover{
    border: 3px solid #3D4E4A !important;
    color: #3D4E4A !important;
}
/* Grid Layout for buttons 4-5 - Desktop */
.buttons-sidebar-container .sidebar-button:nth-child(1),
.buttons-sidebar-container .sidebar-button:nth-child(2),
.buttons-sidebar-container .sidebar-button:nth-child(3) {
  grid-column: 1 / -1;
}

.buttons-sidebar-container .sidebar-button:nth-child(4) {
  grid-column: 1;
}

.buttons-sidebar-container .sidebar-button:nth-child(5) {
  grid-column: 2;
}


/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  .buttons-sidebar-container {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 12px;
  }

  .buttons-sidebar-container .sidebar-button:nth-child(1),
  .buttons-sidebar-container .sidebar-button:nth-child(2),
  .buttons-sidebar-container .sidebar-button:nth-child(3),
  .buttons-sidebar-container .sidebar-button:nth-child(4),
  .buttons-sidebar-container .sidebar-button:nth-child(5) {
    grid-column: 1;
  }

  .sidebar-button {
    padding: 12px 24px;
    font-family: Lato, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.12em;
    vertical-align: middle;
    text-transform: uppercase;
    min-height: 44px;
  }

  .sidebar-button:first-child {
    width: 330px;
    height: 52px;
    border-radius: 50px;
    padding: 17px 28px 16px 28px;
    gap: 28px;
    opacity: 1;
  }

  .sidebar-button:nth-child(2) {
    width: 330px;
    height: 52px;
    border-radius: 50px;
    padding: 17px 28px 16px 28px;
    gap: 28px;
    border-width: 3px;
    opacity: 1;
  }

  .sidebar-button:nth-child(4) {
    width: 330px;
    height: 52px;
    border-radius: 50px;
    padding: 17px 28px 16px 28px;
    gap: 28px;
    opacity: 1;
  }

  .sidebar-button:nth-child(5) {
    width: 330px;
    height: 52px;
    border-radius: 50px;
    padding: 17px 28px 16px 28px;
    gap: 28px;
    border-width: 3px;
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .sidebar-button-filled {
      font-family: Lato !important;
    font-weight: 700 !important;
    font-style: Bold !important;
    font-size: 18px !important;
    leading-trim: NONE !important;
    line-height: 22px !important;
    letter-spacing: 16% !important;
    text-transform: uppercase !important;
  }
  .buttons-sidebar-block {
    padding: 16px;
  }

  .buttons-sidebar-container {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .sidebar-button {
    padding: 10px 16px;
    font-family: Lato, sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 16px;
    line-height: 22px;
    letter-spacing: 0.12em;
    vertical-align: middle;
    text-transform: uppercase;
    border-radius: 20px;
  }

  .sidebar-button:first-child {
    width: 330px;
    height: 52px;
    border-radius: 50px;
    padding: 17px 28px 16px 28px;
    gap: 28px;
    opacity: 1;
  }

  .sidebar-button:nth-child(4) {
    width: 330px;
    height: 52px;
    border-radius: 50px;
    padding: 17px 28px 16px 28px;
    gap: 28px;
    opacity: 1;
  }

  .sidebar-button:nth-child(5) {
    width: 330px;
    height: 52px;
    border-radius: 50px;
    padding: 17px 28px 16px 28px;
    gap: 28px;
    border-width: 3px;
    opacity: 1;
  }
}
