/*
 Theme Name:   Kanews Child
 Theme URI:    https://www.kanthemes.com/tanitim/kanews/
 Description:  Kanews Theme Child Theme
 Author:       Kan Themes
 Author URI:   https://www.kanthemes.com
 Template:     kanews
 Version:      1.1
 License: Kanews License
 License URI: https://www.kanthemes.com/tema/kanews/lisans/
 Text Domain:  kan-child
*/

/* ========================================
   FUEL PAGE - Akaryakıt Sayfa Stilleri
   ======================================== */

/* Fuel Cards */
.fuel-card {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: var(--kan-block-radius);
    padding: 1.5rem;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.fuel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(30, 58, 95, 0.3);
}
.fuel-card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.fuel-card-location {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.fuel-card-region {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}
.fuel-card-price {
    font-size: 1.75rem;
    font-weight: 700;
}
.fuel-card-price small {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.8;
}
.fuel-card.lowest {
    background: linear-gradient(135deg, #0d7377 0%, #14919b 100%);
}
.fuel-card.highest {
    background: linear-gradient(135deg, #c44536 0%, #e76f51 100%);
}
.fuel-card.unavailable {
    background: linear-gradient(135deg, #4a5568 0%, #718096 100%);
    opacity: 0.7;
}

/* Fuel Stats */
.fuel-stat-card {
    background: var(--kan-placeholder-bg);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    border: 1px solid var(--kan-border-color);
}
.fuel-stat-label {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}
.fuel-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--kan-theme-color);
}
.fuel-stat-location {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* Fuel History Table */
.fuel-history-table {
    width: 100%;
    border-collapse: collapse;
}
.fuel-history-table th,
.fuel-history-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--kan-border-color);
}
.fuel-history-table th {
    background: var(--kan-placeholder-bg);
    font-weight: 600;
    color: #475569;
    position: sticky;
    top: 0;
}
.fuel-history-table tr:hover {
    background: var(--kan-placeholder-bg);
}

/* Fuel Badges */
.fuel-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}
.fuel-badge.up {
    background: #dcfce7;
    color: #166534;
}
.fuel-badge.down {
    background: #fee2e2;
    color: #991b1b;
}
.fuel-badge.neutral {
    background: var(--kan-placeholder-bg);
    color: #475569;
}

/* Fuel Source Badge */
.fuel-source-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fef3c7;
    color: #92400e;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Fuel Page Header */
.fuel-page-header {
    background: linear-gradient(135deg, #0f172a 0%, var(--kan-theme-color) 100%);
    border-radius: 20px;
    padding: 2rem;
    color: #fff;
    margin-bottom: 1.5rem;
}
.fuel-page-header h1 {
    color: #fff;
    margin-bottom: 0.5rem;
}
.fuel-page-header p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}

/* ========================================
   FUEL SIDEBAR - Akaryakıt Sidebar Stilleri
   ======================================== */

.fuel-sidebar-card {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5a87 100%);
    border-radius: var(--kan-block-radius);
    padding: 1.25rem;
    color: #fff;
    margin-bottom: 1rem;
}
.fuel-sidebar-card h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.fuel-sidebar-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
}
.fuel-sidebar-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateX(4px);
    color: #fff;
    text-decoration: none;
}
.fuel-sidebar-item .location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.fuel-sidebar-item .location .icon {
    font-size: 1.25rem;
}
.fuel-sidebar-item .location .name {
    font-weight: 600;
}
.fuel-sidebar-item .location .region {
    font-size: 0.75rem;
    opacity: 0.7;
}
.fuel-sidebar-item .price {
    font-weight: 700;
    font-size: 1rem;
}
.fuel-sidebar-item.best {
    background: linear-gradient(135deg, #0d7377 0%, #14919b 100%);
    border: 2px solid rgba(255,255,255,0.3);
}
.fuel-sidebar-item.best .best-badge {
    background: rgba(255,255,255,0.2);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.65rem;
    margin-left: 0.5rem;
}

/* Fuel Sidebar Info */
.fuel-sidebar-info {
    padding: 1rem;
}
.fuel-sidebar-info-title {
    font-weight: 600;
    color: var(--kan-theme-color);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.fuel-sidebar-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.fuel-sidebar-info-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--kan-border-color);
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}
.fuel-sidebar-info-list li:last-child {
    border-bottom: none;
}

