/* ===== правки оформления: кнопки сторов, карточки тем, блок public, ссылки ===== */

/* кнопки App Store / Google Play — одинаковые и компактные */
.app_buttons{display:flex;align-items:center;gap:12px;flex-wrap:wrap;text-align:left}
.app_buttons img,.app_buttons a img{height:44px;width:auto;max-height:44px;max-width:180px;display:block}

/* блок «Publie tes podcasts» — ниже и компактнее */
#public{padding-top:38px;padding-bottom:38px}
#public h2{font-size:28px;line-height:1.2;margin-bottom:14px}
#public .thumbnails-green-img{max-width:300px;height:auto;display:inline-block}
#public .app_buttons{margin-top:18px;margin-bottom:0}

/* три карточки тем: одинаковая высота, аккуратные списки подкатегорий */
.theme_boxes{display:flex;align-items:stretch}
.theme_boxes > [class*="col-"]{display:flex}
.theme_boxes .box{display:flex;flex-direction:column;width:100%;height:100%;background:#fff;border:1px solid rgba(17,17,17,.08);border-radius:14px;padding:22px 20px 18px;box-shadow:0 1px 2px rgba(17,17,17,.04)}
.theme_boxes .image_themes{width:64px;height:64px;object-fit:contain;margin:0 0 12px}
.theme_boxes .box h3{margin:0 0 12px;font-size:19px;line-height:1.3;letter-spacing:.01em}
.theme_boxes .box h3 a{text-decoration:none;background:none}
.theme_boxes .explore-link{display:block;padding:10px 0;line-height:1.45;font-size:15px;text-decoration:none;border-bottom:1px solid rgba(17,17,17,.07)}
.theme_boxes .explore-link:last-child{border-bottom:0;padding-bottom:2px}
.theme_boxes .explore-link:hover{text-decoration:underline;text-underline-offset:3px}
.theme_boxes .mt-1{margin-top:0!important}

/* ссылки: убрать постоянное подчёркивание, оставить на hover в тексте */
a{text-decoration:none}
a:hover{text-decoration:none}
p a:hover,.card-body a:hover,.press-article-text-extract a:hover,main li a:hover{text-decoration:underline;text-underline-offset:3px}
.btn,a.btn{text-decoration:none!important}
/* служебные подписи-ссылки на главной (mensonges.fr / frenchpeterpan.com) не трогаем —
   у них собственный стиль .outbound-note a */
.outbound-note a{text-decoration:underline;text-underline-offset:2px}

/* типографика и отступы */
body{line-height:1.62}
h1,h2,h3{letter-spacing:.005em}
.card-body{padding:16px 16px 18px}
.card-title{font-size:17px;line-height:1.35;font-weight:600}
.news-card{height:100%}
.news-card .card-body{display:flex;flex-direction:column}

/* мобильная адаптация */
@media (max-width:767px){
  .app_buttons img,.app_buttons a img{height:40px;max-width:150px}
  .theme_boxes{display:block}
  .theme_boxes > [class*="col-"]{display:block;margin-bottom:16px}
  #public{padding-top:26px;padding-bottom:26px}
  #public h2{font-size:24px}
  #public .thumbnails-green-img{max-width:220px}
}

/* выпадающее меню в блоке #homepage-anchors — только внутри этого блока */
#homepage-anchors .ha-drop{position:relative;display:inline-block}
#homepage-anchors .ha-drop-menu{position:absolute;top:100%;left:50%;transform:translateX(-50%) translateY(6px);
  min-width:260px;background:#fff;border:1px solid rgba(17,17,17,.1);border-radius:8px;
  box-shadow:0 14px 28px rgba(17,17,17,.12);padding:6px 0;display:none;z-index:40;text-align:left}
#homepage-anchors .ha-drop:hover .ha-drop-menu,
#homepage-anchors .ha-drop:focus-within .ha-drop-menu{display:block}
#homepage-anchors .ha-drop-menu a{display:block;padding:9px 16px;font-size:14px;line-height:1.35;
  color:#1b1b1b;text-decoration:none;white-space:normal}
#homepage-anchors .ha-drop-menu a:hover{background:#f2f7f4;color:#0d7a4f}
