/*
Theme Name: yeniBlog
Text Domain: yeniblog
Version: 1.0
Description: yeniBlog - WordPress Blog Teması
Author: Caxing
Author URI: https://www.yenitema.com/
Theme URI: https://www.yenitema.com/
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

body {
	background:#f7f9fe;
	font-family: 'Manrope', sans-serif;
	padding:0px;
	margin:0px;
}

/* POPULER WIDGET */

/* POPULER WIDGET SON */

/* PROGRESS BAR */
.yeniblog-scroll-progress {
    position: fixed;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #ecfffa 0%, #0ea781 100%);
    z-index: 998;
    opacity: 0;
	border-radius:0px 0px 5px 5px;
    transition: opacity 0.2s ease;
}

/* PROGRESS BAR SON */

/* FONTFACE */

@font-face {
	font-family: 'Manrope';
	src: url('https://soru.yenitema.com/wp-content/themes/yeniblog/fonts/Manrope-Full.ttf') format('truetype');
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}

/* FONTFACE SON */

/* GİRİŞ VE KAYIT SAYFASI */

.yeniblog-auth-wrapper {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.yeniblog-auth-box {
    width: 360px;
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,.08);
}

.yeniblog-auth-box input {
    width: 100%;
    padding: 12px;
    margin-bottom: 14px;
}

.yeniblog-auth-box button {
    width: 100%;
    padding: 12px;
    background: #111827;
    color: #fff;
    border-radius: 10px;
}

/* GİRİŞ VE KAYIT SAYFASI SON */

/* SINGLE HEADER */

body.single .header{
  position: relative;
  overflow: visible;
  background-image: var(--yeniblog_header_bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body.single .header::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: rgb(255 255 255 / 50%);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-radius: inherit;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  z-index: 1;
}

body.single .header .aramakutusu,
body.single .header .headertop {
	z-index:999;
	position:relative;
}

body.single .header .navbar,
body.single .header .menu {
  z-index: 50;
}

/* SINGLE HEADER SON */

/* HEADER BAŞLANGIÇ */

.header {
	background:linear-gradient(90deg, #84f0b240 0%, #5f91a740 100%);
}

.headertop {
	width:100%;
	padding:20px 0px;
}

.headertop i {
	display:block;
	color:#454964;
	font-size:20px;
	margin-right:10px;
}

.headertop a:last-child i {
	margin-right:0px;
}

.headertop a {
	text-decoration:none;
	color:#454964;
}

.headertopleft {
	display:flex;
	flex:1;
	justify-content:left;
}

.headertopright {
	display: flex;
    flex: 1;
    justify-content: right;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
}

.headertopmenu {
    margin: 0px;
    padding: 0px;
    display: flex;
    gap: 25px;
}

.headertopmenu li {
	list-style:none;
}

.headercontainer {
	width:1200px;
	margin:auto auto;
	display:flex;
}

:root { --yeniblog-sticky-top: 0px; }

.headerbot {
	background:#ffffff;
	width:1200px;
	height:60px;
	display:flex;
	position:sticky;
	top: var(--yeniblog-sticky-top);
	z-index:1001;
	margin: auto auto;
	margin-bottom:50px;
	border-radius:5px;
	box-shadow: 0px 11px 34px 0px rgb(175 209 227 / 50%);
}

.headerbot.yeniblog-is-fixed{
  position: fixed;
  left: 0;
  right: 0;
  top: var(--yeniblog-sticky-top);
  z-index: 9999;
}

.yeniblog-headerbot-placeholder{
  height: 0;
}

.headerbotlogo {
	display: flex;
    flex: 1;
    align-items: center;
}

.headerbotlogo a {
	display:block;
}

.headerbotlogo img {
    margin-left: 15px;
	display:block;
}

.headerbotmenu {
	flex:3;
}

.headerbotusermenu {
	display: flex;
    flex: 1;
	flex-basis: calc(0px + 30px);
    justify-content: flex-start;
    align-items: center;
}

.usermenuout {
    height: 100%;
    width: 100%;
	padding:5px 5px 5px 0px;
	box-sizing:border-box;
}

.usermenu {
	height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #eff5f8;
    font-weight: 600;
    border-radius: 5px;
	padding:5px;
	box-sizing:border-box;
}

.usermenu a {
	height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    text-decoration: none;
}

.yeniblog-login {
	flex: 1;
    color: #0ea781;
    border: 1px solid #0ea781;
    box-sizing: border-box;
    border-radius: 5px 0px 0px 5px;
}

.yeniblog-register {
	flex: 1;
    color: #ffffff;
    background: #0ea781;
    border-radius: 0px 5px 5px 0px;
}

.usermenuavatar {
	height:100%;
	display:flex;
	flex:1;
	padding-left:5px;
}

.usermenuavatar img {
	border-radius:90px;
}

.usermenuavatar i {
	margin: 25px -10px;
    color: #11f762;
    font-size: 11px;
}

.usernickname {
    height: 100%;
    display: flex;
    flex: 3;
    justify-content: space-between;
	align-items: center;
	padding-right:5px;
}

.usernickname a {
	color:#103a40;
}

.usernickname i {
	background: #ffe3ea;
    padding: 5px;
    border-radius: 5px;
	font-size:16px;
    color: #FA003F;
}

.usernickbar {
	display: flex;
    flex-direction: column;
    text-align: left;
}

.userwelcome {
	font-size:10px;
	color:#454964;
}

/* HEADER SON */

/* MEGA MENU */

.navbar {
	height:100%;
}

.menu {
    list-style: none;
    display: flex;
    font-weight: 600;
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 15px;
}

.menu li {
  position: relative;
	padding: 0px 20px;
}

.menu a {
	color: #103a40;
    text-decoration: none;
    align-items: center;
    transition: all 0.3s ease;
    display: flex;
    height: 100%;
}

.menu a i {
  font-size: 16px;
  opacity: 0.8;
  transition: 0.3s;
}

.menu a:hover {
  	color: #0ea781;
	transition: all 0.3s ease;
}

.menu a:hover i {
  opacity: 1;
  transform: translateY(-2px);
}

.menu .current-menu-item a {
  	color: #0ea781;
}

#dynamic-category-menu > ul > li {
    position: relative;
}

#dynamic-category-menu > ul > li.is-mega-menu {
    position: static;
}

