/* [ttw-content-fix] v1 — responsive duzeltmeler (tasarim icermez) */
.note-editable img, .tab-pane img, .card-text img { max-width: 100%; height: auto; }
.note-editable iframe, .tab-pane iframe { max-width: 100%; }
.note-editable table, .tab-pane table { max-width: 100%; }
.ttw-video { position: relative; width: 100%; aspect-ratio: 16/9; margin: 12px 0; }
.ttw-video iframe, .ttw-video video { width: 100%; height: 100%; border: 0; display: block; }
iframe.note-video-clip { width: 100%; max-width: 100%; aspect-ratio: 16/9; height: auto; }
details.ttw-acc > summary { cursor: pointer; }
details.ttw-acc { margin: 0 0 8px; }
.note-editable .ttw-video iframe, .note-editable .ttw-video video { pointer-events: none; }

/* [ttw-responsive-v2] icerik alani her kosulda responsive */
#myTabContent, .card-text.info { overflow-x: hidden; word-wrap: break-word; overflow-wrap: break-word; }
#myTabContent *, .card-text.info *, .note-editable * { max-width: 100%; }
#myTabContent img, .card-text.info img, .note-editable img { height: auto; }
#myTabContent iframe[src*="youtube.com"], #myTabContent iframe[src*="youtu.be"], #myTabContent iframe[src*="vimeo.com"],
.card-text.info iframe[src*="youtube.com"], .card-text.info iframe[src*="youtu.be"], .card-text.info iframe[src*="vimeo.com"],
.note-editable iframe[src*="youtube.com"], .note-editable iframe[src*="youtu.be"], .note-editable iframe[src*="vimeo.com"] {
  width: 100%; aspect-ratio: 16/9; height: auto;
}
#myTabContent table { display: block; overflow-x: auto; }

/* [ttw-video-resize] editorde video bloklari sag alt kosesinden boyutlandirilabilir */
.note-editable .ttw-video { resize: horizontal; overflow: hidden; min-width: 220px; max-width: 100%; }
.note-editable .ttw-video:hover { outline: 2px dashed #4897bf; outline-offset: 2px; }
.note-editable .ttw-video::after { content: ""; position: absolute; right: 0; bottom: 0; width: 16px; height: 16px;
  background: linear-gradient(135deg, transparent 50%, #4897bf 50%); opacity: .75; pointer-events: none; border-top-left-radius: 4px; }
