/* 注释掉Lato字体定义，改用Arial
/* latin-ext */
/*@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}*/
/* latin */
/*@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}*/
/* latin-ext */
/*@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}*/
/* latin */
/*@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}*/
/* latin-ext */
/*@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}*/
/* latin */
/*@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}*/
/* latin-ext */
/*@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}*/
/* latin */
/*@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}*/

a {
  color: #1772d0;
  /* color: #017701 !important; */
  text-decoration: none;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

body,
td,
th,
tr,
p,
a {
  font-family: Arial, sans-serif;
  font-size: 16px;
}

strong {
  font-family: Arial, sans-serif;
  font-size: 16px;
}

heading {
  font-family: Arial, sans-serif;
  font-size: 24px;
}

papertitle {
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
}

name {
  font-family: Arial, sans-serif;
  font-size: 32px;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

.CodeMirror {
    font-size: .8em;
    height: auto;
}

.CodeMirror-scroll {
    overflow-y: hidden;
    overflow-x: auto;
}

#header_img {
    margin-top: 2em;
    margin-bottom: 1em;
}

.list-inline {
	list-style: none;
	margin-left: -0.5em;
	margin-right: -0.5em;
	padding-left: 0;
}

.list-inline > li {
	display: inline-block;
	margin-left: 0.5em;
	margin-right: 0.5em;
}


.bulma-content-tab {
  width: 100%;
  aspect-ratio: 1.5;
}

.bulma-content-tab video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 强制使用Arial字体，覆盖Bootstrap设置 */
* {
  font-family: Arial, sans-serif !important;
}

body, html {
  font-family: Arial, sans-serif !important;
  font-size: 16px !important;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: Arial, sans-serif !important;
}

p, span, div, a, li, ul, ol {
  font-family: Arial, sans-serif !important;
  font-size: 16px !important;
}

input, button, select, textarea {
  font-family: Arial, sans-serif !important;
  font-size: 16px !important;
}

/* 缩小主标题字体大小 */
h2.col-md-12.text-center {
  font-size: 39px !important;
  font-weight: bold !important;
  line-height: 1.3;
}

/* 视频播放按钮样式 */
.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.video-play-button:hover {
  background: rgba(0, 0, 0, 0.9);
}

.video-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* 缩小hdrfusion_demo视频 */
#hdr_fusion_demo, #main_demo, #results_demo, #ablation_demo {
  width: 100% !important;
  max-width: 1000px;
  display: block;
  margin: 0 auto;
}

/* 调整col-8 col-offset-2的宽度 */
.col-8.col-offset-2 {
  width: 75% !important;
  margin-left: 12.5% !important;
}

/* 或者如果你想要更宽 */
.col-8.col-offset-2.wider {
  width: 85% !important;
  margin-left: 7.5% !important;
}

/* 或者如果你想要更窄 */
.col-8.col-offset-2.narrower {
  width: 60% !important;
  margin-left: 20% !important;
}

/* 视频圆角和阴影效果 */
/* video {
  border-radius: 15px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

video:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
} */

/* 只给photostyletransfer_demo视频添加圆角和阴影 */
#photostyletransfer_demo {
  border-radius: 15px !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease !important;
  display: block !important;
  margin: 0 auto !important;
}

#photostyletransfer_demo:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

pre, code {
  border: none !important;
  outline: none !important;
}

/* 引文代码块样式优化 */
.text-left pre {
  border: none !important;
  border-radius: 8px !important;
  padding: 15px !important;
  margin: 10px 0 !important;
}

.text-left pre code {
  border: none !important;
  background: transparent !important;
  color: #333 !important;
  font-family: 'Courier New', Consolas, monospace !important;
}
