/* HanMag: blog arşivi, tekil yazı, arama, 404 */

/* ---------- Arşiv (blog, kategori, etiket, yazar, arama) ---------- */
.wd-blog-holder .wd-post-thumb .wd-post-img,
.wd-posts .wd-post-thumb .wd-post-img{overflow:hidden;background:#f2f2f2}
.wd-blog-holder .wd-post-img img,
.wd-posts .wd-post-img img{
	display:block;
	width:100%;
	height:auto;
	aspect-ratio:4/3;
	object-fit:cover;
}
.wd-posts .wd-post .wd-post-title,
.wd-posts .wd-post .wd-post-title a{
	font-size:18px;
	line-height:1.35;
}
.wd-posts .wd-post .wd-post-title{
	display:-webkit-box;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:3;
	overflow:hidden;
	margin-bottom:10px;
}
.wd-posts .wd-post-excerpt{
	display:-webkit-box;
	-webkit-box-orient:vertical;
	-webkit-line-clamp:3;
	overflow:hidden;
	font-size:14px;
	line-height:1.6;
	margin-bottom:14px;
}
.wd-posts .wd-post-excerpt p{margin:0}
.wd-posts .wd-post-read-more .btn,
.wd-posts .wd-post-read-more a{font-size:13px}
.wd-posts .wd-post-meta{gap:8px 12px;font-size:12px}
.wd-posts .wd-post-content{padding-bottom:20px}
.wd-posts .wd-post-inner{height:100%}
.wd-posts .wd-post{display:flex}
.wd-posts .wd-post>.wd-post-inner{display:flex;flex-direction:column;width:100%}
.wd-posts .wd-post-content{display:flex;flex-direction:column;flex:1 1 auto}
.wd-posts .wd-post-read-more{margin-top:auto}

/* Sayfalama */
.wd-blog-holder ~ .wd-loop-footer .page-numbers,
.wd-loop-footer .page-numbers{min-width:44px;min-height:44px}

/* ---------- Tekil yazı ---------- */
.single-post .wd-content-area{
	--hm-col:760px;
}
.single-post .wd-content-area>article.post-single-page,
.single-post .wd-content-area>.wd-single-footer,
.single-post .wd-content-area>.wd-page-nav,
.single-post .wd-content-area>.wd-single-author,
.single-post .wd-content-area>.author-info,
.single-post .wd-content-area>#comments,
.single-post .wd-content-area>.comments-area,
.single-post .wd-content-area>#respond{
	width:100%;
	max-width:var(--hm-col);
	margin-left:auto;
	margin-right:auto;
}
.single-post .wd-content-area>.related-posts-slider,
.single-post .wd-content-area>.wd-carousel-container{
	max-width:1200px;
	margin-left:auto;
	margin-right:auto;
}
.single-post .wd-single-post-header{--wd-align:flex-start;align-items:flex-start;text-align:left;gap:0;margin-bottom:28px}
.single-post .wd-single-post-header .wd-post-image{width:100%}
.single-post .wd-single-post-header .wd-post-cat{margin-bottom:14px}
.single-post .wd-single-post-header .wd-post-title,
.single-post h1.wd-post-title{
	font-size:40px;
	line-height:1.18;
	margin-bottom:16px;
	text-align:left;
}
.single-post .wd-single-post-header .wd-post-meta{
	justify-content:flex-start;
	flex-wrap:wrap;
	gap:6px 16px;
	font-size:14px;
	margin-bottom:24px;
}
.single-post .wd-single-post-header .wd-post-image{margin:0}
.single-post .wd-single-post-header .wd-post-image img{
	display:block;
	width:100%;
	height:auto;
	max-height:420px;
	object-fit:contain;
	background:#f2f2f2;
	border-radius:12px;
}

