/* Nokta Özet — buton + slide panel */

:root {
    --hc-nokta-bg: var(--hc-orange, #ec671b);
    --hc-nokta-bg-hover: #d15814;
    --hc-nokta-text: #ffffff;
    --hc-nokta-head: linear-gradient(145deg, #1a0a2e 0%, #2d1b4e 55%, #1f1038 100%);
}

/* ---------- Buton ---------- */
.hc-nokta-ozet-btn {
    position: relative;
    flex-shrink: 0;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .02em;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: var(--hc-nokta-bg);
    color: var(--hc-nokta-text);
    cursor: pointer;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(26, 10, 46, .28);
    transition: background .15s, transform .15s, box-shadow .15s;
    z-index: 6;
    font-family: inherit;
}
.hc-nokta-ozet-btn:hover {
    background: var(--hc-nokta-bg-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(26, 10, 46, .34);
}
.hc-nokta-ozet-btn:active {
    transform: translateY(0);
}
.hc-nokta-ozet-btn:focus-visible {
    outline: 2px solid rgba(236, 103, 27, .45);
    outline-offset: 2px;
}

.hc-nokta-pos-tr {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: .8rem;
    padding: 7px 15px;
}
.hc-nokta-pos-br {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: .76rem;
    padding: 6px 13px;
}
.hc-nokta-pos-foot {
    position: static;
    align-self: flex-end;
    margin-top: 8px;
    font-size: .68rem;
    padding: 5px 11px;
}

.hc-savunma-mini,
.hc-savunma-mini-body,
.hc-magazin-list-body {
    position: relative;
}
.hc-savunma-mini-body,
.hc-magazin-list-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}
.hc-savunma-mini-body {
    padding: 10px 12px 12px;
}
.hc-magazin-list-body {
    padding: 4px 8px 8px 0;
    justify-content: space-between;
}

.hc-savunma-card,
.hc-magazin-feature,
.hc-magazin-list-item {
    position: relative;
}

/* Yan kart: buton sağ üst, başlık altına taşmasın */
.hc-savunma-card .hc-savunma-card-body {
    padding-top: 38px;
    padding-right: 10px;
    justify-content: flex-start;
}
.hc-savunma-card .hc-nokta-pos-tr {
    top: 8px;
    right: 8px;
    font-size: .68rem;
    padding: 5px 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.hc-nokta-pos-meta {
    position: static;
    margin-left: auto;
    font-size: .72rem;
    padding: 5px 11px;
}

@media (min-width: 768px) {
    .hc-nokta-ozet-btn {
        font-size: .82rem;
        padding: 7px 16px;
    }
    .hc-nokta-pos-tr {
        font-size: .84rem;
        padding: 8px 16px;
    }
    .hc-nokta-pos-meta {
        font-size: .76rem;
        padding: 6px 12px;
    }
    .hc-nokta-pos-foot {
        font-size: .72rem;
        padding: 5px 12px;
    }
}

.hc-card .hc-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}
.hc-card .hc-meta-date {
    flex: 1;
    min-width: 0;
}

/* Haber detay — başlık + özet butonu */
.hc-article-head h1 {
    margin: 0 0 10px;
    line-height: 1.25;
}
.hc-article-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.hc-article-meta-row .hc-article-meta {
    margin-bottom: 0;
    flex: 1;
    min-width: 0;
}
.hc-article-title-link {
    color: inherit;
    text-decoration: none;
    transition: color .15s;
}
.hc-article-lazy .hc-article-title-link {
    color: var(--hc-primary, #6b0d2f);
}
.hc-article-title-link:hover {
    color: var(--hc-primary, #6b0d2f);
    text-decoration: underline;
}

/* ---------- Backdrop ---------- */
.hc-nokta-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(12, 8, 20, .5);
    backdrop-filter: blur(2px);
    z-index: 10100;
    opacity: 0;
    transition: opacity .28s ease;
    pointer-events: none;
}
.hc-nokta-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

/* ---------- Panel ---------- */
.hc-nokta-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    background: #faf8fc;
    box-shadow: -8px 0 40px rgba(26, 10, 46, .22);
    transform: translateX(100%);
    transition: transform .32s cubic-bezier(.4, 0, .2, 1);
    z-index: 10110;
    display: flex;
    flex-direction: column;
}
.hc-nokta-panel.open {
    transform: translateX(0);
}
@media (min-width: 768px) {
    .hc-nokta-panel {
        width: 25vw;
        min-width: 300px;
        max-width: 420px;
    }
}

.hc-nokta-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    background: var(--hc-nokta-head);
    color: var(--hc-nokta-text);
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 4px 18px rgba(0, 0, 0, .18);
}
.hc-nokta-panel-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.hc-nokta-panel-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
    background: #fff;
    object-fit: contain;
    padding: 2px;
}
.hc-nokta-panel-brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.hc-nokta-panel-title {
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.2;
    color: #fff;
}
.hc-nokta-panel-sub {
    font-size: .72rem;
    font-weight: 500;
    color: rgba(232, 224, 240, .72);
    letter-spacing: .02em;
}
.hc-nokta-panel-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    color: #d4c8e8;
    padding: 0;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
}
.hc-nokta-panel-close:hover {
    background: rgba(255, 255, 255, .16);
    color: #fff;
    border-color: rgba(255, 255, 255, .22);
}