/* Fuel Sidebar Source */
.fuel-sidebar-source {
    background: #fef3c7;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    color: #92400e;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.fuel-sidebar-source a {
    color: #92400e;
    text-decoration: underline;
}

/* Fuel Calculator */
.fuel-calculator {
    background: var(--kan-bg-white-color);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--kan-border-color);
    margin-bottom: 1rem;
}
.fuel-calculator-title {
    font-weight: 600;
    color: var(--kan-theme-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.fuel-calculator input,
.fuel-calculator select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--kan-border-color);
    border-radius: 8px;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}
.fuel-calculator input:focus,
.fuel-calculator select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.fuel-calculator-result {
    background: linear-gradient(135deg, #0f172a 0%, var(--kan-theme-color) 100%);
    color: #fff;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}
.fuel-calculator-result .label {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-bottom: 0.25rem;
}
.fuel-calculator-result .value {
    font-size: 1.5rem;
    font-weight: 700;
}

/* ========================================
   FUEL WIDGET - Akaryakıt Widget Stilleri
   ======================================== */

.kanews-fuel-widget-cards {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.kanews-fuel-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--kan-placeholder-bg);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}
.kanews-fuel-card:hover {
    background: var(--kan-placeholder-bg);
    transform: translateX(4px);
}
.kanews-fuel-card.best {
    background: linear-gradient(135deg, #0d7377, #14919b);
    color: #fff;
}
.kanews-fuel-card.best:hover {
    background: linear-gradient(135deg, #0a5c5f, #0d7377);
}
.fuel-card-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.fuel-icon {
    font-size: 1.25rem;
}
.fuel-name {
    font-weight: 600;
}
.fuel-region {
    font-size: 0.75rem;
    opacity: 0.7;
}
.fuel-price {
    font-weight: 700;
    font-size: 1rem;
}
.fuel-best-badge {
    font-size: 0.65rem;
    background: rgba(255,255,255,0.2);
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    margin-top: 0.25rem;
}

.kanews-fuel-widget-list {
    display: flex;
    flex-direction: column;
}
.kanews-fuel-list-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--kan-border-color);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}
.kanews-fuel-list-item:last-child {
    border-bottom: none;
}
.kanews-fuel-list-item:hover {
    background: var(--kan-placeholder-bg);
    padding-left: 0.5rem;
}
.kanews-fuel-list-item .fuel-name {
    flex: 1;
}
.kanews-fuel-list-item .fuel-price {
    font-weight: 600;
}
.kanews-fuel-list-item.best {
    background: #ecfdf5;
    border-radius: 6px;
    padding: 0.6rem 0.5rem;
    margin: 0.25rem 0;
}
.kanews-fuel-list-item .fuel-badge {
    color: #059669;
    font-weight: bold;
}

.kanews-fuel-widget-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--kan-border-color);
}
.fuel-more-link {
    font-size: 0.875rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}
.fuel-more-link:hover {
    text-decoration: underline;
}

/* ========================================
   TRAFFIC BAN PAGE - Trafik Yasakları Sayfa
   ======================================== */

.traffic-ban-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 2.5rem;
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}
.traffic-ban-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="80" cy="20" r="40" fill="rgba(255,255,255,0.03)"/><circle cx="90" cy="80" r="30" fill="rgba(255,255,255,0.02)"/></svg>');
    background-size: cover;
}
.traffic-ban-hero h1 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}
.traffic-ban-hero p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    max-width: 600px;
}
.traffic-ban-hero-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.traffic-ban-iframe-wrapper {
    background: var(--kan-bg-white-color);
    border-radius: var(--kan-block-radius);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--kan-border-color);
}
.traffic-ban-iframe-wrapper iframe {
    display: block;
    width: 100%;
    min-height: 700px;
    border: none;
}
.traffic-ban-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.traffic-ban-info-card {
    background: var(--kan-bg-white-color);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--kan-border-color);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.traffic-ban-info-card .icon {
    font-size: 2rem;
    flex-shrink: 0;
}
.traffic-ban-info-card .content h4 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    color: var(--kan-theme-color);
}
.traffic-ban-info-card .content p {
    margin: 0;
    font-size: 0.875rem;
    color: #64748b;
}
.traffic-ban-countries {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.traffic-ban-country {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--kan-placeholder-bg);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    color: #475569;
    transition: all 0.2s;
}
.traffic-ban-country:hover {
    background: var(--kan-border-color);
}
.traffic-ban-source {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fef3c7;
    color: #92400e;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 1rem;
}
.traffic-ban-source a {
    color: #92400e;
    text-decoration: underline;
}

