/* Home page - deals hooks 2026 (tpl-home-deals.php). Added 29 Nov 2026. Recoloured 30 Nov 2026 to Flyopedia theme: blue #1c86c8, navy #31537f, orange #ed6d18. */
:root { --fy-teal: #31537f; --fy-teal2: #1c86c8; --fy-yellow: #ed6d18; --fy-green: #19b26b; --fy-red: #e5484d; --fy-ink: #12202a; --fy-mute: #5a6b75; }

.fy-flash { background: var(--fy-teal); color: #fff; padding: 10px 0; }
.fy-flash .container { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; font-size: 15px; }
.fy-flash-badge { background: var(--fy-yellow); color: #fff; font-weight: 800; font-size: 12px; padding: 4px 10px; border-radius: 4px; letter-spacing: .04em; }
.fy-flash b { color: #fff; }
.fy-count { font-family: "Courier New", monospace; font-weight: 700; font-size: 20px; background: rgba(255, 255, 255, .1); padding: 2px 10px; border-radius: 4px; color: #fff; min-width: 110px; text-align: center; }
.fy-flash-btn { color: var(--fy-teal) !important; background: #fff; font-weight: 800; padding: 6px 14px; border-radius: 20px; text-decoration: none !important; white-space: nowrap; }

.fy-urgent { padding: 26px 0; background: #fff; }
.fy-urgent-box { display: flex; align-items: center; gap: 20px; background: linear-gradient(90deg, #fff1e6, #fff); border: 2px solid var(--fy-yellow); border-radius: 14px; padding: 20px 24px; }
.fy-urgent-icon { font-size: 44px; line-height: 1; }
.fy-urgent-text { flex: 1; min-width: 0; }
.fy-urgent-text h2 { margin: 0 0 6px; font-size: 24px; font-weight: 800; color: var(--fy-ink); }
.fy-urgent-text p { margin: 0; font-size: 15px; color: var(--fy-mute); }

.fy-compare, .fy-faq { padding: 52px 0; }
.fy-compare { background: #eef5fb; }
.fy-compare h2, .fy-faq h2 { text-align: center; font-weight: 800; font-size: 30px; color: var(--fy-ink); margin: 0 0 8px; }
.fy-sub { text-align: center; color: var(--fy-mute); margin: 0 0 24px; font-size: 16px; }
.fy-table-wrap { overflow-x: auto; }
.fy-table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 22px rgba(49, 83, 127, .08); }
.fy-table th, .fy-table td { padding: 14px 16px; border-bottom: 1px solid #e8eef0; font-size: 15px; text-align: center; }
.fy-table td:first-child, .fy-table th:first-child { text-align: left; color: var(--fy-ink); font-weight: 600; }
.fy-table thead th { background: #fff; color: var(--fy-mute); font-size: 14px; }
.fy-table th.fy-us { background: var(--fy-teal); color: #fff; font-size: 16px; }
.fy-table td.fy-us { background: #f4fbf8; font-weight: 700; }
.fy-yes { color: var(--fy-green); }
.fy-no { color: var(--fy-red); }
.fy-center { text-align: center; margin: 26px 0 0; }

.fy-btn { display: inline-block; background: var(--fy-teal); color: #fff !important; font-weight: 800; font-size: 18px; padding: 14px 26px; border-radius: 8px; text-decoration: none !important; white-space: nowrap; }
.fy-btn:hover { background: var(--fy-teal2); }
.fy-btn-yellow { background: var(--fy-yellow); color: #fff !important; }
.fy-btn-yellow:hover { background: #d95e10; }
.fy-btn-big { font-size: 30px; padding: 16px 40px; }

.fy-faq { background: #fff; }
.fy-faq .container { max-width: 880px; }
.fy-faq h2 { margin-bottom: 22px; }
.fy-faq details { background: #f6f9fa; border-radius: 10px; margin-bottom: 10px; padding: 0 18px; border-left: 4px solid var(--fy-yellow); }
.fy-faq summary { cursor: pointer; padding: 16px 26px 16px 0; font-weight: 700; font-size: 17px; color: var(--fy-ink); list-style: none; position: relative; }
.fy-faq summary::-webkit-details-marker { display: none; }
.fy-faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; color: var(--fy-teal); }
.fy-faq details[open] summary::after { content: "\2212"; }
.fy-faq details p { margin: 0 0 16px; font-size: 15px; line-height: 1.65; color: var(--fy-mute); }

.fy-final { background: var(--fy-teal); color: #fff; text-align: center; padding: 48px 0 30px; }
.fy-final h2 { color: #fff; font-size: 30px; font-weight: 800; margin: 0 0 22px; }
.fy-final p { margin: 10px 0 0; font-size: 15px; }
.fy-fine { font-size: 12px !important; opacity: .75; max-width: 920px; margin: 22px auto 0 !important; line-height: 1.5; }

@media (max-width: 767px) {
  .fy-flash .container { font-size: 13px; }
  .fy-urgent-box { flex-direction: column; text-align: center; }
  .fy-urgent-text h2, .fy-compare h2, .fy-faq h2, .fy-final h2 { font-size: 22px; }
  .fy-btn { white-space: normal; }
  .fy-btn-big { font-size: 22px; padding: 14px 24px; }
}
