@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Taviraj:300,400,700,300i,400i,700i");
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,700,900");
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.8/dist/web/static/pretendard.css");

	html {
		box-sizing: border-box;
		scroll-behavior: smooth;
	}

	img {
		height: auto;
		max-width: 100%;
		border-radius: 0.365em;
	}

	::selection {
		background-color: #FFD800; /* 선택된 텍스트의 배경 색을 노란색으로 설정 */
		color: #000; /* 선택된 텍스트의 글자 색을 검정색으로 설정 (선택적) */
	}

	.both {
		clear: both;
	}
	b, strong {
	  font-weight: 600;
	}

	.small {
		font-size: 0.8rem !important;
	}


	p {
		    color: #606060;
		    font-size: 1.15rem;
		    font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
		    font-weight: 300;
		    letter-spacing: 0.075em;
		    word-spacing: 0.1em;
		    line-height: 200%;
		    margin-bottom: 2rem !important;
	}
		@media (max-width: 768px) { /* 모바일 화면 크기에 맞춰 조정 */
		p {
			font-size: 1.10rem;
		}
	}
	hr {
		clear: both;
		margin: 3rem 0;
		color: inherit;
		background-color: #303030;
		opacity: .25;
	}
	hr .major {
		margin: 1rem 0;
		color: inherit;
		background-color: currentColor;
		opacity: .25;
	}

/* 메인 타이틀 간격 */
	.letter {
		letter-spacing: 0.1em !important;
	}
