/* ============================================
   ThermaTub – Stories & Guides CSS v3
   ============================================ */

.tt-sg-wrap {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
    box-sizing: border-box;
    font-family: inherit;
}

/* FILTER */
.tt-sg-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2.5rem;
    align-items: center;
}

.tt-sg-fbtn {
    padding: 7px 18px;
    border-radius: 30px;
    border: 1px solid rgba(28,43,58,0.2);
    background: transparent;
    font-size: 13px;
    color: #4a5a6a;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    line-height: 1.4;
}

.tt-sg-fbtn:hover {
    border-color: #1c2b3a;
    color: #1c2b3a;
}

.tt-sg-fbtn.active {
    background: #1c2b3a;
    color: #fff;
    border-color: #1c2b3a;
}

/* GRID */
.tt-sg-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* KORTELĖ */
.tt-sg-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(28,43,58,0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.tt-sg-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(28,43,58,0.11);
    text-decoration: none;
    color: inherit;
}

.tt-sg-card.tt-sg-featured {
    grid-column: span 2;
}

.tt-sg-card.tt-sg-featured .tt-sg-img {
    height: 560px;
}

.tt-sg-card.tt-sg-featured .tt-sg-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

/* NUOTRAUKA */
.tt-sg-img {
    width: 100%;
    height: 480px;
    overflow: hidden;
    position: relative;
    background: #ddd8ce;
    flex-shrink: 0;
}

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

.tt-sg-card:hover .tt-sg-img img {
    transform: scale(1.03);
}

.tt-sg-img-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0a898;
}

.tt-sg-photo-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(28,43,58,0.72);
    color: #fff;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
}

/* BODY */
.tt-sg-body {
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tt-sg-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.tt-sg-tag {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    color: #1c2b3a;
    background: #BFD1E7;
    padding: 4px 11px;
    border-radius: 3px;
    line-height: 1.4;
    white-space: nowrap;
    font-weight: 600;
}

.tt-sg-loc {
    font-size: 13px;
    color: #2e3d4a;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

/* TITLE – ne bold */
.tt-sg-title {
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    font-weight: 400;
    color: #1c2b3a;
    margin: 0 0 10px;
    line-height: 1.3;
}

.tt-sg-desc {
    font-size: 14px;
    color: #2e3d4a;
    line-height: 1.7;
    margin: 0 0 12px;
    font-weight: 400;
    flex: 1;
}

.tt-sg-quote {
    border-left: 2px solid #c8d4e0;
    padding-left: 12px;
    margin: 0 0 12px;
}

.tt-sg-quote p {
    font-style: italic;
    font-size: 13.5px;
    color: #3a4a5a;
    line-height: 1.6;
    margin: 0 0 4px;
}

.tt-sg-quote cite {
    font-size: 12px;
    color: #5a6a7a;
    font-style: normal;
    font-weight: 500;
}

.tt-sg-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid rgba(28,43,58,0.08);
    margin-top: auto;
    gap: 8px;
}

.tt-sg-product {
    font-size: 12px;
    color: #4a6fa5;
    line-height: 1.3;
    font-weight: 500;
}

/* VIEW PROJECT – šviesiai mėlynas, stačiakampis */
.tt-sg-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #7FA0C4;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 0;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease;
    letter-spacing: 0.02em;
}

.tt-sg-card:hover .tt-sg-cta {
    background: #4a6fa5;
}

.tt-sg-cta svg {
    transition: transform 0.2s ease;
}

.tt-sg-card:hover .tt-sg-cta svg {
    transform: translateX(3px);
}

.tt-no-projects {
    color: #9aabb8;
    font-size: 15px;
    padding: 2rem 0;
}

/* ============================================
   ATSKIRO PROJEKTO PUSLAPIS
   ============================================ */

.tt-single-wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px 60px;
    box-sizing: border-box;
    font-family: inherit;
}

.tt-single-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #7a8a9a;
    text-decoration: none;
    margin-bottom: 2rem;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.tt-single-back:hover {
    color: #1c2b3a;
    text-decoration: none;
}

.tt-single-hero {
    width: 100%;
    height: 580px;
    overflow: hidden;
    border-radius: 8px;
    background: #ddd8ce;
    margin-bottom: 12px;
}

