/* Otorite sayfaları: e-imza landing, karşılaştırma — FAQ, tablo, adımlar */

.authority-page .blog__detail-title,
.authority-page .authority-page__body h2,
.authority-page .authority-page__body h3,
.authority-page .authority-page__body p,
.authority-page .authority-page__body li,
.authority-page .authority-page__body td,
.authority-page .authority-page__body th {
    color: #fff;
}

.authority-page__lead {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #94a3b8;
    margin-top: 1rem;
}

/* Bölüm başlıkları — sol kırmızı çizgi (solution-content çift çizgi kapatılır) */
.authority-page .authority-page__body > h2 {
    position: relative;
    padding-left: 18px !important;
    margin-top: 2.75rem !important;
    margin-bottom: 1.25rem !important;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    border: none !important;
    border-left: none !important;
    opacity: 1 !important;
    display: block !important;
}

.authority-page .authority-page__body > h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 3px;
    border-radius: 3px;
    background: linear-gradient(180deg, #ef5350, #d32f2f);
    box-shadow: 0 0 12px rgba(211, 47, 46, 0.45);
}

/* Drop cap kapat — solution-content blog stilinden */
.authority-page .solution-content > p::first-letter {
    float: none !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
    text-shadow: none !important;
}

/* Adımlar */
.authority-steps {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.authority-steps > li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 21px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.09);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.authority-steps > li::before,
.authority-steps > li::after {
    content: none !important;
    display: none !important;
}

.authority-steps__num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    background: linear-gradient(135deg, #ef5350, #b71c1c);
    box-shadow: 0 4px 14px rgba(211, 47, 46, 0.35);
}

.authority-steps__text {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 5px 0 0;
    font-size: 15px !important;
    line-height: 1.65 !important;
    color: rgba(255, 255, 255, 0.82) !important;
}

.authority-steps__text strong {
    color: #fff !important;
    font-weight: 700 !important;
}

.authority-steps > li:hover {
    border-color: rgba(211, 47, 46, 0.35);
    background: rgba(211, 47, 46, 0.06);
}

.authority-page .authority-steps a {
    color: #c9f31d !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.authority-page .authority-steps a:hover {
    color: #e8ff6b !important;
}

/* Tablo */
.authority-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0 2rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.25);
    table-layout: fixed;
}

.authority-table th,
.authority-table td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 18px;
    text-align: left;
    vertical-align: top;
    font-size: 15px;
    line-height: 1.5;
}

.authority-table tr:last-child td,
.authority-table tr:last-child th {
    border-bottom: none;
}

.authority-table thead th {
    background: linear-gradient(90deg, rgba(211, 47, 46, 0.18), rgba(201, 243, 29, 0.08));
    color: #c9f31d;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.authority-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* Karşılaştırma kartları */
.authority-compare {
    margin-bottom: 1.75rem;
}

.authority-compare + h2 {
    margin-top: 2.25rem !important;
}

.authority-compare__lead {
    margin: 0 0 21px;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55) !important;
    max-width: 56ch;
}

