/* Blog (inspiration), turnuva ve KingPro şablonları (2026-10 tasarımı, golfbreaks "The Edit" + makale düzeni).
   Ortak bileşenler (kart, hero, breadcrumb, carousel, düğme) theme.css'te; burada yalnızca bu şablonlara özgü düzen. */

/* ---------- /inspiration/ liste (golfbreaks "The Edit": fotoğrafsız ortalı ince başlık + çerçeveli kutucuklar, ISS-0908) ---------- */
.k-edit-head__text {
  padding-top: 30px;
  text-align: center;
}
.k-edit-head__text :is(h1, h2) {
  margin: 0;
  color: var(--k-navy-800);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.2;
}
.k-edit-head__text :is(h1, h2) strong {
  font-weight: inherit;
}
/* Panelde başlığın altına yazılan satır: harf aralıklı alt başlık */
.k-edit-head__text :is(p, h3, h4, h5, h6) {
  margin: 10px 0 0;
  color: var(--k-navy-600);
  font-family: var(--k-font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2.6px;
  line-height: 1.4;
}
.k-edit {
  padding-top: 40px;
}
.k-edit__tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px 32px;
}
.k-edit-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--k-line-strong);
  border-radius: var(--k-radius);
  background: #fff;
  color: var(--k-ink);
}
/* Izgaradaki yer yalnızca liste sayfasında (kutucuk yazı sayfasındaki kaydırmalı şeritte de kullanılır) */
.k-edit__tiles > .k-edit-tile {
  grid-column: span 2;
}
.k-edit__tiles > .k-edit-tile--half {
  grid-column: span 3;
}
.k-edit__tiles > .k-edit-tile--feature {
  grid-column: 1 / -1;
}
.k-edit-tile--feature {
  flex-direction: row;
}
.k-edit-tile__media {
  position: relative;
  display: block;
  flex: none;
  overflow: hidden;
  aspect-ratio: 363 / 200;
  border-bottom: 2px solid var(--k-copper-500);
  background: var(--k-mist);
}
.k-edit-tile--half .k-edit-tile__media {
  aspect-ratio: 9 / 4;
}
.k-edit-tile--feature .k-edit-tile__media {
  width: 66%;
  min-height: 370px;
  aspect-ratio: auto;
  border-right: 2px solid var(--k-copper-500);
  border-bottom: 0;
}
.k-edit-tile__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.k-edit-tile:hover .k-edit-tile__media img {
  transform: scale(1.035);
}
.k-edit-tile__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 16px 16px 22px;
}
.k-edit-tile--feature .k-edit-tile__body {
  padding: 24px 24px 22px;
}
.k-edit-tile__meta {
  margin: 0 0 10px;
  color: var(--k-copper-700);
  font-family: var(--k-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.8px;
  line-height: 1.5;
  text-transform: uppercase;
}
.k-edit-tile__title {
  margin: 0;
  color: var(--k-ink);
  font-family: var(--k-font-head);
  font-size: 24px;
  font-weight: 300;
  line-height: 1.4;
}
.k-edit-tile--third .k-edit-tile__title {
  font-size: 21px;
}
.k-edit-tile__title a {
  color: inherit;
}
.k-edit-tile:hover .k-edit-tile__title a {
  color: var(--k-copper-700);
}
.k-edit-tile__title a::after {
  /* başlık linki kutucuğun tamamını kapsar (tıklama alanı) */
  content: '';
  position: absolute;
  inset: 0;
}
.k-edit-tile__intro {
  display: -webkit-box;
  margin: 12px 0 0;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.6;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}
.k-edit-tile--feature .k-edit-tile__intro {
  -webkit-line-clamp: 7;
}
@media (max-width: 1023px) {
  .k-edit__tiles {
    gap: 24px;
  }
  .k-edit__tiles > .k-edit-tile--third {
    grid-column: span 3;
  }
}
@media (max-width: 899px) {
  .k-edit-tile--feature {
    flex-direction: column;
  }
  .k-edit-tile--feature .k-edit-tile__media {
    width: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 2px solid var(--k-copper-500);
  }
  .k-edit-tile--feature .k-edit-tile__body {
    padding: 16px 16px 22px;
  }
  .k-edit-tile--feature .k-edit-tile__intro {
    -webkit-line-clamp: 4;
  }
}
@media (max-width: 639px) {
  .k-edit-head__text {
    padding-top: 22px;
  }
  .k-edit {
    padding-top: 28px;
  }
  .k-edit__tiles {
    gap: 20px;
  }
  .k-edit__tiles > .k-edit-tile {
    grid-column: 1 / -1;
  }
  .k-edit-tile__media,
  .k-edit-tile--half .k-edit-tile__media {
    aspect-ratio: 16 / 9;
  }
  .k-edit-tile__title,
  .k-edit-tile--third .k-edit-tile__title {
    font-size: 21px;
  }
}

/* ---------- /inspiration/<slug>/ makale (oranlar golfbreaks yazı sayfası, ISS-0908) ---------- */
.k-article__head {
  max-width: 1000px;
  padding-top: 64px;
  padding-bottom: 56px;
  text-align: center;
}
.k-article__label {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 300;
  line-height: 1.5;
}
.k-article__label a {
  color: var(--k-ink);
}
.k-article__label a:hover {
  color: var(--k-copper-700);
}
.k-article__title :is(h1, h2) {
  margin: 0 0 12px;
  color: var(--k-ink);
  font-size: clamp(28px, 3.8vw, 45px);
  font-weight: 400;
  letter-spacing: -1px;
  line-height: 1.2;
}
.k-article__title :is(h1, h2) strong {
  font-weight: 600;
}
.k-article__title > :not(h1):not(h2) {
  max-width: 720px;
  margin: 0 auto 8px;
  color: var(--k-text);
  font-size: 17px;
}
.k-article__subtitle {
  margin: 0 0 8px;
  color: var(--k-text);
  font-family: var(--k-font-head);
  font-size: 19px;
}
.k-article__meta {
  margin: 28px 0 0;
  color: var(--k-text);
  font-size: 14px;
}
.k-article__brand {
  color: var(--k-ink);
}
.k-article__read {
  color: var(--k-text);
  font-weight: 600;
}
.k-article__media {
  max-width: 1132px;
  margin-bottom: 56px;
}
.k-article__media--wide {
  max-width: 1320px;
}
.k-article__img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: 24px;
}
.k-article__media--wide .k-article__img {
  max-height: 725px;
}
.k-article__body {
  max-width: 832px;
}
.k-article__content {
  font-size: 16px;
  line-height: 1.6;
}
.k-article__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 40px 0 0;
  padding: 24px 0 8px;
  border-top: 1px solid var(--k-line);
}
.k-article + .k-post-related {
  padding-top: 64px;
}
.k-post-related__grid {
  row-gap: 32px;
}
.k-post-related__all {
  justify-content: center;
  margin: 32px 0 0;
}
@media (max-width: 767px) {
  .k-article__head {
    padding-top: 32px;
    padding-bottom: 28px;
  }
  .k-article__label {
    margin-bottom: 8px;
    font-size: 18px;
  }
  .k-article__title :is(h1, h2) {
    letter-spacing: -0.5px;
  }
  .k-article__meta {
    margin-top: 16px;
  }
  .k-article__media {
    margin-bottom: 32px;
  }
  .k-article__img {
    border-radius: 16px;
  }
}

