/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/
.ad-slot {
    margin: 24px auto;
    text-align: center;
    min-height: 90px;
}
.ad-slot-label {
    font-size: 11px;
    color: #999;
    margin-bottom: 4px;
}

.home-card {
    box-shadow: 0 6px 20px rgba(20,20,60,0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.home-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(20,20,60,0.18);
}
.home-card h3 {
    font-weight: 700;
}
.home-card a {
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.15s ease;
}
.home-card a:hover {
    opacity: 0.8;
}

.gtrends-widget {
    max-width: 1140px;
    margin: 48px auto;
    padding: 36px 28px;
    background: linear-gradient(180deg, #f4f6fb 0%, #eef1f8 100%);
    border-radius: 20px;
}
.gtrends-widget h2 {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(90deg, #0b83e6, #7b2ff7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.gtrends-columns {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}
.gtrends-col {
    flex: 1 1 280px;
    background: #fff;
    border-radius: 16px;
    padding: 22px 22px 10px;
    box-shadow: 0 4px 16px rgba(20,20,50,0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gtrends-col:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(20,20,50,0.12);
}
.gtrends-col h3 {
    margin: 0 0 16px 0;
    font-size: 17px;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f5;
}
.gtrends-col ol {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: trend-rank;
}
.gtrends-col li {
    counter-increment: trend-rank;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #f2f2f6;
    font-size: 14px;
}
.gtrends-col li:last-child {
    border-bottom: none;
}
.gtrends-col li::before {
    content: counter(trend-rank);
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #eef1f8;
    color: #6a6f85;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gtrends-col li:nth-child(1)::before {
    background: linear-gradient(135deg, #ff6b6b, #ff9f43);
    color: #fff;
}
.gtrends-col li:nth-child(2)::before {
    background: linear-gradient(135deg, #0b83e6, #4facfe);
    color: #fff;
}
.gtrends-col li:nth-child(3)::before {
    background: linear-gradient(135deg, #a06be0, #7b2ff7);
    color: #fff;
}
.gtrends-title {
    font-weight: 600;
    color: #1a1a2e;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gtrends-traffic {
    font-size: 11px;
    font-weight: 600;
    color: #ff6b6b;
    white-space: nowrap;
    background: #fff0f0;
    padding: 2px 8px;
    border-radius: 20px;
}
.gtrends-empty {
    color: #999;
    font-size: 13px;
    padding: 12px 0;
}
.gtrends-source {
    text-align: center;
    font-size: 12px;
    color: #9a9fb0;
    margin-top: 20px;
    margin-bottom: 0;
}
@media (prefers-color-scheme: dark) {
    .gtrends-widget { background: linear-gradient(180deg, #1a1a20 0%, #16161c 100%); }
    .gtrends-col { background: #23232b; box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
    .gtrends-col h3 { border-bottom-color: #33333d; color: #eee; }
    .gtrends-col li { border-bottom-color: #2c2c35; }
    .gtrends-title { color: #eee; }
    .gtrends-traffic { background: rgba(255,107,107,0.15); }
    .gtrends-col li::before { background: #33333d; color: #aaa; }
}
@media (max-width: 600px) {
    .gtrends-widget { padding: 24px 16px; margin: 24px auto; border-radius: 14px; }
    .gtrends-col { flex: 1 1 100%; }
}
