/* Tailwind sınıflarıyla karşılanamayan tema stilleri. */

/* Editörden gelen içerik (the_content) tipografisi */
.khr-content { color: #4f4f4d; line-height: 1.8; }
.khr-content > * + * { margin-top: 1.25em; }
.khr-content h2, .khr-content h3, .khr-content h4 { color: #2b2a29; font-weight: 800; line-height: 1.3; margin-top: 2em; }
.khr-content h2 { font-size: 1.875rem; }
.khr-content h3 { font-size: 1.5rem; }
.khr-content h4 { font-size: 1.25rem; }
.khr-content a { color: #e32124; text-decoration: underline; text-underline-offset: 3px; }
.khr-content ul { list-style: disc; padding-left: 1.5em; }
.khr-content ol { list-style: decimal; padding-left: 1.5em; }
.khr-content li + li { margin-top: .4em; }
.khr-content img { border-radius: 1rem; height: auto; }
.khr-content blockquote { border-left: 4px solid #e32124; padding-left: 1.25em; font-style: italic; color: #2b2a29; }
.khr-content table { width: 100%; border-collapse: collapse; }
.khr-content th, .khr-content td { border: 1px solid #e7e7e6; padding: .75em 1em; text-align: left; }
.khr-content th { background: #f6f6f6; color: #2b2a29; }
.khr-content .alignwide, .khr-content .alignfull { max-width: none; }

/* Alt menüler (masaüstü) */
#site-header nav.hidden .menu-item-has-children { position: relative; }
#site-header nav.hidden .sub-menu {
	position: absolute; top: 100%; left: 0; min-width: 220px; padding: .5rem;
	background: #1a1a19; border: 1px solid rgba(255,255,255,.1); border-radius: .375rem;
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s ease;
}
#site-header nav.hidden .menu-item-has-children:hover > .sub-menu,
#site-header nav.hidden .menu-item-has-children:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
#site-header nav.hidden .menu-item-has-children > a::after {
	content: "\f107"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .7em;
	margin-left: .45em; opacity: .6; display: inline-block; transition: transform .2s ease;
}
#site-header nav.hidden .menu-item-has-children:hover > a::after { transform: rotate(180deg); }
#site-header nav.hidden .sub-menu a { white-space: normal; min-width: 240px; border-radius: .25rem; }
#site-header nav.hidden .sub-menu a:hover { background: rgba(255,255,255,.06); }
#mobile-menu .sub-menu { padding-left: 1rem; padding-bottom: .5rem; }
#mobile-menu .sub-menu a { font-size: 14px; padding-top: .4rem; padding-bottom: .4rem; }

/* Hero slider */
.khr-hero-swiper .swiper-slide { height: 100%; }
.khr-hero-pagination .swiper-pagination-bullet {
	width: 40px; height: 3px; margin: 0 !important; border-radius: 0;
	background: rgba(255,255,255,.35); opacity: 1; transition: background-color .3s ease;
}
.khr-hero-pagination .swiper-pagination-bullet-active { background: #e32124; }

/* Proje listelerinde ilk kart her zaman renkli (diğerleri masaüstünde gri, üzerine gelince renkli) */
.khr-first-color > :first-child img { filter: none !important; }

/* Proje slider ilerleme çubuğu (Swiper'ın mutlak konumlandırmasını ezer) */
.khr-projects-progress {
	position: relative !important; width: 12rem !important; height: 2px !important;
	top: auto !important; left: auto !important; overflow: hidden;
}
@media (min-width: 640px) { .khr-projects-progress { width: 20rem !important; } }
.khr-projects-prev.swiper-button-disabled,
.khr-projects-next.swiper-button-disabled { opacity: .35; cursor: default; }

/* Sayfalama */
.khr-pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; height: 2.75rem;
	padding: 0 .75rem; border-radius: 9999px; border: 1px solid #e7e7e6; font-weight: 700; color: #2b2a29;
}
.khr-pagination .page-numbers:hover { border-color: #e32124; color: #e32124; }
.khr-pagination .page-numbers.current { background: #e32124; border-color: #e32124; color: #fff; }

/* WordPress çekirdek sınıfları */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: .875rem; color: #888886; text-align: center; margin-top: .5rem; }
