/*
 * あわら三国ライオンズクラブ
 * 04｜Components
 * Version: 1.0.0
 */

/* ==============================
   Buttons
============================== */

.amlc-page .amlc-button {
  display: inline-flex;

  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: var(--amlc-button-height);
  padding: 12px 26px;

  border: 1px solid transparent;
  border-radius: var(--amlc-radius-sm);

  background: var(--amlc-blue-action);
  color: var(--amlc-white);

  font-family: var(--amlc-font-body);
  font-size: 15px;
  font-weight: 700;

  line-height: 1.5;
  text-align: center;
  text-decoration: none;

  cursor: pointer;

  transition:
    background-color var(--amlc-transition),
    box-shadow var(--amlc-transition),
    transform var(--amlc-transition);
}

@media (hover: hover) {

  .amlc-page .amlc-button:hover {
    background: var(--amlc-blue-dark);
    color: var(--amlc-white);

    box-shadow: var(--amlc-shadow-hover);
    transform: translateY(-2px);
  }

}

/* Outline Button */

.amlc-page .amlc-button--outline {
  background: transparent;
  color: var(--amlc-blue);

  border-color: var(--amlc-blue);
}

.amlc-page .amlc-button--outline:hover {
  background: var(--amlc-blue);
  color: var(--amlc-white);
}

/* White Button */

.amlc-page .amlc-button--white {
  background: var(--amlc-white);
  color: var(--amlc-blue);

  border-color: var(--amlc-white);
}

.amlc-page .amlc-button--white:hover {
  background: var(--amlc-bg-light);
  color: var(--amlc-blue-dark);
}

/* Yellow Button */

.amlc-page .amlc-button--yellow {
  background: var(--amlc-yellow);
  color: var(--amlc-blue-dark);
}

.amlc-page .amlc-button--yellow:hover {
  background: #E7B82A;
  color: var(--amlc-blue-dark);
}

/* Button Group */

.amlc-button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}


/* ==============================
   Common Cards
============================== */

.amlc-card {
  display: flex;
  flex-direction: column;

  min-width: 0;
  height: 100%;

  overflow: hidden;

  background: var(--amlc-white);

  border: 1px solid var(--amlc-border);
  border-radius: var(--amlc-radius-md);

  box-shadow: var(--amlc-shadow-card);

  transition:
    box-shadow var(--amlc-transition),
    transform var(--amlc-transition);
}

@media (hover: hover) {

  .amlc-card:hover {
    box-shadow: var(--amlc-shadow-hover);
    transform: translateY(-4px);
  }

}

/* Card Image */

.amlc-card__media {
  width: 100%;
  aspect-ratio: 16 / 10;

  overflow: hidden;

  background: var(--amlc-bg-light);
}

.amlc-card__media img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* Card Body */

.amlc-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;

  gap: 12px;

  padding: 24px;
}

.amlc-page .amlc-card__title {
  margin: 0;

  color: var(--amlc-blue);

  font-size: 20px;
  line-height: 1.5;
}

.amlc-card__description {
  flex: 1;

  margin: 0;

  color: var(--amlc-text);
  font-size: 15px;
  line-height: 1.8;
}

.amlc-card__footer {
  margin-top: auto;
  padding-top: 12px;
}

.amlc-card__link {
  font-weight: 700;
  font-size: 14px;
}


/* ==============================
   Participation Cards
============================== */

.amlc-card--participation {
  --amlc-card-accent: var(--amlc-blue);

  border-top: 4px solid var(--amlc-card-accent);
}

.amlc-card--blood {
  --amlc-card-accent: var(--amlc-red);
}

.amlc-card--hair {
  --amlc-card-accent: var(--amlc-pink);
}

.amlc-card--food {
  --amlc-card-accent: var(--amlc-green);
}

.amlc-card--join {
  --amlc-card-accent: var(--amlc-blue-action);
}

.amlc-participation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 56px;
  height: 56px;

  border-radius: 50%;

  background: var(--amlc-bg-light);
  color: var(--amlc-card-accent);

  font-size: 28px;
}


/* ==============================
   Activity Cards
============================== */

