/* A wrapper is anything that's not a JS web component, but is still a component that we want to be able to style. */

/* Buttons */

.regular-button {
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
    text-align: center;
}
.primary-button {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    text-decoration: none;  
    display: inline-block;
    font-family: var(--font-button);
}
.primary-button:hover {
    transform: translateY(-2px);
    transition: all 0.3s ease;
}
.secondary-button {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-action);
    text-decoration: none;  
    display: inline-block;
    font-family: var(--font-button);
    font-family: var(--font-body);
}
.secondary-button:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Button composition */
.availability {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    align-items: center;
}
.button-composition {
    display: inline-flex;
    flex-direction: row;
    flex-grow: 0;
    gap: 1.25rem;
    padding-top: 0.5rem;
    padding-right: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1.5rem;
    border: 1px solid var(--border-action);
    border-radius: 100px;
}
@media (max-width: 768px) {
  .availability {
    display: none;
  }
  .button-composition {
    padding: 0;
    border: none;
  }
}

/* Social buttons */

.social-button {
    width: 5rem;
    height: 5rem;
    border-radius: 100%;
    border: 1px solid var(--border-action);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}
@media (max-width: 768px) {
  .social-button {
    width: 4rem;
    height: 4rem;
  }
}
.social-button:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Cards */

.card {
    border: 1px solid var(--border-card);
    border-radius: 32px;
    background-color: var(--bg-secondary);
    padding: 0.5rem;
    transition: all 0.3s ease;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: var(--border-action);
}
.card-lg {
    max-width: 432px;
}
.card-md {
    max-width: 318px;
}
.card-lg .project-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1rem 1.5rem 1rem;
    margin: auto;
}
.card-md .project-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem 0.625rem 1rem 0.625rem;
    margin: auto;
}
.project-wrapper p {
    margin: 0;
}
.card img {
    display: block;
    border-radius: 28px;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}

/* Card interactions */



/* Supporting text */

.supporting-text {
    font-family: 'iA Writer Quattro Italic';
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 28px;
    padding-bottom: 0.25rem;
}

/* Table */

.project-meta {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border-top: 1px solid var(--border-action);
}
.project-meta tr {
    border-bottom: 1px solid var(--border-action);
}
.project-meta th {
  width: 120px;
  text-align: left;
  vertical-align: top;
  font-weight: normal;
  color: var(--text-secondary);
  padding: 0.75rem 0 0.75rem 1rem;
}
.project-meta td {
  width: auto;
  padding: 0.75rem 1rem 0.75rem 1rem;
  border-left: 1px solid var(--border-action);
}

/* Insight box */

.insight-box {
    border: 1px solid #1B4B4A;
    border-radius: 16px;
    background-color: #1B3332;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.insight-title {
    font-weight: bold;
    color: #17FFF7;
}
.insight-box p {
    margin: 0;
}
@media (max-width: 768px) {
  .insight-box {
    padding: 1.5rem;
  }
}

/* Action tag */

.action-tag p {
    font-size: 0.875rem;
    line-height: 1.5rem;
}
.announcement {
    background-color: var(--bg-tertiary);
    border-radius: 100px;
    padding: 0rem 0.5rem;
}
.action-tag {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem 0.25rem 0.25rem;
    border: 1px solid var(--border-action);
    border-radius: 100px;
    text-decoration: none;
    background-color: #232323;
    transition: all 0.3s ease;
}
.action-tag:hover {
    transform: translateY(-2px);
    background-color: var(--bg-tertiary);
}
.action-tag-first-border {
    border: 1px solid #252525;
    border-radius: 100px;
    padding: 0.25rem;
}
.action-tag-second-border {
    border: 1px solid #1e1e1e;
    border-radius: 100px;
    padding: 0.25rem;
}
@media (max-width: 768px) {
  .announcement {
    display: none;
  }
  .action-tag{
    padding: 0.25rem 0.5rem 0.25rem 0.75rem;
  }
}