/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

@font-face {
  font-family: "Open Sans";
  src: url("/assets/OpenSans-7365a9ea.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --mdi-text: #181818;
  --mdi-orange: #e58406;
  --mdi-footer: #1f1f1f;
  --mdi-muted: #666666;
  --mdi-rule: #e5e5e5;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #ffffff;
  color: var(--mdi-text);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: var(--mdi-orange);
  font-weight: 700;
  text-decoration: none;
}

a:hover {
  color: var(--mdi-text);
}

.site-frame {
  min-height: 100vh;
}

.site-wrap {
  width: 1060px;
  max-width: calc(100vw - 20px);
  margin: 0 auto;
  padding: 0 10px;
}

.site-header {
  padding: 22px 0 26px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.site-logo {
  display: block;
  flex: 0 0 auto;
}

.site-logo img {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  font-size: 15px;
}

.site-nav a {
  color: var(--mdi-text);
  display: block;
  font-weight: 400;
  padding: 13px 16px;
}

.site-nav a:hover {
  color: var(--mdi-orange);
}

.content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 700px) 292px;
  gap: 48px;
  align-items: start;
}

.feed-column {
  min-width: 0;
}

.archive-heading {
  border-bottom: 1px solid var(--mdi-rule);
  margin-bottom: 54px;
  padding: 40px 0 42px;
}

.archive-heading h2 {
  color: #b7b7b7;
  font-size: 31px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

.archive-heading span {
  color: var(--mdi-text);
}

.archive-heading i {
  font-style: italic;
}

.single-column {
  padding-bottom: 20px;
}


.full-width-page {
  grid-column: 1 / -1;
}

.idea-card {
  clear: both;
}

.idea-body {
  color: var(--mdi-text);
  min-height: 250px;
}

.entry-title {
  color: var(--mdi-text);
  font-size: 41px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 26px;
}

.entry-title a {
  color: var(--mdi-text);
  font-weight: 400;
}

.entry-title a:hover {
  color: var(--mdi-orange);
}

.idea-icon {
  float: right;
  margin: 0 0 20px 32px;
  max-width: 250px;
}

.idea-icon img {
  border: 0;
  display: block;
  height: auto;
  width: 250px;
}

.idea-body h4 {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  margin: 18px 0 8px;
}

.idea-body p {
  margin: 0 0 16px;
}

.share-buttons {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  margin-top: 18px;
}

.share-button {
  align-items: center;
  color: #ffffff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  height: 32px;
  justify-content: center;
  line-height: 1;
  width: 32px;
}

.share-button:hover {
  color: #ffffff;
  opacity: 0.86;
}

.share-button.facebook {
  background: #3b5998;
}

.share-button.twitter {
  background: #55acee;
}

.share-button.linkedin {
  background: #0077b5;
  font-size: 12px;
}

.share-button.more {
  background: #f28c00;
}

.idea-meta {
  clear: both;
  color: var(--mdi-muted);
  font-size: 14px;
  margin-top: 18px;
  text-align: right;
}

.post-separator {
  border-bottom: 1px solid var(--mdi-rule);
  clear: both;
  margin: 34px 0 40px;
}

.pagination-nav {
  display: table;
  margin: 0 auto 40px;
}

.pagination-nav::after {
  clear: both;
  content: "";
  display: table;
}

.page-numbers {
  border: 1px solid var(--mdi-orange);
  color: var(--mdi-orange);
  cursor: pointer;
  display: block;
  float: left;
  font-size: 16px;
  height: 34px;
  line-height: 34px;
  margin-left: 9px;
  padding: 0 10px;
  text-align: center;
}

.page-numbers:first-child {
  margin-left: 0;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--mdi-orange);
  color: #ffffff;
}

.page-numbers.dots {
  cursor: default;
}

.sidebar-column {
  min-width: 0;
}

.sidebar-widget {
  margin-bottom: 30px;
}

.widget-title {
  color: var(--mdi-text);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 12px;
}

.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-list li {
  border-bottom: 1px solid #eeeeee;
  font-size: 14px;
  line-height: 1.45;
  padding: 5px 0;
}

.archive-list a {
  color: var(--mdi-orange);
  font-weight: 400;
}

.archive-list a:hover {
  color: var(--mdi-text);
}

.search-form {
  display: flex;
  width: 100%;
}

