/*sticky sidebar*/
.sticky-container {
    position: -webkit-sticky; /* Для поддержки Safari */
    position: sticky;
    top: 20px; /* Отступ сверху при фиксации */

    z-index: 10; /* Убедитесь, что он поверх других элементов */
}    

/*highlights*/
.spec-label {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 17px;
    margin: 2px 0;
    padding: 0 5px;
    text-transform: uppercase;
    color: #fff;
    background-color: #e37575;
}

.quote,
.title_spoiler,
.text_spoiler {
    padding: 5px;
    background: #f9fafa;
    border: 1px solid #dce7e7;
    overflow: hidden;
}

.quote {

    margin: 0 0 15px 60px;
    border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px
}

 /* tag investigations highlight */
.tag-investigations .entry-title--with-subtitle::after {
    content: "Розслідування";
    display: table; 
    margin: 12px auto 0;
    font-size: 0.3em;       
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.6;
    padding: .15em .6em;
    border-radius: 3px;
    color: #fff;
    background: #333;
    border-color: #fff;
    border-style: solid;
    
}

.tag-investigations .page-header .page-description {
    background: #333;
    color: #fff;
    padding: 0 .4em;
    display: table;  
    margin: 6px auto 0;  
    padding-bottom: 10px;
    border-radius: 3px;
}

.wp-block-newspack-blocks-homepage-articles .tag-investigations .entry-title::after {
    content: "Розслідування";
    font-size: 0.5em;  
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.6;
    margin-left: 4px;
    padding: .15em .6em;
    border-radius: 3px;
    color: #fff;
    background: #4a4a4a;
    hyphens: none;
    border-color: #fff;
    border-style: solid;
    
}



/*by author*/
a.imprint {
    display: none;
}

.byline>span:first-child {
    display: none;
}

/*views-count*/
.views-count {
    font-size: 50%;
    color: grey;
}

/*gallery*/
.acf-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.acf-gallery-grid-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.acf-gallery-grid-item img:hover {
    transform: scale(1.05);
}

/*About menu*/
.about-menu {
 box-sizing: border-box;
    margin: auto;
    max-width: 90vw;
    width: 1200px;
    flex-wrap: nowrap;
    display: flex;
    justify-content: flex-start;
      padding-left: 0px;
}

.about-menu li {
  display: flex;
  white-space: nowrap;
    color: var(--newspack-theme-color-bg-body);
    box-sizing: inherit;
    margin: .25rem 0;
}

/* === Заголовки с иконками === */
.bold-icon::after,
.icon-newcompany::after,
.icon-ad::after,
.icon-partner::after,
.icon-position::after {
    margin-left: 0em;
    font-size: 1em;
    color: white;
    vertical-align: middle;
}
.bold-icon::after {
    content: '#';
    font-size: .7em;
    color: #e37575;
}
.icon-newcompany::after {
    content: 'новини компаній';
}
.icon-ad::after {
    content: 'р';
}
.icon-partner::after {
    content: 'Партнерський проєкт';
}
.icon-position::after {
    content: 'Позиція';
}
.custom-bold {
    font-weight: bold;
}

/* === Меню: пункт с Viber иконкой === */
.menu-item-11009311 .svg-icon {
    display: none;
}
.menu-item-11009311 a {
    position: relative;
    padding-left: 30px;
}
.menu-item-11009311 a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: url('https://www.telegraf.in.ua/wp-content/themes/tg/icons/viber1.svg') no-repeat center/contain;
}

@media (max-width: 767px) {
    .mobile-sidebar .menu-item-11009311 a::before {
        filter: invert(1) brightness(2);
    }
}

