/* Responsive — Wireless Planet */

@media screen and (max-width: 1100px) {
  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillars__grid,
  .map-grid,
  .inclusive__grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .inclusive__grid {
    gap: 2rem;
  }

  .pan-africa__inner {
    gap: 1.25rem;
    max-width: 100%;
  }

  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .site-footer__nav {
    grid-template-columns: 1fr 1fr;
  }

  .initiative-row {
    grid-template-columns: 3.25rem minmax(0, 1fr) auto;
    gap: 1rem 1.15rem;
  }

  .initiative-row__media {
    display: none;
  }

  .story-intro,
  .team-join,
  .team-collaborate__panel,
  .story-prose__grid,
  .story-hubs,
  .mv-grid,
  .mv-page__grid,
  .story-timeline,
  .story-values__grid,
  .core-values__grid,
  .team-grid,
  .team-list__grid,
  .hub-list__grid,
  .hub-show__gallery-grid,
  .hub-detail__gallery-grid,
  .hub-public-grid,
  .team-list__stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 950px) {
  .site-nav {
    top: 0.85rem;
    width: min(100% - 1.25rem, 1240px);
    border-radius: 22px;
    padding: 0 0.85rem;
  }

  .site-nav.is-scrolled {
    top: 0;
    width: 100%;
    border-radius: 0;
    padding: 0 1rem;
  }

  .site-nav__toggle {
    display: flex;
  }

  .site-nav__menu {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1.2rem;
    padding: 1.2rem 1.1rem 1.35rem;
    background: rgba(8, 14, 24, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  }

  .site-nav.is-scrolled .site-nav__menu {
    left: 1rem;
    right: 1rem;
    border-radius: 16px;
  }

  .site-nav__menu.is-open {
    display: flex;
  }

  .site-nav__dropdown {
    width: 100%;
  }

  .site-nav__dropbtn {
    width: 100%;
    justify-content: space-between;
    padding: 0.7rem 0;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
  }

  .site-nav__dropmenu {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    width: 100%;
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
  }

  .site-nav__dropdown.is-open .site-nav__dropmenu {
    display: block;
    transform: none;
  }

  .site-nav__submenu-panel {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    min-width: 0;
    max-width: none;
    width: 100%;
    margin: 0.25rem 0 0.35rem;
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.03);
  }

  .site-nav__submenu.is-open .site-nav__submenu-panel {
    display: block;
    transform: none;
  }

  .site-nav__submenu-toggle {
    font-size: 0.9rem;
    padding: 0.75rem 0.85rem;
  }

  .site-nav__submenu.is-open .site-nav__submenu-toggle i {
    transform: rotate(90deg);
  }

  .site-nav__submenu-panel a {
    white-space: normal;
  }

  .site-nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .site-nav__link {
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    padding: 0.7rem 0;
  }

  .site-nav__ctas {
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
  }

  .site-nav__dropdown--cta {
    width: 100%;
  }

  .site-nav__cta-dropbtn.site-nav__dropbtn,
  .btn.btn-gradient.site-nav__cta.site-nav__cta-dropbtn {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
    padding: 0.85rem 1rem;
  }

  .site-nav__dropmenu--cta {
    right: auto;
    left: auto;
    min-width: 0;
    max-width: none;
    width: 100%;
  }

  .site-nav__dropmenu--cta a {
    white-space: normal;
  }

  .site-nav__cta {
    width: 100%;
    font-size: 0.95rem;
    letter-spacing: 0.06em;
  }

  .nav-img { height: 25px; }
  .nav-option { gap: 5px; }
  .nav-option h3 { font-size: 12px; }
  .report-topic-heading,
  .item1,
  .items { width: 800px; }
}

