/* Custom Photos navigation button. Kept separate from the generated stylesheet. */
html,
body,
#root {
  max-width: 100%;
  overflow-x: hidden;
}

.photos-navbar-button {
  display: inline-block;
  margin-right: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #f0b444;
  border-radius: 0.375rem;
  color: #f0b444;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.6s, background-color 0.6s;
}

.photos-navbar-button:hover {
  background-color: #f0b444;
  color: #000;
}

/* Hero call-to-action for the event gallery. */
.event-photos-button {
  display: inline-block;
  margin: 2rem 0 0 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #f0b444;
  border-radius: 0.375rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.3s, background-color 0.3s;
}

.event-photos-button:hover {
  background-color: #f0b444;
  color: #000;
}

@media (max-width: 640px) {
  .event-photos-button {
    display: block;
    width: fit-content;
    margin-right: auto;
    margin-left: auto;
  }
}

/* Main-site footer, aligned with the current photos.upsightbangladesh.com design. */
#main-site-footer {
  box-sizing: border-box;
  margin-top: 0;
  padding: 16px max(24px, calc((100% - 1540px) / 2)) 12px;
  color: #dce8ee;
  background: radial-gradient(circle at 90% 0, #064e45 0, #032c25 32%, #021d18 70%, #011711 100%);
  border-top: 2px solid #d7a310;
  font-family: Montserrat, sans-serif;
}

.main-footer-content { display: grid; grid-template-columns: 1.2fr 1.2fr 1.2fr; gap: 18px; max-width: 1540px; margin: 0 auto; }
.main-footer-card { min-height: 150px; padding: 16px 22px; border: 1px solid rgba(203, 226, 214, .16); border-radius: 14px; background: rgba(7, 32, 27, .55); box-sizing: border-box; }
.main-footer-logo { display: block; width: 120px; max-width: 100%; height: auto; margin: 0 0 10px; }
.main-footer-card p { margin: 0; color: #d4e0e4; font-size: 13px; line-height: 1.45; }
.main-footer-card h2, .main-footer-payment span { margin: 0 0 10px; color: #e8ae13; font-size: 13px; font-weight: 700; letter-spacing: .14em; line-height: 1.2; text-transform: uppercase; }
.main-footer-outline-button, .main-footer-socials a { display: inline-block; margin-top: 12px; padding: 8px 11px; border: 1px solid #d6a20d; border-radius: 6px; color: #f4d166; font-size: 12px; font-weight: 700; text-decoration: none; transition: background .2s, color .2s; }
.main-footer-outline-button:hover, .main-footer-socials a:hover { color: #061c17; background: #e8ae13; }
.main-footer-contact { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 7px; color: #d4e0e4; font-size: 13px; line-height: 1.35; text-decoration: none; }
.main-footer-contact span { display: inline-flex; flex: 0 0 27px; align-items: center; justify-content: center; width: 27px; height: 27px; border-radius: 50%; color: #e8ae13; background: rgba(194, 147, 4, .17); font-size: 15px; }
.main-footer-links > div { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 24px; }
.main-footer-links > div a { color: #d4e0e4; font-size: 13px; text-decoration: none; }
.main-footer-links a:hover { color: #e8ae13; }
.main-footer-links hr { margin: 14px 0 12px; border: 0; border-top: 1px solid rgba(203, 226, 214, .16); }
.main-footer-links h2:nth-of-type(2) { margin-bottom: 0; }
.main-footer-socials { display: flex; gap: 8px; }.main-footer-socials a { margin-top: 7px; color: #fff; border-color: rgba(203, 226, 214, .25); }
.main-footer-payment { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 10px 0 7px; }.main-footer-payment span { margin: 0; font-size: 11px; }.main-footer-payment picture { display: block; width: min(1100px, 100%); }.main-footer-payment img { display: block; width: 100%; height: 100px; object-fit: fill; }
.main-footer-bottom { display: flex; flex-direction: column; align-items: center; width: min(1100px, 100%); margin: 0 auto; gap: 4px; color: #8da3a8; font-size: 12px; text-align: center; }
@media (max-width: 900px) { .main-footer-content { grid-template-columns: 1fr; }.main-footer-card { min-height: auto; }.main-footer-bottom { flex-direction: column; align-items: center; text-align: center; } }
@media (max-width: 767px) { .main-footer-payment picture { width: 100%; }.main-footer-payment img { height: auto; object-fit: contain; } }
@media (max-width: 480px) { #main-site-footer { padding: 28px 16px 22px; }.main-footer-card { padding: 24px 18px; }.main-footer-links > div { grid-template-columns: 1fr; }.main-footer-contact { font-size: 13px; } }
