@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;700;800&display=swap');

.egte-shell,
.egte-shell * {
  box-sizing: border-box;
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.egte-shell {
  direction: rtl;
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  color: #172033;
}

.egte-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border: 1px solid #e9edf5;
  border-radius: 26px;
  background: linear-gradient(135deg, #fff 0%, #f6f8fc 100%);
  box-shadow: 0 16px 50px rgba(17, 31, 55, 0.07);
  margin-bottom: 22px;
}

.egte-kicker {
  display: inline-flex;
  color: #e07223;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 6px;
}

.egte-hero h1,
.egte-single-header h1 {
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.35;
  color: #111827;
  font-weight: 800;
}

.egte-hero p {
  max-width: 760px;
  margin: 0;
  line-height: 1.9;
  color: #5f687a;
  font-size: 16px;
}

.egte-hero-badge {
  width: 88px;
  height: 88px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background: #172033;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  flex: 0 0 auto;
}

.egte-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.egte-sidebar {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 14px;
}

.egte-side-box,
.egte-tip-card,
.egte-single-card {
  background: #fff;
  border: 1px solid #e9edf5;
  border-radius: 24px;
  box-shadow: 0 12px 36px rgba(17, 31, 55, 0.06);
}

.egte-side-box {
  padding: 18px;
}

.egte-side-box h3 {
  margin: 0 0 12px;
  font-size: 17px;
  color: #111827;
}

.egte-side-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.egte-side-chips a,
.egte-chip {
  text-decoration: none;
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
  background: #f3f6fb;
  color: #374151;
  border: 1px solid #e6eaf2;
}

.egte-side-chips a:hover {
  background: #172033;
  color: #fff;
}

.egte-side-cta {
  background: #172033;
  color: #fff;
}

.egte-side-cta h3,
.egte-side-cta p {
  color: #fff;
}

.egte-side-cta a,
.egte-main-cta,
.egte-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #e07223;
  color: #fff !important;
  text-decoration: none;
  font-weight: 800;
  border: 0;
}

.egte-feed-list {
  display: grid;
  gap: 14px;
}

.egte-tip-card {
  padding: 18px;
}

.egte-tip-card-head,
.egte-single-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.egte-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #172033, #2e3a53);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex: 0 0 auto;
}

.egte-avatar-large {
  width: 58px;
  height: 58px;
  font-size: 18px;
}

.egte-tip-card h2 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.45;
}

.egte-tip-card h2 a {
  color: #111827;
  text-decoration: none;
}

.egte-tip-card h2 a:hover {
  color: #e07223;
}

.egte-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.egte-tip-intro,
.egte-single-intro {
  color: #4b5563;
  line-height: 1.9;
  margin: 14px 0;
}

.egte-tip-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid #eef1f6;
  padding-top: 12px;
}

.egte-views,
.egte-link,
.egte-share,
.egte-share-row a {
  color: #5f687a;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.egte-link:hover,
.egte-share:hover,
.egte-share-row a:hover {
  color: #e07223;
}

.egte-pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.egte-pagination .page-numbers {
  border: 1px solid #e9edf5;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
  color: #172033;
}

.egte-pagination .current {
  background: #172033;
  color: #fff;
}

.egte-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
  font-size: 13px;
  color: #6b7280;
}

.egte-breadcrumbs a {
  color: #6b7280;
  text-decoration: none;
}

.egte-single-shell {
  max-width: 940px;
}

.egte-single-card {
  padding: clamp(18px, 3vw, 34px);
}

.egte-single-meta {
  margin-top: 10px;
  color: #6b7280;
  font-size: 13px;
}

.egte-single-content {
  line-height: 2;
  color: #253047;
}

.egte-advice-box,
.egte-faq-box,
.egte-single-footer {
  margin-top: 22px;
  padding: 20px;
  border-radius: 22px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
}

.egte-advice-box h2,
.egte-faq-box h2 {
  margin: 0 0 14px;
  font-size: 22px;
  color: #111827;
}

.egte-advice-box li {
  margin-bottom: 10px;
  line-height: 1.9;
}

