/*
 * Copyright (c) 2026 Doğugün Özkaya. All rights reserved.
 * Unauthorized copying, distribution or use of this file, via any medium,
 * is strictly prohibited. Proprietary and confidential.
 * See the LICENSE file in the project root for full terms.
 */

/* Event "Detaylar" — the only styles organisers can use (utils.RICH_CLASSES).
 * Shared by the event page and the organiser editor, so what the editor shows
 * is what the page shows. Fonts and colours always come from the site. */
.rt-content {
  font-family: -apple-system, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  line-height: 1.6; overflow-wrap: anywhere;
}
.rt-content > :first-child { margin-top: 0; }
.rt-content > :last-child { margin-bottom: 0; }
.rt-content p, .rt-content ul, .rt-content ol, .rt-content table, .rt-content blockquote { margin: 0 0 .75em; }
.rt-content ul, .rt-content ol { padding-left: 1.3em; }
.rt-content li + li { margin-top: .2em; }

.rt-content h2 { font-size: 1.25rem; font-weight: 800; line-height: 1.25; margin: 1.1em 0 .45em; color: #1d1e24; }
.rt-content h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.3; margin: 1em 0 .4em; color: #1d1e24; }
.rt-content h4 { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 1em 0 .4em; color: #330596; }

.rt-content a { color: #330596; text-decoration: underline; text-underline-offset: 2px; }
.rt-content strong, .rt-content b { font-weight: 700; }
.rt-content mark { background: rgba(250,25,128,.14); color: inherit; padding: 0 .2em; border-radius: 4px; }

/* Brand-colour text: the site's purple → pink gradient */
.rt-content .rt-accent { font-weight: 700; color: #330596;
  background: linear-gradient(135deg, #330596, #fa1980); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.rt-content .rt-lead { font-size: 1.12em; font-weight: 500; color: #1d1e24; }
.rt-content .rt-small { font-size: .85em; opacity: .75; }

.rt-content blockquote { border-left: 3px solid #fa1980; padding: .2em 0 .2em 1em; font-style: italic; color: #1d1e24; }
.rt-content .rt-callout { padding: 12px 16px; margin: 0 0 .75em; border-radius: 16px;
  background: rgba(51,5,150,.06); border: 1px solid rgba(51,5,150,.16); }
.rt-content .rt-note { padding: 12px 16px; margin: 0 0 .75em; border-radius: 16px;
  background: rgba(250,25,128,.06); border: 1px dashed rgba(250,25,128,.4); }

/* Button-style link: the site's tinted-glass button */
.rt-content a.rt-btn { display: inline-flex; align-items: center; gap: .4em; padding: .6rem 1.25rem; border-radius: 999px;
  color: #fff; font-weight: 700; text-decoration: none;
  background: linear-gradient(135deg, rgba(51,5,150,.82), rgba(250,25,128,.74)); border: 1px solid rgba(255,255,255,.45);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 6px 16px rgba(51,5,150,.18); }
.rt-content a.rt-btn:hover { color: #fff; filter: brightness(1.06); }

.rt-content .rt-center { text-align: center; }
.rt-content .rt-right { text-align: right; }
.rt-content hr { border: 0; border-top: 1px solid rgba(40,42,52,.14); margin: 1.1em 0; opacity: 1; }
.rt-content img { max-width: 100%; height: auto; border-radius: 12px; }
.rt-content iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; border-radius: 12px; margin: 0 0 .75em; }
.rt-content table { width: 100%; border-collapse: collapse; }
.rt-content th, .rt-content td { padding: 6px 10px; border-bottom: 1px solid rgba(40,42,52,.12); text-align: left; vertical-align: top; }
.rt-content th { font-weight: 700; }
