:root {
  --tcg-primary: #ff6600;
  --tcg-primary-gradient: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
  --tcg-bg-light: #f9f9fb;
  --tcg-text-main: #2d2d2d;
  --tcg-text-muted: #666666;
  --tcg-card-bg: #ffffff;
  --tcg-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --tcg-card-hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  --tcg-transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --tcg-radius: 20px;
  --tcg-section-gap: 80px;
}

/* General Layout Improvements */
.layout-about {
  background-color: var(--tcg-bg-light);
  overflow-x: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

@media (min-width: 992px) {
  .layout-about.about-tcg {
    padding-left: 0px;
  }
}

.tcg-head img {
  width: 100%;
  display: block;
}

/* Intro Section Restyling */
.tcg-intro {
  margin-top: var(--tcg-section-gap);
  padding: 0 15px;
  padding-top: 50px;
}

.tcg-intro__wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
}

.tcg-intro__head {
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.tcg-intro__head h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--tcg-text-main);
  letter-spacing: -0.5px;
}

.tcg-intro__head .ab-des {
  font-size: 17px;
  line-height: 1.6;
  color: var(--tcg-text-muted);
}

/* Global Description Style for Feature Sections */
.about-tcg .ab-des {
  font-size: 16px;
  line-height: 1.7;
  color: #7d7d7d;
  margin-bottom: 40px;
}

/* Modern Grid Layout */
.tcg-intro__list {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

.tcg-intro__list .row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0;
}

.tcg-intro__list .row::before,
.tcg-intro__list .row::after {
  display: none !important;
}

/* Card Design Enhancement */
.tcg-intro__item {
  background: var(--tcg-card-bg);
  border-radius: var(--tcg-radius);
  padding: 0;
  margin-bottom: 0;
  box-shadow: var(--tcg-card-shadow);
  transition: var(--tcg-transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0,0,0,0.03);
}

.tcg-intro__item:hover {
  transform: translateY(-12px);
  box-shadow: var(--tcg-card-hover-shadow);
}

.tcg-intro__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.tcg-intro__image a {
  display: block;
  height: 100%;
}

.tcg-intro__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--tcg-transition);
}

.tcg-intro__item:hover .tcg-intro__image img {
  transform: scale(1.08);
}

.tcg-intro__detail {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.tcg-intro__item h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 12px;
}

.tcg-intro__item h4 a {
  color: var(--tcg-text-main);
  transition: var(--tcg-transition);
}

.tcg-intro__item h4 a:hover {
  color: var(--tcg-primary);
}

.tcg-intro__item .ab-des {
  font-size: 15px;
  line-height: 1.6;
  color: var(--tcg-text-muted);
  margin-bottom: 30px;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tcg-intro__item .ab-actions {
  margin-top: auto;
}

/* Modern Button Design */
.ab-btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--tcg-transition);
  text-align: center;
}

.ab-btn1 {
  background: var(--tcg-primary-gradient);
  color: #fff !important;
  box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
  border: none;
}

.ab-btn1:hover {
  background: var(--tcg-primary-gradient); /* Keep background to avoid conflict */
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.4);
  transform: scale(1.05);
}

/* Featured Section Restyling */
.tcg-featured {
  margin-top: var(--tcg-section-gap);
  padding: 100px 0;
  color: #fff;
  position: relative;
}

.tcg-featured__wrapper {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 15px;
}

.tcg-featured__des h5 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.4;
}

.tcg-featured__des .ab-des {
  font-size: 17px;
  line-height: 1.8;
  color: #7d7d7d;
  margin-bottom: 50px;
}

/* Banner Section */
.tcg-banner {
  margin-top: 0;
  padding: 90px 0;
  background-attachment: fixed;
}

.tcg-banner .tcg-banner__des h5 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 25px;
  line-height: 1.3;
}

.tcg-banner .tcg-banner__des .ab-des {
  margin-bottom: 40px;
}

/* Intro 2 Section */
.tcg-intro2 {
  margin-top: var(--tcg-section-gap);
  padding-bottom: var(--tcg-section-gap);
  padding-left: 40px;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
  .tcg-intro__list .row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  :root {
    --tcg-section-gap: 50px;
  }
  
  .tcg-intro__head h2 { font-size: 24px; }
  
  .tcg-intro__list .row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .tcg-featured { padding: 60px 0; }
  .tcg-featured__img { margin-top: 30px !important; }
  .tcg-featured__des h5 { font-size: 24px; }
  
  .tcg-banner { padding: 60px 0; }
  .tcg-banner .tcg-banner__image { transform: none; margin-bottom: 30px; }
  .tcg-banner .tcg-banner__des h5 { font-size: 28px; }
}

@media (min-width: 1440px) {
  .tcg-featured .tcg-featured__img {
    margin-top: -150px;
  }
}

/* Global Image Fix for TCG */
.about-tcg img {
  width: 100%;
  height: auto;
  display: block;
}

/* Vertical Alignment for Feature Sections */
.tcg-featured__wrapper .row,
.tcg-intro2__wrapper .row,
.tcg-banner .row {
  display: flex !important;
  align-items: center !important;
}

/* Section Header Padding for sec6 */
.tcg-intro:last-of-type {
  padding-top: 60px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* Centered Block for 2 items */
.tcg-intro__list--center .row {
  display: flex !important;
  justify-content: center;
  gap: 30px;
}

.tcg-intro__list--center .tcg-intro__item {
  width: 100%;
  max-width: 450px;
}

/* Bottom Grid Alignment Fix */
.tcg-intro:last-of-type .tcg-intro__list .row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px;
  margin: 0 -15px;
  width: auto;
}

.tcg-intro:last-of-type .tcg-intro__list .row::before,
.tcg-intro:last-of-type .tcg-intro__list .row::after {
  display: none !important;
}

.tcg-intro:last-of-type .tcg-intro__item {
  grid-column: auto !important;
}

/* Mobile adjustments for centered block */
@media (max-width: 767px) {
  .tcg-intro__list--center .row {
    flex-direction: column;
    align-items: center;
  }
  
  .tcg-intro:last-of-type .tcg-intro__list .row {
    grid-template-columns: 1fr !important;
  }
}

/* Local Aspect Ratio Utilities (CLS Fix) */
.t-ratio-container {
	position: relative;
	width: 100%;
	height: 0;
	overflow: hidden;
	display: block;
}
.t-ratio-container img, 
.t-ratio-container picture img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Specific Ratios for TCG Banners */
.t-ratio-hero { padding-top: 31.27%; } /* Matching ratio-banner-home */

@media (max-width: 767px) {
	.t-ratio-container.mobile-ratio-1-1 { padding-top: 100% !important; }
}

