/*
Theme Name: Karavan HQ Theme
Theme URI: https://employees.karavantrailers.com
Author: Precision Designs Creator LLC
Description: Internal bilingual digital HQ theme for Karavan Trailers.
Version: 0.1.0
Text Domain: karavan-hq-theme
*/

:root {
  --khq-primary: #0a3b66;
  --khq-secondary: #1e73a8;
  --khq-accent: #49b2f2;
  --khq-gold: #f2be3e;
  --khq-bg: #f3f6fa;
  --khq-text: #111111;
  --khq-card: #ffffff;
  --khq-border: #c7d7e7;
  --khq-shadow: 0 8px 22px rgba(10, 59, 102, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background: var(--khq-bg);
  color: var(--khq-text);
}

a {
  color: var(--khq-secondary);
}

.site-header {
  background: linear-gradient(135deg, var(--khq-primary), var(--khq-secondary));
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 6px 18px rgba(11, 47, 83, 0.25);
}

.header-inner,
.page-wrap,
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.logo-wrap .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-wrap img,
.logo-wrap .custom-logo {
  max-height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-wrap a,
.logo-wrap a:visited {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid rgba(255,255,255,0.42);
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

.nav-toggle span + span {
  margin-top: 6px;
}
.site-header-panel {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1 1 auto;
  justify-content: flex-end;
}

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav li,
.header-utility li {
  display: flex;
  align-items: center;
}

.site-nav a,
.header-utility .pll-parent-menu-item > a,
.header-utility .lang-item > a,
.pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a {
  color: #fff;
}

.site-nav .current-menu-item > a,
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.header-utility {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-utility .pll-parent-menu-item,
.header-utility .lang-item {
  list-style: none;
}

.header-utility .pll-parent-menu-item > a,
.header-utility .lang-item > a,
.pill-link {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.08);
}

.khq-search input[type="search"] {
  width: 240px;
  max-width: 100%;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.18);
  color: #fff;
  padding: 7px 12px;
}

.khq-search input::placeholder {
  color: rgba(255,255,255,0.9);
}

.khq-search .search-submit {
  margin-left: 8px;
  min-height: 40px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  padding: 7px 14px;
  font-weight: 600;
  cursor: pointer;
}

.page-wrap {
  padding: 20px;
}

.sidebar,
.content-card {
  background: var(--khq-card);
  border: 1px solid var(--khq-border);
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--khq-shadow);
}

.content-card h2,
.sidebar h2 {
  margin-top: 0;
  color: var(--khq-primary);
}

.content-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.content-card .meta {
  color: #4d5f70;
  font-size: 0.9rem;
}

.site-footer {
  margin-top: 28px;
  background: #0b2f53;
  color: #fff;
}

.footer-inner {
  padding: 16px 20px;
  font-size: 0.95rem;
  text-align: center;
}
/* Homepage */
.home-banner--option-a {
  background: #ffffff url('https://employees.karavantrailers.com/wp-content/uploads/2026/03/banner.png') center center  / cover no-repeat;
  border: 1px solid #bfd8ea;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(10, 59, 102, 0.12);
  margin: 0 auto 18px;
  max-width: 970px;
}

.home-banner__content {
  height: 190px;
}


.vision-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 20px;
  margin: 0 auto 22px;
  max-width: 970px;
  align-items: stretch;
}

.vision-statement-card h2 {
  margin: 0 0 12px;
  color: var(--khq-primary);
  font-size: 2rem;
  line-height: 1.1;
}

.vision-statement-card p {
  margin: 0;
  line-height: 1.7;
  font-size: 1.02rem;
  color: #2f4860;
}

.vision-triangle-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vision-triangle-card__image {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
}


.home-layout--option-a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.home-main-column,
.home-sidebar-column {
  min-width: 0;
}

.home-feed-card,
.home-sidebar-section,
.home-recognition-card {
  margin-bottom: 18px;
}

.home-feed-card h2,
.home-sidebar-section h2,
.home-recognition-card h2 {
  margin-top: 0;
  color: var(--khq-primary);
}

.home-news-item + .home-news-item {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #dbe6ef;
}

.home-news-item h3,
.home-recognition-item h3 {
  margin: 0 0 6px;
  font-size: 1.7rem;
}

