/* entegrasyon-yenileme.css — /entegrasyonlar (R5): kanal gruplari, kartlar, ekran goruntuleri.
   icerik-sayfa.css (--pcrm-*) ve portal-agi.css (.pn-grid / .pn-item) ile birlikte yuklenir; yeni renk ya da yazi tipi tanimlamaz. */

.eg-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto; max-width: 860px; }
.eg-jump a { display: inline-block; padding: 8px 16px; border: 1px solid var(--pcrm-border); border-radius: 999px; background: #fff; color: var(--pcrm-primary); font-size: 14.5px; font-weight: 600; line-height: 1.4; text-decoration: none; }
.eg-jump a:hover, .eg-jump a:focus-visible { border-color: var(--pcrm-primary); background: var(--pcrm-light); }

.eg-page { color: var(--pcrm-text); font-family: 'Poppins', sans-serif; }
.eg-group { padding: 44px 0 40px; }
.eg-group--tint { background: var(--pcrm-light); }
.eg-h2 { font-size: 30px; line-height: 1.25; font-weight: 700; color: var(--pcrm-dark); margin: 0 0 8px; text-align: center; }
.eg-h3 { font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--pcrm-dark); margin: 0 0 8px; text-align: center; }
.eg-lead { max-width: 760px; margin: 0 auto 26px; text-align: center; font-size: 16.5px; line-height: 1.65; color: var(--pcrm-muted); }
.eg-lead--sm { font-size: 16px; margin-bottom: 18px; }
.eg-lead a { color: var(--pcrm-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.eg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1240px; margin: 0 auto; align-items: stretch; }
.eg-card { background: #fff; border: 1px solid var(--pcrm-border); border-radius: 14px; padding: 22px 20px 22px; display: flex; flex-direction: column; align-items: stretch; min-width: 0; box-shadow: 0 2px 10px rgba(2,32,65,.05); }
.eg-group--tint .eg-card { background: #fff; }
.eg-card--wide { grid-column: span 1; }
.eg-logo { display: flex; align-items: center; justify-content: center; height: 64px; margin: 0 0 14px; background: #fff; border: 1px solid var(--pcrm-border); border-radius: 10px; padding: 8px 12px; overflow: hidden; }
.eg-logo img { display: block; max-width: 160px; max-height: 44px; width: auto; height: auto; object-fit: contain; }

.eg-logo--dark { background: var(--pcrm-dark); border-color: var(--pcrm-dark); }
/* 200x100 logo canvases carry empty margins: show them at natural size, centred and clipped by the 64px box so the mark is not tiny */
.eg-logo img[width="200"] { max-width: none; max-height: none; width: 200px; height: 100px; margin: -18px 0; }
.eg-kicker { margin: 0 0 2px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--pcrm-primary); }
.eg-name { font-size: 19px; line-height: 1.3; font-weight: 700; color: var(--pcrm-dark); margin: 0 0 8px; text-align: left; }
.eg-desc { margin: 0 0 12px; font-size: 16px; line-height: 1.65; color: var(--pcrm-text); }
.eg-facts { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--pcrm-border); display: grid; gap: 6px; }
.eg-facts li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.5; color: var(--pcrm-text); }
.eg-facts li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 6px; height: 11px; border: solid var(--pcrm-success); border-width: 0 2px 2px 0; transform: rotate(40deg); }

.eg-shots { display: flex; flex-wrap: nowrap; justify-content: center; gap: 14px; margin: 16px 0 4px; }
.eg-shots figure { margin: 0; flex: 0 1 50%; min-width: 0; text-align: center; }
.eg-shots--one figure { flex: 0 1 auto; width: 100%; max-width: 260px; }
.eg-shots img { display: block; width: 100%; height: auto; border: 1px solid var(--pcrm-border); border-radius: 12px; }
.eg-shots figcaption, .eg-wide-shot figcaption, .eg-banner figcaption { margin-top: 6px; font-size: 12.5px; line-height: 1.4; color: var(--pcrm-muted); text-align: center; }
.eg-note { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--pcrm-muted); }

