/* Ana sayfa: haber kartı ve şirket tanıtım alanı. */
.home-actions .solid-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.home-actions .solid-link span {
    position: absolute;
    right: 13px;
    margin-left: 0;
    line-height: 1;
}

.home-process {
    position: relative;
    overflow: hidden;
    padding: clamp(58px, 7vw, 88px) 0;
    background: #f1f5fa;
}

.home-process .home-section-heading {
    margin-bottom: 25px;
}

.home-process .page-section-heading {
    max-width: 18ch;
    font-size: clamp(30px, 3.8vw, 43px);
}

.home-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.home-process-grid article {
    position: relative;
    min-width: 0;
    min-height: 220px;
    padding: 25px 24px 24px;
    overflow: hidden;
    border: 1px solid #dce6f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(26, 53, 82, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.home-process-grid article:hover {
    transform: translateY(-4px);
    border-color: #a9c4de;
    box-shadow: 0 18px 34px rgba(26, 53, 82, .11);
}

.home-process-grid article > span {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    margin-bottom: 24px;
    border: 1px solid #d7e5f2;
    border-radius: 14px;
    background: #edf4fb;
    color: #1c5ca6;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .04em;
}

.home-process-grid article:nth-child(2) > span {
    border-color: #f3d9dc;
    background: #fff1f2;
    color: #d93440;
}

.home-process-grid article:nth-child(3) > span {
    border-color: #dce5ef;
    background: #f3f6fa;
    color: #173f68;
}

.home-process-grid h3 {
    margin: 0 0 10px;
    color: #17324d;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -.02em;
}

.home-process-grid p {
    max-width: 42ch;
    margin: 0;
    color: #607286;
    font-size: 14px;
    line-height: 1.75;
}

.home-news-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    align-items: stretch;
    gap: 22px;
}

.home-news-grid .home-news-featured {
    min-width: 0;
    min-height: 0;
}

.home-news-grid .home-news-featured > a {
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: 320px;
    height: 100%;
    grid-template-columns: minmax(150px, 0.72fr) minmax(0, 1.28fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.home-news-grid .home-news-featured img,
.home-news-grid .home-news-featured .home-news-art {
    position: relative;
    display: grid;
    width: 100%;
    min-width: 0;
    min-height: 100%;
    height: 100%;
    aspect-ratio: auto;
    place-items: center;
    object-fit: cover;
    overflow: hidden;
    background-color: #173f68;
    background-image:
        radial-gradient(circle at 25% 22%, rgba(255, 255, 255, .13), transparent 32%),
        linear-gradient(145deg, #1c5ca6 0%, #173f68 66%, #172b4d 100%);
    color: transparent;
    font-size: 0;
}

.home-news-grid .home-news-featured .home-news-art::before {
    width: 112px;
    height: 112px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 0 18px rgba(255, 255, 255, .045),
        0 0 0 38px rgba(255, 255, 255, .025);
    content: "";
}

.home-news-grid .home-news-featured .home-news-art::after {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f34b55;
    box-shadow: 0 0 0 8px rgba(243, 75, 85, .16);
    content: "";
}

.home-news-grid .home-news-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 13px;
    padding: clamp(22px, 3vw, 34px);
    overflow-wrap: anywhere;
}

.home-news-grid .home-news-copy small {
    line-height: 1.5;
}

.home-news-grid .home-news-copy strong {
    max-width: 24ch;
    font-size: clamp(21px, 2.2vw, 29px);
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.home-news-grid .home-news-copy > span {
    display: -webkit-box;
    max-width: 58ch;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.home-news-grid .home-news-copy time {
    margin-top: 2px;
}

.home-news-grid .home-news-list > article {
    min-width: 0;
    overflow-wrap: anywhere;
}

.home-news-grid .home-news-list {
    gap: 16px;
}

.home-news-grid .home-news-list h3,
.home-news-grid .home-news-copy strong {
    display: block;
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
}

.home-service-grid .solution-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-self: flex-start;
    justify-self: start;
    place-items: center;
    margin: 0 0 20px;
    padding: 0;
    line-height: 0;
}

.home-service-grid .solution-icon svg {
    display: block;
    width: 24px;
    height: 24px;
    margin: auto;
}

.home-service-grid .solution-tile > span:not(.solution-icon) {
    margin-top: auto;
    padding-top: 18px;
}

.home-about {
    position: relative;
    overflow: hidden;
    padding: clamp(58px, 7vw, 92px) 0;
    background:
        radial-gradient(ellipse at 12% 110%, rgba(227, 30, 40, .26), transparent 37%),
        linear-gradient(116deg, #173f68 0%, #1c5ca6 58%, #174a83 100%);
    color: #fff;
}

.home-about::before {
    position: absolute;
    top: -170px;
    right: -100px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(255, 255, 255, .035), 0 0 0 70px rgba(255, 255, 255, .025);
    content: "";
    pointer-events: none;
}

.home-about-grid {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 64px));
    grid-template-columns: minmax(190px, .7fr) minmax(0, 1.3fr);
    gap: clamp(36px, 7vw, 88px);
}

.home-about-mark {
    width: min(100%, 230px);
    height: 230px;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 32px;
    background: rgba(255, 255, 255, .1);
    box-shadow: 0 24px 60px rgba(10, 29, 53, .2);
    color: #fff;
    backdrop-filter: blur(8px);
}

.home-about-mark::before,
.home-about-mark::after {
    border-color: rgba(255, 255, 255, .15);
    border-radius: 26px;
}

.home-about-mark span {
    color: #fff;
    font-size: 112px;
    line-height: 1;
}

.home-about-mark img {
    display: block;
    width: 112px;
    height: 112px;
    object-fit: contain;
}

.home-about-mark i {
    color: #ff5660;
}

.home-about-grid .page-kicker {
    color: #d9e9fb;
}

.home-about-grid .page-kicker::before {
    background: #f14952;
}

.home-about-grid .page-section-heading {
    max-width: 17ch;
    color: #fff;
}

.home-about-grid .page-section-heading em {
    color: #ff7b82;
}

.home-about-grid p {
    max-width: 62ch;
    color: rgba(255, 255, 255, .82);
    line-height: 1.85;
}

.home-about-grid .home-text-link {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 0 17px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 9px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .18s ease, border-color .18s ease;
}

.home-about-grid .home-text-link:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .12);
}

