/* ================= Container ================= */
.tt-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px 40px;
}

/* Journal page container spacing */
.tt-journal-container {
    margin-top: 60px !important;
    margin-bottom: 60px !important;
}

@media (max-width: 992px) {
    .tt-journal-container {
        margin-top: 40px !important;
        margin-bottom: 40px !important;
    }
}

@media (max-width: 576px) {
    .tt-journal-container {
        margin-top: 28px !important;
        margin-bottom: 28px !important;
    }
}

/* ================= Pills ================= */
.tt-pills {
    display: flex;
    gap: 10px;
    margin: 28px 0;
    /* KEY FIX: horizontal scroll when pills overflow on mobile */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;           /* Firefox */
    -ms-overflow-style: none;        /* IE/Edge */
    padding-bottom: 4px;             /* breathing room so focus ring isn't clipped */
    /* prevent pills from wrapping AND shrinking — force scroll instead */
    flex-wrap: nowrap;
}

/* hide scrollbar track visually (Chrome/Safari) */
.tt-pills::-webkit-scrollbar {
    display: none;
}

.tt-pill {
    border: 0;
    background: #e7e7e7;
    padding: 8px 18px;
    border-radius: 999px;
    font-family: "f2";
    font-size: 14px;
    cursor: pointer;
    transition: .2s ease;
    /* prevent individual pills from shrinking */
    flex-shrink: 0;
    white-space: nowrap;
}

.tt-pill.is-active {
    background: #ff5a3f;
    color: #fff;
}
.tt-hero-section {
    padding: 0 16px;
    box-sizing: border-box;
}

.tt-hero {
    width: 100%;
    height: 620px;
    border-radius: 16px;
    overflow: hidden;
}

.tt-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 992px) {
    .tt-hero {
        height: 420px;
    }
}

