.prc-sidebar-books {
    font-size: 15px;
    line-height: 1.45;
}

.prc-sidebar-books h3 {
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 14px 0;
}

.prc-sidebar-books h4 {
    font-size: 18px;
    line-height: 1.2;
    margin: 14px 0 8px 0;
}

.prc-sidebar-books p {
    margin: 0 0 14px 0;
}

.prc-book-item {
    margin-top: 22px;
    margin-bottom: 30px;
}

.prc-book-cover {
    display: block;
    width: 75%;
    max-width: 180px;
    height: auto;
    margin: 0 auto 14px auto;
}

.prc-side-button {
    display: block;
    text-align: center;
    padding: 10px 14px;
    margin: 8px 0;
    border-radius: 24px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
}

.prc-buy {
    background-color: #22aa49;
}

.prc-sample {
    background-color: #079bd3;
}

.prc-side-button:hover {
    opacity: 0.88;
}

.prc-book-item + .prc-book-item {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid #d6d6d6;
}

.prc-book-item + .prc-book-item {
    margin-top: 42px;
}
.prc-sidebar-divider {
    margin: 28px auto 24px auto;
    width: 60%;
    border: 0;
    border-top: 1px solid #d6d6d6;
}

.prc-events-section h3 {
    font-size: 22px;
    line-height: 1.2;
    margin: 0 0 14px 0;
}

.prc-events-section p {
    margin: 0 0 14px 0;
}

.prc-events-section a {
    color: #079bd3;
    text-decoration: none;
    font-weight: 500;
}

.prc-events-section a:hover {
    text-decoration: underline;
}
.prc-sidebar-divider {
  margin-top: 28px !important;
  margin-bottom: 32px !important;
}



.prc-book-item {
  margin-bottom: 0 !important;
}

.prc-side-button:last-child {
  margin-bottom: 0 !important;
}
.launch-price {
  font-size: 1.1em;
  font-weight: 700;
  color: #1faa4a;
  margin: 24px 0 18px 0;
  padding: 6px 0 6px 18px;
  border-left: 5px solid #1faa4a;
  line-height: 1.3;
}
.sidebar-launch-price {
  font-size: 0.95em;
  font-weight: 700;
  line-height: 1.35;
  color: #1faa4a;
  margin: 12px 0 18px 0;
  padding: 8px 0 8px 14px;
  border-left: 4px solid #1faa4a;
}
.offer-format {
  margin: 0;
  line-height: 1.35;
}

.offer-main {
  display: block;
  font-size: 1.1em;
  font-weight: 700;
  color: #1f9a4a; /* your green */
}

.offer-sub {
  display: block;
  font-size: 0.85em;
  color: #666666; /* smaller grey line */
  margin-top: 2px;
}
.prc-offer-box {
  margin-top: 20px;
  margin-bottom: 24px;
}
.prc-offer-price {
  margin: 0 0 18px 0;
  font-size: 26px;
  line-height: 1.25;
  color: #333333;
}

.prc-offer-format {
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.prc-offer-format-main {
  font-size: 26px;
  font-weight: 700;
  color: #1fa34a;
  margin-bottom: 6px;
}

.prc-offer-format-sub {
  font-size: 18px;
  font-weight: 400;
  color: #666666;
}

.prc-offer-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 0;
  clear: both;
}

.prc-offer-price {
  margin: 0 0 18px 0;
  font-size: 26px;
  line-height: 1.25;
  color: #333333;
}

.prc-offer-format {
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.prc-offer-format-main {
  font-size: 26px;
  font-weight: 700;
  color: #1fa34a;
  margin-bottom: 6px;
}

.prc-offer-format-sub {
  font-size: 18px;
  font-weight: 400;
  color: #666666;
}

.prc-offer-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 0;
  clear: both;
}
.prc-main-offer-box {
  border-left: 5px solid #1fa34a;
  padding-left: 28px;
  margin: 28px 0 36px 0;
}

.prc-main-offer-box {
  border-left: 5px solid #1fa34a;
  padding-left: 28px;
  margin: 28px 0 36px 0;
}

.prc-main-offer-box p {
  margin: 0;
}

.prc-main-offer-price {
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
  color: #20b24f;
  margin-bottom: 10px !important;
}

.prc-main-offer-format {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  color: #b89b3c;
  margin-bottom: 4px !important;
}

.prc-main-offer-paper {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 400;
  color: #777777;
  margin-bottom: 28px !important;
}

.prc-main-offer-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.prc-sidebar-offer {
  border-left: 4px solid #1fa34a;
  padding-left: 14px;
  margin: 18px 0 22px 0;
}

.prc-sidebar-offer p {
  margin: 0;
}

.prc-sidebar-price {
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
  color: #1fa34a;
  margin-bottom: 8px !important;
}

.prc-sidebar-format {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 700;
  color: #b89b3c;
  margin-bottom: 3px !important;
}

.prc-sidebar-paper {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 400;
  color: #777777;
}
.prc-book-features{
    margin:16px 0;
    padding-left:20px;
    line-height:1.6;
}

