/* ============================================================
   ARTICLE.CSS - BijouxLegers.com - Joaillerie Fine
   Version V5.1 - 2026
   Couleurs : #00838f (teal joaillier), #c5cae9 (lavande douce), #fff9c4 (ivoire doré)
   ZERO dégradés, couleurs plates uniquement
   ZERO sidebar - layout full width
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

img, video, iframe, svg, canvas {
  max-width: 100%;
  height: auto;
}

/* === LAYOUT PRINCIPAL === */
#main-content {
  min-height: 60vh;
}

/* === HERO ARTICLE === */
.art-hero {
  background-color: #00838f;
  color: #ffffff;
  padding: 64px 24px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.art-hero__inner {
  flex: 1 1 460px;
  min-width: 0;
}

.art-hero__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.art-hero__category {
  background-color: #fff9c4;
  color: #00838f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
}

.art-hero__date,
.art-hero__readtime {
  font-size: 13px;
  color: #c5cae9;
}

.art-hero__separator {
  display: inline-flex;
  align-items: center;
}

.art-hero__title {
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 20px 0;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.art-hero__intro {
  font-size: 17px;
  line-height: 1.7;
  color: #e0f7fa;
  margin: 0 0 28px 0;
  max-width: 560px;
  overflow-wrap: break-word;
}

.art-hero__author {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.art-hero__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #c5cae9;
  object-fit: cover;
  flex-shrink: 0;
}

.art-hero__author-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.art-hero__author-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.art-hero__author-label {
  font-size: 12px;
  color: #c5cae9;
}

.art-hero__visual {
  flex: 1 1 320px;
  min-width: 0;
  position: relative;
}

.art-hero__img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

.art-hero__badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background-color: #fff9c4;
  color: #00838f;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* === DISCLAIMER === */
.art-disclaimer {
  background-color: #e0f7fa;
  border-left: 4px solid #00838f;
  color: #004d55;
  padding: 14px 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto 0;
  font-size: 13px;
  line-height: 1.6;
}

.art-disclaimer svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.art-disclaimer p {
  margin: 0;
  overflow-wrap: break-word;
}

/* === LAYOUT ARTICLE === */
.art-layout {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* === SOMMAIRE === */
.art-toc {
  background-color: #f7f9fc;
  border: 1px solid #c5cae9;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 48px;
}

.art-toc__header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #00838f;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.art-toc__list {
  margin: 0;
  padding-left: 18px;
  list-style: decimal;
}

.art-toc__list li {
  margin-bottom: 6px;
}

.art-toc__list a {
  color: #2d5a5e;
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: color 0.2s;
}

.art-toc__list a:hover,
.art-toc__list a:focus {
  color: #00838f;
  text-decoration: underline;
  outline: 2px solid #00838f;
  outline-offset: 2px;
}

/* === SECTIONS ARTICLE === */
.art-section {
  margin-bottom: 56px;
  scroll-margin-top: 20px;
}

.art-section__title {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: #1a2f30;
  margin: 0 0 24px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #c5cae9;
  line-height: 1.25;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
}

.art-section__body {
  font-size: 16px;
  line-height: 1.8;
  color: #2c3e40;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.art-section__body p {
  margin: 0 0 20px 0;
}

.art-section__body strong {
  color: #00838f;
  font-weight: 700;
}

.art-section__body em {
  color: #4a6a6d;
  font-style: italic;
}

/* === PULL QUOTE === */
.art-pullquote {
  background-color: #f0fdfd;
  border-left: 4px solid #00838f;
  padding: 28px 32px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
  position: relative;
}

.art-pullquote__icon {
  position: absolute;
  top: 16px;
  right: 20px;
  opacity: 0.4;
}

.art-pullquote blockquote {
  margin: 0;
  padding: 0;
}

.art-pullquote blockquote p {
  font-size: 18px;
  font-style: italic;
  line-height: 1.65;
  color: #1a4a4e;
  font-weight: 500;
  margin: 0;
}

/* === FIGURE === */
.art-figure {
  margin: 28px 0;
}

.art-figure__img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
  object-fit: cover;
}

.art-figure--wide .art-figure__img {
  max-height: 400px;
}

.art-figure__caption {
  font-size: 12px;
  color: #7a9a9c;
  text-align: center;
  margin-top: 8px;
  font-style: italic;
  line-height: 1.4;
}

/* === INFOBOX === */
.art-infobox {
  background-color: #fff9c4;
  border: 1px solid #f0e68c;
  border-radius: 10px;
  padding: 20px 22px;
  margin: 28px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.art-infobox__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.art-infobox__content {
  font-size: 14px;
  line-height: 1.6;
  color: #4a4520;
  overflow-wrap: break-word;
}

.art-infobox__content strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #3a3410;
  margin-bottom: 6px;
}

.art-infobox__content p {
  margin: 0;
}

/* === MEGA DROPDOWN === */
.art-megadrop {
  border: 1px solid #c5cae9;
  border-radius: 12px;
  overflow: hidden;
  margin: 28px 0;
}

.art-megadrop__header {
  background-color: #00838f;
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  user-select: none;
}

.art-megadrop__header:hover {
  background-color: #006e78;
}

.art-megadrop__arrow {
  margin-left: auto;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.art-megadrop.open .art-megadrop__arrow {
  transform: rotate(180deg);
}

.art-megadrop__body {
  padding: 20px;
  background-color: #f9feff;
}

.art-megadrop__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  gap: 16px;
}

.art-megadrop__card {
  background-color: #ffffff;
  border: 1px solid #e0eded;
  border-radius: 10px;
  padding: 16px;
  min-width: 0;
}

.art-megadrop__card--gold24 { border-top: 3px solid #ffd700; }
.art-megadrop__card--gold18 { border-top: 3px solid #e8a000; }
.art-megadrop__card--gold14 { border-top: 3px solid #c8840e; }
.art-megadrop__card--gold9  { border-top: 3px solid #b07030; }

.art-megadrop__carat {
  font-size: 22px;
  font-weight: 800;
  color: #1a2f30;
  margin-bottom: 4px;
}

.art-megadrop__title {
  font-size: 12px;
  font-weight: 600;
  color: #6a8a8c;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.art-megadrop__list {
  list-style: none;
  margin: 0 0 12px 0;
  padding: 0;
}

.art-megadrop__list li {
  font-size: 13px;
  color: #3a5456;
  padding: 4px 0;
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.art-megadrop__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #c5cae9;
}

.art-megadrop__verdict {
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.art-megadrop__verdict--no  { background-color: #fee2e2; color: #991b1b; }
.art-megadrop__verdict--yes { background-color: #dcfce7; color: #166534; }
.art-megadrop__verdict--good { background-color: #dbeafe; color: #1e40af; }
.art-megadrop__verdict--ok  { background-color: #fff9c4; color: #854d0e; }

/* === FEATURES GRID === */
.art-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.art-feature {
  background-color: #f7fefe;
  border: 1px solid #c5cae9;
  border-radius: 10px;
  padding: 20px;
  min-width: 0;
}

.art-feature__icon {
  margin-bottom: 12px;
}

.art-feature__title {
  font-size: 15px;
  font-weight: 700;
  color: #1a2f30;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.art-feature__text {
  font-size: 14px;
  color: #4a6a6d;
  line-height: 1.6;
  margin: 0;
}

/* === STEPS === */
.art-steps {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.art-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background-color: #f9fefe;
  border-left: 3px solid #c5cae9;
  transition: border-color 0.2s;
}

.art-step:hover {
  border-left-color: #00838f;
}

.art-step__num {
  font-size: 28px;
  font-weight: 900;
  color: #c5cae9;
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  font-variant-numeric: tabular-nums;
}

.art-step__content {
  flex: 1;
  min-width: 0;
}

.art-step__title {
  font-size: 15px;
  font-weight: 700;
  color: #00838f;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.art-step p {
  font-size: 14px;
  color: #3a5456;
  line-height: 1.65;
  margin: 0;
}

/* === TIP === */
.art-tip {
  background-color: #00838f;
  color: #ffffff;
  border-radius: 10px;
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 28px 0;
}

.art-tip__icon {
  flex-shrink: 0;
  margin-top: 1px;
}

.art-tip__content {
  font-size: 14px;
  line-height: 1.65;
  color: #ffffff;
  overflow-wrap: break-word;
}

.art-tip__content strong {
  color: #fff9c4;
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

/* === TABLEAU === */
.art-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border-radius: 10px;
  border: 1px solid #c5cae9;
}

.art-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 14px;
}

.art-table thead {
  background-color: #00838f;
  color: #ffffff;
}

.art-table thead th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.art-table tbody tr {
  border-bottom: 1px solid #e8f4f5;
  transition: background-color 0.15s;
}

.art-table tbody tr:last-child {
  border-bottom: none;
}

.art-table tbody tr:hover {
  background-color: #f0fdfd;
}

.art-table tbody td,
.art-table tbody th {
  padding: 13px 16px;
  color: #2c3e40;
  vertical-align: middle;
}

.art-table tbody td[data-label="Alliage"] strong {
  color: #00838f;
}

.art-table__stars {
  display: flex;
  gap: 2px;
  align-items: center;
}

.art-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
}

.art-badge--yes  { background-color: #dcfce7; color: #166534; }
.art-badge--warn { background-color: #fff9c4; color: #92400e; }
.art-badge--ok   { background-color: #e0f2fe; color: #075985; }
.art-badge--no   { background-color: #fee2e2; color: #991b1b; }

.art-table-note {
  font-size: 12px;
  color: #7a9a9c;
  font-style: italic;
  margin-top: 8px;
}

/* === GALERIE === */
.art-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.art-gallery__item {
  min-width: 0;
}

.art-gallery__btn {
  display: block;
  width: 100%;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.art-gallery__btn:focus {
  outline: 3px solid #00838f;
  outline-offset: 2px;
}

.art-gallery__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  transition: transform 0.3s;
}

.art-gallery__btn:hover .art-gallery__img {
  transform: scale(1.03);
}

.art-gallery__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 131, 143, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.2s;
}

.art-gallery__btn:hover .art-gallery__overlay,
.art-gallery__btn:focus .art-gallery__overlay {
  opacity: 1;
}

.art-gallery__label {
  padding: 10px 4px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.art-gallery__label strong {
  font-size: 13px;
  color: #1a2f30;
  font-weight: 700;
}

.art-gallery__label span {
  font-size: 12px;
  color: #7a9a9c;
}

/* === MODALES === */
.art-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.art-modal[hidden] {
  display: none;
}

.art-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.art-modal__box {
  position: relative;
  background-color: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 1;
}

.art-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(0,0,0,0.5);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  z-index: 2;
  transition: background-color 0.2s;
}

.art-modal__close:hover {
  background-color: rgba(0,0,0,0.75);
}

.art-modal__close:focus {
  outline: 3px solid #fff9c4;
  outline-offset: 2px;
}

.art-modal__img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 400px;
  object-fit: cover;
}

.art-modal__info {
  padding: 20px 24px;
}

.art-modal__title {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #00838f;
  margin-bottom: 10px;
}

.art-modal__info p {
  font-size: 14px;
  line-height: 1.65;
  color: #3a5456;
  margin: 0 0 14px 0;
  overflow-wrap: break-word;
}

.art-modal__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.art-modal__specs span {
  background-color: #e0f7fa;
  color: #00838f;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

/* === CALCULATEUR === */
.art-calc {
  background-color: #f7f9fc;
  border: 1px solid #c5cae9;
  border-radius: 14px;
  overflow: hidden;
  margin: 28px 0;
}

.art-calc__header {
  background-color: #00838f;
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
}

.art-calc__body {
  padding: 24px;
}

.art-calc__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.art-calc__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.art-calc__label {
  font-size: 13px;
  font-weight: 600;
  color: #1a2f30;
}

.art-calc__select,
.art-calc__input {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  font-size: max(14px, 16px);
  border: 1px solid #c5cae9;
  border-radius: 8px;
  background-color: #ffffff;
  color: #1a2f30;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.art-calc__select:focus,
.art-calc__input:focus {
  outline: none;
  border-color: #00838f;
  box-shadow: 0 0 0 3px rgba(0, 131, 143, 0.15);
}

.art-calc__hint {
  font-size: 11px;
  color: #7a9a9c;
}

.art-calc__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #00838f;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transition: background-color 0.2s;
  margin-bottom: 20px;
}

.art-calc__btn:hover {
  background-color: #006e78;
}

.art-calc__btn:focus {
  outline: 3px solid #00838f;
  outline-offset: 2px;
}

.art-calc__result {
  background-color: #ffffff;
  border: 1px solid #c5cae9;
  border-radius: 10px;
  padding: 20px;
}

.art-calc__result-main {
  font-size: 16px;
  font-weight: 700;
  color: #00838f;
  margin-bottom: 8px;
  line-height: 1.4;
  overflow-wrap: break-word;
}

.art-calc__result-detail {
  font-size: 14px;
  color: #3a5456;
  line-height: 1.65;
  margin-bottom: 10px;
  overflow-wrap: break-word;
}

.art-calc__result-note {
  font-size: 11px;
  color: #7a9a9c;
  font-style: italic;
  margin: 0;
  border-top: 1px solid #e8f4f5;
  padding-top: 10px;
  overflow-wrap: break-word;
}

/* === HEATMAP === */
.art-heatmap {
  background-color: #f9fefe;
  border: 1px solid #c5cae9;
  border-radius: 12px;
  overflow: hidden;
  margin: 28px 0;
}

.art-heatmap__header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background-color: #e0f7fa;
  font-size: 14px;
  font-weight: 600;
  color: #00838f;
  border-bottom: 1px solid #c5cae9;
}

.art-heatmap__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 20px;
  border-bottom: 1px solid #e8f4f5;
}

.art-heatmap__leg-item {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}

.art-heatmap__leg-item--1 { background-color: #e0f7fa; color: #004d55; }
.art-heatmap__leg-item--2 { background-color: #b2ebf2; color: #00363b; }
.art-heatmap__leg-item--3 { background-color: #4dd0e1; color: #001f22; }
.art-heatmap__leg-item--4 { background-color: #0097a7; color: #ffffff; }
.art-heatmap__leg-item--5 { background-color: #00838f; color: #ffffff; }

.art-heatmap__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.art-heatmap__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: 13px;
}

.art-heatmap__table thead {
  background-color: #004d55;
  color: #ffffff;
}

.art-heatmap__table thead th {
  padding: 11px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}

.art-heatmap__table tbody th {
  padding: 11px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #1a2f30;
  background-color: #f9fefe;
  border-right: 1px solid #c5cae9;
  white-space: nowrap;
}

.art-heatmap__table tbody tr {
  border-bottom: 1px solid #e8f4f5;
}

.art-heatmap__cell {
  padding: 11px 14px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.art-heatmap__cell--1 { background-color: #e0f7fa; color: #004d55; }
.art-heatmap__cell--2 { background-color: #b2ebf2; color: #003840; }
.art-heatmap__cell--3 { background-color: #4dd0e1; color: #001a1e; }
.art-heatmap__cell--4 { background-color: #0097a7; color: #ffffff; }
.art-heatmap__cell--5 { background-color: #00838f; color: #ffffff; }

.art-heatmap__note {
  font-size: 11px;
  color: #7a9a9c;
  font-style: italic;
  padding: 10px 20px;
  margin: 0;
  border-top: 1px solid #e8f4f5;
  overflow-wrap: break-word;
}

/* === TENDANCES === */
.art-trends {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 28px 0;
}

.art-trend {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #e8f4f5;
  border-radius: 8px;
  transition: border-color 0.2s;
}

.art-trend:hover {
  border-color: #00838f;
}

.art-trend__num {
  font-size: 32px;
  font-weight: 900;
  color: #c5cae9;
  flex-shrink: 0;
  line-height: 1;
  width: 48px;
}

.art-trend__content {
  flex: 1;
  min-width: 0;
}

.art-trend__title {
  font-size: 16px;
  font-weight: 700;
  color: #1a2f30;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.art-trend p {
  font-size: 14px;
  color: #4a6a6d;
  line-height: 1.65;
  margin: 0;
}

/* === FAQ === */
.art-faq {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.art-faq__item {
  background-color: #f9fefe;
  border: 1px solid #c5cae9;
  border-radius: 10px;
  overflow: hidden;
}

.art-faq__q {
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #1a2f30;
  line-height: 1.4;
}

.art-faq__q svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.art-faq__a {
  padding: 0 20px 16px 48px;
}

.art-faq__a p {
  font-size: 14px;
  color: #3a5456;
  line-height: 1.65;
  margin: 0;
  overflow-wrap: break-word;
}

/* === CTA CONCLUSION === */
.art-cta {
  background-color: #00838f;
  color: #ffffff;
  border-radius: 14px;
  padding: 48px 40px;
  text-align: center;
  margin: 56px 0 0;
  position: relative;
  overflow: hidden;
}

.art-cta__deco {
  display: block;
  margin: 0 auto 16px;
}

.art-cta__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 16px 0;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.art-cta__text {
  font-size: 16px;
  line-height: 1.7;
  color: #e0f7fa;
  max-width: 580px;
  margin: 0 auto 14px;
  overflow-wrap: break-word;
}

.art-cta__text:last-child {
  margin-bottom: 0;
}

/* ============================================================
   RESPONSIVE - MOBILE FIRST
   ============================================================ */

@media (max-width: 768px) {

  /* Hero */
  .art-hero {
    flex-direction: column;
    padding: 32px 16px 28px;
    gap: 24px;
  }

  .art-hero__inner {
    flex: none;
    width: 100%;
  }

  .art-hero__visual {
    flex: none;
    width: 100%;
  }

  .art-hero__intro {
    font-size: 15px;
  }

  /* Layout */
  .art-layout {
    padding: 28px 16px 48px;
  }

  /* TOC */
  .art-toc {
    padding: 16px 18px;
  }

  /* Section title */
  .art-section__title {
    font-size: 20px;
  }

  /* Mega dropdown grid */
  .art-megadrop__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Features grid */
  .art-features-grid {
    grid-template-columns: 1fr;
  }

  /* Calc row */
  .art-calc__row {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .art-gallery {
    grid-template-columns: 1fr 1fr;
  }

  /* CTA */
  .art-cta {
    padding: 32px 20px;
  }

  /* Step */
  .art-step {
    gap: 12px;
    padding: 14px;
  }

  .art-step__num {
    font-size: 22px;
    width: 36px;
  }

  /* FAQ */
  .art-faq__a {
    padding: 0 14px 14px 14px;
  }

  /* Disclaimer */
  .art-disclaimer {
    flex-direction: column;
    gap: 8px;
  }

  /* Trend */
  .art-trend__num {
    font-size: 24px;
    width: 36px;
  }

  /* Pull quote */
  .art-pullquote {
    padding: 18px 20px;
  }

  .art-pullquote blockquote p {
    font-size: 16px;
  }

  /* Infobox */
  .art-infobox {
    flex-direction: column;
    gap: 10px;
  }

  /* Modal */
  .art-modal__box {
    max-height: 85vh;
  }

  .art-modal__img {
    max-height: 220px;
  }

  /* Heatmap legend */
  .art-heatmap__legend {
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {

  /* Hero */
  .art-hero {
    padding: 24px 12px 20px;
  }

  .art-hero__title {
    font-size: 22px;
  }

  /* Section */
  .art-section__title {
    font-size: 18px;
  }

  /* Mega dropdown */
  .art-megadrop__grid {
    grid-template-columns: 1fr;
  }

  /* Gallery - 1 col */
  .art-gallery {
    grid-template-columns: 1fr;
  }

  .art-gallery__img {
    height: 200px;
  }

  /* Table font */
  .art-table {
    font-size: 12px;
  }

  .art-table thead th,
  .art-table tbody td,
  .art-table tbody th {
    padding: 10px 10px;
  }

  /* CTA */
  .art-cta {
    padding: 24px 14px;
  }

  /* Calc */
  .art-calc__body {
    padding: 16px;
  }

  .art-calc__btn {
    width: 100%;
    justify-content: center;
  }

  /* Meta header */
  .art-hero__meta {
    flex-wrap: wrap;
    gap: 6px;
  }
}

/* ===== RESPONSIVE (auto-repair) ===== */
@media (max-width: 1024px) {

  .art-hero {
    padding: 48px 20px 36px;
    gap: 28px;
  }

  .art-hero__inner {
    flex: 1 1 360px;
  }

  .art-hero__visual {
    flex: 1 1 260px;
  }

  .art-hero__intro {
    font-size: 16px;
  }

  .art-layout {
    padding: 40px 20px 64px;
  }

  .art-megadrop__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .art-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .art-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .art-calc__row {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .art-toc {
    padding: 20px 22px;
  }

  .art-cta {
    padding: 40px 32px;
  }

  .art-trend {
    padding: 16px;
    gap: 16px;
  }

  .art-step {
    padding: 16px;
    gap: 16px;
  }

  .art-pullquote {
    padding: 22px 26px;
  }

  .art-modal__box {
    max-width: 580px;
  }

  .art-heatmap__legend {
    gap: 6px;
    padding: 10px 16px;
  }

  .art-infobox {
    padding: 18px 20px;
    gap: 14px;
  }

  .art-tip {
    padding: 16px 20px;
    gap: 12px;
  }
}

@media (max-width: 768px) {

  .art-hero {
    flex-direction: column;
    padding: 32px 16px 28px;
    gap: 24px;
  }

  .art-hero__inner {
    flex: none;
    width: 100%;
  }

  .art-hero__visual {
    flex: none;
    width: 100%;
  }

  .art-hero__intro {
    font-size: 15px;
    max-width: 100%;
  }

  .art-hero__meta {
    gap: 8px;
    margin-bottom: 14px;
  }

  .art-hero__author {
    gap: 10px;
  }

  .art-hero__avatar {
    width: 38px;
    height: 38px;
  }

  .art-hero__badge {
    font-size: 11px;
    padding: 5px 10px;
    bottom: 10px;
    left: 10px;
  }

  .art-disclaimer {
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
  }

  .art-layout {
    padding: 28px 16px 48px;
  }

  .art-toc {
    padding: 16px 18px;
  }

  .art-toc__header {
    font-size: 12px;
  }

  .art-section__title {
    font-size: 20px;
  }

  .art-section__body {
    font-size: 15px;
  }

  .art-megadrop__grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .art-megadrop__header {
    padding: 14px 16px;
    font-size: 14px;
  }

  .art-megadrop__body {
    padding: 16px;
  }

  .art-megadrop__card {
    padding: 12px;
  }

  .art-megadrop__carat {
    font-size: 18px;
  }

  .art-features-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .art-feature {
    padding: 16px;
  }

  .art-steps {
    gap: 2px;
  }

  .art-step {
    gap: 12px;
    padding: 14px;
  }

  .art-step__num {
    font-size: 22px;
    width: 36px;
  }

  .art-tip {
    padding: 14px 16px;
    gap: 10px;
  }

  .art-tip__content {
    font-size: 13px;
  }

  .art-tip__content strong {
    font-size: 14px;
  }

  .art-pullquote {
    padding: 18px 20px;
    margin: 24px 0;
  }

  .art-pullquote blockquote p {
    font-size: 16px;
  }

  .art-pullquote__icon {
    display: none;
  }

  .art-infobox {
    flex-direction: column;
    gap: 10px;
    padding: 16px 16px;
  }

  .art-infobox__content {
    font-size: 13px;
  }

  .art-infobox__content strong {
    font-size: 14px;
  }

  .art-table {
    font-size: 13px;
  }

  .art-table thead th {
    padding: 12px 12px;
    font-size: 12px;
  }

  .art-table tbody td,
  .art-table tbody th {
    padding: 11px 12px;
  }

  .art-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .art-gallery__img {
    height: 160px;
  }

  .art-modal {
    padding: 12px;
  }

  .art-modal__box {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 10px;
  }

  .art-modal__img {
    max-height: 220px;
  }

  .art-modal__info {
    padding: 16px 18px;
  }

  .art-modal__title {
    font-size: 15px;
  }

  .art-modal__close {
    width: 32px;
    height: 32px;
    top: 10px;
    right: 10px;
  }

  .art-calc__header {
    padding: 14px 16px;
    font-size: 14px;
  }

  .art-calc__body {
    padding: 18px;
  }

  .art-calc__row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .art-calc__btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }

  .art-calc__result {
    padding: 16px;
  }

  .art-heatmap__header {
    padding: 12px 16px;
    font-size: 13px;
  }

  .art-heatmap__legend {
    padding: 10px 14px;
    gap: 6px;
  }

  .art-heatmap__leg-item {
    font-size: 10px;
    padding: 3px 8px;
  }

  .art-trends {
    gap: 2px;
  }

  .art-trend {
    padding: 16px;
    gap: 14px;
  }

  .art-trend__num {
    font-size: 24px;
    width: 36px;
  }

  .art-trend__title {
    font-size: 15px;
  }

  .art-faq {
    gap: 10px;
  }

  .art-faq__q {
    padding: 14px 16px;
    font-size: 14px;
  }

  .art-faq__a {
    padding: 0 14px 14px 14px;
  }

  .art-cta {
    padding: 32px 20px;
    border-radius: 10px;
    margin: 40px 0 0;
  }

  .art-cta__title {
    font-size: 22px;
  }

  .art-cta__text {
    font-size: 15px;
  }

  .art-figure--wide .art-figure__img {
    max-height: 260px;
  }

  .art-toc__list a {
    font-size: 13px;
  }
}

@media (max-width: 480px) {

  .art-hero {
    padding: 24px 12px 20px;
    gap: 18px;
  }

  .art-hero__title {
    font-size: 22px;
    margin-bottom: 14px;
  }

  .art-hero__intro {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .art-hero__meta {
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
  }

  .art-hero__category {
    font-size: 10px;
    padding: 3px 8px;
  }

  .art-hero__date,
  .art-hero__readtime {
    font-size: 12px;
  }

  .art-hero__avatar {
    width: 34px;
    height: 34px;
  }

  .art-hero__author-name {
    font-size: 13px;
  }

  .art-hero__author-label {
    font-size: 11px;
  }

  .art-hero__badge {
    font-size: 10px;
    padding: 4px 8px;
    bottom: 8px;
    left: 8px;
    gap: 4px;
  }

  .art-disclaimer {
    padding: 10px 12px;
    font-size: 12px;
  }

  .art-layout {
    padding: 20px 12px 36px;
  }

  .art-toc {
    padding: 14px 14px;
    margin-bottom: 32px;
  }

  .art-toc__header {
    font-size: 11px;
    margin-bottom: 10px;
  }

  .art-toc__list {
    padding-left: 16px;
  }

  .art-toc__list a {
    font-size: 12px;
  }

  .art-section {
    margin-bottom: 36px;
  }

  .art-section__title {
    font-size: 18px;
    padding-bottom: 10px;
    margin-bottom: 18px;
  }

  .art-section__body {
    font-size: 14px;
    line-height: 1.75;
  }

  .art-section__body p {
    margin: 0 0 16px 0;
  }

  .art-megadrop__grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .art-megadrop__header {
    padding: 12px 14px;
    font-size: 13px;
    gap: 8px;
  }

  .art-megadrop__body {
    padding: 12px;
  }

  .art-megadrop__card {
    padding: 10px;
  }

  .art-megadrop__carat {
    font-size: 16px;
  }

  .art-megadrop__list li {
    font-size: 12px;
  }

  .art-features-grid {
    gap: 10px;
  }

  .art-feature {
    padding: 14px;
  }

  .art-feature__title {
    font-size: 14px;
  }

  .art-feature__text {
    font-size: 13px;
  }

  .art-step {
    gap: 10px;
    padding: 12px;
  }

  .art-step__num {
    font-size: 20px;
    width: 30px;
  }

  .art-step__title {
    font-size: 14px;
  }

  .art-step p {
    font-size: 13px;
  }

  .art-tip {
    padding: 12px 14px;
    gap: 8px;
    border-radius: 8px;
  }

  .art-tip__content {
    font-size: 13px;
  }

  .art-tip__content strong {
    font-size: 13px;
  }

  .art-pullquote {
    padding: 14px 16px;
    margin: 18px 0;
  }

  .art-pullquote blockquote p {
    font-size: 15px;
  }

  .art-infobox {
    padding: 12px 14px;
    gap: 8px;
    margin: 18px 0;
  }

  .art-infobox__content {
    font-size: 13px;
  }

  .art-infobox__content strong {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .art-table {
    font-size: 12px;
  }

  .art-table thead th {
    padding: 10px 10px;
    font-size: 11px;
  }

  .art-table tbody td,
  .art-table tbody th {
    padding: 10px 10px;
  }

  .art-badge {
    font-size: 10px;
    padding: 2px 6px;
  }

  .art-table-note {
    font-size: 11px;
  }

  .art-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .art-gallery__img {
    height: 200px;
  }

  .art-modal {
    padding: 8px;
  }

  .art-modal__box {
    border-radius: 8px;
    max-height: 92vh;
  }

  .art-modal__img {
    max-height: 180px;
  }

  .art-modal__info {
    padding: 14px 16px;
  }

  .art-modal__title {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .art-modal__info p {
    font-size: 13px;
  }

  .art-modal__specs span {
    font-size: 11px;
    padding: 3px 8px;
  }

  .art-calc__header {
    padding: 12px 14px;
    font-size: 13px;
  }

  .art-calc__body {
    padding: 14px;
  }

  .art-calc__label {
    font-size: 12px;
  }

  .art-calc__select,
  .art-calc__input {
    padding: 9px 10px;
    font-size: max(14px, 16px);
  }

  .art-calc__hint {
    font-size: 10px;
  }

  .art-calc__btn {
    padding: 11px 16px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
    border-radius: 8px;
  }

  .art-calc__result {
    padding: 14px;
  }

  .art-calc__result-main {
    font-size: 14px;
  }

  .art-calc__result-detail {
    font-size: 13px;
  }

  .art-calc__result-note {
    font-size: 10px;
  }

  .art-heatmap {
    border-radius: 8px;
  }

  .art-heatmap__header {
    padding: 10px 12px;
    font-size: 12px;
  }

  .art-heatmap__legend {
    padding: 8px 12px;
    gap: 4px;
  }

  .art-heatmap__leg-item {
    font-size: 10px;
    padding: 2px 7px;
  }

  .art-heatmap__table {
    font-size: 11px;
  }

  .art-heatmap__table thead th {
    padding: 9px 10px;
    font-size: 11px;
  }

  .art-heatmap__table tbody th {
    padding: 9px 10px;
    font-size: 12px;
  }

  .art-heatmap__cell {
    padding: 9px 10px;
    font-size: 11px;
  }

  .art-heatmap__note {
    font-size: 10px;
    padding: 8px 12px;
  }

  .art-trend {
    padding: 12px;
    gap: 12px;
  }

  .art-trend__num {
    font-size: 20px;
    width: 30px;
  }

  .art-trend__title {
    font-size: 14px;
  }

  .art-trend p {
    font-size: 13px;
  }

  .art-faq {
    gap: 8px;
  }

  .art-faq__q {
    padding: 12px 14px;
    font-size: 13px;
    gap: 8px;
  }

  .art-faq__a {
    padding: 0 12px 12px 12px;
  }

  .art-faq__a p {
    font-size: 13px;
  }

  .art-cta {
    padding: 24px 14px;
    border-radius: 8px;
    margin: 32px 0 0;
  }

  .art-cta__title {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .art-cta__text {
    font-size: 14px;
  }

  .art-figure {
    margin: 20px 0;
  }

  .art-figure__caption {
    font-size: 11px;
  }

  .art-figure--wide .art-figure__img {
    max-height: 200px;
  }
}