﻿:root {
  --bg-color: #ffffff;
  --text-color: #333333;
  --text-muted: #666666;
  --card-bg: #ffffff;
  --card-shadow: rgba(0, 0, 0, 0.08);
  --border-color: #eeeeee;
  --footer-bg: #f0f0f0;
  --faq-question: #004080;
  --faq-answer: #444444;
  --faq-card: #f8f9fa;
  --alert-bg: #fff4e5;
  --aside-bg: #f1f3f5;
  --aside-border: #adb5bd;
  --headline-color: #333333;
  --accent-blue: #004080;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #121212;
    --text-color: #e0e0e0;
    --text-muted: #aaaaaa;
    --card-bg: #1e1e1e;
    --card-shadow: rgba(0, 0, 0, 0.3);
    --border-color: #333333;
    --footer-bg: #1a1a1a;
    --faq-question: #ffcc00;
    --faq-answer: #dddddd;
    --faq-card: #252525;
    --alert-bg: #2a1b0a;
    --aside-bg: #1e1e1e;
    --aside-border: #444444;
    --headline-color: #ffffff;
    --accent-blue: #3399ff;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

/* ?ㅻ퉬寃뚯씠??*/
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  color: white;
  display: flex;
  align-items: center;
  padding: 0 20px;
  z-index: 3000;
  background: linear-gradient(270deg, #003366, #0066cc, #ff6600, #9900cc);
  background-size: 800% 800%;
  animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

nav .logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 18px;
  margin-right: 80px;
}

nav .logo a {
  display: flex;
  align-items: center;
  color: white;
  text-decoration: none;
}

nav .logo img {
  margin-right: 5px;
  width: 60px;
}

nav ul {
  list-style: none;
  display: flex;
  margin-left: auto;
}

nav ul li {
  position: relative;
  margin-right: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 15px;
  padding: 8px;
  display: block;
}

nav ul li a:hover {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-color);
  min-width: 180px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

nav ul li:hover>ul {
  display: block;
}

nav ul li ul li a {
  padding: 10px;
  font-size: 14px;
  color: var(--text-color);
}

nav ul li ul li a:hover {
  background: var(--border-color);
  color: var(--text-color);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  margin-left: auto;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  margin: 4px 0;
}

/* 湲곕낯 (?쇱씠??紐⑤뱶) ?명꽣 ?ㅽ???*/
footer {
  position: relative;
  width: 100%;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #ccc;
  /* 諛앹? 寃쎄퀎??*/
  z-index: 3000;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  /* 遺?쒕윭???꾪솚 ?④낵 */
}


/* -------------------- 1. 湲곕낯 諛??됱긽 ?숈쟻 ?ㅼ젙 -------------------- */

/* 湲곕낯 (?쇱씠??紐⑤뱶) ?ㅽ???*/
.k3a-footer {
  background-color: var(--footer-bg);
  color: var(--text-color);
  padding: 30px 20px;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.link-section a {
  color: inherit;
  text-decoration: none;
}

/* Dark mode footer handling moved to variables */

/* -------------------- 2. ?곗뒪?ы넲 ?덉씠?꾩썐 (湲곕낯媛? -------------------- */

.footer-container {
  display: flex;
  /* ?곗뒪?ы넲 湲곕낯? 媛濡??뺣젹 */
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.footer-section {
  padding: 0 15px;
  flex-basis: 30%;
  /* margin: auto; 제거 - 상단 정렬 기준 padding으로 미세 조정 */
}

.logo-section {
  display: flex;
  align-items: center;
  flex-basis: 35%;
}

.logo-section img {
  height: 200px;
  /* 250px에서 200px로 축소 */
  margin-right: 15px;
}

.logo-text {
  display: none;
}

.info-section ul,
.link-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-section,
.link-section {
  padding-top: 50px;
  /* 로고 텍스트 시작 지점에 맞춤 */
}

.info-section li,
.link-section li {
  font-size: 14px;
  margin-bottom: 5px;
}

.link-section a:hover {
  text-decoration: none;
}

/* -------------------- 3. 紐⑤컮???덉씠?꾩썐 (誘몃뵒??荑쇰━) -------------------- */

@media (max-width: 768px) {

  footer {
    height: 500px;
  }

  .logo-section img {
    height: 150px;
  }

  .footer-container {
    flex-direction: column;
    /* ?붾㈃??768px ?댄븯?????몃줈 ?뺣젹濡?蹂寃?*/
    align-items: center;
    /* 媛?대뜲 ?뺣젹 */
    text-align: center;
    /* ?띿뒪??媛?대뜲 ?뺣젹 */
  }

  .footer-section {
    flex-basis: 100%;
    /* ?덈퉬瑜?100%濡??뺤옣 */
    padding: 15px 0;
    /* ?곹븯 媛꾧꺽 異붽? */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* ?뱀뀡 援щ텇??(?ㅽ겕 紐⑤뱶 ?鍮??щ챸???곗깋) */
    width: 100%;
    max-width: 350px;
    /* ?뱀뀡 ?댁슜??理쒕? ?덈퉬 ?쒗븳 (?좏깮 ?ы빆) */
  }

  /* 留덉?留??뱀뀡??援щ텇???쒓굅 */
  .footer-section:last-child {
    border-bottom: none;
  }

  /* 濡쒓퀬 ?뱀뀡 ?ъ젙??*/
  .logo-section {
    flex-direction: column;
    /* 濡쒓퀬? ?띿뒪?몃? ?몃줈濡?*/
    text-align: center;
    margin-bottom: 10px;
    flex-basis: auto;
  }

  .logo-section img {
    margin-right: 0;
    margin-bottom: 10px;
  }

  /* ?곕씫泥?諛?留곹겕 紐⑸줉 ?쇱そ ?뺣젹 (紐⑤컮?쇱뿉??媛?낆꽦 ?μ긽) */
  .info-section ul,
  .link-section ul {
    text-align: left;
    max-width: 300px;
    /* 紐⑸줉 ?덈퉬 ?쒗븳 */
    margin: 0 auto;
  }
}


.main-header {
  position: fixed;
  top: 60px;
  /* nav ?믪씠 蹂댁젙 */
  left: 0;
  width: 100%;
  height: 300px;
  background:
    linear-gradient(270deg, rgba(0, 51, 102, 0.6), rgba(0, 102, 204, 0.6), rgba(255, 102, 0, 0.6), rgba(153, 0, 204, 0.6)),
    url("images/header-bg.jpg") center/cover no-repeat;
  background-size: 800% 800%, cover;
  animation: gradientShift 20s ease infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  z-index: 1000;

  transition: top 0.2s ease;
  /* 遺?쒕읇寃??④?/?쒖떆 */
}

.main-header {
  position: relative;
  /* Fixed?먯꽌 Relative濡?蹂寃쏀븯??蹂몃Ц怨??④퍡 ?ㅽ겕濡?*/
  margin-top: 0;
  /* nav ?믪씠 蹂댁젙 */
  width: 100%;
  height: 240px;
  background:
    linear-gradient(270deg, rgba(0, 51, 102, 0.8), rgba(0, 102, 204, 0.8)),
    url("images/header-bg.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  z-index: 1000;
}


.main-header .header-content h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.main-header .header-content p {
  font-size: 18px;
  margin-bottom: 10px;
}

.main-header .header-content a {
  color: white;
  text-decoration: none;
}

.main-header .header-content span {
  align-items: center;
  font-size: 20px;
  border: solid 1px;
  padding: 5px 20px;
  margin: 30px auto;
}


/* Disqus ?볤?李??ㅽ????섏젙: 留덉씠?덉뒪 留덉쭊???쒓굅?섍퀬 ?곷????꾩튂瑜??ъ슜?섏뿬 iframe怨?寃뱀튂?꾨줉 ??*/
#disqus_thread {
  width: 70%;
  max-width: 712px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  /* iframe???щ갚??以꾩씠湲??꾪빐 ?꾩そ?쇰줈 200px ?대룞 */
  top: -350px;
  z-index: 100;
  /* iframe??z-index蹂대떎 ?믪? 媛?*/
}

div#disqus_thread iframe[sandbox] {
  max-height: 0px !important;
}


/* 怨듯넻 蹂몃Ц ?덉씠?꾩썐 */
.page-container {
  max-width: 900px;
  margin: 40px auto 100px;
  padding: 0 20px;
  line-height: 1.8;
  color: var(--text-color);
}

.page-container h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
}

.page-container h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--faq-question);
}

