/*!
Theme Name: Cocoon Child
Template: cocoon-master
Description: デイリーコンパス - Clean minimal blog style
*/

/* ============================================
   1. RESET & BASE
   ============================================ */

:root {
  --dc-primary: #1a1a1a;
  --dc-secondary: #666;
  --dc-accent: #2563eb;
  --dc-border: #f0f0f0;
  --dc-bg: #ffffff;
  --dc-bg-sub: #fafafa;
  --dc-radius: 8px;
  --dc-font: 'Noto Sans KR', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--dc-font);
  color: var(--dc-primary);
  background: var(--dc-bg);
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   2. LAYOUT - 1 COLUMN (SIDEBAR HIDDEN)
   ============================================ */

#sidebar,
.sidebar,
#sidebar-in {
  display: none !important;
}

.content-in {
  display: block !important;
}

.main,
#main {
  margin: 0 auto;
  max-width: 960px;
  width: 100%;
  float: none !important;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   3. HEADER - MINIMAL
   ============================================ */

.header {
  background: var(--dc-bg) !important;
  border-bottom: 1px solid var(--dc-border);
  box-shadow: none !important;
}

.header-in {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-header img {
  max-height: 32px;
}

.site-name-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--dc-primary);
  letter-spacing: -0.02em;
}

/* Header search hide */
.search-menu-content,
.header-container-in .search-box {
  display: none;
}

/* ============================================
   4. GLOBAL NAVIGATION - CLEAN
   ============================================ */

.navi {
  background: var(--dc-bg) !important;
  border: none !important;
  box-shadow: none;
}

.navi-in {
  max-width: 1100px;
  margin: 0 auto;
}

.navi-in > ul {
  display: flex;
  gap: 0;
  justify-content: center;
}

.navi-in > ul > li > a {
  color: var(--dc-secondary) !important;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  transition: color 0.2s ease;
  border: none !important;
}

.navi-in > ul > li > a:hover {
  color: var(--dc-primary) !important;
  background: transparent !important;
}

/* Sub menu */
.navi-in ul ul {
  background: var(--dc-bg);
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* ============================================
   5. INDEX CARDS - 3 COLUMN GRID
   ============================================ */

/* Force vertical card style */
.ect-vertical-card {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  flex-wrap: unset !important;
}

.ect-vertical-card .entry-card-wrap {
  width: 100% !important;
  margin: 0 !important;
  background: var(--dc-bg);
  border: 1px solid var(--dc-border);
  border-radius: var(--dc-radius);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.ect-vertical-card .entry-card-wrap:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.ect-vertical-card .entry-card-thumb {
  width: 100% !important;
  padding-top: 60%;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.ect-vertical-card .entry-card-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ect-vertical-card .entry-card-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ect-vertical-card .entry-card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 8px;
  color: var(--dc-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ect-vertical-card .entry-card-snippet {
  display: none !important;
}

.ect-vertical-card .entry-card-meta {
  margin-top: auto;
  padding-top: 8px;
}

.entry-date {
  font-size: 12px;
  color: var(--dc-secondary);
}

/* Category label */
.cat-label {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 4px;
  background: var(--dc-primary) !important;
  color: var(--dc-bg) !important;
}

/* NO IMAGE placeholder */
.no-image .entry-card-thumb {
  background: var(--dc-bg-sub);
}

.no-image-title {
  font-size: 12px;
  color: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  .ect-vertical-card {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .ect-vertical-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ============================================
   6. VIEW COUNTS / META - HIDE CLUTTER
   ============================================ */

.eye-catch-text,
.entry-card .post-views,
.date-tags,
.post-update,
.author-info,
.entry-categories-tags,
.post-date,
.post-update {
  /* Keep date, hide the rest */
}

/* Hide view count on cards */
.entry-card .post-views {
  display: none !important;
}

/* ============================================
   7. SINGLE POST - READABLE
   ============================================ */

.article {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 0;
}

.article h1.entry-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.article .entry-content {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

.article .entry-content p {
  margin-bottom: 1.6em;
}

.article .entry-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 2.5em 0 1em;
  padding: 0;
  border: none;
  background: none;
}

.article .entry-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 2em 0 0.8em;
  border: none;
  padding: 0;
  background: none;
}

.article .entry-content img {
  border-radius: var(--dc-radius);
  margin: 1.5em 0;
}

.article .entry-content blockquote {
  border-left: 3px solid var(--dc-primary);
  padding: 12px 20px;
  margin: 1.5em 0;
  background: var(--dc-bg-sub);
  border-radius: 0 var(--dc-radius) var(--dc-radius) 0;
}

/* ============================================
   8. HIDE UNNECESSARY ELEMENTS
   ============================================ */

/* SNS buttons */
.sns-share,
.sns-follow,
.sns-share-message {
  display: none !important;
}

/* Under entry content */
.under-entry-content {
  display: none !important;
}

/* Breadcrumb - optional, keep if SEO important */
.breadcrumb {
  font-size: 12px;
  color: var(--dc-secondary);
  padding: 8px 0;
  max-width: 1100px;
  margin: 0 auto;
}

/* Admin bar */
.admin-bar .header {
  margin-top: 0;
}

/* Cocoon's default decorations */
.entry-card-title::before,
.entry-card-title::after,
.article h2::before,
.article h2::after,
.article h3::before {
  display: none !important;
  content: none !important;
}

/* ============================================
   9. PAGINATION
   ============================================ */

.pagination {
  margin: 40px 0;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.pagination .page-numbers {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--dc-radius);
  font-size: 14px;
  color: var(--dc-secondary);
  border: 1px solid var(--dc-border);
  transition: all 0.2s ease;
}

.pagination .page-numbers:hover {
  border-color: var(--dc-primary);
  color: var(--dc-primary);
}

.pagination .page-numbers.current {
  background: var(--dc-primary);
  color: var(--dc-bg);
  border-color: var(--dc-primary);
}

/* ============================================
   10. FOOTER - MINIMAL
   ============================================ */

.footer {
  background: var(--dc-bg-sub) !important;
  border-top: 1px solid var(--dc-border);
}

.footer-in {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px 20px;
}

#footer .copyright {
  font-size: 12px;
  color: var(--dc-secondary);
  text-align: center;
}

/* Footer widgets - hide */
.footer-widget-area {
  display: none;
}

/* ============================================
   11. MOBILE MENU
   ============================================ */

.mobile-menu-buttons {
  background: var(--dc-bg) !important;
  border-top: 1px solid var(--dc-border);
  box-shadow: none !important;
}

.mobile-menu-buttons .menu-button > a {
  color: var(--dc-primary) !important;
}

/* ============================================
   12. SCROLLBAR (WEBKIT)
   ============================================ */

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}
.admin-pv {
  display: none !important;
}