/* ---------- /tournaments/ ---------- */
.k-tournaments {
  row-gap: 28px;
}
.k-tournament-card .k-card__media {
  aspect-ratio: 16 / 10;
}
.k-tournament-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--k-navy-800), var(--k-navy-600));
  color: var(--k-copper-300);
}
.k-tournament-card__placeholder .k-icon {
  width: 56px;
  height: 56px;
  stroke-width: 1.5;
}
.k-tournament-card__date,
.k-tournament-card__loc {
  display: flex;
  align-items: center;
  gap: 6px;
}
.k-tournament-card__date .k-icon,
.k-tournament-card__loc .k-icon {
  color: var(--k-copper-600);
}
.k-tournament-card__intro {
  white-space: pre-line;
}

/* ---------- /tournaments/<slug>/ ---------- */
.k-tournament__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}
.k-tournament__head {
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--k-line);
}
.k-tournament__title {
  margin: 0 0 4px;
  color: var(--k-ink);
  font-family: var(--k-font-head);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.k-tournament__location {
  margin: 0;
  color: var(--k-copper-700);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}
.k-tournament__location:empty {
  display: none;
}
.k-tournament__intro {
  margin-bottom: 8px;
}
.k-tournament__intro hr {
  margin: 20px 0;
  border: 0;
  border-top: 1px solid var(--k-line);
}
.k-tournament__h {
  margin: 36px 0 14px;
  font-size: 24px;
}
.k-tournament__table {
  overflow-x: auto;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius);
}
.k-tournament__table table {
  font-size: 15px;
}
.k-tournament__table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--k-line);
  vertical-align: top;
}
.k-tournament__table tr:last-child td {
  border-bottom: 0;
}
.k-tournament__table tr:nth-child(odd) td {
  background: var(--k-mist);
}
.k-tournament__date {
  color: var(--k-ink);
  font-weight: 700;
  white-space: nowrap;
}
.k-tournament__day {
  color: var(--k-muted);
  white-space: nowrap;
}
.k-tournament__pricing table {
  width: auto;
  min-width: min(100%, 420px);
}
.k-tournament__aside {
  position: sticky;
  top: 24px;
}
.k-tournament__card {
  display: grid;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius);
  background: #fff;
  box-shadow: var(--k-shadow);
}
.k-tournament__card-title {
  margin: 0;
  color: var(--k-ink);
  font-family: var(--k-font-head);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}