.prc-book-features li{
    margin-bottom:8px;
    color:#444;
}

.prc-book-features strong{
    color:#111;
}

.prc-diagrams-page {
  --prc-blue: #183b63;
  --prc-blue-dark: #102a46;
  --prc-pale-blue: #eaf2f8;
  --prc-border: #d7dde4;
  --prc-text: #1d2731;
  --prc-muted: #5b6670;
  --prc-white: #ffffff;
  max-width: 1180px;
  margin: 0 auto;
  color: var(--prc-text);
}

.prc-diagrams-page *,
.prc-diagrams-page *::before,
.prc-diagrams-page *::after {
  box-sizing: border-box;
}

.prc-diagrams-intro {
  margin: 0 0 28px;
  padding: 26px 28px;
  background: var(--prc-pale-blue);
  border-left: 5px solid var(--prc-blue);
  border-radius: 8px;
}

.prc-diagrams-intro h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.prc-diagrams-intro p {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.prc-diagrams-intro p:last-child {
  margin-bottom: 0;
}

.prc-download-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 32px;
}

.prc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 2px solid var(--prc-blue);
  border-radius: 6px;
  background: var(--prc-blue);
  color: var(--prc-white) !important;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.prc-button:hover,
.prc-button:focus {
  background: var(--prc-blue-dark);
  border-color: var(--prc-blue-dark);
  transform: translateY(-1px);
}

.prc-button--secondary {
  background: var(--prc-white);
  color: var(--prc-blue) !important;
}

.prc-button--secondary:hover,
.prc-button--secondary:focus {
  background: var(--prc-pale-blue);
  color: var(--prc-blue-dark) !important;
}

.prc-diagrams-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}

.prc-diagram-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--prc-border);
  border-radius: 9px;
  background: var(--prc-white);
  box-shadow: 0 4px 16px rgba(16, 42, 70, 0.08);
}

.prc-diagram-preview {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #f4f6f8;
  border-bottom: 1px solid var(--prc-border);
}

.prc-diagram-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.prc-diagram-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.prc-diagram-body h2 {
  margin: 0 0 9px;
  font-size: 1.35rem;
  line-height: 1.25;
}

.prc-diagram-body p {
  margin: 0 0 18px;
  color: var(--prc-muted);
  line-height: 1.55;
}

.prc-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.prc-card-actions .prc-button {
  flex: 1 1 160px;
}

.prc-rights {
  margin-top: 34px;
  padding: 20px 22px;
  border: 1px solid var(--prc-border);
  border-radius: 8px;
  background: #f7f8fa;
}

.prc-rights h2 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.prc-rights p {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .prc-diagrams-grid {
    grid-template-columns: 1fr;
  }

  .prc-diagrams-intro {
    padding: 22px 20px;
  }

  .prc-download-bar,
  .prc-card-actions {
    flex-direction: column;
  }

  .prc-button,
  .prc-card-actions .prc-button {
    width: 100%;
  }
}

.prc-inside-book {
  margin: 38px 0 34px;
}

.prc-inside-book h2 {
  margin-bottom: 10px;
}

.prc-inside-intro {
  max-width: 900px;
  margin-bottom: 22px;
}

.prc-thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.prc-thumbnail-card {
  margin: 0;
  padding: 0;
  border: 1px solid #d8d8d8;
  background: #ffffff;
}

.prc-thumbnail-card a {
  display: block;
  overflow: hidden;
  background: #f5f5f5;
}

.prc-thumbnail-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.prc-thumbnail-card a:hover img {
  transform: scale(1.025);
}

.prc-thumbnail-card figcaption {
  display: block;
  padding: 13px 14px 15px;
  line-height: 1.42;
}

.prc-thumbnail-card figcaption strong {
  display: block;
  margin-bottom: 5px;
  color: #1596a8;
  font-size: 16px;
}

.prc-thumbnail-card figcaption span {
  display: block;
  font-size: 13px;
  color: #444444;
}

@media (max-width: 780px) {
  .prc-thumbnail-grid {
    grid-template-columns: 1fr;
  }

  .prc-thumbnail-card img {
    aspect-ratio: auto;
  }
}

.go-deeper-list {
    margin-top: 28px;
}

.go-deeper-item {
    margin-bottom: 26px;
}

.go-deeper-question {
    margin: 0 0 5px 0;
    font-weight: 700;
    line-height: 1.4;
}

.go-deeper-answer {
    margin: 0 0 0 36px;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .go-deeper-answer {
        margin-left: 20px;
    }
}
footer p {
    margin-top: 0;
    margin-bottom: 8px;
}

footer .wp-block-group {
    gap: 10px;
}


/* ==========================================================
 INDEPENDENT PUBLISHER 2
 TABLET / IPAD ONLY

 Images = 6th top-level menu item
 Research = 7th top-level menu item

 On touch tablets only:
 - first dropdown aligns to the left side of available space
 - deeper submenus cascade LEFT
 - submenu arrows reverse direction

 Desktop computers retain normal menu behaviour.
 ========================================================== */

