/*
Theme Name: Independent Publisher Child Theme
Theme URI: http://independentpublisher.me/
Author: Raam Dev
Author URI: http://raamdev.com
Description: A clean minimal theme for independent publishers. Ideal for single-author blogs.
Template: independent-publisher
Version: 1.2.4
License: GNU GPLv3
License URI: http://www.gnu.org/copyleft/gpl.html
Tags: light, white, blue, two-columns, left-sidebar, flexible-width, custom-background, custom-colors, custom-menu, editor-style, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready

Based on _s http://underscores.me
and Publish by Konstantin Kovshenin http://kovshenin.com/themes/publish

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/

/* =Imports fonts
-------------------------------------------------------------- */
@import url('../independent-publisher/style.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Yeseva+One&display=swap');

/* =Theme customization starts here. Add your own custom styles.
-------------------------------------------------------------- */
* {
  color: #0f0f0f;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: 0px;
}

h1,h2,h3,h4,h5 {
  font-family: 'Yeseva One', serif;
  -webkit-font-smoothing: antialiased;
  color: #0f0f0f;
  margin-bottom: 45px;
	line-height: 130%;
}

.post-cover-title-head .entry-title {
  font-size: 50px!important;
}

p, ol, td, li {
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 1em;
  color: #0f0f0f;
  font-weight: normal;
	line-height: 150%;
}

li {
	margin-bottom: 12px;
}

input {
  outline: none;
}

a {
  color: #F41D1D!important;
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
}

h1 a, .site-title a, .entry-summary a {
  color: inherit!important;
}

#top-header a {
  color: white!important;
  text-decoration: none!important;
  &:hover {
    text-decoration: underline!important;
  }
}

#top-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	box-sizing: border-box;
	z-index: 1000;
	background-color: #F41D1D;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 10.3% 12px 10.3%;
	a:hover {
		text-decoration: none!important;
	}
	> div:first-of-type, > div:first-of-type a > p {
		display: flex;
		align-items: center;
		font-family: 'Yeseva One', serif!important;
		font-weight: bold;
		> span {
			display: inline-block;
			color: white;
		}
		> span:nth-of-type(2) {
				color: white;
				font-family: 'Inter', sans-serif;
				margin-left: 5px;
				font-size: 0.66em;
		}
		margin: 0;
		color: white;
		font-size: 22.5px;
		font-weight: bold;
		letter-spacing: -0.5px;
		text-decoration: none;
	} 
	> div:nth-of-type(2) {
		a {
			padding: 0.95rem 1.35rem;
			background-color: white;
			border: none;
			outline: none;
			color: #0f0f0f!important;
			font-size: 16px;
			font-weight: bold;
			border-radius: 4px;
			transition: all 0.3s;
			display: inline-flex;
			align-items: center;
			justify-content: center;
			gap: 4px;
			text-decoration: none;
			transition: all 0.2s;
			&:hover {
				transform: scale(1.035);
			}
		}
	} 
}

.single-column-layout .site {
	margin-top: 60px;
	padding: 3.3% 16.5% 3.3% 16.5%!important;
	max-width: 1000px;
}

.site {
	padding: 12px 16.5% 12px 16.5%;
	max-width: 1000px;
	margin-top: 60px;
}

.site-content, .site-footer {
    float: inherit!important;
    max-width: inherit!important;
    width: 100%;
}

.single-column-layout .site-navigation {
  border-bottom: 2px solid #F3F3F3!important;
}

.meta-nav {
	color: white;
}

#main-footer {
	margin-top: 12px;
	padding: 24px;
  background-color: white;
  border-top: 1px solid #e1e1e1;
}

#main-footer a {
	display: block;
	margin-bottom: 8px;
	font-size: 14px!important;
	color: #4b5563!important;
	text-decoration: none;
	transition: color 0.3s;
}

#main-footer a:hover {
	color: #111827;
}

#main-footer a:hover > svg {
	color: #111827;
}

#main-footer h3 {
	font-family: "Inter", sans-serif!important;
}
#main-footer .w-6 {
	width: 1.5rem;
}

#main-footer .h-6 {
		height: 1.5rem;
}

.footer-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.footer-logo-section {
	margin-block-start: 1em;
  flex-basis: 100%;
  max-width: 33%;
}

.footer-logo {
  height: 28px;
}

.footer-text {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #4b5563;
}

.footer-social-links {
  display: flex;
  margin-top: 16px;
  gap: 16px;
}

.footer-social-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-social-link:hover {
  color: #4b5563;
}

