@import url('common.css');

.arthra-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 150px 24px 90px;
  overflow: hidden;
}

.arthra-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.08);
  animation: arthraHeroZoom 14s ease-in-out infinite alternate;
}

.arthra-hero .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.58), rgba(0,0,0,0.35));
}

.arthra-hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.arthra-hero-title {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin-bottom: 12px;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.arthra-hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: #e8f1f8;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.articles-carousel-section {
  background: var(--gv-surface);
  padding: 72px 24px;
}

.articles-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.articles-head {
  text-align: center;
  margin-bottom: 30px;
}

.articles-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 8px;
  color: var(--gv-text);
}

.articles-head p {
  color: var(--gv-text-2);
  max-width: 820px;
  margin: 0 auto;
}

.articles-carousel {
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  grid-template-areas: "prev article next";
  align-items: stretch;
  gap: 16px;
}

.carousel-arrow.prev {
  grid-area: prev;
}

.carousel-arrow.next {
  grid-area: next;
}

.carousel-arrow {
  border: 0;
  border-radius: 12px;
  background: var(--gv-bg-deep);
  color: #fff;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.carousel-arrow:hover {
  background: var(--gv-green);
  transform: translateY(-2px);
}

.article-card {
  grid-area: article;
  display: flex;
  flex-direction: column;
  background: var(--gv-surface);
  border-radius: 16px;
  border: 1px solid var(--gv-line);
  min-height: 360px;
  padding: 24px 26px 22px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.article-card.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  animation: articleIn 0.45s ease;
}

.article-tag {
  display: inline-block;
  background: var(--gv-bg-deep);
  color: #fff;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 6px 12px;
  margin-bottom: 12px;
}

.article-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  line-height: 1.22;
  color: var(--gv-text);
  margin-bottom: 10px;
}

.article-card p {
  color: var(--gv-text-2);
  line-height: 1.58;
  margin-bottom: 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.article-card .article-en {
  background: var(--gv-green-soft);
  border-left: 3px solid var(--gv-green);
  padding: 10px 12px;
  border-radius: 8px;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.article-card blockquote {
  margin-top: 8px;
  border-left: 4px solid var(--gv-line-strong);
  padding: 8px 12px;
  color: var(--gv-text);
  font-style: italic;
  font-weight: 600;
  background: var(--gv-surface);
  line-height: 1.45;
}

.article-read-btn {
  display: inline-flex;
  align-self: flex-start;
  margin-top: auto;
  background: var(--gv-bg-deep);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 0.86rem;
}

.article-read-btn:hover {
  background: var(--gv-green);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--gv-line-strong);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}

.carousel-dots .dot.is-active {
  background: var(--gv-bg-deep);
}

.join-cta {
  padding: 70px 24px;
  background: linear-gradient(125deg, var(--gv-bg-deep), var(--gv-surface-2));
  color: #fff;
}

.join-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.join-inner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 12px;
}

.join-inner p {
  max-width: 860px;
  margin: 0 auto 22px;
  color: #dbe8f2;
}

.join-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-join,
.btn-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-join {
  background: var(--gv-green);
  color: var(--gv-on-green);
}

.btn-contact {
  background: var(--gv-surface);
  color: var(--gv-text);
}

.btn-join:hover,
.btn-contact:hover {
  transform: translateY(-2px);
}

.btn-join:hover {
  background: var(--gv-green);
}

.btn-contact:hover {
  background: var(--gv-bg-deep);
  color: #fff;
}

.linkedin-block {
  padding: 46px 24px;
  background: var(--gv-surface);
  overflow: hidden;
}

.linkedin-inner {
  max-width: 1080px;
  margin: 0 auto;
  background: var(--gv-surface);
  border: 1px solid var(--gv-line);
  border-radius: 16px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  box-shadow: 0 14px 34px rgba(0,0,0,0.06);
  animation: linkedinCardIn 0.75s ease both;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.linkedin-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(37,192,101,0.08) 42%, transparent 64%);
  opacity: 0;
  transform: translateX(-34%);
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.linkedin-inner:hover {
  border-color: rgba(37,192,101,0.34);
  box-shadow: 0 18px 42px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.linkedin-inner:hover::before {
  opacity: 1;
  animation: linkedinSheen 1.1s ease;
}

.linkedin-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.linkedin-brand img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--gv-line);
  box-shadow: 0 6px 16px rgba(0,0,0,0.16);
  background: var(--gv-surface);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.linkedin-inner:hover .linkedin-brand img {
  box-shadow: 0 10px 22px rgba(0,0,0,0.2);
  transform: scale(1.04) rotate(-2deg);
}