@media screen
  and (min-width: 768px)
  and (max-width: 1180px)
  and (hover: none)
  and (pointer: coarse) {

  /* ======================================================
     IMAGES + RESEARCH:
     FIRST DROPDOWN
     ====================================================== */

  .main-navigation > div > ul >
  li:nth-child(6):hover > ul,

  .main-navigation > div > ul >
  li:nth-child(6).focus > ul,

  .main-navigation > div > ul >
  li:nth-child(7):hover > ul,

  .main-navigation > div > ul >
  li:nth-child(7).focus > ul {
    left: auto !important;
    right: 0 !important;
  }


  /* ======================================================
     IMAGES + RESEARCH:
     ALL DEEPER SUBMENUS OPEN TO THE LEFT
     ====================================================== */

  .main-navigation > div > ul >
  li:nth-child(6) ul li:hover > ul,

  .main-navigation > div > ul >
  li:nth-child(6) ul li.focus > ul,

  .main-navigation > div > ul >
  li:nth-child(7) ul li:hover > ul,

  .main-navigation > div > ul >
  li:nth-child(7) ul li.focus > ul {
    left: auto !important;
    right: 100% !important;
  }


  /* ======================================================
     REVERSE SUBMENU ARROWS
     ====================================================== */

  .main-navigation > div > ul >
  li:nth-child(6) ul
  li.menu-item-has-children > a:after,

  .main-navigation > div > ul >
  li:nth-child(6) ul
  li.page_item_has_children > a:after,

  .main-navigation > div > ul >
  li:nth-child(7) ul
  li.menu-item-has-children > a:after,

  .main-navigation > div > ul >
  li:nth-child(7) ul
  li.page_item_has_children > a:after {
    transform: rotate(180deg) !important;
  }

}


@media screen and (min-width: 945px) {
    .has-header-image #hero-header {
        padding-top: 12vh;
        padding-bottom: 7vh;
    }
}



/* =========================================================
   PRC EXPLORE PERSPECTIVE NAVIGATION MAP
   ONE LINK PER ROW
   14px NORMAL / 13px LONG LINKS
   ========================================================= */

.prc-perspective-map {
    margin: 24px 0 10px !important;
    padding: 0 !important;
    font-family: inherit !important;
}

.prc-perspective-map *,
.prc-perspective-map *::before,
.prc-perspective-map *::after {
    box-sizing: border-box;
}


/* MAIN TITLE */

.prc-perspective-map .prc-map-title {
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    font-size: 32px !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
    color: #22a447 !important;
    letter-spacing: 0 !important;
}


/* INTRO TEXT */

.prc-perspective-map .prc-map-intro {
    margin: 0 0 13px 0 !important;
    padding: 0 !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
}


/* 4-COLUMN GRID */

.prc-perspective-map .prc-map-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* INDIVIDUAL BOX */

.prc-perspective-map .prc-map-section {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid #d0d0d0 !important;
    background: #ffffff !important;
    min-width: 0 !important;
}


/* COLOURED SECTION HEADINGS */

.prc-perspective-map .prc-map-section h3 {
    display: block !important;
    margin: 0 !important;
    padding: 7px 9px !important;
    font-size: 14px !important;
    line-height: 1.12 !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}


/* LINK AREA */

.prc-perspective-map .prc-map-links {
    display: block !important;
    margin: 0 !important;
    padding: 7px 9px 8px !important;
}


/* NORMAL LINK ROW */

.prc-perspective-map .prc-map-links span,
.prc-perspective-map .prc-map-links a {
    display: block !important;
    width: 100% !important;
    margin: 0 0 3px 0 !important;
    padding: 0 !important;
    font-size: 14px !important;
    line-height: 1.14 !important;
    font-weight: 400 !important;
    color: #006bb6 !important;
    text-decoration: underline !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 2px !important;
}


/* LONG LINK ROW */

.prc-perspective-map .prc-map-links .prc-long {
    font-size: 13px !important;
    line-height: 1.15 !important;
}


/* REMOVE SPACE AFTER LAST LINK */

.prc-perspective-map .prc-map-links span:last-child,
.prc-perspective-map .prc-map-links a:last-child {
    margin-bottom: 0 !important;
}


/* =========================================================
   SECTION COLOURS
   ========================================================= */

.prc-perspective-map .prc-c1 h3 {
    background: #386b45 !important;
}

.prc-perspective-map .prc-c2 h3 {
    background: #548348 !important;
}

.prc-perspective-map .prc-c3 h3 {
    background: #315f91 !important;
}

.prc-perspective-map .prc-c4 h3 {
    background: #4c7da5 !important;
}

.prc-perspective-map .prc-c5 h3 {
    background: #438b87 !important;
}

.prc-perspective-map .prc-c6 h3 {
    background: #307477 !important;
}

.prc-perspective-map .prc-c7 h3 {
    background: #265d68 !important;
}

.prc-perspective-map .prc-c8 h3 {
    background: #73588d !important;
}

.prc-perspective-map .prc-c9 h3 {
    background: #a66a35 !important;
}

