/*
 * 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.
 */

/* Underline From Center */
.hvr-underline-from-center {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  overflow: hidden;
}
.hvr-underline-from-center:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 51%;
  right: 51%;
  bottom: 0;
  background: var(--color-primary);
  height: 4px;
  -webkit-transition-property: left, right;
  transition-property: left, right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.hvr-underline-from-center:hover:before, .hvr-underline-from-center:focus:before, .hvr-underline-from-center:active:before {
  left: 0;
  right: 0;
}

/* Styles for an old content */
.aligncenter {
  margin: 24px auto;
}
.attachment {
  display: block;
  height: auto;
  min-height: 64px;
  background-position: top left;
  background-attachment: scroll;
  background-repeat: no-repeat;
  padding-left: 76px;
  margin: 16px 0;
}
.svg-icon {
  background-image: url("/assets/icons/svg-icon-b17f65a2.svg");
}
.cdr-icon {
  background-image: url("/assets/icons/svg-icon-b17f65a2.svg");
}
.psd-icon {
  background-image: url("/assets/icons/svg-icon-b17f65a2.svg");
}
.ai-icon {
  background-image: url("/assets/icons/svg-icon-b17f65a2.svg");
}

/* Custom Tailwind Typography */
.typography {
  color: var(--bc);
  line-height: 1.75;
  font-size: 1rem;
}

.typography h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.2;
  color: var(--p);
}

.typography h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
  line-height: 1.3;
  color: var(--p);
}

.typography h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.25em;
  margin-bottom: 0.5em;
}

.typography p {
  margin-top: 1em;
  margin-bottom: 1em;
}

.typography ul,
.typography ol {
  margin-top: 1em;
  margin-bottom: 1em;
  padding-left: 1.25em;
}

.typography li {
  margin-top: 0.25em;
  margin-bottom: 0.25em;
}

.typography a {
  color: var(--p);
  text-decoration: underline;
}

.typography blockquote {
  margin: 1.5em 0;
  padding-left: 1em;
  border-left: 4px solid var(--b2); /* base-200 */
  color: var(--bc);
  opacity: 0.7;
  font-style: italic;
}

.typography code {
  background-color: var(--b2);
  color: var(--bc);
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.typography pre {
  background-color: var(--b2);
  color: var(--bc);
  padding: 1em;
  border-radius: 0.5rem;
  overflow-x: auto;
  font-size: 0.875em;
  line-height: 1.5;
}

.typography table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.typography th,
.typography td {
  border: 1px solid var(--b2);
  padding: 0.5em 0.75em;
  text-align: left;
}

.typography img {
  max-width: 100%;
  height: auto;
  margin-top: 1em;
  margin-bottom: 1em;
  border-radius: 0.5rem;
}
