/*
Theme Name: Cyber Insights 365
Description: An editorial magazine for global cybersecurity coverage, daily device tips, and country editions.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 7.4
Author: Cyber Insights
Text Domain: cyber-insights-365
Domain Path: /languages
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
@font-face {
  font-family: BarlowCond;
  src: url(assets/fonts/barlow-condensed-800.ttf) format("truetype");
  font-display: swap;
  font-weight: 800;
}
@font-face {
  font-family: DMSans;
  src: url(assets/fonts/dm-sans-400.ttf) format("truetype");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: DMSans;
  src: url(assets/fonts/dm-sans-700.ttf) format("truetype");
  font-display: swap;
  font-weight: 700;
}
:root {
  --paper: #fbfaf6;
  --ink: #171b1b;
  --muted: #54605f;
  --line: #c9cbc5;
  --red: #bc3421;
  --hot: #fb5737;
  --sans: DMSans, "Noto Sans Devanagari", "Noto Sans Arabic", Arial, sans-serif;
  --serif: Georgia, "Noto Serif Devanagari", "Noto Naskh Arabic", serif;
  --frame: 1272px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.5 var(--sans);
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
button,
select,
summary {
  cursor: pointer;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.frame {
  width: min(calc(100% - 96px), var(--frame));
  margin-inline: auto;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #1783ae;
  outline-offset: 4px;
}
.skip,
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(100%);
  overflow: hidden;
}
.skip:focus {
  width: auto;
  height: auto;
  clip-path: none;
  inset: 8px auto auto 8px;
  background: #fff;
  padding: 8px 18px;
  z-index: 99;
}
.utility {
  background: var(--ink);
  color: #eeeae3;
  font-size: 12px;
}
.utility-inner,
.utility-tools,
.mast,
.nav-inner,
.primary,
.primary ul,
.brand,
.mast-brand,
.pop > summary,
.lead-kicker,
.lead-meta,
.read-link,
.section-head,
.tip-top,
.foot-content,
.foot-base {
  display: flex;
  align-items: center;
}
.utility-inner {
  justify-content: space-between;
  min-height: 33px;
}
.utility-date {
  display: flex;
  align-items: center;
  gap: 10px;
}
.utility-date i {
  width: 6px;
  height: 6px;
  background: var(--hot);
}
.utility-tools {
  gap: 16px;
}
.tool-rule {
  height: 12px;
  border-inline-start: 1px solid #666;
}
.edition-name {
  font-weight: 700;
}
.pop {
  position: relative;
}
.pop > summary {
  gap: 8px;
  list-style: none;
  min-height: 32px;
}
.pop > summary::-webkit-details-marker {
  display: none;
}
.chev {
  height: 6px;
  width: 6px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
  margin-block-start: -3px;
}
.pop[open] .chev {
  transform: rotate(225deg);
  margin-block-start: 3px;
}
.pop-panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 1px);
  min-width: 160px;
  z-index: 8;
  padding: 8px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 10px 20px #161b1917;
}
.pop-panel a {
  display: block;
  padding: 7px 14px;
  text-decoration: none;
}
.pop-panel a:hover,
.pop-panel a[aria-current] {
  background: #e9e9df;
}
.region-panel {
  width: 232px;
  padding: 14px;
}
.region-panel label {
  display: block;
  margin-bottom: 6px;
}
.region-panel select {
  width: 100%;
  background: var(--paper);
  color: var(--ink);
  padding: 6px;
}
.loc-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  border: 1px solid;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}
.mast {
  justify-content: space-between;
  gap: 24px;
  padding-block: 18px 21px;
}
.brand {
  gap: 14px;
  line-height: 0.9;
  text-decoration: none;
  white-space: nowrap;
  font:
    800 clamp(3rem, 6.25vw, 6.3rem) / 0.95 BarlowCond,
    "Arial Narrow",
    sans-serif;
  letter-spacing: -0.045em;
}
.brand em {
  color: var(--red);
  font-style: normal;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transform: skewX(-16deg);
  margin-inline: 5px 3px;
}
.brand-mark b {
  display: block;
  width: 0.085em;
  background: var(--red);
  height: 0.42em;
}
.brand-mark b:nth-child(2) {
  height: 0.62em;
}
.brand-mark b:nth-child(3) {
  height: 0.49em;
}
.mast p,
.foot-content p {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin: 0;
}
.mast .custom-logo {
  max-width: min(520px, 75vw);
  max-height: 94px;
  width: auto;
}
.nav-bar {
  border-top: 1px solid var(--line);
  border-bottom: 2px solid var(--ink);
}
.nav-inner {
  justify-content: space-between;
  gap: 15px;
}
.primary,
.primary ul {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: clamp(18px, 3.3vw, 50px);
}
.primary a {
  display: block;
  position: relative;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  padding-block: 12px;
}
.primary a:hover,
.primary [aria-current="page"],
.primary .current-menu-item > a {
  color: var(--red);
}
.primary [aria-current="page"]:after,
.primary .current-menu-item > a:after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 3px;
  background: var(--red);
}
.search-pop > summary {
  font-size: 13px;
  font-weight: 700;
  padding-inline-start: 18px;
  border-inline-start: 1px solid var(--line);
  min-height: 16px;
}
.search-icon {
  display: inline-block;
  width: 13px;
  height: 13px;
  border: 1.65px solid;
  border-radius: 50%;
  position: relative;
}
.search-icon:after {
  content: "";
  position: absolute;
  width: 6px;
  height: 1.65px;
  background: currentColor;
  bottom: -2px;
  right: -4px;
  transform: rotate(45deg);
}
.search-pop .pop-panel {
  top: calc(100% + 15px);
  width: min(390px, 85vw);
}
.search-form {
  display: flex;
  gap: 5px;
}
.search-form label {
  flex: 1;
}
.search-form input,
.region-form select {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.search-form button,
.region-form button {
  padding: 7px 12px;
  background: var(--ink);
  color: white;
  border: 0;
}
.front {
  padding-block: 32px 50px;
}
.lead {
  display: grid;
  grid-template-columns: minmax(0, 1.21fr) minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(30px, 4.1vw, 66px);
  margin-bottom: 43px;
}
.lead-image {
  display: block;
  position: relative;
  min-height: 340px;
  overflow: hidden;
  background: #181b1c;
}
.lead-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.lead-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-block: 14px 18px;
}
.lead-kicker,
.overline,
.area-name {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.115em;
  color: var(--red);
}
.lead-kicker {
  gap: 9px;
  flex-wrap: wrap;
}
.lead-kicker span {
  width: 9px;
  height: 9px;
  background: var(--red);
}
.lead-kicker i {
  width: 15px;
  height: 1px;
  background: var(--red);
}
h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}
.lead h1,
.listing h1,
.article h1 {
  font: normal clamp(2.7rem, 4.75vw, 4.65rem) / 0.99 var(--serif);
  letter-spacing: -0.062em;
  margin: 17px 0 14px;
  text-wrap: balance;
}
.lead h1 a,
.story-card a,
.tip-card h3 a,
.regional-items a {
  text-decoration: none;
}
h1 a:hover,
h3 a:hover,
.regional-items a:hover,
.read-link:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.13em;
}
.standfirst {
  font: 400 clamp(1rem, 1.28vw, 1.19rem) / 1.48 var(--sans);
  color: #49504e;
  margin: 0;
  max-width: 48ch;
}
.lead-meta,
.story-date {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.lead-meta {
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}
.lead-meta span:first-child {
  color: var(--ink);
  font-weight: 700;
}
.lead-meta b {
  width: 3px;
  height: 3px;
  background: #7c817b;
  border-radius: 50%;
}
.read-link {
  align-self: flex-start;
  display: inline-flex;
  gap: 10px;
  width: fit-content;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 24px;
}
.arrow {
  font: normal 1.15rem/1 Arial;
  color: var(--red);
}
.news-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 0.99fr);
  gap: 34px;
}
.section-head {
  border-top: 2px solid var(--ink);
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0 17px;
}
.section-head h2 {
  font: bold clamp(1.55rem, 2vw, 2.2rem) / 1.15 var(--serif);
  letter-spacing: -0.045em;
  margin: 0;
}
.section-mark {
  width: 12px;
  height: 12px;
  flex: none;
  background: repeating-linear-gradient(
    105deg,
    var(--red) 0 2px,
    transparent 2px 4px
  );
  margin-inline-start: auto;
}
.card-grid,
.archive-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 22px;
}
.artlink {
  display: block;
  overflow: hidden;
  background: #e2e5df;
  aspect-ratio: 1.97;
}
.artlink img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.artlink:hover img {
  transform: scale(1.025);
}
.story-card .overline {
  margin: 14px 0 5px;
}
.story-card h3 {
  font: 600 clamp(1.35rem, 1.9vw, 1.85rem) / 1.1 var(--serif);
  margin: 0 0 9px;
  letter-spacing: -0.04em;
}
.tip-card {
  background: #e4ebc9;
  padding: 23px clamp(20px, 2.55vw, 39px) 27px;
  border-top: 4px solid #506239;
}
.tip-top {
  justify-content: space-between;
  min-height: 35px;
}
.tip-top .overline {
  color: #3e5329;
}
.lock {
  width: 28px;
  height: 22px;
  display: block;
  border: 2px solid #475634;
  border-radius: 2px;
  position: relative;
  margin-top: 9px;
  transform: rotate(8deg);
}
.lock:before {
  content: "";
  width: 14px;
  height: 14px;
  position: absolute;
  left: 4.8px;
  top: -16px;
  border: 2px solid #475634;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
}
.lock:after {
  content: "";
  position: absolute;
  width: 3px;
  height: 7px;
  background: #475634;
  top: 6px;
  left: 10px;
}
.tip-card h3 {
  font: 500 clamp(1.6rem, 2.3vw, 2.45rem) / 1.06 var(--serif);
  letter-spacing: -0.05em;
  margin: 19px 0 10px;
}
.tip-card p {
  color: #34412f;
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
}
.tip-card .read-link {
  border-bottom: 1px solid #657752;
  padding-bottom: 2px;
}
.tip-card .arrow {
  color: #34412f;
}
#regional {
  margin-top: 38px;
}
.regional-items ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 25px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.regional-items li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.regional-items time {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}
.regional-items .zone-story {
  font: 600 1.35rem/1.25 var(--serif);
}
.quiet {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 12px;
}
.site-foot {
  background: var(--ink);
  color: var(--paper);
  padding-block: 30px 13px;
}
.site-foot .brand {
  font-size: 42px;
}
.site-foot .brand em {
  color: var(--hot);
}
.site-foot .brand-mark b {
  background: var(--hot);
}
.foot-content,
.foot-base {
  justify-content: space-between;
  gap: 20px;
}
.foot-content p {
  color: #bfc3b9;
  margin: 10px 0;
}
.foot-links,
.foot-links ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  list-style: none;
  padding: 0;
}
.foot-links a,
.foot-base a {
  font-size: 12px;
  text-decoration: none;
}
.foot-base {
  border-top: 1px solid #555951;
  margin-top: 20px;
  padding-top: 12px;
  color: #c2c4be;
  font-size: 11px;
}
.listing,
.article-wrap {
  padding-block: 46px 65px;
  min-height: 52vh;
}
.listing h1,
.article h1 {
  margin-top: 9px;
  font-size: clamp(2.65rem, 5.5vw, 5rem);
}
.listing small {
  display: inline-block;
  font: normal 0.5em var(--sans);
}
.archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 25px 0;
}
.article header {
  max-width: 880px;
  margin-inline: auto;
}
.article .standfirst {
  max-width: 64ch;
}
.article .lead-meta {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.article-cover {
  max-width: 1000px;
  margin: 26px auto;
}
.article-cover img {
  width: 100%;
}
.article-cover figcaption,
.wp-caption-text,
.wp-block-image figcaption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 5px;
}
.body-copy,
.comments,
.tags {
  max-width: 730px;
  margin: 28px auto;
}
.body-copy {
  font: normal 1.2rem/1.7 var(--serif);
  overflow-wrap: anywhere;
}
.body-copy h2,
.body-copy h3 {
  line-height: 1.2;
}
.body-copy a,
.tags a,
.comments a {
  color: var(--red);
  text-underline-offset: 0.15em;
}
.body-copy table {
  border-collapse: collapse;
  max-width: 100%;
  font-size: 0.9em;
}
.body-copy :is(td, th) {
  padding: 8px;
  border: 1px solid var(--line);
}
.body-copy pre {
  overflow: auto;
  max-width: 100%;
  background: #eaeae4;
  padding: 15px;
}
.body-copy blockquote {
  margin-inline: 0;
  padding-inline-start: 20px;
  border-inline-start: 3px solid var(--red);
}
.body-copy .alignwide {
  width: min(920px, calc(100vw - 70px));
  position: relative;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  max-width: none;
}
.body-copy .alignfull {
  width: calc(100vw - 28px);
  position: relative;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  max-width: none;
}
.alignright {
  float: right;
  margin: 0 0 1em 1em;
}
.alignleft {
  float: left;
  margin: 0 1em 1em 0;
}
.aligncenter {
  margin-inline: auto;
}
.wp-caption,
.wp-block-image {
  max-width: 100%;
}
.body-copy:after {
  content: "";
  display: block;
  clear: both;
}
.body-copy details {
  padding: 12px 16px;
  border: 1px solid var(--line);
  font: 400 1rem/1.5 var(--sans);
}
.body-copy details + details {
  margin-top: 8px;
}
.comments textarea,
.comments input:not([type="checkbox"]) {
  max-width: 100%;
  padding: 7px;
}
.comments li {
  margin-block: 10px;
}
.page-numbers {
  padding: 5px;
}
.search-results .search-form {
  max-width: 480px;
}
.updated {
  font-style: italic;
}
.empty-title {
  font: 600 3rem var(--serif);
}
[dir="rtl"] .body-copy :is(.alignwide, .alignfull) {
  transform: translateX(50%);
}
html:is([dir="rtl"], [lang^="hi"])
  :is(h1, h2, h3, .overline, .lead-kicker, .area-name) {
  letter-spacing: normal;
  line-height: 1.35;
}
html[dir="rtl"] .brand {
  direction: ltr;
}
html[lang^="ur"] :is(.body-copy, h1, h2, h3) {
  font-family: "Noto Naskh Arabic", "Noto Nastaliq Urdu", serif;
}
html[dir="rtl"] .arrow {
  transform: scaleX(-1);
}
.article-wrap :is(iframe, video) {
  max-width: 100%;
}
@media (max-width: 900px) {
  .frame {
    width: calc(100% - 48px);
  }
  .lead {
    gap: 25px;
    grid-template-columns: 1.05fr 1fr;
  }
  .lead-image {
    min-height: 305px;
  }
  .lead h1 {
    font-size: clamp(2.2rem, 5.1vw, 3.55rem);
  }
  .news-layout {
    gap: 22px;
  }
  .mast p {
    font-size: 12px;
  }
  .primary,
  .primary ul {
    gap: 22px;
  }
  .card-grid {
    gap: 20px 14px;
  }
}
@media (max-width: 680px) {
  .frame {
    width: calc(100% - 32px);
  }
  .utility-inner {
    min-height: 32px;
  }
  .utility-date {
    font-size: 10px;
    gap: 6px;
  }
  .utility-tools {
    gap: 9px;
    font-size: 11px;
  }
  .mast {
    padding-block: 16px;
  }
  .brand {
    font-size: clamp(2.7rem, 10.8vw, 4.35rem);
    gap: 9px;
  }
  .mast p {
    display: none;
  }
  .nav-inner {
    gap: 10px;
  }
  .primary {
    overflow-x: auto;
    flex: 1;
    scrollbar-width: thin;
  }
  .primary,
  .primary ul {
    gap: 18px;
  }
  .primary a {
    font-size: 12px;
    white-space: nowrap;
    padding-block: 10px;
  }
  .search-pop > summary {
    padding-inline: 8px 3px;
    min-height: 26px;
  }
  .search-pop > summary span {
    position: absolute;
    clip-path: inset(100%);
    width: 1px;
    height: 1px;
    overflow: hidden;
  }
  .lead {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 26px;
  }
  .lead-image {
    min-height: 0;
    aspect-ratio: 1.65;
  }
  .lead h1 {
    font-size: clamp(2.4rem, 8.1vw, 3.7rem);
    margin: 12px 0;
  }
  .lead-copy {
    padding: 18px 0 0;
  }
  .lead-meta {
    margin-top: 12px;
  }
  .read-link {
    margin-top: 14px;
  }
  .front {
    padding-block: 18px 32px;
  }
  .news-layout {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  .section-head {
    padding: 10px 0 14px;
  }
  .card-grid,
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .story-card h3 {
    font-size: 1.27rem;
  }
  .story-card .overline {
    font-size: 10px;
  }
  .tip-card {
    padding: 16px 21px 20px;
  }
  .tip-card h3 {
    font-size: 1.85rem;
  }
  .tip-card .tip-top {
    min-height: 24px;
  }
  .foot-content {
    align-items: flex-start;
    flex-direction: column;
  }
  .foot-content,
  .foot-base {
    gap: 10px;
  }
  .listing,
  .article-wrap {
    padding-block: 30px;
  }
  .regional-items ul {
    grid-template-columns: 1fr;
  }
  .body-copy {
    font-size: 1.1rem;
  }
  .region-panel {
    inset-inline-end: -40px;
  }
  .lead-meta {
    font-size: 11px;
  }
}
@media (max-width: 370px) {
  .utility-date {
    max-width: 10em;
    line-height: 1.1;
  }
  .card-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}

.section-more {
  color: var(--red);
  font: 700 12px var(--sans);
  text-decoration: none;
}
.section-more:hover {
  text-decoration: underline;
}
.arrow {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  font-size: 0;
}
.arrow:before {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid;
  border-right: 1.5px solid;
}
.arrow:after {
  content: "";
  position: absolute;
  top: 5px;
  right: 0;
  width: 12px;
  border-top: 1.5px solid;
  transform: rotate(-45deg);
}
.nav-toggle,
.mobile-tip-link {
  display: none;
}
@media (max-width: 680px) {
  .ci365-interactive .nav-inner {
    position: relative;
    min-height: 43px;
    gap: 15px;
  }
  .ci365-interactive .nav-toggle,
  .ci365-interactive .mobile-tip-link {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 0;
    padding: 8px 0;
    background: transparent;
    color: var(--ink);
    font: 700 12px/1.3 var(--sans);
    text-decoration: none;
  }
  .ci365-interactive .nav-toggle i {
    width: 13px;
    height: 9px;
    border-block: 1.5px solid;
  }
  .ci365-interactive .nav-toggle[aria-expanded="true"] {
    color: var(--red);
  }
  .ci365-interactive .primary {
    display: none;
  }
  .ci365-interactive .nav-toggle[aria-expanded="true"] ~ .primary {
    display: block;
    position: absolute;
    inset: 100% 0 auto;
    z-index: 7;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: 0 6px 12px #161b1921;
    padding: 2px 14px;
  }
  .ci365-interactive .primary ul {
    display: block;
  }
  .ci365-interactive .primary a {
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }
  .ci365-interactive .primary [aria-current="page"]:after {
    display: none;
  }
  .ci365-interactive .mobile-tip-link {
    margin-inline-start: auto;
  }
  .ci365-interactive .search-pop > summary {
    min-height: 36px;
    padding-inline: 13px 6px;
  }
}
