.f2f-clear {
  clear: both;
}

.f2f-ad-block {
  margin: 1.5rem 0;
}

.f2f-box {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-left-width: 4px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  background-color: #fff;
  position: relative;
}

.f2f-box.shadow {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.f2f-box.f2f-box-inner,
.f2f-box-inner {
  display: block;
}

.f2f-full-width-img {
  display: block;
  margin: 2rem 0;
}

.f2f-full-width-img img,
.f2f-full-width-img figure {
  width: 100%;
  display: block;
}

.f2f-toggle {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  margin: 1.5rem 0;
  overflow: hidden;
}

.f2f-toggle-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  padding: 0.85rem 1.2rem;
  background: #f7f9fc;
  font-weight: 600;
}

.f2f-toggle-head:focus {
  outline: 2px solid rgba(59, 130, 246, 0.6);
  outline-offset: -2px;
}

.f2f-toggle-icon {
  transition: transform 0.25s ease;
  margin-left: 0.75rem;
  border: 0;
  width: 10px;
  height: 10px;
  position: relative;
}

.f2f-toggle-icon::before,
.f2f-toggle-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px;
  height: 2px;
  background: currentColor;
  transform: translateY(-50%);
}

.f2f-toggle-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.f2f-toggle.is-open .f2f-toggle-icon::after {
  opacity: 0;
}

.f2f-toggle-content {
  padding: 1.2rem 1.2rem 1.4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.f2f-toggle:not(.is-open) .f2f-toggle-content {
  display: none;
}

.f2f-author-box {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  background: #fff;
  margin: 2rem 0;
}

.f2f-author-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
}

.f2f-button {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.6rem 1.4rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin: 0.4rem 0.5rem 0.4rem 0;
}

.f2f-button:hover,
.f2f-button:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.f2f-button.small {
  font-size: 0.85rem;
}

.f2f-button.large {
  font-size: 1.05rem;
  padding: 0.8rem 1.8rem;
}

.f2f-button.gray {
  background: #f1f5f9;
  color: #1f2937;
}

.f2f-button.blue {
  background: #2563eb;
  color: #fff;
}

.f2f-button.green {
  background: #16a34a;
  color: #fff;
}

.f2f-button.red {
  background: #dc2626;
  color: #fff;
}

.f2f-list {
  margin: 1.5rem 0;
  padding-left: 1.5rem;
}

.f2f-list li {
  margin: 0.4rem 0;
}

.f2f-list-checklist li::marker {
  content: '✔ ';
  color: #16a34a;
}

.f2f-list-starlist li::marker {
  content: '★ ';
  color: #f59e0b;
}

.f2f-highlight {
  background: #fef08a;
  padding: 0.15rem 0.35rem;
  border-radius: 3px;
}

.f2f-highlight.highlight-yellow {
  background: #fef08a;
}

.f2f-highlight.highlight-blue {
  background: #bfdbfe;
}

.f2f-dropcap {
  float: left;
  font-size: 3.2rem;
  line-height: 1;
  margin-right: 0.75rem;
  font-weight: 700;
  color: #2563eb;
}

.f2f-padding {
  margin: 1.5rem 0;
}

.f2f-divider {
  height: 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  margin: 2rem 0;
}

.f2f-divider.divider-dashed {
  border-top-style: dashed;
}

.f2f-divider.divider-double {
  border-top-width: 3px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 1px;
}

.f2f-tabs {
  margin: 2rem 0;
}

.f2f-tabs-horizontal .f2f-tabs-nav {
  flex-direction: row;
}

.f2f-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  margin: 0;
  padding: 0;
  list-style: none;
}

.f2f-tabs-nav li {
  margin: 0;
  padding: 0;
}

.f2f-tabs-nav button,
.f2f-tabs-nav li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  cursor: pointer;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 600;
}

.f2f-tabs-nav li.is-active {
  border-bottom-color: #2563eb;
  color: #2563eb;
}

.f2f-tab-pane {
  display: none;
  padding: 1.4rem 0.5rem;
}