.eg-strip { max-width: 1240px; margin: 36px auto 0; }
.eg-logos { grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.eg-logo-item { padding: 8px 4px 7px; gap: 3px; }
.eg-logo-item .pn-name { font-size: 10.5px; line-height: 1.25; }

.eg-banner { max-width: 460px; margin: 32px auto 0; }
.eg-banner img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--pcrm-border); }

.eg-mls { max-width: 1240px; margin: 40px auto 0; }
.eg-wide-shot { margin: 0 auto; max-width: 900px; }
.eg-wide-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--pcrm-border); border-radius: 12px; box-shadow: 0 4px 18px rgba(2,32,65,.08); background: #fff; }

@media (max-width: 700px) {
    .eg-group { padding: 30px 0 28px; }
    .eg-h2 { font-size: 24px; }
    .eg-h3 { font-size: 19px; }
    .eg-lead { font-size: 16px; margin-bottom: 20px; }
    .eg-grid { grid-template-columns: 1fr; gap: 16px; }
    .eg-card { padding: 18px 16px; }
    .eg-jump { gap: 8px; }
    .eg-jump a { padding: 7px 12px; font-size: 13.5px; }
    .eg-logos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .eg-wide-shot img { max-width: 420px; margin: 0 auto; }
}

.eg-more { margin: 14px 0 0; }
.eg-more a { color: var(--pcrm-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.eg-more a:focus-visible { outline: 3px solid var(--pcrm-primary); outline-offset: 2px; }

/* R7: /entegrasyonlar/immoviewer. Uses .pcrm-hero (icerik-sayfa.css) and the .eg-* cards above; only the pieces below are new. */
.iv-hero { padding-bottom: 64px; }
.iv-hero-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: center; }
html body .iv-hero h1 { font-size: clamp(30px, 4.6vw, 48px); line-height: 1.15; margin: 0 0 18px; color: #fff !important; }
.iv-hero .pcrm-hero-sub { margin-bottom: 28px; max-width: 600px; }
.iv-back { display: inline-block; text-decoration: none; margin: 0 0 22px; }
.iv-back::before { content: "\2190\00a0"; }
.iv-hero-badge { display: flex; flex-direction: column; gap: 0; padding: 10px; background: #fff; border-radius: 16px; box-shadow: 0 12px 32px rgba(2,32,65,.25); overflow: hidden; }
.iv-hero-shot { display: block; width: 100%; height: auto; aspect-ratio: 795 / 360; border: 1px solid var(--pcrm-border); border-radius: 10px; }
.iv-badge-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 6px 4px; }
.iv-badge-logo { display: block; width: 96px; max-width: 40%; height: auto; flex: none; }
.iv-badge-note { font-size: 13px; line-height: 1.4; color: var(--pcrm-muted); text-align: right; }

.iv-card { align-items: flex-start; }
.iv-ico { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 0 12px; border-radius: 50%; background: #eaf2fb; color: var(--pcrm-primary); font-size: 19px; }

.iv-steps { list-style: none; counter-reset: iv; margin: 0 auto; padding: 0; max-width: 820px; display: grid; gap: 16px; }
.iv-step { counter-increment: iv; position: relative; background: #fff; border: 1px solid var(--pcrm-border); border-radius: 14px; padding: 18px 20px 18px 74px; }
.iv-step::before { content: counter(iv); position: absolute; left: 20px; top: 18px; width: 40px; height: 40px; border-radius: 50%; background: var(--pcrm-primary); color: #fff; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.iv-step .eg-desc { margin-bottom: 0; }
.iv-ways { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; }
.iv-ways li { font-size: 15px; line-height: 1.6; color: var(--pcrm-text); }
.iv-shot { margin: 16px 0 0; }
.iv-shot img { display: block; width: 100%; max-width: 600px; height: auto; border: 1px solid var(--pcrm-border); border-radius: 12px; }
.iv-shot figcaption { margin-top: 6px; font-size: 12.5px; color: var(--pcrm-muted); }

.iv-center { text-align: center; }
html body .iv-page .iv-narrow { max-width: 880px; margin-left: auto; margin-right: auto; }
.iv-left { text-align: left; }
.iv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 12px 26px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 2px solid var(--pcrm-primary); }
.iv-btn--primary { background: var(--pcrm-primary); color: #fff !important; }
.iv-btn--primary:hover { background: var(--pcrm-dark); border-color: var(--pcrm-dark); }
.iv-btn--ghost { background: #fff; color: var(--pcrm-primary) !important; }
.iv-btn--ghost:hover { background: var(--pcrm-light); }
.iv-btn:focus-visible, .iv-contact-list a:focus-visible, .iv-back:focus-visible { outline: 3px solid var(--pcrm-primary); outline-offset: 2px; }
.iv-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

.iv-contact-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; max-width: 1000px; margin: 0 auto; padding: 26px; background: #fff; border: 1px solid var(--pcrm-border); border-radius: 16px; }
.iv-contact-list dl { margin: 0 0 8px; display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }
.iv-contact-list dt { font-weight: 700; color: var(--pcrm-dark); }
.iv-contact-list dd { margin: 0; overflow-wrap: anywhere; }
.iv-contact-list a { color: var(--pcrm-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.iv-footnote { margin-top: 18px; }

@media (max-width: 860px) {
    .iv-hero { padding: 124px 0 40px; }
    .iv-hero-grid { grid-template-columns: 1fr; gap: 26px; }
    .iv-hero-badge { max-width: 440px; width: 100%; margin: 0 auto; }
    .iv-contact-box { grid-template-columns: 1fr; padding: 20px 16px; }
    .iv-contact-list dl { grid-template-columns: 1fr; gap: 0; }
    .iv-contact-list dd { margin-bottom: 8px; }
    .iv-step { padding: 16px 16px 16px 64px; }
    .iv-step::before { left: 14px; top: 16px; width: 36px; height: 36px; font-size: 16px; }
}
.eg-more { margin: 14px 0 0; font-size: 15px; line-height: 1.55; color: var(--pcrm-muted); }
.eg-more a { color: var(--pcrm-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.eg-more a:hover, .eg-more a:focus-visible { color: var(--pcrm-dark); }

/* R5-ek: four-card groups (4 columns, 2x2 below 1200px), equal-height cards, lead text of 2-3 lines, details below, screenshot bands outside the cards. */
.eg-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1199px) { .eg-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .eg-grid--4 { grid-template-columns: 1fr; } }
#yurt-disi-aglari .eg-card .eg-name { min-height: 2.6em; }
.eg-desc--lead { font-size: 15px; line-height: 1.6; min-height: 4.8em; }
.eg-detail { margin: 14px 0 0; }
.eg-detail summary { cursor: pointer; display: inline-block; min-height: 24px; color: var(--pcrm-primary); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.eg-detail summary:focus-visible { outline: 3px solid var(--pcrm-primary); outline-offset: 2px; }
.eg-detail .eg-desc { margin: 10px 0 0; font-size: 15px; }
.eg-card .eg-facts { margin-top: auto; }
.eg-card .eg-desc--lead + .eg-facts { margin-top: 0; }
.eg-card > .eg-more { margin-top: auto; padding-top: 12px; }
.eg-logo--icon { gap: 10px; color: var(--pcrm-dark); font-size: 17px; font-weight: 700; }
.eg-logo--icon i { font-size: 22px; color: var(--pcrm-primary); }

.eg-shotband { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; max-width: 1240px; margin: 28px auto 0; }
.eg-shotband figure { margin: 0; width: 230px; flex: 0 0 230px; text-align: center; }
.eg-shotband img { display: block; width: 100%; aspect-ratio: 1 / 2; height: auto; object-fit: cover; object-position: top center; border: 1px solid var(--pcrm-border); border-radius: 12px; background: #fff; }
.eg-shotband figcaption { margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--pcrm-muted); }
.eg-shotband figcaption strong { display: block; color: var(--pcrm-dark); font-size: 14px; }
.eg-note--center { text-align: center; margin-top: 12px; }
@media (max-width: 700px) {
    .eg-shotband { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding: 4px 2px 12px; -webkit-overflow-scrolling: touch; }
    .eg-shotband figure { flex: 0 0 58vw; width: 58vw; max-width: 240px; scroll-snap-align: center; }
    .eg-shotband:focus-visible { outline: 3px solid var(--pcrm-primary); outline-offset: 2px; }
}

/* Portal links row, scope table and short answers sit in the same 1240px column as the card groups. */
.pcrm-page .pcrm-table-wrap.h82-wrap { max-width: 1240px; }
.pcrm-page .h82-table th:first-child, .pcrm-page .h82-table td:first-child { position: sticky; left: 0; z-index: 1; }
.pcrm-page .h82-table thead th:first-child { background: #03264d; }
.pcrm-page .h82-table tbody td:first-child { background: #fff; box-shadow: 1px 0 0 var(--pcrm-border); }
.pcrm-page .h82-table tbody tr:nth-child(even) td:first-child { background: #fafcff; }
html body .container.ph627-hub > h2, html body .container.ph627-hub > ul { max-width: 1240px; margin-left: auto; margin-right: auto; }

/* R7b: equal card rows, centered last row, FAQ accordion on the shared .pcrm-faq look */
.iv-grid { display: flex; flex-wrap: wrap; justify-content: center; align-items: stretch; gap: 20px; }
.iv-grid > .iv-card { flex: 0 1 calc((100% - 40px) / 3); min-width: 0; box-sizing: border-box; }
.iv-faq { max-width: 880px; margin: 0 auto; }
.iv-faq-item { margin-bottom: 12px; }
.iv-faq-item > summary { list-style: none; }
.iv-faq-item > summary::-webkit-details-marker { display: none; }
.iv-faq-item .pcrm-faq-q { padding: 18px 22px; font-size: 16.5px; }
.iv-faq-item .pcrm-faq-q h3 { margin: 0; font-size: inherit; font-weight: 600; color: var(--pcrm-dark); text-align: left; line-height: 1.4; }
.iv-faq-item[open] .pcrm-faq-q i { transform: rotate(180deg); }
.iv-faq-item .pcrm-faq-q:focus-visible { outline: 3px solid var(--pcrm-primary); outline-offset: -3px; }
.iv-faq-a { margin: 0; padding: 0 22px 20px; font-size: 15.5px; line-height: 1.7; color: var(--pcrm-muted); }
@media (max-width: 900px) { .iv-grid > .iv-card { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 700px) { .iv-grid { gap: 16px; } .iv-grid > .iv-card { flex-basis: 100%; } .iv-faq-item .pcrm-faq-q { padding: 15px 16px; } .iv-faq-a { padding: 0 16px 16px; } }
html body .iv-faq { margin-top: 22px; }
html body .iv-faq-item > summary.pcrm-faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; box-sizing: border-box; cursor: pointer; }
html body .iv-faq-item > summary.pcrm-faq-q h3 { margin: 0; color: var(--pcrm-dark); font-size: 16.5px; font-weight: 600; text-align: left; }
html body .iv-faq-item > summary.pcrm-faq-q i { display: inline-block; flex: 0 0 auto; color: var(--pcrm-accent); transition: transform .25s; }
html body .iv-page .iv-narrow > * { max-width: 880px; margin-left: auto; margin-right: auto; }
html body .iv-page .iv-narrow > .eg-h2 { margin-bottom: 12px; }

/* portal cards on the home page link here by id; keep the card clear of the sticky header */
.eg-card[id] { scroll-margin-top: 130px; }
/* V49 (01.11) BEGIN: partner cards, kicker line reserved for two lines so name and description start at the same y */
.eg-card > .eg-kicker { min-height: 2.8em; line-height: 1.4; }
/* V49 END */
