/* YKS Koçum — Blog / arşiv arayüzü */
body.blog,
body.archive,
body.category,
body.search {
  --yks-blog-navy: #122c54;
  --yks-blog-deep: #0c2043;
  --yks-blog-red: #c62d27;
  --yks-blog-bg: #f3f5f9;
  --yks-blog-line: #e3e7ef;
  --yks-blog-muted: #5b6474;
  --yks-blog-ink: #1a2433;
  background:
    radial-gradient(1200px 500px at 8% -10%, rgba(198, 45, 39, 0.08), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(18, 44, 84, 0.1), transparent 50%),
    var(--yks-blog-bg);
}

body.blog .blog-wrapper.blog-archive,
body.archive .blog-wrapper.blog-archive,
body.category .blog-wrapper.blog-archive,
body.search .blog-wrapper.blog-archive {
  padding: 0 0 4rem;
}

/* Masthead */
.yks-blog-masthead {
  position: relative;
  margin: 0 0 2rem;
  padding: clamp(2rem, 5vw, 3.25rem) 0 clamp(1.75rem, 4vw, 2.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--yks-blog-line);
  background:
    linear-gradient(135deg, rgba(12, 32, 67, 0.96) 0%, rgba(18, 44, 84, 0.92) 55%, rgba(198, 45, 39, 0.88) 140%);
  color: #fff;
}

.yks-blog-masthead::before {
  content: "";
  position: absolute;
  inset: auto -8% -40% auto;
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.yks-blog-masthead__inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 28px);
}

.yks-blog-masthead .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.yks-blog-masthead .breadcrumb a {
  color: #fff;
  text-decoration: none;
  opacity: 0.92;
}

.yks-blog-masthead .breadcrumb a:hover {
  text-decoration: underline;
  opacity: 1;
}

.yks-blog-masthead .breadcrumb > span[aria-hidden="true"] {
  margin: 0 0.4rem;
  opacity: 0.45;
}

.yks-blog-masthead .breadcrumb .breadcrumb__current {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  max-width: min(100%, 22rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yks-blog-masthead__kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.yks-blog-masthead__title {
  margin: 0 0 0.55rem;
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
}

.yks-blog-masthead__lead {
  margin: 0;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.82);
  font-family: "YKS Inter", Inter, system-ui, sans-serif;
  font-size: clamp(0.98rem, 1.5vw, 1.08rem);
  line-height: 1.65;
}

/* Kategori SEO landing — intro / CTA / FAQ */
.yks-cat-landing {
  max-width: 1180px;
  margin: -0.5rem auto 1.75rem;
  padding: 0 clamp(16px, 4vw, 28px);
}

.yks-cat-landing__inner {
  padding: clamp(1.15rem, 2.8vw, 1.55rem) clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid var(--yks-blog-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(18, 44, 84, 0.06);
}

.yks-cat-landing__intro {
  max-width: 46rem;
}

.yks-cat-landing__intro p {
  margin: 0 0 0.85rem;
  color: var(--yks-blog-ink);
  font-family: "YKS Inter", Inter, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.yks-cat-landing__intro p:last-child {
  margin-bottom: 0;
}

.yks-cat-landing__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.15rem;
}

.yks-cat-landing__cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--yks-blog-line);
  border-radius: 10px;
  background: #f7f9fc;
  color: var(--yks-blog-navy) !important;
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.yks-cat-landing__cta:hover {
  border-color: var(--yks-blog-navy);
  background: #eef3fa;
}

.yks-cat-landing__cta.is-primary {
  border-color: var(--yks-blog-navy);
  background: var(--yks-blog-navy);
  color: #fff !important;
}

.yks-cat-landing__cta.is-primary:hover {
  background: var(--yks-blog-red);
  border-color: var(--yks-blog-red);
}

.yks-cat-landing__hubs {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--yks-blog-line);
}

.yks-cat-landing__hub-sections {
  display: grid;
  gap: 1rem;
  margin-top: 1.15rem;
}

.yks-cat-landing__hub-sections .yks-cat-landing__hubs {
  margin-top: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--yks-blog-line);
}

