/* style/tintc.css */

/* Custom Colors */
:root {
    --page-tintc-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-tintc-card-bg: #11271B;
    --page-tintc-background: #08160F;
    --page-tintc-text-main: #F2FFF6;
    --page-tintc-text-secondary: #A7D9B8;
    --page-tintc-border: #2E7A4E;
    --page-tintc-glow: #57E38D;
    --page-tintc-gold: #F2C14E;
    --page-tintc-divider: #1E3A2A;
    --page-tintc-deep-green: #0A4B2C;
}

.page-tintc {
    background-color: var(--page-tintc-background);
    color: var(--page-tintc-text-main); /* Light text for dark background */
    font-family: 'Arial', sans-serif;
}

.page-tintc__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-tintc__section {
    padding: 60px 0;
    position: relative;
}

.page-tintc__dark-section {
    background-color: var(--page-tintc-card-bg);
    color: var(--page-tintc-text-main);
}

.page-tintc__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-tintc__hero-image-wrapper {
    width: 100%;
    max-height: 700px;
    overflow: hidden;
}

.page-tintc__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-tintc__hero-content-wrapper {
    position: relative;
    width: 100%;
    padding: 40px 0;
    background-color: var(--page-tintc-background); /* Ensure content has a solid background */
    text-align: center;
}

.page-tintc__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-tintc__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--page-tintc-text-main);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

.page-tintc__hero-description {
    font-size: 1.1rem;
    color: var(--page-tintc-text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-tintc__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--page-tintc-text-main);
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 5px rgba(87, 227, 141, 0.3);
}

.page-tintc__section-description {
    font-size: 1rem;
    color: var(--page-tintc-text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.page-tintc__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--page-tintc-text-main);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: left;
    padding-left: 20px;
}

.page-tintc__text-block {
    font-size: 1rem;
    color: var(--page-tintc-text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 0 20px;
}

.page-tintc__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
}

.page-tintc__news-card {
    background-color: var(--page-tintc-card-bg);
    border: 1px solid var(--page-tintc-border);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tintc__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-tintc__news-card-image {
    width: 100%;
    height: 220px; /* Fixed height for cards */
    object-fit: cover;
    display: block;
}

.page-tintc__news-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-tintc__news-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-tintc__news-card-title a {
    color: var(--page-tintc-text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tintc__news-card-title a:hover {
    color: var(--page-tintc-glow);
}

.page-tintc__news-card-meta {
    font-size: 0.9rem;
    color: var(--page-tintc-text-secondary);
    margin-bottom: 15px;
}

.page-tintc__news-card-excerpt {
    font-size: 1rem;
    color: var(--page-tintc-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-tintc__read-more-link {
    display: inline-block;
    color: var(--page-tintc-glow);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-tintc__read-more-link:hover {
    text-decoration: underline;
}

.page-tintc__content-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-tintc__feature-list,
.page-tintc__strategy-list {
    list-style: none;
    padding: 0 20px;
    margin-bottom: 30px;
}

.page-tintc__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--page-tintc-text-secondary);
    line-height: 1.6;
}

.page-tintc__list-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--page-tintc-glow);
    font-weight: bold;
    font-size: 1.2rem;
    top: 0;
}

.page-tintc__strategy-list .page-tintc__list-item::before {
    content: counter(item) '.';
    counter-increment: item;
    color: var(--page-tintc-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.page-tintc__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.page-tintc__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-tintc__btn-primary {
    background: var(--page-tintc-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-tintc__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
    opacity: 0.9;
}

.page-tintc__btn-secondary {
    background: transparent;
    color: var(--page-tintc-glow);
    border: 2px solid var(--page-tintc-glow);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.2);
}

.page-tintc__btn-secondary:hover {
    transform: translateY(-3px);
    background: rgba(87, 227, 141, 0.1);
    box-shadow: 0 8px 20px rgba(87, 227, 141, 0.4);
}

.page-tintc__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.page-tintc__faq-item {
    background-color: var(--page-tintc-card-bg);
    border: 1px solid var(--page-tintc-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-tintc__faq-item[open] {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-tintc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--page-tintc-text-main);
    cursor: pointer;
    list-style: none;
    transition: background-color 0.3s ease;
}

.page-tintc__faq-question::-webkit-details-marker {
    display: none;
}

.page-tintc__faq-question:hover {
    background-color: rgba(17, 168, 78, 0.1);
}

.page-tintc__faq-toggle {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--page-tintc-glow);
    line-height: 1;
    margin-left: 15px;
}

.page-tintc__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1rem;
    color: var(--page-tintc-text-secondary);
    line-height: 1.7;
}

.page-tintc__faq-answer p {
    margin-bottom: 10px;
    color: var(--page-tintc-text-secondary);
}

.page-tintc__cta-container {
    text-align: center;
}

.page-tintc a {
    color: var(--page-tintc-glow);
    text-decoration: none;
}

.page-tintc a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-tintc__news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-tintc {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-tintc__section {
        padding: 40px 0;
    }

    .page-tintc__hero-content-wrapper {
        padding: 30px 0;
    }

    .page-tintc__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-tintc__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-tintc__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        margin-bottom: 15px;
    }

    .page-tintc__section-description,
    .page-tintc__text-block {
        font-size: 0.95rem;
        margin-bottom: 15px;
        padding: 0 15px;
    }

    .page-tintc__sub-title {
        font-size: clamp(1.2rem, 5vw, 1.8rem);
        margin-top: 30px;
        margin-bottom: 15px;
        padding-left: 15px;
    }

    .page-tintc__news-grid {
        gap: 20px;
        margin-top: 30px;
        padding: 0 15px;
    }

    .page-tintc__news-card-image {
        height: 180px;
    }

    .page-tintc__news-card-content {
        padding: 20px;
    }

    .page-tintc__news-card-title {
        font-size: 1.15rem;
    }

    .page-tintc__list-item {
        font-size: 0.95rem;
        padding-left: 25px;
        margin-bottom: 10px;
    }

    .page-tintc__list-item::before {
        font-size: 1.1rem;
    }

    .page-tintc__button-group {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        padding: 0 15px;
    }

    .page-tintc__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-tintc__faq-list {
        margin-top: 30px;
        padding: 0 15px;
    }

    .page-tintc__faq-question {
        padding: 15px 20px;
        font-size: 1.05rem;
    }

    .page-tintc__faq-toggle {
        font-size: 1.5rem;
    }

    .page-tintc__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 0.95rem;
    }

    /* Mobile image responsiveness */
    .page-tintc img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }

    .page-tintc__section,
    .page-tintc__card,
    .page-tintc__container,
    .page-tintc__hero-section,
    .page-tintc__hero-content-wrapper,
    .page-tintc__hero-content,
    .page-tintc__news-grid,
    .page-tintc__faq-list,
    .page-tintc__cta-container,
    .page-tintc__button-group {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow-x: hidden;
    }

    .page-tintc__hero-section {
        padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
    }

    .page-tintc__video-section {
        padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
    }

    /* Video containers (if any) */
    .page-tintc video,
    .page-tintc__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-tintc__video-section,
    .page-tintc__video-container,
    .page-tintc__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
}