/* Custom spacing between header and main content */
body #main .page {
  padding-top: 20px !important;
}

/* Apply padding to archive pages that are NOT in a category layout */
body:not(.layout--category) #main .archive {
  padding-top: 20px !important;
}

body #main .splash {
  padding-top: 20px !important;
}

/* Specific padding for category layout (News page) */
body.layout--category #main {
  padding-top: 20px !important;
}
/* Make sure archive inside category layout doesn't get double padding */
body.layout--category #main .archive {
  padding-top: 0 !important;
}

/* Make sure sidebar doesn't get the extra padding */
.sidebar {
  padding-top: 0 !important;
}

/* Spacing for mobile/narrow views - background extends fully, content has margin */
@media (max-width: 768px) {
  /* Background containers extend to edge with no padding */
  .masthead,
  .page__footer {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  /* Inner content has padding */
  .masthead__inner-wrap {
    padding-left: 20px !important; 
    padding-right: 20px !important;
  }
  
  .author__content {
    padding-top: 8px !important;
  }

  .page__footer-follow,
  .page__footer-copyright {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
  
  /* Main content has padding */
  .initial-content {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  
  /* Body reset */
  body {
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
  }
}

/* Remove all additional footer height styling */ 

/* 팔로우 버튼과 햄버거 메뉴의 세모 꼭지 제거 - 모든 테마 적용 */
.author__urls-wrapper .author__urls::before,
.author__urls-wrapper .author__urls::after,
.greedy-nav .hidden-links::before,
.greedy-nav .hidden-links::after {
  display: none !important;
} 