.yks-cat-landing__hubs-label {
  margin: 0 0 0.55rem;
  color: var(--yks-blog-muted);
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.yks-cat-landing__hubs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yks-cat-landing__hubs-list--3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

@media (max-width: 720px) {
  .yks-cat-landing__hubs-list--3 {
    grid-template-columns: 1fr;
  }
}

.yks-cat-landing__hubs-list a {
  color: var(--yks-blog-navy);
  font-family: "YKS Inter", Inter, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.yks-cat-landing__hubs-list a:hover {
  color: var(--yks-blog-red);
}

.yks-cat-landing-faq {
  max-width: 1180px;
  margin: 0.5rem auto 2.5rem;
  padding: 0 clamp(16px, 4vw, 28px);
}

.yks-cat-landing-faq__inner {
  max-width: 46rem;
}

.yks-cat-landing-faq__title {
  margin: 0 0 1rem;
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--yks-blog-deep);
}

.yks-cat-landing-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.yks-cat-landing-faq__item {
  margin: 0;
  padding: 0.15rem 1.1rem;
  border: 1px solid var(--yks-blog-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(18, 44, 84, 0.04);
}

.yks-cat-landing-faq__item[open] {
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(18, 44, 84, 0.1);
}

.yks-cat-landing-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 0;
  cursor: pointer;
  list-style: none;
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--yks-blog-deep);
}

.yks-cat-landing-faq__item summary::-webkit-details-marker {
  display: none;
}

.yks-cat-landing-faq__icon {
  flex: 0 0 auto;
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eef3fa;
  color: var(--yks-blog-navy);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.2s ease;
}

.yks-cat-landing-faq__item[open] .yks-cat-landing-faq__icon {
  transform: rotate(45deg);
}

.yks-cat-landing-faq__item p {
  margin: 0;
  padding: 0 0 1rem;
  color: var(--yks-blog-muted);
  font-family: "YKS Inter", Inter, system-ui, sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 520px) {
  .yks-cat-landing__cta {
    flex: 1 1 auto;
    justify-content: center;
  }
}

/* Blog kategori / bölüm rehberleri puan türü filtresi */
.yks-blog-alan {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1.25rem;
  max-width: 40rem;
}

.yks-blog-cats {
  max-width: 52rem;
}

