/*
Theme Name: KPCA Elders Simple
Version: 1.1.0
Description: KPCA 장로연합회 소개, 조직, 공지사항 및 사진 게시판.
Text Domain: kpca-elders
*/
:root{--ink:#16334b;--blue:#245e83;--bg:#f6f8fa}*{box-sizing:border-box}body{margin:0;font-family:Arial,'Malgun Gothic',sans-serif;color:var(--ink);line-height:1.8;background:var(--bg)}a{color:var(--blue)}.wrap{max-width:1120px;margin:auto;padding:24px}header,footer{background:white}header .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}.brand{font-size:24px;font-weight:bold;text-decoration:none}nav ul{display:flex;flex-wrap:wrap;gap:22px;list-style:none;padding:0}nav a{text-decoration:none}.hero{background:#e8eff4;border-radius:12px;overflow:hidden}.hero img{width:100%;max-height:480px;object-fit:cover}.hero-text{padding:36px}h1{font-size:36px;line-height:1.4}h2{font-size:24px}.panel{background:white;padding:28px;border-radius:10px;margin:24px 0}.board{width:100%;border-collapse:collapse}.board th,.board td{padding:14px 8px;border-bottom:1px solid #dde4ea;text-align:left}.board td:last-child{white-space:nowrap}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.card{background:white;border-radius:10px;overflow:hidden}.card img{width:100%;height:230px;object-fit:cover}.card h2,.card p{margin:16px}.entry img{max-width:100%;height:auto}.button{display:inline-block;padding:8px 18px;background:var(--blue);color:white;border-radius:6px;text-decoration:none}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;background:white;padding:10px}.pagination{margin:24px 0}footer{text-align:center;padding:24px}.wp-caption{max-width:100%}@media(max-width:700px){.wrap{padding:16px}h1{font-size:28px}.hero-text,.panel{padding:20px}.grid{grid-template-columns:1fr}nav ul{gap:14px}.board th:first-child,.board td:first-child{display:none}}

.hero{display:grid;grid-template-columns:1fr 1fr}.hero-text{display:flex;flex-direction:column;justify-content:center;min-height:330px}.hero-text h1{font-size:44px;letter-spacing:-1px}.hero-photo{background:#dfe9f0}.hero-photo img{width:100%;height:100%;object-fit:cover}@media(max-width:700px){.hero{grid-template-columns:1fr}.hero-text h1{font-size:34px}.hero-photo{min-height:240px}}

.kpca-form label{display:block;margin:16px 0}.kpca-form input:not([type=checkbox]){display:block;width:100%;max-width:560px;padding:10px;border:1px solid #afc2d0;border-radius:5px}.member-links{font-size:13px}

.history-scroll{overflow-x:auto}.history-table{width:100%;min-width:680px;border-collapse:collapse}.history-table th,.history-table td{display:table-cell!important;text-align:left;padding:13px 14px;white-space:nowrap;border-bottom:1px solid #dce4e9}.history-table th{background:#edf2f6}.history-table tbody tr:nth-child(even){background:#f8fafb}.history-table td:first-child{width:70px;font-weight:bold}.history-table td:nth-child(2){width:150px}.history-table td:last-child{color:inherit}

.greeting{max-width:850px;margin:auto;line-height:2;color:#263e50}.greeting>p{margin:24px 0}.greeting .greeting-lead{font-size:18px;font-weight:bold;color:#183950;line-height:1.7}.president{display:flex;align-items:center;gap:24px;padding:24px 0;border-bottom:1px solid #dce4e9}.president img{width:174px;height:174px;object-fit:cover;border-radius:8px}.president strong{font-size:20px}.president p{margin:6px 0;color:#637887}.greeting blockquote{margin:30px 0;border-left:4px solid #28698e;background:#f0f5f8;padding:22px}.greeting-signature{text-align:right;padding-top:20px}@media(max-width:550px){.president{align-items:flex-start;gap:16px}.president img{width:105px;height:128px}.president strong{font-size:17px}.greeting .greeting-lead{font-size:17px}}

.coordinator-list{max-width:760px;margin:auto}.coordinator-list h3{font-size:19px;margin:10px 0 24px}.coordinator-table{width:100%;border-collapse:collapse}.coordinator-table th,.coordinator-table td{display:table-cell!important;text-align:left;padding:13px 20px;border-bottom:1px solid #dce4e9;white-space:nowrap}.coordinator-table th{background:#edf2f6}.coordinator-table td:first-child{width:50%;font-weight:bold}.coordinator-table td:last-child{color:inherit}.coordinator-table tbody tr:nth-child(even){background:#f8fafb}@media(max-width:550px){.coordinator-table th,.coordinator-table td{padding:12px 8px}.coordinator-list h3{font-size:17px}}

.officer-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.officer-card{text-align:center;border:1px solid #dce4e9;border-radius:8px;padding:20px 10px;background:#fff}.officer-photo{width:100%;max-width:120px;height:130px;margin:0 auto 18px;background:#edf2f5;border-radius:6px;display:flex;align-items:center;justify-content:center;font-size:12px;color:#637887}.officer-card h3{font-size:16px;margin:0 0 6px}.officer-card p{font-size:13px;margin:5px 0;word-break:keep-all}.officer-card .officer-presbytery,.officer-card .officer-pastor{color:#637887}@media(max-width:850px){.officer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:550px){.officer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}

.officer-card img.officer-photo{object-fit:contain;background:#f5f7f9;display:block}.president img{object-fit:contain;background:#f5f7f9}

.hero{grid-template-columns:0.7fr 1.3fr}.hero-photo{display:flex;align-items:center}.hero-photo img{height:auto;max-height:none;object-fit:contain}@media(max-width:700px){.hero{grid-template-columns:1fr}}

header .brand{display:flex;align-items:center;gap:14px}.kpca-logo{width:44px;height:80px;object-fit:contain;display:block;flex-shrink:0}@media(max-width:700px){.kpca-logo{width:36px;height:66px}}

.card h2{font-size:15px;line-height:1.6;font-weight:500;word-break:keep-all;margin:14px 16px 8px}.card p{font-size:12px;margin:8px 16px 14px}

header .brand{font-size:22px}@media(max-width:700px){header .brand{font-size:18px;line-height:1.5;word-break:keep-all}}

.brand-text{display:flex;flex-direction:column}.brand-text small{font-size:12px;font-weight:normal;letter-spacing:1px;color:#637887;margin-top:4px}

.page-heading .eyebrow{font-size:12px;letter-spacing:2px;color:#28698e;font-weight:bold;margin-bottom:8px}.page-heading h1{margin-top:0}.page-description{color:#637887}.section-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 0}.section-tabs a{display:inline-block;padding:9px 17px;border:1px solid #dce4e9;background:#fff;border-radius:5px;text-decoration:none}.section-tabs a.selected{border-color:#28698e;color:#183950;background:#eaf2f7;font-weight:bold}.section-tabs a:focus-visible{outline:3px solid #28698e;outline-offset:3px}

.officer-card .officer-photo{width:80px;max-width:80px;height:87px;margin-bottom:12px}.officer-card{padding:16px 10px}.card img{height:150px;object-fit:contain;background:#f5f7f9}.single-kpca_notice .entry img{width:auto!important;height:auto!important;max-width:100%;max-height:620px;object-fit:contain;display:block;margin:20px auto}.single-kpca_gallery .entry img{width:auto!important;height:auto!important;max-width:100%;max-height:440px;object-fit:contain;display:block;margin:20px auto}@media(max-width:700px){.card img{height:120px}.single-kpca_notice .entry img{max-height:480px}.single-kpca_gallery .entry img{max-height:340px}}

header nav a{font-weight:700}

.section-tabs{gap:12px;margin:24px 0 0}.section-tabs a{background:#edf0f3;border:1px solid #d3dbe2;border-radius:7px;padding:10px 20px;color:#263e50;font-weight:600;transition:background .15s}.section-tabs a:hover{background:#dce4eb}.section-tabs a.selected{background:#d5dfe8;border-color:#aabac8;color:#183950;font-weight:700}

.archive-eyebrow{font-size:12px;letter-spacing:2px;color:#28698e;font-weight:bold;margin-bottom:8px}.archive-eyebrow+h1{margin-top:0}

header nav ul{gap:8px}header nav a{display:block;padding:10px 12px;border-bottom:3px solid transparent;border-radius:5px 5px 0 0;transition:background .15s,color .15s}header nav a:hover{background:#f0f4f7}header nav .current-menu-item>a,header nav .current-menu-ancestor>a,header nav a[aria-current="page"],header nav li.kpca-current>a{background:#e8eff5;color:#1b567c;border-bottom-color:#28698e}


a,a:hover,a:focus,a:active{text-decoration:none}
.board a,table:not(.history-table):not(.coordinator-table) .title-link{border-radius:4px;padding:5px 8px;display:inline-block;transition:background .15s,color .15s}
.board tbody tr:hover,table tbody tr:has(.title-link):hover{background:#f0f4f7}
.board tbody tr.kpca-last-opened,table tbody tr.kpca-last-opened{background:#e4edf4}
.kpca-last-opened a{color:#194e73;font-weight:600}
a:focus-visible{outline:2px solid #7199b6;outline-offset:3px}
.card.kpca-last-opened{box-shadow:0 0 0 2px #a4bbce;background:#eef3f7}

.board th,.board td{padding:8px 10px;line-height:1.5}.board td a{padding:2px 5px}.home-updates{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:stretch;margin-top:24px}.home-updates>.panel{margin:0;padding:20px;min-width:0}.home-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.home-section-head h2{font-size:21px;margin:0}.home-section-head>a{font-size:12px;white-space:nowrap}.home-updates .board{margin-top:0}.home-gallery-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}.home-gallery-item{display:block;min-width:0;border-radius:5px}.home-gallery-item img,.home-no-photo{display:block;width:100%;height:120px;object-fit:cover;border-radius:5px;background:#edf2f5}.home-gallery-item>span:last-child{display:block;font-size:13px;line-height:1.5;margin-top:8px;word-break:keep-all}.home-gallery-item:hover{background:#f0f4f7}.home-no-photo{font-size:12px;text-align:center;padding-top:45px}@media(max-width:700px){.home-updates{grid-template-columns:1fr;gap:18px}.home-gallery-item img{height:140px}}

.home-notices .board th:first-child,.home-notices .board td:first-child{width:56px;min-width:56px;white-space:nowrap;text-align:center}.home-notices table th:first-child,.home-notices table td:first-child{width:56px;min-width:56px;white-space:nowrap;text-align:center}

.board th{padding:8px 10px;line-height:1.35}.board td{padding:8px 10px;line-height:1.4}.board td a{padding:1px 5px}

.board-wrap{overflow-x:auto}.author-board{width:100%;min-width:560px}.author-board th,.author-board td{display:table-cell!important}.author-board th:first-child,.author-board td:first-child{white-space:nowrap;width:55px}.author-board th:nth-child(3),.author-board td:nth-child(3){white-space:nowrap;width:120px}.author-board th:last-child,.author-board td:last-child{white-space:nowrap;width:110px}.board-post-link{display:flex!important;align-items:center;gap:12px}.board-thumbnail{width:75px;height:55px;object-fit:cover;flex-shrink:0;border-radius:4px}.post-meta{font-size:13px;color:#637887}

.post-type-archive-kpca_notice .board th,.post-type-archive-kpca_notice .board td,.home-notices .board th,.home-notices .board td{font-size:13px}

.post-type-archive-kpca_notice .board th,.post-type-archive-kpca_notice .board td,.home-notices .board th,.home-notices .board td{padding-top:10px;padding-bottom:10px}

.kpca-form textarea{display:block;width:100%;padding:12px;border:1px solid #afc2d0;border-radius:5px;font:inherit;resize:vertical}.own-post-actions{white-space:nowrap}.own-post-actions form{display:inline;margin-left:12px}.own-post-actions button{background:#edf2f5;color:#183950;border:1px solid #bdcbd6;border-radius:4px;padding:4px 10px;cursor:pointer}.my-notices-heading{margin-top:36px}.kpca-form .outline{background:white;color:#183950;border:1px solid #bdcbd6}

.page-heading h1,.archive-eyebrow+h1,.page-title h1,.entry>h1{font-size:28px;line-height:1.45}@media(max-width:700px){.page-heading h1,.archive-eyebrow+h1,.page-title h1,.entry>h1{font-size:24px}}