.footer-links-section {
  flex-basis: 100%;
  max-width: 66%;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-links-column {
  flex: 1;
  min-width: 180px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
	margin-bottom: 22px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin-top: 16px;
	margin-left: 0;
}

.footer-bottom {
	margin-top: 12px;
  text-align: center;
  padding-top: 16px;
}

.footer-bottom-text {
  font-size: 12px;
  color: #9ca3af;
}

#botletter-link {
  padding: 5px 10px 5px 10px;
  border: 1px solid #F41D1D;
  color: #F41D1D!important;
  text-decoration: none!important;
  float: right;
  margin-top: -25px;
  border-radius: 5px;
  font-weight: 600;
  -webkit-transition: background-color 0.3s; /* Safari */
  transition: background-color 0.3s;
}

button, html input[type="button"], input[type="reset"], input[type="submit"], button:hover, html input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover {
    background: #F41D1D!important;
}

.archive .page-header, .search .page-header {
    margin-bottom: inherit!important;
    padding-bottom: 1em;
    border: inherit!important;
    border-color: inherit!important;
    background: inherit!important;
    padding-top: 10px;
    padding-left: inherit!important;
    padding-right: 20px;
    padding-bottom: inherit!important;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
}

.blog article, .archive article, .search article {
    padding: 40px 0 40px 0;
    border-bottom: 2px solid #F3F3F3!important;
}

.archive .page-title, .search .page-title, .archive .archive-title {
  font-size: 50px!important;
}

.post-author-bottom {
    padding-top: 50px;
    padding-bottom: 50px;
    margin-bottom: 40px;
    position: relative;
    border-top: 2px solid #F3F3F3!important;
    border-bottom: 2px solid #F3F3F3!important;
    display: none;
    min-height: 100px;
}
.post-cover-title-image {
  height: 80vh!important;
  opacity: 0.85!important;
}

.post-cover-title-head {
  padding: 3% 16.5% 3% 16.5%!important;
	max-width: 1000px;
	margin-top: 60px;
}

.post-cover-title-head a, .post-cover-title-head a time {
  color: white!important;
}

.post-cover-title {
  padding: 50px 0px!important;
  margin: inherit!important;
}

.post-cover-overlay-post-title #page {
  margin-top: 0!important;
}

.wp-caption .wp-caption-text {
  font-size: 80%!important;
  font-style: italic!important;
}

.addtoany_content_bottom {
  text-align: center;
  margin-top: 75px!important;
  margin-bottom: 0!important;
}
.addtoany_content_bottom a{
  padding: 0 10px 0 10px!important;
}

.enhanced-excerpts .enhanced-excerpt-read-more a {
  font-family: inherit;
}
.entry-title-meta {
	color: #0f0f0f!important;
	font-size: 14px!important;
	font-family: 'Inter', sans-serif!important;
	font-weight: normal!important;
}
.entry-meta,
.entry-meta a {
	color: #0f0f0f!important;
	font-size: 14px!important;
	font-family: 'Inter', sans-serif!important;
	font-weight: normal!important;
	font-style: normal;
	text-align: right;
}
.entry-meta a {
	color: #F41D1D!important;
}
.entry-title-meta {
	font-size: 14px!important;
}

.entry-date {
	font-weight: normal!important;
}

.post-author-info .site-title {
	font-family: 'Yeseva One', serif;
  -webkit-font-smoothing: antialiased;
  color: #0f0f0f;
	font-size: 22px!important;
}

.post-author-info .site-description {
	color: #656565!important;
	font-size: 16px!important;
	font-style: normal!important;
	line-height: 150%!important;
}

/* Uncomment this style definition to hide the green bar on Quote Formatted posts: */

/*
.format-quote blockquote {
	border-left: none;
	padding-left: 0;
}
*/

/* Uncomment this style definition to use the original, Mac-specific font stack */

/*
h1,
h2,
h3,
h4,
h5,
h6,
.pinglist,
#taglist,
.comment-form-author label,
.comment-form-email label,
.comment-form-url label,
.comment-form-comment label,
.comment-form-subscriptions label,
.comment-form-reply-title {
	font-family: "Myriad Pro","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Geneva,Verdana,sans-serif;
}
*/

/* Uncomment this style definition to use a long dash in ```<cite>```: */

/*
blockquote cite:before {
content: "\2014 \0020";
}
*/

