/* ============================================================
   TechNews â€” modern design layer (2026)
   A clean, contemporary news look over the existing markup.
   Loaded LAST so it wins. Keeps the layout simple.
   ============================================================ */

:root {
  --bg: #ffffff;
  --text: #16181d;
  --muted: #6b7280;
  --faint: #9aa1ac;
  --line: #ececf0;
  --line-strong: #dfe1e6;
  --accent: #e11d2a;                 /* news red */
  --link-hover: #b3111c;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.06);
  --shadow-hover: 0 14px 34px rgba(16,24,40,.12);
  --maxw: 1180px;
  --gap: 30px;
  --tag-red:#e11d2a; --tag-purple:#7c3aed; --tag-blue:#2563eb;
  --tag-orange:#ea580c; --tag-pink:#db2777; --tag-black:#16181d; --tag-green:#0f9d58;
}

/* ---------- base ---------- */
body {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; }
h1,h2,h3,h4 { font-family: inherit; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; margin: 0; }
.container { max-width: var(--maxw); }

/* section rhythm */
.feature_news_section, .category_section, #footer_section { padding: 0; }
.category_section:not(.mobile):not(.tablet):not(.gadget):not(.camera):not(.design) { }
section, .category_section { margin-bottom: 8px; }

/* ---------- header ---------- */
.header_section_wrapper { border-bottom: 1px solid var(--line); }
.header-section { padding: 18px 0 10px; }
.left_section .date, .left_section p, .right_section .login, .right_section p { color: var(--muted); font-size: 12.5px; letter-spacing: .02em; }
.header-section .logo a, .logo.header-logo, .header-section h1 { letter-spacing: -.02em; }
.header_social a, .left_section .social a { color: var(--faint); margin-right: 14px; font-size: 15px; }
.header_social a:hover, .left_section .social a:hover { color: var(--accent); }

