/* ==========================================================================
   Inner pages – page heroes, filters, detail pages, articles, forms
   ========================================================================== */

/* ---------- Page hero ---------- */
.tc-page-hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: 40px 0 44px;
  background: radial-gradient(circle at 90% 0%, rgba(255, 138, 31, .22), transparent 40%), linear-gradient(135deg, #0b1f3a, #123a70);
}
@media (min-width: 992px) { .tc-page-hero { padding: 56px 0 60px; } }
.tc-page-hero--image { background: var(--tc-navy); }
.tc-page-hero--image::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 22, 44, .92), rgba(8, 22, 44, .6)); }
.tc-page-hero--tall { padding: 72px 0 64px; }
@media (min-width: 992px) { .tc-page-hero--tall { padding: 120px 0 72px; } }
.tc-page-hero--dark { background: radial-gradient(circle at 90% 0%, rgba(255, 0, 51, .25), transparent 40%), #07162b; }
.tc-page-hero--alert { background: radial-gradient(circle at 90% 0%, rgba(225, 29, 72, .35), transparent 45%), linear-gradient(135deg, #0b1f3a, #3b0f22); }
.tc-page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.tc-page-hero__title { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem); font-weight: 800; margin: .5rem 0 .6rem; line-height: 1.08; max-width: 900px; }
.tc-page-hero__lead { color: rgba(255, 255, 255, .82); font-size: 1.08rem; max-width: 680px; }
.tc-page-hero__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--tc-saffron); color: #fff; display: grid; place-items: center; font-size: 1.5rem; margin: 0; }
.tc-page-hero .tc-badge--static { margin-bottom: .25rem; }
.tc-hero-call { color: #fff; font-weight: 800; font-size: 1.25rem; background: var(--tc-rose); padding: .1rem .7rem; border-radius: 10px; }
.tc-hero-call:hover { color: #fff; background: #be123c; }

.tc-inline-search { position: relative; display: flex; gap: .5rem; max-width: 620px; margin-top: 1.25rem; background: #fff; border-radius: 16px; padding: 6px 6px 6px 44px; box-shadow: var(--tc-shadow-lg); }
.tc-inline-search > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--tc-muted); }
.tc-inline-search input { flex: 1; border: 0; outline: 0; min-width: 0; font-size: 1rem; }
.tc-inline-search .btn { min-height: 44px; }

/* ---------- Filter bar ---------- */
.tc-filter-bar { position: sticky; top: var(--tc-header-h); z-index: 1010; background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--tc-line); padding: .75rem 0; }
@media (min-width: 992px) { .tc-filter-bar { top: calc(var(--tc-header-h) + 31px); } }
.tc-sort { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.tc-sort .form-select { min-height: 40px; border-radius: 999px; min-width: 150px; }
.tc-segment { display: inline-flex; background: var(--tc-bg); border-radius: 999px; padding: 4px; flex-shrink: 0; }
.tc-segment button { border: 0; background: none; padding: .45rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--tc-muted); min-height: 36px; }
.tc-segment button.active { background: #fff; color: var(--tc-navy); box-shadow: var(--tc-shadow-sm); }
.tc-results-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.25rem; color: var(--tc-muted); font-weight: 500; }

/* ---------- Detail layout ---------- */
.tc-detail { padding-top: 28px; padding-bottom: 64px; }
.tc-sidebar { position: sticky; top: calc(var(--tc-header-h) + 50px); display: grid; gap: 1.25rem; }
.tc-panel { background: #fff; border-radius: var(--tc-radius); padding: 1.4rem; border: 1px solid var(--tc-line); box-shadow: var(--tc-shadow-sm); margin-bottom: 1.25rem; }
.tc-sidebar .tc-panel { margin-bottom: 0; }
.tc-panel__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; }
.tc-panel__title i { color: var(--tc-saffron); }
.tc-panel--brand { background: radial-gradient(circle at 100% 0%, rgba(255, 138, 31, .3), transparent 45%), linear-gradient(135deg, #0b63e5, #0b1f3a); color: #fff; border: 0; }
.tc-info-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .8rem; }
.tc-info-list li { display: flex; gap: .75rem; align-items: flex-start; font-size: .94rem; }
.tc-info-list i { width: 34px; height: 34px; border-radius: 10px; background: var(--tc-blue-50); color: var(--tc-blue); display: grid; place-items: center; flex-shrink: 0; }
.tc-info-list span, .tc-info-list a { padding-top: 6px; word-break: break-word; }
.tc-hours { list-style: none; padding: 0; margin: 0; }
.tc-hours li { display: flex; justify-content: space-between; padding: .5rem .6rem; border-radius: 8px; font-size: .92rem; }
.tc-hours li:nth-child(odd) { background: var(--tc-bg); }
.tc-hours li.today { background: var(--tc-blue-50); color: var(--tc-blue); font-weight: 700; }
.tc-benefits { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.tc-benefits i { color: #86efac; margin-right: .5rem; }
.tc-note { display: flex; gap: .75rem; align-items: flex-start; background: var(--tc-saffron-50); border-radius: 14px; padding: 1rem 1.2rem; color: #7c3d00; }
.tc-note i { color: var(--tc-saffron); font-size: 1.2rem; }

/* ---------- Article ---------- */
.tc-article__title { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); font-weight: 800; line-height: 1.12; margin: 1rem 0 .75rem; }
.tc-article__standfirst { font-size: 1.15rem; color: var(--tc-muted); line-height: 1.6; }
.tc-article__byline { display: flex; flex-wrap: wrap; gap: .8rem 1rem; align-items: center; padding: 1rem 0; border-top: 1px solid var(--tc-line); border-bottom: 1px solid var(--tc-line); margin: 1.25rem 0 1.5rem; }
.tc-article__byline strong { display: block; font-size: .95rem; }
.tc-article__figure { margin: 0 0 1.75rem; }
.tc-article__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--tc-radius); }
.tc-article__figure figcaption { font-size: .85rem; color: var(--tc-muted); margin-top: .5rem; }
.tc-article__share { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; background: var(--tc-blue-50); border-radius: var(--tc-radius); padding: 1rem 1.25rem; margin-top: 2rem; }
.tc-prose { font-size: 1.08rem; line-height: 1.8; color: #243449; }
.tc-prose p { margin-bottom: 1.2rem; }
.tc-prose h2, .tc-prose h3 { margin: 2rem 0 .75rem; font-weight: 700; }
.tc-prose h2 { font-size: 1.6rem; }
.tc-prose h3 { font-size: 1.3rem; }
.tc-prose ul { padding-left: 1.2rem; margin-bottom: 1.2rem; }
.tc-prose li { margin-bottom: .4rem; }
.tc-prose-text { font-size: 1.02rem; line-height: 1.75; color: #243449; }
.tc-panel .tc-prose { font-size: 1rem; }

/* ---------- Business profile ---------- */
.tc-profile { background: #fff; border-radius: var(--tc-radius-lg); box-shadow: var(--tc-shadow); overflow: hidden; border: 1px solid var(--tc-line); }
.tc-profile__cover { position: relative; display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 16 / 7; background: #e8eef7; overflow: hidden; }
@media (max-width: 575.98px) { .tc-profile__cover { aspect-ratio: 16 / 10; } }
.tc-profile__cover img { width: 100%; height: 100%; object-fit: cover; }
.tc-profile__photos { position: absolute; right: 14px; bottom: 14px; background: rgba(11, 31, 58, .8); color: #fff; padding: .4rem .75rem; border-radius: 10px; font-size: .85rem; font-weight: 600; }
.tc-profile__head { display: flex; gap: 1.1rem; align-items: flex-start; padding: 0 1.5rem; margin-top: -36px; position: relative; }
.tc-profile__logo { width: 88px; height: 88px; border-radius: 24px; border: 5px solid #fff; background: var(--tone-bg); color: var(--tone); display: grid; place-items: center; font-family: var(--tc-font-display); font-weight: 800; font-size: 2.2rem; flex-shrink: 0; box-shadow: var(--tc-shadow); }
.tc-profile__head > div { padding-top: 44px; }
.tc-profile__name { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.2rem); font-weight: 800; margin: .5rem 0 .4rem; }
.tc-profile__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; align-items: center; color: var(--tc-muted); font-size: .9rem; }
.tc-profile__actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; padding: 1.25rem 1.5rem 1.5rem; }
@media (max-width: 575.98px) {
  .tc-profile__head { flex-direction: column; margin-top: -44px; padding: 0 1rem; gap: .25rem; }
  .tc-profile__head > div { padding-top: 0; }
  .tc-profile__logo { width: 72px; height: 72px; font-size: 1.8rem; }
  .tc-profile__actions { padding: 1rem; }
  .tc-profile__actions .btn { flex: 1 1 calc(50% - .6rem); }
}
.tc-thumb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
.tc-thumb { border: 0; padding: 0; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #e8eef7; }
.tc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tc-thumb:hover img.is-loaded { transform: scale(1.06); }
.tc-review { display: flex; gap: .85rem; padding: 1rem 0; border-top: 1px solid var(--tc-line); }
.tc-review:first-of-type { border-top: 0; padding-top: 0; }

/* ---------- Search results ---------- */
.tc-search-results { display: grid; gap: .9rem; }
.tc-result { display: flex; gap: 1rem; align-items: center; background: #fff; border-radius: var(--tc-radius); padding: .85rem; border: 1px solid var(--tc-line); box-shadow: var(--tc-shadow-sm); transition: box-shadow .2s; }
.tc-result:hover { box-shadow: var(--tc-shadow); }
.tc-result__media { width: 120px; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: #e8eef7; }
.tc-result__media img { width: 100%; height: 100%; object-fit: cover; }
.tc-result__body { flex: 1; min-width: 0; }
.tc-result__type { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--tc-saffron); margin: 0 0 .2rem; }
.tc-result__title { font-size: 1.08rem; font-weight: 700; margin: 0 0 .25rem; font-family: var(--tc-font-body); }
.tc-result__title a { color: var(--tc-text); }
.tc-result__title a:hover { color: var(--tc-blue); }
.tc-result__summary { color: var(--tc-muted); font-size: .9rem; margin-bottom: .3rem; }
@media (max-width: 575.98px) {
  .tc-result { align-items: flex-start; }
  .tc-result__media { width: 84px; }
  .tc-result__btn { display: none; }
  .tc-result__summary { display: none; }
}

/* ---------- More page ---------- */
.tc-more-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 576px) { .tc-more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 992px) { .tc-more-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tc-more-tile { display: flex; flex-direction: column; gap: .55rem; padding: 1.1rem; background: #fff; border-radius: var(--tc-radius); border: 1px solid var(--tc-line); color: var(--tc-navy); font-weight: 600; min-height: 104px; transition: all .2s; }
.tc-more-tile:hover { color: var(--tc-blue); box-shadow: var(--tc-shadow); transform: translateY(-2px); }
.tc-more-tile i { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-size: 1.2rem; background: var(--tone-bg); color: var(--tone); }

.tc-form .form-check-input { width: 1.2em; height: 1.2em; }
