.tamc-single-doctor, .tamc-single-doctor * { box-sizing: border-box; }
.tamc-single-doctor { padding: 30px 20px 50px; background: #fff; color: #4d4d4d; font-family: var(--tamc-font-text); }
.tamc-single-doctor__inner { max-width: 1200px; margin-inline: auto; padding-inline: 15px; }
.tamc-single-doctor__grid { display: grid; grid-template-columns: minmax(0, 35fr) minmax(0, 60fr) minmax(0, 5fr); gap: 0; align-items: start; }
.tamc-single-doctor__content, .tamc-single-doctor__sidebar { min-width: 0; }
.tamc-single-doctor__info { font-size: 16px; line-height: 1.5; margin-bottom: 25px; }
.tamc-single-doctor__info h2 { font: 700 16px/28px sans-serif; letter-spacing: 1px; margin: 0; color: #000; }
.tamc-single-doctor__info p { margin-block: 15px; }
.tamc-single-doctor__info > a { color: #3580cb; }
.tamc-single-doctor__rest { margin-top: 30px; font-size: 18px; line-height: 1.55; }
.tamc-single-doctor .doctorSingleWrapper { display: block; width: auto; padding: 0; }
@media(max-width: 800px) { .tamc-single-doctor__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; } .tamc-single-doctor__sidebar { order: 2; } }

/* Match the rendered Sway typography without affecting the plugin widgets. */
.tamc-single-doctor__content { font-size: 16px; line-height: 24px; }
.tamc-single-doctor__content .wpb_text_column :is(p, li) { font-family: var(--tamc-font-text); font-size: 16px; line-height: 24px; letter-spacing: 1px; color: #001b4d; }
.tamc-single-doctor__content .wpb_text_column p { margin: 0 0 15px; }
.tamc-single-doctor__content .wpb_text_column :is(h2, h3, h4),
.tamc-single-doctor__rest .wpb_text_column :is(h2, h3) { font-family: var(--tamc-font); font-weight: 700; letter-spacing: normal; color: #001b4d; margin: 5px 0; }
.tamc-single-doctor__content .wpb_text_column h2,
.tamc-single-doctor__rest .wpb_text_column h2 { font-size: 32px; line-height: 46px; }
.tamc-single-doctor__content .wpb_text_column :is(h3, h4) { font-size: 22px; line-height: 25px; }
.tamc-single-doctor__content .wpb_text_column ul { list-style-image: url('../../assets/svg/list-check.svg'); padding-inline-start: 25px; margin: 0 0 20px; }
.tamc-single-doctor__content .wpb_text_column li { padding-inline-start: 5px; }
.tamc-single-doctor__info { font-family: sans-serif; letter-spacing: 1px; line-height: 24px; }
.tamc-single-doctor__info > a { color: #70bd8f; }
.tamc-single-doctor__info > p { font-size: 14px; margin: 4px 0 15px; }
.tamc-single-doctor__rest { line-height: 28px; letter-spacing: 1px; }
@media(max-width: 800px) { .tamc-single-doctor__inner { padding-inline: 0; } }
