/* HABER SAYFASI ICERIK DETAY BASLANGIC */
.xnews-detail-shell {
    --xnews-blue-950: #082f49;
    --xnews-blue-900: #0c4a6e;
    --xnews-blue-800: #075985;
    --xnews-blue-700: #0369a1;
    --xnews-blue-600: #0284c7;
    --xnews-blue-500: #0ea5e9;

    --xnews-text: #123047;
    --xnews-heading: #082f49;
    --xnews-bg: #ffffff;

    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--xnews-text);
    font-family: inherit;
}

.xnews-detail-card {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: clamp(26px, 4vw, 64px);
    position: relative;
    overflow: hidden;
    border-radius: 0;
    border: 1px solid rgba(14, 165, 233, 0.14);
    background: var(--xnews-bg);
    box-shadow: none;
}

.xnews-detail-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(14, 165, 233, 0.045) 1px, transparent 1px),
        linear-gradient(180deg, rgba(14, 165, 233, 0.035) 1px, transparent 1px);
    background-size: 54px 54px;
}

.xnews-detail-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(
        90deg,
        var(--xnews-blue-900),
        var(--xnews-blue-600),
        var(--xnews-blue-500)
    );
}

.xnews-detail-spot {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 0 38px;
    padding: clamp(20px, 2.6vw, 32px) clamp(20px, 3.5vw, 40px);
    color: var(--xnews-heading);
    font-size: clamp(22px, 2.1vw, 34px);
    line-height: 1.45;
    font-weight: 800;
    letter-spacing: -0.025em;
    border-radius: 0;
    border-left: 6px solid var(--xnews-blue-600);
    background: #f3faff;
}

.xnews-detail-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1120px;
    color: var(--xnews-text);
    font-size: 18px;
    line-height: 1.9;
    letter-spacing: 0.005em;
    word-spacing: 0.035em;
}

.xnews-detail-content > *:first-child {
    margin-top: 0;
}

.xnews-detail-content > *:last-child {
    margin-bottom: 0;
}

.xnews-detail-content p {
    margin: 0 0 24px;
}

.xnews-detail-content h2,
.xnews-detail-content h3,
.xnews-detail-content h4 {
    margin: 44px 0 18px;
    color: var(--xnews-heading);
    line-height: 1.22;
    letter-spacing: -0.025em;
}

.xnews-detail-content h2 {
    font-size: clamp(28px, 2.8vw, 40px);
}

.xnews-detail-content h3 {
    font-size: clamp(23px, 2.2vw, 31px);
}

.xnews-detail-content h4 {
    font-size: clamp(20px, 1.9vw, 25px);
}

.xnews-detail-content a {
    color: var(--xnews-blue-800);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.xnews-detail-content a:hover,
.xnews-detail-content a:focus-visible {
    color: var(--xnews-blue-600);
    outline: 3px solid rgba(14, 165, 233, 0.25);
    outline-offset: 3px;
}

.xnews-detail-content img {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 36px 0;
    border-radius: 0;
    box-shadow: none;
}

.xnews-detail-content blockquote {
    position: relative;
    margin: 38px 0;
    padding: 28px 32px;
    color: var(--xnews-blue-950);
    font-size: 19px;
    line-height: 1.72;
    font-weight: 700;
    border-radius: 0;
    border-left: 6px solid var(--xnews-blue-600);
    background: #f0f9ff;
}

.xnews-detail-content ul,
.xnews-detail-content ol {
    margin: 28px 0;
    padding-left: 0;
    list-style: none;
}

.xnews-detail-content li {
    position: relative;
    margin-bottom: 12px;
    padding: 14px 18px 14px 46px;
    border-radius: 0;
    background: #f8fcff;
    border-left: 4px solid rgba(14, 165, 233, 0.45);
}

.xnews-detail-content li::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 25px;
    width: 9px;
    height: 9px;
    background: var(--xnews-blue-600);
}

.xnews-detail-content table {
    width: 100%;
    margin: 36px 0;
    border-collapse: collapse;
    border-radius: 0;
    background: #ffffff;
    box-shadow: none;
}

.xnews-detail-content th,
.xnews-detail-content td {
    padding: 16px 18px;
    border: 1px solid rgba(14, 165, 233, 0.2);
    text-align: left;
}

