/* Традиции v3: traditsii/template-v3.php. Общее — main/v3/razdel.css; чтение и ряд подарков — main/wp-razdel-v3.css; плитки рубрик (.c3-tiles) — chto/v3.css. 25.10.2026 */
.t3-tiles { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
.t3-tiles a span:not(.t3-svg):not(.t3-cc) { overflow-wrap: break-word; }
.t3-tiles a .t3-svg, .t3-tiles a .t3-cc { flex: none; width: 36px; height: 36px; border-radius: 11px; }
.t3-svg { display: inline-grid; place-items: center; }
.t3-svg svg { width: 20px; height: 20px; }
/* страна — код (DE, FR) на белом: флаги-эмодзи нельзя (только SVG) */
.t3-cc { display: inline-grid; place-items: center; background: #fff; color: var(--purple); font: 800 13px/1 var(--display); letter-spacing: .5px; box-shadow: inset 0 0 0 1.5px #DCE3F5; }

/* список статей строками в колонках: «В Германии», «Рождество» */
.t3-links { list-style: none; margin: 14px 0 0; padding: 0; columns: 3 220px; column-gap: 24px; }
.t3-links li { break-inside: avoid; margin: 0 0 4px; }
.t3-links a { display: block; padding: 9px 12px; border-radius: 12px; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.t3-links a:hover { background: var(--purple-light); color: var(--purple); }

/* скоро праздник */
.t3-soon { margin: 22px 0 8px; padding: 18px 20px; border-radius: 22px; background: linear-gradient(120deg, #FFF5DC 0%, #FDE8F0 100%); }
.t3-soon__h { display: flex; align-items: center; gap: 14px; }
.t3-soon__h > div { flex: 1; min-width: 0; }
.t3-soon__h small { color: var(--g600); font-weight: 700; font-size: 14px; }
.t3-soon__h h2 { font: 800 24px/1.2 var(--display); margin: 2px 0 0; }
.t3-soon__h > a { flex: none; display: inline-flex; align-items: center; gap: 4px; color: var(--purple); font-weight: 700; font-size: 15px; }
.t3-soon__h > .t3-svg { flex: none; width: 56px; height: 56px; border-radius: 18px; }
.t3-soon__h > .t3-svg svg { width: 30px; height: 30px; }
.t3-soon .t3-links a { background: rgba(255,255,255,.7); }
.t3-soon .t3-links a:hover { background: #fff; }

.t3 .w3-meta a { color: var(--purple); font-weight: 600; }
@media (min-width: 769px) { .t3-gifts--short .w3-gift:nth-child(n+5) { display: none; } }
@media (max-width: 768px) {
  .t3-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t3-tiles a .t3-svg, .t3-tiles a .t3-cc { width: 30px; height: 30px; border-radius: 9px; }
  .t3-tiles a .t3-svg svg { width: 17px; height: 17px; }
  .t3-links { columns: 2 140px; column-gap: 8px; }
  .t3-links a { padding: 8px 10px; font-size: 14.5px; }
  .t3-soon { margin-left: -16px; margin-right: -16px; border-radius: 0; padding: 16px; }
  .t3-soon__h { flex-wrap: wrap; }
  .t3-soon__h h2 { font-size: 20px; }
  .t3-soon__h > a { flex-basis: 100%; }
  .t3-soon__h > .t3-svg { width: 46px; height: 46px; border-radius: 14px; }
  .t3-soon__h > .t3-svg svg { width: 24px; height: 24px; }
}