/* ========================================
   TRAFFIC BAN WIDGET - Trafik Yasakları Widget
   ======================================== */

.traffic-ban-widget-header {
    background: linear-gradient(135deg, #1e3a5f, #2d5a87);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}
.traffic-ban-widget-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}
.traffic-ban-widget-info .icon {
    font-size: 1.25rem;
}
.traffic-ban-widget-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--kan-border-color);
}
.traffic-ban-more-link {
    font-size: 0.875rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}
.traffic-ban-more-link:hover {
    text-decoration: underline;
}

/* ========================================
   BORDER GATE PAGE - Sınır Kapıları Sayfa
   ======================================== */

/* Page Header */
.border-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 100%);
    border-radius: var(--kan-block-radius);
    color: #fff;
}
.border-page-header .page-title {
    font-size: 1.75rem;
    margin: 0;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.border-page-header .title-icon {
    font-size: 2rem;
}
.border-page-header .page-description {
    color: rgba(255,255,255,0.8);
    margin: 0.5rem 0 0;
    max-width: 600px;
}
.border-page-header .update-badge {
    background: rgba(255,255,255,0.15);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

/* Border Gates Table */
.border-gates-table {
    margin: 0;
    width: 100%;
}
.border-gates-table thead th {
    background: var(--kan-placeholder-bg);
    font-weight: 600;
    color: #475569;
    border-bottom: 2px solid var(--kan-border-color);
    padding: 1rem;
    white-space: nowrap;
}
.border-gates-table .gate-name-col {
    min-width: 280px;
}
.border-gates-table tbody td {
    padding: 0.875rem 1rem;
    vertical-align: middle;
}
.border-gates-table .gate-row:hover {
    background: var(--kan-placeholder-bg);
}
.border-gates-table .gate-name-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.border-gates-table .gate-flag {
    font-size: 1.5rem;
}
.border-gates-table .gate-name {
    font-weight: 500;
}

/* Border Gate Cards Grid */
.border-gates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
}
.border-gate-card {
    display: block;
    background: var(--kan-bg-white-color);
    border-radius: var(--kan-block-radius);
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    border: 2px solid var(--kan-border-color);
    transition: all 0.3s ease;
}
.border-gate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    border-color: #cbd5e1;
    text-decoration: none;
    color: inherit;
}
.border-gate-card.level-high {
    border-color: #fecaca;
    background: linear-gradient(135deg, #fff 0%, #fef2f2 100%);
}
.border-gate-card.level-medium {
    border-color: #fde68a;
    background: linear-gradient(135deg, #fff 0%, #fefce8 100%);
}
.border-gate-card.level-low {
    border-color: #bbf7d0;
    background: linear-gradient(135deg, #fff 0%, #f0fdf4 100%);
}
.border-gate-card .card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--kan-border-color);
}
.border-gate-card .card-header .flag {
    font-size: 2rem;
}
.border-gate-card .card-header .name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--kan-theme-color);
}
.border-gate-card .card-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.border-gate-card .stat {
    background: var(--kan-placeholder-bg);
    padding: 0.625rem;
    border-radius: 8px;
    text-align: center;
}
.border-gate-card .stat .label {
    display: block;
    font-size: 0.7rem;
    color: #64748b;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.border-gate-card .stat .value {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--kan-theme-color);
}

/* Legend Grid */
.legend-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
}
.legend-icon {
    font-size: 1.25rem;
}
.legend-text {
    font-size: 0.875rem;
    color: #64748b;
}

/* Source Badge */
.source-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fef3c7;
    color: #92400e;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
}
.source-badge a {
    color: #92400e;
    text-decoration: underline;
}

/* ========================================
   BORDER GATE WIDGET - Sınır Kapıları Widget
   ======================================== */

.border-widget-update {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 12px;
}