.home-news-item h3 a,
.home-recognition-item h3 a {
  text-decoration: none;
  color: var(--khq-primary);
}

.home-news-item h3 a:hover,
.home-recognition-item h3 a:hover {
  color: var(--khq-secondary);
}

.home-news-item__image,
.home-recognition-item__image {
  display: block;
  margin: 14px 0 12px;
}

.home-news-item__image img,
.home-recognition-item__image img,
.news-feed-card img,
.home-secondary-section img,
.home-utility-section img,
.content-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  border-radius: 14px;
  display: block;
}

.home-news-item--featured h3 {
  font-size: 2rem;
}

.home-current-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-current-list li + li {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #dbe6ef;
}

.home-current-list a {
  text-decoration: none;
  color: var(--khq-primary);
}

.home-current-list strong {
  display: block;
  margin-bottom: 4px;
}

.home-current-list span {
  display: block;
  color: #5e7487;
  font-size: 0.92rem;
}

.home-quick-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.home-quick-card {
  display: block;
  padding: 12px 14px;
  border: 1px solid #d6e3ee;
  border-radius: 12px;
  background: #f8fbff;
  text-decoration: none;
}

.home-quick-card__title {
  display: block;
  color: var(--khq-primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.home-quick-card__desc {
  display: block;
  color: #5d7285;
  font-size: 0.92rem;
}

.home-recognition-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  align-items: start;
}

/* Homepage Responsive */

@media (max-width: 1020px) {
  .home-layout--option-a {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 920px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    margin-left: auto;
  }

  .site-header-panel {
    width: 100%;
    order: 3;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-left: 0;
    padding-top: 10px;
  }

  .site-header-panel.is-open {
    display: flex;
  }

  .site-nav {
    margin-left: 0;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .header-utility {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .header-utility a,
  .pill-link,
  .site-nav a {
    display: block;
    width: 100%;
    text-align: center;
  }

  .khq-search {
    width: 100%;
  }

  .khq-search input[type="search"] {
    width: 100%;
  }

  .header-inner {
    min-height: 62px;
    padding: 10px 14px;
  }

  .home-banner--option-a {
    max-width: 100%;
    margin-bottom: 18px;
  }

  .vision-row {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .vision-triangle-card__image {
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  .page-wrap {
    padding: 0 12px;
  }

  .announcement-grid,
  .layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .vision-triangle-card__image {
    max-width: 240px;
  }

  .vision-statement-card h2 {
    font-size: 1.7rem;
  }

  .vision-statement-card p {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .home-recognition-item,
  .news-hub-row {
    grid-template-columns: 1fr;
  }

  .page .content-card p,
  .page .content-card li {
    line-height: 1.6;
    font-size: 1.02rem;
  }

  .page .content-card ul {
    padding-left: 1.25rem;
  }

  .page .content-card p {
    margin-bottom: 1rem;
  }
}

.page-id-231 .operations-timeline {
  margin-top: 32px;
}

.page-id-231 .operations-timeline__item {
  position: relative;
  margin: 0 0 32px;
  padding: 24px 24px 24px 28px;
  background: #ffffff;
  border: 1px solid #d7e3ef;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(10, 59, 102, 0.08);
}

.page-id-231 .operations-timeline__item::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 22px;
  bottom: 22px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--khq-secondary), var(--khq-accent));
}

.page-id-231 .operations-timeline__item .elementor-heading-title,
.page-id-231 .operations-timeline__item h2,
.page-id-231 .operations-timeline__item h3 {
  color: var(--khq-primary);
  margin-bottom: 8px;
}

.page-id-231 .operations-timeline__item .elementor-widget-text-editor p,
.page-id-231 .operations-timeline__item p {
  line-height: 1.7;
  margin-bottom: 14px;
}

.page-id-231 .operations-timeline__item > .elementor-element:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 18px;
}

.page-id-231 .operations-timeline__item > .elementor-element:last-child .elementor-widget-image {
  width: calc(33.333% - 11px);
}

.page-id-231 .operations-timeline__item > .elementor-element:last-child img {
  width: 100%;
  height: 240px;
  object-fit: contain;
  background: #eef4f9;
  padding: 6px;
  border-radius: 14px;
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: zoom-in;
}


.page-id-231 .operations-timeline__item a:hover img,
.page-id-231 .operations-timeline__item a:focus img {
  transform: scale(1.04);
  box-shadow: 0 10px 24px rgba(10, 59, 102, 0.18);
}

@media (max-width: 900px) {
  .page-id-231 .operations-timeline__item > .elementor-element:last-child .elementor-widget-image {
    width: calc(50% - 8px);
  }
}

@media (max-width: 700px) {
  .page-id-231 .operations-timeline__item {
    padding: 18px 16px 18px 22px;
    margin-bottom: 24px;
  }

  .page-id-231 .operations-timeline__item > .elementor-element:last-child {
    gap: 12px;
  }

  .page-id-231 .operations-timeline__item > .elementor-element:last-child .elementor-widget-image {
    width: 100%;
  }

  .page-id-231 .operations-timeline__item > .elementor-element:last-child img {
    height: auto;
    object-fit: contain;
  }
}
.page-id-298 .site-nav a[href*="/news/"] {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
}
.news-hub-list {
  padding: 20px;
}

.news-hub-list__items {
  display: grid;
  gap: 0;
}

.news-hub-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid #dbe6ef;
}

.news-hub-row:last-child {
  border-bottom: 0;
}

.news-hub-row__thumb {
  display: block;
  text-decoration: none;
}

.news-hub-row__thumb img,
.news-hub-row__placeholder {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  border-radius: 12px;
  display: block;
  background: #eef4f9;
  padding: 8px;
}

.news-hub-row__body {
  min-width: 0;
}

.news-hub-row__title {
  margin: 0 0 10px;
  font-size: 2rem;
  line-height: 1.12;
}

.news-hub-row__title a {
  color: var(--khq-primary);
  text-decoration: none;
}

.news-hub-row__title a:hover {
  color: var(--khq-secondary);
}

.news-hub-row__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
  color: #5d7285;
  font-size: 0.98rem;
}