.tt-single-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s ease;
}

.tt-single-thumbs {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
}

.tt-single-thumbs::-webkit-scrollbar { height: 3px; }
.tt-single-thumbs::-webkit-scrollbar-track { background: #f0eee9; }
.tt-single-thumbs::-webkit-scrollbar-thumb { background: #c8d4e0; border-radius: 3px; }

.tt-single-thumb {
    width: 96px;
    height: 68px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
    background: #ddd8ce;
}

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

.tt-single-thumb.active { border-color: #1c2b3a; }
.tt-single-thumb:hover { border-color: #4a6fa5; }

.tt-single-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.tt-single-tag {
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    color: #1c2b3a;
    background: #BFD1E7;
    padding: 4px 11px;
    border-radius: 3px;
    line-height: 1.4;
    font-weight: 600;
}

.tt-single-loc {
    font-size: 13px;
    color: #2e3d4a;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.tt-single-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 400;
    color: #1c2b3a;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.tt-single-desc {
    font-size: 15px;
    color: #2e3d4a;
    line-height: 1.85;
    margin: 0 0 2rem;
    font-weight: 400;
}

.tt-single-review {
    background: #f7f5f1;
    border: 1px solid rgba(28,43,58,0.08);
    border-radius: 8px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2rem;
}

.tt-single-review p {
    font-style: italic;
    font-size: 15px;
    color: #2e3d4a;
    line-height: 1.75;
    margin: 0 0 0.75rem;
}

.tt-single-review cite {
    font-size: 13px;
    color: #5a6a7a;
    font-style: normal;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.tt-stars {
    color: #1c2b3a;
    font-size: 14px;
    letter-spacing: 1px;
}

.tt-single-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.4rem;
    background: #ffffff;
    border: 1px solid rgba(28,43,58,0.1);
    border-radius: 8px;
    gap: 16px;
    flex-wrap: wrap;
}

.tt-single-product-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.tt-single-product-info span {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9aabb8;
}

.tt-single-product-info strong {
    font-size: 15px;
    font-weight: 600;
    color: #1c2b3a;
}

/* VIEW PRODUCT – kvadratinis */
.tt-single-product-btn {
    background: #1c2b3a;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.6rem;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.04em;
    transition: background 0.2s ease;
    white-space: nowrap;
    text-transform: uppercase;
}

.tt-single-product-btn:hover {
    background: #2d4460;
    color: #fff;
    text-decoration: none;
}

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

@media (max-width: 1024px) {
    .tt-sg-grid { gap: 18px; }
    .tt-sg-img { height: 380px; }
    .tt-sg-card.tt-sg-featured .tt-sg-img { height: 460px; }
    .tt-single-hero { height: 460px; }
}

@media (max-width: 768px) {
    .tt-sg-wrap { padding: 0 16px 40px; }
    .tt-sg-grid { grid-template-columns: 1fr; gap: 16px; }
    .tt-sg-card.tt-sg-featured { grid-column: span 1; }
    .tt-sg-card.tt-sg-featured .tt-sg-img { height: 320px; }
    .tt-sg-img { height: 300px; }
    .tt-single-wrap { padding: 0 16px 40px; }
    .tt-single-hero { height: 360px; }
    .tt-single-title { font-size: 1.4rem; }
}

@media (max-width: 480px) {
    .tt-sg-wrap { padding: 0 12px 32px; }
    .tt-sg-img { height: 260px; }
    .tt-sg-body { padding: 16px 16px 18px; }
    .tt-sg-filter { gap: 6px; }
    .tt-sg-fbtn { font-size: 12px; padding: 6px 13px; }
    .tt-single-wrap { padding: 0 12px 32px; }
    .tt-single-hero { height: 280px; }
    .tt-single-thumb { width: 80px; height: 56px; }
    .tt-single-product { flex-direction: column; align-items: flex-start; }
    .tt-single-product-btn { width: 100%; text-align: center; }
}

@media (min-width: 1400px) {
    .tt-sg-wrap { max-width: 1320px; }
    .tt-sg-img { height: 520px; }
    .tt-sg-card.tt-sg-featured .tt-sg-img { height: 620px; }
}