.hc-nokta-panel-body {
    flex: 1;
    overflow-y: auto;
    padding: 22px 20px 32px;
    -webkit-overflow-scrolling: touch;
}

.hc-nokta-state {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--hc-muted, #6b7280);
    font-size: .94rem;
    padding: 16px 0;
}
.hc-nokta-error {
    color: #9b1c31;
    background: #fef2f4;
    border-radius: 10px;
    padding: 14px 16px;
    border: 1px solid #f5d0d8;
}

.hc-nokta-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e8e2f2;
    border-top-color: var(--hc-nokta-bg);
    border-radius: 50%;
    animation: hc-nokta-spin .7s linear infinite;
    flex-shrink: 0;
}
@keyframes hc-nokta-spin {
    to { transform: rotate(360deg); }
}

.hc-nokta-content {
    animation: hc-nokta-fade .25s ease;
}
@keyframes hc-nokta-fade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hc-nokta-article-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--hc-dark, #122135);
    line-height: 1.4;
    margin: 0 0 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #ede8f5;
}
.hc-nokta-text {
    font-size: .95rem;
    line-height: 1.7;
    color: #3d4a5c;
}
.hc-nokta-text ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.hc-nokta-text li {
    position: relative;
    padding: 14px 16px 14px 18px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #ebe6f2;
    box-shadow: 0 1px 4px rgba(45, 27, 78, .06);
}
.hc-nokta-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(180deg, #2d1b4e, #6b3fa0);
}
.hc-nokta-text p {
    margin: 0 0 12px;
    padding: 12px 14px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #ebe6f2;
}
.hc-nokta-text p:last-child {
    margin-bottom: 0;
}

body.hc-nokta-open {
    overflow: hidden;
}

/* ---------- Öneri haber (panel altı) ---------- */
.hc-nokta-suggest {
    flex-shrink: 0;
    padding: 18px 20px 22px;
    background: #fff;
    border-top: 1px solid #e8e2f0;
    box-shadow: 0 -4px 16px rgba(45, 27, 78, .06);
}
.hc-nokta-suggest-label {
    margin: 0 0 8px;
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #9a8fb0;
}
.hc-nokta-suggest-title {
    margin: 0 0 12px;
    font-size: .94rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--hc-dark, #122135);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hc-nokta-suggest-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: none;
    background: none;
    font-family: inherit;
    font-size: .88rem;
    font-weight: 600;
    color: var(--hc-nokta-bg);
    cursor: pointer;
    transition: color .15s, gap .15s;
}
.hc-nokta-suggest-link::after {
    content: '→';
    font-size: 1rem;
    line-height: 1;
    transition: transform .15s;
}
.hc-nokta-suggest-link:hover {
    color: #6b3fa0;
}
.hc-nokta-suggest-link:hover::after {
    transform: translateX(3px);
}
.hc-nokta-suggest-link:focus-visible {
    outline: 2px solid rgba(45, 27, 78, .35);
    outline-offset: 3px;
    border-radius: 2px;
}
