/*
 * 2026 rebrand: blue -> grey (per TPP_Website_Update.pdf).
 *
 * Loaded after style.css as an override layer. style.css is not regenerated
 * from src/less because the compiled file contains edits that are not in the
 * LESS sources.
 *
 *   Dark grey  #3C3D3A  (logo text colour)
 *   Mid grey   #9A9695  (link icons)
 *   Light grey #F2F2F2  (header / upper footer)
 */

/* ---------- Utilities ---------- */
.color-lightblue { color: #3C3D3A; }
.bg-color-lightblue { background-color: #3C3D3A; }
blockquote::before { color: #9A9695; }

/* ---------- Header ---------- */
.page-navigation {
  background-color: #F2F2F2;
  -webkit-box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.08), 0 3px 6px 0 rgba(0, 0, 0, 0.06);
          box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.08), 0 3px 6px 0 rgba(0, 0, 0, 0.06);
}
.page-navigation__logo img { width: 180px; height: auto; }
@media screen and (min-width: 992px) {
  .page-navigation__logo img { width: 285px; }
}
.page-navigation__icons a { color: #3C3D3A; }
.hamburger span { background: #3C3D3A; }
/* Heavier, shorter hamburger / close lines per PDF */
.hamburger .burger span { width: 26px; height: 3px; }
.hamburger .cross {
  -webkit-transform: rotate(45deg) scale(0.6);
          transform: rotate(45deg) scale(0.6);
}
.hamburger .cross span:nth-child(1) { width: 5px; left: 15px; }
.hamburger .cross span:nth-child(2) { height: 5px; top: 30px; }

/* ---------- Slide-out menu ---------- */
.main-nav { background-color: #3C3D3A; }
.main-nav .menu li a,
.main-nav .account-links a { color: #FFFFFF; font-weight: 700; }
.main-nav .account-links a { font-family: 'Roboto', sans-serif; }
.main-nav .menu li a:hover,
.main-nav .account-links a:hover { color: #9A9695; }
.main-nav .menu li.current-page-ancestor > a,
.main-nav .menu li.current_page_item > a { color: #9A9695; }
.main-nav .menu li:last-child { border-bottom-width: 2px; }

/* ---------- Search ---------- */
.search-form .submit-btn { background-color: #9A9695; }
.search-form .submit-btn:hover,
.search-form .submit-btn:focus { background-color: #717171; }
.search-form .close-btn:focus,
.search-form .close-btn:hover { color: #9A9695; }

/* ---------- Section blocks ---------- */
.section-block__tab { background-color: #3C3D3A; }
.section-block__title { border-top-color: #9A9695; }
.section-block__title a:hover {
  -webkit-text-decoration-color: #3C3D3A;
          text-decoration-color: #3C3D3A;
}

/* Grey sections (Digital Issues) keep their white rule */
.section-block.grey .section-block__title { border-top-color: #FFFFFF; }

/* Supplier Network (was .blue) */
.section-block.blue { background-color: #3C3D3A; }
.section-block.blue .section-block__title { border-top-color: #3C3D3A; }
.section-block.blue .section-block__tab {
  background-color: #FFFFFF;
  color: #3C3D3A;
  font-weight: 400;
}
/* The theme's bold is a separate webfont family, not a weight */
.block-suppliers__types li a,
.block-suppliers .section-block__text { font-family: 'Helvetica Neue LT W05_75 Bold'; }

/* Digital Issues subscribe CTA */
.simple-cta { background-color: #FFFFFF; color: #3C3D3A; }
.simple-cta__text { font-family: 'Helvetica Neue LT W05_75 Bold'; }

/* ---------- Buttons ---------- */
.btn { background-color: #3C3D3A; }
.btn:hover { background-color: #232422; }
.btn--transparent-black { background-color: transparent; }
.btn--transparent-black:hover { border-color: #3C3D3A; color: #3C3D3A; background-color: transparent; }
.btn--transparent-black:focus { border-color: #232422; color: #232422; }
.btn--transparent-white { background-color: transparent; }
.btn--transparent-white:hover { background-color: rgba(255, 255, 255, 0.15); }
.btn--transparent-white:focus { background-color: rgba(255, 255, 255, 0.25); }
.btn--transparent { background-color: transparent; }
.btn--transparent:hover { background-color: transparent; color: #3C3D3A; }
.btn--transparent:focus { background-color: transparent; color: #232422; }
.section-block.grey .btn--transparent:hover,
.section-block.blue .btn--transparent:hover { color: #FFFFFF; opacity: 0.8; }

/* ---------- Forms ---------- */
input:focus, textarea:focus, select:focus { border-color: #717171; }
form input[type="radio"]:checked + label::before,
form input[type="checkbox"]:checked + label::before { border-color: #3C3D3A; color: #3C3D3A; }
ul.gform_fields .gfield_checkbox input[type="checkbox"]:checked + label,
ul.gform_fields .gfield_checkbox input[type="radio"]:checked + label { color: #3C3D3A; }
ul.gform_fields .small-text a:hover {
  -webkit-text-decoration-color: #3C3D3A;
          text-decoration-color: #3C3D3A;
}

/* ---------- Archives / listings ---------- */
.archive-filter { border-top-color: #9A9695; }
.post-view__details { border-top-color: #9A9695; }
.pagination ul.page-numbers li > .page-numbers.current {
  background-color: #3C3D3A;
  border-color: #3C3D3A;
}
.pagination ul.page-numbers li > .page-numbers.next:hover,
.pagination ul.page-numbers li > .page-numbers.prev:hover { color: #3C3D3A; }
.page-intro__text a:hover { color: #3C3D3A; }

.block-feature:hover .block-feature__title { color: #3C3D3A; }
.block-supplier:hover .block-supplier__title,
.block-supplier:hover i { color: #3C3D3A; }
.block-video:hover .block-video__title,
.block-industry-post__link:hover .block-industry-post__title {
  -webkit-text-decoration-color: #3C3D3A;
          text-decoration-color: #3C3D3A;
}

/* Events */
.block-event { border-top-color: #9A9695; }
.block-event__link {
  color: #9A9695;
  font-size: 1.6rem;
  padding-left: 18px;
  background: url('../images/icons/external-link.svg') no-repeat left center / 11px 11px;
}
.block-event__link:hover {
  -webkit-text-decoration-color: #9A9695;
          text-decoration-color: #9A9695;
}

/* Social share / suppliers / sitemap */
.social-share__title { color: #3C3D3A; }
.social-share__list li a:hover { background-color: #3C3D3A; }
.single-suppliers .supplier-details__contact li i { color: #9A9695; }
.single-suppliers .supplier-form-title { color: #3C3D3A; }
.page-template-supplier-guide .supplier-types-list a:hover i { color: #3C3D3A; }
.sitemap ul { border-left-color: #9A9695; }
.sitemap a:hover { color: #3C3D3A; }
.sitemap h2,
.sitemap h2 a { color: #3C3D3A; }

/* ---------- CMS content (Advertise, About Us, etc.) ---------- */
.cms-content a { color: #9A9695; }

/* Advertise page (ID 328): bold body copy, regular grey links with envelope icons */
.page-id-328 .cms-content p { font-family: 'Helvetica Neue LT W05_75 Bold'; }
.page-id-328 .cms-content p a[href^="mailto:"],
.page-id-328 .cms-content address a { font-family: 'Helvetica Neue LT W05_55 Roman'; }
.page-id-328 .cms-content a[href^="mailto:"] {
  padding-left: 19px;
  background: url('../images/icons/email.svg') no-repeat left center / 14px 11px;
}
.cms-content a[href$=".pdf"] {
  color: #1C3E76;
  padding-right: 22px;
  background: url('../images/icons/download-navy.svg') no-repeat right center / 14px 14px;
}
.cms-content a[href$=".pdf"][href*="FCI"],
.cms-content a[href$=".pdf"][href*="Folding-Carton"] {
  color: #F8B50C;
  background-image: url('../images/icons/download-orange.svg');
}

/* ---------- Loader ---------- */
@-webkit-keyframes loader-anim {
  0%, 50%, 100% { height: 5px; -webkit-transform: translateY(0); transform: translateY(0); background: rgba(0, 0, 0, 0.25); }
  25% { height: 30px; -webkit-transform: translateY(15px); transform: translateY(15px); background: #3C3D3A; }
}
@keyframes loader-anim {
  0%, 50%, 100% { height: 5px; -webkit-transform: translateY(0); transform: translateY(0); background: rgba(0, 0, 0, 0.25); }
  25% { height: 30px; -webkit-transform: translateY(15px); transform: translateY(15px); background: #3C3D3A; }
}

/* ---------- Footer ---------- */
.page-footer { background-color: #F2F2F2; color: #3C3D3A; }
.page-footer__lower { background-color: #3C3D3A; color: #FFFFFF; }
.page-footer__lower a { color: #FFFFFF; }
.page-footer .social-media a { color: #FFFFFF; }