.authority-compare__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.authority-compare__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
    padding: 22px 22px 24px;
    border-radius: 16px;
    text-decoration: none !important;
    background: linear-gradient(160deg, rgba(28, 28, 28, 0.98), rgba(14, 14, 14, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
    overflow: hidden;
    box-sizing: border-box;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.authority-compare__card:hover,
.authority-compare__card:focus-visible {
    border-color: rgba(211, 47, 46, 0.45);
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.authority-compare__card--wide {
    grid-column: 1 / -1;
}

.authority-compare__content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
}

.authority-compare__card--wide .authority-compare__content {
    justify-content: flex-start;
    min-height: auto;
}

.authority-compare__matchup {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px 12px;
    width: 100%;
}

.authority-compare__entity {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 700;
    line-height: 1.35;
    color: #fff !important;
}

.authority-compare__entity--primary {
    color: #ffab91 !important;
}

.authority-compare__vs {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(211, 47, 46, 0.2);
    border: 1px solid rgba(211, 47, 46, 0.35);
}

.authority-compare__single {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.authority-compare__single-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(211, 47, 46, 0.12);
    border: 1px solid rgba(211, 47, 46, 0.25);
    color: #ef5350;
    font-size: 18px;
}

.authority-compare__single-title {
    font-size: clamp(1rem, 2vw, 1.12rem);
    font-weight: 700;
    line-height: 1.35;
    color: #fff !important;
}

/* Tam genişlik CTA şeridi — dairesel buton yok, kesilme riski yok */
.authority-compare__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 13px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
    flex-shrink: 0;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.authority-compare__cta-text {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.65) !important;
    transition: color 0.25s ease;
}

.authority-compare__cta i {
    flex-shrink: 0;
    font-size: 12px;
    line-height: 1;
    color: #ef5350;
    transition: transform 0.25s ease, color 0.25s ease;
}

.authority-compare__card:hover .authority-compare__cta,
.authority-compare__card:focus-visible .authority-compare__cta {
    background: rgba(211, 47, 46, 0.14);
    border-color: rgba(211, 47, 46, 0.35);
}

.authority-compare__card:hover .authority-compare__cta-text,
.authority-compare__card:focus-visible .authority-compare__cta-text {
    color: #fff !important;
}

.authority-compare__card:hover .authority-compare__cta i,
.authority-compare__card:focus-visible .authority-compare__cta i {
    color: #ffab91;
    transform: translateX(3px);
}

/* Otorite sayfaları — blog__detail overflow ve link stillerinden izole */
.blog__detail.authority-page {
    overflow: visible !important;
}

.authority-page .blog__detail-content.solution-content a.authority-compare__card,
.authority-page .blog__detail-content.solution-content a.authority-compare__card:hover,
.authority-page .blog__detail-content.solution-content a.authority-compare__card:focus,
.authority-page .blog__detail-content.solution-content a.authority-compare__card:focus-visible,
.authority-page .blog__detail-content.solution-content a.authority-compare__card:active {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 22px 22px 24px !important;
    text-decoration: none !important;
    border-bottom: none !important;
    font-weight: 500 !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    background-color: transparent !important;
    background-image:
        radial-gradient(circle at top right, rgba(211, 47, 46, 0.08), transparent 55%),
        linear-gradient(160deg, rgba(28, 28, 28, 0.98), rgba(14, 14, 14, 0.99)) !important;
    background-size: 100% 100%, 100% 100% !important;
    background-position: center, center !important;
    background-repeat: no-repeat, no-repeat !important;
}

.authority-page .blog__detail-content.solution-content a.authority-compare__card:hover,
.authority-page .blog__detail-content.solution-content a.authority-compare__card:focus-visible {
    background-image:
        radial-gradient(circle at top right, rgba(211, 47, 46, 0.12), transparent 55%),
        linear-gradient(160deg, rgba(32, 28, 28, 0.98), rgba(16, 14, 14, 0.99)) !important;
    background-size: 100% 100%, 100% 100% !important;
}

.authority-page .blog__detail-content.solution-content .authority-compare__cta,
.authority-page .blog__detail-content.solution-content .authority-compare__cta-text {
    display: flex !important;
    align-items: center !important;
    position: static !important;
    background-image: none !important;
    background-size: unset !important;
    background-repeat: no-repeat !important;
    border-bottom: none !important;
    overflow: visible !important;
    line-height: 1.35 !important;
}

.authority-page .blog__detail-content.solution-content .authority-compare__cta {
    background-color: rgba(255, 255, 255, 0.04) !important;
}

.authority-page .blog__detail-content.solution-content a.authority-compare__card:hover .authority-compare__cta,
.authority-page .blog__detail-content.solution-content a.authority-compare__card:focus-visible .authority-compare__cta {
    background-color: rgba(211, 47, 46, 0.14) !important;
}

.authority-page .blog__detail-content.solution-content .authority-compare__cta i {
    display: inline-block !important;
    position: static !important;
    background: none !important;
    line-height: 1 !important;
}

.authority-page .blog__detail-content.solution-content a.authority-compare__card::before,
.authority-page .blog__detail-content.solution-content a.authority-compare__card::after,
.authority-page .blog__detail-content.solution-content .authority-compare__cta::before,
.authority-page .blog__detail-content.solution-content .authority-compare__cta::after,
.authority-page .blog__detail-content.solution-content .authority-compare__cta-text::before,
.authority-page .blog__detail-content.solution-content .authority-compare__cta-text::after {
    content: none !important;
    display: none !important;
}

/* Sayfa CTA butonu */
.authority-page__actions {
    margin: 2rem 0 2.5rem;
}

.authority-page .blog__detail-content.solution-content .authority-page__actions a.nagdos-eimza-cta__btn,
.authority-page .blog__detail-content.solution-content .authority-page__actions a.nagdos-eimza-cta__btn:hover,
.authority-page .blog__detail-content.solution-content .authority-page__actions a.nagdos-eimza-cta__btn:focus-visible {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    text-decoration: none !important;
}

/* FAQ bölümü — yasal bildirimden sonra boşluk */
.authority-faq-section {
    margin-top: 3.5rem;
    padding-top: 2.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.authority-faq-section__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}

/* FAQ akordeon */
.authority-faq {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 2.5rem;
}

.authority-faq__item {
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(22, 22, 22, 0.95), rgba(12, 12, 12, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.09);
    overflow: hidden;
    transition: border-color 0.28s ease, box-shadow 0.28s ease;
}

.authority-faq__item:hover {
    border-color: rgba(255, 255, 255, 0.16);
}

.authority-faq__item[open] {
    border-color: rgba(211, 47, 46, 0.45);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(211, 47, 46, 0.12);
}

.authority-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    list-style: none;
    padding: 18px 20px;
    user-select: none;
}

