/* SaaS sidebar + reklam final fix */
.saas-sidebar{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.saas-card{
    background:rgba(255,255,255,.92);
    border:1px solid rgba(226,232,240,.95);
    border-radius:18px;
    padding:12px;
    box-shadow:0 10px 28px rgba(15,23,42,.07);
    backdrop-filter:blur(12px);
}

.saas-card-head{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:10px;
    color:#0f172a;
    font-size:11px;
    font-weight:900;
    letter-spacing:.12em;
    text-transform:uppercase;
}

.live-dot{
    width:10px;
    height:10px;
    border-radius:999px;
    background:#ef4444;
    box-shadow:0 0 0 5px rgba(239,68,68,.12);
    display:inline-block;
}

.live-dot.green{background:#22c55e;box-shadow:0 0 0 5px rgba(34,197,94,.12)}
.live-dot.blue{background:#3b82f6;box-shadow:0 0 0 5px rgba(59,130,246,.12)}
.live-dot.sponsor{background:#f59e0b;box-shadow:0 0 0 5px rgba(245,158,11,.14)}
.live-dot.pharmacy{background:#ec4899;box-shadow:0 0 0 5px rgba(236,72,153,.14)}

.fx-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
}
.fx-grid-4{
    grid-template-columns:1fr 1fr;
}

/* Generic fx rules from other CSS files can override these; keep this block scoped and hard-pinned. */
.saas-sidebar .fx-grid.fx-grid-4{
    grid-template-columns:1fr 1fr !important;
    gap:8px !important;
}

.fx-tile{
    padding:8px;
    border:1px solid #e2e8f0;
    border-radius:12px;
    background:linear-gradient(180deg,#ffffff,#f8fafc);
}
.saas-sidebar .fx-tile{
    padding:11px !important;
    border-radius:12px !important;
}

.fx-tile span{
    display:block;
    font-size:10px;
    font-weight:1000;
    color:#0f172a;
    letter-spacing:.08em;
    margin-bottom:4px;
}
.saas-sidebar .fx-tile span{
    font-size:12px !important;
    margin-bottom:6px !important;
}

.fx-value-row{
    display:flex;
    align-items:center;
    gap:6px;
    justify-content:space-between;
}

.fx-value-row b{
    font-size:12px;
    line-height:1;
    color:#020617;
    letter-spacing:-.01em;
}
.saas-sidebar .fx-value-row b{
    font-size:16px !important;
    letter-spacing:-.01em !important;
}

.fx-value-row em{
    font-style:normal;
    color:#fff;
    border-radius:999px;
    padding:1px 5px;
    font-size:9px;
    font-weight:900;
    white-space:nowrap;
}
.saas-sidebar .fx-value-row em{
    font-size:11px !important;
    padding:3px 7px !important;
}

.fx-value-row em.up{background:#10b981}
.fx-value-row em.down{background:#ef4444}

.fx-tile small{
    display:block;
    margin-top:4px;
    color:#64748b;
    font-weight:800;
    font-size:9px;
}
.saas-sidebar .fx-tile small{
    font-size:11px !important;
}

.weather-mini{
    margin-top:10px;
    background:linear-gradient(135deg,#f8fafc,#eef2ff);
    border:1px solid #e2e8f0;
    border-radius:16px;
    padding:12px 12px;
    display:grid;
    grid-template-columns:1fr auto;
    gap:6px 12px;
    align-items:center;
}

.weather-mini span{font-weight:900;color:#0f172a;font-size:14px}
.weather-mini b{font-size:22px;color:#ef4444;line-height:1}
.weather-mini small{grid-column:1/-1;color:#64748b;font-weight:700;font-size:13px}

.rank-list{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.saas-card .rank-news{
    display:grid;
    grid-template-columns:34px 1fr;
    align-items:center;
    gap:10px;
    color:#0f172a;
    text-decoration:none;
    padding:4px 0;
    border-bottom:1px solid rgba(226,232,240,.72);
}

.saas-card .rank-news:last-child{border-bottom:0}
.saas-card .rank-news em{
    width:30px;
    height:30px;
    border-radius:12px;
    background:#fee2e2;
    color:#ef4444;
    display:flex;
    align-items:center;
    justify-content:center;
    font-style:normal;
    font-weight:1000;
}
.saas-card .rank-news span{
    font-weight:900;
    font-size:14px;
    line-height:1.35;
}

.sidebar-ad-box{
    overflow:hidden;
    text-align:center;
}

.sidebar-ad-item{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:220px;
}

.sidebar-ad-box img,
.sidebar-ad-box .ad-image,
.saas-sidebar .ad-image-sidebar{
    width:300px!important;
    height:220px!important;
    max-width:100%!important;
    object-fit:contain!important;
    display:block!important;
    margin:0 auto!important;
    border-radius:18px;
}

.sidebar-ad-box a,
.sidebar-ad-box .ad-image-link{
    display:block!important;
    width:300px!important;
    max-width:100%!important;
    margin:0 auto!important;
}

.headline-under-ad,
.manset-alti-reklam,
.top-ad{
    width:100%;
    min-height:90px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.headline-under-ad img,
.manset-alti-reklam img,
.top-ad img,
.headline-under-ad .ad-image,
.manset-alti-reklam .ad-image,
.top-ad .ad-image{
    width:728px!important;
    height:90px!important;
    max-width:100%!important;
    object-fit:contain!important;
    display:block!important;
    margin:0 auto!important;
}

/* Manşet altı reklamı daha güçlü ve modern göster */
.manset-alti-reklam{
    min-height:140px!important;
    padding:8px 0!important;
}
.manset-alti-reklam img,
.manset-alti-reklam .ad-image{
    width:min(100%, 980px)!important;
    max-width:100%!important;
    height:auto!important;
    min-height:110px!important;
    object-fit:cover!important;
    border-radius:12px!important;
}
.manset-alti-reklam a{
    width:min(100%, 980px)!important;
    max-width:100%!important;
}

.headline-under-ad a,
.manset-alti-reklam a,
.top-ad a{
    display:block!important;
    width:728px!important;
    max-width:100%!important;
    margin:0 auto!important;
}

.sport-box p{
    margin:10px 0;
    color:#0f172a;
    font-weight:800;
    line-height:1.45;
}

.pharmacy-card{
    overflow:hidden;
    position:relative;
    background:
        radial-gradient(circle at 88% 12%, rgba(244,114,182,.18), transparent 34%),
        linear-gradient(180deg,#ffffff 0%,#fff7fb 100%) !important;
}

.pharmacy-hero{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    padding:12px;
    border:1px solid rgba(244,114,182,.22);
    border-radius:18px;
    background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(255,241,242,.88));
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9), 0 12px 26px rgba(190,18,60,.08);
}

.pharmacy-hero span{
    color:#9f1239;
    font-size:10px;
    font-weight:1000;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.pharmacy-hero strong{
    color:#0f172a;
    font-size:13px;
    font-weight:1000;
    text-align:right;
    line-height:1.25;
}

.pharmacy-item{
    position:relative;
    display:flex;
    align-items:center;
    gap:10px;
    border:1px solid rgba(226,232,240,.95);
    border-radius:18px;
    background:rgba(255,255,255,.9);
    padding:10px;
    margin-top:10px;
    box-shadow:0 14px 32px rgba(15,23,42,.06);
    word-break:break-word;
}

.pharmacy-icon{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:14px;
    background:linear-gradient(135deg,#fb7185,#db2777);
    color:#fff;
    font-size:11px;
    font-weight:1000;
    box-shadow:0 12px 22px rgba(219,39,119,.28);
    flex:0 0 auto;
}

.pharmacy-topline{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    width:100%;
    min-width:0;
}

.pharmacy-meta{
    min-width:0;
}

.pharmacy-meta b{
    display:block;
    color:#0f172a;
    font-size:13px;
    font-weight:1000;
    line-height:1.2;
}

.pharmacy-meta small{
    display:block;
    color:#64748b;
    font-weight:850;
    line-height:1.2;
    margin-top:4px;
    font-size:11px;
}

.pharmacy-topline b,
.pharmacy-topline small{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.pharmacy-route{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:8px 11px;
    border-radius:12px;
    border:0;
    background:linear-gradient(135deg,#0f172a,#be123c);
    color:#fff;
    text-decoration:none;
    font-size:11px;
    font-weight:1000;
    box-shadow:0 12px 22px rgba(15,23,42,.18);
    flex:0 0 auto;
    white-space:nowrap;
}

.pharmacy-route:hover{
    transform:translateY(-1px);
    filter:brightness(1.04);
}

.tags-mini{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.tags-mini .saas-card-head{
    width:100%;
}

.tags-mini a{
    background:#f1f5f9;
    color:#0f172a;
    border:1px solid #e2e8f0;
    border-radius:999px;
    padding:8px 10px;
    text-decoration:none;
    font-size:12px;
    font-weight:900;
}

.header-links a[href*="rss"],
.header-links a[href*="sitemap"],
.header-links a[href*="admin"]{
    display:none!important;
}

@media(max-width:900px){
    .fx-grid{grid-template-columns:1fr}
    .fx-grid-4{grid-template-columns:1fr 1fr}
    .saas-sidebar .fx-grid.fx-grid-4{grid-template-columns:1fr 1fr !important}
    .saas-sidebar .fx-tile {
        padding: 8px 10px !important
    }
    .saas-sidebar .fx-value-row b {
        font-size: 14px !important
    }
}
@media(max-width:480px){
    .saas-sidebar .fx-grid.fx-grid-4{
        grid-template-columns:1fr 1fr !important;
        gap:6px !important
    }
    .saas-sidebar .fx-tile {
        padding: 6px 8px !important;
        min-width:0 !important
    }
    .saas-sidebar .fx-value-row b {
        font-size: 13px !important
    }
    .saas-sidebar .fx-value-row em {
        font-size: 10px !important;
        padding: 2px 5px !important
    }
    .saas-sidebar .fx-tile span {
        font-size: 10px !important
    }
    .saas-sidebar .fx-tile small {
        font-size: 9px !important
    }
    .weather-mini b {
        font-size: 18px !important
    }
}

/* Mobil: Reklam alanları 100% genişlik */
@media(max-width:768px){
    .sidebar-ad-box,
    .sidebar-ad-force,
    .saas-sidebar .sidebar-ad-box {
        width:100% !important;
        max-width:100% !important;
    }
    .sidebar-ad-box img,
    .sidebar-ad-force img,
    .saas-sidebar .sidebar-ad-box img,
    .sidebar-ad-box .ad-image,
    .saas-sidebar .ad-image-sidebar {
        width:100% !important;
        max-width:100% !important;
        height:auto !important;
        min-height:auto !important;
        border-radius:12px !important;
    }
    .sidebar-ad-box a,
    .sidebar-ad-force a,
    .saas-sidebar .sidebar-ad-box a {
        width:100% !important;
        max-width:100% !important;
    }
}

/* Final override: Manşet altı reklamı 728x90 kilidinden çıkar */
.headline-under-ad.manset-alti-reklam{
    min-height:128px !important;
    padding:4px 0 !important;
    margin-bottom:6px !important;
}
.headline-under-ad.manset-alti-reklam .ad-item{
    width:100% !important;
    display:flex !important;
    justify-content:center !important;
}
.headline-under-ad.manset-alti-reklam a{
    width:min(100%, 1100px) !important;
    max-width:100% !important;
}
.headline-under-ad.manset-alti-reklam img,
.headline-under-ad.manset-alti-reklam .ad-image,
.headline-under-ad.manset-alti-reklam iframe,
.headline-under-ad.manset-alti-reklam ins{
    width:min(100%, 1100px) !important;
    max-width:100% !important;
    height:auto !important;
    min-height:120px !important;
    object-fit:cover !important;
    display:block !important;
    margin:0 auto !important;
    border-radius:12px !important;
}