/* === Subscribe === */
.subscribe-wrapper {
    font-family: var(--newspack-theme-font-heading);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    border-color: #cfd8dc;
    padding: 20px;
    border-radius: 5px;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    width: 90%;
    margin: 0 auto;
}
.subscribe-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.subscribe-text {
    font-weight: bold;
    font-size: 18px;
}
.subscribe-subtext {
    font-size: 14px;
    color: #666;
    font-family: var(--newspack-theme-font-heading);
}
.subscribe-buttons {
    display: flex;
    gap: 8px;
}
.subscribe-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #eee;
    border-radius: 50%;
    transition: background 0.3s;
}
.subscribe-button:hover {
    background: #ddd;
}
.subscribe-button.telegram svg circle {
    fill: #E37575;
}
.subscribe-button.telegram svg path,
.subscribe-button.facebook svg path,
.subscribe-button.viber svg path,
.subscribe-button.instagram svg path
 {
    fill: #E37575;
}
.subscribe-button.telegram svg path {
    fill: white;
}

/* === Share === */
.addtoany-shortcode,
.social-share-buttons {
    margin: 1rem 0 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    color: var(--newspack-theme-color-primary-against-white);
    font-family: var(--newspack-theme-font-heading);
    font-size: var(--newspack-theme-font-size-sm);
    font-weight: 700;
}
.addtoany-shortcode {
    justify-content: center;
    margin-top: 1em;
    text-align: center;
}
.social-share-buttons {
    justify-content: flex-start;
}
div.social-share-buttons {
    box-sizing: border-box;
    margin: 1rem 0 3rem;
    margin-bottom: 1rem;
    text-align: center;
}
footer.entry-footer {
    margin-bottom: 1rem;
}
.entry-share {
    display: flex;
    justify-content: center;
}

/* === Стиль цитаты с декоративными кавычками === */
.quote {
    position: relative;
    font-style: italic;
    font-size: 1em;
    line-height: 1.6;
    color: #333;
    background: #fefefe;
    padding: 2em 2em 1.5em 3em;
    margin: 2em 0;
    border-left: 4px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.quote::before {
    content: "“";
    position: absolute;
    top: -1px;
    left: 10px;
    font-size: 4em;
    color: #e5e5e5;
    /* font-family: Georgia, serif; */
    line-height: 1;
}

.quote::after {
    content: "”";
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-size: 4em;
    color: #e5e5e5;
    /* font-family: Georgia, serif; */
    line-height: 1;
}

.quote footer {
    margin-top: 1em;
    text-align: right;
    font-style: normal;
    font-size: 0.9em;
    color: #777;
}
/* головне 2 */
#menu-golovne-2 .menu-label,
#menu-golovne-3 .menu-label {
    display: none;
}

/*.dds a {
    display: block;
     width: 100px; 
    background-image: url('https://www.telegraf.in.ua/templates/ny2016/images/dim.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    text-indent: -9999px;
    overflow: hidden;
}
*/
/* sub menu above footer */

.sub-menu-cont .wp-block-column h2.widgettitle {
   padding-bottom: 10px;
   list-style: none;
    box-sizing: border-box;
    font-family: var(--newspack-theme-font-heading);
    font-weight: 700;
    line-height: var(--newspack-theme-font-line-height-heading);
    -webkit-font-smoothing: antialiased;
    margin: 1rem 0;
    color: var(--newspack-theme-color-primary-against-white);

    text-transform: uppercase;
    width: 100%;
    font-size: var(--newspack-theme-font-size-sm);
    margin-bottom: calc(1em - var(--wpnbha-col-gap));
}

.sub-menu-cont h2.widgettitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem; /* расстояние между линиями и текстом */
    position: relative;
}

.sub-menu-cont h2.widgettitle::before,
.sub-menu-cont h2.widgettitle::after {
    content: "";
    flex: 1;
    height: 1px;
    background-color: #ccc; /* цвет линии */
}

/* Fields adress, map, tel, url for company */
.custom-field {
  margin-bottom: 1em;
  font-family: sans-serif;
  font-size: 0.95rem;
  color: #333;
  padding-left: 1.5em;
  position: relative;
}

/* Буллет или иконка */
.custom-field::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0.1em;
  color: #888;
}

