.article-section {
    padding: 80px;
    background-color: var(--styx-base-color-1);
    color: var(--styx-text-color-1);
    font-family: 'Helvetica Neue', sans-serif;
}

.article-section-title {
    font-family: Rubik;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.03em !important;
    margin: 2rem !important;
    padding: 0;
    text-transform: uppercase !important;
	text-align: center;
}

.article-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	max-width: calc(3 * 360px + 2 * 24px);
    gap: 32px;
    margin: 2rem auto 0;
}

.article-card {
    background-color: var(--styx-base-color-1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	border: 1px solid var(--styx-base-color-2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.article-image .article-link {
	text-decoration: none;
}

.article-image, .article-image .article-link {
	display: flex;
    justify-content: center;
    align-items: center;

	position: relative;
    width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	object-position: center;

	transform: scale(1.05);
	transform-origin: center;
	transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
  transform: scale(1);
}

.article-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-title {
	font-family: Inter;
	font-weight: bold;
    font-size: 1.15rem;
    line-height: 1.2;
    color: var(--styx-text-color-1);
    max-height: calc(1.15em * 2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.article-description {
    font-size: 0.9rem;
    line-height: 1.3;
	letter-spacing: 0.01em;
    color: var(--styx-text-color-1);
	text-align: start;
    flex-grow: 1;
    margin: 10px 0;
    max-height: calc(1.3em * 4);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.article-content .article-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  width: fit-content;
  margin-top: auto;
  margin-left: 12px;
  padding: 0 12px 4px;
  background-color: transparent;
  color: var(--styx-text-color-1);

  font-family: Inter;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  text-decoration: none;

  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

.article-content .article-link i {
  font-size: 0.9em;
  padding-top: 0.5px;
  transition: transform 0.3s ease;
}

.article-content .article-link:hover i {
  transform: translateX(2px);
}

.article-content .article-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0%;
  height: 2px;
  background: currentColor;
  transition: width 0.3s ease;
}

.article-content .article-link:hover::after {
  width: 100%;
}

#see-more-articles {
    display: block;
    grid-column: 1 / -1;
    margin: 1rem auto 0;
    padding: 10px 20px;
    border: 3px solid var(--styx-text-color-1);
    background-color: transparent;
    color: var(--styx-text-color-1);
    cursor: pointer;
    font-family: Inter;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

#see-more-articles:hover {
    background-color: var(--styx-base-color-3);
	color: var(--styx-text-color-3);
}

/* ============== MEDIA QUERIES ============== */
/* Mobile Approach */
@media (hover: none) and (pointer: coarse) {
body > section:first-of-type {
  padding: 70px 5vw;
}

.article-section {
  padding: 40px 5vw;
}

.article-container {
  display: flex;
  flex-direction: column;
  align-items: center;  
}
}
/* Tablet Approach */
@media (min-width: 641px) and (hover: none) and (pointer: coarse) {

}
/* Desktop Approach */
@media (min-width: 1024px) and (pointer: fine) {

}
