/* Trikala Benefits — front-end. Everything is scoped under .tpb so it won't fight the theme / Elementor.
   Override the variables below from Elementor > Custom CSS if you want a different default look. */
.tpb {
  --tpb-blue: #003f88; --tpb-blue2: #007dc6; --tpb-orange: #f26b1d; --tpb-navy: #061a3a;
  --tpb-ink: #14213a; --tpb-muted: #5d6b82; --tpb-bg: #f3f6fb; --tpb-line: #dde4ef; --tpb-r: 18px;
  --tpb-top: 0px;
  font-family: inherit; color: var(--tpb-ink); line-height: 1.55; box-sizing: border-box;
  --tpb-hover: #007dc6;
  max-width: 1200px; margin: 0 auto; padding: 0; /* spacing is controlled from Elementor */
}
.tpb *, .tpb *::before, .tpb *::after { box-sizing: border-box; }
.tpb button { font-family: inherit; }
.tpb .tpb-ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.15em; }
.tpb .tpb-img { width: 100%; height: 100%; object-fit: contain; display: block; border-radius: 6px; }

/* search */
.tpb-searchwrap { max-width: 760px; margin: 0 auto 28px; }
.tpb--overlap .tpb-searchwrap { margin-top: -60px; position: relative; z-index: 5; }
.tpb-search { display: flex; align-items: center; gap: 14px; background: #fff; border: 2px solid var(--tpb-line); border-radius: 999px; padding: 4px 22px; font-size: 1.5rem; color: var(--tpb-blue2); box-shadow: 0 16px 40px rgba(6,26,58,.16); transition: .15s; margin: 0; }
.tpb-search:focus-within { border-color: var(--tpb-orange); box-shadow: 0 16px 40px rgba(6,26,58,.16), 0 0 0 5px rgba(242,107,29,.22); }
.tpb-search input.tpb-q { flex: 1; min-width: 0; border: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important; font: inherit; font-size: 1.05rem; color: var(--tpb-ink); padding: 15px 0; margin: 0; height: auto; }
.tpb-search kbd { font: inherit; font-weight: 700; font-size: 13px; color: var(--tpb-muted); border: 1px solid var(--tpb-line); border-bottom-width: 2px; border-radius: 6px; padding: 2px 9px; background: #fff; }
.tpb-meta { display: flex; justify-content: space-between; margin-top: 10px; padding: 0 12px; color: var(--tpb-muted); font-size: 14px; }
.tpb-reset { background: none; border: 0; padding: 0; font-weight: 700; color: var(--tpb-blue); cursor: pointer; text-decoration: underline; }

/* tab bar */
.tpb-tabbar { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 28px; padding: 10px 0; }
.tpb--sticky .tpb-tabbar { position: sticky; top: var(--tpb-top); z-index: 20; background: linear-gradient(#fff 80%, rgba(255,255,255,0)); }
.tpb-tab { position: relative; display: grid; justify-items: center; gap: 6px; padding: 36px 10px 34px; border: 2px solid transparent; border-radius: var(--tpb-r); background: #fff; color: var(--tpb-navy); cursor: pointer; transition: .2s; box-shadow: 0 4px 16px rgba(6,26,58,.1); margin: 0; }
.tpb-tab:hover, .tpb-tabbar.dim .tpb-tab.on:hover { transform: translateY(-3px); background: var(--tpb-hover); border-color: var(--tpb-hover); color: #fff; }
.tpb-tab:hover .tpb-tab-ic, .tpb-tabbar.dim .tpb-tab.on:hover .tpb-tab-ic { color: #fff; }
.tpb-tab:hover em, .tpb-tabbar.dim .tpb-tab.on:hover em, .tpb-tabbar .tpb-tab.has:hover em { background: rgba(255,255,255,.22); color: #fff; }
.tpb-tab.on:hover::after { border-top-color: var(--tpb-hover); }
.tpb-tab-ic { font-size: 1.9rem; color: var(--c); display: grid; width: 1.9rem; height: 1.9rem; place-items: center; }
.tpb-tab-t { font-weight: 700; font-size: 15px; text-align: center; line-height: 1.25; }
.tpb-tab em { position: absolute; top: 10px; right: 12px; font-style: normal; font-size: 12px; font-weight: 700; color: var(--tpb-muted); background: var(--tpb-bg); border-radius: 999px; padding: 1px 8px; }
.tpb-tab.on { background: var(--c); color: #fff; border-color: var(--c); box-shadow: 0 14px 30px rgba(6,26,58,.28); }
.tpb-tab.on .tpb-tab-ic { color: #fff; }
.tpb-tab.on em { background: var(--tpb-orange); color: #fff; }
.tpb-tab.on::after { content: ''; position: absolute; bottom: -10px; left: 50%; margin-left: -9px; border: 9px solid transparent; border-top-color: var(--c); border-bottom: 0; }
.tpb-tabbar.dim .tpb-tab.on { background: #fff; color: var(--tpb-navy); border-color: transparent; box-shadow: 0 4px 16px rgba(6,26,58,.1); }
.tpb-tabbar.dim .tpb-tab.on::after { display: none; }
.tpb-tabbar.dim .tpb-tab.on .tpb-tab-ic { color: var(--c); }
.tpb-tabbar.dim .tpb-tab.on em { background: var(--tpb-bg); color: var(--tpb-muted); }
.tpb-tabbar .tpb-tab.has em { background: var(--tpb-orange); color: #fff; }

/* panel */
.tpb-panel { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: start; }
.tpb-panel[hidden] { display: none; }
.tpb-side { position: relative; overflow: hidden; border-radius: 24px; padding: 38px; color: #fff; min-height: 400px; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--c); background: linear-gradient(150deg, var(--c), color-mix(in srgb, var(--c) 45%, #061a3a)); }
.tpb--sticky .tpb-side { position: sticky; top: calc(var(--tpb-top) + 130px); }
.tpb-side::before { content: ''; position: absolute; inset: 0; background: radial-gradient(80% 60% at 100% 0%, rgba(255,255,255,.2), transparent 60%); pointer-events: none; }
.tpb-num { position: absolute; top: 10px; right: 24px; font-size: 7rem; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.4); }
.tpb-bigic { font-size: 4.6rem; margin-bottom: 18px; display: grid; width: 4.6rem; height: 4.6rem; place-items: center; position: relative; }
.tpb-bigic .tpb-img { filter: none; }
.tpb-side h3 { margin: 0 0 8px; color: #fff; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.15; position: relative; }
.tpb-side p { margin: 0 0 22px; color: rgba(255,255,255,.85); position: relative; }
.tpb-nav { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.tpb-nav button { font-weight: 700; font-size: 14px; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); padding: 9px 16px; border-radius: 999px; cursor: pointer; margin: 0; }
.tpb-nav button:hover { background: #fff; color: var(--c); }

/* accordion */
.tpb-acc { display: grid; gap: 12px; }
.tpb-acc details { background: #fff; border-radius: var(--tpb-r); border: 1px solid var(--tpb-line); overflow: hidden; transition: .2s; }
.tpb-acc details[open]:not(.tpb-closing) { box-shadow: 0 14px 34px rgba(6,26,58,.12); border-color: var(--c); }
.tpb-acc details, .tpb-res { position: relative; overflow: hidden; }
.tpb-acc summary { position: relative; z-index: 1; list-style: none; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 20px 22px; cursor: pointer; }
/* category icon as a large, half-transparent watermark in the top-left corner, clipped by the container */
.tpb-wm { position: absolute; top: -25px; left: -18px; width: 64px; height: 64px; opacity: .1; color: var(--c, var(--tpb-blue)); pointer-events: none; z-index: 0; display: block; }
.tpb-wm .tpb-ic, .tpb-wm .tpb-img { width: 100%; height: 100%; display: block; object-fit: contain; }
.tpb-acc-x, .tpb-res-m, .tpb-res-tag { position: relative; z-index: 1; }
.tpb-acc summary::-webkit-details-marker { display: none; }
.tpb-acc-t { font-weight: 700; color: var(--tpb-navy); font-size: 1.08rem; }
.tpb-acc-x { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--tpb-bg); color: var(--tpb-blue); transition: .2s; line-height: 0; }
.tpb-acc-x svg { width: 14px; height: 14px; display: block; transition: transform .32s cubic-bezier(.4, 0, .2, 1); }
.tpb-acc details[open]:not(.tpb-closing) .tpb-acc-x { background: var(--tpb-orange); color: #fff; }
.tpb-acc details[open]:not(.tpb-closing) .tpb-acc-x svg { transform: rotate(45deg); } /* + becomes a perfectly centred × */
.tpb-acc-body { position: relative; z-index: 1; padding: 0 22px 24px; color: var(--tpb-muted); font-size: 1.02rem; }
.tpb-acc-body p { margin: 0 0 .6em; } .tpb-acc-body p:last-child { margin: 0; }

.tpb .tpb-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 20px; border-radius: 999px; background: var(--c, var(--tpb-blue)); color: #fff !important; font-weight: 700; font-size: .95rem; text-decoration: none !important; transition: .2s; }
.tpb .tpb-link:hover { background: var(--tpb-orange); transform: translateX(3px); }

/* search results */
.tpb-results { display: grid; gap: 12px; }
.tpb-results[hidden] { display: none; }
.tpb-res { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; text-align: left; color: var(--tpb-ink); cursor: pointer; background: #fff; border: 1px solid var(--tpb-line); border-radius: var(--tpb-r); padding: 16px 20px; transition: .2s; margin: 0; }
.tpb-res[hidden] { display: none; }
.tpb-res:hover { background: var(--tpb-hover); border-color: var(--tpb-hover); box-shadow: 0 14px 32px rgba(0,125,198,.3); transform: translateX(4px); }
.tpb-res:hover .tpb-res-m b, .tpb-res:hover .tpb-res-m small { color: #fff; }
.tpb-res:hover .tpb-wm { color: #fff; }
.tpb-res:hover .tpb-res-tag { background: rgba(255,255,255,.22); color: #fff; }
.tpb-res:hover mark { background: rgba(255,255,255,.3); }
.tpb-res-m b { display: block; font-size: 1.08rem; color: var(--tpb-navy); }
.tpb-res-m small { display: block; color: var(--tpb-muted); font-size: .95rem; margin-top: 2px; }
.tpb-res mark { background: #ffe3cf; color: inherit; border-radius: 3px; padding: 0 2px; }
.tpb-res-tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; white-space: nowrap; background: var(--tpb-bg); color: var(--c); }
.tpb-empty { text-align: center; color: var(--tpb-muted); padding: 50px 0; font-size: 1.1rem; }
.tpb-none { text-align: center; color: #5d6b82; }

@media (max-width: 900px) {
  .tpb-panel { grid-template-columns: 1fr; }
  .tpb-side { min-height: 260px; position: static !important; }
  .tpb-tabbar { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; }

  .tpb-search { font-size: 1.25rem; } .tpb-search kbd { display: none; }
  .tpb-res { grid-template-columns: 1fr; } .tpb-res-tag { display: none; }
  .tpb-num { font-size: 4.5rem; }
}
@media (prefers-reduced-motion: reduce) { .tpb * { transition: none !important; animation: none !important; } }

/* custom SVG/HTML icons from the admin: make them fill their slot and inherit the category colour */
.tpb-tab-ic > *, .tpb-bigic > *, .tpb-wm > * { max-width: 100%; max-height: 100%; }
.tpb-tab-ic svg, .tpb-bigic svg, .tpb-wm svg { width: 100%; height: 100%; display: block; }
.tpb-tab-ic i, .tpb-bigic i, .tpb-wm i { font-size: inherit; line-height: 1; }

/* list <-> cards switch */
.tpb-viewbar { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.tpb-view { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 999px; border: 2px solid var(--tpb-line); background: #fff; color: var(--tpb-blue); font-weight: 700; font-size: .95rem; cursor: pointer; transition: .2s; margin: 0; }
.tpb-view:hover { background: var(--tpb-hover); border-color: var(--tpb-hover); color: #fff; }
.tpb-view-ic { display: inline-grid; width: 18px; height: 18px; }
.tpb-view-ic svg { width: 100%; height: 100%; }
.tpb-view-ic--list { display: none; }
.tpb--cards .tpb-view-ic--cards { display: none; }
.tpb--cards .tpb-view-ic--list { display: inline-grid; }

/* cards view: every benefit fully expanded as its own tile */
.tpb--cards .tpb-acc { grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: stretch; }
.tpb--cards .tpb-acc details { box-shadow: 0 8px 24px rgba(6,26,58,.08); }
.tpb--cards .tpb-acc details:hover { box-shadow: 0 14px 34px rgba(6,26,58,.14); }
.tpb--cards .tpb-acc summary { grid-template-columns: 1fr; padding: 26px 24px 8px; cursor: default; pointer-events: none; }
.tpb--cards .tpb-acc-x { display: none; }
.tpb--cards .tpb-acc-t { font-size: 1.15rem; line-height: 1.25; }
.tpb--cards .tpb-acc-body { padding: 0 24px 26px; }

/* cards view: category banner on top (full width), 2x2 grid of cards underneath */
.tpb--cards .tpb-panel { grid-template-columns: 1fr; gap: 20px; }
.tpb--cards .tpb-side { position: relative !important; top: auto !important; min-height: 0; padding: 30px 150px 30px 38px; display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "ic t nav" "ic p nav"; align-items: center; column-gap: 28px; row-gap: 4px; }
.tpb--cards .tpb-bigic { grid-area: ic; margin: 0; font-size: 3.6rem; width: 3.6rem; height: 3.6rem; }
.tpb--cards .tpb-side h3 { grid-area: t; margin: 0; align-self: end; }
.tpb--cards .tpb-side p { grid-area: p; margin: 0; align-self: start; }
.tpb--cards .tpb-nav { grid-area: nav; justify-content: flex-end; }
.tpb--cards .tpb-num { font-size: 5rem; top: 14px; right: 26px; }

/* HTML content inside a benefit (lists, links, images, headings, tables, quotes) */
.tpb-acc-body ul, .tpb-acc-body ol { margin: .4em 0 .8em; padding-left: 1.3em; }
.tpb-acc-body li { margin: .2em 0; }
.tpb-acc-body a:not(.tpb-link) { color: var(--c, var(--tpb-blue)); text-decoration: underline; }
.tpb-acc-body strong, .tpb-acc-body b { color: var(--tpb-ink); }
.tpb-acc-body img { max-width: 100%; height: auto; border-radius: 10px; margin: .4em 0; }
.tpb-acc-body h1, .tpb-acc-body h2, .tpb-acc-body h3, .tpb-acc-body h4, .tpb-acc-body h5 { margin: .7em 0 .3em; font-size: 1.05rem; color: var(--tpb-navy); line-height: 1.3; }
.tpb-acc-body blockquote { margin: .6em 0; padding: .2em 0 .2em 1em; border-left: 3px solid var(--c, var(--tpb-blue)); color: var(--tpb-ink); }
.tpb-acc-body table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.tpb-acc-body th, .tpb-acc-body td { border: 1px solid var(--tpb-line); padding: 6px 10px; text-align: left; }
.tpb-acc-body .alignleft { float: left; margin: 0 14px 8px 0; } .tpb-acc-body .alignright { float: right; margin: 0 0 8px 14px; }
.tpb-acc-body::after { content: ''; display: block; clear: both; }

@media (max-width: 900px) {
  .tpb--cards .tpb-acc { grid-template-columns: 1fr; }
  .tpb--cards .tpb-side { padding: 26px 24px; grid-template-columns: auto 1fr; grid-template-areas: "ic t" "ic p" "nav nav"; row-gap: 6px; }
  .tpb--cards .tpb-nav { justify-content: flex-start; margin-top: 10px; }
  .tpb--cards .tpb-num { font-size: 3.4rem; }
}