/* Widget List */
.border-widget-list {
    list-style: none;
    padding: 0 1rem;
    margin: 0;
}
.border-widget-item {
    flex-basis: 100% !important;
    border-bottom: 1px solid var(--kan-border-color);
}
.border-widget-item:last-child {
    border-bottom: none;
}
.border-widget-item-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: .5rem 0;
}
.border-widget-item .gate-flag {
    font-size: 1.25rem;
}
.border-widget-item .gate-name {
    flex: 1;
    font-size: 0.875rem;
}
.border-widget-item .gate-status {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Widget More Link */
.border-widget-more {
    display: block;
    margin: 1rem;
    text-align: center;
    padding: 0.75rem;
    margin-top: 0.75rem;
    background: var(--kan-placeholder-bg);
    border-radius: 8px;
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
}
.border-widget-more:hover {
    background: var(--kan-border-color);
    text-decoration: none;
}

.border-widget-item-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.border-widget-item-link:hover {
    color: inherit !important;
    background: var(--kan-placeholder-bg) !important;
}

.border-gates-table .gate-name-link {
    font-weight: 500;
    text-decoration: none;
}
.border-gates-table .gate-name-link:hover {
    text-decoration: underline;
}

/* —— Sınır kapısı detay (/sinir-kapi/slug/) —— */
.border-gate-detail {
    --border-gate-navy: #002d54;
    --border-gate-navy-deep: #001f3b;
    --border-gate-orange: #ff6600;
    --border-gate-red: #e32222;
    --border-gate-section-border: var(--kan-placeholder-bg);
    --border-gate-section-radius: 12px;
    --border-gate-section-pad: 1.25rem 1.35rem;
    --border-gate-section-shadow: 0 1px 8px rgba(0, 45, 84, 0.05);
}
/* Bölüm kartları (yan sütun + sürücü paylaşımları + kaynak + ilgili haberler) */
.border-gate-detail .border-gate-panel.kanews-section {
    background: var(--kan-bg-white-color);
    border: 1px solid var(--border-gate-section-border);
    border-radius: var(--border-gate-section-radius);
    box-shadow: var(--border-gate-section-shadow);
    padding: var(--border-gate-section-pad);
    overflow: visible;
    margin-bottom: 1rem;
}
.border-gate-detail .border-gate-panel.kanews-section-flat.border-gate-source-panel {
    background: #f1f5f9;
    border: 1px solid var(--kan-placeholder-bg);
    box-shadow: 0 1px 8px rgba(0, 45, 84, 0.05);
    padding: 0.85rem 1.15rem;
}
.border-gate-detail .border-gate-related-shell .kanews-section {
    background: var(--kan-bg-white-color);
    border: 1px solid var(--border-gate-section-border);
    border-radius: var(--border-gate-section-radius);
    box-shadow: var(--border-gate-section-shadow);
    padding: var(--border-gate-section-pad);
    overflow: visible;
    margin-bottom: 0;
}
.border-gate-detail .border-gate-related-shell .col-12 {
    padding-left: 0;
    padding-right: 0;
}
.border-gate-detail .border-gate-hero {
    background: linear-gradient(165deg, var(--border-gate-navy-deep) 0%, var(--border-gate-navy) 45%, #003a66 100%);
    color: #fff;
    border-radius: 14px;
    padding: 1.5rem 1.5rem 1.25rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 24px rgba(0, 31, 59, 0.18);
}
.border-gate-widget-calc {
    background: linear-gradient(165deg, var(--border-gate-navy-deep) 0%, var(--border-gate-navy) 45%, #003a66 100%) !important;
color: #fff !important;
}
@media (min-width: 992px) {
    .border-gate-detail .border-gate-body-row {
        display: flex;
        flex-wrap: nowrap;
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    .border-gate-detail .border-gate-body-row > .border-gate-sidebar {
        flex: 0 0 30%;
        max-width: 30%;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    .border-gate-detail .border-gate-body-row > .border-gate-main {
        flex: 0 0 70%;
        max-width: 70%;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}
.border-gate-hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.25rem;
}
.border-gate-back {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
}
.border-gate-back a {
    text-decoration: none;
}
.border-gate-back a:hover {
    text-decoration: underline;
}
.border-gate-hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    font-size: clamp(1.15rem, 2.5vw, 1.65rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    line-height: 1.3;
    color: #fff;
}
.border-gate-hero-title-line {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
}
.border-gate-hero-flag {
    font-size: 1.15em;
    line-height: 1;
    flex-shrink: 0;
}
.border-gate-hero-title-text {
    font-weight: inherit;
    color: inherit;
}
.border-gate-live-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.border-gate-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--border-gate-red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
}
.border-gate-live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--kan-bg-white-color);
    flex-shrink: 0;
}
.border-gate-live-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
}
.border-gate-cta {
    display: inline-block;
    background: var(--border-gate-orange);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}
.border-gate-cta:hover {
    filter: brightness(1.08);
    color: #fff !important;
    text-decoration: none;
}
.border-gate-wait-box {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    min-width: min(100%, 220px);
    text-align: center;
}
.border-gate-wait-label {
    display: block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0.35rem;
}
.border-gate-wait-value {
    display: block;
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1.1;
}
.border-gate-wait-na {
    font-size: 2rem;
    opacity: 0.6;
}
.border-gate-wait-note {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.5rem;
    line-height: 1.35;
}
.border-gate-stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.65rem;
    margin-top: 1.1rem;
}
@media (max-width: 991px) {
    .border-gate-stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .border-gate-stat-cards {
        grid-template-columns: 1fr;
    }
}
.border-gate-stat-card {
    background: rgba(15, 23, 42, 0.55);
    border-radius: 10px;
    padding: 1rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.border-gate-stat-label {
    display: block;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.35rem;
}
.border-gate-stat-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
}
.border-gate-stat-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.border-gate-stat-dot--low {
    background: #22c55e;
}
.border-gate-stat-dot--medium {
    background: #eab308;
}
.border-gate-stat-dot--high {
    background: #ef4444;
}
.border-gate-stat-dot--none {
    background: var(--kan-bg-white-color);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.border-gate-stat-num {
    color: #fff;
}
.border-gate-rola {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.border-gate-sidebar .kanews-section.border-gate-panel {
    margin-bottom: 1rem;
}
.border-gate-widget-title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin: 0 0 1rem;
    padding-left: 0.75rem;
    border-left: 4px solid var(--border-gate-red);
    line-height: 1.3;
}
.border-gate-fuel-stats {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-direction:  column;
    font-size: 0.875rem;
}
.border-gate-fuel-stats li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-radius: var(--kan-block-radius);
    border:0;
    background: var(--kan-placeholder-bg);
}
.border-gate-fuel-avg {
    background: var(--kan-theme-color) !important;
    color: #fff;
}
.border-gate-fuel-stats strong {
    font-size: 1.25rem
}
.border-gate-fuel-stats li:last-child {
    border-bottom: none;
    background: transparent;
    border: 1px solid var(--kan-border-color);
}
.border-gate-fuel-avg strong {
    color: #fff;
}
.border-gate-fuel-diff.is-up {
    color: var(--border-gate-red);
}
.border-gate-fuel-diff.is-down {
    color: #15803d;
}
.border-gate-fuel-updated {
    margin: 0.75rem 0 0;
    padding-top: 0.65rem;
    border-top: 1px solid var(--kan-border-color);
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}
.border-gate-fuel-updated-label {
    font-weight: 600;
    color: #475569;
}
.border-gate-calc-label {
    display: block;
    font-size: 0.75rem;
    margin: 0.5rem 0 0.25rem;
}
.border-gate-calc-input {
    width: 100%;
    color: #fff;
    background: rgba(15, 23, 42, 0.55);
    border-radius: 10px;
    padding: 0.75rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.08);

}
.border-gate-widget-calc .border-gate-widget-title{ 
    color: #fff !important;
}
.border-gate-calc-btn {
    display: block;
    width: 100%;
    margin-top: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: var(--border-gate-red);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.95rem;
}
.border-gate-calc-btn:hover {
    filter: brightness(1.05);
}
.border-gate-calc-result {
    margin: 0.65rem 0 0;
    font-weight: 700;
    color: var(--kan-theme-color);
}
.border-gate-ref-figure {
    padding: 0.75rem;
}
.border-gate-ref-figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--kan-border-color);
}
.border-gate-ref-cap {
    font-size: 0.7rem;
    color: #64748b;
    margin: 0.5rem 0 0;
    line-height: 1.35;
}