.authority-faq__item summary::-webkit-details-marker {
    display: none;
}

.authority-faq__item summary::marker {
    content: '';
}

.authority-faq__q-text {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    color: #fff;
    padding-right: 8px;
}

.authority-faq__chevron {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #c9f31d;
    font-size: 12px;
    transition: transform 0.3s ease, background 0.25s ease, border-color 0.25s ease;
}

.authority-faq__item[open] .authority-faq__chevron {
    transform: rotate(45deg);
    background: rgba(211, 47, 46, 0.2);
    border-color: rgba(211, 47, 46, 0.4);
    color: #fff;
}

.authority-faq__item summary:hover .authority-faq__chevron {
    background: rgba(201, 243, 29, 0.12);
    border-color: rgba(201, 243, 29, 0.3);
}

.authority-faq__answer {
    padding: 0 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    animation: authority-faq-open 0.35s ease;
}

.authority-faq__answer p {
    margin: 16px 0 0;
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72) !important;
}

.authority-faq__answer a {
    color: #c9f31d !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-word;
}

.authority-faq__answer a:hover {
    color: #e8ff6b !important;
}

@keyframes authority-faq-open {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Kaynak kutusu */
.authority-source {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 2.5rem;
    padding: 18px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.55) !important;
}

.authority-source__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(211, 47, 46, 0.12);
    border: 1px solid rgba(211, 47, 46, 0.25);
    color: #ef5350;
    font-size: 16px;
}

.authority-source a {
    color: #c9f31d !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.authority-source a:hover {
    color: #e8ff6b !important;
}

