.contentWrapper {
  @apply flex flex-col;
}
.content-section {
  display: flex;
  gap: 40px;
  margin-top: 20px;
}
.section-ls {
  display: flex;
  flex-direction: column;
  width: calc(100% - 330px);
}

@media (max-width: 1024px) {
  .section-ls {
    width: 100%;
  }
}

/* Stock List */
.section-ls .stockList {
  margin-bottom: 2.5rem; /* mb-10 = 40px */
}

.section-ls .stockList h4 {
  font-size: 1rem; /* text-base */
  line-height: 1.5rem;
  font-weight: 600; /* font-semibold */
  color: #5a5c66; /* text-dark-400 (custom color assumed) */
  margin-bottom: 1.5rem; /* mb-6 = 24px */
}

.section-ls .stockList p {
  font-size: 1rem; /* text-base */
  line-height: 1.5rem;
  font-weight: 600; /* font-semibold */
  color: #5a5c66; /* text-dark-400 (custom color assumed) */
  margin-bottom: 1.5rem; /* mb-6 = 24px */
}

.section-ls .stockList ol li {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  line-height: 1.5rem;
  font-weight: 400; /* font-normal */
  color: #5a5c66;
}

/* Title */
.section-ls .title {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 600;
  margin-bottom: 2rem; /* mb-8 = 32px */
}

/* Stock Details */
.section-ls .stockDetails {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* gap-8 = 32px */
  margin-bottom: 3.5rem; /* mb-14 = 56px */
}

.section-ls .stockDetails h2 {
  font-size: 1.25rem; /* text-xl */
  font-weight: 600;
  color: #2b64f9; /* text-blue-500 */
  margin-bottom: 0.5rem; /* mb-2 = 8px */
}

.section-ls .stockDetails p {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 400;
  color: #8c8e95; /* text-dark-300 */
}

@media (max-width: 420px) {
  .section-ls .stockDetails p {
    font-size: 0.875rem; /* xs:text-base */
    line-height: 1.25rem;
  }
}

.section-ls .stockDetails h3 {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 600;
  margin-bottom: 1rem; /* mb-4 = 16px */
}

.section-ls .stockDetails .sector-head {
  font-size: 1.25rem; /* text-xl */
  font-weight: 600;
  color: #3b82f6;
  padding-left: 1rem; /* pl-4 = 16px */
  padding-top: 1rem; /* pt-4 = 16px */
}

@media (min-width: 768px) {
  .section-ls .stockDetails .sector-head {
    font-size: 3rem; /* md:text-5xl */
    padding-left: 0;
    padding-top: 0;
  }
}

.section-ls .stockDetails .sector-subhead {
  font-size: 0.875rem; /* text-sm */
  font-weight: 500;
  color: #5e00a5; /* text-primary (assumed hex) */
  padding-left: 1rem;
}

@media (min-width: 768px) {
  .section-ls .stockDetails .sector-subhead {
    font-size: 1.5rem; /* md:text-2xl */
    padding-left: 0;
  }
}

/* Top company table */
.section-ls .topGGL {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* gap-5 = 20px */
  height: 100%;
  margin-bottom: 1.25rem; /* mb-5 = 20px */
}

@media (min-width: 768px) {
  .section-ls .topGGL {
    flex-direction: row;
  }
}

/* Markdown content */

.markdown {
  font-size: 1rem; /* text-base */
  line-height: 1.625; /* leading-relaxed ≈ 26px */
  width: 100%;
}

.markdownContent {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.markdownContent h3 {
  margin-top: 2.5rem; /* mt-10 */
  margin-bottom: 1rem; /* mb-4 */
  font-size: 1.5rem; /* text-2xl */
  font-weight: 600; /* font-semibold */
}

.markdownContent ul {
  font-weight: 400; /* font-normal */
  list-style-type: disc;
  margin-left: 1.25rem; /* ml-5 */
  margin-top: 0.75rem; /* mt-3 */
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* gap-2 */
}

.markdownContent img {
  width: 100%;
  margin: 20px 0;
  border-radius: 0.5rem; /* rounded-lg */
}

.tableWrapper {
  width: 100%;
  overflow-x: auto;
  margin-top: 1.5rem; /* my-6 */
  margin-bottom: 1.5rem;
}

.tableWrapper table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  border-radius: 0.5rem; /* rounded-lg */
  border: 1px solid #e5e7eb; /* border-gray-200 */
  border-spacing: 0;
  display: table;
}

.tableWrapper tbody {
  background-color: #ffffff;
}

.tableWrapper tr {
  border-bottom: 1px solid #e5e7eb;
}

.tableWrapper tr:last-child {
  border-bottom: none;
}

.tableWrapper tr:nth-child(even) {
  background-color: #f9fafb; /* bg-gray-50 */
}

.tableWrapper th {
  padding: 0.75rem 1.5rem; /* px-6 py-3 */
  text-align: left;
  font-size: 0.75rem; /* text-xs */
  font-weight: 600;
  color: #4b5563; /* text-gray-600 */
  letter-spacing: 0.05em;
  background-color: #f9fafb;
  border-bottom: 2px solid #e5e7eb;
}

.tableWrapper th:first-child {
  border-top-left-radius: 0.5rem;
}

.tableWrapper th:last-child {
  border-top-right-radius: 0.5rem;
}

.tableWrapper td {
  padding: 1rem 1.5rem; /* px-6 py-4 */
  font-size: 0.875rem; /* text-sm */
  color: #374151; /* text-gray-700 */
  vertical-align: top;
}

.tableWrapper th,
.tableWrapper td {
  border-right: 1px solid #e5e7eb;
}

.tableWrapper th:last-child,
.tableWrapper td:last-child {
  border-right: none;
}

/* Table cell alignment */
.tableWrapper th[align="center"],
.tableWrapper td[align="center"] {
  text-align: center;
}

.tableWrapper th[align="right"],
.tableWrapper td[align="right"] {
  text-align: right;
}

.tableWrapper th[align="left"],
.tableWrapper td[align="left"] {
  text-align: left;
}

/* Table caption */
.tableWrapper caption {
  font-size: 0.875rem; /* text-sm */
  color: #4b5563; /* text-gray-600 */
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  font-style: italic;
  text-align: center;
}

/* Strike Tool Sidebar */
.strike-tools {
  top: 4.25rem;
  position: sticky;
  display: none;
  border: 1px solid #e5e7eb; /* assuming Tailwind default border */
  width: 18rem; /* w-72 = 288px */
  border-radius: 10px;
  padding: 1.5rem 1.25rem; /* py-6 = 24px, px-5 = 20px */
  background-color: #ffffff;
  height: fit-content;
}

/* Show on large screens (lg:block) */
@media (min-width: 1024px) {
  .strike-tools {
    display: block;
  }
}

.strike-tools .head {
  font-size: 1rem; /* text-base */
  font-weight: 600; /* font-semibold */
  color: #204bbb; /* text-primary, assumed brand color */
  margin-bottom: 1.5rem; /* mb-6 = 24px */
  line-height: 1.3; /* leading-[130%] */
}

.strike-tools ul {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* gap-5 = 20px */
}

.strike-tools ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem; /* text-base */
  font-weight: 500; /* font-medium */
  line-height: 1.3; /* leading-[130%] */
  color: #4b5563; /* text-dark-400, assumed gray */
  text-decoration: underline;
  white-space: nowrap;
}

.strike-tools ul li a span {
  flex: 1;
}
