/* SEARCH STRIP */
.search-strip { background: var(--white); border-bottom: 1px solid var(--border); padding: 14px var(--layout-gutter); }
.search-strip-inner { max-width: var(--layout-shell-max); margin: 0 auto; display: flex; gap: 12px; align-items: center; }
.search-box { flex: 1; display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 8px; padding: 0 14px; height: 42px; transition: border-color .2s; }
.search-box:focus-within { border-color: var(--orange); }
.search-box svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--muted); }
.search-box input { border: none; background: transparent; font-family: 'DM Sans',sans-serif; font-size: 14px; color: var(--text); width: 100%; outline: none; }
.search-box input::placeholder { color: var(--muted); }
.search-go { background: var(--orange); color: #fff; border: none; border-radius: 8px; padding: 0 22px; height: 42px; font-family: 'DM Sans',sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s; white-space: nowrap; }
.search-go:hover { background: var(--orange-dark); }

/* BODY */
.body-wrap { max-width: var(--layout-shell-max); margin: 0 auto; padding: 28px var(--layout-gutter) 60px; display: grid; grid-template-columns: 1fr 290px; gap: 28px; align-items: start; }

/* REGION TABS */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 10px; }
.section-title { font-family: 'Syne',sans-serif; font-size: 20px; font-weight: 700; color: var(--navy); }
.section-title span { color: var(--orange); }
.count-badge { background: var(--orange-light); color: var(--orange-dark); border-radius: 100px; padding: 3px 12px; font-size: 12px; font-weight: 600; margin-left: 8px; }
.region-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.rtab { padding: 5px 14px; border-radius: 100px; border: 1.5px solid var(--border); background: var(--white); font-size: 12.5px; font-weight: 500; color: var(--muted); cursor: pointer; transition: all .18s; white-space: nowrap; }
.rtab:hover { border-color: var(--orange); color: var(--orange-dark); }
.rtab.active { background: var(--orange); border-color: var(--orange); color: #fff; }

/* COUNTRIES GRID */
.countries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.country-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 14px; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); transition: all .2s; position: relative; overflow: hidden; cursor: pointer; }
.country-card::before { content:''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--orange); opacity: 0; transition: opacity .2s; }
.country-card:hover { border-color: var(--orange); box-shadow: 0 4px 16px rgba(232,98,10,0.10); transform: translateY(-1px); }
.country-card:hover::before { opacity: 1; }
.country-card:hover .country-name { color: var(--orange-dark); }
.country-card:hover .card-arrow { opacity: 1; transform: translateX(0); }
.flag-wrap { width: 28px; height: 20px; border-radius: 3px; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--surface); font-size: 18px; line-height: 1; }
.flag-wrap .fi { width: 28px; height: 20px; border-radius: 3px; }
.country-info { flex: 1; min-width: 0; }
.country-name { font-size: 12.5px; font-weight: 600; color: var(--navy); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.country-count { font-size: 11px; color: var(--muted); margin-top: 1px; display: flex; align-items: center; gap: 3px;background: none;border: none; }
.country-count .bar { display: inline-block; height: 3px; background: var(--orange); border-radius: 2px; opacity: 0.5; min-width: 4px; max-width: 40px; }
.card-arrow { color: var(--orange); opacity: 0; transform: translateX(-4px); transition: all .2s; flex-shrink: 0; }
.card-arrow svg { width: 12px; height: 12px; }

/* SIDEBAR */
.sidebar { display: flex; flex-direction: column; gap: 18px; }
.sidebar-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; }
.sidebar-head { background: var(--navy); padding: 13px 18px; display: flex; align-items: center; gap: 8px; }
.sidebar-head .ico { width: 26px; height: 26px; background: rgba(232,98,10,0.2); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.sidebar-head .ico svg { width: 13px; height: 13px; fill: var(--orange); }
.sidebar-head h3 { font-family: 'Syne',sans-serif; font-size: 13.5px; font-weight: 700; color: #fff; }
.sidebar-body { padding: 14px 16px; }
.top-country-list { display: flex; flex-direction: column; gap: 8px; }
.tc-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--surface); border-radius: 8px; text-decoration: none; transition: background .15s; border: 1px solid transparent; }
.tc-item:hover { background: var(--orange-light); border-color: rgba(232,98,10,0.2); }
.tc-rank { font-family: 'Syne',sans-serif; font-size: 12px; font-weight: 700; color: var(--muted); min-width: 18px; }
.tc-flag { font-size: 16px; }
.tc-name { font-size: 12.5px; font-weight: 500; color: var(--slate); flex: 1; }
.tc-item:hover .tc-name { color: var(--orange-dark); }
.tc-count { font-size: 11px; color: var(--muted); font-weight: 600; }
.quick-links { display: flex; flex-direction: column; gap: 5px; }
.qlink { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--surface); border-radius: 8px; text-decoration: none; transition: all .18s; border: 1px solid transparent; }
.qlink:hover { background: var(--orange-light); border-color: rgba(232,98,10,0.2); }
.qlink .ql-ico { width: 16px; height: 16px; flex-shrink: 0; }
.qlink .ql-text { font-size: 12.5px; font-weight: 500; color: var(--slate); }
.qlink:hover .ql-text { color: var(--orange-dark); }
.qlink .ql-count { margin-left: auto; font-size: 11px; font-weight: 600; color: var(--muted); background: var(--white); border-radius: 100px; padding: 2px 7px; border: 1px solid var(--border); }
.cta-card { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); border-radius: 14px; padding: 20px 18px; text-align: center; position: relative; overflow: hidden; }
.cta-card::before { content:''; position: absolute; top: -30px; right: -30px; width: 120px; height: 120px; background: rgba(232,98,10,0.15); border-radius: 50%; }
.cta-card h3 { font-family: 'Syne',sans-serif; font-size: 16px; font-weight: 800; color: #fff; margin-bottom: 8px; position: relative; }
.cta-card p { font-size: 12px; color: rgba(255,255,255,0.6); margin-bottom: 14px; line-height: 1.5; position: relative; }
.cta-btn { display: block; background: var(--orange); color: #fff; text-decoration: none; border-radius: 8px; padding: 9px 18px; font-size: 13px; font-weight: 700; position: relative; transition: background .2s; }
.cta-btn:hover { background: var(--orange-dark); }

/* INFO STRIP */
.info-strip { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px var(--layout-gutter); }
.info-strip-inner { max-width: var(--layout-shell-max); margin: 0 auto; }
.info-strip p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 8px; }
.info-strip p:last-child { margin-bottom: 0; }
.info-strip strong { color: var(--slate); font-weight: 600; }
.alpha-index {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 20px;
}
.alpha-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1.5px solid var(--border);
    background: var(--white);
    font-size: 12px;
    font-weight: 600;
    color: var(--slate);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}

/* RESPONSIVE */
@media (max-width: 1024px) { .body-wrap { grid-template-columns: 1fr; } .sidebar { display: grid; grid-template-columns: repeat(2,1fr); } }
@media (max-width: 768px) { .countries-grid { grid-template-columns: repeat(2,1fr); } .sidebar { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .countries-grid { grid-template-columns: 1fr; } }
