@font-face {
    font-family: 'NanumBarunGothic';
    font-weight: normal; 
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/moonspam/NanumBarunGothic@latest/NanumBarunGothicSubset.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/moonspam/NanumBarunGothic@latest/NanumBarunGothicSubset.woff') format('woff');
}

@font-face {
    font-family: 'NanumBarunGothic';
    font-weight: bold; 
    font-style: normal;
    src: url('https://cdn.jsdelivr.net/gh/moonspam/NanumBarunGothic@latest/NanumBarunGothicBoldSubset.woff2') format('woff2'),
         url('https://cdn.jsdelivr.net/gh/moonspam/NanumBarunGothic@latest/NanumBarunGothicBoldSubset.woff') format('woff');
}

@font-face {
    font-family: 'NanumSquareBold';
    font-weight: normal; 
    font-style: normal;
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_two@1.0/NanumSquareB.woff') format('woff');
}

@font-face {
    font-family: 'Freesentation-9Black';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-9Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: 'SunBatang-Light';
    src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_eight@1.0/SunBatang-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

body, p {
	font-family: 'Roboto', 'NanumSquare', sans-serif;
}

tbody {
	font-family: 'Roboto', 'NanumSquare', sans-serif;
}

h4.widget-title {
	font-family: 'Roboto', 'NanumSquare', sans-serif;
	font-weight: 700;
	font-size: 1.085rem;
}

.confit-hours {
	font-family: 'Roboto', 'NanumSquare', sans-serif;
	font-size: 1rem;
}

ul.filter {
	font-family: 'NanumSquareBold', sans-serif;
		font-size: 1rem;
}

.header-inner p {
	color: rgba(255,255,255,1);
	font-family: 'Roboto', 'NanumBarunGothicBold', sans-serif;
}

.site-title a {
	color: rgba(255,255,255,1);
	font-weight: 600;
	font-family: 'Roboto', 'NanumSquare', sans-serif;
}

/* Portfolio project height | xxxxxx-hc (KK) */
.one-fourth.project .entry-media {
	max-height: 210px;
	overflow: hidden;
}

.entry-footer {
	display: none;
}

.post-navigation {
	display: none;
}

.my-trim-paragraph {
	margin-bottom: 1em;
}

.mshop_talk_banner ~ .plus-friend-global-button {bottom: 35px;right: 5px;}

#companyname {
	font-family: 'SunBatang-Light', serif;
	font-weight: 400;
}


/* Reduce the height of the main hero header area */
.site-header {
    padding-top: 20px !important;    /* Controls the space above the text */
    padding-bottom: 60px !important; /* Controls the space below the text */
    min-height: 0 !important;        /* Prevents the theme from forcing it to be full-screen */
}

/* Optional: Tighten the inner container spacing just in case */
.site-header .header-inner {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}




/* Switcher Button Container */
.portfolio-view-switcher {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 20px;
}

.portfolio-view-switcher .view-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f1f1f1;
    border: none;
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
}

.portfolio-view-switcher .view-btn.active,
.portfolio-view-switcher .view-btn:hover {
    background: #333;
    color: #fff;
}

/* List View Layout Overrides */
/* Override the grid container and its inline Javascript height */
body.is-list-view .projects.grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    height: auto !important; 
}

/* Override the individual items and their inline absolute positioning */
body.is-list-view .projects.grid .project {
    position: relative !important; 
    left: auto !important;
    top: auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    background: #fafafa;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #eaeaea;
    width: 100% !important; 
    box-sizing: border-box;
}

/* Adjust image/thumbnail sizing inside list view */
body.is-list-view .projects.grid .project img {
    width: 120px !important;
    height: 80px !important;
    object-fit: cover;
    margin-right: 20px;
    border-radius: 4px;
}

/* Style text/title details in list view */
body.is-list-view .projects.grid .project .project-title,
body.is-list-view .projects.grid .project h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
}


/* Replace the default Jetpack Portfolio archive title */
body.post-type-archive-jetpack-portfolio .page-title {
    font-size: 0 !important; 
}

/* Replace the default Jetpack Portfolio archive title for TheFour theme */
body.post-type-archive-jetpack-portfolio .header-inner h1 {
    font-size: 0 !important; 
}

body.post-type-archive-jetpack-portfolio .header-inner h1::before {
    content: "포트폴리오";
    font-size: 36px; /* Adjust this to match your preferred heading size */
    font-weight: normal;
    letter-spacing: 0.05em; 
    color: #ffffff; 
}
}