.yks-blog-alan__chip {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.92);
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.yks-blog-alan__chip:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.yks-blog-alan__chip.is-active {
  background: #fff;
  border-color: #fff;
  color: var(--yks-blog-navy, #122c54);
}

/* Bölüm rehberleri arama */
.yks-blog-search {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: stretch;
  margin-top: 0.9rem;
  max-width: 36rem;
}

.yks-blog-search input[type="search"] {
  flex: 1 1 12rem;
  min-width: 0;
  margin: 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-family: "YKS Inter", Inter, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.3;
  box-shadow: none;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.yks-blog-search input[type="search"]::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.yks-blog-search input[type="search"]:focus {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.yks-blog-search button {
  flex: 0 0 auto;
  margin: 0;
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: 12px;
  background: #fff;
  color: var(--yks-blog-navy, #122c54);
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.yks-blog-search button:hover {
  background: #f3f5f9;
  transform: translateY(-1px);
}

.yks-blog-search__clear {
  display: inline-flex;
  align-items: center;
  padding: 0 0.35rem;
  color: rgba(255, 255, 255, 0.88);
  font-family: "YKS Inter", Inter, system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.yks-blog-search__clear:hover {
  color: #fff;
}

@media (max-width: 520px) {
  .yks-blog-search button {
    flex: 1 1 auto;
  }
}

/* Öne çıkan 2 ana yazı */
.yks-blog-featured {
  max-width: 1180px;
  margin: 0 auto 1.5rem;
  padding: 0 clamp(16px, 4vw, 28px);
}

.yks-blog-featured__head {
  margin: 0 0 1rem;
}

.yks-blog-featured__title {
  margin: 0 0 0.25rem;
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--yks-blog-deep);
}

.yks-blog-featured__sub {
  margin: 0;
  color: var(--yks-blog-muted);
  font-size: 0.95rem;
}

.yks-blog-featured__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 800px) {
  .yks-blog-featured__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
  }
}

.yks-blog-featured__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--yks-blog-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(18, 44, 84, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.yks-blog-featured__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 44px rgba(18, 44, 84, 0.14);
}

.yks-blog-featured__media {
  display: block;
  background: linear-gradient(135deg, #0c2043, #122c54 55%, #8b2a28);
  aspect-ratio: 1200 / 630;
  overflow: hidden;
}

.yks-blog-featured__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.yks-blog-featured__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.85);
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
}

.yks-blog-featured__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 1.2rem 1.3rem;
  flex: 1;
}

.yks-blog-featured__cat {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  background: #eef3fa;
  color: var(--yks-blog-navy);
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.yks-blog-featured__card-title {
  margin: 0;
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.yks-blog-featured__card-title a {
  color: var(--yks-blog-deep);
  text-decoration: none;
}

.yks-blog-featured__card-title a:hover {
  color: var(--yks-blog-red);
}

.yks-blog-featured__excerpt {
  margin: 0;
  color: var(--yks-blog-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.yks-blog-featured__btn {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: auto;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  background: var(--yks-blog-red);
  color: #fff !important;
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none !important;
}

.yks-blog-featured__btn:hover {
  background: var(--yks-blog-deep);
}

.yks-blog-rehber-cta {
  max-width: 1180px;
  margin: 0 auto 1.75rem;
  padding: 0 clamp(16px, 4vw, 28px);
}

.yks-blog-rehber-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: clamp(1.1rem, 2.5vw, 1.45rem) clamp(1.1rem, 3vw, 1.6rem);
  border: 1px solid var(--yks-blog-line);
  border-radius: 18px;
  background: linear-gradient(120deg, #fff 0%, #f7f9fc 100%);
  box-shadow: 0 8px 28px rgba(18, 44, 84, 0.06);
}

.yks-blog-rehber-cta__kicker {
  margin: 0 0 0.3rem;
  color: var(--yks-blog-red);
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.yks-blog-rehber-cta__title {
  margin: 0 0 0.3rem;
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--yks-blog-deep);
}

.yks-blog-rehber-cta__text {
  margin: 0;
  color: var(--yks-blog-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.yks-blog-rehber-cta__btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  background: var(--yks-blog-navy);
  color: #fff !important;
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}

.yks-blog-rehber-cta__btn:hover {
  background: var(--yks-blog-red);
}

body.blog .blog-wrapper.blog-archive > .yks-blog-featured,
body.blog .blog-wrapper.blog-archive > .yks-blog-rehber-cta {
  /* hooks render before .row inside layout — keep spacing */
}

/* Layout: full-width grid, no sidebar */
body.blog .blog-wrapper .row.row-divided,
body.archive .blog-wrapper .row.row-divided,
body.category .blog-wrapper .row.row-divided,
body.search .blog-wrapper .row.row-divided {
  display: block;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 28px);
}

body.blog .blog-wrapper .post-sidebar,
body.archive .blog-wrapper .post-sidebar,
body.category .blog-wrapper .post-sidebar,
body.search .blog-wrapper .post-sidebar {
  display: none !important;
}

/* Flatsome wraps articles in #post-list — grid MUST be on #post-list, never .large-9 */
body.blog .blog-wrapper .large-9.col,
body.archive .blog-wrapper .large-9.col,
body.category .blog-wrapper .large-9.col,
body.search .blog-wrapper .large-9.col,
body.blog .blog-wrapper > .row > .large-9.col,
body.archive .blog-wrapper > .row > .large-9.col,
body.category .blog-wrapper > .row > .large-9.col,
body.search .blog-wrapper > .row > .large-9.col {
  flex-basis: 100% !important;
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  display: block !important;
  float: none !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
}

body.blog .blog-wrapper #post-list,
body.archive .blog-wrapper #post-list,
body.category .blog-wrapper #post-list,
body.search .blog-wrapper #post-list {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 700px) {
  body.blog .blog-wrapper #post-list,
  body.archive .blog-wrapper #post-list,
  body.category .blog-wrapper #post-list,
  body.search .blog-wrapper #post-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 1.4rem;
  }
}

@media (min-width: 1080px) {
  body.blog .blog-wrapper #post-list,
  body.archive .blog-wrapper #post-list,
  body.category .blog-wrapper #post-list,
  body.search .blog-wrapper #post-list {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.5rem;
  }
}

/* Pagination spans full grid */
body.blog .blog-wrapper #post-list > .container,
body.blog .blog-wrapper #post-list > nav,
body.blog .blog-wrapper #post-list > .page-numbers,
body.blog .blog-wrapper #post-list > ul.page-numbers,
body.archive .blog-wrapper #post-list > .container,
body.category .blog-wrapper #post-list > .container,
body.search .blog-wrapper #post-list > .container,
body.archive .blog-wrapper #post-list > ul.page-numbers,
body.category .blog-wrapper #post-list > ul.page-numbers,
body.search .blog-wrapper #post-list > ul.page-numbers {
  grid-column: 1 / -1;
}

body.blog .blog-wrapper .page-numbers,
body.archive .blog-wrapper .page-numbers,
body.category .blog-wrapper .page-numbers,
body.search .blog-wrapper .page-numbers,
body.blog .blog-wrapper ul.page-numbers,
body.archive .blog-wrapper ul.page-numbers {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

body.blog .blog-wrapper ul.page-numbers li,
body.archive .blog-wrapper ul.page-numbers li,
body.category .blog-wrapper ul.page-numbers li {
  margin: 0;
}

body.blog .blog-wrapper ul.page-numbers a,
body.blog .blog-wrapper ul.page-numbers span,
body.archive .blog-wrapper ul.page-numbers a,
body.archive .blog-wrapper ul.page-numbers span,
body.category .blog-wrapper ul.page-numbers a,
body.category .blog-wrapper ul.page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 0.7rem;
  border: 1px solid var(--yks-blog-line);
  border-radius: 10px;
  background: #fff;
  color: var(--yks-blog-navy);
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

body.blog .blog-wrapper ul.page-numbers a:hover,
body.archive .blog-wrapper ul.page-numbers a:hover,
body.category .blog-wrapper ul.page-numbers a:hover {
  border-color: var(--yks-blog-navy);
  transform: translateY(-1px);
}

body.blog .blog-wrapper ul.page-numbers .current,
body.archive .blog-wrapper ul.page-numbers .current,
body.category .blog-wrapper ul.page-numbers .current {
  background: var(--yks-blog-red);
  border-color: var(--yks-blog-red);
  color: #fff;
}

/* Cards */
body.blog .blog-wrapper article.post,
body.archive .blog-wrapper article.post,
body.category .blog-wrapper article.post,
body.search .blog-wrapper article.post {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.blog .blog-wrapper .article-inner,
body.archive .blog-wrapper .article-inner,
body.category .blog-wrapper .article-inner,
body.search .blog-wrapper .article-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--yks-blog-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 44, 84, 0.06) !important;
  cursor: pointer;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

/* Kartın tamamı tıklanabilir */
body.blog .blog-wrapper .entry-title a::after,
body.archive .blog-wrapper .entry-title a::after,
body.category .blog-wrapper .entry-title a::after,
body.search .blog-wrapper .entry-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

body.blog .blog-wrapper .entry-category a,
body.archive .blog-wrapper .entry-category a,
body.category .blog-wrapper .entry-category a,
body.search .blog-wrapper .entry-category a,
body.blog .blog-wrapper .more-link,
body.archive .blog-wrapper .more-link,
body.category .blog-wrapper .more-link,
body.search .blog-wrapper .more-link {
  position: relative;
  z-index: 2;
}

body.blog .blog-wrapper .entry-title a,
body.archive .blog-wrapper .entry-title a,
body.category .blog-wrapper .entry-title a,
body.search .blog-wrapper .entry-title a {
  position: static;
}

body.blog .blog-wrapper .article-inner:hover,
body.archive .blog-wrapper .article-inner:hover,
body.category .blog-wrapper .article-inner:hover,
body.search .blog-wrapper .article-inner:hover {
  transform: translateY(-4px);
  border-color: rgba(198, 45, 39, 0.28);
  box-shadow: 0 18px 42px rgba(18, 44, 84, 0.12) !important;
}

body.blog .blog-wrapper article .entry-header,
body.archive .blog-wrapper article .entry-header,
body.category .blog-wrapper article .entry-header,
body.search .blog-wrapper article .entry-header {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

/* Image first — match OG hero ratio (1200×630); 3/2 was clipping Meslekler titles */
body.blog .blog-wrapper article .entry-image,
body.archive .blog-wrapper article .entry-image,
body.category .blog-wrapper article .entry-image,
body.search .blog-wrapper article .entry-image {
  order: -1;
  margin: 0 !important;
  overflow: hidden;
  background: var(--yks-blog-deep);
  aspect-ratio: 1200 / 630;
  line-height: 0;
}

body.blog .blog-wrapper article .entry-image a,
body.archive .blog-wrapper article .entry-image a,
body.category .blog-wrapper article .entry-image a {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

body.blog .blog-wrapper article .entry-image img,
body.archive .blog-wrapper article .entry-image img,
body.category .blog-wrapper article .entry-image img,
body.search .blog-wrapper article .entry-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s ease;
}

body.blog .blog-wrapper .article-inner:hover .entry-image img,
body.archive .blog-wrapper .article-inner:hover .entry-image img,
body.category .blog-wrapper .article-inner:hover .entry-image img {
  transform: scale(1.04);
}

/* Hide date badge */
body.blog .blog-wrapper .badge.post-date,
body.archive .blog-wrapper .badge.post-date,
body.category .blog-wrapper .badge.post-date,
body.search .blog-wrapper .badge.post-date {
  display: none !important;
}

body.blog .blog-wrapper .entry-header-text,
body.archive .blog-wrapper .entry-header-text,
body.category .blog-wrapper .entry-header-text,
body.search .blog-wrapper .entry-header-text {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.05rem 1.15rem 0.35rem;
}

body.blog .blog-wrapper .entry-category,
body.archive .blog-wrapper .entry-category,
body.category .blog-wrapper .entry-category,
body.search .blog-wrapper .entry-category {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 !important;
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: 0.72rem !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2 !important;
}

body.blog .blog-wrapper .entry-category a,
body.archive .blog-wrapper .entry-category a,
body.category .blog-wrapper .entry-category a,
body.search .blog-wrapper .entry-category a {
  display: inline-flex !important;
  align-items: center;
  max-width: 100%;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #fbe9e7 !important;
  color: var(--yks-blog-red) !important;
  text-decoration: none !important;
  position: relative;
  z-index: 2;
}

body.blog .blog-wrapper .entry-title,
body.archive .blog-wrapper .entry-title,
body.category .blog-wrapper .entry-title,
body.search .blog-wrapper .entry-title {
  margin: 0 !important;
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem) !important;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

body.blog .blog-wrapper .entry-title a,
body.archive .blog-wrapper .entry-title a,
body.category .blog-wrapper .entry-title a,
body.search .blog-wrapper .entry-title a {
  color: var(--yks-blog-deep) !important;
  text-decoration: none !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.blog .blog-wrapper .entry-title a:hover,
body.archive .blog-wrapper .entry-title a:hover,
body.category .blog-wrapper .entry-title a:hover {
  color: var(--yks-blog-red) !important;
}

body.blog .blog-wrapper .entry-divider,
body.archive .blog-wrapper .entry-divider,
body.category .blog-wrapper .entry-divider,
body.search .blog-wrapper .entry-divider,
body.blog .blog-wrapper .entry-meta,
body.archive .blog-wrapper .entry-meta,
body.category .blog-wrapper .entry-meta,
body.search .blog-wrapper .entry-meta {
  display: none !important;
}

body.blog .blog-wrapper .entry-content,
body.archive .blog-wrapper .entry-content,
body.category .blog-wrapper .entry-content,
body.search .blog-wrapper .entry-content {
  margin-top: auto;
  padding: 0.35rem 1.15rem 1.2rem;
}

body.blog .blog-wrapper .entry-summary,
body.archive .blog-wrapper .entry-summary,
body.category .blog-wrapper .entry-summary,
body.search .blog-wrapper .entry-summary {
  margin: 0;
}

body.blog .blog-wrapper .entry-summary > p,
body.archive .blog-wrapper .entry-summary > p,
body.category .blog-wrapper .entry-summary > p {
  display: none;
}

body.category-bolum-rehberleri .blog-wrapper .yks-blog-rank,
body.category .blog-wrapper .yks-blog-rank {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.55rem !important;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #eef3fa;
  color: var(--yks-blog-navy) !important;
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
  line-height: 1.2;
}

body.category-bolum-rehberleri .blog-wrapper .entry-content {
  padding-top: 0.15rem;
}

body.blog .blog-wrapper .more-link,
body.archive .blog-wrapper .more-link,
body.category .blog-wrapper .more-link,
body.search .blog-wrapper .more-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 0.35rem;
  padding: 0.55rem 1rem !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--yks-blog-navy) !important;
  color: #fff !important;
  font-family: "YKS Manrope", Manrope, system-ui, sans-serif;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

body.blog .blog-wrapper .more-link:hover,
body.archive .blog-wrapper .more-link:hover,
body.category .blog-wrapper .more-link:hover {
  background: var(--yks-blog-red) !important;
  transform: translateY(-1px);
}

body.blog .blog-wrapper .more-link .meta-nav,
body.archive .blog-wrapper .more-link .meta-nav,
body.category .blog-wrapper .more-link .meta-nav {
  margin-left: 0.35rem;
}

/* Hide default page title if Flatsome shows one above */
body.blog .page-title,
body.archive .page-title,
body.category .page-title {
  display: none !important;
}

@keyframes yksBlogRise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

body.blog .blog-wrapper article.post,
body.archive .blog-wrapper article.post,
body.category .blog-wrapper article.post {
  animation: yksBlogRise 0.45s ease both;
}

body.blog .blog-wrapper article.post:nth-child(2),
body.archive .blog-wrapper article.post:nth-child(2),
body.category .blog-wrapper article.post:nth-child(2) { animation-delay: 0.04s; }
body.blog .blog-wrapper article.post:nth-child(3),
body.archive .blog-wrapper article.post:nth-child(3),
body.category .blog-wrapper article.post:nth-child(3) { animation-delay: 0.08s; }
body.blog .blog-wrapper article.post:nth-child(4),
body.archive .blog-wrapper article.post:nth-child(4),
body.category .blog-wrapper article.post:nth-child(4) { animation-delay: 0.12s; }
body.blog .blog-wrapper article.post:nth-child(5),
body.archive .blog-wrapper article.post:nth-child(5),
body.category .blog-wrapper article.post:nth-child(5) { animation-delay: 0.16s; }
body.blog .blog-wrapper article.post:nth-child(6),
body.archive .blog-wrapper article.post:nth-child(6),
body.category .blog-wrapper article.post:nth-child(6) { animation-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  body.blog .blog-wrapper article.post,
  body.archive .blog-wrapper article.post,
  body.category .blog-wrapper article.post,
  body.blog .blog-wrapper .article-inner,
  body.blog .blog-wrapper article .entry-image img {
    animation: none !important;
    transition: none !important;
  }
}

/* ---- Newspaper archive chrome ---- */
body.blog .yks-blog-masthead,
body.archive .yks-blog-masthead,
body.category .yks-blog-masthead,
body.search .yks-blog-masthead,
body.tag .yks-blog-masthead {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

body.blog .td-category-header,
body.archive .td-category-header,
body.category .td-category-header,
body.blog .td-page-title,
body.category .tdb_title,
body.archive .tdb_title:first-child {
	display: none !important;
}

body.blog .yks-blog-featured,
body.blog .yks-blog-rehber-cta {
	max-width: 1180px;
	margin-left: auto;
	margin-right: auto;
	padding-left: clamp(16px, 4vw, 28px);
	padding-right: clamp(16px, 4vw, 28px);
}

/* ============================================================
   Editorial design refinement — blog surfaces
   ============================================================ */
.yks-blog-masthead__kicker::before {
	content: "";
	width: 6px;
	height: 6px;
	margin-right: 8px;
	border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}

.yks-blog-rehber-cta__kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 14px 6px 12px;
	border-radius: 999px;
	background: rgba(198, 45, 39, 0.07);
	border: 1px solid rgba(198, 45, 39, 0.18);
}
.yks-blog-rehber-cta__kicker::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--yks-blog-red, #c62d27);
	box-shadow: 0 0 0 3px rgba(198, 45, 39, 0.16);
}

.yks-blog-featured__title {
	position: relative;
	padding-bottom: 14px;
}
.yks-blog-featured__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 52px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--yks-blog-deep, #122c54), var(--yks-blog-red, #c62d27));
}

.yks-blog-featured__card {
	position: relative;
}
.yks-blog-featured__card::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	height: 3px;
	z-index: 2;
	background: linear-gradient(90deg, var(--yks-blog-deep, #122c54), var(--yks-blog-red, #c62d27));
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.yks-blog-featured__card:hover::after {
	transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
	.yks-blog-featured__card::after {
		transition: none;
	}
}