body.controller-devogram_pages,
body.controller-welcome {
  font-size: 16px;
}

.devogram-pages-navigation {
    display: flex;
    gap: 1.5em;
    margin-bottom: 2em;
    padding-bottom: 1em;
    border-bottom: 1px solid #ddd;
}

.devogram-pages-navigation a.active {
  color: #8c2f00;
  text-decoration: underline;
  text-decoration-color: #d96517;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.devogram-pages-hero {
    padding: 2em;
    background: #f7f7f7;
    border-radius: 4px;
}

.devogram-home-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2em;
  align-items: stretch;
}

.devogram-home-grid .devogram-pages-hero,
.devogram-home-map {
  min-width: 0;
}

.devogram-home-map {
  box-sizing: border-box;
  padding: 2em;
  border-radius: 4px;
  background: #f7f7f7;
}

.devogram-home-map h2 {
  margin-top: 0;
}

.devogram-home-map iframe {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(80, 40, 15, .08);
}

.devogram-home-map small {
  display: block;
  margin-top: .75em;
  color: #6b5142;
}

.devogram-pages-actions {
    display: flex;
    gap: 1em;
    margin-top: 2em;
}

body.controller-devogram_pages.action-legal h3 {
  margin-top: 2em;
  margin-bottom: .75em;
  padding-bottom: .35em;
  border-bottom: 1px solid rgba(217, 101, 23, .35);
}

body.controller-devogram_pages h3 {
  text-decoration: underline;
  text-decoration-color: #d96517;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.devogram-remote-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2em;
  align-items: stretch;
  margin-bottom: 24px;
}

.devogram-remote-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  padding: 2em 2em 0;
  border-radius: 4px;
  background: #f7f7f7;
}

.devogram-remote-card:first-child {
  padding-left: 2em;
}

.devogram-remote-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(100%, 280px);
    height: 96px;
    margin: 0 auto 1.25em;
    padding: 1em 1.5em;
    border: 1px solid rgba(217, 101, 23, .18);
    border-radius: 18px;
    background: linear-gradient(135deg, #fffaf6, #fff0e5);
    box-shadow: 0 8px 20px rgba(80, 40, 15, .08);
}

.devogram-remote-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.devogram-remote-card h3 {
  text-align: center;
}

.devogram-client-login {
  max-width: 560px;
  margin: 0;
  text-align: left;
}

.devogram-client-login h2,
.devogram-client-login > p {
  text-align: left;
}

.devogram-remote-frame {
    display: block;
    width: 100%;
    min-height: 400px;
    border: 0;
}

@media screen and (max-width: 899px) {
  .devogram-home-grid {
    grid-template-columns: 1fr;
  }

  .devogram-remote-grid {
    grid-template-columns: 1fr;
  }

  .devogram-remote-card,
  .devogram-remote-card:first-child {
    padding: 2em;
  }

}