/* 메인 타이틀 하위 텍스트 */
	.fw-mediums {
		background: linear-gradient(to right, #fff, #9B9B9B);
		-webkit-background-clip: text;
		-webkit-text-fill-color: transparent;
		background-clip: text;
		color: transparent;
		font-weight: 500 !important;
	}

/* 숨김 텍스트 */
	.absolute {
		position: absolute; 
		top: -8000px; 
		left: -8000px;
	}

/* 기본 상태: 모바일에서 숨김 */
.desktop-only {
  display: none !important;
}
/* 데스크탑 이상 (화면 너비 768px 이상)일 때 표시 */
@media screen and (min-width: 768px) {
  .desktop-only {
    display: block !important;
  }
}

/* 기본 상태: 데스크탑에서 숨김 */
.mobile-on {
  display: block !important;
}
/* 데스크탑 이상 (화면 너비 768px 이상)일 때 표시 */
@media screen and (min-width: 768px) {
  .mobile-on {
    display: none !important;
  }
}

/* 감추기 */
.none {
  display: none !important;
}

/* 텍스트 위치 */
	.align-left {
		text-align: left;
	}
	.align-center {
		text-align: center;
	}
	.align-right {
		text-align: right;
	}

	.fl {
		float: left;
	}
	.fr {
		float: right;
	}

/* 폰트 한글 + 영문 */
	.hangle {
		font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
	}
	.hangles {
		font-family: 'Noto Serif KR', sans-serif !important;
	}
	.eng {
		font-family: "Taviraj", serif !important;
	}
	.pr {
		padding-right: 0.2em;
	}

/* Title Fonts */
	.content-area h1, 
	.content-area h2, 
	.content-area h3, 
	.content-area h4, 
	.content-area h5, 
	.content-area h6 {
		color: #353535;
		font-family: 'Noto Serif KR', sans-serif;
		font-weight: 900;
		line-height: 180%;
}
	.content-area h1 {
		font-size: 1.75rem;
}
	.content-area h2 {
		font-size: 1.55rem;
}
	.content-area h3 {
		font-size: 1.35rem;
}
	.content-area h4 {
		font-size: 1.25rem;
}
	.content-area h5 {
		font-size: 1.15rem;
}
	.content-area h6 {
		font-size: 1.05rem;
}
@media (max-width: 768px) {
	.content-area h1 {
		font-size: 1.55rem;
	}
	.content-area h2 {
		font-size: 1.35rem;
	}
	.content-area h3 {
		font-size: 1.15rem;
	}
	.content-area h4 {
		font-size: 1.05rem;
	}
	.content-area h5 {
		font-size: 0.95rem;
	}
	.content-area h6 {
		font-size: 0.85rem;
	}
}

	.content-area p.styles {
		color: #303030;
		font-size: 1.75em;
		font-weight: 700;
		border-radius: 0.35em;
		background: #FAFBFB url(/images/overlay.png);
		box-shadow: inset 0px 0px 1px 1px rgba(0, 0, 0, 0.25);
		letter-spacing: 0.075em;
		line-height: 1.75em;
		padding: 1em;
		margin-bottom: 1em;
	}
@media screen and (max-width: 767px) {
	.content-area p.styles {
		font-size: 1.15em;
	}
}


/* Image */
/* 기본 스타일 */
.image {
    border-radius: 3px;
    border: 0;
    display: inline-block;
    position: relative;
}

/* 이미지 짤림 현상 방지 */
.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.image img {
    border-radius: 3px;
    display: block;
}

.image.left {
    float: left;
    margin: 0 2em 2em 0;
    top: 0.25em;
}

.image.right {
    float: right;
    margin: 0 0 2em 2em;
    top: 0.25em;
}

.image.left, .image.right {
    max-width: 40%;
}

.image.left img, .image.right img {
    width: 100%;
}

.image.fit {
    display: block;
    margin: 0 0 2em 0;
    width: 100%;
}

.image.fit img {
    width: 100%;
}

.image.minus {
    display: block;
    margin: 0 0 0 0;
    width: 100%;
    border-radius: 3px 3px 0 0 !important;
}

.image.minus img {
    width: 100%;
    border-radius: 3px 3px 0 0 !important;
}


		.image.centered {
			display: block;
			margin: 0 0 2em 0;
		}

			.image.centered img {
				margin: 0 auto;
				width: auto;
			}

		.image.featured {
			display: block;
			width: 100%;
			margin: 0 0 3em 0;
		}

/* 모바일 대응 스타일 */
@media (max-width: 768px) {
    .image.left, .image.right {
        /*float: none;*/
        margin: 0 0 2rem 0;
        max-width: 100%;
    }

    .image.left img, .image.right img {
        width: 100%;
    }
}

/*
	blockquote {
		border-left: solid 0.5em #3B5D50;
		padding: 2em 1em 3em 2em;
		font-style: italic;
		font-weight: 500;
		letter-spacing: 0.02em;
		word-spacing: 0.01em;
		text-align: left;
		background-color: #F6F8F9;
	}

	blockquote h4 {
		color:#3B5D50;
		font-size: 1.88rem;
		line-height: 180%;
		font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
		font-weight: 900;
		letter-spacing: 0.02em;
		word-spacing: 0.01em;
	}

	@media (max-width: 767px) {
	    blockquote h4 {
	        font-size: 1.5rem;
	    }
	}
*/


/* Table */
.table-wrapper {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto; }

/* 기본 테이블 스타일 */
table {
  margin: 0 0 3em 0;
  width: 100%;
}

/* 테이블 본문 행 */
table tbody tr {
  border: solid 1px rgba(210, 215, 217, 0.75);
  border-left: 0;
  border-right: 0;
}

/* 짝수 행 배경색 (얼룩말 무늬) */
table tbody tr:nth-child(2n + 1) {
  background-color: rgba(230, 235, 237, 0.25);
}

/* 테이블 셀 */
table td {
  font-size: 1rem;
  font-family: "Pretendard Variable", Pretendard, -apple-system, 
               BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", 
               "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", 
               "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", 
               "Segoe UI Symbol", sans-serif;
  font-weight: 400;
  letter-spacing: 0.075em;
  word-spacing: 0.1em;
  line-height: 200%;
  padding: 0.75em;
}

table tbody tr td {
  border: solid 1px rgba(210, 215, 217, 0.75);
  border-left-width: 0;
  border-top-width: 0;
}

table tbody tr td:first-child {
  font-family: 'Noto Serif KR', sans-serif !important;
  border-left-width: 1px;
}

table tbody tr:first-child td {
  border-top-width: 1px;
}

/* 테이블 헤더 */
table th {
  color: #3d4449;
  font-size: 0.9em;
  font-weight: 600;
  padding: 0 0.75em 0.75em 0.75em;
  text-align: left;
}

/* 테이블 상단 영역 */
table thead {
  border-bottom: solid 2px rgba(210, 215, 217, 0.75);
}

/* 테이블 하단 영역 */
table tfoot {
  border-top: solid 2px rgba(210, 215, 217, 0.75);
}

/* 대체 테이블 스타일 (.alt) */
table.alt {
  border-collapse: separate;
}

table.alt tbody tr td {
  border: solid 1px rgba(210, 215, 217, 0.75);
  border-left-width: 0;
  border-top-width: 0;
}

table.alt tbody tr td:first-child {
  border-left-width: 1px;
}

table.alt tbody tr:first-child td {
  border-top-width: 1px;
}

table.alt thead {
  border-bottom: 0;
}

table.alt tfoot {
  border-top: 0;
}



/* 페이징 */
/* Pagination */

	.pagination {
		width: 100%;
		text-align: center;
		display: -moz-inline-flex;
		display: -webkit-inline-flex;
		display: -ms-inline-flex;
		display: inline-flex;
		-moz-user-select: none;
		-webkit-user-select: none;
		-ms-user-select: none;
		user-select: none;
		cursor: default;
		list-style: none;
		margin: 0 0 2rem 2px;
		padding: 0;
		justify-content: center;
	}

		.pagination a, .pagination span {
			-moz-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
			-webkit-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
			-ms-transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
			transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, color 0.2s ease-in-out;
			border: solid 2px;
			display: inline-block;
			font-family: "Source Sans Pro", Helvetica, sans-serif;
			font-size: 0.8rem;
			font-weight: 900;
			height: 3rem;
			letter-spacing: 0.075em;
			line-height: calc(3rem - 4px);
			margin-left: -2px;
			min-width: 3rem;
			position: relative;
			text-align: center;
			text-decoration: none;
			text-transform: uppercase;
		}

		.pagination .next, .pagination .previous {
			text-decoration: none;
			padding: 0 1.75rem;
		}

			.pagination .next:before, .pagination .previous:before {
				-moz-osx-font-smoothing: grayscale;
				-webkit-font-smoothing: antialiased;
				display: inline-block;
				font-style: normal;
				font-variant: normal;
				text-rendering: auto;
				line-height: 1;
				text-transform: none !important;
				font-family: 'Font Awesome 5 Free';
				font-weight: 900;
			}

			.pagination .next:before, .pagination .previous:before {
				display: inline-block;
				color: inherit !important;
				line-height: inherit;
			}

		.pagination .previous:before {
			content: '\f104';
			margin-right: 0.9375em;
		}

		.pagination .next:before {
			content: '\f105';
			float: right;
			margin-left: 0.9375em;
		}

		@media screen and (max-width: 980px) {

			.pagination a, .pagination span {
				font-size: 0.9rem;
			}

		}

		@media screen and (max-width: 480px) {

			.pagination .page, .pagination .extra {
				display: none;
			}

		}

	.pagination a, .pagination span {
		border-color: #eee;
	}

	.pagination a {
		color: var(--bs-secondary) !important;
	}

		.pagination a:hover {
			color: var(--color-primary) !important;
			border-color: var(--color-primary);
			z-index: 1;
		}

			.pagination a:hover + a,
			.pagination a:hover + span {
				border-left-color: var(--color-primary);
			}

		.pagination a.active {
			background-color: #eee;
		}

	.pagination span {
		color: #eee;
	}

/* 메인 메뉴 액티브 */
.nav-item.active .nav-link {
    color: #your-active-color !important;
    background-color: #your-active-bg-color;
    /* 기타 active 스타일 */
}

/* 네비게이션 링크 기본 스타일 */
.nav-links {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 아이콘 기본 스타일 - 흰색 */
.nav-links i {
    color: #fff;
    font-size: 1rem;
    transition: color 0.3s ease;
}

/* 마우스 오버시 검은색으로 변경 */
.nav-links:hover i {
    color: #f9bf29;
}

/* 펜촉 아이콘 (fa-pen-nib) 바운스 애니메이션 */
.fa-pen-nib.fa-bounce {
    animation: bounce 2s infinite;
}

/* 전화 아이콘 (fa-phone-volume) 흔들기 애니메이션 */
.fa-phone-volume.fa-shake {
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) infinite;
}

/* 바운스 애니메이션 정의 */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0, 0, 0);
    }
    40%, 43% {
        transform: translate3d(0, -15px, 0);
    }
    70% {
        transform: translate3d(0, -8px, 0);
    }
    90% {
        transform: translate3d(0, -3px, 0);
    }
}

