.topbar {
    background: #050505;
    border-bottom: 3px solid #1f1f1f;
    min-height: 92px;
}

.topbar .brand {
    display: block;
    flex: 0 0 auto;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid rgba(255, 216, 77, .7);
    background: #fff;
}

.topbar .brand img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-copy h2 {
    margin-top: 34px;
}

.home-slider { position: relative; display: block; padding: 0; overflow: hidden; touch-action: pan-y; }
.home-slides { min-height: 610px; }
.home-slide { min-height: 610px; padding: 90px max(6vw, 40px); display: none; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; animation: homeSlideIn .4s ease; }
.home-slide.is-active { display: grid; }
.home-slide > div > p:not(.eyebrow) { font-size: 19px; max-width: 700px; color: #bed0df; }
.home-slide h1 { font-family: Georgia, serif; font-size: clamp(44px, 6vw, 78px); line-height: 1.03; margin: 14px 0 24px; }
.home-slide h1 em { color: #4ee0df; font-weight: 400; }
.slide-cta { display: inline-flex; margin-top: 22px; padding: 14px 20px; background: #0d6efd; color: #fff; font-weight: 900; border-radius: 3px; }
.slide-visual { min-height: 340px; border: 1px solid #33516b; background: radial-gradient(circle at center, #123e59, #0b2035 68%); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-content: center; padding: 34px; }
.slide-visual span { border: 1px solid #56d8d8; background: #0e3047; padding: 16px 12px; border-radius: 999px; text-align: center; font-size: 12px; font-weight: 900; }
.people-visual { transform: rotate(-2deg); }
.document-visual span { border-radius: 4px; border-left: 5px solid #ffd447; }
.standard-visual span { border-color: #ffd447; color: #ffd447; }
.slider-dots { position: absolute; z-index: 3; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 9px; }
.slider-dot { width: 14px; height: 14px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.35); cursor: pointer; transition: background .2s ease, transform .2s ease, box-shadow .2s ease; }
.slider-dot.is-active { background: #ff6a00; transform: scale(1.12); box-shadow: 0 0 14px rgba(255,106,0,.85); }
@keyframes homeSlideIn { from { opacity: .2; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }

@media (max-width:850px) {
    .home-slides, .home-slide { min-height: 610px; }
    .home-slide { grid-template-columns: 1fr; padding: 62px 32px 78px; }
    .home-slide .network-card, .home-slide .slide-visual { display: none; }
    .home-slide h1 { font-size: clamp(42px, 12vw, 62px); }
    .slider-dot { width: 13px; height: 13px; }
}

.privacy-copy h2 { margin: 38px 0 12px; }
.privacy-copy h3 { margin: 24px 0 7px; font-size: 19px; }
.privacy-copy p { margin-top: 0; }

.site-footer {
    background: #050505;
    color: #fff;
    padding: 46px max(5vw, 28px) 30px;
    display: block;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(290px, 1.7fr) 0.8fr 0.8fr;
    gap: clamp(34px, 6vw, 90px);
    align-items: start;
}

.site-footer h2,
.site-footer h3 {
    margin: 0 0 18px;
    color: #fff;
    font-family: Georgia, serif;
    line-height: 1.2;
}

.site-footer h2 { font-size: 22px; }
.site-footer h3 { font-size: 18px; }
.site-footer a { color: #fff; text-decoration: underline; }
.site-footer a:hover { color: #ffd447; }

.community-form { max-width: 430px; }
.community-form label {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
}
.community-form label span { color: #ff756f; font-weight: 900; }
.community-form input {
    display: block;
    width: 100%;
    height: 43px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 3px;
    background: #fff;
    color: #102238;
    padding: 8px 12px;
}
.community-form button {
    margin-top: 13px;
    border: 1px solid #fff;
    border-radius: 3px;
    background: #fff;
    color: #12338b;
    padding: 9px 22px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.footer-rss { margin-top: 42px; }
.footer-rss h3 { margin-bottom: 12px; }
.footer-rss div { display: flex; gap: 28px; }

.social-links { display: flex; align-items: center; gap: 18px; }
.social-links a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255,255,255,.7);
    border-radius: 50%;
    font-size: 20px;
    font-weight: 900;
    text-decoration: none;
}

.footer-about,
.footer-languages { display: flex; flex-direction: column; gap: 6px; }
.footer-about h2,
.footer-languages h2 { margin-bottom: 10px; }
.footer-address {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 12px;
    color: rgba(255,255,255,.86);
    font-size: 13px;
    font-style: normal;
    line-height: 1.55;
}
.footer-address strong { color: #fff; font-size: 14px; }
.footer-languages span { color: #fff; }
.footer-languages a[aria-current="page"] { color: #ffd447; font-weight: 900; }

html[dir="rtl"] body { direction: rtl; text-align: right; }
html[dir="rtl"] .topbar,
html[dir="rtl"] .section-head,
html[dir="rtl"] .profile-head { flex-direction: row-reverse; }
html[dir="rtl"] .nav-search { margin-left: 0; margin-right: auto; }
html[dir="rtl"] .grant-row > div:last-child { text-align: left; }

.footer-copyright {
    max-width: 1280px;
    margin: 50px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.18);
    text-align: center;
    color: rgba(255,255,255,.82);
    font-size: 12px;
}

@media (max-width: 850px) {
    .site-footer { padding: 38px 24px 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
    .footer-community { grid-column: 1 / -1; }
    .community-form { max-width: none; }
    .footer-copyright { margin-top: 35px; }
}

@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-community { grid-column: auto; }
}
