/* ============================================
   UnitConverterTool.com — Resources Pages CSS
   Prefix: rsc-
   Color Theme: Teal #14B8A6
   ============================================ */

/* --- Reset & Base --- */
.rsc-wrapper {
  font-family: 'DM Sans', sans-serif;
  color: #C8D8E8;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.rsc-wrapper *,
.rsc-wrapper *::before,
.rsc-wrapper *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Layout --- */
.rsc-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.rsc-section {
  padding: 60px 0;
}
.rsc-section + .rsc-section {
  padding-top: 0;
}

/* Rank Math Breadcrumb Styling */
.rank-math-breadcrumb {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
}
.rank-math-breadcrumb a {
  color: #5A7090;
  text-decoration: none;
}
.rank-math-breadcrumb a:hover {
  color: #8B5CF6;
}
.rank-math-breadcrumb .separator {
  color: #374B64;
  margin: 0 8px;
}
.rank-math-breadcrumb .last {
  color: #8899AA;
}

/* --- Badge --- */
.rsc-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, rgba(20,184,166,0.15), rgba(14,165,233,0.10));
  color: #2DD4BF;
  border: 1px solid rgba(20,184,166,0.2);
  margin-bottom: 20px;
}

/* --- Hero --- */
.rsc-hero {
  text-align: center;
  padding: 70px 0 50px;
}
.rsc-hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.rsc-hero-title .rsc-accent {
  color: #14B8A6;
}
.rsc-hero-sub {
  font-size: 16px;
  color: #8899AA;
  max-width: 640px;
  margin: 0 auto 20px;
  line-height: 1.75;
}
.rsc-hero-date {
  font-size: 13px;
  color: #5A7090;
  margin-top: 10px;
}

/* --- Highlight Cards (2x2 grid) --- */
.rsc-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
.rsc-hl-card {
  background: #111B2E;
  border: 1px solid rgba(55,75,100,0.3);
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.rsc-hl-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,184,166,0.08);
}
.rsc-hl-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(20,184,166,0.15);
  font-size: 22px;
  margin-bottom: 16px;
}
.rsc-hl-title {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}
.rsc-hl-text {
  font-size: 14px;
  color: #8899AA;
  line-height: 1.65;
}

/* --- Accordion --- */
.rsc-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.rsc-accord-item {
  background: #111B2E;
  border: 1px solid rgba(55,75,100,0.3);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.rsc-accord-item:hover {
  box-shadow: 0 4px 16px rgba(20,184,166,0.06);
}
.rsc-accord-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
}
.rsc-accord-header:hover {
  background: rgba(20,184,166,0.04);
}
.rsc-accord-num {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(20,184,166,0.15);
  color: #14B8A6;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}
.rsc-accord-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.rsc-accord-title {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  color: #FFFFFF;
}
.rsc-accord-arrow {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(55,75,100,0.2);
  transition: transform 0.35s ease, background 0.25s;
  flex-shrink: 0;
}
.rsc-accord-arrow svg {
  width: 14px;
  height: 14px;
  stroke: #8899AA;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.25s;
}
.rsc-accord-item.rsc-open .rsc-accord-arrow {
  transform: rotate(180deg);
  background: rgba(20,184,166,0.15);
}
.rsc-accord-item.rsc-open .rsc-accord-arrow svg {
  stroke: #14B8A6;
}
.rsc-accord-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.rsc-accord-content {
  padding: 0 24px 24px 74px;
  font-size: 15px;
  color: #C8D8E8;
  line-height: 1.8;
}
.rsc-accord-content p {
  margin-bottom: 12px;
}
.rsc-accord-content p:last-child {
  margin-bottom: 0;
}
.rsc-accord-content ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}
.rsc-accord-content ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #8899AA;
  font-size: 14px;
}
.rsc-accord-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #14B8A6;
}
.rsc-accord-content a {
  color: #2DD4BF;
  text-decoration: none;
  border-bottom: 1px solid rgba(45,212,191,0.3);
  transition: border-color 0.25s;
}
.rsc-accord-content a:hover {
  border-color: #2DD4BF;
}
.rsc-accord-content strong {
  color: #FFFFFF;
  font-weight: 600;
}

/* --- Section Heading --- */
.rsc-section-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #14B8A6;
  margin-bottom: 12px;
}
.rsc-section-title {
  text-align: center;
  font-size: clamp(24px, 3.5vw, 32px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.rsc-section-sub {
  text-align: center;
  font-size: 15px;
  color: #8899AA;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* --- Trust Bar --- */
.rsc-trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 28px;
  padding: 24px 30px;
  background: #111B2E;
  border: 1px solid rgba(55,75,100,0.3);
  border-radius: 14px;
  margin-bottom: 20px;
}
.rsc-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #8899AA;
  white-space: nowrap;
}
.rsc-trust-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #14B8A6;
  flex-shrink: 0;
}

/* --- Quick Links / Other Pages Grid --- */
.rsc-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.rsc-link-card {
  background: #111B2E;
  border: 1px solid rgba(55,75,100,0.3);
  border-radius: 14px;
  padding: 28px 24px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
}
.rsc-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20,184,166,0.08);
  border-color: rgba(20,184,166,0.25);
}
.rsc-link-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(20,184,166,0.15);
  font-size: 22px;
  flex-shrink: 0;
}
.rsc-link-info {
  flex: 1;
}
.rsc-link-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}
.rsc-link-desc {
  font-size: 13px;
  color: #5A7090;
}
.rsc-link-arrow {
  color: #3A4F6A;
  font-size: 18px;
  transition: color 0.25s, transform 0.25s;
}
.rsc-link-card:hover .rsc-link-arrow {
  color: #14B8A6;
  transform: translateX(3px);
}

/* --- CTA Section --- */
.rsc-cta {
  text-align: center;
  padding: 70px 0 80px;
}
.rsc-cta-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.rsc-cta-sub {
  font-size: 15px;
  color: #8899AA;
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}
.rsc-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #14B8A6, #0EA5E9);
  color: #FFFFFF;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s;
  letter-spacing: 0.2px;
}
.rsc-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(20,184,166,0.25);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .rsc-highlights {
    grid-template-columns: 1fr;
  }
  .rsc-links-grid {
    grid-template-columns: 1fr;
  }
  .rsc-hero {
    padding: 50px 0 35px;
  }
  .rsc-section {
    padding: 40px 0;
  }
  .rsc-accord-content {
    padding-left: 24px;
  }
  .rsc-accord-header {
    padding: 16px 18px;
    gap: 10px;
  }
  .rsc-hl-card {
    padding: 22px 20px;
  }
  .rsc-trust-bar {
    flex-direction: column;
    gap: 10px;
    padding: 20px;
  }
  .rsc-cta {
    padding: 50px 0 60px;
  }
}
@media (max-width: 480px) {
  .rsc-container {
    padding: 0 15px;
  }
  .rsc-hero-title {
    font-size: 28px;
  }
  .rsc-accord-num {
    display: none;
  }
}