/* 흔들기 애니메이션 정의 */
@keyframes shake {
    10%, 90% {
        transform: translate3d(-1px, 0, 0);
    }
    20%, 80% {
        transform: translate3d(2px, 0, 0);
    }
    30%, 50%, 70% {
        transform: translate3d(-4px, 0, 0);
    }
    40%, 60% {
        transform: translate3d(4px, 0, 0);
    }
}

/* 리스트 아이템 스타일링 (선택사항) */
/*
li {
    list-style: none;
    display: block;
}
*/

/* 반응형 대응 */
@media (max-width: 768px) {
    .nav-links i {
        font-size: 1.4rem;
    }
}

/* (구) 테이블 코드 */
/* Table */
/*
@media screen and (max-width: 736px) {
    #bo_v_con table td {
        display: table-cell !important;
        position: relative;
    }
}
*/

/* 메인 상단 이미지 모바일 사이즈 */
@media screen and (max-width: 767px) {
  .img-fluid {
    max-width: 100%;
    height: auto;
  }
}

/* breadcrumbs 텍스트 높이 */
        .breadcrumbs_text {
            padding-top: 2rem;
        }
        @media (max-width: 768px) {
                .breadcrumbs_text {
                        padding-top: 0.5rem;
            }
        }

/******************************* 무료상담신청 작성폼 관련 *******************************/
/* 상단 라인 */
        .contact_top_line {
            padding: 3rem 0;
            border-top: 1px solid
            color-mix(in srgb, var(--default-color), transparent 90%);
        }