.prc-perspective-map .prc-c10 h3 {
    background: #8b527c !important;
}

.prc-perspective-map .prc-c11 h3 {
    background: #984f53 !important;
}

.prc-perspective-map .prc-c12 h3 {
    background: #5d6e7e !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .prc-perspective-map .prc-map-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

}


/* =========================================================
   SMALL TABLET
   ========================================================= */

@media (max-width: 720px) {

    .prc-perspective-map .prc-map-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}


/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 480px) {

    .prc-perspective-map .prc-map-grid {
        grid-template-columns: 1fr !important;
    }

    .prc-perspective-map .prc-map-title {
        font-size: 28px !important;
    }

    .prc-perspective-map .prc-map-intro {
        font-size: 16px !important;
    }

    .prc-perspective-map .prc-map-links span,
    .prc-perspective-map .prc-map-links a,
    .prc-perspective-map .prc-map-links .prc-long {
        font-size: 16px !important;
        line-height: 1.2 !important;
    }

    .prc-perspective-map .prc-map-section h3 {
        font-size: 15px !important;
    }

}

.prc-sidebar-search {
    margin: 0 0 24px 0;
}

.prc-sidebar-search .widget-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin-bottom: 14px !important;
}

.prc-sidebar-search input[type="search"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #c7c7c7;
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
    background: #fff;
}

.prc-sidebar-search button {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 16px;
    border: 0;
    border-radius: 999px;
    background: #24a8d8;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.2s ease;
}

.prc-sidebar-search button:hover,
.prc-sidebar-search button:focus {
    background: #1d96c2;
}

.prc-sidebar-search input[type="search"]:focus {
    outline: 2px solid #7fcbe5;
    outline-offset: 1px;
}



.prc-index-search input[type="search"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #c7c7c7;
    border-radius: 3px;
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 10px;
    background: #fff;
}

.prc-index-search button {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 16px;
    border: 0;
    border-radius: 999px;
    background: #24a8d8;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
}

.prc-index-search button:hover,
.prc-index-search button:focus {
    background: #1d96c2;
}


/* =========================================================
   ABRIDGED DICTIONARY SEARCH
   ========================================================= */

.prc-dictionary-search {
    width: 100% !important;
    box-sizing: border-box !important;
}

.prc-dictionary-search .widget-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin: 0 0 12px 0 !important;
}

.prc-dictionary-search .prc-dictionary-intro {
    margin: 0 0 14px 0 !important;
}

.prc-dictionary-search form {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

.prc-dictionary-search input[type="search"] {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding: 10px 12px !important;
    margin: 0 0 10px 0 !important;
    border: 1px solid #c7c7c7 !important;
    border-radius: 3px !important;
    background: #fff !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

.prc-dictionary-search button {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    padding: 11px 16px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #24a8d8 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-align: center !important;
    text-transform: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

.prc-dictionary-search button:hover,
.prc-dictionary-search button:focus {
    background: #1d96c2 !important;
    color: #fff !important;
}

/* =========================================================
   PRC COMPACT HEADER — START
   ========================================================= */

/* 85px pure black masthead */
#hero-header.site-hero-section {
    height: 85px !important;
    min-height: 85px !important;
    max-height: 85px !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;

    background-image: none !important;
    background-color: #000000 !important;
}

/* Make header interior use the full width */
#hero-header #masthead.site-header,
#hero-header #masthead .inner {
    width: 100% !important;
    max-width: none !important;

    height: 85px !important;
    min-height: 85px !important;
    max-height: 85px !important;

    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Centre complete PRC identity in the full black strip */
#hero-header #masthead .inner {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Icon + two-line text block */
#hero-header .site-branding {
    position: static !important;

    display: grid !important;
    grid-template-columns: 44px auto !important;
    grid-template-rows: auto auto !important;
    column-gap: 12px !important;
    row-gap: 2px !important;

    align-items: center !important;
    justify-content: center !important;

    width: max-content !important;
    max-width: 100% !important;
    height: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateY(4px) !important;
}

/* PRC icon */
#hero-header .custom-logo-link,
#hero-header .site-logo {
    display: block !important;

    grid-column: 1 !important;
    grid-row: 1 / 3 !important;

    position: static !important;
    margin: 0 !important;
    padding: 0 !important;
}

#hero-header .custom-logo,
#hero-header .site-logo-image {
    display: block !important;

    width: auto !important;
    height: 44px !important;
    max-width: none !important;
    max-height: 44px !important;

    margin: 0 !important;
    padding: 0 !important;
}

/* Perspective Research Centre */
#hero-header .site-title {
    display: block !important;

    grid-column: 2 !important;
    grid-row: 1 !important;

    position: static !important;
    margin: 0 !important;
    padding: 0 !important;

    text-align: left !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
}

#hero-header .site-title a {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Hide original long tagline */
#hero-header .site-description {
    display: block !important;

    grid-column: 2 !important;
    grid-row: 2 !important;

    position: static !important;
    margin: 0 !important;
    padding: 0 !important;

    text-align: left !important;
    font-size: 0 !important;
    line-height: 1 !important;
}