.amlc-card--activity {
  text-align: center;
}

.amlc-card--activity .amlc-card__body {
  align-items: center;
  padding: 28px 20px;
}

.amlc-activity-icon {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  width: 64px;
  height: 64px;

  margin-bottom: 6px;

  border-radius: 50%;

  background: var(--amlc-bg-light);
  color: var(--amlc-blue);

  font-size: 30px;
}


/* ==============================
   Member Cards
============================== */

.amlc-member-card {
  display: flex;
  flex-direction: column;

  overflow: hidden;

  background: var(--amlc-white);

  border: 1px solid var(--amlc-border);
  border-radius: var(--amlc-radius-md);

  box-shadow: var(--amlc-shadow-card);
}

.amlc-member-card__photo {
  aspect-ratio: 4 / 3;

  background: var(--amlc-bg-light);
  overflow: hidden;
}

.amlc-member-card__photo img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.amlc-member-card__body {
  padding: 24px;
}

.amlc-page .amlc-member-card__name {
  margin: 0 0 8px;

  color: var(--amlc-blue);
  font-size: 21px;
}

.amlc-member-card__role {
  margin-bottom: 10px;

  color: var(--amlc-text-muted);
  font-size: 13px;
}

.amlc-member-card__company {
  font-size: 15px;
  font-weight: 700;
}

.amlc-member-card__description {
  margin-top: 12px;

  font-size: 14px;
  line-height: 1.8;
}


/* ==============================
   Labels
============================== */

.amlc-label {
  display: inline-flex;
  align-items: center;

  padding: 5px 12px;

  border-radius: 100px;

  background: var(--amlc-bg-light);
  color: var(--amlc-blue);

  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.amlc-label--blue {
  background: var(--amlc-blue);
  color: var(--amlc-white);
}

.amlc-label--green {
  background: #E7F6EE;
  color: #00633B;
}


/* ==============================
   Activity Report List
============================== */

.amlc-report-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.amlc-report-item {
  display: grid;
  grid-template-columns: 110px 110px 1fr;
  gap: 20px;

  align-items: center;

  padding: 14px 18px;

  background: var(--amlc-white);

  border: 1px solid var(--amlc-border);
  border-radius: var(--amlc-radius-sm);
}

.amlc-report-item__date {
  font-size: 13px;
  color: var(--amlc-text-muted);
}

.amlc-report-item__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}


/* ==============================
   Statistics
============================== */

.amlc-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.amlc-stat {
  padding: 24px 16px;

  text-align: center;

  border-right: 1px solid var(--amlc-border);
}

.amlc-stat:last-child {
  border-right: 0;
}

.amlc-stat__number {
  display: block;

  color: var(--amlc-blue);

  font-family: var(--amlc-font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;

  line-height: 1.3;
}

.amlc-stat__label {
  display: block;

  margin-top: 12px;

  font-size: 14px;
  line-height: 1.6;
}


/* ==============================
   CTA Panel
============================== */

.amlc-cta-panel {
  padding: clamp(32px, 5vw, 64px);

  background: var(--amlc-blue);

  color: var(--amlc-white);

  border-radius: var(--amlc-radius-lg);

  text-align: center;
}

.amlc-page .amlc-cta-panel__title {
  margin: 0 0 16px;

  color: var(--amlc-white);
  font-size: var(--amlc-h2);
}

.amlc-cta-panel__description {
  max-width: 700px;

  margin: 0 auto 28px;

  font-size: 16px;
  line-height: 1.9;
}


/* ==============================
   Member Portal UI Preview
   認証・出欠機能は含まない
============================== */

.amlc-portal-preview {
  display: grid;
  gap: 20px;
}

.amlc-portal-task {
  padding: 24px;

  border: 1px solid var(--amlc-border);
  border-radius: var(--amlc-radius-md);

  background: var(--amlc-white);
}

.amlc-portal-task__label {
  display: block;

  margin-bottom: 8px;

  font-size: 13px;
  color: var(--amlc-text-muted);
}

.amlc-page .amlc-portal-task__title {
  margin: 0 0 12px;

  font-size: 20px;
  color: var(--amlc-blue);
}