.k-tournament__facts {
  display: grid;
  gap: 8px;
  margin: 0 0 6px;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.k-tournament__facts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.k-tournament__facts .k-icon {
  margin-top: 3px;
  color: var(--k-copper-600);
}
@media (max-width: 959px) {
  .k-tournament__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .k-tournament__aside {
    position: static;
  }
}

/* ---------- /pga-professionals/ (KingPro) ---------- */
.k-pros__layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.k-pros__aside {
  position: sticky;
  top: 16px;
}
.k-pros__toggle {
  display: none;
}
.k-pros__filter {
  padding: 20px;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius);
  background: #fff;
  box-shadow: var(--k-shadow-sm);
}
.k-pros__filter-title {
  margin: 0 0 8px;
  color: var(--k-ink);
  font-family: var(--k-font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.k-pros__options {
  max-height: 460px;
  margin: 0 0 14px;
  overflow-y: auto;
}
.k-pros__options .k-check {
  padding: 5px 0;
}
.k-pros__count {
  margin: 0 0 16px;
  color: var(--k-text);
  font-size: 15px;
}
.k-pros__count strong {
  color: var(--k-ink);
}
.k-pros__grid {
  row-gap: 28px;
}
.k-pros__grid.is-busy {
  opacity: 0.5;
}
.k-card--pro .k-card__media {
  aspect-ratio: 4 / 3;
}
.k-card--pro .k-card__media img {
  object-position: center 25%;
}
@media (max-width: 1099px) {
  .k-pros__grid.k-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 899px) {
  .k-pros__layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .k-pros__aside {
    position: static;
  }
  .k-pros__toggle {
    display: flex;
  }
  .k-pros__filter {
    display: none;
    margin-top: 12px;
  }
  .k-pros__filter.is-open {
    display: block;
  }
}
@media (max-width: 559px) {
  .k-pros__grid.k-grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- /pga-professionals/<slug>/ ---------- */
.k-profile__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.k-profile__card {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--k-line);
  border-radius: var(--k-radius);
  background: #fff;
  box-shadow: var(--k-shadow-sm);
}
.k-profile__photo {
  min-height: 280px;
  background: var(--k-mist);
}
.k-profile__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.k-profile__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--k-line-strong);
}
.k-profile__placeholder .k-icon {
  width: 72px;
  height: 72px;
}
.k-profile__details {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 22px;
}
.k-profile__name {
  margin: 0 0 4px;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.3px;
}
.k-profile__position {
  margin: 0 0 16px;
  color: var(--k-text);
  font-weight: 600;
}
.k-profile__contact,
.k-profile__facts {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 15px;
}
.k-profile__contact li,
.k-profile__facts li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.k-profile__contact a {
  overflow-wrap: anywhere;
}
.k-profile__contact .k-icon,
.k-profile__facts .k-icon {
  flex: none;
  color: var(--k-copper-600);
}
.k-profile__pga {
  margin-top: auto;
}
.k-profile__pga img {
  display: block;
  width: auto;
  height: 56px;
}
.k-profile__facility {
  padding: 26px;
  border-radius: var(--k-radius);
  background: var(--k-cream);
}
.k-profile__h {
  margin: 0 0 14px;
  font-size: 24px;
}
.k-profile__desc {
  margin: 0 0 20px;
  line-height: 1.7;
}
@media (max-width: 1023px) {
  .k-profile__layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 639px) {
  .k-profile__card {
    grid-template-columns: minmax(0, 1fr);
  }
  .k-profile__photo {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
}

/* Turnuva listesi: banner metni uzun bir paragraf — hero'da daha küçük punto */
.k-tlist-hero .k-hero__text p {
  max-width: 720px;
  font-family: var(--k-font-body);
  font-size: 16px;
  line-height: 1.6;
}

/* Program tablosu telefonda: tarih + gün solda alt alta, açıklama sağda */
@media (max-width: 559px) {
  .k-tournament__table tr {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    border-bottom: 1px solid var(--k-line);
  }
  .k-tournament__table tr:last-child {
    border-bottom: 0;
  }
  .k-tournament__table td {
    border-bottom: 0;
    padding: 10px 12px;
  }
  .k-tournament__date {
    grid-row: 1;
    grid-column: 1;
    padding-bottom: 0 !important;
  }
  .k-tournament__day {
    grid-row: 2;
    grid-column: 1;
    padding-top: 2px !important;
    font-size: 13px;
  }
  .k-tournament__table td:last-child {
    grid-row: 1 / span 2;
    grid-column: 2;
  }
  .k-tournament__table tr:nth-child(odd) {
    background: var(--k-mist);
  }
}
