@charset "utf-8";

/*reset*/
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
table,
th,
td,
form,
fieldset,
legend,
textarea,
input,
select,
textarea,
button,
article,
aside,
dialog,
footer,
header,
section,
footer,
nav,
figure,
main {
  margin: 0;
  padding: 0;
}
article,
aside,
dialog,
footer,
header,
section,
footer,
nav,
figure,
main {
  display: block;
}
html,
body {
  height: 100%;
  -webkit-text-size-adjust: none;
  -ms-text-size-adjust: none;
}
body,
input,
select,
textarea,
button {
  font-family: "Pretendard";
}
fieldset,
li,
img {
  border: 0;
  vertical-align: top;
}
ul,
ol {
  list-style: none;
}
button {
  overflow: visible;
  border: 0;
  background-color: transparent;
  cursor: pointer;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
address,
caption,
em {
  font-style: normal;
}
a,
a:focus,
a:active,
a:hover {
  text-decoration: none;
  color: #666;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
.blind,
caption span,
legend {
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  font-size: 1px;
  line-height: 100px;
  white-space: nowrap;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

body {
  position: relative;
}

* {
  font-family: 'Pretendard', sans-serif;
}

.swipebtn {
    background: #fff;
    border: 1px solid #ddd;
    color: #999999;
    width: 60px;
    height: 60px;
    z-index: 100;
    line-height: 56px;
    font-size: 24px;
    position: absolute;
    top: 47%;
    text-align: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.swipebtn:hover {
    background: #11a058;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.swipenext {
    right: -30px;
}
.swipeprev {
    left: -30px;
}

.newsswipewrap {
    overflow: hidden;
    position: relative;
    /* padding: 0 50px; */
}

a.show_more {
    color: #24aa78;
    font-weight: 700;
}

a.show_more:after {
    content: "→";
    margin-left: 10px;  
}

.card {border: none;}
.card-body {padding:14px 0;}
.main-photo {height: 170px;object-fit: cover;border-radius: 8px;}
.phototitle {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  max-width: 300px;
  word-break: keep-all;
  overflow: hidden;
  text-align: center;
  text-wrap-style: balance;
}

.youtube {
    position: relative;
    padding: 10px !important;
    min-height: 230px;
}

.youtube>iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 8px;
    border-radius: 18px;
}

.detailex {
    font-weight: 400;
    line-height: 1.5;
    font-size: 17px;
}

.card4 {
    padding: 24px;
    box-shadow: 0 4px 12px 0 rgb(0 0 0 / 10%);
    min-height: 204px;
}

br.dtbr {
  display: none;
}

@media (min-width: 1024px) {
  br.dtbr {
    display: block;
  }
}

/* card4 높이 조정 */
@media (min-width: 992px) and (max-width: 1199px) {
  .card4 {min-height: 250px;}
}

@media (min-width: 769px) and (max-width: 991px) {
  .addbr {margin-bottom: 24px !important;}
}

.word_animated {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}

#supportbtn {opacity: 0;}

#community-subtitle {
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    color: #555;
    max-width: 900px;
    margin: 0 auto;
    text-wrap-style: balance;
    word-break: keep-all;
}

.bgnewsletter {
    background: #fff8f0;
}
.newsletter_email {
    background: #fff;
    padding: 10px;
    border-radius: 30px;
    border: 1px solid #eee;
    margin-top: 20px;
    width: 70%;
}

.sec_hero {
  display: flex;
  justify-content: center;
  padding: 0;
}

.btnmore {
  border: none;
  background-color: #eeeeee36;
  border-radius: 20px;
  font-size: 20px;
}


/* 메인 비주얼 영역 */
.visual {
  max-height: 820px;
  width: 1732px;
  border-radius: 0px;
  aspect-ratio: 16 / 11;
}

.visual-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 11; 
  object-fit: cover;
}

.visual-overlay {
  background: #08080838;
  pointer-events: none;
}

#title-card {
  position: absolute;
  top: 50%;
  left: 200px;
  width: 700px;
  transform: translate(0, -50%);
  color: #fff;
}


/* 기부 카드 영역 */
#donation-card {
  position: absolute;
  width: 490px;
  top: 162px;
  left: 59%;
}

.amount-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid #d1d1d1;
  background: #ededed;
  color: #636363;
  width: 100%;
  transition: all 0.3s ease;
}
.amount-btn:hover { filter: brightness(0.98); transition: all 0.3s ease;}
.amount-btn.active {
  color: #24aa78;
  border-color: #24aa78;
  transition: all 0.3s ease;
}
.text-godslovegreen {
  color: #24aa78;
}
.bg_godslovegreen {
  background: #24aa78;
  color: #ffffff;
}
.segmented { border: 1px solid #eee; border-radius: 999px; overflow: hidden; background: #fff; }
.seg-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 10px;
  justify-content: center;
  border: 0;
  font-weight: 600;
  transition: all 0.3s ease;
}

.seg-item + .seg-item { border-left: 1px solid #eee; }
.roundinput {border-radius:30px !important;}
#savechild:hover {background: #11a058; color:#fff;}
#savechild:focus {background: #08753f; color:#fff;}

img.imgarrow {
    position: absolute;
    top: 20px;
    right: 30%;
}

input::placeholder {
  font-size: 15px;
}

@media (max-width: 768px) {
  .thumb100 {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
  }
}

@media (max-width: 700px) {
  #donation-card {
    width: 100%;
    position: relative;
    top: 0px;
    left: 0;
    padding: 0 20px;
    margin-top: 20px;
  }

  #title-card {
    position: relative;
    width: 100%;
    text-align: center;
    top: 0px;
    left: 0;
    transform: translate(0, 0);
    padding: 0 20px;
    margin-top: 20px;
  }

  .visual {
    width: 100%;
    height: auto;
    border-radius: 0;
  }

  .swiper-wrapper {
    overflow-x: hidden !important;
    width: 800%;
  }

  .youtube {
    min-height: 280px;
  }

  .phototitle {max-width: 100%;}
  #community-subtitle {
    text-align: justify;
    padding-inline: 10px;
    font-size: 18px;
    line-height: 26px;
  }
}

@media (max-width: 1200px) {
  #main-visual {
    padding-block: 0px;
  }

  #title-card {
    position: absolute;
    width: 100%;
    text-align: center;
    top: 50%;
    left: auto;
    transform: translate(0, -50%);
  }

  #donation-card {
    position: relative;
    width: 100%;
    top: 0px;
    left: 0;
  }

  .visual {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border-radius: 0;
  }

  .main-photo {
    height: 225px;
    object-fit: cover;
  }
}

@media (min-width: 1732px) {
  .visual {border-radius: 10px;}
  #main-visual {
    padding-block: 35px;
  }
  #donation-card {
    top: 200px;
  }
}

/* Modal: keep only simple layering + width without breaking Bootstrap animation */
.modal-backdrop { z-index: 2000; }
.modal { z-index: 2005; }
/* Removed custom modal max-width to rely on Bootstrap's modal-lg sizing */