/* =========================================================
   Social Media Account List (v25)
   ========================================================= */

/* List wrapper */
.sm-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0 12px; 
}

/* One account item */
.sm-item {
  display: grid;
  grid-template-columns: 140px 140px 1fr;
  gap: 18px;
  align-items: center;
  background: #f5f6f7;
  border-radius: 1px;
  padding: 16px;
}

/* ---------------------------------------------------------
   Left thumbnail box (logo / image)
   --------------------------------------------------------- */
.sm-thumb {
  width: 140px;
  height: 140px;
  background: #e9eaec;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Anchor fills the entire thumbnail box */
.sm-thumb a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Thumbnail image: fully contained, no cropping */
.sm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.9;
  display: block;
}

/* ---------------------------------------------------------
   QR code box
   --------------------------------------------------------- */
.sm-qr {
  width: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-qr img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  display: block;
}

/* ---------------------------------------------------------
   Text area
   --------------------------------------------------------- */
.sm-title {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.4;
}

.sm-title a {
  text-decoration: none;
  color: #444;
}

.sm-title a:hover {
  text-decoration: underline;
}

.sm-handle {
  margin: 0 0 10px;
  font-size: 13px;
  color: #666;
}

.sm-text {
  margin: 0;
  line-height: 1.8;
}

/* ---------------------------------------------------------
   Social sections
   --------------------------------------------------------- */
.sm-section {
  margin: 0 0 3.6em;
}

.sm-section:last-of-type {
  margin-bottom: 0;
}

/* =========================================================
   Responsive (Mobile / Tablet)
   ========================================================= */
@media (max-width: 768px) {

  /* Stack layout vertically */
  .sm-item {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: center;
    text-align: center;
  }

  /* Thumbnail box */
  .sm-thumb {
    width: 160px;
    height: 160px;
    margin: 0 auto;
  }

  /* QR code box */
  .sm-qr {
    width: 100%;
    justify-content: center;
  }

  .sm-qr img {
    width: 180px;
    height: 180px;
  }

  /* Text block */
  .sm-body {
    text-align: left;
  }

  .sm-handle {
    margin-bottom: 8px;
  }
}

/* Social icon colors */
.color_tw {
  color: #111;
}

.color_fb {
  color: #1877f2;
}

.color_insta {
  color: #e1306c; /* Instagram brand color (solid) */
}

.color_yt {
  color: #ff0000;
}