.f2f-tab-pane.is-active {
  display: block;
}

.f2f-tabs-vertical {
  display: flex;
  gap: 1.5rem;
}

.f2f-tabs-vertical .f2f-tabs-nav {
  flex-direction: column;
  border-bottom: none;
  border-right: 1px solid rgba(15, 23, 42, 0.08);
}

.f2f-tabs-vertical .f2f-tabs-nav li {
  border-bottom: none;
  border-right: 3px solid transparent;
}

.f2f-tabs-vertical .f2f-tabs-nav li.is-active {
  border-right-color: #2563eb;
}

.f2f-tabs-vertical .f2f-tab-pane {
  padding-left: 0;
}

.f2f-tooltip {
  position: relative;
  cursor: help;
  text-decoration: underline dotted;
}

.f2f-slideshow-outer {
  margin: 2rem 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

.f2f-slideshow {
  position: relative;
}

.f2f-slideshow-inner > * {
  width: 100%;
}

.f2f-slideshow-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.f2f-slideshow-nav-bottom {
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  border-bottom: none;
}

.f2f-slideshow-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.f2f-slideshow-pager a {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.2);
  display: inline-flex;
  text-indent: -9999px;
}

.f2f-slideshow-pager a.cycle-pager-active {
  background: #2563eb;
}

.f2f-slideshow-prev,
.f2f-slideshow-next {
  border: none;
  background: #2563eb;
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.85rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.f2f-slideshow-prev:hover,
.f2f-slideshow-next:hover {
  background: #1d4ed8;
}

.f2f-tooltip::before {
  content: attr(title);
  position: absolute;
  opacity: 0;
  visibility: hidden;
  background: #1f2937;
  color: #fff;
  padding: 0.45rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
  z-index: 10;
}

.f2f-tooltip:hover::before,
.f2f-tooltip:focus::before {
  opacity: 1;
  visibility: visible;
  transform: translateY(-12px);
}

.f2f-tooltip.tooltip-s::before {
  transform: translateY(8px);
  bottom: auto;
  top: 100%;
}

.f2f-tooltip.tooltip-e::before,
.f2f-tooltip.tooltip-w::before {
  top: 50%;
  transform: translateY(-50%) translateX(8px);
}

.f2f-tooltip.tooltip-w::before {
  right: 100%;
  transform: translateY(-50%) translateX(-8px);
}

.f2f-col {
  float: left;
  margin-right: 4%;
  margin-bottom: 1.5rem;
}

.f2f-col.last {
  margin-right: 0;
}

.f2f-col.one-half {
  width: 48%;
}

.f2f-col.one-third {
  width: 30.6667%;
}

.f2f-col.two-third {
  width: 65.3333%;
}

.f2f-col.one-fourth {
  width: 22%;
}

.f2f-col.three-fourth {
  width: 74%;
}

.f2f-col.one-fifth {
  width: 17.6%;
}

.f2f-col.two-fifth {
  width: 39.2%;
}

.f2f-col.three-fifth {
  width: 60.8%;
}

.f2f-col.four-fifth {
  width: 82.4%;
}

.f2f-col.one-sixth {
  width: 13.3333%;
}

.f2f-col.five-sixth {
  width: 82.6667%;
}

.f2f-google-map {
  margin: 1.5rem 0;
}

.f2f-google-map iframe {
  border: none;
  width: 100%;
  max-width: 100%;
}

.f2f-feed-items {
  list-style: none;
  padding-left: 0;
}

.f2f-feed-items li {
  margin: 0.75rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.f2f-feed-items li:last-child {
  border-bottom: none;
}

.f2f-feed-date {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.25rem;
}

@media (max-width: 880px) {
  .f2f-col,
  .f2f-col.last {
    width: 100% !important;
    margin-right: 0;
  }

  .f2f-tabs-vertical {
    flex-direction: column;
  }

  .f2f-tabs-vertical .f2f-tabs-nav {
    flex-direction: row;
    border-right: none;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  }
}

