/* style/tintc.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #FFFFFF;
    --login-color: #EA7C07;
    --background-color: #FFFFFF;
}

.page-tintc {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-color);
}

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

/* HERO Section */
.page-tintc__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--secondary-color);
}

.page-tintc__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-tintc__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-tintc__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-tintc__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.page-tintc__main-title {
    font-size: 3em;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-tintc__description {
    font-size: 1.2em;
    color: var(--text-color-dark);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-tintc__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-tintc__cta-button:hover {
    background: #1e87c0; /* Slightly darker primary color */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* General Section Styles */
.page-tintc__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
}

.page-tintc__section-title--white {
    color: var(--text-color-light);
}

.page-tintc__section-intro {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.page-tintc__section-intro--white {
    color: var(--text-color-light);
}

/* News List Section */
.page-tintc__news-list-section {
    background-color: var(--secondary-color);
    padding-bottom: 60px;
}

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

.page-tintc__news-card {
    background-color: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-tintc__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-tintc__news-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

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

.page-tintc__card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-tintc__card-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tintc__card-title a:hover {
    color: #1e87c0;
}

.page-tintc__card-date {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 15px;
}

.page-tintc__card-excerpt {
    font-size: 1em;
    color: var(--text-color-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-tintc__read-more-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.9em;
    align-self: flex-start;
    transition: background-color 0.3s ease;
}

.page-tintc__read-more-button:hover {
    background-color: #1e87c0;
}

.page-tintc__view-all-button-container {
    text-align: center;
    margin-top: 50px;
}

/* Featured News Section */
.page-tintc__featured-news-section {
    background-color: var(--primary-color);
    padding-bottom: 60px;
}

.page-tintc__featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-tintc__featured-card {
    background-color: #38b7ef; /* Slightly lighter primary for card background */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-tintc__featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-tintc__featured-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

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

.page-tintc__featured-card .page-tintc__card-title a {
    color: var(--text-color-light);
}

.page-tintc__featured-card .page-tintc__card-title a:hover {
    color: #e0f2f7;
}

.page-tintc__featured-card .page-tintc__card-date,
.page-tintc__featured-card .page-tintc__card-excerpt {
    color: #e0f2f7;
}

/* FAQ Section */
.page-tintc__faq-section {
    background-color: var(--secondary-color);
    padding-bottom: 60px;
}

.page-tintc__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

details.page-tintc__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-tintc__faq-item summary.page-tintc__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-tintc__faq-item summary.page-tintc__faq-question::-webkit-details-marker {
  display: none;
}
details.page-tintc__faq-item summary.page-tintc__faq-question:hover {
  background: #f5f5f5;
}
.page-tintc__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-color-dark);
}
.page-tintc__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-tintc__faq-item .page-tintc__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-color-dark);
}

/* CTA Section */
.page-tintc__cta-section {
    background-color: var(--primary-color);
    padding: 80px 20px;
    text-align: center;
}

.page-tintc__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-tintc__cta-text {
    font-size: 1.2em;
    color: var(--text-color-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-tintc__main-title {
        font-size: 2.5em;
    }
    .page-tintc__section-title {
        font-size: 2em;
    }
    .page-tintc__news-card img,
    .page-tintc__featured-card img {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .page-tintc__hero-section {
        padding-top: 10px !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-tintc__hero-image img {
        border-radius: 4px;
    }
    .page-tintc__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-tintc__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-tintc__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        width: 100% !important; /* Button responsive */
        max-width: 300px !important; /* Max width for mobile button */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-tintc__section-title {
        font-size: 1.8em;
        padding-top: 40px;
        margin-bottom: 30px;
    }
    .page-tintc__section-intro {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-tintc__news-grid,
    .page-tintc__featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-tintc__news-card img,
    .page-tintc__featured-card img {
        
    }
    .page-tintc__card-title {
        font-size: 1.3em;
    }
    .page-tintc__card-content {
        padding: 20px;
    }
    .page-tintc__faq-qtext {
        font-size: 15px;
    }
    details.page-tintc__faq-item summary.page-tintc__faq-question { padding: 15px; }

    .page-tintc__cta-section {
        padding: 50px 15px;
    }
    .page-tintc__cta-text {
        font-size: 1em;
    }

    /* Mobile image and container responsiveness */
    .page-tintc img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    .page-tintc__hero-image,
    .page-tintc__news-card,
    .page-tintc__featured-card,
    .page-tintc__container,
    .page-tintc__news-list-section,
    .page-tintc__featured-news-section,
    .page-tintc__faq-section,
    .page-tintc__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-tintc__hero-section {
        padding-left: 0;
        padding-right: 0;
    }
    .page-tintc__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-tintc__main-title {
        font-size: 1.8em;
    }
    .page-tintc__section-title {
        font-size: 1.5em;
    }
    .page-tintc__cta-button {
        font-size: 15px;
        padding: 10px 20px;
    }
    .page-tintc__news-card img,
    .page-tintc__featured-card img {
        
    }
}