/* nav bar */
.navigation-section { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.navbar.m-menu { padding: 0; }
.navbar-default .navbar-nav > li > a {
  color: var(--text) !important; font-weight: 600; font-size: 13px;
  letter-spacing: .06em; text-transform: uppercase; padding: 16px 16px !important;
  position: relative;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li.active > a { color: var(--accent) !important; }
.navbar-default .navbar-nav > li > a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transition: transform .18s ease;
}
.navbar-default .navbar-nav > li:hover > a::after,
.navbar-default .navbar-nav > li.active > a::after { transform: scaleX(1); }
.head-search .form-control { border-radius: 999px; border: 1px solid var(--line-strong); }
.nav-cta .btn-primary { background: var(--accent); border-color: var(--accent); border-radius: 999px; font-weight: 600; }

/* ---------- category tags / chips ---------- */
.tag, .tag_lg {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: #fff !important; padding: 4px 11px; border-radius: 999px;
  line-height: 1.5; margin-bottom: 10px;
}
.tag a, .tag_lg a { color: #fff !important; }
.tag.red, .tag_lg.red { background: var(--tag-red); }
.tag.purple, .tag_lg.purple { background: var(--tag-purple); }
.tag.blue, .tag_lg.blue { background: var(--tag-blue); }
.tag.orange, .tag_lg.orange { background: var(--tag-orange); }
.tag.pink, .tag_lg.pink { background: var(--tag-pink); }
.tag.black, .tag_lg.black { background: var(--tag-black); }
.tag.green, .tag_lg.green { background: var(--tag-green); }

/* ---------- meta + social ---------- */
.feature_article_date, .category_article_date, .widget_article_date { color: var(--faint); font-size: 12.5px; margin-bottom: 10px; }
.feature_article_date a, .category_article_date a { color: var(--muted); }
.feature_article_content, .category_article_content { color: var(--muted); font-size: 14.5px; line-height: 1.65; }
.article_social, .media_social, .widget_article_social span { color: var(--faint); font-size: 12.5px; }
.article_social span, .media_social span { margin-right: 16px; }
.article_social i, .media_social i { color: var(--faint); margin-right: 6px; }

/* ---------- FEATURED: clean CSS grid (fixes the col-md-7 + col-md-5 + col-md-5 = 17 overflow) ---------- */
@media (min-width: 768px) {
  .feature_news_section .row {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: var(--gap);
    margin: 0;
  }
  .feature_news_section .row > [class*="col-md-7"] { grid-row: 1 / span 2; grid-column: 1; }
  .feature_news_section .row > [class*="col-md-5"] { grid-column: 2; }
  .feature_news_section .row > [class*="col-md-"] { max-width: 100%; flex: none; width: auto; padding: 0; }
}
.feature_news_section { padding: 28px 0; }
.feature_article_wrapper, .feature_static_wrapper, .feature_static_last_wrapper {
  position: relative; height: 100%; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); background: #000;
}
.feature_article_img { height: 100%; }
.feature_article_img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.feature_article_wrapper:hover .feature_article_img img,
.feature_static_wrapper:hover .feature_article_img img,
.feature_static_last_wrapper:hover .feature_article_img img { transform: scale(1.04); }
.feature_article_inner {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 22px 22px 20px;
  background: linear-gradient(to top, rgba(9,11,15,.92) 12%, rgba(9,11,15,.55) 55%, transparent);
  color: #fff;
}
.feature_article_inner .feature_article_title h1 a { color: #fff; }
.feature_article_wrapper .feature_article_title h1 { font-size: 26px; }
.feature_static_wrapper .feature_article_title h1,
.feature_static_last_wrapper .feature_article_title h1 { font-size: 17px; }
.feature_article_inner .feature_article_date,
.feature_article_inner .feature_article_date a { color: rgba(255,255,255,.8); }
.feature_article_inner .feature_article_content { color: rgba(255,255,255,.82); }
.feature_article_inner .article_social,
.feature_article_inner .article_social i,
.feature_article_inner .article_social a { color: rgba(255,255,255,.72); }
.feature_static_wrapper .feature_article_content,
.feature_static_last_wrapper .feature_article_content,
.feature_static_wrapper .article_social,
.feature_static_last_wrapper .article_social { display: none; }
.top_static_article_img, .feature_article_inner .tag_lg { position: static; }

/* ---------- category section headers ---------- */
.category_title, .cat_title, .category_section > .container > h2, .category_section h2.cat-head {
  font-size: 19px; text-transform: uppercase; letter-spacing: .04em;
}
.category_section .container { padding-top: 26px; }
/* generic "Mobile / Gadgets â€¦" heading rows use an h2/h3 + a rule; give them air */
.category_section h2, .category_section h3 { margin-bottom: 18px; }

/* ---------- category article cards ---------- */
.category_article_wrapper { margin-bottom: 34px; }
.category_article_wrapper > .row { align-items: center; }
.top_article_img {
  display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
/* only the big featured image fills its column â€” NOT the small .media thumbnails */
.top_article_img img { width: 100%; object-fit: cover; transition: transform .5s ease; }
.top_article_img:hover img { transform: scale(1.04); }
.category_article_title h2 { font-size: 20px; margin: 4px 0 8px; }
.category_article_title h2 a:hover { color: var(--accent); }

/* ---------- Bootstrap 5 removed the .media object â€” restore it ----------
   Every small article card (category grids, sidebar Popular News, related
   news, comments, footer) uses .media/.media-left/.media-body/.media-object.
   Without it they stack a full-width image on top of the text = broken look. */
.media { display: flex; align-items: flex-start; margin-bottom: 26px; }
.media > .media-left, .media > .pull-left { flex-shrink: 0; margin-right: 16px; }
.media > .media-body, .media > .media-right { flex: 1; min-width: 0; }
.media .media-object { width: 104px; height: 104px; object-fit: cover; border-radius: var(--radius-sm); display: block; }
.media .media-heading { margin: 0 0 4px; font-size: 15.5px; line-height: 1.35; }
.media .media-heading a:hover { color: var(--accent); }
.media .media-date { color: var(--faint); font-size: 12.5px; }
.media .media-date a { color: var(--muted); }
.widget .media .media-object { width: 84px; height: 84px; }
.related_news .media .media-object { width: 120px; height: 90px; }
@media (max-width: 480px) { .media .media-object { width: 84px; height: 84px; } }

/* ---------- sidebar widgets ---------- */
.widget { margin-bottom: 34px; }
.widget_title { border-bottom: 2px solid var(--text); padding-bottom: 8px; margin-bottom: 18px; }
.widget_title h2, .widget_title h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .04em; }
.widget_title.widget_black h2 a { color: var(--text); }
.widget_article_social, .widget .media { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.widget img { border-radius: var(--radius-sm); }
.widget_advertisement, .advertisement, [class*="advertis"] img { border-radius: var(--radius-sm); }

/* ---------- single article ---------- */
.entity_content, .single_content, .single-article { font-size: 17px; line-height: 1.75; color: #2a2d34; }
.entity_content p { margin-bottom: 1.1em; }
.entity_content h1, .entity_content h2, .entity_content h3 { margin: 1.4em 0 .5em; }
.readers_comment, .entity_comments { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 26px; }
.entity_comment_from .form-control, .comment .form-control { border-radius: var(--radius-sm); border: 1px solid var(--line-strong); }

/* ---------- footer ---------- */
#footer_section { background: #0f1115; color: #c4c9d2; margin-top: 40px; padding: 46px 0 0; }
#footer_section .footer-top, #footer_section hr { border-color: rgba(255,255,255,.08); display: none; }
.footer_widget_title h3 a { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
#footer_section a { color: #aeb4bf; }
#footer_section a:hover { color: #fff; }
.footer_bottom_Section { border-top: 1px solid rgba(255,255,255,.08); margin-top: 34px; padding: 20px 0; }
.footer_bottom_Section .footer, .footer_bottom_Section p { color: #8b93a0; font-size: 13px; }

/* ---------- misc cleanups: kill dated boxes/borders ---------- */
.well { background: transparent; border: 0; box-shadow: none; padding: 0; }
.category_section, .feature_news_section { border: 0 !important; }

/* ---------- responsive ---------- */
@media (max-width: 767.98px) {
  .feature_article_wrapper .feature_article_title h1 { font-size: 21px; }
  .feature_static_wrapper, .feature_static_last_wrapper { margin-top: 18px; }
  .category_article_title h2 { font-size: 18px; }
}

/* ---------- remove leftover decorative accent lines from the old theme ---------- */
.widget_title:after,
.footer_widget_title:after,
.footer_widget_title h3:after,
.category_title:after, .cat_title:after,
.right_section:after, .navigation-section:after, .navigation-section:before,
.head-search:after { display: none !important; content: none !important; }
/* footer titles: clean accent underline instead of the old teal bar */
.footer_widget_title { border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 10px; margin-bottom: 16px; }

/* kill the remaining pseudo-element accent lines (header-right login + featured) */
.right_section .navbar-nav > li:first-child a:after,
.right_section .navbar-nav li a:after,
.right_section a:after,
.feature_news_section:after, .feature_news_section:before,
.feature_article_wrapper:after, .feature_article_wrapper:before,
.feature_static_wrapper:after, .feature_static_last_wrapper:after,
.top_static_article_img:after { display: none !important; content: none !important; }

/* header search + language + mega dropdowns must stay closed until clicked
   (old style.css forced .dropdown-menu open, leaving stray bordered panels
   that overlapped the top-right of the featured area) */
.header_section_wrapper .dropdown-menu:not(.show),
.navigation-section .dropdown-menu:not(.show),
.right_section .dropdown-menu:not(.show) { display: none !important; }

/* neutralise the legacy dropdown hover-bridge spacer (transparent 30px ::before
   above every .dropdown-menu) â€” harmless but shows if pseudo bg is ever forced */
.dropdown-menu::before { display: none !important; content: none !important; }

/* video facades: real poster image + dark scrim so they read as video cards
   (they were plain black boxes that looked like failed image loads) */
.yt-facade { background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; }
.yt-facade::after { content: ""; position: absolute; inset: 0; background: rgba(12,14,20,.42); transition: background .2s ease; }
.yt-facade:hover::after { background: rgba(12,14,20,.20); }
.yt-facade .yt-play { position: relative; z-index: 2; }
.video_section .well { padding: 0; background: transparent; }
.video_section .ratio { border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.video_section .ratio.m16 { margin-top: 24px; }

/* ---------- modern "Follow Us" widget (replaces dated image-ad follow blocks) ---------- */
.uic-follow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.uic-fw { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--radius-sm); color: #fff !important; font-size: 12.5px; line-height: 1.2; }
.uic-fw i { font-size: 20px; }
.uic-fw b { display: block; font-size: 15px; }
.uic-fw:hover { color: #fff !important; opacity: .92; }
.uic-fw.fb { background: #1877f2; }
.uic-fw.tw { background: #1d9bf0; }
.uic-fw.ig { background: linear-gradient(45deg,#f09433,#e6683c 30%,#dc2743 50%,#cc2366 75%,#bc1888); }
.uic-fw.in { background: #0a66c2; }

/* ---------- declutter: hide dated image ad-slots + self-promo banners ----------
   Target the ad images by src (right_add*.jpg) so the legit podcast.jpg box stays. */
.adv_img, img[src*="right_add"],
[class*="advertis"] img, img[src*="banner_ad"], img[src*="ad_banner"] { display: none !important; }
/* podcast box: give the legit image widget a clean rounded frame */
.widget_img[src*="podcast"] { border-radius: var(--radius); }
/* hide empty ad-placeholder widgets that now have no content */
.widget:empty { display: none; }

/* ---------- STRUCTURAL: tighten the featured grid (hero was 617px of dark ceiling) ---------- */
@media (min-width: 768px) {
  .feature_news_section .row { grid-template-rows: 232px 232px; }
  .feature_article_wrapper .feature_article_img img { object-position: center 62%; } /* focus below the dark ceiling + its bright edge line */
}

/* ============================================================
   HEADER 2026: modern social buttons + login/register + alignment
   ============================================================ */
/* circular social icon buttons with branded hover */
.left_section .social a.icons-sm, .header_social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; margin: 0 8px 0 0; padding: 0;
  background: color-mix(in srgb, var(--text) 6%, transparent);
  color: var(--muted); font-size: 15px; line-height: 1;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.left_section .social a.icons-sm i { margin: 0; }
.left_section .social a.icons-sm:hover { color: #fff; transform: translateY(-2px); }
.icons-sm.fb-ic:hover { background:#1877f2; }
.icons-sm.tw-ic:hover { background:#1d9bf0; }
.icons-sm.inst-ic:hover, .icons-sm.insta-ic:hover { background:linear-gradient(45deg,#f09433,#e6683c 30%,#dc2743 55%,#cc2366 75%,#bc1888); }
.icons-sm.tmb-ic:hover { background:#36465d; }
.icons-sm.rss-ic:hover { background:#ee802f; }
.icons-sm.li-ic:hover { background:#0a66c2; }
.icons-sm.pin-ic:hover { background:#e60023; }

/* right section: align login / register / lang / search on one row */
.right_section { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.right_section .nav.navbar-nav { flex-direction: row; align-items: center; gap: 2px; margin: 0; }
.right_section .nav-cta { margin: 0; display: flex; align-items: center; }
.right_section .nav.navbar-nav > li > a { padding: 7px 10px !important; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--text) !important; font-weight: 600; }
/* Login = quiet link, Register = accent pill */
.right_section .nav.navbar-nav > li:nth-child(1) > a { color: var(--muted) !important; }
.right_section .nav.navbar-nav > li:nth-child(1) > a:hover { color: var(--text) !important; }
.right_section .nav.navbar-nav > li:nth-child(2) > a {
  background: var(--accent); color: #fff !important; border-radius: 999px; padding: 7px 18px !important;
}
.right_section .nav.navbar-nav > li:nth-child(2) > a:hover { background: var(--link-hover); color:#fff !important; }
.right_section .lang .btn { border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 12px; color: var(--muted); background: transparent; }

/* main nav: even alignment + centered row */
.navbar-default .navbar-nav.main-nav { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; }

/* branded hover must outrank the base .left_section .social a.icons-sm bg */
.left_section .social a.icons-sm.fb-ic:hover{background:#1877f2!important;color:#fff!important}
.left_section .social a.icons-sm.tw-ic:hover{background:#1d9bf0!important;color:#fff!important}
.left_section .social a.icons-sm.inst-ic:hover{background:linear-gradient(45deg,#f09433,#e6683c 30%,#dc2743 55%,#cc2366 75%,#bc1888)!important;color:#fff!important}
.left_section .social a.icons-sm.tmb-ic:hover{background:#36465d!important;color:#fff!important}
.left_section .social a.icons-sm.rss-ic:hover{background:#ee802f!important;color:#fff!important}

/* ---------- social icon glyph: dead-center in the circle ---------- */
.left_section .social a.icons-sm { line-height: 1; }
.left_section .social a.icons-sm i { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; margin: 0; font-size: 15px; }

/* ---------- language switcher: single caret, no underline, clean pill + menu ---------- */
.right_section .lang .dropdown-toggle {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 6px 14px; color: var(--text); background: transparent;
  font-size: 13px; font-weight: 600; box-shadow: none;
}
.right_section .lang .dropdown-toggle:hover { border-color: var(--muted); }
.right_section .lang .dropdown-toggle i { font-size: 11px; color: var(--muted); }
.right_section .lang .dropdown-toggle::after { display: none !important; content: none !important; }  /* kill BS caret (keep fa chevron) */
.right_section .lang a::after, .right_section .lang::after, .right_section .lang .dropdown-toggle::before { content: none !important; border: 0 !important; }
.right_section .lang .dropdown-menu { border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-hover); padding: 6px; min-width: 96px; margin-top: 6px; }
.right_section .lang .dropdown-menu > li > a, .right_section .lang .dropdown-menu a { padding: 7px 12px; border-radius: 7px; color: var(--text) !important; font-size: 13px; }
.right_section .lang .dropdown-menu a:hover { background: var(--line); color: var(--accent) !important; }

/* ---------- SIGN UP newsletter band (was a bare input + salmon button on white) ---------- */
section:has(> .container > form.form-horizontal), section:has(form.form-horizontal) {
  background: #0f1115; padding: 46px 0; margin-top: 40px;
}
form.form-horizontal .form-group { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 0; }
form.form-horizontal .col-sm-6, form.form-horizontal .col-sm-3, form.form-horizontal .col-sm-1, form.form-horizontal .col-sm-2 { width: auto; max-width: none; padding: 0; flex: none; }
form.form-horizontal .col-sm-2 { display: none; }
form.form-horizontal label { margin: 0; }
form.form-horizontal label h1 { color: #fff; font-size: clamp(20px,2.4vw,26px); margin: 0; font-weight: 800; letter-spacing: -.01em; }
form.form-horizontal label h1 .red-color { color: var(--accent); }
form.form-horizontal input.form-control {
  border-radius: 999px; border: 0; padding: 13px 22px; min-width: 300px; height: auto; font-size: 15px; background: #fff; color: var(--text);
}
form.form-horizontal .btn.pink, form.form-horizontal input[type="submit"] {
  background: var(--accent) !important; color: #fff !important; border: 0 !important; border-radius: 999px !important;
  padding: 13px 30px !important; font-weight: 700; font-size: 14px; cursor: pointer;
}
form.form-horizontal .btn.pink:hover, form.form-horizontal input[type="submit"]:hover { background: var(--link-hover) !important; }

/* footer bottom social: match circular style, subtle */
.footer_bottom_Section .social a, #footer_section .footer_social a { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:50%; background:rgba(255,255,255,.08); color:#c4c9d2; margin-right:6px; transition:all .18s; }
.footer_bottom_Section .social a:hover, #footer_section .footer_social a:hover { background:var(--accent); color:#fff; }

/* kill the legacy black underline on the language dropdown li */
.right_section li.dropdown.lang, .right_section .lang.dropdown { border: 0 !important; border-bottom: 0 !important; }

/* the dark signup band now flows straight into the dark footer â€” kill the white seam */
section:has(form.form-horizontal) { margin-bottom: 0; }
#footer_section, .footer_section { margin-top: 0 !important; }

/* footer section titles: kill the legacy white background + retint the accent bar */
.footer_widget_title { background: transparent !important; padding: 0 0 12px !important; }
.footer_widget_title h2, .footer_widget_title h3, .footer_widget_title h4 { background: transparent !important; }
.footer_widget_title h2::after, .footer_widget_title h3::after, .footer_widget_title h4::after { background: var(--accent) !important; height: 2px !important; }

/* meta icons (Shares/Comments): the theme draws a gray box behind them and the
   glyph color matched it -> invisible = looks like an empty square. Strip the box. */
.media_social i, .media_social a i, .article_social i, .widget_article_social i, .comment_box i {
  background: transparent !important; color: var(--faint) !important;
  padding: 0 !important; margin-right: 5px; border-radius: 0 !important;
  width: auto !important; height: auto !important; box-shadow: none !important; vertical-align: middle;
}
.media_social span, .media_social a { color: var(--faint); }

/* ---------- "More" MEGA MENU: full-width, columns side by side ---------- */
.navigation-section .navbar .container { position: relative; }
.m-menu-fw { position: static; }
.m-menu-fw > .dropdown-menu {
  width: 100%; left: 0; right: 0; margin-top: 0; border: 0;
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-hover);
  background: #fff; padding: 26px 30px;
}
.m-menu-fw > .dropdown-menu > li { display: block; width: 100%; }
.m-menu-fw .m-menu-content { display: flex; gap: 40px; }
.m-menu-fw .m-menu-content > ul { flex: 1 1 0; list-style: none; padding: 0; margin: 0; width: auto; max-width: none; }
.m-menu-fw .m-menu-content .dropdown-header {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text); padding: 0 0 10px; margin-bottom: 8px; border-bottom: 1px solid var(--line);
}
.m-menu-fw .m-menu-content li a { display: block; padding: 7px 0; color: var(--muted); font-size: 14px; }
.m-menu-fw .m-menu-content li a:hover { color: var(--accent); }

/* ---------- language dropdown menu: clean, right-aligned card ---------- */
.right_section .lang .dropdown-menu {
  border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-hover);
  padding: 6px; min-width: 120px; margin-top: 8px; background: #fff; right: 0; left: auto;
}
.right_section .lang .dropdown-menu li { display: block; border: 0 !important; }
.right_section .lang .dropdown-menu li a {
  display: block; padding: 8px 12px; border-radius: 7px; color: var(--text) !important;
  font-size: 13px; white-space: nowrap; background: transparent !important;
}
.right_section .lang .dropdown-menu li a:hover { background: var(--line); color: var(--accent) !important; }

/* BS3-era theme hid dropdowns via .open on the parent; BS5 adds .show to the menu.
   Force the shown menu visible (it was stuck at opacity:0/visibility:hidden). */
.dropdown-menu.show { opacity: 1 !important; visibility: visible !important; transform: none !important; }

/* ---------- FOOTER social buttons: match the header (centered glyph + branded hover) ---------- */
#footer_section .social a.icons-sm, .footer .social a.icons-sm, .footer_bottom_Section .social a.icons-sm {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; margin: 0 8px 0 0; padding: 0;
  background: rgba(255,255,255,.09); color: #c4c9d2; font-size: 15px; line-height: 1;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
#footer_section .social a.icons-sm i, .footer .social a.icons-sm i, .footer_bottom_Section .social a.icons-sm i {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; margin: 0; background: transparent !important;
}
#footer_section .social a.icons-sm:hover, .footer .social a.icons-sm:hover, .footer_bottom_Section .social a.icons-sm:hover { color: #fff; transform: translateY(-2px); }
#footer_section .social .fb-ic:hover, .footer .social .fb-ic:hover { background:#1877f2 !important; }
#footer_section .social .tw-ic:hover, .footer .social .tw-ic:hover { background:#1d9bf0 !important; }
#footer_section .social .inst-ic:hover, .footer .social .inst-ic:hover { background:linear-gradient(45deg,#f09433,#e6683c 30%,#dc2743 55%,#cc2366 75%,#bc1888) !important; }
#footer_section .social .tmb-ic:hover, .footer .social .tmb-ic:hover { background:#36465d !important; }
#footer_section .social .rss-ic:hover, .footer .social .rss-ic:hover { background:#ee802f !important; }

/* footer social glyphs were inheriting black -> invisible on the dark footer; force light + center */
#footer_section .social a.icons-sm i, .footer .social a.icons-sm i, .footer_bottom_Section .social a.icons-sm i {
  color: #c4c9d2 !important;
}
#footer_section .social a.icons-sm:hover i, .footer .social a.icons-sm:hover i, .footer_bottom_Section .social a.icons-sm:hover i { color: #fff !important; }

/* ---------- article share row (.entity_social): consistent circular buttons ---------- */
.entity_social { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
/* "424 Shares" count indicator (not a button) */
.entity_social a.sh-ic {
  display: inline-flex !important; align-items: center; gap: 8px;
  background: transparent !important; color: var(--text) !important;
  width: auto !important; height: auto !important; border-radius: 0 !important;
  padding: 0 6px 0 0 !important; margin: 0 4px 0 0; transform: none !important; box-shadow: none !important;
}
.entity_social a.sh-ic i { color: var(--faint) !important; font-size: 15px; background: transparent !important; width:auto!important;height:auto!important; }
.entity_social a.sh-ic b { font-weight: 700; color: var(--text); }
.entity_social a.sh-ic .share_ic { color: var(--muted); }
/* the social buttons: circular, subtle, branded hover (matches header/footer) */
.entity_social a.icons-sm:not(.sh-ic) {
  display: inline-flex !important; align-items: center; justify-content: center;
  width: 38px !important; height: 38px !important; border-radius: 50% !important; padding: 0 !important; margin: 0;
  background: color-mix(in srgb, var(--text) 6%, transparent) !important; color: var(--muted) !important;
  font-size: 15px; transform: none !important; box-shadow: none !important;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.entity_social a.icons-sm:not(.sh-ic) i { color: inherit !important; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; margin: 0; background: transparent !important; }
.entity_social a.icons-sm:not(.sh-ic):hover { color: #fff !important; transform: translateY(-2px) !important; }
.entity_social .fb-ic:not(.sh-ic):hover { background:#1877f2 !important; }
.entity_social .tw-ic:hover { background:#1d9bf0 !important; }
.entity_social .inst-ic:hover { background:linear-gradient(45deg,#f09433,#e6683c 30%,#dc2743 55%,#cc2366 75%,#bc1888) !important; }
.entity_social .tmb-ic:hover { background:#36465d !important; }
.entity_social .rss-ic:hover { background:#ee802f !important; }

/* all share-row hovers need specificity >= the base .icons-sm bg rule, or only
   facebook (which already had :not(.sh-ic)) changed color on hover */
.entity_social a.icons-sm.fb-ic:not(.sh-ic):hover { background:#1877f2 !important; }
.entity_social a.icons-sm.tw-ic:not(.sh-ic):hover { background:#1d9bf0 !important; }
.entity_social a.icons-sm.inst-ic:not(.sh-ic):hover { background:linear-gradient(45deg,#f09433,#e6683c 30%,#dc2743 55%,#cc2366 75%,#bc1888) !important; }
.entity_social a.icons-sm.tmb-ic:not(.sh-ic):hover { background:#36465d !important; }
.entity_social a.icons-sm.rss-ic:not(.sh-ic):hover { background:#ee802f !important; }