/*
Theme Name: Blocksy Child
Description: Blocksy Child theme
Author: Creative Themes
Template: blocksy
Text Domain: blocksy
Version: 2.3.0
*/

/* 下面是你的 CSS 样式 */

/* =============================================================
   Timeline — [bobo_timeline] 短代码
   桌面端 5 列 CSS Grid，年份与内容分居连接线两侧
     奇数列（1/3/5）：年份在线上 ↑ 内容在线下 ↓
     偶数列（2/4）  ：内容在线上 ↑ 年份在线下 ↓
   ============================================================= */

   .bobo-timeline {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
  }
  
  /* ── 每组 5 条：5 列 × 3 行 Grid ── */
  .bobo-tl-group {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto 3px auto;
    column-gap: 12px;
    margin-bottom: 30px;
  }
  
  /* ── 年份徽章（通用） ── */
  .bobo-tl-year {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 78px;
    padding: 8px 22px;
    background: #0A84FF;
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    border-radius: 30px;
    position: relative;
    z-index: 2;
    box-shadow: 0 3px 12px rgba(13, 71, 161, 0.35);
    justify-self: center;
  }
  
  /* ── 描述文字（通用） ── */
  .bobo-tl-desc {
    font-size: 12.5px;
    line-height: 1.55;
    color: #555;
    margin: 0;
    text-align: center;
  }
  
  /* ── 横向连接线（row 2，横跨全部列） ── */
  .bobo-tl-line {
    height: 3px;
    background: #0A84FF;
  }
  
  /* ── 奇数列年份（row 1）：贴底 + 竖线向下连接到横线 ── */
  .bobo-tl-year--top {
    align-self: end;
    margin-bottom: 16px;
  }
  .bobo-tl-year--top::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 3px;
    height: 18px;
    background: #0A84FF;
  }
  
  /* ── 偶数列年份（row 3）：贴顶 + 竖线向上连接到横线 ── */
  .bobo-tl-year--bot {
    align-self: start;
    margin-top: 16px;
  }
  .bobo-tl-year--bot::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 100%;
    transform: translateX(-50%);
    width: 3px;
    height: 18px;
    background: #1565c0;
  }
  
  /* ── 线下方的内容文字（row 3，奇数列） ── */
  .bobo-tl-desc--below {
    align-self: start;
    padding-top: 6px;
  }
  
  /* ── 线上方的内容文字（row 1，偶数列） ── */
  .bobo-tl-desc--above {
    align-self: end;
    padding-bottom: 6px;
  }
  
  /* =============================================================
     Timeline 移动端 — 单列垂直时间轴
     ============================================================= */
  @media (max-width: 767px) {
  
    .bobo-timeline {
      padding: 10px 0;
    }
  
    /* 组：变为单列 flex，左侧留空给竖线 */
    .bobo-tl-group {
      display: flex;
      flex-direction: column;
      position: relative;
      padding-left: 36px;
      margin-bottom: 0;
    }
  
    /* 左侧垂直蓝线 */
    .bobo-tl-group::before {
      content: '';
      position: absolute;
      left: 6px;
      top: 0;
      bottom: 0;
      width: 3px;
      background: #1565c0;
    }
  
    /* 隐藏桌面端横线和竖线 stub */
    .bobo-tl-line { display: none; }
    .bobo-tl-year--top::after { display: none !important; }
    .bobo-tl-year--bot::before { display: none !important; }
  
    /* 按 --tl-order 排回时间顺序 */
    .bobo-tl-year,
    .bobo-tl-desc {
      order: var(--tl-order);
    }
  
    /* ── 年份徽章：强制左对齐，覆盖桌面端 --top/--bot 的 align-self ── */
    .bobo-tl-year,
    .bobo-tl-year--top,
    .bobo-tl-year--bot {
      min-width: auto;
      width: fit-content;
      padding: 6px 18px;
      font-size: 14px;
      margin: 16px 0 0 0 !important;
      justify-self: start;
      align-self: flex-start !important;
      position: relative;
      box-shadow: 0 2px 8px rgba(13, 71, 161, 0.3);
    }

    /* 第一个徽章不需要上间距 */
    .bobo-tl-year[style*="--tl-order:0"] {
      margin-top: 0 !important;
    }
  
    /* 左侧圆点（用 box-shadow 模拟，避免 ::before/::after 冲突） */
    .bobo-tl-year--top::before,
    .bobo-tl-year--bot::after {
      content: '';
      position: absolute;
      left: -32px;
      top: 50%;
      transform: translateY(-50%);
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #fff;
      border: 3px solid #1565c0;
      box-shadow: none;
      z-index: 2;
      display: block !important;
    }
  
    /* ── 描述文字：强制左对齐，覆盖桌面端 --above/--below 的 align-self ── */
    .bobo-tl-desc,
    .bobo-tl-desc--below,
    .bobo-tl-desc--above {
      text-align: left;
      padding: 6px 0 0 0 !important;
      margin: 0;
      font-size: 13px;
      line-height: 1.6;
      color: #666;
      align-self: flex-start !important;
    }
    .galleryid-6328 .gallery-item{
      width:48% !important;
    }
  }
  
  /* ── 小屏进一步收紧 ── */
  @media (max-width: 480px) {
  
    .bobo-tl-group {
      padding-left: 30px;
    }
  
    .bobo-tl-year {
      font-size: 13px;
      padding: 5px 14px;
    }
  
    .bobo-tl-year--top::before,
    .bobo-tl-year--bot::after {
      left: -26px;
      width: 7px;
      height: 7px;
      border-width: 2px;
    }
  
    .bobo-tl-desc {
      font-size: 12px;
    }
  }
  
