/*********************************************
  EXTRA PAGES: About / Trophy Room / Media / Classroom
  Shares the visual language of mainindex.css:
  - #FF4444 / #FF5544 red-orange accent
  - #4444CC / #5577FF / #22aaff blue accent
  - black 2px rounded borders, dotted secondary borders
  - textured card background
**********************************************/

body.extra-page {
  background-color: #fff;
  background: url(../img/cardback2.jpg);
  color: #222;
}

.extra-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 15px 20px 40px 20px;
}

/* top nav strip, reused on all 4 pages */
.extra-nav {
  text-align: center;
  margin-bottom: 20px;
}

.extra-nav a {
  display: inline-block;
  margin: 3px 4px;
  padding: 4px 12px;
  border: 1px dotted black;
  border-radius: 20px;
  background: #FFAAAA;
  color: #000;
  font-weight: 700;
  font-size: 0.8rem;
  text-decoration: none;
  transition-duration: 0.3s;
}

.extra-nav a:hover {
  background: #FF4444;
  color: #fff;
}

.extra-nav a.home {
  background: #eee;
}

/* page title banner */
.extra-title {
  text-align: center;
  color: #eee;
  background-color: #FF4444;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  border-radius: 20px;
  padding: 6px 10px;
  margin: 10px auto 20px auto;
  max-width: 90%;
  font-size: 1.4rem;
  font-weight: 800;
}

/* generic content box, like the announcement box on the homepage */
.extra-box {
  border: 2px solid #000;
  border-radius: 12px;
  padding: 20px 30px;
  margin: 0 auto 20px auto;
  background: rgba(255,255,255,0.9);
}

/* -------- About Me -------- */

.about-photos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 15px 0 20px 0;
}

.about-photos img {
  height: 180px;
  border-radius: 20px;
  border: 3px solid white;
  box-shadow: 0 0 0 2px black;
}

.about-box p {
  margin-bottom: 12px;
  line-height: 1.5;
}

/* -------- Trophy Room -------- */

.trophy-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.trophy-card {
  width: 200px;
  background: #fff;
  border: 2px solid black;
  border-radius: 20px 20px 12px 12px;
  overflow: hidden;
  text-align: center;
  transition-duration: 0.3s;
}

.trophy-card:hover {
  transform: scale(1.04);
}

.trophy-card .trophy-img {
  height: 130px;
  background: #FFDDCC;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid black;
  overflow: hidden;
}

.trophy-card .trophy-img img {
  max-height: 130px;
  max-width: 100%;
}

.trophy-card .trophy-placeholder {
  font-size: 0.7rem;
  color: #CC7777;
  padding: 10px;
}

.trophy-card-body {
  padding: 8px 10px 12px 10px;
}

.trophy-name-jp {
  font-weight: 800;
  font-size: 1rem;
  color: #222;
}

.trophy-name-en {
  font-size: 0.75rem;
  color: #5577FF;
  font-weight: 600;
  margin-top: 2px;
}

.trophy-year {
  font-size: 0.7rem;
  color: #888;
  margin-top: 4px;
}

.trophy-note {
  font-size: 0.7rem;
  color: #CC4444;
  margin-top: 4px;
  font-weight: 600;
}

/* -------- Media Appearances -------- */

.media-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.media-item {
  border: 1px dotted black;
  border-radius: 14px;
  padding: 10px 15px;
  background: #fff;
}

.media-type {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  color: white;
  border-radius: 12px;
  padding: 2px 8px;
  margin-bottom: 5px;
}

.media-type.tv { background: #4444CC; }
.media-type.radio { background: #FF4444; }
.media-type.print { background: #5577FF; }
.media-type.talk { background: #CC7711; }
.media-type.book { background: #449944; }
.media-type.web { background: #22aaff; }

.media-title {
  font-weight: 700;
  font-size: 1rem;
}

.media-desc {
  font-size: 0.85rem;
  color: #444;
  margin-top: 3px;
}

.media-link {
  font-size: 0.8rem;
  margin-top: 4px;
}

.media-link a {
  color: #4444CC;
  text-decoration: none;
}

.media-link a:hover {
  color: #CC4444;
}

/* -------- In the Classroom -------- */

.classroom-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.classroom-item {
  border-left: 4px solid #FF4444;
  border-radius: 6px;
  background: #fff;
  padding: 10px 15px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.classroom-org {
  font-weight: 800;
  font-size: 1rem;
}

.classroom-role {
  font-size: 0.85rem;
  color: #5577FF;
  font-weight: 600;
}

.classroom-desc {
  font-size: 0.85rem;
  color: #444;
  margin-top: 3px;
}

.classroom-upcoming {
  border-left-color: #22aaff;
}

.classroom-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  color: white;
  background: #22aaff;
  border-radius: 12px;
  padding: 1px 8px;
  margin-left: 6px;
}

/* -------- shared footer note -------- */

.extra-footer {
  font-size: 0.75em;
  text-align: center;
  color: #888;
  margin-top: 30px;
}

/* -------- mobile -------- */

@media only screen and (max-width: 600px) {
  .extra-container {
    padding: 10px 12px 30px 12px;
  }
  .extra-title {
    font-size: 1.1rem;
  }
  .about-photos img {
    height: 130px;
  }
  .trophy-card {
    width: 42%;
    min-width: 140px;
  }
  .trophy-card .trophy-img {
    height: 90px;
  }
  .trophy-card .trophy-img img {
    max-height: 90px;
  }
}
