/*
Theme Name: portfolio-one-child
Template: portfolio-one
*/

:root {
  --steel: #2c3038;
  --steel-light: #3d4350;
  --chrome: #c5cad3;
  --chrome-dark: #8a919d;
  --amber: #d4922a;
  --amber-light: #e8a840;
  --amber-glow: rgba(212, 146, 42, 0.12);
  --asphalt: #1a1c21;
  --road-grey: #e9eaed;
  --white: #ffffff;
  --snow: #f4f5f7;
  --text: #2c3038;
  --text-muted: #5c6370;
  --danger: #c0392b;
}

body {
  background: var(--snow);
  color: var(--text);
  line-height: 1.72;
}

div#cww-site-content .cww-single-container {
  margin-top: 20px;
}

.custom-logo {
  max-width: 80px;
  width: 100%;
}

* {
  scrollbar-color: #1a1c21 #404040;
  scrollbar-width: thin;
}

.header-layout-one header.site-header {
  background: var(--asphalt);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.site-title {
  margin: 0;
}

.site-title a {
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 800;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s;
}

.site-title a::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--amber);
  border-radius: 50%;
  background-image:
    radial-gradient(circle at center, var(--asphalt) 6px, transparent 6px),
    radial-gradient(circle at center, var(--amber) 10px, transparent 10px);
  flex-shrink: 0;
}

.site-title a:hover {
  color: var(--amber-light);
}

.cww-main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 6px;
}

.cww-main-nav a {
  color: var(--chrome);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 6px 12px;
  border-radius: 4px;
  transition:
    background 0.2s,
    color 0.2s;
  letter-spacing: 0.3px;
}

.cww-main-nav .current_page_item a {
  background: rgba(255, 255, 255, 0.08);
  color: var(--amber-light);
}

.cww-main-nav a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

#mob-toggle-menu-button {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.entry-header {
  background: linear-gradient(135deg, var(--asphalt) 0%, var(--steel) 100%);
  color: var(--white);
  padding: 48px 0 40px;
  margin: 0 0 32px;
  position: relative;
  overflow: hidden;
}

.entry-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 60px,
      rgba(255, 255, 255, 0.015) 60px,
      rgba(255, 255, 255, 0.015) 61px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 60px,
      rgba(255, 255, 255, 0.015) 60px,
      rgba(255, 255, 255, 0.015) 61px
    );
  pointer-events: none;
}

.entry-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--amber),
    var(--amber-light),
    var(--amber)
  );
}

h1.entry-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.5px;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.entry-content > p {
  line-height: 1.78;
  margin: 0 0 18px;
}

.entry-content h1.wp-block-heading {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--steel);
  margin: 36px 0 14px;
  padding: 0 0 10px;
  position: relative;
  letter-spacing: -0.3px;
  border-bottom: 2px solid var(--road-grey);
  display: flex;
  align-items: center;
  gap: 10px;
}

.entry-content h1.wp-block-heading::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 22px;
  background: var(--amber);
  border-radius: 2px;
  flex-shrink: 0;
}

.entry-content h2.wp-block-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--steel);
  margin: 30px 0 12px;
  padding: 0 0 8px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.entry-content h2.wp-block-heading::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 18px;
  background: var(--amber);
  border-radius: 2px;
  flex-shrink: 0;
}

.wp-block-quote {
  background: var(--amber-glow);
  border: 1px solid rgba(212, 146, 42, 0.25);
  border-radius: 6px;
  padding: 16px 18px;
  margin: 0 0 24px;
  position: relative;
}

.wp-block-quote::before {
  content: "\2139";
  position: absolute;
  top: -10px;
  left: 16px;
  width: 22px;
  height: 22px;
  background: var(--amber);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  line-height: 1;
}

.wp-block-quote p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--steel-light);
  line-height: 1.6;
}

.wp-block-quote p strong {
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
}

