/*
Theme Name: Security Loophole
Version: 1.11 – 2-col main + same height cards + arrows + pagination restored
Description: Dark cyber magazine theme – fixed all regressions
Text Domain: securityloophole
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background:#0A0E14;
  color:#D1D5DB;
  line-height:1.6;
  position: relative;
}
a { text-decoration:none; color:#00F0FF; }
a:hover { text-decoration:underline; }
.container { max-width:1280px; margin:0 auto; padding:0 20px; }

/* Header */
header {

	background: linear-gradient(135deg, #00F0FF22, #FF2D5522);
	border-bottom:1px solid #2A2F3A;
  z-index:100;
  padding-top:8px;
}
.header-inner {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:1rem;
}
.logo { font-size:1.9rem; font-weight:800; color:#FFFFFF; }
.logo span { color:#00F0FF; font-weight:600; }
nav ul { display:flex; list-style:none; gap:1.8rem; flex-wrap:wrap; }
nav a { color:#D1D5DB; font-weight:500; transition:color 0.2s; font-size:0.95rem; }
nav a:hover { color:#00F0FF; }
.header-right {
  display:flex;
  align-items:center;
  gap:0.9rem;
}
.social-icons {
  display:flex;
  align-items:center;
  gap:0.7rem;
}
.social-icons a,
.search-icon {
  color:#9CA3AF;
  font-size:1.1rem;
  transition:all 0.2s;
  display:flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
}
.social-icons a:hover,
.search-icon:hover {
  color:#00F0FF;
  transform:scale(1.15);
}
.btn {
background: #61C5DC;
background: linear-gradient(90deg,rgba(97, 197, 220, 1) 0%, rgba(63, 158, 179, 1) 45%);
	color:#ffffff;

	padding:0.65rem 1.3rem;
  border-radius:6px;
  font-weight:600; transition:all 0.25s;
  border:none; cursor:pointer; font-size:0.92rem;
}
.btn:hover {
   transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(0,240,255,0.25);
}




/* Search Overlay */
.search-overlay {
  position:fixed; top:0; left:0; width:100%; height:100%;
  background:rgba(10,14,20,0.95); display:none; align-items:center; justify-content:center;
  z-index:200; backdrop-filter:blur(4px);
}
.search-overlay.active { display:flex; }
.search-box { width:90%; max-width:700px; position:relative; }
.search-input {
  width:100%; padding:1.2rem 1.8rem; border-radius:8px; border:1px solid #00F0FF55;
  background:#1E222A; color:#FFFFFF; font-size:1.3rem; outline:none;
}
.search-input::placeholder { color:#6B7280; }
.close-search {
  position:absolute; right:1rem; top:50%; transform:translateY(-50%);
  color:#9CA3AF; font-size:1.8rem; cursor:pointer;
}
.close-search:hover { color:#FFFFFF; }

/* Floating Share */
.floating-share {
  position:fixed; left:15px; top:50%; transform:translateY(-50%);
  z-index:90; display:flex; flex-direction:column; gap:10px;
  background:rgba(30,34,42,0.7); padding:10px 6px; border-radius:12px;
  border:1px solid #2A2F3A; backdrop-filter:blur(6px);
}
.share-btn {
  color:#9CA3AF; font-size:1.3rem;
  transition:all 0.25s;
  display:flex; align-items:center; justify-content:center;
  width:36px; height:36px;
}
.share-btn:hover { color:#00F0FF; transform:scale(1.2); }


.home h1 {
    
    display:inline;
font-size: 0.9rem;
    color: #757575;
    font-weight:normal;
}


/* Layout */
.top-featured { padding: 2.5rem 0 1rem; text-align:center; }
.hero-title {
  font-size:2.4rem;
  font-weight:800;
  color:#FFFFFF;
  margin-bottom:0.8rem;
  letter-spacing:-0.8px;
}
.hero-desc {
font-size: 0.9rem;
	color:#757575;
  max-width:900px;
  margin:0 auto 2.5rem;
  line-height:1.7;
margin-bottom:60px;}
.with-sidebar {
  display: flex;
  gap: 2.5rem;
  padding: 1rem 0 4rem;
}
.content { flex: 3; }
.sidebar { flex: 1; min-width: 280px; }
.full-width-section { padding: 3rem 0; }
.section-title {
  font-size:1.9rem; font-weight:600; color:#D1D5DB;
  margin:0 0 2.5rem; letter-spacing:-0.5px;
	margin-top:10px;
}

/* Grids */
.grid-2 { display:grid; grid-template-columns:repeat(auto-fit, minmax(480px, 1fr)); gap:2.8rem; }
.grid-3 { display:grid; grid-template-columns:repeat(auto-fit, minmax(340px, 1fr)); gap:2.5rem; }

/* Cards – same height */
.card {
  background:#1E222A;
  border-radius:14px;
  overflow:hidden;
  border:1px solid #2A2F3A;
  transition:all 0.35s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 460px;
}
.card:hover {
  transform:translateY(-12px);
  box-shadow:0 24px 48px rgba(0,240,255,0.15);
  border-color:#00F0FF55;
}
.card-img { height:220px; background-size:cover; background-position:center; flex-shrink:0; }
.card-content {
  padding:1.8rem 2rem 2.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left; /* no centering */
}
.card-tag {
  display: inline-block;
  background:#C41E3A22;
  color:#FF2D55;
  padding:0.4rem 1rem;
  border-radius:30px;
  font-size:0.9rem;
  font-weight:600;
  margin-bottom:1.1rem;
  align-self: flex-start;
}
.card h3 {
  font-size:1.55rem;
  margin:0 0 0.8rem;
  color:#FFFFFF;
  line-height:1.3;
  flex-grow: 1;
	font-weight:600;
}
.author {
  font-size:0.95rem;
  color:#9CA3AF;
  margin-bottom:1rem;
  font-weight:500;
  display:flex;
  align-items:center;
  gap:1rem;
}
.author-logo {
  width:42px;
  height:42px;
  border-radius:50%;
  object-fit:contain;
  background:transparent;
  border:none;
}

img.alignleft  {
	width:auto;
	float:left;
	padding-right:20px;
}

img.right  {
	width:auto;
	float:right;
	padding-left:20px;
}


#webinars {
	
	margin-top:30px;
}

#webinars {
	font-size:19px;
}

.wp-block-rss {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wp-block-rss li {
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wp-block-rss li:last-child {
  border-bottom: none;
}

.wp-block-rss a {
  color: #ffffff;
  font-weight: 400; /* normal weight */
  font-size: 16px;
  text-decoration: none;
  line-height: 1.5;
  transition: opacity 0.3s ease;
}

.wp-block-rss a:hover {
  opacity: 0.7;
}

.excerpt {
  font-size:1rem;
  color:#CBD5E1;
  margin-top: auto;
}
.alert-card .card-tag { background:#FF2D5522; color:#FF2D55; }

/* Inner page content fixes */
.article-content ul {
  list-style: none;
  margin: 1.2rem 0 1.8rem 1.5rem;
}
.article-content ul li {
  position: relative;
  margin-bottom: 0.9rem;
}
.article-content ul li::before {
  content: "→";
  color: #00F0FF;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Pagination */
.pagination {
  margin-top: 3rem;
  text-align: center;
}
.pagination ul {
  display: inline-flex;
  list-style: none;
  gap: 0.5rem;
}
.pagination a,
.pagination .current {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: 1px solid #2A2F3A;
  border-radius: 6px;
  color: #D1D5DB;
  text-decoration: none;
}
.pagination .current {
  background: #00F0FF22;
  border-color: #00F0FF;
}
.pagination a:hover {
  background: #00F0FF11;
}

/* Sidebar Widgets */
.widget { background:#1E222A; border:1px solid #2A2F3A; border-radius:12px; padding:1.6rem; margin-bottom:2rem; }
.widget h3 { color:#FFFFFF; font-size:1.3rem; margin-bottom:1.2rem; font-weight:600; }
.newsletter-form input { width:100%; padding:0.9rem; margin:0.8rem 0; border-radius:6px; border:1px solid #2A2F3A; background:#121212; color:#D1D5DB; font-size:0.95rem; }
.promo-banner { background:linear-gradient(135deg, #00F0FF22, #FF2D5522); padding:1.4rem; border-radius:10px; text-align:center; font-weight:600; }
.promo-banner a { color:#FFFFFF; font-size:1.1rem; font-size: 16px; }

/* Footer */
footer {
  background:#0A0E14; border-top:1px solid #2A2F3A;
  padding:4rem 0 2rem; text-align:center; color:#6B7280; font-size:0.92rem;
}
.footer-links a { margin:0 1.2rem; color:#9CA3AF; }
.other-platforms { margin:1.5rem 0; font-size:0.95rem; }
.other-platforms a { color:#00F0FF; margin:0 0.8rem; }

/* Responsive */
@media (max-width:1024px) {
  .with-sidebar { flex-direction:column; }
  .sidebar { order:2; }
  .floating-share { display:none; }
}
@media (max-width:768px) {
  .grid-2, .grid-3 { grid-template-columns:1fr; }
  .hero-title { font-size:2rem; }
}


/* Featured top grid – 2 columns, full width */
.grid-2-featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(480px, 1fr));
  gap: 2.8rem;
}

/* Main articles grid – force 2 columns next to sidebar */
.grid-2-main {
  display: grid;
  grid-template-columns: 1fr 1fr;          /* fixed 2 columns */
  gap: 2.5rem;
}

/* Fallback to 1 column on smaller screens or when sidebar takes space */
@media (max-width: 1100px) {  /* adjust breakpoint if needed */
  .grid-2-main {
    grid-template-columns: 1fr;
  }
}

/* Make sure cards fill height in both grids */
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 460px;
}

/* Ensure no overflow or bleed */
.content .grid-2-main,
.content .grid-2-featured {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}


.featured-img img {
    width: 100%;
  height: 480px;
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  margin-bottom: 2.5rem;
  border: 1px solid #2A2F3A;
}


.single .content p {
 margin-bottom:15px;   
    
}

blockquote {
       background:#1E222A; padding:1.2rem; border-radius:10px;
      border:1px solid #00F0FF33; margin:1.8rem 0;
   

}


.article-title {
  font-size: 2.9rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  text-align:center;
 margin-top:20px;
}

.article-content h2 {
  font-size: 2.1rem;
  font-weight: 600;
  color: #FFFFFF;
  margin: 3rem 0 1.2rem;
  letter-spacing: -0.5px;
}

.article-content h3 {
  font-size: 1.65rem;
  font-weight: 600;
  color: #00F0FF;
  margin: 2rem 0 1rem;
}

.article-content p {
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
}

.article-content ul {
  list-style: none;
  margin: 1.2rem 0 1.8rem 1.5rem;
}

.article-content ul li {
  position: relative;
  margin-bottom: 0.9rem;
}

.article-content ul li::before {
  content: "→";
  color: #00F0FF;
  position: absolute;
  left: -1.8rem;
  font-weight: bold;
}

a {
  color: #00F0FF;
}

a:hover {
  text-decoration: underline;
}


.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

.category-block {
  background: #1e222a;
  border: 1px solid #2a2f3a;
  border-radius: 10px;
  padding: 1.4rem 1.6rem;
  
  display: flex;
  flex-direction: column;
  
  min-height: 210px;           /* ← main fix – adjust if needed (200–260px) */
}

.category-block .letter {
  font-size: 2.6rem;
  font-weight: 800;
  color: #00f0ff;
  margin-bottom: 1rem;
  text-align: center;
  letter-spacing: -0.8px;
}

.news-categories {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;                /* pushes short lists to fill height */
}

.news-categories li {
  margin-bottom: 0.7rem;
  font-size: 1.04rem;
}

.news-categories a {
  color: #d1d5db;
  text-decoration: none;
}

.news-categories a:hover {
  color: #00f0ff;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 992px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
  }
}

@media (max-width: 600px) {
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .category-block {
    min-height: 160px;
  }
}

ol {
 padding:20px;   
}



/* ───────────────────────────────────────────────
   Contact Form 7 – Cyber / Dark Theme Styling
   Updated: all fields full-width, button NOT full-width
─────────────────────────────────────────────── */

/* Form container */
.wpcf7-form {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #d1d5db;
  margin: 0 auto;
  margin-top:20px;
}

/* Spacing for form rows / labels */
.wpcf7-form p,
.wpcf7-form label {
  margin: 0 0 1.6rem 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ── ALL INPUT FIELDS ── full width ─────────────────────────────── */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="password"],
.wpcf7 input[type="search"],
.wpcf7 input[type="date"],
.wpcf7 textarea,
.wpcf7 select {
  display: block;
  width: 100%;                  /* explicitly full width */
  padding: 0.95rem 1.3rem;
  background: #1e222a;
  border: 1px solid #2a2f3a;
  border-radius: 8px;
  color: #d1d5db;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 1px 4px rgba(0,0,0,0.25);
  margin-bottom: 1.2rem;
}

/* Focus / active */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: #00f0ff;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.14);
  background: #252a34;
}

/* Placeholder */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #6b7280;
  opacity: 1;
}

/* Textarea specifics */
.wpcf7 textarea {
  min-height: 150px;
  resize: vertical;
}

/* ── SUBMIT BUTTON ── NOT full width ────────────────────────────── */
.wpcf7 input[type="submit"],
.wpcf7-form .wpcf7-submit {
  display: inline-block;        /* ← important: not full width */
  background: #00f0ff;
  color: #0a0e14;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 0.9rem 2.4rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 5px 14px rgba(0, 240, 255, 0.2);
  margin-top: 0.6rem;
  margin-bottom: 1rem;
}

/* Button hover & active */
.wpcf7 input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover {
  background: #00d4ff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 240, 255, 0.3);
}

.wpcf7 input[type="submit"]:active,
.wpcf7-form .wpcf7-submit:active {
  transform: translateY(0);
  box-shadow: 0 5px 14px rgba(0, 240, 255, 0.2);
}

/* Success / error messages */
.wpcf7-response-output {
  margin: 1.8rem 0 0;
  padding: 1.1rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  border: 1px solid transparent;
}

.wpcf7-mail-sent-ok {
  background: rgba(34, 197, 94, 0.12);
  border-color: #22c55e66;
  color: #86efac;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
  background: rgba(239, 68, 68, 0.12);
  border-color: #ef444466;
  color: #fca5a5;
}

/* Labels */
.wpcf7 label {
  display: block;
  margin-bottom: 0.6rem;
  color: #9ca3af;
  font-weight: 500;
  font-size: 0.97rem;
}

/* Checkbox / radio (if used) */
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  margin-right: 0.6rem;
  accent-color: #00f0ff;
}

/* Optional: center the button if you prefer */
.wpcf7 .wpcf7-submit-wrap,
.wpcf7 p:last-child {
  text-align: center;           /* ← uncomment if you want button centered */
}