/* Charming Ever — Technology (Academy) */
.ce-tech-hub {
  padding: 48px 0 80px;
  background: #f5f6f8;
}

.ce-tech-hub__intro {
  max-width: 780px;
  margin: 0 0 40px;
}

.ce-tech-hub__intro h1 {
  margin: 8px 0 16px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  color: var(--ce-dark, #121316);
  line-height: 1.2;
}

.ce-tech-hub__intro p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.7;
  color: #4b5563;
}

.ce-tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 700px) {
  .ce-tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .ce-tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ce-tech-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(18, 19, 22, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.ce-tech-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(18, 19, 22, 0.1);
}

.ce-tech-card__media {
  margin: 0;
  aspect-ratio: 16 / 10;
  background: #eceff3;
  overflow: hidden;
}

.ce-tech-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ce-tech-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 24px;
  flex: 1;
}

.ce-tech-card__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ce-orange, #ff6a00);
}

.ce-tech-card__body h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--ce-dark, #121316);
  line-height: 1.3;
}

.ce-tech-card__body p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #646566;
  flex: 1;
}

.ce-tech-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ce-orange, #ff6a00);
}

.ce-tech-card__more .material-symbols-outlined {
  font-size: 18px;
}

/* Detail */
.ce-tech-show {
  padding: 40px 0 80px;
  background: #fff;
}

.ce-tech-show__layout {
  display: grid;
  gap: 36px;
}

@media (min-width: 980px) {
  .ce-tech-show__layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.7fr);
    align-items: start;
  }
}

.ce-tech-show__title {
  margin: 8px 0 12px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  color: var(--ce-dark, #121316);
  line-height: 1.15;
}

.ce-tech-show__tagline {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ce-orange, #ff6a00);
}

.ce-tech-show__lead {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.75;
  color: #4b5563;
}

.ce-tech-show__hero {
  margin: 0 0 28px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}

.ce-tech-show__hero img {
  width: 100%;
  height: auto;
  display: block;
}

.ce-tech-show .ce-page-prose h2 {
  margin: 32px 0 14px;
  font-size: 22px;
  font-weight: 800;
  color: var(--ce-dark, #121316);
}

.ce-tech-show .ce-page-prose h3 {
  margin: 22px 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--ce-dark, #121316);
}

.ce-tech-show .ce-page-prose p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: #4b5563;
}

.ce-tech-show .ce-page-prose ul {
  margin: 0 0 18px;
  padding-left: 1.15em;
  color: #4b5563;
}

.ce-tech-show .ce-page-prose li {
  margin-bottom: 8px;
  line-height: 1.65;
}

.ce-tech-mats {
  display: grid;
  gap: 16px;
  margin: 16px 0 24px;
}

@media (min-width: 700px) {
  .ce-tech-mats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ce-tech-mat {
  background: #f7f8fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 82, 217, 0.04);
}

.ce-tech-mat img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.ce-tech-mat__body {
  padding: 14px 16px 16px;
}

.ce-tech-mat__body strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  color: var(--ce-dark, #121316);
}

.ce-tech-mat__body p {
  margin: 0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.ce-tech-benefits {
  display: grid;
  gap: 12px;
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .ce-tech-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ce-tech-benefits li {
  margin: 0 !important;
  padding: 14px 16px;
  background: #f7f8fa;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #374151;
}

.ce-tech-benefits li strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ce-dark, #121316);
}

.ce-tech-gallery {
  display: grid;
  gap: 12px;
  margin: 16px 0 28px;
}

@media (min-width: 700px) {
  .ce-tech-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ce-tech-gallery figure {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
}

.ce-tech-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.ce-tech-faq {
  margin-top: 12px;
}

.ce-tech-faq details {
  border-bottom: 1px solid #e5e7eb;
  padding: 14px 0;
}

.ce-tech-faq summary {
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: var(--ce-dark, #121316);
  list-style: none;
}

.ce-tech-faq summary::-webkit-details-marker {
  display: none;
}

.ce-tech-faq details[open] summary {
  color: var(--ce-orange, #ff6a00);
}

.ce-tech-faq details p {
  margin: 10px 0 0 !important;
}

.ce-tech-aside {
  position: sticky;
  top: 100px;
  background: #f7f8fa;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0, 82, 217, 0.04);
}

.ce-tech-aside h2 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 800;
  color: var(--ce-dark, #121316);
}

.ce-tech-aside__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ce-tech-aside__list a {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.ce-tech-aside__list a:hover,
.ce-tech-aside__list a.is-active {
  background: #fff;
}

.ce-tech-aside__list img {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.ce-tech-aside__list span {
  font-size: 14px;
  font-weight: 700;
  color: var(--ce-dark, #121316);
  line-height: 1.35;
}

.ce-tech-aside__cta {
  margin-top: 18px;
}
