/* freedictionary.org — 2026 redesign. Loaded after Bootstrap 4.5. */
:root {
	--fd-blue: #2874f0;
	--fd-blue-dark: #1f5fc9;
	--fd-ink: #1f2933;
	--fd-muted: #6c757d;
	--fd-bg: #f5f7fb;
	--fd-card: #ffffff;
	--fd-line: #e6eaf0;
}
html { scroll-behavior: smooth; }
body { background: var(--fd-bg); color: var(--fd-ink); }
a { color: var(--fd-blue); }
a:hover { color: var(--fd-blue-dark); }

/* ---------- navbar ---------- */
.fd-nav { background: var(--fd-blue); }
.fd-nav-inner { display: flex; align-items: center; gap: 1.25rem; min-height: 60px; padding-top: .5rem; padding-bottom: .5rem; }
.fd-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.fd-brand img { display: block; height: 44px; width: auto; }
.fd-nav-search { flex: 1 1 auto; max-width: 560px; margin: 0; }
.fd-nav-search .form-control { height: 2.6rem; border: 0; border-radius: .5rem 0 0 .5rem; box-shadow: none; font-size: 1rem; }
.fd-nav-search .btn { height: 2.6rem; border: 0; border-radius: 0 .5rem .5rem 0; background: #fff; color: var(--fd-blue); padding: 0 .9rem; }
.fd-nav-search .btn:hover { background: #e9f0fe; }
.fd-nav-home .fd-nav-inner { min-height: 56px; }
@media (max-width: 575px) {
	.fd-nav-inner { flex-wrap: wrap; gap: .5rem .75rem; }
	.fd-nav-search { flex-basis: 100%; max-width: none; }
	.fd-brand img { height: 38px; }
}

/* ---------- home (search-engine style) ---------- */
.fd-home { min-height: calc(100vh - 120px); display: flex; flex-direction: column; justify-content: center; align-items: center; }
.fd-hero { text-align: center; width: 100%; padding: 2rem 0 1rem; margin-top: -6vh; }
.fd-home-logo img { display: block; margin: 0 auto 1.75rem; height: 80px; width: auto; }
.fd-search { position: relative; max-width: 620px; margin: 0 auto; }
.fd-search .form-control { height: 3.5rem; font-size: 1.15rem; padding: 0 3.4rem 0 3.1rem; border: 1px solid #dfe3ea; border-radius: 999px; background: #fff; box-shadow: 0 1px 6px rgba(32,33,36,.12); }
.fd-search .form-control:hover { box-shadow: 0 2px 10px rgba(32,33,36,.18); border-color: #d0d5dd; }
.fd-search .form-control:focus { border-color: var(--fd-blue); box-shadow: 0 2px 10px rgba(40,116,240,.22); }
.fd-search-icon { position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%); color: #9aa3b2; font-size: 1.05rem; pointer-events: none; }
.fd-search .btn { position: absolute; right: .45rem; top: 50%; transform: translateY(-50%); width: 2.6rem; height: 2.6rem; border-radius: 50%; padding: 0; background: var(--fd-blue); color: #fff; border: 0; display: inline-flex; align-items: center; justify-content: center; }
.fd-search .btn:hover { background: var(--fd-blue-dark); color: #fff; }
.fd-hint { color: #8a94a6; font-size: .9rem; margin-top: 1.1rem; }
.fd-wotd-line { color: #8a94a6; font-size: .9rem; margin: 2.5rem 0 0; text-align: center; }
.fd-wotd-line a { color: var(--fd-ink); font-weight: 600; text-decoration: none; border-bottom: 1px dotted #b8c0cc; }
.fd-wotd-line a:hover { color: var(--fd-blue); border-color: var(--fd-blue); }
/* jQuery UI autocomplete: match the rounded box */
.fd-ac { position: absolute; z-index: 1000; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: .35rem 0; list-style: none; text-align: left; max-height: 19rem; overflow-y: auto; background: #fff; border: 1px solid #dfe3ea; border-radius: .9rem; box-shadow: 0 6px 20px rgba(32,33,36,.14); }
.fd-ac[hidden] { display: none; }
.fd-ac-item { padding: .45rem 1.2rem; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fd-ac-item.is-active { background: #eef3fe; color: var(--fd-ink); }

/* ---------- cards ---------- */
.fd-card { background: var(--fd-card); border: 1px solid var(--fd-line); border-radius: .75rem; padding: 1.25rem 1.5rem; margin-bottom: 1.25rem; }
.fd-card-title { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--fd-muted); margin: 0 0 .9rem; }
.fd-wotd { text-align: left; max-width: 680px; margin: 2rem auto 0; }
.fd-wotd .fd-word { font-size: 1.6rem; font-weight: 700; margin: 0; }
.fd-wotd .fd-word a { color: var(--fd-ink); text-decoration: none; }
.fd-wotd .fd-word a:hover { color: var(--fd-blue); }
.fd-wotd p { margin: .4rem 0 0; color: #3e4c59; }

/* ---------- word page header ---------- */
.fd-head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 1.5rem 0 1rem; }
.fd-head h1 { font-size: 2.4rem; font-weight: 700; margin: 0; letter-spacing: -.01em; }
.fd-pos { font-size: .85rem; color: var(--fd-muted); }
.fd-play { width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--fd-line); background: #fff; color: var(--fd-blue); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.fd-play:hover { background: var(--fd-blue); color: #fff; border-color: var(--fd-blue); }
.fd-play.playing { background: var(--fd-blue); color: #fff; }
.fd-syn { margin: 0 0 1.25rem; }
.fd-syn .label { font-size: .85rem; color: var(--fd-muted); margin-right: .35rem; }
.fd-chip { display: inline-block; margin: .2rem .25rem .2rem 0; padding: .25rem .7rem; border-radius: 999px; background: #e9f0fe; color: var(--fd-blue-dark); font-size: .9rem; text-decoration: none; }
.fd-chip:hover { background: var(--fd-blue); color: #fff; text-decoration: none; }

/* ---------- WordNet senses ---------- */
.fd-pos-block + .fd-pos-block { margin-top: 1.1rem; padding-top: 1.1rem; border-top: 1px solid var(--fd-line); }
.fd-pos-block h3 { font-size: .95rem; font-weight: 700; color: var(--fd-blue-dark); margin: 0 0 .5rem; }
.fd-pos-block h3 small { color: var(--fd-muted); font-weight: 400; }
.fd-senses { list-style: none; padding: 0; margin: 0; counter-reset: sense; }
.fd-senses li { position: relative; padding-left: 2rem; margin-bottom: .75rem; line-height: 1.55; }
.fd-senses li::before { counter-increment: sense; content: counter(sense); position: absolute; left: 0; top: .15rem; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: #eef2f7; color: var(--fd-muted); font-size: .75rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.fd-senses .ex { display: block; color: var(--fd-muted); font-style: italic; margin-top: .15rem; }
.fd-senses .syn { display: block; font-size: .9rem; margin-top: .2rem; }
.fd-senses .syn a { margin-right: .35rem; }

/* ---------- dictd prose (Webster, FOLDOC, Jargon, Devil) ---------- */
.fd-prose { line-height: 1.6; font-size: 1rem; }
.fd-prose .hw { font-weight: 700; margin-bottom: .5rem; }
.fd-prose .hw .pron { font-weight: 400; color: var(--fd-muted); }
.fd-prose p { margin: 0 0 .7rem; }
.fd-prose p.sense { padding-left: 2rem; text-indent: -2rem; }
.fd-prose p.sense .num { display: inline-block; width: 2rem; text-indent: 0; font-weight: 700; color: var(--fd-blue-dark); }
.fd-prose blockquote { margin: .3rem 0 .8rem 2rem; padding: .5rem .9rem; border-left: 3px solid #d7deea; background: #f8f9fb; color: #3e4c59; font-style: italic; border-radius: 0 .4rem .4rem 0; font-size: .95rem; }
.fd-prose blockquote cite { display: block; font-style: normal; color: var(--fd-muted); font-size: .85rem; margin-top: .2rem; }
.fd-prose .src { font-size: .72rem; color: #98a2b3; margin-left: .35rem; white-space: nowrap; }
.fd-prose .lbl { font-weight: 700; color: var(--fd-blue-dark); }
.fd-prose .ety { color: var(--fd-muted); font-size: .95rem; }

/* ---------- misc ---------- */
.fd-empty { text-align: center; padding: 2rem 1rem; }
.fd-empty h2 { font-size: 1.4rem; }
.fd-similar a { display: inline-block; margin: .2rem .25rem .2rem 0; padding: .25rem .7rem; border-radius: 999px; background: #fff; border: 1px solid var(--fd-line); color: var(--fd-ink); text-decoration: none; }
.fd-similar a:hover { border-color: var(--fd-blue); color: var(--fd-blue); }
.fd-ad { margin: 0 auto; }
.fd-ad-wrap { margin: 0 0 1.25rem; }
.fd-ad-label { display: block; font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; color: #a3acb9; margin-bottom: .25rem; }
.fd-ad-placeholder { background: repeating-linear-gradient(45deg, #e9edf3, #e9edf3 10px, #f3f5f9 10px, #f3f5f9 20px); border: 1px dashed #c9d1dc; border-radius: .5rem; color: #8a94a6; font-size: .85rem; display: flex; align-items: center; justify-content: center; }
.fd-ad-sticky { position: sticky; top: 1rem; margin-top: 1.5rem; }
.fd-ad-side { margin-left: auto; }
.fd-footer { color: var(--fd-muted); font-size: .85rem; padding: 2.5rem 0 2rem; text-align: center; }
.fd-footer a { color: var(--fd-muted); margin: 0 .5rem; }
.fd-footer a:hover { color: var(--fd-blue); }
@media (max-width: 575px) {
	.fd-home { min-height: calc(100vh - 100px); }
	.fd-hero { margin-top: -10vh; }
	.fd-home-logo img { height: 60px; margin-bottom: 1.25rem; }
	.fd-search .form-control { height: 3.2rem; font-size: 1.05rem; }
	.fd-head h1 { font-size: 1.9rem; }
	.fd-card { padding: 1rem 1rem; border-radius: .6rem; }
	.fd-prose blockquote { margin-left: .5rem; }
}

.fd-prose blockquote .src { display: none; }
.fd-entry-sep { border: 0; border-top: 1px dashed var(--fd-line); margin: 1rem 0; }

/* Satır içi SVG ikonlar (19.09.2026: Font Awesome CSS+woff2 kaldırıldı, bkz. fd_icon()) */
.fd-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; fill: currentColor; }
.fd-search-icon { position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%); color: #9aa3b2; width: 1.05rem; height: 1.05rem; pointer-events: none; }
.mr-1.fd-icon { margin-right: .25rem; }
