.heading {
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

.dialogue {
    margin-bottom: 10px;
}

.speaker {
    color: #8b0000;
    font-weight: bold;
    display: inline-block;
    width: 120px;
    vertical-align: top;
}
.qrimg {
  display: block;
  float: right;
  width: 130px;
}
img {
  max-width: 95%;
  padding: 5px;
  text-align: center;
}
.text {
    display: inline-block;
    width: calc(100% - 130px);
}

h2 {
    text-align: center;
    background: #7a9a5a;
    color: white;
    padding: 10px;
    display: inline-block;
    margin: auto;
}

.table-container {
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    border: 1px dotted #555;
    padding: 10px;
    vertical-align: top;
}

th {
    background-color: #dcd8c8;
    text-align: center;
}

td:first-child {
    background-color: #e8e4d5;
    font-weight: bold;
}

table {
    width: 100%;
    border-collapse: collapse;
}

td, th {
    border: 1px solid #aab3c5;
    padding: 10px;
    text-align: center;
}

tr:nth-child(odd) {
    background-color: #dfe5ef;
}

tr:nth-child(even) {
    background-color: #f3f5f9;
}

.container {
    max-width: 900px;
    margin: auto;
}

.heading {
    text-align: center;
    color: #b22222;
    font-weight: bold;
    margin-bottom: 20px;
}


.box {
    background: #f3d6d6;
    border: 2px solid #d48a8a;
    border-radius: 10px; 
    padding: 20px;
    margin-bottom: 25px;
}

.title {
    font-weight: bold;
    margin-bottom: 10px;
}

.sub {
    margin-left: 20px;
}
.exercise-section {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    font-family: "Noto Sans Devanagari", serif;
}

/* 🔹 Heading */
.exercise-section h3 {
    color: #b22222;
    margin-bottom: 20px;
}

/* 🔹 Word Box (Blue rounded box like image) */
.word-box {
    background: #cfe2f3;
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
    line-height: 1.8;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* 🔹 Question list */
.question-list p {
    font-size: 18px;
    margin-bottom: 15px;
    line-height: 1.8;
}

/* 🔹 Blank dotted line */
.blank-line {
    display: inline-block;
    border-bottom: 2px dotted #000;
    width: 150px;
    margin: 0 6px;
    vertical-align: middle;
}

.word-grid {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.word-grid td {
    border: 2px solid #a7a73a;
    text-align: center;
    padding: 10px;
    font-size: 18px;
    background: #f5f3e7;
    font-weight: bold;
}

/* 🔹 Highlighted letters (like red circle) */
.word-grid td.highlight {
    border: 2px solid red;
    color: red;
    font-weight: bold;
}

/* 🔹 Heading spacing */
.exercise-section h3 {
    color: #b22222;
    margin-bottom: 10px;
    line-height: 1.6;
}
.exercise-section {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    font-family: "Noto Sans Devanagari", serif;
}

/* Heading */
.exercise-section h3 {
    color: #b22222;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* List */
.tf-list p {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.8;
}

/* (   ) space */
.tf-options {
    float: right;
    letter-spacing: 5px;
    font-weight: bold;
}

/* Clear float */
.tf-list p::after {
    content: "";
    display: block;
    clear: both;
}

.exercise-section {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    font-family: "Noto Sans Devanagari", serif;
}

/* Heading */
.exercise-section h3 {
    color: #b22222;
    margin: 25px 0 15px;
}

/* Image */
.image-box {
    text-align: center;
    margin-bottom: 20px;
}

.image-box img {
    max-width: 100%;
    border-radius: 10px;
}

/* Lines for writing */
.lines p {
    margin-bottom: 12px;
}

.line {
    display: inline-block;
    border-bottom: 2px dotted #000;
    width: 85%;
}

/* Tables */
.qa-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.qa-table th, .qa-table td {
    border: 1px dotted #555;
    padding: 10px;
    vertical-align: top;
}

.qa-table th {
    background: #e6e2d3;
    text-align: center;
}


/* Section */
.exercise-section {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    font-family: "Noto Sans Devanagari", serif;
}

/* Card Layout */
.card {
    border-radius: 12px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Header */
.card-header {
    padding: 10px 20px;
    font-weight: bold;
    color: #fff;
}

/* Body */
.card-body {
    padding: 15px 20px;
    line-height: 1.8;
    font-size: 17px;
}

/* Colors */
.green-card {
    background: #e6edc8;
    border: 1px solid #c3cc8a;
}

.yellow-card {
    background: #f8e7c7;
    border: 1px solid #e0c28c;
}

.purple {
    background: #7a3c8f;
}

.brown {
    background: #a46b2b;
}