/* 신청 후 모달 팝업 */
        .modal {
            display: none;
            position: fixed;
            z-index: 9999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            justify-content: center;
            align-items: center;
        }
        .modal.show {
            display: flex;
        }
        .modal-content {
            background-color: white;
            padding: 30px;
            border-radius: 8px;
            text-align: center;
            max-width: 400px;
            box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        }
        .modal-content h2 {
            color: #28a745;
            margin-bottom: 15px;
        }
        .modal-content p {
            margin-bottom: 20px;
            color: #666;
        }
        .modal-close {
            background-color: #007bff;
            color: white;
            border: none;
            padding: 10px 30px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
        }
        .modal-close:hover {
            background-color: #0056b3;
        }
        .loading, .error-message, .sent-message {
            display: none;
            margin: 15px 0;
        }
        .loading.show {
            display: block;
        }
        .error-message.show {
            display: block;
            color: #dc3545;
            background-color: #f8d7da;
            padding: 10px;
            border-radius: 4px;
        }

/* 이혼 상담 폼 타이틀 */
        .contact h2 { 
            color: var(--contrast-color);
            font-size: 2rem;
            font-weight: 300;
            line-height: 180%;
            letter-spacing: 0.075em;
            word-spacing: 0.1em;
            margin-bottom: 1rem;
        }
        @media (max-width: 768px) {
                .contact h2 {
                        font-size: 1.8rem;
            }
        }
        .contact p {
            color: var(--bs-secondary-bg-subtle);
            font-size: 0.9rem;
        }