.authority-source strong {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* Yasal bilgilendirme — akordeon, kapalı varsayılan */
.authority-legal {
    margin-top: 2.5rem;
    margin-bottom: 0;
}

.authority-legal__accordion {
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.authority-legal__accordion[open] {
    border-color: rgba(255, 255, 255, 0.14);
}

.authority-legal__summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.authority-legal__summary::-webkit-details-marker {
    display: none;
}

.authority-legal__summary::marker {
    content: '';
}

.authority-legal__icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(211, 47, 46, 0.1);
    border: 1px solid rgba(211, 47, 46, 0.22);
    color: #ef5350;
    font-size: 16px;
}

.authority-legal__title {
    flex: 1;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    font-size: clamp(0.88rem, 2.2vw, 1.02rem) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    color: #fff !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.authority-legal__chevron {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #c9f31d;
    font-size: 11px;
    transition: transform 0.28s ease, background 0.25s ease;
}

.authority-legal__accordion[open] .authority-legal__chevron {
    transform: rotate(45deg);
    background: rgba(211, 47, 46, 0.18);
    border-color: rgba(211, 47, 46, 0.35);
    color: #fff;
}

.authority-legal__body {
    padding: 0 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.authority-page .authority-page__body > .authority-legal__title,
.authority-page .solution-content .authority-legal h2,
.authority-page .solution-content .authority-legal h3 {
    border: none !important;
    border-left: none !important;
    padding-left: 0 !important;
    margin-top: 0 !important;
}

.authority-legal__section {
    padding-top: 16px;
}

.authority-legal__section + .authority-legal__section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.authority-legal__section-title {
    margin: 0 0 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55) !important;
}

.authority-legal__p {
    margin: 0 0 10px !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.58) !important;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.authority-legal__p:last-child {
    margin-bottom: 0 !important;
}

.authority-legal__p a {
    color: #c9f31d !important;
    text-decoration: underline !important;
    text-underline-offset: 2px;
    word-break: break-all;
}

.authority-legal__p a:hover {
    color: #e8ff6b !important;
}

/* Blog link alt çizgi efektini kapat */
.authority-page .blog__detail-content.solution-content .authority-legal a,
.authority-page .blog__detail-content.solution-content .authority-legal a:hover,
.authority-page .blog__detail-content.solution-content .authority-legal a:focus-visible {
    display: inline !important;
    color: #c9f31d !important;
    -webkit-text-fill-color: #c9f31d !important;
    background: none !important;
    background-image: none !important;
    background-size: unset !important;
    background-position: unset !important;
    border-bottom: none !important;
    text-decoration: underline !important;
    font-weight: 500 !important;
    padding: 0 !important;
}

.authority-page .blog__detail-content.solution-content .authority-legal a:hover {
    color: #e8ff6b !important;
    -webkit-text-fill-color: #e8ff6b !important;
}

.authority-page .blog__detail-content.solution-content .authority-legal a::before,
.authority-page .blog__detail-content.solution-content .authority-legal a::after {
    content: none !important;
    display: none !important;
}

/* solution-content liste çakışması */
.authority-page .blog__detail-content.solution-content ol.authority-steps {
    margin: 0 0 1.5rem !important;
    padding: 0 !important;
    border: none !important;
    list-style: none !important;
}

.authority-page .blog__detail-content.solution-content .authority-steps > li {
    position: static !important;
    padding: 18px 21px !important;
    padding-left: 21px !important;
    margin: 0 !important;
    list-style: none !important;
    transform: none !important;
    font-size: inherit !important;
    color: inherit !important;
}

.authority-page .blog__detail-content.solution-content .authority-steps > li::before,
.authority-page .blog__detail-content.solution-content .authority-steps > li::after {
    content: none !important;
    display: none !important;
    position: static !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.authority-page .blog__detail-content.solution-content .authority-steps > li:hover {
    transform: none !important;
}

.authority-page .blog__detail-content.solution-content .authority-steps .authority-steps__text,
.authority-page .blog__detail-content.solution-content .authority-steps .authority-steps__text strong {
    color: rgba(255, 255, 255, 0.82) !important;
}

.authority-page .blog__detail-content.solution-content .authority-steps .authority-steps__text strong {
    color: #fff !important;
}

.authority-page .solution-content .authority-faq__item::before {
    content: none !important;
    display: none !important;
}

.authority-page .solution-content .authority-steps,
.authority-page .solution-content .authority-compare,
.authority-page .solution-content .authority-faq {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

@media (max-width: 767px) {
    .authority-compare__lead {
        max-width: 100%;
    }

    .authority-compare__grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .authority-compare__card {
        padding: 18px 18px 16px;
        gap: 16px;
    }

    .authority-compare__card--wide {
        grid-column: 1 / -1;
    }

    .authority-compare__matchup {
        flex-wrap: wrap;
        gap: 10px;
    }

    .authority-compare__entity--primary {
        color: #ffab91 !important;
    }

    .authority-faq__item summary {
        padding: 16px;
    }

    .authority-faq__q-text {
        font-size: 0.98rem;
    }

    .authority-table th,
    .authority-table td {
        padding: 12px 14px;
        font-size: 14px;
    }

    .authority-source {
        flex-direction: column;
        gap: 12px;
    }
}
