/*
Theme Name: İngilizce Rehberim Blog
Theme URI: https://ingilizcerehberim.com/
Author: İngilizce Rehberim
Description: İngilizce Rehberim için sade ve hızlı bir blog teması.
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ingilizcerehberim-blog
*/

:root {
  color: #333333;
  background: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  background: #ffffff;
}

body {
  margin: 0;
  min-width: 320px;
  color: #333333;
  background: #ffffff;
  line-height: 1.55;
}

a {
  color: #333333;
  text-decoration-color: #333333;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  text-decoration-thickness: 2px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 0 3.25vw;
  border-bottom: 1px solid #d6d6d6;
}

.site-name {
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
}

.intro {
  width: min(680px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 112px) 0 clamp(72px, 10vw, 142px);
  text-align: center;
}

.section-heading h1,
.post-item h2 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.035em;
}

.intro p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1rem;
}

.posts {
  width: min(1280px, calc(100% - 7vw));
  margin: 0 auto;
}

.section-heading {
  padding: 0 0 38px;
  border-bottom: 1px solid #a9a9a9;
}

.section-heading h1 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.15;
}

.post-list {
  border-bottom: 1px solid #a9a9a9;
}

.post-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 28%);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding: 24px 0 26px;
  border-bottom: 1px solid #c3c3c3;
}

.post-item:last-child {
  border-bottom: 0;
}

.post-item h2 {
  max-width: 900px;
  font-size: 1.1rem;
  line-height: 1.25;
}

.post-item h2 a {
  text-decoration: none;
}

.post-item h2 a:hover,
.post-item h2 a:focus-visible {
  text-decoration: underline;
}

.post-meta {
  padding-top: 3px;
  font-size: 0.9rem;
  line-height: 1.6;
}

.post-meta p {
  margin: 0 0 6px;
}

.post-meta span::before {
  content: " — ";
}

.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 122px;
  border-bottom: 1px solid #d6d6d6;
}

.pagination-numbers {
  display: flex;
  gap: 4px;
}

.pagination-numbers .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

.next-page {
  display: inline-flex;
  align-items: center;
}

.next-page a {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-height: 44px;
  padding: 0 2px;
}

.site-footer {
  margin-top: clamp(100px, 13vw, 200px);
  border-top: 1px solid #d6d6d6;
}

.footer-content {
  width: min(1168px, calc(100% - 7vw));
  min-height: 310px;
  margin: 0 auto;
  padding: 68px 0 36px;
}

.footer-title {
  margin: 0 0 18px;
  font-weight: 700;
}

.footer-description {
  max-width: 360px;
  margin: 0;
  font-size: 0.92rem;
}

.copyright {
  margin: 118px 0 0;
  font-size: 0.86rem;
}

.article-page {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: clamp(72px, 10vw, 140px);
}

.article-image {
  margin: 38px 0;
}

.article-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid #d6d6d6;
  object-fit: cover;
}

.article-image .wp-post-image {
  height: auto;
}

.article-header {
  padding-bottom: 38px;
  border-bottom: 1px solid #a9a9a9;
}

.article-category {
  margin: 0 0 18px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 26px;
  font-size: 0.86rem;
}

.article-meta span::before {
  content: "— ";
}

.article-content {
  padding: 46px 0 58px;
  border-bottom: 1px solid #a9a9a9;
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-content p {
  margin: 0 0 26px;
}

.article-content p:last-child {
  margin-bottom: 0;
}

.article-content h2 {
  margin: 52px 0 24px;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.comments {
  padding: 58px 0 64px;
  border-bottom: 1px solid #a9a9a9;
}

.comments > h2 {
  margin: 0 0 64px;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.comment-form-wrap h3 {
  margin: 0 0 16px;
  font-size: 1.55rem;
  font-weight: 500;
}

.comment-form-wrap > p {
  margin: 0 0 26px;
}

.comment-form {
  display: grid;
}

.comment-list {
  margin: 0 0 54px;
  padding: 0;
  list-style: none;
}

.comment-list li {
  padding: 24px 0;
  border-top: 1px solid #d6d6d6;
}

.comment-list p {
  margin-bottom: 0;
}

.comment-form p {
  display: grid;
  margin: 0;
}

.comment-form .comment-notes {
  display: block;
  margin: 0 0 26px;
}

.comment-form > label:not(.save-info) {
  margin-bottom: 7px;
  font-size: 0.95rem;
  font-weight: 600;
}

.comment-form p > label {
  margin-bottom: 7px;
  font-size: 0.95rem;
  font-weight: 600;
}

.comment-form textarea,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"] {
  width: 100%;
  margin: 0 0 22px;
  padding: 12px;
  border: 1px solid #a9a9a9;
  border-radius: 0;
  color: #333333;
  background: #ffffff;
  font: inherit;
}

.comment-form .comment-form-cookies-consent {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: flex-start;
  margin: 2px 0 26px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.comment-form .comment-form-cookies-consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  accent-color: #333333;
}

.comment-form .form-submit {
  display: block;
}

.comment-form textarea {
  min-height: 190px;
  resize: vertical;
}

.comment-form textarea:focus,
.comment-form input:focus {
  outline: 2px solid #333333;
  outline-offset: 2px;
}

.save-info {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 2px 0 26px;
  font-size: 0.92rem;
  line-height: 1.5;
}

.save-info input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  accent-color: #333333;
}

.comment-form button {
  justify-self: start;
  padding: 11px 18px;
  border: 1px solid #333333;
  border-radius: 0;
  color: #333333;
  background: #ffffff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.comment-form .submit {
  padding: 11px 18px;
  border: 1px solid #333333;
  border-radius: 0;
  color: #333333;
  background: #ffffff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.comment-form button:hover,
.comment-form button:focus-visible,
.comment-form .submit:hover,
.comment-form .submit:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.no-posts {
  padding: 30px 0;
  border-bottom: 1px solid #a9a9a9;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.article-navigation {
  padding: 42px 0;
  border-bottom: 1px solid #d6d6d6;
  line-height: 1.6;
}

.article-footer {
  margin-top: 110px;
}

@media (max-width: 760px) {
  .site-header {
    padding: 0 20px;
  }

  .intro {
    padding-top: 48px;
    padding-bottom: 72px;
  }

  .posts,
  .footer-content {
    width: calc(100% - 40px);
  }

  .section-heading {
    padding-bottom: 24px;
  }

  .post-item {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px 0;
  }

  .post-meta {
    padding-top: 0;
  }

  .pagination {
    min-height: 96px;
  }

  .site-footer {
    margin-top: 80px;
  }

  .footer-content {
    min-height: 270px;
    padding-top: 48px;
  }

  .copyright {
    margin-top: 86px;
  }

  .article-page {
    padding-top: 58px;
  }

  .article-image {
    margin: 30px 0;
  }

  .article-header {
    padding-bottom: 30px;
  }

  .article-meta {
    display: grid;
    gap: 5px;
  }

  .article-meta span::before {
    content: "";
  }

  .article-content {
    padding: 36px 0 46px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .article-content h2 {
    margin-top: 42px;
  }

  .comments {
    padding: 46px 0 52px;
  }

  .comments > h2 {
    margin-bottom: 46px;
  }

  .article-footer {
    margin-top: 72px;
  }
}
