/*
 Theme Name:   Astra Child - Control Systems Security
 Theme URI:    https://controlsystemssecurity.com
 Description:  Child theme for Astra with custom styles for OT threat intelligence feeds
 Author:       Cyborama, LLC
 Author URI:   https://cyborama.com
 Template:     astra
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         cybersecurity, OT, ICS, blog
 Text Domain:  astra-child
*/

/* Import parent theme styles */
@import url("../astra/style.css");

/* Custom CSS for Control Systems Security */

/* --- Global improvements --- */
.site-header {
    border-bottom: 2px solid #0a1929;
    background: #fff;
}

.site-title a {
    color: #0a1929;
}

.site-description {
    color: #666;
}

/* --- Hero section for home page --- */
.home .ast-container {
    padding-top: 40px;
}

/* --- OT Threat Feeds --- */
.ot-threat-feeds {
    max-width: 1200px;
    margin: 40px auto;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.ot-threat-feeds h2 {
    color: #0a1929;
    border-bottom: 3px solid #00d4ff;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-size: 2.2rem;
    font-weight: 700;
}

.ot-threat-feeds > p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.feed-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.feed-item {
    background: #fff;
    border-left: 5px solid #0a1929;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.04);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feed-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.feed-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.feed-item h3 a {
    color: #0a1929;
    text-decoration: none;
}

.feed-item h3 a:hover {
    color: #00d4ff;
    text-decoration: underline;
}

.feed-meta {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.feed-meta strong {
    color: #333;
}

.feed-description {
    color: #444;
    line-height: 1.6;
}

.ot-threat-feeds > p em {
    color: #777;
    font-size: 0.9rem;
    display: block;
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

/* --- Blog improvements --- */
.blog .entry-title a {
    color: #0a1929;
}

.blog .entry-title a:hover {
    color: #00d4ff;
}

.entry-content {
    font-size: 1.1rem;
    line-height: 1.7;
}

.post-thumbnail img {
    border-radius: 8px;
}

/* --- Footer --- */
.site-footer {
    background: #0a1929;
    color: #fff;
    padding: 40px 0;
    margin-top: 60px;
}

.site-footer a {
    color: #00d4ff;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .ot-threat-feeds {
        padding: 20px;
        margin: 20px auto;
    }
    .ot-threat-feeds h2 {
        font-size: 1.8rem;
    }
    .feed-item {
        padding: 18px;
    }
    .feed-item h3 {
        font-size: 1.2rem;
    }
}

/* Fix gray-on-white text - Added by Zoroasta (2026-04-13) */
body, .entry-content, .entry-content p {
    color: #222 !important;
    line-height: 1.6;
}
.entry-title {
    color: #111;
    font-weight: 700;
}