.rc-acc2{ width:100%; }
.rc-acc2__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rc-gap, 36px);
}
@media (max-width: 1024px){
  .rc-acc2__grid{ grid-template-columns: 1fr; }
}

.rc-acc2__list{
  border-top: var(--rc-line-width, 1px) solid var(--rc-line-color, #222);
}

.rc-acc2__item{
    padding: var(--rc-row-pad-y, 22px) 0;
}

.rc-acc2__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
}

.rc-acc2__title-btn{
  appearance:none;
  border:0;
  background:transparent;
  padding:0;
  margin:0;
  cursor:pointer;
  text-align:left;
  flex: 1 1 auto;
  font-weight: var(--rc-title-weight, 900);
  font-size: var(--rc-title-size, 22px);
  text-transform: uppercase;
  color: var(--rc-title-color, #111);
}

.rc-acc2__item.is-open .rc-acc2__title-btn{
  color: var(--rc-title-color-active, #111);
}

.rc-acc2__icon-link{
  flex: 0 0 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: var(--rc-icon-box, 42px);
  height: var(--rc-icon-box, 42px);
  border: var(--rc-icon-border, 0px) solid var(--rc-icon-border-color, #111);
  color: var(--rc-icon-color, #111);
  text-decoration:none;
}

.rc-acc2__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 1em;
  height: 1em;
  font-size: var(--rc-icon-size, 20px);
}

.rc-acc2__icon-open{ display:none; }
.rc-acc2__item.is-open .rc-acc2__icon-closed{ display:none; }
.rc-acc2__item.is-open .rc-acc2__icon-open{ display:inline; }

.rc-acc2__panel{
  max-height: 0;
  overflow: hidden;
  transition: max-height .22s ease, opacity .18s ease;
  opacity: 0;
}

.rc-acc2__item.is-open .rc-acc2__panel{
  opacity: 1;
}

.rc-acc2__excerpt{
  margin: 14px 0 0;
  font-size: var(--rc-excerpt-size, 16px);
  line-height: 1.55;
  color: var(--rc-excerpt-color, #111);
  max-width: var(--rc-excerpt-maxw, 580px);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* v1.0.1: equalize rows between columns */
.rc-acc2__rows{
  display:flex;
  flex-direction:column;
}

.rc-acc2__rowpair{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rc-gap, 36px);
}

@media (max-width: 1024px){
  .rc-acc2__rowpair{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--rc-gap, 36px);
}
}

.rc-acc2__cell{
  padding: 0;
}

.rc-acc2__rows .rc-acc2__item{
    padding: var(--rc-row-pad-y, 22px) 0;
}

.rc-acc2__list{
  display:none;
  border:0;
}

/* v1.0.2: separators per item (not continuous across both columns) */
.rc-acc2__rows .rc-acc2__item{
  border-top: var(--rc-line-width, 1px) solid var(--rc-line-color, #222);
  border-bottom: var(--rc-line-width, 1px) solid var(--rc-line-color, #222);
}

/* avoid double borders between rows */
.rc-acc2__rows .rc-acc2__rowpair + .rc-acc2__rowpair .rc-acc2__item{
  border-top: none;
}

/* no hover styling for titles */
.rc-acc2__title-btn:hover,
.rc-acc2__title-btn:focus,
.rc-acc2__title-btn:focus-visible{
  background: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

/* v1.0.3: force NO hover styling on titles (prevents theme/elementor overrides) */
.rc-acc2__title-btn,
.rc-acc2__title-btn:hover,
.rc-acc2__title-btn:active,
.rc-acc2__title-btn:focus,
.rc-acc2__title-btn:focus-visible{
  background: transparent !important;
  color: var(--rc-title-color, #111) !important;
  opacity: 1 !important;
  outline: none !important;
  box-shadow: none !important;
}
.rc-acc2__item.is-open .rc-acc2__title-btn,
.rc-acc2__item.is-open .rc-acc2__title-btn:hover{
  color: var(--rc-title-color-active, #111) !important;
}

/* v1.0.4: make title toggle area fully clickable */
.rc-acc2__title-btn{ display:block; width:100%; }

/* v1.0.5: keep separators aligned even when fonts/wrapping differ */
.rc-acc2__rowpair{
  align-items: stretch;
}
.rc-acc2__cell{
  display: flex;
  align-items: stretch;
}
.rc-acc2__cell .rc-acc2__item{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
/* ensure the separator is at the very bottom of each cell */
.rc-acc2__cell .rc-acc2__item{
  position: relative;
  border-bottom: none !important;
  border-top: none !important;
}
.rc-acc2__cell .rc-acc2__item::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height: var(--rc-line-width, 1px);
  background: var(--rc-line-color, #222);
}
/* top separator per item */
.rc-acc2__cell .rc-acc2__item::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height: var(--rc-line-width, 1px);
  background: var(--rc-line-color, #222);
}
/* avoid double top line: remove top line for rows after first */
.rc-acc2__rowpair + .rc-acc2__rowpair .rc-acc2__item::before{
  display:none;
}