.xnews-detail-content th {
    color: var(--xnews-blue-950);
    font-weight: 900;
    background: #eaf7ff;
}

@media (prefers-reduced-motion: reduce) {
    .xnews-detail-shell *,
    .xnews-detail-shell *::before,
    .xnews-detail-shell *::after {
        transition: none !important;
        animation: none !important;
        scroll-behavior: auto !important;
    }
}

@media (prefers-contrast: more) {
    .xnews-detail-shell {
        --xnews-text: #031926;
        --xnews-heading: #00111c;
    }

    .xnews-detail-card {
        border-color: #005f99;
    }
}

@media (max-width: 768px) {
    .xnews-detail-card {
        padding: 26px 16px;
    }

    .xnews-detail-spot {
        margin-bottom: 30px;
        padding: 20px 18px;
        font-size: 21px;
    }

    .xnews-detail-content {
        max-width: none;
        font-size: 16px;
        line-height: 1.82;
    }

    .xnews-detail-content blockquote {
        padding: 24px 20px;
        font-size: 17px;
    }
}
/* HABER SAYFASI ICERIK DETAY BITIS */

/* ANASAYFA POPUP BASLANGIC */

.popup-modal .modal-backdrop,
.modal-backdrop.show {
    opacity: .72;
}

.popup-modal-dialog {
    max-width: 860px;
}

.popup-modal-content {
    position: relative;
    border: 0;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(145deg, #ffffff 0%, #f6f8ff 100%);
    box-shadow:
        0 30px 90px rgba(15, 23, 42, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.popup-modal-visual-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 12% 10%, rgba(99, 102, 241, .22), transparent 34%),
        radial-gradient(circle at 88% 18%, rgba(14, 165, 233, .20), transparent 30%),
        radial-gradient(circle at 50% 100%, rgba(236, 72, 153, .13), transparent 34%);
}

.popup-modal-content::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(99, 102, 241, .14);
    filter: blur(2px);
}

.popup-modal-content::after {
    content: "";
    position: absolute;
    bottom: -90px;
    left: -70px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(14, 165, 233, .13);
    filter: blur(2px);
}

.popup-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 10;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 23, 42, .78);
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .22s ease;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .28);
}

.popup-modal-close:hover {
    background: #0f172a;
    transform: rotate(90deg) scale(1.06);
}

.popup-modal-close span {
    display: block;
    margin-top: -2px;
}

.popup-modal-body {
    position: relative;
    z-index: 2;
    padding: 26px !important;
}

.popup-modal-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, .76);
    border: 1px solid rgba(255, 255, 255, .78);
    box-shadow:
        0 20px 50px rgba(15, 23, 42, .16),
        inset 0 1px 0 rgba(255, 255, 255, .95);
}

.popup-modal-image-link {
    display: block;
    position: relative;
    overflow: hidden;
    background: #eef2ff;
}

.popup-modal-image-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(15, 23, 42, 0) 55%,
            rgba(15, 23, 42, .18) 100%
        );
    pointer-events: none;
}

.popup-modal-image {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    display: block;
    transition: transform .35s ease, filter .35s ease;
}

.popup-modal-image-link:hover .popup-modal-image {
    transform: scale(1.025);
    filter: saturate(1.05) contrast(1.03);
}

.popup-modal-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, .88);
}

.popup-modal-check {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    user-select: none;
}

.popup-modal-check input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #4f46e5;
    cursor: pointer;
}

.popup-modal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 42px;
    padding: 0 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f46e5, #0ea5e9);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(79, 70, 229, .28);
    transition: all .22s ease;
}

.popup-modal-button:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(79, 70, 229, .36);
}

