/*
Theme Name: Idan Plus
Theme URI: https://idanplus.tv
Author: Grok Team
Author URI: https://x.ai
Description: תבנית Classic לעידן פלוס – פורטל מידע על טלוויזיה דיגיטלית ישראלית. תמיכה מלאה בעברית ו-RTL, מוכן ל-SEO ול-Rocket/Cloudflare.
Version: 1.3.15
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: idan-plus
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: rtl-language-support, custom-menu, featured-images, translation-ready, blog, one-column, custom-logo
*/

:root {
  --bg-dark: #0a1a3a;
  --bg-navy: #121a2d;
  --bg-header: #0d1526;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --text-white: #ffffff;
  --text-light: #e0e7ff;
  --text-muted: #94a3b8;
  --card-bg: rgba(255,255,255,0.05);
  --radius: 12px;
  --shadow: 0 20px 60px rgba(0,0,0,0.4);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Heebo', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.7;
  direction: rtl;
  text-align: right;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
img, video { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== Header ========== */
.site-header { background: var(--bg-header); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.06); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.site-logo a, .custom-logo-link { display: flex; align-items: center; gap: 12px; color: var(--text-white); font-weight: 700; font-size: 1.4rem; }
.site-logo .logo-icon { width: 42px; height: 42px; background: linear-gradient(135deg, #3b82f6, #1d4ed8); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 4px 14px rgba(59,130,246,0.35); }
.site-logo .logo-icon svg { display: block; }
.logo-plus { color: #38bdf8; font-weight: 800; margin-inline-start: 1px; }
.main-nav ul { display: flex; list-style: none; gap: 28px; align-items: center; }
.main-nav a { color: var(--text-light); font-weight: 500; font-size: 0.95rem; position: relative; }
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--text-white); }
.main-nav .current-menu-item a::after { content: ''; position: absolute; bottom: -6px; right: 0; left: 0; height: 2px; background: var(--accent); }

/* ========== Hero ========== */
.hero { min-height: 85vh; display: flex; align-items: center; background: radial-gradient(ellipse 90% 110% at 35% 45%, #272c48 0%, #232946 48%, #1e2440 100%); position: relative; overflow: hidden; padding: 60px 0; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(96,165,250,0.10) 1px, transparent 1.6px); background-size: 26px 26px; opacity: 1; pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero-text { position: relative; z-index: 3; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em; color: #93c5fd; background: rgba(59,130,246,0.12); border: 1px solid rgba(59,130,246,0.28); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px; backdrop-filter: blur(4px); }
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,0.22); }
.hero-text h1 { font-size: clamp(1.5rem, 2.5vw, 2.3rem); font-weight: 900; color: var(--text-white); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 6px; white-space: nowrap; text-shadow: 0 2px 26px rgba(0,0,0,0.45); }
.hero-tagline { font-size: clamp(1.2rem, 2.2vw, 1.7rem); color: var(--text-light); font-weight: 600; letter-spacing: -0.01em; margin: 16px 0 3px; }
.hero-brand { font-size: 1rem; color: var(--text-muted); font-weight: 500; margin: 0; }
.hero-accent { background: linear-gradient(90deg, #38bdf8, #60a5fa); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero-text p { font-size: 1.15rem; color: var(--text-light); opacity: 0.92; margin-bottom: 30px; max-width: 460px; line-height: 1.75; text-shadow: 0 1px 12px rgba(0,0,0,0.35); }
.hero-channels { margin: 24px 0 30px; }
.hero-channels-label { display: block; font-size: 0.9rem; font-weight: 600; letter-spacing: 0.04em; color: var(--text-light); opacity: 0.82; margin-bottom: 14px; }
.hero-channels-row { display: flex; flex-wrap: wrap; gap: 15px; }
.hero-channels .ch { width: 64px; height: 64px; border-radius: 15px; background: linear-gradient(155deg, #e9eefb, #cbd6ee); display: inline-flex; align-items: center; justify-content: center; padding: 9px; box-shadow: 0 6px 16px rgba(8,14,38,0.42); border: 1px solid rgba(130,165,235,0.45); transition: transform 0.2s; overflow: hidden; }
.hero-channels .ch img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.hero-channels .ch:hover { transform: translateY(-3px) scale(1.06); }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-feats { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; margin: 46px 0 0; padding: 0; position: relative; z-index: 3; }
.hero-feats li { color: var(--text-light); font-size: 1.4rem; font-weight: 600; display: inline-flex; align-items: center; }
.hero-feats li::before { content: '✓'; color: #34d399; font-weight: 800; margin-inline-end: 9px; font-size: 1.4rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; border-radius: 10px; font-weight: 600; font-size: 1rem; transition: all 0.25s; border: none; cursor: pointer; }
.btn-primary { background: var(--accent); color: white; box-shadow: 0 10px 28px rgba(59,130,246,0.35); }
.btn-primary:hover { background: var(--accent-hover); color: white; transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--text-white); border: 1px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { border-color: white; background: rgba(255,255,255,0.05); color: white; }
.hero-media { display: flex; justify-content: center; align-items: center; position: relative; z-index: 1; transform: translateX(40px) scale(1.3); transform-origin: center; }
.hero-media video { width: 100%; max-width: 1040px; border-radius: 0; box-shadow: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0, #000 13%, #000 87%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%), linear-gradient(180deg, transparent 0, #000 13%, #000 87%, transparent 100%);
  mask-composite: intersect; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-18px) rotate(1deg); } }

/* ========== Latest Posts ========== */
.latest-posts { padding: 80px 0; background: linear-gradient(180deg, #202541 0%, #232946 240px); }
.latest-posts h2 { text-align: center; font-size: 2rem; margin-bottom: 40px; color: var(--text-white); }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.post-card { background: var(--card-bg); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s; border: 1px solid rgba(255,255,255,0.06); }
.post-card:hover { transform: translateY(-6px); }
.post-card img { width: 100%; height: 180px; object-fit: cover; }
.post-card-content { padding: 22px; }
.post-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--text-white); }
.post-card h3 a { color: inherit; }
.post-card .excerpt { font-size: 0.95rem; color: var(--text-muted); }

/* ========== Footer ========== */
.site-footer { background: var(--bg-header); padding: 70px 0 0; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.footer-col h4 { color: var(--text-white); margin-bottom: 18px; font-size: 1.1rem; }
.footer-col p, .footer-col a { color: var(--text-muted); font-size: 0.95rem; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-logo { font-size: 1.35rem; font-weight: 700; color: var(--text-white); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, #3b82f6, #1d4ed8); border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; }
.footer-logo-icon svg { display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; text-align: center; font-size: 0.9rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); margin: 0 8px; }
.footer-bottom a:hover { color: var(--text-white); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.footer-legal a { margin: 0; }
.footer-legal .sep { color: rgba(255,255,255,0.25); }
@media (max-width: 600px) { .footer-bottom-inner { justify-content: center; text-align: center; } }
.footer-contact-link { display: inline-block; margin-top: 10px; background: var(--accent); color: #fff; padding: 10px 20px; border-radius: 10px; font-weight: 600; font-size: 0.92rem; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.footer-contact-link:hover { background: var(--accent-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(59,130,246,0.4); }

/* ========== Page / Single ========== */
.site-main { padding: 60px 0; min-height: 50vh; }
.home .site-main { padding: 0; min-height: 0; }
.entry-title { font-size: 2.2rem; color: var(--text-white); margin-bottom: 24px; }
.entry-content { max-width: 800px; color: var(--text-light); }
.entry-content p { margin-bottom: 1.2em; }
.entry-content a { text-decoration: underline; }
.entry-content img { border-radius: 8px; margin: 1em 0; }
.entry-content h2, .entry-content h3, .entry-content h4 { color: var(--text-white); margin: 1em 0 0.5em; }
.entry-content ul, .entry-content ol { margin: 0 1.5em 1.2em 0; }

/* ========== Pagination ========== */
.pagination, .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.page-numbers { padding: 8px 14px; border-radius: 8px; background: var(--card-bg); color: var(--text-light); border: 1px solid rgba(255,255,255,0.08); }
.page-numbers.current { background: var(--accent); color: #fff; }

/* ========== Articles / Blog archive ========== */
.archive-head { padding: 54px 0 6px; text-align: center; }
.archive-head .eyebrow { color: var(--accent); font-weight: 600; letter-spacing: 0.06em; font-size: 0.9rem; }
.archive-title { font-size: 2.2rem; color: var(--text-white); margin-top: 8px; }
.articles-grid { padding: 34px 0 10px; }
.post-card-media { display: block; height: 190px; overflow: hidden; background: linear-gradient(135deg, #1b2545, #0f1830); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.post-card:hover .post-card-media img { transform: scale(1.05); }
.post-card-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 3rem; opacity: 0.45; }
.post-card-meta { display: flex; gap: 10px; align-items: center; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 10px; }
.post-card-meta .cat { background: rgba(59,130,246,0.15); color: var(--accent); padding: 2px 12px; border-radius: 20px; font-weight: 600; }
.post-card .read-more { display: inline-block; margin-top: 14px; color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.post-card .read-more:hover { color: var(--accent-hover); }
.post-card h3 { line-height: 1.4; }
.post-card .excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Featured (newest) article — large hero at top of archive */
.post-card-featured { display: grid; grid-template-columns: 1.15fr 1fr; background: var(--card-bg); border: 1px solid rgba(59,130,246,0.25); border-radius: var(--radius); overflow: hidden; margin: 30px 0 44px; box-shadow: 0 24px 60px rgba(0,0,0,0.35); }
.post-card-featured .featured-media { position: relative; display: block; min-height: 340px; overflow: hidden; background: linear-gradient(135deg, #1b2545, #0f1830); }
.post-card-featured .featured-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.post-card-featured:hover .featured-media img { transform: scale(1.04); }
.post-card-featured .featured-media .post-card-ph { font-size: 5rem; }
.featured-flag { position: absolute; top: 16px; inset-inline-start: 16px; background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff; font-size: 0.8rem; font-weight: 700; padding: 6px 14px; border-radius: 20px; box-shadow: 0 6px 18px rgba(22,163,74,0.4); }
.featured-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.featured-title { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.25; margin: 6px 0 16px; }
.featured-title a { color: var(--text-white); }
.featured-title a:hover { color: var(--accent); }
.featured-excerpt { color: var(--text-light); font-size: 1.05rem; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.post-card-featured .read-more { display: inline-block; margin-top: 18px; color: var(--accent); font-weight: 700; }
.post-card-featured .read-more:hover { color: var(--accent-hover); }

/* Hamburger toggle (hidden on desktop) */
.idan-nav-toggle { display: none; }
.idan-nav-btn { display: none; }

/* ========== Responsive ========== */
@media (max-width: 900px) {
  .site-header { position: sticky; top: 0; }
  .header-inner { height: 64px; }
  .idan-nav-btn { display: flex; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; padding: 8px; }
  .idan-nav-btn span { display: block; width: 26px; height: 3px; background: var(--text-white); border-radius: 2px; }
  .main-nav { display: none; position: absolute; top: 100%; right: 0; left: 0; background: var(--bg-header); border-top: 1px solid rgba(255,255,255,0.08); box-shadow: 0 12px 30px rgba(0,0,0,0.35); }
  .idan-nav-toggle:checked ~ .main-nav { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; font-size: 1rem; }
  .main-nav ul li { border-top: 1px solid rgba(255,255,255,0.06); }
  .main-nav ul li:first-child { border-top: none; }
  .main-nav a { display: block; padding: 14px 20px; }
  .main-nav .current-menu-item a::after { display: none; }

  .hero { min-height: auto; padding: 36px 0; }
  .hero-text h1 { white-space: normal; font-size: clamp(1.5rem, 6.2vw, 2rem); }
  .hero-feats li, .hero-feats li::before { font-size: 1.15rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 22px; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-feats { justify-content: center; }
  .hero-channels-row { justify-content: center; }
  .hero-media { transform: none; }
  .hero-media video { max-width: 100%; }

  .latest-posts { padding: 50px 0; }
  .latest-posts h2 { font-size: 1.6rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 24px; }

  .post-card-featured { grid-template-columns: 1fr; }
  .post-card-featured .featured-media { min-height: 210px; }
  .featured-body { padding: 26px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .hero-text h1 { font-size: clamp(1.8rem, 9vw, 2.3rem); }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
}

/* ============================================================
   Antenna-examples carousel (idan-carousel)
   ============================================================ */
.idan-carousel { position: relative; max-width: 546px; margin: 30px auto; direction: ltr; }
.idan-carousel-head { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 16px; direction: rtl; }
.idan-carousel-head svg { flex: none; }
.idan-carousel-head h3 { margin: 0; color: #fff; font-size: 1.5rem; font-weight: 800; }
.idan-carousel-viewport { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid rgba(130,165,235,0.28); background: #0d1526; box-shadow: 0 18px 50px rgba(0,0,0,0.45); }
.idan-carousel-track { display: flex; transition: transform 0.5s cubic-bezier(.4,0,.2,1); will-change: transform; }
.idan-carousel-slide { min-width: 100%; box-sizing: border-box; }
.idan-carousel-slide img { width: 100%; height: auto; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.idan-carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(13,21,38,0.72); color: #fff; font-size: 1.7rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); box-shadow: 0 4px 14px rgba(0,0,0,0.4); transition: background 0.2s, transform 0.2s; z-index: 2; }
.idan-carousel-arrow:hover { background: #3b82f6; transform: translateY(-50%) scale(1.08); }
.idan-carousel-arrow.prev { left: 14px; }
.idan-carousel-arrow.next { right: 14px; }
.idan-carousel-counter { position: absolute; bottom: 12px; left: 14px; background: rgba(13,21,38,0.72); color: #e0e7ff; font-size: 0.85rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); z-index: 2; direction: ltr; }
.idan-carousel-dots { display: flex; gap: 9px; justify-content: center; margin-top: 16px; }
.idan-carousel-dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: none; background: rgba(148,163,184,0.5); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.idan-carousel-dots button.active { background: #3b82f6; transform: scale(1.3); }
@media (max-width: 600px) {
  .idan-carousel-head h3 { font-size: 1.25rem; }
  .idan-carousel-arrow { width: 38px; height: 38px; font-size: 1.35rem; }
}

/* ============================================================
   Floating side buttons (right: טופס 4, left: פניה למוקד עידן+)
   ============================================================ */
.idan-f4-btn { position: fixed; top: 120px; right: 0; z-index: 95; display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; padding: 19px 30px 19px 27px; border-radius: 22px 0 0 22px; box-shadow: 0 14px 40px rgba(0,0,0,0.48); text-decoration: none; transition: transform 0.22s, box-shadow 0.22s; border: 1px solid rgba(255,255,255,0.12); border-right: none; }
.idan-f4-btn:hover { transform: translateX(-5px); color: #fff; box-shadow: 0 18px 46px rgba(59,130,246,0.6); }
.idan-f4-btn .f4-ico { flex: none; display: flex; }
.idan-f4-btn .f4-ico svg { width: 39px; height: 39px; }
.idan-f4-btn .f4-tx { display: flex; flex-direction: column; line-height: 1.16; text-align: right; }
.idan-f4-btn .f4-tx small { font-size: 1.23rem; font-weight: 600; opacity: 0.92; }
.idan-f4-btn .f4-tx strong { font-size: 1.68rem; font-weight: 800; letter-spacing: -0.01em; }
@media (max-width: 768px) {
  .idan-f4-btn { top: auto; bottom: 16px; right: 16px; border-radius: 18px; border-right: 1px solid rgba(255,255,255,0.12); padding: 15px 21px; gap: 12px; }
  .idan-f4-btn .f4-ico svg { width: 32px; height: 32px; }
  .idan-f4-btn .f4-tx small { font-size: 1rem; }
  .idan-f4-btn .f4-tx strong { font-size: 1.4rem; }
}

/* Left-edge mirror: "פניה למוקד עידן+" (same blue as the טופס 4 button). */
.idan-support-btn { position: fixed; top: 120px; left: 0; z-index: 95; display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; padding: 19px 27px 19px 30px; border-radius: 0 22px 22px 0; box-shadow: 0 14px 40px rgba(0,0,0,0.48); text-decoration: none; transition: transform 0.22s, box-shadow 0.22s; border: 1px solid rgba(255,255,255,0.12); border-left: none; }
.idan-support-btn:hover { transform: translateX(5px); color: #fff; box-shadow: 0 18px 46px rgba(59,130,246,0.6); }
.idan-support-btn .f4-ico { flex: none; display: flex; }
.idan-support-btn .f4-ico svg { width: 39px; height: 39px; }
.idan-support-btn .f4-tx { display: flex; flex-direction: column; line-height: 1.16; text-align: right; }
.idan-support-btn .f4-tx small { font-size: 1.23rem; font-weight: 600; opacity: 0.92; }
.idan-support-btn .f4-tx strong { font-size: 1.68rem; font-weight: 800; letter-spacing: -0.01em; }
@media (max-width: 768px) {
  .idan-support-btn { top: auto; bottom: 16px; left: 16px; border-radius: 18px; border-left: 1px solid rgba(255,255,255,0.12); padding: 15px 21px; gap: 12px; }
  .idan-support-btn .f4-ico svg { width: 32px; height: 32px; }
  .idan-support-btn .f4-tx small { font-size: 1rem; }
  .idan-support-btn .f4-tx strong { font-size: 1.4rem; }
}

/* ============================================================
   Accessibility: skip link + focus visibility
   ============================================================ */
.skip-link { position: absolute; right: -9999px; top: 0; z-index: 1000; background: #1d4ed8; color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 0 0 10px 0; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,0.4); }
.skip-link:focus { right: 0; color: #fff; outline: 3px solid #38bdf8; outline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible, .btn:focus-visible { outline: 3px solid #38bdf8; outline-offset: 2px; border-radius: 4px; }
#main-content:focus { outline: none; }

/* ============================================================
   Breadcrumbs
   ============================================================ */
.idan-breadcrumb { max-width: 1000px; margin: 22px auto 4px; padding: 0 4px; font-size: 0.9rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; line-height: 1.6; }
.idan-breadcrumb a { color: #93c5fd; }
.idan-breadcrumb a:hover { color: #fff; text-decoration: underline; }
.idan-breadcrumb span { color: var(--text-muted); }

/* ============================================================
   Public Q&A (native comments on the שאלות ותשובות page)
   ============================================================ */
.idan-qa-comments { max-width: 900px; margin: 44px auto 0; }
.idan-qa-count { font-size: 1.6rem; font-weight: 800; color: #fff; margin: 0 0 22px; }
.idan-qa-list { list-style: none; margin: 0 0 34px; padding: 0; }
.idan-qa-list .children { list-style: none; margin: 16px 0 0; padding: 0 22px 0 0; border-right: 2px solid rgba(59,130,246,0.45); }
.idan-qa-item { background: #101a2e; border: 1px solid rgba(130,165,235,0.2); border-radius: 16px; padding: 20px 22px; margin-bottom: 16px; }
.idan-qa-answer > .idan-qa-item { background: #0e2038; border-color: rgba(59,130,246,0.55); }
.idan-qa-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 10px; }
.idan-qa-role { font-size: 0.82rem; font-weight: 700; padding: 3px 12px; border-radius: 999px; background: rgba(148,163,184,0.18); color: #cbd5e1; }
.idan-qa-answer .idan-qa-role { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; }
.idan-qa-author { font-weight: 700; color: #fff; }
.idan-qa-date { font-size: 0.82rem; color: var(--text-muted); }
.idan-qa-text { color: #dbe4f3; line-height: 1.7; }
.idan-qa-text p { margin: 0 0 8px; }
.idan-qa-text p:last-child { margin-bottom: 0; }
.idan-qa-hold { margin: 10px 0 0; font-size: 0.86rem; color: #fbbf24; }
.idan-qa-item .comment-reply-link { display: inline-block; margin-top: 10px; font-size: 0.85rem; color: #93c5fd; font-weight: 600; }
.idan-qa-closed { color: var(--text-muted); text-align: center; }

.idan-qa-comments .comment-respond { background: #101a2e; border: 1px solid rgba(130,165,235,0.2); border-radius: 18px; padding: 26px 24px; margin-top: 10px; }
.idan-qa-comments .comment-reply-title { font-size: 1.4rem; font-weight: 800; color: #fff; margin: 0 0 8px; }
.idan-qa-comments .comment-notes { color: var(--text-muted); font-size: 0.95rem; margin: 0 0 18px; }
.idan-qa-comments label { display: block; font-weight: 600; color: #e0e7ff; margin-bottom: 7px; }
.idan-qa-comments input[type="text"], .idan-qa-comments input[type="email"], .idan-qa-comments textarea { width: 100%; box-sizing: border-box; background: #0b1424; border: 1px solid rgba(130,165,235,0.32); border-radius: 11px; color: #fff; padding: 13px 15px; font-family: inherit; font-size: 1rem; margin-bottom: 18px; }
.idan-qa-comments input::placeholder, .idan-qa-comments textarea::placeholder { color: #64748b; }
.idan-qa-comments input:focus, .idan-qa-comments textarea:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.25); }
.idan-qa-comments .form-submit .submit { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; border: none; border-radius: 12px; padding: 14px 34px; font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.idan-qa-comments .form-submit .submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(59,130,246,0.5); }
.idan-qa-comments .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 10px; }
.idan-qa-comments .comment-form-cookies-consent input { width: auto; margin: 4px 0 0; }
.idan-qa-comments .comment-form-cookies-consent label { display: inline; font-weight: 400; color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.idan-qa-comments .logged-in-as { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 14px; }
.idan-qa-comments .logged-in-as a { color: #93c5fd; }
@media (max-width: 768px) {
  .idan-qa-count { font-size: 1.35rem; }
  .idan-qa-comments .comment-respond { padding: 22px 18px; }
}

/* ============================================================
   Contact CTA + Contact Form 7 (page 60990 etc.)
   ============================================================ */
.idan-contact-cta { max-width: 720px; margin: 40px auto 8px; background: linear-gradient(160deg, #0e2038, #101a2e); border: 1px solid rgba(59,130,246,0.4); border-radius: 20px; padding: 30px 28px; }
.idan-contact-cta h2 { margin: 0 0 8px; color: #fff; font-size: 1.6rem; font-weight: 800; }
.idan-contact-cta > p { color: var(--text-muted); margin: 0 0 20px; line-height: 1.6; }
.wpcf7-form p { margin: 0 0 16px; }
.wpcf7-form label { display: block; font-weight: 600; color: #e0e7ff; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="tel"], .wpcf7-form input[type="email"], .wpcf7-form textarea { width: 100%; box-sizing: border-box; margin-top: 7px; background: #0b1424; border: 1px solid rgba(130,165,235,0.32); border-radius: 11px; color: #fff; padding: 13px 15px; font-family: inherit; font-size: 1rem; }
.wpcf7-form select { width: 100%; box-sizing: border-box; margin-top: 7px; background: #0b1424 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat left 16px center; border: 1px solid rgba(130,165,235,0.32); border-radius: 11px; color: #fff; padding: 13px 15px; font-family: inherit; font-size: 1rem; -webkit-appearance: none; appearance: none; cursor: pointer; }
.wpcf7-form select:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.25); }
.wpcf7-form select option { background: #0b1424; color: #fff; }
.wpcf7-form input::placeholder, .wpcf7-form textarea::placeholder { color: #64748b; }
.wpcf7-form input:focus, .wpcf7-form textarea:focus { outline: none; border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59,130,246,0.25); }
.wpcf7-form .wpcf7-submit { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; border: none; border-radius: 12px; padding: 14px 40px; font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; }
.wpcf7-form .wpcf7-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(59,130,246,0.5); }
.wpcf7-form .wpcf7-spinner { margin: 0 12px; }
.wpcf7 .wpcf7-response-output { border-radius: 10px; padding: 12px 16px; margin: 18px 0 0; color: #fff; }
.wpcf7-not-valid-tip { color: #fca5a5; font-size: 0.85rem; margin-top: 5px; }
.wpcf7-form.invalid .wpcf7-response-output, .wpcf7-form.unaccepted .wpcf7-response-output { border: 1px solid #f87171; background: rgba(248,113,113,0.14); }
.wpcf7-form.sent .wpcf7-response-output { border: 1px solid #34d399; background: rgba(16,185,129,0.16); }
@media (max-width: 768px){ .idan-contact-cta { padding: 24px 18px; } .idan-contact-cta h2 { font-size: 1.35rem; } }

/* ============================================================
   Post "אנטנה מרכזית – טופס 4" (16091): shrink the featured image
   so it lines up exactly with the CTA box below it (both ~800px).
   ============================================================ */
.postid-16091 .wp-post-image { max-width: 800px; height: auto; }
