/*
 Theme Name:   Morenews Child
 Theme URI:    http://example.com/morenews-child
 Description:  Morenews Child Theme
 Author:       Your Name
 Template:     morenews
 Version:      1.0.0
 Text Domain:  morenews-child
*/

/* এখানে আপনি চাইলে custom CSS লিখতে পারেন */



/*Content-Generic.php CSS*/
.drug-info.generic-post {
  max-width: none;
  margin: 0 auto;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #222;
}

/* ---------- HEADER ---------- */
.drug-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 0px;
}

.drug-header .info {
  flex: 1 1 auto;
  margin-right: 20px;
  display: flex;
  flex-direction: column;
}

.drug-header h2 {
  margin: 0;
  font-size: 1.8em;
  line-height: 1.2;
  font-weight: 700;
  color: #1c3b70;
}

/* ---------- CONTENT ---------- */
.drug-info p {
  margin-bottom: 10px;
  font-size: 16px;
}

.drug-info p strong {
  color: #1c3b70;
  margin-right: 5px;
}

.drug-info p a {
  color: #1c3b70;
  text-decoration: none;
  font-weight: 500;
}

.drug-info p a:hover {
  text-decoration: underline;
}

/* ---------- SECTION TITLES ---------- */
.drug-info h3 {
  color: #fff;
  background: #000;
  margin-top: 24px;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 0;
  text-align: left;
  font-size: 1.1em;
  font-weight: 600;
}

/* List spacing & alignment */
/* LIST SPACING & ALIGNMENT FIXES */
.drug-info ul {
  list-style: disc;
  /* margin: 10px 0 10px 30px;  --> বাম দিকের 30px মার্জিন বাদ দিয়ে padding এ যোগ করুন */
  margin: 10px 0 10px 0; /* উপরে ও নিচে 10px মার্জিন, বাম দিকে 0 */
  padding-left: 50px;    /* মোট ইন্ডেন্টেশন (bullet সহ) সেট করুন */
}

.drug-info ul li {
  margin-bottom: 8px;
  position: relative;
  font-size: 16px; /* --> Add this to match the font size of the p tag (16px) */
}

/* BULLET SIZE FIX */
.drug-info ul li::marker {
  color: #0b64a0;
  font-size: 16px; /* --> Changed to 16px to match the text size (or remove if you want default browser marker size) */
}


/* ---------- TABLE (if any WYSIWYG content uses it) ---------- */
.drug-info table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.drug-info th,
.drug-info td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.drug-info th {
  background: #f4f4f4;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 600px) {
  .drug-header {
    flex-direction: row;
  }
  .drug-header .info {
    margin-right: 12px;
  }
  .drug-header h2 {
    font-size: 1.4em;
  }
	
.drug-info h3 {
    font-size: 1em;
    padding: 6px 10px;
}

.drug-info p {
    font-size: 16px;
}

/* ---------- BUTTON ---------- */
.related-medicines-single-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s;
    font-weight: 600;
}

.related-medicines-single-btn:hover {
background-color: #fff;
}

/*Content-Medicine.php CSS*/
 

	 .drug-info {
      max-width: none;
      margin: 0 auto;
      padding: 0px;
      font-family: 'Segoe UI', sans-serif;
      line-height: 1.6;
      color: #222;
    }

    .drug-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: nowrap;
      margin-bottom: 20px;
    }

   .drug-header .info {
      flex: 1 1 auto;
      margin-right: 20px;
      display: flex;
      flex-direction: column;
    }

    .drug-header h1, .drug-header h2 {
      margin: 0;
      font-size: 1.8em;
      line-height: 1.2;
      font-weight: 700;
      color: #1c3b70;
    }

    .inline-info {
      font-size: 20px;
      color: #555;
      display: flex;
      gap: 10px;
      align-items: baseline;
      margin-top: 4px;
    }

    .inline-info .strength {
      font-size: 17px;
    }

    .inline-info .form {
       font-size: 17px;
      opacity: 0.8;
    }
	
	
	
	/* ---------- Warning note styles (copy into your stylesheet) ---------- */

.med-warning{
  display: flex;
  gap: 8px;
  background: #fff4f4;
  border-left: 4px solid #d33;
  padding: 10px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  font-family: Arial, sans-serif;
  margin: 12px 0;
}

.med-warning__icon svg{
  width: 20px;
  height: 20px;
  color: #d22;
}

.med-warning__title{
  color: #c11;
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.med-warning__text{
  margin: 0 0 4px 0;
  font-size: 0.86rem;
}

.med-warning__note{
  margin: 0;
  font-size: 0.8rem;
  color: #666;
}