@media (max-width: 767px) {
    .popup-modal-dialog {
        margin: 12px;
    }

    .popup-modal-content {
        border-radius: 24px;
    }

    .popup-modal-body {
        padding: 14px !important;
    }

    .popup-modal-close {
        top: 14px;
        right: 14px;
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .popup-modal-card {
        border-radius: 20px;
    }

    .popup-modal-image {
        max-height: 66vh;
    }

    .popup-modal-bottom {
        flex-direction: column;
        align-items: stretch;
        padding: 14px;
    }

    .popup-modal-check {
        justify-content: center;
        text-align: center;
    }

    .popup-modal-button {
        width: 100%;
    }
}

/* ANASAYFA POPUP BITIS */

/* ANASAYFA MOBIL UYGULAMA BASLANGIC */
 .kb-app-widget,
    .kb-app-widget * {
      box-sizing: border-box;
    }

    .kb-app-widget {
      --kb-blue-950: #082f49;
      --kb-blue-900: #0c4a6e;
      --kb-blue-700: #0369a1;
      --kb-blue-500: #0ea5e9;
      --kb-blue-300: #7dd3fc;
      --kb-blue-100: #e0f2fe;
      --kb-white: #ffffff;
      --kb-text: #0f172a;
      --kb-muted: #64748b;
      --kb-line: rgba(14, 165, 233, 0.28);

      width: 100%;
      padding: 0;
      font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--kb-text);
    }

    .kb-app-wrap {
      position: relative;
      isolation: isolate;
      display: grid;
      grid-template-columns: 1fr minmax(320px, 470px);
      width: 100%;
      min-height: 230px;
      overflow: hidden;
      border-top: 1px solid var(--kb-line);
      border-bottom: 1px solid var(--kb-line);
      background: linear-gradient(115deg, rgba(224, 242, 254, 0.96) 0%, rgba(255,255,255,0.98) 48%, rgba(186, 230, 253, 0.72) 100%);
    }

    .kb-app-wrap::before {
      content: "MOBİL";
      position: absolute;
      left: 34px;
      bottom: -34px;
      z-index: -1;
      color: rgba(14, 165, 233, 0.08);
      font-size: clamp(86px, 14vw, 190px);
      line-height: 0.75;
      font-weight: 1000;
      letter-spacing: -0.09em;
      pointer-events: none;
    }

    .kb-app-wrap::after {
      content: "";
      position: absolute;
      inset: 0;
      z-index: -2;
      background:
        linear-gradient(90deg, rgba(14, 165, 233, 0.13) 1px, transparent 1px) 0 0 / 44px 44px,
        linear-gradient(0deg, rgba(14, 165, 233, 0.1) 1px, transparent 1px) 0 0 / 44px 44px;
      mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
      pointer-events: none;
    }

    .kb-app-main {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 42px 46px;
    }

    .kb-brand-script {
      width: fit-content;
      margin-bottom: 16px;
      color: var(--kb-blue-900);
      font-family: "Brush Script MT", "Segoe Script", "Lucida Handwriting", cursive;
      font-size: clamp(25px, 3vw, 38px);
      line-height: 1;
      font-weight: 500;
    }

    .kb-headline {
      max-width: 760px;
      margin: 0;
      color: var(--kb-text);
      font-size: clamp(34px, 5vw, 72px);
      line-height: 0.9;
      letter-spacing: -0.07em;
      font-weight: 1000;
    }

    .kb-headline span {
      display: inline-block;
      position: relative;
      color: var(--kb-blue-500);
    }

    .kb-headline span::after {
      content: "";
      position: absolute;
      left: 4px;
      right: -8px;
      bottom: 4px;
      z-index: -1;
      height: 16px;
      background: rgba(125, 211, 252, 0.55);
    }

    .kb-desc {
      max-width: 620px;
      margin: 22px 0 0;
      color: var(--kb-muted);
      font-size: 16px;
      line-height: 1.65;
      font-weight: 600;
    }

    .kb-app-side {
      position: relative;
      display: grid;
      grid-template-columns: 1fr;
      border-left: 1px solid var(--kb-line);
      background: linear-gradient(160deg, var(--kb-blue-950), var(--kb-blue-700));
      color: #ffffff;
    }

    .kb-app-side::before {
      content: "YAKINDA";
      position: absolute;
      top: 20px;
      right: -8px;
      color: rgba(255, 255, 255, 0.08);
      font-size: 64px;
      line-height: 1;
      font-weight: 1000;
      letter-spacing: -0.06em;
      writing-mode: vertical-rl;
      pointer-events: none;
    }

    .kb-soon-panel {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: 230px;
      padding: 34px;
    }

    .kb-soon-label {
      display: inline-flex;
      width: fit-content;
      margin-bottom: 24px;
      padding: 9px 12px;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.22);
      color: var(--kb-blue-100);
      font-size: 12px;
      font-weight: 900;
      letter-spacing: 0.18em;
      text-transform: uppercase;
    }

    .kb-store-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1px;
      background: rgba(255, 255, 255, 0.18);
      border: 1px solid rgba(255, 255, 255, 0.18);
    }

    .kb-store-btn {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      min-height: 82px;
      padding: 16px;
      color: #ffffff;
      background: rgba(255, 255, 255, 0.08);
      text-decoration: none;
      white-space: nowrap;
      overflow: hidden;
      transition: background 0.18s ease, transform 0.18s ease;
    }

    .kb-store-btn::after {
      content: "";
      position: absolute;
      inset: auto 0 0 0;
      height: 4px;
      background: var(--kb-blue-300);
      transform: translateY(4px);
      transition: transform 0.18s ease;
    }

    .kb-store-btn:hover,
    .kb-store-btn:focus-visible {
      background: rgba(255, 255, 255, 0.16);
      outline: none;
    }

    .kb-store-btn:hover::after,
    .kb-store-btn:focus-visible::after {
      transform: translateY(0);
    }

    .kb-store-btn svg {
      flex: 0 0 auto;
      width: 38px;
      height: 38px;
      filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.18));
    }

    .kb-store-text {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .kb-store-small {
      color: rgba(255, 255, 255, 0.68);
      font-size: 10px;
      line-height: 1;
      font-weight: 900;
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .kb-store-name {
      color: #ffffff;
      font-size: 16px;
      line-height: 1;
      font-weight: 950;
      letter-spacing: -0.03em;
    }

    .kb-status-line {
      display: grid;
      grid-template-columns: 44px 1fr;
      gap: 12px;
      align-items: center;
      margin-top: 24px;
      color: rgba(255, 255, 255, 0.76);
      font-size: 13px;
      line-height: 1.45;
      font-weight: 650;
    }

    .kb-status-line::before {
      content: "";
      height: 2px;
      background: var(--kb-blue-300);
    }

    @media (max-width: 980px) {
      .kb-app-wrap {
        grid-template-columns: 1fr;
      }

      .kb-app-side {
        border-left: 0;
        border-top: 1px solid var(--kb-line);
      }

      .kb-soon-panel {
        min-height: auto;
      }
    }

    @media (max-width: 560px) {
      .kb-app-main {
        padding: 34px 24px;
      }

      .kb-store-row {
        grid-template-columns: 1fr;
      }

      .kb-store-btn {
        justify-content: flex-start;
      }
    }
    /* ANASAYFA MOBIL UYGULAMA BITIS */

    .modern-contact-form {
    margin: 0;
    width: 100%;
}

.contact-card {
    position: relative;
    padding: 42px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,255,255,.82)),
        radial-gradient(circle at top right, rgba(37,99,235,.18), transparent 35%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.16), transparent 35%);
    box-shadow: 0 24px 70px rgba(15, 23, 42, .12);
    border: 1px solid rgba(255,255,255,.65);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    border-radius: 50%;
    opacity: .13;
}