/* Ссылки */
.custom-field a {
  color: #0073aa;
  text-decoration: none;
  font-weight: 500;
}
.custom-field a:hover {
  text-decoration: underline;
}

/* Иконки для разных типов (можно заменить на SVG или FontAwesome) */
.custom-field-phone::before {
  content: "📞";
}
.custom-field-www::before {
  content: "🌐";
}
.custom-field-inst::before {
  content: "📷";
}
.custom-field-fb::before {
  content: "📘";
}
.custom-field-address::before {
  content: "📍";
}
.custom-field-time::before {
  content: "⏰";
}
.custom-field-info::before {
  content: "ℹ️";
}

/* Картинка логотипа */
.custom-field-logo img {
  max-height: 60px;
  display: block;
  margin: 0.5em 0;
}

/* Карта — iframe (если подставляется так) */
.custom-field-map iframe {
  width: 100%;
  height: 250px;
  border: none;
  margin-top: 0.5em;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 600px) {
  .custom-field {
    font-size: 0.9rem;
  }
  .custom-field-logo img {
    max-width: 100%;
    height: auto;
  }
}

.custom-fields {
box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  padding: 10px;
}

/* CSS advert */
.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 30px;
  padding: 10px;
  font-family: Arial, sans-serif;
}

.service-item {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  padding: 10px 15px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-item .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  background-color: #4CAF50; /* зеленый фон */
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  font-size: 18px;
  margin-right: 12px;
  flex-shrink: 0;
}

.service-item .text {
  font-size: 16px;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .services-list {
    grid-template-columns: 1fr !important;
  }
}


/* CSS advert */
.advantages-list {
  display: grid;
  grid-template-columns: 1fr 1fr; /* две колонки на десктопе */
  gap: 20px 40px;
  padding: 10px;
  font-family: Arial, sans-serif;
}

.adv-item {
  display: flex;
  align-items: flex-start;
  background: #f9f9f9;
  padding: 12px 15px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.adv-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.adv-item .number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  background-color: lightblue; 
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  font-size: 16px;
  margin-right: 12px;
  flex-shrink: 0;
}

.adv-item .text {
  font-size: 16px;
  line-height: 1.4;
}

.adv-item .text strong {
  display: block;
  margin-bottom: 4px;
  font-size: 17px;
}

@media (max-width: 768px) {
  .advantages-list {
    grid-template-columns: 1fr !important;
  }
}

/* top-title mob */
@media only screen and (max-width: 781px) {
    .wpnbha.ts-2 article .entry-title,
    .wpnbha.ts-3 article .entry-title {
        font-size: 0.9em;
    }
}

/* footer confid & other*/
.about-menu {
    box-sizing: border-box;
    margin: auto;
    /* max-width: 1200px;  */
    width: 100%; 
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding-left: 0;
    /* gap: 8px 16px; */
}


.about-menu li {
    flex: 0 0 auto;
}

.about-menu li a {
    display: block;
    white-space: nowrap;
}

 /* Link title    */
.article-section-title span a {
    color: var(--newspack-theme-color-primary-against-white) !important;
}
/*Мобайл меню текст*/
.mobile-menu-toggle span {
    display: none;
}

/*Lists in table*/
/* Сброс стандартных стилей sup/sub внутри таблиц Gutenberg */
.wp-block-table td sup,
.wp-block-table td sub {
    font-size: inherit;        /* отменяем уменьшенный размер */
    line-height: normal;       /* нормальный межстрочный интервал */
    position: static;          /* убираем relative */
    vertical-align: baseline;  /* нормальное выравнивание */
}

/* Стили для строк как list-item */
.wp-block-table td sup span,
.wp-block-table td sub span {
    display: list-item;       /* делает как li */
    margin-left: 1.2em;       /* отступ под маркер */
    line-height: 1.5;         /* нормальный межстрочный интервал */
}

/* Маркированый список для sup */
.wp-block-table td sup span {
    list-style-type: disc;
}