/* Section Style Aside */
.notion-aside {
  background: var(--aside-bg);
  padding: 25px;
  border-radius: 8px;
  margin: 30px 0;
  border-left: 4px solid var(--aside-border);
  position: relative;
}

.notion-aside.light-bulb {
  border-left-color: #ffd43b;
  background: var(--aside-bg);
}

@media (prefers-color-scheme: light) {
  .notion-aside.light-bulb {
    background: #fff9db;
  }
}

.notion-aside.people {
  border-left-color: #4dabf7;
  background: var(--aside-bg);
}

@media (prefers-color-scheme: light) {
  .notion-aside.people {
    background: #e7f5ff;
  }
}

.notion-aside h2 {
  margin-top: 0;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Intro Image */
.intro-image-wrap {
  margin: 40px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px var(--card-shadow);
}

.intro-image-wrap img {
  width: 100%;
  display: block;
}

/* Vision & Activity Cards */
.grid-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 40px 0;
}

.card {
  padding: 30px;
  border-radius: 12px;
  color: white;
  box-shadow: 0 4px 15px var(--card-shadow);
}

.card.vision {
  background: linear-gradient(135deg, #868e96, #495057);
}

.card.activity {
  background: linear-gradient(135deg, #1c7ed6, #1864ab);
}

.card h2 {
  color: white;
  margin-top: 0;
  border: none;
  font-size: 1.5rem;
}

.card ul {
  padding-left: 20px;
}

.card li {
  margin-bottom: 10px;
}

/* Logo Grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 40px;
  text-align: center;
}

.logo-item img {
  max-width: 100%;
  height: 150px;
  object-fit: contain;
  margin-bottom: 15px;
}

.logo-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0 10px;
  word-break: keep-all;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  background: #ff6600;
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 20px 0;
  transition: transform 0.2s;
}

.cta-button:hover {
  transform: scale(1.05);
}

/* Dark mode handling moved to variables */

@media (max-width: 768px) {
  .grid-cards {
    grid-template-columns: 1fr;
  }

  .page-container h1 {
    font-size: 2rem;
  }
}

/* Dark mode handling moved to variables */

/* 조직도 이미지 */
.org-chart {
  text-align: center;
  margin: 60px 0;
  background: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
}

.org-chart img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

/* 임원진 리스트 */
.member-list {
  background: var(--faq-card);
  padding: 30px;
  border-radius: 12px;
  border-left: 5px solid var(--accent-blue);
  margin-bottom: 50px;
}

.member-list h2 {
  margin-top: 0;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.member-list ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 15px;
}

.member-list li {
  font-size: 1.1rem;
  display: flex;
  align-items: flex-start;
}

.member-list li::before {
  content: '';
  color: var(--accent-blue);
  font-weight: bold;
  margin-right: 10px;
}

.member-list strong {
  min-width: 100px;
  display: inline-block;
  color: var(--text-muted);
}

/* 특별기구 및 회원 안내 */
.special-committee {
  margin-bottom: 50px;
}

.membership-types {
  background: #343a40;
  color: white;
  padding: 40px;
  border-radius: 12px;
  display: grid;
  gap: 30px;
}

.type-item h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #ffcc00;
  /* 포인트 컬러 */
}

.type-item p {
  color: #ddd;
  font-size: 0.95rem;
  margin: 0;
}

/* 마지막 강조 문구 */
.final-message {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 80px;
  color: #003366;
}

/* 다크 모드 추가 */
@media (prefers-color-scheme: dark) {
  .member-list {
    background: #252525;
    border-left-color: #66b3ff;
  }

  .member-list h2 {
    border-bottom-color: #444;
    color: #eee;
  }

  .member-list li {
    color: #ccc;
  }

  .member-list strong {
    color: #aaa;
  }

  .final-message {
    color: #fff;
  }
}

/* People Page Header */
.people-header {
  width: 100%;
  height: 350px;
  background: url('images/people.png') center/cover no-repeat;
  margin-top: 0;
  border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
  .people-header {
    height: 200px;
  }
}

/* History Page */
.history-header {
  width: 100%;
  height: 350px;
  background: url('images/history.jpg') center/cover no-repeat;
  margin-top: 0;
}

.timeline-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--accent-blue);
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  gap: 30px;
  padding: 20px;
  background: var(--card-bg);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px var(--card-shadow);
}

