/* ============================================================
   TargetWeb — template-about.css
   About Us — 4 content layouts + 3 info strip designs
   ============================================================ */

/* ── Page Banner ──────────────────────────────────────────── */
.tw-page-banner {
  position: relative;
  background: var(--color-dark, #1a1a1a);
  padding: var(--space-md, 56px) 0;
  overflow: hidden;
}
.tw-page-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.tw-page-banner__inner {
  position: relative;
  z-index: 1;
}
.tw-page-banner__title {
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: clamp(28px, 4vw, var(--h1, 52px));
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}
.tw-breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.tw-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s;
}
.tw-breadcrumb a:hover {
  color: #ffffff;
}
.tw-breadcrumb span {
  margin: 0 6px;
}

/* ── Shared content styles ────────────────────────────────── */
.tw-about {
  background: #ffffff;
}

.tw-about__headline {
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: var(--h2, 38px);
  font-weight: 700;
  color: var(--color-dark, #2a2a2a);
  margin: 0 0 14px;
  line-height: 1.2;
}
.tw-about__sub {
  font-size: 17px;
  color: #666;
  line-height: 1.7;
  margin: 0 0 24px;
}
.tw-about__body {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
}
.tw-about__body p {
  margin: 0 0 14px;
}
.tw-about__body p:last-child {
  margin: 0;
}

/* ══════════════════════════════════════════════════════════
   LAYOUT 1 — Content left, image right
   ══════════════════════════════════════════════════════════ */
.tw-about__grid {
  display: grid;
  gap: 64px;
  align-items: center;
}
.tw-about__grid.has-image {
  grid-template-columns: 1fr 1fr;
}
.tw-about__grid.no-image {
  grid-template-columns: 1fr;
  max-width: 820px;
  margin: 0 auto;
}
.tw-about__img-wrap {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}
.tw-about__img-wrap img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

/* ══════════════════════════════════════════════════════════
   LAYOUT 2 — Dark sidebar left, content right
   ══════════════════════════════════════════════════════════ */
.tw-about__l2 {
  display: grid;
  grid-template-columns: 320px 1fr;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}
.tw-about__l2-sidebar {
  background: var(--color-dark, #2a2a2a);
  display: flex;
  flex-direction: column;
}
.tw-about__l2-img {
  height: 240px;
  overflow: hidden;
}
.tw-about__l2-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tw-about__l2-info {
  padding: 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tw-about__l2-info h3 {
  font-family: var(--font-heading, "Oswald", sans-serif);
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 4px;
  letter-spacing: 0.03em;
}
.tw-l2-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}
.tw-l2-row svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--color-primary, #e63030);
}
.tw-about__l2-content {
  padding: 48px 48px;
  background: #ffffff;
}

/* ══════════════════════════════════════════════════════════
   LAYOUT 3 — Full width image top, centered content
   ══════════════════════════════════════════════════════════ */
.tw-about__l3-img {
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 52px;
}
.tw-about__l3-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tw-about__l3-content {
  max-width: 800px;
  margin: 0 auto;
}
.tw-about--layout-3 .tw-about__headline {
  text-align: center;
}
.tw-about--layout-3 .tw-about__sub {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.tw-about--layout-3 .tw-about__body {
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════════════
   LAYOUT 4 — Image background with content overlay
   ══════════════════════════════════════════════════════════ */
.tw-about__l4 {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--color-dark, #2a2a2a);
  background-size: cover;
  background-position: center;
  padding: 80px 64px;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.tw-about__l4-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.tw-about__l4-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}
.tw-about--layout-4 .tw-about__headline {
  color: #ffffff;
}
.tw-about--layout-4 .tw-about__sub {
  color: rgba(255, 255, 255, 0.82);
}
.tw-about--layout-4 .tw-about__body {
  color: rgba(255, 255, 255, 0.75);
}

/* ══════════════════════════════════════════════════════════
   STRIP 1 — White cards on light grey background
   ══════════════════════════════════════════════════════════ */
.tw-about-strip--strip-1 {
  background: #f5f5f5;
  padding: var(--space-md, 56px) 0;
  border-top: 1px solid #ebebeb;
}
.tw-strip-1__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.tw-strip-1__card {
  background: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: 10px;
  padding: 28px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.tw-strip-1__card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.tw-strip-1__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(230, 48, 48, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary, #e63030);
  flex-shrink: 0;
}
.tw-strip-1__label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #aaa;
  margin: 0;
}
.tw-strip-1__value {
  font-size: 14px;
  color: var(--color-dark, #2a2a2a);
  font-weight: 500;
  text-decoration: none;
  line-height: 1.5;
  display: block;
  transition: color 0.2s;
}
a.tw-strip-1__value:hover {
  color: var(--color-primary, #e63030);
}

/* ══════════════════════════════════════════════════════════
   STRIP 2 — Horizontal row with red left border accent
   ══════════════════════════════════════════════════════════ */
.tw-about-strip--strip-2 {
  background: #ffffff;
  padding: 0;
  border-top: 1px solid #ebebeb;
}
.tw-strip-2__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.tw-strip-2__item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 32px 24px;
  border-right: 1px solid #ebebeb;
  border-left: 3px solid transparent;
  transition:
    border-left-color 0.2s,
    background 0.2s;
}
.tw-strip-2__item:last-child {
  border-right: none;
}
.tw-strip-2__item:hover {
  border-left-color: var(--color-primary, #e63030);
  background: #fafafa;
}
.tw-strip-2__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(230, 48, 48, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary, #e63030);
  flex-shrink: 0;
}
.tw-strip-2__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #aaa;
  margin-bottom: 4px;
}
.tw-strip-2__value {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-dark, #2a2a2a);
  text-decoration: none;
  display: block;
  line-height: 1.5;
  transition: color 0.2s;
}
a.tw-strip-2__value:hover {
  color: var(--color-primary, #e63030);
}

/* ══════════════════════════════════════════════════════════
   STRIP 3 — Primary color background, white text
   ══════════════════════════════════════════════════════════ */
.tw-about-strip--strip-3 {
  background: var(--color-primary, #e63030);
  padding: 48px 0;
}
.tw-strip-3__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.tw-strip-3__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 0 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.tw-strip-3__item:last-child {
  border-right: none;
}
.tw-strip-3__item svg {
  opacity: 0.85;
}
.tw-strip-3__label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
}
.tw-strip-3__value {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  display: block;
  line-height: 1.5;
}
a.tw-strip-3__value:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .tw-about__grid.has-image {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .tw-about__l2 {
    grid-template-columns: 1fr;
  }
  .tw-about__l2-content {
    padding: 32px 28px;
  }
  .tw-about__l3-img {
    height: 280px;
  }
  .tw-strip-1__grid,
  .tw-strip-2__grid,
  .tw-strip-3__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tw-strip-2__item:nth-child(2) {
    border-right: none;
  }
  .tw-strip-3__item:nth-child(2) {
    border-right: none;
  }
}
@media (max-width: 768px) {
  .tw-page-banner {
    padding: 36px 0;
  }
  .tw-about__l4 {
    padding: 48px 24px;
  }
  .tw-about__l3-img {
    height: 200px;
    margin-bottom: 32px;
  }
}
@media (max-width: 480px) {
  .tw-strip-1__grid,
  .tw-strip-2__grid,
  .tw-strip-3__grid {
    grid-template-columns: 1fr;
  }
  .tw-strip-2__item {
    border-right: none;
    border-bottom: 1px solid #ebebeb;
  }
  .tw-strip-3__item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 0;
  }
}
