/*
 * MH Magazine lite: modern tasarım katmanı.
 * style.css'e dokunmaz, onun üzerine yazar. Renkleri aşağıdaki :root değişkenlerinden değiştirin.
 */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/inter-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 400 800;
	font-display: swap;
	src: url("../fonts/inter-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--mh-accent: #e11d48;
	--mh-accent-dark: #be123c;
	--mh-accent-soft: #fff1f3;
	--mh-ink: #0f172a;
	--mh-text: #334155;
	--mh-muted: #64748b;
	--mh-line: #e8ebf0;
	--mh-bg: #f3f4f7;
	--mh-surface: #fff;
	--mh-soft: #f6f7f9;
	--mh-dark: #0f172a;
	--mh-radius: 14px;
	--mh-radius-sm: 10px;
	--mh-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
	--mh-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Temel ---------- */

html { scroll-behavior: smooth; }
body {
	font-family: var(--mh-font);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--mh-text);
	background-color: var(--mh-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--mh-font);
	color: var(--mh-ink);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
}
a { color: var(--mh-ink); transition: color .2s ease; }
a:hover { color: var(--mh-accent); }
:focus-visible { outline: 2px solid var(--mh-accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--mh-accent); color: #fff; }
small { font-size: .8125rem; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
	top: auto; left: auto;
}

/* ---------- Yerleşim ---------- */

.mh-container-outer {
	margin: 28px auto;
	border-radius: var(--mh-radius);
	box-shadow: var(--mh-shadow);
	overflow: hidden;
	background: var(--mh-surface);
}
.mh-wrapper { padding: 32px; background: var(--mh-surface); }

/* ---------- Header ---------- */

.mh-header { background: var(--mh-surface); }
.mh-site-logo { padding: 28px 32px; }
.mh-header-text { text-transform: none; margin: 0; }
.mh-header-title { font-size: 2.125rem; font-weight: 800; letter-spacing: -0.03em; }
.mh-header-text-link:hover .mh-header-title { color: var(--mh-accent); }
.mh-header-tagline {
	font-size: .8125rem; font-weight: 500; letter-spacing: .02em;
	color: var(--mh-muted); border-top: 0; padding-top: 0; margin-top: 8px;
}
.mh-header-image { display: block; width: 100%; }

/* ---------- Ana menü ---------- */

.mh-main-nav-wrap { background: var(--mh-dark); }
.mh-main-nav { text-transform: none; border-bottom: 0; }
.mh-main-nav li { font-weight: 600; font-size: .875rem; }
.mh-main-nav li a {
	padding: 15px 18px;
	border-left: 0;
	color: rgba(255, 255, 255, .86);
	letter-spacing: .01em;
	transition: color .2s ease, box-shadow .2s ease;
}
.mh-main-nav li:hover,
.mh-main-nav .menu > .current-menu-item { background: transparent; }
.mh-main-nav li:hover > a,
.mh-main-nav .menu > .current-menu-item > a,
.mh-main-nav .menu > .current-menu-ancestor > a { color: #fff; box-shadow: inset 0 -3px 0 var(--mh-accent); }
.mh-navigation .menu-item-has-children > a:after { opacity: .6; font-size: .75em; }
.mh-main-nav ul ul {
	padding: 8px;
	border-radius: var(--mh-radius-sm);
	box-shadow: 0 16px 40px rgba(15, 23, 42, .18);
}
.mh-main-nav ul li:hover > ul { background: var(--mh-surface); }
.mh-main-nav ul ul li a { color: var(--mh-text); padding: 9px 12px; border-radius: 8px; font-weight: 500; }
.mh-main-nav ul ul li:hover > a { color: var(--mh-accent); background: var(--mh-accent-soft); box-shadow: none; }
.mh-main-nav ul ul ul { top: -8px; }

/* Mobil menü */
.mh-main-nav-wrap .slicknav_menu { padding: 4px 8px; }
.mh-main-nav-wrap .slicknav_btn { margin: 6px 0; padding: 10px 12px; border-radius: 8px; }
.mh-main-nav-wrap .slicknav_btn:hover { background: rgba(255, 255, 255, .08); }
.slicknav_menu .slicknav_icon-bar { width: 1.25em; height: 2px; }
.slicknav_nav { font-size: 1rem; font-weight: 600; margin-bottom: 12px; }
.slicknav_nav a, .slicknav_nav .slicknav_row { padding: 11px 12px; margin: 2px 0; border-radius: 8px; color: rgba(255, 255, 255, .9); }
.mh-main-nav-wrap .slicknav_nav a:hover,
.mh-main-nav-wrap .slicknav_nav .slicknav_row:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.mh-main-nav-wrap .slicknav_nav ul { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 8px; }

/* ---------- Yazılar ---------- */

.entry-header, .page-header { margin-bottom: 24px; }
.entry-title, .page-title { font-size: 2.25rem; line-height: 1.18; letter-spacing: -0.03em; }
.page-title { font-size: 1.875rem; }
.mh-meta { font-size: .8125rem; }
.mh-meta, .mh-meta a { color: var(--mh-muted); }
.mh-meta a:hover { color: var(--mh-accent); }
.mh-meta span { margin-right: 14px; }
.mh-meta .fa, .mh-meta .far { margin-right: 6px; opacity: .7; }
.entry-meta { margin-top: 14px; padding: 0; border: 0; }

.entry-thumbnail { margin-bottom: 28px; }
.entry-thumbnail img { border-radius: var(--mh-radius); }
.entry-thumbnail .wp-caption-text { font-weight: 500; color: var(--mh-muted); margin-top: 10px; }

.entry-content { font-size: 1.0625rem; line-height: 1.8; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 { margin-top: 1.6em; margin-bottom: .6em; }
.entry-content > h2:first-child, .entry-content > h3:first-child { margin-top: 0; }
.entry-content p, .entry-content ul, .entry-content ol { margin-bottom: 1.4em; }
.entry-content a { font-weight: 600; color: var(--mh-accent); text-decoration: underline; text-decoration-color: rgba(225, 29, 72, .3); text-underline-offset: 3px; }
.entry-content a:hover { color: var(--mh-accent-dark); text-decoration-color: currentColor; }
.entry-content img { border-radius: var(--mh-radius-sm); }
.entry-content li::marker { color: var(--mh-accent); }

blockquote {
	font-size: 1.125rem; font-style: normal; color: var(--mh-ink);
	padding: 18px 24px; border-left: 4px solid var(--mh-accent);
	background: var(--mh-soft); border-radius: 0 var(--mh-radius-sm) var(--mh-radius-sm) 0;
}
pre, code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; border-radius: 8px; border-color: var(--mh-line); background: var(--mh-soft); }
code { padding: 2px 6px; font-size: .9em; }
pre code { padding: 0; border: 0; }
table { border-color: var(--mh-line); border-radius: var(--mh-radius-sm); overflow: hidden; }
td, th { padding: 10px 14px; border-color: var(--mh-line); }
th { background: var(--mh-soft); color: var(--mh-ink); }

/* Etiketler */
.entry-tags { font-size: .8125rem; color: var(--mh-text); margin: 8px 0 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.entry-tags .fa { float: none; padding: 0; margin: 0 4px 0 0; background: none; color: var(--mh-muted); }
.entry-tags ul { display: flex; flex-wrap: wrap; gap: 8px; }
.entry-tags li { float: none; margin: 0; background: var(--mh-soft); text-transform: none; font-weight: 600; border-radius: 999px; transition: background .2s ease; }
.entry-tags li:hover { background: var(--mh-accent); }
.entry-tags a { color: var(--mh-text); padding: 7px 14px; }
.entry-tags a:hover { color: #fff; }

/* Yazar kutusu */
.mh-author-box { padding: 24px; margin-bottom: 32px; border: 0; background: var(--mh-soft); border-radius: var(--mh-radius); }
.mh-author-box-avatar { padding: 0; border: 0; }
.mh-author-box-avatar img { border-radius: 50%; }

/* Önceki / sonraki yazı */
.mh-post-nav { padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--mh-line); }
.mh-post-nav span { font-size: .75rem; letter-spacing: .06em; color: var(--mh-muted); }
.mh-post-nav p { font-size: .9375rem; font-weight: 600; line-height: 1.4; }
.mh-post-nav img { border-radius: 8px; }

/* ---------- Liste / arşiv ---------- */

.mh-loop-item { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--mh-line); }
.mh-loop-item:last-of-type { border-bottom: 0; }
.mh-loop-thumb { margin-right: 24px; }
.mh-loop-thumb a { display: block; overflow: hidden; border-radius: var(--mh-radius-sm); }
.mh-loop-thumb img { display: block; transition: transform .5s ease; }
.mh-loop-item:hover .mh-loop-thumb img { transform: scale(1.04); }
.mh-loop-title { font-size: 1.25rem; line-height: 1.3; }
.mh-loop-title a:hover { color: var(--mh-accent); }
.mh-loop-meta { margin-top: 8px; }
.mh-loop-excerpt { color: var(--mh-text); font-size: .9375rem; }
.mh-loop-description { padding: 18px 20px; border: 0; background: var(--mh-soft); border-radius: var(--mh-radius-sm); }
.mh-excerpt-more { font-weight: 600; color: var(--mh-accent); white-space: nowrap; }

/* Sayfalama */
.mh-loop-pagination { display: flex; flex-wrap: wrap; gap: 6px; }
.page-numbers, .pagelink {
	min-width: 42px; padding: 10px 14px; text-align: center;
	color: var(--mh-ink); background: var(--mh-soft); border-radius: var(--mh-radius-sm);
	transition: background .2s ease, color .2s ease;
}
.page-numbers:hover, .mh-loop-pagination .current, .mh-comments-pagination .current, a:hover .pagelink, .pagelink { color: #fff; background: var(--mh-accent); }
a .pagelink { color: var(--mh-ink); background: var(--mh-soft); }
.page-numbers.dots, .page-numbers.dots:hover { background: transparent; color: var(--mh-muted); }

/* ---------- Widget'lar ---------- */

.mh-widget, .mh-footer-widget { margin-bottom: 32px; }
.mh-widget-title {
	font-size: .8125rem; letter-spacing: .08em; font-weight: 800;
	padding-bottom: 0; margin-bottom: 18px;
	border-bottom: 2px solid var(--mh-line);
}
.mh-widget-title-inner { display: inline-block; padding-bottom: 10px; margin-bottom: -2px; border-bottom: 2px solid var(--mh-accent); }
.mh-footer-widget-title { border-color: rgba(255, 255, 255, .12); }

.mh-widget img { border-radius: 8px; }

/* Blok widget'lar (WordPress 5.8+ widget editörü) */
.mh-sidebar .wp-block-heading, .mh-sidebar .widget_block h2, .mh-sidebar .wp-block-search__label {
	display: block; font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
	color: var(--mh-ink); padding-bottom: 10px; margin-bottom: 16px;
	border-bottom: 2px solid var(--mh-line);
	background: linear-gradient(var(--mh-accent), var(--mh-accent)) left bottom / 48px 2px no-repeat;
}
.mh-footer .wp-block-heading, .mh-footer .widget_block h2, .mh-footer .wp-block-search__label { color: #fff; border-color: rgba(255, 255, 255, .12); }
.wp-block-search__inside-wrapper { display: flex; gap: 8px; }
.wp-block-search__input { flex: 1; min-width: 0; }
.wp-block-search__button { white-space: nowrap; margin: 0; }
.wp-block-latest-posts li, .wp-block-latest-comments__comment, .wp-block-archives li, .wp-block-categories li {
	padding: 9px 0; margin: 0; border-bottom: 1px solid var(--mh-line); line-height: 1.45;
}
.wp-block-latest-posts li a, .wp-block-latest-comments a { font-weight: 600; }
.wp-block-latest-comments { padding: 0; margin: 0; }
.wp-block-latest-comments__comment-meta { font-size: .875rem; }
.mh-footer .wp-block-latest-posts li, .mh-footer .wp-block-latest-comments__comment, .mh-footer .wp-block-archives li, .mh-footer .wp-block-categories li { border-color: rgba(255, 255, 255, .1); }
.mh-custom-posts-item { padding: 14px 0; border-bottom: 1px solid var(--mh-line); }
.mh-custom-posts-thumb img { border-radius: 8px; }
.mh-custom-posts-small-title { font-weight: 700; line-height: 1.35; }

.widget_archive li, .widget_categories li, .widget_pages li a, .widget_meta li, .widget_nav_menu .menu > li, .widget_rss li,
.widget_recent_entries li, .recentcomments { border-bottom: 1px solid var(--mh-line); }
.widget_archive li a, .widget_categories li a, .widget_pages li a, .widget_meta li a, .widget_nav_menu li a, .widget_recent_entries li a { padding: 8px 0; font-weight: 500; }
.widget_recent_entries li { padding: 8px 0; }

.tagcloud a, .mh-widget .tagcloud a {
	font-size: .8125rem !important; font-weight: 600; text-transform: none;
	color: var(--mh-text); background: var(--mh-soft); padding: 6px 12px; border-radius: 999px;
}
.tagcloud a:hover, .mh-widget .tagcloud a:hover, .mh-footer-widget .tagcloud a:hover { color: #fff; background: var(--mh-accent); }

.mh-widget .search-form { padding: 0; background: none; }
.mh-ad-spot, .mh-info-spot { border-radius: var(--mh-radius-sm); background: var(--mh-soft); }

/* Sekmeli widget */
.mh-tab-buttons { display: flex; gap: 4px; padding: 4px; border: 0; background: var(--mh-soft); border-radius: var(--mh-radius-sm); }
.mh-tab-button { flex: 1; float: none; width: auto; border-radius: 8px; background: transparent; }
.mh-tab-button.active, .mh-tab-button.active:hover { background: var(--mh-surface); color: var(--mh-accent); box-shadow: 0 1px 3px rgba(15, 23, 42, .1); }
.mh-tab-content { padding: 18px 4px 0; background: none; }

/* Slider widget */
.mh-slider-item img { display: block; }
.mh-slider-caption {
	top: auto; bottom: 0; left: 0; right: 0; width: 100%;
	border-bottom: 0;
	background: linear-gradient(to top, rgba(2, 6, 23, .88) 0%, rgba(2, 6, 23, .45) 60%, transparent 100%);
}
.mh-slider-content { padding: 48px 28px 26px; max-width: 720px; }
.mh-slider-title { font-size: 1.75rem; line-height: 1.2; }
.mh-slider-content .mh-excerpt { color: rgba(255, 255, 255, .85); }
.mh-slider-widget .flex-control-paging li a { width: 10px; height: 10px; border: 0; background: rgba(255, 255, 255, .55); }
.mh-slider-widget .flex-control-paging li a.flex-active { width: 24px; border: 0; background: #fff; }
.mh-widget-col-1 .mh-slider-caption { position: relative; background: var(--mh-dark); }

/* Büyük / odak / yığın yazı widget'ları */
.mh-posts-large-item, .mh-widget-col-1 .mh-posts-focus-item, .mh-widget-col-2 .mh-posts-focus-item { border-bottom: 1px solid var(--mh-line); }
.mh-posts-large-thumb, .mh-posts-focus-thumb { overflow: hidden; border-radius: var(--mh-radius-sm); }
.mh-posts-large-thumb img, .mh-posts-focus-thumb img { display: block; transition: transform .5s ease; }
.mh-posts-large-item:hover .mh-posts-large-thumb img, .mh-posts-focus-item:hover .mh-posts-focus-thumb img { transform: scale(1.04); }
.mh-posts-large-caption {
	top: 12px; left: 12px; font-size: .6875rem; letter-spacing: .06em;
	padding: 5px 10px; border-radius: 999px; background: var(--mh-accent);
}
.mh-posts-stacked-content { border-radius: 0; }
.mh-posts-stacked-overlay { background: linear-gradient(to top, rgba(2, 6, 23, .75), transparent 60%); }
.mh-posts-stacked-thumb:hover .mh-posts-stacked-overlay { background: linear-gradient(to top, rgba(2, 6, 23, .6), transparent 60%); }
.mh-posts-stacked-title { background: none; }
.mh-posts-stacked-title-large, .mh-posts-stacked-title-small { padding: 0; }
.mh-posts-stacked-meta { border-radius: 999px; padding: 3px 9px; background: var(--mh-accent); }

/* ---------- Formlar ---------- */

input, textarea, select {
	font-family: inherit; font-size: .9375rem; color: var(--mh-ink);
	padding: 11px 14px; border: 1px solid var(--mh-line); border-radius: var(--mh-radius-sm);
	background: var(--mh-surface);
	transition: border-color .2s ease, box-shadow .2s ease;
}
input[type=checkbox], input[type=radio] { padding: 0; width: auto; accent-color: var(--mh-accent); }
input[type=text]:hover, input[type=email]:hover, input[type=tel]:hover, input[type=url]:hover, textarea:hover { border-color: #cbd2dc; }
input:focus, textarea:focus, select:focus { outline: 0; border-color: var(--mh-accent); box-shadow: 0 0 0 4px rgba(225, 29, 72, .12); }
textarea { width: 100%; box-sizing: border-box; }
input[type=submit], button, .button {
	font-family: inherit; font-size: .9375rem; font-weight: 700; text-transform: none;
	color: #fff; padding: 12px 22px; min-width: 0; border: 0; border-radius: var(--mh-radius-sm);
	background: var(--mh-accent); cursor: pointer; transition: background .2s ease, transform .1s ease;
}
input[type=submit]:hover, button:hover, .button:hover { background: var(--mh-accent-dark); color: #fff; }
input[type=submit]:active, button:active { transform: translateY(1px); }
.search-form input { font-size: .9375rem; text-transform: none; }
.search-form .search-field { width: 100%; box-sizing: border-box; border: 1px solid var(--mh-line); border-radius: var(--mh-radius-sm); cursor: text; }
.mh-widget .search-form .search-field { width: 100%; }

/* ---------- Yorumlar ---------- */

.mh-comment-body { padding-bottom: 8px; border-bottom: 1px solid var(--mh-line); }
.mh-comment-gravatar .avatar { padding: 0; border: 0; border-radius: 50%; }
.mh-comment-meta, .mh-comment-meta a { color: var(--mh-ink); }
.mh-comment-meta-date { color: var(--mh-muted); letter-spacing: .04em; }
.mh-comment-meta-links { font-size: .75rem; letter-spacing: .05em; }
#respond .comment-reply-title { font-size: 1.375rem; }
#respond label { font-weight: 600; font-size: .875rem; color: var(--mh-ink); }

/* ---------- Footer ---------- */

.mh-footer { color: rgba(255, 255, 255, .72); padding: 40px 32px 8px; background: var(--mh-dark); }
.mh-footer a { color: rgba(255, 255, 255, .85); }
.mh-footer a:hover { color: #fff; }
.mh-footer-widget-title { color: #fff; }
.mh-footer-widget .tagcloud a { color: #fff; background: rgba(255, 255, 255, .08); }
.mh-copyright-wrap { padding: 18px 32px; border-top: 1px solid rgba(255, 255, 255, .08); background: #0b1120; }
.mh-copyright { font-size: .8125rem; color: rgba(255, 255, 255, .5); }
.mh-copyright a { color: rgba(255, 255, 255, .75); }

/* ---------- Duyarlı ---------- */

@media screen and (max-width: 900px) {
	.mh-container-outer { margin: 0 auto; border-radius: 0; box-shadow: none; }
	.mh-wrapper { padding: 24px 20px; }
	.mh-site-logo { padding: 20px; }
	.mh-footer { padding: 32px 20px 4px; }
	.mh-copyright-wrap { padding: 16px 20px; }
}
@media screen and (max-width: 767px) {
	.mh-site-logo { text-align: left; }
	.mh-header-title { font-size: 1.625rem; }
	.entry-title { font-size: 1.75rem; }
	.page-title { font-size: 1.5rem; }
	.entry-content { font-size: 1rem; line-height: 1.75; }
	.mh-slider-content { padding: 20px; }
	.mh-slider-title { font-size: 1.25rem; }
	#mh-mobile .mh-slider-caption { background: var(--mh-dark); }
}
@media screen and (max-width: 620px) {
	input[type=text], input[type=email], input[type=tel], input[type=url] { width: 100%; box-sizing: border-box; }
	.mh-loop-thumb, #mh-mobile .mh-posts-focus-thumb-small { max-width: 110px; margin-right: 14px; }
	.mh-loop-title { font-size: 1rem; }
	.mh-loop-item { padding-bottom: 18px; margin-bottom: 18px; }
	.entry-title { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