.egte-faq-box details {
  background: #fff;
  border: 1px solid #e9edf5;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.egte-faq-box summary {
  cursor: pointer;
  font-weight: 800;
  color: #172033;
}

.egte-faq-box p {
  margin: 10px 0 0;
  line-height: 1.9;
  color: #4b5563;
}

.egte-single-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.egte-share-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.egte-empty,
.egte-current-filter {
  padding: 18px;
  border-radius: 18px;
  border: 1px dashed #d7deea;
  color: #5f687a;
  background: #fff;
}

@media (max-width: 880px) {
  .egte-hero {
    align-items: flex-start;
    padding: 22px;
  }
  .egte-hero-badge {
    display: none;
  }
  .egte-layout {
    grid-template-columns: 1fr;
  }
  .egte-sidebar {
    position: static;
    order: 2;
  }
  .egte-feed-wrap {
    order: 1;
  }
  .egte-tip-actions {
    align-items: stretch;
  }
  .egte-tip-actions > * {
    flex: 1 1 auto;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .egte-shell {
    padding: 14px 10px 32px;
  }
  .egte-hero,
  .egte-tip-card,
  .egte-single-card {
    border-radius: 18px;
  }
  .egte-tip-card-head,
  .egte-single-header {
    gap: 10px;
  }
  .egte-avatar {
    width: 38px;
    height: 38px;
  }
  .egte-tip-card h2 {
    font-size: 18px;
  }
}

/* Version 1.0.1 visual polish */
.egte-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.egte-hero-stats span {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e7ebf3;
  border-radius: 999px;
  background: #fff;
  color: #394356;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 800;
}

.egte-searchbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  margin: 0 0 18px;
  border: 1px solid #e9edf5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 31, 55, 0.05);
}

.egte-searchbar input[type="search"] {
  width: 100%;
  min-height: 44px;
  border: 1px solid #e6eaf2;
  border-radius: 999px;
  padding: 0 16px;
  outline: none;
  color: #172033;
  background: #f8fafc;
}

.egte-searchbar input[type="search"]:focus {
  border-color: #e07223;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(224, 114, 35, 0.12);
}

.egte-searchbar button,
.egte-searchbar a {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.egte-searchbar button {
  background: #172033;
  color: #fff;
}

.egte-searchbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5f687a;
  background: #f3f6fb;
}

.egte-side-chips a.is-active {
  background: #e07223;
  border-color: #e07223;
  color: #fff;
}