.wp-block-image {
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.wp-block-image:hover img {
  transform: scale(1.015);
}

.wp-block-image figcaption {
  background: var(--asphalt);
  color: var(--chrome);
  font-size: 0.8rem;
  padding: 8px 14px;
  text-align: center;
}

ul.hub-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

ul.hub-list li {
  position: relative;
  padding: 12px 14px 12px 40px;
  margin: 0 0 6px;
  background: var(--white);
  border-radius: 6px;
  border: 1px solid var(--road-grey);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  line-height: 1.65;
  font-size: 0.93rem;
}

ul.hub-list li:hover {
  border-color: var(--chrome-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

ul.hub-list li::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 40% 40%,
    var(--chrome),
    var(--chrome-dark)
  );
  box-shadow:
    inset 0 0 0 2px var(--road-grey),
    0 1px 2px rgba(0, 0, 0, 0.1);
}

ul.hub-list li strong {
  color: var(--steel);
  font-weight: 700;
}

.wp-block-cover {
  background: linear-gradient(145deg, var(--steel) 0%, var(--asphalt) 100%);
  border-radius: 8px;
  padding: 28px 24px;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
}

.wp-block-cover::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(212, 146, 42, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.wp-block-cover__background {
  display: none;
}

.wp-block-cover__inner-container {
  position: relative;
  z-index: 1;
}

.wp-block-cover h1.wp-block-heading {
  color: var(--white);
  font-size: 1.4rem;
  margin: 0 0 14px;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.wp-block-cover h1.wp-block-heading::before {
  background: var(--amber-light);
}

.wp-block-cover p {
  color: var(--chrome);
  margin: 0 0 12px;
  font-size: 0.93rem;
}

.wp-block-cover ol.numb-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: steps;
}

.wp-block-cover ol.numb-list li {
  counter-increment: steps;
  position: relative;
  padding: 10px 12px 10px 48px;
  margin: 0 0 4px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 5px;
  color: var(--chrome);
  font-size: 0.9rem;
  line-height: 1.65;
  transition: background 0.2s;
}

.wp-block-cover ol.numb-list li:hover {
  background: rgba(255, 255, 255, 0.07);
}

.wp-block-cover ol.numb-list li::before {
  content: counter(steps);
  position: absolute;
  left: 10px;
  top: 10px;
  width: 26px;
  height: 26px;
  background: var(--amber);
  color: var(--white);
  font-weight: 700;
  font-size: 0.78rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.wp-block-cover ol.numb-list li strong {
  color: var(--white);
}

.wp-block-table {
  margin: 24px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  margin: 0;
}

.wp-block-table thead tr {
  background: var(--asphalt);
}

.wp-block-table thead th {
  color: var(--white);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 14px;
  text-align: left;
}

.wp-block-table thead th.has-text-align-center {
  text-align: center;
}

.wp-block-table tbody td {
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--road-grey);
  vertical-align: top;
  line-height: 1.55;
}

.wp-block-table tbody td.has-text-align-center {
  text-align: center;
}

.wp-block-table tbody td strong {
  color: var(--steel);
  font-weight: 600;
}

.wp-block-table tbody tr:hover {
  background: var(--amber-glow);
}

.wp-block-table tbody tr:last-child td {
  border-bottom: none;
}

.wp-block-table tbody tr td:first-child {
  font-weight: 700;
}

.disclaimer {
  background: var(--white);
  border: 1px solid var(--road-grey);
  border-radius: 6px;
  padding: 14px 16px;
  margin: 28px 0;
  gap: 4px;
}

.disclaimer p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.55;
}

.disclaimer p strong {
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.disclaimer p strong::before {
  content: "\26A0";
  font-size: 0.85rem;
}

.entry-content > p:last-of-type {
  font-size: 1rem;
  line-height: 1.6;
}

.entry-content > p em {
  font-style: italic;
}

.entry-footer {
  display: none;
}

.site-footer {
  background: var(--asphalt);
  padding: 20px 0;
  margin-top: 40px;
}

.site-footer .cww-flex {
  display: flex;
  justify-content: center;
}

.site-info {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  h1.entry-title {
    font-size: 1.45rem;
  }

  .entry-header {
    padding: 32px 10px 28px;
  }

  .entry-content h1.wp-block-heading {
    font-size: 1.25rem;
  }

  #mob-toggle-menu-button.is-opened {
    background-color: #d0a339;
  }

  .cww-menu-outer-wrapp.cww-flex {
    background: #1a1c21;
    top: 110px;
  }

  .cww-main-nav ul {
    display: none;
  }

  #mob-toggle-menu-button {
    display: block;
  }


  .wp-block-cover {
    padding: 20px 16px;
  }

  ul.hub-list li {
    padding: 10px 12px 10px 36px;
    font-size: 0.88rem;
  }

  ul.hub-list li::before {
    left: 12px;
    top: 14px;
    width: 12px;
    height: 12px;
  }
}
