/* ==========================================================================
   Card 002 Component - Icon + Text Card
   ========================================================================== */

/* Base Card 002 - Icon + Text Layout */
:where(.c-card-002) {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: white;
  border-radius: 16px;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
}

/* Card Icon Container */
:where(.c-card-002__icon) {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

:where(.c-card-002__icon img) {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Card Content */
:where(.c-card-002__content) {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Card Title */
:where(.c-card-002__title) {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--wp--preset--color--gray-900);
  margin: 0;
}

/* Card Text */
:where(.c-card-002__text) {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--wp--preset--color--basic-text);
  margin: 0;
}

/* Hover Effect */
:where(.c-card-002:hover) {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Feature Variant - for hero-info section */
:where(.c-card-002--feature) {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

:where(.c-card-002--feature:hover) {
}

/* Small Variant */
:where(.c-card-002--small) {
  padding: 16px;
}

:where(.c-card-002--small .c-card-002__icon) {
  width: 40px;
  height: 40px;
}

:where(.c-card-002--small .c-card-002__title) {
  font-size: 1.3rem;
}

/* Large Variant */
:where(.c-card-002--large) {
  padding: 24px;
}

:where(.c-card-002--large .c-card-002__icon) {
  width: 60px;
  height: 60px;
}

:where(.c-card-002--large .c-card-002__title) {
  font-size: 1.6rem;
}

/* Horizontal Layout (default is already horizontal) */
:where(.c-card-002--horizontal) {
  flex-direction: row;
}

/* Vertical Layout */
:where(.c-card-002--vertical) {
  flex-direction: column;
  text-align: center;
  align-items: center;
}

:where(.c-card-002--vertical .c-card-002__icon) {
  margin-bottom: 12px;
}

/* With Border */
:where(.c-card-002--bordered) {
  border: 2px solid var(--wp--preset--color--gray-200);
  box-shadow: none;
}

:where(.c-card-002--bordered:hover) {
  border-color: var(--wp--preset--color--primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Primary Theme */
:where(.c-card-002--primary) {
  background: var(--wp--preset--color--primary);
  color: white;
}

:where(.c-card-002--primary .c-card-002__title) {
  color: white;
}

:where(.c-card-002--primary .c-card-002__text) {
  color: rgba(255, 255, 255, 0.9);
}

/* Accent Theme */
:where(.c-card-002--accent) {
  background: var(--wp--preset--color--secondary);
  color: white;
}

:where(.c-card-002--accent .c-card-002__title) {
  color: white;
}

:where(.c-card-002--accent .c-card-002__text) {
  color: rgba(255, 255, 255, 0.9);
}