.news-hub-row__excerpt p {
  margin: 0;
  color: #5d7285;
  font-size: 1.05rem;
  line-height: 1.55;
}

.news-hub-row__link {
  margin: 16px 0 0;
}

.news-hub-row__link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #c2d8ea;
  background: #f4fbff;
  color: var(--khq-primary);
  font-weight: 700;
  text-decoration: none;
}

.news-hub-row__link a:hover {
  border-color: var(--khq-secondary);
  background: #e7f4fd;
}

@media (max-width: 700px) {
  .news-hub-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 0;
  }

  .news-hub-row__title {
    font-size: 1.35rem;
  }
}
.single .content-card img,
.single-post .content-card img,
.single-announcement .content-card img {
  width: 100%;
  max-width: 820px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 14px;
}
.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  white-space: nowrap;
}

.site-nav .current-menu-item > a,
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.2);
}
.khq-suggestion-box {
  max-width: 760px;
}

.khq-form-message {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 600;
}

.khq-form-message--success {
  background: #e8f6ed;
  border: 1px solid #b7dfc2;
  color: #1b5e20;
}

.khq-form-message--error {
  background: #fdecec;
  border: 1px solid #f2b8b5;
  color: #8a1f17;
}

.khq-form-field {
  margin: 0 0 18px;
}

.khq-form-field label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--khq-primary);
}

.khq-form-field select,
.khq-form-field textarea,
.khq-form-field input[type="text"] {
  width: 100%;
  max-width: 100%;
  border: 1px solid #c7d7e7;
  border-radius: 6px;
  background: #ffffff;
  color: var(--khq-text);
  padding: 10px 12px;
  font: inherit;
}

.khq-form-field--highlight {
  background: #fff7db;
  border-radius: 8px;
  padding: 12px;
}

.khq-form-note {
  margin: 0 0 10px;
  font-weight: 600;
  color: var(--khq-primary);
}

.khq-form-actions {
  margin: 0;
}

.khq-form-actions button {
  border: 1px solid #0f84b9;
  border-radius: 4px;
  background: #0f84b9;
  color: #ffffff;
  padding: 10px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.khq-form-actions button:hover {
  background: #0b6f9d;
  border-color: #0b6f9d;
}

.khq-honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


