/*
Theme Name: 쿠폰렌트
Description: 생활용품 구매가이드와 여행 정보를 위한 반응형 매거진 테마. 홈 배너, 자동 글 카드, 추천상품, 검색, 카테고리와 글 상세 화면을 제공합니다.
Version: 1.0.4
Author: Couponrent
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: couponrent
Tags: blog, grid-layout, custom-logo, custom-menu, featured-images, full-width-template
*/
:root{--cr-blue:#2860e9;--cr-ink:#17202d;--cr-muted:#697181;--cr-line:#e8ebf0;--cr-red:#bc3029;--cr-warm:#f6f3ee;--cr-radius:14px;--cr-width:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:#fff;color:var(--cr-ink);font:17px/1.75 -apple-system,BlinkMacSystemFont,'Segoe UI','Noto Sans KR','Malgun Gothic',sans-serif;word-break:keep-all;overflow-wrap:anywhere}img{max-width:100%;height:auto;vertical-align:middle}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid var(--cr-blue);outline-offset:4px}button:disabled{cursor:wait}h1,h2,h3,p{margin-top:0}h1,h2,h3{letter-spacing:-.045em;line-height:1.4}p{margin-bottom:1em}.cr-wrap{width:min(calc(100% - 64px),var(--cr-width));margin-inline:auto}.screen-reader-text,.cr-skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.cr-skip:focus{position:fixed;z-index:100;top:10px;left:10px;background:#fff;padding:12px 18px}.cr-header{background:rgba(255,255,255,.98);border-bottom:1px solid var(--cr-line)}.cr-header-row{min-height:92px;display:flex;align-items:center;gap:46px}.cr-brand{font-size:30px;font-weight:900;letter-spacing:-1.5px;color:var(--cr-blue);flex-shrink:0}.cr-brand .custom-logo{max-width:190px;max-height:54px;object-fit:contain}.cr-nav{margin-right:auto}.cr-nav ul{display:flex;align-items:center;gap:30px;margin:0;padding:0;list-style:none}.cr-nav a{display:block;padding:16px 0;font-size:17px;font-weight:700}.cr-nav a:hover,.cr-nav .current-menu-item>a,.cr-nav a[aria-current]{color:var(--cr-blue)}.cr-nav .menu-item-has-children{position:relative}.cr-nav .sub-menu{display:none;position:absolute;z-index:20;left:-16px;top:100%;background:white;border:1px solid var(--cr-line);padding:10px 18px;min-width:180px;box-shadow:0 10px 35px #17202d12}.cr-nav li:hover>.sub-menu,.cr-nav li:focus-within>.sub-menu{display:block}.cr-nav .sub-menu a{font-size:15px;padding:9px 0}.cr-search{display:flex;border:1px solid var(--cr-line);border-radius:8px;background:#fafbfc;max-width:330px;width:100%;overflow:hidden}.cr-search input{width:100%;min-width:0;background:transparent;border:0;padding:11px 14px;font-size:14px;color:var(--cr-ink)}.cr-search button{border:0;background:transparent;width:48px;flex-shrink:0;display:grid;place-items:center;color:#4b5565}.cr-search svg{width:20px;height:20px}.cr-menu-toggle{display:none;border:1px solid var(--cr-line);background:#fff;border-radius:8px;min-height:44px;padding:6px 13px}.cr-topic-bar{border-top:1px solid #f2f3f6}.cr-topics{display:flex;gap:32px;overflow:auto;scrollbar-width:thin}.cr-topics a{white-space:nowrap;min-height:54px;display:flex;align-items:center;position:relative;font-size:15px;font-weight:650}.cr-topics a:hover,.cr-topics a[aria-current]{color:var(--cr-blue)}.cr-topics a[aria-current]:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--cr-blue)}
.cr-hero{margin:28px auto 0;border-radius:18px;overflow:hidden;min-height:410px;position:relative;background:#f1ede6;display:grid;grid-template-columns:1.05fr 1fr}.cr-hero-copy{padding:50px 20px 50px 42px;position:relative;z-index:1;align-self:center}.cr-eyebrow{font-size:13px;letter-spacing:.09em;font-weight:700;color:var(--cr-muted);display:block;margin-bottom:17px}.cr-hero h1{font-size:clamp(32px,3.3vw,46px);line-height:1.35;margin:0 0 19px;white-space:pre-line;letter-spacing:-.055em}.cr-hero p{font-size:17px;max-width:420px;color:#525e6b;margin-bottom:25px}.cr-hero-image{height:100%;min-height:410px;width:100%;object-fit:cover;object-position:center}.cr-button{display:inline-flex;align-items:center;justify-content:center;gap:15px;min-height:48px;padding:10px 19px;border:1px solid var(--cr-blue);border-radius:7px;color:var(--cr-blue);font-size:15px;font-weight:750;background:#fff}.cr-button:hover{background:#edf3ff}.cr-button-solid{background:var(--cr-blue);color:white}.cr-button-solid:hover{background:#184ac4}.cr-section{padding:45px 0;border-bottom:1px solid var(--cr-line)}.cr-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:24px}.cr-section-heading h2{font-size:26px;margin:0}.cr-section-heading p{font-size:15px;color:var(--cr-muted);margin:7px 0 0}.cr-more{font-size:14px;white-space:nowrap;color:var(--cr-blue);font-weight:700;min-height:44px;display:flex;align-items:center}.cr-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 22px}.cr-post-card{min-width:0}.cr-card-image{display:block;overflow:hidden;border-radius:12px;background:#f1f3f6;aspect-ratio:3/2}.cr-card-image img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;transition:none}.cr-post-card:hover .cr-card-image img{transform:none}.cr-image-fallback{display:flex;align-items:center;justify-content:center;height:100%;padding:24px;background:linear-gradient(130deg,#f0ede6,#e7edf6);color:#465c80;font-weight:800;letter-spacing:-.03em;text-align:center}.cr-card-category{display:block;font-size:12px;color:var(--cr-blue);font-weight:750;margin:15px 0 5px}.cr-post-card h3{font-size:19px;margin:0 0 8px}.cr-post-card h3 a:hover{color:var(--cr-blue)}.cr-post-card p{font-size:14px;color:var(--cr-muted);margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cr-card-date{font-size:12px;display:block;color:#7d8592;margin-top:10px}.cr-product-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.cr-product{border:1px solid var(--cr-line);border-radius:11px;overflow:hidden;display:flex;flex-direction:column}.cr-product-image{display:block;background:#f7f6f2;aspect-ratio:1/1;overflow:hidden}.cr-product-image img{width:100%;height:100%;object-fit:contain}.cr-product-info{padding:16px;display:flex;flex-direction:column;flex:1}.cr-badge{align-self:flex-start;display:inline-block;padding:2px 8px;color:#3058a7;border:1px solid #c6d7fb;border-radius:4px;font-size:11px;margin-bottom:9px}.cr-product h3{font-size:17px;margin:0 0 7px}.cr-product p{font-size:13px;line-height:1.7;color:var(--cr-muted);margin:0 0 18px}.cr-buy{margin-top:auto;display:flex;justify-content:center;align-items:center;min-height:45px;border-radius:5px;background:var(--cr-red);color:#fff;font-size:13px;font-weight:750;padding:9px 8px}.cr-buy:hover{background:#98251f}.cr-buy-naver{background:#228b2f}.cr-buy-naver:hover{background:#187024}.cr-disclosure{font-size:12px;color:var(--cr-muted);margin:15px 0 0;line-height:1.8}.cr-latest-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.cr-latest{display:grid;grid-template-columns:130px 1fr;gap:18px;align-items:center}.cr-latest .cr-card-image{border-radius:8px}.cr-latest h3{font-size:17px;margin:4px 0 6px}.cr-latest .cr-card-category{margin:0}.cr-latest p{font-size:13px;color:var(--cr-muted);margin:0}.cr-empty{border:1px dashed #d8dfec;border-radius:12px;padding:35px;text-align:center;color:var(--cr-muted);font-size:16px;background:#fafbfc}.cr-empty h2{color:var(--cr-ink);font-size:23px}.cr-empty p{margin-bottom:0}.cr-footer{padding:33px 0;margin-top:24px;background:#fafbfc;border-top:1px solid var(--cr-line)}.cr-footer-row{display:flex;align-items:flex-start;justify-content:space-between;gap:35px}.cr-footer .cr-brand{font-size:24px}.cr-footer p{font-size:13px;color:var(--cr-muted);max-width:440px;margin:8px 0}.cr-footer-links{display:flex;gap:18px;flex-wrap:wrap;padding:0;margin:8px 0 0;list-style:none;font-size:13px}.cr-copyright{font-size:11px!important;color:#848b96!important}.cr-backtop{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #d8deea;border-radius:50%;background:white;font-size:21px;flex-shrink:0}
.cr-page-top{padding:52px 0 30px}.cr-page-top h1{font-size:36px;margin:5px 0 14px}.cr-page-top p{color:var(--cr-muted);max-width:700px;margin:0}.cr-breadcrumb{font-size:13px;color:var(--cr-muted);margin-bottom:16px}.cr-breadcrumb a{color:var(--cr-blue)}.cr-listing{padding-bottom:55px}.cr-pagination{margin-top:42px}.cr-pagination .nav-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.cr-pagination .page-numbers{display:inline-flex;min-width:44px;min-height:44px;align-items:center;justify-content:center;border:1px solid var(--cr-line);border-radius:6px;padding:5px 12px}.cr-pagination .current{background:var(--cr-blue);border-color:var(--cr-blue);color:white}.cr-article-shell{max-width:920px;margin:0 auto;padding:48px 24px 25px}.cr-article-header h1{font-size:clamp(28px,4vw,40px);margin:12px 0 20px}.cr-article-meta{font-size:13px;color:var(--cr-muted);display:flex;gap:14px;flex-wrap:wrap;margin:0 0 24px}.cr-featured{margin:0 0 30px}.cr-featured img{width:100%;height:auto;border-radius:13px}.cr-entry{font-size:18px;line-height:1.9}.cr-entry:after{content:'';display:table;clear:both}.cr-entry h2{font-size:27px;margin:40px 0 18px}.cr-entry h3{font-size:22px;margin:28px 0 14px}.cr-entry a{color:var(--cr-blue);text-decoration:underline;text-underline-offset:3px}.cr-entry a:hover{text-decoration-thickness:2px}.cr-entry .wp-block-button__link{color:#fff;text-decoration:none}.cr-entry .crm-article{max-width:100%;padding:0;background:#fff}.cr-entry .crm-article .crm-brand{display:none}.cr-entry .crm-article h2{letter-spacing:-.04em}.cr-entry .crm-article a.crm-btn{color:#fff}.cr-entry .crm-article figure{max-width:100%}.cr-entry table{max-width:100%;border-collapse:collapse}.cr-entry th,.cr-entry td{padding:12px;border:1px solid var(--cr-line)}.cr-entry pre{overflow:auto;background:#f4f6fa;padding:20px}.cr-entry blockquote{border-left:3px solid var(--cr-blue);padding:4px 22px;margin-left:0;color:#5d6879}.cr-entry iframe,.cr-entry video{max-width:100%}.cr-entry .alignwide{max-width:100%}.cr-entry .alignleft{float:left;margin:0 22px 16px 0}.cr-entry .alignright{float:right;margin:0 0 16px 22px}.cr-entry .aligncenter{display:block;margin-inline:auto}.cr-entry .wp-caption{max-width:100%}.cr-entry .wp-caption-text,.cr-entry figcaption{font-size:13px;color:var(--cr-muted)}.cr-post-navigation{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:38px;padding-top:25px;border-top:1px solid var(--cr-line);font-size:15px}.cr-post-navigation a{color:var(--cr-blue)}.cr-comments{margin:35px 0}.cr-comments h2{font-size:24px}.cr-comments .comment-list{padding-left:20px}.cr-comments input:not([type=checkbox]),.cr-comments textarea{display:block;max-width:100%;width:100%;border:1px solid #d1d8e4;border-radius:7px;padding:12px;background:white}.cr-comments .submit{background:var(--cr-blue)!important;color:white;border:0!important;min-height:48px}.cr-comments label{font-size:14px}.cr-comments .comment-form-cookies-consent{font-size:13px}.cr-comments .comment-body{border-bottom:1px solid var(--cr-line);padding:20px 0}.cr-comments .avatar{border-radius:50%;margin-right:8px}.cr-comments .comment-metadata{font-size:12px;color:var(--cr-muted)}.cr-comments .reply{font-size:13px;color:var(--cr-blue)}.cr-search-large{max-width:580px;margin:25px 0}.cr-search-large .cr-search{max-width:none}.cr-404{min-height:50vh;padding:65px 0}.cr-404 h1{font-size:38px}.sticky .cr-card-category:before{content:'추천 · '}.gallery-caption{font-size:13px}.bypostauthor>.comment-body{border-left:2px solid var(--cr-blue);padding-left:15px}
@media(min-width:1600px){:root{--cr-width:1220px}}
@media(max-width:1000px){.cr-header-row{gap:28px}.cr-search{max-width:260px}.cr-nav ul{gap:22px}.cr-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cr-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cr-hero h1{font-size:36px}.cr-hero-copy{padding:36px 20px 36px 30px}.cr-hero-image{min-height:380px}.cr-hero{min-height:380px}}
@media(max-width:720px){.cr-wrap{width:calc(100% - 36px)}.cr-header-row{min-height:74px;gap:16px;flex-wrap:wrap;padding-top:12px;padding-bottom:12px}.cr-brand{font-size:26px}.cr-menu-toggle{display:block;margin-left:auto}.cr-nav{width:100%;order:4;margin:0}.cr-nav ul{gap:24px}.cr-nav a{padding:7px 0;font-size:16px}.js .cr-nav{display:none}.js .cr-nav.is-open{display:block}.cr-header-row>.cr-search{width:100%;max-width:none;order:5}.cr-topics{gap:27px}.cr-topics a{min-height:48px;font-size:14px}.cr-hero{margin-top:18px;grid-template-columns:1fr;min-height:0;border-radius:12px}.cr-hero-copy{padding:29px 25px}.cr-hero h1{font-size:32px}.cr-hero p{font-size:16px}.cr-hero-image{height:240px;min-height:0;object-position:center 50%}.cr-section{padding:32px 0}.cr-section-heading{margin-bottom:20px;align-items:flex-start;gap:12px}.cr-section-heading h2{font-size:23px}.cr-section-heading p{font-size:13px}.cr-more{font-size:12px;min-height:33px}.cr-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 15px}.cr-post-card h3{font-size:17px}.cr-post-card p{font-size:13px}.cr-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.cr-product h3{font-size:16px}.cr-product-info{padding:13px}.cr-buy{font-size:12px}.cr-latest-grid{grid-template-columns:1fr}.cr-latest{grid-template-columns:105px 1fr;gap:14px}.cr-footer-row{flex-wrap:wrap;gap:20px}.cr-footer-links{gap:15px}.cr-page-top{padding-top:32px}.cr-page-top h1{font-size:30px}.cr-article-shell{padding:32px 18px 20px}.cr-article-header h1{font-size:29px}.cr-entry{font-size:17px}.cr-post-navigation{grid-template-columns:1fr}.cr-article-shell .crm-article{padding:0}.cr-breadcrumb{font-size:12px}.cr-entry .crm-article .crm-card-head{display:block}.cr-entry .crm-article .crm-product-photo{width:100%;margin-bottom:18px}.cr-entry .crm-article .crm-product-photo img{height:auto;max-height:360px}.cr-entry .crm-article .crm-checks{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