.border-gate-main-stack {
    display: flex;
    flex-direction: column;
}
.border-gate-section-heading {
    font-size: 1.0625rem;
    margin: 0 0 0.75rem;
    font-weight: 700;
    padding-left: 0.75rem;
    border-left: 4px solid var(--border-gate-red);
    line-height: 1.3;
}
.border-gate-section-yorum .border-gate-community-note {
    margin-bottom: 0.75rem;
}
.border-gate-community-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}
.border-gate-section-yorumlar .border-gate-community-head .border-gate-section-heading {
    margin-bottom: 0;
}
.border-gate-community-title {
    font-size: 1.0625rem;
    margin: 0;
    font-weight: 700;
    padding-left: 0.75rem;
    border-left: 4px solid var(--border-gate-red);
    line-height: 1.3;
    color: var(--border-gate-navy);
}
.border-gate-filters-track {
    display: inline-flex;
    align-items: center;
    padding: 3px;
    border-radius: 999px;
    background: var(--kan-placeholder-bg);
    border: 1px solid var(--kan-border-color);
}
.border-gate-filters {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 2px;
}
.border-gate-filters .border-gate-filter-tab {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    border: none;
    background: transparent;
    margin: 0;
    color: #64748b;
    text-decoration: none;
    line-height: 1.2;
}
.border-gate-filters .border-gate-filter-tab:hover {
    color: var(--border-gate-navy);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.55);
}
.border-gate-filters .border-gate-filter-tab.is-active {
    background: var(--border-gate-navy);
    color: #fff;
    box-shadow: 0 1px 4px rgba(0, 45, 84, 0.2);
}
.border-gate-compose-form {
    position: relative;
}
.border-gate-compose-label {
    font-weight: 600;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.35rem;
}
.border-gate-compose-text {
    width: 100%;
    border: 1px solid var(--kan-border-color);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    font-size: 0.875rem;
    resize: vertical;
    min-height: 96px;
    background: var(--kan-bg-white-color);
    box-shadow: 0 1px 2px rgba(0, 45, 84, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.border-gate-compose-text:focus {
    outline: none;
    border-color: rgba(0, 45, 84, 0.35);
    box-shadow: 0 0 0 3px rgba(0, 45, 84, 0.08);
}
.border-gate-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.border-gate-compose-extras {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 0.85rem;
}
@media (max-width: 640px) {
    .border-gate-compose-extras {
        grid-template-columns: 1fr;
    }
}
.border-gate-field-modern {
    background: var(--kan-bg-white-color);
    border: 1px solid var(--kan-border-color);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 45, 84, 0.05);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.border-gate-field-modern:focus-within {
    border-color: rgba(0, 45, 84, 0.28);
    box-shadow: 0 2px 12px rgba(0, 45, 84, 0.08);
}
.border-gate-field-modern-head {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}
.border-gate-field-modern-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 10px;
    background: linear-gradient(145deg, #f1f5f9 0%, var(--kan-placeholder-bg) 100%);

}
.border-gate-field-modern-titles {
    min-width: 0;
    flex: 1;
    padding-top: 0.1rem;
}
.border-gate-field-modern-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
    cursor: pointer;
}
.border-gate-field-modern-hint {
    display: block;
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 0.15rem;
    line-height: 1.3;
}
.border-gate-field-wait-inputwrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--kan-bg-white-color);
    border: 1px solid var(--kan-border-color);
    border-radius: 10px;
    padding: 0.2rem 0.55rem 0.2rem 0.75rem;
}
.border-gate-field-modern-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-size: 1.05rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    padding: 0.45rem 0;
    line-height: 1.2;
}
.border-gate-field-modern-input:focus {
    outline: none;
}
.border-gate-field-modern-input::placeholder {
    color: #94a3b8;
    font-weight: 600;
}
.border-gate-field-wait-suffix {
    font-size: 0.75rem;
    font-weight: 700;
    background: var(--border-gate-orange);
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.5rem;
    flex-shrink: 0;
}
.border-gate-field-modern-input-block {
    display: block;
    width: 100%;
    background: #f8fafc;
    border: 1px solid var(--kan-placeholder-bg);
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
}
.border-gate-field-modern-input-block:focus {
    outline: none;
    border-color: rgba(0, 45, 84, 0.28);
    box-shadow: 0 0 0 3px rgba(0, 45, 84, 0.06);
}
.border-gate-field-name {
    margin-top: 0.75rem;
}
.border-gate-field-name .border-gate-field-modern-head {
    margin-bottom: 0.5rem;
}
.border-gate-field-upload {
    padding: 0;
    overflow: hidden;
}
.border-gate-field-upload.has-file {
    border-color: #0d9488;
    box-shadow: 0 2px 12px rgba(13, 148, 136, 0.12);
}
.border-gate-file-drop {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
    min-height: 7.5rem;
}
.border-gate-file-input-native {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 4;
    font-size: 0;
}
.border-gate-file-drop-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.5rem;
    padding: 1.15rem 1rem;
    min-height: 7.5rem;
    pointer-events: none;
    border: 2px dashed var(--kan-border-color);
    border-radius: 12px;
    margin: 0.65rem;
    background: var(--kan-placeholder-bg);
    transition: border-color 0.15s ease, background 0.15s ease;
}
.border-gate-field-upload:hover .border-gate-file-drop-inner,
.border-gate-field-upload:focus-within .border-gate-file-drop-inner {
    border-color: var(--kan-border-color);
    background: var(--kan-bg-white-color);
}
.border-gate-field-upload.has-file .border-gate-file-drop-inner {
    border-style: solid;
    border-color: #99f6e4;
    background: #f0fdfa;
}
.border-gate-file-drop-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    background: var(--kan-bg-white-color);
    box-shadow: 0 2px 8px rgba(0, 45, 84, 0.06);
}
.border-gate-file-drop-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    max-width: 100%;
}
.border-gate-file-drop-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--border-gate-navy);
}
.border-gate-file-drop-meta {
    font-size: 0.68rem;
    color: #64748b;
    line-height: 1.35;
}
.border-gate-file-drop-filename {
    font-size: 0.72rem;
    font-weight: 600;
    color: #0f766e;
    word-break: break-all;
    margin-top: 0.25rem;
}
.border-gate-compose-sublabel {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 0.25rem;
}
.border-gate-compose-input,
.border-gate-compose-file {
    width: 100%;
    padding: 0.45rem 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.875rem;
    background: var(--kan-bg-white-color);
}
.border-gate-compose-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.65rem;
}
.border-gate-share-btn {
    margin-left: auto;
    background: var(--border-gate-red);
    color: #fff !important;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.border-gate-share-btn-submit {
    margin-left: 0;
}
.border-gate-share-btn:hover {
    filter: brightness(1.06);
    color: #fff !important;
}
.border-gate-und-link {
    font-size: 0.8rem;
    color: #3b82f6;
    text-decoration: none;
}
.border-gate-und-link:hover {
    text-decoration: underline;
}
.border-gate-alert {
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin: 0 0 0.75rem;
}
.border-gate-alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.border-gate-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.border-gate-alert-warn {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fcd34d;
    margin-top: 0.5rem;
}
.dark-mode .border-gate-alert-success {
    background: #065f46;
    color: #fff;
    border: 1px solid #a7f3d0;
}
.dark-mode .border-gate-alert-error {
    background: #991b1b;
    color: #fff;
    border: 1px solid #fecaca;
}
.dark-mode .border-gate-alert-warn {
    background: #92400e;
    color: #fff;
    border: 1px solid #fcd34d;
}
.border-gate-feed-empty {
    padding: 1rem 0;
    margin: 0;
}
.border-gate-section-yorumlar .border-gate-feed {
    margin-top: 0.65rem;
    gap: 1rem 0;
}
.border-gate-feed-ajax.is-loading {
    opacity: 0.62;
    pointer-events: none;
    transition: opacity 0.2s ease;
}
.border-gate-feed-pager {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem 1rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--kan-border-color);
}
.border-gate-feed-page {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.42rem 0.9rem;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: var(--kan-bg-white-color);
    color: var(--border-gate-navy);
    cursor: pointer;
    font-family: inherit;
    line-height: 1.2;
}
.border-gate-feed-page:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #94a3b8;
}
.border-gate-feed-page:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}
.border-gate-feed-page-status {
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 600;
    text-align: center;
}
.border-gate-feed-page-total {
    font-weight: 500;
    color: #94a3b8;
}
.border-gate-feed-card {
    background: var(--kan-bg-white-color);
    border: 1px solid var(--kan-border-color);
    border-radius: 12px;
    gap: 8px;
    padding: 1rem;
    justify-content: space-between;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 1rem;
}
.border-gate-feed-card-muted {
    background: var(--kan-placeholder-bg);
}
.border-gate-feed-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
}
.border-gate-feed-who {
    flex: 1;
    min-width: 0;
}
.border-gate-feed-name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}
.border-gate-feed-name-row strong {
    font-weight: 700;
}
.border-gate-feed-when {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.85em;
    line-height: 1.4;
    color: var(--bs-secondary-color, #6c757d);
}
.border-gate-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0f766e;
    background: #ccfbf1;
    border: 1px solid #99f6e4;
    padding: 0.15rem 0.4rem;
    border-radius: 6px;
    line-height: 1.2;
}
.border-gate-verified-badge.is-hidden {
    display: none !important;
}
.border-gate-verified-icon {
    flex-shrink: 0;
    color: #0d9488;
}
.border-gate-feed-avatar {
    font-size: 1.5rem;
    line-height: 1;
}
.border-gate-feed-avatar-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--kan-placeholder-bg);
    font-size: 1rem;
    font-weight: 700;
    color: #475569;
}
.border-gate-feed-meta time {
    display: block;
    color: #64748b;
    font-size: 0.75rem;
}
.border-gate-feed-wait {
    margin-left: auto;
    font-weight: 700;
    font-size: 0.7rem;
    background: #fef3c7;
    color: #92400e;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
}
.border-gate-feed-text {
    margin: 0;
    flex: 1;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #334155;
}
.border-gate-feed-thumb {
    border-radius: 8px;
    overflow: hidden;
    padding: 1rem 0;
    border-top: 1px solid var(--kan-border-color);
    border-bottom: 1px solid var(--kan-border-color);
}
.border-gate-feed-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    max-height: 200px;
    display: block;
    vertical-align: middle;
}
.border-gate-feed-thumb-open {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    border-radius: inherit;
    cursor: zoom-in;
    text-align: inherit;
    -webkit-tap-highlight-color: transparent;
}
.border-gate-feed-thumb-open:focus-visible {
    outline: 2px solid var(--kanews-accent, #ff6600);
    outline-offset: 2px;
}
.border-gate-feed-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(1rem, env(safe-area-inset-top, 0px)) max(1rem, env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.88);
}
.border-gate-feed-lightbox-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-out;
}
.border-gate-feed-lightbox-frame {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.border-gate-feed-lightbox-img {
    max-width: 100%;
    max-height: min(92vh, calc(100vh - 2rem));
    width: auto;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
    pointer-events: auto;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}
.border-gate-feed-lightbox-close {
    position: absolute;
    top: max(0.5rem, env(safe-area-inset-top, 0px));
    right: max(0.5rem, env(safe-area-inset-right, 0px));
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
}
.border-gate-feed-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.28);
}
.border-gate-feed-footer {
    margin-top: 0.65rem;
    padding-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}