.footer-2 .e-con-inner {
  padding-top: 10px;
  border-top: 1px solid #80BFE5;
}
  
.elementor-element-fce065e, .elementor-element-fce065e .e-search-input {
  height:40px !important;
}
.elementor-element-fce065e .e-search-submit {
  margin-top:-5px;
}
select.gt_selector {
  height: 40px;
  margin-top: -5px;
  border-radius:8px;
}

.blue{
	color:#0A84FF;
}
.blue1 {
    position: relative; /* 必须有，才能定位小红点 */
	color:#0A84FF;
}

.blue1::after {
    content: '';
    position: absolute;
    top: 7px;          /* 距顶部距离，可调 */
    width: 10px;       /* 小方块大小 */
    height: 10px;
    background-color: #E50012;
    border-radius: 2px; /* 改成 50% 就变成圆点 */
    margin-left: 5px;
}

.content-box1 .elementor-image-box-title{
	border-left: 10px solid #0A84FF;
  padding-left: 5px;
  line-height: 10px;
  margin-bottom: 1rem !important;
}

/* Elementor Image Box Title 上方横线 */
.image-box3 .elementor-image-box-title ,.content-box2 .elementor-image-box-title {
    position: relative;
    padding-top: 20px; /* 给横线留出空间 */
}

.image-box3 .elementor-image-box-title::before,.content-box2 .elementor-image-box-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* 居中 */
    width: 15%; /* 横线长度，可调整 */
    height: 3px; /* 横线粗细 */
    background-color: #0A84FF; 
}
.image-box3 .elementor-image-box-img{
	padding: 10px;
  border: 2px solid #555;
  border-radius: 8px;
  aspect-ratio: 1/1;
  display: inline-grid !important;
  align-items: center;
  justify-items: center;
}


.list-con .elementor-icon-list-text{
   position: relative;
    padding-left: 15px; /* 给竖线留出空间 */
}


.list-con .elementor-icon-list-text::before{
  content: '';
    position: absolute;
    left: 0;
    top: 6px;
    bottom: auto;
    width: 4px;           /* 竖线宽度 */
    height: 1em;        /* 只在第一行高度，约等于一行字 */
    background-color: #0A84FF; /* 蓝色，可改 */
    border-radius: 2px;   /* 可选：圆角 */
}





/* =============================================================
   Search — [bobo_search] 点击展开浮层搜索框
   ============================================================= */

