/*
Theme Name: Ci
Description: Ci theme
Version: 1.0
Author: Ci's daddy
Text Domain: ci
Tested up to: 6.4
Requires at least: 6.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

body.home .wp-block-site-logo img {
  filter: invert(1);
}

header {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 1;
  box-shadow: var(--bs-box-shadow-sm) !important;
}

.social > a.icon {
  text-decoration: none;
}

.social > a.icon > img {
  margin: 0 5px;
}

.wp-block-navigation-item.current-menu-item {
  color: #f7941d;
}

.wp-block-query-pagination a {
  text-decoration: none;
  color: inherit;
}

.wp-block-query-pagination > .wp-block-query-pagination-numbers {
  margin: 0;
}

.wp-block-query-pagination > .wp-block-query-pagination-numbers .page-numbers {
  display: inline-block;
  border: 1px solid #000;
  border-radius: 100%;
  width: 33px;
  height: 33px;
  text-align: center;
  line-height: 33px;
}

.wp-block-query-pagination
  > .wp-block-query-pagination-numbers
  .page-numbers:not(:last-child) {
  margin-right: 5px;
}

.wp-block-query-pagination
  > .wp-block-query-pagination-numbers
  .page-numbers.current {
  color: #fff;
  background-color: #f7941d;
  border-color: #f7941d;
}

.wp-block-gallery > .wp-block-image {
  cursor: pointer;
}

@media (max-width: 992px) {
  .wp-block-gallery > .wp-block-image {
    width: calc(
      50% - var(--wp--style--unstable-gallery-gap, 16px) / 2
    ) !important;
  }
}

@media (max-width: 599px) {
  header > nav > div {
    flex-direction: row !important;
  }

  header .wp-block-site-logo {
    flex-grow: 1;
    text-align: center;
  }

  header .wp-block-site-logo img {
    width: 180px;
  }

  header nav.wp-block-navigation {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .wp-block-gallery > .wp-block-image {
    width: 100% !important;
  }
}
