/*
Theme Name: My Astra
Theme URI:  https://ironwolfai.com
Author:     hyperclock
Author URI: https://ironwolfai.com
Template:   astra
Version:    1.0
License:    GNU General Public License v2 or later
*/

/* === Color Palette === */
:root {
    --color-primary: #00A0E9;
    --color-secondary: #003366;
    --color-text: #C0C0C0;
    --color-accent: #7EC8E3;
    --color-bg: #0D0D0D;
}

/* === Body === */
body {
    background-color: var(--color-bg);
    color: var(--color-text);
}

/* === Links === */
a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    color: var(--color-accent);
}

/* === Buttons === */
.wp-block-button .wp-block-button__link,
button,
input[type="button"],
input[type="submit"] {
    color: var(--color-primary);
    background-color: transparent; /* Or var(--color-bg) */
    border: 2px solid var(--color-primary);
    border-radius: 5px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.wp-block-button .wp-block-button__link:hover,
button:hover,
input[type="button"]:hover,
input[type="submit"]:hover {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border-color: var(--color-primary);
}

/* === Headings === */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
}

/* === Accent Highlights === */
strong,
b,
.wp-block-button.is-style-outline {
    color: var(--color-accent);
}

/* === Body & Background === */
body, .site {
    background-color: #0D0D0D;
    color: #C0C0C0;
}

/* === Links === */
a {
    color: #00A0E9;
}

a:hover {
    color: #7EC8E3;
}

/* === Buttons === */
button, input[type="submit"], input[type="button"], 
.wp-block-button .wp-block-button__link,
.ast-button,
button.ast-button,
input.ast-button {
    color: #00A0E9;
    background-color: transparent; /* or #0D0D0D if preferred */
    border: 2px solid #00A0E9;
    border-radius: 5px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

button:hover, input[type="submit"]:hover, input[type="button"]:hover,
.wp-block-button .wp-block-button__link:hover,
.ast-button:hover {
    background-color: #00A0E9;
    color: #003366;
    border-color: #00A0E9;
}

/* === Headings === */
h1, h2, h3, h4, h5, h6 {
    color: #00A0E9;
}

/* === Accent Highlights === */
strong, b {
    color: #7EC8E3;
}

/* === Global Backgrounds === */
body, .site, .site-content, .ast-container {
    background-color: #0D0D0D;
    color: #C0C0C0;
}

/* === Header === */
.site-header, .ast-site-header {
    background-color: #0D0D0D;
}

/* === Footer === */
.site-footer, .ast-footer {
    background-color: #0D0D0D;
    color: #C0C0C0;
}

/* === Header/Footer Links === */
.site-header a, .ast-site-header a,
.site-footer a, .ast-footer a {
    color: #00A0E9;
}

.site-header a:hover, .ast-site-header a:hover,
.site-footer a:hover, .ast-footer a:hover {
    color: #7EC8E3;
}
/* === Global Background === */
html, body {
    background-color: #0D0D0D;
    color: #C0C0C0;
}

/* === Site Wrapper === */
#page, .site, .ast-container {
    background-color: #0D0D0D;
    color: #C0C0C0;
}

/* === Header === */
.site-header, .ast-site-header, .ast-primary-header-bar {
    background-color: #0D0D0D;
    color: #C0C0C0;
}

/* Header text and links */
.site-header a, .ast-site-header a {
    color: #00A0E9;
}
.site-header a:hover, .ast-site-header a:hover {
    color: #7EC8E3;
}

/* Remove header outer edges (borders/margins) */
.ast-container {
    background-color: #0D0D0D;
}

/* === Footer === */
.site-footer, .ast-footer, .ast-footer-widgets {
    background-color: #0D0D0D;
    color: #C0C0C0;
}

.site-footer a, .ast-footer a {
    color: #00A0E9;
}
.site-footer a:hover, .ast-footer a:hover {
    color: #7EC8E3;
}

/* === Content Area === */
.site-content, .ast-article-single, .ast-archive-description {
    background-color: #0D0D0D;
    color: #C0C0C0;
}