/* 外层定位锚点 */
.bobo-search-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* ── 触发按钮 ── */
.search-icon {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  position: relative;
  z-index: 10002;
  color: currentColor;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.search-icon:hover {
  background: rgba(0,0,0,.06);
}

/* 默认：显示放大镜，隐藏 X */
.search-icon .icon-search { display: flex; }
.search-icon .icon-close  { display: none; }

/* 激活：显示 X，隐藏放大镜 */
.search-icon.is-active .icon-search { display: none; }
.search-icon.is-active .icon-close  { display: flex; }

/* SVG 明确颜色，不依赖继承 */
.search-icon svg {
  display: block;
  stroke: currentColor !important;
  fill: none !important;
  width: 22px !important;
  height: 22px !important;
}

/* ── 搜索表单：默认折叠，展开后绝对定位浮在最上层 ── */
.search-form {
  position: absolute;
  right: 36px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10001;

  display: flex;
  align-items: center;
  gap: 6px;

  background: #fff;
  border: 1.5px solid #d8dde5;
  border-radius: 50px;
  box-shadow: 0 6px 28px rgba(0,0,0,.13);
  padding: 6px 8px 6px 18px;

  /* 折叠状态 */
  width: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    width   0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s  ease;
  white-space: nowrap;
  height: 36px;
}

/* 展开状态 */
.search-form.is-open {
  width: 200px;
  opacity: 1;
  pointer-events: auto;
  overflow: visible;
}

/* Input */
.search-form input[type="search"] {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  color: #333;
  padding: 0;
  line-height: 1.5;
  height: 36px;
}

.search-form input[type="search"]::placeholder {
  color: #aaa;
}

/* 表单内搜索提交按钮 */
.search-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  flex: 0 0 32px !important;   /* 禁止被 flex 拉伸或压缩 */
  border: none !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #555 !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  transition: color 0.2s, background 0.2s;
  line-height: 1 !important;
	min-height: 36px;
}

/* SVG 明确宽高，不依赖继承 */
.search-submit svg {
  display: block !important;
  stroke: #555 !important;
  fill: none !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  overflow: visible !important;
}

.search-submit:hover {
  color: #1565c0 !important;
  background: rgba(21, 101, 192, .08) !important;
}

.search-submit:hover svg {
  stroke: #1565c0 !important;
}


/* =============================================================
   Language Switcher — 纯旗帜下拉（gt-custom-flags.js 构建）
   ============================================================= */

/* 外层容器 */
.bobo-flags-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* 触发按钮：当前语言旗帜 + 箭头 */
.bobo-flags-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, .18);
  border-radius: 8px;
  padding: 5px 8px;
  line-height: 1;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bobo-flags-btn:hover {
  border-color: rgba(0, 0, 0, .35);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .1);
}

.bobo-flags-btn img {
  display: block;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
  width: 24px;
  height: 16px;
  object-fit: cover;
}

/* 小箭头 */
.bobo-flags-arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-left:  4px solid transparent;
  border-right: 4px solid transparent;
  border-top:   5px solid currentColor;
  opacity: .55;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.bobo-flags-switcher.is-open .bobo-flags-arrow {
  transform: rotate(180deg);
}

/* 下拉面板 */
.bobo-flags-panel {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  z-index: 99999;

  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;

  background: #fff;
  border: 1px solid rgba(0, 0, 0, .1);
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .16);

  min-width: 100px;
  max-width: 220px;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.bobo-flags-switcher.is-open .bobo-flags-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* 每个旗帜选项 */
.bobo-flags-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 2px;
  opacity: .65;
  transition: opacity 0.15s, transform 0.15s, border-color 0.15s;
}

.bobo-flags-option:hover {
  opacity: 1;
  transform: scale(1.12);
}

.bobo-flags-option.is-active {
  opacity: 1;
  border-color: #0A84FF;
}

.bobo-flags-option img {
  display: block;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .22);
  width: 28px;
  height: 19px;
  object-fit: cover;
}

/* 移动端 */
@media (max-width: 767px) {
  .search-form.is-open {
    width: 180px;
    right: 40px;
  }

  .search-form {
    padding: 5px 6px 5px 14px;
  }

  .search-form input[type="search"] {
    font-size: 13px;
  }
	.bobo-flags-btn{
		padding: 8px 20px 8px 8px;
	}
	.bobo-flags-panel{
		left: -35%;
	}
}