@media (max-width: 47.99em) {
	.single-column-layout .site {
		margin-top: 60px;
	}

	#top-header, .single-column-layout .site {
		padding: 14px 6% 14px 6%!important;
	}

	#top-header > div:first-of-type a > p > span:nth-of-type(2) {
		display: none;
	}
	

	#top-header > div:nth-of-type(2) {
		text-align: right;
		a {
			background-color: inherit!important;
			color: white!important;
			font-size: 14px;
			padding-right: 0!important;
		}
	}

	.footer-grid {
		flex-wrap: wrap;
	}

	.footer-links-section {
		gap: 20px;
	}

	.footer-logo-section {
		margin-top: 12px;
		max-width: inherit;
	}
}

.cta {
	padding: 16px 26px;
	background-color: #F41D1D;
	border: none;
	outline: none;
	color: white!important;
	font-size: 18px;
	font-weight: bold;
	border-radius: 4px;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	text-decoration: none;
	margin: 32px 0 48px 0;
}

.cta:hover {
	cursor: pointer;
	background-color: #cc1414;
	text-decoration: none;
}

.front-page-categories {
	margin-bottom: 32px;
	/* border-bottom: 2px solid #F3F3F3; */
}

.front-page-search {
	margin-top: 32px;
	width: 100%;
}

#searchform {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 8px;
}

#searchform .field {
	flex: 1;
	width: 100%;
	padding: 12px 16px;
	border-radius: 4px;
	font-size: 16px;
	font-family: 'Inter', sans-serif;
}

#searchform .submit {
	padding: 11px 24px;
	background-color: #F41D1D;
	color: white;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	font-family: 'Inter', sans-serif;
	transition: all 0.3s;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

#searchform .submit:hover {
	background-color: #cc1414;
	border-color: #cc1414;
}

.categories-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.category-button {
	padding: 12px 20px;
	margin-right: 8px;
	background-color: white;
	border: 2px solid #F41D1D;
	color: #F41D1D !important;
	font-size: 16px;
	font-weight: 600;
	border-radius: 4px;
	transition: all 0.3s;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-family: 'Inter', sans-serif;
}

.category-button:hover {
	background-color: #F41D1D;
	color: white !important;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 4px 8px rgba(244, 29, 29, 0.2);
}

/* Exit Intent Popup Styles */
.turkishfluent-popup-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	padding: 20px;
}

.turkishfluent-popup-overlay.active {
	opacity: 1;
	visibility: visible;
}

.turkishfluent-popup-container {
	position: relative;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
	max-width: 800px;
	width: 100%;
	max-height: 90vh;
	overflow: hidden;
	transform: scale(0.9);
	transition: transform 0.3s ease;
}

.turkishfluent-popup-overlay.active .turkishfluent-popup-container {
	transform: scale(1);
}

.turkishfluent-popup-close {
	background-color: none!important;
	position: absolute;
	top: 16px;
	right: 16px;
	background: none!important;
	border: none!important;
	font-size: 32px;
	line-height: 1;
	color: #4b5563;
	cursor: pointer;
	z-index: 10001;
	padding: 8px;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: all 0.2s ease;
}

.turkishfluent-popup-close:hover {
	background-color: #f3f4f6!important;
	color: #111827;
}

.turkishfluent-popup-content {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0;
}

.turkishfluent-popup-image {
	flex: 0 0 45%;
	max-width: 45%;
}

.turkishfluent-popup-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.turkishfluent-popup-text {
	flex: 1;
	padding: 40px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.turkishfluent-popup-title {
	font-family: 'Yeseva One', serif;
	font-size: 32px;
	color: #0f0f0f;
	margin-bottom: 16px;
	line-height: 1.3;
}

.turkishfluent-popup-description {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #4b5563;
	margin-bottom: 24px;
}

.turkishfluent-popup-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 28px;
	background-color: #F41D1D;
	color: white !important;
	font-size: 18px;
	font-weight: bold;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.3s ease;
	font-family: 'Inter', sans-serif;
	width: fit-content;
}

.turkishfluent-popup-cta:hover {
	background-color: #cc1414;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(244, 29, 29, 0.3);
}

/* Mobile Responsive */
@media (max-width: 47.99em) {
	.turkishfluent-popup-content {
		flex-direction: column;
	}
	
	.turkishfluent-popup-image {
		flex: 0 0 auto;
		max-width: 100%;
		width: 100%;
		max-height: 250px;
	}
	
	.turkishfluent-popup-image img {
		height: 250px;
		object-fit: cover;
	}
	
	.turkishfluent-popup-text {
		padding: 24px;
	}
	
	.turkishfluent-popup-title {
		font-size: 24px;
	}
	
	.turkishfluent-popup-description {
		font-size: 14px;
	}
	
	.turkishfluent-popup-cta {
		width: 100%;
		padding: 12px 24px;
		font-size: 16px;
	}
}

