@font-face {
  font-family: 'Inter';
  src: url('https://www.calendarlover.com/wp-content/themes/CalendarLover/assets/fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('https://www.calendarlover.com/wp-content/themes/CalendarLover/assets/fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('https://www.calendarlover.com/wp-content/themes/CalendarLover/assets/fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

/* Global Font */
html {
	font-family: 'Inter', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body,
button,
input,
select,
textarea {
  font-family: 'Inter', sans-serif;
  font-weight: normal;
  text-transform: none;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  border: 0;
}

html,
body,
p,
ol,
ul,
li,
dl,
dt,
dd,
blockquote,
figure,
fieldset,
legend,
textarea,
pre,
iframe,
hr,
h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	padding: 0 0.3rem;
	border: 0;
}

html {
	font-family: 'Inter', sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

body {
    background-color: #fff;
    color: var(--contrast);
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
html {
	box-sizing: border-box;
}

*,
*::before,
*::after {
	box-sizing: content-box;
}

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	margin: 0;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
  * Remove the inner padding in Chrome and Safari on macOS.
  */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * Remove the inner border and padding in Firefox.
 */
::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
:-moz-focusring {
	outline: 1px dotted ButtonText;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: #373737;
}

p {
  margin-bottom: 1rem;
  line-height: inherit;
  color: #373737;
}

blockquote {
	border-left: 5px solid rgba(0, 0, 0, 0.05);
	padding: 20px;
	font-size: 1.2em;
	font-style: italic;
	margin: 0 0 1.5em;
	position: relative;
	color: #373737;
}

blockquote p:last-child {
	margin: 0;
}

table,
th,
td {
	border: 1px solid rgba(0, 0, 0, 0.1);
	color: #373737;
}

table {
	border-collapse: separate;
	border-spacing: 0;
	border-width: 1px 0 0 1px;
	margin: 0 0 1.5em;
	width: 100%;
}

th,
td {
	padding: 8px;
}

th {
	border-width: 0 1px 1px 0;
}

td {
	border-width: 0 1px 1px 0;
}

hr {
	background-color: rgba(0, 0, 0, 0.1);
	border: 0;
	height: 1px;
	margin-bottom: 40px;
	margin-top: 40px;
}

@media (min-width: 1025px) {
  .post-content {
    max-width: 868px;
  }
}

@media (max-width: 1024px) {
  .post-content {
    max-width: 100%;
    padding: 0;
  }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  padding: 0.2rem 0;
  position: relative;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-logo img {
  max-height: 50px;
  max-width: 220px;
}

.site-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

/* Menü */
.main-navigation .menu {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
}

.main-navigation .menu li a {
  color: #0073aa;
  font-weight: bold;
  text-decoration: none;
}

/* Mobil Menü Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
}

/* Mobil Menü */
.mobile-menu {
  display: none;
  background: white;
  padding: 2rem;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  animation: slideDown 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mobile-menu .mobile-menu-items {
  list-style: none;
  padding: 0;
}

.mobile-menu .mobile-menu-items li a {
  display: block;
  padding: 0.75rem 0;
  font-weight: bold;
  color: #0073aa;
  text-decoration: none;
}

/* === Anasayfa / index.php === */

.site-main {
  padding: 1rem 0;
}

/* Grid: içerik + sidebar */
.content-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
}

/* Post Grid */
.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  height: fit-content;
}

/* Kart */
.post-card {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 300px;
  height: auto;
  justify-content: space-between;
}

.post-card img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    display: block;
}

.post-card:hover {
  transform: translateY(-4px);
}

.post-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* Thumbnail oran: 1280x720 → 16:9 */
.post-thumbnail {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.post-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Başlık */
.post-title {
  font-size: 1.2rem;
  text-align: center;
  font-weight: bold;
  padding: 1rem;
  color: #0073aa;
  margin: 0;
  flex-grow: 1;
}

/* === Single Post === */
.single-post {
  max-width: 100%;
}

/* Başlık + Meta alanı kutulu */
.single-header {
  background: #f5f5f5;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border-radius: 6px;
  text-align: center;
}

.single-title {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: #222;
  margin-block-start: 0.23em;
  margin-block-end: 0.23em;
}

.post-meta {
  font-size: 0.9rem;
  color: #666;
}

.post-meta a {
  color: #0073aa;
  text-decoration: none;
  font-weight: 500;
}

.post-meta a:hover {
  text-decoration: underline;
}

/* Görsel */
.single-thumbnail {
  margin-bottom: 2rem;
}

.single-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* İçerik */
.post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  max-width: 868px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  word-wrap: break-word;
}

.post-content h2 {
  font-size: 1.3rem;
  margin-top: 1rem;
  text-align: center;
  color: #222;
  padding-bottom: 0.5rem;
}

.post-content h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  color: #333;
}

.post-content a {
  color: #0073aa;
  text-decoration: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .single-title {
    font-size: 1.4rem;
  }

  .post-content {
    font-size: 1.1rem;
    line-height: 1.7;
  }

  .post-content h2 {
    font-size: 1.2rem;
	text-align: center;
  }

  .post-content h3 {
    font-size: 1.1rem;
  }

  .single-header {
    padding: 0.5rem;
	text-align: center;
  }
}
/* === Single Biter === */

.post-content ul,
.post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.post-content ul {
  list-style-type: disc;
}

.post-content ol {
  list-style-type: decimal;
}

.post-content li {
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .post-content ul,
  .post-content ol {
    padding-left: 1.9rem;
  }
}

/* === Comments === */
.comments-section {
  margin-top: 3rem;
  border-top: 1px solid #ddd;
  padding-top: 2rem;
}

.comments-title,
.comment-reply-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem 0;
}

.comment-list li {
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1rem;
}

.comment-author {
  font-weight: bold;
}

.comment-author img {
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 10px;
}

.comment-metadata {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.5rem;
}

.comment-content {
  margin-top: 0.5rem;
}

.comment-reply-link {
  font-size: 0.9rem;
  color: #0073aa;
  text-decoration: none;
}

.comment-reply-link:hover {
  text-decoration: underline;
}

/* Yorum formu */
.comment-form-field {
  margin-bottom: 1.5rem;
}

.comment-form-field label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.comment-form-field input,
.comment-form-field textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.comment-form-gdpr {
  font-size: 0.85rem;
  color: #444;
  margin-bottom: 1rem;
}

.submit-button {
  background-color: #0073aa;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
}

.submit-button:hover {
  background-color: #005f8d;
}
/* === Yorum Biter === */

/* === Archive Header === */
.archive-header {
  text-align: center;
  margin: 3rem 0 2rem 0;
}

.archive-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
}