/* Нумерованный список для sub */
.wp-block-table td sub {
    counter-reset: li;        /* сброс счетчика для каждой ячейки */
}
.wp-block-table td sub span {
    list-style-type: decimal;
}

/*Social login*/
/* Линия с надписью и иконками */
.social-login-final .social-login-line {
    display: flex;
    align-items: center;       
    gap: 6px;                 
    flex-wrap: wrap;          

/* Надпись слева */
.social-login-final .social-login-text {
    display: inline-flex;
    align-items: center;
    color: var(--newspack-theme-color-text-light);
    font-family: var(--newspack-theme-font-heading);
    font-size: var(--newspack-theme-font-size-m);
}

/* Надпись под кнопками */
.social-login-final .social-login-or {
    display: block;
    margin-top: 15px;
    color: var(--newspack-theme-color-text-light);
    font-family: var(--newspack-theme-font-heading);
    font-size: var(--newspack-theme-font-size-sm);
}

/* иконки по центру текста */
.social-login-final .nsl-container-buttons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/*выход из аккаунта*/
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.logout-user-avatar img {
    border-radius: 50%;
    width: 16px;
    height: 16px;
}

.logout-user-name, .social-login-text {
    font-size: .7em;
}
.logout-text-link {
    font-size: .7em;
   text-decoration: underline;
}

.nsl-button-logout img {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.nsl-button-logout:hover img {
    transform: rotate(-10deg);
}

/* === SOCIAL SHARE BUTTONS === */
.ai-style-social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  margin: 16px 0 12px;
}

.share-links {
  font-weight: 500;
  font-size: .8em;
  color: var(--newspack-theme-color-primary-against-white);
  margin-right: 6px;
  font-family: var(--newspack-theme-font-heading);
}

.ai-social-btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background-color 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.ai-social-btn img {
  width: 20px;
  height: 20px;
  filter: none;
  transition: filter 0.25s ease;
}

.ai-social-btn:hover {
  background-color: var(--hover-color);
  transform: translateY(-2px);
}

.ai-social-btn:hover img {
  filter: brightness(0) invert(1);
}

/*Ai sharing*/
 
/* === AI Sharing Buttons === */

.ask-ai-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1rem 0;
}

.ask-ai-inline .ai-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px; /* полностью круглая кнопка */
  border: none;
  cursor: pointer;
  font-weight: 500;
  background: #fff;
  color: #000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  z-index: 0;
}

.ask-ai-inline .ai-btn img {
  width: 18px;
  height: 18px;
  transition: filter 0.2s ease;
}

/* Hover: лёгкое поднятие */
.ask-ai-inline .ai-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* === ChatGPT moving border === */
.ask-ai-inline .ai-btn[data-ai="ChatGPT"]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(90deg, #10a37f, #2acfcf, #10a37f);
  background-size: 200% 100%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  animation: chatgptBorderMove 2s linear infinite;
}

@keyframes chatgptBorderMove {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

/* === Google AI moving border === */
.ask-ai-inline .ai-btn[data-ai="Google AI"]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(90deg, #4285f4, #9b72cb, #d96570, #f9ab00, #4285f4);
  background-size: 300% 100%;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  animation: googleBorderMove 3s linear infinite;
}

@keyframes googleBorderMove {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 0%; }
  100% { background-position: 0% 0%; }
}

/* === Floating AI Button === */
.floating-ai-btn {
  display: none;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 9999px; /* как у кнопок */
  padding: 6px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 9999;
  overflow: hidden;
  animation: fadeIn 0.2s ease;
  position: absolute;
}

.floating-ai-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(90deg, violet, indigo, blue, green, yellow, orange, red);
  background-size: 400% 400%;
  animation: rainbow-border 4s linear infinite;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.ai-float-label {
  font-size: 0.7em;
  color: #333;
}

.ai-float-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 3px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.ai-float-icon img {
  width: 14px;
  height: 14px;
  transition: filter 0.3s ease;
}

