/* İnşaat rehberi — okunabilir, kaynak odaklı editoryal sayfalar */
.guide-hero {
    min-height: 410px;
    display: flex;
    align-items: center;
}

.guide-hero__eyebrow,
.guide-detail__category {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1rem;
    color: #f0b784;
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.guide-hero__eyebrow::before,
.guide-detail__category::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
}

.guide-hero p {
    max-width: 720px;
    margin: .7rem 0 1.35rem;
    color: #e2e8f0;
    font-size: 1.12rem;
}

.guide-hub__intro {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: clamp(30px, 7vw, 100px);
    align-items: end;
    margin-bottom: 56px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--line);
}

.guide-hub__intro .eyebrow,
.guide-related__head .eyebrow {
    color: var(--amber-dark);
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.guide-hub__intro h2,
.guide-related__head h2 {
    margin: .4rem 0 0;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
}

.guide-hub__intro > p {
    margin: 0;
    color: var(--muted);
    font-size: 1.05rem;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.guide-card {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(7,17,31,.04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
    border-color: rgba(216,121,43,.52);
    box-shadow: var(--shadow);
}

.guide-card__cover {
    min-height: 116px;
    padding: 22px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(7,17,31,.97), rgba(29,49,80,.9)),
        url('../img/page-hero.jpg') center/cover;
}

.guide-card__cover:hover { color: #fff; }
.guide-card__number { font-family: var(--ff-head); font-size: 2.4rem; line-height: 1; color: #f0b784; }
.guide-card__cover i { font-size: .9rem; opacity: .78; }

/* Rehber kartı — gerçek kapak fotoğrafı (üstte lacivert degrade katmanı) */
.guide-card__cover--foto { position: relative; min-height: 170px; overflow: hidden; }
.guide-card__pic { position: absolute; inset: 0; z-index: 0; }
.guide-card__pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.guide-card__cover--foto::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(120deg, rgba(7,17,31,.78), rgba(29,49,80,.52));
}
.guide-card__cover--foto > .guide-card__number,
.guide-card__cover--foto > i { position: relative; z-index: 2; }

/* Blog detay kapak görseli */
.guide-detail__cover { margin: -28px 0 8px; }
.guide-detail__cover .container { max-width: 1100px; }
.guide-detail__cover img {
    width: 100%; height: auto; aspect-ratio: 16 / 8.2; object-fit: cover;
    border-radius: 14px; box-shadow: 0 22px 60px rgba(7,17,31,.22);
}
@media (max-width: 640px) { .guide-detail__cover img { aspect-ratio: 16/10; border-radius: 8px; } }

/* Blog kartı: gerçek foto kapak + okunabilirlik gradyanı */
.blog-card__cover {
    min-height: 200px;
    position: relative;
    background-size: cover;
    background-position: center;
    align-items: flex-end;
    overflow: hidden;
}
.blog-card__cover::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(7,17,31,.12) 0%, rgba(7,17,31,.28) 45%, rgba(7,17,31,.78) 100%);
    transition: background .25s ease;
}
.blog-card:hover .blog-card__cover::before { background: linear-gradient(180deg, rgba(7,17,31,.2), rgba(7,17,31,.62)); }
.blog-card__cover > * { position: relative; z-index: 1; }
.blog-card__cover .guide-card__number { font-size: 1.9rem; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.blog-card__cover img { display: none; }

.guide-card__body { padding: 26px; }
.guide-card__meta { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 14px; color: var(--amber-dark); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.guide-card__meta span:last-child { color: var(--muted); }
.guide-card h2 { font-size: 1.72rem; line-height: 1.1; }
.guide-card h2 a { color: var(--navy); }
.guide-card h2 a:hover { color: var(--amber-dark); }
.guide-card p { min-height: 6.4em; color: var(--muted); font-size: .93rem; }
.guide-card__link { display: inline-flex; align-items: center; gap: .55rem; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.guide-hub-cta { padding: 64px 0; background: var(--navy); color: #fff; }
.guide-hub-cta__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.guide-hub-cta span { color: #f0b784; font-size: .74rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.guide-hub-cta h2 { max-width: 720px; margin: .35rem 0 0; color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); }

/* Detay */
.guide-detail__hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at 82% 20%, rgba(216,121,43,.24), transparent 28%),
        linear-gradient(120deg, var(--navy-dark), var(--navy-2));
}

.guide-detail__hero::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -200px;
    width: 540px;
    height: 540px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 50%;
}

.guide-detail__hero-inner { position: relative; z-index: 1; padding-top: 52px; padding-bottom: 72px; }
.guide-detail__breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 44px; color: #aebbd0; font-size: .82rem; }
.guide-detail__breadcrumb a { color: #f0b784; }
.guide-detail__breadcrumb strong { color: #fff; font-weight: 600; }
.guide-detail__category { margin-bottom: 1.2rem; }
.guide-detail__hero h1 { max-width: 940px; color: #fff; font-size: clamp(2.65rem, 6vw, 5.2rem); }
.guide-detail__hero h1 + p { max-width: 850px; margin: 1.25rem 0 1.8rem; color: #d8e0ec; font-size: clamp(1.05rem, 2vw, 1.22rem); }
.guide-detail__meta { display: flex; flex-wrap: wrap; gap: 14px 28px; color: #b9c4d5; font-size: .82rem; }
.guide-detail__meta i { margin-right: .42rem; color: #f0b784; }

.guide-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 820px) minmax(260px, 330px);
    justify-content: space-between;
    gap: clamp(45px, 7vw, 90px);
    padding-top: 76px;
    padding-bottom: 88px;
}

.guide-detail__content { min-width: 0; }
.guide-answer { position: relative; margin-bottom: 70px; padding: 32px 34px 30px; border-left: 4px solid var(--amber); background: #fff; box-shadow: var(--shadow); }
.guide-answer > span { color: var(--amber-dark); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.guide-answer h2 { margin: .6rem 0 .8rem; font-size: 1.8rem; }
.guide-answer p { margin: 0; color: #3f4b5f; font-size: 1.08rem; }

.guide-section,
.guide-faq { scroll-margin-top: 110px; margin-bottom: 70px; }
.guide-section__index { display: inline-flex; margin-bottom: .7rem; color: var(--amber-dark); font-family: var(--ff-head); font-size: 1.15rem; font-weight: 700; letter-spacing: .08em; }
.guide-section > h2,
.guide-faq > h2 { margin-bottom: 1rem; font-size: clamp(2rem, 3.7vw, 3rem); }
.guide-section > p { color: #3d4858; font-size: 1.04rem; }

.guide-checklist { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.guide-checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); background: rgba(255,255,255,.72); }
.guide-checklist i { display: grid; place-items: center; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--amber-soft); color: var(--amber-dark); font-size: .66rem; }

.guide-steps { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.guide-steps li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.guide-steps > li > span { color: var(--amber-dark); font-family: var(--ff-head); font-size: 1.4rem; }
.guide-steps h3 { margin-bottom: .45rem; font-size: 1.45rem; }
.guide-steps p { margin: 0; color: var(--muted); }

.guide-note { display: grid; grid-template-columns: 32px 1fr; gap: 12px; margin-top: 28px; padding: 20px 22px; border: 1px solid #e7c7aa; background: #fff8ef; color: #71401f; }
.guide-note i { margin-top: .22rem; color: var(--amber-dark); font-size: 1.12rem; }
.guide-note p { margin: 0; }

.guide-faq__list { margin-top: 24px; border-top: 1px solid var(--line); }
.guide-faq details { border-bottom: 1px solid var(--line); }
.guide-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 0; cursor: pointer; color: var(--navy); font-weight: 700; list-style: none; }
.guide-faq summary::-webkit-details-marker { display: none; }
.guide-faq summary i { color: var(--amber-dark); transition: transform .2s; }
.guide-faq details[open] summary i { transform: rotate(45deg); }
.guide-faq details p { padding: 0 44px 22px 0; color: var(--muted); }

.guide-sources { padding: 28px; border: 1px solid var(--line); background: var(--bg-soft); }
.guide-sources h2 { font-size: 1.65rem; }
.guide-sources p { color: var(--muted); font-size: .9rem; }
.guide-sources ul { margin: 1rem 0 0; padding-left: 1.2rem; }
.guide-sources li + li { margin-top: .55rem; }
.guide-sources a { font-size: .9rem; font-weight: 650; }
.guide-sources i { margin-left: .3rem; font-size: .68rem; }

.guide-detail__aside { min-width: 0; }
.guide-toc { position: sticky; top: 112px; padding: 25px 24px; border: 1px solid var(--line); background: #fff; }
.guide-toc > strong { display: block; margin-bottom: 14px; color: var(--navy); font-family: var(--ff-head); font-size: 1.45rem; }
.guide-toc ol { display: grid; gap: 11px; margin: 0; padding-left: 1.25rem; color: var(--amber-dark); }
.guide-toc a { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.guide-toc a:hover { color: var(--amber-dark); }
.guide-toc--mobile { display: none; position: static; margin-bottom: 50px; }

.guide-aside-card,
.guide-aside-cta { margin-top: 24px; padding: 26px 24px; }
.guide-aside-card { border: 1px solid var(--line); background: var(--bg-soft); }
.guide-aside-card > span,
.guide-aside-cta > span { color: var(--amber-dark); font-size: .67rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.guide-aside-card h2,
.guide-aside-cta h2 { margin: .55rem 0 1rem; font-size: 1.6rem; }
.guide-aside-card ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.guide-aside-card li { border-top: 1px solid var(--line); }
.guide-aside-card a { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; color: var(--navy); font-size: .82rem; font-weight: 700; }
.guide-aside-card a:hover { color: var(--amber-dark); }
.guide-aside-cta { background: var(--navy); color: #d7dfeb; }
.guide-aside-cta > span { color: #f0b784; }
.guide-aside-cta h2 { color: #fff; }
.guide-aside-cta p { font-size: .88rem; }
.guide-aside-cta .btn { width: 100%; justify-content: center; }

.guide-related { background: #fff; border-top: 1px solid var(--line); }
.guide-related__head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.guide-related__head > a { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.guide-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-related__grid article { padding: 25px; border: 1px solid var(--line); background: var(--bg); }
.guide-related__grid article > span { color: var(--amber-dark); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.guide-related__grid h3 { margin-top: .7rem; font-size: 1.55rem; }
.guide-related__grid h3 a { color: var(--navy); }
.guide-related__grid p { color: var(--muted); font-size: .88rem; }
.guide-related__grid article > a { font-size: .78rem; font-weight: 700; text-transform: uppercase; }

@media (max-width: 1050px) {
    .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .guide-detail__layout { grid-template-columns: minmax(0, 1fr); }
    .guide-detail__aside .guide-toc { display: none; }
    .guide-toc--mobile { display: block; }
    .guide-detail__aside { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
    .guide-aside-card, .guide-aside-cta { margin-top: 0; }
}

@media (max-width: 760px) {
    .guide-hero { min-height: 350px; }
    .guide-hub__intro { grid-template-columns: 1fr; gap: 18px; }
    .guide-grid, .guide-related__grid { grid-template-columns: 1fr; }
    .guide-card p { min-height: 0; }
    .guide-hub-cta__inner, .guide-related__head { align-items: flex-start; flex-direction: column; }
    .guide-detail__hero-inner { padding-top: 34px; padding-bottom: 52px; }
    .guide-detail__breadcrumb { margin-bottom: 28px; }
    .guide-detail__layout { padding-top: 50px; padding-bottom: 60px; }
    .guide-answer { padding: 26px 24px; }
    .guide-detail__aside { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .guide-card__body { padding: 22px; }
    .guide-detail__meta { display: grid; gap: 8px; }
    .guide-steps li { grid-template-columns: 40px 1fr; gap: 12px; }
    .guide-checklist li { padding: 12px; }
    .guide-sources { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .guide-card { transition: none; }
}