/* (구)컨텐츠 페이지 삭제줄 */
        #contents p {
            text-decoration: line-through;
        }
        .category-text {
            font-size: 0.9rem;
            /*font-family: "Nanum Brush Script", cursive;*/
            font-family: Pretendard-Regular, AppleSDGothicNeo-Regular, Malgun Gothic, 맑은 고딕, dotum, 돋움, sans-serif;
            font-weight: 500;
            font-optical-sizing: auto;
            font-style: normal;
            letter-spacing: 0.075em;
            word-spacing: 0.1em;
            margin: 0;
            }

/* 굵은 텍스트 포인트 */
b, strong {
    color: #76C3B9;
    font-family: 'Noto Serif KR', sans-serif;
    font-weight: 600 !important;
    border-bottom: 0.1rem solid #76C3B9;
}

/* 카드형 박스 리뷰 텍스트 크기 */
.ct-08 {
    font-size: 0.83rem !important;
}
.ct-09 {
    font-size: 0.93rem !important;
}


/* footer box 모바일 용 */
/* 모바일 레이아웃 (768px 이하) */
@media (max-width: 768px) {
  .footer-content .row {
    display: flex;
    flex-wrap: wrap;
  }
  
  /* 첫 번째 박스 - 전체 너비 */
  .footer-content .col-lg-4.col-md-6 {
    width: 100%;
    order: 1;
  }
  
  /* Law Firm - 왼쪽 50% */
  .footer-content .row > div:nth-child(2) {
    width: 50%;
    order: 2;
  }
  
  /* Our Services - 오른쪽 50% */
  .footer-content .row > div:nth-child(3) {
    width: 50%;
    order: 3;
  }
  
  /* Blog - 왼쪽 50% */
  .footer-content .row > div:nth-child(4) {
    width: 50%;
    order: 4;
  }
  
  /* Etc. Categories - 오른쪽 50% */
  .footer-content .row > div:nth-child(5) {
    width: 50%;
    order: 5;
  }
}

/* Button Hover */
.btns {
    font-size: 0.8em;
    font-family: "Taviraj", serif !important;
    background: #AABFD9;
    border: 0;
    padding: 0.2rem 0.5rem;
    color: #fff;
    transition: 0.4s;
    border-radius: 0.3rem;
}
.btns:hover {
    color: #fff;
    background: #7F93AA;
}

/* 상단에 실재 존재하지 않는 p, br 코드 제거 */
p:empty,
p br:only-child {
  display: none;
}
p:has(> br:only-child) {
  display: none;
}

/* 드롭다운 메뉴 하위 일반 텍스트 */
    .navbar .dropdown ul span {
        padding: 10px 18px;
        font-size: 1rem;
        font-family: 'Noto Serif KR', sans-serif;
        font-weight: 600 !important;
        text-transform: none;
        color: var(--color-primary);
    }


/* 추천사이트 관련 코드 */
/*--------------------------------------------------------------
# Speakers Section
--------------------------------------------------------------*/
.speakers {
  --default-color: #ffffff;
}

.speakers .member {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.speakers .member .member-info {
  position: absolute;
  padding: 15px 0;
  inset: auto 0 -44px 0;
  background: rgba(0, 0, 0, 0.6);
  transition: 0.4s;
}

.speakers .member .member-info-content h4 {
  color: var(--contrast-color);
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 16px;
}

.speakers .member .member-info-content h4 a {
  color: var(--contrast-color);
}

.speakers .member .member-info-content h4 a:hover {
  color: var(--color-semantis);
}

.speakers .member .member-info-content span {
  color: var(--contrast-color);
  font-style: italic;
  display: block;
  font-size: 13px;
}

.speakers .member .social {
  text-align: center;
  padding-top: 10px;
}

.speakers .member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  /*margin: 0 4px;*/
  display: inline-block;
}

.speakers .member .social a:hover {
  color: var(--default-color);
}

.speakers .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

.speakers .member:hover .member-info {
  bottom: 0;
}