.search-form input {
  border: 1px solid #bbbbbb;
  border-right: 0;
  color: var(--mdi-text);
  flex: 1 1 auto;
  font: inherit;
  height: 38px;
  min-width: 0;
  padding: 0 12px;
}

.search-form button {
  background: var(--mdi-orange);
  border: 1px solid var(--mdi-orange);
  cursor: pointer;
  height: 38px;
  position: relative;
  width: 42px;
}

.search-form button::before {
  border: 2px solid #ffffff;
  border-radius: 50%;
  content: "";
  height: 13px;
  left: 50%;
  position: absolute;
  top: 45%;
  transform: translate(-58%, -58%);
  width: 13px;
}

.search-form button::after {
  background: #ffffff;
  content: "";
  height: 8px;
  left: 55%;
  position: absolute;
  top: 55%;
  transform: rotate(-45deg);
  transform-origin: top center;
  width: 2px;
}

.page-card {
  max-width: 900px;
}

.page-card .idea-body {
  min-height: 0;
}

.legal-page {
  max-width: 860px;
}

.legal-page h1 {
  color: var(--mdi-text);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 22px;
}

.legal-page h2 {
  color: var(--mdi-text);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  margin: 28px 0 10px;
}

.legal-page ul {
  margin: 0 0 18px 22px;
  padding: 0;
}

.legal-form {
  max-width: 680px;
}

.legal-form label {
  display: block;
  font-weight: 700;
  margin: 0 0 14px;
}

.legal-form input,
.legal-form select,
.legal-form textarea {
  border: 1px solid #bbbbbb;
  color: var(--mdi-text);
  display: block;
  font: inherit;
  margin-top: 5px;
  padding: 9px 10px;
  width: 100%;
}

.legal-form textarea {
  resize: vertical;
}

.legal-form button,
.legal-form input[type="submit"],
.button-link {
  background: var(--mdi-orange);
  border: 1px solid var(--mdi-orange);
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font: inherit;
  font-weight: 700;
  padding: 9px 14px;
}

.legal-form button:hover,
.legal-form input[type="submit"]:hover,
.button-link:hover {
  background: var(--mdi-text);
  border-color: var(--mdi-text);
  color: #ffffff;
}

.privacy-hidden-field {
  left: -9999px;
  position: absolute;
}

.error-list,
.admin-summary {
  border: 1px solid var(--mdi-rule);
  margin: 0 0 22px;
  padding: 14px 18px;
}

.flash-messages {
  margin-bottom: 18px;
}

.flash {
  border: 1px solid var(--mdi-rule);
  margin: 0 0 8px;
  padding: 10px 12px;
}

.flash.notice {
  border-color: #8cbf72;
}

.flash.alert {
  border-color: #c65b4a;
}

.admin-table {
  border-collapse: collapse;
  margin: 16px 0 24px;
  width: 100%;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--mdi-rule);
  padding: 8px;
  text-align: left;
  vertical-align: top;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.site-footer {
  background: var(--mdi-footer);
  color: #ffffff;
  margin-top: 50px;
  padding: 45px 0 20px;
}

.footer-inner {
  font-size: 13px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  line-height: 1.5;
}

.site-footer a {
  color: #ffffff;
  font-weight: 400;
}

.footer-nav a + a {
  position: relative;
}

.footer-nav a + a::before {
  color: #8d8d8d;
  content: "/";
  font-weight: 400;
  left: -11px;
  position: absolute;
}

.site-footer p {
  margin: 18px 0 0;
}

@media (max-width: 768px) {
  .site-wrap {
    width: 490px;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .site-nav a {
    padding-left: 0;
    padding-right: 24px;
  }

  .content-wrap {
    display: block;
  }

  .feed-column,
  .sidebar-column {
    width: 100%;
  }

  .sidebar-column {
    margin-top: 10px;
  }
}

@media (max-width: 540px) {
  .site-wrap {
    width: 340px;
  }

  .site-header {
    padding-top: 16px;
  }

  .site-logo img {
    max-width: 200px;
    width: 70vw;
  }

  .entry-title {
    font-size: 30px;
  }

  .idea-icon {
    float: none;
    margin: 0 0 18px;
    max-width: 100%;
  }

  .idea-icon img {
    max-width: 250px;
    width: 100%;
  }

  .idea-meta {
    text-align: left;
  }

  .footer-nav {
    gap: 7px 14px;
  }
}