@media (max-width: 768px) {
    .tt-hero-section {
        padding: 0 12px;
    }
    .tt-hero {
        height: 260px;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .tt-hero {
        height: 200px;
        border-radius: 10px;
    }
}

/* ================= Cards ================= */
.tt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media(max-width:992px) {
    .tt-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

@media(max-width:576px) {
    .tt-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.tt-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tt-thumb {
    width: 100%;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .tt-thumb {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .tt-thumb {
        height: 180px;
        border-radius: 10px;
    }
}

.tt-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.tt-card:hover .tt-thumb img {
    transform: scale(1.04);
}

.tt-title {
    font-family: "f4";
    font-size: 20px;
    margin-bottom: 10px;
    line-height: 1.35;
}

@media (max-width: 576px) {
    .tt-title {
        font-size: 18px;
    }
}

.tt-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.tt-meta .type {
    font-family: "f2";
    color: #111;
    font-size: 14px;
}

.tt-meta .date {
    font-family: "f1";
    color: #9a9a9a;
    font-size: 14px;
}

/* ================= CTA Background Image ================= */

.tt-cta {
    position: relative;
    margin: 60px 16px 0;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;

    background: url("../img/logo/banner1.webp") center center / cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
}

/* Dark overlay for readability */
.tt-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Content above overlay */
.tt-cta-inner {
    position: relative;
    z-index: 2;

    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 24px;
    width: 100%;
    box-sizing: border-box;
}

/* Text styling */
.tt-cta-text {
    font-family: "f2";
    font-size: 15px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tt-cta-text strong {
    font-family: "f4";
    color: #ff5a3f;
    font-size: 20px;
}

/* Button */
.tt-cta-btn {
    background: #ffffff;
    color: #111;
    border-radius: 999px;
    padding: 10px 22px;
    font-family: "f3";
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: .3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.tt-cta-btn:hover {
    background: #111;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .tt-cta {
        height: auto;
        min-height: 200px;
        margin: 40px 12px 0;
        border-radius: 14px;
        padding: 32px 16px;
    }

    .tt-cta-inner {
        flex-direction: column;
        gap: 16px;
        padding: 0;
    }

    .tt-cta-text {
        font-size: 14px;
    }

    .tt-cta-text strong {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .tt-cta {
        margin: 28px 12px 0;
        border-radius: 12px;
    }
}




/* ///////////////???
//////////////// */
.tt-featured {
    /* padding: 60px 0; */
    background: #fff;
}

/* .tt-featured-content{
  max-width:420px;
} */

.tt-featured-title {
    font-family: "f4";
    font-size: 34px;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #111;
}

.tt-featured-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    justify-content: space-between;

}


.tt-author {
    font-family: "f2";
    color: #111;
    font-size: 14px;
}

.tt-date {
    font-family: "f1";
    color: #9a9a9a;
    font-size: 14px;

}



/* Image styling */
.tt-featured-image {
    border-radius: 14px;
    overflow: hidden;
}

.tt-featured-image img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    display: block;
}

/* Responsive */
@media (max-width:992px) {
    .tt-featured {
        padding: 40px 0;
    }

    .tt-featured-image img {
        height: 260px;
        margin-top: 25px;
    }

    .tt-featured-title {
        font-size: 22px;
    }
}


.intros-text {
    font-family: "f2";
    font-size: 40px;
    margin-top: 60px;
    margin-bottom: 60px;
    line-height: 1.7;
}

@media (max-width:992px) {

    .intros-text {
        font-family: "f2";
        font-size: 24px;
        margin-top: 20px;
        margin-bottom: 20px;
        line-height: 1.7;
    }
}


/* =========================
HI ROBOT JOURNEY
========================= */

.journey-section {
    padding: 2px 0;
}

.journey-date {
    font-family: "f2";
    color: #777;
}

.journey-phase {
    font-family: "f3";
    color: #FA5C40;
    margin: 6px 0;
    font-size: 20px;
}

.journey-title {
    font-family: "f4";
    font-size: 36px;
    margin-bottom: 40px;
}

.journey-titles {
    font-family: "f4";
    font-size: 44px;
    max-width: 640px;
    margin-top: 80px;

}

.journey-title span {
    color: #FA5C40;
}

.journey-titles span {
    color: #FA5C40;
}

/* CARDS */
.journey-card {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 16px;
    transition: 0.3s;
}

.journey-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.journey-card i {
    color: #FA5C40;
    font-size: 20px;
    margin-top: 4px;
}

.journey-card h5 {
    font-family: "f4";
    margin-bottom: 4px;
}

.journey-card p {
    font-family: "f2";
    color: #777;
    font-size: 14px;
    margin: 0;
}

/* RIGHT IMAGE PANEL */
.journey-image-box {
    width: 100%;
    height: 360px;
    background: #e9e9e9;
    border-radius: 16px;
}

/* MOBILE */
@media (max-width: 992px) {
    .journey-image-box {
        height: 260px;
    }

    .journey-title {
        font-size: 28px;
    }
}

/* =========================
PRODUCTION SECTION
========================= */

.production-section {
  padding: 40px 0;
}

/* top text */
.prod-date {
  font-family: "f2";
  color: #777;
}

.prod-phase {
  font-family: "f3";
  color: #FA5C40;
  margin: 6px 0;
  font-size: 20px;
}

.prod-title {
  font-family: "f4";
  font-size: 34px;
  margin-bottom: 40px;
}

/* info grid */
.prod-info .label {
  font-family: "f2";
  color: #777;
  margin-bottom: 4px;
}

.prod-info .value {
  font-family: "f3";
}

.status-complete {
  color: #2eaf3d;
  font-family: "f3";
}

/* robot */
.prod-robot {
  height: 240px;
  object-fit: contain;
}

/* responsive */
@media (max-width: 992px) {
  .prod-robot {
    height: 180px;
    margin-top: 20px;
  }

  .prod-title {
    font-size: 28px;
  }
}


/* =========================
CASE FLOW SECTION
========================= */



/* row layout */
.cs-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  margin-bottom: 90px;
}

/* left titles */
.cs-left h2 {
  font-family: "f4";
  font-size: 44px;
  margin: 0;
}
.cs-left {

  margin-bottom:20px;
}

/* right content */
.cs-right {
  font-family: "f2";
  color: #7a7a7a;
  line-height: 1.8;
}

/* bullet list */
.cs-right ul {
  padding-left: 20px;
}

.cs-right li {
  margin-bottom: 12px;
}

/* paragraphs */
.cs-right p {
  margin-bottom: 20px;
}

/* =========================
RESPONSIVE
========================= */

@media (max-width: 768px) {
  .cs-row {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 60px;
  }

  .cs-left h2 {
    font-size: 32px;
  }
}