/*
Theme Name: Sally's Insight Hub
Theme URI: https://sallyogwookeyumahi.com/theme
Author: Custom Design Studio
Author URI: https://sallyogwookeyumahi.com
Description: A bespoke, high-contrast, Brutalist-inspired custom WordPress theme for Sally Ogwo-Oke Yumahi. Built with zero templates, focusing on boardroom integrity, GRC integration, and career risk management.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sallys-insight-hub
Tags: custom-layout, high-contrast, brutalist, responsive, minimalist

All styling is handled via clean typographic frameworks, high-contrast borders, and Tailwind CSS.
*/

/* Custom global focus states or overrides can be declared below if needed */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



/* ==========================================
   INSIGHTS PAGINATION
========================================== */

.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 0.75rem;
    padding: 0;
    margin: 0;
}

.page-numbers li {
    list-style: none;
}

.page-numbers a,
.page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 16px;

    border: 1px solid #111827;

    text-decoration: none;

    font-family: "Space Mono", monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .12em;

    transition: all .25s ease;
}

.page-numbers a:hover {
    background: #111827;
    color: #fff;
}

.page-numbers .current {
    background: #111827;
    color: #fff;
}

.page-numbers .prev,
.page-numbers .next {
    padding: 0 20px;
}


/* ==========================================================
   SINGLE INSIGHT PAGE
========================================================== */

/* WordPress content wrapper */
.insight-content{
    font-size:1.1rem;
    line-height:2;
    color:#222;
}

/* Headings */

.insight-content h2,
.insight-content h3,
.insight-content h4,
.insight-content h5,
.insight-content h6{
    margin-top:3rem;
    margin-bottom:1rem;
    font-weight:700;
    line-height:1.15;
    letter-spacing:-0.02em;
    text-transform:uppercase;
    color:#121212;
}

.insight-content h2{
    font-size:2rem;
}

.insight-content h3{
    font-size:1.6rem;
}

.insight-content h4{
    font-size:1.3rem;
}

/* Paragraphs */

.insight-content p{
    margin-bottom:1.75rem;
}

/* Links */

.insight-content a{
    color:#121212;
    text-decoration:underline;
    text-decoration-thickness:1px;
    transition:.25s;
}

.insight-content a:hover{
    color:#707070;
}

/* Lists */

.insight-content ul,
.insight-content ol{
    margin:2rem 0;
    padding-left:2rem;
}

.insight-content li{
    margin-bottom:.8rem;
}

/* Images */

.insight-content img{
    width:100%;
    height:auto;
    display:block;
    margin:3rem auto;
}

.insight-content figure{
    margin:3rem 0;
}

.insight-content figcaption{
    margin-top:.75rem;
    font-size:.8rem;
    font-family:"Space Mono",monospace;
    text-transform:uppercase;
    letter-spacing:.12em;
    color:#707070;
}

/* Blockquotes */

.insight-content blockquote{
    margin:3rem 0;
    padding:2rem;
    border-left:4px solid #121212;
    background:#f7f7f7;
    font-size:1.2rem;
    font-style:italic;
}

/* Tables */

.insight-content table{
    width:100%;
    border-collapse:collapse;
    margin:3rem 0;
}

.insight-content th,
.insight-content td{
    border:1px solid #ddd;
    padding:1rem;
}

.insight-content th{
    background:#121212;
    color:#fff;
    text-transform:uppercase;
    font-family:"Space Mono",monospace;
    font-size:.75rem;
    letter-spacing:.08em;
}

/* Code */

.insight-content pre{
    overflow:auto;
    padding:1.5rem;
    background:#121212;
    color:#fff;
    margin:2rem 0;
}

.insight-content code{
    background:#efefef;
    padding:.15rem .35rem;
    border-radius:3px;
}

/* Horizontal rule */

.insight-content hr{
    margin:4rem 0;
    border:none;
    border-top:1px solid #d8d8d8;
}

/* WordPress alignment */

.aligncenter{
    display:block;
    margin-left:auto;
    margin-right:auto;
}

.alignleft{
    float:left;
    margin-right:2rem;
    margin-bottom:1rem;
}

.alignright{
    float:right;
    margin-left:2rem;
    margin-bottom:1rem;
}

/* Galleries */

.gallery{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:1rem;
    margin:3rem 0;
}

.gallery img{
    margin:0;
}

/* Embedded videos */

.insight-content iframe{
    width:100%;
    aspect-ratio:16/9;
    height:auto;
    margin:3rem 0;
}

/* ==========================================================
   RELATED INSIGHTS
========================================================== */

.related-card{
    transition:.35s ease;
}

.related-card:hover{
    transform:translateY(-6px);
}

.related-card img{
    transition:.5s ease;
}

.related-card:hover img{
    transform:scale(1.05);
}

/* ==========================================================
   POST NAVIGATION
========================================================== */

.post-nav a{
    transition:.25s;
}

.post-nav a:hover{
    background:#121212;
    color:#fff;
}

/* ==========================================================
   AUTHOR BOX
========================================================== */

.author-box img{
    border-radius:999px;
}

/* ==========================================================
   COMMENTS
========================================================== */

.comment-list{
    list-style:none;
    margin:0;
    padding:0;
}

.comment-list li{
    margin-bottom:2rem;
    padding-bottom:2rem;
    border-bottom:1px solid #ddd;
}

/* ==========================================================
   RESPONSIVE TYPOGRAPHY
========================================================== */

@media(max-width:768px){

    .insight-content{
        font-size:1rem;
        line-height:1.9;
    }

    .insight-content h2{
        font-size:1.6rem;
    }

    .insight-content h3{
        font-size:1.35rem;
    }

    .alignleft,
    .alignright{
        float:none;
        margin:2rem auto;
        display:block;
    }

}