h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif !important;
}

.sub__category li {
  font-size: 0.875rem;
  color: #ffffff;
}

.media__bg {
  background: #f7f7f7;
}

.media__tap__menu ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 80px;
}

.media__tap__menu li {
  border: 2px solid #00f9c1;
  border-radius: 999px;
  background: #00f9c1;
  color: #ffffff;
  cursor: pointer;
}

.media__tap__menu li a {
  display: block;
  padding: 1rem 3.5rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.media__content {
  padding-bottom: 150px;
}

.media__content .layout__custom {
  width: 1200px;
  padding: 0 50px;
  margin: 0 auto;
}

.media__content__main {
  border-bottom: 2px solid #00f9c1;
  padding: 2rem;
}

.media__content__list {
  padding: 2rem;
}

.yt-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  overflow: hidden;
  cursor: pointer;
  border-radius: 12px;
}

.yt-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 0;
  background: transparent;
  padding: 0;
  line-height: 0;
  cursor: pointer;
}

.yt-card:hover .yt-play svg path:first-child {
  fill: rgba(0, 0, 0, .65);
}

/* 3단 그리드 */
.media__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .media__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .media__grid {
    grid-template-columns: 1fr;
  }
}

.media__card {}

.media__card.is-hidden {
  display: none;
}

.media__thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  background: #eee;
  border-radius: 12px;
  overflow: hidden;
}

.media__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media__play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.media__thumb:hover .media__play path:first-child {
  fill: rgba(0, 0, 0, .65);
}

.media__title__2 {
  margin: 10px 2px 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #111;
  font-weight: 600;
  word-break: keep-all;
}

/* VIEW MORE */
.media__more {
  text-align: center;
  margin-top: 50px;
}

.btn__more {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid #00f9c1;
  background: #00f9c1;
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.btn__more[disabled] {
  opacity: .5;
  cursor: not-allowed;
  display: none;
}

.board__actions {
  text-align: right;
  margin: 0 0 16px;
}

.btn__write {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #00f9c1;
  background: #00f9c1;
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1;
}

.btn__write:hover {
  filter: brightness(0.95);
}

.board__form {
  margin: 40px 0;
}

.form__row {
  margin-bottom: 20px;
}

.form__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
}

.form__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

.board__btns {
  margin-top: 30px;
  text-align: right;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.btn__submit,
.btn__cancel {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  line-height: 1;
}

.btn__submit {
  border: 2px solid #00f9c1;
  background: #00f9c1;
  color: #fff;
}

.btn__cancel {
  border: 2px solid #aaa;
  background: #fff;
  color: #333;
}

.btn__submit:hover {
  filter: brightness(.95);
}

.btn__cancel:hover {
  background: #f8f8f8;
}

.footer {
  background: #262626;
  color: #ffffff !important;
  padding: 50px 0;
  font-size: 0.875rem !important;
}

/* ===== 1700 ↓ ===== */
@media (max-width:1700px) {
  .media__content .layout__custom {
    width: 1100px;
  }

  .media__tap__menu li a {
    padding: 1rem 3rem;
    font-size: 1.05rem;
  }

  .media__title__2 {
    font-size: .95rem;
  }
}

/* ===== 1440 ↓ ===== */
@media (max-width:1440px) {
  .media__content .layout__custom {
    width: 1000px;
  }

  .media__tap__menu li a {
    padding: .9rem 2.8rem;
    font-size: 1rem;
  }

  .media__content__main,
  .media__content__list {
    padding: 1.5rem;
  }

  .media__title__2 {
    font-size: .9rem;
  }
}

/* ===== 1280 ↓ ===== */
@media (max-width:1280px) {
  .media__content .layout__custom {
    width: 900px;
  }

  .media__tap__menu ul {
    gap: 1rem;
    margin-bottom: 60px;
  }

  .media__tap__menu li a {
    padding: .9rem 2.4rem;
    font-size: .95rem;
  }

  .media__content__main,
  .media__content__list {
    padding: 1.25rem;
  }

  .media__title__2 {
    font-size: .9rem;
  }
}

/* ===== 1024 ↓ ===== */
/* 3열 → 2열은 이미 있음 */
@media (max-width:1024px) {
  .media__content {
    padding-bottom: 100px;
  }

  .media__content .layout__custom {
    width: 100%;
    padding: 0 30px;
  }

  .media__tap__menu ul {
    flex-wrap: wrap;
    gap: .75rem;
  }

  .media__tap__menu li a {
    padding: .8rem 2rem;
    font-size: .95rem;
  }

  .media__content__main,
  .media__content__list {
    padding: 1rem;
  }
}

/* ===== 768 ↓ ===== */
@media (max-width:768px) {
  .media__content {
    padding-bottom: 80px;
  }

  .media__content .layout__custom {
    padding: 0 20px;
  }

  .media__tap__menu ul {
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 40px;
  }

  .media__tap__menu li a {
    padding: .7rem 1.6rem;
    font-size: .9rem;
  }

  .media__title__2 {
    font-size: .85rem;
  }

  .media__more {
    margin-top: 30px;
  }

  .btn__more {
    padding: 10px 22px;
    font-size: .9rem;
  }

  .btn__write {
    padding: 8px 16px;
    font-size: .9rem;
  }

  .form__input {
    padding: 10px 12px;
    font-size: .95rem;
  }

  .btn__submit,
  .btn__cancel {
    padding: 10px 22px;
    font-size: .9rem;
  }
}

/* ===== 390 ↓ ===== */
@media (max-width:390px) {
  .media__content .layout__custom {
    padding: 0 12px;
  }

  .media__tap__menu li a {
    padding: .6rem 1.2rem;
    font-size: .85rem;
  }

  .media__content__main,
  .media__content__list {
    padding: .75rem;
  }

  .media__title__2 {
    font-size: .8rem;
    line-height: 1.35;
  }

  .btn__more {
    padding: 8px 18px;
    font-size: .85rem;
  }

  .btn__write {
    padding: 8px 14px;
    font-size: .85rem;
  }

  .btn__submit,
  .btn__cancel {
    padding: 8px 18px;
    font-size: .85rem;
  }
}