/*
Theme Name: Pearl Harbor Premium
Theme URI: https://www.pearlharbor.info/
Author: PearlHarbor.info
Author URI: https://www.pearlharbor.info/
Description: Premium independent destination and historical guide theme for PearlHarbor.info. Includes 14 visitor guides, legal and trust pages, affiliate redirect management, metadata, cookie preferences, and a secure contact form.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: pearlharbor
*/

/* Page presentation is loaded from assets/css according to the active guide. */

.admin-bar .ph-header {
  top: 32px;
}

.ph-nav .ph-nav__list {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ph-nav .menu-item {
  margin: 0;
}

.ph-nav .menu-item.ph-nav__tour {
  margin-left: 6px;
  color: inherit;
  background: transparent;
}

.ph-nav .menu-item.ph-nav__tour > a {
  color: var(--ph-white);
  background: var(--ph-navy);
}

.ph-nav .menu-item.ph-nav__tour > a:hover,
.ph-nav .menu-item.ph-nav__tour > a:focus-visible {
  color: var(--ph-white);
  background: var(--ph-navy-2);
}

.ph-footer .ph-brand {
  color: var(--ph-white);
}

.ph-cookie-banner {
  position: fixed;
  z-index: 9999;
  right: 20px;
  bottom: 20px;
  width: min(520px, calc(100% - 40px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 16px;
  color: #fff;
  background: #071827;
  box-shadow: 0 22px 65px rgba(7, 24, 39, .32);
}

.ph-cookie-banner[hidden] {
  display: none;
}

.ph-cookie-banner h2 {
  margin: 0 0 8px;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.ph-cookie-banner p {
  margin: 0 0 16px;
  color: #d6e0e6;
  font-size: .92rem;
}

.ph-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.ph-cookie-actions button,
.ph-cookie-actions a {
  min-height: 42px;
  padding: 9px 15px;
  border: 1px solid #bc8b45;
  border-radius: 999px;
  color: #071827;
  background: #e5c68f;
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.ph-cookie-actions .ph-cookie-secondary {
  border-color: rgba(255, 255, 255, .45);
  color: #fff;
  background: transparent;
}

.ph-cookie-manage {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  z-index: 100000;
  top: 8px;
  left: 8px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  color: #071827;
  background: #fff;
}

@media (max-width: 782px) {
  .admin-bar .ph-header {
    top: 46px;
  }
}

@media (max-width: 820px) {
  .ph-nav .ph-nav__list {
    display: block;
  }

  .ph-nav .menu-item.ph-nav__tour {
    margin-left: 0;
  }
}