.ai-float-icon:hover img {
  filter: brightness(0) invert(1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes rainbow-border {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/*/////////*/
.post-views-meta {
    margin-left: 10px;
    font-size: 0.9em;
    color: #666;
    display: inline-block;
}

.post-views-meta span.post-views-label {
    display: none;
}

.menu-kontakty-polytyka-pravyla-container ul li a {
    padding-right: 10px;
}

#menu-social-links-1 {
    display: none;
}

.top-title-home {
    font-size: 0.8em;
}

.home .code-block>li {
    list-style: none;
}

/* Иконка в заголовке */
.feed-icon {
    margin-left: 0.2rem;

}

/* Блогер подсветка */
.blogger-role::after {
    content: 'Автор блога';
    display: inline-block;
    /* background-color: #d13f3f; */
    background-color: var(--newspack-theme-color-primary-against-white);
    color: #ffffff;
    font-weight: bold;
    margin-left: 4px;
    padding: 2px 6px;
    /* border-radius: 4px; */
    font-size: 0.75em;
    line-height: 1;
}

.pristavka {
    background: grey;
    /*   font-size: 0.6rem; */
}

.stripe {
    font-size: .7em;
}

/* Liqpay */
.help-telegraf-body {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    font-family: "Segoe UI", sans-serif;
    max-width: 800px;
    margin: auto;
}

.help-telegraf-body h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.check-block.input-type {
    display: block;
    cursor: pointer;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.check-block.input-type input[type="radio"] {
    display: none;
}

.check-block.input-type span {
    display: block;
    color: #212529;
}

.check-block.input-type:hover {
    border-color: #0d6efd;
    background: #e7f0ff;
}

.check-block.input-type input[type="radio"]:checked+span {
    color: #fff;
    background-color: #0d6efd;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

input[name="custom_donat_amount"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input[name="custom_donat_amount"]:focus {
    border-color: #0d6efd;
    outline: none;
}

.bn.bn-primary {
    background-color: red;
    color: white;
    padding: 0.75rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    margin-top: 2rem;
    width: 100%;
    transition: background-color 0.3s;
}

.bn.bn-primary:hover {
    background-color: #0b5ed7;
}

@media (max-width: 480px) {
    .donation-options {
        flex-direction: column;
        gap: 10px;
    }

    .donation-options .check-block {
        width: 100%;
    }

    .donation-row {
        flex-direction: column;
        gap: 10px;
    }

    .donation-submit-wrapper {
        text-align: center;
    }

    #buy-subscription-btn {
        width: 100%;
    }
}

.highlight-menu-contain .wrapper {
    height: auto;
}

.uagb-ifb-icon-wrap {
    height: 24px;
    width: 24px;
}

/* custom-title */
.banner-title {
    box-sizing: border-box;
    font-family: var(--newspack-theme-font-heading);
    font-weight: 700;
    line-height: var(--newspack-theme-font-line-height-heading);
    -webkit-font-smoothing: antialiased;
    margin: 1rem 0;
    color: var(--newspack-theme-color-primary-against-white);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: .5em;
    width: 100%;
    font-size: var(--newspack-theme-font-size-xs);
}


/* pattern company cards */
.company-cards {
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
    font-size: 70%;
}

.company-cards-right {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* GDPR */
a.moove-gdpr-branding {
    display: none !important;
}

.single-post .entry-content a {
    text-decoration: underline dotted !important;
    text-underline-offset: 2px !important;
    color: #000 !important;
}

.author-bio .author-link {
    display: block;
    margin-top: 8px;
}

.author-job-title {
    display: inline-block;
    background-color: #6c757d;
    color: #ffffff !important;
    padding: 2px 8px;
    border-radius: px;
    font-weight: 500;
    line-height: 1.2;
    font-size: .6em !important;
    vertical-align: middle;
}

@media (max-width: 768px) {

    .author-bio h2 .author-job-title {
        width: fit-content !important;
        display: block;
        margin: 4px auto 0 !important;
    }

}

.read-more a {
    display: inline-block;
    padding: 6px 12px;
    background-color: #F1F1F1;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
    font-size: .8em;
    text-align: center
}

.all-news a{
    background-color:#F1F1F1;
    text-decoration: none !important;
  
}

/*.wp-block-button__link {
    display: inline-block;
    padding: 12px 16px;
    background-color: #F1F1F1;
    color: black;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
    font-size: .8em;
    text-align: center;
    font-weight: 100;
    font-style: normal;
  
}
.wp-block-button__link::after {
  content: "  →";
}

*/
/*stripe home*/
@media (max-width: 768px) {
    .stripe {
        font-size: 1em;
    }
}

/*Blogger-list*/

.newspack-blogger {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    flex-wrap: nowrap;
    /* текст не уходит под аватар */
    border-bottom: 1px solid #eee;
    /* только снизу */
    padding: 10px 0;
    /* сверху и снизу */
}

.newspack-blogger__avatar {
    flex: 0 0 auto;
    margin-top: 0;
    /* чтобы не цеплял border */
}

.newspack-blogger__avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ddd;
}

.newspack-blogger__content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.newspack-blogger__name {
    margin: 0 0 4px 0;
    font-size: 16px;
    line-height: 1.3;
    word-break: break-word;
}

.newspack-blogger__count {
    font-weight: normal;
    opacity: .6;
    font-size: .6em;
    margin-left: 6px;
}

.newspack-blogger__bio {
    font-size: 14px;
    opacity: .8;
    margin: 0;
    word-break: break-word;
}

@media (max-width: 500px) {
    .newspack-blogger__avatar img {
        width: 96px !important;
        height: 96px !important;
    }

    .newspack-blogger__name {
        font-size: 16px !important;
    }
}


/* ===== Blogger-Grid ===== */

.newspack-bloggers-grid {
    display: grid;
    gap: 32px;
}

@media (max-width: 699px) {
    .newspack-bloggers-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (min-width: 700px) {
    .newspack-bloggers-grid.cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .newspack-bloggers-grid.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .newspack-bloggers-grid.cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}


.newspack-blogger-card {
    border: 1px solid var(--wp--preset--color--light-gray, #eee);
    padding: 28px;
    text-align: center;
    transition: .2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.newspack-blogger-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}


.newspack-blogger-card__avatar img {
    border-radius: 50%;
    margin-bottom: 16px;
}

.newspack-blogger-card .avatar {
    height: 6rem;
    width: 6rem;
}


.newspack-blogger-card__meta {
    font-size: 13px;
    opacity: .7;
    margin-bottom: 10px;
}


.newspack-blogger-card__bio {
    font-size: 14px;
    margin-bottom: 16px;
}


.newspack-blogger-card__button {
    display: inline-block;
    margin-top: 8px;
    text-decoration: none;
}

.entry-content .wp-block-button__link {
    color: #fff;
}

.custom-title {
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
    font-family: var(--newspack-theme-font-heading);
    font-weight: 700;
    line-height: var(--newspack-theme-font-line-height-heading);
    -webkit-font-smoothing: antialiased;
    margin: 1rem 0;
    color: var(--newspack-theme-color-primary-against-white);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: .5em;
    width: 100%;
    font-size: var(--newspack-theme-font-size-xs);
    margin-top: 0;
}


time.entry-date.published {
    font-size: .6em !important;
}

.posted-on time.entry-date.published {
    font-size: 1em !important;
}

.archive time.entry-date.published {
    font-size: .7em !important;
}

.use-timeago time.entry-date.published {
    font-size: .9em !important;
}

/*Category title*/
@media only screen and (min-width: 782px) {
    .site-content {
        margin-top: 2rem !important;
    }
}
/*menu2*/
.highlight-menu li {

    height: 1em !important;

}

/*footer menu rozdily*/
@media (max-width: 768px) {
#menu-temy,
#menu-rozdily,
#menu-proyekty
{
  text-align: center;
  font-size: 1.1em;
}
}