/*
Theme Name: INFOBIZ Column
Version: 1.3.0
Text Domain: infobiz-column
*/

/* /column/ content only. Header and footer use the production common files. */

.column-archive-intro {
  max-width: 1104px;
  margin: 0 auto 3.2rem;
}

.column-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

.column-card {
  display: block;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 1.2rem;
  box-shadow: 0 0 1.6rem rgba(0,0,0,.08);
  transition: opacity .2s ease, transform .2s ease;
}

.column-card:hover {
  opacity: .86;
  transform: translateY(-2px);
}

.column-card__thumb {
  background: #f5fbff;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.column-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.column-card__body {
  padding: 2rem;
}

.column-card__meta {
  display: block;
  color: #0b3768;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .8rem;
}

.column-card__cat {
  display: inline-block;
  background: #f5fbff;
  color: #0b3768;
  border-radius: 10rem;
  padding: .4rem 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.column-card__title {
  color: #0b3768;
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.65;
}

.column-card__excerpt {
  color: #282828;
  font-size: 1.4rem;
  line-height: 1.9;
  margin-top: 1.2rem;
}

.column-card__more {
  color: #0b3768;
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: 1.4rem;
}

.column-pagination {
  margin-top: 4rem;
  text-align: center;
}

.column-single-body {
  max-width: 920px;
  margin: 0 auto;
}

.column-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.6rem;
  align-items: center;
  margin-bottom: 2.4rem;
  color: #555;
  font-size: 1.4rem;
}

.column-single-cat {
  display: inline-block;
  background: #f5fbff;
  color: #0b3768;
  border-radius: 10rem;
  padding: .6rem 1.4rem;
  font-size: 1.3rem;
  font-weight: 800;
}

.column-single-thumb {
  margin: 0 0 4rem;
  text-align: center;
}

.column-single-thumb img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
}

.column-content {
  font-size: 1.6rem;
  line-height: 2;
}

.column-content p {
  margin: 1.4em 0;
}

.column-content h2 {
  color: #0b3768;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.55;
  margin: 5.6rem 0 2.4rem;
  padding-bottom: 1.2rem;
  border-bottom: .3rem solid #0b3768;
}

.column-content h3 {
  color: #0b3768;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.6;
  margin: 4rem 0 1.6rem;
}

.column-content ul,
.column-content ol {
  margin: 2rem 0;
  padding-left: 1.6em;
}

.column-content li {
  margin: .4em 0;
  line-height: 1.9;
}

.column-content a {
  text-decoration: underline;
}

.column-cta-box {
  margin-top: 5.6rem;
  padding: 4rem;
  background: #f5fbff;
  border: 1px solid #d7e7f4;
  border-radius: 1.2rem;
}

.column-cta-box__title {
  color: #0b3768;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
}

.column-cta-box__text {
  margin-top: 1.6rem;
  font-size: 1.6rem;
  line-height: 2;
}

.column-cta-box__buttons {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}

.column-back-link {
  margin-top: 4rem;
  text-align: center;
}

@media screen and (max-width: 1024px) {
  .column-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .column-card-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .column-card__body {
    padding: 1.8rem;
  }

  .column-content h2 {
    font-size: 2.2rem;
  }

  .column-content h3 {
    font-size: 1.9rem;
  }

  .column-cta-box {
    padding: 2.4rem;
  }

  .column-cta-box__title {
    font-size: 2rem;
  }
}