/* Short PRC subtitle */
#hero-header .site-description::after {
    content: "The Visual Dimensions of Art, Science and Technology";

    display: block !important;

    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.15 !important;

    color: #cccccc !important;
}

/* =========================================================
   PRC COMPACT HEADER — END
   ========================================================= */

/* =========================================================
   PRC RESPONSIVE PAGE TITLES — START
   ========================================================= */

/* Large desktop:
   keep page titles on one line where possible */
@media (min-width: 1200px) {

    .site-main .entry-title,
    .content-area .entry-title,
    .site-main .page-title {
        white-space: nowrap !important;

        font-size: clamp(32px, 2.6vw, 42px) !important;
        line-height: 1.08 !important;

        margin-top: 0 !important;
        margin-bottom: 18px !important;
    }
}


/* iPad / tablet:
   allow long titles to wrap naturally */
@media (min-width: 900px) and (max-width: 1199px) {

    .site-main .entry-title,
    .content-area .entry-title,
    .site-main .page-title {
        white-space: normal !important;

        font-size: 36px !important;
        line-height: 1.12 !important;

        margin-top: 0 !important;
        margin-bottom: 18px !important;
    }
}


/* Mobile:
   normal wrapping and smaller title */
@media (max-width: 899px) {

    .site-main .entry-title,
    .content-area .entry-title,
    .site-main .page-title {
        white-space: normal !important;

        font-size: 30px !important;
        line-height: 1.15 !important;

        margin-top: 0 !important;
        margin-bottom: 16px !important;
    }
}

/* =========================================================
   PRC RESPONSIVE PAGE TITLES — END
   ========================================================= */


/* =========================================================
   PRC DESKTOP SIDEBAR POSITION — START
   ========================================================= */

/* Desktop only — move sidebar upward */
@media (min-width: 1200px) {

    #secondary,
    .widget-area {
        position: relative !important;
        top: -45px !important;
    }
}

/* Tablet and mobile — retain normal theme position */
@media (max-width: 1199px) {

    #secondary,
    .widget-area {
        position: relative !important;
        top: 0 !important;
    }
}

/* =========================================================
   PRC MASTER COLOUR CONTROL
   =========================================================
   CHANGE COLOURS ONLY IN :ROOT.
   EVERYTHING ELSE BELOW USES THESE VALUES.
   ========================================================= */

:root {

    /* =====================================================
       MASTER COLOUR SETTINGS — EDIT ONLY THESE
       ===================================================== */

    /* TOP MASTHEAD */
    --prc-masthead-bg: #01172E;
    --prc-masthead-title: #FFFFFF;
    --prc-masthead-subtitle: #CCCCCC;

    /* PAGE HEADINGS */
    --prc-page-title: #1F5F5B;
    --prc-h2: #4F7A58;
    --prc-h3: #2F6F9F;

    /* SIDEBAR TITLES */
    --prc-sidebar-title: #1F5F5B;
    --prc-sidebar-book-title: #2F6F9F;
    --prc-sidebar-volume-title: #A77A16;

/* TOP MENU */
--prc-menu-bg: #FFFFFF;
--prc-menu-text: #3F6E9B;
--prc-menu-hover: #1F5F5B;
--prc-menu-current: #1F5F5B;

/* DROPDOWN MENUS */
--prc-dropdown-bg: #1F5F5B;       /* normal emerald */
--prc-dropdown-text: #FFFFFF;     /* normal text = white */
--prc-dropdown-hover: #2F7A70;    /* hover emerald */
--prc-dropdown-current: #315F91;  /* selected/current = blue */
	
	
    /* SEARCH BUTTONS */
    --prc-search-button: #2F6F9F;
    --prc-search-button-hover: #255B83;

    /* SITE NAVIGATION BUTTON */
    --prc-nav-button: #4F7A58;
    --prc-nav-button-hover: #3F6547;

    /* BUY / AMAZON BUTTONS */
    --prc-buy-button: #A77A16;
    --prc-buy-button-hover: #8A6412;

    /* FREE SAMPLE BUTTONS */
    --prc-sample-button: #2F6F9F;
    --prc-sample-button-hover: #255B83;

    /* OTHER PRC BUTTONS */
    --prc-general-button: #2F6F9F;
    --prc-general-button-hover: #255B83;

    /* BUTTON TEXT */
    --prc-button-text: #FFFFFF;
}


/* =========================================================
   MASTHEAD / TOP BAR
   ========================================================= */

#hero-header.site-hero-section {
    background-image: none !important;
    background-color: var(--prc-masthead-bg) !important;
}

#hero-header .site-title a {
    color: var(--prc-masthead-title) !important;
}

#hero-header .site-description::after {
    color: var(--prc-masthead-subtitle) !important;
}


/* =========================================================
   PAGE TITLES / HEADINGS
   ========================================================= */

.entry-title,
.page-title,
h1.entry-title,
.site-main .entry-title,
.content-area .entry-title,
.site-main .page-title {
    color: var(--prc-page-title) !important;
}

