/* PDF resource handout styles — link from index.html or your CMS */

/* Container */
.resource-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #181611;
}

/* Title + text */
.resource-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.resource-intro {
  font-size: 1.25rem;
  color: #8a650c;
  margin-bottom: 2rem;
}

.resource-text {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* Section headings */
.resource-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

/* Checklist */
.checklist {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

/* Material icon styling */
.material-symbols-outlined {
  font-size: 24px;
  line-height: 1;
  flex-shrink: 0;
}

.icon-primary {
  color: #e6a819;
}

/* Standard list */
.resource-list {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.resource-list li {
  margin-bottom: 0.5rem;
}

/* Pro tip */
.pro-tip {
  background-color: rgba(230, 168, 25, 0.08);
  border-left: 4px solid #e6a819;
  padding: 1.25rem 1.5rem;
  margin-top: 2.5rem;
}

.pro-tip-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.pro-tip-title .material-symbols-outlined {
  color: #e6a819;
}

.pro-tip-text {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Small note */
.resource-note {
  font-size: 0.875rem;
  color: #8a650c;
  margin-top: 1.5rem;
}

/* Tables */
.resource-container table,
.resource-container .resource-table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.resource-container thead th {
  background: #181611;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  padding: 0.875rem 1rem;
  border-bottom: 3px solid #e6a819;
}

.resource-container tbody th {
  background: rgba(230, 168, 25, 0.12);
  color: #181611;
  font-weight: 700;
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(24, 22, 17, 0.1);
}

.resource-container td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(24, 22, 17, 0.08);
  vertical-align: top;
}

.resource-container tbody tr:last-child td,
.resource-container tbody tr:last-child th {
  border-bottom: none;
}

/* Side-by-side image row */
.aesthetic-images {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  margin: 2rem 0;
}

.aesthetic-images .img-row {
  flex: 1 1 0;
  max-width: 100%;
  margin: 0;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.aesthetic-images .img-row img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  filter: brightness(0.98) contrast(1.02);
}

/* Same card layout as img-row, but image keeps full/natural height (no crop) */
.aesthetic-images .img-row-full {
  flex: 1 1 0;
  max-width: 100%;
  margin: 0;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.aesthetic-images .img-row-full img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  filter: brightness(0.98) contrast(1.02);
}

/* Center a single figure in body copy (pair with img-row or img-row-full) */
.resource-container .img-center {
  float: none;
  width: 100%;
  max-width: 720px;
  margin: 2rem auto;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.resource-container .img-center img {
  width: 100%;
  display: block;
  border-radius: 14px;
  filter: brightness(0.98) contrast(1.02);
}

.resource-container .img-center.img-row img {
  height: 200px;
  object-fit: cover;
}

.resource-container .img-center.img-row-full img {
  height: auto;
  object-fit: contain;
}

/* Center images inside a row (group or single card) */
.aesthetic-images.aesthetic-images-centered {
  justify-content: center;
}

.aesthetic-images.aesthetic-images-centered .img-row,
.aesthetic-images.aesthetic-images-centered .img-row-full {
  flex: 0 1 auto;
  width: auto;
  max-width: min(100%, 360px);
}

/* Floated single image — use on figure in body copy, NOT inside .aesthetic-images */
.resource-container .img-float-left {
  float: left;
  width: min(42%, 340px);
  margin: 0.25rem 1.5rem 1rem 0;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.resource-container .img-float-left img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  filter: brightness(0.98) contrast(1.02);
}

@media (max-width: 640px) {
  .aesthetic-images {
    flex-wrap: wrap;
  }

  .aesthetic-images .img-row {
    flex: 1 1 100%;
  }
}