/* === Buttons === */
button, input[type="submit"], input[type="button"],
.wp-block-button .wp-block-button__link,
.ast-button,
button.ast-button,
input.ast-button {
    color: #00A0E9;
    background-color: transparent;
    border: 2px solid #00A0E9;
    border-radius: 5px;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

button:hover, input[type="submit"]:hover, input[type="button"]:hover,
.wp-block-button .wp-block-button__link:hover,
.ast-button:hover {
    background-color: #00A0E9;
    color: #003366;
    border-color: #00A0E9;
}

/* === Headings === */
h1, h2, h3, h4, h5, h6 {
    color: #00A0E9;
}

/* === Accent Highlights === */
strong, b {
    color: #7EC8E3;
}

/* ----------------------------
   Content Views Base Theme
-----------------------------*/

/* Container & Background */
.cv-container {
    background-color: #0D0D0D; /* Main background */
    padding: 20px;
    border-radius: 8px;
}

/* Post Title */
.cv-title a {
    color: #00A0E9; /* Primary color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.cv-title a:hover {
    color: #7EC8E3; /* Accent color on hover */
}

/* Post Excerpt/Text */
.cv-excerpt {
    color: #C0C0C0; /* Main text color */
    line-height: 1.6;
}

/* Post Meta (date, author, categories) */
.cv-meta {
    color: #7EC8E3; /* Accent color */
    font-size: 0.9em;
    margin-bottom: 10px;
}

/* Read More button */
.cv-readmore a {
    display: inline-block;
    background-color: #00A0E9; /* Primary color */
    color: #0D0D0D; /* Background color as text */
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cv-readmore a:hover {
    background-color: #7EC8E3; /* Accent hover */
    color: #003366; /* Secondary text hover */
}

/* Pagination */
.cv-pagination a {
    color: #00A0E9;
    padding: 6px 12px;
    border-radius: 4px;
    margin: 0 3px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cv-pagination a:hover,
.cv-pagination .current {
    background-color: #003366; /* Secondary color */
    color: #C0C0C0; /* Text color */
}

/* Featured Image */
.cv-thumb img {
    border-radius: 6px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 15px;
}

/* Grid view specific adjustments */
.cv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Optional: hover effect for grid items */
.cv-grid .cv-post:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
}

/* Optional: shadow for posts */
.cv-post {
    background-color: #0D0D0D;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 8px;
}

/* =========================== */
/* Text icons in headings, responsive */
.wp-block-heading.text-icon img,
h1 img.text-icon,
h2 img.text-icon,
h3 img.text-icon,
h4 img.text-icon,
h5 img.text-icon,
h6 img.text-icon {
  width: 24px;              /* default size */
  height: auto;
  vertical-align: middle;
  margin-right: 0.3em;
}

/* Smaller screens - scale icons down */
@media (max-width: 768px) {
  .wp-block-heading.text-icon img,
  h1 img.text-icon,
  h2 img.text-icon,
  h3 img.text-icon,
  h4 img.text-icon,
  h5 img.text-icon,
  h6 img.text-icon {
    width: 18px;            /* smaller size on tablets/phones */
    margin-right: 0.2em;    /* slightly less space on small screens */
  }
}

@media (max-width: 480px) {
  .wp-block-heading.text-icon img,
  h1 img.text-icon,
  h2 img.text-icon,
  h3 img.text-icon,
  h4 img.text-icon,
  h5 img.text-icon,
  h6 img.text-icon {
    width: 14px;            /* tiny size on small phones */
    margin-right: 0.15em;
  }
}

/* ====================== */
/*   TAGS - blue border   */
/* ====================== */
/* 🎯 Style the tag line to look cleaner and fit the boxed layout */
.post-tags {
  display: block;
  max-width: 800px;
  margin: 40px auto 20px auto;
  padding: 10px 20px;
  color: #7EC8E3;
  font-size: 0.9rem;
  border-top: 1px solid #003366;
  border-bottom: 1px solid #003366;
  text-align: center;
}

.post-tags a {
  color: #00A0E9;
  text-decoration: none;
  margin-right: 10px;
  margin-top: 6px;
  padding: 2px 6px;
  border: 1px solid #00A0E9;
  border-radius: 4px;
  font-size: 0.85rem;
  display: inline-block;
  transition: all 0.2s ease-in-out;
}

/*.post-tags a:hover {
  background-color: #00A0E9;
  color: #003366;
}*/
.post-tags a:hover {
  background-color: #0086BF; /* slightly darker than #00A0E9 */
  color: #003366;
  transform: scale(1.03); /* subtle pop */
}

/* ====================== */
/*     Comment Section    */
/* ====================== */
/* 🔲 Astra = .comments-area & .comment-respond */
.comments-area,
.comment-respond {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: #003366;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  color: #C0C0C0;
}

/* 💬 Add icon to section heading */
.comment-reply-title::before {
  content: "💬 ";
  margin-right: 5px;
}

/* 🧭 Fix alignment + style titles */
.comments-title,
.comment-reply-title {
  color: #00A0E9;
  font-size: 1.5rem;
  border-bottom: 2px solid #7EC8E3;
  margin-bottom: 20px;
  padding-bottom: 5px;
  text-align: left;
}

/* 🧑‍🦲 Rounded avatar with soft shadow */
.comment-author .avatar {
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin-right: 10px;
  float: left;
}

/* 🗨️ Comment structure */
.comment {
  margin-bottom: 30px;
  border-bottom: 1px solid #7EC8E3;
  padding-bottom: 20px;
  clear: both;
  position: relative;
}

.comment-body::after {
  content: "";
  display: table;
  clear: both;
}

.comment-author {
  font-weight: bold;
  color: #7EC8E3;
  margin-bottom: 5px;
  display: block;
}

.comment-meta {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 10px;
}

.comment-content {
  margin-top: 10px;
  line-height: 1.6;
}

/* 🔁 Reply link styling */
.comment-reply-link {
  display: inline-block;
  margin-top: 10px;
  color: #00A0E9;
  text-decoration: none;
  font-size: 0.9rem;
}

.comment-reply-link:hover {
  text-decoration: underline;
}

/* 🧬 Visual hierarchy for nested replies */
.children {
  margin-left: 30px;
  border-left: 2px solid #7EC8E3;
  padding-left: 20px;
}

/* 📝 Form fields */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  background: #002244;
  border: 1px solid #7EC8E3;
  color: #C0C0C0;
  border-radius: 6px;
}

/* 📤 Submit button with site-wide style */
.comment-form input[type="submit"] {
  background-color: transparent;
  border: 5px solid #00A0E9;
  color: #00A0E9;
  padding: 10px 25px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.comment-form input[type="submit"]:hover {
  background-color: #00A0E9;
  color: #003366;
}