.form-header {
    position: relative;
    margin-bottom: 30px;
}

.form-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .1);
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
}

.form-header h3 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.04em;
}

.form-header p {
    margin: 0;
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
}

.form-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.input-wrap,
.textarea-wrap {
    position: relative;
}

.input-wrap .icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: #2563eb;
    font-size: 17px;
    z-index: 2;
}

.input-wrap input,
.textarea-wrap textarea {
    width: 100%;
    border: 1px solid #e2e8f0;
    outline: none;
    background: rgba(248, 250, 252, .9);
    color: #0f172a;
    font-size: 15px;
    border-radius: 16px;
    transition: all .25s ease;
}

.input-wrap input {
    height: 58px;
    padding: 0 18px 0 52px;
}

.textarea-wrap textarea {
    min-height: 150px;
    padding: 18px;
    resize: vertical;
}

.input-wrap input::placeholder,
.textarea-wrap textarea::placeholder {
    color: #94a3b8;
}

.input-wrap input:focus,
.textarea-wrap textarea:focus {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}

.modern-submit {
    position: relative;
    width: 100%;
    height: 60px;
    margin-top: 24px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 18px 36px rgba(37, 99, 235, .28);
    transition: all .25s ease;
}

.modern-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(37, 99, 235, .36);
}

.modern-submit:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .contact-card {
        padding: 28px 22px;
        border-radius: 22px;
    }

    .form-header h3 {
        font-size: 26px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .modern-submit {
        height: 56px;
    }
}