/*
Theme Name: joshualog
Theme URI: http://dtm.snu.ac.kr
Author: joshualog
Author URI: http://dtm.snu.ac.kr
Description: A custom WordPress theme for dtm.snu.ac.kr.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: joshualog
*/

/* ===== 로그인 팝업 크기 개선 ===== */
#wp-auth-check-wrap #wp-auth-check {
    width: 500px !important;
    margin-left: -250px !important;
    max-height: 500px !important;
}

@media screen and (max-width: 520px) {
    #wp-auth-check-wrap #wp-auth-check {
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        margin: 0 !important;
    }
}
/* ===== CSS Reset (브라우저 기본 스타일 제거) ===== */


/* reset.css - Modern full reset */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, menu, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
	display: block;
}

/* Remove list styles on ul, ol elements with a list role */
ol, ul, menu {
	list-style: none;
}

/* Remove quotes from blockquote and q elements */
blockquote, q {
	quotes: none;
}
blockquote::before, blockquote::after,
q::before, q::after {
	content: '';
	content: none;
}

/* Remove default table spacing */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Remove underlines from links */
a {
	text-decoration: none;
	color: inherit;
}

/* Reset buttons and form elements */
button,
input,
select,
textarea {
	margin: 0;
	padding: 0;
	border: none;
	background: none;
	font: inherit;
	color: inherit;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	box-sizing: border-box;
}

/* Remove outline unless focused for accessibility */
button:focus,
input:focus,
textarea:focus,
select:focus {
	outline: none;
}

/* Remove all animations and transitions while resetting */
*,
*::before,
*::after {
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

/* Body default line-height and font-family can be customized */
body {
	line-height: 1.5;
	font-family: sans-serif;
	background: #fff;
	color: #000;
}
/*-------------reset-----------------/
 * 
 * 
 * 
 * 
/* 1. 모든 요소의 기본 마진, 패딩 제거 및 박스 크기 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 2. 기본 글꼴 스타일 제거 */
body, button, input, textarea, select {
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
}

/* 3. 링크 스타일 초기화 */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: underline;
}

/* 4. 리스트 스타일 제거 */
ul, ol {
    list-style: none;
}

/* 5. 테이블 스타일 정리 */
table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

/* 6. 이미지 및 미디어 요소 초기화 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 7. 버튼 스타일 초기화 */
button {
    background: none;
    border: none;
    cursor: pointer;
}

/* 8. 입력 필드 및 텍스트 영역 초기화 */
input, textarea, select {
    border: 1px solid #ccc;
    padding: 8px;
    outline: none;
}

/* 9. 기본 HTML 요소 크기 조정 */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

/* 10. 기본 폼 요소 스타일 초기화 */
button, input, textarea, select {
    font: inherit;
}

/* 11. 브라우저에서 자동으로 추가되는 스타일 제거 */
::-webkit-input-placeholder { color: #aaa; }
::-moz-placeholder { color: #aaa; }
:-ms-input-placeholder { color: #aaa; }
:-moz-placeholder { color: #aaa; }

/* --------------------------------------
  기본 설정 / Reset





/*--기본엘리먼트---*/
body.nojq {
  margin-top: 46px;
}

html {
    font-size: 16px; /* 1rem 기준 */
    scroll-behavior: smooth;
}

body {
    font-size: 1rem;
    line-height: 1.75;
    color: #222;
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0;
    padding: 0;
}

/* Headings */
h1 {
    font-size: 2.25rem;
    line-height: 1.1;
}
h2 {
    font-size: 2rem;
    line-height: 1.1;
}
h3 {
    font-size: 1.75rem;
    line-height: 1.1;
}
h4 {
    font-size: 1.5rem;
	line-height: 1.1;
}
h5 {
    font-size: 1.25rem;
	line-height: 1.1;
}
h6 {
    font-size: 1rem;
	  line-height: 1.1;
}

/* Paragraph & Text Blocks */
p {
    font-size: 1rem;
    line-height: 1.45;
}
p + p {
   margin-top:.6rem;
}

small {
    font-size: 0.875rem;
}

strong, b {
    font-weight: bold;
}
em, i {
    font-style: italic;
}

/* Lists */
ul, ol {
    padding-left: 1.5em;
    margin-bottom: 1.25em;
}
li {
    font-size: 1rem;
    line-height: 1.45;
}
.body:not(.page-header) .entry-content li + li{
	margin-top:0.6rem;
}
/* Links */
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Blockquote */
blockquote {
    margin: 1.5em 0;
    padding-left: 1em;
    border-left: 4px solid #ddd;
    font-style: italic;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    font-size: 0.95rem;
}
th, td {
    padding: 0.75em 1em;
    border: 1px solid #ddd;
}
th {
    background-color: #f7f7f7;
    text-align: left;
}

/* Code */
pre, code {
    font-family: 'Courier New', monospace;
    background-color: #f4f4f4;
    padding: 0.25em 0.5em;
    border-radius: 3px;
}
pre {
    overflow-x: auto;
    padding: 1em;
    margin-bottom: 1.5em;
}

/* Images & Figures */
img {
    max-width: 100%;
    height: auto;
    display: block;
}
figure {
    margin: 0 0 1.5em 0;
}
figcaption {
    font-size: 0.875rem;
    margin-top: 0.5em;
    text-align: center;
}

/* Horizontal rule */
hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 2em 0;
}

/* Forms (간단 기본값) */
input, select, textarea, button {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1em;
}

label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: 500;
}

/* */
nav > ul, nav > ol, nav > ul > li, nav > ol > li{
	margin-bottom: unset;
}

.tab-menu-haeder{
	padding:0 3rem 0 0;
}

.entry-content:last-child{
}