#dynamic-category-menu .menu-item-has-children > a::after {
	content: "➔";
	font-size: 10px;
	margin-left: 8px;
	color: #0ea781;
	position: relative;
	transform: rotate(90deg);
}

#dynamic-category-menu .sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    background-color: #eff5f8;
    min-width: 220px;
    z-index: 1000;
    border-radius: 0 0 5px 5px;
    box-shadow: 0px 11px 34px 0px rgb(175 209 227 / 50%);
    list-style: none;
    padding: 0px;
}

#dynamic-category-menu .sub-menu li {
	padding:0px;
	border-bottom:1px solid #d2eaee;
}

#dynamic-category-menu .sub-menu li a {
	list-style: none;
    padding: 15px;
	font-size:14px;
}

#dynamic-category-menu .sub-menu li a:hover {
	border:none;
}

#dynamic-category-menu .sub-menu li:last-child {
	border:none;
}

#dynamic-category-menu li:hover > .sub-menu {
    display: block;
}

#dynamic-category-menu .mega-menu {
	display: none;
    position: absolute;
	width:100%;
    top: 100%;
    left: 0;
    background-color: #eff5f8;
    border-radius: 0 0 5px 5px;
    box-shadow: 0px 11px 34px 0px rgb(175 209 227 / 50%);
    transform: none;
    box-sizing: border-box;
}

#dynamic-category-menu li:hover > .mega-menu {
    display: block;
}

.mega-menu-content {
    display: flex;
    justify-content: space-between;
	align-items:center;
}

.mega-post-item {
	flex: 1;
    min-width: 0;
    text-align: left;
    padding: 10px;
    border-right: 1px solid #d2eaee;
}

.mega-post-item:last-child {
    border-right: 0px;
}

.mega-post-item h4 {
    padding: 10px 0px;
    margin: 0px;
    font-size: 15px;
}

.mega-post-item h4 a {
    color: #2c3e50;
    text-decoration: none;
	justify-content:center;
}

.mega-post-item h4 a:hover {
    color: #6d4df2;
	border:none;
}

.mega-post-item p {
	margin: 0;
    font-weight: 500;
    font-size: 13px;
    color: #111827;
    text-align: center;
}

.mega-post-item a:hover {
	border:none;
}

.mega-post-image {
	width: 100%;
    height: 400px;
}

.mega-post-image img {
	width: 100%;
    height: 100%;
	object-fit:cover;
	vertical-align:center;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.mega-post-item a:hover img {
	transform: translateY(-3px);
    filter: saturate(1.03);
}

#dynamic-category-menu .mega-menu::before{
  content:"";
  position:absolute;
  top:-5px;
  left:0;
  width:100%;
  height:5px;
  background:#ffffff;
}

/* MEGA MENU SON */

/* AJAX ARAMA KUTUSU */

.aramakutusu {
	width:1200px;
	margin: auto auto;
	display:block;
}

.yeniblog-search-box {
	height:60px;
	display:flex;
}

.yeniblog-ajax-search {

}

.yeniblogAjaxSearchout {
	flex:4;
}

#yeniblogAjaxSearch {
    width: 100%;
	height:100%;
	background:#f7f9fe;
	padding: 20px;
	font-size:15px;
    border-radius: 5px 0px 0px 0px;
    border: none;
    outline: none;
}

#yeniblogAjaxSearch::placeholder {
	font-family: 'Manrope', sans-serif;
	font-weight:500;
	color: #638393;
}

#yeniblogAjaxSearch:focus::placeholder {
	color:#454964;
}