.linkedin-brand h3 {
  margin: 0 0 4px;
  color: var(--gv-text);
}

.linkedin-brand p {
  margin: 0;
  color: var(--gv-text-2);
}

.linkedin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-decoration: none;
  background: transparent;
  border: 1.5px solid var(--gv-line-strong);
  color: var(--gv-text);
  border-radius: 50%;
  padding: 0;
  font-size: 0;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.linkedin-btn i {
  font-size: 21px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.linkedin-btn::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(37,192,101,0.38);
  opacity: 0;
  transform: scale(0.75);
}

.linkedin-btn:hover {
  background: var(--gv-green);
  border-color: var(--gv-green);
  color: var(--gv-on-green);
  box-shadow: 0 10px 24px rgba(37,192,101,0.26);
  transform: translateY(-3px);
}

.linkedin-btn:hover i {
  transform: scale(1.08);
}

.linkedin-inner:hover .linkedin-btn::before {
  animation: linkedinRing 1.25s ease-out infinite;
}

.projects-spotlight {
  padding: 54px 24px;
  background: var(--gv-surface);
}

.spotlight-carousel-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.spotlight-head {
  text-align: center;
  margin-bottom: 24px;
}

.spotlight-head h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  color: var(--gv-text);
  margin-bottom: 6px;
}

.spotlight-head p {
  color: var(--gv-text-2);
}

.spotlight-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gv-green);
  margin-bottom: 10px;
  text-transform: uppercase;
}

.spotlight-carousel {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  grid-template-areas: "prev spotlight next";
  gap: 12px;
  align-items: stretch;
}

.spotlight-arrow.prev {
  grid-area: prev;
}

.spotlight-arrow.next {
  grid-area: next;
}

.spotlight-arrow {
  border: 0;
  border-radius: 12px;
  background: var(--gv-bg-deep);
  color: #fff;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.spotlight-arrow:hover {
  background: var(--gv-green);
  transform: translateY(-2px);
}

.spotlight-slide {
  grid-area: spotlight;
  display: grid;
  background: var(--gv-surface);
  border: 1px solid var(--gv-line);
  border-radius: 16px;
  overflow: hidden;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  height: 290px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  animation: articleIn 0.45s ease;
}

.spotlight-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.spotlight-slide-media {
  overflow: hidden;
  height: 100%;
  min-height: 0;
}

.spotlight-slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.7s ease;
}

.spotlight-slide:hover .spotlight-slide-media img {
  transform: scale(1.08);
}

.spotlight-slide-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.spotlight-slide-body h3 {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.25;
  color: var(--gv-text);
  margin: 8px 0 10px;
}

.spotlight-slide-body p {
  color: var(--gv-text-2);
  line-height: 1.58;
  margin-bottom: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.spotlight-read-btn {
  display: inline-flex;
  margin-top: 12px;
  align-self: flex-start;
  background: var(--gv-bg-deep);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 700;
  font-size: 0.86rem;
}

.spotlight-read-btn:hover {
  background: var(--gv-green);
}

.spotlight-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.spotlight-dots .dot {
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--gv-line-strong);
  background: transparent;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
}

.spotlight-dots .dot.is-active {
  background: var(--gv-bg-deep);
}

@keyframes arthraHeroZoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.1) translate3d(-1%, -1%, 0); }
}

@keyframes articleIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes linkedinCardIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes linkedinSheen {
  from { transform: translateX(-45%); }
  to { transform: translateX(45%); }
}

@keyframes linkedinRing {
  0% { opacity: 0.7; transform: scale(0.82); }
  100% { opacity: 0; transform: scale(1.45); }
}

@media (max-width: 900px) {
  .articles-carousel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "article"
      "prev"
      "next";
  }

  .carousel-arrow {
    width: 46px;
    height: 46px;
    justify-self: center;
  }

  .linkedin-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .spotlight-carousel {
    grid-template-columns: 1fr;
    grid-template-areas:
      "spotlight"
      "prev"
      "next";
  }

  .spotlight-slide {
    grid-template-columns: 1fr;
    height: auto;
  }

  .spotlight-slide-media {
    height: 190px;
    min-height: 0;
    max-height: none;
  }

  .spotlight-slide-body {
    justify-content: flex-start;
  }

  .spotlight-arrow {
    width: 46px;
    height: 46px;
    justify-self: center;
  }
}