.news-hub-card h3,
.news-hub-latest-copy h3 {
    display: block;
    max-width: none;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    -webkit-line-clamp: unset;
}

@media (max-width: 900px) {
    .home-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-process-grid article:last-child {
        grid-column: 1 / -1;
        min-height: 0;
    }

    .home-news-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-news-grid .home-news-featured > a {
        min-height: 290px;
    }
}

@media (max-width: 640px) {
    .home-process {
        padding: 48px 0;
    }

    .home-process .home-section-heading {
        align-items: flex-start;
    }

    .home-process-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .home-process-grid article,
    .home-process-grid article:last-child {
        min-height: 0;
        padding: 20px;
    }

    .home-process-grid article:last-child {
        grid-column: auto;
    }

    .home-process-grid article > span {
        width: 42px;
        height: 42px;
        margin-bottom: 17px;
    }

    .home-process-grid h3 {
        font-size: 17px;
    }

    .home-news-grid {
        gap: 13px;
    }

    .home-service-grid .solution-icon {
        grid-column: 1;
        grid-row: 1 / span 3;
        align-self: start;
        justify-self: center;
        margin: 0;
    }

    .home-service-grid .solution-tile > span:not(.solution-icon) {
        grid-column: 2;
        justify-self: start;
        padding-top: 8px;
    }

    .home-news-grid .home-news-featured > a {
        min-height: 0;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: 112px auto;
    }

    .home-news-grid .home-news-featured img,
    .home-news-grid .home-news-featured .home-news-art {
        min-height: 112px;
        height: 112px;
    }

    .home-news-grid .home-news-featured .home-news-art::before {
        width: 64px;
        height: 64px;
        box-shadow: 0 0 0 12px rgba(255, 255, 255, .045),
            0 0 0 25px rgba(255, 255, 255, .025);
    }

    .home-news-grid .home-news-copy {
        gap: 10px;
        padding: 19px;
    }

    .home-news-grid .home-news-copy strong {
        font-size: 22px;
    }

    .home-news-grid .home-news-copy > span {
        -webkit-line-clamp: 3;
    }

    .home-about {
        padding: 48px 0;
    }

    .home-about-grid {
        width: calc(100% - 36px);
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .home-about-mark {
        width: 132px;
        height: 132px;
        border-radius: 24px;
    }

    .home-about-mark span {
        font-size: 72px;
    }

    .home-about-mark img {
        width: 76px;
        height: 76px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-about-grid .home-text-link {
        transition: none;
    }
}

/* Homepage service cards: give icons and copy their own breathing room. */
.home-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.home-service-grid .solution-tile {
    display: grid;
    min-height: 238px;
    grid-template-columns: 68px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    align-content: start;
    column-gap: 20px;
    row-gap: 0;
    padding: 28px 30px;
}
.home-service-grid .solution-icon {
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 60px;
    height: 60px;
    justify-self: center;
    align-self: start;
    margin: 0;
    border-radius: 18px;
}
.home-service-grid .solution-icon svg { width: 28px; height: 28px; }
.home-service-grid .solution-tile small { grid-column: 2; grid-row: 1; align-self: center; margin: 2px 0 8px; }
.home-service-grid .solution-tile h2 { grid-column: 2; grid-row: 2; margin: 0 0 8px; line-height: 1.35; }
.home-service-grid .solution-tile p { grid-column: 2; grid-row: 3; margin: 0; line-height: 1.7; }
.home-service-grid .solution-tile > span:not(.solution-icon) { grid-column: 2; grid-row: 4; justify-self: start; margin-top: 15px; padding-top: 0; }

/* Use the brand initial in the editorial placeholder instead of a logo mark. */
.home-news-grid .home-news-featured .home-news-art {
    position: relative;
    color: #fff !important;
    font-size: 76px !important;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.08em;
}
.home-news-grid .home-news-featured .home-news-art::before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.home-about-mark span { position: relative; z-index: 1; color: #fff; }

/* Put the red brand accent below the K so it reads as a finishing detail. */
.home-news-grid .home-news-featured .home-news-art::after {
    top: calc(50% + 45px);
    left: 50%;
    transform: translateX(-50%);
    width: 9px;
    height: 9px;
    box-shadow: 0 0 0 6px rgba(243, 75, 85, .16);
}

@media(max-width:900px) {
    .home-service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media(max-width:640px) {
    .home-service-grid { grid-template-columns: minmax(0,1fr); gap:14px; }
    .home-service-grid .solution-tile { min-height:190px; grid-template-columns:58px minmax(0,1fr); column-gap:18px; padding:22px 20px; }
    .home-service-grid .solution-icon {
        position: relative;
        top: auto;
        right: auto;
        grid-column: 1;
        grid-row: 1 / -1;
        align-self: center;
        justify-self: center;
        width: 52px;
        height: 52px;
        margin: 0;
        border-radius: 16px;
    }
    .home-service-grid .solution-icon svg { width:25px; height:25px; }
    .home-news-grid .home-news-featured .home-news-art { font-size:58px !important; }
    .home-news-grid .home-news-featured .home-news-art::after { top: calc(50% + 35px); }
}