.egte-popular-box ol {
  list-style: none;
  counter-reset: egte-popular;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.egte-popular-box li {
  counter-increment: egte-popular;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.egte-popular-box li::before {
  content: counter(egte-popular);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f3f6fb;
  color: #172033;
  font-weight: 800;
  font-size: 12px;
}

.egte-popular-box a {
  color: #172033;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.6;
}

.egte-popular-box small {
  grid-column: 2;
  color: #7a8495;
  font-size: 11px;
  margin-top: -4px;
}

.egte-tip-card {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.egte-tip-card:hover {
  transform: translateY(-2px);
  border-color: #dfe5f0;
  box-shadow: 0 18px 42px rgba(17, 31, 55, 0.08);
}

.egte-views strong {
  font-weight: 800;
}

@media (max-width: 880px) {
  .egte-searchbar {
    grid-template-columns: 1fr;
  }
  .egte-searchbar button,
  .egte-searchbar a {
    width: 100%;
  }
}

/* Version 1.1.0 - Stronger discovery cards */
.egte-quick-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px;
  border: 1px solid #e9edf5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(17, 31, 55, 0.045);
}

.egte-quick-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #394356;
  background: #f6f8fc;
  border: 1px solid #e7ebf3;
  font-size: 13px;
  font-weight: 800;
}

.egte-quick-tabs a:hover,
.egte-quick-tabs a.is-active {
  color: #fff;
  background: #172033;
  border-color: #172033;
}

.egte-quick-tabs .egte-tab-popular.is-active,
.egte-quick-tabs .egte-tab-popular:hover {
  background: #e07223;
  border-color: #e07223;
}

.egte-tip-card {
  position: relative;
  overflow: hidden;
  padding: 18px 18px 16px;
  border-radius: 24px;
}

.egte-card-stripe {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, #e07223, #172033);
}

.egte-tip-card.is-featured {
  border-color: rgba(224, 114, 35, 0.28);
  background: linear-gradient(135deg, #fff 0%, #fff8f2 100%);
  box-shadow: 0 18px 50px rgba(224, 114, 35, 0.10);
}

.egte-tip-card.is-featured .egte-card-stripe {
  width: 7px;
  background: linear-gradient(180deg, #e07223, #ffb06a);
}

.egte-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.egte-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.egte-service-badge,
.egte-type-badge,
.egte-featured-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.egte-service-badge {
  color: #fff;
  background: #172033;
}

.egte-type-badge {
  color: #172033;
  background: #eef3fb;
  border: 1px solid #e4eaf4;
}

.egte-featured-badge {
  color: #fff;
  background: #e07223;
}

.egte-card-location {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.egte-card-title,
.egte-tip-card h2.egte-card-title {
  margin: 0 0 8px;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.egte-tip-card:not(.is-featured) .egte-card-title {
  font-size: 21px;
}

.egte-card-points {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
}

.egte-card-points strong {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  color: #172033;
}

.egte-card-points ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 0 18px 0 0;
}

.egte-card-points li {
  color: #4b5563;
  font-size: 13px;
  line-height: 1.65;
}

.egte-tip-card .egte-tip-actions {
  justify-content: space-between;
  gap: 12px;
}

.egte-action-buttons {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.egte-action-meta {
  display: flex;
  align-items: center;
  min-width: max-content;
}

.egte-tip-card .egte-link,
.egte-tip-card .egte-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #f6f8fc;
  border: 1px solid #e7ebf3;
}

.egte-tip-card .egte-link:hover,
.egte-tip-card .egte-share:hover {
  background: #172033;
  border-color: #172033;
  color: #fff;
}

.egte-single-head-content {
  min-width: 0;
  flex: 1;
}

.egte-single-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 10px;
}

.egte-single-meta-line span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f6f8fc;
  color: #4b5563;
  border: 1px solid #e7ebf3;
  font-size: 12px;
  font-weight: 800;
}

.egte-top-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 20px 0;
  padding: 16px 18px;
  border-radius: 22px;
  background: #172033;
  color: #fff;
}

.egte-top-cta-box strong,
.egte-top-cta-box span {
  display: block;
  color: #fff;
}

.egte-top-cta-box strong {
  margin-bottom: 4px;
  font-size: 16px;
}

.egte-top-cta-box span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.8;
}

.egte-summary-box,
.egte-related-box {
  margin-top: 20px;
  padding: 20px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid #e9edf5;
  box-shadow: 0 10px 30px rgba(17, 31, 55, 0.04);
}

.egte-summary-box h2,
.egte-related-box h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 21px;
  font-weight: 900;
}

.egte-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.egte-summary-grid span {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  color: #172033;
  font-weight: 800;
}

.egte-summary-grid strong {
  color: #7a8495;
  font-size: 11px;
  font-weight: 800;
}

.egte-related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.egte-related-grid a {
  display: grid;
  gap: 6px;
  padding: 14px;
  border-radius: 18px;
  background: #f8fafc;
  border: 1px solid #edf1f7;
  text-decoration: none;
  color: #172033;
}

.egte-related-grid a:hover {
  border-color: #e07223;
  background: #fff8f2;
}

.egte-related-grid strong {
  font-size: 14px;
  line-height: 1.6;
}

.egte-related-grid small {
  color: #7a8495;
  font-size: 11px;
  font-weight: 800;
}

@media (max-width: 880px) {
  .egte-card-topline,
  .egte-tip-card .egte-tip-actions,
  .egte-top-cta-box {
    align-items: stretch;
    flex-direction: column;
  }
  .egte-card-location {
    white-space: normal;
  }
  .egte-action-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }
  .egte-tip-card .egte-link,
  .egte-tip-card .egte-share,
  .egte-tip-card .egte-cta {
    width: 100%;
  }
  .egte-summary-grid,
  .egte-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .egte-quick-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
  }
  .egte-quick-tabs a {
    flex: 0 0 auto;
  }
  .egte-card-points {
    padding: 11px 12px;
  }
}