.entry-content h2 {
    color: var(--prc-h2) !important;
}

.entry-content h3 {
    color: var(--prc-h3) !important;
}


/* =========================================================
   SIDEBAR TITLES
   ========================================================= */

#secondary .widget-title,
.widget-area .widget-title,
.prc-sidebar-search .widget-title,
.prc-dictionary-search .widget-title,
.prc-sidebar-audience h3,
.prc-events-section h3,
.prc-sidebar-books > h3:first-of-type {
    color: var(--prc-sidebar-title) !important;
}

/* Sidebar book titles */
.prc-sidebar-book h3 {
    color: var(--prc-sidebar-book-title) !important;
}

/* Volume 1 / Volume 2 / Volume 3 */
.prc-sidebar-book > p:first-of-type {
    color: var(--prc-sidebar-volume-title) !important;
}


/* =========================================================
   TOP MENU
   ========================================================= */

.main-navigation,
.main-navigation > div,
.main-navigation > div > ul {
    background-color: var(--prc-menu-bg) !important;
}

.main-navigation > div > ul > li > a {
    color: var(--prc-menu-text) !important;
}

.main-navigation > div > ul > li > a:hover,
.main-navigation > div > ul > li > a:focus {
    color: var(--prc-menu-hover) !important;
}

.main-navigation > div > ul > li.current-menu-item > a,
.main-navigation > div > ul > li.current-menu-ancestor > a,
.main-navigation > div > ul > li.current_page_item > a,
.main-navigation > div > ul > li.current_page_ancestor > a {
    color: var(--prc-menu-current) !important;
}


/* =========================================================
   DROPDOWN / SELECTION TREES
   ========================================================= */

.main-navigation ul ul,
.main-navigation ul ul li {
    background-color: var(--prc-dropdown-bg) !important;
}

.main-navigation ul ul a {
    background-color: var(--prc-dropdown-bg) !important;
    color: var(--prc-dropdown-text) !important;
}

.main-navigation ul ul a:hover,
.main-navigation ul ul a:focus {
    background-color: var(--prc-dropdown-hover) !important;
    color: var(--prc-dropdown-text) !important;
}

.main-navigation ul ul li.current-menu-item > a,
.main-navigation ul ul li.current_page_item > a,
.main-navigation ul ul li.current-menu-ancestor > a,
.main-navigation ul ul li.current_page_ancestor > a {
    background-color: var(--prc-dropdown-current) !important;
    color: var(--prc-dropdown-text) !important;
}


/* =========================================================
   SEARCH BUTTONS
   ========================================================= */

.prc-sidebar-search button,
.prc-index-search button,
.prc-dictionary-search button {
    background: var(--prc-search-button) !important;
    background-color: var(--prc-search-button) !important;
    border-color: var(--prc-search-button) !important;
    color: var(--prc-button-text) !important;
}

.prc-sidebar-search button:hover,
.prc-sidebar-search button:focus,
.prc-index-search button:hover,
.prc-index-search button:focus,
.prc-dictionary-search button:hover,
.prc-dictionary-search button:focus {
    background: var(--prc-search-button-hover) !important;
    background-color: var(--prc-search-button-hover) !important;
    border-color: var(--prc-search-button-hover) !important;
}


/* =========================================================
   SITE NAVIGATION INDEX BUTTON
   ========================================================= */

#secondary a[style*="background"][style*="border-radius"],
.widget-area a[style*="background"][style*="border-radius"] {
    background: var(--prc-nav-button) !important;
    background-color: var(--prc-nav-button) !important;
    background-image: none !important;
    border-color: var(--prc-nav-button) !important;
    color: var(--prc-button-text) !important;
}


/* =========================================================
   SIDEBAR BOOK BUTTONS
   EXACT STRUCTURE CONFIRMED IN INSPECTOR
   ========================================================= */

/* BUY ON AMAZON */
.prc-sidebar-book > p:nth-last-of-type(2) > a {
    background: var(--prc-buy-button) !important;
    background-color: var(--prc-buy-button) !important;
    background-image: none !important;
    border-color: var(--prc-buy-button) !important;
    color: var(--prc-button-text) !important;
}

/* FREE SAMPLE */
.prc-sidebar-book > p:last-of-type > a {
    background: var(--prc-sample-button) !important;
    background-color: var(--prc-sample-button) !important;
    background-image: none !important;
    border-color: var(--prc-sample-button) !important;
    color: var(--prc-button-text) !important;
}

/* BUY HOVER */
.prc-sidebar-book > p:nth-last-of-type(2) > a:hover,
.prc-sidebar-book > p:nth-last-of-type(2) > a:focus {
    background: var(--prc-buy-button-hover) !important;
    background-color: var(--prc-buy-button-hover) !important;
}

/* SAMPLE HOVER */
.prc-sidebar-book > p:last-of-type > a:hover,
.prc-sidebar-book > p:last-of-type > a:focus {
    background: var(--prc-sample-button-hover) !important;
    background-color: var(--prc-sample-button-hover) !important;
}