.single-post .wd-content-area .wd-entry-content{
	font-size:18px;
	line-height:1.75;
	color:#2b2b2b;
	overflow-wrap:break-word;
	word-wrap:break-word;
}
.single-post .wd-content-area .wd-entry-content>*{max-width:100%}
.single-post .wd-content-area .wd-entry-content p{margin:0 0 1.35em}
.single-post .wd-content-area .wd-entry-content h2{font-size:30px;line-height:1.25;margin:2.1em 0 .7em}
.single-post .wd-content-area .wd-entry-content h3{font-size:23px;line-height:1.3;margin:1.8em 0 .6em}
.single-post .wd-content-area .wd-entry-content h4{font-size:19px;line-height:1.35;margin:1.6em 0 .5em}
.single-post .wd-content-area .wd-entry-content>h2:first-child,
.single-post .wd-content-area .wd-entry-content>h3:first-child{margin-top:0}
.single-post .wd-content-area .wd-entry-content ul,
.single-post .wd-content-area .wd-entry-content ol{margin:0 0 1.35em;padding-left:1.4em}
.single-post .wd-content-area .wd-entry-content li{margin-bottom:.5em}
.single-post .wd-content-area .wd-entry-content li:last-child{margin-bottom:0}
.single-post .wd-content-area .wd-entry-content a:not(.wp-block-button__link):not(.btn){
	color:#141414;
	font-weight:600;
	text-decoration:underline;
	text-decoration-thickness:2px;
	text-underline-offset:3px;
	text-decoration-color:rgba(20,20,20,.45);
	transition:text-decoration-color .2s ease,color .2s ease;
}
.single-post .wd-content-area .wd-entry-content a:not(.wp-block-button__link):not(.btn):hover{
	color:#555;
	text-decoration-color:currentColor;
}
.single-post .wd-content-area .wd-entry-content img,
.single-post .wd-content-area .wd-entry-content video,
.single-post .wd-content-area .wd-entry-content iframe{max-width:100%;height:auto}
.single-post .wd-content-area .wd-entry-content figure{margin:0 0 1.5em}
.single-post .wd-content-area .wd-entry-content figcaption{font-size:14px;color:#777;margin-top:8px}
.single-post .wd-content-area .wd-entry-content blockquote{
	margin:1.6em 0;
	padding:4px 0 4px 20px;
	border-left:4px solid #141414;
	font-size:1.05em;
}
.single-post .wd-content-area .wd-entry-content hr{margin:2.2em 0}

/* Tablolar: dar sütunda yatay kaydırma */
.single-post .wd-content-area .wd-entry-content figure.wp-block-table,
.single-post .wd-content-area .wd-entry-content .wp-block-table{
	overflow-x:auto;
	-webkit-overflow-scrolling:touch;
	margin:0 0 1.6em;
	border:1px solid #e2e2e2;
	border-radius:10px;
}
.single-post .wd-content-area .wd-entry-content table{
	width:100%;
	min-width:520px;
	margin:0;
	border:0;
	font-size:15px;
	line-height:1.5;
}
.single-post .wd-content-area .wd-entry-content table th,
.single-post .wd-content-area .wd-entry-content table td{padding:12px 14px;text-align:left;vertical-align:top;border:0;border-bottom:1px solid #ececec}
.single-post .wd-content-area .wd-entry-content table thead th{background:#f2f2f2;font-weight:700;color:#141414;white-space:nowrap}
.single-post .wd-content-area .wd-entry-content table tbody tr:last-child td{border-bottom:0}

/* Yazı içi buton */
.single-post .wd-content-area .wd-entry-content .wp-block-buttons{margin:1.6em 0}
.single-post .wd-content-area .wd-entry-content .wp-block-button__link{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:48px;
	padding:12px 28px;
	text-decoration:none;
	font-size:15px;
	font-weight:600;
}

/* Etiketler + paylaş + önceki/sonraki */
.single-post .wd-single-footer{margin-top:36px;padding-top:24px;border-top:1px solid #e6e6e6}
.single-post .wd-page-nav{margin-top:32px}

/* Yorumlar */
.single-post .comments-area{margin-top:40px}
.single-post .comments-area input[type=text],
.single-post .comments-area input[type=email],
.single-post .comments-area input[type=url],
.single-post .comments-area textarea{width:100%;font-size:16px}
.single-post .comments-area .form-submit .submit{min-height:48px}

/* İlgili yazılar */
.single-post .related-posts-slider{margin-top:56px}

/* ---------- Tablet ---------- */
@media (max-width:1024px){
	.single-post .wd-single-post-header .wd-post-title,
	.single-post h1.wd-post-title{font-size:34px}
	.single-post .wd-content-area .wd-entry-content h2{font-size:27px}
}

/* ---------- Mobil ---------- */
@media (max-width:767px){
	.single-post .wd-content-layout,
	.blog .wd-content-layout,
	.archive .wd-content-layout,
	.search .wd-content-layout,
	.error404 .wd-content-layout{padding-left:18px;padding-right:18px}
	.single-post .wd-single-post-header .wd-post-title,
	.single-post h1.wd-post-title{font-size:28px;line-height:1.22}
	.single-post .wd-single-post-header .wd-post-image img{max-height:300px;border-radius:10px}
	.single-post .wd-content-area .wd-entry-content{font-size:17px;line-height:1.7}
	.single-post .wd-content-area .wd-entry-content h2{font-size:24px;margin-top:1.8em}
	.single-post .wd-content-area .wd-entry-content h3{font-size:20px}
	.single-post .wd-content-area .wd-entry-content h4{font-size:18px}
	.single-post .wd-content-area .wd-entry-content .wp-block-buttons{display:flex;flex-direction:column;align-items:stretch}
	.single-post .wd-content-area .wd-entry-content .wp-block-button{width:100%}
	.single-post .wd-content-area .wd-entry-content .wp-block-button__link{width:100%;box-sizing:border-box}
	.single-post .wd-single-footer{flex-direction:column;align-items:flex-start;gap:16px}
	.single-post .wd-page-nav{flex-wrap:wrap}
	.single-post .comments-area .form-submit .submit{width:100%}
}

/* İlgili yazılar: arşivle aynı kart ölçüsü (masaüstü 4, tablet 2, mobil 1) */
.single-post .related-posts-slider .wd-carousel{--wd-col-lg:4!important;--wd-col-md:2!important;--wd-col-sm:1!important}
.single-post .related-posts-slider .wd-el-title{text-align:left;margin-bottom:20px}

/* Yazı içi butonlar: marka rengi */
.single-post .wd-content-area .wd-entry-content .wp-block-button__link{
	background:#141414;
	color:#fff;
	border-radius:10px;
	transition:background-color .2s ease;
}
.single-post .wd-content-area .wd-entry-content .wp-block-button__link:hover{background:#3a3a3a;color:#fff}

/* ==========================================================================
   HanMag: okunabilir metin sayfaları (.hm-readable) — blog tekil yazı düzeniyle aynı
   Yasal sayfalar, SSS vb. Sayfa düzenleyicideki "Okunabilir metin sayfası" kutusuyla açılır.
   ========================================================================== */
.hm-readable .wd-content-area{--hm-col:760px}
.hm-readable .wd-content-area>article.entry-content,
.hm-readable .wd-content-area>.hm-page-header{
	width:100%;
	max-width:var(--hm-col);
	margin-left:auto;
	margin-right:auto;
}
.hm-readable .wd-content-area{padding-top:24px;padding-bottom:24px}
.hm-page-header{margin:8px auto 28px}
.hm-page-header .hm-page-title{font-size:40px;line-height:1.18;margin:0;text-align:left}

.hm-readable .wd-content-area>article.entry-content{
	font-size:18px;
	line-height:1.75;
	color:#2b2b2b;
	overflow-wrap:break-word;
	word-wrap:break-word;
}
.hm-readable article.entry-content>*{max-width:100%}
.hm-readable article.entry-content p{margin:0 0 1.35em}
.hm-readable article.entry-content h2{font-size:30px;line-height:1.25;margin:2.1em 0 .7em}
.hm-readable article.entry-content h3{font-size:23px;line-height:1.3;margin:1.8em 0 .6em}
.hm-readable article.entry-content h4{font-size:19px;line-height:1.35;margin:1.6em 0 .5em}
.hm-readable article.entry-content>h2:first-child,
.hm-readable article.entry-content>h3:first-child{margin-top:0}
.hm-readable article.entry-content ul,
.hm-readable article.entry-content ol{margin:0 0 1.35em;padding-left:1.4em}
.hm-readable article.entry-content li{margin-bottom:.5em}
.hm-readable article.entry-content li:last-child{margin-bottom:0}
.hm-readable article.entry-content a:not(.wp-block-button__link):not(.btn){
	color:#141414;
	font-weight:600;
	text-decoration:underline;
	text-decoration-thickness:2px;
	text-underline-offset:3px;
	text-decoration-color:rgba(20,20,20,.45);
	transition:text-decoration-color .2s ease,color .2s ease;
}
.hm-readable article.entry-content a:not(.wp-block-button__link):not(.btn):hover{color:#555;text-decoration-color:currentColor}
.hm-readable article.entry-content img,
.hm-readable article.entry-content video,
.hm-readable article.entry-content iframe{max-width:100%;height:auto}
.hm-readable article.entry-content figure{margin:0 0 1.5em}
.hm-readable article.entry-content figcaption{font-size:14px;color:#777;margin-top:8px}
.hm-readable article.entry-content blockquote{margin:1.6em 0;padding:4px 0 4px 20px;border-left:4px solid #141414;font-size:1.05em}
.hm-readable article.entry-content hr{margin:2.2em 0}

/* Tablolar: dar sütunda yatay kaydırma */
.hm-readable article.entry-content figure.wp-block-table,
.hm-readable article.entry-content .wp-block-table{
	overflow-x:auto;
	-webkit-overflow-scrolling:touch;
	margin:0 0 1.6em;
	border:1px solid #e2e2e2;
	border-radius:10px;
}
.hm-readable article.entry-content table{width:100%;min-width:520px;margin:0;border:0;font-size:15px;line-height:1.5}
.hm-readable article.entry-content table th,
.hm-readable article.entry-content table td{padding:12px 14px;text-align:left;vertical-align:top;border:0;border-bottom:1px solid #ececec}
.hm-readable article.entry-content table thead th{background:#f2f2f2;font-weight:700;color:#141414;white-space:nowrap}
.hm-readable article.entry-content table tbody tr:last-child td{border-bottom:0}

/* Butonlar */
.hm-readable article.entry-content .wp-block-buttons{margin:1.6em 0}
.hm-readable article.entry-content .wp-block-button__link{
	display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 28px;
	text-decoration:none;font-size:15px;font-weight:600;background:#141414;color:#fff;border-radius:10px;transition:background-color .2s ease;
}
.hm-readable article.entry-content .wp-block-button__link:hover{background:#3a3a3a;color:#fff}

@media (max-width:1024px){
	.hm-page-header .hm-page-title{font-size:34px}
	.hm-readable article.entry-content h2{font-size:27px}
}
@media (max-width:767px){
	.hm-readable .wd-content-layout{padding-left:18px;padding-right:18px}
	.hm-page-header .hm-page-title{font-size:28px;line-height:1.22}
	.hm-readable .wd-content-area>article.entry-content{font-size:17px;line-height:1.7}
	.hm-readable article.entry-content h2{font-size:24px;margin-top:1.8em}
	.hm-readable article.entry-content h3{font-size:20px}
	.hm-readable article.entry-content h4{font-size:18px}
	.hm-readable article.entry-content .wp-block-buttons{display:flex;flex-direction:column;align-items:stretch}
	.hm-readable article.entry-content .wp-block-button{width:100%}
	.hm-readable article.entry-content .wp-block-button__link{width:100%;box-sizing:border-box}
}