.timeline-content {
  flex: 1;
}

.timeline-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-content li {
  font-size: 1.25rem;
  position: relative;
  padding-left: 20px;
}

.timeline-content li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-weight: bold;
}

.timeline-image {
  flex: 0 0 250px;
}

.timeline-image img {
  width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-image {
    width: 100%;
    flex: 0 0 auto;
  }

  .history-header {
    height: 200px;
  }
}

/* Contact Page Header */
.contact-header {
  width: 100%;
  height: 350px;
  background: url('images/contactus.png') center/cover no-repeat;
  margin-top: 0;
  border-bottom: 1px solid #eee;
}

@media (max-width: 768px) {
  .contact-header {
    height: 200px;
  }
}

.main-header {
  position: relative;
  margin-top: 0;
  /* nav ?誘れ뵠 癰귣똻??*/
  width: 100%;
  height: 300px;
  background:
    linear-gradient(270deg, rgba(0, 51, 102, 0.6), rgba(0, 102, 204, 0.6), rgba(255, 102, 0, 0.6), rgba(153, 0, 204, 0.6)),
    url("images/header-bg.jpg") center/cover no-repeat;
  background-size: 800% 800%, cover;
  animation: gradientShift 20s ease infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  z-index: 1000;
}


.main-header .header-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.main-header .header-content p {
  font-size: 18px;
  margin-bottom: 10px;
}

