:root {
  --ct-sky: #BFE3EE;
  --ct-frame-pink: #E80A89;
  --ct-frame-purple: #5B2C8F;
  --ct-intro-bg: #FCE4EA;
  --ct-line: #00000014;
  --ct-phone: #BDD130;
  --ct-mail: #A5D9E6;
}

/* ===== Contact (page-contact.php) ===== */

/* พื้นหลัง: ไล่สีฟ้า + ต้นกก ใบบัว แถบสีเขียว */
.ct-section {
  background-image: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-body) 25%, var(--ct-sky) 100%);
  background-repeat: no-repeat;

  background-size: 100% 100%;
}

/* ----- การ์ดซ้าย (กรอบลาย) ----- */
.ct-frame {
  background-image: url(../images/bg_participate.webp);
  background-color: var(--join-purple);
  background-size: auto;
  background-repeat: repeat;
  padding: 1rem;
}
.ct-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 1.5rem;
  text-align: center;
  background-color: var(--ct-intro-bg);
  overflow: hidden;
}
.ct-logo {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 80px;
}
.ct-intro-title {
  margin: 1.5rem 0 .5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--pink);
}
.ct-intro-desc {
  max-width: 420px;
  margin-bottom: 1.5rem;
  font-size: .875rem;
  line-height: 1.5;
  color: var(--black-variant);
}
.ct-mascot {
  width: auto;
  height: 150px;
  margin-top: auto;
}

/* ----- การ์ดขวา (ข้อมูลติดต่อ) ----- */
.ct-card {
  height: 100%;
  padding: 1rem;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, .9);
  box-shadow: 0 4px 16px #00000014;
  background-image: url(../images/bg-press.webp);
  background-repeat: repeat;
}
.ct-card-title {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--black);
}
.ct-block {
  margin-bottom: 1rem;
}
.ct-label {
  margin-bottom: .5rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--black);
}
.ct-hours {
  margin-bottom: .125rem;
  font-size: .875rem;
  font-weight: 500;
  color: var(--black);
}
.ct-note {
  margin-bottom: 0;
  font-size: .875rem;
  color: var(--black-variant);
}
.ct-divider {
  height: 1px;
  margin: 0 0 1rem;
  background-color: var(--ct-line);
}
.ct-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ct-list li + li {
  margin-top: .5rem;
}
.ct-list a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--black);
  text-decoration: none;
  transition: color var(--trans-2);
}
.ct-list a:hover {
  color: var(--pink);
}
.ct-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: var(--white);
}
.ct-icon-phone {
  background-color: var(--ct-phone);
  color: var(--black);
}
.ct-icon-mail {
  background-color: var(--ct-mail);
}
.ct-socials {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.ct-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--white);
  background-color: var(--primary);
  transition: background-color var(--trans-2);
}
.ct-socials a:hover {
  background-color: var(--pink);
}

@media (min-width: 768px) {
  .ct-frame {
    padding: 10px;
  }
  .ct-logo {
    height:120px;
  }
  .ct-intro-title {
    font-size: 1.5rem;
  }
  .ct-mascot {
    height: 200px;
  }
  .ct-card-title {
    font-size: 1.5rem;
  }
  .ct-hours {
    font-size: 1.125rem;
  }
}

@media (min-width: 992px) {
  .ct-mascot {
    height: 220px;
  }
  .ct-card {
    padding: 2.5rem 1.5rem;
  }
  .ct-card-title {
    font-size: 2rem;
  }
  .ct-hours {
    font-size: 1.25rem;
  }
  .ct-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .ct-contact > .ct-block {
    margin-bottom: 1rem;
  }
}