@media screen and (max-width: 850px) {
  .hero {
    min-height: 640px;
    height: 88vh;
    max-height: none;
    padding-bottom: 2rem;
  }

  .hero__title {
    margin-bottom: 1.2rem;
    font-size: clamp(1.55rem, 7.2vw, 2.5rem);
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    gap: 0.65rem;
    margin-bottom: 1.6rem;
  }

  .hero__actions .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding: 0.8rem 0.9rem;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .hero__controls {
    margin-top: 1.1rem;
  }

  .hero__nav {
    width: 38px;
    height: 38px;
  }

  .pillars__grid,
  .map-grid,
  .inclusive__grid,
  .events-grid,
  .blog-grid,
  .story-intro,
  .team-join,
  .team-collaborate__panel,
  .story-prose__grid,
  .story-hubs,
  .mv-grid,
  .mv-page__grid,
  .story-timeline,
  .story-values__grid,
  .core-values__grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .site-footer__nav {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .initiative-row {
    grid-template-columns: 2.75rem minmax(0, 1fr);
    padding: 1.25rem 0;
  }

  .initiative-row__action {
    grid-column: 2;
    margin-top: 0.15rem;
  }

  .team-collaborate__visual {
    min-height: 280px;
    order: -1;
  }

  .team-collaborate__orb--lg {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .team-collaborate__ring {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .site-footer__actions {
    width: 100%;
  }

  .site-footer__cta,
  .site-footer__cta-secondary {
    width: 100%;
    justify-content: center;
  }

  .site-footer__bar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .partners__item {
    width: 160px;
    min-height: 104px;
  }

  .partners__logo {
    max-width: 126px;
    height: 48px;
  }

  .partners__track {
    animation-duration: 26s;
  }

  .admin-form__grid,
  .admin-show__grid,
  .team-compose,
  .team-list__stats,
  .team-list__grid,
  .hub-list__grid,
  .hub-show__gallery-grid,
  .hub-gallery-item,
  .team-photo-field {
    grid-template-columns: 1fr;
  }

  .team-compose__preview {
    position: static;
  }

  .team-photo-field {
    justify-items: start;
  }

  .hub-detail__layout,
  .hub-detail__gallery-grid,
  .hub-public-grid,
  .team-modal__layout,
  .team-profile__layout {
    grid-template-columns: 1fr;
  }

  .hub-detail__aside,
  .team-profile__aside {
    position: static;
  }

  .team-modal__media img,
  .team-modal__avatar {
    min-height: 260px;
  }

  .events-head,
  .blog-head {
    flex-direction: column;
    align-items: stretch;
  }

  .events-all,
  .blog-all {
    width: 100%;
    justify-content: center;
  }

  .event-card__footer {
    flex-wrap: wrap;
  }

  .inclusive__media,
  .inclusive__media img,
  .map-card,
  .map-card img {
    min-height: 280px;
  }

  .section {
    padding: 3.8rem 0;
  }

  .nav-img { height: 30px; }
  .nav-option { gap: 5px; }
  .nav-option h3 { font-size: 12px; }
  .report-topic-heading,
  .item1,
  .items { width: 700px; }

  .navcontainer {
    width: 100vw;
    position: absolute;
    transition: all 0.6s ease-in-out;
    top: 0;
    left: -100vw;
  }

  .navv { width: 100%; position: absolute; }
  .navclose { left: 0; }
  .searchbar { display: none; }
  .main { padding: 40px 30px 30px; }

  .searchbar2 {
    width: 100%;
    display: flex;
    margin: 0 0 40px;
    justify-content: center;
  }

  .searchbar2 input {
    width: 250px;
    height: 42px;
    border-radius: 50px 0 0 50px;
    background-color: var(--background-color3);
    padding: 0 20px;
    font-size: 15px;
    border: 2px solid var(--secondary-color);
  }

  .hide-me { display: none; }
}

@media screen and (max-width: 560px) {
  .auth-page {
    padding: 0.75rem;
  }

  .auth-shell {
    border-radius: 22px;
  }

  .auth-showcase {
    min-height: 280px;
    padding: 1.25rem;
  }

  .auth-showcase__stats {
    grid-template-columns: 1fr;
  }

  .auth-card {
    padding: 1.4rem 1.1rem 1.6rem;
  }

  .dashboard-stats,
  .dash-actions {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-stats--wide {
    grid-template-columns: 1fr 1fr;
  }

  .dash-summary {
    grid-template-columns: 1fr;
  }

  .dash-table__row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .dash-table__row--head {
    display: none;
  }

  .container {
    width: min(100% - 1.4rem, var(--wp-container));
  }

  .hero__actions {
    gap: 0.55rem;
  }

  .hero__actions .btn {
    padding: 0.75rem 0.7rem;
    font-size: 0.82rem;
  }

  .hero__stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
  }

  .stat-card {
    min-height: 96px;
    padding: 1rem 0.85rem;
  }

  .stat-card__label {
    font-size: 0.68rem;
  }

  .blob-label {
    min-width: 104px;
    min-height: 92px;
    font-size: 0.72rem;
  }

  .dashboard-stats {
    grid-template-columns: 1fr 1fr;
  }

  .dashboard-panels {
    grid-template-columns: 1fr;
  }

  .admin-user {
    display: none;
  }

  .auth-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-showcase {
    min-height: 320px;
  }

  .cta-banner {
    padding: 1.5rem 0 3.5rem;
  }

  .cta-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-banner__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media screen and (max-width: 490px) {
  .message { display: none; }
  .logosec {
    width: 100%;
    justify-content: space-between;
  }
  .logo { font-size: 20px; }
  .menuicn {
    cursor: pointer;
    background-color: rgba(94, 200, 240, 0.16);
    transition: 0.4s;
  }
  .menuicn:hover { background-color: rgba(94, 200, 240, 0.28); }
  .nav-img { height: 25px; }
  .nav-option { gap: 5px; }
  .nav-option h3 { font-size: 12px; }
  .nav-upper-options { gap: 15px; }
  .recent-Articles { font-size: 20px; }
  .report-topic-heading,
  .item1,
  .items { width: 550px; }
  .hide-me { visibility: hidden; }
}

@media screen and (max-width: 400px) {
  .recent-Articles { font-size: 17px; }
  .view {
    width: 60px;
    font-size: 10px;
    height: 27px;
  }
  .report-header {
    height: 60px;
    padding: 10px 10px 5px;
  }
  .searchbtn img { height: 20px; }
}

@media screen and (max-width: 320px) {
  .recent-Articles { font-size: 12px; }
  .view {
    width: 50px;
    font-size: 8px;
    height: 27px;
  }
  .report-header {
    height: 60px;
    padding: 10px 5px 5px;
  }
  .t-op { font-size: 12px; }
  .t-op-nextlvl { font-size: 10px; }
  .report-topic-heading,
  .item1,
  .items { width: 300px; }
  .report-body { padding: 10px; }
  .label-tag { width: 70px; }
  .searchbtn { width: 40px; }
  .searchbar2 input { width: 180px; }
}

@media screen and (max-width: 980px) {
  .shop-catalog {
    grid-template-columns: 1fr;
  }

  .shop-filter-panel {
    position: static;
  }

  .shop-grid,
  .shop-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-detail__layout,
  .shop-checkout__layout {
    grid-template-columns: 1fr;
  }

  .shop-checkout__summary {
    position: static;
  }
}

@media screen and (max-width: 640px) {
  .shop-grid,
  .shop-grid--related {
    grid-template-columns: 1fr;
  }

  .shop-checkout__grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 560px) {
  .shop-subnav__inner {
    gap: 0.15rem;
  }

  .shop-subnav__link {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 720px) {
  .shop-detail__thumbs {
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  }

  .shop-lightbox__nav--prev {
    left: 0.35rem;
  }

  .shop-lightbox__nav--next {
    right: 0.35rem;
  }

  .shop-lightbox__close {
    top: 0.35rem;
    right: 0.35rem;
  }
}