/* =========================================================
   OLD PRC BUY / SAMPLE CLASSES
   ========================================================= */

.prc-buy,
a.prc-buy,
.prc-side-button.prc-buy {
    background: var(--prc-buy-button) !important;
    background-color: var(--prc-buy-button) !important;
    background-image: none !important;
    border-color: var(--prc-buy-button) !important;
    color: var(--prc-button-text) !important;
}

.prc-sample,
a.prc-sample,
.prc-side-button.prc-sample {
    background: var(--prc-sample-button) !important;
    background-color: var(--prc-sample-button) !important;
    background-image: none !important;
    border-color: var(--prc-sample-button) !important;
    color: var(--prc-button-text) !important;
}


/* =========================================================
   MAIN PAGE BOOK BUTTONS
   BUY / AMAZON
   ========================================================= */

/* Amazon links */
.entry-content a[href*="amazon" i],
.entry-content a[href*="amzn" i],
.prc-main-offer-buttons a[href*="amazon" i],
.prc-main-offer-buttons a[href*="amzn" i],
.prc-offer-buttons a[href*="amazon" i],
.prc-offer-buttons a[href*="amzn" i] {
    background: var(--prc-buy-button) !important;
    background-color: var(--prc-buy-button) !important;
    background-image: none !important;
    border-color: var(--prc-buy-button) !important;
    color: var(--prc-button-text) !important;
}


/* =========================================================
   MAIN PAGE BOOK BUTTONS
   FREE SAMPLE
   ========================================================= */

/* Links containing SAMPLE */
.entry-content a[href*="sample" i],
.prc-main-offer-buttons a[href*="sample" i],
.prc-offer-buttons a[href*="sample" i] {
    background: var(--prc-sample-button) !important;
    background-color: var(--prc-sample-button) !important;
    background-image: none !important;
    border-color: var(--prc-sample-button) !important;
    color: var(--prc-button-text) !important;
}

/* Rounded PDF buttons — catches the remaining cyan sample button */
.entry-content a[href$=".pdf" i][style*="border-radius"],
.entry-content a[href*=".pdf?" i][style*="border-radius"] {
    background: var(--prc-sample-button) !important;
    background-color: var(--prc-sample-button) !important;
    background-image: none !important;
    border-color: var(--prc-sample-button) !important;
    color: var(--prc-button-text) !important;
}


/* =========================================================
   MAIN PAGE BOOK BUTTON PAIRS
   FIRST BUTTON = BUY
   SECOND BUTTON = SAMPLE
   ========================================================= */

/* FIRST BUTTON */
.prc-main-offer-buttons > a:first-child,
.prc-main-offer-buttons > p:first-child > a,
.prc-main-offer-buttons > .wp-block-button:first-child .wp-block-button__link,
.prc-offer-buttons > a:first-child,
.prc-offer-buttons > p:first-child > a,
.prc-offer-buttons > .wp-block-button:first-child .wp-block-button__link {
    background: var(--prc-buy-button) !important;
    background-color: var(--prc-buy-button) !important;
    background-image: none !important;
    border-color: var(--prc-buy-button) !important;
    color: var(--prc-button-text) !important;
}

/* SECOND BUTTON */
.prc-main-offer-buttons > a:nth-child(2),
.prc-main-offer-buttons > p:nth-child(2) > a,
.prc-main-offer-buttons > .wp-block-button:nth-child(2) .wp-block-button__link,
.prc-offer-buttons > a:nth-child(2),
.prc-offer-buttons > p:nth-child(2) > a,
.prc-offer-buttons > .wp-block-button:nth-child(2) .wp-block-button__link {
    background: var(--prc-sample-button) !important;
    background-color: var(--prc-sample-button) !important;
    background-image: none !important;
    border-color: var(--prc-sample-button) !important;
    color: var(--prc-button-text) !important;
}


/* =========================================================
   WORDPRESS BUTTON BLOCKS
   ========================================================= */

.wp-block-button__link[href*="amazon" i],
.wp-block-button__link[href*="amzn" i] {
    background: var(--prc-buy-button) !important;
    background-color: var(--prc-buy-button) !important;
    border-color: var(--prc-buy-button) !important;
    color: var(--prc-button-text) !important;
}

.wp-block-button__link[href*="sample" i],
.wp-block-button__link[href$=".pdf" i] {
    background: var(--prc-sample-button) !important;
    background-color: var(--prc-sample-button) !important;
    border-color: var(--prc-sample-button) !important;
    color: var(--prc-button-text) !important;
}


/* =========================================================
   BUY / SAMPLE HOVERS
   ========================================================= */

.entry-content a[href*="amazon" i]:hover,
.entry-content a[href*="amzn" i]:hover,
.prc-buy:hover {
    background: var(--prc-buy-button-hover) !important;
    background-color: var(--prc-buy-button-hover) !important;
}

.entry-content a[href*="sample" i]:hover,
.entry-content a[href$=".pdf" i][style*="border-radius"]:hover,
.prc-sample:hover {
    background: var(--prc-sample-button-hover) !important;
    background-color: var(--prc-sample-button-hover) !important;
}