.main-header .header-content a {
  color: white;
  text-decoration: none;
}

.main-header .header-content span {
  align-items: center;
  font-size: 20px;
  border: solid 1px;
  padding: 5px 20px;
  margin: 30px auto;
}

.iframe_cover {
  display: none;
}

/* 癰귣챶揆 ??곸뒠 ?????*/
.content-container {
  max-width: 900px;
  margin: 120px auto 100px;
  /* nav(60) + header(240) + margin */
  padding: 0 20px;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.intro-section {
  text-align: center;
  margin-bottom: 60px;
}

.intro-banner {
  margin-bottom: 30px;
}

.intro-banner img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  /* box-shadow: 0 10px 30px rgba(0,0,0,0.1); */
}

.intro-description {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #333;
  word-break: keep-all;
}

.intro-description strong {
  color: #0066cc;
  font-weight: 800;
}

/* 揶쎼끇??뵳?域밸챶???*/
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 60px;
}

.gallery-grid figure {
  margin: 0;
  background: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--card-shadow);
  transition: transform 0.3s ease;
}

.gallery-grid figure:hover {
  transform: translateY(-5px);
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.gallery-grid figcaption {
  padding: 15px;
  text-align: center;
  font-weight: 600;
  color: var(--text-color);
  background: var(--footer-bg);
}

/* Alert Section */
.report-alert {
  background: var(--alert-bg);
  border-left: 5px solid #ff6600;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 60px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.alert-icon {
  font-size: 2rem;
}

.alert-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
}

/* Action Buttons Area */
.action-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 60px;
}

.btn-notion {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  background: linear-gradient(135deg, #003366, #0066cc);
  color: white;
  text-decoration: none;
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--card-shadow);
}

.btn-notion:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px var(--card-shadow);
  background: linear-gradient(135deg, #004080, #0073e6);
}