.yeniblog-ajax-results {
	background:#ffffff;
	width:1200px;
	position:absolute;
	font-size:15px;
	border-radius: 0px 0px 5px 5px;
	box-shadow: 0px 11px 34px 0px rgb(175 209 227 / 50%);
	z-index: 999;
}

.yeniblog-search-list {
	list-style: none;
	padding: 0;
	margin: 0;
	overflow: hidden;
}

.yeniblog-search-list:last-child, .yeniblog-search-item:last-child {
	border-bottom: 0;
}

.yeniblog-search-item {
	border-bottom: 1px solid #f1f5f9;
    box-sizing: border-box;
}

.yeniblog-search-item a {
    display: flex;
    text-decoration: none;
	color:#454964;
}

.yeniblog-search-item a:focus {
	color:#0ea781;
}

.yeniblog-search-title {
	font-weight: 700;
    flex: 4;
	overflow:hidden;
}

.yeniblog-search-title-in {
	padding: 15px 20px;
}

.yeniblog-search-excerpt {
    font-weight: 300;
	color:#6f7497;
}

.yeniblog-search-meta {
	background: #daf7ea47;
    display: flex;
    flex: 1;
	flex-basis: calc(0px + 30px);
    justify-content: center;
    align-items: center;
    font-size: 15px;
}

.yeniblog-search-loading, .yeniblog-search-empty, .yeniblog-search-error {
	padding: 15px 20px;
	border-radius: 0px 0px 5px 5px;
}

#yeniblogSearchBtn {
	font-family: 'Manrope', sans-serif;
    background: #daf7ea;
	color: #0ea781;
	font-size:15px;
	font-weight:600;
	padding:0px;
	border: none;
	border-radius: 0px 5px 0px 0px;
	flex: 1;
	flex-basis: calc(0px + 30px);
	cursor:pointer;
}

/* AJAX ARAMA KUTUSU SON */

/* ANASAYFA */

.index {
	
}

.indexcontainer {
	background:#ffffff;
	width:1200px;
	display:flex;
	margin: auto auto;
}

.indexleft {
	flex:4;
	padding:15px 20px;
	box-sizing:border-box;
}

#list {
	display: flex;
	flex-direction: column;
	gap:15px;
}

.indexlist {
	width:100%;
	display:flex;
	gap:20px;
	padding-bottom:15px;
	border-bottom: 1px solid #d2eaee;
}

.indexlist:last-child {
	border:none;
}

.indeximage {
	width:325px;
	height:180px;
	overflow:hidden;
	position:relative;
}

.indeximage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translateZ(0) scale(1);
    will-change: transform, filter;
    transition: transform .3s ease, filter .3s ease;
}

.indeximage::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    transition: opacity .3s ease;
}

.indeximage:hover img {
    transform: translateZ(0) scale(1.03);
    filter: brightness(.92);
}

.indeximage:hover::after {
    opacity: 1;
}

.indexarticles {
	display: flex;
    flex-direction: column;
    justify-content: center;
}

.indexarticlestop {
	display:flex;
	align-items:center;
	font-size:13px;
	font-weight:500;
	color:#454964;
}

.indexarticlesbottom {
	height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0px;
    z-index: 999;
    color: white;
    font-weight: 500;
    opacity: 0;
	transition: transform 0.3s ease;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.indexarticlesbottom:hover {
	opacity:1;
	transform: translateY(0);
}

.indexeditor {
	padding: 2px 10px;
    border-radius: 10px;
    background: #6d4df2;
    color: white;
    font-weight: 700;
	margin-right:10px;
	user-select:none;
}

.indexcate {
    padding: 2px 10px;
    border-radius: 10px;
    background: #daf7ea;
    font-weight: 700;
}

.indexcate a {
    color: #0ea781;
    text-decoration: none;
}

.indexauthor a {
	text-decoration:none;
	color:#454964;
}

.indexauthor:before, .indexauthor:after {
	content: "";
    display: inline-block;
    width: 3px;
    height: 3px;
    margin: 0px 10px;
    background-color: #4d4d4d;
    vertical-align: middle;
    opacity: .35;
}

.indexname {
	
}

.indexname h3 {
	margin: 10px 0px;
}

.indexname a {
    color: #103a40;
    text-decoration: none;
    font-weight: 800;
    font-size: 22px;
	background-image: linear-gradient(rgb(14 167 129), rgb(14 167 129));
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: 0 100%;
    transition: background-size 0.6s ease;
}

.indexname a:hover {
    background-size: 100% 2px;
}

.indexexcerpt {
	font-size:14px;
	color:#454964;
}

.indexcomments:before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 3px;
    margin: 0px 10px;
    background-color: #ffffff;
    vertical-align: middle;
}

.indexright {
	background:#daf7ea47;
	flex:1;
	flex-basis: calc(0px + 30px);
	padding:15px 20px;
	box-sizing:border-box;
}

#more {
	font-family: 'Manrope', sans-serif;
    background: #daf7ea;
    width: 100%;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #0ea781;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* ANASAYFA SON */

/* FOOTER */

.footer {
	background:#292d36;
}

/* FOOTER SON */