/* =========================================================
   GENERAL PRC BUTTONS
   ========================================================= */

.prc-button:not(.prc-button--secondary) {
    background: var(--prc-general-button) !important;
    background-color: var(--prc-general-button) !important;
    border-color: var(--prc-general-button) !important;
    color: var(--prc-button-text) !important;
}

.prc-button:not(.prc-button--secondary):hover,
.prc-button:not(.prc-button--secondary):focus {
    background: var(--prc-general-button-hover) !important;
    background-color: var(--prc-general-button-hover) !important;
    border-color: var(--prc-general-button-hover) !important;
}

/* REMOVE DARK GRADIENT / SHADOW FROM PRC MASTHEAD */
#hero-header.site-hero-section {
    background: var(--prc-masthead-bg) !important;
    background-image: none !important;
    box-shadow: none !important;
}

#hero-header.site-hero-section::before,
#hero-header.site-hero-section::after {
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
    opacity: 0 !important;
}

.prc-sidebar-books > h3:not(:first-of-type),
.prc-sidebar-books > h3:not(:first-of-type) a {
    color: var(--prc-sidebar-book-title) !important;
}

/* SIDEBAR FREE SAMPLE — FORCE BLUE */
#secondary .prc-sidebar-book > p:last-of-type > a,
.widget-area .prc-sidebar-book > p:last-of-type > a {
    background: #2F6F9F !important;
    background-color: #2F6F9F !important;
    border-color: #2F6F9F !important;
    color: #ffffff !important;
}

#secondary .prc-sidebar-book > p:last-of-type > a:hover,
#secondary .prc-sidebar-book > p:last-of-type > a:focus,
.widget-area .prc-sidebar-book > p:last-of-type > a:hover,
.widget-area .prc-sidebar-book > p:last-of-type > a:focus {
    background: #255B83 !important;
    background-color: #255B83 !important;
}

/* =========================================================
   BUY ON AMAZON — EMERALD GREEN
   ========================================================= */

/* Normal state */
#secondary .prc-sidebar-book > p:nth-last-of-type(2) > a,
.widget-area .prc-sidebar-book > p:nth-last-of-type(2) > a,
.entry-content a[href*="amazon" i],
.entry-content a[href*="amzn" i],
a.prc-buy {
    background: #1F5F5B !important;
    background-color: #1F5F5B !important;
    border-color: #1F5F5B !important;
    color: #ffffff !important;
}

/* Hover / focus */
#secondary .prc-sidebar-book > p:nth-last-of-type(2) > a:hover,
#secondary .prc-sidebar-book > p:nth-last-of-type(2) > a:focus,
.widget-area .prc-sidebar-book > p:nth-last-of-type(2) > a:hover,
.widget-area .prc-sidebar-book > p:nth-last-of-type(2) > a:focus,
.entry-content a[href*="amazon" i]:hover,
.entry-content a[href*="amazon" i]:focus,
.entry-content a[href*="amzn" i]:hover,
.entry-content a[href*="amzn" i]:focus,
a.prc-buy:hover,
a.prc-buy:focus {
    background: #2F7A70 !important;
    background-color: #2F7A70 !important;
    border-color: #2F7A70 !important;
}
/* VOLUME 3 COMING-SOON BUTTONS */

/* First button wrapper = Amazon */
.prc-main-offer-box + .wp-block-group
> .wp-block-buttons:first-child
.wp-block-button__link {
    background: #1F5F5B !important;
    background-color: #1F5F5B !important;
    border-color: #1F5F5B !important;
    color: #ffffff !important;
}

/* Amazon hover */
.prc-main-offer-box + .wp-block-group
> .wp-block-buttons:first-child
.wp-block-button__link:hover {
    background: #2F7A70 !important;
    background-color: #2F7A70 !important;
}


/* Second button wrapper = Free Sample */
.prc-main-offer-box + .wp-block-group
> .wp-block-buttons:nth-child(2)
.wp-block-button__link {
    background: #2F6F9F !important;
    background-color: #2F6F9F !important;
    border-color: #2F6F9F !important;
    color: #ffffff !important;
}

/* Sample hover */
.prc-main-offer-box + .wp-block-group
> .wp-block-buttons:nth-child(2)
.wp-block-button__link:hover {
    background: #255B83 !important;
    background-color: #255B83 !important;
}

/* PRC HEADER EDGE LINKS */

#prc-edge-header-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 12px;
    z-index: 9999;
    pointer-events: none;
}

.prc-edge-left,
.prc-edge-right {
    position: absolute;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;

    font-size: 13px;
    line-height: 1.25;
    font-weight: 600;

    pointer-events: auto;
}

.prc-edge-left {
    left: 14px;
    text-align: left;
}

.prc-edge-right {
    right: 30px;
    text-align: right;
}

#prc-edge-header-links a {
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
}

#prc-edge-header-links a:hover {
    text-decoration: underline;
}

/* Hide edge links on mobile */
@media (max-width: 767px) {
    #prc-edge-header-links {
        display: none !important;
    }
}