.border-gate-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    padding: 0.35rem 0.55rem;
    border-radius: 8px;
    border: 1px solid var(--kan-border-color);
    background: var(--kan-bg-white-color);
    cursor: pointer;
    color: #64748b;
    line-height: 1;
    font-family: inherit;
}
.border-gate-like-btn:hover:not(:disabled) {
    background: var(--kan-placeholder-bg);
    color: #334155;
    border-color: #cbd5e1;
}
.border-gate-like-btn:disabled,
.border-gate-like-btn.is-voted {
    cursor: default;
}
.border-gate-like-btn.is-voted {
    color: var(--border-gate-red);
    border-color: rgba(227, 34, 34, 0.35);
    background: #fef2f2;
}
.border-gate-like-svg path {
    transition: fill 0.15s ease, stroke 0.15s ease;
}
.border-gate-like-btn.is-voted .border-gate-like-svg path {
    fill: var(--border-gate-red);
    stroke: var(--border-gate-red);
}
.border-gate-like-count {
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    min-width: 1.1em;
    text-align: center;
    color: inherit;
}
.border-gate-verify-btn {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #475569;
    cursor: pointer;
    font-family: inherit;
    max-width: 100%;
}
.border-gate-verify-btn:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: var(--border-gate-navy);
}
@media (max-width: 480px) {
    .border-gate-feed-footer {
        flex-direction: column;
        align-items: stretch;
    }
}
.border-gate-detail .border-gate-source-panel .source-badge {
    padding: 0;
    margin: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
.border-gate-detail .border-gate-source-panel .source-text,
.border-gate-detail .border-gate-source-panel .source-text a {
    color: #475569;
    font-size: 0.8125rem;
}
.border-gate-detail .border-gate-source-panel .source-text a {
    font-weight: 600;
    color: var(--border-gate-navy);
}

/* İlgili haberler — tema başlığı ile aynı bölüm şeridi */
.border-gate-detail .border-gate-related-shell .kanews-section-heading .kanews-section-headline {
    padding: 0 0 1rem;
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--border-gate-navy);
}
.border-gate-detail .border-gate-related-shell .kanews-section-heading .kanews-section-headline > span {
    position: relative;
    display: inline-block;
    padding-left: 0.75rem;
}
.border-gate-detail .border-gate-related-shell .kanews-section-heading .kanews-section-headline > span::before {
    width: 4px !important;
    height: 55% !important;
    min-height: 1rem;
    border-radius: 2px !important;
    background: var(--border-gate-red) !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}