.archive-description {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #666;
  padding: 0 1rem;
}

/* === No Results === */
.no-results {
  padding: 2rem;
  text-align: center;
  background: #f8f8f8;
  border-radius: 6px;
  margin-bottom: 3rem;
}

.no-results p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #444;
}

.back-home {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: #0073aa;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
}

.back-home:hover {
  background-color: #005f8d;
}



/* === Arşiv Biter === */

/* === Sidebar === */
.site-sidebar {
  background: #f8f8f8;
  padding: 0.5rem;
  border-radius: 6px;
}

.site-sidebar .widget {
  margin-bottom: 0.7rem;
}

.site-sidebar .widget-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #222;
}

.site-sidebar ul {
  list-style: none;
  padding-left: 0;
}

.site-sidebar ul li {
  margin-bottom: 0.5rem;
}

.site-sidebar ul li a {
  text-decoration: none;
  color: #0073aa;
  font-weight: 500;
}

.site-sidebar ul li a:hover {
  text-decoration: underline;
}

/* === Page === */
.page-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #222;
}

.page-content {
  max-width: 100%;
}

.page-content .post-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 4rem;
}

.page-content .post-content h2 {
  font-size: 1.4rem;
  margin-top: 2.5rem;
  text-align: center;
  color: #222;
  padding-bottom: 0.5rem;
}

.page-content .post-content h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  color: #333;
}

.page-content .post-content a {
  color: #0073aa;
  text-decoration: underline;
}

.page-content .post-content p {
  margin-bottom: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .page-title {
    font-size: 1.6rem;
  }

  .page-content .post-content {
    font-size: 1rem;
    line-height: 1.7;
  }

  .page-content .post-content h2 {
    font-size: 1.4rem;
	text-align: center;
  }

  .page-content .post-content h3 {
    font-size: 1.15rem;
  }
}
/* PAge Biter */

/* Responsive: sidebar alta geçer */
@media (max-width: 1024px) {
  .content-with-sidebar {
    display: flex;
    flex-direction: column;
  }

  .site-sidebar {
    margin-top: 2rem;
  }
}
/* sidebar biter */

/* === 404 Not Found === */
.not-found-box {
  background: #f8f8f8;
  padding: 3rem 2rem;
  border-radius: 8px;
  text-align: center;
  max-width: 600px;
  margin: 5rem auto;
}

.not-found-title {
  font-size: 2rem;
  color: #222;
  margin-bottom: 1rem;
}

.not-found-text {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.back-home {
  display: inline-block;
  background: #0073aa;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.back-home:hover {
  background: #005f8d;
}

/* Mobil */
@media (max-width: 768px) {
  .not-found-title {
    font-size: 1.6rem;
  }

  .not-found-text {
    font-size: 1rem;
  }
}
/* === 404 biter === */

/* === Footer === */
.site-footer {
  background: #f8f8f8;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: #333;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
}

.footer-column p {
  margin: 0;
}

.footer-menu {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li a {
  text-decoration: none;
  color: #0073aa;
  font-weight: 500;
}

.footer-menu li a:hover {
  text-decoration: underline;
}

.footer-social a {
  margin-left: 1rem;
  text-decoration: none;
  font-weight: bold;
  color: #0073aa;
}

.footer-social a:first-child {
  margin-left: 0;
}

/* Mobil */
@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-social {
    margin-top: 1rem;
  }
}
/* Footer Biter */

/* Responsive */
@media (max-width: 1024px) {
  .content-with-sidebar {
    grid-template-columns: 1fr;
  }

  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .post-grid {
    grid-template-columns: 1fr;
  }

  .post-thumbnail {
    aspect-ratio: 16 / 9;
  }
}


/* Animasyon */
@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .main-navigation .menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu.active {
    display: block;
  }
}