.btn-notion span {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.btn-notion small {
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Footer Links */
.links-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
}

.aside-link {
  padding: 10px 20px;
  background: var(--footer-bg);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.aside-link:hover {
  background: var(--border-color);
  color: var(--text-color);
}

/* 獄쏆꼷???*/
@media (max-width: 800px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .content-container {
    margin-top: 250px;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
  }

  nav ul li {
    width: 100%;
    border-bottom: 1px solid #ddd;
  }

  nav ul>li>a {
    color: #222;
    font-weight: bold;
    font-size: 16px;
    padding: 14px;
    background: #f9f9f9;
  }

  nav ul li ul {
    position: static;
    border: none;
    box-shadow: none;
  }

  nav ul li ul li a {
    padding: 10px 14px 10px 30px;
    font-size: 14px;
    background: white;
    color: #444;
  }

  nav ul li ul li a:hover {
    background: #f0f0f0;
  }

  .menu-toggle {
    display: flex;
  }

  nav.active ul {
    display: flex;
  }
}

/* Dark mode handled by variables */

/* ---------------------------------------------------- */
/* Index Page Responsive Layout Improvements (User Request) */
/* ---------------------------------------------------- */

/* Wrap main content area for PC layout */
.index-pc-wrapper {
  display: flex;
  flex-direction: column;
  /* Default mobile stack */
  gap: 40px;
}

/* On PC (Desktop/Large screens) switch to 2-column layout */
@media (min-width: 1024px) {
  .index-pc-wrapper {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .intro-section {
    flex: 1;
    text-align: left;
    /* Align text left on PC for better readability */
    padding-right: 40px;
    /* Spacing */
  }

  .index-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 0;
    /* Align with top */
  }

  /* Reduce banner image size on PC so it does not take full screen */
  .intro-banner img {
    max-width: 100%;
    /* Relative to column */
    height: auto;
    object-fit: contain;
    margin: 0 auto 20px 0;
    /* Align left */
  }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
  .intro-banner img {
    max-width: 80%;
    /* Slightly smaller on tablets */
    margin: 0 auto;
  }
}


/* ---------------------------------------------------- */
/* Action Buttons Styling (Custom Colors) */
/* ---------------------------------------------------- */

/* Common Button Styles */
.btn-action-common {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 25px;
  color: white !important;
  text-decoration: none;
  border-radius: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.btn-action-common:hover {
  transform: scale(1.02);
}

.btn-action-common span {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

/* Light Blue Button 1 (Top) - Lighter */
.btn-action-light-1 {
  background: linear-gradient(135deg, #4aa3ff, #007bff);
  box-shadow: 0 4px 15px rgba(74, 163, 255, 0.3);
}

.btn-action-light-1:hover {
  background: linear-gradient(135deg, #66b3ff, #3399ff);
  box-shadow: 0 8px 25px rgba(74, 163, 255, 0.4);
}

/* Light Blue Button 2 (Middle) - Slightly Darker */
.btn-action-light-2 {
  background: linear-gradient(135deg, #007bff, #0056b3);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.btn-action-light-2:hover {
  background: linear-gradient(135deg, #3399ff, #0069d9);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

/* Primary Dark Button 3 (Bottom) - Darkest & Integrated Feel */
.btn-action-primary {
  background: linear-gradient(135deg, #003366, #002244);
  box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-action-primary:hover {
  background: linear-gradient(135deg, #004080, #003366);
  box-shadow: 0 8px 25px rgba(0, 51, 102, 0.5);
}


/* Page Cover Headline */
.page-cover-headline {
  text-align: left;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 50px;
  color: var(--headline-color);
}

/* Dark mode handling moved to variables */

/* Iframe Page Layout (board, etc.) */
#frame_wraper {
  width: 100%;
  height: 800px;
  /* Default height, can be adjusted or set to calc */
  margin-top: 32px;
  /* Offset for fixed nav */
  position: relative;
}

#myframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (min-width: 1024px) {
  #frame_wraper {
    height: calc(100vh - 60px);
  }
}


/* FAQ Page Styles */
.faq-container {
  max-width: 900px;
  margin: 120px auto 100px;
  padding: 0 20px;
}

.faq-header {
  text-align: left;
  margin-bottom: 60px;
}

.faq-icon-large {
  font-size: 5rem;
  color: #ff2d55;
  font-weight: 900;
  margin-bottom: 0px;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--headline-color);
  margin-bottom: 5px;
}

.faq-ai-alert {
  background: var(--card-bg);
  color: var(--text-muted);
  padding: 15px 25px;
  border-radius: 8px;
  display: inline-block;
  font-size: 0.95rem;
  margin-bottom: 0px;
  text-align: left;
  border: 1px solid var(--border-color);
}

.faq-category {
  margin-bottom: 60px;
}

.faq-category-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--headline-color);
  margin-bottom: 25px;
  padding-left: 5px;
}

.faq-card {
  background: var(--faq-card);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px var(--card-shadow);
}

.faq-item {
  margin-bottom: 35px;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-question {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--faq-question);
  margin-bottom: 12px;
  display: block;
}

.faq-answer {
  color: var(--faq-answer);
  line-height: 1.7;
  font-size: 1.1rem;
}